compass-jquery-plugin 0.3.2.7 → 0.3.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +17 -11
- data/VERSION.yml +2 -2
- data/lib/handle_js_files.rb +1 -1
- data/lib/jquery/emulators.rb +13 -0
- data/templates/dynatree/jquery.dynatree.min.js +79 -81
- data/templates/emulators/config/initializers/emulators.rb +0 -9
- data/templates/emulators/emulators/{blackberry.landscape.scss → blackberry.torch.landscape.scss} +6 -2
- data/templates/emulators/emulators/{blackberry.portrait.scss → blackberry.torch.portrait.scss} +6 -1
- data/templates/emulators/emulators/galaxy.s.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.s.landscape.scss +20 -0
- data/templates/emulators/emulators/galaxy.s.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.s.portrait.scss +20 -0
- data/templates/emulators/emulators/galaxy.s2.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.s2.landscape.scss +20 -0
- data/templates/emulators/emulators/galaxy.s2.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.s2.portrait.scss +20 -0
- data/templates/emulators/emulators/galaxy.tab.10.1.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.tab.10.1.landscape.scss +20 -0
- data/templates/emulators/emulators/galaxy.tab.10.1.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.tab.10.1.portrait.scss +20 -0
- data/templates/emulators/emulators/galaxy.tab.7.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.tab.7.landscape.scss +20 -0
- data/templates/emulators/emulators/galaxy.tab.7.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.tab.7.portrait.scss +20 -0
- data/templates/emulators/emulators/galaxy.tab.8.9.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.tab.8.9.landscape.scss +20 -0
- data/templates/emulators/emulators/galaxy.tab.8.9.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.tab.8.9.portrait.scss +20 -0
- data/templates/emulators/emulators/ipad.landscape.png +0 -0
- data/templates/emulators/emulators/ipad.landscape.scss +9 -4
- data/templates/emulators/emulators/ipad.portrait.png +0 -0
- data/templates/emulators/emulators/ipad.portrait.scss +9 -4
- data/templates/emulators/emulators/{iphone.landscape.png → iphone.3.landscape.png} +0 -0
- data/templates/emulators/emulators/{iphone.landscape.scss → iphone.3.landscape.scss} +7 -3
- data/templates/emulators/emulators/{iphone.portrait.png → iphone.3.portrait.png} +0 -0
- data/templates/emulators/emulators/{iphone.portrait.scss → iphone.3.portrait.scss} +7 -3
- data/templates/emulators/emulators/iphone.4.landscape .scss +20 -0
- data/templates/emulators/emulators/iphone.4.landscape.png +0 -0
- data/templates/emulators/emulators/iphone.4.portrait.png +0 -0
- data/templates/emulators/emulators/iphone.4.portrait.scss +20 -0
- data/templates/emulators/emulators/{palm.pre.landscape.png → palm.pre.2.landscape.png} +0 -0
- data/templates/emulators/emulators/{palm.landscape.scss → palm.pre.2.landscape.scss} +7 -3
- data/templates/emulators/emulators/{palm.pre.portrait.png → palm.pre.2.portrait.png} +0 -0
- data/templates/emulators/emulators/{palm.portrait.scss → palm.pre.2.portrait.scss} +7 -3
- data/templates/emulators/manifest.rb +34 -10
- data/templates/graphics/config/initializers/graphics.rb +8 -0
- data/templates/graphics/highcharts/dark-blue.js +170 -0
- data/templates/graphics/highcharts/dark-blue.min.js +4 -0
- data/templates/graphics/highcharts/dark-green.js +170 -0
- data/templates/graphics/highcharts/dark-green.min.js +4 -0
- data/templates/graphics/highcharts/gray.js +164 -0
- data/templates/graphics/highcharts/gray.min.js +4 -0
- data/templates/graphics/highcharts/grid.js +97 -0
- data/templates/graphics/highcharts/grid.min.js +3 -0
- data/templates/graphics/highcharts/highslide-config.js +12 -0
- data/templates/graphics/highcharts/highslide-config.min.js +1 -0
- data/templates/graphics/highcharts/highslide-full.js +3391 -0
- data/templates/graphics/highcharts/highslide-full.min.js +132 -0
- data/templates/graphics/highcharts/skies.js +89 -0
- data/templates/graphics/highcharts/skies.min.js +3 -0
- data/templates/graphics/jquery.ganttView.js +1 -1
- data/templates/graphics/jquery.ganttView.min.js +61 -61
- data/templates/graphics/jquery.highcharts.js +11342 -0
- data/templates/graphics/jquery.highcharts.min.js +176 -0
- data/templates/graphics/jquery.sparkline.min.js +35 -36
- data/templates/graphics/jquery/highcharts/graphics/close.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/closeX.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar-black-border.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar-text-buttons.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar-white-small.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar-white.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar2.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar3.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar4-hover.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar4.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/fullexpand.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/geckodimmer.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/icon.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/loader.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/loader.white.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/outlines/beveled.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/outlines/drop-shadow.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/outlines/glossy-dark.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/outlines/outer-glow.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/outlines/rounded-black.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/outlines/rounded-white.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/resize.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/scrollarrows.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/zoomin.cur +0 -0
- data/templates/graphics/jquery/highcharts/graphics/zoomout.cur +0 -0
- data/templates/graphics/jquery/highcharts/skies.jpg +0 -0
- data/templates/graphics/jquery/highslide.scss +763 -0
- data/templates/graphics/manifest.rb +43 -0
- data/templates/ical/config/initializers/ical.rb +1 -0
- data/templates/ical/jquery.ical.js +8401 -8209
- data/templates/ical/jquery.ical.min.js +206 -208
- data/templates/ical/jquery/ical.print.scss +48 -0
- data/templates/ical/jquery/ical.scss +372 -343
- data/templates/ical/manifest.rb +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-ar.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-da.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-es.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-gl.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-hu.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-ja.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-lt.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-sk.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-sr.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +2 -2
- data/templates/jqgrid/jquery.jqGrid.js +162 -850
- data/templates/jqgrid/jquery.jqGrid.min.js +476 -497
- data/templates/jqgrid/jquery/jqGrid.scss +0 -19
- data/templates/jquery/amplify.store.js +248 -0
- data/templates/jquery/amplify.store.min.js +6 -0
- data/templates/jquery/config/initializers/jquery.rb +5 -1
- data/templates/jquery/history.adapter.jquery.js +37 -43
- data/templates/jquery/history.adapter.jquery.min.js +1 -1
- data/templates/jquery/history.html4.js +596 -587
- data/templates/jquery/history.html4.min.js +8 -8
- data/templates/jquery/history.js +1839 -1669
- data/templates/jquery/history.min.js +27 -25
- data/templates/jquery/i18n/jquery.ui/datepicker-af.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ar-DZ.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ar.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-az.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-bg.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-bs.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ca.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-cs.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-da.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-de.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-el.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-en-AU.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-en-GB.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-en-NZ.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-eo.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-es.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-et.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-eu.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-fa.min.js +2 -2
- data/templates/jquery/i18n/jquery.ui/datepicker-fi.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-fo.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-fr-CH.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-fr.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-gl.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-he.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-hr.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-hu.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-hy.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-id.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-is.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-it.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ja.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ko.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-kz.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-lt.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-lv.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ml.min.js +2 -2
- data/templates/jquery/i18n/jquery.ui/datepicker-ms.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-no.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-pl.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-pt-BR.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-pt.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-rm.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ro.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ru.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sk.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sl.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sq.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sr-SR.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sr.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sv.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ta.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-th.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-tj.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-tr.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-uk.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-vi.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-CN.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-HK.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-TW.min.js +1 -1
- data/templates/jquery/jquery-ui.js +217 -104
- data/templates/jquery/jquery-ui.min.js +437 -436
- data/templates/jquery/jquery.bgiframe.min.js +1 -1
- data/templates/jquery/jquery.contextMenu.min.js +7 -7
- data/templates/jquery/jquery.cookie.js +60 -58
- data/templates/jquery/jquery.cookie.min.js +1 -1
- data/templates/jquery/jquery.dotimeout.min.js +2 -2
- data/templates/jquery/jquery.dst.min.js +4 -4
- data/templates/jquery/jquery.farbtastic.min.js +10 -10
- data/templates/jquery/jquery.form.js +15 -5
- data/templates/jquery/jquery.form.min.js +20 -20
- data/templates/jquery/jquery.haml.min.js +5 -5
- data/templates/jquery/jquery.hotkeys.min.js +3 -3
- data/templates/jquery/jquery.js +8205 -8170
- data/templates/jquery/jquery.layout.min.js +48 -50
- data/templates/jquery/jquery.min.js +166 -167
- data/templates/jquery/jquery.mousewheel.min.js +2 -2
- data/templates/jquery/jquery.offline.min.js +4 -4
- data/templates/jquery/jquery.pngFix.js +28 -30
- data/templates/jquery/jquery.pngFix.min.js +5 -5
- data/templates/jquery/jquery.rails.js +166 -0
- data/templates/jquery/jquery.rails.min.js +6 -0
- data/templates/jquery/jquery.replacetext.min.js +1 -1
- data/templates/jquery/jquery.themeswitchertool.min.js +4 -4
- data/templates/jquery/jquery.tmpl.js +14 -12
- data/templates/jquery/jquery.tmpl.min.js +12 -12
- data/templates/jquery/jquery.tmplPlus.js +2 -2
- data/templates/jquery/jquery.tmplPlus.min.js +3 -3
- data/templates/jquery/jquery.tokeninput.js +729 -0
- data/templates/jquery/jquery.tokeninput.min.js +14 -0
- data/templates/jquery/jquery/ui/_theme.scss +23 -16
- data/templates/jquery/jquery/ui/black-tie/ui-icons_4ca300_256x240.png +0 -0
- data/templates/jquery/jquery/ui/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
- data/templates/jquery/jquery/ui/black-tie/ui-icons_ededed_256x240.png +0 -0
- data/templates/jquery/jquery/ui/black-tie/ui-icons_ffcf29_256x240.png +0 -0
- data/templates/jquery/jquery/ui/tokeninput.facebook.scss +95 -0
- data/templates/jquery/jquery/ui/tokeninput.mac.scss +164 -0
- data/templates/jquery/jquery/ui/tokeninput.scss +85 -0
- data/templates/jquery/jquery/ui/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/jquery/jquery/ui/vader/ui-icons_bbbbbb_256x240.png +0 -0
- data/templates/jquery/jquery/ui/vader/ui-icons_c98000_256x240.png +0 -0
- data/templates/jquery/jquery/ui/vader/ui-icons_f29a00_256x240.png +0 -0
- data/templates/jquery/json.min.js +6 -6
- data/templates/jquery/json2.js +214 -214
- data/templates/jquery/json2.min.js +5 -6
- data/templates/jquery/manifest.rb +9 -2
- data/templates/jstree/jquery.jstree.min.js +222 -224
- data/templates/mobile/config/initializers/mobile.rb +1 -1
- data/templates/mobile/jquery.mobile.js +887 -404
- data/templates/mobile/jquery.mobile.min.js +4 -4
- data/templates/mobile/jquery/mobile/_base.scss +50 -26
- data/templates/mobile/jquery/mobile/default.scss +59 -63
- data/templates/mobile/jquery/mobile/valencia.scss +44 -42
- data/templates/ribbon/jquery.ribbon.min.js +14 -14
- data/templates/tiny_mce/manifest.rb +4 -0
- data/templates/tiny_mce/tiny_mce/langs/de.js +1 -1
- data/templates/tiny_mce/tiny_mce/langs/en.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advimage/js/image.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advimage/langs/de_dlg.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlink/js/advlink.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlink/langs/en_dlg.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlink/link.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/autolink/editor_plugin.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/autolink/editor_plugin_src.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/css/fullpage.css +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/fullpage.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/js/fullpage.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/lists/editor_plugin.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/lists/editor_plugin_src.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/media/js/media.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/media/media.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/searchreplace/js/searchreplace.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/attributes.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/js/charmap.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/langs/de_dlg.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/langs/en_dlg.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/ui.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/dialog.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +1 -1
- data/templates/tiny_mce/tiny_mce/tiny_mce.js +1 -1
- data/templates/tiny_mce/tiny_mce/utils/form_utils.js +1 -1
- data/templates/tiny_mce/tiny_mce/utils/validate.js +1 -1
- data/templates/tools/flowplayer.min.js +29 -30
- data/templates/tools/jquery.tools.min.js +96 -96
- data/templates/tools/swfobject.min.js +18 -19
- metadata +95 -16
- data/templates/jquery/jrails.js +0 -200
- data/templates/jquery/jrails.min.js +0 -8
|
@@ -1,50 +1,48 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
function(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
c.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
e
|
|
42
|
-
if(!
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
addOpenBtn:function(b,c){var d=T(b,c,"open");d&&d.attr("title","Open").click(function(e){K(c);e.stopPropagation()})},addCloseBtn:function(b,c){var d=T(b,c,"close");d&&d.attr("title","Close").click(function(e){I(c);e.stopPropagation()})},addPinBtn:function(b,c){var d=T(b,c,"pin");if(d){var e=t[c];d.click(function(f){Y(i(this),c,e.isSliding||e.isClosed);e.isSliding||e.isClosed?K(c):I(c);f.stopPropagation()});Y(d,c,!e.isClosed&&!e.isSliding);l[c].pins.push(b)}},allowOverflow:ea,resetOverflow:S,cssWidth:E,
|
|
50
|
-
cssHeight:A}}})(jQuery);
|
|
1
|
+
(function(g){g.fn.layout=function(n){function ia(b){if(!b)return!0;var c=b.keyCode;if(c<33)return!0;var d={38:"north",40:"south",37:"west",39:"east"},e=c>=37&&c<=40,f=b.shiftKey,h=b.ctrlKey,u=!1,j,l,k;if(!h&&!f)return!0;else e&&p[d[c]].enableCursorHotkey?u=d[c]:g.each(i.borderPanes.split(","),function(b,d){j=p[d];l=j.customHotkey;k=j.customHotkeyModifier;if(f&&k=="SHIFT"||h&&k=="CTRL"||h&&f)if(l&&c==(isNaN(l)||l<=9?l.toUpperCase().charCodeAt(0):l))return u=d,!1});if(!u)return!0;j=p[u];d=s[u];if(!j.enableCursorHotkey||
|
|
2
|
+
d.isHidden||!r[u])return!0;if((d=b.target||b.srcElement)&&f&&e&&(d.tagName=="TEXTAREA"||d.tagName=="INPUT"&&(c==37||c==39)))return!0;N(u);b.stopPropagation();return b.returnValue=!1}function $(b){this&&this.tagName&&(b=this);b=typeof b=="string"?r[b]:g(b).attr("pane")?g(b):g(b).parents("div[pane]:first");if(b.length){var c=b.attr("pane"),d=s[c];d.cssSaved&&O(c);if(d.isSliding||d.isResizing||d.isClosed)d.cssSaved=!1;else{var e={zIndex:i.zIndex.pane_normal+1},f={},h=b.css("overflow"),u=b.css("overflowX"),
|
|
3
|
+
j=b.css("overflowY");if(h!="visible")f.overflow=h,e.overflow="visible";if(u&&u!="visible"&&u!="auto")f.overflowX=u,e.overflowX="visible";if(j&&j!="visible"&&j!="auto")f.overflowY=u,e.overflowY="visible";d.cssSaved=f;b.css(e);g.each(i.allPanes.split(","),function(b,d){d!=c&&O(d)})}}}function O(b){this&&this.tagName&&(b=this);b=typeof b=="string"?r[b]:g(b).hasClass("ui-layout-pane")?g(b):g(b).parents("div[pane]:first");if(b.length){var c=b.attr("pane"),c=s[c],d=c.cssSaved||{};!c.isSliding&&!c.isResizing&&
|
|
4
|
+
b.css("zIndex",i.zIndex.pane_normal);b.css(d);c.cssSaved=!1}}function P(b,c,d){var e=g(b);if(e.length)if(i.borderPanes.indexOf(c)==-1)alert("Error Adding Button \n\nInvalid pane: "+c);else return b=p[c].buttonClass+"-"+d,e.addClass(b+" "+b+"-"+c),e;else alert("Error Adding Button \n\nInvalid selector: "+b);return!1}function aa(b,c){g.each(i[b].pins,function(d,e){U(g(e),b,c)})}function U(b,c,d){var e=b.attr("pin");if(!(e&&d==(e=="down"))){var f=p[c].buttonClass+"-pin",h=f+"-"+c,c=f+"-up",e=h+"-up";
|
|
5
|
+
f+="-down";h+="-down";b.attr("pin",d?"down":"up").attr("title",d?"Un-Pin":"Pin").removeClass(d?c:f).removeClass(d?e:h).addClass(d?f:c).addClass(d?h:e)}}var x={paneClass:"ui-layout-pane",resizerClass:"ui-layout-resizer",togglerClass:"ui-layout-toggler",togglerInnerClass:"ui-layout-",buttonClass:"ui-layout-button",contentSelector:".ui-layout-content",contentIgnoreSelector:".ui-layout-ignore"},p={name:"",scrollToBookmarkOnLoad:!0,defaults:{applyDefaultStyles:!1,closable:!0,resizable:!0,slidable:!0,contentSelector:x.contentSelector,
|
|
6
|
+
contentIgnoreSelector:x.contentIgnoreSelector,paneClass:x.paneClass,resizerClass:x.resizerClass,togglerClass:x.togglerClass,buttonClass:x.buttonClass,resizerDragOpacity:1,maskIframesOnResize:!0,minSize:0,maxSize:0,spacing_open:6,spacing_closed:6,togglerLength_open:50,togglerLength_closed:50,togglerAlign_open:"center",togglerAlign_closed:"center",togglerTip_open:"Close",togglerTip_closed:"Open",resizerTip:"Resize",sliderTip:"Slide Open",sliderCursor:"pointer",slideTrigger_open:"click",slideTrigger_close:"mouseout",
|
|
7
|
+
hideTogglerOnSlide:!1,togglerContent_open:"",togglerContent_closed:"",showOverflowOnHover:!1,enableCursorHotkey:!0,customHotkeyModifier:"SHIFT",fxName:"slide",fxSpeed:null,fxSettings:{},initClosed:!1,initHidden:!1},north:{paneSelector:".ui-layout-north",size:"auto",resizerCursor:"n-resize"},south:{paneSelector:".ui-layout-south",size:"auto",resizerCursor:"s-resize"},east:{paneSelector:".ui-layout-east",size:200,resizerCursor:"e-resize"},west:{paneSelector:".ui-layout-west",size:200,resizerCursor:"w-resize"},
|
|
8
|
+
center:{paneSelector:".ui-layout-center"}},V={slide:{all:{duration:"fast"},north:{direction:"up"},south:{direction:"down"},east:{direction:"right"},west:{direction:"left"}},drop:{all:{duration:"slow"},north:{direction:"up"},south:{direction:"down"},east:{direction:"right"},west:{direction:"left"}},scale:{all:{duration:"fast"}}},s={id:Math.floor(Math.random()*1E4),container:{},north:{},south:{},east:{},west:{},center:{}},ba={north:"south",south:"north",east:"west",west:"east"},I=function(b){if(typeof b==
|
|
9
|
+
"string")return!0;else if(typeof b=="object")try{return b.constructor.toString().match(/string/i)!==null}catch(c){}return!1},z=function(b){return typeof b=="string"||I(b)?g.trim(b):b},t=function(b,c){return Math.max(b,c)},ja=function(b){var c={defaults:{fxSettings:{}},north:{fxSettings:{}},south:{fxSettings:{}},east:{fxSettings:{}},west:{fxSettings:{}},center:{fxSettings:{}}},b=b||{};b.effects||b.defaults||b.north||b.south||b.west||b.east||b.center?c=g.extend(c,b):g.each(b,function(b,e){a=b.split("__");
|
|
10
|
+
c[a[1]?a[0]:"defaults"][a[1]?a[1]:a[0]]=e});return c},ca=function(b,c,d){function e(b){h=i[b];h.doCallback?(cpPane=h.callback.split(",")[1],cpPane!=b&&cpPane!=c&&e(cpPane,!0)):(h.doCallback=!0,h.callback=f)}var f=b+","+c+","+(d?1:0),h;g.each(i.borderPanes.split(","),function(b,c){if(i[c].isMoving)return e(c),!1})},da=function(b){b=i[b];i.isLayoutBusy=!1;delete b.isMoving;if(b.doCallback&&b.callback){b.doCallback=!1;var c=b.callback.split(","),d=c[2]>0?!0:!1;c[0]=="open"?G(c[1],d):c[0]=="close"&&A(c[1],
|
|
11
|
+
d);if(!b.doCallback)b.callback=null}},y=function(b,c){if(c){var d;try{if(typeof c=="function")d=c;else if(typeof c!="string")return;else if(c.indexOf(",")>0){var e=c.split(",");d=eval(e[0]);if(typeof d=="function"&&e.length>1)return d(e[1])}else d=eval(c);if(typeof d=="function")return d(b,r[b],g.extend({},s[b]),g.extend({},p[b]),p.name)}catch(f){}}},w=function(b,c){var d=0,e=!1,f="";!g.browser.msie&&g.curCSS(b[0],"display",!0)=="none"&&(e=!0,f=g.curCSS(b[0],"visibility",!0),b.css({display:"block",
|
|
12
|
+
visibility:"hidden"}));d=parseInt(g.curCSS(b[0],c,!0),10)||0;e&&(b.css({display:"none"}),f&&f!="hidden"&&b.css({visibility:f}));return d},E=function(b,c){var d;I(b)?(b=z(b),d=r[b]):d=g(b);if(c<=0)return 0;else c>0||(c=I(b)?F(b):d.outerWidth());return g.boxModel?c-w(d,"paddingLeft")-w(d,"paddingRight")-(g.curCSS(d[0],"borderLeftStyle",!0)=="none"?0:w(d,"borderLeftWidth"))-(g.curCSS(d[0],"borderRightStyle",!0)=="none"?0:w(d,"borderRightWidth")):c},B=function(b,c){var d;I(b)?(b=z(b),d=r[b]):d=g(b);if(c<=
|
|
13
|
+
0)return 0;else c>0||(c=I(b)?F(b):d.outerHeight());return g.boxModel?c-w(d,"paddingTop")-w(d,"paddingBottom")-(g.curCSS(d[0],"borderTopStyle",!0)=="none"?0:w(d,"borderTopWidth"))-(g.curCSS(d[0],"borderBottomStyle",!0)=="none"?0:w(d,"borderBottomWidth")):c},F=function(b,c){var d=r[b],e=p[b],f=s[b],h=c?e.spacing_open:0,e=c?e.spacing_closed:0;return!d||f.isHidden?0:f.isClosed||f.isSliding&&c?e:i[b].dir=="horz"?d.outerHeight()+h:d.outerWidth()+h},Q=function(b){var c=q,d=i[b].dir,e=s[b],f=r[ba[b]],h=p[b].spacing_open,
|
|
14
|
+
u=p[ba[b]].spacing_open,j=!f?0:d=="horz"?f.outerHeight():f.outerWidth(),f=e.minSize||0,d=Math.min(e.maxSize||9999,(d=="horz"?c.innerHeight:c.innerWidth)-h-j-u),l,k;switch(b){case "north":l=c.offsetTop+f;k=c.offsetTop+d;break;case "west":l=c.offsetLeft+f;k=c.offsetLeft+d;break;case "south":l=c.offsetTop+c.innerHeight-d;k=c.offsetTop+c.innerHeight-f;break;case "east":l=c.offsetLeft+c.innerWidth-d,k=c.offsetLeft+c.innerWidth-f}g.extend(e,{minSize:f,maxSize:d,minPosition:l,maxPosition:k})},ea=function(){var b=
|
|
15
|
+
{top:F("north",!0),bottom:F("south",!0),left:F("west",!0),right:F("east",!0),width:0,height:0};b.width=q.innerWidth-left-right;b.height=q.innerHeight-bottom-top;b.top+=q.top;b.bottom+=q.bottom;b.left+=q.left;b.right+=q.right;return b},fa=function(b){var c={},d,e,f;g.each("Left,Right,Top,Bottom".split(","),function(){d=z(this);e=c["border"+d]=w(b,"border"+d+"Width");f=c["padding"+d]=w(b,"padding"+d);c["offset"+d]=e+f;b==v&&(c[d.toLowerCase()]=g.boxModel?f:0)});c.innerWidth=c.outerWidth=b.outerWidth();
|
|
16
|
+
c.innerHeight=c.outerHeight=b.outerHeight();g.boxModel&&(c.innerWidth-=c.offsetLeft+c.offsetRight,c.innerHeight-=c.offsetTop+c.offsetBottom);return c},ka=function(b,c,d,e){var f=window.layout=window.layout||{},f=f.timers=f.timers||{},b="layout_"+s.id+"_"+b+"_"+c;f[b]||(f[b]=setTimeout(d,e))},R=function(b,c){var d=window.layout=window.layout||{},d=d.timers=d.timers||{},e="layout_"+s.id+"_"+b+"_"+c;return d[e]?(clearTimeout(d[e]),delete d[e],!0):!1},la=function(){try{if(v[0].tagName=="BODY")g("html").css({height:"100%",
|
|
17
|
+
overflow:"hidden"}),g("body").css({position:"relative",height:"100%",overflow:"hidden",margin:0,padding:0,border:"none"});else{var b={overflow:"hidden"},c=v.css("position"),d=v.css("height");if(!v.hasClass("ui-layout-pane")){if(!c||"fixed,absolute,relative".indexOf(c)<0)b.position="relative";if(!d||d=="auto")b.height="100%"}v.css(b)}}catch(e){}q=s.container=fa(v)},ma=function(){g.each(i.borderPanes.split(","),function(b,c){var d=p[c];if(d.enableCursorHotkey||d.customHotkey)return g(document).keydown(ia),
|
|
18
|
+
!1})},na=function(){n=ja(n);n.effects&&(g.extend(V,n.effects),delete n.effects);g.each("name,scrollToBookmarkOnLoad".split(","),function(b,c){n[c]!==void 0?p[c]=n[c]:n.defaults[c]!==void 0&&(p[c]=n.defaults[c],delete n.defaults[c])});g.each("paneSelector,resizerCursor,customHotkey".split(","),function(b,c){delete n.defaults[c]});g.extend(p.defaults,n.defaults);i.center=g.extend(!0,{},i.defaults,i.center);g.extend(p.center,n.center);var b=g.extend(!0,{},p.defaults,n.defaults,p.center);g.each("paneClass,contentSelector,contentIgnoreSelector,applyDefaultStyles,showOverflowOnHover".split(","),
|
|
19
|
+
function(c,e){p.center[e]=b[e]});var c=p.defaults;g.each(i.borderPanes.split(","),function(b,e){i[e]=g.extend(!0,{},i.defaults,i[e]);o=p[e]=g.extend(!0,{},p.defaults,p[e],n.defaults,n[e]);if(!o.paneClass)o.paneClass=x.paneClass;if(!o.resizerClass)o.resizerClass=x.resizerClass;if(!o.togglerClass)o.togglerClass=x.togglerClass;g.each(["_open","_close",""],function(b,d){var i="fxName"+d,j="fxSpeed"+d,l="fxSettings"+d;o[i]=n[e][i]||n[e].fxName||n.defaults[i]||n.defaults.fxName||o[i]||o.fxName||c[i]||c.fxName||
|
|
20
|
+
"none";var k=o[i];if(k=="none"||!g.effects||!g.effects[k]||!V[k]&&!o[l]&&!o.fxSettings)k=o[i]="none";k=V[k]||{};i=k.all||{};k=k[e]||{};o[l]=g.extend({},i,k,c.fxSettings||{},c[l]||{},o.fxSettings,o[l],n.defaults.fxSettings,n.defaults[l]||{},n[e].fxSettings,n[e][l]||{});o[j]=n[e][j]||n[e].fxSpeed||n.defaults[j]||n.defaults.fxSpeed||o[j]||o[l].duration||o.fxSpeed||o.fxSettings.duration||c.fxSpeed||c.fxSettings.duration||k.duration||i.duration||"normal"})})},oa=function(){g.each(i.allPanes.split(","),
|
|
21
|
+
function(){var b=z(this),c=p[b],d=s[b],e=i[b].dir,f=c.size=="auto"||isNaN(c.size)?0:c.size,h=c.minSize||1,u=c.maxSize||9999,j=c.spacing_open||0,l=c.paneSelector,k={},m;J[b]=!1;l.substr(0,1)==="#"?m=r[b]=v.find(l+":first"):(m=r[b]=v.children(l+":first"),m.length||(m=r[b]=v.children("form:first").children(l+":first")));if(!m.length)return r[b]=!1,!0;m.attr("pane",b).addClass(c.paneClass+" "+c.paneClass+"-"+b);if(b!="center")d.isClosed=!1,d.isSliding=!1,d.isResizing=!1,d.isHidden=!1,d.noRoom=!1,i[b].pins=
|
|
22
|
+
[];k=g.extend({visibility:"visible",display:"block"},i.defaults.cssReq,i[b].cssReq);c.applyDefaultStyles&&g.extend(k,i.defaults.cssDef,i[b].cssDef);m.css(k);k={};switch(b){case "north":k.top=q.top;k.left=q.left;k.right=q.right;break;case "south":k.bottom=q.bottom;k.left=q.left;k.right=q.right;break;case "west":k.left=q.left;break;case "east":k.right=q.right}if(e=="horz"){if(f===0||f=="auto")m.css({height:"auto"}),f=m.outerHeight();f=t(f,h);f=Math.min(f,u);f=Math.min(f,q.innerHeight-j);k.height=t(1,
|
|
23
|
+
B(b,f));d.size=f;d.maxSize=u;d.minSize=t(h,f-k.height+1);m.css(k)}else if(e=="vert"){if(f===0||f=="auto")m.css({width:"auto","float":"left"}),f=m.outerWidth(),m.css({"float":"none"});f=t(f,h);f=Math.min(f,u);f=Math.min(f,q.innerWidth-j);k.width=t(1,E(b,f));d.size=f;d.maxSize=u;d.minSize=t(h,f-k.width+1);m.css(k);H(b,null,!0)}else b=="center"&&(m.css(k),H("center",null,!0));c.initClosed&&c.closable?(m.hide().addClass("closed"),d.isClosed=!0):c.initHidden||c.initClosed?(W(b,!0),d.isHidden=!0):m.addClass("open");
|
|
24
|
+
c.showOverflowOnHover&&m.hover($,O);if(c.contentSelector){d=J[b]=m.children(c.contentSelector+":first");if(!d.length)return J[b]=!1,!0;d.css(i.content.cssReq);c.applyDefaultStyles&&d.css(i.content.cssDef);m.css({overflow:"hidden"})}})},pa=function(){g.each(i.borderPanes.split(","),function(){var b=z(this),c=p[b],d=s[b],e=c.resizerClass,f=c.togglerClass,h=r[b];C[b]=!1;K[b]=!1;if(h&&(c.closable||c.resizable)){var u=i[b].edge,h=h.is(":visible"),j="-"+b,l=h?"-open":"-closed",k;k=C[b]=g("<span></span>");
|
|
25
|
+
(!h||!c.resizable)&&!h&&c.slidable&&k.attr("title",c.sliderTip).css("cursor",c.sliderCursor);k.attr("id",c.paneSelector.substr(0,1)=="#"?c.paneSelector.substr(1)+"-resizer":"").attr("resizer",b).css(i.resizers.cssReq).css(u,q[u]+F(b)).addClass(e+" "+e+j+" "+e+l+" "+e+j+l).appendTo(v);c.applyDefaultStyles&&k.css(i.resizers.cssDef);c.closable&&(e=K[b]=g("<div></div>"),e.attr("id",c.paneSelector.substr(0,1)=="#"?c.paneSelector.substr(1)+"-toggler":"").css(i.togglers.cssReq).attr("title",h?c.togglerTip_open:
|
|
26
|
+
c.togglerTip_closed).click(function(c){N(b);c.stopPropagation()}).mouseover(function(b){b.stopPropagation()}).addClass(f+" "+f+j+" "+f+l+" "+f+j+l).appendTo(k),c.togglerContent_open&&g("<span>"+c.togglerContent_open+"</span>").addClass("content content-open").css("display",d.isClosed?"none":"block").appendTo(e),c.togglerContent_closed&&g("<span>"+c.togglerContent_closed+"</span>").addClass("content content-closed").css("display",d.isClosed?"block":"none").appendTo(e),c.applyDefaultStyles&&e.css(i.togglers.cssDef),
|
|
27
|
+
h||X(b,!0))}});L("all",!0)},qa=function(){var b=typeof g.fn.draggable=="function",c;g.each(i.borderPanes.split(","),function(){var d=z(this),e=p[d],f=s[d];if(!b||!r[d]||!e.resizable)return e.resizable=!1,!0;var h=e.resizerClass,u=h+"-drag",j=h+"-"+d+"-drag",l=h+"-dragging",k=h+"-"+d+"-dragging",m=!1,D=C[d];f.isClosed||D.attr("title",e.resizerTip).css("cursor",e.resizerCursor);D.draggable({containment:v[0],axis:i[d].dir=="horz"?"y":"x",delay:200,distance:1,helper:"clone",opacity:e.resizerDragOpacity,
|
|
28
|
+
zIndex:i.zIndex.resizing,start:function(){if(!1===y(d,e.onresize_start))return!1;f.isResizing=!0;R(d,"closeSlider");D.addClass(u+" "+j);m=!1;var b=d=="east"||d=="south"?e.spacing_open:0;Q(d);f.minPosition-=b;f.maxPosition-=b;c=i[d].dir=="horz"?"top":"left";g(e.maskIframesOnResize===!0?"iframe":e.maskIframesOnResize).each(function(){g('<div class="ui-layout-mask"/>').css({background:"#fff",opacity:"0.001",zIndex:9,position:"absolute",width:this.offsetWidth+"px",height:this.offsetHeight+"px"}).css(g(this).offset()).appendTo(this.parentNode)})},
|
|
29
|
+
drag:function(b,e){m||(g(".ui-draggable-dragging").addClass(l+" "+k).children().css("visibility","hidden"),m=!0,f.isSliding&&r[d].css("zIndex",i.zIndex.sliding));if(e.position[c]<f.minPosition)e.position[c]=f.minPosition;else if(e.position[c]>f.maxPosition)e.position[c]=f.maxPosition},stop:function(b,c){var e=c.position,h;D.removeClass(u+" "+j);switch(d){case "north":h=e.top;break;case "west":h=e.left;break;case "south":h=q.outerHeight-e.top-D.outerHeight();break;case "east":h=q.outerWidth-e.left-
|
|
30
|
+
D.outerWidth()}Y(d,h-q[i[d].edge]);g("div.ui-layout-mask").remove();f.isResizing=!1}})})},W=function(b,c){var d=p[b],e=s[b],f=r[b],h=C[b];if(f&&!e.isHidden&&!1!==y(b,d.onhide_start))e.isSliding=!1,h&&h.hide(),c||e.isClosed?(e.isClosed=!0,e.isHidden=!0,f.hide(),H(i[b].dir=="horz"?"all":"center"),y(b,d.onhide_end||d.onhide)):(e.isHiding=!0,A(b,!1))},S=function(b,c){var d=p[b],e=s[b],f=C[b];if(r[b]&&e.isHidden&&!1!==y(b,d.onshow_start))e.isSliding=!1,e.isShowing=!0,f&&d.spacing_open>0&&f.show(),c===
|
|
31
|
+
!1?A(b,!0):G(b)},N=function(b){var c=s[b];c.isHidden?S(b):c.isClosed?G(b):A(b)},A=function(b,c,d){function e(){X(b,!0);t||y(b,j.onclose_end||j.onclose);t&&y(b,j.onshow_end||j.onshow);v&&y(b,j.onhide_end||j.onhide);da(b)}var f=r[b],h=C[b],g=K[b],j=p[b],l=s[b],d=!d&&!l.isClosed&&j.fxName_close!="none",k=i[b].edge,m=j.resizerClass,D=j.togglerClass,n="-"+b,t=l.isShowing,v=l.isHiding;delete l.isShowing;delete l.isHiding;if(f&&(j.resizable||j.closable)&&(c||!l.isClosed||t))if(i.isLayoutBusy)ca("close",
|
|
32
|
+
b,c);else if(t||!1!==y(b,j.onclose_start)){i[b].isMoving=!0;i.isLayoutBusy=!0;l.isClosed=!0;if(v)l.isHidden=!0;else if(t)l.isHidden=!1;aa(b,!1);l.isSliding||H(i[b].dir=="horz"?"all":"center");h&&(h.css(k,q[k]).removeClass(m+"-open "+m+n+"-open").removeClass(m+"-sliding "+m+n+"-sliding").addClass(m+"-closed "+m+n+"-closed"),j.resizable&&h.draggable("disable").css("cursor","default").attr("title",""),g&&g.removeClass(D+"-open "+D+n+"-open").addClass(D+"-closed "+D+n+"-closed").attr("title",j.togglerTip_closed),
|
|
33
|
+
L());d?(T(b,!0),f.hide(j.fxName_close,j.fxSettings_close,j.fxSpeed_close,function(){T(b,!1);l.isClosed&&e()})):(f.hide(),e())}},G=function(b,c,d){function e(){l.isSliding||H(i[b].dir=="vert"?"center":"all");h&&(h.css(k,q[k]+F(b)).removeClass(m+x+" "+m+v+x).addClass(m+w+" "+m+v+w).addClass(!l.isSliding?"":m+z+" "+m+v+z),j.resizable?h.draggable("enable").css("cursor",j.resizerCursor).attr("title",j.resizerTip):h.css("cursor","default"),g&&g.removeClass(n+x+" "+n+v+x).addClass(n+w+" "+n+v+w).attr("title",
|
|
34
|
+
j.togglerTip_open),L("all"));M(b);aa(b,!l.isSliding);y(b,j.onopen_end||j.onopen);A&&y(b,j.onshow_end||j.onshow);da(b)}var f=r[b],h=C[b],g=K[b],j=p[b],l=s[b],d=!d&&l.isClosed&&j.fxName_open!="none",k=i[b].edge,m=j.resizerClass,n=j.togglerClass,v="-"+b,w="-open",x="-closed",z="-sliding",A=l.isShowing;delete l.isShowing;if(f&&(j.resizable||j.closable)&&(l.isClosed||l.isSliding))if(l.isHidden&&!A)S(b,!0);else if(i.isLayoutBusy)ca("open",b,c);else if(!1!==y(b,j.onopen_start)){i[b].isMoving=!0;i.isLayoutBusy=
|
|
35
|
+
!0;l.isSliding&&!c&&Z(b,!1);l.isClosed=!1;if(A)l.isHidden=!1;Q(b);l.size>l.maxSize&&f.css(i[b].sizeType,t(1,i[b].dir=="horz"?B(b,l.maxSize):E(b,l.maxSize)));X(b,!1);d?(T(b,!0),f.show(j.fxName_open,j.fxSettings_open,j.fxSpeed_open,function(){T(b,!1);l.isClosed||e()})):(f.show(),e())}},T=function(b,c){var d=r[b];c?(d.css({zIndex:i.zIndex.animation}),b=="south"?d.css({top:q.top+q.innerHeight-d.outerHeight()}):b=="east"&&d.css({left:q.left+q.innerWidth-d.outerWidth()})):(s[b].isSliding||d.css({zIndex:i.zIndex.pane_normal}),
|
|
36
|
+
b=="south"?d.css({top:"auto"}):b=="east"&&d.css({left:"auto"}))},X=function(b,c){var d=p[b],e=C[b],f=d.slideTrigger_open;e&&d.slidable&&(f!="click"&&f!="dblclick"&&f!="mouseover"&&(f="click"),e[c?"bind":"unbind"](f,ra).css("cursor",c?d.sliderCursor:"default").attr("title",c?d.sliderTip:""))},Z=function(b,c){function d(c){R(b,"closeSlider");c.stopPropagation()}var e=p[b].slideTrigger_close,f=r[b],h=C[b];s[b].isSliding=c;R(b,"closeSlider");f.css({zIndex:c?i.zIndex.sliding:i.zIndex.pane_normal});h.css({zIndex:c?
|
|
37
|
+
i.zIndex.sliding:i.zIndex.resizer_normal});e!="click"&&e!="mouseout"&&(e="mouseout");c?(f.bind(e,ga),h.bind(e,ga),e="mouseout",f.bind("mouseover",d),h.bind("mouseover",d)):(f.unbind(e),h.unbind(e),e="mouseout",f.unbind("mouseover"),h.unbind("mouseover"),R(b,"closeSlider"))},ra=function(){var b=g(this).attr("resizer");s[b].isClosed&&(Z(b,!0),G(b,!0))},ga=function(){function b(){Z(d,!1);e.isClosed||A(d)}var c=g(this),d=c.attr("pane")||c.attr("resizer"),c=p[d],e=s[d];!e.isClosed&&!e.isResizing&&(c.slideTrigger_close==
|
|
38
|
+
"click"?b():ka(d,"closeSlider",b,300))},Y=function(b,c){var d=i[b].edge,e=i[b].dir,f=p[b],h=s[b],g=r[b],j=C[b];Q(b);h.minSize=t(h.minSize,f.minSize);if(f.maxSize>0)h.maxSize=Math.min(h.maxSize,f.maxSize);c=t(c,h.minSize);c=Math.min(c,h.maxSize);h.size=c;j.css(d,c+q[d]);g.css(i[b].sizeType,t(1,i[b].dir=="horz"?B(b,c):E(b,c)));h.isSliding||H(e=="horz"?"all":"center");L();M(b);y(b,f.onresize_end||f.onresize)},H=function(b,c,d){if(!b||b=="all")b="east,west,center";var e=ea();c&&g.extend(e,c);g.each(b.split(","),
|
|
39
|
+
function(){if(r[this]){var b=z(this),c=p[b],i=s[b],j=r[b],l=C[b],k=!0,m={};if(b=="center"){if(e=ea(),m=g.extend({},e),m.width=t(1,E(b,m.width)),m.height=t(1,B(b,m.height)),k=m.width>1&&m.height>1,g.browser.msie&&(!g.boxModel||g.browser.version<7))r.north&&r.north.css({width:E(r.north,q.innerWidth)}),r.south&&r.south.css({width:E(r.south,q.innerWidth)})}else m.top=e.top,m.bottom=e.bottom,m.height=t(1,B(b,e.height)),k=m.height>1;if(k){j.css(m);if(i.noRoom)if(i.noRoom=!1,i.isHidden)return;else S(b,!i.isClosed);
|
|
40
|
+
d||(M(b),y(b,c.onresize_end||c.onresize))}else if(!i.noRoom)i.noRoom=!0,i.isHidden||(d?(j.hide(),l&&l.hide()):W(b))}})},M=function(b){if(!b||b=="all")b=i.allPanes;g.each(b.split(","),function(){if(J[this]){var b=z(this),d=p[b].contentIgnoreSelector,e=r[b],b=J[b],f=b[0],h=B(e);e.children().each(function(){if(this!=f){var b=g(this);if(!d||!b.is(d))h-=b.outerHeight()}});h>0&&(h=B(b,h));h<1?b.hide():b.css({height:h}).show()}})},L=function(b,c){if(!b||b=="all")b=i.borderPanes;g.each(b.split(","),function(){var b=
|
|
41
|
+
z(this),e=p[b],f=s[b],h=r[b],g=C[b],j=K[b];if(h&&g&&(e.resizable||e.closable)){var l=i[b].dir,k=f.isClosed?"_closed":"_open",b=e["spacing"+k],m=e["togglerAlign"+k],k=e["togglerLength"+k],n;if(b==0)g.hide();else{!f.noRoom&&!f.isHidden&&g.show();l=="horz"?(n=h.outerWidth(),g.css({width:t(1,E(g,n)),height:t(1,B(g,b)),left:w(h,"left")})):(n=h.outerHeight(),g.css({height:t(1,B(g,n)),width:t(1,E(g,b)),top:q.top+F("north",!0)}));if(j){if(k==0||f.isSliding&&e.hideTogglerOnSlide){j.hide();return}else j.show();
|
|
42
|
+
if(!(k>0)||k=="100%"||k>n)k=n,h=0;else if(typeof m=="string")switch(m){case "top":case "left":h=0;break;case "bottom":case "right":h=n-k;break;default:h=Math.floor((n-k)/2)}else h=parseInt(m),h=m>=0?h:n-k+h;n=e.togglerContent_open?j.children(".content-open"):!1;var v=e.togglerContent_closed?j.children(".content-closed"):!1,m=f.isClosed?v:n;n&&n.css("display",f.isClosed?"none":"block");v&&v.css("display",f.isClosed?"block":"none");l=="horz"?(f=E(j,k),j.css({width:t(0,f),height:t(1,B(j,b)),left:h}),
|
|
43
|
+
m&&m.css("marginLeft",Math.floor((f-m.outerWidth())/2))):(f=B(j,k),j.css({height:t(0,f),width:t(1,E(j,b)),top:h}),m&&m.css("marginTop",Math.floor((f-m.outerHeight())/2)))}c&&e.initHidden&&(g.hide(),j&&j.hide())}}})},ha=function(){var b=q.innerWidth,c=q.innerHeight;q=s.container=fa(v);var d=q.innerHeight<c,e=q.innerWidth<b,f,h;(d||e)&&g.each(["south","north","east","west"],function(b,c){f=s[c];h=i[c].dir;if(!f.isClosed&&(d&&h=="horz"||e&&h=="vert"))Q(c),f.size>f.maxSize&&Y(c,f.maxSize)});H("all");
|
|
44
|
+
L("all")},v=g(this).css({overflow:"hidden"}),r={},J={},C={},K={},i={allPanes:"north,south,east,west,center",borderPanes:"north,south,east,west",zIndex:{resizer_normal:1,pane_normal:2,mask:4,sliding:100,resizing:1E4,animation:1E4},resizers:{cssReq:{position:"absolute",padding:0,margin:0,fontSize:"1px",textAlign:"left",overflow:"hidden",zIndex:1},cssDef:{background:"#DDD",border:"none"}},togglers:{cssReq:{position:"absolute",display:"block",padding:0,margin:0,overflow:"hidden",textAlign:"center",fontSize:"1px",
|
|
45
|
+
cursor:"pointer",zIndex:1},cssDef:{background:"#AAA"}},content:{cssReq:{overflow:"auto"},cssDef:{}},defaults:{cssReq:{position:"absolute",margin:0,zIndex:2},cssDef:{padding:"10px",background:"#FFF",border:"1px solid #BBB",overflow:"auto"}},north:{edge:"top",sizeType:"height",dir:"horz",cssReq:{top:0,bottom:"auto",left:0,right:0,width:"auto"}},south:{edge:"bottom",sizeType:"height",dir:"horz",cssReq:{top:"auto",bottom:0,left:0,right:0,width:"auto"}},east:{edge:"right",sizeType:"width",dir:"vert",cssReq:{left:"auto",
|
|
46
|
+
right:0,top:"auto",bottom:"auto",height:"auto"}},west:{edge:"left",sizeType:"width",dir:"vert",cssReq:{left:0,right:"auto",top:"auto",bottom:"auto",height:"auto"}},center:{dir:"center",cssReq:{left:"auto",right:"auto",top:"auto",bottom:"auto",height:"auto",width:"auto"}}},q=s.container;(function(){na();la();oa();pa();qa();M("all");p.scrollToBookmarkOnLoad&&self.location.hash&&replace(self.location.hash);ma();g(window).resize(function(){var b="timerLayout_"+s.id;window[b]&&clearTimeout(window[b]);
|
|
47
|
+
window[b]=null;window[b]=setTimeout(ha,100)})})();return{options:p,state:s,panes:r,toggle:N,open:G,close:A,hide:W,show:S,resizeContent:M,sizePane:Y,resizeAll:ha,addToggleBtn:function(b,c){var d=P(b,c,"toggle");d&&d.attr("title",s[c].isClosed?"Open":"Close").click(function(b){N(c);b.stopPropagation()})},addOpenBtn:function(b,c){var d=P(b,c,"open");d&&d.attr("title","Open").click(function(b){G(c);b.stopPropagation()})},addCloseBtn:function(b,c){var d=P(b,c,"close");d&&d.attr("title","Close").click(function(b){A(c);
|
|
48
|
+
b.stopPropagation()})},addPinBtn:function(b,c){var d=P(b,c,"pin");if(d){var e=s[c];d.click(function(b){U(g(this),c,e.isSliding||e.isClosed);e.isSliding||e.isClosed?G(c):A(c);b.stopPropagation()});U(d,c,!e.isClosed&&!e.isSliding);i[c].pins.push(b)}},allowOverflow:$,resetOverflow:O,cssWidth:E,cssHeight:B}}})(jQuery);
|
|
@@ -1,167 +1,166 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
s=/(opera)(?:.*version)?[ \/]([\w.]+)/,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
applet
|
|
27
|
-
(
|
|
28
|
-
else
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
a(this);
|
|
34
|
-
d===
|
|
35
|
-
l=a(this),
|
|
36
|
-
"option")){var
|
|
37
|
-
null?"on":
|
|
38
|
-
0});if(!
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
b
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
h)
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
d)
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||j.test(this.nodeName)||
|
|
128
|
-
|
|
129
|
-
global
|
|
130
|
-
2
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
(
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
"
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
"
|
|
166
|
-
|
|
167
|
-
m[G](r.call(this,E,m[G]()))});if(a.isWindow(v)){var u=v.document.documentElement["client"+D];return v.document.compatMode==="CSS1Compat"&&u||v.document.body["client"+D]||u}else if(v.nodeType===9)return Math.max(v.documentElement["client"+D],v.body["scroll"+D],v.documentElement["scroll"+D],v.body["offset"+D],v.documentElement["offset"+D]);else if(r===J){v=a.css(v,G);u=parseFloat(v);return a.isNaN(u)?v:u}else return this.css(G,typeof r==="string"?r:r+"px")}})})(T);P.jQuery=P.$=T})(window);
|
|
1
|
+
(function(w,t){var p=w.document,y=function(){function a(){if(!c.isReady){try{p.documentElement.doScroll("left")}catch(h){setTimeout(a,1);return}c.ready()}}var c=function(a,h){return new c.fn.init(a,h,m)},k=w.jQuery,o=w.$,m,e=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,r=/^\s+/,f=/\s+$/,b=/\d/,d=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,q=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,x=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,j=/(?:^|:|,)(?:\s*\[)+/g,l=/(webkit)[ \/]([\w.]+)/,
|
|
2
|
+
s=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,h=navigator.userAgent,g,z,B=Object.prototype.toString,E=Object.prototype.hasOwnProperty,D=Array.prototype.push,G=Array.prototype.slice,K=String.prototype.trim,I=Array.prototype.indexOf,M={};c.fn=c.prototype={constructor:c,init:function(a,h,g){var b;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!h&&p.body)return this.context=p,this[0]=p.body,this.selector="body",
|
|
3
|
+
this.length=1,this;if(typeof a==="string")if((b=e.exec(a))&&(b[1]||!h))if(b[1])return g=(h=h instanceof c?h[0]:h)?h.ownerDocument||h:p,(a=d.exec(a))?c.isPlainObject(h)?(a=[p.createElement(a[1])],c.fn.attr.call(a,h,!0)):a=[g.createElement(a[1])]:(a=c.buildFragment([b[1]],[g]),a=(a.cacheable?c.clone(a.fragment):a.fragment).childNodes),c.merge(this,a);else{if((h=p.getElementById(b[2]))&&h.parentNode){if(h.id!==b[2])return g.find(a);this.length=1;this[0]=h}this.context=p;this.selector=a;return this}else return!h||
|
|
4
|
+
h.jquery?(h||g).find(a):this.constructor(h).find(a);else if(c.isFunction(a))return g.ready(a);if(a.selector!==t)this.selector=a.selector,this.context=a.context;return c.makeArray(a,this)},selector:"",jquery:"@VERSION",length:0,size:function(){return this.length},toArray:function(){return G.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,h,g){var b=this.constructor();c.isArray(a)?D.apply(b,a):c.merge(b,a);b.prevObject=this;b.context=
|
|
5
|
+
this.context;if(h==="find")b.selector=this.selector+(this.selector?" ":"")+g;else if(h)b.selector=this.selector+"."+h+"("+g+")";return b},each:function(a,h){return c.each(this,a,h)},ready:function(a){c.bindReady();g.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(G.apply(this,arguments),"slice",G.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,
|
|
6
|
+
function(h,g){return a.call(h,g,h)}))},end:function(){return this.prevObject||this.constructor(null)},push:D,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a,h,g,b,v,d=arguments[0]||{},z=1,B=arguments.length,l=!1;typeof d==="boolean"&&(l=d,d=arguments[1]||{},z=2);typeof d!=="object"&&!c.isFunction(d)&&(d={});B===z&&(d=this,--z);for(;z<B;z++)if((a=arguments[z])!=null)for(h in a)g=d[h],b=a[h],d!==b&&(l&&b&&(c.isPlainObject(b)||(v=c.isArray(b)))?(v?(v=!1,
|
|
7
|
+
g=g&&c.isArray(g)?g:[]):g=g&&c.isPlainObject(g)?g:{},d[h]=c.extend(l,g,b)):b!==t&&(d[h]=b));return d};c.extend({noConflict:function(a){w.$=o;if(a)w.jQuery=k;return c},isReady:!1,readyWait:1,ready:function(a){a===!0&&c.readyWait--;if(!c.readyWait||a!==!0&&!c.isReady){if(!p.body)return setTimeout(c.ready,1);c.isReady=!0;a!==!0&&--c.readyWait>0||(g.resolveWith(p,[c]),c.fn.trigger&&c(p).trigger("ready").unbind("ready"))}},bindReady:function(){if(!g){g=c._Deferred();if(p.readyState==="complete")return setTimeout(c.ready,
|
|
8
|
+
1);if(p.addEventListener)p.addEventListener("DOMContentLoaded",z,!1),w.addEventListener("load",c.ready,!1);else if(p.attachEvent){p.attachEvent("onreadystatechange",z);w.attachEvent("onload",c.ready);var h=!1;try{h=w.frameElement==null}catch(b){}p.documentElement.doScroll&&h&&a()}}},isFunction:function(a){return c.type(a)==="function"},isArray:Array.isArray||function(a){return c.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||
|
|
9
|
+
!b.test(a)||isNaN(a)},type:function(a){return a==null?String(a):M[B.call(a)]||"object"},isPlainObject:function(a){if(!a||c.type(a)!=="object"||a.nodeType||c.isWindow(a))return!1;if(a.constructor&&!E.call(a,"constructor")&&!E.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var h in a);return h===t||E.call(a,h)},isEmptyObject:function(a){for(var h in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(n.test(a.replace(q,
|
|
10
|
+
"@").replace(x,"]").replace(j,"")))return w.JSON&&w.JSON.parse?w.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},parseXML:function(a,h,g){w.DOMParser?(g=new DOMParser,h=g.parseFromString(a,"text/xml")):(h=new ActiveXObject("Microsoft.XMLDOM"),h.async="false",h.loadXML(a));g=h.documentElement;(!g||!g.nodeName||g.nodeName==="parsererror")&&c.error("Invalid XML: "+a);return h},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var h=p.head||p.getElementsByTagName("head")[0]||
|
|
11
|
+
p.documentElement,g=p.createElement("script");c.support.scriptEval()?g.appendChild(p.createTextNode(a)):g.text=a;h.insertBefore(g,h.firstChild);h.removeChild(g)}},nodeName:function(a,h){return a.nodeName&&a.nodeName.toUpperCase()===h.toUpperCase()},each:function(a,h,g){var b,v=0,d=a.length,z=d===t||c.isFunction(a);if(g)if(z)for(b in a){if(h.apply(a[b],g)===!1)break}else for(;v<d;){if(h.apply(a[v++],g)===!1)break}else if(z)for(b in a){if(h.call(a[b],b,a[b])===!1)break}else for(g=a[0];v<d&&h.call(g,
|
|
12
|
+
v,g)!==!1;g=a[++v]);return a},trim:K?function(a){return a==null?"":K.call(a)}:function(a){return a==null?"":a.toString().replace(r,"").replace(f,"")},makeArray:function(a,h){var g=h||[];if(a!=null){var b=c.type(a);a.length==null||b==="string"||b==="function"||b==="regexp"||c.isWindow(a)?D.call(g,a):c.merge(g,a)}return g},inArray:function(a,h){if(h.indexOf)return h.indexOf(a);for(var g=0,b=h.length;g<b;g++)if(h[g]===a)return g;return-1},merge:function(a,h){var g=a.length,b=0;if(typeof h.length==="number")for(var v=
|
|
13
|
+
h.length;b<v;b++)a[g++]=h[b];else for(;h[b]!==t;)a[g++]=h[b++];a.length=g;return a},grep:function(a,h,g){for(var b=[],v,g=!!g,d=0,z=a.length;d<z;d++)v=!!h(a[d],d),g!==v&&b.push(a[d]);return b},map:function(a,h,g){for(var b=[],v,d=0,z=a.length;d<z;d++)v=h(a[d],d,g),v!=null&&(b[b.length]=v);return b.concat.apply([],b)},guid:1,proxy:function(a,h,g){arguments.length===2&&(typeof h==="string"?(g=a,a=g[h],h=t):h&&!c.isFunction(h)&&(g=h,h=t));!h&&a&&(h=function(){return a.apply(g||this,arguments)});if(a)h.guid=
|
|
14
|
+
a.guid=a.guid||h.guid||c.guid++;return h},access:function(a,h,g,b,v,d){var z=a.length;if(typeof h==="object"){for(var B in h)c.access(a,B,h[B],b,v,g);return a}if(g!==t){b=!d&&b&&c.isFunction(g);for(B=0;B<z;B++)v(a[B],h,b?g.call(a[B],B,v(a[B],h)):g,d);return a}return z?v(a[0],h):t},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=l.exec(a)||s.exec(a)||u.exec(a)||a.indexOf("compatible")<0&&v.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(h,
|
|
15
|
+
g){return new a.fn.init(h,g)}c.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.subclass=this.subclass;a.fn.init=function(g,b){b&&b instanceof c&&!(b instanceof a)&&(b=a(b));return c.fn.init.call(this,g,b,h)};a.fn.init.prototype=a.fn;var h=a(p);return a},browser:{}});c.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,h){M["[object "+h+"]"]=h.toLowerCase()});h=c.uaMatch(h);if(h.browser)c.browser[h.browser]=!0,c.browser.version=h.version;
|
|
16
|
+
if(c.browser.webkit)c.browser.safari=!0;if(I)c.inArray=function(a,h){return I.call(h,a)};i.test(" ")&&(r=/^[\s\xA0]+/,f=/[\s\xA0]+$/);m=c(p);p.addEventListener?z=function(){p.removeEventListener("DOMContentLoaded",z,!1);c.ready()}:p.attachEvent&&(z=function(){p.readyState==="complete"&&(p.detachEvent("onreadystatechange",z),c.ready())});return c}();(function(a){var c="then done fail isResolved isRejected promise".split(" "),k=[].slice;a.extend({_Deferred:function(){var c=[],m,e,i,r={done:function(){if(!i){var f=
|
|
17
|
+
arguments,b,d,n,e,x;m&&(x=m,m=0);b=0;for(d=f.length;b<d;b++)n=f[b],e=a.type(n),e==="array"?r.done.apply(r,n):e==="function"&&c.push(n);x&&r.resolveWith(x[0],x[1])}return this},resolveWith:function(a,b){if(!i&&!m&&!e){b=b||[];e=1;try{for(;c[0];)c.shift().apply(a,b)}finally{m=[a,b],e=0}}return this},resolve:function(){r.resolveWith(this,arguments);return this},isResolved:function(){return!(!e&&!m)},cancel:function(){i=1;c=[];return this}};return r},Deferred:function(k){var m=a._Deferred(),e=a._Deferred(),
|
|
18
|
+
i;a.extend(m,{then:function(a,f){m.done(a).fail(f);return this},fail:e.done,rejectWith:e.resolveWith,reject:e.resolve,isRejected:e.isResolved,promise:function(a){if(a==null){if(i)return i;i=a={}}for(var f=c.length;f--;)a[c[f]]=m[c[f]];return a}});m.done(e.cancel).fail(m.cancel);delete m.cancel;k&&k.call(m,m);return m},when:function(c){function m(a){return function(n){e[a]=arguments.length>1?k.call(arguments,0):n;--f||b.resolveWith(b,k.call(e,0))}}var e=arguments,i=0,r=e.length,f=r,b=r<=1&&c&&a.isFunction(c.promise)?
|
|
19
|
+
c:a.Deferred();if(r>1){for(;i<r;i++)e[i]&&a.isFunction(e[i].promise)?e[i].promise().then(m(i),b.reject):--f;f||b.resolveWith(b,e)}else b!==c&&b.resolveWith(b,r?[c]:[]);return b.promise()}})})(y);(function(a){(function(){a.support={};var c=p.createElement("div");c.style.display="none";c.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var k=c.getElementsByTagName("*"),o=c.getElementsByTagName("a")[0],m=p.createElement("select"),
|
|
20
|
+
e=m.appendChild(p.createElement("option")),i=c.getElementsByTagName("input")[0];if(k&&k.length&&o){a.support={leadingWhitespace:c.firstChild.nodeType===3,tbody:!c.getElementsByTagName("tbody").length,htmlSerialize:!!c.getElementsByTagName("link").length,style:/red/.test(o.getAttribute("style")),hrefNormalized:o.getAttribute("href")==="/a",opacity:/^0.55$/.test(o.style.opacity),cssFloat:!!o.style.cssFloat,checkOn:i.value==="on",optSelected:e.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,
|
|
21
|
+
noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0,reliableMarginRight:!0};i.checked=!0;a.support.noCloneChecked=i.cloneNode(!0).checked;m.disabled=!0;a.support.optDisabled=!e.disabled;var r=null;a.support.scriptEval=function(){if(r===null){var b=p.documentElement,d=p.createElement("script"),f="script"+a.now();try{d.appendChild(p.createTextNode("window."+f+"=1;"))}catch(c){}b.insertBefore(d,b.firstChild);w[f]?(r=!0,delete w[f]):r=!1;b.removeChild(d)}return r};
|
|
22
|
+
try{delete c.test}catch(f){a.support.deleteExpando=!1}!c.addEventListener&&c.attachEvent&&c.fireEvent&&(c.attachEvent("onclick",function d(){a.support.noCloneEvent=!1;c.detachEvent("onclick",d)}),c.cloneNode(!0).fireEvent("onclick"));c=p.createElement("div");c.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";k=p.createDocumentFragment();k.appendChild(c.firstChild);a.support.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked;a(function(){var d=p.createElement("div"),f=p.getElementsByTagName("body")[0];
|
|
23
|
+
if(f){d.style.width=d.style.paddingLeft="1px";f.appendChild(d);a.boxModel=a.support.boxModel=d.offsetWidth===2;if("zoom"in d.style)d.style.display="inline",d.style.zoom=1,a.support.inlineBlockNeedsLayout=d.offsetWidth===2,d.style.display="",d.innerHTML="<div style='width:4px;'></div>",a.support.shrinkWrapBlocks=d.offsetWidth!==2;d.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var c=d.getElementsByTagName("td");a.support.reliableHiddenOffsets=c[0].offsetHeight===
|
|
24
|
+
0;c[0].style.display="";c[1].style.display="none";a.support.reliableHiddenOffsets=a.support.reliableHiddenOffsets&&c[0].offsetHeight===0;d.innerHTML="";if(p.defaultView&&p.defaultView.getComputedStyle)d.style.width="1px",d.style.marginRight="0",a.support.reliableMarginRight=(parseInt(p.defaultView.getComputedStyle(d,null).marginRight,10)||0)===0;f.removeChild(d).style.display="none"}});k=function(a){var f=p.createElement("div"),a="on"+a;if(!f.attachEvent)return!0;var c=a in f;c||(f.setAttribute(a,
|
|
25
|
+
"return;"),c=typeof f[a]==="function");return c};a.support.submitBubbles=k("submit");a.support.changeBubbles=k("change");c=k=o=null}})()})(y);(function(a){function c(c,e,i){if(i===t&&c.nodeType===1)if(i=c.getAttribute("data-"+e),typeof i==="string"){try{i=i==="true"?!0:i==="false"?!1:i==="null"?null:!a.isNaN(i)?parseFloat(i):o.test(i)?a.parseJSON(i):i}catch(k){}a.data(c,e,i)}else i=t;return i}function k(a){for(var c in a)if(c!=="toJSON")return!1;return!0}var o=/^(?:\{.*\}|\[.*\])$/;a.extend({cache:{},
|
|
26
|
+
uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(c){c=c.nodeType?a.cache[c[a.expando]]:c[a.expando];return!!c&&!k(c)},data:function(c,e,i,k){if(a.acceptData(c)){var f=a.expando,b=typeof e==="string",d=c.nodeType,n=d?a.cache:c,q=d?c[a.expando]:c[a.expando]&&a.expando;if(q&&(!k||!q||n[q][f])||!(b&&i===t)){if(!q)d?c[a.expando]=q=++a.uuid:q=a.expando;if(!n[q]&&(n[q]={},!d))n[q].toJSON=
|
|
27
|
+
a.noop;if(typeof e==="object"||typeof e==="function")k?n[q][f]=a.extend(n[q][f],e):n[q]=a.extend(n[q],e);c=n[q];k&&(c[f]||(c[f]={}),c=c[f]);i!==t&&(c[e]=i);if(e==="events"&&!c[e])return c[f]&&c[f].events;return b?c[e]:c}}},removeData:function(c,e,i){if(a.acceptData(c)){var r=a.expando,f=c.nodeType,b=f?a.cache:c,d=f?c[a.expando]:a.expando;if(b[d]){if(e){var n=i?b[d][r]:b[d];if(n&&(delete n[e],!k(n)))return}if(i&&(delete b[d][r],!k(b[d])))return;e=b[d][r];a.support.deleteExpando||b!=w?delete b[d]:b[d]=
|
|
28
|
+
null;if(e){b[d]={};if(!f)b[d].toJSON=a.noop;b[d][r]=e}else f&&(a.support.deleteExpando?delete c[a.expando]:c.removeAttribute?c.removeAttribute(a.expando):c[a.expando]=null)}}},_data:function(c,e,i){return a.data(c,e,i,!0)},acceptData:function(c){if(c.nodeName){var e=a.noData[c.nodeName.toLowerCase()];if(e)return!(e===!0||c.getAttribute("classid")!==e)}return!0}});a.fn.extend({data:function(m,e){var i=null;if(typeof m==="undefined"){if(this.length&&(i=a.data(this[0]),this[0].nodeType===1))for(var k=
|
|
29
|
+
this[0].attributes,f,b=0,d=k.length;b<d;b++)f=k[b].name,f.indexOf("data-")===0&&(f=f.substr(5),c(this[0],f,i[f]));return i}else if(typeof m==="object")return this.each(function(){a.data(this,m)});var n=m.split(".");n[1]=n[1]?"."+n[1]:"";return e===t?(i=this.triggerHandler("getData"+n[1]+"!",[n[0]]),i===t&&this.length&&(i=a.data(this[0],m),i=c(this[0],m,i)),i===t&&n[1]?this.data(n[0]):i):this.each(function(){var b=a(this),d=[n[0],e];b.triggerHandler("setData"+n[1]+"!",d);a.data(this,m,e);b.triggerHandler("changeData"+
|
|
30
|
+
n[1]+"!",d)})},removeData:function(c){return this.each(function(){a.removeData(this,c)})}})})(y);(function(a){a.extend({queue:function(c,k,o){if(c){var k=(k||"fx")+"queue",m=a._data(c,k);if(!o)return m||[];!m||a.isArray(o)?m=a._data(c,k,a.makeArray(o)):m.push(o);return m}},dequeue:function(c,k){var k=k||"fx",o=a.queue(c,k),m=o.shift();m==="inprogress"&&(m=o.shift());m&&(k==="fx"&&o.unshift("inprogress"),m.call(c,function(){a.dequeue(c,k)}));o.length||a.removeData(c,k+"queue",!0)}});a.fn.extend({queue:function(c,
|
|
31
|
+
k){typeof c!=="string"&&(k=c,c="fx");if(k===t)return a.queue(this[0],c);return this.each(function(){var o=a.queue(this,c,k);c==="fx"&&o[0]!=="inprogress"&&a.dequeue(this,c)})},dequeue:function(c){return this.each(function(){a.dequeue(this,c)})},delay:function(c,k){c=a.fx?a.fx.speeds[c]||c:c;k=k||"fx";return this.queue(k,function(){var o=this;setTimeout(function(){a.dequeue(o,k)},c)})},clearQueue:function(a){return this.queue(a||"fx",[])}})})(y);(function(a){var c=/[\n\t\r]/g,k=/\s+/,o=/\r/g,m=/^(?:href|src|style)$/,
|
|
32
|
+
e=/^(?:button|input)$/i,i=/^(?:button|input|object|select|textarea)$/i,r=/^a(?:rea)?$/i,f=/^(?:radio|checkbox)$/i;a.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};a.fn.extend({attr:function(b,d){return a.access(this,b,d,!0,a.attr)},removeAttr:function(b){return this.each(function(){a.attr(this,b,"");this.nodeType===1&&this.removeAttribute(b)})},
|
|
33
|
+
addClass:function(b){if(a.isFunction(b))return this.each(function(v){var h=a(this);h.addClass(b.call(this,v,h.attr("class")))});if(b&&typeof b==="string")for(var d=(b||"").split(k),c=0,f=this.length;c<f;c++){var e=this[c];if(e.nodeType===1)if(e.className){for(var j=" "+e.className+" ",l=e.className,i=0,m=d.length;i<m;i++)j.indexOf(" "+d[i]+" ")<0&&(l+=" "+d[i]);e.className=a.trim(l)}else e.className=b}return this},removeClass:function(b){if(a.isFunction(b))return this.each(function(d){var v=a(this);
|
|
34
|
+
v.removeClass(b.call(this,d,v.attr("class")))});if(b&&typeof b==="string"||b===t)for(var d=(b||"").split(k),f=0,e=this.length;f<e;f++){var i=this[f];if(i.nodeType===1&&i.className)if(b){for(var j=(" "+i.className+" ").replace(c," "),l=0,s=d.length;l<s;l++)j=j.replace(" "+d[l]+" "," ");i.className=a.trim(j)}else i.className=""}return this},toggleClass:function(b,d){var c=typeof b,f=typeof d==="boolean";if(a.isFunction(b))return this.each(function(c){var f=a(this);f.toggleClass(b.call(this,c,f.attr("class"),
|
|
35
|
+
d),d)});return this.each(function(){if(c==="string")for(var e,j=0,l=a(this),i=d,m=b.split(k);e=m[j++];)i=f?i:!l.hasClass(e),l[i?"addClass":"removeClass"](e);else if(c==="undefined"||c==="boolean")this.className&&a._data(this,"__className__",this.className),this.className=this.className||b===!1?"":a._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",d=0,f=this.length;d<f;d++)if((" "+this[d].className+" ").replace(c," ").indexOf(a)>-1)return!0;return!1},val:function(b){if(!arguments.length){var d=
|
|
36
|
+
this[0];if(d){if(a.nodeName(d,"option")){var c=d.attributes.value;return!c||c.specified?d.value:d.text}if(a.nodeName(d,"select")){var c=d.selectedIndex,e=[],i=d.options,d=d.type==="select-one";if(c<0)return null;for(var j=d?c:0,l=d?c+1:i.length;j<l;j++){var s=i[j];if(s.selected&&(a.support.optDisabled?!s.disabled:s.getAttribute("disabled")===null)&&(!s.parentNode.disabled||!a.nodeName(s.parentNode,"optgroup"))){b=a(s).val();if(d)return b;e.push(b)}}if(d&&!e.length&&i.length)return a(i[c]).val();return e}if(f.test(d.type)&&
|
|
37
|
+
!a.support.checkOn)return d.getAttribute("value")===null?"on":d.value;return(d.value||"").replace(o,"")}return t}var m=a.isFunction(b);return this.each(function(v){var h=a(this),g=b;if(this.nodeType===1)if(m&&(g=b.call(this,v,h.val())),g==null?g="":typeof g==="number"?g+="":a.isArray(g)&&(g=a.map(g,function(a){return a==null?"":a+""})),a.isArray(g)&&f.test(this.type))this.checked=a.inArray(h.val(),g)>=0;else if(a.nodeName(this,"select")){var d=a.makeArray(g);a("option",this).each(function(){this.selected=
|
|
38
|
+
a.inArray(a(this).val(),d)>=0});if(!d.length)this.selectedIndex=-1}else this.value=g})}});a.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(b,d,c,f){if(!b||b.nodeType===3||b.nodeType===8||b.nodeType===2)return t;if(f&&d in a.attrFn)return a(b)[d](c);var f=b.nodeType!==1||!a.isXMLDoc(b),k=c!==t,d=f&&a.props[d]||d;if(b.nodeType===1){var j=m.test(d);if((d in b||b[d]!==t)&&f&&!j){k&&(d==="type"&&e.test(b.nodeName)&&b.parentNode&&a.error("type property can't be changed"),
|
|
39
|
+
c===null?b.nodeType===1&&b.removeAttribute(d):b[d]=c);if(a.nodeName(b,"form")&&b.getAttributeNode(d))return b.getAttributeNode(d).nodeValue;if(d==="tabIndex")return(d=b.getAttributeNode("tabIndex"))&&d.specified?d.value:i.test(b.nodeName)||r.test(b.nodeName)&&b.href?0:t;return b[d]}if(!a.support.style&&f&&d==="style"){if(k)b.style.cssText=""+c;return b.style.cssText}k&&b.setAttribute(d,""+c);if(!b.attributes[d]&&b.hasAttribute&&!b.hasAttribute(d))return t;b=!a.support.hrefNormalized&&f&&j?b.getAttribute(d,
|
|
40
|
+
2):b.getAttribute(d);return b===null?t:b}k&&(b[d]=c);return b[d]}})})(y);(function(a){function c(){return!1}function k(){return!0}function o(b,h,g){var d=a.extend({},g[0]);d.type=b;d.originalEvent={};d.liveFired=t;a.event.handle.call(h,d);d.isDefaultPrevented()&&g[0].preventDefault()}function m(b){var h,g,d,c,f,l,j,e,n,s,m,u=[];c=[];f=a._data(this,"events");if(!(b.liveFired===this||!f||!f.live||b.target.disabled||b.button&&b.type==="click")){b.namespace&&(m=RegExp("(^|\\.)"+b.namespace.split(".").join("\\.(?:.*\\.)?")+
|
|
41
|
+
"(\\.|$)"));b.liveFired=this;var k=f.live.slice(0);for(j=0;j<k.length;j++)f=k[j],f.origType.replace(i,"")===b.type?c.push(f.selector):k.splice(j--,1);c=a(b.target).closest(c,b.currentTarget);e=0;for(n=c.length;e<n;e++){s=c[e];for(j=0;j<k.length;j++)if(f=k[j],s.selector===f.selector&&(!m||m.test(f.namespace))&&!s.elem.disabled){l=s.elem;d=null;if(f.preType==="mouseenter"||f.preType==="mouseleave")b.type=f.preType,d=a(b.relatedTarget).closest(f.selector)[0];(!d||d!==l)&&u.push({elem:l,handleObj:f,level:s.level})}}e=
|
|
42
|
+
0;for(n=u.length;e<n;e++){c=u[e];if(g&&c.level>g)break;b.currentTarget=c.elem;b.data=c.handleObj.data;b.handleObj=c.handleObj;m=c.handleObj.origHandler.apply(c.elem,arguments);if(m===!1||b.isPropagationStopped())if(g=c.level,m===!1&&(h=!1),b.isImmediatePropagationStopped())break}return h}}function e(a,h){return(a&&a!=="*"?a+".":"")+h.replace(f,"`").replace(b,"&")}var i=/\.(.*)$/,r=/^(?:textarea|input|select)$/i,f=/\./g,b=/ /g,d=/[^\w\s.|`]/g,n=function(a){return a.replace(d,"\\$&")};a.event={add:function(b,
|
|
43
|
+
h,g,d){if(!(b.nodeType===3||b.nodeType===8)){try{a.isWindow(b)&&b!==w&&!b.frameElement&&(b=w)}catch(f){}if(g===!1)g=c;else if(!g)return;var l,j;if(g.handler)l=g,g=l.handler;if(!g.guid)g.guid=a.guid++;if(j=a._data(b)){var e=j.events,i=j.handle;if(!e)j.events=e={};if(!i)j.handle=i=function(h){return typeof a!=="undefined"&&a.event.triggered!==h.type?a.event.handle.apply(i.elem,arguments):t};i.elem=b;for(var h=h.split(" "),n,s=0,m;n=h[s++];){j=l?a.extend({},l):{handler:g,data:d};n.indexOf(".")>-1?(m=
|
|
44
|
+
n.split("."),n=m.shift(),j.namespace=m.slice(0).sort().join(".")):(m=[],j.namespace="");j.type=n;if(!j.guid)j.guid=g.guid;var u=e[n],k=a.event.special[n]||{};if(!u&&(u=e[n]=[],!k.setup||k.setup.call(b,d,m,i)===!1))b.addEventListener?b.addEventListener(n,i,!1):b.attachEvent&&b.attachEvent("on"+n,i);if(k.add&&(k.add.call(b,j),!j.handler.guid))j.handler.guid=g.guid;u.push(j);a.event.global[n]=!0}b=null}}},global:{},remove:function(b,h,g,d){if(!(b.nodeType===3||b.nodeType===8)){g===!1&&(g=c);var f,j,
|
|
45
|
+
l=0,e,i,s,m,k,u,q=a.hasData(b)&&a._data(b),r=q&&q.events;if(q&&r){if(h&&h.type)g=h.handler,h=h.type;if(!h||typeof h==="string"&&h.charAt(0)===".")for(f in h=h||"",r)a.event.remove(b,f+h);else{for(h=h.split(" ");f=h[l++];)if(m=f,e=f.indexOf(".")<0,i=[],e||(i=f.split("."),f=i.shift(),s=RegExp("(^|\\.)"+a.map(i.slice(0).sort(),n).join("\\.(?:.*\\.)?")+"(\\.|$)")),k=r[f])if(g){m=a.event.special[f]||{};for(j=d||0;j<k.length;j++)if(u=k[j],g.guid===u.guid){if(e||s.test(u.namespace))d==null&&k.splice(j--,
|
|
46
|
+
1),m.remove&&m.remove.call(b,u);if(d!=null)break}if(k.length===0||d!=null&&k.length===1)(!m.teardown||m.teardown.call(b,i)===!1)&&a.removeEvent(b,f,q.handle),delete r[f]}else for(j=0;j<k.length;j++)if(u=k[j],e||s.test(u.namespace))a.event.remove(b,m,u.handler,j),k.splice(j--,1);if(a.isEmptyObject(r)){if(h=q.handle)h.elem=null;delete q.events;delete q.handle;a.isEmptyObject(q)&&a.removeData(b,t,!0)}}}}},trigger:function(b,h,g,d){var c=b.type||b;if(!d){b=typeof b==="object"?b[a.expando]?b:a.extend(a.Event(c),
|
|
47
|
+
b):a.Event(c);if(c.indexOf("!")>=0)b.type=c=c.slice(0,-1),b.exclusive=!0;g||(b.stopPropagation(),a.event.global[c]&&a.each(a.cache,function(){var g=this[a.expando];g&&g.events&&g.events[c]&&a.event.trigger(b,h,g.handle.elem)}));if(!g||g.nodeType===3||g.nodeType===8)return t;b.result=t;b.target=g;h=a.makeArray(h);h.unshift(b)}b.currentTarget=g;(d=a._data(g,"handle"))&&d.apply(g,h);d=g.parentNode||g.ownerDocument;try{if((!g||!g.nodeName||!a.noData[g.nodeName.toLowerCase()])&&g["on"+c]&&g["on"+c].apply(g,
|
|
48
|
+
h)===!1)b.result=!1,b.preventDefault()}catch(f){}if(!b.isPropagationStopped()&&d)a.event.trigger(b,h,d,!0);else if(!b.isDefaultPrevented()){var j,d=b.target,l=c.replace(i,""),e=a.nodeName(d,"a")&&l==="click",n=a.event.special[l]||{};if((!n._default||n._default.call(g,b)===!1)&&!e&&(!d||!d.nodeName||!a.noData[d.nodeName.toLowerCase()])){try{if(d[l])(j=d["on"+l])&&(d["on"+l]=null),a.event.triggered=b.type,d[l]()}catch(s){}j&&(d["on"+l]=j);a.event.triggered=t}}},handle:function(b){var h,g,d,c;g=[];var f=
|
|
49
|
+
a.makeArray(arguments),b=f[0]=a.event.fix(b||w.event);b.currentTarget=this;h=b.type.indexOf(".")<0&&!b.exclusive;if(!h)d=b.type.split("."),b.type=d.shift(),g=d.slice(0).sort(),d=RegExp("(^|\\.)"+g.join("\\.(?:.*\\.)?")+"(\\.|$)");b.namespace=b.namespace||g.join(".");c=a._data(this,"events");g=(c||{})[b.type];if(c&&g){g=g.slice(0);c=0;for(var j=g.length;c<j;c++){var l=g[c];if(h||d.test(l.namespace)){b.handler=l.handler;b.data=l.data;b.handleObj=l;l=l.handler.apply(this,f);if(l!==t)b.result=l,l===!1&&
|
|
50
|
+
(b.preventDefault(),b.stopPropagation());if(b.isImmediatePropagationStopped())break}}}return b.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(b){if(b[a.expando])return b;for(var h=b,b=a.Event(h),
|
|
51
|
+
g=this.props.length,d;g;)d=this.props[--g],b[d]=h[d];if(!b.target)b.target=b.srcElement||p;if(b.target.nodeType===3)b.target=b.target.parentNode;if(!b.relatedTarget&&b.fromElement)b.relatedTarget=b.fromElement===b.target?b.toElement:b.fromElement;if(b.pageX==null&&b.clientX!=null)h=p.documentElement,g=p.body,b.pageX=b.clientX+(h&&h.scrollLeft||g&&g.scrollLeft||0)-(h&&h.clientLeft||g&&g.clientLeft||0),b.pageY=b.clientY+(h&&h.scrollTop||g&&g.scrollTop||0)-(h&&h.clientTop||g&&g.clientTop||0);if(b.which==
|
|
52
|
+
null&&(b.charCode!=null||b.keyCode!=null))b.which=b.charCode!=null?b.charCode:b.keyCode;if(!b.metaKey&&b.ctrlKey)b.metaKey=b.ctrlKey;if(!b.which&&b.button!==t)b.which=b.button&1?1:b.button&2?3:b.button&4?2:0;return b},guid:1E8,proxy:a.proxy,special:{ready:{setup:a.bindReady,teardown:a.noop},live:{add:function(b){a.event.add(this,e(b.origType,b.selector),a.extend({},b,{handler:m,guid:b.handler.guid}))},remove:function(b){a.event.remove(this,e(b.origType,b.selector),b)}},beforeunload:{setup:function(b,
|
|
53
|
+
h,g){if(a.isWindow(this))this.onbeforeunload=g},teardown:function(a,h){if(this.onbeforeunload===h)this.onbeforeunload=null}}}};a.removeEvent=p.removeEventListener?function(a,h,b){a.removeEventListener&&a.removeEventListener(h,b,!1)}:function(a,h,b){a.detachEvent&&a.detachEvent("on"+h,b)};a.Event=function(b){if(!this.preventDefault)return new a.Event(b);b&&b.type?(this.originalEvent=b,this.type=b.type,this.isDefaultPrevented=b.defaultPrevented||b.returnValue===!1||b.getPreventDefault&&b.getPreventDefault()?
|
|
54
|
+
k:c):this.type=b;this.timeStamp=a.now();this[a.expando]=!0};a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=k;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=k;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=k;this.stopPropagation()},isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c};
|
|
55
|
+
var q=function(b){var h=b.relatedTarget;try{if(!h||h===p||h.parentNode){for(;h&&h!==this;)h=h.parentNode;if(h!==this)b.type=b.data,a.event.handle.apply(this,arguments)}}catch(g){}},x=function(b){b.type=b.data;a.event.handle.apply(this,arguments)};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(b,h){a.event.special[b]={setup:function(g){a.event.add(this,h,g&&g.selector?x:q,b)},teardown:function(b){a.event.remove(this,h,b&&b.selector?x:q)}}});if(!a.support.submitBubbles)a.event.special.submit=
|
|
56
|
+
{setup:function(){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")a.event.add(this,"click.specialSubmit",function(b){var h=b.target,g=h.type;(g==="submit"||g==="image")&&a(h).closest("form").length&&o("submit",this,arguments)}),a.event.add(this,"keypress.specialSubmit",function(b){var h=b.target,g=h.type;(g==="text"||g==="password")&&a(h).closest("form").length&&b.keyCode===13&&o("submit",this,arguments)});else return!1},teardown:function(){a.event.remove(this,".specialSubmit")}};if(!a.support.changeBubbles){var j,
|
|
57
|
+
l=function(b){var h=b.type,g=b.value;if(h==="radio"||h==="checkbox")g=b.checked;else if(h==="select-multiple")g=b.selectedIndex>-1?a.map(b.options,function(a){return a.selected}).join("-"):"";else if(b.nodeName.toLowerCase()==="select")g=b.selectedIndex;return g},s=function(b,h){var g=b.target,d,c;if(r.test(g.nodeName)&&!g.readOnly&&(d=a._data(g,"_change_data"),c=l(g),(b.type!=="focusout"||g.type!=="radio")&&a._data(g,"_change_data",c),!(d===t||c===d)))if(d!=null||c)b.type="change",b.liveFired=t,
|
|
58
|
+
a.event.trigger(b,h,g)};a.event.special.change={filters:{focusout:s,beforedeactivate:s,click:function(a){var h=a.target,b=h.type;(b==="radio"||b==="checkbox"||h.nodeName.toLowerCase()==="select")&&s.call(this,a)},keydown:function(a){var h=a.target,b=h.type;(a.keyCode===13&&h.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(b==="checkbox"||b==="radio")||b==="select-multiple")&&s.call(this,a)},beforeactivate:function(b){b=b.target;a._data(b,"_change_data",l(b))}},setup:function(){if(this.type===
|
|
59
|
+
"file")return!1;for(var b in j)a.event.add(this,b+".specialChange",j[b]);return r.test(this.nodeName)},teardown:function(){a.event.remove(this,".specialChange");return r.test(this.nodeName)}};j=a.event.special.change.filters;j.focus=j.beforeactivate}p.addEventListener&&a.each({focus:"focusin",blur:"focusout"},function(b,h){function g(b){var g=a.event.fix(b);g.type=h;g.originalEvent={};a.event.trigger(g,null,g.target);g.isDefaultPrevented()&&b.preventDefault()}var d=0;a.event.special[h]={setup:function(){d++===
|
|
60
|
+
0&&p.addEventListener(b,g,!0)},teardown:function(){--d===0&&p.removeEventListener(b,g,!0)}}});a.each(["bind","one"],function(b,h){a.fn[h]=function(b,d,c){if(typeof b==="object"){for(var f in b)this[h](f,d,b[f],c);return this}if(a.isFunction(d)||d===!1)c=d,d=t;var j=h==="one"?a.proxy(c,function(b){a(this).unbind(b,j);return c.apply(this,arguments)}):c;if(b==="unload"&&h!=="one")this.one(b,d,c);else{f=0;for(var l=this.length;f<l;f++)a.event.add(this[f],b,j,d)}return this}});a.fn.extend({unbind:function(b,
|
|
61
|
+
h){if(typeof b==="object"&&!b.preventDefault)for(var g in b)this.unbind(g,b[g]);else{g=0;for(var d=this.length;g<d;g++)a.event.remove(this[g],b,h)}return this},delegate:function(a,b,g,d){return this.live(b,g,d,a)},undelegate:function(a,b,g){return arguments.length===0?this.unbind("live"):this.die(b,null,g,a)},trigger:function(b,h){return this.each(function(){a.event.trigger(b,h,this)})},triggerHandler:function(b,h){if(this[0]){var g=a.Event(b);g.preventDefault();g.stopPropagation();a.event.trigger(g,
|
|
62
|
+
h,this[0]);return g.result}},toggle:function(b){for(var h=arguments,g=1;g<h.length;)a.proxy(b,h[g++]);return this.click(a.proxy(b,function(d){var c=(a._data(this,"lastToggle"+b.guid)||0)%g;a._data(this,"lastToggle"+b.guid,c+1);d.preventDefault();return h[c].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var u={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};a.each(["live","die"],function(b,h){a.fn[h]=function(b,d,c,f){var j,
|
|
63
|
+
l=0,n,s,m=f||this.selector,f=f?this:a(this.context);if(typeof b==="object"&&!b.preventDefault){for(j in b)f[h](j,d,b[j],m);return this}a.isFunction(d)&&(c=d,d=t);for(b=(b||"").split(" ");(j=b[l++])!=null;)if(n=i.exec(j),s="",n&&(s=n[0],j=j.replace(i,"")),j==="hover")b.push("mouseenter"+s,"mouseleave"+s);else if(n=j,j==="focus"||j==="blur"?(b.push(u[j]+s),j+=s):j=(u[j]||j)+s,h==="live"){s=0;for(var v=f.length;s<v;s++)a.event.add(f[s],"live."+e(j,m),{data:d,selector:m,handler:c,origType:j,origHandler:c,
|
|
64
|
+
preType:n})}else f.unbind("live."+e(j,m),c);return this}});a.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(b,h){a.fn[h]=function(a,b){b==null&&(b=a,a=null);return arguments.length>0?this.bind(h,a,b):this.trigger(h)};a.attrFn&&(a.attrFn[h]=!0)})})(y);(function(){function a(a,b,d,c,f,j){for(var f=0,l=c.length;f<l;f++){var e=c[f];if(e){for(var i=
|
|
65
|
+
!1,e=e[a];e;){if(e.sizcache===d){i=c[e.sizset];break}if(e.nodeType===1&&!j)e.sizcache=d,e.sizset=f;if(e.nodeName.toLowerCase()===b){i=e;break}e=e[a]}c[f]=i}}}function c(a,g,d,c,f,j){for(var f=0,l=c.length;f<l;f++){var e=c[f];if(e){for(var i=!1,e=e[a];e;){if(e.sizcache===d){i=c[e.sizset];break}if(e.nodeType===1){if(!j)e.sizcache=d,e.sizset=f;if(typeof g!=="string"){if(e===g){i=!0;break}}else if(b.filter(g,[e]).length>0){i=e;break}}e=e[a]}c[f]=i}}}var k=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
|
|
66
|
+
o=0,m=Object.prototype.toString,e=!1,i=!0,r=/\\/g,f=/\W/;[0,0].sort(function(){i=!1;return 0});var b=function(a,g,c,f){var c=c||[],l=g=g||p;if(g.nodeType!==1&&g.nodeType!==9)return[];if(!a||typeof a!=="string")return c;var e,i,s,u,q,R=!0,r=b.isXML(g),o=[],x=a;do if(k.exec(""),e=k.exec(x))if(x=e[3],o.push(e[1]),e[2]){u=e[3];break}while(e);if(o.length>1&&n.exec(a))if(o.length===2&&d.relative[o[0]])i=v(o[0]+o[1],g);else for(i=d.relative[o[0]]?[g]:b(o.shift(),g);o.length;)a=o.shift(),d.relative[a]&&(a+=
|
|
67
|
+
o.shift()),i=v(a,i);else if(!f&&o.length>1&&g.nodeType===9&&!r&&d.match.ID.test(o[0])&&!d.match.ID.test(o[o.length-1])&&(e=b.find(o.shift(),g,r),g=e.expr?b.filter(e.expr,e.set)[0]:e.set[0]),g){e=f?{expr:o.pop(),set:j(f)}:b.find(o.pop(),o.length===1&&(o[0]==="~"||o[0]==="+")&&g.parentNode?g.parentNode:g,r);i=e.expr?b.filter(e.expr,e.set):e.set;for(o.length>0?s=j(i):R=!1;o.length;)e=q=o.pop(),d.relative[q]?e=o.pop():q="",e==null&&(e=g),d.relative[q](s,e,r)}else s=[];s||(s=i);s||b.error(q||a);if(m.call(s)===
|
|
68
|
+
"[object Array]")if(R)if(g&&g.nodeType===1)for(a=0;s[a]!=null;a++)s[a]&&(s[a]===!0||s[a].nodeType===1&&b.contains(g,s[a]))&&c.push(i[a]);else for(a=0;s[a]!=null;a++)s[a]&&s[a].nodeType===1&&c.push(i[a]);else c.push.apply(c,s);else j(s,c);u&&(b(u,l,c,f),b.uniqueSort(c));return c};b.uniqueSort=function(a){if(s&&(e=i,a.sort(s),e))for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};b.matches=function(a,g){return b(a,null,null,g)};b.matchesSelector=function(a,g){return b(g,null,null,[a]).length>
|
|
69
|
+
0};b.find=function(a,b,c){var f;if(!a)return[];for(var j=0,e=d.order.length;j<e;j++){var l,i=d.order[j];if(l=d.leftMatch[i].exec(a)){var s=l[1];l.splice(1,1);if(s.substr(s.length-1)!=="\\"&&(l[1]=(l[1]||"").replace(r,""),f=d.find[i](l,b,c),f!=null)){a=a.replace(d.match[i],"");break}}}f||(f=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:f,expr:a}};b.filter=function(a,g,c,f){for(var j,l,e=a,i=[],s=g,n=g&&g[0]&&b.isXML(g[0]);a&&g.length;){for(var m in d.filter)if((j=
|
|
70
|
+
d.leftMatch[m].exec(a))!=null&&j[2]){var v,u,k=d.filter[m];u=j[1];l=!1;j.splice(1,1);if(u.substr(u.length-1)!=="\\"){s===i&&(i=[]);if(d.preFilter[m])if(j=d.preFilter[m](j,s,c,i,f,n)){if(j===!0)continue}else l=v=!0;if(j)for(var q=0;(u=s[q])!=null;q++)if(u){v=k(u,j,q,s);var o=f^!!v;c&&v!=null?o?l=!0:s[q]=!1:o&&(i.push(u),l=!0)}if(v!==t){c||(s=i);a=a.replace(d.match[m],"");if(!l)return[];break}}}if(a===e)if(l==null)b.error(a);else break;e=a}return s};b.error=function(a){throw"Syntax error, unrecognized expression: "+
|
|
71
|
+
a;};var d=b.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*)\))?(?=[^\-]|$)/,
|
|
72
|
+
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,g){var d=typeof g==="string",c=d&&!f.test(g),d=d&&!c;c&&(g=g.toLowerCase());for(var c=0,j=a.length,l;c<j;c++)if(l=a[c]){for(;(l=l.previousSibling)&&l.nodeType!==1;);a[c]=d||l&&l.nodeName.toLowerCase()===g?l||!1:l===g}d&&b.filter(g,
|
|
73
|
+
a,!0)},">":function(a,g){var d,c=typeof g==="string",j=0,l=a.length;if(c&&!f.test(g))for(g=g.toLowerCase();j<l;j++){if(d=a[j])d=d.parentNode,a[j]=d.nodeName.toLowerCase()===g?d:!1}else{for(;j<l;j++)(d=a[j])&&(a[j]=c?d.parentNode:d.parentNode===g);c&&b.filter(g,a,!0)}},"":function(b,g,d){var j,l=o++,e=c;typeof g==="string"&&!f.test(g)&&(j=g=g.toLowerCase(),e=a);e("parentNode",g,l,b,j,d)},"~":function(b,g,d){var j,l=o++,e=c;typeof g==="string"&&!f.test(g)&&(j=g=g.toLowerCase(),e=a);e("previousSibling",
|
|
74
|
+
g,l,b,j,d)}},find:{ID:function(a,b,d){if(typeof b.getElementById!=="undefined"&&!d)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){for(var d=[],c=b.getElementsByName(a[1]),f=0,j=c.length;f<j;f++)c[f].getAttribute("name")===a[1]&&d.push(c[f]);return d.length===0?null:d}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,d,c,f,j){a=" "+a[1].replace(r,
|
|
75
|
+
"")+" ";if(j)return a;for(var j=0,l;(l=b[j])!=null;j++)l&&(f^(l.className&&(" "+l.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?d||c.push(l):d&&(b[j]=!1));return!1},ID:function(a){return a[1].replace(r,"")},TAG:function(a){return a[1].replace(r,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||b.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var g=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=g[1]+(g[2]||1)-0;
|
|
76
|
+
a[3]=g[3]-0}else a[2]&&b.error(a[0]);a[0]=o++;return a},ATTR:function(a,b,c,f,j,l){b=a[1]=a[1].replace(r,"");!l&&d.attrMap[b]&&(a[1]=d.attrMap[b]);a[4]=(a[4]||a[5]||"").replace(r,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,g,c,f,j){if(a[1]==="not")if((k.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=b(a[3],null,null,g);else return a=b.filter(a[3],g,c,1^j),c||f.push.apply(f,a),!1;else if(d.match.POS.test(a[0])||d.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);
|
|
77
|
+
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){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,g,d){return!!b(d[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),a=a.type;return"text"===a&&(b===a||b===null)},radio:function(a){return"radio"===
|
|
78
|
+
a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,d,c){return b===
|
|
79
|
+
c.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,d){return b<d[3]-0},gt:function(a,b,d){return b>d[3]-0},nth:function(a,b,d){return d[3]-0===b},eq:function(a,b,d){return d[3]-0===b}},filter:{PSEUDO:function(a,g,c,f){var j=g[1],l=d.filters[j];if(l)return l(a,c,g,f);else if(j==="contains")return(a.textContent||a.innerText||b.getText([a])||"").indexOf(g[3])>=0;else if(j==="not"){g=g[3];c=0;for(f=g.length;c<f;c++)if(g[c]===a)return!1;return!0}else b.error(j)},
|
|
80
|
+
CHILD:function(a,b){var d=b[1],c=a;switch(d){case "only":case "first":for(;c=c.previousSibling;)if(c.nodeType===1)return!1;if(d==="first")return!0;c=a;case "last":for(;c=c.nextSibling;)if(c.nodeType===1)return!1;return!0;case "nth":var d=b[2],f=b[3];if(d===1&&f===0)return!0;var j=b[0],l=a.parentNode;if(l&&(l.sizcache!==j||!a.nodeIndex)){for(var e=0,c=l.firstChild;c;c=c.nextSibling)if(c.nodeType===1)c.nodeIndex=++e;l.sizcache=j}c=a.nodeIndex-f;return d===0?c===0:c%d===0&&c/d>=0}},ID:function(a,b){return a.nodeType===
|
|
81
|
+
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],c=d.attrHandle[c]?d.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),f=c+"",j=b[2],l=b[4];return c==null?j==="!=":j==="="?f===l:j==="*="?f.indexOf(l)>=0:j==="~="?(" "+f+" ").indexOf(l)>=0:!l?f&&c!==!1:j==="!="?f!==l:j==="^="?f.indexOf(l)===0:j==="$="?f.substr(f.length-l.length)===
|
|
82
|
+
l:j==="|="?f===l||f.substr(0,l.length+1)===l+"-":!1},POS:function(a,b,c,f){var j=d.setFilters[b[2]];if(j)return j(a,c,b,f)}}},n=d.match.POS,q=function(a,b){return"\\"+(b-0+1)},x;for(x in d.match)d.match[x]=RegExp(d.match[x].source+/(?![^\[]*\])(?![^\(]*\))/.source),d.leftMatch[x]=RegExp(/(^(?:.|\r|\n)*?)/.source+d.match[x].source.replace(/\\(\d+)/g,q));var j=function(a,b){a=Array.prototype.slice.call(a,0);if(b)return b.push.apply(b,a),b;return a};try{Array.prototype.slice.call(p.documentElement.childNodes,
|
|
83
|
+
0)}catch(l){j=function(a,b){var d=0,c=b||[];if(m.call(a)==="[object Array]")Array.prototype.push.apply(c,a);else if(typeof a.length==="number")for(var f=a.length;d<f;d++)c.push(a[d]);else for(;a[d];d++)c.push(a[d]);return c}}var s,u;p.documentElement.compareDocumentPosition?s=function(a,b){if(a===b)return e=!0,0;if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(s=function(a,b){var d,c,f=[],j=[];d=a.parentNode;
|
|
84
|
+
c=b.parentNode;var l=d;if(a===b)return e=!0,0;else if(d===c)return u(a,b);else if(d){if(!c)return 1}else return-1;for(;l;)f.unshift(l),l=l.parentNode;for(l=c;l;)j.unshift(l),l=l.parentNode;d=f.length;c=j.length;for(l=0;l<d&&l<c;l++)if(f[l]!==j[l])return u(f[l],j[l]);return l===d?u(a,j[l],-1):u(f[l],b,1)},u=function(a,b,d){if(a===b)return d;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});b.getText=function(a){for(var d="",c,f=0;a[f];f++)c=a[f],c.nodeType===3||c.nodeType===4?d+=
|
|
85
|
+
c.nodeValue:c.nodeType!==8&&(d+=b.getText(c.childNodes));return d};(function(){var a=p.createElement("div"),b="script"+(new Date).getTime(),c=p.documentElement;a.innerHTML="<a name='"+b+"'/>";c.insertBefore(a,c.firstChild);if(p.getElementById(b))d.find.ID=function(a,b,d){if(typeof b.getElementById!=="undefined"&&!d)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:t:[]},d.filter.ID=function(a,b){var d=typeof a.getAttributeNode!==
|
|
86
|
+
"undefined"&&a.getAttributeNode("id");return a.nodeType===1&&d&&d.nodeValue===b};c.removeChild(a);c=a=null})();(function(){var a=p.createElement("div");a.appendChild(p.createComment(""));if(a.getElementsByTagName("*").length>0)d.find.TAG=function(a,b){var d=b.getElementsByTagName(a[1]);if(a[1]==="*"){for(var c=[],h=0;d[h];h++)d[h].nodeType===1&&c.push(d[h]);d=c}return d};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!==
|
|
87
|
+
"#")d.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();p.querySelectorAll&&function(){var a=b,c=p.createElement("div");c.innerHTML="<p class='TEST'></p>";if(!(c.querySelectorAll&&c.querySelectorAll(".TEST").length===0)){b=function(c,g,f,l){g=g||p;if(!l&&!b.isXML(g)){var e=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(c);if(e&&(g.nodeType===1||g.nodeType===9))if(e[1])return j(g.getElementsByTagName(c),f);else if(e[2]&&d.find.CLASS&&g.getElementsByClassName)return j(g.getElementsByClassName(e[2]),
|
|
88
|
+
f);if(g.nodeType===9){if(c==="body"&&g.body)return j([g.body],f);else if(e&&e[3]){var i=g.getElementById(e[3]);if(i&&i.parentNode){if(i.id===e[3])return j([i],f)}else return j([],f)}try{return j(g.querySelectorAll(c),f)}catch(s){}}else if(g.nodeType===1&&g.nodeName.toLowerCase()!=="object"){var e=g,n=(i=g.getAttribute("id"))||"__sizzle__",m=g.parentNode,u=/^\s*[+~]/.test(c);i?n=n.replace(/'/g,"\\$&"):g.setAttribute("id",n);if(u&&m)g=g.parentNode;try{if(!u||m)return j(g.querySelectorAll("[id='"+n+
|
|
89
|
+
"'] "+c),f)}catch(v){}finally{i||e.removeAttribute("id")}}}return a(c,g,f,l)};for(var f in a)b[f]=a[f];c=null}}();(function(){var a=p.documentElement,c=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(c){var f=!c.call(p.createElement("div"),"div"),j=!1;try{c.call(p.documentElement,"[test!='']:sizzle")}catch(l){j=!0}b.matchesSelector=function(a,h){h=h.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!b.isXML(a))try{if(j||!d.match.PSEUDO.test(h)&&!/!=/.test(h)){var l=
|
|
90
|
+
c.call(a,h);if(l||!f||a.document&&a.document.nodeType!==11)return l}}catch(e){}return b(h,null,null,[a]).length>0}}})();(function(){var a=p.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",a.getElementsByClassName("e").length!==1))d.order.splice(1,0,"CLASS"),d.find.CLASS=function(a,b,d){if(typeof b.getElementsByClassName!=="undefined"&&!d)return b.getElementsByClassName(a[1])},
|
|
91
|
+
a=null})();b.contains=p.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:p.documentElement.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(){return!1};b.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var v=function(a,c){for(var f,j=[],l="",e=c.nodeType?[c]:c;f=d.match.PSEUDO.exec(a);)l+=f[0],a=a.replace(d.match.PSEUDO,"");a=d.relative[a]?a+"*":a;f=0;for(var i=e.length;f<i;f++)b(a,
|
|
92
|
+
e[f],j);return b.filter(l,j)};y.find=b;y.expr=b.selectors;y.expr[":"]=y.expr.filters;y.unique=b.uniqueSort;y.text=b.getText;y.isXMLDoc=b.isXML;y.contains=b.contains})();(function(a){function c(b,d,c){if(a.isFunction(d))return a.grep(b,function(a,b){return!!d.call(a,b,a)===c});else if(d.nodeType)return a.grep(b,function(a){return a===d===c});else if(typeof d==="string"){var f=a.grep(b,function(a){return a.nodeType===1});if(e.test(d))return a.filter(d,f,!c);else d=a.filter(d,f)}return a.grep(b,function(b){return a.inArray(b,
|
|
93
|
+
d)>=0===c})}var k=/Until$/,o=/^(?:parents|prevUntil|prevAll)/,m=/,/,e=/^.[^:#\[\.,]*$/,i=Array.prototype.slice,r=a.expr.match.POS,f={children:!0,contents:!0,next:!0,prev:!0};a.fn.extend({find:function(b){for(var d=this.pushStack("","find",b),c=0,f=0,e=this.length;f<e;f++)if(c=d.length,a.find(b,this[f],d),f>0)for(var j=c;j<d.length;j++)for(var l=0;l<c;l++)if(d[l]===d[j]){d.splice(j--,1);break}return d},has:function(b){var d=a(b);return this.filter(function(){for(var b=0,c=d.length;b<c;b++)if(a.contains(this,
|
|
94
|
+
d[b]))return!0})},not:function(a){return this.pushStack(c(this,a,!1),"not",a)},filter:function(a){return this.pushStack(c(this,a,!0),"filter",a)},is:function(b){return!!b&&a.filter(b,this).length>0},closest:function(b,d){var c=[],f,e,j=this[0];if(a.isArray(b)){var l,i={},m=1;if(j&&b.length){f=0;for(e=b.length;f<e;f++)l=b[f],i[l]||(i[l]=a.expr.match.POS.test(l)?a(l,d||this.context):l);for(;j&&j.ownerDocument&&j!==d;){for(l in i)f=i[l],(f.jquery?f.index(j)>-1:a(j).is(f))&&c.push({selector:l,elem:j,
|
|
95
|
+
level:m});j=j.parentNode;m++}}return c}l=r.test(b)?a(b,d||this.context):null;f=0;for(e=this.length;f<e;f++)for(j=this[f];j;)if(l?l.index(j)>-1:a.find.matchesSelector(j,b)){c.push(j);break}else if(j=j.parentNode,!j||!j.ownerDocument||j===d)break;c=c.length>1?a.unique(c):c;return this.pushStack(c,"closest",b)},index:function(b){if(!b||typeof b==="string")return a.inArray(this[0],b?a(b):this.parent().children());return a.inArray(b.jquery?b[0]:b,this)},add:function(b,d){var c=typeof b==="string"?a(b,
|
|
96
|
+
d):a.makeArray(b),f=a.merge(this.get(),c);return this.pushStack(!c[0]||!c[0].parentNode||c[0].parentNode.nodeType===11||!f[0]||!f[0].parentNode||f[0].parentNode.nodeType===11?f:a.unique(f))},andSelf:function(){return this.add(this.prevObject)}});a.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(b){return a.dir(b,"parentNode")},parentsUntil:function(b,d,c){return a.dir(b,"parentNode",c)},next:function(b){return a.nth(b,2,"nextSibling")},prev:function(b){return a.nth(b,
|
|
97
|
+
2,"previousSibling")},nextAll:function(b){return a.dir(b,"nextSibling")},prevAll:function(b){return a.dir(b,"previousSibling")},nextUntil:function(b,d,c){return a.dir(b,"nextSibling",c)},prevUntil:function(b,d,c){return a.dir(b,"previousSibling",c)},siblings:function(b){return a.sibling(b.parentNode.firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return a.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:a.makeArray(b.childNodes)}},function(b,
|
|
98
|
+
d){a.fn[b]=function(c,e){var r=a.map(this,d,c),j=i.call(arguments);k.test(b)||(e=c);e&&typeof e==="string"&&(r=a.filter(e,r));r=this.length>1&&!f[b]?a.unique(r):r;if((this.length>1||m.test(e))&&o.test(b))r=r.reverse();return this.pushStack(r,b,j.join(","))}});a.extend({filter:function(b,c,f){f&&(b=":not("+b+")");return c.length===1?a.find.matchesSelector(c[0],b)?[c[0]]:[]:a.find.matches(b,c)},dir:function(b,c,f){for(var e=[],b=b[c];b&&b.nodeType!==9&&(f===t||b.nodeType!==1||!a(b).is(f));)b.nodeType===
|
|
99
|
+
1&&e.push(b),b=b[c];return e},nth:function(a,c,f){for(var c=c||1,e=0;a;a=a[f])if(a.nodeType===1&&++e===c)break;return a},sibling:function(a,c){for(var f=[];a;a=a.nextSibling)a.nodeType===1&&a!==c&&f.push(a);return f}})})(y);(function(a){function c(b,c){if(c.nodeType===1&&a.hasData(b)){var d=a.expando,f=a.data(b),e=a.data(c,f);if(f=f[d]){var h=f.events,e=e[d]=a.extend({},f);if(h)for(var g in delete e.handle,e.events={},h){d=0;for(f=h[g].length;d<f;d++)a.event.add(c,g+(h[g][d].namespace?".":"")+h[g][d].namespace,
|
|
100
|
+
h[g][d],h[g][d].data)}}}}function k(b,c){if(c.nodeType===1){var d=c.nodeName.toLowerCase();c.clearAttributes();c.mergeAttributes(b);if(d==="object")c.outerHTML=b.outerHTML;else if(d==="input"&&(b.type==="checkbox"||b.type==="radio")){if(b.checked)c.defaultChecked=c.checked=b.checked;if(c.value!==b.value)c.value=b.value}else if(d==="option")c.selected=b.defaultSelected;else if(d==="input"||d==="textarea")c.defaultValue=b.defaultValue;c.removeAttribute(a.expando)}}function o(a){return"getElementsByTagName"in
|
|
101
|
+
a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function m(b,c){c.src?a.ajax({url:c.src,async:!1,dataType:"script"}):a.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}var e=/ jQuery\d+="(?:\d+|null)"/g,i=/^\s+/,r=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,f=/<([\w:]+)/,b=/<tbody/i,d=/<|&#?\w+;/,n=/<(?:script|object|embed|option|style)/i,q=/checked\s*(?:[^=]|=\s*.checked.)/i,x={option:[1,"<select multiple='multiple'>",
|
|
102
|
+
"</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,"",""]};x.optgroup=x.option;x.tbody=x.tfoot=x.colgroup=x.caption=x.thead;x.th=x.td;if(!a.support.htmlSerialize)x._default=[1,"div<div>","</div>"];a.fn.extend({text:function(b){if(a.isFunction(b))return this.each(function(c){var d=
|
|
103
|
+
a(this);d.text(b.call(this,c,d.text()))});if(typeof b!=="object"&&b!==t)return this.empty().append((this[0]&&this[0].ownerDocument||p).createTextNode(b));return a.text(this)},wrapAll:function(b){if(a.isFunction(b))return this.each(function(c){a(this).wrapAll(b.call(this,c))});if(this[0]){var c=a(b,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},
|
|
104
|
+
wrapInner:function(b){if(a.isFunction(b))return this.each(function(c){a(this).wrapInner(b.call(this,c))});return this.each(function(){var c=a(this),d=c.contents();d.length?d.wrapAll(b):c.append(b)})},wrap:function(b){return this.each(function(){a(this).wrapAll(b)})},unwrap:function(){return this.parent().each(function(){a.nodeName(this,"body")||a(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,
|
|
105
|
+
!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)});else if(arguments.length){var b=a(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var b=
|
|
106
|
+
this.pushStack(this,"after",arguments);b.push.apply(b,a(arguments[0]).toArray());return b}},remove:function(b,c){for(var d=0,f;(f=this[d])!=null;d++)if(!b||a.filter(b,[f]).length)!c&&f.nodeType===1&&(a.cleanData(f.getElementsByTagName("*")),a.cleanData([f])),f.parentNode&&f.parentNode.removeChild(f);return this},empty:function(){for(var b=0,c;(c=this[b])!=null;b++)for(c.nodeType===1&&a.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(b,c){b=
|
|
107
|
+
b==null?!1:b;c=c==null?b:c;return this.map(function(){return a.clone(this,b,c)})},html:function(b){if(b===t)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(e,""):null;else if(typeof b==="string"&&!n.test(b)&&(a.support.leadingWhitespace||!i.test(b))&&!x[(f.exec(b)||["",""])[1].toLowerCase()]){b=b.replace(r,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)if(this[c].nodeType===1)a.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=b}catch(m){this.empty().append(b)}}else a.isFunction(b)?
|
|
108
|
+
this.each(function(c){var d=a(this);d.html(b.call(this,c,d.html()))}):this.empty().append(b);return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(a.isFunction(b))return this.each(function(c){var d=a(this),f=d.html();d.replaceWith(b.call(this,c,f))});typeof b!=="string"&&(b=a(b).detach());return this.each(function(){var c=this.nextSibling,d=this.parentNode;a(this).remove();c?a(c).before(b):a(d).append(b)})}else return this.length?this.pushStack(a(a.isFunction(b)?b():b),"replaceWith",
|
|
109
|
+
b):this},detach:function(a){return this.remove(a,!0)},domManip:function(b,c,d){var f,e,h,g=b[0],i=[];if(!a.support.checkClone&&arguments.length===3&&typeof g==="string"&&q.test(g))return this.each(function(){a(this).domManip(b,c,d,!0)});if(a.isFunction(g))return this.each(function(f){var h=a(this);b[0]=g.call(this,f,c?h.html():t);h.domManip(b,c,d)});if(this[0]){f=g&&g.parentNode;f=a.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:a.buildFragment(b,this,i);h=
|
|
110
|
+
f.fragment;if(e=h.childNodes.length===1?h=h.firstChild:h.firstChild){c=c&&a.nodeName(e,"tr");e=0;for(var k=this.length,n=k-1;e<k;e++)d.call(c?a.nodeName(this[e],"table")?this[e].getElementsByTagName("tbody")[0]||this[e].appendChild(this[e].ownerDocument.createElement("tbody")):this[e]:this[e],f.cacheable||k>1&&e<n?a.clone(h,!0,!0):h)}i.length&&a.each(i,m)}return this}});a.buildFragment=function(b,c,d){var f,e,h,c=c&&c[0]?c[0].ownerDocument||c[0]:p;if(b.length===1&&typeof b[0]==="string"&&b[0].length<
|
|
111
|
+
512&&c===p&&b[0].charAt(0)==="<"&&!n.test(b[0])&&(a.support.checkClone||!q.test(b[0])))e=!0,(h=a.fragments[b[0]])&&h!==1&&(f=h);f||(f=c.createDocumentFragment(),a.clean(b,c,f,d));e&&(a.fragments[b[0]]=h?f:1);return{fragment:f,cacheable:e}};a.fragments={};a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,c){a.fn[b]=function(d){var f=[],d=a(d),e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===
|
|
112
|
+
1&&d.length===1)return d[c](this[0]),this;else{for(var e=0,h=d.length;e<h;e++){var g=(e>0?this.clone(!0):this).get();a(d[e])[c](g);f=f.concat(g)}return this.pushStack(f,b,d.selector)}}});a.extend({clone:function(b,d,f){var e=b.cloneNode(!0),i,h,g;if((!a.support.noCloneEvent||!a.support.noCloneChecked)&&(b.nodeType===1||b.nodeType===11)&&!a.isXMLDoc(b)){k(b,e);i=o(b);h=o(e);for(g=0;i[g];++g)k(i[g],h[g])}if(d&&(c(b,e),f)){i=o(b);h=o(e);for(g=0;i[g];++g)c(i[g],h[g])}return e},clean:function(c,e,m,k){e=
|
|
113
|
+
e||p;typeof e.createElement==="undefined"&&(e=e.ownerDocument||e[0]&&e[0].ownerDocument||p);for(var n=[],h=0,g;(g=c[h])!=null;h++)if(typeof g==="number"&&(g+=""),g){if(typeof g==="string"&&!d.test(g))g=e.createTextNode(g);else if(typeof g==="string"){g=g.replace(r,"<$1></$2>");var o=(f.exec(g)||["",""])[1].toLowerCase(),q=x[o]||x._default,t=q[0],w=e.createElement("div");for(w.innerHTML=q[1]+g+q[2];t--;)w=w.lastChild;if(!a.support.tbody){t=b.test(g);o=o==="table"&&!t?w.firstChild&&w.firstChild.childNodes:
|
|
114
|
+
q[1]==="<table>"&&!t?w.childNodes:[];for(q=o.length-1;q>=0;--q)a.nodeName(o[q],"tbody")&&!o[q].childNodes.length&&o[q].parentNode.removeChild(o[q])}!a.support.leadingWhitespace&&i.test(g)&&w.insertBefore(e.createTextNode(i.exec(g)[0]),w.firstChild);g=w.childNodes}g.nodeType?n.push(g):n=a.merge(n,g)}if(m)for(h=0;n[h];h++)k&&a.nodeName(n[h],"script")&&(!n[h].type||n[h].type.toLowerCase()==="text/javascript")?k.push(n[h].parentNode?n[h].parentNode.removeChild(n[h]):n[h]):(n[h].nodeType===1&&n.splice.apply(n,
|
|
115
|
+
[h+1,0].concat(a.makeArray(n[h].getElementsByTagName("script")))),m.appendChild(n[h]));return n},cleanData:function(b){for(var c,d,f=a.cache,e=a.expando,h=a.event.special,g=a.support.deleteExpando,i=0,m;(m=b[i])!=null;i++)if(!m.nodeName||!a.noData[m.nodeName.toLowerCase()])if(d=m[a.expando]){if((c=f[d]&&f[d][e])&&c.events){for(var n in c.events)h[n]?a.event.remove(m,n):a.removeEvent(m,n,c.handle);if(c.handle)c.handle.elem=null}g?delete m[a.expando]:m.removeAttribute&&m.removeAttribute(a.expando);
|
|
116
|
+
delete f[d]}}})})(y);(function(a){function c(c,f,e){var i=f==="width"?c.offsetWidth:c.offsetHeight;if(e==="border")return i;a.each(f==="width"?b:d,function(){e||(i-=parseFloat(a.css(c,"padding"+this))||0);e==="margin"?i+=parseFloat(a.css(c,"margin"+this))||0:i-=parseFloat(a.css(c,"border"+this+"Width"))||0});return i}var k=/alpha\([^)]*\)/i,o=/opacity=([^)]*)/,m=/-([a-z])/ig,e=/([A-Z]|^ms)/g,i=/^-?\d+(?:px)?$/i,r=/^-?\d/,f={position:"absolute",visibility:"hidden",display:"block"},b=["Left","Right"],
|
|
117
|
+
d=["Top","Bottom"],n,q,x,j=function(a,b){return b.toUpperCase()};a.fn.css=function(b,c){if(arguments.length===2&&c===t)return this;return a.access(this,b,c,!0,function(b,c,d){return d!==t?a.style(b,c,d):a.css(b,c)})};a.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=n(a,"opacity","opacity");return c===""?"1":c}else return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(b,c,
|
|
118
|
+
d,f){if(b&&!(b.nodeType===3||b.nodeType===8||!b.style)){var e,g=a.camelCase(c),i=b.style,j=a.cssHooks[g],c=a.cssProps[g]||g;if(d!==t){if(!(typeof d==="number"&&isNaN(d)||d==null))if(typeof d==="number"&&!a.cssNumber[g]&&(d+="px"),!j||!("set"in j)||(d=j.set(b,d))!==t)try{i[c]=d}catch(m){}}else{if(j&&"get"in j&&(e=j.get(b,!1,f))!==t)return e;return i[c]}}},css:function(b,c,d){var f,e=a.camelCase(c),g=a.cssHooks[e],c=a.cssProps[e]||e;if(g&&"get"in g&&(f=g.get(b,!0,d))!==t)return f;else if(n)return n(b,
|
|
119
|
+
c,e)},swap:function(a,b,c){var d={},f;for(f in b)d[f]=a.style[f],a.style[f]=b[f];c.call(a);for(f in b)a.style[f]=d[f]},camelCase:function(a){return a.replace(m,j)}});a.curCSS=a.css;a.each(["height","width"],function(b,d){a.cssHooks[d]={get:function(b,e,h){var g;if(e){b.offsetWidth!==0?g=c(b,d,h):a.swap(b,f,function(){g=c(b,d,h)});if(g<=0&&(g=n(b,d,d),g==="0px"&&x&&(g=x(b,d,d)),g!=null))return g===""||g==="auto"?"0px":g;if(g<0||g==null)return g=b.style[d],g===""||g==="auto"?"0px":g;return typeof g===
|
|
120
|
+
"string"?g:g+"px"}},set:function(a,b){if(i.test(b)){if(b=parseFloat(b),b>=0)return b+"px"}else return b}}});if(!a.support.opacity)a.cssHooks.opacity={get:function(a,b){return o.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(b,c){var d=b.style;d.zoom=1;var f=a.isNaN(c)?"":"alpha(opacity="+c*100+")",e=d.filter||"";d.filter=k.test(e)?e.replace(k,f):d.filter+" "+f}};a(function(){if(!a.support.reliableMarginRight)a.cssHooks.marginRight=
|
|
121
|
+
{get:function(b,c){var d;a.swap(b,{display:"inline-block"},function(){d=c?n(b,"margin-right","marginRight"):b.style.marginRight});return d}}});p.defaultView&&p.defaultView.getComputedStyle&&(q=function(b,c,d){var f,d=d.replace(e,"-$1").toLowerCase();if(!(c=b.ownerDocument.defaultView))return t;if(c=c.getComputedStyle(b,null))f=c.getPropertyValue(d),f===""&&!a.contains(b.ownerDocument.documentElement,b)&&(f=a.style(b,d));return f});p.documentElement.currentStyle&&(x=function(a,b){var c,d=a.currentStyle&&
|
|
122
|
+
a.currentStyle[b],f=a.runtimeStyle&&a.runtimeStyle[b],g=a.style;if(!i.test(d)&&r.test(d)){c=g.left;if(f)a.runtimeStyle.left=a.currentStyle.left;g.left=b==="fontSize"?"1em":d||0;d=g.pixelLeft+"px";g.left=c;if(f)a.runtimeStyle.left=f}return d===""?"auto":d});n=q||x;if(a.expr&&a.expr.filters)a.expr.filters.hidden=function(b){var c=b.offsetHeight;return b.offsetWidth===0&&c===0||!a.support.reliableHiddenOffsets&&(b.style.display||a.css(b,"display"))==="none"},a.expr.filters.visible=function(b){return!a.expr.filters.hidden(b)}})(y);
|
|
123
|
+
(function(a){function c(b){return function(c,d){var A;typeof c!=="string"&&(d=c,c="*");if(a.isFunction(d))for(var f=c.toLowerCase().split(l),g=0,e=f.length,h,i;g<e;g++)h=f[g],(i=/^\+/.test(h))&&(h=h.substr(1)||"*"),A=b[h]=b[h]||[],h=A,h[i?"unshift":"push"](d)}}function k(a,b,c,d,f,g){f=f||b.dataTypes[0];g=g||{};g[f]=!0;for(var f=a[f],e=0,h=f?f.length:0,i=a===z,j;e<h&&(i||!j);e++)j=f[e](b,c,d),typeof j==="string"&&(!i||g[j]?j=t:(b.dataTypes.unshift(j),j=k(a,b,c,d,j,g)));if((i||!j)&&!g["*"])j=k(a,b,
|
|
124
|
+
c,d,"*",g);return j}function o(b,c,d,f){if(a.isArray(c)&&c.length)a.each(c,function(c,g){d||e.test(b)?f(b,g):o(b+"["+(typeof g==="object"||a.isArray(g)?c:"")+"]",g,d,f)});else if(!d&&c!=null&&typeof c==="object")if(a.isArray(c)||a.isEmptyObject(c))f(b,"");else for(var g in c)o(b+"["+g+"]",c[g],d,f);else f(b,c)}var m=/%20/g,e=/\[\]$/,i=/\r?\n/g,r=/#.*$/,f=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,b=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,d=/^(?:GET|HEAD)$/,
|
|
125
|
+
n=/^\/\//,q=/\?/,x=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,j=/^(?:select|textarea)/i,l=/\s+/,s=/([?&])_=[^&]*/,u=/(^|\-)([a-z])/g,v=function(a,b,c){return b+c.toUpperCase()},h=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,g=a.fn.load,z={},y={},E,D;try{E=p.location.href}catch(G){E=p.createElement("a"),E.href="",E=E.href}D=h.exec(E.toLowerCase())||[];a.fn.extend({load:function(b,c,d){if(typeof b!=="string"&&g)return g.apply(this,arguments);else if(!this.length)return this;var f=b.indexOf(" ");
|
|
126
|
+
if(f>=0)var e=b.slice(f,b.length),b=b.slice(0,f);f="GET";c&&(a.isFunction(c)?(d=c,c=t):typeof c==="object"&&(c=a.param(c,a.ajaxSettings.traditional),f="POST"));var h=this;a.ajax({url:b,type:f,dataType:"html",data:c,complete:function(b,c,f){f=b.responseText;b.isResolved()&&(b.done(function(a){f=a}),h.html(e?a("<div>").append(f.replace(x,"")).find(e):f));d&&h.each(d,[f,c,b])}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?
|
|
127
|
+
a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||j.test(this.nodeName)||b.test(this.type))}).map(function(b,c){var d=a(this).val();return d==null?null:a.isArray(d)?a.map(d,function(a){return{name:c.name,value:a.replace(i,"\r\n")}}):{name:c.name,value:d.replace(i,"\r\n")}}).get()}});a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(b,c){a.fn[c]=function(a){return this.bind(c,a)}});a.each(["get","post"],function(b,
|
|
128
|
+
c){a[c]=function(b,d,f,g){a.isFunction(d)&&(g=g||f,f=d,d=t);return a.ajax({type:c,url:b,data:d,success:f,dataType:g})}});a.extend({getScript:function(b,c){return a.get(b,t,c,"script")},getJSON:function(b,c,d){return a.get(b,c,d,"json")},ajaxSetup:function(b,c){c?a.extend(!0,b,a.ajaxSettings,c):(c=b,b=a.extend(!0,a.ajaxSettings,c));for(var d in{context:1,url:1})d in c?b[d]=c[d]:d in a.ajaxSettings&&(b[d]=a.ajaxSettings[d]);return b},ajaxSettings:{url:E,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(D[1]),
|
|
129
|
+
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":w.String,"text html":!0,"text json":a.parseJSON,"text xml":a.parseXML}},ajaxPrefilter:c(z),ajaxTransport:c(y),ajax:function(b,c){function g(b,c,d,f){if(H!==2){H=
|
|
130
|
+
2;Q&&clearTimeout(Q);N=t;E=f||"";A.readyState=b?4:0;var h,l,n;if(d){var f=e,k=A,r=f.contents,q=f.dataTypes,s=f.responseFields,v,u,w,z;for(u in s)u in d&&(k[s[u]]=d[u]);for(;q[0]==="*";)q.shift(),v===t&&(v=f.mimeType||k.getResponseHeader("content-type"));if(v)for(u in r)if(r[u]&&r[u].test(v)){q.unshift(u);break}if(q[0]in d)w=q[0];else{for(u in d){if(!q[0]||f.converters[u+" "+q[0]]){w=u;break}z||(z=u)}w=w||z}w?(w!==q[0]&&q.unshift(w),d=d[w]):d=void 0}else d=t;if(b>=200&&b<300||b===304){if(e.ifModified){if(v=
|
|
131
|
+
A.getResponseHeader("Last-Modified"))a.lastModified[x]=v;if(v=A.getResponseHeader("Etag"))a.etag[x]=v}if(b===304)c="notmodified",h=!0;else try{v=e;v.dataFilter&&(d=v.dataFilter(d,v.dataType));var y=v.dataTypes;u={};var B,D,G=y.length,K,C=y[0],I,M,J,L,F;for(B=1;B<G;B++){if(B===1)for(D in v.converters)typeof D==="string"&&(u[D.toLowerCase()]=v.converters[D]);I=C;C=y[B];if(C==="*")C=I;else if(I!=="*"&&I!==C){M=I+" "+C;J=u[M]||u["* "+C];if(!J)for(L in F=t,u)if(K=L.split(" "),K[0]===I||K[0]==="*")if(F=
|
|
132
|
+
u[K[1]+" "+C]){L=u[L];L===!0?J=F:F===!0&&(J=L);break}!J&&!F&&a.error("No conversion from "+M.replace(" "," to "));J!==!0&&(d=J?J(d):F(L(d)))}}l=d;c="success";h=!0}catch(P){c="parsererror",n=P}}else if(n=c,!c||b)c="error",b<0&&(b=0);A.status=b;A.statusText=c;h?m.resolveWith(i,[l,c,A]):m.rejectWith(i,[A,c,n]);A.statusCode(p);p=t;O&&j.trigger("ajax"+(h?"Success":"Error"),[A,e,h?l:n]);o.resolveWith(i,[A,c]);O&&(j.trigger("ajaxComplete",[A,e]),--a.active||a.event.trigger("ajaxStop"))}}typeof b==="object"&&
|
|
133
|
+
(c=b,b=t);var c=c||{},e=a.ajaxSetup({},c),i=e.context||e,j=i!==e&&(i.nodeType||i instanceof a)?a(i):a.event,m=a.Deferred(),o=a._Deferred(),p=e.statusCode||{},x,w={},E,G,N,Q,C,H=0,O,F,A={readyState:0,setRequestHeader:function(a,b){H||(w[a.toLowerCase().replace(u,v)]=b);return this},getAllResponseHeaders:function(){return H===2?E:null},getResponseHeader:function(a){var b;if(H===2){if(!G)for(G={};b=f.exec(E);)G[b[1].toLowerCase()]=b[2];b=G[a.toLowerCase()]}return b===t?null:b},overrideMimeType:function(a){if(!H)e.mimeType=
|
|
134
|
+
a;return this},abort:function(a){a=a||"abort";N&&N.abort(a);g(0,a);return this}};m.promise(A);A.success=A.done;A.error=A.fail;A.complete=o.done;A.statusCode=function(a){if(a){var b;if(H<2)for(b in a)p[b]=[p[b],a[b]];else b=a[A.status],A.then(b,b)}return this};e.url=((b||e.url)+"").replace(r,"").replace(n,D[1]+"//");e.dataTypes=a.trim(e.dataType||"*").toLowerCase().split(l);if(e.crossDomain==null)C=h.exec(e.url.toLowerCase()),e.crossDomain=!(!C||!(C[1]!=D[1]||C[2]!=D[2]||(C[3]||(C[1]==="http:"?80:
|
|
135
|
+
443))!=(D[3]||(D[1]==="http:"?80:443))));if(e.data&&e.processData&&typeof e.data!=="string")e.data=a.param(e.data,e.traditional);k(z,e,c,A);if(H===2)return!1;O=e.global;e.type=e.type.toUpperCase();e.hasContent=!d.test(e.type);O&&a.active++===0&&a.event.trigger("ajaxStart");if(!e.hasContent&&(e.data&&(e.url+=(q.test(e.url)?"&":"?")+e.data),x=e.url,e.cache===!1)){C=a.now();var P=e.url.replace(s,"$1_="+C);e.url=P+(P===e.url?(q.test(e.url)?"&":"?")+"_="+C:"")}if(e.data&&e.hasContent&&e.contentType!==
|
|
136
|
+
!1||c.contentType)w["Content-Type"]=e.contentType;e.ifModified&&(x=x||e.url,a.lastModified[x]&&(w["If-Modified-Since"]=a.lastModified[x]),a.etag[x]&&(w["If-None-Match"]=a.etag[x]));w.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(F in e.headers)A.setRequestHeader(F,e.headers[F]);if(e.beforeSend&&(e.beforeSend.call(i,A,e)===!1||H===2))return A.abort(),!1;for(F in{success:1,error:1,complete:1})A[F](e[F]);if(N=k(y,
|
|
137
|
+
e,c,A)){A.readyState=1;O&&j.trigger("ajaxSend",[A,e]);e.async&&e.timeout>0&&(Q=setTimeout(function(){A.abort("timeout")},e.timeout));try{H=1,N.send(w,g)}catch(S){status<2?g(-1,S):a.error(S)}}else g(-1,"No Transport");return A},param:function(b,c){var d=[],f=function(b,c){c=a.isFunction(c)?c():c;d[d.length]=encodeURIComponent(b)+"="+encodeURIComponent(c)};if(c===t)c=a.ajaxSettings.traditional;if(a.isArray(b)||b.jquery&&!a.isPlainObject(b))a.each(b,function(){f(this.name,this.value)});else for(var g in b)o(g,
|
|
138
|
+
b[g],c,f);return d.join("&").replace(m,"+")}});a.extend({active:0,lastModified:{},etag:{}})})(y);(function(a){var c=a.now(),k=/(\=)\?(&|$)|\?\?/i;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return a.expando+"_"+c++}});a.ajaxPrefilter("json jsonp",function(c,m,e){var i=typeof c.data==="string";if(c.dataTypes[0]==="jsonp"||m.jsonpCallback||m.jsonp!=null||c.jsonp!==!1&&(k.test(c.url)||i&&k.test(c.data))){var r,f=c.jsonpCallback=a.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,
|
|
139
|
+
b=w[f],m=c.url,d=c.data,n="$1"+f+"$2",q=function(){w[f]=b;if(r&&a.isFunction(b))w[f](r[0])};c.jsonp!==!1&&(m=m.replace(k,n),c.url===m&&(i&&(d=d.replace(k,n)),c.data===d&&(m+=(/\?/.test(m)?"&":"?")+c.jsonp+"="+f)));c.url=m;c.data=d;w[f]=function(a){r=[a]};e.then(q,q);c.converters["script json"]=function(){r||a.error(f+" was not called");return r[0]};c.dataTypes[0]="json";return"script"}})})(y);(function(a){a.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
|
|
140
|
+
contents:{script:/javascript|ecmascript/},converters:{"text script":function(c){a.globalEval(c);return c}}});a.ajaxPrefilter("script",function(a){if(a.cache===t)a.cache=!1;if(a.crossDomain)a.type="GET",a.global=!1});a.ajaxTransport("script",function(a){if(a.crossDomain){var k,o=p.head||p.getElementsByTagName("head")[0]||p.documentElement;return{send:function(m,e){k=p.createElement("script");k.async="async";if(a.scriptCharset)k.charset=a.scriptCharset;k.src=a.url;k.onload=k.onreadystatechange=function(a,
|
|
141
|
+
c){if(!k.readyState||/loaded|complete/.test(k.readyState))k.onload=k.onreadystatechange=null,o&&k.parentNode&&o.removeChild(k),k=t,c||e(200,"success")};o.insertBefore(k,o.firstChild)},abort:function(){if(k)k.onload(0,1)}}}})})(y);(function(a){function c(){a(w).unload(function(){for(var a in m)m[a](0,1)})}function k(){try{return new w.XMLHttpRequest}catch(a){}}var o=a.now(),m,e;a.ajaxSettings.xhr=w.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&k()))a:{try{a=new w.ActiveXObject("Microsoft.XMLHTTP");
|
|
142
|
+
break a}catch(c){}a=void 0}return a}:k;e=a.ajaxSettings.xhr();a.support.ajax=!!e;a.support.cors=e&&"withCredentials"in e;e=t;a.support.ajax&&a.ajaxTransport(function(e){if(!e.crossDomain||a.support.cors){var k;return{send:function(f,b){var d=e.xhr(),n,q;e.username?d.open(e.type,e.url,e.async,e.username,e.password):d.open(e.type,e.url,e.async);if(e.xhrFields)for(q in e.xhrFields)d[q]=e.xhrFields[q];e.mimeType&&d.overrideMimeType&&d.overrideMimeType(e.mimeType);!e.crossDomain&&!f["X-Requested-With"]&&
|
|
143
|
+
(f["X-Requested-With"]="XMLHttpRequest");try{for(q in f)d.setRequestHeader(q,f[q])}catch(p){}d.send(e.hasContent&&e.data||null);k=function(c,f){var o,q,p,h,g;try{if(k&&(f||d.readyState===4)){k=t;if(n)d.onreadystatechange=a.noop,delete m[n];if(f)d.readyState!==4&&d.abort();else{o=d.status;p=d.getAllResponseHeaders();h={};if((g=d.responseXML)&&g.documentElement)h.xml=g;h.text=d.responseText;try{q=d.statusText}catch(x){q=""}!o&&e.isLocal&&!e.crossDomain?o=h.text?200:404:o===1223&&(o=204)}}}catch(w){f||
|
|
144
|
+
b(-1,w)}h&&b(o,q,h,p)};!e.async||d.readyState===4?k():(m||(m={},c()),n=o++,d.onreadystatechange=m[n]=k)},abort:function(){k&&k(0,1)}}}})})(y);(function(a){function c(c,b){var d={};a.each(r.concat.apply([],r.slice(0,b)),function(){d[this]=c});return d}function k(c){if(!o[c]){var b=a("<"+c+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";o[c]=d}return o[c]}var o={},m=/^(?:toggle|show|hide)$/,e=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,i,r=[["height","marginTop","marginBottom",
|
|
145
|
+
"paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];a.fn.extend({show:function(f,b,d){if(f||f===0)return this.animate(c("show",3),f,b,d);else{for(var d=0,e=this.length;d<e;d++){f=this[d];b=f.style.display;if(!a._data(f,"olddisplay")&&b==="none")b=f.style.display="";b===""&&a.css(f,"display")==="none"&&a._data(f,"olddisplay",k(f.nodeName))}for(d=0;d<e;d++)if(f=this[d],b=f.style.display,b===""||b==="none")f.style.display=a._data(f,"olddisplay")||
|
|
146
|
+
"";return this}},hide:function(f,b,d){if(f||f===0)return this.animate(c("hide",3),f,b,d);else{f=0;for(b=this.length;f<b;f++)d=a.css(this[f],"display"),d!=="none"&&!a._data(this[f],"olddisplay")&&a._data(this[f],"olddisplay",d);for(f=0;f<b;f++)this[f].style.display="none";return this}},_toggle:a.fn.toggle,toggle:function(f,b,d){var e=typeof f==="boolean";a.isFunction(f)&&a.isFunction(b)?this._toggle.apply(this,arguments):f==null||e?this.each(function(){var b=e?f:a(this).is(":hidden");a(this)[b?"show":
|
|
147
|
+
"hide"]()}):this.animate(c("toggle",3),f,b,d);return this},fadeTo:function(a,b,c,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,e)},animate:function(c,b,d,i){var o=a.speed(b,d,i);if(a.isEmptyObject(c))return this.each(o.complete);return this[o.queue===!1?"each":"queue"](function(){var b=a.extend({},o),d,i=this.nodeType===1,n=i&&a(this).is(":hidden"),r=this;for(d in c){var p=a.camelCase(d);d!==p&&(c[p]=c[d],delete c[d],d=p);if(c[d]==="hide"&&n||c[d]==="show"&&
|
|
148
|
+
!n)return b.complete.call(this);if(i&&(d==="height"||d==="width"))if(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],a.css(this,"display")==="inline"&&a.css(this,"float")==="none")a.support.inlineBlockNeedsLayout?k(this.nodeName)==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1):this.style.display="inline-block";if(a.isArray(c[d]))(b.specialEasing=b.specialEasing||{})[d]=c[d][1],c[d]=c[d][0]}if(b.overflow!=null)this.style.overflow=
|
|
149
|
+
"hidden";b.curAnim=a.extend({},c);a.each(c,function(d,g){var i=new a.fx(r,b,d);if(m.test(g))i[g==="toggle"?n?"show":"hide":g](c);else{var j=e.exec(g),l=i.cur();if(j){var k=parseFloat(j[2]),o=j[3]||(a.cssNumber[d]?"":"px");o!=="px"&&(a.style(r,d,(k||1)+o),l*=(k||1)/i.cur(),a.style(r,d,l+o));j[1]&&(k=(j[1]==="-="?-1:1)*k+l);i.custom(l,k,o)}else i.custom(l,g,"")}});return!0})},stop:function(c,b){var d=a.timers;c&&this.queue([]);this.each(function(){for(var a=d.length-1;a>=0;a--)if(d[a].elem===this){if(b)d[a](!0);
|
|
150
|
+
d.splice(a,1)}});b||this.dequeue();return this}});a.each({slideDown:c("show",1),slideUp:c("hide",1),slideToggle:c("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(c,b){a.fn[c]=function(a,c,f){return this.animate(b,a,c,f)}});a.extend({speed:function(c,b,d){var e=c&&typeof c==="object"?a.extend({},c):{complete:d||!d&&b||a.isFunction(c)&&c,duration:c,easing:d&&b||b&&!a.isFunction(b)&&b};e.duration=a.fx.off?0:typeof e.duration==="number"?e.duration:
|
|
151
|
+
e.duration in a.fx.speeds?a.fx.speeds[e.duration]:a.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==!1&&a(this).dequeue();a.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,e){return c+e*a},swing:function(a,b,c,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;if(!b.orig)b.orig={}}});a.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(a.fx.step[this.prop]||
|
|
152
|
+
a.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 c,b=a.css(this.elem,this.prop);return isNaN(c=parseFloat(b))?!b||b==="auto"?0:b:c},custom:function(c,b,d){function e(a){return m.step(a)}var m=this,k=a.fx;this.startTime=a.now();this.start=c;this.end=b;this.unit=d||this.unit||(a.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&&a.timers.push(e)&&!i&&
|
|
153
|
+
(i=setInterval(k.tick,k.interval))},show:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(c){var b=a.now(),d=!0;if(c||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=
|
|
154
|
+
!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(d=!1);if(d){if(this.options.overflow!=null&&!a.support.shrinkWrapBlocks){var i=this.elem,m=this.options;a.each(["","X","Y"],function(a,b){i.style["overflow"+b]=m.overflow[a]})}this.options.hide&&a(this.elem).hide();if(this.options.hide||this.options.show)for(var j in this.options.curAnim)a.style(this.elem,j,this.options.orig[j]);this.options.complete.call(this.elem)}return!1}else c=b-this.startTime,this.state=c/this.options.duration,
|
|
155
|
+
b=this.options.easing||(a.easing.swing?"swing":"linear"),this.pos=a.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,c,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}};a.extend(a.fx,{tick:function(){for(var c=a.timers,b=0;b<c.length;b++)c[b]()||c.splice(b--,1);c.length||a.fx.stop()},interval:13,stop:function(){clearInterval(i);i=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){a.style(c.elem,
|
|
156
|
+
"opacity",c.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}}});if(a.expr&&a.expr.filters)a.expr.filters.animated=function(c){return a.grep(a.timers,function(a){return c===a.elem}).length}})(y);(function(a){function c(c){return a.isWindow(c)?c:c.nodeType===9?c.defaultView||c.parentWindow:!1}var k=/^t(?:able|d|h)$/i,o=/^(?:body|html)$/i;a.fn.offset="getBoundingClientRect"in
|
|
157
|
+
p.documentElement?function(m){var e=this[0],i;if(m)return this.each(function(b){a.offset.setOffset(this,m,b)});if(!e||!e.ownerDocument)return null;if(e===e.ownerDocument.body)return a.offset.bodyOffset(e);try{i=e.getBoundingClientRect()}catch(k){}var f=e.ownerDocument,b=f.documentElement;if(!i||!a.contains(b,e))return i?{top:i.top,left:i.left}:{top:0,left:0};e=f.body;f=c(f);return{top:i.top+(f.pageYOffset||a.support.boxModel&&b.scrollTop||e.scrollTop)-(b.clientTop||e.clientTop||0),left:i.left+(f.pageXOffset||
|
|
158
|
+
a.support.boxModel&&b.scrollLeft||e.scrollLeft)-(b.clientLeft||e.clientLeft||0)}}:function(c){var e=this[0];if(c)return this.each(function(b){a.offset.setOffset(this,c,b)});if(!e||!e.ownerDocument)return null;if(e===e.ownerDocument.body)return a.offset.bodyOffset(e);a.offset.initialize();var i,o=e.offsetParent,f=e.ownerDocument,b=f.documentElement,d=f.body;i=(f=f.defaultView)?f.getComputedStyle(e,null):e.currentStyle;for(var n=e.offsetTop,p=e.offsetLeft;(e=e.parentNode)&&e!==d&&e!==b;){if(a.offset.supportsFixedPosition&&
|
|
159
|
+
i.position==="fixed")break;i=f?f.getComputedStyle(e,null):e.currentStyle;n-=e.scrollTop;p-=e.scrollLeft;if(e===o){n+=e.offsetTop;p+=e.offsetLeft;if(a.offset.doesNotAddBorder&&(!a.offset.doesAddBorderForTableAndCells||!k.test(e.nodeName)))n+=parseFloat(i.borderTopWidth)||0,p+=parseFloat(i.borderLeftWidth)||0;o=e.offsetParent}a.offset.subtractsBorderForOverflowNotVisible&&i.overflow!=="visible"&&(n+=parseFloat(i.borderTopWidth)||0,p+=parseFloat(i.borderLeftWidth)||0)}if(i.position==="relative"||i.position===
|
|
160
|
+
"static")n+=d.offsetTop,p+=d.offsetLeft;a.offset.supportsFixedPosition&&i.position==="fixed"&&(n+=Math.max(b.scrollTop,d.scrollTop),p+=Math.max(b.scrollLeft,d.scrollLeft));return{top:n,left:p}};a.offset={initialize:function(){var c=p.body,e=p.createElement("div"),i,k,f,b=parseFloat(a.css(c,"marginTop"))||0;a.extend(e.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});e.innerHTML="<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>";
|
|
161
|
+
c.insertBefore(e,c.firstChild);i=e.firstChild;k=i.firstChild;f=i.nextSibling.firstChild.firstChild;this.doesNotAddBorder=k.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;k.style.position="fixed";k.style.top="20px";this.supportsFixedPosition=k.offsetTop===20||k.offsetTop===15;k.style.position=k.style.top="";i.style.overflow="hidden";i.style.position="relative";this.subtractsBorderForOverflowNotVisible=k.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=c.offsetTop!==b;c.removeChild(e);
|
|
162
|
+
a.offset.initialize=a.noop},bodyOffset:function(c){var e=c.offsetTop,i=c.offsetLeft;a.offset.initialize();a.offset.doesNotIncludeMarginInBodyOffset&&(e+=parseFloat(a.css(c,"marginTop"))||0,i+=parseFloat(a.css(c,"marginLeft"))||0);return{top:e,left:i}},setOffset:function(c,e,i){var k=a.css(c,"position");if(k==="static")c.style.position="relative";var f=a(c),b=f.offset(),d=a.css(c,"top"),n=a.css(c,"left"),o=(k==="absolute"||k==="fixed")&&a.inArray("auto",[d,n])>-1,k={},p={};o&&(p=f.position());d=o?
|
|
163
|
+
p.top:parseInt(d,10)||0;n=o?p.left:parseInt(n,10)||0;a.isFunction(e)&&(e=e.call(c,i,b));if(e.top!=null)k.top=e.top-b.top+d;if(e.left!=null)k.left=e.left-b.left+n;"using"in e?e.using.call(c,k):f.css(k)}};a.fn.extend({position:function(){if(!this[0])return null;var c=this[0],e=this.offsetParent(),i=this.offset(),k=o.test(e[0].nodeName)?{top:0,left:0}:e.offset();i.top-=parseFloat(a.css(c,"marginTop"))||0;i.left-=parseFloat(a.css(c,"marginLeft"))||0;k.top+=parseFloat(a.css(e[0],"borderTopWidth"))||0;
|
|
164
|
+
k.left+=parseFloat(a.css(e[0],"borderLeftWidth"))||0;return{top:i.top-k.top,left:i.left-k.left}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||p.body;c&&!o.test(c.nodeName)&&a.css(c,"position")==="static";)c=c.offsetParent;return c})}});a.each(["Left","Top"],function(k,e){var i="scroll"+e;a.fn[i]=function(e){var f=this[0],b;if(!f)return null;return e!==t?this.each(function(){(b=c(this))?b.scrollTo(!k?e:a(b).scrollLeft(),k?e:a(b).scrollTop()):this[i]=e}):(b=c(f))?
|
|
165
|
+
"pageXOffset"in b?b[k?"pageYOffset":"pageXOffset"]:a.support.boxModel&&b.document.documentElement[i]||b.document.body[i]:f[i]}})})(y);(function(a){a.each(["Height","Width"],function(c,k){var o=k.toLowerCase();a.fn["inner"+k]=function(){return this[0]?parseFloat(a.css(this[0],o,"padding")):null};a.fn["outer"+k]=function(c){return this[0]?parseFloat(a.css(this[0],o,c?"margin":"border")):null};a.fn[o]=function(c){var e=this[0];if(!e)return c==null?null:this;if(a.isFunction(c))return this.each(function(e){var f=
|
|
166
|
+
a(this);f[o](c.call(this,e,f[o]()))});if(a.isWindow(e)){var i=e.document.documentElement["client"+k];return e.document.compatMode==="CSS1Compat"&&i||e.document.body["client"+k]||i}else return e.nodeType===9?Math.max(e.documentElement["client"+k],e.body["scroll"+k],e.documentElement["scroll"+k],e.body["offset"+k],e.documentElement["offset"+k]):c===t?(e=a.css(e,o),i=parseFloat(e),a.isNaN(i)?e:i):this.css(o,typeof c==="string"?c:c+"px")}})})(y);w.jQuery=w.$=y})(window);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
|
|
1
|
+
(function(f){function c(a){var b=a||window.event,d=[].slice.call(arguments,1),e=0,c=0,g=0,a=f.event.fix(b);a.type="mousewheel";a.wheelDelta&&(e=a.wheelDelta/120);a.detail&&(e=-a.detail/3);g=e;b.axis!==void 0&&b.axis===b.HORIZONTAL_AXIS&&(g=0,c=-1*e);b.wheelDeltaY!==void 0&&(g=b.wheelDeltaY/120);b.wheelDeltaX!==void 0&&(c=-1*b.wheelDeltaX/120);d.unshift(a,e,c,g);return f.event.handle.apply(this,d)}var d=["DOMMouseScroll","mousewheel"];f.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=
|
|
2
|
+
d.length;a;)this.addEventListener(d[--a],c,!1);else this.onmousewheel=c},teardown:function(){if(this.removeEventListener)for(var a=d.length;a;)this.removeEventListener(d[--a],c,!1);else this.onmousewheel=null}};f.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(a){function
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
(function(a){function i(d,b,c){jQuery.isFunction(b)&&(c=b,b=null);var f=d+"?"+a.param(b||{});if(e[f])return!1;e[f]=!0;return jQuery.ajax({type:"GET",url:d,data:b,success:function(a,j){delete e[f];void 0===a?window.navigator.onLine||(g=function(){i(d,b,c)}):c(a,j)},error:function(){delete e[f]},dataType:"json",ifModified:!0})}var g=null,e={};if(typeof a.support.localStorage==="undefined")a.support.localStorage=!!window.localStorage;a.support.localStorage?(a(window).bind("online",function(){g&&g()}),
|
|
2
|
+
a(window).bind("offline",function(){jQuery.event.trigger("ajaxStop")}),a.retrieveJSON=function(d,b,c){function f(){for(var a=[],b=0;b<localStorage.length;++b){var c=localStorage.key(b);/:date$/.test(c)&&a.push(c)}a.sort(function(a,b){var c=localStorage[a],d=localStorage[b];return c<d?-1:c>d?1:0});for(b=0;b<a.length/2;++b)c=a[b],delete localStorage[c],delete localStorage[c.substr(0,c.length-5)]}function e(){i(d,b,function(a,b){if(b=="notmodified")return!1;for(;;)try{localStorage[h]=JSON.stringify(a);
|
|
3
|
+
localStorage[h+":date"]=new Date;break}catch(d){(d.name=="QUOTA_EXCEEDED_ERR"||d.name=="NS_ERROR_DOM_QUOTA_REACHED")&&f()}c(a,b,k&&{cachedAt:l,retrievedAt:j})})}a.isFunction(b)&&(c=b,b={});var j=new Date,m=a.param(b),h="offline.jquery:"+d+":"+m,k=localStorage[h],l=new Date(Date.parse(localStorage[h+":date"]));if(k&&c(a.parseJSON(k),"cached",{cachedAt:l})===!1)return!1;window.navigator.onLine?e():g=e;return!0},a.clearJSON=function(d,b){var c=a.param(b||{});delete localStorage["offline.jquery:"+d+":"+
|
|
4
|
+
c];delete localStorage["offline.jquery:"+d+":"+c+":date"]}):(a.retrieveJSON=i,a.clearJSON=a.noop)})(jQuery);
|
|
@@ -1,33 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
* --------------------------------------------------------------------
|
|
30
|
-
*/
|
|
1
|
+
// --------------------------------------------------------------------
|
|
2
|
+
// jQuery-Plugin "pngFix"
|
|
3
|
+
// Version: 1.1, 11.09.2007
|
|
4
|
+
// by Andreas Eberhard, andreas.eberhard@gmail.com
|
|
5
|
+
// http://jquery.andreaseberhard.de/
|
|
6
|
+
//
|
|
7
|
+
// Copyright (c) 2007 Andreas Eberhard
|
|
8
|
+
// Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
|
|
9
|
+
//
|
|
10
|
+
// Changelog:
|
|
11
|
+
// 11.09.2007 Version 1.1
|
|
12
|
+
// - removed noConflict
|
|
13
|
+
// - added png-support for input type=image
|
|
14
|
+
// - 01.08.2007 CSS background-image support extension added by Scott Jehl, scott@filamentgroup.com, http://www.filamentgroup.com
|
|
15
|
+
// 31.05.2007 initial Version 1.0
|
|
16
|
+
// --------------------------------------------------------------------
|
|
17
|
+
// @example $(function(){$(document).pngFix();});
|
|
18
|
+
// @desc Fixes all PNG's in the document on document.ready
|
|
19
|
+
//
|
|
20
|
+
// jQuery(function(){jQuery(document).pngFix();});
|
|
21
|
+
// @desc Fixes all PNG's in the document on document.ready when using noConflict
|
|
22
|
+
//
|
|
23
|
+
// @example $(function(){$('div.examples').pngFix();});
|
|
24
|
+
// @desc Fixes all PNG's within div with class examples
|
|
25
|
+
//
|
|
26
|
+
// @example $(function(){$('div.examples').pngFix( { blankgif:'ext.gif' } );});
|
|
27
|
+
// @desc Fixes all PNG's within div with class examples, provides blank gif for input with png
|
|
28
|
+
// --------------------------------------------------------------------
|
|
31
29
|
|
|
32
30
|
(function($) {
|
|
33
31
|
|