compass-jquery-plugin 0.3.2.5 → 0.3.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (292) hide show
  1. data/README.md +16 -1
  2. data/VERSION.yml +2 -2
  3. data/lib/handle_js_files.rb +21 -0
  4. data/lib/jquery/gridify/grid_view.rb +2 -2
  5. data/lib/jquery/jquery_selector_assertions.rb +0 -36
  6. data/lib/jquery/tiny_mce.rb +5 -0
  7. data/templates/dynatree/jquery.dynatree.js +17 -24
  8. data/templates/dynatree/jquery.dynatree.min.js +10 -10
  9. data/templates/ical/jquery.ical.js +107 -25
  10. data/templates/ical/jquery.ical.min.js +182 -180
  11. data/templates/ical/jquery/ical.scss +2 -2
  12. data/templates/jqgrid/jquery.jqGrid.js +2498 -2072
  13. data/templates/jqgrid/jquery.jqGrid.min.js +447 -431
  14. data/templates/jqgrid/jquery/jqGrid.scss +11 -9
  15. data/templates/jquery/history.adapter.jquery.js +52 -52
  16. data/templates/jquery/history.html4.js +680 -680
  17. data/templates/jquery/history.js +1288 -1288
  18. data/templates/jquery/jquery.js +8168 -8143
  19. data/templates/jquery/jquery/ui/cowboy.scss +87 -0
  20. data/templates/jquery/jquery/ui/cowboy/cowboy_hat.png +0 -0
  21. data/templates/jquery/jquery/ui/cowboy/ui-anim_basic_16x16.gif +0 -0
  22. data/templates/jquery/jquery/ui/cowboy/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  23. data/templates/jquery/jquery/ui/cowboy/ui-bg_diagonals-thick_20_ff7f00_40x40.png +0 -0
  24. data/templates/jquery/jquery/ui/cowboy/ui-bg_flat_10_000000_40x100.png +0 -0
  25. data/templates/jquery/jquery/ui/cowboy/ui-bg_glass_100_fdebdc_1x400.png +0 -0
  26. data/templates/jquery/jquery/ui/cowboy/ui-bg_glass_100_ffd6af_1x400.png +0 -0
  27. data/templates/jquery/jquery/ui/cowboy/ui-bg_glass_65_eeeeee_1x400.png +0 -0
  28. data/templates/jquery/jquery/ui/cowboy/ui-bg_gloss-wave_35_ff7f00_500x100.png +0 -0
  29. data/templates/jquery/jquery/ui/cowboy/ui-bg_highlight-soft_100_dddddd_1x100.png +0 -0
  30. data/templates/jquery/jquery/ui/cowboy/ui-bg_highlight-soft_75_c4884f_1x100.png +0 -0
  31. data/templates/jquery/jquery/ui/cowboy/ui-icons_222222_256x240.png +0 -0
  32. data/templates/jquery/jquery/ui/cowboy/ui-icons_228ef1_256x240.png +0 -0
  33. data/templates/jquery/jquery/ui/cowboy/ui-icons_333333_256x240.png +0 -0
  34. data/templates/jquery/jquery/ui/cowboy/ui-icons_913d00_256x240.png +0 -0
  35. data/templates/jquery/jquery/ui/cowboy/ui-icons_ff7f00_256x240.png +0 -0
  36. data/templates/jquery/jquery/ui/cowboy/ui-icons_ffd27a_256x240.png +0 -0
  37. data/templates/jquery/jquery/ui/cowboy/ui-icons_ffffff_256x240.png +0 -0
  38. data/templates/jquery/json2.js +214 -214
  39. data/templates/jquery/manifest.rb +19 -0
  40. data/templates/mobile/jquery.mobile.js +149 -96
  41. data/templates/mobile/jquery.mobile.min.js +2 -2
  42. data/templates/secret_sauce/app/views/shared/_ui_grid_for_without_block.js.haml +1 -1
  43. data/templates/tiny_mce/config/initializers/tiny_mce.rb +3 -0
  44. data/templates/tiny_mce/manifest.rb +251 -0
  45. data/templates/tiny_mce/tiny_mce/jquery.tinymce.js +1 -0
  46. data/templates/tiny_mce/tiny_mce/langs/en.js +222 -0
  47. data/templates/tiny_mce/tiny_mce/license.txt +504 -0
  48. data/templates/tiny_mce/tiny_mce/plugins/advhr/css/advhr.css +5 -0
  49. data/templates/tiny_mce/tiny_mce/plugins/advhr/editor_plugin.js +1 -0
  50. data/templates/tiny_mce/tiny_mce/plugins/advhr/editor_plugin_src.js +57 -0
  51. data/templates/tiny_mce/tiny_mce/plugins/advhr/js/rule.js +43 -0
  52. data/templates/tiny_mce/tiny_mce/plugins/advhr/langs/en_dlg.js +7 -0
  53. data/templates/tiny_mce/tiny_mce/plugins/advhr/rule.htm +58 -0
  54. data/templates/tiny_mce/tiny_mce/plugins/advimage/css/advimage.css +13 -0
  55. data/templates/tiny_mce/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
  56. data/templates/tiny_mce/tiny_mce/plugins/advimage/editor_plugin_src.js +50 -0
  57. data/templates/tiny_mce/tiny_mce/plugins/advimage/image.htm +235 -0
  58. data/templates/tiny_mce/tiny_mce/plugins/advimage/img/sample.gif +0 -0
  59. data/templates/tiny_mce/tiny_mce/plugins/advimage/js/image.js +445 -0
  60. data/templates/tiny_mce/tiny_mce/plugins/advimage/langs/en_dlg.js +45 -0
  61. data/templates/tiny_mce/tiny_mce/plugins/advlink/css/advlink.css +8 -0
  62. data/templates/tiny_mce/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
  63. data/templates/tiny_mce/tiny_mce/plugins/advlink/editor_plugin_src.js +61 -0
  64. data/templates/tiny_mce/tiny_mce/plugins/advlink/js/advlink.js +525 -0
  65. data/templates/tiny_mce/tiny_mce/plugins/advlink/langs/en_dlg.js +54 -0
  66. data/templates/tiny_mce/tiny_mce/plugins/advlink/link.htm +338 -0
  67. data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin.js +1 -0
  68. data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin_src.js +154 -0
  69. data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin.js +1 -0
  70. data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin_src.js +119 -0
  71. data/templates/tiny_mce/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
  72. data/templates/tiny_mce/tiny_mce/plugins/autosave/editor_plugin_src.js +431 -0
  73. data/templates/tiny_mce/tiny_mce/plugins/autosave/langs/en.js +4 -0
  74. data/templates/tiny_mce/tiny_mce/plugins/bbcode/editor_plugin.js +1 -0
  75. data/templates/tiny_mce/tiny_mce/plugins/bbcode/editor_plugin_src.js +120 -0
  76. data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
  77. data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin_src.js +154 -0
  78. data/templates/tiny_mce/tiny_mce/plugins/directionality/editor_plugin.js +1 -0
  79. data/templates/tiny_mce/tiny_mce/plugins/directionality/editor_plugin_src.js +82 -0
  80. data/templates/tiny_mce/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
  81. data/templates/tiny_mce/tiny_mce/plugins/emotions/editor_plugin_src.js +43 -0
  82. data/templates/tiny_mce/tiny_mce/plugins/emotions/emotions.htm +41 -0
  83. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
  84. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
  85. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
  86. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
  87. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
  88. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
  89. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
  90. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
  91. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
  92. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
  93. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
  94. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
  95. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
  96. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
  97. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
  98. data/templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
  99. data/templates/tiny_mce/tiny_mce/plugins/emotions/js/emotions.js +22 -0
  100. data/templates/tiny_mce/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
  101. data/templates/tiny_mce/tiny_mce/plugins/example/dialog.htm +22 -0
  102. data/templates/tiny_mce/tiny_mce/plugins/example/editor_plugin.js +1 -0
  103. data/templates/tiny_mce/tiny_mce/plugins/example/editor_plugin_src.js +84 -0
  104. data/templates/tiny_mce/tiny_mce/plugins/example/img/example.gif +0 -0
  105. data/templates/tiny_mce/tiny_mce/plugins/example/js/dialog.js +19 -0
  106. data/templates/tiny_mce/tiny_mce/plugins/example/langs/en.js +3 -0
  107. data/templates/tiny_mce/tiny_mce/plugins/example/langs/en_dlg.js +3 -0
  108. data/templates/tiny_mce/tiny_mce/plugins/fullpage/css/fullpage.css +182 -0
  109. data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin.js +1 -0
  110. data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin_src.js +166 -0
  111. data/templates/tiny_mce/tiny_mce/plugins/fullpage/fullpage.htm +571 -0
  112. data/templates/tiny_mce/tiny_mce/plugins/fullpage/js/fullpage.js +492 -0
  113. data/templates/tiny_mce/tiny_mce/plugins/fullpage/langs/en_dlg.js +85 -0
  114. data/templates/tiny_mce/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -0
  115. data/templates/tiny_mce/tiny_mce/plugins/fullscreen/editor_plugin_src.js +159 -0
  116. data/templates/tiny_mce/tiny_mce/plugins/fullscreen/fullscreen.htm +109 -0
  117. data/templates/tiny_mce/tiny_mce/plugins/iespell/editor_plugin.js +1 -0
  118. data/templates/tiny_mce/tiny_mce/plugins/iespell/editor_plugin_src.js +54 -0
  119. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -0
  120. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +696 -0
  121. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
  122. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  123. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  124. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
  125. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  126. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  127. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  128. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
  129. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/template.htm +387 -0
  130. data/templates/tiny_mce/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -0
  131. data/templates/tiny_mce/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +83 -0
  132. data/templates/tiny_mce/tiny_mce/plugins/layer/editor_plugin.js +1 -0
  133. data/templates/tiny_mce/tiny_mce/plugins/layer/editor_plugin_src.js +214 -0
  134. data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -0
  135. data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +139 -0
  136. data/templates/tiny_mce/tiny_mce/plugins/media/css/media.css +17 -0
  137. data/templates/tiny_mce/tiny_mce/plugins/media/editor_plugin.js +1 -0
  138. data/templates/tiny_mce/tiny_mce/plugins/media/editor_plugin_src.js +770 -0
  139. data/templates/tiny_mce/tiny_mce/plugins/media/js/embed.js +73 -0
  140. data/templates/tiny_mce/tiny_mce/plugins/media/js/media.js +340 -0
  141. data/templates/tiny_mce/tiny_mce/plugins/media/langs/en_dlg.js +109 -0
  142. data/templates/tiny_mce/tiny_mce/plugins/media/media.htm +812 -0
  143. data/templates/tiny_mce/tiny_mce/plugins/media/moxieplayer.swf +0 -0
  144. data/templates/tiny_mce/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
  145. data/templates/tiny_mce/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +53 -0
  146. data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin.js +1 -0
  147. data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin_src.js +90 -0
  148. data/templates/tiny_mce/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -0
  149. data/templates/tiny_mce/tiny_mce/plugins/pagebreak/editor_plugin_src.js +74 -0
  150. data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin.js +1 -0
  151. data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin_src.js +899 -0
  152. data/templates/tiny_mce/tiny_mce/plugins/paste/js/pastetext.js +36 -0
  153. data/templates/tiny_mce/tiny_mce/plugins/paste/js/pasteword.js +51 -0
  154. data/templates/tiny_mce/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
  155. data/templates/tiny_mce/tiny_mce/plugins/paste/pastetext.htm +27 -0
  156. data/templates/tiny_mce/tiny_mce/plugins/paste/pasteword.htm +21 -0
  157. data/templates/tiny_mce/tiny_mce/plugins/preview/editor_plugin.js +1 -0
  158. data/templates/tiny_mce/tiny_mce/plugins/preview/editor_plugin_src.js +53 -0
  159. data/templates/tiny_mce/tiny_mce/plugins/preview/example.html +28 -0
  160. data/templates/tiny_mce/tiny_mce/plugins/preview/jscripts/embed.js +73 -0
  161. data/templates/tiny_mce/tiny_mce/plugins/preview/preview.html +17 -0
  162. data/templates/tiny_mce/tiny_mce/plugins/print/editor_plugin.js +1 -0
  163. data/templates/tiny_mce/tiny_mce/plugins/print/editor_plugin_src.js +34 -0
  164. data/templates/tiny_mce/tiny_mce/plugins/save/editor_plugin.js +1 -0
  165. data/templates/tiny_mce/tiny_mce/plugins/save/editor_plugin_src.js +101 -0
  166. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/css/searchreplace.css +6 -0
  167. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -0
  168. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/editor_plugin_src.js +61 -0
  169. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/js/searchreplace.js +140 -0
  170. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/langs/en_dlg.js +16 -0
  171. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/searchreplace.htm +100 -0
  172. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/css/content.css +1 -0
  173. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
  174. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin_src.js +415 -0
  175. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
  176. data/templates/tiny_mce/tiny_mce/plugins/style/css/props.css +13 -0
  177. data/templates/tiny_mce/tiny_mce/plugins/style/editor_plugin.js +1 -0
  178. data/templates/tiny_mce/tiny_mce/plugins/style/editor_plugin_src.js +55 -0
  179. data/templates/tiny_mce/tiny_mce/plugins/style/js/props.js +635 -0
  180. data/templates/tiny_mce/tiny_mce/plugins/style/langs/en_dlg.js +70 -0
  181. data/templates/tiny_mce/tiny_mce/plugins/style/props.htm +838 -0
  182. data/templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -0
  183. data/templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin_src.js +114 -0
  184. data/templates/tiny_mce/tiny_mce/plugins/table/cell.htm +178 -0
  185. data/templates/tiny_mce/tiny_mce/plugins/table/css/cell.css +17 -0
  186. data/templates/tiny_mce/tiny_mce/plugins/table/css/row.css +25 -0
  187. data/templates/tiny_mce/tiny_mce/plugins/table/css/table.css +13 -0
  188. data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin.js +1 -0
  189. data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin_src.js +1183 -0
  190. data/templates/tiny_mce/tiny_mce/plugins/table/js/cell.js +284 -0
  191. data/templates/tiny_mce/tiny_mce/plugins/table/js/merge_cells.js +27 -0
  192. data/templates/tiny_mce/tiny_mce/plugins/table/js/row.js +232 -0
  193. data/templates/tiny_mce/tiny_mce/plugins/table/js/table.js +450 -0
  194. data/templates/tiny_mce/tiny_mce/plugins/table/langs/en_dlg.js +74 -0
  195. data/templates/tiny_mce/tiny_mce/plugins/table/merge_cells.htm +32 -0
  196. data/templates/tiny_mce/tiny_mce/plugins/table/row.htm +157 -0
  197. data/templates/tiny_mce/tiny_mce/plugins/table/table.htm +188 -0
  198. data/templates/tiny_mce/tiny_mce/plugins/template/blank.htm +12 -0
  199. data/templates/tiny_mce/tiny_mce/plugins/template/css/template.css +23 -0
  200. data/templates/tiny_mce/tiny_mce/plugins/template/editor_plugin.js +1 -0
  201. data/templates/tiny_mce/tiny_mce/plugins/template/editor_plugin_src.js +159 -0
  202. data/templates/tiny_mce/tiny_mce/plugins/template/js/template.js +106 -0
  203. data/templates/tiny_mce/tiny_mce/plugins/template/langs/en_dlg.js +15 -0
  204. data/templates/tiny_mce/tiny_mce/plugins/template/template.htm +31 -0
  205. data/templates/tiny_mce/tiny_mce/plugins/visualchars/editor_plugin.js +1 -0
  206. data/templates/tiny_mce/tiny_mce/plugins/visualchars/editor_plugin_src.js +83 -0
  207. data/templates/tiny_mce/tiny_mce/plugins/wordcount/editor_plugin.js +1 -0
  208. data/templates/tiny_mce/tiny_mce/plugins/wordcount/editor_plugin_src.js +114 -0
  209. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/abbr.htm +142 -0
  210. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/acronym.htm +142 -0
  211. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/attributes.htm +149 -0
  212. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/cite.htm +142 -0
  213. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/css/attributes.css +11 -0
  214. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/css/popup.css +9 -0
  215. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/del.htm +162 -0
  216. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -0
  217. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +132 -0
  218. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/ins.htm +162 -0
  219. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/abbr.js +28 -0
  220. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/acronym.js +28 -0
  221. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/attributes.js +125 -0
  222. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/cite.js +28 -0
  223. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/del.js +53 -0
  224. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/element_common.js +229 -0
  225. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/ins.js +53 -0
  226. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
  227. data/templates/tiny_mce/tiny_mce/themes/advanced/about.htm +52 -0
  228. data/templates/tiny_mce/tiny_mce/themes/advanced/anchor.htm +26 -0
  229. data/templates/tiny_mce/tiny_mce/themes/advanced/charmap.htm +51 -0
  230. data/templates/tiny_mce/tiny_mce/themes/advanced/color_picker.htm +74 -0
  231. data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template.js +1 -0
  232. data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template_src.js +1328 -0
  233. data/templates/tiny_mce/tiny_mce/themes/advanced/image.htm +80 -0
  234. data/templates/tiny_mce/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  235. data/templates/tiny_mce/tiny_mce/themes/advanced/img/flash.gif +0 -0
  236. data/templates/tiny_mce/tiny_mce/themes/advanced/img/icons.gif +0 -0
  237. data/templates/tiny_mce/tiny_mce/themes/advanced/img/iframe.gif +0 -0
  238. data/templates/tiny_mce/tiny_mce/themes/advanced/img/pagebreak.gif +0 -0
  239. data/templates/tiny_mce/tiny_mce/themes/advanced/img/quicktime.gif +0 -0
  240. data/templates/tiny_mce/tiny_mce/themes/advanced/img/realmedia.gif +0 -0
  241. data/templates/tiny_mce/tiny_mce/themes/advanced/img/shockwave.gif +0 -0
  242. data/templates/tiny_mce/tiny_mce/themes/advanced/img/trans.gif +0 -0
  243. data/templates/tiny_mce/tiny_mce/themes/advanced/img/video.gif +0 -0
  244. data/templates/tiny_mce/tiny_mce/themes/advanced/img/windowsmedia.gif +0 -0
  245. data/templates/tiny_mce/tiny_mce/themes/advanced/js/about.js +73 -0
  246. data/templates/tiny_mce/tiny_mce/themes/advanced/js/anchor.js +42 -0
  247. data/templates/tiny_mce/tiny_mce/themes/advanced/js/charmap.js +354 -0
  248. data/templates/tiny_mce/tiny_mce/themes/advanced/js/color_picker.js +329 -0
  249. data/templates/tiny_mce/tiny_mce/themes/advanced/js/image.js +247 -0
  250. data/templates/tiny_mce/tiny_mce/themes/advanced/js/link.js +153 -0
  251. data/templates/tiny_mce/tiny_mce/themes/advanced/js/source_editor.js +56 -0
  252. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/en.js +68 -0
  253. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/en_dlg.js +54 -0
  254. data/templates/tiny_mce/tiny_mce/themes/advanced/link.htm +57 -0
  255. data/templates/tiny_mce/tiny_mce/themes/advanced/shortcuts.htm +47 -0
  256. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/content.css +47 -0
  257. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/dialog.css +117 -0
  258. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  259. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
  260. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  261. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  262. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  263. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  264. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/ui.css +213 -0
  265. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/content.css +23 -0
  266. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +105 -0
  267. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/ui.css +101 -0
  268. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/content.css +46 -0
  269. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/dialog.css +116 -0
  270. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  271. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  272. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  273. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui.css +215 -0
  274. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +8 -0
  275. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
  276. data/templates/tiny_mce/tiny_mce/themes/advanced/source_editor.htm +25 -0
  277. data/templates/tiny_mce/tiny_mce/themes/simple/editor_template.js +1 -0
  278. data/templates/tiny_mce/tiny_mce/themes/simple/editor_template_src.js +84 -0
  279. data/templates/tiny_mce/tiny_mce/themes/simple/img/icons.gif +0 -0
  280. data/templates/tiny_mce/tiny_mce/themes/simple/langs/en.js +11 -0
  281. data/templates/tiny_mce/tiny_mce/themes/simple/skins/default/content.css +25 -0
  282. data/templates/tiny_mce/tiny_mce/themes/simple/skins/default/ui.css +32 -0
  283. data/templates/tiny_mce/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
  284. data/templates/tiny_mce/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  285. data/templates/tiny_mce/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
  286. data/templates/tiny_mce/tiny_mce/tiny_mce.js +1 -0
  287. data/templates/tiny_mce/tiny_mce/tiny_mce_popup.js +5 -0
  288. data/templates/tiny_mce/tiny_mce/utils/editable_selects.js +70 -0
  289. data/templates/tiny_mce/tiny_mce/utils/form_utils.js +207 -0
  290. data/templates/tiny_mce/tiny_mce/utils/mctabs.js +162 -0
  291. data/templates/tiny_mce/tiny_mce/utils/validate.js +252 -0
  292. metadata +273 -4
@@ -263,6 +263,25 @@ image 'jquery/ui/blitzer/ui-bg_highlight-soft_15_cc0000_1x100.png'
263
263
  image 'jquery/ui/blitzer/ui-icons_004276_256x240.png'
264
264
  image 'jquery/ui/blitzer/ui-icons_cc0000_256x240.png'
265
265
  image 'jquery/ui/blitzer/ui-icons_ffffff_256x240.png'
266
+ stylesheet 'jquery/ui/cowboy.scss'
267
+ image 'jquery/ui/cowboy/cowboy_hat.png'
268
+ image 'jquery/ui/cowboy/ui-anim_basic_16x16.gif'
269
+ image 'jquery/ui/cowboy/ui-bg_diagonals-thick_18_b81900_40x40.png'
270
+ image 'jquery/ui/cowboy/ui-bg_diagonals-thick_20_ff7f00_40x40.png'
271
+ image 'jquery/ui/cowboy/ui-bg_flat_10_000000_40x100.png'
272
+ image 'jquery/ui/cowboy/ui-bg_glass_100_fdebdc_1x400.png'
273
+ image 'jquery/ui/cowboy/ui-bg_glass_100_ffd6af_1x400.png'
274
+ image 'jquery/ui/cowboy/ui-bg_glass_65_eeeeee_1x400.png'
275
+ image 'jquery/ui/cowboy/ui-bg_gloss-wave_35_ff7f00_500x100.png'
276
+ image 'jquery/ui/cowboy/ui-bg_highlight-soft_100_dddddd_1x100.png'
277
+ image 'jquery/ui/cowboy/ui-bg_highlight-soft_75_c4884f_1x100.png'
278
+ image 'jquery/ui/cowboy/ui-icons_222222_256x240.png'
279
+ image 'jquery/ui/cowboy/ui-icons_228ef1_256x240.png'
280
+ image 'jquery/ui/cowboy/ui-icons_333333_256x240.png'
281
+ image 'jquery/ui/cowboy/ui-icons_913d00_256x240.png'
282
+ image 'jquery/ui/cowboy/ui-icons_ff7f00_256x240.png'
283
+ image 'jquery/ui/cowboy/ui-icons_ffd27a_256x240.png'
284
+ image 'jquery/ui/cowboy/ui-icons_ffffff_256x240.png'
266
285
  stylesheet 'jquery/ui/cupertino.scss'
267
286
  image 'jquery/ui/cupertino/ui-anim_basic_16x16.gif'
268
287
  image 'jquery/ui/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png'
@@ -1474,48 +1474,8 @@
1474
1474
  TAB: 9,
1475
1475
  UP: 38,
1476
1476
  WINDOWS: 91 // COMMAND
1477
- }
1478
- });
1479
-
1480
- //define vars for interal use
1481
- var $window = $(window),
1482
- $html = $("html"),
1483
- $head = $("head"),
1484
-
1485
- //loading div which appears during Ajax requests
1486
- //will not appear if $.mobile.loadingMessage is false
1487
- $loader = $.mobile.loadingMessage ?
1488
- $("<div class='ui-loader ui-body-a ui-corner-all'>" +
1489
- "<span class='ui-icon ui-icon-loading spin'></span>" +
1490
- "<h1>" + $.mobile.loadingMessage + "</h1>" +
1491
- "</div>")
1492
- : undefined;
1493
-
1494
- //expose some core utilities
1495
- $.extend($.mobile, {
1496
-
1497
- // turn on/off page loading message.
1498
- pageLoading: function (done) {
1499
- if (done) {
1500
- $html.removeClass("ui-loading");
1501
- } else {
1502
- if ($.mobile.loadingMessage) {
1503
- var activeBtn = $("." + $.mobile.activeBtnClass).first();
1504
-
1505
- $loader
1506
- .appendTo($.mobile.pageContainer)
1507
- //position at y center (if scrollTop supported), above the activeBtn (if defined), or just 100px from top
1508
- .css({
1509
- top: $.support.scrollTop && $(window).scrollTop() + $(window).height() / 2 ||
1510
- activeBtn.length && activeBtn.offset().top || 100
1511
- });
1512
- }
1513
-
1514
- $html.addClass("ui-loading");
1515
- }
1516
1477
  },
1517
1478
 
1518
- //scroll page vertically: scroll to 0 to hide iOS address bar, or pass a Y value
1519
1479
  silentScroll: function(ypos) {
1520
1480
  ypos = ypos || 0;
1521
1481
  // prevent scrollstart and scrollstop events
@@ -1653,6 +1613,31 @@
1653
1613
  urlHistory.stack = urlHistory.stack.slice(0, urlHistory.activeIndex + 1);
1654
1614
  },
1655
1615
 
1616
+ directHashChange: function(opts) {
1617
+ var back , forward, newActiveIndex;
1618
+
1619
+ // check if url isp in history and if it's ahead or behind current page
1620
+ $.each(urlHistory.stack, function(i, historyEntry) {
1621
+
1622
+ //if the url is in the stack, it's a forward or a back
1623
+ if (opts.currentUrl === historyEntry.url) {
1624
+ //define back and forward by whether url is older or newer than current page
1625
+ back = i < urlHistory.activeIndex;
1626
+ forward = !back;
1627
+ newActiveIndex = i;
1628
+ }
1629
+ });
1630
+
1631
+ // save new page index, null check to prevent falsey 0 result
1632
+ this.activeIndex = newActiveIndex !== undefined ? newActiveIndex : this.activeIndex;
1633
+
1634
+ if (back) {
1635
+ opts.isBack();
1636
+ } else if (forward) {
1637
+ opts.isForward();
1638
+ }
1639
+ },
1640
+
1656
1641
  //disable hashchange event listener internally to ignore one change
1657
1642
  //toggled internally when location.hash is updated to match the url of a successful page load
1658
1643
  ignoreNextHashChange: true
@@ -1714,7 +1699,7 @@
1714
1699
 
1715
1700
  //set the generated BASE element's href attribute to a new page's base path
1716
1701
  set: function(href) {
1717
- base.element.attr('href', docBase + path.get(href));
1702
+ base.element.attr('href', docBase + path.get(href).replace(/^\//, ""));
1718
1703
  },
1719
1704
 
1720
1705
  //set the generated BASE element's href attribute to a new page's base path
@@ -1760,6 +1745,7 @@
1760
1745
  else {
1761
1746
  // defer execution for consistency between webkit/non webkit
1762
1747
  setTimeout(callback, 0);
1748
+ return $(this);
1763
1749
  }
1764
1750
  };
1765
1751
 
@@ -1817,35 +1803,25 @@
1817
1803
 
1818
1804
  isPageTransitioning = true;
1819
1805
 
1820
- // if the changePage was sent from a hashChange event
1821
- // guess if it came from the history menu
1806
+ // if the changePage was sent from a hashChange event guess if it came from the history menu
1807
+ // and match the transition accordingly
1822
1808
  if (fromHashChange) {
1823
-
1824
- // check if url is in history and if it's ahead or behind current page
1825
- $.each(urlHistory.stack, function(i) {
1826
- //if the url is in the stack, it's a forward or a back
1827
- if (this.url === url) {
1828
- urlIndex = i;
1829
- //define back and forward by whether url is older or newer than current page
1830
- back = i < urlHistory.activeIndex;
1831
- //forward set to opposite of back
1832
- forward = !back;
1833
- //reset activeIndex to this one
1834
- urlHistory.activeIndex = i;
1809
+ urlHistory.directHashChange({
1810
+ currentUrl: url,
1811
+ isBack: function() {
1812
+ forward = !(back = true);
1813
+ reverse = true;
1814
+ transition = transition || currPage.transition;
1815
+ },
1816
+ isForward: function() {
1817
+ forward = !(back = false);
1818
+ transition = transition || urlHistory.getActive().transition;
1835
1819
  }
1836
1820
  });
1837
1821
 
1838
- //if it's a back, use reverse animation
1839
- if (back) {
1840
- reverse = true;
1841
- transition = transition || currPage.transition;
1842
- }
1843
- else if (forward) {
1844
- transition = transition || urlHistory.getActive().transition;
1845
- }
1822
+ //TODO forward = !back was breaking for some reason
1846
1823
  }
1847
1824
 
1848
-
1849
1825
  if (toIsObject && to.url) {
1850
1826
  url = to.url;
1851
1827
  data = to.data;
@@ -2048,6 +2024,7 @@
2048
2024
  url: fileUrl,
2049
2025
  type: type,
2050
2026
  data: data,
2027
+ dataType: "html",
2051
2028
  success: function(html) {
2052
2029
  //pre-parse html to check for a data-url,
2053
2030
  //use it as the new fileUrl, base path, etc
@@ -2253,12 +2230,31 @@
2253
2230
  transition = $.mobile.urlHistory.stack.length === 0 ? false : undefined;
2254
2231
 
2255
2232
  //if listening is disabled (either globally or temporarily), or it's a dialog hash
2256
- if (!$.mobile.hashListeningEnabled || !urlHistory.ignoreNextHashChange ||
2257
- (urlHistory.stack.length > 1 && to.indexOf(dialogHashKey) > -1 && !$.mobile.activePage.is(".ui-dialog"))
2258
- ) {
2233
+ if (!$.mobile.hashListeningEnabled || !urlHistory.ignoreNextHashChange) {
2259
2234
  if (!urlHistory.ignoreNextHashChange) {
2260
2235
  urlHistory.ignoreNextHashChange = true;
2261
2236
  }
2237
+
2238
+ return;
2239
+ }
2240
+
2241
+ // special case for dialogs requires heading back or forward until we find a non dialog page
2242
+ if (urlHistory.stack.length > 1 &&
2243
+ to.indexOf(dialogHashKey) > -1 &&
2244
+ !$.mobile.activePage.is(".ui-dialog")) {
2245
+
2246
+ //determine if we're heading forward or backward and continue accordingly past
2247
+ //the current dialog
2248
+ urlHistory.directHashChange({
2249
+ currentUrl: to,
2250
+ isBack: function() {
2251
+ window.history.back();
2252
+ },
2253
+ isForward: function() {
2254
+ window.history.forward();
2255
+ }
2256
+ });
2257
+
2262
2258
  return;
2263
2259
  }
2264
2260
 
@@ -2409,7 +2405,7 @@
2409
2405
  stickyFooter.addClass('ui-sticky-footer').before(footer);
2410
2406
  }
2411
2407
  footer.addClass('ui-footer-duplicate');
2412
- stickyFooter.appendTo($.pageContainer).css('top', 0);
2408
+ stickyFooter.appendTo($.mobile.pageContainer).css('top', 0);
2413
2409
  setTop(stickyFooter);
2414
2410
  }
2415
2411
  });
@@ -2554,6 +2550,7 @@
2554
2550
 
2555
2551
  })(jQuery);
2556
2552
 
2553
+
2557
2554
  /*
2558
2555
  * jQuery Mobile Framework : "checkboxradio" plugin
2559
2556
  * Copyright (c) jQuery Project
@@ -2605,7 +2602,7 @@
2605
2602
  var oe = event.originalEvent.touches[0];
2606
2603
  if (label.data("movestart")) {
2607
2604
  if (Math.abs(label.data("movestart")[0] - oe.pageX) > 10 ||
2608
- Math.abs(abel.data("movestart")[1] - oe.pageY) > 10) {
2605
+ Math.abs(label.data("movestart")[1] - oe.pageY) > 10) {
2609
2606
  label.data("moved", true);
2610
2607
  }
2611
2608
  }
@@ -2615,6 +2612,11 @@
2615
2612
  },
2616
2613
 
2617
2614
  "touchend mouseup": function(event) {
2615
+ if (input.is(":disabled")) {
2616
+ event.preventDefault();
2617
+ return;
2618
+ }
2619
+
2618
2620
  label.removeData("movestart");
2619
2621
  if (label.data("etype") && label.data("etype") !== event.type || label.data("moved")) {
2620
2622
  label.removeData("etype").removeData("moved");
@@ -3509,7 +3511,8 @@
3509
3511
  .append($el.addClass('ui-btn-hidden'));
3510
3512
 
3511
3513
  //add hidden input during submit
3512
- if ($el.attr('type') !== 'reset') {
3514
+ var type = $el.attr('type');
3515
+ if (type !== 'button' && type !== 'reset') {
3513
3516
  $el.click(function() {
3514
3517
  var $buttonPlaceholder = $("<input>",
3515
3518
  {type: "hidden", name: $el.attr("name"), value: $el.attr("value")})
@@ -4395,17 +4398,31 @@
4395
4398
  "data-type": "search"
4396
4399
  })
4397
4400
  .bind("keyup change", function() {
4398
- var val = this.value.toLowerCase();
4399
- ;
4400
- list.children().show();
4401
+ var val = this.value.toLowerCase(),
4402
+ listItems = list.children();
4403
+ listItems.show();
4401
4404
  if (val) {
4402
- list.children().filter(
4403
- function() {
4404
- return $(this).text().toLowerCase().indexOf(val) === -1;
4405
- }).hide();
4405
+ // This handles hiding regular rows without the text we search for
4406
+ // and any list dividers without regular rows shown under it
4407
+ var childItems = false,
4408
+ item;
4409
+
4410
+ for (var i = listItems.length; i >= 0; i--) {
4411
+ item = $(listItems[i]);
4412
+ if (item.is("li[data-role=list-divider]")) {
4413
+ if (!childItems) {
4414
+ item.hide();
4415
+ }
4416
+ // New bucket!
4417
+ childItems = false;
4418
+ } else if (item.text().toLowerCase().indexOf(val) === -1) {
4419
+ item.hide();
4420
+ } else {
4421
+ // There's a shown item in the bucket
4422
+ childItems = true;
4423
+ }
4424
+ }
4406
4425
  }
4407
-
4408
- //listview._numberItems();
4409
4426
  })
4410
4427
  .appendTo(wrapper)
4411
4428
  .textinput();
@@ -4586,7 +4603,54 @@
4586
4603
  $head = $("head"),
4587
4604
  $window = $(window);
4588
4605
 
4606
+ //trigger mobileinit event - useful hook for configuring $.mobile settings before they're used
4607
+ $(window.document).trigger("mobileinit");
4608
+
4609
+ //support conditions
4610
+ //if device support condition(s) aren't met, leave things as they are -> a basic, usable experience,
4611
+ //otherwise, proceed with the enhancements
4612
+ if (!$.mobile.gradeA()) {
4613
+ return;
4614
+ }
4615
+
4616
+ //add mobile, initial load "rendering" classes to docEl
4617
+ $html.addClass("ui-mobile ui-mobile-rendering");
4618
+
4619
+ //define & prepend meta viewport tag, if content is defined
4620
+ $.mobile.metaViewportContent ? $("<meta>", { name: "viewport", content: $.mobile.metaViewportContent}).prependTo($head) : undefined;
4621
+
4622
+ //loading div which appears during Ajax requests
4623
+ //will not appear if $.mobile.loadingMessage is false
4624
+ var $loader = $.mobile.loadingMessage ?
4625
+ $("<div class='ui-loader ui-body-a ui-corner-all'>" +
4626
+ "<span class='ui-icon ui-icon-loading spin'></span>" +
4627
+ "<h1>" + $.mobile.loadingMessage + "</h1>" +
4628
+ "</div>")
4629
+ : undefined;
4630
+
4631
+
4589
4632
  $.extend($.mobile, {
4633
+ // turn on/off page loading message.
4634
+ pageLoading: function (done) {
4635
+ if (done) {
4636
+ $html.removeClass("ui-loading");
4637
+ } else {
4638
+ if ($.mobile.loadingMessage) {
4639
+ var activeBtn = $("." + $.mobile.activeBtnClass).first();
4640
+
4641
+ $loader
4642
+ .appendTo($.mobile.pageContainer)
4643
+ //position at y center (if scrollTop supported), above the activeBtn (if defined), or just 100px from top
4644
+ .css({
4645
+ top: $.support.scrollTop && $(window).scrollTop() + $(window).height() / 2 ||
4646
+ activeBtn.length && activeBtn.offset().top || 100
4647
+ });
4648
+ }
4649
+
4650
+ $html.addClass("ui-loading");
4651
+ }
4652
+ },
4653
+
4590
4654
  // find and enhance the pages in the dom and transition to the first page.
4591
4655
  initializePage: function() {
4592
4656
  //find present pages
@@ -4594,7 +4658,12 @@
4594
4658
 
4595
4659
  //add dialogs, set data-url attrs
4596
4660
  $pages.add("[data-role='dialog']").each(function() {
4597
- $(this).attr("data-url", $(this).attr("id"));
4661
+ var $this = $(this);
4662
+
4663
+ // unless the data url is already set set it to the id
4664
+ if (!$this.data('url')) {
4665
+ $this.attr("data-url", $this.attr("id"));
4666
+ }
4598
4667
  });
4599
4668
 
4600
4669
  //define first page in dom case one backs out to the directory root (not always the first page visited, but defined as fallback)
@@ -4617,22 +4686,6 @@
4617
4686
  }
4618
4687
  });
4619
4688
 
4620
- //trigger mobileinit event - useful hook for configuring $.mobile settings before they're used
4621
- $(window.document).trigger("mobileinit");
4622
-
4623
- //support conditions
4624
- //if device support condition(s) aren't met, leave things as they are -> a basic, usable experience,
4625
- //otherwise, proceed with the enhancements
4626
- if (!$.mobile.gradeA()) {
4627
- return;
4628
- }
4629
-
4630
- //add mobile, initial load "rendering" classes to docEl
4631
- $html.addClass("ui-mobile ui-mobile-rendering");
4632
-
4633
- //define & prepend meta viewport tag, if content is defined
4634
- $.mobile.metaViewportContent ? $("<meta>", { name: "viewport", content: $.mobile.metaViewportContent}).prependTo($head) : undefined;
4635
-
4636
4689
  //dom-ready inits
4637
4690
  $($.mobile.initializePage);
4638
4691
 
@@ -25,7 +25,7 @@
25
25
  * Dual licensed under the MIT or GPL Version 2 licenses.
26
26
  * http://jquery.org/license
27
27
  */
28
- (function(e,d,g){e.extend(e.mobile,{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",metaViewportContent:"width=device-width, minimum-scale=1, maximum-scale=1",gradeA:function(){return e.support.mediaquery},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}});var f=e(d),b=e("html"),a=e("head"),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")}},silentScroll:function(h){h=h||0;e.event.special.scrollstart.enabled=false;setTimeout(function(){d.scrollTo(0,h);e(document).trigger("silentscroll",{x:0,y:h})},20);setTimeout(function(){e.event.special.scrollstart.enabled=true},150)}})})(jQuery,this);(function(c,f){var l=c(window),n=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(v){return m.get()+v},clean:function(v){return v.replace(location.protocol+"//"+location.host,"")},stripHash:function(v){return v.replace(/^#/,"")},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(v,w){if(b.getNext()){b.clearForward()}b.stack.push({url:v,transition:w});b.activeIndex=b.stack.length-1},clearForward:function(){b.stack=b.stack.slice(0,b.activeIndex+1)},ignoreNextHashChange:true},o="[tabindex],a,button:visible,select:visible,input",a=null,k=[],q=false,t="&ui-state=dialog",i=j.children("base"),s=location.protocol+"//"+location.host,h=m.get(s+location.pathname),e=h;if(i.length){var p=i.attr("href");if(p){if(p.search(/^[^:\/]+:\/\/[^\/]+\/?/)===-1){if(p.charAt(0)==="/"){e=s+p}else{e=h+p}}else{e=p}}e=e+(e.charAt(e.length-1)==="/"?" ":"/")}var d=c.support.dynamicBaseTag?{element:(i.length?i:c("<base>",{href:e}).prependTo(j)),set:function(v){d.element.attr("href",e+m.get(v))},reset:function(){d.element.attr("href",e)}}:f;m.setOrigin();function g(w){var v=w.find(".ui-title:eq(0)");if(v.length){v.focus()}else{w.find(o).eq(0).focus()}}function r(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)}};c.mobile.updateHash=m.set;c.mobile.path=m;c.mobile.base=d;c.mobile.urlstack=b.stack;c.mobile.urlHistory=b;c.mobile.changePage=function(w,P,D,H,x){var z=c.type(w)==="array",O=c.type(w)==="object",M=z?w[0]:c.mobile.activePage;w=z?w[1]:w;var A=c.type(w)==="string"?m.stripHash(w):"",F=A,R,y="get",I=false,C=null,K=b.getActive(),J=false,E=false;if(K&&b.stack.length>1&&K.url===A&&!z&&!O){return}else{if(q){k.unshift(arguments);return}}q=true;if(x){c.each(b.stack,function(S){if(this.url===A){urlIndex=S;J=S<b.activeIndex;E=!J;b.activeIndex=S}});if(J){D=true;P=P||K.transition}else{if(E){P=P||b.getActive().transition}}}if(O&&w.url){A=w.url;R=w.data;y=w.type;I=true;if(R&&y==="get"){if(c.type(R)==="object"){R=c.param(R)}A+="?"+R;R=f}}if(d){d.reset()}c(window.document.activeElement).add("input:focus, textarea:focus, select:focus").blur();function B(){if(P===f){P=(a&&a==="dialog")?"pop":c.mobile.defaultTransition}}function G(){q=false;if(k.length>0){c.mobile.changePage.apply(c.mobile,k.pop())}}function N(){c.mobile.silentScroll();var T=l.scrollTop(),X=["flip"],U=[];if(A.indexOf("&"+c.mobile.subPageUrlKey)>-1){w=c("[data-url='"+A+"']")}if(M){M.data("lastScroll",T);M.data("page")._trigger("beforehide",{nextPage:w})}w.data("page")._trigger("beforeshow",{prevPage:M||c("")});function S(){if(H!==false&&A){b.ignoreNextHashChange=false;m.set(A)}if(!J&&!E){b.addNew(A,P)}r();c.mobile.silentScroll(w.data("lastScroll"));g(w);if(M){M.data("page")._trigger("hide",null,{nextPage:w})}w.data("page")._trigger("show",null,{prevPage:M||c("")});c.mobile.activePage=w;if(C!==null){C.remove()}n.removeClass("ui-mobile-rendering");G()}function W(Y){c.mobile.pageContainer.addClass(Y);U.push(Y)}function V(){c.mobile.pageContainer.removeClass(U.join(" "));U=[]}if(P&&(P!=="none")){c.mobile.pageLoading(true);if(c.inArray(P,X)>=0){W("ui-mobile-viewport-perspective")}W("ui-mobile-viewport-transitioning");if(M){M.addClass(P+" out "+(D?"reverse":""))}w.addClass(c.mobile.activePageClass+" "+P+" in "+(D?"reverse":""));w.animationComplete(function(){w.add(M).removeClass("out in reverse "+P);if(M){M.removeClass(c.mobile.activePageClass)}S();V()})}else{c.mobile.pageLoading(true);if(M){M.removeClass(c.mobile.activePageClass)}w.addClass(c.mobile.activePageClass);S()}}function L(){if(a||w.data("role")==="dialog"){A=b.getActive().url+t;if(a){w.attr("data-role",a);a=null}}w.page()}if(A){w=c("[data-url='"+A+"']");F=m.getFilePath(A)}else{var v=w.attr("data-url"),Q=m.getFilePath(v);if(v!==Q){F=Q}}B();if(w.length&&!I){if(F&&d){d.set(F)}L();N()}else{if(w.length){C=w}c.mobile.pageLoading();c.ajax({url:F,type:y,data:R,success:function(U){var V=c("<div></div>"),S,X=/.*(<[^>]*\bdata-role=["']?page["']?[^>]*>).*/,T=/\bdata-url=["']?([^"'>]*)["']?/;if(X.test(U)&&RegExp.$1&&T.test(RegExp.$1)&&RegExp.$1){S=RegExp.$1}if(S){if(d){d.set(S)}A=F=m.getFilePath(S)}else{if(d){d.set(F)}}V.get(0).innerHTML=U;w=V.find('[data-role="page"], [data-role="dialog"]').first();if(!c.support.dynamicBaseTag){var W=m.get(F);w.find("[src],link[href]").each(function(){var Z=c(this).is("[href]")?"href":"src",Y=c(this).attr(Z);Y.replace(location.protocol+"//"+location.host+location.pathname,"");if(!/^(\w+:|#|\/)/.test(Y)){c(this).attr(Z,W+Y)}})}w.attr("data-url",F).appendTo(c.mobile.pageContainer);L();setTimeout(function(){N()},0)},error:function(){c.mobile.pageLoading(true);r(true);if(d){d.set(m.get())}c("<div class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h1>Error Loading Page</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()});G()}})}};c("form[data-ajax!='false']").live("submit",function(x){if(!c.mobile.ajaxEnabled||!c.mobile.ajaxFormsEnabled){return}var w=c(this).attr("method"),v=m.clean(c(this).attr("action"));if(m.isExternal(v)){return}if(m.isRelative(v)){v=m.makeAbsolute(v)}c.mobile.changePage({url:v,type:w,data:c(this).serialize()},f,f,true);x.preventDefault()});c("a").live("click",function(v){var E=c(this),y=E.attr("href")||"#",x=m.clean(y),z=E.is("[rel='external']"),F=m.isEmbeddedPage(x),w=m.isExternal(x)||(z&&!F),D=E.is("[target]"),A=E.is("[data-ajax='false']");if(E.is("[data-rel='back']")){window.history.back();return false}if(x==="#"){v.preventDefault();return}u=E.closest(".ui-btn").addClass(c.mobile.activeBtnClass);if(w||A||D||!c.mobile.ajaxEnabled||!c.mobile.ajaxLinksEnabled){r(true);if(D){window.open(x)}else{if(A){return}else{location.href=x}}}else{var C=E.data("transition"),G=E.data("direction"),B=(G&&G==="reverse")||E.data("back");a=E.attr("data-rel");if(m.isRelative(x)){x=m.makeAbsolute(x)}x=m.stripHash(x);c.mobile.changePage(x,C,B)}v.preventDefault()});l.bind("hashchange",function(w,v){var y=m.stripHash(location.hash),x=c.mobile.urlHistory.stack.length===0?false:f;if(!c.mobile.hashListeningEnabled||!b.ignoreNextHashChange||(b.stack.length>1&&y.indexOf(t)>-1&&!c.mobile.activePage.is(".ui-dialog"))){if(!b.ignoreNextHashChange){b.ignoreNextHashChange=true}return}if(y){c.mobile.changePage(y,x,f,false,true)}else{c.mobile.changePage(c.mobile.firstPage,x,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.data("fullscreen")){d.addClass("ui-page-fullscreen")}d.find('.ui-header[data-position="fixed"]').addClass("ui-header-fixed ui-fixed-inline fade");d.find('.ui-footer[data-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(q,function(s){if(c){if(a(s.target).closest(n).length){return}h=g}}).bind(k,function(s){if(c){if(a(s.target).closest(n).length){return}if(!j){a.fixedToolbars.toggle(h);h=null}}}).bind("scrollstart",function(t){if(a(t.target).closest(n).length){return}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(s,u){var t=a(s.target),w=t.find('[data-role="footer"]:not(.ui-sticky-footer)'),v=w.data("id");m=null;if(v){m=a('.ui-footer[data-id="'+v+'"].ui-sticky-footer');if(m.length==0){m=w;w=m.clone();m.addClass("ui-sticky-footer").before(w)}w.addClass("ui-footer-duplicate");m.appendTo(a.pageContainer).css("top",0);r(m)}});a(".ui-page").live("pageshow",function(s,t){if(m&&m.length){m.appendTo(s.target).css("top",0)}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,[data-role='page']").find("label[for='"+c.attr("id")+"']"),h=c.attr("type"),g="ui-icon-"+h+"-on",e="ui-icon-"+h+"-off";if(h!="checkbox"&&h!="radio"){return}if(!this.options.theme){this.options.theme=this.element.data("theme")}f.buttonMarkup({theme:this.options.theme,icon:this.element.parents("[data-type='horizontal']").length?b:e,shadow:false});c.add(f).wrapAll("<div class='ui-"+h+"'></div>");f.bind({mouseover:function(){if(a(this).parent().is(".ui-disabled")){return false}},touchmove:function(i){var j=i.originalEvent.touches[0];if(f.data("movestart")){if(Math.abs(f.data("movestart")[0]-j.pageX)>10||Math.abs(abel.data("movestart")[1]-j.pageY)>10){f.data("moved",true)}}else{f.data("movestart",[parseFloat(j.pageX),parseFloat(j.pageY)])}},"touchend mouseup":function(i){f.removeData("movestart");if(f.data("etype")&&f.data("etype")!==i.type||f.data("moved")){f.removeData("etype").removeData("moved");if(f.data("moved")){f.removeData("moved")}return false}f.data("etype",i.type);d._cacheVals();c.attr("checked",h==="radio"&&true||!c.is(":checked"));d._updateAll();i.preventDefault()},click:false});c.bind({mousedown:function(){this._cacheVals()},click: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).data("cacheVal",a(this).is(":checked"))})},_getInputSet:function(){return this.element.closest("form,fieldset,[data-role='page']").find("input[name='"+this.element.attr("name")+"'][type='"+this.element.attr("type")+"']")},_updateAll:function(){this._getInputSet().each(function(){var c=a(this).data("cacheVal");if(c&&c!==a(this).is(":checked")||a(this).is("[type='checkbox']")){a(this).trigger("change")}}).checkboxradio("refresh")},refresh:function(){var c=this.element,e=c.closest("form,fieldset,[data-role='page']").find("label[for='"+c.attr("id")+"']"),h=c.attr("type"),g=e.find(".ui-icon"),f="ui-icon-"+h+"-on",d="ui-icon-"+h+"-off";if(c[0].checked){e.addClass("ui-btn-active");g.addClass(f);g.removeClass(d)}else{e.removeClass("ui-btn-active");g.removeClass(f);g.addClass(d)}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"],[data-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"],[data-type="search"]')?this.element.parent():this.element).addClass("ui-disabled")},enable:function(){(this.element.attr("disabled",false).is('[type="search"],[data-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:false},_create:function(){var q=this,t=this.options,s=this.element.wrap("<div class='ui-select'>"),w=s.attr("id"),m=a("label[for="+w+"]").addClass("ui-select"),d=(q.options.nativeMenu?a("<div/>"):a("<a>",{href:"#",role:"button",id:l,"aria-haspopup":"true","aria-owns":n})).text(a(s[0].options.item(s[0].selectedIndex)).text()).insertBefore(s).buttonMarkup({theme:t.theme,icon:t.icon,iconpos:t.iconpos,inline:t.inline,corners:t.corners,shadow:t.shadow,iconshadow:t.iconshadow}),j=q.isMultiple=s[0].multiple;if(t.nativeMenu&&window.opera&&window.opera.version){s.addClass("ui-select-nativeonly")}if(!t.nativeMenu){var h=s.find("option"),l=w+"-button",n=w+"-menu",c=s.closest(".ui-page"),y=/ui-btn-up-([a-z])/.exec(d.attr("class"))[1],r=a("<div data-role='dialog' data-theme='"+t.menuPageTheme+"'><div data-role='header'><div class='ui-title'>"+m.text()+"</div></div><div data-role='content'></div></div>").appendTo(a.mobile.pageContainer).page(),i=r.find(".ui-content"),g=r.find(".ui-header a"),f=a("<div>",{"class":"ui-selectmenu-screen ui-screen-hidden"}).appendTo(c),e=a("<div>",{"class":"ui-selectmenu ui-selectmenu-hidden ui-overlay-shadow ui-corner-all pop ui-body-"+t.overlayTheme}).insertAfter(f),x=a("<ul>",{"class":"ui-selectmenu-list",id:n,role:"listbox","aria-labelledby":l,"data-theme":y}).appendTo(e),v=a("<div>",{"class":"ui-header ui-bar-"+y}).prependTo(e),u=a("<h1>",{"class":"ui-title"}).appendTo(v),k=a("<a>",{"data-iconpos":"notext","data-icon":"delete",text:t.closeText,href:"#","class":"ui-btn-left"}).appendTo(v).buttonMarkup(),p}if(j){q.buttonCount=a("<span>").addClass("ui-li-count ui-btn-up-c ui-btn-corner-all").hide().appendTo(d)}if(t.disabled){this.disable()}s.change(function(){q.refresh()});a.extend(q,{select:s,optionElems:h,selectID:w,label:m,buttonId:l,menuId:n,thisPage:c,button:d,menuPage:r,menuPageContent:i,screen:f,listbox:e,list:x,menuType:p,header:v,headerClose:k,headerTitle:u,placeholder:""});if(t.nativeMenu){s.appendTo(d).bind("touchstart mousedown",function(o){d.addClass(a.mobile.activeBtnClass)}).bind("focus mouseover",function(){d.trigger("mouseover")}).bind("touchmove",function(){d.removeClass(a.mobile.activeBtnClass)}).bind("change blur mouseout",function(){d.trigger("mouseout").removeClass(a.mobile.activeBtnClass)});d.attr("tabindex","-1")}else{q.refresh();s.attr("tabindex","-1").focus(function(){a(this).blur();d.focus()});d.bind("touchstart",function(o){a(this).data("startTouches",a.extend({},o.originalEvent.touches[0]))}).bind(a.support.touch?"touchend":"mouseup",function(o){if(a(this).data("moved")){a(this).removeData("moved")}else{q.open()}o.preventDefault()}).bind("touchmove",function(A){var C=A.originalEvent.touches[0],B=a(this).data("startTouches"),z=Math.abs(C.pageX-B.pageX),o=Math.abs(C.pageY-B.pageY);if(z>10||o>10){a(this).data("moved",true)}});x.delegate("li:not(.ui-disabled, .ui-li-divider)","click",function(A){if(!a(A.target).is("a")){return}var o=x.find("li:not(.ui-li-divider)").index(this),z=q.optionElems.eq(o)[0];z.selected=j?!z.selected:true;if(j){a(this).find(".ui-icon").toggleClass("ui-icon-checkbox-on",z.selected).toggleClass("ui-icon-checkbox-off",!z.selected)}s.trigger("change");if(!j){q.close()}A.preventDefault()});f.add(k).add(g).bind("click",function(o){q.close();o.preventDefault();if(a.contains(g[0],o.target)){o.stopImmediatePropagation()}})}},_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-role='list-divider'>"+k+"</li>");c.push(k)}}if(!this.getAttribute("value")||q.length==0||p.data("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-icon='"+d+"' class='"+l.join(" ")+"' "+n.join(" ")+">"+j+"</li>")});e.list.html(f.join(" "));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.outerHeight(),l=p.list.outerWidth(),f=a(window).scrollTop(),o=p.button.offset().top,d=window.innerHeight,c=window.innerWidth,e=p.list.parents(".ui-dialog").length;p.button.addClass(a.mobile.activeBtnClass);function h(){p.list.find(".ui-btn-active").focus()}if(e||g>d-80||!a.support.scrollTop){if(f==0&&o>d){p.thisPage.one("pagehide",function(){a(this).data("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+d-o,n=g/2,m,j;if(k>g/2&&i>g/2){m=o+(p.button.outerHeight()/2)-n}else{m=k>i?f+d-g-30:f+30}j=p.button.offset().left+p.button.outerWidth()/2-l/2;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();c.button.removeClass(a.mobile.activeBtnClass)},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(d){return this.each(function(){var j=b(this),k=b.extend({},b.fn.buttonMarkup.defaults,j.data(),d),f,h="ui-btn-inner",e;if(a){a()}if(!k.theme){var g=j.closest("[class*='ui-bar-'],[class*='ui-body-']");k.theme=g.length?/ui-(bar|body)-([a-z])/.exec(g.attr("class"))[2]:"c"}f="ui-btn ui-btn-up-"+k.theme;if(k.inline){f+=" ui-btn-inline"}if(k.icon){k.icon="ui-icon-"+k.icon;k.iconpos=k.iconpos||"left";e="ui-icon "+k.icon;if(k.shadow){e+=" ui-icon-shadow"}}if(k.iconpos){f+=" ui-btn-icon-"+k.iconpos;if(k.iconpos=="notext"&&!j.attr("title")){j.attr("title",j.text())}}if(k.corners){f+=" ui-btn-corner-all";h+=" ui-btn-corner-all"}if(k.shadow){f+=" ui-shadow"}j.attr("data-theme",k.theme).addClass(f);var i=("<D class='"+h+"'><D class='ui-btn-text'></D>"+(k.icon?"<span class='"+e+"'></span>":"")+"</D>").replace(/D/g,k.wrapperEls);j.wrapInner(i)})};b.fn.buttonMarkup.defaults={corners:true,shadow:true,iconshadow:true,wrapperEls:"span"};var a=function(){b(".ui-btn:not(.ui-disabled)").live({"touchstart mousedown":function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-up-"+d).addClass("ui-btn-down-"+d)},"touchmove touchend mouseup":function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-down-"+d).addClass("ui-btn-up-"+d)},"mouseover focus":function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-up-"+d).addClass("ui-btn-hover-"+d)},"mouseout blur":function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-hover-"+d).addClass("ui-btn-up-"+d)}});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,d=this.options;this.button=a("<div></div>").text(c.text()||c.val()).buttonMarkup({theme:d.theme,icon:d.icon,iconpos:d.iconpos,inline:d.inline,corners:d.corners,shadow:d.shadow,iconshadow:d.iconshadow}).insertBefore(c).append(c.addClass("ui-btn-hidden"));if(c.attr("type")!=="reset"){c.click(function(){var e=a("<input>",{type:"hidden",name:c.attr("name"),value:c.attr("value")}).insertBefore(c);a(document).submit(function(){e.remove()})})}},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)}})})(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("touchmove mousemove",function(t){if(r.dragging){r.refresh(t);return false}});c.bind("touchstart mousedown",function(t){r.dragging=true;if(l==="select"){r.beforeStart=j[0].selectedIndex}r.refresh(t);return false});c.add(document).bind("touchend mouseup",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("touchstart mousedown",function(){a(this).focus()});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.originalEvent.touches?e.originalEvent.touches[0]: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('[data-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.data("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.data("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.data("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").removeClass("ui-corner-bottom")}}}).trigger(f.collapsed?"collapse":"expand");if(h.length&&!h.data("collapsiblebound")){h.data("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("[data-role=collapsible]");g.first().find("a:eq(0)").addClass("ui-corner-top").find(".ui-btn-inner").addClass("ui-corner-top");g.last().data("collapsible-last",true)}d.bind({tap:function(){if(d.is(".ui-collapsible-heading-collapsed")){c.trigger("expand")}else{c.trigger("collapse")}return false},click:false})}})})(jQuery);(function(a,b){a.fn.controlgroup=function(c){return this.each(function(){var g=a.extend({direction:a(this).data("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").attr("role","listbox");if(d.inset){c.addClass("ui-listview-inset ui-corner-all ui-shadow")}c.delegate(".ui-li","focusin",function(){a(this).attr("tabindex","0")});this._itemApply(c,c);this.refresh(true);c.keydown(function(k){var j=a(k.target),f=j.closest("li");switch(k.keyCode){case 38:var i=f.prev();if(i.length){j.blur().attr("tabindex","-1");i.find("a").first().focus()}return false;break;case 40:var h=f.next();if(h.length){j.blur().attr("tabindex","-1");h.find("a").first().focus()}return false;break;case 39:var g=f.find("a.ui-li-link-alt");if(g.length){j.blur();g.first().focus()}return false;break;case 37:var g=f.find("a.ui-link-inherit");if(g.length){j.blur();g.first().focus()}return false;break;case 13:case 32:j.trigger("click");return false;break}});c.delegate("li","click",function(e){if(!a(e.target).closest("a").length){a(this).find("a").first().trigger("click");return false}})},_itemApply:function(d,e){e.find(".ui-li-count").addClass("ui-btn-up-"+(d.data("counttheme")||this.options.countTheme)+" ui-btn-corner-all");e.find("h1, h2, h3, h4, h5, h6").addClass("ui-li-heading");e.find("p, dl").addClass("ui-li-desc");e.find("li").find("img:eq(0)").addClass("ui-li-thumb").each(function(){a(this).closest("li").addClass(a(this).is(".ui-li-icon")?"ui-li-has-icon":"ui-li-has-thumb")});var c=e.find(".ui-li-aside");if(c.length){c.each(function(f,g){a(g).prependTo(a(g).parent())})}if(a.support.cssPseudoElement||!a.nodeName(e[0],"ol")){return}},_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(g){this._createSubPages();var i=this.options,f=this.element,e=this,h=f.data("dividertheme")||i.dividerTheme,c=f.children("li"),d=a.support.cssPseudoElement||!a.nodeName(f[0],"ol")?0:1;if(d){f.find(".ui-li-dec").remove()}c.attr({role:"option",tabindex:"-1"});c.first().attr("tabindex","0");c.each(function(q){var n=a(this),o="ui-li";if(!g&&n.hasClass("ui-li")){return}var p=n.data("theme")||i.theme;var j=n.find("a");if(j.length){var l=n.data("icon");n.buttonMarkup({wrapperEls:"div",shadow:false,corners:false,iconpos:"right",icon:j.length>1||l===false?false:l||"arrow-r",theme:p});j.first().addClass("ui-link-inherit");if(j.length>1){o+=" ui-li-has-alt";var m=j.last(),k=f.data("splittheme")||m.data("theme")||i.splitTheme;m.appendTo(n).attr("title",m.text()).addClass("ui-li-link-alt").empty().buttonMarkup({shadow:false,corners:false,theme:p,icon:false,iconpos:false}).find(".ui-btn-inner").append(a("<span>").buttonMarkup({shadow:true,corners:true,theme:k,iconpos:"notext",icon:f.data("spliticon")||m.data("icon")||i.splitIcon}))}}else{if(n.data("role")==="list-divider"){o+=" ui-li-divider ui-btn ui-bar-"+h;n.attr("role","heading");if(d){d=1}}else{o+=" ui-li-static ui-btn-up-"+p}}if(i.inset){if(q===0){o+=" ui-corner-top";n.add(n.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-tr").end().find(".ui-li-thumb").addClass("ui-corner-tl");if(n.next().next().length){e._removeCorners(n.next())}}if(q===c.length-1){o+=" ui-corner-bottom";n.add(n.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-br").end().find(".ui-li-thumb").addClass("ui-corner-bl");if(n.prev().prev().length){e._removeCorners(n.prev())}}}if(d&&o.indexOf("ui-li-divider")<0){n.find(".ui-link-inherit").first().addClass("ui-li-jsnumbering").prepend("<span class='ui-li-dec'>"+(d++)+". </span>")}n.addClass(o);if(!g){e._itemApply(f,n)}})},_idStringEscape:function(c){return c.replace(/[^a-zA-Z0-9]/g,"-")},_createSubPages:function(){var d=this.element,c=d.closest(".ui-page"),h=c.data("url"),g=this.options,e=this,f=c.find("[data-role='footer']").data("id");a(d.find("ul, ol").toArray().reverse()).each(function(o){var p=a(this),r=p.parent(),q=a.trim(r.contents()[0].nodeValue)||r.find("a:first").text(),j=h+"&"+a.mobile.subPageUrlKey+"="+e._idStringEscape(q+" "+o),n=p.data("theme")||g.theme,k=p.data("counttheme")||d.data("counttheme")||g.countTheme,l=p.wrap("<div data-role='page'><div data-role='content'></div></div>").parent().before("<div data-role='header' data-theme='"+g.headerTheme+"'><div class='ui-title'>"+q+"</div></div>").after(f?a("<div>",{"data-role":"footer","data-id":f,"class":"ui-footer-duplicate"}):"").parent().attr({"data-url":j,"data-theme":n,"data-count-theme":k}).appendTo(a.mobile.pageContainer);l.page();var m=r.find("a:first");if(!m.length){m=a("<a></a>").html(q).prependTo(r.empty())}m.attr("href","#"+j)}).listview()}})})(jQuery);(function(a,b){a.mobile.listview.prototype.options.filter=false;a("[data-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:"Filter results...","data-type":"search"}).bind("keyup change",function(){var g=this.value.toLowerCase();e.children().show();if(g){e.children().filter(function(){return a(this).text().toLowerCase().indexOf(g)===-1}).hide()}}).appendTo(f).textinput();f.insertBefore(e)})})(jQuery);(function(a,b){a.widget("mobile.dialog",a.mobile.widget,{options:{},_create:function(){var c=this,d=c.element;this.element.attr("role","dialog").addClass("ui-page ui-dialog ui-body-a").find("[data-role=header]").addClass("ui-corner-top ui-overlay-shadow").prepend('<a href="#" data-icon="delete" data-rel="back" data-iconpos="notext">Close</a>').end().find('.ui-content:not([class*="ui-body-"])').addClass("ui-body-c").end().find(".ui-content,[data-role=footer]").last().addClass("ui-corner-bottom ui-overlay-shadow");this.element.bind("click submit",function(g){var f;if(g.type=="click"){f=a(g.target).closest("a")}else{f=a(g.target).closest("form")}if(f.length&&!f.data("transition")){f.attr("data-transition",a.mobile.urlHistory.getActive().transition).attr("data-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("[data-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","click",function(f){c.removeClass("ui-btn-active");a(this).addClass("ui-btn-active")})}})})(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={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");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(b,a,c){b.extend(b.mobile,{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",metaViewportContent:"width=device-width, minimum-scale=1, maximum-scale=1",gradeA:function(){return b.support.mediaquery},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(d){d=d||0;b.event.special.scrollstart.enabled=false;setTimeout(function(){a.scrollTo(0,d);b(document).trigger("silentscroll",{x:0,y:d})},20);setTimeout(function(){b.event.special.scrollstart.enabled=true},150)}})})(jQuery,this);(function(c,f){var l=c(window),n=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(v){return m.get()+v},clean:function(v){return v.replace(location.protocol+"//"+location.host,"")},stripHash:function(v){return v.replace(/^#/,"")},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(v,w){if(b.getNext()){b.clearForward()}b.stack.push({url:v,transition:w});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},o="[tabindex],a,button:visible,select:visible,input",a=null,k=[],q=false,t="&ui-state=dialog",i=j.children("base"),s=location.protocol+"//"+location.host,h=m.get(s+location.pathname),e=h;if(i.length){var p=i.attr("href");if(p){if(p.search(/^[^:\/]+:\/\/[^\/]+\/?/)===-1){if(p.charAt(0)==="/"){e=s+p}else{e=h+p}}else{e=p}}e=e+(e.charAt(e.length-1)==="/"?" ":"/")}var d=c.support.dynamicBaseTag?{element:(i.length?i:c("<base>",{href:e}).prependTo(j)),set:function(v){d.element.attr("href",e+m.get(v).replace(/^\//,""))},reset:function(){d.element.attr("href",e)}}:f;m.setOrigin();function g(w){var v=w.find(".ui-title:eq(0)");if(v.length){v.focus()}else{w.find(o).eq(0).focus()}}function r(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.changePage=function(w,P,D,H,x){var z=c.type(w)==="array",O=c.type(w)==="object",M=z?w[0]:c.mobile.activePage;w=z?w[1]:w;var A=c.type(w)==="string"?m.stripHash(w):"",F=A,R,y="get",I=false,C=null,K=b.getActive(),J=false,E=false;if(K&&b.stack.length>1&&K.url===A&&!z&&!O){return}else{if(q){k.unshift(arguments);return}}q=true;if(x){b.directHashChange({currentUrl:A,isBack:function(){E=!(J=true);D=true;P=P||K.transition},isForward:function(){E=!(J=false);P=P||b.getActive().transition}})}if(O&&w.url){A=w.url;R=w.data;y=w.type;I=true;if(R&&y==="get"){if(c.type(R)==="object"){R=c.param(R)}A+="?"+R;R=f}}if(d){d.reset()}c(window.document.activeElement).add("input:focus, textarea:focus, select:focus").blur();function B(){if(P===f){P=(a&&a==="dialog")?"pop":c.mobile.defaultTransition}}function G(){q=false;if(k.length>0){c.mobile.changePage.apply(c.mobile,k.pop())}}function N(){c.mobile.silentScroll();var T=l.scrollTop(),X=["flip"],U=[];if(A.indexOf("&"+c.mobile.subPageUrlKey)>-1){w=c("[data-url='"+A+"']")}if(M){M.data("lastScroll",T);M.data("page")._trigger("beforehide",{nextPage:w})}w.data("page")._trigger("beforeshow",{prevPage:M||c("")});function S(){if(H!==false&&A){b.ignoreNextHashChange=false;m.set(A)}if(!J&&!E){b.addNew(A,P)}r();c.mobile.silentScroll(w.data("lastScroll"));g(w);if(M){M.data("page")._trigger("hide",null,{nextPage:w})}w.data("page")._trigger("show",null,{prevPage:M||c("")});c.mobile.activePage=w;if(C!==null){C.remove()}n.removeClass("ui-mobile-rendering");G()}function W(Y){c.mobile.pageContainer.addClass(Y);U.push(Y)}function V(){c.mobile.pageContainer.removeClass(U.join(" "));U=[]}if(P&&(P!=="none")){c.mobile.pageLoading(true);if(c.inArray(P,X)>=0){W("ui-mobile-viewport-perspective")}W("ui-mobile-viewport-transitioning");if(M){M.addClass(P+" out "+(D?"reverse":""))}w.addClass(c.mobile.activePageClass+" "+P+" in "+(D?"reverse":""));w.animationComplete(function(){w.add(M).removeClass("out in reverse "+P);if(M){M.removeClass(c.mobile.activePageClass)}S();V()})}else{c.mobile.pageLoading(true);if(M){M.removeClass(c.mobile.activePageClass)}w.addClass(c.mobile.activePageClass);S()}}function L(){if(a||w.data("role")==="dialog"){A=b.getActive().url+t;if(a){w.attr("data-role",a);a=null}}w.page()}if(A){w=c("[data-url='"+A+"']");F=m.getFilePath(A)}else{var v=w.attr("data-url"),Q=m.getFilePath(v);if(v!==Q){F=Q}}B();if(w.length&&!I){if(F&&d){d.set(F)}L();N()}else{if(w.length){C=w}c.mobile.pageLoading();c.ajax({url:F,type:y,data:R,dataType:"html",success:function(U){var V=c("<div></div>"),S,X=/.*(<[^>]*\bdata-role=["']?page["']?[^>]*>).*/,T=/\bdata-url=["']?([^"'>]*)["']?/;if(X.test(U)&&RegExp.$1&&T.test(RegExp.$1)&&RegExp.$1){S=RegExp.$1}if(S){if(d){d.set(S)}A=F=m.getFilePath(S)}else{if(d){d.set(F)}}V.get(0).innerHTML=U;w=V.find('[data-role="page"], [data-role="dialog"]').first();if(!c.support.dynamicBaseTag){var W=m.get(F);w.find("[src],link[href]").each(function(){var Z=c(this).is("[href]")?"href":"src",Y=c(this).attr(Z);Y.replace(location.protocol+"//"+location.host+location.pathname,"");if(!/^(\w+:|#|\/)/.test(Y)){c(this).attr(Z,W+Y)}})}w.attr("data-url",F).appendTo(c.mobile.pageContainer);L();setTimeout(function(){N()},0)},error:function(){c.mobile.pageLoading(true);r(true);if(d){d.set(m.get())}c("<div class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h1>Error Loading Page</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()});G()}})}};c("form[data-ajax!='false']").live("submit",function(x){if(!c.mobile.ajaxEnabled||!c.mobile.ajaxFormsEnabled){return}var w=c(this).attr("method"),v=m.clean(c(this).attr("action"));if(m.isExternal(v)){return}if(m.isRelative(v)){v=m.makeAbsolute(v)}c.mobile.changePage({url:v,type:w,data:c(this).serialize()},f,f,true);x.preventDefault()});c("a").live("click",function(v){var E=c(this),y=E.attr("href")||"#",x=m.clean(y),z=E.is("[rel='external']"),F=m.isEmbeddedPage(x),w=m.isExternal(x)||(z&&!F),D=E.is("[target]"),A=E.is("[data-ajax='false']");if(E.is("[data-rel='back']")){window.history.back();return false}if(x==="#"){v.preventDefault();return}u=E.closest(".ui-btn").addClass(c.mobile.activeBtnClass);if(w||A||D||!c.mobile.ajaxEnabled||!c.mobile.ajaxLinksEnabled){r(true);if(D){window.open(x)}else{if(A){return}else{location.href=x}}}else{var C=E.data("transition"),G=E.data("direction"),B=(G&&G==="reverse")||E.data("back");a=E.attr("data-rel");if(m.isRelative(x)){x=m.makeAbsolute(x)}x=m.stripHash(x);c.mobile.changePage(x,C,B)}v.preventDefault()});l.bind("hashchange",function(w,v){var y=m.stripHash(location.hash),x=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&&y.indexOf(t)>-1&&!c.mobile.activePage.is(".ui-dialog")){b.directHashChange({currentUrl:y,isBack:function(){window.history.back()},isForward:function(){window.history.forward()}});return}if(y){c.mobile.changePage(y,x,f,false,true)}else{c.mobile.changePage(c.mobile.firstPage,x,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.data("fullscreen")){d.addClass("ui-page-fullscreen")}d.find('.ui-header[data-position="fixed"]').addClass("ui-header-fixed ui-fixed-inline fade");d.find('.ui-footer[data-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(q,function(s){if(c){if(a(s.target).closest(n).length){return}h=g}}).bind(k,function(s){if(c){if(a(s.target).closest(n).length){return}if(!j){a.fixedToolbars.toggle(h);h=null}}}).bind("scrollstart",function(t){if(a(t.target).closest(n).length){return}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(s,u){var t=a(s.target),w=t.find('[data-role="footer"]:not(.ui-sticky-footer)'),v=w.data("id");m=null;if(v){m=a('.ui-footer[data-id="'+v+'"].ui-sticky-footer');if(m.length==0){m=w;w=m.clone();m.addClass("ui-sticky-footer").before(w)}w.addClass("ui-footer-duplicate");m.appendTo(a.mobile.pageContainer).css("top",0);r(m)}});a(".ui-page").live("pageshow",function(s,t){if(m&&m.length){m.appendTo(s.target).css("top",0)}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,[data-role='page']").find("label[for='"+c.attr("id")+"']"),h=c.attr("type"),g="ui-icon-"+h+"-on",e="ui-icon-"+h+"-off";if(h!="checkbox"&&h!="radio"){return}if(!this.options.theme){this.options.theme=this.element.data("theme")}f.buttonMarkup({theme:this.options.theme,icon:this.element.parents("[data-type='horizontal']").length?b:e,shadow:false});c.add(f).wrapAll("<div class='ui-"+h+"'></div>");f.bind({mouseover:function(){if(a(this).parent().is(".ui-disabled")){return false}},touchmove:function(i){var j=i.originalEvent.touches[0];if(f.data("movestart")){if(Math.abs(f.data("movestart")[0]-j.pageX)>10||Math.abs(f.data("movestart")[1]-j.pageY)>10){f.data("moved",true)}}else{f.data("movestart",[parseFloat(j.pageX),parseFloat(j.pageY)])}},"touchend mouseup":function(i){if(c.is(":disabled")){i.preventDefault();return}f.removeData("movestart");if(f.data("etype")&&f.data("etype")!==i.type||f.data("moved")){f.removeData("etype").removeData("moved");if(f.data("moved")){f.removeData("moved")}return false}f.data("etype",i.type);d._cacheVals();c.attr("checked",h==="radio"&&true||!c.is(":checked"));d._updateAll();i.preventDefault()},click:false});c.bind({mousedown:function(){this._cacheVals()},click: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).data("cacheVal",a(this).is(":checked"))})},_getInputSet:function(){return this.element.closest("form,fieldset,[data-role='page']").find("input[name='"+this.element.attr("name")+"'][type='"+this.element.attr("type")+"']")},_updateAll:function(){this._getInputSet().each(function(){var c=a(this).data("cacheVal");if(c&&c!==a(this).is(":checked")||a(this).is("[type='checkbox']")){a(this).trigger("change")}}).checkboxradio("refresh")},refresh:function(){var c=this.element,e=c.closest("form,fieldset,[data-role='page']").find("label[for='"+c.attr("id")+"']"),h=c.attr("type"),g=e.find(".ui-icon"),f="ui-icon-"+h+"-on",d="ui-icon-"+h+"-off";if(c[0].checked){e.addClass("ui-btn-active");g.addClass(f);g.removeClass(d)}else{e.removeClass("ui-btn-active");g.removeClass(f);g.addClass(d)}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"],[data-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"],[data-type="search"]')?this.element.parent():this.element).addClass("ui-disabled")},enable:function(){(this.element.attr("disabled",false).is('[type="search"],[data-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:false},_create:function(){var q=this,t=this.options,s=this.element.wrap("<div class='ui-select'>"),w=s.attr("id"),m=a("label[for="+w+"]").addClass("ui-select"),d=(q.options.nativeMenu?a("<div/>"):a("<a>",{href:"#",role:"button",id:l,"aria-haspopup":"true","aria-owns":n})).text(a(s[0].options.item(s[0].selectedIndex)).text()).insertBefore(s).buttonMarkup({theme:t.theme,icon:t.icon,iconpos:t.iconpos,inline:t.inline,corners:t.corners,shadow:t.shadow,iconshadow:t.iconshadow}),j=q.isMultiple=s[0].multiple;if(t.nativeMenu&&window.opera&&window.opera.version){s.addClass("ui-select-nativeonly")}if(!t.nativeMenu){var h=s.find("option"),l=w+"-button",n=w+"-menu",c=s.closest(".ui-page"),y=/ui-btn-up-([a-z])/.exec(d.attr("class"))[1],r=a("<div data-role='dialog' data-theme='"+t.menuPageTheme+"'><div data-role='header'><div class='ui-title'>"+m.text()+"</div></div><div data-role='content'></div></div>").appendTo(a.mobile.pageContainer).page(),i=r.find(".ui-content"),g=r.find(".ui-header a"),f=a("<div>",{"class":"ui-selectmenu-screen ui-screen-hidden"}).appendTo(c),e=a("<div>",{"class":"ui-selectmenu ui-selectmenu-hidden ui-overlay-shadow ui-corner-all pop ui-body-"+t.overlayTheme}).insertAfter(f),x=a("<ul>",{"class":"ui-selectmenu-list",id:n,role:"listbox","aria-labelledby":l,"data-theme":y}).appendTo(e),v=a("<div>",{"class":"ui-header ui-bar-"+y}).prependTo(e),u=a("<h1>",{"class":"ui-title"}).appendTo(v),k=a("<a>",{"data-iconpos":"notext","data-icon":"delete",text:t.closeText,href:"#","class":"ui-btn-left"}).appendTo(v).buttonMarkup(),p}if(j){q.buttonCount=a("<span>").addClass("ui-li-count ui-btn-up-c ui-btn-corner-all").hide().appendTo(d)}if(t.disabled){this.disable()}s.change(function(){q.refresh()});a.extend(q,{select:s,optionElems:h,selectID:w,label:m,buttonId:l,menuId:n,thisPage:c,button:d,menuPage:r,menuPageContent:i,screen:f,listbox:e,list:x,menuType:p,header:v,headerClose:k,headerTitle:u,placeholder:""});if(t.nativeMenu){s.appendTo(d).bind("touchstart mousedown",function(o){d.addClass(a.mobile.activeBtnClass)}).bind("focus mouseover",function(){d.trigger("mouseover")}).bind("touchmove",function(){d.removeClass(a.mobile.activeBtnClass)}).bind("change blur mouseout",function(){d.trigger("mouseout").removeClass(a.mobile.activeBtnClass)});d.attr("tabindex","-1")}else{q.refresh();s.attr("tabindex","-1").focus(function(){a(this).blur();d.focus()});d.bind("touchstart",function(o){a(this).data("startTouches",a.extend({},o.originalEvent.touches[0]))}).bind(a.support.touch?"touchend":"mouseup",function(o){if(a(this).data("moved")){a(this).removeData("moved")}else{q.open()}o.preventDefault()}).bind("touchmove",function(A){var C=A.originalEvent.touches[0],B=a(this).data("startTouches"),z=Math.abs(C.pageX-B.pageX),o=Math.abs(C.pageY-B.pageY);if(z>10||o>10){a(this).data("moved",true)}});x.delegate("li:not(.ui-disabled, .ui-li-divider)","click",function(A){if(!a(A.target).is("a")){return}var o=x.find("li:not(.ui-li-divider)").index(this),z=q.optionElems.eq(o)[0];z.selected=j?!z.selected:true;if(j){a(this).find(".ui-icon").toggleClass("ui-icon-checkbox-on",z.selected).toggleClass("ui-icon-checkbox-off",!z.selected)}s.trigger("change");if(!j){q.close()}A.preventDefault()});f.add(k).add(g).bind("click",function(o){q.close();o.preventDefault();if(a.contains(g[0],o.target)){o.stopImmediatePropagation()}})}},_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-role='list-divider'>"+k+"</li>");c.push(k)}}if(!this.getAttribute("value")||q.length==0||p.data("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-icon='"+d+"' class='"+l.join(" ")+"' "+n.join(" ")+">"+j+"</li>")});e.list.html(f.join(" "));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.outerHeight(),l=p.list.outerWidth(),f=a(window).scrollTop(),o=p.button.offset().top,d=window.innerHeight,c=window.innerWidth,e=p.list.parents(".ui-dialog").length;p.button.addClass(a.mobile.activeBtnClass);function h(){p.list.find(".ui-btn-active").focus()}if(e||g>d-80||!a.support.scrollTop){if(f==0&&o>d){p.thisPage.one("pagehide",function(){a(this).data("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+d-o,n=g/2,m,j;if(k>g/2&&i>g/2){m=o+(p.button.outerHeight()/2)-n}else{m=k>i?f+d-g-30:f+30}j=p.button.offset().left+p.button.outerWidth()/2-l/2;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();c.button.removeClass(a.mobile.activeBtnClass)},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(d){return this.each(function(){var j=b(this),k=b.extend({},b.fn.buttonMarkup.defaults,j.data(),d),f,h="ui-btn-inner",e;if(a){a()}if(!k.theme){var g=j.closest("[class*='ui-bar-'],[class*='ui-body-']");k.theme=g.length?/ui-(bar|body)-([a-z])/.exec(g.attr("class"))[2]:"c"}f="ui-btn ui-btn-up-"+k.theme;if(k.inline){f+=" ui-btn-inline"}if(k.icon){k.icon="ui-icon-"+k.icon;k.iconpos=k.iconpos||"left";e="ui-icon "+k.icon;if(k.shadow){e+=" ui-icon-shadow"}}if(k.iconpos){f+=" ui-btn-icon-"+k.iconpos;if(k.iconpos=="notext"&&!j.attr("title")){j.attr("title",j.text())}}if(k.corners){f+=" ui-btn-corner-all";h+=" ui-btn-corner-all"}if(k.shadow){f+=" ui-shadow"}j.attr("data-theme",k.theme).addClass(f);var i=("<D class='"+h+"'><D class='ui-btn-text'></D>"+(k.icon?"<span class='"+e+"'></span>":"")+"</D>").replace(/D/g,k.wrapperEls);j.wrapInner(i)})};b.fn.buttonMarkup.defaults={corners:true,shadow:true,iconshadow:true,wrapperEls:"span"};var a=function(){b(".ui-btn:not(.ui-disabled)").live({"touchstart mousedown":function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-up-"+d).addClass("ui-btn-down-"+d)},"touchmove touchend mouseup":function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-down-"+d).addClass("ui-btn-up-"+d)},"mouseover focus":function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-up-"+d).addClass("ui-btn-hover-"+d)},"mouseout blur":function(){var d=b(this).attr("data-theme");b(this).removeClass("ui-btn-hover-"+d).addClass("ui-btn-up-"+d)}});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.click(function(){var f=a("<input>",{type:"hidden",name:c.attr("name"),value:c.attr("value")}).insertBefore(c);a(document).submit(function(){f.remove()})})}},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)}})})(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("touchmove mousemove",function(t){if(r.dragging){r.refresh(t);return false}});c.bind("touchstart mousedown",function(t){r.dragging=true;if(l==="select"){r.beforeStart=j[0].selectedIndex}r.refresh(t);return false});c.add(document).bind("touchend mouseup",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("touchstart mousedown",function(){a(this).focus()});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.originalEvent.touches?e.originalEvent.touches[0]: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('[data-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.data("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.data("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.data("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").removeClass("ui-corner-bottom")}}}).trigger(f.collapsed?"collapse":"expand");if(h.length&&!h.data("collapsiblebound")){h.data("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("[data-role=collapsible]");g.first().find("a:eq(0)").addClass("ui-corner-top").find(".ui-btn-inner").addClass("ui-corner-top");g.last().data("collapsible-last",true)}d.bind({tap:function(){if(d.is(".ui-collapsible-heading-collapsed")){c.trigger("expand")}else{c.trigger("collapse")}return false},click:false})}})})(jQuery);(function(a,b){a.fn.controlgroup=function(c){return this.each(function(){var g=a.extend({direction:a(this).data("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").attr("role","listbox");if(d.inset){c.addClass("ui-listview-inset ui-corner-all ui-shadow")}c.delegate(".ui-li","focusin",function(){a(this).attr("tabindex","0")});this._itemApply(c,c);this.refresh(true);c.keydown(function(k){var j=a(k.target),f=j.closest("li");switch(k.keyCode){case 38:var i=f.prev();if(i.length){j.blur().attr("tabindex","-1");i.find("a").first().focus()}return false;break;case 40:var h=f.next();if(h.length){j.blur().attr("tabindex","-1");h.find("a").first().focus()}return false;break;case 39:var g=f.find("a.ui-li-link-alt");if(g.length){j.blur();g.first().focus()}return false;break;case 37:var g=f.find("a.ui-link-inherit");if(g.length){j.blur();g.first().focus()}return false;break;case 13:case 32:j.trigger("click");return false;break}});c.delegate("li","click",function(e){if(!a(e.target).closest("a").length){a(this).find("a").first().trigger("click");return false}})},_itemApply:function(d,e){e.find(".ui-li-count").addClass("ui-btn-up-"+(d.data("counttheme")||this.options.countTheme)+" ui-btn-corner-all");e.find("h1, h2, h3, h4, h5, h6").addClass("ui-li-heading");e.find("p, dl").addClass("ui-li-desc");e.find("li").find("img:eq(0)").addClass("ui-li-thumb").each(function(){a(this).closest("li").addClass(a(this).is(".ui-li-icon")?"ui-li-has-icon":"ui-li-has-thumb")});var c=e.find(".ui-li-aside");if(c.length){c.each(function(f,g){a(g).prependTo(a(g).parent())})}if(a.support.cssPseudoElement||!a.nodeName(e[0],"ol")){return}},_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(g){this._createSubPages();var i=this.options,f=this.element,e=this,h=f.data("dividertheme")||i.dividerTheme,c=f.children("li"),d=a.support.cssPseudoElement||!a.nodeName(f[0],"ol")?0:1;if(d){f.find(".ui-li-dec").remove()}c.attr({role:"option",tabindex:"-1"});c.first().attr("tabindex","0");c.each(function(q){var n=a(this),o="ui-li";if(!g&&n.hasClass("ui-li")){return}var p=n.data("theme")||i.theme;var j=n.find("a");if(j.length){var l=n.data("icon");n.buttonMarkup({wrapperEls:"div",shadow:false,corners:false,iconpos:"right",icon:j.length>1||l===false?false:l||"arrow-r",theme:p});j.first().addClass("ui-link-inherit");if(j.length>1){o+=" ui-li-has-alt";var m=j.last(),k=f.data("splittheme")||m.data("theme")||i.splitTheme;m.appendTo(n).attr("title",m.text()).addClass("ui-li-link-alt").empty().buttonMarkup({shadow:false,corners:false,theme:p,icon:false,iconpos:false}).find(".ui-btn-inner").append(a("<span>").buttonMarkup({shadow:true,corners:true,theme:k,iconpos:"notext",icon:f.data("spliticon")||m.data("icon")||i.splitIcon}))}}else{if(n.data("role")==="list-divider"){o+=" ui-li-divider ui-btn ui-bar-"+h;n.attr("role","heading");if(d){d=1}}else{o+=" ui-li-static ui-btn-up-"+p}}if(i.inset){if(q===0){o+=" ui-corner-top";n.add(n.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-tr").end().find(".ui-li-thumb").addClass("ui-corner-tl");if(n.next().next().length){e._removeCorners(n.next())}}if(q===c.length-1){o+=" ui-corner-bottom";n.add(n.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-br").end().find(".ui-li-thumb").addClass("ui-corner-bl");if(n.prev().prev().length){e._removeCorners(n.prev())}}}if(d&&o.indexOf("ui-li-divider")<0){n.find(".ui-link-inherit").first().addClass("ui-li-jsnumbering").prepend("<span class='ui-li-dec'>"+(d++)+". </span>")}n.addClass(o);if(!g){e._itemApply(f,n)}})},_idStringEscape:function(c){return c.replace(/[^a-zA-Z0-9]/g,"-")},_createSubPages:function(){var d=this.element,c=d.closest(".ui-page"),h=c.data("url"),g=this.options,e=this,f=c.find("[data-role='footer']").data("id");a(d.find("ul, ol").toArray().reverse()).each(function(o){var p=a(this),r=p.parent(),q=a.trim(r.contents()[0].nodeValue)||r.find("a:first").text(),j=h+"&"+a.mobile.subPageUrlKey+"="+e._idStringEscape(q+" "+o),n=p.data("theme")||g.theme,k=p.data("counttheme")||d.data("counttheme")||g.countTheme,l=p.wrap("<div data-role='page'><div data-role='content'></div></div>").parent().before("<div data-role='header' data-theme='"+g.headerTheme+"'><div class='ui-title'>"+q+"</div></div>").after(f?a("<div>",{"data-role":"footer","data-id":f,"class":"ui-footer-duplicate"}):"").parent().attr({"data-url":j,"data-theme":n,"data-count-theme":k}).appendTo(a.mobile.pageContainer);l.page();var m=r.find("a:first");if(!m.length){m=a("<a></a>").html(q).prependTo(r.empty())}m.attr("href","#"+j)}).listview()}})})(jQuery);(function(a,b){a.mobile.listview.prototype.options.filter=false;a("[data-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:"Filter results...","data-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[data-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();f.insertBefore(e)})})(jQuery);(function(a,b){a.widget("mobile.dialog",a.mobile.widget,{options:{},_create:function(){var c=this,d=c.element;this.element.attr("role","dialog").addClass("ui-page ui-dialog ui-body-a").find("[data-role=header]").addClass("ui-corner-top ui-overlay-shadow").prepend('<a href="#" data-icon="delete" data-rel="back" data-iconpos="notext">Close</a>').end().find('.ui-content:not([class*="ui-body-"])').addClass("ui-body-c").end().find(".ui-content,[data-role=footer]").last().addClass("ui-corner-bottom ui-overlay-shadow");this.element.bind("click submit",function(g){var f;if(g.type=="click"){f=a(g.target).closest("a")}else{f=a(g.target).closest("form")}if(f.length&&!f.data("transition")){f.attr("data-transition",a.mobile.urlHistory.getActive().transition).attr("data-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("[data-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","click",function(f){c.removeClass("ui-btn-active");a(this).addClass("ui-btn-active")})}})})(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={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");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);
29
29
  /*!
30
30
  * jQuery Mobile v@VERSION
31
31
  * http://jquerymobile.com/
@@ -34,4 +34,4 @@
34
34
  * Dual licensed under the MIT or GPL Version 2 licenses.
35
35
  * http://jquery.org/license
36
36
  */
37
- (function(d,c,f){var b=d("html"),a=d("head"),e=d(c);d.extend(d.mobile,{initializePage:function(){var g=d("[data-role='page']");g.add("[data-role='dialog']").each(function(){d(this).attr("data-url",d(this).attr("id"))});d.mobile.firstPage=g.first();d.mobile.pageContainer=g.first().parent().addClass("ui-mobile-viewport");d.mobile.pageLoading();if(!d.mobile.hashListeningEnabled||!d.mobile.path.stripHash(location.hash)){d.mobile.changePage(d.mobile.firstPage,false,true,false,true)}else{e.trigger("hashchange",[true])}}});d(c.document).trigger("mobileinit");if(!d.mobile.gradeA()){return}b.addClass("ui-mobile ui-mobile-rendering");d.mobile.metaViewportContent?d("<meta>",{name:"viewport",content:d.mobile.metaViewportContent}).prependTo(a):f;d(d.mobile.initializePage);e.load(d.mobile.silentScroll)})(jQuery,this);(function(a){a.themeswitcher=function(){if(a("[data-url=themeswitcher]").length){return}var c="/stylesheets/compiled/jquery/mobile/",b=["default","valencia"],d=a.mobile.activePage,e=a("<div data-url=\"themeswitcher\" data-role='dialog' data-theme='a'><div data-role='header' data-theme='b'><div class='ui-title'>Switch Theme:</div></div><div data-role='content' data-theme='c'><ul data-role='listview' data-inset='true'></ul></div></div>").appendTo(a.mobile.pageContainer),g=e.find("ul");a.each(b,function(h){a('<li><a href="#" data-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);
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?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;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("[data-role='page']");h.add("[data-role='dialog']").each(function(){var i=e(this);if(!i.data("url")){i.attr("data-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-url=themeswitcher]").length){return}var c="/stylesheets/compiled/jquery/mobile/",b=["default","valencia"],d=a.mobile.activePage,e=a("<div data-url=\"themeswitcher\" data-role='dialog' data-theme='a'><div data-role='header' data-theme='b'><div class='ui-title'>Switch Theme:</div></div><div data-role='content' data-theme='c'><ul data-role='listview' data-inset='true'></ul></div></div>").appendTo(a.mobile.pageContainer),g=e.find("ul");a.each(b,function(h){a('<li><a href="#" data-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);
@@ -53,7 +53,7 @@
53
53
  $("#widget_submit").hide(); // HACK: easy way to make submit on enter work
54
54
  $("##{name}_update_dialog").find("form").submit(function() {
55
55
  $(this).ajaxSubmit({
56
- url: "/jqgrid/#{name}/"+rowId,
56
+ url: "#{url}/"+rowId,
57
57
  type: "PUT",
58
58
  success: function(response, status) {
59
59
  if(!$(response).is("form")) {
@@ -0,0 +1,3 @@
1
+ require 'jquery/tiny_mce'
2
+
3
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :tiny_mce => ['tiny_mce/jquery.tinymce']
@@ -0,0 +1,251 @@
1
+ # Generated by compass-jquery-plugin/gem-tasks/tiny_mce.rake
2
+ # Install with: compass install jquery/tinymce
3
+
4
+ file 'config/initializers/tiny_mce.rb'
5
+ javascript 'tiny_mce/utils/validate.js'
6
+ javascript 'tiny_mce/utils/mctabs.js'
7
+ javascript 'tiny_mce/utils/form_utils.js'
8
+ javascript 'tiny_mce/utils/editable_selects.js'
9
+ javascript 'tiny_mce/tiny_mce_popup.js'
10
+ javascript 'tiny_mce/tiny_mce.js'
11
+ javascript 'tiny_mce/themes/simple/skins/o2k7/ui.css'
12
+ javascript 'tiny_mce/themes/simple/skins/o2k7/img/button_bg.png'
13
+ javascript 'tiny_mce/themes/simple/skins/o2k7/content.css'
14
+ javascript 'tiny_mce/themes/simple/skins/default/ui.css'
15
+ javascript 'tiny_mce/themes/simple/skins/default/content.css'
16
+ javascript 'tiny_mce/themes/simple/langs/en.js'
17
+ javascript 'tiny_mce/themes/simple/img/icons.gif'
18
+ javascript 'tiny_mce/themes/simple/editor_template_src.js'
19
+ javascript 'tiny_mce/themes/simple/editor_template.js'
20
+ javascript 'tiny_mce/themes/advanced/source_editor.htm'
21
+ javascript 'tiny_mce/themes/advanced/skins/o2k7/ui_silver.css'
22
+ javascript 'tiny_mce/themes/advanced/skins/o2k7/ui_black.css'
23
+ javascript 'tiny_mce/themes/advanced/skins/o2k7/ui.css'
24
+ javascript 'tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png'
25
+ javascript 'tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png'
26
+ javascript 'tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png'
27
+ javascript 'tiny_mce/themes/advanced/skins/o2k7/dialog.css'
28
+ javascript 'tiny_mce/themes/advanced/skins/o2k7/content.css'
29
+ javascript 'tiny_mce/themes/advanced/skins/highcontrast/ui.css'
30
+ javascript 'tiny_mce/themes/advanced/skins/highcontrast/dialog.css'
31
+ javascript 'tiny_mce/themes/advanced/skins/highcontrast/content.css'
32
+ javascript 'tiny_mce/themes/advanced/skins/default/ui.css'
33
+ javascript 'tiny_mce/themes/advanced/skins/default/img/tabs.gif'
34
+ javascript 'tiny_mce/themes/advanced/skins/default/img/progress.gif'
35
+ javascript 'tiny_mce/themes/advanced/skins/default/img/menu_check.gif'
36
+ javascript 'tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif'
37
+ javascript 'tiny_mce/themes/advanced/skins/default/img/items.gif'
38
+ javascript 'tiny_mce/themes/advanced/skins/default/img/buttons.png'
39
+ javascript 'tiny_mce/themes/advanced/skins/default/dialog.css'
40
+ javascript 'tiny_mce/themes/advanced/skins/default/content.css'
41
+ javascript 'tiny_mce/themes/advanced/shortcuts.htm'
42
+ javascript 'tiny_mce/themes/advanced/link.htm'
43
+ javascript 'tiny_mce/themes/advanced/langs/en_dlg.js'
44
+ javascript 'tiny_mce/themes/advanced/langs/en.js'
45
+ javascript 'tiny_mce/themes/advanced/js/source_editor.js'
46
+ javascript 'tiny_mce/themes/advanced/js/link.js'
47
+ javascript 'tiny_mce/themes/advanced/js/image.js'
48
+ javascript 'tiny_mce/themes/advanced/js/color_picker.js'
49
+ javascript 'tiny_mce/themes/advanced/js/charmap.js'
50
+ javascript 'tiny_mce/themes/advanced/js/anchor.js'
51
+ javascript 'tiny_mce/themes/advanced/js/about.js'
52
+ javascript 'tiny_mce/themes/advanced/img/windowsmedia.gif'
53
+ javascript 'tiny_mce/themes/advanced/img/video.gif'
54
+ javascript 'tiny_mce/themes/advanced/img/trans.gif'
55
+ javascript 'tiny_mce/themes/advanced/img/shockwave.gif'
56
+ javascript 'tiny_mce/themes/advanced/img/realmedia.gif'
57
+ javascript 'tiny_mce/themes/advanced/img/quicktime.gif'
58
+ javascript 'tiny_mce/themes/advanced/img/pagebreak.gif'
59
+ javascript 'tiny_mce/themes/advanced/img/iframe.gif'
60
+ javascript 'tiny_mce/themes/advanced/img/icons.gif'
61
+ javascript 'tiny_mce/themes/advanced/img/flash.gif'
62
+ javascript 'tiny_mce/themes/advanced/img/colorpicker.jpg'
63
+ javascript 'tiny_mce/themes/advanced/image.htm'
64
+ javascript 'tiny_mce/themes/advanced/editor_template_src.js'
65
+ javascript 'tiny_mce/themes/advanced/editor_template.js'
66
+ javascript 'tiny_mce/themes/advanced/color_picker.htm'
67
+ javascript 'tiny_mce/themes/advanced/charmap.htm'
68
+ javascript 'tiny_mce/themes/advanced/anchor.htm'
69
+ javascript 'tiny_mce/themes/advanced/about.htm'
70
+ javascript 'tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js'
71
+ javascript 'tiny_mce/plugins/xhtmlxtras/js/ins.js'
72
+ javascript 'tiny_mce/plugins/xhtmlxtras/js/element_common.js'
73
+ javascript 'tiny_mce/plugins/xhtmlxtras/js/del.js'
74
+ javascript 'tiny_mce/plugins/xhtmlxtras/js/cite.js'
75
+ javascript 'tiny_mce/plugins/xhtmlxtras/js/attributes.js'
76
+ javascript 'tiny_mce/plugins/xhtmlxtras/js/acronym.js'
77
+ javascript 'tiny_mce/plugins/xhtmlxtras/js/abbr.js'
78
+ javascript 'tiny_mce/plugins/xhtmlxtras/ins.htm'
79
+ javascript 'tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js'
80
+ javascript 'tiny_mce/plugins/xhtmlxtras/editor_plugin.js'
81
+ javascript 'tiny_mce/plugins/xhtmlxtras/del.htm'
82
+ javascript 'tiny_mce/plugins/xhtmlxtras/css/popup.css'
83
+ javascript 'tiny_mce/plugins/xhtmlxtras/css/attributes.css'
84
+ javascript 'tiny_mce/plugins/xhtmlxtras/cite.htm'
85
+ javascript 'tiny_mce/plugins/xhtmlxtras/attributes.htm'
86
+ javascript 'tiny_mce/plugins/xhtmlxtras/acronym.htm'
87
+ javascript 'tiny_mce/plugins/xhtmlxtras/abbr.htm'
88
+ javascript 'tiny_mce/plugins/wordcount/editor_plugin_src.js'
89
+ javascript 'tiny_mce/plugins/wordcount/editor_plugin.js'
90
+ javascript 'tiny_mce/plugins/visualchars/editor_plugin_src.js'
91
+ javascript 'tiny_mce/plugins/visualchars/editor_plugin.js'
92
+ javascript 'tiny_mce/plugins/template/template.htm'
93
+ javascript 'tiny_mce/plugins/template/langs/en_dlg.js'
94
+ javascript 'tiny_mce/plugins/template/js/template.js'
95
+ javascript 'tiny_mce/plugins/template/editor_plugin_src.js'
96
+ javascript 'tiny_mce/plugins/template/editor_plugin.js'
97
+ javascript 'tiny_mce/plugins/template/css/template.css'
98
+ javascript 'tiny_mce/plugins/template/blank.htm'
99
+ javascript 'tiny_mce/plugins/table/table.htm'
100
+ javascript 'tiny_mce/plugins/table/row.htm'
101
+ javascript 'tiny_mce/plugins/table/merge_cells.htm'
102
+ javascript 'tiny_mce/plugins/table/langs/en_dlg.js'
103
+ javascript 'tiny_mce/plugins/table/js/table.js'
104
+ javascript 'tiny_mce/plugins/table/js/row.js'
105
+ javascript 'tiny_mce/plugins/table/js/merge_cells.js'
106
+ javascript 'tiny_mce/plugins/table/js/cell.js'
107
+ javascript 'tiny_mce/plugins/table/editor_plugin_src.js'
108
+ javascript 'tiny_mce/plugins/table/editor_plugin.js'
109
+ javascript 'tiny_mce/plugins/table/css/table.css'
110
+ javascript 'tiny_mce/plugins/table/css/row.css'
111
+ javascript 'tiny_mce/plugins/table/css/cell.css'
112
+ javascript 'tiny_mce/plugins/table/cell.htm'
113
+ javascript 'tiny_mce/plugins/tabfocus/editor_plugin_src.js'
114
+ javascript 'tiny_mce/plugins/tabfocus/editor_plugin.js'
115
+ javascript 'tiny_mce/plugins/style/props.htm'
116
+ javascript 'tiny_mce/plugins/style/langs/en_dlg.js'
117
+ javascript 'tiny_mce/plugins/style/js/props.js'
118
+ javascript 'tiny_mce/plugins/style/editor_plugin_src.js'
119
+ javascript 'tiny_mce/plugins/style/editor_plugin.js'
120
+ javascript 'tiny_mce/plugins/style/css/props.css'
121
+ javascript 'tiny_mce/plugins/spellchecker/img/wline.gif'
122
+ javascript 'tiny_mce/plugins/spellchecker/editor_plugin_src.js'
123
+ javascript 'tiny_mce/plugins/spellchecker/editor_plugin.js'
124
+ javascript 'tiny_mce/plugins/spellchecker/css/content.css'
125
+ javascript 'tiny_mce/plugins/searchreplace/searchreplace.htm'
126
+ javascript 'tiny_mce/plugins/searchreplace/langs/en_dlg.js'
127
+ javascript 'tiny_mce/plugins/searchreplace/js/searchreplace.js'
128
+ javascript 'tiny_mce/plugins/searchreplace/editor_plugin_src.js'
129
+ javascript 'tiny_mce/plugins/searchreplace/editor_plugin.js'
130
+ javascript 'tiny_mce/plugins/searchreplace/css/searchreplace.css'
131
+ javascript 'tiny_mce/plugins/save/editor_plugin_src.js'
132
+ javascript 'tiny_mce/plugins/save/editor_plugin.js'
133
+ javascript 'tiny_mce/plugins/print/editor_plugin_src.js'
134
+ javascript 'tiny_mce/plugins/print/editor_plugin.js'
135
+ javascript 'tiny_mce/plugins/preview/preview.html'
136
+ javascript 'tiny_mce/plugins/preview/jscripts/embed.js'
137
+ javascript 'tiny_mce/plugins/preview/example.html'
138
+ javascript 'tiny_mce/plugins/preview/editor_plugin_src.js'
139
+ javascript 'tiny_mce/plugins/preview/editor_plugin.js'
140
+ javascript 'tiny_mce/plugins/paste/pasteword.htm'
141
+ javascript 'tiny_mce/plugins/paste/pastetext.htm'
142
+ javascript 'tiny_mce/plugins/paste/langs/en_dlg.js'
143
+ javascript 'tiny_mce/plugins/paste/js/pasteword.js'
144
+ javascript 'tiny_mce/plugins/paste/js/pastetext.js'
145
+ javascript 'tiny_mce/plugins/paste/editor_plugin_src.js'
146
+ javascript 'tiny_mce/plugins/paste/editor_plugin.js'
147
+ javascript 'tiny_mce/plugins/pagebreak/editor_plugin_src.js'
148
+ javascript 'tiny_mce/plugins/pagebreak/editor_plugin.js'
149
+ javascript 'tiny_mce/plugins/noneditable/editor_plugin_src.js'
150
+ javascript 'tiny_mce/plugins/noneditable/editor_plugin.js'
151
+ javascript 'tiny_mce/plugins/nonbreaking/editor_plugin_src.js'
152
+ javascript 'tiny_mce/plugins/nonbreaking/editor_plugin.js'
153
+ javascript 'tiny_mce/plugins/media/moxieplayer.swf'
154
+ javascript 'tiny_mce/plugins/media/media.htm'
155
+ javascript 'tiny_mce/plugins/media/langs/en_dlg.js'
156
+ javascript 'tiny_mce/plugins/media/js/media.js'
157
+ javascript 'tiny_mce/plugins/media/js/embed.js'
158
+ javascript 'tiny_mce/plugins/media/editor_plugin_src.js'
159
+ javascript 'tiny_mce/plugins/media/editor_plugin.js'
160
+ javascript 'tiny_mce/plugins/media/css/media.css'
161
+ javascript 'tiny_mce/plugins/legacyoutput/editor_plugin_src.js'
162
+ javascript 'tiny_mce/plugins/legacyoutput/editor_plugin.js'
163
+ javascript 'tiny_mce/plugins/layer/editor_plugin_src.js'
164
+ javascript 'tiny_mce/plugins/layer/editor_plugin.js'
165
+ javascript 'tiny_mce/plugins/insertdatetime/editor_plugin_src.js'
166
+ javascript 'tiny_mce/plugins/insertdatetime/editor_plugin.js'
167
+ javascript 'tiny_mce/plugins/inlinepopups/template.htm'
168
+ javascript 'tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css'
169
+ javascript 'tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif'
170
+ javascript 'tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif'
171
+ javascript 'tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif'
172
+ javascript 'tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif'
173
+ javascript 'tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif'
174
+ javascript 'tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif'
175
+ javascript 'tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif'
176
+ javascript 'tiny_mce/plugins/inlinepopups/editor_plugin_src.js'
177
+ javascript 'tiny_mce/plugins/inlinepopups/editor_plugin.js'
178
+ javascript 'tiny_mce/plugins/iespell/editor_plugin_src.js'
179
+ javascript 'tiny_mce/plugins/iespell/editor_plugin.js'
180
+ javascript 'tiny_mce/plugins/fullscreen/fullscreen.htm'
181
+ javascript 'tiny_mce/plugins/fullscreen/editor_plugin_src.js'
182
+ javascript 'tiny_mce/plugins/fullscreen/editor_plugin.js'
183
+ javascript 'tiny_mce/plugins/fullpage/langs/en_dlg.js'
184
+ javascript 'tiny_mce/plugins/fullpage/js/fullpage.js'
185
+ javascript 'tiny_mce/plugins/fullpage/fullpage.htm'
186
+ javascript 'tiny_mce/plugins/fullpage/editor_plugin_src.js'
187
+ javascript 'tiny_mce/plugins/fullpage/editor_plugin.js'
188
+ javascript 'tiny_mce/plugins/fullpage/css/fullpage.css'
189
+ javascript 'tiny_mce/plugins/example/langs/en_dlg.js'
190
+ javascript 'tiny_mce/plugins/example/langs/en.js'
191
+ javascript 'tiny_mce/plugins/example/js/dialog.js'
192
+ javascript 'tiny_mce/plugins/example/img/example.gif'
193
+ javascript 'tiny_mce/plugins/example/editor_plugin_src.js'
194
+ javascript 'tiny_mce/plugins/example/editor_plugin.js'
195
+ javascript 'tiny_mce/plugins/example/dialog.htm'
196
+ javascript 'tiny_mce/plugins/emotions/langs/en_dlg.js'
197
+ javascript 'tiny_mce/plugins/emotions/js/emotions.js'
198
+ javascript 'tiny_mce/plugins/emotions/img/smiley-yell.gif'
199
+ javascript 'tiny_mce/plugins/emotions/img/smiley-wink.gif'
200
+ javascript 'tiny_mce/plugins/emotions/img/smiley-undecided.gif'
201
+ javascript 'tiny_mce/plugins/emotions/img/smiley-tongue-out.gif'
202
+ javascript 'tiny_mce/plugins/emotions/img/smiley-surprised.gif'
203
+ javascript 'tiny_mce/plugins/emotions/img/smiley-smile.gif'
204
+ javascript 'tiny_mce/plugins/emotions/img/smiley-sealed.gif'
205
+ javascript 'tiny_mce/plugins/emotions/img/smiley-money-mouth.gif'
206
+ javascript 'tiny_mce/plugins/emotions/img/smiley-laughing.gif'
207
+ javascript 'tiny_mce/plugins/emotions/img/smiley-kiss.gif'
208
+ javascript 'tiny_mce/plugins/emotions/img/smiley-innocent.gif'
209
+ javascript 'tiny_mce/plugins/emotions/img/smiley-frown.gif'
210
+ javascript 'tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif'
211
+ javascript 'tiny_mce/plugins/emotions/img/smiley-embarassed.gif'
212
+ javascript 'tiny_mce/plugins/emotions/img/smiley-cry.gif'
213
+ javascript 'tiny_mce/plugins/emotions/img/smiley-cool.gif'
214
+ javascript 'tiny_mce/plugins/emotions/emotions.htm'
215
+ javascript 'tiny_mce/plugins/emotions/editor_plugin_src.js'
216
+ javascript 'tiny_mce/plugins/emotions/editor_plugin.js'
217
+ javascript 'tiny_mce/plugins/directionality/editor_plugin_src.js'
218
+ javascript 'tiny_mce/plugins/directionality/editor_plugin.js'
219
+ javascript 'tiny_mce/plugins/contextmenu/editor_plugin_src.js'
220
+ javascript 'tiny_mce/plugins/contextmenu/editor_plugin.js'
221
+ javascript 'tiny_mce/plugins/bbcode/editor_plugin_src.js'
222
+ javascript 'tiny_mce/plugins/bbcode/editor_plugin.js'
223
+ javascript 'tiny_mce/plugins/autosave/langs/en.js'
224
+ javascript 'tiny_mce/plugins/autosave/editor_plugin_src.js'
225
+ javascript 'tiny_mce/plugins/autosave/editor_plugin.js'
226
+ javascript 'tiny_mce/plugins/autoresize/editor_plugin_src.js'
227
+ javascript 'tiny_mce/plugins/autoresize/editor_plugin.js'
228
+ javascript 'tiny_mce/plugins/advlist/editor_plugin_src.js'
229
+ javascript 'tiny_mce/plugins/advlist/editor_plugin.js'
230
+ javascript 'tiny_mce/plugins/advlink/link.htm'
231
+ javascript 'tiny_mce/plugins/advlink/langs/en_dlg.js'
232
+ javascript 'tiny_mce/plugins/advlink/js/advlink.js'
233
+ javascript 'tiny_mce/plugins/advlink/editor_plugin_src.js'
234
+ javascript 'tiny_mce/plugins/advlink/editor_plugin.js'
235
+ javascript 'tiny_mce/plugins/advlink/css/advlink.css'
236
+ javascript 'tiny_mce/plugins/advimage/langs/en_dlg.js'
237
+ javascript 'tiny_mce/plugins/advimage/js/image.js'
238
+ javascript 'tiny_mce/plugins/advimage/img/sample.gif'
239
+ javascript 'tiny_mce/plugins/advimage/image.htm'
240
+ javascript 'tiny_mce/plugins/advimage/editor_plugin_src.js'
241
+ javascript 'tiny_mce/plugins/advimage/editor_plugin.js'
242
+ javascript 'tiny_mce/plugins/advimage/css/advimage.css'
243
+ javascript 'tiny_mce/plugins/advhr/rule.htm'
244
+ javascript 'tiny_mce/plugins/advhr/langs/en_dlg.js'
245
+ javascript 'tiny_mce/plugins/advhr/js/rule.js'
246
+ javascript 'tiny_mce/plugins/advhr/editor_plugin_src.js'
247
+ javascript 'tiny_mce/plugins/advhr/editor_plugin.js'
248
+ javascript 'tiny_mce/plugins/advhr/css/advhr.css'
249
+ javascript 'tiny_mce/license.txt'
250
+ javascript 'tiny_mce/langs/en.js'
251
+ javascript 'tiny_mce/jquery.tinymce.js'