compass-jquery-plugin 0.3.2.8 → 0.3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +24 -6
- data/VERSION.yml +3 -3
- data/lib/jquery/gridify/grid_column.rb +6 -6
- data/lib/jquery/gridify/grid_options.rb +4 -4
- data/lib/jquery/mark_it_up.rb +2 -0
- data/lib/jquery/mobile.rb +0 -1
- data/templates/dynatree/jquery.dynatree.js +2896 -2880
- data/templates/dynatree/jquery.dynatree.min.js +55 -54
- data/templates/dynatree/jquery/dynatree/aero.scss +4 -2
- data/templates/dynatree/jquery/dynatree/aqua.scss +4 -2
- data/templates/dynatree/jquery/dynatree/crystal.scss +4 -2
- data/templates/dynatree/jquery/dynatree/xp.scss +5 -3
- data/templates/emulators/emulators/bb.playbook.landscape.png +0 -0
- data/templates/emulators/emulators/bb.playbook.landscape.scss +18 -0
- data/templates/emulators/emulators/bb.playbook.portrait.png +0 -0
- data/templates/emulators/emulators/bb.playbook.portrait.scss +18 -0
- data/templates/emulators/emulators/{blackberry.torch.landscape.png → bb.torch.landscape.png} +0 -0
- data/templates/emulators/emulators/{blackberry.torch.landscape.scss → bb.torch.landscape.scss} +1 -3
- data/templates/emulators/emulators/{blackberry.torch.portrait.png → bb.torch.portrait.png} +0 -0
- data/templates/emulators/emulators/{blackberry.torch.portrait.scss → bb.torch.portrait.scss} +1 -3
- data/templates/emulators/emulators/galaxy.ace.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.ace.landscape.scss +18 -0
- data/templates/emulators/emulators/galaxy.ace.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.ace.portrait.scss +18 -0
- data/templates/emulators/emulators/galaxy.s.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.s.portrait.scss +0 -2
- data/templates/emulators/emulators/galaxy.s2.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.s2.portrait.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.10.1.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.10.1.portrait.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.7.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.7.portrait.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.8.9.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.8.9.portrait.scss +0 -2
- data/templates/emulators/emulators/htc.sensation.landscape.png +0 -0
- data/templates/emulators/emulators/htc.sensation.landscape.scss +18 -0
- data/templates/emulators/emulators/htc.sensation.portrait.png +0 -0
- data/templates/emulators/emulators/htc.sensation.portrait.scss +18 -0
- data/templates/emulators/emulators/ipad.landscape.scss +0 -2
- data/templates/emulators/emulators/ipad.portrait.scss +0 -2
- data/templates/emulators/emulators/iphone.3.landscape.scss +0 -2
- data/templates/emulators/emulators/iphone.3.portrait.scss +0 -2
- data/templates/emulators/emulators/{iphone.4.landscape .scss → iphone.4.landscape.scss} +0 -2
- data/templates/emulators/emulators/iphone.4.portrait.scss +0 -2
- data/templates/emulators/emulators/palm.pre.2.landscape.scss +0 -2
- data/templates/emulators/emulators/palm.pre.2.portrait.scss +0 -2
- data/templates/emulators/manifest.rb +17 -5
- data/templates/graphics/highcharts/dark-blue.js +159 -159
- data/templates/graphics/highcharts/dark-green.js +159 -159
- data/templates/graphics/highcharts/gray.js +154 -154
- data/templates/graphics/highcharts/grid.js +84 -84
- data/templates/graphics/highcharts/highslide-config.js +2 -2
- data/templates/graphics/highcharts/highslide-full.js +3310 -3310
- data/templates/graphics/highcharts/skies.js +72 -72
- data/templates/graphics/jquery.ganttView.js +1550 -1550
- data/templates/graphics/jquery.highcharts.js +11277 -11285
- data/templates/graphics/jquery.sparkline.js +1072 -1072
- data/templates/ical/jquery.ical.js +7637 -7637
- data/templates/ical/jquery/ical.print.scss +3 -3
- data/templates/jqgrid/i18n/jqgrid/locale-ar.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-bg.js +131 -131
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +131 -131
- data/templates/jqgrid/i18n/jqgrid/locale-cat.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-cn.js +132 -132
- data/templates/jqgrid/i18n/jqgrid/locale-cs.js +129 -129
- data/templates/jqgrid/i18n/jqgrid/locale-da.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-de.js +134 -134
- data/templates/jqgrid/i18n/jqgrid/locale-el.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-en.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-es.js +129 -129
- data/templates/jqgrid/i18n/jqgrid/locale-fa.js +141 -141
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-fr.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-gl.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-he.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-hu.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-it.js +6 -6
- data/templates/jqgrid/i18n/jqgrid/locale-ja.js +153 -153
- data/templates/jqgrid/i18n/jqgrid/locale-lt.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-mne.js +134 -0
- data/templates/jqgrid/i18n/jqgrid/locale-mne.min.js +7 -0
- data/templates/jqgrid/i18n/jqgrid/locale-nl.js +145 -145
- data/templates/jqgrid/i18n/jqgrid/locale-no.js +12 -12
- data/templates/jqgrid/i18n/jqgrid/locale-pl.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-pt.js +126 -126
- data/templates/jqgrid/i18n/jqgrid/locale-ro.js +140 -140
- data/templates/jqgrid/i18n/jqgrid/locale-ru.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-sk.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-sr.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-sv.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-tr.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-ua.js +128 -128
- data/templates/jqgrid/jquery.jqGrid.js +13477 -13443
- data/templates/jqgrid/jquery.jqGrid.min.js +292 -287
- data/templates/jqgrid/jquery/jqGrid.scss +13 -12
- data/templates/jqgrid/manifest.rb +2 -0
- data/templates/jqtouch/jquery.jqtouch.js +9601 -9556
- data/templates/jqtouch/jquery.jqtouch.min.js +3 -3
- data/templates/jqtouch/jquery/touch/default.scss +2 -2
- data/templates/jqtouch/jquery/touch/jqt.scss +2 -2
- data/templates/jqtouch/jquery/touch/jqtouch.scss +26 -5
- data/templates/jquery/amplify.store.js +211 -211
- data/templates/jquery/config/initializers/jquery.rb +2 -0
- data/templates/jquery/history.adapter.jquery.js +42 -36
- data/templates/jquery/history.html4.js +563 -563
- data/templates/jquery/history.html4.min.js +5 -5
- data/templates/jquery/history.js +1721 -1694
- data/templates/jquery/history.min.js +28 -27
- data/templates/jquery/i18n/jquery.ui/datepicker-af.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ar-DZ.js +18 -18
- data/templates/jquery/i18n/jquery.ui/datepicker-ar.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-az.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-bg.js +21 -21
- data/templates/jquery/i18n/jquery.ui/datepicker-bs.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ca.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-cs.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-da.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-de.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-el.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-AU.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-en-GB.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-NZ.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-eo.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-es.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-et.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-eu.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fa.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-fi.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-fo.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fr-CH.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-gl.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-he.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hu.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-hy.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-id.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-is.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-it.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-ja.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ko.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-kz.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-lt.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-lv.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-ml.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ms.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-no.js +18 -18
- data/templates/jquery/i18n/jquery.ui/datepicker-pl.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-pt-BR.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-pt.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-rm.js +17 -17
- data/templates/jquery/i18n/jquery.ui/datepicker-ro.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ru.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-sk.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-sk.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sl.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-sq.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sr-SR.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sv.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ta.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-th.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-tj.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-tr.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-uk.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-vi.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-CN.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-HK.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-TW.js +20 -20
- data/templates/jquery/jquery-ui.js +11913 -11882
- data/templates/jquery/jquery-ui.min.js +340 -339
- data/templates/jquery/jquery.bgiframe.js +27 -27
- data/templates/jquery/jquery.contextMenu.js +202 -202
- data/templates/jquery/jquery.cookie.js +26 -26
- data/templates/jquery/jquery.dotimeout.js +227 -227
- data/templates/jquery/jquery.dst.js +89 -89
- data/templates/jquery/jquery.easing.js +226 -0
- data/templates/jquery/jquery.easing.min.js +8 -0
- data/templates/jquery/jquery.farbtastic.js +294 -294
- data/templates/jquery/jquery.flashMessages.js +14 -14
- data/templates/jquery/jquery.form.js +761 -761
- data/templates/jquery/jquery.haml.js +247 -247
- data/templates/jquery/jquery.hotkeys.js +79 -79
- data/templates/jquery/jquery.js +1490 -928
- data/templates/jquery/jquery.layout.js +2454 -2454
- data/templates/jquery/jquery.mediahelpers.js +216 -0
- data/templates/jquery/jquery.mediahelpers.min.js +3 -0
- data/templates/jquery/jquery.min.js +177 -166
- data/templates/jquery/jquery.mousewheel.js +57 -57
- data/templates/jquery/jquery.offline.js +171 -171
- data/templates/jquery/jquery.pngFix.js +72 -72
- data/templates/jquery/jquery.rails.js +145 -145
- data/templates/jquery/jquery.replacetext.js +80 -80
- data/templates/jquery/jquery.themeswitchertool.js +195 -195
- data/templates/jquery/jquery.tmpl.js +460 -460
- data/templates/jquery/jquery.tmplPlus.js +78 -78
- data/templates/jquery/jquery.tokeninput.js +480 -475
- data/templates/jquery/jquery/ui/_theme.scss +14 -14
- 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/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.js +66 -66
- data/templates/jquery/json2.js +177 -177
- data/templates/jquery/manifest.rb +4 -0
- data/templates/jstree/jquery.jstree.js +5918 -5918
- data/templates/markitup/app/views/shared/_mark_it_up.parsed.preview.blue.html.haml +9 -0
- data/templates/markitup/app/views/shared/_mark_it_up.parsed.preview.html.haml +9 -0
- data/templates/markitup/app/views/shared/_mark_it_up.preview.blue.html.haml +8 -0
- data/templates/markitup/app/views/shared/_mark_it_up.preview.html.haml +8 -0
- data/templates/markitup/config/initializers/mark_it_up.rb +40 -0
- data/templates/markitup/jquery.markitup.js +586 -0
- data/templates/markitup/jquery.markitup.min.js +1 -0
- data/templates/markitup/jquery/markitup/preview/body.blue.png +0 -0
- data/templates/markitup/jquery/markitup/preview/bullet.blue.png +0 -0
- data/templates/markitup/jquery/markitup/preview/preview.blue.scss +58 -0
- data/templates/markitup/jquery/markitup/preview/preview.scss +7 -0
- data/templates/markitup/jquery/markitup/sets/bbcode.scss +34 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/clean.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/fonts.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/list-item.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/underline.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css.scss +54 -0
- data/templates/markitup/jquery/markitup/sets/css/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/css.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/tag.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_align_center.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_align_justify.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_align_left.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_align_right.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_indent.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_letterspacing.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_linespacing.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_lowercase.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_padding_bottom.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_padding_left.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_padding_right.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_padding_top.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_uppercase.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default.scss +22 -0
- data/templates/markitup/jquery/markitup/sets/default/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/clean.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/image.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear.scss +38 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/url.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html.scss +42 -0
- data/templates/markitup/jquery/markitup/sets/html/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/clean.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/image.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/list-item.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/paragraph.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown.scss +38 -0
- data/templates/markitup/jquery/markitup/sets/markdown/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin.scss +38 -0
- data/templates/markitup/jquery/markitup/sets/markmin/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest.scss +38 -0
- data/templates/markitup/jquery/markitup/sets/rest/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile.scss +44 -0
- data/templates/markitup/jquery/markitup/sets/textile/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/paragraph.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/table.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy.scss +40 -0
- data/templates/markitup/jquery/markitup/sets/texy/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/disconnect.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/page_white_code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags.scss +44 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/disconnect.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/underline.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki.scss +42 -0
- data/templates/markitup/jquery/markitup/sets/wiki/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/table.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/url.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode.scss +42 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/clean.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/image.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/list-item.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/paragraph.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua.scss +136 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-container-white.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-footer-white.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-footer.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-header-white.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-header.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/spacer.gif +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/submenu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor.scss +141 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-bbcode.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-dotclear.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-html.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-markdown.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-textile.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-wiki.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/submenu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live.scss +135 -0
- data/templates/markitup/jquery/markitup/skins/live/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/bg-footer.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/bg-header.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/editor.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/submenu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup.scss +150 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-bbcode.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-dotclear.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-html.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-json.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-markdown.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-textile.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-wiki.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-xml.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/submenu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/simple.scss +117 -0
- data/templates/markitup/jquery/markitup/skins/simple/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/simple/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/simple/submenu.png +0 -0
- data/templates/markitup/manifest.rb +311 -0
- data/templates/markitup/markitup/jquery.markitup.set.bbcode.js +40 -0
- data/templates/markitup/markitup/jquery.markitup.set.bbcode.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.css.js +53 -0
- data/templates/markitup/markitup/jquery.markitup.set.css.min.js +5 -0
- data/templates/markitup/markitup/jquery.markitup.set.default.js +30 -0
- data/templates/markitup/markitup/jquery.markitup.set.default.min.js +2 -0
- data/templates/markitup/markitup/jquery.markitup.set.dotclear.js +38 -0
- data/templates/markitup/markitup/jquery.markitup.set.dotclear.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.html.js +40 -0
- data/templates/markitup/markitup/jquery.markitup.set.html.min.js +4 -0
- data/templates/markitup/markitup/jquery.markitup.set.markdown.js +53 -0
- data/templates/markitup/markitup/jquery.markitup.set.markdown.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.markmin.js +50 -0
- data/templates/markitup/markitup/jquery.markitup.set.markmin.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.rest.js +52 -0
- data/templates/markitup/markitup/jquery.markitup.set.rest.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.textile.js +58 -0
- data/templates/markitup/markitup/jquery.markitup.set.textile.min.js +4 -0
- data/templates/markitup/markitup/jquery.markitup.set.texy.js +52 -0
- data/templates/markitup/markitup/jquery.markitup.set.texy.min.js +4 -0
- data/templates/markitup/markitup/jquery.markitup.set.txt2tags.js +42 -0
- data/templates/markitup/markitup/jquery.markitup.set.txt2tags.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.wiki.js +61 -0
- data/templates/markitup/markitup/jquery.markitup.set.wiki.min.js +4 -0
- data/templates/markitup/markitup/jquery.markitup.set.xbbcode.js +36 -0
- data/templates/markitup/markitup/jquery.markitup.set.xbbcode.min.js +4 -0
- data/templates/mobile/config/initializers/mobile.rb +2 -0
- data/templates/mobile/jquery.mobile.js +4545 -4454
- data/templates/mobile/jquery.mobile.min.js +16 -7
- data/templates/mobile/jquery/mobile/960.fluid.scss +191 -0
- data/templates/mobile/jquery/mobile/960.scss +213 -0
- data/templates/mobile/jquery/mobile/_base.scss +37 -20
- data/templates/mobile/jquery/mobile/default.scss +48 -56
- data/templates/mobile/jquery/mobile/valencia.scss +43 -44
- data/templates/mobile/manifest.rb +2 -0
- data/templates/ribbon/jquery.ribbon.js +195 -195
- data/templates/ribbon/jquery.ribbon.min.js +1 -1
- data/templates/ribbon/jquery/ribbon/office.scss +12 -12
- data/templates/ribbon/jquery/ribbon/windows7.scss +12 -12
- data/templates/secret_sauce/secret_sauce.js +8 -8
- data/templates/tools/flowplayer.js +897 -897
- data/templates/tools/jquery.tools.js +3647 -3647
- data/templates/tools/jquery.tools.min.js +47 -47
- data/templates/tools/swfobject.js +760 -760
- metadata +350 -22
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Widget
|
2
|
+
* jQuery UI Widget 1.0a4.1
|
3
3
|
*
|
4
4
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5
5
|
* Dual licensed under the MIT or GPL Version 2 licenses.
|
@@ -7,7 +7,7 @@
|
|
7
7
|
*
|
8
8
|
* http://docs.jquery.com/UI/Widget
|
9
9
|
*/
|
10
|
-
(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(e){for(var f=0,g;(g=e[f])!=null;f++){b(g).triggerHandler("remove")}c(e)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f);if(!k){throw"cannot call methods on "+f+" prior to initialization; attempted to call method '"+i+"'"}if(!b.isFunction(k[i])){throw"no such method '"+i+"' for "+f+" widget instance"}var l=k[i].apply(k,h);if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){var e={};if(b.metadata){e=b.metadata.get(element)[this.widgetName]}return e},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(f,g,h){var k=this.options[f];g=b.Event(g);g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();h=h||{};if(g.originalEvent){for(var e=b.event.props.length,j;e;){j=b.event.props[--e];g[j]=g.originalEvent[j]}}this.element.trigger(g,h);return !(b.isFunction(k)&&k.call(this.element[0],g,h)===false||g.isDefaultPrevented())}}})(jQuery);(function(a,b){a.widget("mobile.widget",{_getCreateOptions:function(){var d=this.element,c={};a.each(this.options,function(e){var f=d.jqmData(e.replace(/[A-Z]/g,function(g){return"-"+g.toLowerCase()}));if(f!==b){c[e]=f}});return c}})})(jQuery);(function(c,f){var e=c(window),a=c("html"),b=[320,480,768,1024];c.mobile.media=(function(){var g={},h=c("<div id='jquery-mediatest'>"),i=c("<body>").append(h);return function(l){if(!(l in g)){var j=document.createElement("style"),k="@media "+l+" { #jquery-mediatest { position:absolute; } }";j.type="text/css";if(j.styleSheet){j.styleSheet.cssText=k}else{j.appendChild(document.createTextNode(k))}a.prepend(i).prepend(j);g[l]=h.css("position")==="absolute";i.add(j).remove()}return g[l]}})();function d(){var g=e.width(),k="min-width-",i="max-width-",m=[],j=[],l="px",h;a.removeClass(k+b.join(l+" "+k)+l+" "+i+b.join(l+" "+i)+l);c.each(b,function(n,o){if(g>=o){m.push(k+o+l)}if(g<=o){j.push(i+o+l)}});if(m.length){h=m.join(" ")}if(j.length){h+=" "+j.join(" ")}a.addClass(h)}c.mobile.addResolutionBreakpoints=function(g){if(c.type(g)==="array"){b=b.concat(g)}else{b.push(g)}b.sort(function(i,h){return i-h});d()};c(document).bind("mobileinit.htmlclass",function(){e.bind("orientationchange.htmlclass resize.htmlclass",function(g){if(g.orientation){a.removeClass("portrait landscape").addClass(g.orientation)}d()})});c(function(){e.trigger("orientationchange.htmlclass")})})(jQuery);(function(e,c){var d=e("<body>").prependTo("html"),g=d[0].style,h=["webkit","moz","o"],i="palmGetResource" in window,f=window.blackberry;function b(m){var l=m.charAt(0).toUpperCase()+m.substr(1),k=(m+" "+h.join(l+" ")+l).split(" ");for(var j in k){if(g[j]!==c){return true}}}function a(){var n=location.protocol+"//"+location.host+location.pathname+"ui-dir/",m=e("head base"),o=null,j="";if(!m.length){m=o=e("<base>",{href:n}).appendTo("head")}else{j=m.attr("href")}var l=e("<a href='testurl'></a>").prependTo(d),k=l[0].href;m[0].href=j?j:location.pathname;if(o){o.remove()}return k.indexOf(n)===0}e.mobile.browser={};e.mobile.browser.ie=(function(){var k=3,l=document.createElement("div"),j=l.all||[];while(l.innerHTML="<!--[if gt IE "+(++k)+"]><br><![endif]-->",j[0]){}return k>4?k:!k}());e.extend(e.support,{orientation:"orientation" in window,touch:"ontouchend" in document,cssTransitions:"WebKitTransitionEvent" in window,pushState:!!history.pushState,mediaquery:e.mobile.media("only all"),cssPseudoElement:!!b("content"),boxShadow:!!b("boxShadow")&&!f,scrollTop:("pageXOffset" in window||"scrollTop" in document.documentElement||"scrollTop" in d[0])&&!i,dynamicBaseTag:a(),eventCapture:("addEventListener" in document)});d.remove();if(!e.support.boxShadow){e("html").addClass("ui-mobile-nosupport-boxshadow")}})(jQuery);(function(w,D,d,l){var C="virtualMouseBindings",b="virtualTouchID",a="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),v="clientX clientY pageX pageY screenX screenY".split(" "),y={},E=0,r=0,q=0,o=false,H=[],f=false,O=false,t=w.support.eventCapture,s=w(d),B=1,K=0;w.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};function p(i){while(i&&typeof i.originalEvent!=="undefined"){i=i.originalEvent}return i}function g(Q,R){var Y=Q.type;Q=w.Event(Q);Q.type=R;var Z=Q.originalEvent;var X=w.event.props;if(Z){for(var U=X.length,P;U;){P=X[--U];Q[P]=Z[P]}}if(Y.search(/^touch/)!==-1){var S=p(Z),Y=S.touches,V=S.changedTouches,T=(Y&&Y.length)?Y[0]:((V&&V.length)?V[0]:l);if(T){for(var U=0,W=v.length;U<W;U++){var P=v[U];Q[P]=T[P]}}}return Q}function M(R){var P={};while(R){var i=w.data(R,C);for(var Q in i){if(i[Q]){P[Q]=P.hasVirtualBinding=true}}R=R.parentNode}return P}function z(Q,P){while(Q){var i=w.data(Q,C);if(i&&(!P||i[P])){return Q}Q=Q.parentNode}return null}function F(){O=false}function j(){O=true}function N(){K=0;H.length=0;f=false;j()}function n(){F()}function u(){x();E=setTimeout(function(){E=0;N()},w.vmouse.resetTimerDuration)}function x(){if(E){clearTimeout(E);E=0}}function m(R,S,i){var Q=false;if((i&&i[R])||(!i&&z(S.target,R))){var P=g(S,R);w(S.target).trigger(P);Q=P.isDefaultPrevented()}return Q}function h(i){var P=w.data(i.target,b);if(!f&&(!K||K!==P)){m("v"+i.type,i)}}function L(Q){var S=p(Q).touches;if(S&&S.length===1){var R=Q.target,i=M(R);if(i.hasVirtualBinding){K=B++;w.data(R,b,K);x();n();o=false;var P=p(Q).touches[0];r=P.pageX;q=P.pageY;m("vmouseover",Q,i);m("vmousedown",Q,i)}}}function G(i){if(O){return}if(!o){m("vmousecancel",i,M(i.target))}o=true;u()}function c(S){if(O){return}var Q=p(S).touches[0];var P=o,R=w.vmouse.moveDistanceThreshold;o=o||(Math.abs(Q.pageX-r)>R||Math.abs(Q.pageY-q)>R);var i=M(S.target);if(o&&!P){m("vmousecancel",S,i)}m("vmousemove",S,i);u()}function e(Q){if(O){return}j();var i=M(Q.target);m("vmouseup",Q,i);if(!o){if(m("vclick",Q,i)){var P=p(Q).changedTouches[0];H.push({touchID:K,x:P.clientX,y:P.clientY});f=true}}m("vmouseout",Q,i);o=false;u()}function A(P){var Q=w.data(P,C),i;if(Q){for(i in Q){if(Q[i]){return true}}}return false}function J(){}function k(i){var P=i.substr(1);return{setup:function(R,Q){if(!A(this)){w.data(this,C,{})}var S=w.data(this,C);S[i]=true;y[i]=(y[i]||0)+1;if(y[i]===1){s.bind(P,h)}w(this).bind(P,J);if(t){y.touchstart=(y.touchstart||0)+1;if(y.touchstart===1){s.bind("touchstart",L).bind("touchend",e).bind("touchmove",c).bind("scroll",G)}}},teardown:function(R,Q){--y[i];if(!y[i]){s.unbind(P,h)}if(t){--y.touchstart;if(!y.touchstart){s.unbind("touchstart",L).unbind("touchmove",c).unbind("touchend",e).unbind("scroll",G)}}var S=w(this),T=w.data(this,C);T[i]=false;S.unbind(P,J);if(!A(this)){S.removeData(C)}}}}for(var I=0;I<a.length;I++){w.event.special[a[I]]=k(a[I])}if(t){d.addEventListener("click",function(U){var Q=H.length;var V=U.target;if(Q){var X=U.clientX,W=U.clientY,T=w.vmouse.clickDistanceThreshold;var Y=V;while(Y){for(var S=0;S<Q;S++){var P=H[S],R=0;if((Y===V&&Math.abs(P.x-X)<T&&Math.abs(P.y-W)<T)||w.data(Y,b)===P.touchID){U.preventDefault();U.stopPropagation();return}}Y=Y.parentNode}}},true)}})(jQuery,window,document);(function(f,h){f.each("touchstart touchmove touchend orientationchange tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(k,j){f.fn[j]=function(i){return i?this.bind(j,i):this.trigger(j)};f.attrFn[j]=true});var e=f.support.touch,d="touchmove scroll",a=e?"touchstart":"mousedown",g=e?"touchend":"mouseup",b=e?"touchmove":"mousemove";function c(l,i,k){var j=k.type;k.type=i;f.event.handle.call(l,k);k.type=j}f.event.special.scrollstart={enabled:true,setup:function(){var i=this,l=f(i),k,m;function j(n,o){k=o;c(i,k?"scrollstart":"scrollstop",n)}l.bind(d,function(n){if(!f.event.special.scrollstart.enabled){return}if(!k){j(n,true)}clearTimeout(m);m=setTimeout(function(){j(n,false)},50)})}};f.event.special.tap={setup:function(){var i=this,j=f(i);j.bind("vmousedown",function(n){if(n.which&&n.which!==1){return false}var l=true,m=n.target,k=n.originalEvent,q;function p(){l=false;clearTimeout(q);j.unbind("vclick",o).unbind("vmousecancel",p)}function o(r){p();if(m==r.target){c(i,"tap",r)}}j.bind("vmousecancel",p).bind("vclick",o);q=setTimeout(function(){if(l){c(i,"taphold",n)}},750)})}};f.event.special.swipe={setup:function(){var i=this,j=f(i);j.bind(a,function(l){var n=l.originalEvent.touches?l.originalEvent.touches[0]:l,o={time:(new Date).getTime(),coords:[n.pageX,n.pageY],origin:f(l.target)},k;function m(p){if(!o){return}var q=p.originalEvent.touches?p.originalEvent.touches[0]:p;k={time:(new Date).getTime(),coords:[q.pageX,q.pageY]};if(Math.abs(o.coords[0]-k.coords[0])>10){p.preventDefault()}}j.bind(b,m).one(g,function(p){j.unbind(b,m);if(o&&k){if(k.time-o.time<1000&&Math.abs(o.coords[0]-k.coords[0])>30&&Math.abs(o.coords[1]-k.coords[1])<75){o.origin.trigger("swipe").trigger(o.coords[0]>k.coords[0]?"swipeleft":"swiperight")}}o=k=h})})}};(function(m){var n=m(window),i,l,k;m.event.special.orientationchange=i={setup:function(){if(m.support.orientation){return false}k=l();n.bind("resize",j)},teardown:function(){if(m.support.orientation){return false}n.unbind("resize",j)},add:function(o){var p=o.handler;o.handler=function(q){q.orientation=l();return p.apply(this,arguments)}}};function j(){var o=l();if(o!==k){k=o;n.trigger("orientationchange")}}i.orientation=l=function(){var o=document.documentElement;return o&&o.clientWidth/o.clientHeight<1.1?"portrait":"landscape"}})(jQuery);f.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(j,i){f.event.special[j]={setup:function(){f(this).bind(i,f.noop)}}})})(jQuery);
|
10
|
+
(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(e){for(var f=0,g;(g=e[f])!=null;f++){b(g).triggerHandler("remove")}c(e)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f);if(!k){throw"cannot call methods on "+f+" prior to initialization; attempted to call method '"+i+"'"}if(!b.isFunction(k[i])){throw"no such method '"+i+"' for "+f+" widget instance"}var l=k[i].apply(k,h);if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){var e={};if(b.metadata){e=b.metadata.get(element)[this.widgetName]}return e},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(f,g,h){var k=this.options[f];g=b.Event(g);g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();h=h||{};if(g.originalEvent){for(var e=b.event.props.length,j;e;){j=b.event.props[--e];g[j]=g.originalEvent[j]}}this.element.trigger(g,h);return !(b.isFunction(k)&&k.call(this.element[0],g,h)===false||g.isDefaultPrevented())}}})(jQuery);(function(a,b){a.widget("mobile.widget",{_getCreateOptions:function(){var d=this.element,c={};a.each(this.options,function(e){var f=d.jqmData(e.replace(/[A-Z]/g,function(g){return"-"+g.toLowerCase()}));if(f!==b){c[e]=f}});return c}})})(jQuery);(function(c,f){var e=c(window),a=c("html"),b=[320,480,768,1024];c.mobile.media=(function(){var g={},h=c("<div id='jquery-mediatest'>"),i=c("<body>").append(h);return function(l){if(!(l in g)){var j=document.createElement("style"),k="@media "+l+" { #jquery-mediatest { position:absolute; } }";j.type="text/css";if(j.styleSheet){j.styleSheet.cssText=k}else{j.appendChild(document.createTextNode(k))}a.prepend(i).prepend(j);g[l]=h.css("position")==="absolute";i.add(j).remove()}return g[l]}})();function d(){var g=e.width(),k="min-width-",i="max-width-",m=[],j=[],l="px",h;a.removeClass(k+b.join(l+" "+k)+l+" "+i+b.join(l+" "+i)+l);c.each(b,function(n,o){if(g>=o){m.push(k+o+l)}if(g<=o){j.push(i+o+l)}});if(m.length){h=m.join(" ")}if(j.length){h+=" "+j.join(" ")}a.addClass(h)}c.mobile.addResolutionBreakpoints=function(g){if(c.type(g)==="array"){b=b.concat(g)}else{b.push(g)}b.sort(function(i,h){return i-h});d()};c(document).bind("mobileinit.htmlclass",function(){e.bind("orientationchange.htmlclass resize.htmlclass",function(g){if(g.orientation){a.removeClass("portrait landscape").addClass(g.orientation)}d()})});c(function(){e.trigger("orientationchange.htmlclass")})})(jQuery);(function(e,c){var d=e("<body>").prependTo("html"),g=d[0].style,h=["webkit","moz","o"],i="palmGetResource" in window,f=window.blackberry;function b(m){var l=m.charAt(0).toUpperCase()+m.substr(1),k=(m+" "+h.join(l+" ")+l).split(" ");for(var j in k){if(g[j]!==c){return true}}}function a(){var n=location.protocol+"//"+location.host+location.pathname+"ui-dir/",m=e("head base"),o=null,j="";if(!m.length){m=o=e("<base>",{href:n}).appendTo("head")}else{j=m.attr("href")}var l=e("<a href='testurl'></a>").prependTo(d),k=l[0].href;m[0].href=j?j:location.pathname;if(o){o.remove()}return k.indexOf(n)===0}e.mobile.browser={};e.mobile.browser.ie=(function(){var k=3,l=document.createElement("div"),j=l.all||[];while(l.innerHTML="<!--[if gt IE "+(++k)+"]><br><![endif]-->",j[0]){}return k>4?k:!k}());e.extend(e.support,{orientation:"orientation" in window,touch:"ontouchend" in document,cssTransitions:"WebKitTransitionEvent" in window,pushState:!!history.pushState,mediaquery:e.mobile.media("only all"),cssPseudoElement:!!b("content"),boxShadow:!!b("boxShadow")&&!f,scrollTop:("pageXOffset" in window||"scrollTop" in document.documentElement||"scrollTop" in d[0])&&!i,dynamicBaseTag:a(),eventCapture:("addEventListener" in document)});d.remove();if(!e.support.boxShadow){e("html").addClass("ui-mobile-nosupport-boxshadow")}})(jQuery);(function(w,D,d,l){var C="virtualMouseBindings",b="virtualTouchID",a="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),v="clientX clientY pageX pageY screenX screenY".split(" "),y={},E=0,r=0,q=0,o=false,H=[],f=false,O=false,t=w.support.eventCapture,s=w(d),B=1,K=0;w.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};function p(i){while(i&&typeof i.originalEvent!=="undefined"){i=i.originalEvent}return i}function g(Q,R){var Y=Q.type;Q=w.Event(Q);Q.type=R;var Z=Q.originalEvent;var X=w.event.props;if(Z){for(var U=X.length,P;U;){P=X[--U];Q[P]=Z[P]}}if(Y.search(/^touch/)!==-1){var S=p(Z),Y=S.touches,V=S.changedTouches,T=(Y&&Y.length)?Y[0]:((V&&V.length)?V[0]:l);if(T){for(var U=0,W=v.length;U<W;U++){var P=v[U];Q[P]=T[P]}}}return Q}function M(R){var P={};while(R){var i=w.data(R,C);for(var Q in i){if(i[Q]){P[Q]=P.hasVirtualBinding=true}}R=R.parentNode}return P}function z(Q,P){while(Q){var i=w.data(Q,C);if(i&&(!P||i[P])){return Q}Q=Q.parentNode}return null}function F(){O=false}function j(){O=true}function N(){K=0;H.length=0;f=false;j()}function n(){F()}function u(){x();E=setTimeout(function(){E=0;N()},w.vmouse.resetTimerDuration)}function x(){if(E){clearTimeout(E);E=0}}function m(R,S,i){var Q=false;if((i&&i[R])||(!i&&z(S.target,R))){var P=g(S,R);w(S.target).trigger(P);Q=P.isDefaultPrevented()}return Q}function h(i){var P=w.data(i.target,b);if(!f&&(!K||K!==P)){m("v"+i.type,i)}}function L(Q){var S=p(Q).touches;if(S&&S.length===1){var R=Q.target,i=M(R);if(i.hasVirtualBinding){K=B++;w.data(R,b,K);x();n();o=false;var P=p(Q).touches[0];r=P.pageX;q=P.pageY;m("vmouseover",Q,i);m("vmousedown",Q,i)}}}function G(i){if(O){return}if(!o){m("vmousecancel",i,M(i.target))}o=true;u()}function c(S){if(O){return}var Q=p(S).touches[0];var P=o,R=w.vmouse.moveDistanceThreshold;o=o||(Math.abs(Q.pageX-r)>R||Math.abs(Q.pageY-q)>R);var i=M(S.target);if(o&&!P){m("vmousecancel",S,i)}m("vmousemove",S,i);u()}function e(Q){if(O){return}j();var i=M(Q.target);m("vmouseup",Q,i);if(!o){if(m("vclick",Q,i)){var P=p(Q).changedTouches[0];H.push({touchID:K,x:P.clientX,y:P.clientY});f=true}}m("vmouseout",Q,i);o=false;u()}function A(P){var Q=w.data(P,C),i;if(Q){for(i in Q){if(Q[i]){return true}}}return false}function J(){}function k(i){var P=i.substr(1);return{setup:function(R,Q){if(!A(this)){w.data(this,C,{})}var S=w.data(this,C);S[i]=true;y[i]=(y[i]||0)+1;if(y[i]===1){s.bind(P,h)}w(this).bind(P,J);if(t){y.touchstart=(y.touchstart||0)+1;if(y.touchstart===1){s.bind("touchstart",L).bind("touchend",e).bind("touchmove",c).bind("scroll",G)}}},teardown:function(R,Q){--y[i];if(!y[i]){s.unbind(P,h)}if(t){--y.touchstart;if(!y.touchstart){s.unbind("touchstart",L).unbind("touchmove",c).unbind("touchend",e).unbind("scroll",G)}}var S=w(this),T=w.data(this,C);if(T){T[i]=false}S.unbind(P,J);if(!A(this)){S.removeData(C)}}}}for(var I=0;I<a.length;I++){w.event.special[a[I]]=k(a[I])}if(t){d.addEventListener("click",function(U){var Q=H.length;var V=U.target;if(Q){var X=U.clientX,W=U.clientY,T=w.vmouse.clickDistanceThreshold;var Y=V;while(Y){for(var S=0;S<Q;S++){var P=H[S],R=0;if((Y===V&&Math.abs(P.x-X)<T&&Math.abs(P.y-W)<T)||w.data(Y,b)===P.touchID){U.preventDefault();U.stopPropagation();return}}Y=Y.parentNode}}},true)}})(jQuery,window,document);(function(f,h){f.each("touchstart touchmove touchend orientationchange tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(k,j){f.fn[j]=function(i){return i?this.bind(j,i):this.trigger(j)};f.attrFn[j]=true});var e=f.support.touch,d="touchmove scroll",a=e?"touchstart":"mousedown",g=e?"touchend":"mouseup",b=e?"touchmove":"mousemove";function c(l,i,k){var j=k.type;k.type=i;f.event.handle.call(l,k);k.type=j}f.event.special.scrollstart={enabled:true,setup:function(){var i=this,l=f(i),k,m;function j(n,o){k=o;c(i,k?"scrollstart":"scrollstop",n)}l.bind(d,function(n){if(!f.event.special.scrollstart.enabled){return}if(!k){j(n,true)}clearTimeout(m);m=setTimeout(function(){j(n,false)},50)})}};f.event.special.tap={setup:function(){var i=this,j=f(i);j.bind("vmousedown",function(n){if(n.which&&n.which!==1){return false}var l=true,m=n.target,k=n.originalEvent,q;function p(){l=false;clearTimeout(q);j.unbind("vclick",o).unbind("vmousecancel",p)}function o(r){p();if(m==r.target){c(i,"tap",r)}}j.bind("vmousecancel",p).bind("vclick",o);q=setTimeout(function(){if(l){c(i,"taphold",n)}},750)})}};f.event.special.swipe={setup:function(){var i=this,j=f(i);j.bind(a,function(l){var n=l.originalEvent.touches?l.originalEvent.touches[0]:l,o={time:(new Date).getTime(),coords:[n.pageX,n.pageY],origin:f(l.target)},k;function m(p){if(!o){return}var q=p.originalEvent.touches?p.originalEvent.touches[0]:p;k={time:(new Date).getTime(),coords:[q.pageX,q.pageY]};if(Math.abs(o.coords[0]-k.coords[0])>10){p.preventDefault()}}j.bind(b,m).one(g,function(p){j.unbind(b,m);if(o&&k){if(k.time-o.time<1000&&Math.abs(o.coords[0]-k.coords[0])>30&&Math.abs(o.coords[1]-k.coords[1])<75){o.origin.trigger("swipe").trigger(o.coords[0]>k.coords[0]?"swipeleft":"swiperight")}}o=k=h})})}};(function(m){var n=m(window),i,l,k;m.event.special.orientationchange=i={setup:function(){if(m.support.orientation){return false}k=l();n.bind("resize",j)},teardown:function(){if(m.support.orientation){return false}n.unbind("resize",j)},add:function(o){var p=o.handler;o.handler=function(q){q.orientation=l();return p.apply(this,arguments)}}};function j(){var o=l();if(o!==k){k=o;n.trigger("orientationchange")}}i.orientation=l=function(){var o=document.documentElement;return o&&o.clientWidth/o.clientHeight<1.1?"portrait":"landscape"}})(jQuery);f.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(j,i){f.event.special[j]={setup:function(){f(this).bind(i,f.noop)}}})})(jQuery);
|
11
11
|
/*!
|
12
12
|
* jQuery hashchange event - v1.3 - 7/21/2010
|
13
13
|
* http://benalman.com/projects/jquery-hashchange-plugin/
|
@@ -16,22 +16,31 @@
|
|
16
16
|
* Dual licensed under the MIT and GPL licenses.
|
17
17
|
* http://benalman.com/about/license/
|
18
18
|
*/
|
19
|
-
(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);(function(a,b){a.widget("mobile.page",a.mobile.widget,{options:{backBtnText:"Back",addBackBtn:
|
19
|
+
(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);(function(a,b){a.widget("mobile.page",a.mobile.widget,{options:{backBtnText:"Back",addBackBtn:false,backBtnTheme:null,degradeInputs:{color:false,date:false,datetime:false,"datetime-local":false,email:false,month:false,number:false,range:"number",search:true,tel:false,time:false,url:false,week:false},keepNative:null},_create:function(){var c=this.element,e=this.options;this.keepNative=":jqmData(role='none'), :jqmData(role='nojs')"+(e.keepNative?", "+e.keepNative:"");if(this._trigger("beforeCreate")===false){return}c.find(":jqmData(role='page'), :jqmData(role='content')").andSelf().each(function(){a(this).addClass("ui-"+a(this).jqmData("role"))});c.find(":jqmData(role='nojs')").addClass("ui-nojs");var d=c.find(":jqmData(role)").andSelf().each(function(){var k=a(this),l=k.jqmData("role"),j=k.jqmData("theme");if(l==="header"||l==="footer"){k.addClass("ui-bar-"+(j||k.parent(":jqmData(role='page')").jqmData("theme")||"a"));k.attr("role",l==="header"?"banner":"contentinfo");var f=k.children("a"),g=f.hasClass("ui-btn-left"),i=f.hasClass("ui-btn-right");if(!g){g=f.eq(0).not(".ui-btn-right").addClass("ui-btn-left").length}if(!i){i=f.eq(1).addClass("ui-btn-right").length}if(e.addBackBtn&&l==="header"&&a(".ui-page").length>1&&c.jqmData("url")!==a.mobile.path.stripHash(location.hash)&&!g&&k.jqmData("backbtn")!==false){var h=a("<a href='#' class='ui-btn-left' data-"+a.mobile.ns+"rel='back' data-"+a.mobile.ns+"icon='arrow-l'>"+e.backBtnText+"</a>").prependTo(k);if(e.backBtnTheme){h.attr("data-"+a.mobile.ns+"theme",e.backBtnTheme)}}k.children("h1, h2, h3, h4, h5, h6").addClass("ui-title").attr({tabindex:"0",role:"heading","aria-level":"1"})}else{if(l==="content"){if(j){k.addClass("ui-body-"+j)}k.attr("role","main")}else{if(l==="page"){k.addClass("ui-body-"+(j||"c"))}}}switch(l){case"header":case"footer":case"page":case"content":k.addClass("ui-"+l);break;case"collapsible":case"fieldcontain":case"navbar":case"listview":case"dialog":k[l]();break}});this._enhanceControls();c.find(":jqmData(role='button'), .ui-bar > a, .ui-header > a, .ui-footer > a").not(".ui-btn").not(this.keepNative).buttonMarkup();c.find(":jqmData(role='controlgroup')").controlgroup();c.find("a:not(.ui-btn):not(.ui-link-inherit)").not(this.keepNative).addClass("ui-link");c.fixHeaderFooter()},_typeAttributeRegex:/\s+type=["']?\w+['"]?/,_enhanceControls:function(){var e=this.options,c=this;this.element.find("input").not(this.keepNative).each(function(){var i=this.getAttribute("type"),h=e.degradeInputs[i]||"text";if(e.degradeInputs[i]){a(this).replaceWith(a("<div>").html(a(this).clone()).html().replace(c._typeAttributeRegex,' type="'+h+'" data-'+a.mobile.ns+'type="'+i+'" '))}});var g=this.element.find("input, textarea, select, button"),d=g.not(this.keepNative);var f=g.filter("input[type=text]");if(f.length&&typeof f[0].autocorrect!=="undefined"){f.each(function(){this.setAttribute("autocorrect","off");this.setAttribute("autocomplete","off")})}d.filter("[type='radio'], [type='checkbox']").checkboxradio();d.filter("button, [type='button'], [type='submit'], [type='reset'], [type='image']").button();d.filter("input, textarea").not("[type='radio'], [type='checkbox'], [type='button'], [type='submit'], [type='reset'], [type='image'], [type='hidden']").textinput();d.filter("input, select").filter(":jqmData(role='slider'), :jqmData(type='range')").slider();d.filter("select:not(:jqmData(role='slider'))").selectmenu()}})})(jQuery);
|
20
20
|
/*!
|
21
|
-
* jQuery Mobile
|
21
|
+
* jQuery Mobile v1.0a4.1
|
22
22
|
* http://jquerymobile.com/
|
23
23
|
*
|
24
24
|
* Copyright 2010, jQuery Project
|
25
25
|
* Dual licensed under the MIT or GPL Version 2 licenses.
|
26
26
|
* http://jquery.org/license
|
27
27
|
*/
|
28
|
-
(function(c,b,d){c.extend(c.mobile,{ns:"",subPageUrlKey:"ui-page",nonHistorySelectors:"dialog",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",ajaxEnabled:true,hashListeningEnabled:true,ajaxLinksEnabled:true,ajaxFormsEnabled:true,defaultTransition:"slide",loadingMessage:"loading",pageLoadErrorMessage:"Error Loading Page",metaViewportContent:"width=device-width, minimum-scale=1, maximum-scale=1",gradeA:function(){return c.support.mediaquery||c.mobile.browser.ie&&c.mobile.browser.ie>=7},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91},silentScroll:function(e){e=e||0;c.event.special.scrollstart.enabled=false;setTimeout(function(){b.scrollTo(0,e);c(document).trigger("silentscroll",{x:0,y:e})},20);setTimeout(function(){c.event.special.scrollstart.enabled=true},150)}});c.fn.jqmData=function(f,e){return this.data(f?c.mobile.ns+f:f,e)};c.jqmData=function(e,g,f){return c.data(e,g&&c.mobile.ns+g,f)};c.fn.jqmRemoveData=function(e){return this.removeData(c.mobile.ns+e)};c.jqmRemoveData=function(e,f){return c.removeData(e,f&&c.mobile.ns+f)};c.jqmHasData=function(e,f){return c.hasData(e,f&&c.mobile.ns+f)};var a=c.find;c.find=function(f,h,g,e){f=f.replace(/:jqmData\(([^)]*)\)/g,"[data-"+(c.mobile.ns||"")+"$1]");return a.call(this,f,h,g,e)};c.extend(c.find,a);c.find.matches=function(e,f){return c.find(e,null,null,f)};c.find.matchesSelector=function(e,f){return c.find(f,null,null,[e]).length>0}})(jQuery,this);(function(c,f){var m=c(window),o=c("html"),k=c("head"),n={get:function(w){if(w===f){w=location.hash}return n.stripHash(w).replace(/[^\/]*\.[^\/*]+$/,"")},getFilePath:function(x){var w="&"+c.mobile.subPageUrlKey;return x&&x.split(w)[0].split(u)[0]},set:function(w){location.hash=w},origin:"",setOrigin:function(){n.origin=n.get(location.protocol+"//"+location.host+location.pathname)},makeAbsolute:function(x){var w=n.isPath(location.hash);if(n.isQuery(x)){return(w?n.cleanHash(location.hash):location.pathname)+x}return(w?n.get():n.get(location.pathname))+x},isPath:function(w){return/\//.test(w)},isQuery:function(w){return/^\?/.test(w)},clean:function(w){var x=new RegExp("^"+location.protocol+"//"+location.host);return w.replace(x,"")},stripHash:function(w){return w.replace(/^#/,"")},cleanHash:function(w){return n.stripHash(w.replace(/\?.*$/,"").replace(u,""))},isExternal:function(w){return n.hasProtocol(n.clean(w))},hasProtocol:function(w){return(/^(:?\w+:)/).test(w)},isRelative:function(w){return(/^[^\/|#]/).test(w)&&!n.hasProtocol(w)},isEmbeddedPage:function(w){return(/^#/).test(w)}},v=null,b={stack:[],activeIndex:0,getActive:function(){return b.stack[b.activeIndex]},getPrev:function(){return b.stack[b.activeIndex-1]},getNext:function(){return b.stack[b.activeIndex+1]},addNew:function(x,z,y,w){if(b.getNext()){b.clearForward()}b.stack.push({url:x,transition:z,title:y,page:w});b.activeIndex=b.stack.length-1},clearForward:function(){b.stack=b.stack.slice(0,b.activeIndex+1)},directHashChange:function(y){var w,x,z;c.each(b.stack,function(A,B){if(y.currentUrl===B.url){w=A<b.activeIndex;x=!w;z=A}});this.activeIndex=z!==f?z:this.activeIndex;if(w){y.isBack()}else{if(x){y.isForward()}}},ignoreNextHashChange:true},p="[tabindex],a,button:visible,select:visible,input",a=null,l=[],r=false,u="&ui-state=dialog",j=k.children("base"),t=location.protocol+"//"+location.host,i=n.get(t+location.pathname),e=i;if(j.length){var q=j.attr("href");if(q){if(q.search(/^[^:\/]+:\/\/[^\/]+\/?/)===-1){if(q.charAt(0)==="/"){e=t+q}else{e=i+q}}else{e=q}}e=e+(e.charAt(e.length-1)==="/"?" ":"/")}var d=c.support.dynamicBaseTag?{element:(j.length?j:c("<base>",{href:e}).prependTo(k)),set:function(w){d.element.attr("href",e+n.get(w))},reset:function(){d.element.attr("href",e)}}:f;n.setOrigin();function h(x){var y=x.jqmData("lastClicked");if(y&&y.length){y.focus()}else{var w=x.find(".ui-title:eq(0)");if(w.length){w.focus()}else{x.find(p).eq(0).focus()}}}function s(w){if(!!v&&(!v.closest(".ui-page-active").length||w)){v.removeClass(c.mobile.activeBtnClass)}v=null}c.fn.animationComplete=function(w){if(c.support.cssTransitions){return c(this).one("webkitAnimationEnd",w)}else{setTimeout(w,0);return c(this)}};c.mobile.updateHash=n.set;c.mobile.path=n;c.mobile.base=d;c.mobile.urlstack=b.stack;c.mobile.urlHistory=b;c.mobile.allowCrossDomainPages=false;c.mobile.changePage=function(x,S,H,L,y){var z=c.type(x),B=z==="array",R=z==="object",P=B?x[0]:c.mobile.activePage;x=B?x[1]:x;var C=c.type(x)==="string"?n.stripHash(x):"",J=C,U,A="get",M=false,G=null,E=b.getActive(),N=false,I=false,D=document.title;if(b.stack.length>0&&E.page.jqmData("url")===C&&!B&&!R){return}else{if(r){l.unshift(arguments);return}}r=true;if(y){b.directHashChange({currentUrl:C,isBack:function(){I=!(N=true);H=true;S=S||E.transition},isForward:function(){I=!(N=false);S=S||b.getActive().transition}})}if(R&&x.url){C=x.url;U=x.data;A=x.type;M=true;if(U&&A==="get"){if(c.type(U)==="object"){U=c.param(U)}C+="?"+U;U=f}}if(d){d.reset()}c(window.document.activeElement||"").add("input:focus, textarea:focus, select:focus").blur();function F(){if(S===f){S=(a&&a==="dialog")?"pop":c.mobile.defaultTransition}}function K(){r=false;if(l.length>0){c.mobile.changePage.apply(c.mobile,l.pop())}}function Q(){c.mobile.silentScroll();var V=m.scrollTop(),aa=["flip"],W=[];if(C.indexOf("&"+c.mobile.subPageUrlKey)>-1){x=c(":jqmData(url='"+C+"')")}if(P){P.jqmData("lastScroll",V).jqmData("lastClicked",v);P.data("page")._trigger("beforehide",null,{nextPage:x})}x.data("page")._trigger("beforeshow",null,{prevPage:P||c("")});function X(){if(L!==false&&C){b.ignoreNextHashChange=false;n.set(C)}var ab=x.jqmData("title")||x.find(".ui-header .ui-title").text();if(!!ab&&D==document.title){D=ab}if(!N&&!I){b.addNew(C,S,D,x)}document.title=b.getActive().title;s();c.mobile.silentScroll(x.jqmData("lastScroll"));h(x);if(P){P.data("page")._trigger("hide",null,{nextPage:x})}x.data("page")._trigger("show",null,{prevPage:P||c("")});c.mobile.activePage=x;if(G!==null){G.remove()}o.removeClass("ui-mobile-rendering");K()}function Z(ab){c.mobile.pageContainer.addClass(ab);W.push(ab)}function Y(){c.mobile.pageContainer.removeClass(W.join(" "));W=[]}c.mobile.pageLoading(true);if(S&&(S!=="none")){if(c.inArray(S,aa)>=0){Z("ui-mobile-viewport-perspective")}Z("ui-mobile-viewport-transitioning");if(P){P.addClass(S+" out "+(H?"reverse":""))}x.addClass(c.mobile.activePageClass+" "+S+" in "+(H?"reverse":""));x.animationComplete(function(){x.add(P).removeClass("out in reverse "+S);if(P){P.removeClass(c.mobile.activePageClass)}X();Y()})}else{if(P){P.removeClass(c.mobile.activePageClass)}x.addClass(c.mobile.activePageClass);X()}}function O(){if(a||x.jqmData("role")==="dialog"){C=b.getActive().url+u;if(a){x.attr("data-"+c.mobile.ns+"role",a);a=null}}x.page()}if(C){x=c(":jqmData(url='"+C+"')");J=n.getFilePath(C)}else{var w=x.attr("data-"+c.mobile.ns+"url"),T=n.getFilePath(w);if(w!==T){J=T}}F();if(x.length&&!M){if(J&&d){d.set(J)}O();Q()}else{if(x.length){G=x}c.mobile.pageLoading();c.ajax({url:J,type:A,data:U,dataType:"html",success:function(Y){var Z=c("<div></div>"),W,V=Y.match(/<title[^>]*>([^<]*)/)&&RegExp.$1,ab=new RegExp(".*(<[^>]+\\bdata-"+c.mobile.ns+"role=[\"']?page[\"']?[^>]*>).*"),X=new RegExp("\\bdata-"+c.mobile.ns+"url=[\"']?([^\"'>]*)[\"']?");if(ab.test(Y)&&RegExp.$1&&X.test(RegExp.$1)&&RegExp.$1){W=RegExp.$1}if(W){if(d){d.set(W)}C=J=n.getFilePath(W)}else{if(d){d.set(J)}}Z.get(0).innerHTML=Y;x=Z.find(":jqmData(role='page'), :jqmData(role='dialog')").first();if(V){D=V}if(!c.support.dynamicBaseTag){var aa=n.get(J);x.find("[src], link[href], a[rel='external'], :jqmData(ajax='false'), a[target]").each(function(){var ad=c(this).is("[href]")?"href":"src",ac=c(this).attr(ad);ac=ac.replace(location.protocol+"//"+location.host+location.pathname,"");if(!/^(\w+:|#|\/)/.test(ac)){c(this).attr(ad,aa+ac)}})}x.attr("data-"+c.mobile.ns+"url",J).appendTo(c.mobile.pageContainer);O();setTimeout(function(){Q()},0)},error:function(){c.mobile.pageLoading(true);s(true);if(d){d.set(n.get())}K();c("<div class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h1>"+c.mobile.pageLoadErrorMessage+"</h1></div>").css({display:"block",opacity:0.96,top:c(window).scrollTop()+100}).appendTo(c.mobile.pageContainer).delay(800).fadeOut(400,function(){c(this).remove()})}})}};c("form").live("submit",function(y){if(!c.mobile.ajaxEnabled||!c.mobile.ajaxFormsEnabled||c(this).is(":jqmData(ajax='false')")){return}var x=c(this).attr("method"),w=n.clean(c(this).attr("action")),z=c(this).attr("target");if(n.isExternal(w)||z){return}if(n.isRelative(w)){w=n.makeAbsolute(w)}c.mobile.changePage({url:w.length&&w||n.get(),type:x.length&&x.toLowerCase()||"get",data:c(this).serialize()},c(this).jqmData("transition"),c(this).jqmData("direction"),true);y.preventDefault()});function g(w){while(w){if(w.nodeName.toLowerCase()=="a"){break}w=w.parentNode}return w}c(document).bind("vclick",function(x){var w=g(x.target);if(w){c(w).closest(".ui-btn").not(".ui-disabled").addClass(c.mobile.activeBtnClass)}});c(document).bind("click",function(x){var J=g(x.target);if(!J){return}var E=c(J),z=E.attr("href")||"#",D=n.hasProtocol(z),y=n.clean(z),A=E.is("[rel='external']"),I=n.isEmbeddedPage(y),H=(c.mobile.allowCrossDomainPages&&location.protocol==="file:"&&y.search(/^https?:/)!=-1),w=(n.isExternal(y)&&!H)||(A&&!I),G=E.is("[target]"),B=E.is(":jqmData(ajax='false')");if(E.is(":jqmData(rel='back')")){window.history.back();return false}if(y.replace(n.get(),"")=="#"){x.preventDefault();return}v=E.closest(".ui-btn");if(w||B||G||!c.mobile.ajaxEnabled||!c.mobile.ajaxLinksEnabled){window.setTimeout(function(){s(true)},200);return}var F=E.jqmData("transition"),K=E.jqmData("direction"),C=(K&&K==="reverse")||E.jqmData("back");a=E.attr("data-"+c.mobile.ns+"rel");if(n.isRelative(y)&&!D){y=n.makeAbsolute(y)}y=n.stripHash(y);c.mobile.changePage(y,F,C);x.preventDefault()});m.bind("hashchange",function(y,w){var A=n.stripHash(location.hash),z=c.mobile.urlHistory.stack.length===0?false:f;if(!c.mobile.hashListeningEnabled||!b.ignoreNextHashChange){if(!b.ignoreNextHashChange){b.ignoreNextHashChange=true}return}if(b.stack.length>1&&A.indexOf(u)>-1){if(!c.mobile.activePage.is(".ui-dialog")){b.directHashChange({currentUrl:A,isBack:function(){window.history.back()},isForward:function(){window.history.forward()}});return}else{var x=function(){A=c.mobile.urlHistory.getActive().page};b.directHashChange({currentUrl:A,isBack:x,isForward:x})}}if(A){c.mobile.changePage(A,z,f,false,true)}else{c.mobile.changePage(c.mobile.firstPage,z,true,false,true)}})})(jQuery);(function(a,b){a.fn.fixHeaderFooter=function(c){if(!a.support.scrollTop){return this}return this.each(function(){var d=a(this);if(d.jqmData("fullscreen")){d.addClass("ui-page-fullscreen")}d.find(".ui-header:jqmData(position='fixed')").addClass("ui-header-fixed ui-fixed-inline fade");d.find(".ui-footer:jqmData(position='fixed')").addClass("ui-footer-fixed ui-fixed-inline fade")})};a.fixedToolbars=(function(){if(!a.support.scrollTop){return}var g="inline",o=false,d=100,e,n="a,input,textarea,select,button,label,.ui-header-fixed,.ui-footer-fixed",p=".ui-header-fixed:first, .ui-footer-fixed:not(.ui-footer-duplicate):last",m,i=a.support.touch,q=i?"touchstart":"mousedown",k=i?"touchend":"mouseup",h=null,j=false,c=true;function f(s){if(!o&&g=="overlay"){if(!e){a.fixedToolbars.hide(true)}a.fixedToolbars.startShowTimer()}}a(function(){a(document).bind("vmousedown",function(s){if(c){h=g}}).bind("vclick",function(s){if(c){if(a(s.target).closest(n).length){return}if(!j){a.fixedToolbars.toggle(h);h=null}}}).bind("scrollstart",function(t){j=true;if(h==null){h=g}var s=h=="overlay";o=s||!!e;if(o){a.fixedToolbars.clearShowTimer();if(s){a.fixedToolbars.hide(true)}}}).bind("scrollstop",function(s){if(a(s.target).closest(n).length){return}j=false;if(o){o=false;a.fixedToolbars.startShowTimer()}h=null}).bind("silentscroll",f);a(window).bind("resize",f)});a(".ui-page").live("pagebeforeshow",function(t,w){var v=a(t.target),z=v.find(":jqmData(role='footer')"),y=z.data("id"),s=w.prevPage,x=s&&s.find(":jqmData(role='footer')"),u=x.length&&x.jqmData("id")===y;if(y&&u){m=z;r(m.removeClass("fade in out").appendTo(a.mobile.pageContainer))}});a(".ui-page").live("pageshow",function(s,t){var u=a(this);if(m&&m.length){setTimeout(function(){r(m.appendTo(u).addClass("fade"));m=null},500)}a.fixedToolbars.show(true,this)});function l(t){var u=0;if(t){var v=t.offsetParent,s=document.body;u=t.offsetTop;while(t&&t!=s){u+=t.scrollTop||0;if(t==v){u+=v.offsetTop;v=t.offsetParent}t=t.parentNode}}return u}function r(w){var s=a(window).scrollTop(),x=l(w[0]),v=w.css("top")=="auto"?0:parseFloat(w.css("top")),z=window.innerHeight,y=w.outerHeight(),u=w.parents(".ui-page:not(.ui-page-fullscreen)").length,t;if(w.is(".ui-header-fixed")){t=s-x+v;if(t<x){t=0}return w.css("top",(u)?t:s)}else{t=s+z-y-(x-v);return w.css("top",(u)?t:s+z-y)}}return{show:function(s,u){a.fixedToolbars.clearShowTimer();g="overlay";var t=u?a(u):(a.mobile.activePage?a.mobile.activePage:a(".ui-page-active"));return t.children(p).each(function(){var x=a(this),v=a(window).scrollTop(),y=l(x[0]),A=window.innerHeight,z=x.outerHeight(),w=(x.is(".ui-header-fixed")&&v<=y+z)||(x.is(".ui-footer-fixed")&&y<=v+A);x.addClass("ui-fixed-overlay").removeClass("ui-fixed-inline");if(!w&&!s){x.animationComplete(function(){x.removeClass("in")}).addClass("in")}r(x)})},hide:function(s){g="inline";var t=a.mobile.activePage?a.mobile.activePage:a(".ui-page-active");return t.children(p).each(function(){var w=a(this);var v=w.css("top");v=v=="auto"?0:parseFloat(v);w.addClass("ui-fixed-inline").removeClass("ui-fixed-overlay");if(v<0||(w.is(".ui-header-fixed")&&v!=0)){if(s){w.css("top",0)}else{if(w.css("top")!=="auto"&&parseFloat(w.css("top"))!==0){var u="out reverse";w.animationComplete(function(){w.removeClass(u);w.css("top",0)}).addClass(u)}}}})},startShowTimer:function(){a.fixedToolbars.clearShowTimer();var s=a.makeArray(arguments);e=setTimeout(function(){e=b;a.fixedToolbars.show.apply(null,s)},d)},clearShowTimer:function(){if(e){clearTimeout(e)}e=b},toggle:function(s){if(s){g=s}return(g=="overlay")?a.fixedToolbars.hide():a.fixedToolbars.show()},setTouchToggleEnabled:function(s){c=s}}})()})(jQuery);(function(a,b){a.widget("mobile.checkboxradio",a.mobile.widget,{options:{theme:null},_create:function(){var d=this,c=this.element,f=c.closest("form,fieldset,:jqmData(role='page')").find("label").filter("[for="+c[0].id+"]"),h=c.attr("type"),g="ui-icon-"+h+"-on",e="ui-icon-"+h+"-off";if(h!="checkbox"&&h!="radio"){return}a.extend(this,{label:f,inputtype:h,checkedicon:g,uncheckedicon:e});if(!this.options.theme){this.options.theme=this.element.jqmData("theme")}f.buttonMarkup({theme:this.options.theme,icon:this.element.parents(":jqmData(type='horizontal')").length?b:e,shadow:false});c.add(f).wrapAll("<div class='ui-"+h+"'></div>");f.bind({vmouseover:function(){if(a(this).parent().is(".ui-disabled")){return false}},vclick:function(i){if(c.is(":disabled")){i.preventDefault();return}d._cacheVals();c.attr("checked",h==="radio"&&true||!c.is(":checked"));d._updateAll();return false}});c.bind({vmousedown:function(){this._cacheVals()},vclick:function(){d._updateAll()},focus:function(){f.addClass("ui-focus")},blur:function(){f.removeClass("ui-focus")}});this.refresh()},_cacheVals:function(){this._getInputSet().each(function(){a(this).jqmData("cacheVal",a(this).is(":checked"))})},_getInputSet:function(){return this.element.closest("form,fieldset,:jqmData(role='page')").find("input[name='"+this.element.attr("name")+"'][type='"+this.inputtype+"']")},_updateAll:function(){var c=this;this._getInputSet().each(function(){if(a(this).is(":checked")||c.inputtype==="checkbox"){a(this).trigger("change")}}).checkboxradio("refresh")},refresh:function(){var c=this.element,d=this.label,e=d.find(".ui-icon");if(c[0].checked){d.addClass(a.mobile.activeBtnClass);e.addClass(this.checkedicon).removeClass(this.uncheckedicon)}else{d.removeClass(a.mobile.activeBtnClass);e.removeClass(this.checkedicon).addClass(this.uncheckedicon)}if(c.is(":disabled")){this.disable()}else{this.enable()}},disable:function(){this.element.attr("disabled",true).parent().addClass("ui-disabled")},enable:function(){this.element.attr("disabled",false).parent().removeClass("ui-disabled")}})})(jQuery);(function(a,b){a.widget("mobile.textinput",a.mobile.widget,{options:{theme:null},_create:function(){var k=this.element,e=this.options,h=e.theme,n;if(!h){var f=this.element.closest("[class*='ui-bar-'],[class*='ui-body-']");h=f.length?/ui-(bar|body)-([a-z])/.exec(f.attr("class"))[2]:"c"}n=" ui-body-"+h;a("label[for="+k.attr("id")+"]").addClass("ui-input-text");k.addClass("ui-input-text ui-body-"+e.theme);var i=k;if(k.is("[type='search'],:jqmData(type='search')")){i=k.wrap('<div class="ui-input-search ui-shadow-inset ui-btn-corner-all ui-btn-shadow ui-icon-searchfield'+n+'"></div>').parent();var l=a('<a href="#" class="ui-input-clear" title="clear text">clear text</a>').tap(function(o){k.val("").focus();k.trigger("change");l.addClass("ui-input-clear-hidden");o.preventDefault()}).appendTo(i).buttonMarkup({icon:"delete",iconpos:"notext",corners:true,shadow:true});function d(){if(k.val()==""){l.addClass("ui-input-clear-hidden")}else{l.removeClass("ui-input-clear-hidden")}}d();k.keyup(d)}else{k.addClass("ui-corner-all ui-shadow-inset"+n)}k.focus(function(){i.addClass("ui-focus")}).blur(function(){i.removeClass("ui-focus")});if(k.is("textarea")){var g=15,j=100,c=function(){var p=k[0].scrollHeight,o=k[0].clientHeight;if(o<p){k.css({height:(p+g)})}},m;k.keyup(function(){clearTimeout(m);m=setTimeout(c,j)})}},disable:function(){(this.element.attr("disabled",true).is("[type='search'],:jqmData(type='search')")?this.element.parent():this.element).addClass("ui-disabled")},enable:function(){(this.element.attr("disabled",false).is("[type='search'],:jqmData(type='search')")?this.element.parent():this.element).removeClass("ui-disabled")}})})(jQuery);(function(a,b){a.widget("mobile.selectmenu",a.mobile.widget,{options:{theme:null,disabled:false,icon:"arrow-d",iconpos:"right",inline:null,corners:true,shadow:true,iconshadow:true,menuPageTheme:"b",overlayTheme:"a",hidePlaceholderMenuItems:true,closeText:"Close",nativeMenu:true},_create:function(){var r=this,u=this.options,t=this.element.wrap("<div class='ui-select'>"),x=t.attr("id"),n=a("label[for="+x+"]").addClass("ui-select"),h=t[0].selectedIndex==-1?0:t[0].selectedIndex,e=(r.options.nativeMenu?a("<div/>"):a("<a>",{href:"#",role:"button",id:m,"aria-haspopup":"true","aria-owns":p})).text(a(t[0].options.item(h)).text()).insertBefore(t).buttonMarkup({theme:u.theme,icon:u.icon,iconpos:u.iconpos,inline:u.inline,corners:u.corners,shadow:u.shadow,iconshadow:u.iconshadow}),k=r.isMultiple=t[0].multiple;if(u.nativeMenu&&window.opera&&window.opera.version){t.addClass("ui-select-nativeonly")}if(!u.nativeMenu){var i=t.find("option"),m=x+"-button",p=x+"-menu",c=t.closest(".ui-page"),z=/ui-btn-up-([a-z])/.exec(e.attr("class"))[1],s=a("<div data-"+a.mobile.ns+"role='dialog' data-"+a.mobile.ns+"theme='"+u.menuPageTheme+"'><div data-"+a.mobile.ns+"role='header'><div class='ui-title'>"+n.text()+"</div></div><div data-"+a.mobile.ns+"role='content'></div></div>").appendTo(a.mobile.pageContainer).page(),j=s.find(".ui-content"),g=s.find(".ui-header a"),f=a("<div>",{"class":"ui-selectmenu-screen ui-screen-hidden"}).appendTo(c),d=a("<div>",{"class":"ui-selectmenu ui-selectmenu-hidden ui-overlay-shadow ui-corner-all pop ui-body-"+u.overlayTheme}).insertAfter(f),y=a("<ul>",{"class":"ui-selectmenu-list",id:p,role:"listbox","aria-labelledby":m}).attr("data-"+a.mobile.ns+"theme",z).appendTo(d),w=a("<div>",{"class":"ui-header ui-bar-"+z}).prependTo(d),v=a("<h1>",{"class":"ui-title"}).appendTo(w),l=a("<a>",{text:u.closeText,href:"#","class":"ui-btn-left"}).attr("data-"+a.mobile.ns+"iconpos","notext").attr("data-"+a.mobile.ns+"icon","delete").appendTo(w).buttonMarkup(),q}if(k){r.buttonCount=a("<span>").addClass("ui-li-count ui-btn-up-c ui-btn-corner-all").hide().appendTo(e)}if(u.disabled){this.disable()}t.change(function(){r.refresh()});a.extend(r,{select:t,optionElems:i,selectID:x,label:n,buttonId:m,menuId:p,thisPage:c,button:e,menuPage:s,menuPageContent:j,screen:f,listbox:d,list:y,menuType:q,header:w,headerClose:l,headerTitle:v,placeholder:""});if(u.nativeMenu){t.appendTo(e).bind("vmousedown",function(o){e.addClass(a.mobile.activeBtnClass)}).bind("focus vmouseover",function(){e.trigger("vmouseover")}).bind("vmousemove",function(){e.removeClass(a.mobile.activeBtnClass)}).bind("change blur vmouseout",function(){e.trigger("vmouseout").removeClass(a.mobile.activeBtnClass)})}else{r.refresh();t.attr("tabindex","-1").focus(function(){a(this).blur();e.focus()});e.bind("vclick keydown",function(o){if(o.type=="vclick"||o.keyCode&&(o.keyCode===a.mobile.keyCode.ENTER||o.keyCode===a.mobile.keyCode.SPACE)){r.open();o.preventDefault()}});y.attr("role","listbox").delegate(".ui-li>a","focusin",function(){a(this).attr("tabindex","0")}).delegate(".ui-li>a","focusout",function(){a(this).attr("tabindex","-1")}).delegate("li:not(.ui-disabled, .ui-li-divider)","vclick",function(B){var C=t[0].selectedIndex,o=y.find("li:not(.ui-li-divider)").index(this),A=r.optionElems.eq(o)[0];A.selected=k?!A.selected:true;if(k){a(this).find(".ui-icon").toggleClass("ui-icon-checkbox-on",A.selected).toggleClass("ui-icon-checkbox-off",!A.selected)}if(C!==o){t.trigger("change")}if(!k){r.close()}B.preventDefault()}).keydown(function(D){var C=a(D.target),o=C.closest("li");switch(D.keyCode){case 38:var B=o.prev();if(B.length){C.blur().attr("tabindex","-1");B.find("a").first().focus()}return false;break;case 40:var A=o.next();if(A.length){C.blur().attr("tabindex","-1");A.find("a").first().focus()}return false;break;case 13:case 32:C.trigger("vclick");return false;break}});f.bind("vclick",function(o){r.close()});r.headerClose.click(function(){if(r.menuType=="overlay"){r.close();return false}})}},_buildList:function(){var e=this,h=this.options,g=this.placeholder,c=[],f=[],d=e.isMultiple?"checkbox-off":"false";e.list.empty().filter(".ui-listview").listview("destroy");e.select.find("option").each(function(m){var p=a(this),o=p.parent(),q=p.text(),j="<a href='#'>"+q+"</a>",l=[],n=[];if(o.is("optgroup")){var k=o.attr("label");if(a.inArray(k,c)===-1){f.push("<li data-"+a.mobile.ns+"role='list-divider'>"+k+"</li>");c.push(k)}}if(!this.getAttribute("value")||q.length==0||p.jqmData("placeholder")){if(h.hidePlaceholderMenuItems){l.push("ui-selectmenu-placeholder")}g=e.placeholder=q}if(this.disabled){l.push("ui-disabled");n.push("aria-disabled='true'")}f.push("<li data-"+a.mobile.ns+"icon='"+d+"' class='"+l.join(" ")+"' "+n.join(" ")+">"+j+"</li>")});e.list.html(f.join(" "));e.list.find("li").attr({role:"option",tabindex:"-1"}).first().attr("tabindex","0");if(!this.isMultiple){this.headerClose.hide()}if(!this.isMultiple&&!g.length){this.header.hide()}else{this.headerTitle.text(this.placeholder)}e.list.listview()},refresh:function(g){var d=this,c=this.element,h=this.isMultiple,e=this.optionElems=c.find("option"),f=e.filter(":selected"),i=f.map(function(){return e.index(this)}).get();if(!d.options.nativeMenu&&(g||c[0].options.length!=d.list.find("li").length)){d._buildList()}d.button.find(".ui-btn-text").text(function(){if(!h){return f.text()}return f.length?f.map(function(){return a(this).text()}).get().join(", "):d.placeholder});if(h){d.buttonCount[f.length>1?"show":"hide"]().text(f.length)}if(!d.options.nativeMenu){d.list.find("li:not(.ui-li-divider)").removeClass(a.mobile.activeBtnClass).attr("aria-selected",false).each(function(j){if(a.inArray(j,i)>-1){var k=a(this).addClass(a.mobile.activeBtnClass);k.find("a").attr("aria-selected",true);if(h){k.find(".ui-icon").removeClass("ui-icon-checkbox-off").addClass("ui-icon-checkbox-on")}}})}},open:function(){if(this.options.disabled||this.options.nativeMenu){return}var p=this,g=p.list.parent().outerHeight(),l=p.list.parent().outerWidth(),f=a(window).scrollTop(),o=p.button.offset().top,e=window.innerHeight,d=window.innerWidth;p.button.addClass(a.mobile.activeBtnClass);setTimeout(function(){p.button.removeClass(a.mobile.activeBtnClass)},300);function h(){p.list.find(".ui-btn-active").focus()}if(g>e-80||!a.support.scrollTop){if(f==0&&o>e){p.thisPage.one("pagehide",function(){a(this).jqmData("lastScroll",o)})}p.menuPage.one("pageshow",function(){a(window).one("silentscroll",function(){h()})});p.menuType="page";p.menuPageContent.append(p.list);a.mobile.changePage(p.menuPage,"pop",false,true)}else{p.menuType="overlay";p.screen.height(a(document).height()).removeClass("ui-screen-hidden");var k=o-f,i=f+e-o,n=g/2,c=parseFloat(p.list.parent().css("max-width")),m,j;if(k>g/2&&i>g/2){m=o+(p.button.outerHeight()/2)-n}else{m=k>i?f+e-g-30:f+30}if(l<c){j=(d-l)/2}else{j=p.button.offset().left+p.button.outerWidth()/2-l/2;if(j<30){j=30}else{if((j+l)>d){j=d-l-30}}}p.listbox.append(p.list).removeClass("ui-selectmenu-hidden").css({top:m,left:j}).addClass("in");h()}setTimeout(function(){p.isOpen=true},400)},close:function(){if(this.options.disabled||!this.isOpen||this.options.nativeMenu){return}var c=this;function d(){setTimeout(function(){c.button.focus()},40);c.listbox.removeAttr("style").append(c.list)}if(c.menuType=="page"){a.mobile.changePage([c.menuPage,c.thisPage],"pop",true,false);c.menuPage.one("pagehide",d)}else{c.screen.addClass("ui-screen-hidden");c.listbox.addClass("ui-selectmenu-hidden").removeAttr("style").removeClass("in");d()}this.isOpen=false},disable:function(){this.element.attr("disabled",true);this.button.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)},enable:function(){this.element.attr("disabled",false);this.button.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)}})})(jQuery);(function(b,c){b.fn.buttonMarkup=function(e){return this.each(function(){var k=b(this),l=b.extend({},b.fn.buttonMarkup.defaults,k.jqmData(),e),g,i="ui-btn-inner",f;if(a){a()}if(!l.theme){var h=k.closest("[class*='ui-bar-'],[class*='ui-body-']");l.theme=h.length?/ui-(bar|body)-([a-z])/.exec(h.attr("class"))[2]:"c"}g="ui-btn ui-btn-up-"+l.theme;if(l.inline){g+=" ui-btn-inline"}if(l.icon){l.icon="ui-icon-"+l.icon;l.iconpos=l.iconpos||"left";f="ui-icon "+l.icon;if(l.shadow){f+=" ui-icon-shadow"}}if(l.iconpos){g+=" ui-btn-icon-"+l.iconpos;if(l.iconpos=="notext"&&!k.attr("title")){k.attr("title",k.text())}}if(l.corners){g+=" ui-btn-corner-all";i+=" ui-btn-corner-all"}if(l.shadow){g+=" ui-shadow"}k.attr("data-"+b.mobile.ns+"theme",l.theme).addClass(g);var j=("<D class='"+i+"'><D class='ui-btn-text'></D>"+(l.icon?"<span class='"+f+"'></span>":"")+"</D>").replace(/D/g,l.wrapperEls);k.wrapInner(j)})};b.fn.buttonMarkup.defaults={corners:true,shadow:true,iconshadow:true,wrapperEls:"span"};function d(e){while(e){var f=b(e);if(f.hasClass("ui-btn")&&!ele.hasClass("ui-disabled")){break}e=e.parentNode}return e}var a=function(){b(document).bind({vmousedown:function(){var e=d(this);if(e){var f=b(e),g=f.attr("data-"+b.mobile.ns+"theme");f.removeClass("ui-btn-up-"+g).addClass("ui-btn-down-"+g)}},"vmousecancel vmouseup":function(){var e=d(this);if(e){var f=b(e),g=f.attr("data-"+b.mobile.ns+"theme");f.removeClass("ui-btn-down-"+g).addClass("ui-btn-up-"+g)}},"vmouseover focus":function(){var e=d(this);if(e){var f=b(e),g=f.attr("data-"+b.mobile.ns+"theme");f.removeClass("ui-btn-up-"+g).addClass("ui-btn-hover-"+g)}},"vmouseout blur":function(){var e=d(this);if(e){var f=b(e),g=f.attr("data-"+b.mobile.ns+"theme");f.removeClass("ui-btn-hover-"+g).addClass("ui-btn-up-"+g)}}});a=null}})(jQuery);(function(a,b){a.widget("mobile.button",a.mobile.widget,{options:{theme:null,icon:null,iconpos:null,inline:null,corners:true,shadow:true,iconshadow:true},_create:function(){var c=this.element,e=this.options;this.button=a("<div></div>").text(c.text()||c.val()).buttonMarkup({theme:e.theme,icon:e.icon,iconpos:e.iconpos,inline:e.inline,corners:e.corners,shadow:e.shadow,iconshadow:e.iconshadow}).insertBefore(c).append(c.addClass("ui-btn-hidden"));var d=c.attr("type");if(d!=="button"&&d!=="reset"){c.bind("vclick",function(){var f=a("<input>",{type:"hidden",name:c.attr("name"),value:c.attr("value")}).insertBefore(c);a(document).submit(function(){f.remove()})})}this.refresh()},enable:function(){this.element.attr("disabled",false);this.button.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)},disable:function(){this.element.attr("disabled",true);this.button.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)},refresh:function(){if(this.element.attr("disabled")){this.disable()}else{this.enable()}}})})(jQuery);(function(a,b){a.widget("mobile.slider",a.mobile.widget,{options:{theme:null,trackTheme:null,disabled:false},_create:function(){var r=this,j=this.element,f=j.parents("[class*=ui-bar-],[class*=ui-body-]").eq(0),f=f.length?f.attr("class").match(/ui-(bar|body)-([a-z])/)[2]:"c",k=this.options.theme?this.options.theme:f,g=this.options.trackTheme?this.options.trackTheme:f,l=j[0].nodeName.toLowerCase(),n=(l=="select")?"ui-slider-switch":"",h=j.attr("id"),m=h+"-label",q=a("[for="+h+"]").attr("id",m),e=function(){return(l=="input")?parseFloat(j.val()):j[0].selectedIndex},i=(l=="input")?parseFloat(j.attr("min")):0,p=(l=="input")?parseFloat(j.attr("max")):j.find("option").length-1,d=window.parseFloat(j.attr("step")||1),c=a('<div class="ui-slider '+n+" ui-btn-down-"+g+' ui-btn-corner-all" role="application"></div>'),o=a('<a href="#" class="ui-slider-handle"></a>').appendTo(c).buttonMarkup({corners:true,theme:k,shadow:true}).attr({role:"slider","aria-valuemin":i,"aria-valuemax":p,"aria-valuenow":e(),"aria-valuetext":e(),title:e(),"aria-labelledby":m});a.extend(this,{slider:c,handle:o,dragging:false,beforeStart:null});if(l=="select"){c.wrapInner('<div class="ui-slider-inneroffset"></div>');var s=j.find("option");j.find("option").each(function(v){var u=(v==0)?"b":"a",t=(v==0)?"right":"left",w=(v==0)?" ui-btn-down-"+g:" ui-btn-active";a('<div class="ui-slider-labelbg ui-slider-labelbg-'+u+w+" ui-btn-corner-"+t+'"></div>').prependTo(c);a('<span class="ui-slider-label ui-slider-label-'+u+w+" ui-btn-corner-"+t+'" role="img">'+a(this).text()+"</span>").prependTo(o)})}q.addClass("ui-slider");j.addClass((l=="input")?"ui-slider-input":"ui-slider-switch").change(function(){r.refresh(e(),true)}).keyup(function(){r.refresh(e(),true,true)}).blur(function(){r.refresh(e(),true)});a(document).bind("vmousemove",function(t){if(r.dragging){r.refresh(t);return false}});c.bind("vmousedown",function(t){r.dragging=true;if(l==="select"){r.beforeStart=j[0].selectedIndex}r.refresh(t);return false});c.add(document).bind("vmouseup",function(){if(r.dragging){r.dragging=false;if(l==="select"){if(r.beforeStart===j[0].selectedIndex){r.refresh(r.beforeStart===0?1:0)}var u=e();var t=Math.round(u/(p-i)*100);o.addClass("ui-slider-handle-snapping").css("left",t+"%").animationComplete(function(){o.removeClass("ui-slider-handle-snapping")})}return false}});c.insertAfter(j);this.handle.bind("vmousedown",function(){a(this).focus()}).bind("vclick",false);this.handle.bind("keydown",function(u){var t=e();if(r.options.disabled){return}switch(u.keyCode){case a.mobile.keyCode.HOME:case a.mobile.keyCode.END:case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:u.preventDefault();if(!r._keySliding){r._keySliding=true;a(this).addClass("ui-state-active")}break}switch(u.keyCode){case a.mobile.keyCode.HOME:r.refresh(i);break;case a.mobile.keyCode.END:r.refresh(p);break;case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:r.refresh(t+d);break;case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:r.refresh(t-d);break}}).keyup(function(t){if(r._keySliding){r._keySliding=false;a(this).removeClass("ui-state-active")}});this.refresh()},refresh:function(e,c,m){if(this.options.disabled){return}var h=this.element,j,i=h[0].nodeName.toLowerCase(),f=(i==="input")?parseFloat(h.attr("min")):0,k=(i==="input")?parseFloat(h.attr("max")):h.find("option").length-1;if(typeof e==="object"){var g=e,l=8;if(!this.dragging||g.pageX<this.slider.offset().left-l||g.pageX>this.slider.offset().left+this.slider.width()+l){return}j=Math.round(((g.pageX-this.slider.offset().left)/this.slider.width())*100)}else{if(e==null){e=(i==="input")?parseFloat(h.val()):h[0].selectedIndex}j=(parseFloat(e)-f)/(k-f)*100}if(isNaN(j)){return}if(j<0){j=0}if(j>100){j=100}var d=Math.round((j/100)*(k-f))+f;if(d<f){d=f}if(d>k){d=k}if(j>60&&i==="select"){}this.handle.css("left",j+"%");this.handle.attr({"aria-valuenow":(i==="input")?d:h.find("option").eq(d).attr("value"),"aria-valuetext":(i==="input")?d:h.find("option").eq(d).text(),title:d});if(i==="select"){if(d===0){this.slider.addClass("ui-slider-switch-a").removeClass("ui-slider-switch-b")}else{this.slider.addClass("ui-slider-switch-b").removeClass("ui-slider-switch-a")}}if(!m){if(i==="input"){h.val(d)}else{h[0].selectedIndex=d}if(!c){h.trigger("change")}}},enable:function(){this.element.attr("disabled",false);this.slider.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)},disable:function(){this.element.attr("disabled",true);this.slider.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)}})})(jQuery);(function(a,b){a.widget("mobile.collapsible",a.mobile.widget,{options:{expandCueText:" click to expand contents",collapseCueText:" click to collapse contents",collapsed:false,heading:">:header,>legend",theme:null,iconTheme:"d"},_create:function(){var e=this.element,f=this.options,c=e.addClass("ui-collapsible-contain"),d=e.find(f.heading).eq(0),i=c.wrapInner('<div class="ui-collapsible-content"></div>').find(".ui-collapsible-content"),h=e.closest(":jqmData(role='collapsible-set')").addClass("ui-collapsible-set");if(d.is("legend")){d=a('<div role="heading">'+d.html()+"</div>").insertBefore(d);d.next().remove()}d.insertBefore(i);d.addClass("ui-collapsible-heading").append('<span class="ui-collapsible-heading-status"></span>').wrapInner('<a href="#" class="ui-collapsible-heading-toggle"></a>').find("a:eq(0)").buttonMarkup({shadow:!!!h.length,corners:false,iconPos:"left",icon:"plus",theme:f.theme}).find(".ui-icon").removeAttr("class").buttonMarkup({shadow:true,corners:true,iconPos:"notext",icon:"plus",theme:f.iconTheme});if(!h.length){d.find("a:eq(0)").addClass("ui-corner-all").find(".ui-btn-inner").addClass("ui-corner-all")}else{if(c.jqmData("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}c.bind("collapse",function(j){if(!j.isDefaultPrevented()){j.preventDefault();d.addClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(f.expandCueText);d.find(".ui-icon").removeClass("ui-icon-minus").addClass("ui-icon-plus");i.addClass("ui-collapsible-content-collapsed").attr("aria-hidden",true);if(c.jqmData("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}}).bind("expand",function(j){if(!j.isDefaultPrevented()){j.preventDefault();d.removeClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(f.collapseCueText);d.find(".ui-icon").removeClass("ui-icon-plus").addClass("ui-icon-minus");i.removeClass("ui-collapsible-content-collapsed").attr("aria-hidden",false);if(c.jqmData("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").removeClass("ui-corner-bottom")}}}).trigger(f.collapsed?"collapse":"expand");if(h.length&&!h.jqmData("collapsiblebound")){h.jqmData("collapsiblebound",true).bind("expand",function(j){a(this).find(".ui-collapsible-contain").not(a(j.target).closest(".ui-collapsible-contain")).not("> .ui-collapsible-contain .ui-collapsible-contain").trigger("collapse")});var g=h.find(":jqmData(role=collapsible)");g.first().find("a:eq(0)").addClass("ui-corner-top").find(".ui-btn-inner").addClass("ui-corner-top");g.last().jqmData("collapsible-last",true)}d.bind("vclick",function(j){if(d.is(".ui-collapsible-heading-collapsed")){c.trigger("expand")}else{c.trigger("collapse")}return false})}})})(jQuery);(function(a,b){a.fn.controlgroup=function(c){return this.each(function(){var g=a.extend({direction:a(this).jqmData("type")||"vertical",shadow:false},c);var h=a(this).find(">legend"),d=g.direction=="horizontal"?["ui-corner-left","ui-corner-right"]:["ui-corner-top","ui-corner-bottom"],e=a(this).find("input:eq(0)").attr("type");if(h.length){a(this).wrapInner('<div class="ui-controlgroup-controls"></div>');a('<div role="heading" class="ui-controlgroup-label">'+h.html()+"</div>").insertBefore(a(this).children(0));h.remove()}a(this).addClass("ui-corner-all ui-controlgroup ui-controlgroup-"+g.direction);function f(i){i.removeClass("ui-btn-corner-all ui-shadow").eq(0).addClass(d[0]).end().filter(":last").addClass(d[1]).addClass("ui-controlgroup-last")}f(a(this).find(".ui-btn"));f(a(this).find(".ui-btn-inner"));if(g.shadow){a(this).addClass("ui-shadow")}})}})(jQuery);(function(a,b){a.fn.fieldcontain=function(c){return this.addClass("ui-field-contain ui-body ui-br")}})(jQuery);(function(a,b){a.widget("mobile.listview",a.mobile.widget,{options:{theme:"c",countTheme:"c",headerTheme:"b",dividerTheme:"b",splitIcon:"arrow-r",splitTheme:"b",inset:false},_create:function(){var c=this.element,d=this.options;c.addClass("ui-listview");if(d.inset){c.addClass("ui-listview-inset ui-corner-all ui-shadow")}this.refresh()},_itemApply:function(c,d){d.find(".ui-li-count").addClass("ui-btn-up-"+(c.jqmData("counttheme")||this.options.countTheme)+" ui-btn-corner-all");d.find("h1, h2, h3, h4, h5, h6").addClass("ui-li-heading");d.find("p, dl").addClass("ui-li-desc");d.find("img:first-child:eq(0)").addClass("ui-li-thumb").each(function(){d.addClass(a(this).is(".ui-li-icon")?"ui-li-has-icon":"ui-li-has-thumb")});d.find(".ui-li-aside").each(function(){var e=a(this);e.prependTo(e.parent())})},_removeCorners:function(c){c.add(c.find(".ui-btn-inner, .ui-li-link-alt, .ui-li-thumb")).removeClass("ui-corner-top ui-corner-bottom ui-corner-br ui-corner-bl ui-corner-tr ui-corner-tl")},refresh:function(m){this._createSubPages();var r=this.options,c=this.element,q=this,v=c.jqmData("dividertheme")||r.dividerTheme,n=c.jqmData("splittheme"),h=c.jqmData("spliticon"),p=c.children("li"),k=a.support.cssPseudoElement||!a.nodeName(c[0],"ol")?0:1;if(k){c.find(".ui-li-dec").remove()}var f=p.length;for(var i=0;i<f;i++){var t=p.eq(i),d="ui-li";if(!m&&t.hasClass("ui-li")){continue}var l=t.jqmData("theme")||r.theme;var u=t.children("a");if(u.length){var s=t.jqmData("icon");t.buttonMarkup({wrapperEls:"div",shadow:false,corners:false,iconpos:"right",icon:u.length>1||s===false?false:s||"arrow-r",theme:l});u.first().addClass("ui-link-inherit");if(u.length>1){d+=" ui-li-has-alt";var j=u.last(),g=n||j.jqmData("theme")||r.splitTheme;j.appendTo(t).attr("title",j.text()).addClass("ui-li-link-alt").empty().buttonMarkup({shadow:false,corners:false,theme:l,icon:false,iconpos:false}).find(".ui-btn-inner").append(a("<span>").buttonMarkup({shadow:true,corners:true,theme:g,iconpos:"notext",icon:h||j.jqmData("icon")||r.splitIcon}))}}else{if(t.jqmData("role")==="list-divider"){d+=" ui-li-divider ui-btn ui-bar-"+v;t.attr("role","heading");if(k){k=1}}else{d+=" ui-li-static ui-body-"+l}}if(r.inset){if(i===0){d+=" ui-corner-top";t.add(t.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-tr").end().find(".ui-li-thumb").addClass("ui-corner-tl");if(t.next().next().length){q._removeCorners(t.next())}}if(i===p.length-1){d+=" ui-corner-bottom";t.add(t.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-br").end().find(".ui-li-thumb").addClass("ui-corner-bl");if(t.prev().prev().length){q._removeCorners(t.prev())}}}if(k&&d.indexOf("ui-li-divider")<0){var e=t.is(".ui-li-static:first")?t:t.find(".ui-link-inherit");e.addClass("ui-li-jsnumbering").prepend("<span class='ui-li-dec'>"+(k++)+". </span>")}t.add(t.find(".ui-btn-inner")).addClass(d);if(!m){q._itemApply(c,t)}}},_idStringEscape:function(c){return c.replace(/[^a-zA-Z0-9]/g,"-")},_createSubPages:function(){var e=this.element,d=e.closest(".ui-page"),i=d.jqmData("url"),h=this.options,c="data-"+a.mobile.ns,f=this,g=d.find(":jqmData(role='footer')").jqmData("id");a(e.find("li>ul, li>ol").toArray().reverse()).each(function(o){var p=a(this),r=p.parent(),s=a(p.prevAll().toArray().reverse()),s=s.length?s:a("<span>"+a.trim(r.contents()[0].nodeValue)+"</span>"),q=s.first().text(),j=i+"&"+a.mobile.subPageUrlKey+"="+f._idStringEscape(q+" "+o),n=p.jqmData("theme")||h.theme,k=p.jqmData("counttheme")||e.jqmData("counttheme")||h.countTheme,l=p.detach().wrap("<div "+c+"role='page'"+c+"url='"+j+"' "+c+"theme='"+n+"' "+c+"count-theme='"+k+"'><div "+c+"role='content'></div></div>").parent().before("<div "+c+"role='header' "+c+"theme='"+h.headerTheme+"'><div class='ui-title'>"+q+"</div></div>").after(g?a("<div "+c+"role='footer' "+c+"id='"+g+"'>"):"").parent().appendTo(a.mobile.pageContainer);l.page();var m=r.find("a:first");if(!m.length){m=a("<a></a>").html(s||q).prependTo(r.empty())}m.attr("href","#"+j)}).listview()}})})(jQuery);(function(a,b){a.mobile.listview.prototype.options.filter=false;a.mobile.listview.prototype.options.filterPlaceholder="Filter items...";a(":jqmData(role='listview')").live("listviewcreate",function(){var e=a(this),d=e.data("listview");if(!d.options.filter){return}var f=a("<form>",{"class":"ui-listview-filter ui-bar-c",role:"search"}),c=a("<input>",{placeholder:d.options.filterPlaceholder}).attr("data-"+a.mobile.ns+"type","search").bind("keyup change",function(){var l=this.value.toLowerCase(),j=e.children();j.show();if(l){var k=false,h;for(var g=j.length;g>=0;g--){h=a(j[g]);if(h.is("li:jqmData(role=list-divider)")){if(!k){h.hide()}k=false}else{if(h.text().toLowerCase().indexOf(l)===-1){h.hide()}else{k=true}}}}}).appendTo(f).textinput();if(a(this).jqmData("inset")){f.addClass("ui-listview-filter-inset")}f.insertBefore(e)})})(jQuery);(function(a,b){a.widget("mobile.dialog",a.mobile.widget,{options:{closeBtnText:"Close"},_create:function(){var c=this,d=c.element;this.element.attr("role","dialog").addClass("ui-page ui-dialog ui-body-a").find(":jqmData(role=header)").addClass("ui-corner-top ui-overlay-shadow").prepend("<a href='#' data-"+a.mobile.ns+"icon='delete' data-"+a.mobile.ns+"rel='back' data-"+a.mobile.ns+"iconpos='notext'>"+this.options.closeBtnText+"</a>").end().find('.ui-content:not([class*="ui-body-"])').addClass("ui-body-c").end().find(".ui-content,:jqmData(role='footer')").last().addClass("ui-corner-bottom ui-overlay-shadow");this.element.bind("vclick submit",function(g){var f;if(g.type=="vclick"){f=a(g.target).closest("a")}else{f=a(g.target).closest("form")}if(f.length&&!f.jqmData("transition")){f.attr("data-"+a.mobile.ns+"transition",a.mobile.urlHistory.getActive().transition).attr("data-"+a.mobile.ns+"direction","reverse")}})},close:function(){window.history.back()}})})(jQuery);(function(a,b){a.widget("mobile.navbar",a.mobile.widget,{options:{iconpos:"top",grid:null},_create:function(){var e=this.element,c=e.find("a"),d=c.filter(":jqmData(icon)").length?this.options.iconpos:b;e.addClass("ui-navbar").attr("role","navigation").find("ul").grid({grid:this.options.grid});if(!d){e.addClass("ui-navbar-noicons")}c.buttonMarkup({corners:false,shadow:false,iconpos:d});e.delegate("a","vclick",function(f){c.not(".ui-state-persist").removeClass(a.mobile.activeBtnClass);a(this).addClass(a.mobile.activeBtnClass)})}})})(jQuery);(function(a,b){a.fn.grid=function(c){return this.each(function(){var h=a.extend({grid:null},c);var i=a(this).children(),f={solo:1,a:2,b:3,c:4,d:5},d=h.grid,e;if(!d){if(i.length<=5){for(var g in f){if(f[g]==i.length){d=g}}}else{d="a"}}e=f[d];a(this).addClass("ui-grid-"+d);i.filter(":nth-child("+e+"n+1)").addClass("ui-block-a");if(e>1){i.filter(":nth-child("+e+"n+2)").addClass("ui-block-b")}if(e>2){i.filter(":nth-child(3n+3)").addClass("ui-block-c")}if(e>3){i.filter(":nth-child(4n+4)").addClass("ui-block-d")}if(e>4){i.filter(":nth-child(5n+5)").addClass("ui-block-e")}})}})(jQuery);
|
28
|
+
(function(c,b,d){c.extend(c.mobile,{ns:"",subPageUrlKey:"ui-page",nonHistorySelectors:"dialog",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",ajaxEnabled:true,hashListeningEnabled:true,ajaxLinksEnabled:true,ajaxFormsEnabled:true,defaultTransition:"slide",loadingMessage:"loading",pageLoadErrorMessage:"Error Loading Page",gradeA:function(){return c.support.mediaquery||c.mobile.browser.ie&&c.mobile.browser.ie>=7},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91},silentScroll:function(e){e=e||0;c.event.special.scrollstart.enabled=false;setTimeout(function(){b.scrollTo(0,e);c(document).trigger("silentscroll",{x:0,y:e})},20);setTimeout(function(){c.event.special.scrollstart.enabled=true},150)},normalizeRegex:/-([a-z])/g,nsNormalize:function(e){if(!e){return}return c.camelCase(c.mobile.ns+e)}});c.fn.jqmData=function(f,e){return this.data(f?c.mobile.nsNormalize(f):f,e)};c.jqmData=function(e,g,f){return c.data(e,c.mobile.nsNormalize(g),f)};c.fn.jqmRemoveData=function(e){return this.removeData(c.mobile.nsNormalize(e))};c.jqmRemoveData=function(e,f){return c.removeData(e,c.mobile.nsNormalize(f))};c.jqmHasData=function(e,f){return c.hasData(e,c.mobile.nsNormalize(f))};var a=c.find;c.find=function(f,h,g,e){f=f.replace(/:jqmData\(([^)]*)\)/g,"[data-"+(c.mobile.ns||"")+"$1]");return a.call(this,f,h,g,e)};c.extend(c.find,a);c.find.matches=function(e,f){return c.find(e,null,null,f)};c.find.matchesSelector=function(e,f){return c.find(f,null,null,[e]).length>0}})(jQuery,this);(function(c,f){var l=c(window),o=c("html"),j=c("head"),m={get:function(v){if(v===f){v=location.hash}return m.stripHash(v).replace(/[^\/]*\.[^\/*]+$/,"")},getFilePath:function(w){var v="&"+c.mobile.subPageUrlKey;return w&&w.split(v)[0].split(t)[0]},set:function(v){location.hash=v},origin:"",setOrigin:function(){m.origin=m.get(location.protocol+"//"+location.host+location.pathname)},makeAbsolute:function(w){var v=m.isPath(location.hash);if(m.isQuery(w)){return(v?m.cleanHash(location.hash):location.pathname)+w}return(v?m.get():m.get(location.pathname))+w},isPath:function(v){return(/\//).test(v)},isQuery:function(v){return(/^\?/).test(v)},clean:function(v){var w=new RegExp("^"+location.protocol+"//"+location.host);return v.replace(w,"")},stripHash:function(v){return v.replace(/^#/,"")},cleanHash:function(v){return m.stripHash(v.replace(/\?.*$/,"").replace(t,""))},isExternal:function(v){return m.hasProtocol(m.clean(v))},hasProtocol:function(v){return(/^(:?\w+:)/).test(v)},isRelative:function(v){return(/^[^\/|#]/).test(v)&&!m.hasProtocol(v)},isEmbeddedPage:function(v){return(/^#/).test(v)}},u=null,b={stack:[],activeIndex:0,getActive:function(){return b.stack[b.activeIndex]},getPrev:function(){return b.stack[b.activeIndex-1]},getNext:function(){return b.stack[b.activeIndex+1]},addNew:function(w,y,x,v){if(b.getNext()){b.clearForward()}b.stack.push({url:w,transition:y,title:x,page:v});b.activeIndex=b.stack.length-1},clearForward:function(){b.stack=b.stack.slice(0,b.activeIndex+1)},directHashChange:function(x){var v,w,y;c.each(b.stack,function(z,A){if(x.currentUrl===A.url){v=z<b.activeIndex;w=!v;y=z}});this.activeIndex=y!==f?y:this.activeIndex;if(v){x.isBack()}else{if(w){x.isForward()}}},ignoreNextHashChange:true},p="[tabindex],a,button:visible,select:visible,input",a=null,k=[],q=false,t="&ui-state=dialog",i=j.children("base"),e=location.protocol+"//"+location.host,n=e+location.pathname;if(i.length){var r=i.attr("href");if(r){if(r.search(/^[^:\/]+:\/\/[^\/]+\/?/)===-1){e=e+r}else{e=r}}e=e+(e.charAt(e.length-1)==="/"?" ":"/")}var d=c.support.dynamicBaseTag?{element:(i.length?i:c("<base>",{href:n}).prependTo(j)),set:function(v){d.element.attr("href",e+m.get(v))},reset:function(){d.element.attr("href",n)}}:f;m.setOrigin();function h(w){var x=w.jqmData("lastClicked");if(x&&x.length){x.focus()}else{var v=w.find(".ui-title:eq(0)");if(v.length){v.focus()}else{w.find(p).eq(0).focus()}}}function s(v){if(!!u&&(!u.closest(".ui-page-active").length||v)){u.removeClass(c.mobile.activeBtnClass)}u=null}c.fn.animationComplete=function(v){if(c.support.cssTransitions){return c(this).one("webkitAnimationEnd",v)}else{setTimeout(v,0);return c(this)}};c.mobile.updateHash=m.set;c.mobile.path=m;c.mobile.base=d;c.mobile.urlstack=b.stack;c.mobile.urlHistory=b;c.mobile.noneTransitionHandler=function(w,v,y,x){if(x){x.removeClass(c.mobile.activePageClass)}y.addClass(c.mobile.activePageClass);return c.Deferred().resolve(w,v,y,x).promise()};c.mobile.defaultTransitionHandler=c.mobile.noneTransitionHandler;c.mobile.transitionHandlers={none:c.mobile.defaultTransitionHandler};c.mobile.allowCrossDomainPages=false;c.mobile.changePage=function(w,R,G,K,x){var y=c.type(w),A=y==="array",Q=y==="object",O=A?w[0]:c.mobile.activePage;w=A?w[1]:w;var B=c.type(w)==="string"?m.stripHash(w):"",I=B,T,z="get",L=false,F=null,D=b.getActive(),M=false,H=false,C=document.title;if(b.stack.length>0&&D.page.jqmData("url")===B&&!A&&!Q){return}else{if(q){k.unshift(arguments);return}}q=true;if(x){b.directHashChange({currentUrl:B,isBack:function(){H=!(M=true);G=true;R=R||D.transition},isForward:function(){H=!(M=false);R=R||b.getActive().transition}})}if(Q&&w.url){B=w.url;T=w.data;z=w.type;L=true;if(T&&z==="get"){if(c.type(T)==="object"){T=c.param(T)}B+="?"+T;T=f}}if(d){d.reset()}c(window.document.activeElement||"").add("input:focus, textarea:focus, select:focus").blur();function E(){if(R===f){R=(a&&a==="dialog")?"pop":c.mobile.defaultTransition}}function J(){q=false;if(k.length>0){c.mobile.changePage.apply(c.mobile,k.pop())}}function P(){c.mobile.silentScroll();var V=l.scrollTop();if(B.indexOf("&"+c.mobile.subPageUrlKey)>-1){w=c(":jqmData(url='"+B+"')")}if(O){O.jqmData("lastScroll",V).jqmData("lastClicked",u);O.data("page")._trigger("beforehide",null,{nextPage:w})}w.data("page")._trigger("beforeshow",null,{prevPage:O||c("")});function X(){if(K!==false&&B){b.ignoreNextHashChange=false;m.set(B)}var Y=w.jqmData("title")||w.find(":jqmData(role='header') .ui-title").text();if(!!Y&&C===document.title){C=Y}if(!M&&!H){b.addNew(B,R,C,w)}document.title=b.getActive().title;s();c.mobile.silentScroll(w.jqmData("lastScroll"));c(document).one("silentscroll",function(){h(w)});if(O){O.data("page")._trigger("hide",null,{nextPage:w})}w.data("page")._trigger("show",null,{prevPage:O||c("")});c.mobile.activePage=w;if(F!==null){F.remove()}o.removeClass("ui-mobile-rendering");J()}c.mobile.pageLoading(true);var W=c.mobile.transitionHandlers[R||"none"]||c.mobile.defaultTransitionHandler,U=W(R,G,w,O);U.done(function(){X()})}function N(){if(a||w.jqmData("role")==="dialog"){B=b.getActive().url+t;if(a){w.attr("data-"+c.mobile.ns+"role",a);a=null}}w.page()}if(B){w=c(":jqmData(url='"+B+"')");I=m.getFilePath(B)}else{var v=w.attr("data-"+c.mobile.ns+"url"),S=m.getFilePath(v);if(v!==S){I=S}}E();if(w.length&&!L){if(I&&d){d.set(I)}N();P()}else{if(w.length){F=w}c.mobile.pageLoading();c.ajax({url:I,type:z,data:T,dataType:"html",success:function(X){var Y=c("<div></div>"),V,U=X.match(/<title[^>]*>([^<]*)/)&&RegExp.$1,aa=new RegExp("(<[^>]+\\bdata-"+c.mobile.ns+"role=[\"']?page[\"']?[^>]*>)"),W=new RegExp("\\bdata-"+c.mobile.ns+"url=[\"']?([^\"'>]*)[\"']?");if(aa.test(X)&&RegExp.$1&&W.test(RegExp.$1)&&RegExp.$1){V=RegExp.$1}if(V){if(d){d.set(V)}B=I=m.getFilePath(V)}else{if(d){d.set(I)}}Y.get(0).innerHTML=X;w=Y.find(":jqmData(role='page'), :jqmData(role='dialog')").first();if(U){C=U}if(!c.support.dynamicBaseTag){var Z=m.get(I);w.find("[src], link[href], a[rel='external'], :jqmData(ajax='false'), a[target]").each(function(){var ad=["href","src","action"],ag=f,af=f;for(var ae=0;ae<ad.length;ae++){var ab=ad[ae],ac=c(this).attr(ab);if(ac){ag=ab;af=ac;break}}if(ag&&af){af=af.replace(location.protocol+"//"+location.host+location.pathname,"");if(!/^(\w+:|#|\/)/.test(af)){c(this).attr(ag,Z+af)}}})}w.attr("data-"+c.mobile.ns+"url",I).appendTo(c.mobile.pageContainer);N();setTimeout(function(){P()},0)},error:function(){c.mobile.pageLoading(true);s(true);if(d){d.set(m.get())}J();c("<div class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h1>"+c.mobile.pageLoadErrorMessage+"</h1></div>").css({display:"block",opacity:0.96,top:c(window).scrollTop()+100}).appendTo(c.mobile.pageContainer).delay(800).fadeOut(400,function(){c(this).remove()})}})}};c("form").live("submit",function(x){if(!c.mobile.ajaxEnabled||!c.mobile.ajaxFormsEnabled||c(this).is(":jqmData(ajax='false')")){return}var w=c(this).attr("method"),v=m.clean(c(this).attr("action")),y=c(this).attr("target");if(m.isExternal(v)||y){return}if(m.isRelative(v)){v=m.makeAbsolute(v)}c.mobile.changePage({url:v.length&&v||m.get(),type:w.length&&w.toLowerCase()||"get",data:c(this).serialize()},c(this).jqmData("transition"),c(this).jqmData("direction"),true);x.preventDefault()});function g(v){while(v){if(v.nodeName.toLowerCase()==="a"){break}v=v.parentNode}return v}c(document).bind("vclick",function(x){var w=g(x.target);if(w){var v=m.clean(w.getAttribute("href")||"#");if(v!=="#"&&v.replace(m.get(),"")!=="#"){c(w).closest(".ui-btn").not(".ui-disabled").addClass(c.mobile.activeBtnClass)}}});c(document).bind("click",function(w){var I=g(w.target);if(!I){return}var D=c(I),y=D.attr("href")||"#",C=m.hasProtocol(y),x=m.clean(y),z=D.is("[rel='external']"),H=m.isEmbeddedPage(x),G=(c.mobile.allowCrossDomainPages&&location.protocol==="file:"&&x.search(/^https?:/)!==-1),v=(m.isExternal(x)&&!G)||(z&&!H),F=D.is("[target]"),A=D.is(":jqmData(ajax='false')");if(D.is(":jqmData(rel='back')")){window.history.back();return false}if(x.replace(m.get(),"")==="#"){w.preventDefault();return}u=D.closest(".ui-btn");if(v||A||F||!c.mobile.ajaxEnabled||!c.mobile.ajaxLinksEnabled){window.setTimeout(function(){s(true)},200);return}var E=D.jqmData("transition"),J=D.jqmData("direction"),B=(J&&J==="reverse")||D.jqmData("back");a=D.attr("data-"+c.mobile.ns+"rel");if(m.isRelative(x)&&!C){x=m.makeAbsolute(x)}x=m.stripHash(x);c.mobile.changePage(x,E,B);w.preventDefault()});l.bind("hashchange",function(x,v){var z=m.stripHash(location.hash),y=c.mobile.urlHistory.stack.length===0?false:f;if(!c.mobile.hashListeningEnabled||!b.ignoreNextHashChange){if(!b.ignoreNextHashChange){b.ignoreNextHashChange=true}return}if(b.stack.length>1&&z.indexOf(t)>-1){if(!c.mobile.activePage.is(".ui-dialog")){b.directHashChange({currentUrl:z,isBack:function(){window.history.back()},isForward:function(){window.history.forward()}});return}else{var w=function(){z=c.mobile.urlHistory.getActive().page};b.directHashChange({currentUrl:z,isBack:w,isForward:w})}}if(z){c.mobile.changePage(z,y,f,false,true)}else{c.mobile.changePage(c.mobile.firstPage,y,true,false,true)}})})(jQuery);
|
29
29
|
/*!
|
30
|
-
* jQuery Mobile
|
30
|
+
* jQuery Mobile v1.0a4.1
|
31
31
|
* http://jquerymobile.com/
|
32
32
|
*
|
33
33
|
* Copyright 2010, jQuery Project
|
34
34
|
* Dual licensed under the MIT or GPL Version 2 licenses.
|
35
35
|
* http://jquery.org/license
|
36
36
|
*/
|
37
|
-
(function(e,d,g){var b=e("html"),a=e("head"),f=e(d);e(d.document).trigger("mobileinit");if(!e.mobile.gradeA()){return}b.addClass("ui-mobile ui-mobile-rendering");e.mobile.metaViewportContent&&!a.find("meta[name='viewport']").length?e("<meta>",{name:"viewport",content:e.mobile.metaViewportContent}).prependTo(a):g;var c=e.mobile.loadingMessage?e("<div class='ui-loader ui-body-a ui-corner-all'><span class='ui-icon ui-icon-loading spin'></span><h1>"+e.mobile.loadingMessage+"</h1></div>"):g;if(typeof c==="undefined"){alert(e.mobile.loadingMessage)}e.extend(e.mobile,{pageLoading:function(h){if(h){b.removeClass("ui-loading")}else{if(e.mobile.loadingMessage){var i=e("."+e.mobile.activeBtnClass).first();if(typeof c==="undefined"){alert(e.mobile.loadingMessage)}c.appendTo(e.mobile.pageContainer).css({top:e.support.scrollTop&&e(d).scrollTop()+e(d).height()/2||i.length&&i.offset().top||100})}b.addClass("ui-loading")}},initializePage:function(){var h=e(":jqmData(role='page')");h.add(":jqmData(role='dialog')").each(function(){var i=e(this);if(!i.jqmData("url")){i.attr("data-"+e.mobile.ns+"url",i.attr("id"))}});e.mobile.firstPage=h.first();e.mobile.pageContainer=h.first().parent().addClass("ui-mobile-viewport");e.mobile.pageLoading();if(!e.mobile.hashListeningEnabled||!e.mobile.path.stripHash(location.hash)){e.mobile.changePage(e.mobile.firstPage,false,true,false,true)}else{f.trigger("hashchange",[true])}}});e(e.mobile.initializePage);f.load(e.mobile.silentScroll)})(jQuery,this);(function(a){a.themeswitcher=function(){if(a("[data-"+a.mobile.ns+"-url=themeswitcher]").length){return}var c="/stylesheets/compiled/jquery/mobile/",b=["default","valencia"],d=a.mobile.activePage,e=a("<div data-"+a.mobile.ns+'url="themeswitcher" data-'+a.mobile.ns+"role='dialog' data-"+a.mobile.ns+"theme='a'><div data-"+a.mobile.ns+"role='header' data-"+a.mobile.ns+"theme='b'><div class='ui-title'>Switch Theme:</div></div><div data-"+a.mobile.ns+"role='content' data-"+a.mobile.ns+"theme='c'><ul data-"+a.mobile.ns+"role='listview' data-"+a.mobile.ns+"inset='true'></ul></div></div>").appendTo(a.mobile.pageContainer),g=e.find("ul");a.each(b,function(h){a('<li><a href="#" data-'+a.mobile.ns+'rel="back">'+b[h].charAt(0).toUpperCase()+b[h].substr(1)+"</a></li>").click(function(){f(b[h]);return false}).appendTo(g)});function f(h){a("head").append("<link rel='stylesheet' href='"+c+h+"/' />")}e.page()}})(jQuery);
|
37
|
+
(function(c,b,d){function a(h,g,l,j){var e=new c.Deferred(),i=g?" reverse":"",f="ui-mobile-viewport-transitioning viewport-"+h,k=function(){l.add(j).removeClass("out in reverse "+h);if(j){j.removeClass(c.mobile.activePageClass)}l.parent().removeClass(f);e.resolve(h,g,l,j)};l.animationComplete(k);l.parent().addClass(f);if(j){j.addClass(h+" out"+i)}l.addClass(c.mobile.activePageClass+" "+h+" in"+i);return e.promise()}c.mobile.css3TransitionHandler=a;if(c.mobile.defaultTransitionHandler===c.mobile.noneTransitionHandler){c.mobile.defaultTransitionHandler=a}})(jQuery,this);(function(a,b){a.fn.fixHeaderFooter=function(c){if(!a.support.scrollTop){return this}return this.each(function(){var d=a(this);if(d.jqmData("fullscreen")){d.addClass("ui-page-fullscreen")}d.find(".ui-header:jqmData(position='fixed')").addClass("ui-header-fixed ui-fixed-inline fade");d.find(".ui-footer:jqmData(position='fixed')").addClass("ui-footer-fixed ui-fixed-inline fade")})};a.fixedToolbars=(function(){if(!a.support.scrollTop){return}var g="inline",o=false,d=100,e,n="a,input,textarea,select,button,label,.ui-header-fixed,.ui-footer-fixed",p=".ui-header-fixed:first, .ui-footer-fixed:not(.ui-footer-duplicate):last",m,i=a.support.touch,q=i?"touchstart.toolbar":"mousedown.toolbar",k=i?"touchend.toolbar":"mouseup.toolbar",h=null,j=false,c=true;function f(s){if(!o&&g=="overlay"){if(!e){a.fixedToolbars.hide(true)}a.fixedToolbars.startShowTimer()}}a(function(){a(document).bind("vmousedown.toolbar",function(s){if(c){h=g}}).bind("vclick.toolbar",function(s){if(c){if(a(s.target).closest(n).length){return}if(!j){a.fixedToolbars.toggle(h);h=null}}}).bind("scrollstart.toolbar",function(t){j=true;if(h==null){h=g}var s=h=="overlay";o=s||!!e;if(o){a.fixedToolbars.clearShowTimer();if(s){a.fixedToolbars.hide(true)}}}).bind("scrollstop.toolbar",function(s){if(a(s.target).closest(n).length){return}j=false;if(o){o=false;a.fixedToolbars.startShowTimer()}h=null}).bind("silentscroll.toolbar",f);a(window).bind("resize.toolbar",f)});a(".ui-page").live("pagebeforeshow.toolbar",function(t,w){var v=a(t.target),z=v.find(":jqmData(role='footer')"),y=z.data("id"),s=w.prevPage,x=s&&s.find(":jqmData(role='footer')"),u=x.length&&x.jqmData("id")===y;if(y&&u){m=z;r(m.removeClass("fade in out").appendTo(a.mobile.pageContainer))}});a(".ui-page").live("pageshow.toolbar",function(s,t){var u=a(this);if(m&&m.length){setTimeout(function(){r(m.appendTo(u).addClass("fade"));m=null},500)}a.fixedToolbars.show(true,this)});a(".ui-collapsible-contain").live("collapse expand",f);function l(t){var u=0;if(t){var v=t.offsetParent,s=document.body;u=t.offsetTop;while(t&&t!=s){u+=t.scrollTop||0;if(t==v){u+=v.offsetTop;v=t.offsetParent}t=t.parentNode}}return u}function r(w){var s=a(window).scrollTop(),x=l(w[0]),v=w.css("top")=="auto"?0:parseFloat(w.css("top")),z=window.innerHeight,y=w.outerHeight(),u=w.parents(".ui-page:not(.ui-page-fullscreen)").length,t;if(w.is(".ui-header-fixed")){t=s-x+v;if(t<x){t=0}return w.css("top",(u)?t:s)}else{t=s+z-y-(x-v);return w.css("top",(u)?t:s+z-y)}}return{show:function(s,u){a.fixedToolbars.clearShowTimer();g="overlay";var t=u?a(u):(a.mobile.activePage?a.mobile.activePage:a(".ui-page-active"));return t.children(p).each(function(){var x=a(this),v=a(window).scrollTop(),y=l(x[0]),A=window.innerHeight,z=x.outerHeight(),w=(x.is(".ui-header-fixed")&&v<=y+z)||(x.is(".ui-footer-fixed")&&y<=v+A);x.addClass("ui-fixed-overlay").removeClass("ui-fixed-inline");if(!w&&!s){x.animationComplete(function(){x.removeClass("in")}).addClass("in")}r(x)})},hide:function(s){g="inline";var t=a.mobile.activePage?a.mobile.activePage:a(".ui-page-active");return t.children(p).each(function(){var w=a(this);var v=w.css("top");v=v=="auto"?0:parseFloat(v);w.addClass("ui-fixed-inline").removeClass("ui-fixed-overlay");if(v<0||(w.is(".ui-header-fixed")&&v!=0)){if(s){w.css("top",0)}else{if(w.css("top")!=="auto"&&parseFloat(w.css("top"))!==0){var u="out reverse";w.animationComplete(function(){w.removeClass(u);w.css("top",0)}).addClass(u)}}}})},startShowTimer:function(){a.fixedToolbars.clearShowTimer();var s=a.makeArray(arguments);e=setTimeout(function(){e=b;a.fixedToolbars.show.apply(null,s)},d)},clearShowTimer:function(){if(e){clearTimeout(e)}e=b},toggle:function(s){if(s){g=s}return(g=="overlay")?a.fixedToolbars.hide():a.fixedToolbars.show()},setTouchToggleEnabled:function(s){c=s}}})()})(jQuery);(function(a,b){a.widget("mobile.checkboxradio",a.mobile.widget,{options:{theme:null},_create:function(){var d=this,c=this.element,f=c.closest("form,fieldset,:jqmData(role='page')").find("label").filter('[for="'+c[0].id+'"]'),h=c.attr("type"),g="ui-icon-"+h+"-on",e="ui-icon-"+h+"-off";if(h!="checkbox"&&h!="radio"){return}a.extend(this,{label:f,inputtype:h,checkedicon:g,uncheckedicon:e});if(!this.options.theme){this.options.theme=this.element.jqmData("theme")}f.buttonMarkup({theme:this.options.theme,icon:this.element.parents(":jqmData(type='horizontal')").length?b:e,shadow:false});c.add(f).wrapAll("<div class='ui-"+h+"'></div>");f.bind({vmouseover:function(){if(a(this).parent().is(".ui-disabled")){return false}},vclick:function(i){if(c.is(":disabled")){i.preventDefault();return}d._cacheVals();c.attr("checked",h==="radio"&&true||!c.is(":checked"));d._getInputSet().not(c).removeAttr("checked");d._updateAll();return false}});c.bind({vmousedown:function(){this._cacheVals()},vclick:function(){d._updateAll()},focus:function(){f.addClass("ui-focus")},blur:function(){f.removeClass("ui-focus")}});this.refresh()},_cacheVals:function(){this._getInputSet().each(function(){a(this).jqmData("cacheVal",a(this).is(":checked"))})},_getInputSet:function(){return this.element.closest("form,fieldset,:jqmData(role='page')").find("input[name='"+this.element.attr("name")+"'][type='"+this.inputtype+"']")},_updateAll:function(){var c=this;this._getInputSet().each(function(){if(a(this).is(":checked")||c.inputtype==="checkbox"){a(this).trigger("change")}}).checkboxradio("refresh")},refresh:function(){var c=this.element,d=this.label,e=d.find(".ui-icon");if(a(c[0]).attr("checked")){d.addClass(a.mobile.activeBtnClass);e.addClass(this.checkedicon).removeClass(this.uncheckedicon)}else{d.removeClass(a.mobile.activeBtnClass);e.removeClass(this.checkedicon).addClass(this.uncheckedicon)}if(c.is(":disabled")){this.disable()}else{this.enable()}},disable:function(){this.element.attr("disabled",true).parent().addClass("ui-disabled")},enable:function(){this.element.attr("disabled",false).parent().removeClass("ui-disabled")}})})(jQuery);(function(a,b){a.widget("mobile.textinput",a.mobile.widget,{options:{theme:null},_create:function(){var k=this.element,e=this.options,h=e.theme,n;if(!h){var f=this.element.closest("[class*='ui-bar-'],[class*='ui-body-']");h=f.length?/ui-(bar|body)-([a-z])/.exec(f.attr("class"))[2]:"c"}n=" ui-body-"+h;a('label[for="'+k.attr("id")+'"]').addClass("ui-input-text");k.addClass("ui-input-text ui-body-"+e.theme);var i=k;if(k.is("[type='search'],:jqmData(type='search')")){i=k.wrap('<div class="ui-input-search ui-shadow-inset ui-btn-corner-all ui-btn-shadow ui-icon-searchfield'+n+'"></div>').parent();var l=a('<a href="#" class="ui-input-clear" title="clear text">clear text</a>').tap(function(o){k.val("").focus();k.trigger("change");l.addClass("ui-input-clear-hidden");o.preventDefault()}).appendTo(i).buttonMarkup({icon:"delete",iconpos:"notext",corners:true,shadow:true});function d(){if(k.val()==""){l.addClass("ui-input-clear-hidden")}else{l.removeClass("ui-input-clear-hidden")}}d();k.keyup(d);k.focus(d)}else{k.addClass("ui-corner-all ui-shadow-inset"+n)}k.focus(function(){i.addClass("ui-focus")}).blur(function(){i.removeClass("ui-focus")});if(k.is("textarea")){var g=15,j=100,c=function(){var p=k[0].scrollHeight,o=k[0].clientHeight;if(o<p){k.css({height:(p+g)})}},m;k.keyup(function(){clearTimeout(m);m=setTimeout(c,j)})}},disable:function(){(this.element.attr("disabled",true).is("[type='search'],:jqmData(type='search')")?this.element.parent():this.element).addClass("ui-disabled")},enable:function(){(this.element.attr("disabled",false).is("[type='search'],:jqmData(type='search')")?this.element.parent():this.element).removeClass("ui-disabled")}})})(jQuery);(function(a,b){a.widget("mobile.selectmenu",a.mobile.widget,{options:{theme:null,disabled:false,icon:"arrow-d",iconpos:"right",inline:null,corners:true,shadow:true,iconshadow:true,menuPageTheme:"b",overlayTheme:"a",hidePlaceholderMenuItems:true,closeText:"Close",nativeMenu:true},_create:function(){var r=this,u=this.options,t=this.element.wrap("<div class='ui-select'>"),x=t.attr("id"),n=a('label[for="'+x+'"]').addClass("ui-select"),h=t[0].selectedIndex==-1?0:t[0].selectedIndex,e=(r.options.nativeMenu?a("<div/>"):a("<a>",{href:"#",role:"button",id:m,"aria-haspopup":"true","aria-owns":p})).text(a(t[0].options.item(h)).text()).insertBefore(t).buttonMarkup({theme:u.theme,icon:u.icon,iconpos:u.iconpos,inline:u.inline,corners:u.corners,shadow:u.shadow,iconshadow:u.iconshadow}),k=r.isMultiple=t[0].multiple;if(u.nativeMenu&&window.opera&&window.opera.version){t.addClass("ui-select-nativeonly")}if(!u.nativeMenu){var i=t.find("option"),m=x+"-button",p=x+"-menu",c=t.closest(".ui-page"),z=/ui-btn-up-([a-z])/.exec(e.attr("class"))[1],s=a("<div data-"+a.mobile.ns+"role='dialog' data-"+a.mobile.ns+"theme='"+u.menuPageTheme+"'><div data-"+a.mobile.ns+"role='header'><div class='ui-title'>"+n.text()+"</div></div><div data-"+a.mobile.ns+"role='content'></div></div>").appendTo(a.mobile.pageContainer).page(),j=s.find(".ui-content"),g=s.find(".ui-header a"),f=a("<div>",{"class":"ui-selectmenu-screen ui-screen-hidden"}).appendTo(c),d=a("<div>",{"class":"ui-selectmenu ui-selectmenu-hidden ui-overlay-shadow ui-corner-all pop ui-body-"+u.overlayTheme}).insertAfter(f),y=a("<ul>",{"class":"ui-selectmenu-list",id:p,role:"listbox","aria-labelledby":m}).attr("data-"+a.mobile.ns+"theme",z).appendTo(d),w=a("<div>",{"class":"ui-header ui-bar-"+z}).prependTo(d),v=a("<h1>",{"class":"ui-title"}).appendTo(w),l=a("<a>",{text:u.closeText,href:"#","class":"ui-btn-left"}).attr("data-"+a.mobile.ns+"iconpos","notext").attr("data-"+a.mobile.ns+"icon","delete").appendTo(w).buttonMarkup(),q}if(k){r.buttonCount=a("<span>").addClass("ui-li-count ui-btn-up-c ui-btn-corner-all").hide().appendTo(e)}if(u.disabled){this.disable()}t.change(function(){r.refresh()});a.extend(r,{select:t,optionElems:i,selectID:x,label:n,buttonId:m,menuId:p,thisPage:c,button:e,menuPage:s,menuPageContent:j,screen:f,listbox:d,list:y,menuType:q,header:w,headerClose:l,headerTitle:v,placeholder:""});if(u.nativeMenu){t.appendTo(e).bind("vmousedown",function(o){e.addClass(a.mobile.activeBtnClass)}).bind("focus vmouseover",function(){e.trigger("vmouseover")}).bind("vmousemove",function(){e.removeClass(a.mobile.activeBtnClass)}).bind("change blur vmouseout",function(){e.trigger("vmouseout").removeClass(a.mobile.activeBtnClass)})}else{r.refresh();t.attr("tabindex","-1").focus(function(){a(this).blur();e.focus()});e.bind("vclick keydown",function(o){if(o.type=="vclick"||o.keyCode&&(o.keyCode===a.mobile.keyCode.ENTER||o.keyCode===a.mobile.keyCode.SPACE)){r.open();o.preventDefault()}});y.attr("role","listbox").delegate(".ui-li>a","focusin",function(){a(this).attr("tabindex","0")}).delegate(".ui-li>a","focusout",function(){a(this).attr("tabindex","-1")}).delegate("li:not(.ui-disabled, .ui-li-divider)","vclick",function(B){var C=t[0].selectedIndex,o=y.find("li:not(.ui-li-divider)").index(this),A=r.optionElems.eq(o)[0];A.selected=k?!A.selected:true;if(k){a(this).find(".ui-icon").toggleClass("ui-icon-checkbox-on",A.selected).toggleClass("ui-icon-checkbox-off",!A.selected)}if(C!==o){t.trigger("change")}if(!k){r.close()}B.preventDefault()}).keydown(function(D){var C=a(D.target),o=C.closest("li");switch(D.keyCode){case 38:var B=o.prev();if(B.length){C.blur().attr("tabindex","-1");B.find("a").first().focus()}return false;break;case 40:var A=o.next();if(A.length){C.blur().attr("tabindex","-1");A.find("a").first().focus()}return false;break;case 13:case 32:C.trigger("vclick");return false;break}});f.bind("vclick",function(o){r.close()});r.headerClose.click(function(){if(r.menuType=="overlay"){r.close();return false}})}},_buildList:function(){var e=this,h=this.options,g=this.placeholder,c=[],f=[],d=e.isMultiple?"checkbox-off":"false";e.list.empty().filter(".ui-listview").listview("destroy");e.select.find("option").each(function(m){var p=a(this),o=p.parent(),q=p.text(),j="<a href='#'>"+q+"</a>",l=[],n=[];if(o.is("optgroup")){var k=o.attr("label");if(a.inArray(k,c)===-1){f.push("<li data-"+a.mobile.ns+"role='list-divider'>"+k+"</li>");c.push(k)}}if(!this.getAttribute("value")||q.length==0||p.jqmData("placeholder")){if(h.hidePlaceholderMenuItems){l.push("ui-selectmenu-placeholder")}g=e.placeholder=q}if(this.disabled){l.push("ui-disabled");n.push("aria-disabled='true'")}f.push("<li data-"+a.mobile.ns+"icon='"+d+"' class='"+l.join(" ")+"' "+n.join(" ")+">"+j+"</li>")});e.list.html(f.join(" "));e.list.find("li").attr({role:"option",tabindex:"-1"}).first().attr("tabindex","0");if(!this.isMultiple){this.headerClose.hide()}if(!this.isMultiple&&!g.length){this.header.hide()}else{this.headerTitle.text(this.placeholder)}e.list.listview()},refresh:function(g){var d=this,c=this.element,h=this.isMultiple,e=this.optionElems=c.find("option"),f=e.filter(":selected"),i=f.map(function(){return e.index(this)}).get();if(!d.options.nativeMenu&&(g||c[0].options.length!=d.list.find("li").length)){d._buildList()}d.button.find(".ui-btn-text").text(function(){if(!h){return f.text()}return f.length?f.map(function(){return a(this).text()}).get().join(", "):d.placeholder});if(h){d.buttonCount[f.length>1?"show":"hide"]().text(f.length)}if(!d.options.nativeMenu){d.list.find("li:not(.ui-li-divider)").removeClass(a.mobile.activeBtnClass).attr("aria-selected",false).each(function(j){if(a.inArray(j,i)>-1){var k=a(this).addClass(a.mobile.activeBtnClass);k.find("a").attr("aria-selected",true);if(h){k.find(".ui-icon").removeClass("ui-icon-checkbox-off").addClass("ui-icon-checkbox-on")}}})}},open:function(){if(this.options.disabled||this.options.nativeMenu){return}var p=this,g=p.list.parent().outerHeight(),l=p.list.parent().outerWidth(),f=a(window).scrollTop(),o=p.button.offset().top,e=window.innerHeight,d=window.innerWidth;p.button.addClass(a.mobile.activeBtnClass);setTimeout(function(){p.button.removeClass(a.mobile.activeBtnClass)},300);function h(){p.list.find(".ui-btn-active").focus()}if(g>e-80||!a.support.scrollTop){if(f==0&&o>e){p.thisPage.one("pagehide",function(){a(this).jqmData("lastScroll",o)})}p.menuPage.one("pageshow",function(){a(window).one("silentscroll",function(){h()})});p.menuType="page";p.menuPageContent.append(p.list);a.mobile.changePage(p.menuPage,"pop",false,true)}else{p.menuType="overlay";p.screen.height(a(document).height()).removeClass("ui-screen-hidden");var k=o-f,i=f+e-o,n=g/2,c=parseFloat(p.list.parent().css("max-width")),m,j;if(k>g/2&&i>g/2){m=o+(p.button.outerHeight()/2)-n}else{m=k>i?f+e-g-30:f+30}if(l<c){j=(d-l)/2}else{j=p.button.offset().left+p.button.outerWidth()/2-l/2;if(j<30){j=30}else{if((j+l)>d){j=d-l-30}}}p.listbox.append(p.list).removeClass("ui-selectmenu-hidden").css({top:m,left:j}).addClass("in");h()}setTimeout(function(){p.isOpen=true},400)},close:function(){if(this.options.disabled||!this.isOpen||this.options.nativeMenu){return}var c=this;function d(){setTimeout(function(){c.button.focus()},40);c.listbox.removeAttr("style").append(c.list)}if(c.menuType=="page"){c.menuPage.one("pagehide",d);window.history.back()}else{c.screen.addClass("ui-screen-hidden");c.listbox.addClass("ui-selectmenu-hidden").removeAttr("style").removeClass("in");d()}this.isOpen=false},disable:function(){this.element.attr("disabled",true);this.button.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)},enable:function(){this.element.attr("disabled",false);this.button.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)}})})(jQuery);(function(b,c){b.fn.buttonMarkup=function(e){return this.each(function(){var k=b(this),l=b.extend({},b.fn.buttonMarkup.defaults,k.jqmData(),e),g,i="ui-btn-inner",f;if(a){a()}if(!l.theme){var h=k.closest("[class*='ui-bar-'],[class*='ui-body-']");l.theme=h.length?/ui-(bar|body)-([a-z])/.exec(h.attr("class"))[2]:"c"}g="ui-btn ui-btn-up-"+l.theme;if(l.inline){g+=" ui-btn-inline"}if(l.icon){l.icon="ui-icon-"+l.icon;l.iconpos=l.iconpos||"left";f="ui-icon "+l.icon;if(l.shadow){f+=" ui-icon-shadow"}}if(l.iconpos){g+=" ui-btn-icon-"+l.iconpos;if(l.iconpos=="notext"&&!k.attr("title")){k.attr("title",k.text())}}if(l.corners){g+=" ui-btn-corner-all";i+=" ui-btn-corner-all"}if(l.shadow){g+=" ui-shadow"}k.attr("data-"+b.mobile.ns+"theme",l.theme).addClass(g);var j=("<D class='"+i+"'><D class='ui-btn-text'></D>"+(l.icon?"<span class='"+f+"'></span>":"")+"</D>").replace(/D/g,l.wrapperEls);k.wrapInner(j)})};b.fn.buttonMarkup.defaults={corners:true,shadow:true,iconshadow:true,wrapperEls:"span"};function d(e){while(e){var f=b(e);if(f.hasClass("ui-btn")&&!f.hasClass("ui-disabled")){break}e=e.parentNode}return e}var a=function(){b(document).bind({vmousedown:function(g){var e=d(g.target);if(e){var f=b(e),h=f.attr("data-"+b.mobile.ns+"theme");f.removeClass("ui-btn-up-"+h).addClass("ui-btn-down-"+h)}},"vmousecancel vmouseup":function(g){var e=d(g.target);if(e){var f=b(e),h=f.attr("data-"+b.mobile.ns+"theme");f.removeClass("ui-btn-down-"+h).addClass("ui-btn-up-"+h)}},"vmouseover focus":function(g){var e=d(g.target);if(e){var f=b(e),h=f.attr("data-"+b.mobile.ns+"theme");f.removeClass("ui-btn-up-"+h).addClass("ui-btn-hover-"+h)}},"vmouseout blur":function(g){var e=d(g.target);if(e){var f=b(e),h=f.attr("data-"+b.mobile.ns+"theme");f.removeClass("ui-btn-hover-"+h).addClass("ui-btn-up-"+h)}}});a=null}})(jQuery);(function(a,b){a.widget("mobile.button",a.mobile.widget,{options:{theme:null,icon:null,iconpos:null,inline:null,corners:true,shadow:true,iconshadow:true},_create:function(){var c=this.element,e=this.options;this.button=a("<div></div>").text(c.text()||c.val()).buttonMarkup({theme:e.theme,icon:e.icon,iconpos:e.iconpos,inline:e.inline,corners:e.corners,shadow:e.shadow,iconshadow:e.iconshadow}).insertBefore(c).append(c.addClass("ui-btn-hidden"));var d=c.attr("type");if(d!=="button"&&d!=="reset"){c.bind("vclick",function(){var f=a("<input>",{type:"hidden",name:c.attr("name"),value:c.attr("value")}).insertBefore(c);a(document).submit(function(){f.remove()})})}this.refresh()},enable:function(){this.element.attr("disabled",false);this.button.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)},disable:function(){this.element.attr("disabled",true);this.button.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)},refresh:function(){if(this.element.attr("disabled")){this.disable()}else{this.enable()}}})})(jQuery);(function(a,b){a.widget("mobile.slider",a.mobile.widget,{options:{theme:null,trackTheme:null,disabled:false},_create:function(){var r=this,j=this.element,f=j.parents("[class*=ui-bar-],[class*=ui-body-]").eq(0),f=f.length?f.attr("class").match(/ui-(bar|body)-([a-z])/)[2]:"c",k=this.options.theme?this.options.theme:f,g=this.options.trackTheme?this.options.trackTheme:f,l=j[0].nodeName.toLowerCase(),n=(l=="select")?"ui-slider-switch":"",h=j.attr("id"),m=h+"-label",q=a('[for="'+h+'"]').attr("id",m),e=function(){return(l=="input")?parseFloat(j.val()):j[0].selectedIndex},i=(l=="input")?parseFloat(j.attr("min")):0,p=(l=="input")?parseFloat(j.attr("max")):j.find("option").length-1,d=window.parseFloat(j.attr("step")||1),c=a('<div class="ui-slider '+n+" ui-btn-down-"+g+' ui-btn-corner-all" role="application"></div>'),o=a('<a href="#" class="ui-slider-handle"></a>').appendTo(c).buttonMarkup({corners:true,theme:k,shadow:true}).attr({role:"slider","aria-valuemin":i,"aria-valuemax":p,"aria-valuenow":e(),"aria-valuetext":e(),title:e(),"aria-labelledby":m});a.extend(this,{slider:c,handle:o,dragging:false,beforeStart:null});if(l=="select"){c.wrapInner('<div class="ui-slider-inneroffset"></div>');var s=j.find("option");j.find("option").each(function(v){var u=(v==0)?"b":"a",t=(v==0)?"right":"left",w=(v==0)?" ui-btn-down-"+g:" ui-btn-active";a('<div class="ui-slider-labelbg ui-slider-labelbg-'+u+w+" ui-btn-corner-"+t+'"></div>').prependTo(c);a('<span class="ui-slider-label ui-slider-label-'+u+w+" ui-btn-corner-"+t+'" role="img">'+a(this).text()+"</span>").prependTo(o)})}q.addClass("ui-slider");j.addClass((l=="input")?"ui-slider-input":"ui-slider-switch").change(function(){r.refresh(e(),true)}).keyup(function(){r.refresh(e(),true,true)}).blur(function(){r.refresh(e(),true)});a(document).bind("vmousemove",function(t){if(r.dragging){r.refresh(t);return false}});c.bind("vmousedown",function(t){r.dragging=true;if(l==="select"){r.beforeStart=j[0].selectedIndex}r.refresh(t);return false});c.add(document).bind("vmouseup",function(){if(r.dragging){r.dragging=false;if(l==="select"){if(r.beforeStart===j[0].selectedIndex){r.refresh(r.beforeStart===0?1:0)}var u=e();var t=Math.round(u/(p-i)*100);o.addClass("ui-slider-handle-snapping").css("left",t+"%").animationComplete(function(){o.removeClass("ui-slider-handle-snapping")})}return false}});c.insertAfter(j);this.handle.bind("vmousedown",function(){a(this).focus()}).bind("vclick",false);this.handle.bind("keydown",function(u){var t=e();if(r.options.disabled){return}switch(u.keyCode){case a.mobile.keyCode.HOME:case a.mobile.keyCode.END:case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:u.preventDefault();if(!r._keySliding){r._keySliding=true;a(this).addClass("ui-state-active")}break}switch(u.keyCode){case a.mobile.keyCode.HOME:r.refresh(i);break;case a.mobile.keyCode.END:r.refresh(p);break;case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:r.refresh(t+d);break;case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:r.refresh(t-d);break}}).keyup(function(t){if(r._keySliding){r._keySliding=false;a(this).removeClass("ui-state-active")}});this.refresh()},refresh:function(e,c,m){if(this.options.disabled){return}var h=this.element,j,i=h[0].nodeName.toLowerCase(),f=(i==="input")?parseFloat(h.attr("min")):0,k=(i==="input")?parseFloat(h.attr("max")):h.find("option").length-1;if(typeof e==="object"){var g=e,l=8;if(!this.dragging||g.pageX<this.slider.offset().left-l||g.pageX>this.slider.offset().left+this.slider.width()+l){return}j=Math.round(((g.pageX-this.slider.offset().left)/this.slider.width())*100)}else{if(e==null){e=(i==="input")?parseFloat(h.val()):h[0].selectedIndex}j=(parseFloat(e)-f)/(k-f)*100}if(isNaN(j)){return}if(j<0){j=0}if(j>100){j=100}var d=Math.round((j/100)*(k-f))+f;if(d<f){d=f}if(d>k){d=k}if(j>60&&i==="select"){}this.handle.css("left",j+"%");this.handle.attr({"aria-valuenow":(i==="input")?d:h.find("option").eq(d).attr("value"),"aria-valuetext":(i==="input")?d:h.find("option").eq(d).text(),title:d});if(i==="select"){if(d===0){this.slider.addClass("ui-slider-switch-a").removeClass("ui-slider-switch-b")}else{this.slider.addClass("ui-slider-switch-b").removeClass("ui-slider-switch-a")}}if(!m){if(i==="input"){h.val(d)}else{h[0].selectedIndex=d}if(!c){h.trigger("change")}}},enable:function(){this.element.attr("disabled",false);this.slider.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)},disable:function(){this.element.attr("disabled",true);this.slider.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)}})})(jQuery);(function(a,b){a.widget("mobile.collapsible",a.mobile.widget,{options:{expandCueText:" click to expand contents",collapseCueText:" click to collapse contents",collapsed:false,heading:">:header,>legend",theme:null,iconTheme:"d"},_create:function(){var e=this.element,f=this.options,c=e.addClass("ui-collapsible-contain"),d=e.find(f.heading).eq(0),i=c.wrapInner('<div class="ui-collapsible-content"></div>').find(".ui-collapsible-content"),h=e.closest(":jqmData(role='collapsible-set')").addClass("ui-collapsible-set");if(d.is("legend")){d=a('<div role="heading">'+d.html()+"</div>").insertBefore(d);d.next().remove()}d.insertBefore(i);d.addClass("ui-collapsible-heading").append('<span class="ui-collapsible-heading-status"></span>').wrapInner('<a href="#" class="ui-collapsible-heading-toggle"></a>').find("a:eq(0)").buttonMarkup({shadow:!!!h.length,corners:false,iconPos:"left",icon:"plus",theme:f.theme}).find(".ui-icon").removeAttr("class").buttonMarkup({shadow:true,corners:true,iconPos:"notext",icon:"plus",theme:f.iconTheme});if(!h.length){d.find("a:eq(0)").addClass("ui-corner-all").find(".ui-btn-inner").addClass("ui-corner-all")}else{if(c.jqmData("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}c.bind("collapse",function(j){if(!j.isDefaultPrevented()){j.preventDefault();d.addClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(f.expandCueText);d.find(".ui-icon").removeClass("ui-icon-minus").addClass("ui-icon-plus");i.addClass("ui-collapsible-content-collapsed").attr("aria-hidden",true);if(c.jqmData("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}}).bind("expand",function(j){if(!j.isDefaultPrevented()){j.preventDefault();d.removeClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(f.collapseCueText);d.find(".ui-icon").removeClass("ui-icon-plus").addClass("ui-icon-minus");i.removeClass("ui-collapsible-content-collapsed").attr("aria-hidden",false);if(c.jqmData("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").removeClass("ui-corner-bottom")}}}).trigger(f.collapsed?"collapse":"expand");if(h.length&&!h.jqmData("collapsiblebound")){h.jqmData("collapsiblebound",true).bind("expand",function(j){a(this).find(".ui-collapsible-contain").not(a(j.target).closest(".ui-collapsible-contain")).not("> .ui-collapsible-contain .ui-collapsible-contain").trigger("collapse")});var g=h.find(":jqmData(role=collapsible)");g.first().find("a:eq(0)").addClass("ui-corner-top").find(".ui-btn-inner").addClass("ui-corner-top");g.last().jqmData("collapsible-last",true)}d.bind("vclick",function(j){if(d.is(".ui-collapsible-heading-collapsed")){c.trigger("expand")}else{c.trigger("collapse")}j.preventDefault()})}})})(jQuery);(function(a,b){a.fn.controlgroup=function(c){return this.each(function(){var g=a.extend({direction:a(this).jqmData("type")||"vertical",shadow:false},c);var h=a(this).find(">legend"),d=g.direction=="horizontal"?["ui-corner-left","ui-corner-right"]:["ui-corner-top","ui-corner-bottom"],e=a(this).find("input:eq(0)").attr("type");if(h.length){a(this).wrapInner('<div class="ui-controlgroup-controls"></div>');a('<div role="heading" class="ui-controlgroup-label">'+h.html()+"</div>").insertBefore(a(this).children(0));h.remove()}a(this).addClass("ui-corner-all ui-controlgroup ui-controlgroup-"+g.direction);function f(i){i.removeClass("ui-btn-corner-all ui-shadow").eq(0).addClass(d[0]).end().filter(":last").addClass(d[1]).addClass("ui-controlgroup-last")}f(a(this).find(".ui-btn"));f(a(this).find(".ui-btn-inner"));if(g.shadow){a(this).addClass("ui-shadow")}})}})(jQuery);(function(a,b){a.fn.fieldcontain=function(c){return this.addClass("ui-field-contain ui-body ui-br")}})(jQuery);(function(a,b){a.widget("mobile.listview",a.mobile.widget,{options:{theme:"c",countTheme:"c",headerTheme:"b",dividerTheme:"b",splitIcon:"arrow-r",splitTheme:"b",inset:false},_create:function(){var c=this;c.element.addClass(function(d,e){return e+" ui-listview "+(c.options.inset?" ui-listview-inset ui-corner-all ui-shadow ":"")});c.refresh()},_itemApply:function(c,d){d.find(".ui-li-count").addClass("ui-btn-up-"+(c.jqmData("counttheme")||this.options.countTheme)+" ui-btn-corner-all").end().find("h1, h2, h3, h4, h5, h6").addClass("ui-li-heading").end().find("p, dl").addClass("ui-li-desc").end().find("img:first-child:eq(0)").addClass("ui-li-thumb").each(function(){d.addClass(a(this).is(".ui-li-icon")?"ui-li-has-icon":"ui-li-has-thumb")}).end().find(".ui-li-aside").each(function(){var e=a(this);e.prependTo(e.parent())})},_removeCorners:function(c){c.add(c.find(".ui-btn-inner, .ui-li-link-alt, .ui-li-thumb")).removeClass("ui-corner-top ui-corner-bottom ui-corner-br ui-corner-bl ui-corner-tr ui-corner-tl")},refresh:function(m){this._createSubPages();var r=this.options,c=this.element,q=this,v=c.jqmData("dividertheme")||r.dividerTheme,n=c.jqmData("splittheme"),h=c.jqmData("spliticon"),p=c.children("li"),k=a.support.cssPseudoElement||!a.nodeName(c[0],"ol")?0:1;if(k){c.find(".ui-li-dec").remove()}for(var i=0,f=p.length;i<f;i++){var t=p.eq(i),d="ui-li";if(!m&&t.hasClass("ui-li")){continue}var l=t.jqmData("theme")||r.theme,u=t.children("a");if(u.length){var s=t.jqmData("icon");t.buttonMarkup({wrapperEls:"div",shadow:false,corners:false,iconpos:"right",icon:u.length>1||s===false?false:s||"arrow-r",theme:l});u.first().addClass("ui-link-inherit");if(u.length>1){d+=" ui-li-has-alt";var j=u.last(),g=n||j.jqmData("theme")||r.splitTheme;j.appendTo(t).attr("title",j.text()).addClass("ui-li-link-alt").empty().buttonMarkup({shadow:false,corners:false,theme:l,icon:false,iconpos:false}).find(".ui-btn-inner").append(a("<span />").buttonMarkup({shadow:true,corners:true,theme:g,iconpos:"notext",icon:h||j.jqmData("icon")||r.splitIcon}))}}else{if(t.jqmData("role")==="list-divider"){d+=" ui-li-divider ui-btn ui-bar-"+v;t.attr("role","heading");if(k){k=1}}else{d+=" ui-li-static ui-body-"+l}}if(r.inset){if(i===0){d+=" ui-corner-top";t.add(t.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-tr").end().find(".ui-li-thumb").addClass("ui-corner-tl");if(t.next().next().length){q._removeCorners(t.next())}}if(i===p.length-1){d+=" ui-corner-bottom";t.add(t.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-br").end().find(".ui-li-thumb").addClass("ui-corner-bl");if(t.prev().prev().length){q._removeCorners(t.prev())}}}if(k&&d.indexOf("ui-li-divider")<0){var e=t.is(".ui-li-static:first")?t:t.find(".ui-link-inherit");e.addClass("ui-li-jsnumbering").prepend("<span class='ui-li-dec'>"+(k++)+". </span>")}t.add(t.find(".ui-btn-inner")).addClass(d);if(!m){q._itemApply(c,t)}}},_idStringEscape:function(c){return c.replace(/[^a-zA-Z0-9]/g,"-")},_createSubPages:function(){var e=this.element,d=e.closest(".ui-page"),i=d.jqmData("url"),h=this.options,c="data-"+a.mobile.ns,f=this,g=d.find(":jqmData(role='footer')").jqmData("id");a(e.find("li>ul, li>ol").toArray().reverse()).each(function(o){var p=a(this),r=p.parent(),s=a(p.prevAll().toArray().reverse()),s=s.length?s:a("<span>"+a.trim(r.contents()[0].nodeValue)+"</span>"),q=s.first().text(),j=i+"&"+a.mobile.subPageUrlKey+"="+f._idStringEscape(q+" "+o),n=p.jqmData("theme")||h.theme,k=p.jqmData("counttheme")||e.jqmData("counttheme")||h.countTheme,l=p.detach().wrap("<div "+c+"role='page' "+c+"url='"+j+"' "+c+"theme='"+n+"' "+c+"count-theme='"+k+"'><div "+c+"role='content'></div></div>").parent().before("<div "+c+"role='header' "+c+"theme='"+h.headerTheme+"'><div class='ui-title'>"+q+"</div></div>").after(g?a("<div "+c+"role='footer' "+c+"id='"+g+"'>"):"").parent().appendTo(a.mobile.pageContainer);l.page();var m=r.find("a:first");if(!m.length){m=a("<a />").html(s||q).prependTo(r.empty())}m.attr("href","#"+j)}).listview()}})})(jQuery);(function(a,b){a.mobile.listview.prototype.options.filter=false;a.mobile.listview.prototype.options.filterPlaceholder="Filter items...";a(":jqmData(role='listview')").live("listviewcreate",function(){var e=a(this),d=e.data("listview");if(!d.options.filter){return}var f=a("<form>",{"class":"ui-listview-filter ui-bar-c",role:"search"}),c=a("<input>",{placeholder:d.options.filterPlaceholder}).attr("data-"+a.mobile.ns+"type","search").jqmData("lastval","").bind("keyup change",function(){var m=this.value.toLowerCase(),k=null,n=a(this).jqmData("lastval")+"";a(this).jqmData("lastval",m);change=m.replace(new RegExp("^"+n),"");if(m.length<n.length||change.length!=(m.length-n.length)){k=e.children()}else{k=e.children(":not(.ui-screen-hidden)")}if(m){var j,l=false,h="";for(var g=k.length;g>=0;g--){j=a(k[g]);h=j.jqmData("filtertext")||j.text();if(j.is("li:jqmData(role=list-divider)")){j.toggleClass("ui-filter-hidequeue",!l);l=false}else{if(h.toLowerCase().indexOf(m)===-1){j.toggleClass("ui-filter-hidequeue",true)}else{l=true}}}k.filter(":not(.ui-filter-hidequeue)").toggleClass("ui-screen-hidden",false);k.filter(".ui-filter-hidequeue").toggleClass("ui-screen-hidden",true).toggleClass("ui-filter-hidequeue",false)}else{k.toggleClass("ui-screen-hidden",false)}}).appendTo(f).textinput();if(a(this).jqmData("inset")){f.addClass("ui-listview-filter-inset")}f.insertBefore(e)})})(jQuery);(function(a,b){a.widget("mobile.dialog",a.mobile.widget,{options:{closeBtnText:"Close"},_create:function(){var c=this,d=c.element;this.element.attr("role","dialog").addClass("ui-page ui-dialog ui-body-a").find(":jqmData(role=header)").addClass("ui-corner-top ui-overlay-shadow").prepend("<a href='#' data-"+a.mobile.ns+"icon='delete' data-"+a.mobile.ns+"rel='back' data-"+a.mobile.ns+"iconpos='notext'>"+this.options.closeBtnText+"</a>").end().find('.ui-content:not([class*="ui-body-"])').addClass("ui-body-c").end().find(".ui-content,:jqmData(role='footer')").last().addClass("ui-corner-bottom ui-overlay-shadow");this.element.bind("vclick submit",function(g){var f;if(g.type=="vclick"){f=a(g.target).closest("a")}else{f=a(g.target).closest("form")}if(f.length&&!f.jqmData("transition")){f.attr("data-"+a.mobile.ns+"transition",a.mobile.urlHistory.getActive().transition).attr("data-"+a.mobile.ns+"direction","reverse")}})},close:function(){window.history.back()}})})(jQuery);(function(a,b){a.widget("mobile.navbar",a.mobile.widget,{options:{iconpos:"top",grid:null},_create:function(){var e=this.element,c=e.find("a"),d=c.filter(":jqmData(icon)").length?this.options.iconpos:b;e.addClass("ui-navbar").attr("role","navigation").find("ul").grid({grid:this.options.grid});if(!d){e.addClass("ui-navbar-noicons")}c.buttonMarkup({corners:false,shadow:false,iconpos:d});e.delegate("a","vclick",function(f){c.not(".ui-state-persist").removeClass(a.mobile.activeBtnClass);a(this).addClass(a.mobile.activeBtnClass)})}})})(jQuery);(function(a,b){a.fn.grid=function(c){return this.each(function(){var h=a.extend({grid:null},c);var i=a(this).children(),f={solo:1,a:2,b:3,c:4,d:5},d=h.grid,e;if(!d){if(i.length<=5){for(var g in f){if(f[g]==i.length){d=g}}}else{d="a"}}e=f[d];a(this).addClass("ui-grid-"+d);i.filter(":nth-child("+e+"n+1)").addClass("ui-block-a");if(e>1){i.filter(":nth-child("+e+"n+2)").addClass("ui-block-b")}if(e>2){i.filter(":nth-child(3n+3)").addClass("ui-block-c")}if(e>3){i.filter(":nth-child(4n+4)").addClass("ui-block-d")}if(e>4){i.filter(":nth-child(5n+5)").addClass("ui-block-e")}})}})(jQuery);
|
38
|
+
/*!
|
39
|
+
* jQuery Mobile v1.0a4.1
|
40
|
+
* http://jquerymobile.com/
|
41
|
+
*
|
42
|
+
* Copyright 2010, jQuery Project
|
43
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
44
|
+
* http://jquery.org/license
|
45
|
+
*/
|
46
|
+
(function(e,d,g){var b=e("html"),a=e("head"),f=e(d);e(d.document).trigger("mobileinit");if(!e.mobile.gradeA()){return}b.addClass("ui-mobile ui-mobile-rendering");var c=e.mobile.loadingMessage?e("<div class='ui-loader ui-body-a ui-corner-all'><span class='ui-icon ui-icon-loading spin'></span><h1>"+e.mobile.loadingMessage+"</h1></div>"):g;e.extend(e.mobile,{pageLoading:function(h){if(h){b.removeClass("ui-loading")}else{if(e.mobile.loadingMessage){var i=e("."+e.mobile.activeBtnClass).first();c.appendTo(e.mobile.pageContainer).css({top:e.support.scrollTop&&e(d).scrollTop()+e(d).height()/2||i.length&&i.offset().top||100})}b.addClass("ui-loading")}},initializePage:function(){var h=e(":jqmData(role='page')");h.add(":jqmData(role='dialog')").each(function(){var i=e(this);if(!i.jqmData("url")){i.attr("data-"+e.mobile.ns+"url",i.attr("id"))}});e.mobile.firstPage=h.first();e.mobile.pageContainer=h.first().parent().addClass("ui-mobile-viewport");e.mobile.pageLoading();if(!e.mobile.hashListeningEnabled||!e.mobile.path.stripHash(location.hash)){e.mobile.changePage(e.mobile.firstPage,false,true,false,true)}else{f.trigger("hashchange",[true])}}});e(e.mobile.initializePage);f.load(e.mobile.silentScroll)})(jQuery,this);(function(a){a.themeswitcher=function(){if(a("[data-"+a.mobile.ns+"-url=themeswitcher]").length){return}var c="/stylesheets/compiled/jquery/mobile/",b=["default","valencia"],d=a.mobile.activePage,e=a("<div data-"+a.mobile.ns+'url="themeswitcher" data-'+a.mobile.ns+"role='dialog' data-"+a.mobile.ns+"theme='a'><div data-"+a.mobile.ns+"role='header' data-"+a.mobile.ns+"theme='b'><div class='ui-title'>Switch Theme:</div></div><div data-"+a.mobile.ns+"role='content' data-"+a.mobile.ns+"theme='c'><ul data-"+a.mobile.ns+"role='listview' data-"+a.mobile.ns+"inset='true'></ul></div></div>").appendTo(a.mobile.pageContainer),g=e.find("ul");a.each(b,function(h){a('<li><a href="#" data-'+a.mobile.ns+'rel="back">'+b[h].charAt(0).toUpperCase()+b[h].substr(1)+"</a></li>").click(function(){f(b[h]);return false}).appendTo(g)});function f(h){a("head").append("<link rel='stylesheet' href='"+c+h+".css' />")}e.page()}})(jQuery);
|
@@ -0,0 +1,191 @@
|
|
1
|
+
.container_12 .alpha {
|
2
|
+
clear-left: 0; }
|
3
|
+
|
4
|
+
.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12 {
|
5
|
+
margin: 0;
|
6
|
+
padding: 0;
|
7
|
+
border: 0;
|
8
|
+
float: left; }
|
9
|
+
|
10
|
+
.container_12 {
|
11
|
+
overflow: hidden;
|
12
|
+
.grid_1 {
|
13
|
+
width: 8.333333333333334%; }
|
14
|
+
.grid_2 {
|
15
|
+
width: 16.666666666666668%; }
|
16
|
+
.grid_3 {
|
17
|
+
width: 25%; }
|
18
|
+
.grid_4 {
|
19
|
+
width: 33.333333333333336%; }
|
20
|
+
.grid_5 {
|
21
|
+
width: 41.66666666666667%; }
|
22
|
+
.grid_6 {
|
23
|
+
width: 50%; }
|
24
|
+
.grid_7 {
|
25
|
+
width: 58.333333333333336%; }
|
26
|
+
.grid_8 {
|
27
|
+
width: 66.66666666666667%; }
|
28
|
+
.grid_9 {
|
29
|
+
width: 75%; }
|
30
|
+
.grid_10 {
|
31
|
+
width: 83.33333333333334%; }
|
32
|
+
.grid_11 {
|
33
|
+
width: 91.66666666666667%; }
|
34
|
+
.grid_12 {
|
35
|
+
width: 100%; }
|
36
|
+
.prefix_1 {
|
37
|
+
padding-left: 8.333333333333334%; }
|
38
|
+
.prefix_2 {
|
39
|
+
padding-left: 16.666666666666668%; }
|
40
|
+
.prefix_3 {
|
41
|
+
padding-left: 25%; }
|
42
|
+
.prefix_4 {
|
43
|
+
padding-left: 33.333333333333336%; }
|
44
|
+
.prefix_5 {
|
45
|
+
padding-left: 41.66666666666667%; }
|
46
|
+
.prefix_6 {
|
47
|
+
padding-left: 50%; }
|
48
|
+
.prefix_7 {
|
49
|
+
padding-left: 58.333333333333336%; }
|
50
|
+
.prefix_8 {
|
51
|
+
padding-left: 66.66666666666667%; }
|
52
|
+
.prefix_9 {
|
53
|
+
padding-left: 75%; }
|
54
|
+
.prefix_10 {
|
55
|
+
padding-left: 83.33333333333334%; }
|
56
|
+
.prefix_11 {
|
57
|
+
padding-left: 91.66666666666667%; }
|
58
|
+
.prefix_12 {
|
59
|
+
padding-left: 100%; }
|
60
|
+
.suffix_1 {
|
61
|
+
padding-right: 8.333333333333334%; }
|
62
|
+
.suffix_2 {
|
63
|
+
padding-right: 16.666666666666668%; }
|
64
|
+
.suffix_3 {
|
65
|
+
padding-right: 25%; }
|
66
|
+
.suffix_4 {
|
67
|
+
padding-right: 33.333333333333336%; }
|
68
|
+
.suffix_5 {
|
69
|
+
padding-right: 41.66666666666667%; }
|
70
|
+
.suffix_6 {
|
71
|
+
padding-right: 50%; }
|
72
|
+
.suffix_7 {
|
73
|
+
padding-right: 58.333333333333336%; }
|
74
|
+
.suffix_8 {
|
75
|
+
padding-right: 66.66666666666667%; }
|
76
|
+
.suffix_9 {
|
77
|
+
padding-right: 75%; }
|
78
|
+
.suffix_10 {
|
79
|
+
padding-right: 83.33333333333334%; }
|
80
|
+
.suffix_11 {
|
81
|
+
padding-right: 91.66666666666667%; }
|
82
|
+
.suffix_12 {
|
83
|
+
padding-right: 100%; } }
|
84
|
+
|
85
|
+
.container_16 .alpha {
|
86
|
+
clear-left: 0; }
|
87
|
+
|
88
|
+
.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12, .grid_13, .grid_14, .grid_15, .grid_16 {
|
89
|
+
margin: 0;
|
90
|
+
padding: 0;
|
91
|
+
border: 0;
|
92
|
+
float: left; }
|
93
|
+
|
94
|
+
.container_16 {
|
95
|
+
overflow: hidden;
|
96
|
+
.grid_1 {
|
97
|
+
width: 6.25%; }
|
98
|
+
.grid_2 {
|
99
|
+
width: 12.5%; }
|
100
|
+
.grid_3 {
|
101
|
+
width: 18.75%; }
|
102
|
+
.grid_4 {
|
103
|
+
width: 25%; }
|
104
|
+
.grid_5 {
|
105
|
+
width: 31.25%; }
|
106
|
+
.grid_6 {
|
107
|
+
width: 37.5%; }
|
108
|
+
.grid_7 {
|
109
|
+
width: 43.75%; }
|
110
|
+
.grid_8 {
|
111
|
+
width: 50%; }
|
112
|
+
.grid_9 {
|
113
|
+
width: 56.25%; }
|
114
|
+
.grid_10 {
|
115
|
+
width: 62.5%; }
|
116
|
+
.grid_11 {
|
117
|
+
width: 68.75%; }
|
118
|
+
.grid_12 {
|
119
|
+
width: 75%; }
|
120
|
+
.grid_13 {
|
121
|
+
width: 81.25%; }
|
122
|
+
.grid_14 {
|
123
|
+
width: 87.5%; }
|
124
|
+
.grid_15 {
|
125
|
+
width: 93.75%; }
|
126
|
+
.grid_16 {
|
127
|
+
width: 100%; }
|
128
|
+
.prefix_1 {
|
129
|
+
padding-left: 6.25%; }
|
130
|
+
.prefix_2 {
|
131
|
+
padding-left: 12.5%; }
|
132
|
+
.prefix_3 {
|
133
|
+
padding-left: 18.75%; }
|
134
|
+
.prefix_4 {
|
135
|
+
padding-left: 25%; }
|
136
|
+
.prefix_5 {
|
137
|
+
padding-left: 31.25%; }
|
138
|
+
.prefix_6 {
|
139
|
+
padding-left: 37.5%; }
|
140
|
+
.prefix_7 {
|
141
|
+
padding-left: 43.75%; }
|
142
|
+
.prefix_8 {
|
143
|
+
padding-left: 50%; }
|
144
|
+
.prefix_9 {
|
145
|
+
padding-left: 56.25%; }
|
146
|
+
.prefix_10 {
|
147
|
+
padding-left: 62.5%; }
|
148
|
+
.prefix_11 {
|
149
|
+
padding-left: 68.75%; }
|
150
|
+
.prefix_12 {
|
151
|
+
padding-left: 75%; }
|
152
|
+
.prefix_13 {
|
153
|
+
padding-left: 81.25%; }
|
154
|
+
.prefix_14 {
|
155
|
+
padding-left: 87.5%; }
|
156
|
+
.prefix_15 {
|
157
|
+
padding-left: 93.75%; }
|
158
|
+
.prefix_16 {
|
159
|
+
padding-left: 100%; }
|
160
|
+
.suffix_1 {
|
161
|
+
padding-right: 6.25%; }
|
162
|
+
.suffix_2 {
|
163
|
+
padding-right: 12.5%; }
|
164
|
+
.suffix_3 {
|
165
|
+
padding-right: 18.75%; }
|
166
|
+
.suffix_4 {
|
167
|
+
padding-right: 25%; }
|
168
|
+
.suffix_5 {
|
169
|
+
padding-right: 31.25%; }
|
170
|
+
.suffix_6 {
|
171
|
+
padding-right: 37.5%; }
|
172
|
+
.suffix_7 {
|
173
|
+
padding-right: 43.75%; }
|
174
|
+
.suffix_8 {
|
175
|
+
padding-right: 50%; }
|
176
|
+
.suffix_9 {
|
177
|
+
padding-right: 56.25%; }
|
178
|
+
.suffix_10 {
|
179
|
+
padding-right: 62.5%; }
|
180
|
+
.suffix_11 {
|
181
|
+
padding-right: 68.75%; }
|
182
|
+
.suffix_12 {
|
183
|
+
padding-right: 75%; }
|
184
|
+
.suffix_13 {
|
185
|
+
padding-right: 81.25%; }
|
186
|
+
.suffix_14 {
|
187
|
+
padding-right: 87.5%; }
|
188
|
+
.suffix_15 {
|
189
|
+
padding-right: 93.75%; }
|
190
|
+
.suffix_16 {
|
191
|
+
padding-right: 100%; } }
|
@@ -0,0 +1,213 @@
|
|
1
|
+
.container_12 .alpha {
|
2
|
+
clear-left: 0; }
|
3
|
+
|
4
|
+
.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12 {
|
5
|
+
margin: 0;
|
6
|
+
padding: 0;
|
7
|
+
border: 0;
|
8
|
+
float: left; }
|
9
|
+
|
10
|
+
.ui-mobile {
|
11
|
+
[data-role='page'], [data-role='dialog'] {
|
12
|
+
left: 50%;
|
13
|
+
margin-left: -480px;
|
14
|
+
width: 960px; } }
|
15
|
+
|
16
|
+
.ui-page {
|
17
|
+
left: 50%;
|
18
|
+
margin-left: -480px;
|
19
|
+
width: 960px; }
|
20
|
+
|
21
|
+
.container_12 {
|
22
|
+
width: 960px;
|
23
|
+
.grid_1 {
|
24
|
+
width: 77.5px; }
|
25
|
+
.grid_2 {
|
26
|
+
width: 155px; }
|
27
|
+
.grid_3 {
|
28
|
+
width: 232.5px; }
|
29
|
+
.grid_4 {
|
30
|
+
width: 310px; }
|
31
|
+
.grid_5 {
|
32
|
+
width: 387.5px; }
|
33
|
+
.grid_6 {
|
34
|
+
width: 465px; }
|
35
|
+
.grid_7 {
|
36
|
+
width: 542.5px; }
|
37
|
+
.grid_8 {
|
38
|
+
width: 620px; }
|
39
|
+
.grid_9 {
|
40
|
+
width: 697.5px; }
|
41
|
+
.grid_10 {
|
42
|
+
width: 775px; }
|
43
|
+
.grid_11 {
|
44
|
+
width: 852.5px; }
|
45
|
+
.grid_12 {
|
46
|
+
width: 930px; }
|
47
|
+
.prefix_1 {
|
48
|
+
padding-left: 77.5px; }
|
49
|
+
.prefix_2 {
|
50
|
+
padding-left: 155px; }
|
51
|
+
.prefix_3 {
|
52
|
+
padding-left: 232.5px; }
|
53
|
+
.prefix_4 {
|
54
|
+
padding-left: 310px; }
|
55
|
+
.prefix_5 {
|
56
|
+
padding-left: 387.5px; }
|
57
|
+
.prefix_6 {
|
58
|
+
padding-left: 465px; }
|
59
|
+
.prefix_7 {
|
60
|
+
padding-left: 542.5px; }
|
61
|
+
.prefix_8 {
|
62
|
+
padding-left: 620px; }
|
63
|
+
.prefix_9 {
|
64
|
+
padding-left: 697.5px; }
|
65
|
+
.prefix_10 {
|
66
|
+
padding-left: 775px; }
|
67
|
+
.prefix_11 {
|
68
|
+
padding-left: 852.5px; }
|
69
|
+
.prefix_12 {
|
70
|
+
padding-left: 930px; }
|
71
|
+
.suffix_1 {
|
72
|
+
padding-right: 77.5px; }
|
73
|
+
.suffix_2 {
|
74
|
+
padding-right: 155px; }
|
75
|
+
.suffix_3 {
|
76
|
+
padding-right: 232.5px; }
|
77
|
+
.suffix_4 {
|
78
|
+
padding-right: 310px; }
|
79
|
+
.suffix_5 {
|
80
|
+
padding-right: 387.5px; }
|
81
|
+
.suffix_6 {
|
82
|
+
padding-right: 465px; }
|
83
|
+
.suffix_7 {
|
84
|
+
padding-right: 542.5px; }
|
85
|
+
.suffix_8 {
|
86
|
+
padding-right: 620px; }
|
87
|
+
.suffix_9 {
|
88
|
+
padding-right: 697.5px; }
|
89
|
+
.suffix_10 {
|
90
|
+
padding-right: 775px; }
|
91
|
+
.suffix_11 {
|
92
|
+
padding-right: 852.5px; }
|
93
|
+
.suffix_12 {
|
94
|
+
padding-right: 930px; } }
|
95
|
+
|
96
|
+
.container_16 .alpha {
|
97
|
+
clear-left: 0; }
|
98
|
+
|
99
|
+
.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12, .grid_13, .grid_14, .grid_15, .grid_16 {
|
100
|
+
margin: 0;
|
101
|
+
padding: 0;
|
102
|
+
border: 0;
|
103
|
+
float: left; }
|
104
|
+
|
105
|
+
.ui-mobile {
|
106
|
+
[data-role='page'], [data-role='dialog'] {
|
107
|
+
left: 50%;
|
108
|
+
margin-left: -480px;
|
109
|
+
width: 960px; } }
|
110
|
+
|
111
|
+
.ui-page {
|
112
|
+
left: 50%;
|
113
|
+
margin-left: -480px;
|
114
|
+
width: 960px; }
|
115
|
+
|
116
|
+
.container_16 {
|
117
|
+
width: 960px;
|
118
|
+
.grid_1 {
|
119
|
+
width: 58.125px; }
|
120
|
+
.grid_2 {
|
121
|
+
width: 116.25px; }
|
122
|
+
.grid_3 {
|
123
|
+
width: 174.375px; }
|
124
|
+
.grid_4 {
|
125
|
+
width: 232.5px; }
|
126
|
+
.grid_5 {
|
127
|
+
width: 290.625px; }
|
128
|
+
.grid_6 {
|
129
|
+
width: 348.75px; }
|
130
|
+
.grid_7 {
|
131
|
+
width: 406.875px; }
|
132
|
+
.grid_8 {
|
133
|
+
width: 465px; }
|
134
|
+
.grid_9 {
|
135
|
+
width: 523.125px; }
|
136
|
+
.grid_10 {
|
137
|
+
width: 581.25px; }
|
138
|
+
.grid_11 {
|
139
|
+
width: 639.375px; }
|
140
|
+
.grid_12 {
|
141
|
+
width: 697.5px; }
|
142
|
+
.grid_13 {
|
143
|
+
width: 755.625px; }
|
144
|
+
.grid_14 {
|
145
|
+
width: 813.75px; }
|
146
|
+
.grid_15 {
|
147
|
+
width: 871.875px; }
|
148
|
+
.grid_16 {
|
149
|
+
width: 930px; }
|
150
|
+
.prefix_1 {
|
151
|
+
padding-left: 58.125px; }
|
152
|
+
.prefix_2 {
|
153
|
+
padding-left: 116.25px; }
|
154
|
+
.prefix_3 {
|
155
|
+
padding-left: 174.375px; }
|
156
|
+
.prefix_4 {
|
157
|
+
padding-left: 232.5px; }
|
158
|
+
.prefix_5 {
|
159
|
+
padding-left: 290.625px; }
|
160
|
+
.prefix_6 {
|
161
|
+
padding-left: 348.75px; }
|
162
|
+
.prefix_7 {
|
163
|
+
padding-left: 406.875px; }
|
164
|
+
.prefix_8 {
|
165
|
+
padding-left: 465px; }
|
166
|
+
.prefix_9 {
|
167
|
+
padding-left: 523.125px; }
|
168
|
+
.prefix_10 {
|
169
|
+
padding-left: 581.25px; }
|
170
|
+
.prefix_11 {
|
171
|
+
padding-left: 639.375px; }
|
172
|
+
.prefix_12 {
|
173
|
+
padding-left: 697.5px; }
|
174
|
+
.prefix_13 {
|
175
|
+
padding-left: 755.625px; }
|
176
|
+
.prefix_14 {
|
177
|
+
padding-left: 813.75px; }
|
178
|
+
.prefix_15 {
|
179
|
+
padding-left: 871.875px; }
|
180
|
+
.prefix_16 {
|
181
|
+
padding-left: 930px; }
|
182
|
+
.suffix_1 {
|
183
|
+
padding-right: 58.125px; }
|
184
|
+
.suffix_2 {
|
185
|
+
padding-right: 116.25px; }
|
186
|
+
.suffix_3 {
|
187
|
+
padding-right: 174.375px; }
|
188
|
+
.suffix_4 {
|
189
|
+
padding-right: 232.5px; }
|
190
|
+
.suffix_5 {
|
191
|
+
padding-right: 290.625px; }
|
192
|
+
.suffix_6 {
|
193
|
+
padding-right: 348.75px; }
|
194
|
+
.suffix_7 {
|
195
|
+
padding-right: 406.875px; }
|
196
|
+
.suffix_8 {
|
197
|
+
padding-right: 465px; }
|
198
|
+
.suffix_9 {
|
199
|
+
padding-right: 523.125px; }
|
200
|
+
.suffix_10 {
|
201
|
+
padding-right: 581.25px; }
|
202
|
+
.suffix_11 {
|
203
|
+
padding-right: 639.375px; }
|
204
|
+
.suffix_12 {
|
205
|
+
padding-right: 697.5px; }
|
206
|
+
.suffix_13 {
|
207
|
+
padding-right: 755.625px; }
|
208
|
+
.suffix_14 {
|
209
|
+
padding-right: 813.75px; }
|
210
|
+
.suffix_15 {
|
211
|
+
padding-right: 871.875px; }
|
212
|
+
.suffix_16 {
|
213
|
+
padding-right: 930px; } }
|