compass-jquery-plugin 0.3.0.beta.22 → 0.3.0.beta.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1192) hide show
  1. data/README.textile +59 -17
  2. data/Rakefile +51 -51
  3. data/VERSION.yml +1 -1
  4. data/compass-jquery-plugin.gemspec +1132 -1049
  5. data/gem_tasks/dynatree.rake +76 -76
  6. data/gem_tasks/emulators.rake +57 -0
  7. data/gem_tasks/jqgrid.rake +118 -118
  8. data/gem_tasks/jqical.rake +85 -85
  9. data/gem_tasks/jqtools.rake +60 -0
  10. data/gem_tasks/jqtouch.rake +20 -40
  11. data/gem_tasks/jrails.rake +35 -25
  12. data/gem_tasks/jstree.rake +96 -95
  13. data/gem_tasks/mobile.rake +113 -0
  14. data/gem_tasks/ribbon.rake +77 -77
  15. data/gem_tasks/rubygems.rake +6 -6
  16. data/gem_tasks/secret_sauce.rake +63 -63
  17. data/lib/jquery.mobile.rb +33 -0
  18. data/lib/jquery.ui.rb +140 -140
  19. data/lib/jquery/emulators.rb +3 -0
  20. data/lib/jquery/jqical/helpers/ui_event_helper.rb +13 -13
  21. data/lib/jquery/jqtools.rb +2 -0
  22. data/lib/jquery/mobile.rb +3 -0
  23. data/lib/jquery/secret_sauce/helpers/ui_form_helper.rb +117 -117
  24. data/lib/jquery/secret_sauce/helpers/ui_grid_helper.rb +225 -225
  25. data/templates/dynatree/config/initializers/dynatree.rb +4 -4
  26. data/templates/dynatree/{jquery.ui/dynatree.aero.scss → jquery/dynatree/aero.scss} +31 -31
  27. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/cbChecked.png +0 -0
  28. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/cbChecked_hover.png +0 -0
  29. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/cbIntermediate.png +0 -0
  30. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/cbIntermediate_hover.png +0 -0
  31. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/cbUnchecked.png +0 -0
  32. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/cbUnchecked_hover.png +0 -0
  33. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/collapsed.png +0 -0
  34. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/collapsed_hover.png +0 -0
  35. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/copy_here.png +0 -0
  36. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/customDoc1.png +0 -0
  37. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/customFolder1.png +0 -0
  38. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/doc_with_children.png +0 -0
  39. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/document.png +0 -0
  40. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/drop_accept.png +0 -0
  41. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/drop_here.png +0 -0
  42. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/drop_reject.png +0 -0
  43. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/empty.png +0 -0
  44. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/expanded.png +0 -0
  45. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/expanded_hover.png +0 -0
  46. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/folder.png +0 -0
  47. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/folder_docs.png +0 -0
  48. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/folder_images.png +0 -0
  49. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/folder_page.png +0 -0
  50. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/ltDoc.png +0 -0
  51. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/ltError.png +0 -0
  52. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/ltWait.gif +0 -0
  53. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/move_here.png +0 -0
  54. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/rbChecked.png +0 -0
  55. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/rbChecked_hover.png +0 -0
  56. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/rbIntermediate.png +0 -0
  57. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/rbIntermediate_hover.png +0 -0
  58. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/rbUnchecked.png +0 -0
  59. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/rbUnchecked_hover.png +0 -0
  60. data/templates/dynatree/{jquery.ui/dynatree.crystal.scss → jquery/dynatree/aqua.scss} +32 -32
  61. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/cbChecked.png +0 -0
  62. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/cbChecked_hover.png +0 -0
  63. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/cbIntermediate.png +0 -0
  64. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/cbIntermediate_hover.png +0 -0
  65. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/cbUnchecked.png +0 -0
  66. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/cbUnchecked_hover.png +0 -0
  67. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/collapsed.png +0 -0
  68. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/collapsed_hover.png +0 -0
  69. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/copy_here.png +0 -0
  70. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/customDoc1.png +0 -0
  71. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/customFolder1.png +0 -0
  72. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/doc_with_children.png +0 -0
  73. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/document.png +0 -0
  74. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/drop_accept.png +0 -0
  75. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/drop_here.png +0 -0
  76. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/drop_reject.png +0 -0
  77. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/empty.png +0 -0
  78. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/expanded.png +0 -0
  79. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/expanded_hover.png +0 -0
  80. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/folder.png +0 -0
  81. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/folder_docs.png +0 -0
  82. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/folder_images.png +0 -0
  83. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/folder_open.png +0 -0
  84. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/folder_page.png +0 -0
  85. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/ltDoc.png +0 -0
  86. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/ltError.png +0 -0
  87. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/ltWait.gif +0 -0
  88. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/move_here.png +0 -0
  89. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/rbChecked.png +0 -0
  90. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/rbChecked_hover.png +0 -0
  91. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/rbIntermediate.png +0 -0
  92. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/rbIntermediate_hover.png +0 -0
  93. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/rbUnchecked.png +0 -0
  94. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/rbUnchecked_hover.png +0 -0
  95. data/templates/dynatree/{jquery.ui/dynatree.aqua.scss → jquery/dynatree/crystal.scss} +32 -32
  96. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/cbChecked.png +0 -0
  97. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/cbChecked_hover.png +0 -0
  98. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/cbIntermediate.png +0 -0
  99. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/cbIntermediate_hover.png +0 -0
  100. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/cbUnchecked.png +0 -0
  101. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/cbUnchecked_hover.png +0 -0
  102. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/collapsed.png +0 -0
  103. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/collapsed_hover.png +0 -0
  104. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/copy_here.png +0 -0
  105. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/customDoc1.png +0 -0
  106. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/customFolder1.png +0 -0
  107. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/doc_with_children.png +0 -0
  108. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/document.png +0 -0
  109. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/drop_accept.png +0 -0
  110. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/drop_here.png +0 -0
  111. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/drop_reject.png +0 -0
  112. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/empty.png +0 -0
  113. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/expanded.png +0 -0
  114. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/expanded_hover.png +0 -0
  115. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/folder.png +0 -0
  116. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/folder_docs.png +0 -0
  117. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/folder_images.png +0 -0
  118. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/folder_open.png +0 -0
  119. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/folder_page.png +0 -0
  120. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/ltDoc.png +0 -0
  121. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/ltError.png +0 -0
  122. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/ltWait.gif +0 -0
  123. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/move_here.png +0 -0
  124. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/rbChecked.png +0 -0
  125. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/rbChecked_hover.png +0 -0
  126. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/rbIntermediate.png +0 -0
  127. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/rbIntermediate_hover.png +0 -0
  128. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/rbUnchecked.png +0 -0
  129. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/rbUnchecked_hover.png +0 -0
  130. data/templates/dynatree/{jquery.ui/dynatree.xp.scss → jquery/dynatree/xp.scss} +35 -35
  131. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/cbChecked.png +0 -0
  132. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/cbChecked_hover.png +0 -0
  133. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/cbIntermediate.png +0 -0
  134. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/cbIntermediate_hover.png +0 -0
  135. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/cbUnchecked.png +0 -0
  136. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/cbUnchecked_hover.png +0 -0
  137. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/copy_here.png +0 -0
  138. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/customDoc1.png +0 -0
  139. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/customFolder1.png +0 -0
  140. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/drop_accept.png +0 -0
  141. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/drop_here.png +0 -0
  142. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/drop_reject.png +0 -0
  143. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltD_ne.png +0 -0
  144. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltD_nes.png +0 -0
  145. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltDoc.png +0 -0
  146. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltError.png +0 -0
  147. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltFld.png +0 -0
  148. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltFld_o.png +0 -0
  149. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltL_.png +0 -0
  150. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltL_ne.png +0 -0
  151. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltL_nes.png +0 -0
  152. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltL_ns.png +0 -0
  153. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltM_ne.png +0 -0
  154. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltM_nes.png +0 -0
  155. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltP_ne.png +0 -0
  156. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltP_nes.png +0 -0
  157. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltWait.gif +0 -0
  158. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/move_here.png +0 -0
  159. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/rbChecked.png +0 -0
  160. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/rbChecked_hover.png +0 -0
  161. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/rbIntermediate.png +0 -0
  162. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/rbIntermediate_hover.png +0 -0
  163. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/rbUnchecked.png +0 -0
  164. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/rbUnchecked_hover.png +0 -0
  165. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/vline.png +0 -0
  166. data/templates/dynatree/manifest.rb +140 -140
  167. data/templates/emulators/config/initializers/emulators.rb +10 -0
  168. data/templates/emulators/emulators/blackberry.landscape.scss +15 -0
  169. data/templates/emulators/emulators/blackberry.portrait.scss +15 -0
  170. data/templates/emulators/emulators/blackberry.torch.landscape.png +0 -0
  171. data/templates/emulators/emulators/blackberry.torch.portrait.png +0 -0
  172. data/templates/emulators/emulators/ipad.landscape.png +0 -0
  173. data/templates/emulators/emulators/ipad.landscape.scss +15 -0
  174. data/templates/emulators/emulators/ipad.portrait.png +0 -0
  175. data/templates/emulators/emulators/ipad.portrait.scss +15 -0
  176. data/templates/emulators/emulators/iphone.landscape.png +0 -0
  177. data/templates/emulators/emulators/iphone.landscape.scss +15 -0
  178. data/templates/emulators/emulators/iphone.portrait.png +0 -0
  179. data/templates/emulators/emulators/iphone.portrait.scss +15 -0
  180. data/templates/emulators/emulators/palm.landscape.scss +15 -0
  181. data/templates/emulators/emulators/palm.portrait.scss +15 -0
  182. data/templates/emulators/emulators/palm.pre.landscape.png +0 -0
  183. data/templates/emulators/emulators/palm.pre.portrait.png +0 -0
  184. data/templates/emulators/manifest.rb +20 -0
  185. data/templates/jqgrid/config/initializers/jqgrid.rb +1 -1
  186. data/templates/jqgrid/i18n/jqgrid/locale-cat.js +1 -1
  187. data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +1 -1
  188. data/templates/jqgrid/i18n/jqgrid/locale-de.js +23 -18
  189. data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +6 -6
  190. data/templates/jqgrid/i18n/jqgrid/locale-fr.js +2 -2
  191. data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +1 -1
  192. data/templates/jqgrid/jquery.jqGrid.js +1858 -1850
  193. data/templates/jqgrid/jquery.jqGrid.min.js +214 -214
  194. data/templates/jqgrid/{jquery.ui → jquery}/jqGrid.scss +0 -0
  195. data/templates/jqgrid/manifest.rb +1 -1
  196. data/templates/jqical/app/views/{ui → shared}/_ui_event_for.js.haml +0 -0
  197. data/templates/jqical/config/initializers/jqical.rb +1 -1
  198. data/templates/jqical/{jquery.ui → jquery}/jqical.scss +0 -0
  199. data/templates/jqical/{jquery.ui → jquery}/jqical/calendar.png +0 -0
  200. data/templates/jqical/{jquery.ui → jquery}/jqical/clock.png +0 -0
  201. data/templates/jqical/manifest.rb +4 -4
  202. data/templates/jqtools/config/initializers/jqtools.rb +3 -0
  203. data/templates/jqtools/jquery.tools.js +4576 -0
  204. data/templates/jqtools/jquery.tools.min.js +255 -0
  205. data/templates/jqtools/manifest.rb +6 -0
  206. data/templates/jqtouch/config/initializers/jqtouch.rb +5 -6
  207. data/templates/jqtouch/jquery.jqtouch.js +656 -414
  208. data/templates/jqtouch/jquery.jqtouch.min.js +1 -1
  209. data/templates/jqtouch/{jqtouch/jqt.apple.scss → jquery/touch/apple.scss} +30 -36
  210. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/activeButton.png +0 -0
  211. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/backButton.png +0 -0
  212. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/cancel.png +0 -0
  213. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/chevron.png +0 -0
  214. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/grayButton.png +0 -0
  215. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/greenButton.png +0 -0
  216. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/listArrowSel.png +0 -0
  217. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/listGroup.png +0 -0
  218. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/loading.gif +0 -0
  219. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/on_off.png +0 -0
  220. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/pinstripes.png +0 -0
  221. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/redButton.png +0 -0
  222. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/selection.png +0 -0
  223. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/thumb.png +0 -0
  224. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/toggle.png +0 -0
  225. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/toggleOn.png +0 -0
  226. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/toolButton.png +0 -0
  227. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/toolbar.png +0 -0
  228. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/whiteButton.png +0 -0
  229. data/templates/jqtouch/{jqtouch/jqt.default.scss → jquery/touch/default.scss} +31 -43
  230. data/templates/jqtouch/{jqtouch → jquery/touch}/default/backButton.png +0 -0
  231. data/templates/jqtouch/{jqtouch → jquery/touch}/default/backButtonActive.png +0 -0
  232. data/templates/jqtouch/{jqtouch → jquery/touch}/default/bigButton.png +0 -0
  233. data/templates/jqtouch/{jqtouch → jquery/touch}/default/bigButtonActive.png +0 -0
  234. data/templates/jqtouch/{jqtouch → jquery/touch}/default/button.png +0 -0
  235. data/templates/jqtouch/{jqtouch → jquery/touch}/default/buttonActive.png +0 -0
  236. data/templates/jqtouch/{jqtouch → jquery/touch}/default/chevron.png +0 -0
  237. data/templates/jqtouch/{jqtouch → jquery/touch}/default/chevronActive.png +0 -0
  238. data/templates/jqtouch/{jqtouch → jquery/touch}/default/chevronCircle.png +0 -0
  239. data/templates/jqtouch/{jqtouch → jquery/touch}/default/chevronCircleActive.png +0 -0
  240. data/templates/jqtouch/{jqtouch → jquery/touch}/default/loading.gif +0 -0
  241. data/templates/jqtouch/{jqtouch → jquery/touch}/default/toggleSwitch.png +0 -0
  242. data/templates/jqtouch/{jqtouch → jquery/touch}/default/toolbarBackground.png +0 -0
  243. data/templates/jqtouch/jqtouch/glyphish/Read me first - license.txt b/data/templates/jqtouch/jquery/touch/glyphish/Read me first - → license.txt +0 -0
  244. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/01-refresh.png +0 -0
  245. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/02-redo.png +0 -0
  246. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/03-loopback.png +0 -0
  247. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/04-squiggle.png +0 -0
  248. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/05-shuffle.png +0 -0
  249. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/06-magnifying-glass.png +0 -0
  250. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/07-map-marker.png +0 -0
  251. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/08-chat.png +0 -0
  252. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/09-chat2.png +0 -0
  253. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/10-medical.png +0 -0
  254. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/100-coffee.png +0 -0
  255. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/101-gameplan.png +0 -0
  256. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/102-walk.png +0 -0
  257. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/103-map.png +0 -0
  258. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/104-index-cards.png +0 -0
  259. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/105-piano.png +0 -0
  260. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/106-sliders.png +0 -0
  261. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/107-widescreen.png +0 -0
  262. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/108-badge.png +0 -0
  263. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/109-chicken.png +0 -0
  264. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/11-clock.png +0 -0
  265. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/110-bug.png +0 -0
  266. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/111-user.png +0 -0
  267. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/112-group.png +0 -0
  268. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/113-navigation.png +0 -0
  269. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/114-balloon.png +0 -0
  270. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/115-bow-and-arrow.png +0 -0
  271. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/116-controller.png +0 -0
  272. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/117-todo.png +0 -0
  273. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/118-coathanger.png +0 -0
  274. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/119-piggybank.png +0 -0
  275. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/12-eye.png +0 -0
  276. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/120-headphones.png +0 -0
  277. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/121-lanscape.png +0 -0
  278. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/122-stats.png +0 -0
  279. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/123-id-card.png +0 -0
  280. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/124-bullhorn.png +0 -0
  281. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/125-food.png +0 -0
  282. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/126-moon.png +0 -0
  283. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/127-sock.png +0 -0
  284. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/128-bone.png +0 -0
  285. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/129-golf.png +0 -0
  286. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/13-target.png +0 -0
  287. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/130-dice.png +0 -0
  288. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/14-tag.png +0 -0
  289. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/15-tags.png +0 -0
  290. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/16-line-chart.png +0 -0
  291. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/17-bar-chart.png +0 -0
  292. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/18-envelope.png +0 -0
  293. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/19-gear.png +0 -0
  294. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/20-gear2.png +0 -0
  295. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/21-skull.png +0 -0
  296. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/22-skull-n-crossbones.png +0 -0
  297. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/23-bird.png +0 -0
  298. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/24-gift.png +0 -0
  299. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/25-weather.png +0 -0
  300. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/26-bandaid.png +0 -0
  301. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/27-planet.png +0 -0
  302. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/28-star.png +0 -0
  303. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/29-heart.png +0 -0
  304. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/30-key.png +0 -0
  305. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/31-ipod.png +0 -0
  306. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/32-iphone.png +0 -0
  307. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/33-cabinet.png +0 -0
  308. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/34-coffee.png +0 -0
  309. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/35-shopping-bag.png +0 -0
  310. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/36-toolbox.png +0 -0
  311. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/37-suitcase.png +0 -0
  312. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/38-airplane.png +0 -0
  313. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/39-spraycan.png +0 -0
  314. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/40-inbox.png +0 -0
  315. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/41-picture-frame.png +0 -0
  316. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/42-photos.png +0 -0
  317. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/43-film-roll.png +0 -0
  318. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/44-shoebox.png +0 -0
  319. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/45-movie1.png +0 -0
  320. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/46-movie2.png +0 -0
  321. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/47-fuel.png +0 -0
  322. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/48-fork-and-knife.png +0 -0
  323. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/49-battery.png +0 -0
  324. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/50-beaker.png +0 -0
  325. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/51-outlet.png +0 -0
  326. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/52-pinetree.png +0 -0
  327. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/53-house.png +0 -0
  328. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/54-lock.png +0 -0
  329. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/55-network.png +0 -0
  330. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/56-cloud.png +0 -0
  331. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/57-download.png +0 -0
  332. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/58-bookmark.png +0 -0
  333. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/59-flag.png +0 -0
  334. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/60-signpost.png +0 -0
  335. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/61-brightness.png +0 -0
  336. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/62-contrast.png +0 -0
  337. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/63-runner.png +0 -0
  338. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/64-zap.png +0 -0
  339. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/65-note.png +0 -0
  340. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/66-microphone.png +0 -0
  341. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/67-tshirt.png +0 -0
  342. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/68-paperclip.png +0 -0
  343. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/69-display.png +0 -0
  344. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/70-tv.png +0 -0
  345. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/71-compass.png +0 -0
  346. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/72-pin.png +0 -0
  347. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/73-radar.png +0 -0
  348. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/74-location.png +0 -0
  349. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/75-phone.png +0 -0
  350. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/76-baby.png +0 -0
  351. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/77-ekg.png +0 -0
  352. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/78-stopwatch.png +0 -0
  353. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/79-medical-bag.png +0 -0
  354. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/80-shopping-cart.png +0 -0
  355. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/81-dashboard.png +0 -0
  356. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/82-dogpaw.png +0 -0
  357. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/83-calendar.png +0 -0
  358. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/84-lightbulb.png +0 -0
  359. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/85-trophy.png +0 -0
  360. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/86-camera.png +0 -0
  361. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/87-wineglass.png +0 -0
  362. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/88-beermug.png +0 -0
  363. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/89-dumbbell.png +0 -0
  364. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/90-lifebuoy.png +0 -0
  365. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/91-beaker2.png +0 -0
  366. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/92-testtube.png +0 -0
  367. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/93-thermometer.png +0 -0
  368. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/94-pill.png +0 -0
  369. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/95-equalizer.png +0 -0
  370. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/96-book.png +0 -0
  371. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/97-puzzle.png +0 -0
  372. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/98-palette.png +0 -0
  373. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/99-umbrella.png +0 -0
  374. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/01-refresh.png +0 -0
  375. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/02-redo.png +0 -0
  376. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/03-loopback.png +0 -0
  377. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/04-squiggle.png +0 -0
  378. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/05-shuffle.png +0 -0
  379. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/06-magnifying-glass.png +0 -0
  380. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/07-map-marker.png +0 -0
  381. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/08-chat.png +0 -0
  382. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/09-chat2.png +0 -0
  383. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/10-medical.png +0 -0
  384. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/100-coffee.png +0 -0
  385. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/101-gameplan.png +0 -0
  386. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/102-walk.png +0 -0
  387. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/103-map.png +0 -0
  388. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/104-index-cards.png +0 -0
  389. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/105-piano.png +0 -0
  390. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/106-sliders.png +0 -0
  391. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/107-widescreen.png +0 -0
  392. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/108-badge.png +0 -0
  393. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/109-chicken.png +0 -0
  394. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/11-clock.png +0 -0
  395. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/110-bug.png +0 -0
  396. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/111-user.png +0 -0
  397. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/112-group.png +0 -0
  398. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/113-navigation.png +0 -0
  399. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/114-balloon.png +0 -0
  400. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/115-bow-and-arrow.png +0 -0
  401. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/116-controller.png +0 -0
  402. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/117-todo.png +0 -0
  403. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/118-coathanger.png +0 -0
  404. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/119-piggybank.png +0 -0
  405. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/12-eye.png +0 -0
  406. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/120-headphones.png +0 -0
  407. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/121-lanscape.png +0 -0
  408. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/122-stats.png +0 -0
  409. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/123-id-card.png +0 -0
  410. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/124-bullhorn.png +0 -0
  411. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/125-food.png +0 -0
  412. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/126-moon.png +0 -0
  413. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/127-sock.png +0 -0
  414. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/128-bone.png +0 -0
  415. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/129-golf.png +0 -0
  416. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/13-target.png +0 -0
  417. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/130-dice.png +0 -0
  418. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/14-tag.png +0 -0
  419. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/15-tags.png +0 -0
  420. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/16-line-chart.png +0 -0
  421. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/17-bar-chart.png +0 -0
  422. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/18-envelope.png +0 -0
  423. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/19-gear.png +0 -0
  424. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/20-gear2.png +0 -0
  425. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/21-skull.png +0 -0
  426. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/22-skull-n-crossbones.png +0 -0
  427. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/23-bird.png +0 -0
  428. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/24-gift.png +0 -0
  429. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/25-weather.png +0 -0
  430. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/26-bandaid.png +0 -0
  431. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/27-planet.png +0 -0
  432. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/28-star.png +0 -0
  433. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/29-heart.png +0 -0
  434. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/30-key.png +0 -0
  435. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/31-ipod.png +0 -0
  436. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/32-iphone.png +0 -0
  437. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/33-cabinet.png +0 -0
  438. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/34-coffee.png +0 -0
  439. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/35-shopping-bag.png +0 -0
  440. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/36-toolbox.png +0 -0
  441. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/37-suitcase.png +0 -0
  442. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/38-airplane.png +0 -0
  443. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/39-spraycan.png +0 -0
  444. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/40-inbox.png +0 -0
  445. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/41-picture-frame.png +0 -0
  446. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/42-photos.png +0 -0
  447. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/43-film-roll.png +0 -0
  448. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/44-shoebox.png +0 -0
  449. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/45-movie1.png +0 -0
  450. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/46-movie2.png +0 -0
  451. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/47-fuel.png +0 -0
  452. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/48-fork-and-knife.png +0 -0
  453. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/49-battery.png +0 -0
  454. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/50-beaker.png +0 -0
  455. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/51-outlet.png +0 -0
  456. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/52-pinetree.png +0 -0
  457. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/53-house.png +0 -0
  458. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/54-lock.png +0 -0
  459. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/55-network.png +0 -0
  460. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/56-cloud.png +0 -0
  461. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/57-download.png +0 -0
  462. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/58-bookmark.png +0 -0
  463. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/59-flag.png +0 -0
  464. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/60-signpost.png +0 -0
  465. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/61-brightness.png +0 -0
  466. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/62-contrast.png +0 -0
  467. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/63-runner.png +0 -0
  468. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/64-zap.png +0 -0
  469. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/65-note.png +0 -0
  470. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/66-microphone.png +0 -0
  471. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/67-tshirt.png +0 -0
  472. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/68-paperclip.png +0 -0
  473. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/69-display.png +0 -0
  474. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/70-tv.png +0 -0
  475. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/71-compass.png +0 -0
  476. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/72-pin.png +0 -0
  477. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/73-radar.png +0 -0
  478. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/74-location.png +0 -0
  479. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/75-phone.png +0 -0
  480. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/76-baby.png +0 -0
  481. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/77-ekg.png +0 -0
  482. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/78-stopwatch.png +0 -0
  483. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/79-medical-bag.png +0 -0
  484. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/80-shopping-cart.png +0 -0
  485. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/81-dashboard.png +0 -0
  486. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/82-dogpaw.png +0 -0
  487. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/83-calendar.png +0 -0
  488. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/84-lightbulb.png +0 -0
  489. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/85-trophy.png +0 -0
  490. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/86-camera.png +0 -0
  491. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/87-wineglass.png +0 -0
  492. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/88-beermug.png +0 -0
  493. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/89-dumbbell.png +0 -0
  494. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/90-lifebuoy.png +0 -0
  495. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/91-beaker2.png +0 -0
  496. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/92-testtube.png +0 -0
  497. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/93-thermometer.png +0 -0
  498. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/94-pill.png +0 -0
  499. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/95-equalizer.png +0 -0
  500. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/96-book.png +0 -0
  501. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/97-puzzle.png +0 -0
  502. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/98-palette.png +0 -0
  503. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/99-umbrella.png +0 -0
  504. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/bottom_bar.png +0 -0
  505. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/calpad.jpg +0 -0
  506. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/cells.png +0 -0
  507. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/footer.png +0 -0
  508. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/header.png +0 -0
  509. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/header_left.png +0 -0
  510. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/header_right.png +0 -0
  511. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/jqt_startup.png +0 -0
  512. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/jqtouch-ical.png +0 -0
  513. data/templates/jqtouch/{jqtouch/jqt.jqt.scss → jquery/touch/jqt.scss} +36 -40
  514. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/activeButton.png +0 -0
  515. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/back_button.png +0 -0
  516. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/back_button_clicked.png +0 -0
  517. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/blueButton.png +0 -0
  518. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/button.png +0 -0
  519. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/button_clicked.png +0 -0
  520. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/chevron.png +0 -0
  521. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/chevron_circle.png +0 -0
  522. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/grayButton.png +0 -0
  523. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/greenButton.png +0 -0
  524. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/loading.gif +0 -0
  525. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/on_off.png +0 -0
  526. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/redButton.png +0 -0
  527. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/rowhead.png +0 -0
  528. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/toggle.png +0 -0
  529. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/toggleOn.png +0 -0
  530. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/toolbar.png +0 -0
  531. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/whiteButton.png +0 -0
  532. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt_startup.png +0 -0
  533. data/templates/jqtouch/{jqtouch → jquery/touch}/jqtouch.png +0 -0
  534. data/templates/jqtouch/{jqtouch → jquery/touch}/jqtouch.scss +276 -254
  535. data/templates/jqtouch/jquery/touch/jqtouch4.png +0 -0
  536. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/btnBack.png +0 -0
  537. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/loading.gif +0 -0
  538. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/navNext.png +0 -0
  539. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/navPause.png +0 -0
  540. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/navPlay.png +0 -0
  541. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/navPrev.png +0 -0
  542. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/toolbar.png +0 -0
  543. data/templates/jqtouch/{jqtouch → jquery/touch}/sw/alpha.png +0 -0
  544. data/templates/jqtouch/{jqtouch → jquery/touch}/sw/button-cancel.png +0 -0
  545. data/templates/jqtouch/{jqtouch → jquery/touch}/sw/button-done.png +0 -0
  546. data/templates/jqtouch/{jqtouch → jquery/touch}/sw/header.png +0 -0
  547. data/templates/jqtouch/{jqtouch → jquery/touch}/sw/slot-border.png +0 -0
  548. data/templates/jqtouch/manifest.rb +339 -342
  549. data/templates/jrails/config/initializers/jrails.rb +8 -4
  550. data/templates/jrails/i18n/jquery.ui/datepicker-gl.js +23 -0
  551. data/templates/jrails/i18n/jquery.ui/datepicker-gl.min.js +2 -0
  552. data/templates/jrails/i18n/jquery.ui/datepicker-pt.js +22 -0
  553. data/templates/jrails/i18n/jquery.ui/datepicker-pt.min.js +2 -0
  554. data/templates/jrails/i18n/jquery.ui/datepicker-ru.js +1 -1
  555. data/templates/jrails/i18n/jquery.ui/datepicker-ru.min.js +1 -1
  556. data/templates/jrails/jquery-1.4.3.js +6944 -0
  557. data/templates/jrails/jquery-1.4.3.min.js +152 -0
  558. data/templates/jrails/{jquery-ui-1.8.5.js → jquery-ui-1.8.6.js} +514 -356
  559. data/templates/jrails/jquery-ui-1.8.6.min.js +825 -0
  560. data/templates/jrails/jquery.bgiframe.js +37 -8
  561. data/templates/jrails/jquery.bgiframe.min.js +2 -2
  562. data/templates/jrails/jquery.cookie.js +89 -0
  563. data/templates/jrails/jquery.cookie.min.js +2 -0
  564. data/templates/jrails/jquery.flash_messages.js +5 -0
  565. data/templates/jrails/jquery.flash_messages.min.js +1 -0
  566. data/templates/jrails/jquery.form.js +660 -0
  567. data/templates/jrails/jquery.form.min.js +17 -0
  568. data/templates/jrails/jquery.layout.js +2507 -0
  569. data/templates/jrails/jquery.layout.min.js +49 -0
  570. data/templates/jrails/jquery.themeswitchertool.js +4 -4
  571. data/templates/jrails/jquery.themeswitchertool.min.js +4 -4
  572. data/templates/jrails/{jquery.ui → jquery/ui}/_theme.scss +20 -15
  573. data/templates/jrails/{jquery.ui → jquery/ui}/base.scss +18 -18
  574. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-anim_basic_16x16.gif +0 -0
  575. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  576. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_flat_75_ffffff_40x100.png +0 -0
  577. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  578. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_glass_65_ffffff_1x400.png +0 -0
  579. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_glass_75_dadada_1x400.png +0 -0
  580. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  581. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  582. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  583. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-icons_222222_256x240.png +0 -0
  584. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-icons_2e83ff_256x240.png +0 -0
  585. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-icons_454545_256x240.png +0 -0
  586. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-icons_888888_256x240.png +0 -0
  587. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-icons_cd0a0a_256x240.png +0 -0
  588. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie.scss +18 -18
  589. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-anim_basic_16x16.gif +0 -0
  590. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  591. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_flat_65_ffffff_40x100.png +0 -0
  592. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_glass_40_111111_1x400.png +0 -0
  593. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  594. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  595. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  596. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  597. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  598. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  599. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-icons_222222_256x240.png +0 -0
  600. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-icons_4ca300_256x240.png +0 -0
  601. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
  602. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-icons_ededed_256x240.png +0 -0
  603. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-icons_ffcf29_256x240.png +0 -0
  604. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-icons_ffffff_256x240.png +0 -0
  605. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer.scss +18 -18
  606. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-anim_basic_16x16.gif +0 -0
  607. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  608. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  609. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_flat_0_333333_40x100.png +0 -0
  610. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_flat_65_ffffff_40x100.png +0 -0
  611. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_flat_75_ffffff_40x100.png +0 -0
  612. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  613. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  614. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  615. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  616. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-icons_004276_256x240.png +0 -0
  617. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-icons_cc0000_256x240.png +0 -0
  618. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-icons_ffffff_256x240.png +0 -0
  619. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu.scss +6 -6
  620. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu/cut.png +0 -0
  621. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu/door.png +0 -0
  622. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu/page_white_copy.png +0 -0
  623. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu/page_white_delete.png +0 -0
  624. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu/page_white_edit.png +0 -0
  625. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu/page_white_paste.png +0 -0
  626. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino.scss +18 -18
  627. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-anim_basic_16x16.gif +0 -0
  628. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  629. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  630. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  631. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_glass_50_3baae3_1x400.png +0 -0
  632. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  633. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  634. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  635. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  636. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  637. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-icons_2694e8_256x240.png +0 -0
  638. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-icons_2e83ff_256x240.png +0 -0
  639. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-icons_3d80b3_256x240.png +0 -0
  640. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-icons_72a7cf_256x240.png +0 -0
  641. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-icons_ffffff_256x240.png +0 -0
  642. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive.scss +18 -18
  643. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-anim_basic_16x16.gif +0 -0
  644. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_flat_30_cccccc_40x100.png +0 -0
  645. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  646. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  647. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  648. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  649. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  650. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  651. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  652. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_loop_25_000000_21x21.png +0 -0
  653. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-icons_222222_256x240.png +0 -0
  654. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-icons_4b8e0b_256x240.png +0 -0
  655. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-icons_a83300_256x240.png +0 -0
  656. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-icons_cccccc_256x240.png +0 -0
  657. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-icons_ffffff_256x240.png +0 -0
  658. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv.scss +18 -18
  659. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-anim_basic_16x16.gif +0 -0
  660. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  661. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  662. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_dots-small_20_333333_2x2.png +0 -0
  663. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  664. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  665. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  666. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_flat_40_292929_40x100.png +0 -0
  667. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  668. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-icons_00498f_256x240.png +0 -0
  669. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-icons_98d2fb_256x240.png +0 -0
  670. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-icons_9ccdfc_256x240.png +0 -0
  671. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-icons_ffffff_256x240.png +0 -0
  672. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant.scss +18 -18
  673. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-anim_basic_16x16.gif +0 -0
  674. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  675. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  676. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_flat_55_994d53_40x100.png +0 -0
  677. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_flat_55_fafafa_40x100.png +0 -0
  678. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  679. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  680. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  681. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  682. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  683. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-icons_454545_256x240.png +0 -0
  684. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-icons_734d99_256x240.png +0 -0
  685. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-icons_8d78a5_256x240.png +0 -0
  686. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-icons_a8a3ae_256x240.png +0 -0
  687. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-icons_ebccce_256x240.png +0 -0
  688. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-icons_ffffff_256x240.png +0 -0
  689. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike.scss +18 -18
  690. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-anim_basic_16x16.gif +0 -0
  691. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  692. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  693. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  694. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  695. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_flat_0_e69700_40x100.png +0 -0
  696. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_flat_0_e6b900_40x100.png +0 -0
  697. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  698. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  699. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-icons_0a82eb_256x240.png +0 -0
  700. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-icons_0b54d5_256x240.png +0 -0
  701. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-icons_5fa5e3_256x240.png +0 -0
  702. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-icons_fcdd4a_256x240.png +0 -0
  703. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-icons_ffffff_256x240.png +0 -0
  704. data/templates/jrails/{jquery.ui → jquery/ui}/farbtastic.scss +3 -3
  705. data/templates/jrails/{jquery.ui → jquery/ui}/farbtastic/marker.png +0 -0
  706. data/templates/jrails/{jquery.ui → jquery/ui}/farbtastic/mask.png +0 -0
  707. data/templates/jrails/{jquery.ui → jquery/ui}/farbtastic/wheel.png +0 -0
  708. data/templates/jrails/{jquery.ui → jquery/ui}/flash_messages/flash-check.png +0 -0
  709. data/templates/jrails/{jquery.ui → jquery/ui}/flash_messages/flash-error-bg.png +0 -0
  710. data/templates/jrails/{jquery.ui → jquery/ui}/flash_messages/flash-error.png +0 -0
  711. data/templates/jrails/{jquery.ui → jquery/ui}/flash_messages/flash-notice-bg.png +0 -0
  712. data/templates/jrails/{jquery.ui → jquery/ui}/flash_messages/flash-warning-bg.png +0 -0
  713. data/templates/jrails/{jquery.ui → jquery/ui}/flash_messages/flash-warning.png +0 -0
  714. data/templates/jrails/{jquery.ui → jquery/ui}/flick.scss +18 -18
  715. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-anim_basic_16x16.gif +0 -0
  716. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  717. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  718. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_flat_55_ffffff_40x100.png +0 -0
  719. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_flat_75_ffffff_40x100.png +0 -0
  720. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_glass_65_ffffff_1x400.png +0 -0
  721. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  722. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  723. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  724. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-icons_0073ea_256x240.png +0 -0
  725. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-icons_454545_256x240.png +0 -0
  726. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-icons_666666_256x240.png +0 -0
  727. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-icons_ff0084_256x240.png +0 -0
  728. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-icons_ffffff_256x240.png +0 -0
  729. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks.scss +18 -18
  730. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-anim_basic_16x16.gif +0 -0
  731. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  732. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  733. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  734. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  735. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  736. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  737. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_flat_75_ba9217_40x100.png +0 -0
  738. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_flat_75_ffffff_40x100.png +0 -0
  739. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  740. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-icons_454545_256x240.png +0 -0
  741. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-icons_88a206_256x240.png +0 -0
  742. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-icons_c02669_256x240.png +0 -0
  743. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-icons_e1e463_256x240.png +0 -0
  744. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-icons_ffeb33_256x240.png +0 -0
  745. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-icons_ffffff_256x240.png +0 -0
  746. data/templates/jrails/{jquery.ui → jquery/ui}/humanity.scss +18 -18
  747. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-anim_basic_16x16.gif +0 -0
  748. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  749. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  750. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_glass_25_cb842e_1x400.png +0 -0
  751. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  752. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  753. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  754. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  755. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  756. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-icons_c47a23_256x240.png +0 -0
  757. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-icons_cb672b_256x240.png +0 -0
  758. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-icons_f08000_256x240.png +0 -0
  759. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-icons_f35f07_256x240.png +0 -0
  760. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-icons_ff7519_256x240.png +0 -0
  761. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-icons_ffffff_256x240.png +0 -0
  762. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog.scss +18 -18
  763. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-anim_basic_16x16.gif +0 -0
  764. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  765. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  766. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  767. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  768. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  769. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  770. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  771. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  772. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  773. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-icons_4eb305_256x240.png +0 -0
  774. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-icons_72b42d_256x240.png +0 -0
  775. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-icons_cd0a0a_256x240.png +0 -0
  776. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-icons_ffffff_256x240.png +0 -0
  777. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc.scss +18 -18
  778. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-anim_basic_16x16.gif +0 -0
  779. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  780. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_glass_15_5f391b_1x400.png +0 -0
  781. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  782. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  783. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  784. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  785. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  786. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  787. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-icons_222222_256x240.png +0 -0
  788. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-icons_9bcc60_256x240.png +0 -0
  789. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-icons_add978_256x240.png +0 -0
  790. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-icons_e3ddc9_256x240.png +0 -0
  791. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-icons_f1fd86_256x240.png +0 -0
  792. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-icons_ffffff_256x240.png +0 -0
  793. data/templates/jrails/{jquery.ui → jquery/ui}/overcast.scss +18 -18
  794. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-anim_basic_16x16.gif +0 -0
  795. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  796. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  797. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_flat_55_c0402a_40x100.png +0 -0
  798. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  799. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  800. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_glass_35_dddddd_1x400.png +0 -0
  801. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  802. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  803. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  804. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-icons_3383bb_256x240.png +0 -0
  805. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-icons_454545_256x240.png +0 -0
  806. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-icons_70b2e1_256x240.png +0 -0
  807. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-icons_999999_256x240.png +0 -0
  808. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-icons_fbc856_256x240.png +0 -0
  809. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder.scss +18 -18
  810. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-anim_basic_16x16.gif +0 -0
  811. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  812. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  813. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  814. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  815. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  816. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  817. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  818. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  819. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  820. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-icons_222222_256x240.png +0 -0
  821. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-icons_3572ac_256x240.png +0 -0
  822. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-icons_8c291d_256x240.png +0 -0
  823. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-icons_b83400_256x240.png +0 -0
  824. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-icons_fbdb93_256x240.png +0 -0
  825. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-icons_ffffff_256x240.png +0 -0
  826. data/templates/jrails/{jquery.ui → jquery/ui}/redmond.scss +18 -18
  827. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-anim_basic_16x16.gif +0 -0
  828. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  829. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
  830. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  831. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  832. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  833. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  834. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  835. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  836. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_217bc0_256x240.png +0 -0
  837. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_2e83ff_256x240.png +0 -0
  838. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_469bdd_256x240.png +0 -0
  839. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_6da8d5_256x240.png +0 -0
  840. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_cd0a0a_256x240.png +0 -0
  841. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_d8e7f3_256x240.png +0 -0
  842. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_f9bd01_256x240.png +0 -0
  843. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness.scss +18 -18
  844. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-anim_basic_16x16.gif +0 -0
  845. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  846. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
  847. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  848. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  849. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
  850. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  851. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  852. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  853. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-icons_222222_256x240.png +0 -0
  854. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-icons_2e83ff_256x240.png +0 -0
  855. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-icons_454545_256x240.png +0 -0
  856. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-icons_888888_256x240.png +0 -0
  857. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
  858. data/templates/jrails/{jquery.ui → jquery/ui}/south-street.scss +18 -18
  859. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-anim_basic_16x16.gif +0 -0
  860. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  861. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  862. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  863. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  864. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  865. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  866. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  867. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  868. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  869. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-icons_808080_256x240.png +0 -0
  870. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-icons_847e71_256x240.png +0 -0
  871. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-icons_8dc262_256x240.png +0 -0
  872. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-icons_cd0a0a_256x240.png +0 -0
  873. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-icons_eeeeee_256x240.png +0 -0
  874. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-icons_ffffff_256x240.png +0 -0
  875. data/templates/jrails/{jquery.ui → jquery/ui}/start.scss +18 -18
  876. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-anim_basic_16x16.gif +0 -0
  877. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_flat_55_999999_40x100.png +0 -0
  878. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  879. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_glass_45_0078ae_1x400.png +0 -0
  880. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  881. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  882. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  883. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  884. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  885. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  886. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_0078ae_256x240.png +0 -0
  887. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_056b93_256x240.png +0 -0
  888. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_d8e7f3_256x240.png +0 -0
  889. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_e0fdff_256x240.png +0 -0
  890. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_f5e175_256x240.png +0 -0
  891. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_f7a50d_256x240.png +0 -0
  892. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_fcd113_256x240.png +0 -0
  893. data/templates/jrails/{jquery.ui → jquery/ui}/sunny.scss +18 -18
  894. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-anim_basic_16x16.gif +0 -0
  895. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  896. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_flat_30_cccccc_40x100.png +0 -0
  897. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  898. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  899. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  900. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  901. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  902. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  903. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  904. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_3d3d3d_256x240.png +0 -0
  905. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_bd7b00_256x240.png +0 -0
  906. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_d19405_256x240.png +0 -0
  907. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_eb990f_256x240.png +0 -0
  908. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_ed9f26_256x240.png +0 -0
  909. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_fadc7a_256x240.png +0 -0
  910. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_ffe180_256x240.png +0 -0
  911. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse.scss +18 -18
  912. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-anim_basic_16x16.gif +0 -0
  913. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  914. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_diamond_20_372806_10x8.png +0 -0
  915. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_diamond_25_675423_10x8.png +0 -0
  916. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  917. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_diamond_8_261803_10x8.png +0 -0
  918. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_diamond_8_443113_10x8.png +0 -0
  919. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  920. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  921. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_070603_256x240.png +0 -0
  922. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_e8e2b5_256x240.png +0 -0
  923. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_e9cd86_256x240.png +0 -0
  924. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_efec9f_256x240.png +0 -0
  925. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_f2ec64_256x240.png +0 -0
  926. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_f9f2bd_256x240.png +0 -0
  927. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_ff7519_256x240.png +0 -0
  928. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/buttonbg.png +0 -0
  929. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/icon_color_arrow.gif +0 -0
  930. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/menuhoverbg.png +0 -0
  931. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_black_matte.png +0 -0
  932. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_black_tie.png +0 -0
  933. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_blitzer.png +0 -0
  934. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_cupertino.png +0 -0
  935. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_dark_hive.png +0 -0
  936. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_dot_luv.png +0 -0
  937. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_eggplant.png +0 -0
  938. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_excite_bike.png +0 -0
  939. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_flick.png +0 -0
  940. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_hot_sneaks.png +0 -0
  941. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_humanity.png +0 -0
  942. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_le_frog.png +0 -0
  943. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_mint_choco.png +0 -0
  944. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_overcast.png +0 -0
  945. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_pepper_grinder.png +0 -0
  946. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_smoothness.png +0 -0
  947. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_south_street.png +0 -0
  948. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_start_menu.png +0 -0
  949. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_sunny.png +0 -0
  950. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_swanky_purse.png +0 -0
  951. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_trontastic.png +0 -0
  952. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_ui_dark.png +0 -0
  953. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_ui_light.png +0 -0
  954. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_windoze.png +0 -0
  955. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic.scss +18 -18
  956. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-anim_basic_16x16.gif +0 -0
  957. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  958. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_flat_0_303030_40x100.png +0 -0
  959. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  960. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  961. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  962. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_glass_60_000000_1x400.png +0 -0
  963. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  964. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  965. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  966. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-icons_000000_256x240.png +0 -0
  967. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-icons_1f1f1f_256x240.png +0 -0
  968. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-icons_9fda58_256x240.png +0 -0
  969. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-icons_b8ec79_256x240.png +0 -0
  970. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-icons_cd0a0a_256x240.png +0 -0
  971. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-icons_ffffff_256x240.png +0 -0
  972. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness.scss +18 -18
  973. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-anim_basic_16x16.gif +0 -0
  974. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
  975. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  976. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
  977. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
  978. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  979. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  980. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  981. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  982. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  983. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-icons_222222_256x240.png +0 -0
  984. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
  985. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-icons_a83300_256x240.png +0 -0
  986. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-icons_cccccc_256x240.png +0 -0
  987. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-icons_ffffff_256x240.png +0 -0
  988. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness.scss +18 -18
  989. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-anim_basic_16x16.gif +0 -0
  990. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  991. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  992. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_flat_10_000000_40x100.png +0 -0
  993. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  994. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  995. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  996. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  997. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  998. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  999. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-icons_222222_256x240.png +0 -0
  1000. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-icons_228ef1_256x240.png +0 -0
  1001. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-icons_ef8c08_256x240.png +0 -0
  1002. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-icons_ffd27a_256x240.png +0 -0
  1003. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-icons_ffffff_256x240.png +0 -0
  1004. data/templates/jrails/{jquery.ui → jquery/ui}/vader.scss +18 -18
  1005. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-anim_basic_16x16.gif +0 -0
  1006. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1007. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1008. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  1009. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  1010. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  1011. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  1012. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  1013. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  1014. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_666666_256x240.png +0 -0
  1015. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_aaaaaa_256x240.png +0 -0
  1016. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_bbbbbb_256x240.png +0 -0
  1017. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_c98000_256x240.png +0 -0
  1018. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_cccccc_256x240.png +0 -0
  1019. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_cd0a0a_256x240.png +0 -0
  1020. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_f29a00_256x240.png +0 -0
  1021. data/templates/jrails/manifest.rb +466 -454
  1022. data/templates/jrails/partials/_flash_messages.scss +8 -8
  1023. data/templates/jstree/config/initializers/jstree.rb +4 -4
  1024. data/templates/jstree/jquery.jstree.js +4534 -3513
  1025. data/templates/jstree/jquery.jstree.min.js +220 -172
  1026. data/templates/jstree/{jquery.ui/jstree.aero.scss → jquery/jstree/aero.scss} +10 -10
  1027. data/templates/jstree/{jquery.ui/jstree.aero → jquery/jstree/aero}/clicked.png +0 -0
  1028. data/templates/jstree/{jquery.ui/jstree.aero → jquery/jstree/aero}/d.gif +0 -0
  1029. data/templates/jstree/{jquery.ui/jstree.aero → jquery/jstree/aero}/d.png +0 -0
  1030. data/templates/jstree/{jquery.ui/jstree.aero → jquery/jstree/aero}/hovered.png +0 -0
  1031. data/templates/jstree/{jquery.ui/jstree.aero → jquery/jstree/aero}/throbber.gif +0 -0
  1032. data/templates/jstree/{jquery.ui/jstree.aqua.scss → jquery/jstree/aqua.scss} +10 -10
  1033. data/templates/jstree/{jquery.ui/jstree.aqua → jquery/jstree/aqua}/clicked.png +0 -0
  1034. data/templates/jstree/{jquery.ui/jstree.aqua → jquery/jstree/aqua}/d.gif +0 -0
  1035. data/templates/jstree/{jquery.ui/jstree.aqua → jquery/jstree/aqua}/d.png +0 -0
  1036. data/templates/jstree/{jquery.ui/jstree.aqua → jquery/jstree/aqua}/hovered.png +0 -0
  1037. data/templates/jstree/{jquery.ui/jstree.aqua → jquery/jstree/aqua}/throbber.gif +0 -0
  1038. data/templates/jstree/{jquery.ui/jstree.classic.scss → jquery/jstree/classic.scss} +5 -5
  1039. data/templates/jstree/{jquery.ui/jstree.classic → jquery/jstree/classic}/d.png +0 -0
  1040. data/templates/jstree/{jquery.ui/jstree.classic → jquery/jstree/classic}/dot_for_ie.gif +0 -0
  1041. data/templates/jstree/{jquery.ui/jstree.classic → jquery/jstree/classic}/throbber.gif +0 -0
  1042. data/templates/jstree/{jquery.ui/jstree.crystal.scss → jquery/jstree/crystal.scss} +8 -8
  1043. data/templates/jstree/{jquery.ui/jstree.crystal → jquery/jstree/crystal}/d.gif +0 -0
  1044. data/templates/jstree/{jquery.ui/jstree.crystal → jquery/jstree/crystal}/d.png +0 -0
  1045. data/templates/jstree/{jquery.ui/jstree.crystal → jquery/jstree/crystal}/throbber.gif +0 -0
  1046. data/templates/jstree/{jquery.ui/jstree.default-rtl.scss → jquery/jstree/default-rtl.scss} +9 -9
  1047. data/templates/jstree/{jquery.ui/jstree.default-rtl → jquery/jstree/default-rtl}/d.gif +0 -0
  1048. data/templates/jstree/{jquery.ui/jstree.default-rtl → jquery/jstree/default-rtl}/d.png +0 -0
  1049. data/templates/jstree/{jquery.ui/jstree.default-rtl → jquery/jstree/default-rtl}/dots.gif +0 -0
  1050. data/templates/jstree/{jquery.ui/jstree.default-rtl → jquery/jstree/default-rtl}/throbber.gif +0 -0
  1051. data/templates/jstree/{jquery.ui/jstree.default.scss → jquery/jstree/default.scss} +8 -8
  1052. data/templates/jstree/{jquery.ui/jstree.default → jquery/jstree/default}/d.gif +0 -0
  1053. data/templates/jstree/{jquery.ui/jstree.default → jquery/jstree/default}/d.png +0 -0
  1054. data/templates/jstree/{jquery.ui/jstree.default → jquery/jstree/default}/throbber.gif +0 -0
  1055. data/templates/jstree/manifest.rb +29 -29
  1056. data/templates/mobile/config/initializers/mobile.rb +6 -0
  1057. data/templates/mobile/jquery.mobile.js +3189 -0
  1058. data/templates/mobile/jquery.mobile.min.js +28 -0
  1059. data/templates/mobile/jquery/mobile/_base.scss +1326 -0
  1060. data/templates/mobile/jquery/mobile/default.scss +742 -0
  1061. data/templates/mobile/jquery/mobile/default/ajax-loader.gif +0 -0
  1062. data/templates/mobile/jquery/mobile/default/ajax-loader.png +0 -0
  1063. data/templates/mobile/jquery/mobile/default/form-check-off.png +0 -0
  1064. data/templates/mobile/jquery/mobile/default/form-check-on.png +0 -0
  1065. data/templates/mobile/jquery/mobile/default/form-radio-off.png +0 -0
  1066. data/templates/mobile/jquery/mobile/default/form-radio-on.png +0 -0
  1067. data/templates/mobile/jquery/mobile/default/icon-arrow-white-down.png +0 -0
  1068. data/templates/mobile/jquery/mobile/default/icon-arrow-white-left.png +0 -0
  1069. data/templates/mobile/jquery/mobile/default/icon-arrow-white-right.png +0 -0
  1070. data/templates/mobile/jquery/mobile/default/icon-arrow-white-up.png +0 -0
  1071. data/templates/mobile/jquery/mobile/default/icon-delete.png +0 -0
  1072. data/templates/mobile/jquery/mobile/default/icon-minus-white.png +0 -0
  1073. data/templates/mobile/jquery/mobile/default/icon-plus-white.png +0 -0
  1074. data/templates/mobile/jquery/mobile/default/icon-search-black.png +0 -0
  1075. data/templates/mobile/jquery/mobile/default/icons-18-black.png +0 -0
  1076. data/templates/mobile/jquery/mobile/default/icons-18-white.png +0 -0
  1077. data/templates/mobile/jquery/mobile/default/icons-36-black.png +0 -0
  1078. data/templates/mobile/jquery/mobile/default/icons-36-white.png +0 -0
  1079. data/templates/mobile/jquery/mobile/valencia.scss +804 -0
  1080. data/templates/mobile/jquery/mobile/valencia/ajax-loader.gif +0 -0
  1081. data/templates/mobile/jquery/mobile/valencia/ajax-loader.png +0 -0
  1082. data/templates/mobile/jquery/mobile/valencia/form-check-off.png +0 -0
  1083. data/templates/mobile/jquery/mobile/valencia/form-check-on.png +0 -0
  1084. data/templates/mobile/jquery/mobile/valencia/form-radio-off.png +0 -0
  1085. data/templates/mobile/jquery/mobile/valencia/form-radio-on.png +0 -0
  1086. data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-down.png +0 -0
  1087. data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-left.png +0 -0
  1088. data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-right.png +0 -0
  1089. data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-up.png +0 -0
  1090. data/templates/mobile/jquery/mobile/valencia/icon-delete.png +0 -0
  1091. data/templates/mobile/jquery/mobile/valencia/icon-minus-white.png +0 -0
  1092. data/templates/mobile/jquery/mobile/valencia/icon-plus-white.png +0 -0
  1093. data/templates/mobile/jquery/mobile/valencia/icon-search-black.png +0 -0
  1094. data/templates/mobile/jquery/mobile/valencia/icons-18-black.png +0 -0
  1095. data/templates/mobile/jquery/mobile/valencia/icons-18-white.png +0 -0
  1096. data/templates/mobile/jquery/mobile/valencia/icons-36-black.png +0 -0
  1097. data/templates/mobile/jquery/mobile/valencia/icons-36-white.png +0 -0
  1098. data/templates/mobile/jquery/mobile/valencia/texture_05.png +0 -0
  1099. data/templates/mobile/jquery/mobile/valencia/texture_075.png +0 -0
  1100. data/templates/mobile/manifest.rb +47 -0
  1101. data/templates/ribbon/config/initializers/ribbon.rb +3 -3
  1102. data/templates/ribbon/jquery.ribbon.js +4 -4
  1103. data/templates/ribbon/jquery.ribbon.min.js +3 -3
  1104. data/templates/ribbon/{jquery.ui/ribbon.windows7.scss → jquery/ribbon/office.scss} +20 -20
  1105. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/arrow.png +0 -0
  1106. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/arrow_down.png +0 -0
  1107. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/bg.png +0 -0
  1108. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/item_background.png +0 -0
  1109. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/item_small_background.png +0 -0
  1110. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_background.png +0 -0
  1111. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_bottom.png +0 -0
  1112. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_dropdownitembg.png +0 -0
  1113. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_dropdownitembghover.png +0 -0
  1114. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_item_hover.png +0 -0
  1115. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_middle.png +0 -0
  1116. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_top.png +0 -0
  1117. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_top_backstage.png +0 -0
  1118. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_top_backstage2.png +0 -0
  1119. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menuitem_background.png +0 -0
  1120. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/orb.png +0 -0
  1121. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/orb_hover.png +0 -0
  1122. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/orb_office.png +0 -0
  1123. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/orb_office_hover.png +0 -0
  1124. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/orb_submenu_item_hover.png +0 -0
  1125. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/ribbon-backstage-firstLevel-hover.png +0 -0
  1126. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/ribbon-backstage-rightColumn-wide.png +0 -0
  1127. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/ribbon-backstage-subMenu-item-hover.png +0 -0
  1128. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/ribbon-backstage-subMenu-item.png +0 -0
  1129. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/ribbon-backstage-subMenu-itemSquare-hover.png +0 -0
  1130. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/ribbon-backstage-subMenu-itemSquare.png +0 -0
  1131. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/top_background.png +0 -0
  1132. data/templates/ribbon/{jquery.ui/ribbon.simple.scss → jquery/ribbon/simple.scss} +13 -13
  1133. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/arrow.png +0 -0
  1134. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/arrow_down.png +0 -0
  1135. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/bg.png +0 -0
  1136. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/item_background.png +0 -0
  1137. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/item_small_background.png +0 -0
  1138. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_background.png +0 -0
  1139. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_bottom.png +0 -0
  1140. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_dropdownitembg.png +0 -0
  1141. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_dropdownitembghover.png +0 -0
  1142. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_item_hover.png +0 -0
  1143. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_middle.png +0 -0
  1144. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_top.png +0 -0
  1145. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menuitem_background.png +0 -0
  1146. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/orb.png +0 -0
  1147. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/orb_hover.png +0 -0
  1148. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/orb_submenu_item_hover.png +0 -0
  1149. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/top_background.png +0 -0
  1150. data/templates/ribbon/{jquery.ui/ribbon.office.scss → jquery/ribbon/windows7.scss} +20 -20
  1151. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/arrow.png +0 -0
  1152. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/arrow_down.png +0 -0
  1153. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/bg.png +0 -0
  1154. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/item_background.png +0 -0
  1155. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/item_small_background.png +0 -0
  1156. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_background.png +0 -0
  1157. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_bottom.png +0 -0
  1158. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_dropdownitembg.png +0 -0
  1159. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_dropdownitembghover.png +0 -0
  1160. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_item_hover.png +0 -0
  1161. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_middle.png +0 -0
  1162. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_top.png +0 -0
  1163. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_top_backstage.png +0 -0
  1164. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_top_backstage2.png +0 -0
  1165. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menuitem_background.png +0 -0
  1166. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/orb.png +0 -0
  1167. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/orb_hover.png +0 -0
  1168. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/orb_office.png +0 -0
  1169. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/orb_office_hover.png +0 -0
  1170. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/orb_submenu_item_hover.png +0 -0
  1171. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/ribbon-backstage-firstLevel-hover.png +0 -0
  1172. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/ribbon-backstage-rightColumn-wide.png +0 -0
  1173. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/ribbon-backstage-subMenu-item-hover.png +0 -0
  1174. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/ribbon-backstage-subMenu-item.png +0 -0
  1175. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/ribbon-backstage-subMenu-itemSquare-hover.png +0 -0
  1176. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/ribbon-backstage-subMenu-itemSquare.png +0 -0
  1177. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/top_background.png +0 -0
  1178. data/templates/ribbon/manifest.rb +74 -74
  1179. data/templates/secret_sauce/app/views/{ui → shared}/_ui_form_error_messages.html.haml +0 -0
  1180. data/templates/secret_sauce/app/views/{ui → shared}/_ui_grid_for_without_block.js.haml +8 -8
  1181. data/templates/secret_sauce/app/views/{ui → shared}/_ui_static_dialog.html.haml +0 -0
  1182. data/templates/secret_sauce/config/initializers/secret_sauce.rb +1 -1
  1183. data/templates/secret_sauce/{jquery.ui → jquery}/secret_sauce.scss +0 -0
  1184. data/templates/secret_sauce/manifest.rb +4 -4
  1185. metadata +1134 -1051
  1186. data/templates/jqtouch/jqtouch/apple/actionButton.png +0 -0
  1187. data/templates/jqtouch/jqtouch/icons/iphone_16x16.png +0 -0
  1188. data/templates/jqtouch/jqtouch/iphone-emulator.scss +0 -21
  1189. data/templates/jqtouch/jqtouch/iphone_fullsize.png +0 -0
  1190. data/templates/jrails/jquery-1.4.2.js +0 -9502
  1191. data/templates/jrails/jquery-1.4.2.min.js +0 -210
  1192. data/templates/jrails/jquery-ui-1.8.5.min.js +0 -823
@@ -1,174 +1,222 @@
1
- (function(b){b.vakata={};b.vakata.css={get_css:function(a,d,e){a=a.toLowerCase();var f=e.cssRules||e.rules,i=0;do{if(f.length&&i>f.length+5)break;if(f[i].selectorText&&f[i].selectorText.toLowerCase()==a)if(d===true){e.removeRule&&e.removeRule(i);e.deleteRule&&e.deleteRule(i);return true}else return f[i]}while(f[++i]);return false},add_css:function(a,d){if(b.jstree.css.get_css(a,false,d))return false;d.insertRule?d.insertRule(a+" { }",0):d.addRule(a,null,0);return b.vakata.css.get_css(a)},remove_css:function(a,
2
- d){return b.vakata.css.get_css(a,true,d)},add_sheet:function(a){var d;if(a.str){d=document.createElement("style");d.setAttribute("type","text/css");if(d.styleSheet){document.getElementsByTagName("head")[0].appendChild(d);d.styleSheet.cssText=a.str}else{d.appendChild(document.createTextNode(a.str));document.getElementsByTagName("head")[0].appendChild(d)}return d.sheet||d.styleSheet}if(a.url)if(document.createStyleSheet)try{document.createStyleSheet(a.url)}catch(e){}else{d=document.createElement("link");
3
- d.rel="stylesheet";d.type="text/css";d.media="all";d.href=a.url;document.getElementsByTagName("head")[0].appendChild(d);return d.styleSheet}}}})(jQuery);
4
- (function(b){var a=[],d=-1,e={},f={},i=false;b.fn.jstree=function(c){var g=typeof c=="string",h=Array.prototype.slice.call(arguments,1),j=this;!g&&b.meta&&h.push(b.metadata.get(this).jstree);c=!g&&h.length?b.extend.apply(null,[true,c].concat(h)):c;if(g&&c.substring(0,1)=="_")return j;g?this.each(function(){var l=a[b.data(this,"jstree-instance-id")];l=l&&b.isFunction(l[c])?l[c].apply(l,h):l;if(typeof l!=="undefined"&&(c.indexOf("is_"===0)||l!==true&&l!==false)){j=l;return false}}):this.each(function(){var l=
5
- b.data(this,"jstree-instance-id"),k=false;typeof l!=="undefined"&&a[l]&&a[l].destroy();l=parseInt(a.push({}),10)-1;b.data(this,"jstree-instance-id",l);c||(c={});c.plugins=b.isArray(c.plugins)?c.plugins:b.jstree.defaults.plugins;b.inArray("core",c.plugins)===-1&&c.plugins.unshift("core");k=b.extend(true,{},b.jstree.defaults,c);k.plugins=c.plugins;b.each(e,function(m){if(b.inArray(m,k.plugins)===-1){k[m]=null;delete k[m]}});a[l]=new b.jstree._instance(l,b(this).addClass("jstree jstree-"+l),k);b.each(a[l]._get_settings().plugins,
6
- function(m,n){a[l].data[n]={}});b.each(a[l]._get_settings().plugins,function(m,n){e[n]&&e[n].__init.apply(a[l])});a[l].init()});return j};b.jstree={defaults:{plugins:[]},_focused:function(){return a[d]||null},_reference:function(c){if(a[c])return a[c];var g=b(c);if(!g.length&&typeof c==="string")g=b("#"+c);if(!g.length)return null;return a[g.closest(".jstree").data("jstree-instance-id")]||null},_instance:function(c,g,h){this.data={core:{}};this.get_settings=function(){return b.extend(true,{},h)};
7
- this._get_settings=function(){return h};this.get_index=function(){return c};this.get_container=function(){return g};this._set_settings=function(j){h=b.extend(true,{},h,j)}},_fn:{},plugin:function(c,g){g=b.extend({},{__init:b.noop,__destroy:b.noop,_fn:{},defaults:false},g);e[c]=g;b.jstree.defaults[c]=g.defaults;b.each(g._fn,function(h,j){j.plugin=c;j.old=b.jstree._fn[h];b.jstree._fn[h]=function(){var l,k=j,m=Array.prototype.slice.call(arguments);l=new b.Event("before.jstree");var n=false;do{if(k&&
8
- k.plugin&&b.inArray(k.plugin,this._get_settings().plugins)!==-1)break;k=k.old}while(k);if(k){l=this.get_container().triggerHandler(l,{func:h,inst:this,args:m});if(l!==false){if(typeof l!=="undefined")m=l;return l=h.indexOf("_")===0?k.apply(this,m):k.apply(b.extend({},this,{__callback:function(p){this.get_container().triggerHandler(h+".jstree",{inst:this,args:m,rslt:p,rlbk:n})},__rollback:function(){return n=this.get_rollback()},__call_old:function(p){return k.old.apply(this,p?Array.prototype.slice.call(arguments,
9
- 1):m)}}),m)}}};b.jstree._fn[h].old=j.old;b.jstree._fn[h].plugin=c})},rollback:function(c){if(c){b.isArray(c)||(c=[c]);b.each(c,function(g,h){a[h.i].set_rollback(h.h,h.d)})}}};b.jstree._fn=b.jstree._instance.prototype={};b(function(){var c=navigator.userAgent.toLowerCase(),g=(c.match(/.+?(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],h=".jstree ul, .jstree li { display:block; margin:0 0 0 0; padding:0 0 0 0; list-style-type:none; } .jstree li { display:block; min-height:18px; line-height:18px; white-space:nowrap; margin-left:18px; } .jstree-rtl li { margin-left:0; margin-right:18px; } .jstree > ul > li { margin-left:0px; } .jstree-rtl > ul > li { margin-right:0px; } .jstree ins { display:inline-block; text-decoration:none; width:18px; height:18px; margin:0 0 0 0; padding:0; } .jstree a { display:inline-block; line-height:16px; height:16px; color:black; white-space:nowrap; text-decoration:none; padding:1px 2px; margin:0; } .jstree a:focus { outline: none; } .jstree a > ins { height:16px; width:16px; } .jstree a > .jstree-icon { margin-right:3px; } .jstree-rtl a > .jstree-icon { margin-left:3px; margin-right:0; } li.jstree-open > ul { display:block; } li.jstree-closed > ul { display:none; } ";
10
- if(/msie/.test(c)&&parseInt(g,10)==6){i=true;h+=".jstree li { height:18px; margin-left:0; margin-right:0; } .jstree li li { margin-left:18px; } .jstree-rtl li li { margin-left:0px; margin-right:18px; } li.jstree-open ul { display:block; } li.jstree-closed ul { display:none !important; } .jstree li a { display:inline; border-width:0 !important; padding:0px 2px !important; } .jstree li a ins { height:16px; width:16px; margin-right:3px; } .jstree-rtl li a ins { margin-right:0px; margin-left:3px; } "}if(/msie/.test(c)&&
11
- parseInt(g,10)==7)h+=".jstree li a { border-width:0 !important; padding:0px 2px !important; } ";b.vakata.css.add_sheet({str:h})});b.jstree.plugin("core",{__init:function(){this.data.core.to_open=b.map(b.makeArray(this.get_settings().core.initially_open),function(c){return"#"+c.toString().replace(/^#/,"").replace("\\/","/").replace("/","\\/")})},defaults:{html_titles:false,animation:500,initially_open:[],rtl:false,strings:{loading:"Loading ...",new_node:"New node"}},_fn:{init:function(){this.set_focus();
12
- this._get_settings().core.rtl&&this.get_container().addClass("jstree-rtl").css("direction","rtl");this.get_container().html("<ul><li class='jstree-last jstree-leaf'><ins>&#160;</ins><a class='jstree-loading' href='#'><ins class='jstree-icon'>&#160;</ins>"+this._get_settings().core.strings.loading+"</a></li></ul>");this.data.core.li_height=this.get_container().find("ul li.jstree-closed, ul li.jstree-leaf").eq(0).height()||18;this.get_container().delegate("li > ins","click.jstree",b.proxy(function(c){var g=
13
- b(c.target);g.is("ins")&&c.pageY-g.offset().top<this.data.core.li_height&&this.toggle_node(g)},this)).bind("mousedown.jstree",b.proxy(function(){this.set_focus()},this)).bind("dblclick.jstree",function(){var c;if(document.selection&&document.selection.empty)document.selection.empty();else if(window.getSelection){c=window.getSelection();try{c.removeAllRanges();c.collapse()}catch(g){}}});this.__callback();this.load_node(-1,function(){this.loaded();this.reopen()})},destroy:function(){var c,g=this.get_index(),
14
- h=this._get_settings(),j=this;b.each(h.plugins,function(l,k){try{e[k].__destroy.apply(j)}catch(m){}});this.__callback();if(this.is_focused())for(c in a)if(a.hasOwnProperty(c)&&c!=g){a[c].set_focus();break}if(g===d)d=-1;this.get_container().unbind(".jstree").undelegate(".jstree").removeData("jstree-instance-id").find("[class^='jstree']").andSelf().attr("class",function(){return this.className.replace(/jstree[^ ]*|$/ig,"")});a[g]=null;delete a[g]},save_opened:function(){var c=this;this.data.core.to_open=
15
- [];this.get_container().find(".jstree-open").each(function(){c.data.core.to_open.push("#"+this.id.toString().replace(/^#/,"").replace("\\/","/").replace("/","\\/"))});this.__callback(c.data.core.to_open)},reopen:function(c){var g=this,h=true,j=[],l=[];if(!c){this.data.core.reopen=false;this.data.core.refreshing=true}if(this.data.core.to_open.length){b.each(this.data.core.to_open,function(k,m){if(m=="#")return true;b(m).length&&b(m).is(".jstree-closed")?j.push(m):l.push(m)});if(j.length){this.data.core.to_open=
16
- l;b.each(j,function(k,m){g.open_node(m,function(){g.reopen(true)},true)});h=false}}if(h){this.data.core.reopen&&clearTimeout(this.data.core.reopen);this.data.core.reopen=setTimeout(function(){g.__callback({},g)},50);this.data.core.refreshing=false}},refresh:function(c){var g=this;this.save_opened();c||(c=-1);(c=this._get_node(c))||(c=-1);c!==-1&&c.children("UL").remove();this.load_node(c,function(){g.__callback({obj:c});g.reopen()})},loaded:function(){this.__callback()},set_focus:function(){var c=
17
- b.jstree._focused();c&&c!==this&&c.get_container().removeClass("jstree-focused");if(c!==this){this.get_container().addClass("jstree-focused");d=this.get_index()}this.__callback()},is_focused:function(){return d==this.get_index()},_get_node:function(c){var g=b(c,this.get_container());if(g.is(".jstree")||c==-1)return-1;g=g.closest("li",this.get_container());return g.length?g:false},_get_next:function(c,g){c=this._get_node(c);if(c===-1)return this.get_container().find("> ul > li:first-child");if(!c.length)return false;
18
- if(g)return c.nextAll("li").size()>0?c.nextAll("li:eq(0)"):false;return c.hasClass("jstree-open")?c.find("li:eq(0)"):c.nextAll("li").size()>0?c.nextAll("li:eq(0)"):c.parentsUntil(".jstree","li").next("li").eq(0)},_get_prev:function(c,g){c=this._get_node(c);if(c===-1)return this.get_container().find("> ul > li:last-child");if(!c.length)return false;if(g)return c.prevAll("li").length>0?c.prevAll("li:eq(0)"):false;if(c.prev("li").length){for(c=c.prev("li").eq(0);c.hasClass("jstree-open");)c=c.children("ul:eq(0)").children("li:last");
19
- return c}else{var h=c.parentsUntil(".jstree","li:eq(0)");return h.length?h:false}},_get_parent:function(c){c=this._get_node(c);if(c==-1||!c.length)return false;c=c.parentsUntil(".jstree","li:eq(0)");return c.length?c:-1},_get_children:function(c){c=this._get_node(c);if(c===-1)return this.get_container().children("ul:eq(0)").children("li");if(!c.length)return false;return c.children("ul:eq(0)").children("li")},get_path:function(c,g){var h=[],j=this;c=this._get_node(c);if(c===-1||!c||!c.length)return false;
20
- c.parentsUntil(".jstree","li").each(function(){h.push(g?this.id:j.get_text(this))});h.reverse();h.push(g?c.attr("id"):this.get_text(c));return h},is_open:function(c){return(c=this._get_node(c))&&c!==-1&&c.hasClass("jstree-open")},is_closed:function(c){return(c=this._get_node(c))&&c!==-1&&c.hasClass("jstree-closed")},is_leaf:function(c){return(c=this._get_node(c))&&c!==-1&&c.hasClass("jstree-leaf")},open_node:function(c,g,h){c=this._get_node(c);if(!c.length)return false;if(!c.hasClass("jstree-closed")){g&&
21
- g.call();return false}var j=h||i?0:this._get_settings().core.animation,l=this;if(this._is_loaded(c)){j&&c.children("ul").css("display","none");c.removeClass("jstree-closed").addClass("jstree-open").children("a").removeClass("jstree-loading");j&&c.children("ul").stop(true).slideDown(j,function(){this.style.display=""});this.__callback({obj:c});g&&g.call()}else{c.children("a").addClass("jstree-loading");this.load_node(c,function(){l.open_node(c,g,h)},g)}},close_node:function(c,g){c=this._get_node(c);
22
- var h=g||i?0:this._get_settings().core.animation;if(!c.length||!c.hasClass("jstree-open"))return false;h&&c.children("ul").attr("style","display:block !important");c.removeClass("jstree-open").addClass("jstree-closed");h&&c.children("ul").stop(true).slideUp(h,function(){this.style.display=""});this.__callback({obj:c})},toggle_node:function(c){c=this._get_node(c);if(c.hasClass("jstree-closed"))return this.open_node(c);if(c.hasClass("jstree-open"))return this.close_node(c)},open_all:function(c,g){c=
23
- c?this._get_node(c):this.get_container();if(!c||c===-1)c=this.get_container();if(g)c=c.find("li.jstree-closed");else{g=c;c=c.is(".jstree-closed")?c.find("li.jstree-closed").andSelf():c.find("li.jstree-closed")}var h=this;c.each(function(){var j=this;h._is_loaded(this)?h.open_node(this,false,true):h.open_node(this,function(){h.open_all(j,g)},true)});g.find("li.jstree-closed").length===0&&this.__callback({obj:g})},close_all:function(c){var g=this;c=c?this._get_node(c):this.get_container();if(!c||c===
24
- -1)c=this.get_container();c.find("li.jstree-open").andSelf().each(function(){g.close_node(this)});this.__callback({obj:c})},clean_node:function(c){c=c&&c!=-1?b(c):this.get_container();c=c.is("li")?c.find("li").andSelf():c.find("li");c.removeClass("jstree-last").filter("li:last-child").addClass("jstree-last").end().filter(":has(li)").not(".jstree-open").removeClass("jstree-leaf").addClass("jstree-closed");c.not(".jstree-open, .jstree-closed").addClass("jstree-leaf").children("ul").remove();this.__callback({obj:c})},
25
- get_rollback:function(){this.__callback();return{i:this.get_index(),h:this.get_container().children("ul").clone(true),d:this.data}},set_rollback:function(c,g){this.get_container().empty().append(c);this.data=g;this.__callback()},load_node:function(c){this.__callback({obj:c})},_is_loaded:function(){return true},create_node:function(c,g,h,j,l){c=this._get_node(c);g=typeof g==="undefined"?"last":g;var k=b("<li>"),m=this._get_settings().core,n;if(c!==-1&&!c.length)return false;if(!l&&!this._is_loaded(c)){this.load_node(c,
26
- function(){this.create_node(c,g,h,j,true)});return false}this.__rollback();if(typeof h==="string")h={data:h};h||(h={});h.attr&&k.attr(h.attr);h.state&&k.addClass("jstree-"+h.state);if(!h.data)h.data=m.strings.new_node;if(!b.isArray(h.data)){n=h.data;h.data=[];h.data.push(n)}b.each(h.data,function(p,o){n=b("<a>");if(b.isFunction(o))o=o.call(this,h);if(typeof o=="string")n.attr("href","#")[m.html_titles?"html":"text"](o);else{if(!o.attr)o.attr={};if(!o.attr.href)o.attr.href="#";n.attr(o.attr)[m.html_titles?
27
- "html":"text"](o.title);o.language&&n.addClass(o.language)}n.prepend("<ins class='jstree-icon'>&#160;</ins>");if(o.icon)o.icon.indexOf("/")===-1?n.children("ins").addClass(o.icon):n.children("ins").css("background","url('"+o.icon+"') center center no-repeat");k.append(n)});k.prepend("<ins class='jstree-icon'>&#160;</ins>");if(c===-1){c=this.get_container();if(g==="before")g="first";if(g==="after")g="last"}switch(g){case "before":c.before(k);n=this._get_parent(c);break;case "after":c.after(k);n=this._get_parent(c);
28
- break;case "inside":case "first":c.children("ul").length||c.append("<ul>");c.children("ul").prepend(k);n=c;break;case "last":c.children("ul").length||c.append("<ul>");c.children("ul").append(k);n=c;break;default:c.children("ul").length||c.append("<ul>");g||(g=0);n=c.children("ul").children("li").eq(g);n.length?n.before(k):c.children("ul").append(k);n=c}if(n===-1||n.get(0)===this.get_container().get(0))n=-1;this.clean_node(n);this.__callback({obj:k,parent:n});j&&j.call(this,k);return k},get_text:function(c){c=
29
- this._get_node(c);if(!c.length)return false;var g=this._get_settings().core.html_titles;c=c.children("a:eq(0)");if(g){c=c.clone();c.children("INS").remove();return c.html()}else{c=c.contents().filter(function(){return this.nodeType==3})[0];return c.nodeValue}},set_text:function(c,g){c=this._get_node(c);if(!c.length)return false;c=c.children("a:eq(0)");if(this._get_settings().core.html_titles){var h=c.children("INS").clone();c.html(g).prepend(h);this.__callback({obj:c,name:g});return true}else{c=c.contents().filter(function(){return this.nodeType==
30
- 3})[0];this.__callback({obj:c,name:g});return c.nodeValue=g}},rename_node:function(c,g){c=this._get_node(c);this.__rollback();c&&c.length&&this.set_text.apply(this,Array.prototype.slice.call(arguments))&&this.__callback({obj:c,name:g})},delete_node:function(c){c=this._get_node(c);if(!c.length)return false;this.__rollback();var g=this._get_parent(c),h=this._get_prev(c);c=c.remove();g!==-1&&g.find("> ul > li").length===0&&g.removeClass("jstree-open jstree-closed").addClass("jstree-leaf");this.clean_node(g);
31
- this.__callback({obj:c,prev:h});return c},prepare_move:function(c,g,h,j,l){var k={};k.ot=b.jstree._reference(k.o)||this;k.o=k.ot._get_node(c);k.r=g===-1?-1:this._get_node(g);k.p=typeof k==="undefined"?"last":h;if(!(!l&&f.o&&f.o[0]===k.o[0]&&f.r[0]===k.r[0]&&f.p===k.p)){k.ot=b.jstree._reference(k.o)||this;k.rt=g===-1?k.ot:b.jstree._reference(k.r)||this;if(k.r===-1){k.cr=-1;switch(k.p){case "first":case "before":case "inside":k.cp=0;break;case "after":case "last":k.cp=k.rt.get_container().find(" > ul > li").length;
32
- break;default:k.cp=k.p}}else{if(!/^(before|after)$/.test(k.p)&&!this._is_loaded(k.r))return this.load_node(k.r,function(){this.prepare_move(c,g,h,j,true)});switch(k.p){case "before":k.cp=k.r.index();k.cr=k.rt._get_parent(k.r);break;case "after":k.cp=k.r.index()+1;k.cr=k.rt._get_parent(k.r);break;case "inside":case "first":k.cp=0;k.cr=k.r;break;case "last":k.cp=k.r.find(" > ul > li").length;k.cr=k.r;break;default:k.cp=k.p;k.cr=k.r}}k.np=k.cr==-1?k.rt.get_container():k.cr;k.op=k.ot._get_parent(k.o);
33
- k.or=k.np.find(" > ul > li:nth-child("+(k.cp+1)+")");f=k}this.__callback(f);j&&j.call(this,f)},check_move:function(){var c=f,g=true;if(c.or[0]===c.o[0])return false;c.o.each(function(){if(c.r.parentsUntil(".jstree").andSelf().filter("li").index(this)!==-1)return g=false});return g},move_node:function(c,g,h,j,l,k){if(!l)return this.prepare_move(c,g,h,function(n){this.move_node(n,false,false,j,true,k)});if(!k&&!this.check_move())return false;this.__rollback();g=false;if(j){g=c.o.clone();g.find("*[id]").andSelf().each(function(){if(this.id)this.id=
34
- "copy_"+this.id})}else g=c.o;if(c.or.length)c.or.before(g);else{c.np.children("ul").length||b("<ul>").appendTo(c.np);c.np.children("ul:eq(0)").append(g)}try{c.ot.clean_node(c.op);c.rt.clean_node(c.np);c.op.find("> ul > li").length||c.op.removeClass("jstree-open jstree-closed").addClass("jstree-leaf").children("ul").remove()}catch(m){}if(j){f.cy=true;f.oc=g}this.__callback(f);return f},_get_move:function(){return f}}})})(jQuery);
35
- (function(b){b.jstree.plugin("ui",{__init:function(){this.data.ui.selected=b();this.data.ui.last_selected=false;this.data.ui.hovered=null;this.data.ui.to_select=this.get_settings().ui.initially_select;this.get_container().delegate("a","click.jstree",b.proxy(function(a){a.preventDefault();this.select_node(a.currentTarget,true,a)},this)).delegate("a","mouseenter.jstree",b.proxy(function(a){this.hover_node(a.target)},this)).delegate("a","mouseleave.jstree",b.proxy(function(a){this.dehover_node(a.target)},
36
- this)).bind("reopen.jstree",b.proxy(function(){this.reselect()},this)).bind("get_rollback.jstree",b.proxy(function(){this.dehover_node();this.save_selected()},this)).bind("set_rollback.jstree",b.proxy(function(){this.reselect()},this)).bind("close_node.jstree",b.proxy(function(a,d){var e=this._get_settings().ui,f=this._get_node(d.rslt.obj),i=f&&f.length?f.children("ul").find(".jstree-clicked"):b(),c=this;e.selected_parent_close===false||!i.length||i.each(function(){c.deselect_node(this);e.selected_parent_close===
37
- "select_parent"&&c.select_node(f)})},this)).bind("delete_node.jstree",b.proxy(function(a,d){var e=this._get_settings().ui.select_prev_on_delete,f=this._get_node(d.rslt.obj);f=f&&f.length?f.find(".jstree-clicked"):[];var i=this;f.each(function(){i.deselect_node(this)});e&&f.length&&this.select_node(d.rslt.prev)},this)).bind("move_node.jstree",b.proxy(function(a,d){d.rslt.cy&&d.rslt.oc.find(".jstree-clicked").removeClass("jstree-clicked")},this))},defaults:{select_limit:-1,select_multiple_modifier:"ctrl",
38
- selected_parent_close:"select_parent",select_prev_on_delete:true,disable_selecting_children:false,initially_select:[]},_fn:{_get_node:function(a,d){if(typeof a==="undefined"||a===null)return d?this.data.ui.selected:this.data.ui.last_selected;var e=b(a,this.get_container());if(e.is(".jstree")||a==-1)return-1;e=e.closest("li",this.get_container());return e.length?e:false},save_selected:function(){var a=this;this.data.ui.to_select=[];this.data.ui.selected.each(function(){a.data.ui.to_select.push("#"+
39
- this.id.toString().replace(/^#/,"").replace("\\/","/").replace("/","\\/"))});this.__callback(this.data.ui.to_select)},reselect:function(){var a=this,d=this.data.ui.to_select;d=b.map(b.makeArray(d),function(e){return"#"+e.toString().replace(/^#/,"").replace("\\/","/").replace("/","\\/")});this.deselect_all();b.each(d,function(e,f){f&&f!=="#"&&a.select_node(f)});this.__callback()},refresh:function(){this.save_selected();return this.__call_old()},hover_node:function(a){a=this._get_node(a);if(!a.length)return false;
40
- a.hasClass("jstree-hovered")||this.dehover_node();this.data.ui.hovered=a.children("a").addClass("jstree-hovered").parent();this.__callback({obj:a})},dehover_node:function(){var a=this.data.ui.hovered;if(!a||!a.length)return false;if(this.data.ui.hovered[0]===a.children("a").removeClass("jstree-hovered").parent()[0])this.data.ui.hovered=null;this.__callback({obj:a})},select_node:function(a,d,e){a=this._get_node(a);if(a==-1||!a||!a.length)return false;var f=this._get_settings().ui;e=f.select_multiple_modifier==
41
- "on"||f.select_multiple_modifier!==false&&e&&e[f.select_multiple_modifier+"Key"];var i=this.is_selected(a),c=true;if(d){if(f.disable_selecting_children&&e&&a.parents("li",this.get_container()).children(".jstree-clicked").length)return false;c=false;switch(true){case i&&!e:this.deselect_all();i=false;c=true;break;case !i&&!e:if(f.select_limit==-1||f.select_limit>0){this.deselect_all();c=true}break;case i&&e:this.deselect_node(a);break;case !i&&e:if(f.select_limit==-1||this.data.ui.selected.length+
42
- 1<=f.select_limit)c=true}}if(c&&!i){a.children("a").addClass("jstree-clicked");this.data.ui.selected=this.data.ui.selected.add(a);this.data.ui.last_selected=a;this.__callback({obj:a})}},deselect_node:function(a){a=this._get_node(a);if(!a.length)return false;if(this.is_selected(a)){a.children("a").removeClass("jstree-clicked");this.data.ui.selected=this.data.ui.selected.not(a);if(this.data.ui.last_selected.get(0)===a.get(0))this.data.ui.last_selected=this.data.ui.selected.eq(0);this.__callback({obj:a})}},
43
- toggle_select:function(a){a=this._get_node(a);if(!a.length)return false;this.is_selected(a)?this.deselect_node(a):this.select_node(a)},is_selected:function(a){return this.data.ui.selected.index(this._get_node(a))>=0},get_selected:function(a){return a?b(a).find(".jstree-clicked").parent():this.data.ui.selected},deselect_all:function(a){a?b(a).find(".jstree-clicked").removeClass("jstree-clicked"):this.get_container().find(".jstree-clicked").removeClass("jstree-clicked");this.data.ui.selected=b([]);
44
- this.data.ui.last_selected=false;this.__callback()}}});b.jstree.defaults.plugins.push("ui")})(jQuery);
45
- (function(b){b.jstree.plugin("crrm",{__init:function(){this.get_container().bind("move_node.jstree",b.proxy(function(a,d){if(this._get_settings().crrm.move.open_onmove){var e=this;d.rslt.np.parentsUntil(".jstree").andSelf().filter(".jstree-closed").each(function(){e.open_node(this,false,true)})}},this))},defaults:{input_width_limit:200,move:{always_copy:false,open_onmove:true,default_position:"last",check_move:function(){return true}}},_fn:{_show_input:function(a,d){a=this._get_node(a);var e=this._get_settings().core.rtl,
46
- f=this._get_settings().crrm.input_width_limit,i=a.children("ins").width(),c=a.find("> a:visible > ins").width()*a.find("> a:visible > ins").length,g=this.get_text(a),h=b("<div>",{css:{position:"absolute",top:"-200px",left:e?"0px":"-1000px",visibility:"hidden"}}).appendTo("body"),j=a.css("position","relative").append(b("<input>",{value:g,css:{padding:"0",border:"1px solid silver",position:"absolute",left:e?"auto":i+c+4+"px",right:e?i+c+4+"px":"auto",top:"0px",height:this.data.core.li_height-2+"px",
47
- lineHeight:this.data.core.li_height-2+"px",width:"150px"},blur:b.proxy(function(){var l=a.children("input"),k=l.val();if(k==="")k=g;l.remove();this.set_text(a,g);this.rename_node(a,k);d.call(this,a,k,g);a.css("position","")},this),keyup:function(l){l=l.keyCode||l.which;if(l==27){this.value=g;this.blur()}else l==13?this.blur():j.width(Math.min(h.text("pW"+this.value).width(),f))}})).children("input");this.set_text(a,"");h.css({fontFamily:j.css("fontFamily")||"",fontSize:j.css("fontSize")||"",fontWeight:j.css("fontWeight")||
48
- "",fontStyle:j.css("fontStyle")||"",fontStretch:j.css("fontStretch")||"",fontVariant:j.css("fontVariant")||"",letterSpacing:j.css("letterSpacing")||"",wordSpacing:j.css("wordSpacing")||""});j.width(Math.min(h.text("pW"+j[0].value).width(),f))[0].select()},rename:function(a){a=this._get_node(a);this.__rollback();var d=this.__callback;this._show_input(a,function(e,f,i){d.call(this,{obj:e,new_name:f,old_name:i})})},create:function(a,d,e,f,i){var c=this;(a=this._get_node(a))||(a=-1);this.__rollback();
49
- return this.create_node(a,d,e,function(g){var h=this._get_parent(g),j=b(g).index();f&&f.call(this,g);h.length&&h.hasClass("jstree-closed")&&this.open_node(h,false,true);i?c.__callback({obj:g,name:this.get_text(g),parent:h,position:j}):this._show_input(g,function(l,k){c.__callback({obj:l,name:k,parent:h,position:j})})})},remove:function(a){a=this._get_node(a,true);this.__rollback();this.delete_node(a);this.__callback({obj:a})},check_move:function(){if(!this.__call_old())return false;if(!this._get_settings().crrm.move.check_move.call(this,
50
- this._get_move()))return false;return true},move_node:function(a,d,e,f,i,c){var g=this._get_settings().crrm.move;if(!i){if(!e)e=g.default_position;if(e==="inside"&&!g.default_position.match(/^(before|after)$/))e=g.default_position;return this.__call_old(true,a,d,e,f,false,c)}if(g.always_copy===true||g.always_copy==="multitree"&&a.rt.get_index()!==a.ot.get_index())f=true;this.__call_old(true,a,d,e,f,true,c)},cut:function(a){a=this._get_node(a);this.data.crrm.cp_nodes=false;this.data.crrm.ct_nodes=
51
- false;if(!a||!a.length)return false;this.data.crrm.ct_nodes=a},copy:function(a){a=this._get_node(a);this.data.crrm.cp_nodes=false;this.data.crrm.ct_nodes=false;if(!a||!a.length)return false;this.data.crrm.cp_nodes=a},paste:function(a){a=this._get_node(a);if(!a||!a.length)return false;if(!this.data.crrm.ct_nodes&&!this.data.crrm.cp_nodes)return false;this.data.crrm.ct_nodes&&this.move_node(this.data.crrm.ct_nodes,a);this.data.crrm.cp_nodes&&this.move_node(this.data.crrm.cp_nodes,a,false,true);this.data.crrm.cp_nodes=
52
- false;this.data.crrm.ct_nodes=false}}});b.jstree.defaults.plugins.push("crrm")})(jQuery);
53
- (function(b){var a=[];b.jstree._themes=false;b.jstree.plugin("themes",{__init:function(){this.get_container().bind("init.jstree",b.proxy(function(){var d=this._get_settings().themes;this.data.themes.dots=d.dots;this.data.themes.icons=d.icons;this.set_theme(d.theme,d.url)},this)).bind("loaded.jstree",b.proxy(function(){this.data.themes.dots?this.show_dots():this.hide_dots();this.data.themes.icons?this.show_icons():this.hide_icons()},this))},defaults:{theme:"default",url:false,dots:true,icons:true},
54
- _fn:{set_theme:function(d,e){if(!d)return false;e||(e=b.jstree._themes+"jstree."+d+".css");if(b.inArray(e,a)==-1){b.vakata.css.add_sheet({url:e,rel:"jstree"});a.push(e)}if(this.data.themes.theme!=d){this.get_container().removeClass("jstree-"+this.data.themes.theme);this.data.themes.theme=d}this.get_container().addClass("jstree-"+d);this.data.themes.dots?this.show_dots():this.hide_dots();this.data.themes.icons?this.show_icons():this.hide_icons();this.__callback()},get_theme:function(){return this.data.themes.theme},
55
- show_dots:function(){this.data.themes.dots=true;this.get_container().children("ul").removeClass("jstree-no-dots")},hide_dots:function(){this.data.themes.dots=false;this.get_container().children("ul").addClass("jstree-no-dots")},toggle_dots:function(){this.data.themes.dots?this.hide_dots():this.show_dots()},show_icons:function(){this.data.themes.icons=true;this.get_container().children("ul").removeClass("jstree-no-icons")},hide_icons:function(){this.data.themes.icons=false;this.get_container().children("ul").addClass("jstree-no-icons")},
56
- toggle_icons:function(){this.data.themes.icons?this.hide_icons():this.show_icons()}}});b(function(){if(b.jstree._themes===false)b.jstree._themes="/stylesheets/compiled/jquery.ui/"});b.jstree.defaults.plugins.push("themes")})(jQuery);
57
- (function(b){var a=[];b.jstree.plugin("hotkeys",{__init:function(){if(typeof b.hotkeys==="undefined")throw"jsTree hotkeys: jQuery hotkeys plugin not included.";if(!this.data.ui)throw"jsTree hotkeys: jsTree UI plugin not included.";b.each(this._get_settings().hotkeys,function(d){if(b.inArray(d,a)==-1){b(document).bind("keydown",d,function(e){var f;var i=b.jstree._focused(),c;if(i&&i.data&&i.data.hotkeys&&i.data.hotkeys.enabled)if(c=i._get_settings().hotkeys[d])f=c.call(i,e);return f});a.push(d)}});
58
- this.enable_hotkeys()},defaults:{up:function(){this.hover_node(this._get_prev(this.data.ui.hovered||this.data.ui.last_selected||-1));return false},down:function(){this.hover_node(this._get_next(this.data.ui.hovered||this.data.ui.last_selected||-1));return false},left:function(){var d=this.data.ui.hovered||this.data.ui.last_selected;if(d)d.hasClass("jstree-open")?this.close_node(d):this.hover_node(this._get_prev(d));return false},right:function(){var d=this.data.ui.hovered||this.data.ui.last_selected;
59
- if(d&&d.length)d.hasClass("jstree-closed")?this.open_node(d):this.hover_node(this._get_next(d));return false},space:function(){this.data.ui.hovered&&this.data.ui.hovered.children("a:eq(0)").click();return false},"ctrl+space":function(d){d.type="click";this.data.ui.hovered&&this.data.ui.hovered.children("a:eq(0)").trigger(d);return false},f2:function(){this.rename(this.data.ui.hovered||this.data.ui.last_selected)},del:function(){this.remove(this.data.ui.hovered||this._get_node(null))}},_fn:{enable_hotkeys:function(){this.data.hotkeys.enabled=
60
- true},disable_hotkeys:function(){this.data.hotkeys.enabled=false}}})})(jQuery);
61
- (function(b){b.jstree.plugin("json_data",{defaults:{data:false,ajax:false,correct_state:true,progressive_render:false},_fn:{load_node:function(a,d,e){var f=this;this.load_node_json(a,function(){f.__callback({obj:a});d.call(this)},e)},_is_loaded:function(a){var d=this._get_settings().json_data;if((a=this._get_node(a))&&a!==-1&&d.progressive_render&&!a.is(".jstree-open, .jstree-leaf")&&a.children("ul").children("li").length===0&&a.data("jstree-children")){if(d=this._parse_json(a.data("jstree-children"))){a.append(d);
62
- b.removeData(a,"jstree-children")}this.clean_node(a);return true}return a==-1||!a||!d.ajax||a.is(".jstree-open, .jstree-leaf")||a.children("ul").children("li").size()>0},load_node_json:function(a,d,e){var f=this.get_settings().json_data,i,c=function(){};i=function(){};if((a=this._get_node(a))&&a!==-1)if(a.data("jstree-is-loading"))return;else a.data("jstree-is-loading",true);switch(true){case !f.data&&!f.ajax:throw"Neither data nor ajax settings supplied.";case !!f.data&&!f.ajax||!!f.data&&!!f.ajax&&
63
- (!a||a===-1):if(!a||a==-1)if(i=this._parse_json(f.data)){this.get_container().children("ul").empty().append(i.children());this.clean_node()}else f.correct_state&&this.get_container().children("ul").empty();d&&d.call(this);break;case !f.data&&!!f.ajax||!!f.data&&!!f.ajax&&a&&a!==-1:c=function(g,h,j){var l=this.get_settings().json_data.ajax.error;l&&l.call(this,g,h,j);if(a!=-1&&a.length){a.children(".jstree-loading").removeClass("jstree-loading");a.data("jstree-is-loading",false);h==="success"&&f.correct_state&&
64
- a.removeClass("jstree-open jstree-closed").addClass("jstree-leaf")}else h==="success"&&f.correct_state&&this.get_container().children("ul").empty();e&&e.call(this)};i=function(g,h,j){var l=this.get_settings().json_data.ajax.success;if(l)g=l.call(this,g,h,j)||g;if(g===""||!b.isArray(g)&&!b.isPlainObject(g))return c.call(this,j,h,"");if(g=this._parse_json(g)){if(a===-1||!a)this.get_container().children("ul").empty().append(g.children());else{a.append(g).children(".jstree-loading").removeClass("jstree-loading");
65
- a.data("jstree-is-loading",false)}this.clean_node(a);d&&d.call(this)}else if(a===-1||!a){if(f.correct_state){this.get_container().children("ul").empty();d&&d.call(this)}}else{a.children(".jstree-loading").removeClass("jstree-loading");a.data("jstree-is-loading",false);if(f.correct_state){a.removeClass("jstree-open jstree-closed").addClass("jstree-leaf");d&&d.call(this)}}};f.ajax.context=this;f.ajax.error=c;f.ajax.success=i;if(!f.ajax.dataType)f.ajax.dataType="json";if(b.isFunction(f.ajax.url))f.ajax.url=
66
- f.ajax.url.call(this,a);if(b.isFunction(f.ajax.data))f.ajax.data=f.ajax.data.call(this,a);b.ajax(f.ajax)}},_parse_json:function(a,d){var e=false,f=this._get_settings(),i=f.json_data,c=f.core.html_titles,g;if(!a)return e;if(b.isFunction(a))a=a.call(this);if(b.isArray(a)){e=b();if(!a.length)return false;f=0;for(i=a.length;f<i;f++){g=this._parse_json(a[f],true);if(g.length)e=e.add(g)}}else{if(typeof a=="string")a={data:a};if(!a.data&&a.data!=="")return e;e=b("<li>");a.attr&&e.attr(a.attr);a.metadata&&
67
- e.data("jstree",a.metadata);a.state&&e.addClass("jstree-"+a.state);if(!b.isArray(a.data)){g=a.data;a.data=[];a.data.push(g)}b.each(a.data,function(h,j){g=b("<a>");if(b.isFunction(j))j=j.call(this,a);if(typeof j=="string")g.attr("href","#")[c?"html":"text"](j);else{if(!j.attr)j.attr={};if(!j.attr.href)j.attr.href="#";g.attr(j.attr)[c?"html":"text"](j.title);j.language&&g.addClass(j.language)}g.prepend("<ins class='jstree-icon'>&#160;</ins>");if(!j.icon&&a.icon)j.icon=a.icon;if(j.icon)j.icon.indexOf("/")===
68
- -1?g.children("ins").addClass(j.icon):g.children("ins").css("background","url('"+j.icon+"') center center no-repeat");e.append(g)});e.prepend("<ins class='jstree-icon'>&#160;</ins>");if(a.children)if(i.progressive_render&&a.state!=="open")e.addClass("jstree-closed").data("jstree-children",a.children);else{if(b.isFunction(a.children))a.children=a.children.call(this,a);if(b.isArray(a.children)&&a.children.length){g=this._parse_json(a.children,true);if(g.length){f=b("<ul>");f.append(g);e.append(f)}}}}if(!d){f=
69
- b("<ul>");f.append(e);e=f}return e},get_json:function(a,d,e,f){var i=[],c=this._get_settings(),g=this,h,j,l,k,m,n;a=this._get_node(a);if(!a||a===-1)a=this.get_container().find("> ul > li");d=b.isArray(d)?d:["id","class"];!f&&this.data.types&&d.push(c.types.type_attr);e=b.isArray(e)?e:[];a.each(function(){l=b(this);h={data:[]};if(d.length)h.attr={};b.each(d,function(p,o){if((j=l.attr(o))&&j.length&&j.replace(/jstree[^ ]*|$/ig,"").length)h.attr[o]=j.replace(/jstree[^ ]*|$/ig,"")});if(l.hasClass("jstree-open"))h.state=
70
- "open";if(l.hasClass("jstree-closed"))h.state="closed";k=l.children("a");k.each(function(){m=b(this);if(e.length||b.inArray("languages",c.plugins)!==-1||m.children("ins").get(0).style.backgroundImage.length||m.children("ins").get(0).className&&m.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").length){n=false;b.inArray("languages",c.plugins)!==-1&&b.isArray(c.languages)&&c.languages.length&&b.each(c.languages,function(p,o){if(m.hasClass(o)){n=o;return false}});j={attr:{},title:g.get_text(m,
71
- n)};b.each(e,function(p,o){h.attr[o]=(m.attr(o)||"").replace(/jstree[^ ]*|$/ig,"")});b.each(c.languages,function(p,o){if(m.hasClass(o)){j.language=o;return true}});if(m.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/^\s+$/ig,"").length)j.icon=m.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/^\s+$/ig,"");if(m.children("ins").get(0).style.backgroundImage.length)j.icon=m.children("ins").get(0).style.backgroundImage.replace("url(","").replace(")","")}else j=
72
- g.get_text(m);if(k.length>1)h.data.push(j);else h.data=j});l=l.find("> ul > li");if(l.length)h.children=g.get_json(l,d,e,true);i.push(h)});return i}}})})(jQuery);
73
- (function(b){b.jstree.plugin("languages",{__init:function(){this._load_css()},defaults:[],_fn:{set_lang:function(a){var d=this._get_settings().languages,e=false,f=".jstree-"+this.get_index()+" a";if(!b.isArray(d)||d.length===0)return false;if(b.inArray(a,d)==-1)if(d[a])a=d[a];else return false;if(a==this.data.languages.current_language)return true;e=b.vakata.css.get_css(f+"."+this.data.languages.current_language,false,this.data.languages.language_css);if(e!==false)e.style.display="none";e=b.vakata.css.get_css(f+
74
- "."+a,false,this.data.languages.language_css);if(e!==false)e.style.display="";this.data.languages.current_language=a;this.__callback(a);return true},get_lang:function(){return this.data.languages.current_language},get_text:function(a,d){a=this._get_node(a)||this.data.ui.last_selected;if(!a.size())return false;var e=this._get_settings().languages,f=this._get_settings().core.html_titles;if(b.isArray(e)&&e.length){d=d&&b.inArray(d,e)!=-1?d:this.data.languages.current_language;a=a.children("a."+d)}else a=
75
- a.children("a:eq(0)");if(f){a=a.clone();a.children("INS").remove();return a.html()}else{a=a.contents().filter(function(){return this.nodeType==3})[0];return a.nodeValue}},set_text:function(a,d,e){a=this._get_node(a)||this.data.ui.last_selected;if(!a.size())return false;var f=this._get_settings().languages,i=this._get_settings().core.html_titles;if(b.isArray(f)&&f.length){e=e&&b.inArray(e,f)!=-1?e:this.data.languages.current_language;a=a.children("a."+e)}else a=a.children("a:eq(0)");if(i){f=a.children("INS").clone();
76
- a.html(d).prepend(f);this.__callback({obj:a,name:d,lang:e});return true}else{a=a.contents().filter(function(){return this.nodeType==3})[0];this.__callback({obj:a,name:d,lang:e});return a.nodeValue=d}},_load_css:function(){var a=this._get_settings().languages,d="/* languages css */",e=".jstree-"+this.get_index()+" a",f;if(b.isArray(a)&&a.length){this.data.languages.current_language=a[0];for(f=0;f<a.length;f++){d+=e+"."+a[f]+" {";if(a[f]!=this.data.languages.current_language)d+=" display:none; ";d+=
77
- " } "}this.data.languages.language_css=b.vakata.css.add_sheet({str:d})}},create_node:function(a,d,e,f){return this.__call_old(true,a,d,e,function(i){var c=this._get_settings().languages,g=i.children("a"),h;if(b.isArray(c)&&c.length){for(h=0;h<c.length;h++)g.is("."+c[h])||i.append(g.eq(0).clone().removeClass(c.join(" ")).addClass(c[h]));g.not("."+c.join(", .")).remove()}f&&f.call(this,i)})}}})})(jQuery);
78
- (function(b){b.jstree.plugin("cookies",{__init:function(){if(typeof b.cookie==="undefined")throw"jsTree cookie: jQuery cookie plugin not included.";var a=this._get_settings().cookies,d;if(a.save_opened)if((d=b.cookie(a.save_opened))&&d.length)this.data.core.to_open=d.split(",");if(a.save_selected)if((d=b.cookie(a.save_selected))&&d.length&&this.data.ui)this.data.ui.to_select=d.split(",");this.get_container().one((this.data.ui?"reselect":"reopen")+".jstree",b.proxy(function(){this.get_container().bind("open_node.jstree close_node.jstree select_node.jstree deselect_node.jstree",
79
- b.proxy(function(e){this._get_settings().cookies.auto_save&&this.save_cookie((e.handleObj.namespace+e.handleObj.type).replace("jstree",""))},this))},this))},defaults:{save_opened:"jstree_open",save_selected:"jstree_select",auto_save:true,cookie_options:{}},_fn:{save_cookie:function(a){if(!this.data.core.refreshing){var d=this._get_settings().cookies;if(a)switch(a){case "open_node":case "close_node":if(d.save_opened){this.save_opened();b.cookie(d.save_opened,this.data.core.to_open.join(","),d.cookie_options)}break;
80
- case "select_node":case "deselect_node":if(d.save_selected&&this.data.ui){this.save_selected();b.cookie(d.save_selected,this.data.ui.to_select.join(","),d.cookie_options)}}else{if(d.save_opened){this.save_opened();b.cookie(d.save_opened,this.data.core.to_open.join(","),d.cookie_options)}if(d.save_selected&&this.data.ui){this.save_selected();b.cookie(d.save_selected,this.data.ui.to_select.join(","),d.cookie_options)}}}}}});b.jstree.defaults.plugins.push("cookies")})(jQuery);
81
- (function(b){b.jstree.plugin("sort",{__init:function(){this.get_container().bind("load_node.jstree",b.proxy(function(a,d){var e=this._get_node(d.rslt.obj);e=e===-1?this.get_container().children("ul"):e.children("ul");this.sort(e)},this)).bind("rename_node.jstree",b.proxy(function(a,d){this.sort(d.rslt.obj.parent())},this)).bind("move_node.jstree",b.proxy(function(a,d){this.sort((d.rslt.np==-1?this.get_container():d.rslt.np).children("ul"))},this))},defaults:function(a,d){return this.get_text(a)>this.get_text(d)?
82
- 1:-1},_fn:{sort:function(a){var d=this._get_settings().sort,e=this;a.append(b.makeArray(a.children("li")).sort(b.proxy(d,e)));a.find("> li > ul").each(function(){e.sort(b(this))});this.clean_node(a)}}})})(jQuery);
83
- (function(b){var a=false,d=false,e=false,f=false,i=false,c=false,g=false;b.vakata.dnd={is_down:false,is_drag:false,helper:false,scroll_spd:10,init_x:0,init_y:0,threshold:5,user_data:{},drag_start:function(h,j,l){b.vakata.dnd.is_drag&&b.vakata.drag_stop({});try{h.currentTarget.unselectable="on";h.currentTarget.onselectstart=function(){return false};if(h.currentTarget.style)h.currentTarget.style.MozUserSelect="none"}catch(k){}b.vakata.dnd.init_x=h.pageX;b.vakata.dnd.init_y=h.pageY;b.vakata.dnd.user_data=
84
- j;b.vakata.dnd.is_down=true;b.vakata.dnd.helper=b("<div id='vakata-dragged'>").html(l).css("opacity","0.75");b(document).bind("mousemove",b.vakata.dnd.drag);b(document).bind("mouseup",b.vakata.dnd.drag_stop);return false},drag:function(h){if(b.vakata.dnd.is_down){if(!b.vakata.dnd.is_drag)if(Math.abs(h.pageX-b.vakata.dnd.init_x)>5||Math.abs(h.pageY-b.vakata.dnd.init_y)>5){b.vakata.dnd.helper.appendTo("body");b.vakata.dnd.is_drag=true;b(document).triggerHandler("drag_start.vakata",{event:h,data:b.vakata.dnd.user_data})}else return;
85
- if(h.type==="mousemove"){var j=b(document),l=j.scrollTop();j=j.scrollLeft();if(h.pageY-l<20){if(i&&c==="down"){clearInterval(i);i=false}if(!i){c="up";i=setInterval(function(){b(document).scrollTop(b(document).scrollTop()-b.vakata.dnd.scroll_spd)},150)}}else if(i&&c==="up"){clearInterval(i);i=false}if(b(window).height()-(h.pageY-l)<20){if(i&&c==="up"){clearInterval(i);i=false}if(!i){c="down";i=setInterval(function(){b(document).scrollTop(b(document).scrollTop()+b.vakata.dnd.scroll_spd)},150)}}else if(i&&
86
- c==="down"){clearInterval(i);i=false}if(h.pageX-j<20){if(f&&g==="right"){clearInterval(f);f=false}if(!f){g="left";f=setInterval(function(){b(document).scrollLeft(b(document).scrollLeft()-b.vakata.dnd.scroll_spd)},150)}}else if(f&&g==="left"){clearInterval(f);f=false}if(b(window).width()-(h.pageX-j)<20){if(f&&g==="left"){clearInterval(f);f=false}if(!f){g="right";f=setInterval(function(){b(document).scrollLeft(b(document).scrollLeft()+b.vakata.dnd.scroll_spd)},150)}}else if(f&&g==="right"){clearInterval(f);
87
- f=false}}b.vakata.dnd.helper.css({left:h.pageX+5+"px",top:h.pageY+10+"px"});b(document).triggerHandler("drag.vakata",{event:h,data:b.vakata.dnd.user_data})}},drag_stop:function(h){b(document).unbind("mousemove",b.vakata.dnd.drag);b(document).unbind("mouseup",b.vakata.dnd.drag_stop);b(document).triggerHandler("drag_stop.vakata",{event:h,data:b.vakata.dnd.user_data});b.vakata.dnd.helper.remove();b.vakata.dnd.init_x=0;b.vakata.dnd.init_y=0;b.vakata.dnd.user_data={};b.vakata.dnd.is_down=false;b.vakata.dnd.is_drag=
88
- false}};b(function(){b.vakata.css.add_sheet({str:"#vakata-dragged { display:block; margin:0 0 0 0; padding:4px 4px 4px 24px; position:absolute; top:-2000px; line-height:16px; z-index:10000; } "})});b.jstree.plugin("dnd",{__init:function(){this.data.dnd={active:false,after:false,inside:false,before:false,off:false,prepared:false,w:0,to1:false,to2:false,cof:false,cw:false,ch:false,i1:false,i2:false};this.get_container().bind("mouseenter.jstree",b.proxy(function(){if(b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree&&
89
- this.data.themes){e.attr("class","jstree-"+this.data.themes.theme);b.vakata.dnd.helper.attr("class","jstree-dnd-helper jstree-"+this.data.themes.theme)}},this)).bind("mouseleave.jstree",b.proxy(function(){if(b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree){this.data.dnd.i1&&clearInterval(this.data.dnd.i1);this.data.dnd.i2&&clearInterval(this.data.dnd.i2)}},this)).bind("mousemove.jstree",b.proxy(function(j){if(b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree){var l=this.get_container()[0];if(j.pageX+
90
- 24>this.data.dnd.cof.left+this.data.dnd.cw){this.data.dnd.i1&&clearInterval(this.data.dnd.i1);this.data.dnd.i1=setInterval(b.proxy(function(){this.scrollLeft+=b.vakata.dnd.scroll_spd},l),100)}else if(j.pageX-24<this.data.dnd.cof.left){this.data.dnd.i1&&clearInterval(this.data.dnd.i1);this.data.dnd.i1=setInterval(b.proxy(function(){this.scrollLeft-=b.vakata.dnd.scroll_spd},l),100)}else this.data.dnd.i1&&clearInterval(this.data.dnd.i1);if(j.pageY+24>this.data.dnd.cof.top+this.data.dnd.ch){this.data.dnd.i2&&
91
- clearInterval(this.data.dnd.i2);this.data.dnd.i2=setInterval(b.proxy(function(){this.scrollTop+=b.vakata.dnd.scroll_spd},l),100)}else if(j.pageY-24<this.data.dnd.cof.top){this.data.dnd.i2&&clearInterval(this.data.dnd.i2);this.data.dnd.i2=setInterval(b.proxy(function(){this.scrollTop-=b.vakata.dnd.scroll_spd},l),100)}else this.data.dnd.i2&&clearInterval(this.data.dnd.i2)}},this)).delegate("a","mousedown.jstree",b.proxy(function(j){if(j.which===1){this.start_drag(j.currentTarget,j);return false}},this)).delegate("a",
92
- "mouseenter.jstree",b.proxy(function(j){b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree&&this.dnd_enter(j.currentTarget)},this)).delegate("a","mousemove.jstree",b.proxy(function(j){if(b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree){if(typeof this.data.dnd.off.top==="undefined")this.data.dnd.off=b(j.target).offset();this.data.dnd.w=(j.pageY-(this.data.dnd.off.top||0))%this.data.core.li_height;if(this.data.dnd.w<0)this.data.dnd.w+=this.data.core.li_height;this.dnd_show()}},this)).delegate("a",
93
- "mouseleave.jstree",b.proxy(function(j){if(b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree){this.data.dnd.after=false;this.data.dnd.before=false;this.data.dnd.inside=false;b.vakata.dnd.helper.children("ins").attr("class","jstree-invalid");e.hide();if(d&&d[0]===j.target.parentNode){if(this.data.dnd.to1){clearTimeout(this.data.dnd.to1);this.data.dnd.to1=false}if(this.data.dnd.to2){clearTimeout(this.data.dnd.to2);this.data.dnd.to2=false}}}},this)).delegate("a","mouseup.jstree",b.proxy(function(j){b.vakata.dnd.is_drag&&
94
- b.vakata.dnd.user_data.jstree&&this.dnd_finish(j)},this));b(document).bind("drag_stop.vakata",b.proxy(function(){this.data.dnd.after=false;this.data.dnd.before=false;this.data.dnd.inside=false;this.data.dnd.off=false;this.data.dnd.prepared=false;this.data.dnd.w=false;this.data.dnd.to1=false;this.data.dnd.to2=false;this.data.dnd.active=false;this.data.dnd.foreign=false;e&&e.css({top:"-2000px"})},this)).bind("drag_start.vakata",b.proxy(function(j,l){if(l.data.jstree){var k=b(l.event.target);k.closest(".jstree").hasClass("jstree-"+
95
- this.get_index())&&this.dnd_enter(k)}},this));var h=this._get_settings().dnd;h.drag_target&&b(document).delegate(h.drag_target,"mousedown.jstree",b.proxy(function(j){a=j.target;b.vakata.dnd.drag_start(j,{jstree:true,obj:j.target},"<ins class='jstree-icon'></ins>"+b(j.target).text());if(this.data.themes){e.attr("class","jstree-"+this.data.themes.theme);b.vakata.dnd.helper.attr("class","jstree-dnd-helper jstree-"+this.data.themes.theme)}b.vakata.dnd.helper.children("ins").attr("class","jstree-invalid");
96
- j=this.get_container();this.data.dnd.cof=j.offset();this.data.dnd.cw=parseInt(j.width(),10);this.data.dnd.ch=parseInt(j.height(),10);this.data.dnd.foreign=true;return false},this));h.drop_target&&b(document).delegate(h.drop_target,"mouseenter.jstree",b.proxy(function(j){this.data.dnd.active&&this._get_settings().dnd.drop_check.call(this,{o:a,r:b(j.target)})&&b.vakata.dnd.helper.children("ins").attr("class","jstree-ok")},this)).delegate(h.drop_target,"mouseleave.jstree",b.proxy(function(){this.data.dnd.active&&
97
- b.vakata.dnd.helper.children("ins").attr("class","jstree-invalid")},this)).delegate(h.drop_target,"mouseup.jstree",b.proxy(function(j){this.data.dnd.active&&b.vakata.dnd.helper.children("ins").hasClass("jstree-ok")&&this._get_settings().dnd.drop_finish.call(this,{o:a,r:b(j.target)})},this))},defaults:{copy_modifier:"ctrl",check_timeout:200,open_timeout:500,drop_target:".jstree-drop",drop_check:function(){return true},drop_finish:b.noop,drag_target:".jstree-draggable",drag_finish:b.noop,drag_check:function(){return{after:false,
98
- before:false,inside:true}}},_fn:{dnd_prepare:function(){if(d&&d.length){this.data.dnd.off=d.offset();if(this._get_settings().core.rtl)this.data.dnd.off.right=this.data.dnd.off.left+d.width();if(this.data.dnd.foreign){var h=this._get_settings().dnd.drag_check.call(this,{o:a,r:d});this.data.dnd.after=h.after;this.data.dnd.before=h.before;this.data.dnd.inside=h.inside;this.data.dnd.prepared=true;return this.dnd_show()}this.prepare_move(a,d,"before");this.data.dnd.before=this.check_move();this.prepare_move(a,
99
- d,"after");this.data.dnd.after=this.check_move();if(this._is_loaded(d)){this.prepare_move(a,d,"inside");this.data.dnd.inside=this.check_move()}else this.data.dnd.inside=false;this.data.dnd.prepared=true;return this.dnd_show()}},dnd_show:function(){if(this.data.dnd.prepared){var h=["before","inside","after"],j=false,l=this._get_settings().core.rtl;h=this.data.dnd.w<this.data.core.li_height/3?["before","inside","after"]:this.data.dnd.w<=this.data.core.li_height*2/3?this.data.dnd.w<this.data.core.li_height/
100
- 2?["inside","before","after"]:["inside","after","before"]:["after","inside","before"];b.each(h,b.proxy(function(k,m){if(this.data.dnd[m]){b.vakata.dnd.helper.children("ins").attr("class","jstree-ok");j=m;return false}},this));j===false&&b.vakata.dnd.helper.children("ins").attr("class","jstree-invalid");h=l?this.data.dnd.off.right-18:this.data.dnd.off.left+10;switch(j){case "before":e.css({left:h+"px",top:this.data.dnd.off.top-6+"px"}).show();break;case "after":e.css({left:h+"px",top:this.data.dnd.off.top+
101
- this.data.core.li_height-7+"px"}).show();break;case "inside":e.css({left:h+(l?-4:4)+"px",top:this.data.dnd.off.top+this.data.core.li_height/2-5+"px"}).show();break;default:e.hide()}return j}},dnd_open:function(){this.data.dnd.to2=false;this.open_node(d,b.proxy(this.dnd_prepare,this),true)},dnd_finish:function(h){if(this.data.dnd.foreign){if(this.data.dnd.after||this.data.dnd.before||this.data.dnd.inside)this._get_settings().dnd.drag_finish.call(this,{o:a,r:d})}else{this.dnd_prepare();this.move_node(a,
102
- d,this.dnd_show(),h[this._get_settings().dnd.copy_modifier+"Key"])}d=a=false;e.hide()},dnd_enter:function(h){var j=this._get_settings().dnd;this.data.dnd.prepared=false;d=this._get_node(h);if(j.check_timeout){this.data.dnd.to1&&clearTimeout(this.data.dnd.to1);this.data.dnd.to1=setTimeout(b.proxy(this.dnd_prepare,this),j.check_timeout)}else this.dnd_prepare();if(j.open_timeout){this.data.dnd.to2&&clearTimeout(this.data.dnd.to2);if(d&&d.length&&d.hasClass("jstree-closed"))this.data.dnd.to2=setTimeout(b.proxy(this.dnd_open,
103
- this),j.open_timeout)}else d&&d.length&&d.hasClass("jstree-closed")&&this.dnd_open()},start_drag:function(h,j){a=this._get_node(h);if(this.data.ui&&this.is_selected(a))a=this._get_node(null,true);b.vakata.dnd.drag_start(j,{jstree:true,obj:a},"<ins class='jstree-icon'></ins>"+(a.length>1?"Multiple selection":this.get_text(a)));if(this.data.themes){e.attr("class","jstree-"+this.data.themes.theme);b.vakata.dnd.helper.attr("class","jstree-dnd-helper jstree-"+this.data.themes.theme)}var l=this.get_container();
104
- this.data.dnd.cof=l.children("ul").offset();this.data.dnd.cw=parseInt(l.width(),10);this.data.dnd.ch=parseInt(l.height(),10);this.data.dnd.active=true}}});b(function(){b.vakata.css.add_sheet({str:"#vakata-dragged ins { display:block; text-decoration:none; width:16px; height:16px; margin:0 0 0 0; padding:0; position:absolute; top:4px; left:4px; } #vakata-dragged .jstree-ok { background:green; } #vakata-dragged .jstree-invalid { background:red; } #jstree-marker { padding:0; margin:0; line-height:12px; font-size:1px; overflow:hidden; height:12px; width:8px; position:absolute; top:-30px; z-index:10000; background-repeat:no-repeat; display:none; background-color:silver; } "});
105
- e=b("<div>").attr({id:"jstree-marker"}).hide().appendTo("body");b(document).bind("drag_start.vakata",function(h,j){j.data.jstree&&e.show()});b(document).bind("drag_stop.vakata",function(h,j){j.data.jstree&&e.hide()})})})(jQuery);
106
- (function(b){b.jstree.plugin("checkbox",{__init:function(){this.select_node=this.deselect_node=this.deselect_all=b.noop;this.get_selected=this.get_checked;this.get_container().bind("open_node.jstree create_node.jstree clean_node.jstree",b.proxy(function(a,d){this._prepare_checkboxes(d.rslt.obj)},this)).bind("loaded.jstree",b.proxy(function(){this._prepare_checkboxes()},this)).delegate("a","click.jstree",b.proxy(function(a){this._get_node(a.target).hasClass("jstree-checked")?this.uncheck_node(a.target):
107
- this.check_node(a.target);this.data.ui&&this.save_selected();this.data.cookies&&this.save_cookie("select_node");a.preventDefault()},this))},__destroy:function(){this.get_container().find(".jstree-checkbox").remove()},_fn:{_prepare_checkboxes:function(a){a=!a||a==-1?this.get_container():this._get_node(a);var d,e=this,f;a.each(function(){f=b(this);d=f.is("li")&&f.hasClass("jstree-checked")?"jstree-checked":"jstree-unchecked";f.find("a").not(":has(.jstree-checkbox)").prepend("<ins class='jstree-checkbox'>&#160;</ins>").parent().not(".jstree-checked, .jstree-unchecked").addClass(d)});
108
- a.is("li")?this._repair_state(a):a.find("> ul > li").each(function(){e._repair_state(this)})},change_state:function(a,d){a=this._get_node(a);if(d=d===false||d===true?d:a.hasClass("jstree-checked"))a.find("li").andSelf().removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked");else{a.find("li").andSelf().removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked");if(this.data.ui)this.data.ui.last_selected=a;this.data.checkbox.last_selected=a}a.parentsUntil(".jstree",
109
- "li").each(function(){var e=b(this);if(d)if(e.children("ul").children(".jstree-checked, .jstree-undetermined").length){e.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined");return false}else e.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked");else if(e.children("ul").children(".jstree-unchecked, .jstree-undetermined").length){e.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined");
110
- return false}else e.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked")});if(this.data.ui)this.data.ui.selected=this.get_checked();this.__callback(a)},check_node:function(a){this.change_state(a,false)},uncheck_node:function(a){this.change_state(a,true)},check_all:function(){var a=this;this.get_container().children("ul").children("li").each(function(){a.check_node(this,false)})},uncheck_all:function(){var a=this;this.get_container().children("ul").children("li").each(function(){a.change_state(this,
111
- true)})},is_checked:function(a){a=this._get_node(a);return a.length?a.is(".jstree-checked"):false},get_checked:function(a){a=!a||a===-1?this.get_container():this._get_node(a);return a.find("> ul > .jstree-checked, .jstree-undetermined > ul > .jstree-checked")},get_unchecked:function(a){a=!a||a===-1?this.get_container():this._get_node(a);return a.find("> ul > .jstree-unchecked, .jstree-undetermined > ul > .jstree-unchecked")},show_checkboxes:function(){this.get_container().children("ul").removeClass("jstree-no-checkboxes")},
112
- hide_checkboxes:function(){this.get_container().children("ul").addClass("jstree-no-checkboxes")},_repair_state:function(a){a=this._get_node(a);if(a.length){var d=a.find("> ul > .jstree-checked").length,e=a.find("> ul > .jstree-undetermined").length,f=a.find("> ul > li").length;if(f===0)a.hasClass("jstree-undetermined")&&this.check_node(a);else if(d===0&&e===0)this.uncheck_node(a);else d===f?this.check_node(a):a.parentsUntil(".jstree","li").removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined")}},
113
- reselect:function(){if(this.data.ui){var a=this,d=this.data.ui.to_select;d=b.map(b.makeArray(d),function(e){return"#"+e.toString().replace(/^#/,"").replace("\\/","/").replace("/","\\/")});this.deselect_all();b.each(d,function(e,f){a.check_node(f)});this.__callback()}}}})})(jQuery);
114
- (function(b){b.vakata.xslt=function(d,e,f){var i="",c;if(document.recalc){c=document.createElement("xml");i=document.createElement("xml");c.innerHTML=d;i.innerHTML=e;b("body").append(c).append(i);setTimeout(function(g,h,j){return function(){j.call(null,g.transformNode(h.XMLDocument));setTimeout(function(l,k){return function(){jQuery("body").remove(l).remove(k)}}(g,h),200)}}(c,i,f),100);return true}if(typeof window.DOMParser!=="undefined"&&typeof window.XMLHttpRequest!=="undefined"&&typeof window.XSLTProcessor!==
115
- "undefined"){c=new XSLTProcessor;i=b.isFunction(c.transformDocument)?typeof window.XMLSerializer!=="undefined":true;if(!i)return false;d=(new DOMParser).parseFromString(d,"text/xml");e=(new DOMParser).parseFromString(e,"text/xml");if(b.isFunction(c.transformDocument)){i=document.implementation.createDocument("","",null);c.transformDocument(d,e,i,null);f.call(null,XMLSerializer().serializeToString(i))}else{c.importStylesheet(e);i=c.transformToFragment(d,document);f.call(null,b("<div>").append(i).html())}return true}return false};
116
- var a={nest:'<?xml version="1.0" encoding="utf-8" ?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ><xsl:output method="html" encoding="utf-8" omit-xml-declaration="yes" standalone="no" indent="no" media-type="text/html" /><xsl:template match="/">\t<xsl:call-template name="nodes">\t\t<xsl:with-param name="node" select="/root" />\t</xsl:call-template></xsl:template><xsl:template name="nodes">\t<xsl:param name="node" />\t<ul>\t<xsl:for-each select="$node/item">\t\t<xsl:variable name="children" select="count(./item) &gt; 0" />\t\t<li>\t\t\t<xsl:attribute name="class">\t\t\t\t<xsl:if test="position() = last()">jstree-last </xsl:if>\t\t\t\t<xsl:choose>\t\t\t\t\t<xsl:when test="@state = \'open\'">jstree-open </xsl:when>\t\t\t\t\t<xsl:when test="$children or @hasChildren or @state = \'closed\'">jstree-closed </xsl:when>\t\t\t\t\t<xsl:otherwise>jstree-leaf </xsl:otherwise>\t\t\t\t</xsl:choose>\t\t\t\t<xsl:value-of select="@class" />\t\t\t</xsl:attribute>\t\t\t<xsl:for-each select="@*">\t\t\t\t<xsl:if test="name() != \'class\' and name() != \'state\' and name() != \'hasChildren\'">\t\t\t\t\t<xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>\t\t\t\t</xsl:if>\t\t\t</xsl:for-each>\t<ins class="jstree-icon"><xsl:text>&#xa0;</xsl:text></ins>\t\t\t<xsl:for-each select="content/name">\t\t\t\t<a>\t\t\t\t<xsl:attribute name="href">\t\t\t\t\t<xsl:choose>\t\t\t\t\t<xsl:when test="@href"><xsl:value-of select="@href" /></xsl:when>\t\t\t\t\t<xsl:otherwise>#</xsl:otherwise>\t\t\t\t\t</xsl:choose>\t\t\t\t</xsl:attribute>\t\t\t\t<xsl:attribute name="class"><xsl:value-of select="@lang" /> <xsl:value-of select="@class" /></xsl:attribute>\t\t\t\t<xsl:attribute name="style"><xsl:value-of select="@style" /></xsl:attribute>\t\t\t\t<xsl:for-each select="@*">\t\t\t\t\t<xsl:if test="name() != \'style\' and name() != \'class\' and name() != \'href\'">\t\t\t\t\t\t<xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>\t\t\t\t\t</xsl:if>\t\t\t\t</xsl:for-each>\t\t\t\t\t<ins>\t\t\t\t\t\t<xsl:attribute name="class">jstree-icon \t\t\t\t\t\t\t<xsl:if test="string-length(attribute::icon) > 0 and not(contains(@icon,\'/\'))"><xsl:value-of select="@icon" /></xsl:if>\t\t\t\t\t\t</xsl:attribute>\t\t\t\t\t\t<xsl:if test="string-length(attribute::icon) > 0 and contains(@icon,\'/\')"><xsl:attribute name="style">background:url(<xsl:value-of select="@icon" />) center center no-repeat;</xsl:attribute></xsl:if>\t\t\t\t\t\t<xsl:text>&#xa0;</xsl:text>\t\t\t\t\t</ins>\t\t\t\t\t<xsl:value-of select="current()" />\t\t\t\t</a>\t\t\t</xsl:for-each>\t\t\t<xsl:if test="$children or @hasChildren"><xsl:call-template name="nodes"><xsl:with-param name="node" select="current()" /></xsl:call-template></xsl:if>\t\t</li>\t</xsl:for-each>\t</ul></xsl:template></xsl:stylesheet>',
117
- flat:'<?xml version="1.0" encoding="utf-8" ?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ><xsl:output method="html" encoding="utf-8" omit-xml-declaration="yes" standalone="no" indent="no" media-type="text/xml" /><xsl:template match="/">\t<ul>\t<xsl:for-each select="//item[not(@parent_id) or @parent_id=0 or not(@parent_id = //item/@id)]">\t\t<xsl:call-template name="nodes">\t\t\t<xsl:with-param name="node" select="." />\t\t\t<xsl:with-param name="is_last" select="number(position() = last())" />\t\t</xsl:call-template>\t</xsl:for-each>\t</ul></xsl:template><xsl:template name="nodes">\t<xsl:param name="node" />\t<xsl:param name="is_last" />\t<xsl:variable name="children" select="count(//item[@parent_id=$node/attribute::id]) &gt; 0" />\t<li>\t<xsl:attribute name="class">\t\t<xsl:if test="$is_last = true()">jstree-last </xsl:if>\t\t<xsl:choose>\t\t\t<xsl:when test="@state = \'open\'">jstree-open </xsl:when>\t\t\t<xsl:when test="$children or @hasChildren or @state = \'closed\'">jstree-closed </xsl:when>\t\t\t<xsl:otherwise>jstree-leaf </xsl:otherwise>\t\t</xsl:choose>\t\t<xsl:value-of select="@class" />\t</xsl:attribute>\t<xsl:for-each select="@*">\t\t<xsl:if test="name() != \'parent_id\' and name() != \'hasChildren\' and name() != \'class\' and name() != \'state\'">\t\t<xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>\t\t</xsl:if>\t</xsl:for-each>\t<ins class="jstree-icon"><xsl:text>&#xa0;</xsl:text></ins>\t<xsl:for-each select="content/name">\t\t<a>\t\t<xsl:attribute name="href">\t\t\t<xsl:choose>\t\t\t<xsl:when test="@href"><xsl:value-of select="@href" /></xsl:when>\t\t\t<xsl:otherwise>#</xsl:otherwise>\t\t\t</xsl:choose>\t\t</xsl:attribute>\t\t<xsl:attribute name="class"><xsl:value-of select="@lang" /> <xsl:value-of select="@class" /></xsl:attribute>\t\t<xsl:attribute name="style"><xsl:value-of select="@style" /></xsl:attribute>\t\t<xsl:for-each select="@*">\t\t\t<xsl:if test="name() != \'style\' and name() != \'class\' and name() != \'href\'">\t\t\t\t<xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>\t\t\t</xsl:if>\t\t</xsl:for-each>\t\t\t<ins>\t\t\t\t<xsl:attribute name="class">jstree-icon \t\t\t\t\t<xsl:if test="string-length(attribute::icon) > 0 and not(contains(@icon,\'/\'))"><xsl:value-of select="@icon" /></xsl:if>\t\t\t\t</xsl:attribute>\t\t\t\t<xsl:if test="string-length(attribute::icon) > 0 and contains(@icon,\'/\')"><xsl:attribute name="style">background:url(<xsl:value-of select="@icon" />) center center no-repeat;</xsl:attribute></xsl:if>\t\t\t\t<xsl:text>&#xa0;</xsl:text>\t\t\t</ins>\t\t\t<xsl:value-of select="current()" />\t\t</a>\t</xsl:for-each>\t<xsl:if test="$children">\t\t<ul>\t\t<xsl:for-each select="//item[@parent_id=$node/attribute::id]">\t\t\t<xsl:call-template name="nodes">\t\t\t\t<xsl:with-param name="node" select="." />\t\t\t\t<xsl:with-param name="is_last" select="number(position() = last())" />\t\t\t</xsl:call-template>\t\t</xsl:for-each>\t\t</ul>\t</xsl:if>\t</li></xsl:template></xsl:stylesheet>'};
118
- b.jstree.plugin("xml_data",{defaults:{data:false,ajax:false,xsl:"flat",clean_node:false,correct_state:true},_fn:{load_node:function(d,e,f){var i=this;this.load_node_xml(d,function(){i.__callback({obj:d});e.call(this)},f)},_is_loaded:function(d){var e=this._get_settings().xml_data;d=this._get_node(d);return d==-1||!d||!e.ajax||d.is(".jstree-open, .jstree-leaf")||d.children("ul").children("li").size()>0},load_node_xml:function(d,e,f){var i=this.get_settings().xml_data,c=function(){},g=function(){};
119
- if((d=this._get_node(d))&&d!==-1)if(d.data("jstree-is-loading"))return;else d.data("jstree-is-loading",true);switch(true){case !i.data&&!i.ajax:throw"Neither data nor ajax settings supplied.";case !!i.data&&!i.ajax||!!i.data&&!!i.ajax&&(!d||d===-1):if(!d||d==-1)this.parse_xml(i.data,b.proxy(function(h){if(h){h=h.replace(/ ?xmlns="[^"]*"/ig,"");if(h.length>10){h=b(h);this.get_container().children("ul").empty().append(h.children());i.clean_node&&this.clean_node(d);e&&e.call(this)}}else if(i.correct_state){this.get_container().children("ul").empty();
120
- e&&e.call(this)}},this));break;case !i.data&&!!i.ajax||!!i.data&&!!i.ajax&&d&&d!==-1:c=function(h,j,l){var k=this.get_settings().xml_data.ajax.error;k&&k.call(this,h,j,l);if(d!==-1&&d.length){d.children(".jstree-loading").removeClass("jstree-loading");d.data("jstree-is-loading",false);j==="success"&&i.correct_state&&d.removeClass("jstree-open jstree-closed").addClass("jstree-leaf")}else j==="success"&&i.correct_state&&this.get_container().children("ul").empty();f&&f.call(this)};g=function(h,j,l){h=
121
- l.responseText;var k=this.get_settings().xml_data.ajax.success;if(k)h=k.call(this,h,j,l)||h;if(h=="")return c.call(this,l,j,"");this.parse_xml(h,b.proxy(function(m){if(m){m=m.replace(/ ?xmlns="[^"]*"/ig,"");if(m.length>10){m=b(m);if(d===-1||!d)this.get_container().children("ul").empty().append(m.children());else{d.children(".jstree-loading").removeClass("jstree-loading");d.append(m);d.data("jstree-is-loading",false)}i.clean_node&&this.clean_node(d);e&&e.call(this)}else if(d&&d!==-1){d.children(".jstree-loading").removeClass("jstree-loading");
122
- d.data("jstree-is-loading",false);if(i.correct_state){d.removeClass("jstree-open jstree-closed").addClass("jstree-leaf");e&&e.call(this)}}else if(i.correct_state){this.get_container().children("ul").empty();e&&e.call(this)}}},this))};i.ajax.context=this;i.ajax.error=c;i.ajax.success=g;if(!i.ajax.dataType)i.ajax.dataType="xml";if(b.isFunction(i.ajax.url))i.ajax.url=i.ajax.url.call(this,d);if(b.isFunction(i.ajax.data))i.ajax.data=i.ajax.data.call(this,d);b.ajax(i.ajax)}},parse_xml:function(d,e){var f=
123
- this._get_settings().xml_data;b.vakata.xslt(d,a[f.xsl],e)},get_xml:function(d,e,f,i,c){var g="",h=this._get_settings(),j=this,l,k,m,n,p;d||(d="flat");c||(c=0);e=this._get_node(e);if(!e||e===-1)e=this.get_container().find("> ul > li");f=b.isArray(f)?f:["id","class"];!c&&this.data.types&&b.inArray(h.types.type_attr,f)===-1&&f.push(h.types.type_attr);i=b.isArray(i)?i:[];c||(g+="<root>");e.each(function(){g+="<item";m=b(this);b.each(f,function(o,q){g+=" "+q+'="'+(m.attr(q)||"").replace(/jstree[^ ]*|$/ig,
124
- "").replace(/^\s+$/ig,"")+'"'});if(m.hasClass("jstree-open"))g+=' state="open"';if(m.hasClass("jstree-closed"))g+=' state="closed"';if(d==="flat")g+=' parent_id="'+c+'"';g+=">";g+="<content>";n=m.children("a");n.each(function(){l=b(this);p=false;g+="<name";b.inArray("languages",h.plugins)!==-1&&b.each(h.languages,function(o,q){if(l.hasClass(q)){g+=' lang="'+q+'"';p=q;return false}});i.length&&b.each(i,function(o,q){g+=" "+q+'="'+(l.attr(q)||"").replace(/jstree[^ ]*|$/ig,"")+'"'});if(l.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,
125
- "").replace(/^\s+$/ig,"").length)g+=' icon="'+l.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/^\s+$/ig,"")+'"';if(l.children("ins").get(0).style.backgroundImage.length)g+=' icon="'+l.children("ins").get(0).style.backgroundImage.replace("url(","").replace(")","")+'"';g+=">";g+="<![CDATA["+j.get_text(l,p)+"]]\>";g+="</name>"});g+="</content>";k=m[0].id;m=m.find("> ul > li");k=m.length?j.get_xml(d,m,f,i,k):"";if(d=="nest")g+=k;g+="</item>";if(d=="flat")g+=k});c||(g+="</root>");
126
- return g}}})})(jQuery);
127
- (function(b){b.expr[":"].jstree_contains=function(a,d,e){return(a.textContent||a.innerText||"").toLowerCase().indexOf(e[3].toLowerCase())>=0};b.jstree.plugin("search",{__init:function(){this.data.search.str="";this.data.search.result=b()},defaults:{ajax:false,case_insensitive:false},_fn:{search:function(a,d){if(a!==""){var e=this.get_settings().search,f=this,i=function(){},c=function(){};this.data.search.str=a;if(!d&&e.ajax!==false&&this.get_container().find(".jstree-closed:eq(0)").length>0){this.search.supress_callback=
128
- true;i=function(){};c=function(g,h,j){var l=this.get_settings().search.ajax.success;if(l)g=l.call(this,g,h,j)||g;this.data.search.to_open=g;this._search_open()};e.ajax.context=this;e.ajax.error=i;e.ajax.success=c;if(b.isFunction(e.ajax.url))e.ajax.url=e.ajax.url.call(this,a);if(b.isFunction(e.ajax.data))e.ajax.data=e.ajax.data.call(this,a);if(!e.ajax.data)e.ajax.data={search_string:a};if(!e.ajax.dataType||/^json/.exec(e.ajax.dataType))e.ajax.dataType="json";b.ajax(e.ajax)}else{this.data.search.result.length&&
129
- this.clear_search();this.data.search.result=this.get_container().find("a"+(this.data.languages?"."+this.get_lang():"")+":"+(e.case_insensitive?"jstree_contains":"contains")+"("+this.data.search.str+")");this.data.search.result.addClass("jstree-search").parents(".jstree-closed").each(function(){f.open_node(this,false,true)});this.__callback({nodes:this.data.search.result,str:a})}}},clear_search:function(){this.data.search.result.removeClass("jstree-search");this.__callback(this.data.search.result);
130
- this.data.search.result=b()},_search_open:function(){var a=this,d=true,e=[],f=[];if(this.data.search.to_open.length){b.each(this.data.search.to_open,function(i,c){if(c=="#")return true;b(c).length&&b(c).is(".jstree-closed")?e.push(c):f.push(c)});if(e.length){this.data.search.to_open=f;b.each(e,function(i,c){a.open_node(c,function(){a._search_open(true)})});d=false}}d&&this.search(this.data.search.str,true)}}})})(jQuery);
131
- (function(b){b.vakata.context={cnt:b("<div id='vakata-contextmenu'>"),vis:false,tgt:false,par:false,func:false,data:false,show:function(a,d,e,f,i,c){if(a=b.vakata.context.parse(a)){b.vakata.context.vis=true;b.vakata.context.tgt=d;b.vakata.context.par=c||d||null;b.vakata.context.data=i||null;b.vakata.context.cnt.html(a).css({visibility:"hidden",display:"block",left:0,top:0});i=b.vakata.context.cnt.height();c=b.vakata.context.cnt.width();if(e+c>b(document).width()){e=b(document).width()-(c+5);b.vakata.context.cnt.find("li > ul").addClass("right")}if(f+
132
- i>b(document).height()){f-=i+d[0].offsetHeight;b.vakata.context.cnt.find("li > ul").addClass("bottom")}b.vakata.context.cnt.css({left:e,top:f}).find("li:has(ul)").bind("mouseenter",function(){var g=b(document).width(),h=b(document).height(),j=b(this).children("ul").show();g!==b(document).width()&&j.toggleClass("right");h!==b(document).height()&&j.toggleClass("bottom")}).bind("mouseleave",function(){b(this).children("ul").hide()}).end().css({visibility:"visible"}).show();b(document).triggerHandler("context_show.vakata")}},
133
- hide:function(){b.vakata.context.vis=false;b.vakata.context.cnt.attr("class","").hide();b(document).triggerHandler("context_hide.vakata")},parse:function(a,d){if(!a)return false;var e="",f=false,i=true;if(!d)b.vakata.context.func={};e+="<ul>";b.each(a,function(c,g){if(!g)return true;b.vakata.context.func[c]=g.action;if(!i&&g.separator_before)e+="<li class='vakata-separator vakata-separator-before'></li>";i=false;e+="<li class='"+(g._class||"")+(g._disabled?" jstree-contextmenu-disabled ":"")+"'><ins ";
134
- if(g.icon&&g.icon.indexOf("/")===-1)e+=" class='"+g.icon+"' ";if(g.icon&&g.icon.indexOf("/")!==-1)e+=" style='background:url("+g.icon+") center center no-repeat;' ";e+=">&#160;</ins><a href='#' rel='"+c+"'>";if(g.submenu)e+="<span style='float:right;'>&raquo;</span>";e+=g.label+"</a>";if(g.submenu)if(f=b.vakata.context.parse(g.submenu,true))e+=f;e+="</li>";if(g.separator_after){e+="<li class='vakata-separator vakata-separator-after'></li>";i=true}});e=e.replace(/<li class\='vakata-separator vakata-separator-after'\><\/li\>$/,
135
- "");e+="</ul>";return e.length>10?e:false},exec:function(a){if(b.isFunction(b.vakata.context.func[a])){b.vakata.context.func[a].call(b.vakata.context.data,b.vakata.context.par);return true}else return false}};b(function(){b.vakata.css.add_sheet({str:"#vakata-contextmenu { display:none; position:absolute; margin:0; padding:0; min-width:180px; background:#ebebeb; border:1px solid silver; z-index:10000; *width:180px; } #vakata-contextmenu ul { min-width:180px; *width:180px; } #vakata-contextmenu ul, #vakata-contextmenu li { margin:0; padding:0; list-style-type:none; display:block; } #vakata-contextmenu li { line-height:20px; min-height:20px; position:relative; padding:0px; } #vakata-contextmenu li a { padding:1px 6px; line-height:17px; display:block; text-decoration:none; margin:1px 1px 0 1px; } #vakata-contextmenu li ins { float:left; width:16px; height:16px; text-decoration:none; margin-right:2px; } #vakata-contextmenu li a:hover, #vakata-contextmenu li.vakata-hover > a { background:gray; color:white; } #vakata-contextmenu li ul { display:none; position:absolute; top:-2px; left:100%; background:#ebebeb; border:1px solid gray; } #vakata-contextmenu .right { right:100%; left:auto; } #vakata-contextmenu .bottom { bottom:-1px; top:auto; } #vakata-contextmenu li.vakata-separator { min-height:0; height:1px; line-height:1px; font-size:1px; overflow:hidden; margin:0 2px; background:silver; /* border-top:1px solid #fefefe; */ padding:0; } "});
136
- b.vakata.context.cnt.delegate("a","click",function(a){a.preventDefault()}).delegate("a","mouseup",function(){!b(this).parent().hasClass("jstree-contextmenu-disabled")&&b.vakata.context.exec(b(this).attr("rel"))?b.vakata.context.hide():b(this).blur()}).delegate("a","mouseover",function(){b.vakata.context.cnt.find(".vakata-hover").removeClass("vakata-hover")}).appendTo("body");b(document).bind("mousedown",function(a){b.vakata.context.vis&&!b.contains(b.vakata.context.cnt[0],a.target)&&b.vakata.context.hide()});
137
- typeof b.hotkeys!=="undefined"&&b(document).bind("keydown","up",function(a){if(b.vakata.context.vis){var d=b.vakata.context.cnt.find("ul:visible").last().children(".vakata-hover").removeClass("vakata-hover").prevAll("li:not(.vakata-separator)").first();d.length||(d=b.vakata.context.cnt.find("ul:visible").last().children("li:not(.vakata-separator)").last());d.addClass("vakata-hover");a.stopImmediatePropagation();a.preventDefault()}}).bind("keydown","down",function(a){if(b.vakata.context.vis){var d=
1
+ (function(){if(!(jQuery&&jQuery.jstree)){var r=false,t=false,u=false;(function(b){b.vakata={};b.vakata.css={get_css:function(a,d,f){a=a.toLowerCase();var e=f.cssRules||f.rules,c=0;do{if(e.length&&c>e.length+5)break;if(e[c].selectorText&&e[c].selectorText.toLowerCase()==a)if(d===true){f.removeRule&&f.removeRule(c);f.deleteRule&&f.deleteRule(c);return true}else return e[c]}while(e[++c]);return false},add_css:function(a,d){if(b.jstree.css.get_css(a,false,d))return false;d.insertRule?d.insertRule(a+" { }",
2
+ 0):d.addRule(a,null,0);return b.vakata.css.get_css(a)},remove_css:function(a,d){return b.vakata.css.get_css(a,true,d)},add_sheet:function(a){var d=false,f=true;if(a.str){if(a.title)d=b("style[id='"+a.title+"-stylesheet']")[0];if(d)f=false;else{d=document.createElement("style");d.setAttribute("type","text/css");a.title&&d.setAttribute("id",a.title+"-stylesheet")}if(d.styleSheet)if(f){document.getElementsByTagName("head")[0].appendChild(d);d.styleSheet.cssText=a.str}else d.styleSheet.cssText=d.styleSheet.cssText+
3
+ " "+a.str;else{d.appendChild(document.createTextNode(a.str));document.getElementsByTagName("head")[0].appendChild(d)}return d.sheet||d.styleSheet}if(a.url)if(document.createStyleSheet)try{document.createStyleSheet(a.url)}catch(e){}else{d=document.createElement("link");d.rel="stylesheet";d.type="text/css";d.media="all";d.href=a.url;document.getElementsByTagName("head")[0].appendChild(d);return d.styleSheet}}}})(jQuery);(function(b){var a=[],d=-1,f={},e={};b.fn.jstree=function(c){var h=typeof c=="string",
4
+ g=Array.prototype.slice.call(arguments,1),j=this;if(h){if(c.substring(0,1)=="_")return j;this.each(function(){var l=a[b.data(this,"jstree-instance-id")];l=l&&b.isFunction(l[c])?l[c].apply(l,g):l;if(typeof l!=="undefined"&&(c.indexOf("is_"===0)||l!==true&&l!==false)){j=l;return false}})}else this.each(function(){var l=b.data(this,"jstree-instance-id"),i=[],k=c?b.extend({},true,c):{},m=b(this),o=false,n=[];i=i.concat(g);m.data("jstree")&&i.push(m.data("jstree"));k=i.length?b.extend.apply(null,[true,
5
+ k].concat(i)):k;typeof l!=="undefined"&&a[l]&&a[l].destroy();l=parseInt(a.push({}),10)-1;b.data(this,"jstree-instance-id",l);k.plugins=b.isArray(k.plugins)?k.plugins:b.jstree.defaults.plugins.slice();k.plugins.unshift("core");k.plugins=k.plugins.sort().join(",,").replace(/(,|^)([^,]+)(,,\2)+(,|$)/g,"$1$2$4").replace(/,,+/g,",").replace(/,$/,"").split(",");o=b.extend(true,{},b.jstree.defaults,k);o.plugins=k.plugins;b.each(f,function(p){if(b.inArray(p,o.plugins)===-1){o[p]=null;delete o[p]}else n.push(p)});
6
+ o.plugins=n;a[l]=new b.jstree._instance(l,b(this).addClass("jstree jstree-"+l),o);b.each(a[l]._get_settings().plugins,function(p,q){a[l].data[q]={}});b.each(a[l]._get_settings().plugins,function(p,q){f[q]&&f[q].__init.apply(a[l])});setTimeout(function(){a[l].init()},0)});return j};b.jstree={defaults:{plugins:[]},_focused:function(){return a[d]||null},_reference:function(c){if(a[c])return a[c];var h=b(c);if(!h.length&&typeof c==="string")h=b("#"+c);if(!h.length)return null;return a[h.closest(".jstree").data("jstree-instance-id")]||
7
+ null},_instance:function(c,h,g){this.data={core:{}};this.get_settings=function(){return b.extend(true,{},g)};this._get_settings=function(){return g};this.get_index=function(){return c};this.get_container=function(){return h};this.get_container_ul=function(){return h.children("ul:eq(0)")};this._set_settings=function(j){g=b.extend(true,{},g,j)}},_fn:{},plugin:function(c,h){h=b.extend({},{__init:b.noop,__destroy:b.noop,_fn:{},defaults:false},h);f[c]=h;b.jstree.defaults[c]=h.defaults;b.each(h._fn,function(g,
8
+ j){j.plugin=c;j.old=b.jstree._fn[g];b.jstree._fn[g]=function(){var l,i=j,k=Array.prototype.slice.call(arguments);l=new b.Event("before.jstree");var m=false;if(!(this.data.core.locked===true&&g!=="unlock"&&g!=="is_locked")){do{if(i&&i.plugin&&b.inArray(i.plugin,this._get_settings().plugins)!==-1)break;i=i.old}while(i);if(i){if(g.indexOf("_")===0)l=i.apply(this,k);else{l=this.get_container().triggerHandler(l,{func:g,inst:this,args:k,plugin:i.plugin});if(l===false)return;if(typeof l!=="undefined")k=
9
+ l;l=i.apply(b.extend({},this,{__callback:function(o){this.get_container().triggerHandler(g+".jstree",{inst:this,args:k,rslt:o,rlbk:m})},__rollback:function(){return m=this.get_rollback()},__call_old:function(o){return i.old.apply(this,o?Array.prototype.slice.call(arguments,1):k)}}),k)}return l}}};b.jstree._fn[g].old=j.old;b.jstree._fn[g].plugin=c})},rollback:function(c){if(c){b.isArray(c)||(c=[c]);b.each(c,function(h,g){a[g.i].set_rollback(g.h,g.d)})}}};b.jstree._fn=b.jstree._instance.prototype={};
10
+ b(function(){var c=navigator.userAgent.toLowerCase(),h=(c.match(/.+?(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],g=".jstree ul, .jstree li { display:block; margin:0 0 0 0; padding:0 0 0 0; list-style-type:none; } .jstree li { display:block; min-height:18px; line-height:18px; white-space:nowrap; margin-left:18px; } .jstree-rtl li { margin-left:0; margin-right:18px; } .jstree > ul > li { margin-left:0px; } .jstree-rtl > ul > li { margin-right:0px; } .jstree ins { display:inline-block; text-decoration:none; width:18px; height:18px; margin:0 0 0 0; padding:0; } .jstree a { display:inline-block; line-height:16px; height:16px; color:black; white-space:nowrap; text-decoration:none; padding:1px 2px; margin:0; } .jstree a:focus { outline: none; } .jstree a > ins { height:16px; width:16px; } .jstree a > .jstree-icon { margin-right:3px; } .jstree-rtl a > .jstree-icon { margin-left:3px; margin-right:0; } li.jstree-open > ul { display:block; } li.jstree-closed > ul { display:none; } ";
11
+ if(/msie/.test(c)&&parseInt(h,10)==6){r=true;try{document.execCommand("BackgroundImageCache",false,true)}catch(j){}g+=".jstree li { height:18px; margin-left:0; margin-right:0; } .jstree li li { margin-left:18px; } .jstree-rtl li li { margin-left:0px; margin-right:18px; } li.jstree-open ul { display:block; } li.jstree-closed ul { display:none !important; } .jstree li a { display:inline; border-width:0 !important; padding:0px 2px !important; } .jstree li a ins { height:16px; width:16px; margin-right:3px; } .jstree-rtl li a ins { margin-right:0px; margin-left:3px; } "}if(/msie/.test(c)&&
12
+ parseInt(h,10)==7){t=true;g+=".jstree li a { border-width:0 !important; padding:0px 2px !important; } "}if(!/compatible/.test(c)&&/mozilla/.test(c)&&parseFloat(h,10)<1.9){u=true;g+=".jstree ins { display:-moz-inline-box; } .jstree li { line-height:12px; } .jstree a { display:-moz-inline-box; } .jstree .jstree-no-icons .jstree-checkbox { display:-moz-inline-stack !important; } "}b.vakata.css.add_sheet({str:g,title:"jstree"})});b.jstree.plugin("core",{__init:function(){this.data.core.locked=false;this.data.core.to_open=
13
+ this.get_settings().core.initially_open;this.data.core.to_load=this.get_settings().core.initially_load},defaults:{html_titles:false,animation:500,initially_open:[],initially_load:[],open_parents:true,notify_plugins:true,rtl:false,load_open:false,strings:{loading:"Loading ...",new_node:"New node",multiple_selection:"Multiple selection"}},_fn:{init:function(){this.set_focus();this._get_settings().core.rtl&&this.get_container().addClass("jstree-rtl").css("direction","rtl");this.get_container().html("<ul><li class='jstree-last jstree-leaf'><ins>&#160;</ins><a class='jstree-loading' href='#'><ins class='jstree-icon'>&#160;</ins>"+
14
+ this._get_string("loading")+"</a></li></ul>");this.data.core.li_height=this.get_container_ul().find("li.jstree-closed, li.jstree-leaf").eq(0).height()||18;this.get_container().delegate("li > ins","click.jstree",b.proxy(function(c){var h=b(c.target);h.is("ins")&&c.pageY-h.offset().top<this.data.core.li_height&&this.toggle_node(h)},this)).bind("mousedown.jstree",b.proxy(function(){this.set_focus()},this)).bind("dblclick.jstree",function(){var c;if(document.selection&&document.selection.empty)document.selection.empty();
15
+ else if(window.getSelection){c=window.getSelection();try{c.removeAllRanges();c.collapse()}catch(h){}}});this._get_settings().core.notify_plugins&&this.get_container().bind("load_node.jstree",b.proxy(function(c,h){var g=this._get_node(h.rslt.obj),j=this;if(g===-1)g=this.get_container_ul();g.length&&g.find("li").each(function(){var l=b(this);l.data("jstree")&&b.each(l.data("jstree"),function(i,k){j.data[i]&&b.isFunction(j["_"+i+"_notify"])&&j["_"+i+"_notify"].call(j,l,k)})})},this));this._get_settings().core.load_open&&
16
+ this.get_container().bind("load_node.jstree",b.proxy(function(c,h){var g=this._get_node(h.rslt.obj),j=this;if(g===-1)g=this.get_container_ul();g.length&&g.find("li.jstree-open:not(:has(ul))").each(function(){j.load_node(this,b.noop,b.noop)})},this));this.__callback();this.load_node(-1,function(){this.loaded();this.reload_nodes()})},destroy:function(){var c,h=this.get_index(),g=this._get_settings(),j=this;b.each(g.plugins,function(l,i){try{f[i].__destroy.apply(j)}catch(k){}});this.__callback();if(this.is_focused())for(c in a)if(a.hasOwnProperty(c)&&
17
+ c!=h){a[c].set_focus();break}if(h===d)d=-1;this.get_container().unbind(".jstree").undelegate(".jstree").removeData("jstree-instance-id").find("[class^='jstree']").andSelf().attr("class",function(){return this.className.replace(/jstree[^ ]*|$/ig,"")});b(document).unbind(".jstree-"+h).undelegate(".jstree-"+h);a[h]=null;delete a[h]},_core_notify:function(c,h){h.opened&&this.open_node(c,false,true)},lock:function(){this.data.core.locked=true;this.get_container().children("ul").addClass("jstree-locked").css("opacity",
18
+ "0.7");this.__callback({})},unlock:function(){this.data.core.locked=false;this.get_container().children("ul").removeClass("jstree-locked").css("opacity","1");this.__callback({})},is_locked:function(){return this.data.core.locked},save_opened:function(){var c=this;this.data.core.to_open=[];this.get_container_ul().find("li.jstree-open").each(function(){this.id&&c.data.core.to_open.push("#"+this.id.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,
19
+ "\\."))});this.__callback(c.data.core.to_open)},save_loaded:function(){},reload_nodes:function(c){var h=this,g=true,j=[],l=[];if(!c){this.data.core.reopen=false;this.data.core.refreshing=true;this.data.core.to_open=b.map(b.makeArray(this.data.core.to_open),function(i){return"#"+i.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.")});this.data.core.to_load=b.map(b.makeArray(this.data.core.to_load),function(i){return"#"+i.toString().replace(/^#/,
20
+ "").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.")});if(this.data.core.to_open.length)this.data.core.to_load=this.data.core.to_load.concat(this.data.core.to_open)}if(this.data.core.to_load.length){b.each(this.data.core.to_load,function(i,k){if(k=="#")return true;b(k).length?j.push(k):l.push(k)});if(j.length){this.data.core.to_load=l;b.each(j,function(i,k){if(!h._is_loaded(k)){h.load_node(k,function(){h.reload_nodes(true)},function(){h.reload_nodes(true)});g=false}})}}this.data.core.to_open.length&&
21
+ b.each(this.data.core.to_open,function(i,k){h.open_node(k,false,true)});if(g){this.data.core.reopen&&clearTimeout(this.data.core.reopen);this.data.core.reopen=setTimeout(function(){h.__callback({},h)},50);this.data.core.refreshing=false;this.reopen()}},reopen:function(){var c=this;this.data.core.to_open.length&&b.each(this.data.core.to_open,function(h,g){c.open_node(g,false,true)});this.__callback({})},refresh:function(c){var h=this;this.save_opened();c||(c=-1);(c=this._get_node(c))||(c=-1);c!==-1&&
22
+ c.children("UL").remove();this.load_node(c,function(){h.__callback({obj:c});h.reload_nodes()})},loaded:function(){this.__callback()},set_focus:function(){if(!this.is_focused()){var c=b.jstree._focused();c&&c.unset_focus();this.get_container().addClass("jstree-focused");d=this.get_index();this.__callback()}},is_focused:function(){return d==this.get_index()},unset_focus:function(){if(this.is_focused()){this.get_container().removeClass("jstree-focused");d=-1}this.__callback()},_get_node:function(c){var h=
23
+ b(c,this.get_container());if(h.is(".jstree")||c==-1)return-1;h=h.closest("li",this.get_container());return h.length?h:false},_get_next:function(c,h){c=this._get_node(c);if(c===-1)return this.get_container().find("> ul > li:first-child");if(!c.length)return false;if(h)return c.nextAll("li").size()>0?c.nextAll("li:eq(0)"):false;return c.hasClass("jstree-open")?c.find("li:eq(0)"):c.nextAll("li").size()>0?c.nextAll("li:eq(0)"):c.parentsUntil(".jstree","li").next("li").eq(0)},_get_prev:function(c,h){c=
24
+ this._get_node(c);if(c===-1)return this.get_container().find("> ul > li:last-child");if(!c.length)return false;if(h)return c.prevAll("li").length>0?c.prevAll("li:eq(0)"):false;if(c.prev("li").length){for(c=c.prev("li").eq(0);c.hasClass("jstree-open");)c=c.children("ul:eq(0)").children("li:last");return c}else{var g=c.parentsUntil(".jstree","li:eq(0)");return g.length?g:false}},_get_parent:function(c){c=this._get_node(c);if(c==-1||!c.length)return false;c=c.parentsUntil(".jstree","li:eq(0)");return c.length?
25
+ c:-1},_get_children:function(c){c=this._get_node(c);if(c===-1)return this.get_container().children("ul:eq(0)").children("li");if(!c.length)return false;return c.children("ul:eq(0)").children("li")},get_path:function(c,h){var g=[],j=this;c=this._get_node(c);if(c===-1||!c||!c.length)return false;c.parentsUntil(".jstree","li").each(function(){g.push(h?this.id:j.get_text(this))});g.reverse();g.push(h?c.attr("id"):this.get_text(c));return g},_get_string:function(c){return this._get_settings().core.strings[c]||
26
+ c},is_open:function(c){return(c=this._get_node(c))&&c!==-1&&c.hasClass("jstree-open")},is_closed:function(c){return(c=this._get_node(c))&&c!==-1&&c.hasClass("jstree-closed")},is_leaf:function(c){return(c=this._get_node(c))&&c!==-1&&c.hasClass("jstree-leaf")},correct_state:function(c){c=this._get_node(c);if(!c||c===-1)return false;c.removeClass("jstree-closed jstree-open").addClass("jstree-leaf").children("ul").remove();this.__callback({obj:c})},open_node:function(c,h,g){c=this._get_node(c);if(!c.length)return false;
27
+ if(!c.hasClass("jstree-closed")){h&&h.call();return false}var j=g||r?0:this._get_settings().core.animation,l=this;if(this._is_loaded(c)){this._get_settings().core.open_parents&&c.parentsUntil(".jstree",".jstree-closed").each(function(){l.open_node(this,false,true)});j&&c.children("ul").css("display","none");c.removeClass("jstree-closed").addClass("jstree-open").children("a").removeClass("jstree-loading");j?c.children("ul").stop(true,true).slideDown(j,function(){this.style.display="";l.after_open(c)}):
28
+ l.after_open(c);this.__callback({obj:c});h&&h.call()}else{c.children("a").addClass("jstree-loading");this.load_node(c,function(){l.open_node(c,h,g)},h)}},after_open:function(c){this.__callback({obj:c})},close_node:function(c,h){c=this._get_node(c);var g=h||r?0:this._get_settings().core.animation,j=this;if(!c.length||!c.hasClass("jstree-open"))return false;g&&c.children("ul").attr("style","display:block !important");c.removeClass("jstree-open").addClass("jstree-closed");g?c.children("ul").stop(true,
29
+ true).slideUp(g,function(){this.style.display="";j.after_close(c)}):j.after_close(c);this.__callback({obj:c})},after_close:function(c){this.__callback({obj:c})},toggle_node:function(c){c=this._get_node(c);if(c.hasClass("jstree-closed"))return this.open_node(c);if(c.hasClass("jstree-open"))return this.close_node(c)},open_all:function(c,h,g){c=c?this._get_node(c):-1;if(!c||c===-1)c=this.get_container_ul();if(g)c=c.find("li.jstree-closed");else{g=c;c=c.is(".jstree-closed")?c.find("li.jstree-closed").andSelf():
30
+ c.find("li.jstree-closed")}var j=this;c.each(function(){var l=this;j._is_loaded(this)?j.open_node(this,false,!h):j.open_node(this,function(){j.open_all(l,h,g)},!h)});g.find("li.jstree-closed").length===0&&this.__callback({obj:g})},close_all:function(c,h){var g=this;c=c?this._get_node(c):this.get_container();if(!c||c===-1)c=this.get_container_ul();c.find("li.jstree-open").andSelf().each(function(){g.close_node(this,!h)});this.__callback({obj:c})},clean_node:function(c){c=c&&c!=-1?b(c):this.get_container_ul();
31
+ c=c.is("li")?c.find("li").andSelf():c.find("li");c.removeClass("jstree-last").filter("li:last-child").addClass("jstree-last").end().filter(":has(li)").not(".jstree-open").removeClass("jstree-leaf").addClass("jstree-closed");c.not(".jstree-open, .jstree-closed").addClass("jstree-leaf").children("ul").remove();this.__callback({obj:c})},get_rollback:function(){this.__callback();return{i:this.get_index(),h:this.get_container().children("ul").clone(true),d:this.data}},set_rollback:function(c,h){this.get_container().empty().append(c);
32
+ this.data=h;this.__callback()},load_node:function(c){this.__callback({obj:c})},_is_loaded:function(){return true},create_node:function(c,h,g,j,l){c=this._get_node(c);h=typeof h==="undefined"?"last":h;var i=b("<li />"),k=this._get_settings().core,m;if(c!==-1&&!c.length)return false;if(!l&&!this._is_loaded(c)){this.load_node(c,function(){this.create_node(c,h,g,j,true)});return false}this.__rollback();if(typeof g==="string")g={data:g};g||(g={});g.attr&&i.attr(g.attr);g.metadata&&i.data(g.metadata);g.state&&
33
+ i.addClass("jstree-"+g.state);if(!g.data)g.data=this._get_string("new_node");if(!b.isArray(g.data)){m=g.data;g.data=[];g.data.push(m)}b.each(g.data,function(o,n){m=b("<a />");if(b.isFunction(n))n=n.call(this,g);if(typeof n=="string")m.attr("href","#")[k.html_titles?"html":"text"](n);else{if(!n.attr)n.attr={};if(!n.attr.href)n.attr.href="#";m.attr(n.attr)[k.html_titles?"html":"text"](n.title);n.language&&m.addClass(n.language)}m.prepend("<ins class='jstree-icon'>&#160;</ins>");if(n.icon)n.icon.indexOf("/")===
34
+ -1?m.children("ins").addClass(n.icon):m.children("ins").css("background","url('"+n.icon+"') center center no-repeat");i.append(m)});i.prepend("<ins class='jstree-icon'>&#160;</ins>");if(c===-1){c=this.get_container();if(h==="before")h="first";if(h==="after")h="last"}switch(h){case "before":c.before(i);m=this._get_parent(c);break;case "after":c.after(i);m=this._get_parent(c);break;case "inside":case "first":c.children("ul").length||c.append("<ul />");c.children("ul").prepend(i);m=c;break;case "last":c.children("ul").length||
35
+ c.append("<ul />");c.children("ul").append(i);m=c;break;default:c.children("ul").length||c.append("<ul />");h||(h=0);m=c.children("ul").children("li").eq(h);m.length?m.before(i):c.children("ul").append(i);m=c}if(m===-1||m.get(0)===this.get_container().get(0))m=-1;this.clean_node(m);this.__callback({obj:i,parent:m});j&&j.call(this,i);return i},get_text:function(c){c=this._get_node(c);if(!c.length)return false;var h=this._get_settings().core.html_titles;c=c.children("a:eq(0)");if(h){c=c.clone();c.children("INS").remove();
36
+ return c.html()}else{c=c.contents().filter(function(){return this.nodeType==3})[0];return c.nodeValue}},set_text:function(c,h){c=this._get_node(c);if(!c.length)return false;c=c.children("a:eq(0)");if(this._get_settings().core.html_titles){var g=c.children("INS").clone();c.html(h).prepend(g);this.__callback({obj:c,name:h});return true}else{c=c.contents().filter(function(){return this.nodeType==3})[0];this.__callback({obj:c,name:h});return c.nodeValue=h}},rename_node:function(c,h){c=this._get_node(c);
37
+ this.__rollback();c&&c.length&&this.set_text.apply(this,Array.prototype.slice.call(arguments))&&this.__callback({obj:c,name:h})},delete_node:function(c){c=this._get_node(c);if(!c.length)return false;this.__rollback();var h=this._get_parent(c),g=b([]),j=this;c.each(function(){g=g.add(j._get_prev(this))});c=c.detach();h!==-1&&h.find("> ul > li").length===0&&h.removeClass("jstree-open jstree-closed").addClass("jstree-leaf");this.clean_node(h);this.__callback({obj:c,prev:g,parent:h});return c},prepare_move:function(c,
38
+ h,g,j,l){var i={};i.ot=b.jstree._reference(c)||this;i.o=i.ot._get_node(c);i.r=h===-1?-1:this._get_node(h);i.p=typeof g==="undefined"?"last":g;if(!(!l&&e.o&&e.o[0]===i.o[0]&&e.r[0]===i.r[0]&&e.p===i.p)){i.ot=b.jstree._reference(i.o)||this;i.rt=b.jstree._reference(i.r)||this;if(i.r===-1||!i.r){i.cr=-1;switch(i.p){case "first":case "before":case "inside":i.cp=0;break;case "after":case "last":i.cp=i.rt.get_container().find(" > ul > li").length;break;default:i.cp=i.p}}else{if(!/^(before|after)$/.test(i.p)&&
39
+ !this._is_loaded(i.r))return this.load_node(i.r,function(){this.prepare_move(c,h,g,j,true)});switch(i.p){case "before":i.cp=i.r.index();i.cr=i.rt._get_parent(i.r);break;case "after":i.cp=i.r.index()+1;i.cr=i.rt._get_parent(i.r);break;case "inside":case "first":i.cp=0;i.cr=i.r;break;case "last":i.cp=i.r.find(" > ul > li").length;i.cr=i.r;break;default:i.cp=i.p;i.cr=i.r}}i.np=i.cr==-1?i.rt.get_container():i.cr;i.op=i.ot._get_parent(i.o);i.cop=i.o.index();if(i.op===-1)i.op=i.ot?i.ot.get_container():
40
+ this.get_container();!/^(before|after)$/.test(i.p)&&i.op&&i.np&&i.op[0]===i.np[0]&&i.o.index()<i.cp&&i.cp++;i.or=i.np.find(" > ul > li:nth-child("+(i.cp+1)+")");e=i}this.__callback(e);j&&j.call(this,e)},check_move:function(){var c=e,h=true,g=c.r===-1?this.get_container():c.r;if(!c||!c.o||c.or[0]===c.o[0])return false;if(c.op&&c.np&&c.op[0]===c.np[0]&&c.cp-1===c.o.index())return false;c.o.each(function(){if(g.parentsUntil(".jstree","li").andSelf().index(this)!==-1)return h=false});return h},move_node:function(c,
41
+ h,g,j,l,i){if(!l)return this.prepare_move(c,h,g,function(m){this.move_node(m,false,false,j,true,i)});if(j)e.cy=true;if(!i&&!this.check_move())return false;this.__rollback();h=false;if(j){h=c.o.clone();h.find("*[id]").andSelf().each(function(){if(this.id)this.id="copy_"+this.id})}else h=c.o;if(c.or.length)c.or.before(h);else{c.np.children("ul").length||b("<ul />").appendTo(c.np);c.np.children("ul:eq(0)").append(h)}try{c.ot.clean_node(c.op);c.rt.clean_node(c.np);c.op.find("> ul > li").length||c.op.removeClass("jstree-open jstree-closed").addClass("jstree-leaf").children("ul").remove()}catch(k){}if(j){e.cy=
42
+ true;e.oc=h}this.__callback(e);return e},_get_move:function(){return e}}})})(jQuery);(function(b){var a,d,f;b(function(){if(/msie/.test(navigator.userAgent.toLowerCase())){d=b('<textarea cols="10" rows="2"></textarea>').css({position:"absolute",top:-1E3,left:0}).appendTo("body");f=b('<textarea cols="10" rows="2" style="overflow: hidden;"></textarea>').css({position:"absolute",top:-1E3,left:0}).appendTo("body");a=d.width()-f.width();d.add(f).remove()}else{d=b("<div />").css({width:100,height:100,overflow:"auto",
43
+ position:"absolute",top:-1E3,left:0}).prependTo("body").append("<div />").find("div").css({width:"100%",height:200});a=100-d.width();d.parent().remove()}});b.jstree.plugin("ui",{__init:function(){this.data.ui.selected=b();this.data.ui.last_selected=false;this.data.ui.hovered=null;this.data.ui.to_select=this.get_settings().ui.initially_select;this.get_container().delegate("a","click.jstree",b.proxy(function(e){e.preventDefault();e.currentTarget.blur();b(e.currentTarget).hasClass("jstree-loading")||
44
+ this.select_node(e.currentTarget,true,e)},this)).delegate("a","mouseenter.jstree",b.proxy(function(e){b(e.currentTarget).hasClass("jstree-loading")||this.hover_node(e.target)},this)).delegate("a","mouseleave.jstree",b.proxy(function(e){b(e.currentTarget).hasClass("jstree-loading")||this.dehover_node(e.target)},this)).bind("reopen.jstree",b.proxy(function(){this.reselect()},this)).bind("get_rollback.jstree",b.proxy(function(){this.dehover_node();this.save_selected()},this)).bind("set_rollback.jstree",
45
+ b.proxy(function(){this.reselect()},this)).bind("close_node.jstree",b.proxy(function(e,c){var h=this._get_settings().ui,g=this._get_node(c.rslt.obj),j=g&&g.length?g.children("ul").find("a.jstree-clicked"):b(),l=this;h.selected_parent_close===false||!j.length||j.each(function(){l.deselect_node(this);h.selected_parent_close==="select_parent"&&l.select_node(g)})},this)).bind("delete_node.jstree",b.proxy(function(e,c){var h=this._get_settings().ui.select_prev_on_delete,g=this._get_node(c.rslt.obj);g=
46
+ g&&g.length?g.find("a.jstree-clicked"):[];var j=this;g.each(function(){j.deselect_node(this)});h&&g.length&&c.rslt.prev.each(function(){this.parentNode&&j.select_node(this)})},this)).bind("move_node.jstree",b.proxy(function(e,c){c.rslt.cy&&c.rslt.oc.find("a.jstree-clicked").removeClass("jstree-clicked")},this))},defaults:{select_limit:-1,select_multiple_modifier:"ctrl",select_range_modifier:"shift",selected_parent_close:"select_parent",selected_parent_open:true,select_prev_on_delete:true,disable_selecting_children:false,
47
+ initially_select:[]},_fn:{_get_node:function(e,c){if(typeof e==="undefined"||e===null)return c?this.data.ui.selected:this.data.ui.last_selected;var h=b(e,this.get_container());if(h.is(".jstree")||e==-1)return-1;h=h.closest("li",this.get_container());return h.length?h:false},_ui_notify:function(e,c){c.selected&&this.select_node(e,false)},save_selected:function(){var e=this;this.data.ui.to_select=[];this.data.ui.selected.each(function(){this.id&&e.data.ui.to_select.push("#"+this.id.toString().replace(/^#/,
48
+ "").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\."))});this.__callback(this.data.ui.to_select)},reselect:function(){var e=this,c=this.data.ui.to_select;c=b.map(b.makeArray(c),function(h){return"#"+h.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.")});b.each(c,function(h,g){g&&g!=="#"&&e.select_node(g)});this.__callback()},refresh:function(){this.save_selected();return this.__call_old()},hover_node:function(e){e=
49
+ this._get_node(e);if(!e.length)return false;e.hasClass("jstree-hovered")||this.dehover_node();this.data.ui.hovered=e.children("a").addClass("jstree-hovered").parent();this._fix_scroll(e);this.__callback({obj:e})},dehover_node:function(){var e=this.data.ui.hovered;if(!e||!e.length)return false;if(this.data.ui.hovered[0]===e.children("a").removeClass("jstree-hovered").parent()[0])this.data.ui.hovered=null;this.__callback({obj:e})},select_node:function(e,c,h){e=this._get_node(e);if(e==-1||!e||!e.length)return false;
50
+ var g=this._get_settings().ui,j=g.select_multiple_modifier=="on"||g.select_multiple_modifier!==false&&h&&h[g.select_multiple_modifier+"Key"],l=g.select_range_modifier!==false&&h&&h[g.select_range_modifier+"Key"]&&this.data.ui.last_selected&&this.data.ui.last_selected[0]!==e[0]&&this.data.ui.last_selected.parent()[0]===e.parent()[0],i=this.is_selected(e),k=true,m=this;if(c){if(g.disable_selecting_children&&j&&(e.parentsUntil(".jstree","li").children("a.jstree-clicked").length||e.children("ul").find("a.jstree-clicked:eq(0)").length))return false;
51
+ k=false;switch(true){case l:this.data.ui.last_selected.addClass("jstree-last-selected");e=e[e.index()<this.data.ui.last_selected.index()?"nextUntil":"prevUntil"](".jstree-last-selected").andSelf();if(g.select_limit==-1||e.length<g.select_limit){this.data.ui.last_selected.removeClass("jstree-last-selected");this.data.ui.selected.each(function(){this!==m.data.ui.last_selected[0]&&m.deselect_node(this)});i=false;k=true}else k=false;break;case i&&!j:this.deselect_all();i=false;k=true;break;case !i&&!j:if(g.select_limit==
52
+ -1||g.select_limit>0){this.deselect_all();k=true}break;case i&&j:this.deselect_node(e);break;case !i&&j:if(g.select_limit==-1||this.data.ui.selected.length+1<=g.select_limit)k=true}}if(k&&!i){if(!l)this.data.ui.last_selected=e;e.children("a").addClass("jstree-clicked");g.selected_parent_open&&e.parents(".jstree-closed").each(function(){m.open_node(this,false,true)});this.data.ui.selected=this.data.ui.selected.add(e);this._fix_scroll(e.eq(0));this.__callback({obj:e,e:h})}},_fix_scroll:function(e){var c=
53
+ this.get_container()[0];if(c.scrollHeight>c.offsetHeight){e=this._get_node(e);if(!(!e||e===-1||!e.length||!e.is(":visible"))){e=e.offset().top-this.get_container().offset().top;if(e<0)c.scrollTop=c.scrollTop+e-1;if(e+this.data.core.li_height+(c.scrollWidth>c.offsetWidth?a:0)>c.offsetHeight)c.scrollTop+=e-c.offsetHeight+this.data.core.li_height+1+(c.scrollWidth>c.offsetWidth?a:0)}}},deselect_node:function(e){e=this._get_node(e);if(!e.length)return false;if(this.is_selected(e)){e.children("a").removeClass("jstree-clicked");
54
+ this.data.ui.selected=this.data.ui.selected.not(e);if(this.data.ui.last_selected.get(0)===e.get(0))this.data.ui.last_selected=this.data.ui.selected.eq(0);this.__callback({obj:e})}},toggle_select:function(e){e=this._get_node(e);if(!e.length)return false;this.is_selected(e)?this.deselect_node(e):this.select_node(e)},is_selected:function(e){return this.data.ui.selected.index(this._get_node(e))>=0},get_selected:function(e){return e?b(e).find("a.jstree-clicked").parent():this.data.ui.selected},deselect_all:function(e){e=
55
+ e?b(e).find("a.jstree-clicked").parent():this.get_container().find("a.jstree-clicked").parent();e.children("a.jstree-clicked").removeClass("jstree-clicked");this.data.ui.selected=b([]);this.data.ui.last_selected=false;this.__callback({obj:e})}}});b.jstree.defaults.plugins.push("ui")})(jQuery);(function(b){b.jstree.plugin("crrm",{__init:function(){this.get_container().bind("move_node.jstree",b.proxy(function(a,d){if(this._get_settings().crrm.move.open_onmove){var f=this;d.rslt.np.parentsUntil(".jstree").andSelf().filter(".jstree-closed").each(function(){f.open_node(this,
56
+ false,true)})}},this))},defaults:{input_width_limit:200,move:{always_copy:false,open_onmove:true,default_position:"last",check_move:function(){return true}}},_fn:{_show_input:function(a,d){a=this._get_node(a);var f=this._get_settings().core.rtl,e=this._get_settings().crrm.input_width_limit,c=a.children("ins").width(),h=a.find("> a:visible > ins").width()*a.find("> a:visible > ins").length,g=this.get_text(a),j=b("<div />",{css:{position:"absolute",top:"-200px",left:f?"0px":"-1000px",visibility:"hidden"}}).appendTo("body"),
57
+ l=a.css("position","relative").append(b("<input />",{value:g,"class":"jstree-rename-input",css:{padding:"0",border:"1px solid silver",position:"absolute",left:f?"auto":c+h+4+"px",right:f?c+h+4+"px":"auto",top:"0px",height:this.data.core.li_height-2+"px",lineHeight:this.data.core.li_height-2+"px",width:"150px"},blur:b.proxy(function(){var i=a.children(".jstree-rename-input"),k=i.val();if(k==="")k=g;i.remove();this.set_text(a,g);this.rename_node(a,k);d.call(this,a,k,g);a.css("position","")},this),keyup:function(i){i=
58
+ i.keyCode||i.which;if(i==27){this.value=g;this.blur()}else i==13?this.blur():l.width(Math.min(j.text("pW"+this.value).width(),e))},keypress:function(i){if((i.keyCode||i.which)==13)return false}})).children(".jstree-rename-input");this.set_text(a,"");j.css({fontFamily:l.css("fontFamily")||"",fontSize:l.css("fontSize")||"",fontWeight:l.css("fontWeight")||"",fontStyle:l.css("fontStyle")||"",fontStretch:l.css("fontStretch")||"",fontVariant:l.css("fontVariant")||"",letterSpacing:l.css("letterSpacing")||
59
+ "",wordSpacing:l.css("wordSpacing")||""});l.width(Math.min(j.text("pW"+l[0].value).width(),e))[0].select()},rename:function(a){a=this._get_node(a);this.__rollback();var d=this.__callback;this._show_input(a,function(f,e,c){d.call(this,{obj:f,new_name:e,old_name:c})})},create:function(a,d,f,e,c){var h=this;(a=this._get_node(a))||(a=-1);this.__rollback();return this.create_node(a,d,f,function(g){var j=this._get_parent(g),l=b(g).index();e&&e.call(this,g);j.length&&j.hasClass("jstree-closed")&&this.open_node(j,
60
+ false,true);c?h.__callback({obj:g,name:this.get_text(g),parent:j,position:l}):this._show_input(g,function(i,k){h.__callback({obj:i,name:k,parent:j,position:l})})})},remove:function(a){a=this._get_node(a,true);var d=this._get_parent(a),f=this._get_prev(a);this.__rollback();a=this.delete_node(a);a!==false&&this.__callback({obj:a,prev:f,parent:d})},check_move:function(){if(!this.__call_old())return false;if(!this._get_settings().crrm.move.check_move.call(this,this._get_move()))return false;return true},
61
+ move_node:function(a,d,f,e,c,h){var g=this._get_settings().crrm.move;if(!c){if(typeof f==="undefined")f=g.default_position;if(f==="inside"&&!g.default_position.match(/^(before|after)$/))f=g.default_position;return this.__call_old(true,a,d,f,e,false,h)}if(g.always_copy===true||g.always_copy==="multitree"&&a.rt.get_index()!==a.ot.get_index())e=true;this.__call_old(true,a,d,f,e,true,h)},cut:function(a){a=this._get_node(a,true);if(!a||!a.length)return false;this.data.crrm.cp_nodes=false;this.data.crrm.ct_nodes=
62
+ a;this.__callback({obj:a})},copy:function(a){a=this._get_node(a,true);if(!a||!a.length)return false;this.data.crrm.ct_nodes=false;this.data.crrm.cp_nodes=a;this.__callback({obj:a})},paste:function(a){a=this._get_node(a);if(!a||!a.length)return false;var d=this.data.crrm.ct_nodes?this.data.crrm.ct_nodes:this.data.crrm.cp_nodes;if(!this.data.crrm.ct_nodes&&!this.data.crrm.cp_nodes)return false;if(this.data.crrm.ct_nodes){this.move_node(this.data.crrm.ct_nodes,a);this.data.crrm.ct_nodes=false}this.data.crrm.cp_nodes&&
63
+ this.move_node(this.data.crrm.cp_nodes,a,false,true);this.__callback({obj:a,nodes:d})}}})})(jQuery);(function(b){var a=[];b.jstree._themes=false;b.jstree.plugin("themes",{__init:function(){this.get_container().bind("init.jstree",b.proxy(function(){var d=this._get_settings().themes;this.data.themes.dots=d.dots;this.data.themes.icons=d.icons;this.set_theme(d.theme,d.url)},this)).bind("loaded.jstree",b.proxy(function(){this.data.themes.dots?this.show_dots():this.hide_dots();this.data.themes.icons?this.show_icons():
64
+ this.hide_icons()},this))},defaults:{theme:"default",url:false,dots:true,icons:true},_fn:{set_theme:function(d,f){if(!d)return false;f||(f=b.jstree._themes+d+".css");if(b.inArray(f,a)==-1){b.vakata.css.add_sheet({url:f});a.push(f)}if(this.data.themes.theme!=d){this.get_container().removeClass("jstree-"+this.data.themes.theme);this.data.themes.theme=d}this.get_container().addClass("jstree-"+d);this.data.themes.dots?this.show_dots():this.hide_dots();this.data.themes.icons?this.show_icons():this.hide_icons();
65
+ this.__callback()},get_theme:function(){return this.data.themes.theme},show_dots:function(){this.data.themes.dots=true;this.get_container().children("ul").removeClass("jstree-no-dots")},hide_dots:function(){this.data.themes.dots=false;this.get_container().children("ul").addClass("jstree-no-dots")},toggle_dots:function(){this.data.themes.dots?this.hide_dots():this.show_dots()},show_icons:function(){this.data.themes.icons=true;this.get_container().children("ul").removeClass("jstree-no-icons")},hide_icons:function(){this.data.themes.icons=
66
+ false;this.get_container().children("ul").addClass("jstree-no-icons")},toggle_icons:function(){this.data.themes.icons?this.hide_icons():this.show_icons()}}});b(function(){if(b.jstree._themes===false)b.jstree._themes="/stylesheets/compiled/jquery/jstree/"});b.jstree.defaults.plugins.push("themes")})(jQuery);(function(b){var a=[];b.jstree.plugin("hotkeys",{__init:function(){if(typeof b.hotkeys==="undefined")throw"jsTree hotkeys: jQuery hotkeys plugin not included.";if(!this.data.ui)throw"jsTree hotkeys: jsTree UI plugin not included.";
67
+ b.each(this._get_settings().hotkeys,function(d,f){if(f!==false&&b.inArray(d,a)==-1){b(document).bind("keydown",d,function(e){var c;var h=b.jstree._focused(),g;if(h&&h.data&&h.data.hotkeys&&h.data.hotkeys.enabled)if(g=h._get_settings().hotkeys[d])c=g.call(h,e);return c});a.push(d)}});this.get_container().bind("lock.jstree",b.proxy(function(){if(this.data.hotkeys.enabled){this.data.hotkeys.enabled=false;this.data.hotkeys.revert=true}},this)).bind("unlock.jstree",b.proxy(function(){if(this.data.hotkeys.revert)this.data.hotkeys.enabled=
68
+ true},this));this.enable_hotkeys()},defaults:{up:function(){this.hover_node(this._get_prev(this.data.ui.hovered||this.data.ui.last_selected||-1));return false},"ctrl+up":function(){this.hover_node(this._get_prev(this.data.ui.hovered||this.data.ui.last_selected||-1));return false},"shift+up":function(){this.hover_node(this._get_prev(this.data.ui.hovered||this.data.ui.last_selected||-1));return false},down:function(){this.hover_node(this._get_next(this.data.ui.hovered||this.data.ui.last_selected||-1));
69
+ return false},"ctrl+down":function(){this.hover_node(this._get_next(this.data.ui.hovered||this.data.ui.last_selected||-1));return false},"shift+down":function(){this.hover_node(this._get_next(this.data.ui.hovered||this.data.ui.last_selected||-1));return false},left:function(){var d=this.data.ui.hovered||this.data.ui.last_selected;if(d)d.hasClass("jstree-open")?this.close_node(d):this.hover_node(this._get_prev(d));return false},"ctrl+left":function(){var d=this.data.ui.hovered||this.data.ui.last_selected;
70
+ if(d)d.hasClass("jstree-open")?this.close_node(d):this.hover_node(this._get_prev(d));return false},"shift+left":function(){var d=this.data.ui.hovered||this.data.ui.last_selected;if(d)d.hasClass("jstree-open")?this.close_node(d):this.hover_node(this._get_prev(d));return false},right:function(){var d=this.data.ui.hovered||this.data.ui.last_selected;if(d&&d.length)d.hasClass("jstree-closed")?this.open_node(d):this.hover_node(this._get_next(d));return false},"ctrl+right":function(){var d=this.data.ui.hovered||
71
+ this.data.ui.last_selected;if(d&&d.length)d.hasClass("jstree-closed")?this.open_node(d):this.hover_node(this._get_next(d));return false},"shift+right":function(){var d=this.data.ui.hovered||this.data.ui.last_selected;if(d&&d.length)d.hasClass("jstree-closed")?this.open_node(d):this.hover_node(this._get_next(d));return false},space:function(){this.data.ui.hovered&&this.data.ui.hovered.children("a:eq(0)").click();return false},"ctrl+space":function(d){d.type="click";this.data.ui.hovered&&this.data.ui.hovered.children("a:eq(0)").trigger(d);
72
+ return false},"shift+space":function(d){d.type="click";this.data.ui.hovered&&this.data.ui.hovered.children("a:eq(0)").trigger(d);return false},f2:function(){this.rename(this.data.ui.hovered||this.data.ui.last_selected)},del:function(){this.remove(this.data.ui.hovered||this._get_node(null))}},_fn:{enable_hotkeys:function(){this.data.hotkeys.enabled=true},disable_hotkeys:function(){this.data.hotkeys.enabled=false}}})})(jQuery);(function(b){b.jstree.plugin("json_data",{__init:function(){this._get_settings().json_data.progressive_unload&&
73
+ this.get_container().bind("after_close.jstree",function(a,d){d.rslt.obj.children("ul").remove()})},defaults:{data:false,ajax:false,correct_state:true,progressive_render:false,progressive_unload:false},_fn:{load_node:function(a,d,f){var e=this;this.load_node_json(a,function(){e.__callback({obj:e._get_node(a)});d.call(this)},f)},_is_loaded:function(a){var d=this._get_settings().json_data;a=this._get_node(a);return a==-1||!a||!d.ajax&&!d.progressive_render&&!b.isFunction(d.data)||a.is(".jstree-open, .jstree-leaf")||
74
+ a.children("ul").children("li").length>0},refresh:function(a){a=this._get_node(a);var d=this._get_settings().json_data;if(a&&a!==-1&&d.progressive_unload&&(b.isFunction(d.data)||d.ajax))b.removeData(a,"jstree-children");return this.__call_old()},load_node_json:function(a,d,f){var e=this.get_settings().json_data,c,h=function(){};c=function(){};if((a=this._get_node(a))&&a!==-1&&(e.progressive_render||e.progressive_unload)&&!a.is(".jstree-open, .jstree-leaf")&&a.children("ul").children("li").length===
75
+ 0&&a.data("jstree-children")){if(c=this._parse_json(a.data("jstree-children"),a)){a.append(c);e.progressive_unload||b.removeData(a,"jstree-children")}this.clean_node(a);d&&d.call(this)}else{if(a&&a!==-1)if(a.data("jstree-is-loading"))return;else a.data("jstree-is-loading",true);switch(true){case !e.data&&!e.ajax:throw"Neither data nor ajax settings supplied.";case b.isFunction(e.data):e.data.call(this,a,b.proxy(function(g){if(g=this._parse_json(g,a)){if(a===-1||!a)this.get_container().children("ul").empty().append(g.children());
76
+ else{a.append(g).children("a.jstree-loading").removeClass("jstree-loading");b.removeData(a,"jstree-is-loading")}this.clean_node(a);d&&d.call(this)}else{if(a===-1||!a)e.correct_state&&this.get_container().children("ul").empty();else{a.children("a.jstree-loading").removeClass("jstree-loading");b.removeData(a,"jstree-is-loading");e.correct_state&&this.correct_state(a)}f&&f.call(this)}},this));break;case !!e.data&&!e.ajax||!!e.data&&!!e.ajax&&(!a||a===-1):if(!a||a==-1)if(c=this._parse_json(e.data,a)){this.get_container().children("ul").empty().append(c.children());
77
+ this.clean_node()}else e.correct_state&&this.get_container().children("ul").empty();d&&d.call(this);break;case !e.data&&!!e.ajax||!!e.data&&!!e.ajax&&a&&a!==-1:h=function(g,j,l){var i=this.get_settings().json_data.ajax.error;i&&i.call(this,g,j,l);if(a!=-1&&a.length){a.children("a.jstree-loading").removeClass("jstree-loading");b.removeData(a,"jstree-is-loading");j==="success"&&e.correct_state&&this.correct_state(a)}else j==="success"&&e.correct_state&&this.get_container().children("ul").empty();f&&
78
+ f.call(this)};c=function(g,j,l){var i=this.get_settings().json_data.ajax.success;if(i)g=i.call(this,g,j,l)||g;if(g===""||g&&g.toString&&g.toString().replace(/^[\s\n]+$/,"")===""||!b.isArray(g)&&!b.isPlainObject(g))return h.call(this,l,j,"");if(g=this._parse_json(g,a)){if(a===-1||!a)this.get_container().children("ul").empty().append(g.children());else{a.append(g).children("a.jstree-loading").removeClass("jstree-loading");b.removeData(a,"jstree-is-loading")}this.clean_node(a);d&&d.call(this)}else if(a===
79
+ -1||!a){if(e.correct_state){this.get_container().children("ul").empty();d&&d.call(this)}}else{a.children("a.jstree-loading").removeClass("jstree-loading");b.removeData(a,"jstree-is-loading");if(e.correct_state){this.correct_state(a);d&&d.call(this)}}};e.ajax.context=this;e.ajax.error=h;e.ajax.success=c;if(!e.ajax.dataType)e.ajax.dataType="json";if(b.isFunction(e.ajax.url))e.ajax.url=e.ajax.url.call(this,a);if(b.isFunction(e.ajax.data))e.ajax.data=e.ajax.data.call(this,a);b.ajax(e.ajax)}}},_parse_json:function(a,
80
+ d,f){var e=false,c=this._get_settings(),h=c.json_data,g=c.core.html_titles,j;if(!a)return e;h.progressive_unload&&d&&d!==-1&&d.data("jstree-children",e);if(b.isArray(a)){e=b();if(!a.length)return false;c=0;for(h=a.length;c<h;c++){j=this._parse_json(a[c],d,true);if(j.length)e=e.add(j)}}else{if(typeof a=="string")a={data:a};if(!a.data&&a.data!=="")return e;e=b("<li />");a.attr&&e.attr(a.attr);a.metadata&&e.data(a.metadata);a.state&&e.addClass("jstree-"+a.state);if(!b.isArray(a.data)){j=a.data;a.data=
81
+ [];a.data.push(j)}b.each(a.data,function(l,i){j=b("<a />");if(b.isFunction(i))i=i.call(this,a);if(typeof i=="string")j.attr("href","#")[g?"html":"text"](i);else{if(!i.attr)i.attr={};if(!i.attr.href)i.attr.href="#";j.attr(i.attr)[g?"html":"text"](i.title);i.language&&j.addClass(i.language)}j.prepend("<ins class='jstree-icon'>&#160;</ins>");if(!i.icon&&a.icon)i.icon=a.icon;if(i.icon)i.icon.indexOf("/")===-1?j.children("ins").addClass(i.icon):j.children("ins").css("background","url('"+i.icon+"') center center no-repeat");
82
+ e.append(j)});e.prepend("<ins class='jstree-icon'>&#160;</ins>");if(a.children)if(h.progressive_render&&a.state!=="open")e.addClass("jstree-closed").data("jstree-children",a.children);else{h.progressive_unload&&e.data("jstree-children",a.children);if(b.isArray(a.children)&&a.children.length){j=this._parse_json(a.children,d,true);if(j.length){d=b("<ul />");d.append(j);e.append(d)}}}}if(!f){f=b("<ul />");f.append(e);e=f}return e},get_json:function(a,d,f,e){var c=[],h=this._get_settings(),g=this,j,l,
83
+ i,k,m,o;a=this._get_node(a);if(!a||a===-1)a=this.get_container().find("> ul > li");d=b.isArray(d)?d:["id","class"];!e&&this.data.types&&d.push(h.types.type_attr);f=b.isArray(f)?f:[];a.each(function(){i=b(this);j={data:[]};if(d.length)j.attr={};b.each(d,function(n,p){if((l=i.attr(p))&&l.length&&l.replace(/jstree[^ ]*/ig,"").length)j.attr[p]=(" "+l).replace(/ jstree[^ ]*/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")});if(i.hasClass("jstree-open"))j.state="open";if(i.hasClass("jstree-closed"))j.state=
84
+ "closed";if(i.data())j.metadata=i.data();k=i.children("a");k.each(function(){m=b(this);if(f.length||b.inArray("languages",h.plugins)!==-1||m.children("ins").get(0).style.backgroundImage.length||m.children("ins").get(0).className&&m.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").length){o=false;b.inArray("languages",h.plugins)!==-1&&b.isArray(h.languages)&&h.languages.length&&b.each(h.languages,function(n,p){if(m.hasClass(p)){o=p;return false}});l={attr:{},title:g.get_text(m,o)};b.each(f,
85
+ function(n,p){l.attr[p]=(" "+(m.attr(p)||"")).replace(/ jstree[^ ]*/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")});b.inArray("languages",h.plugins)!==-1&&b.isArray(h.languages)&&h.languages.length&&b.each(h.languages,function(n,p){if(m.hasClass(p)){l.language=p;return true}});if(m.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/^\s+$/ig,"").length)l.icon=m.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,
86
+ "");if(m.children("ins").get(0).style.backgroundImage.length)l.icon=m.children("ins").get(0).style.backgroundImage.replace("url(","").replace(")","")}else l=g.get_text(m);if(k.length>1)j.data.push(l);else j.data=l});i=i.find("> ul > li");if(i.length)j.children=g.get_json(i,d,f,true);c.push(j)});return c}}})})(jQuery);(function(b){b.jstree.plugin("languages",{__init:function(){this._load_css()},defaults:[],_fn:{set_lang:function(a){var d=this._get_settings().languages,f=false,e=".jstree-"+this.get_index()+
87
+ " a";if(!b.isArray(d)||d.length===0)return false;if(b.inArray(a,d)==-1)if(d[a])a=d[a];else return false;if(a==this.data.languages.current_language)return true;f=b.vakata.css.get_css(e+"."+this.data.languages.current_language,false,this.data.languages.language_css);if(f!==false)f.style.display="none";f=b.vakata.css.get_css(e+"."+a,false,this.data.languages.language_css);if(f!==false)f.style.display="";this.data.languages.current_language=a;this.__callback(a);return true},get_lang:function(){return this.data.languages.current_language},
88
+ _get_string:function(a,d){var f=this._get_settings().languages,e=this._get_settings().core.strings;if(b.isArray(f)&&f.length)d=d&&b.inArray(d,f)!=-1?d:this.data.languages.current_language;if(e[d]&&e[d][a])return e[d][a];if(e[a])return e[a];return a},get_text:function(a,d){a=this._get_node(a)||this.data.ui.last_selected;if(!a.size())return false;var f=this._get_settings().languages,e=this._get_settings().core.html_titles;if(b.isArray(f)&&f.length){d=d&&b.inArray(d,f)!=-1?d:this.data.languages.current_language;
89
+ a=a.children("a."+d)}else a=a.children("a:eq(0)");if(e){a=a.clone();a.children("INS").remove();return a.html()}else{a=a.contents().filter(function(){return this.nodeType==3})[0];return a.nodeValue}},set_text:function(a,d,f){a=this._get_node(a)||this.data.ui.last_selected;if(!a.size())return false;var e=this._get_settings().languages,c=this._get_settings().core.html_titles;if(b.isArray(e)&&e.length){f=f&&b.inArray(f,e)!=-1?f:this.data.languages.current_language;a=a.children("a."+f)}else a=a.children("a:eq(0)");
90
+ if(c){e=a.children("INS").clone();a.html(d).prepend(e);this.__callback({obj:a,name:d,lang:f});return true}else{a=a.contents().filter(function(){return this.nodeType==3})[0];this.__callback({obj:a,name:d,lang:f});return a.nodeValue=d}},_load_css:function(){var a=this._get_settings().languages,d="/* languages css */",f=".jstree-"+this.get_index()+" a",e;if(b.isArray(a)&&a.length){this.data.languages.current_language=a[0];for(e=0;e<a.length;e++){d+=f+"."+a[e]+" {";if(a[e]!=this.data.languages.current_language)d+=
91
+ " display:none; ";d+=" } "}this.data.languages.language_css=b.vakata.css.add_sheet({str:d,title:"jstree-languages"})}},create_node:function(a,d,f,e){return this.__call_old(true,a,d,f,function(c){var h=this._get_settings().languages,g=c.children("a"),j;if(b.isArray(h)&&h.length){for(j=0;j<h.length;j++)g.is("."+h[j])||c.append(g.eq(0).clone().removeClass(h.join(" ")).addClass(h[j]));g.not("."+h.join(", .")).remove()}e&&e.call(this,c)})}}})})(jQuery);(function(b){b.jstree.plugin("cookies",{__init:function(){if(typeof b.cookie===
92
+ "undefined")throw"jsTree cookie: jQuery cookie plugin not included.";var a=this._get_settings().cookies,d;if(a.save_loaded)if((d=b.cookie(a.save_loaded))&&d.length)this.data.core.to_load=d.split(",");if(a.save_opened)if((d=b.cookie(a.save_opened))&&d.length)this.data.core.to_open=d.split(",");if(a.save_selected)if((d=b.cookie(a.save_selected))&&d.length&&this.data.ui)this.data.ui.to_select=d.split(",");this.get_container().one((this.data.ui?"reselect":"reopen")+".jstree",b.proxy(function(){this.get_container().bind("open_node.jstree close_node.jstree select_node.jstree deselect_node.jstree",
93
+ b.proxy(function(f){this._get_settings().cookies.auto_save&&this.save_cookie((f.handleObj.namespace+f.handleObj.type).replace("jstree",""))},this))},this))},defaults:{save_loaded:"jstree_load",save_opened:"jstree_open",save_selected:"jstree_select",auto_save:true,cookie_options:{}},_fn:{save_cookie:function(a){if(!this.data.core.refreshing){var d=this._get_settings().cookies;if(a)switch(a){case "open_node":case "close_node":if(d.save_opened){this.save_opened();b.cookie(d.save_opened,this.data.core.to_open.join(","),
94
+ d.cookie_options)}if(d.save_loaded){this.save_loaded();b.cookie(d.save_loaded,this.data.core.to_load.join(","),d.cookie_options)}break;case "select_node":case "deselect_node":if(d.save_selected&&this.data.ui){this.save_selected();b.cookie(d.save_selected,this.data.ui.to_select.join(","),d.cookie_options)}}else{if(d.save_loaded){this.save_loaded();b.cookie(d.save_loaded,this.data.core.to_load.join(","),d.cookie_options)}if(d.save_opened){this.save_opened();b.cookie(d.save_opened,this.data.core.to_open.join(","),
95
+ d.cookie_options)}if(d.save_selected&&this.data.ui){this.save_selected();b.cookie(d.save_selected,this.data.ui.to_select.join(","),d.cookie_options)}}}}}})})(jQuery);(function(b){b.jstree.plugin("sort",{__init:function(){this.get_container().bind("load_node.jstree",b.proxy(function(a,d){var f=this._get_node(d.rslt.obj);f=f===-1?this.get_container().children("ul"):f.children("ul");this.sort(f)},this)).bind("rename_node.jstree create_node.jstree create.jstree",b.proxy(function(a,d){this.sort(d.rslt.obj.parent())},
96
+ this)).bind("move_node.jstree",b.proxy(function(a,d){this.sort((d.rslt.np==-1?this.get_container():d.rslt.np).children("ul"))},this))},defaults:function(a,d){return this.get_text(a)>this.get_text(d)?1:-1},_fn:{sort:function(a){var d=this._get_settings().sort,f=this;a.append(b.makeArray(a.children("li")).sort(b.proxy(d,f)));a.find("> li > ul").each(function(){f.sort(b(this))});this.clean_node(a)}}})})(jQuery);(function(b){var a=false,d=false,f=false,e=false,c=false,h=false,g=false,j=false,l=false;
97
+ b.vakata.dnd={is_down:false,is_drag:false,helper:false,scroll_spd:10,init_x:0,init_y:0,threshold:5,helper_left:5,helper_top:10,user_data:{},drag_start:function(i,k,m){b.vakata.dnd.is_drag&&b.vakata.drag_stop({});try{i.currentTarget.unselectable="on";i.currentTarget.onselectstart=function(){return false};if(i.currentTarget.style)i.currentTarget.style.MozUserSelect="none"}catch(o){}b.vakata.dnd.init_x=i.pageX;b.vakata.dnd.init_y=i.pageY;b.vakata.dnd.user_data=k;b.vakata.dnd.is_down=true;b.vakata.dnd.helper=
98
+ b("<div id='vakata-dragged' />").html(m);b(document).bind("mousemove",b.vakata.dnd.drag);b(document).bind("mouseup",b.vakata.dnd.drag_stop);return false},drag:function(i){if(b.vakata.dnd.is_down){if(!b.vakata.dnd.is_drag)if(Math.abs(i.pageX-b.vakata.dnd.init_x)>5||Math.abs(i.pageY-b.vakata.dnd.init_y)>5){b.vakata.dnd.helper.appendTo("body");b.vakata.dnd.is_drag=true;b(document).triggerHandler("drag_start.vakata",{event:i,data:b.vakata.dnd.user_data})}else return;if(i.type==="mousemove"){var k=b(document),
99
+ m=k.scrollTop();k=k.scrollLeft();if(i.pageY-m<20){if(h&&g==="down"){clearInterval(h);h=false}if(!h){g="up";h=setInterval(function(){b(document).scrollTop(b(document).scrollTop()-b.vakata.dnd.scroll_spd)},150)}}else if(h&&g==="up"){clearInterval(h);h=false}if(b(window).height()-(i.pageY-m)<20){if(h&&g==="up"){clearInterval(h);h=false}if(!h){g="down";h=setInterval(function(){b(document).scrollTop(b(document).scrollTop()+b.vakata.dnd.scroll_spd)},150)}}else if(h&&g==="down"){clearInterval(h);h=false}if(i.pageX-
100
+ k<20){if(c&&j==="right"){clearInterval(c);c=false}if(!c){j="left";c=setInterval(function(){b(document).scrollLeft(b(document).scrollLeft()-b.vakata.dnd.scroll_spd)},150)}}else if(c&&j==="left"){clearInterval(c);c=false}if(b(window).width()-(i.pageX-k)<20){if(c&&j==="left"){clearInterval(c);c=false}if(!c){j="right";c=setInterval(function(){b(document).scrollLeft(b(document).scrollLeft()+b.vakata.dnd.scroll_spd)},150)}}else if(c&&j==="right"){clearInterval(c);c=false}}b.vakata.dnd.helper.css({left:i.pageX+
101
+ b.vakata.dnd.helper_left+"px",top:i.pageY+b.vakata.dnd.helper_top+"px"});b(document).triggerHandler("drag.vakata",{event:i,data:b.vakata.dnd.user_data})}},drag_stop:function(i){c&&clearInterval(c);h&&clearInterval(h);b(document).unbind("mousemove",b.vakata.dnd.drag);b(document).unbind("mouseup",b.vakata.dnd.drag_stop);b(document).triggerHandler("drag_stop.vakata",{event:i,data:b.vakata.dnd.user_data});b.vakata.dnd.helper.remove();b.vakata.dnd.init_x=0;b.vakata.dnd.init_y=0;b.vakata.dnd.user_data=
102
+ {};b.vakata.dnd.is_down=false;b.vakata.dnd.is_drag=false}};b(function(){b.vakata.css.add_sheet({str:"#vakata-dragged { display:block; margin:0 0 0 0; padding:4px 4px 4px 24px; position:absolute; top:-2000px; line-height:16px; z-index:10000; } ",title:"vakata"})});b.jstree.plugin("dnd",{__init:function(){this.data.dnd={active:false,after:false,inside:false,before:false,off:false,prepared:false,w:0,to1:false,to2:false,cof:false,cw:false,ch:false,i1:false,i2:false,mto:false};this.get_container().bind("mouseenter.jstree",
103
+ b.proxy(function(k){if(b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree){if(this.data.themes){f.attr("class","jstree-"+this.data.themes.theme);e&&e.attr("class","jstree-"+this.data.themes.theme);b.vakata.dnd.helper.attr("class","jstree-dnd-helper jstree-"+this.data.themes.theme)}if(k.currentTarget===k.target&&b.vakata.dnd.user_data.obj&&b(b.vakata.dnd.user_data.obj).length&&b(b.vakata.dnd.user_data.obj).parents(".jstree:eq(0)")[0]!==k.target){k=b.jstree._reference(k.target);if(k.data.dnd.foreign){k=
104
+ k._get_settings().dnd.drag_check.call(this,{o:a,r:k.get_container(),is_root:true});if(k===true||k.inside===true||k.before===true||k.after===true)b.vakata.dnd.helper.children("ins").attr("class","jstree-ok")}else{k.prepare_move(a,k.get_container(),"last");k.check_move()&&b.vakata.dnd.helper.children("ins").attr("class","jstree-ok")}}}},this)).bind("mouseup.jstree",b.proxy(function(k){if(b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree&&k.currentTarget===k.target&&b.vakata.dnd.user_data.obj&&b(b.vakata.dnd.user_data.obj).length&&
105
+ b(b.vakata.dnd.user_data.obj).parents(".jstree:eq(0)")[0]!==k.target){var m=b.jstree._reference(k.currentTarget);if(m.data.dnd.foreign){k=m._get_settings().dnd.drag_check.call(this,{o:a,r:m.get_container(),is_root:true});if(k===true||k.inside===true||k.before===true||k.after===true)m._get_settings().dnd.drag_finish.call(this,{o:a,r:m.get_container(),is_root:true})}else m.move_node(a,m.get_container(),"last",k[m._get_settings().dnd.copy_modifier+"Key"])}},this)).bind("mouseleave.jstree",b.proxy(function(k){if(k.relatedTarget&&
106
+ k.relatedTarget.id&&k.relatedTarget.id==="jstree-marker-line")return false;if(b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree){this.data.dnd.i1&&clearInterval(this.data.dnd.i1);this.data.dnd.i2&&clearInterval(this.data.dnd.i2);b.vakata.dnd.helper.children("ins").hasClass("jstree-ok")&&b.vakata.dnd.helper.children("ins").attr("class","jstree-invalid")}},this)).bind("mousemove.jstree",b.proxy(function(k){if(b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree){var m=this.get_container()[0];if(k.pageX+
107
+ 24>this.data.dnd.cof.left+this.data.dnd.cw){this.data.dnd.i1&&clearInterval(this.data.dnd.i1);this.data.dnd.i1=setInterval(b.proxy(function(){this.scrollLeft+=b.vakata.dnd.scroll_spd},m),100)}else if(k.pageX-24<this.data.dnd.cof.left){this.data.dnd.i1&&clearInterval(this.data.dnd.i1);this.data.dnd.i1=setInterval(b.proxy(function(){this.scrollLeft-=b.vakata.dnd.scroll_spd},m),100)}else this.data.dnd.i1&&clearInterval(this.data.dnd.i1);if(k.pageY+24>this.data.dnd.cof.top+this.data.dnd.ch){this.data.dnd.i2&&
108
+ clearInterval(this.data.dnd.i2);this.data.dnd.i2=setInterval(b.proxy(function(){this.scrollTop+=b.vakata.dnd.scroll_spd},m),100)}else if(k.pageY-24<this.data.dnd.cof.top){this.data.dnd.i2&&clearInterval(this.data.dnd.i2);this.data.dnd.i2=setInterval(b.proxy(function(){this.scrollTop-=b.vakata.dnd.scroll_spd},m),100)}else this.data.dnd.i2&&clearInterval(this.data.dnd.i2)}},this)).bind("scroll.jstree",b.proxy(function(){if(b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree&&f&&e){f.hide();e.hide()}},
109
+ this)).delegate("a","mousedown.jstree",b.proxy(function(k){if(k.which===1){this.start_drag(k.currentTarget,k);return false}},this)).delegate("a","mouseenter.jstree",b.proxy(function(k){b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree&&this.dnd_enter(k.currentTarget)},this)).delegate("a","mousemove.jstree",b.proxy(function(k){if(b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree){if(!d||!d.length||d.children("a")[0]!==k.currentTarget)this.dnd_enter(k.currentTarget);if(typeof this.data.dnd.off.top===
110
+ "undefined")this.data.dnd.off=b(k.target).offset();this.data.dnd.w=(k.pageY-(this.data.dnd.off.top||0))%this.data.core.li_height;if(this.data.dnd.w<0)this.data.dnd.w+=this.data.core.li_height;this.dnd_show()}},this)).delegate("a","mouseleave.jstree",b.proxy(function(k){if(b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree){if(k.relatedTarget&&k.relatedTarget.id&&k.relatedTarget.id==="jstree-marker-line")return false;f&&f.hide();e&&e.hide();this.data.dnd.mto=setTimeout(function(m){return function(){m.dnd_leave(k)}}(this),
111
+ 0)}},this)).delegate("a","mouseup.jstree",b.proxy(function(k){b.vakata.dnd.is_drag&&b.vakata.dnd.user_data.jstree&&this.dnd_finish(k)},this));b(document).bind("drag_stop.vakata",b.proxy(function(){this.data.dnd.to1&&clearTimeout(this.data.dnd.to1);this.data.dnd.to2&&clearTimeout(this.data.dnd.to2);this.data.dnd.i1&&clearInterval(this.data.dnd.i1);this.data.dnd.i2&&clearInterval(this.data.dnd.i2);this.data.dnd.after=false;this.data.dnd.before=false;this.data.dnd.inside=false;this.data.dnd.off=false;
112
+ this.data.dnd.prepared=false;this.data.dnd.w=false;this.data.dnd.to1=false;this.data.dnd.to2=false;this.data.dnd.i1=false;this.data.dnd.i2=false;this.data.dnd.active=false;this.data.dnd.foreign=false;f&&f.css({top:"-2000px"});e&&e.css({top:"-2000px"})},this)).bind("drag_start.vakata",b.proxy(function(k,m){if(m.data.jstree){var o=b(m.event.target);o.closest(".jstree").hasClass("jstree-"+this.get_index())&&this.dnd_enter(o)}},this));var i=this._get_settings().dnd;i.drag_target&&b(document).delegate(i.drag_target,
113
+ "mousedown.jstree-"+this.get_index(),b.proxy(function(k){a=k.target;b.vakata.dnd.drag_start(k,{jstree:true,obj:k.target},"<ins class='jstree-icon'></ins>"+b(k.target).text());if(this.data.themes){f&&f.attr("class","jstree-"+this.data.themes.theme);e&&e.attr("class","jstree-"+this.data.themes.theme);b.vakata.dnd.helper.attr("class","jstree-dnd-helper jstree-"+this.data.themes.theme)}b.vakata.dnd.helper.children("ins").attr("class","jstree-invalid");var m=this.get_container();this.data.dnd.cof=m.offset();
114
+ this.data.dnd.cw=parseInt(m.width(),10);this.data.dnd.ch=parseInt(m.height(),10);this.data.dnd.foreign=true;k.preventDefault()},this));i.drop_target&&b(document).delegate(i.drop_target,"mouseenter.jstree-"+this.get_index(),b.proxy(function(k){this.data.dnd.active&&this._get_settings().dnd.drop_check.call(this,{o:a,r:b(k.target),e:k})&&b.vakata.dnd.helper.children("ins").attr("class","jstree-ok")},this)).delegate(i.drop_target,"mouseleave.jstree-"+this.get_index(),b.proxy(function(){this.data.dnd.active&&
115
+ b.vakata.dnd.helper.children("ins").attr("class","jstree-invalid")},this)).delegate(i.drop_target,"mouseup.jstree-"+this.get_index(),b.proxy(function(k){this.data.dnd.active&&b.vakata.dnd.helper.children("ins").hasClass("jstree-ok")&&this._get_settings().dnd.drop_finish.call(this,{o:a,r:b(k.target),e:k})},this))},defaults:{copy_modifier:"ctrl",check_timeout:200,open_timeout:500,drop_target:".jstree-drop",drop_check:function(){return true},drop_finish:b.noop,drag_target:".jstree-draggable",drag_finish:b.noop,
116
+ drag_check:function(){return{after:false,before:false,inside:true}}},_fn:{dnd_prepare:function(){if(d&&d.length){this.data.dnd.off=d.offset();if(this._get_settings().core.rtl)this.data.dnd.off.right=this.data.dnd.off.left+d.width();if(this.data.dnd.foreign){var i=this._get_settings().dnd.drag_check.call(this,{o:a,r:d});this.data.dnd.after=i.after;this.data.dnd.before=i.before;this.data.dnd.inside=i.inside;this.data.dnd.prepared=true;return this.dnd_show()}this.prepare_move(a,d,"before");this.data.dnd.before=
117
+ this.check_move();this.prepare_move(a,d,"after");this.data.dnd.after=this.check_move();if(this._is_loaded(d)){this.prepare_move(a,d,"inside");this.data.dnd.inside=this.check_move()}else this.data.dnd.inside=false;this.data.dnd.prepared=true;return this.dnd_show()}},dnd_show:function(){if(this.data.dnd.prepared){var i=["before","inside","after"],k=false,m=this._get_settings().core.rtl;i=this.data.dnd.w<this.data.core.li_height/3?["before","inside","after"]:this.data.dnd.w<=this.data.core.li_height*
118
+ 2/3?this.data.dnd.w<this.data.core.li_height/2?["inside","before","after"]:["inside","after","before"]:["after","inside","before"];b.each(i,b.proxy(function(o,n){if(this.data.dnd[n]){b.vakata.dnd.helper.children("ins").attr("class","jstree-ok");k=n;return false}},this));k===false&&b.vakata.dnd.helper.children("ins").attr("class","jstree-invalid");i=m?this.data.dnd.off.right-18:this.data.dnd.off.left+10;switch(k){case "before":f.css({left:i+"px",top:this.data.dnd.off.top-6+"px"}).show();e&&e.css({left:i+
119
+ 8+"px",top:this.data.dnd.off.top-1+"px"}).show();break;case "after":f.css({left:i+"px",top:this.data.dnd.off.top+this.data.core.li_height-6+"px"}).show();e&&e.css({left:i+8+"px",top:this.data.dnd.off.top+this.data.core.li_height-1+"px"}).show();break;case "inside":f.css({left:i+(m?-4:4)+"px",top:this.data.dnd.off.top+this.data.core.li_height/2-5+"px"}).show();e&&e.hide();break;default:f.hide();e&&e.hide()}return l=k}},dnd_open:function(){this.data.dnd.to2=false;this.open_node(d,b.proxy(this.dnd_prepare,
120
+ this),true)},dnd_finish:function(i){if(this.data.dnd.foreign){if(this.data.dnd.after||this.data.dnd.before||this.data.dnd.inside)this._get_settings().dnd.drag_finish.call(this,{o:a,r:d,p:l})}else{this.dnd_prepare();this.move_node(a,d,l,i[this._get_settings().dnd.copy_modifier+"Key"])}d=a=false;f.hide();e&&e.hide()},dnd_enter:function(i){if(this.data.dnd.mto){clearTimeout(this.data.dnd.mto);this.data.dnd.mto=false}var k=this._get_settings().dnd;this.data.dnd.prepared=false;d=this._get_node(i);if(k.check_timeout){this.data.dnd.to1&&
121
+ clearTimeout(this.data.dnd.to1);this.data.dnd.to1=setTimeout(b.proxy(this.dnd_prepare,this),k.check_timeout)}else this.dnd_prepare();if(k.open_timeout){this.data.dnd.to2&&clearTimeout(this.data.dnd.to2);if(d&&d.length&&d.hasClass("jstree-closed"))this.data.dnd.to2=setTimeout(b.proxy(this.dnd_open,this),k.open_timeout)}else d&&d.length&&d.hasClass("jstree-closed")&&this.dnd_open()},dnd_leave:function(i){this.data.dnd.after=false;this.data.dnd.before=false;this.data.dnd.inside=false;b.vakata.dnd.helper.children("ins").attr("class",
122
+ "jstree-invalid");f.hide();e&&e.hide();if(d&&d[0]===i.target.parentNode){if(this.data.dnd.to1){clearTimeout(this.data.dnd.to1);this.data.dnd.to1=false}if(this.data.dnd.to2){clearTimeout(this.data.dnd.to2);this.data.dnd.to2=false}}},start_drag:function(i,k){a=this._get_node(i);if(this.data.ui&&this.is_selected(a))a=this._get_node(null,true);var m=a.length>1?this._get_string("multiple_selection"):this.get_text(a),o=this.get_container();this._get_settings().core.html_titles||(m=m.replace(/</ig,"&lt;").replace(/>/ig,
123
+ "&gt;"));b.vakata.dnd.drag_start(k,{jstree:true,obj:a},"<ins class='jstree-icon'></ins>"+m);if(this.data.themes){f&&f.attr("class","jstree-"+this.data.themes.theme);e&&e.attr("class","jstree-"+this.data.themes.theme);b.vakata.dnd.helper.attr("class","jstree-dnd-helper jstree-"+this.data.themes.theme)}this.data.dnd.cof=o.offset();this.data.dnd.cw=parseInt(o.width(),10);this.data.dnd.ch=parseInt(o.height(),10);this.data.dnd.active=true}}});b(function(){b.vakata.css.add_sheet({str:"#vakata-dragged ins { display:block; text-decoration:none; width:16px; height:16px; margin:0 0 0 0; padding:0; position:absolute; top:4px; left:4px; -moz-border-radius:4px; border-radius:4px; -webkit-border-radius:4px; } #vakata-dragged .jstree-ok { background:green; } #vakata-dragged .jstree-invalid { background:red; } #jstree-marker { padding:0; margin:0; font-size:12px; overflow:hidden; height:12px; width:8px; position:absolute; top:-30px; z-index:10001; background-repeat:no-repeat; display:none; background-color:transparent; text-shadow:1px 1px 1px white; color:black; line-height:10px; } #jstree-marker-line { padding:0; margin:0; line-height:0%; font-size:1px; overflow:hidden; height:1px; width:100px; position:absolute; top:-30px; z-index:10000; background-repeat:no-repeat; display:none; background-color:#456c43; cursor:pointer; border:1px solid #eeeeee; border-left:0; -moz-box-shadow: 0px 0px 2px #666; -webkit-box-shadow: 0px 0px 2px #666; box-shadow: 0px 0px 2px #666; -moz-border-radius:1px; border-radius:1px; -webkit-border-radius:1px; }",
124
+ title:"jstree"});f=b("<div />").attr({id:"jstree-marker"}).hide().html("&raquo;").bind("mouseleave mouseenter",function(i){f.hide();e.hide();i.preventDefault();i.stopImmediatePropagation();return false}).appendTo("body");e=b("<div />").attr({id:"jstree-marker-line"}).hide().bind("mouseup",function(i){if(d&&d.length){d.children("a").trigger(i);i.preventDefault();i.stopImmediatePropagation();return false}}).bind("mouseleave",function(i){var k=b(i.relatedTarget);if(k.is(".jstree")||k.closest(".jstree").length===
125
+ 0)if(d&&d.length){d.children("a").trigger(i);f.hide();e.hide();i.preventDefault();i.stopImmediatePropagation();return false}}).appendTo("body");b(document).bind("drag_start.vakata",function(i,k){if(k.data.jstree){f.show();e&&e.show()}});b(document).bind("drag_stop.vakata",function(i,k){if(k.data.jstree){f.hide();e&&e.hide()}})})})(jQuery);(function(b){b.jstree.plugin("checkbox",{__init:function(){this.data.checkbox.noui=this._get_settings().checkbox.override_ui;if(this.data.ui&&this.data.checkbox.noui){this.select_node=
126
+ this.deselect_node=this.deselect_all=b.noop;this.get_selected=this.get_checked}this.get_container().bind("open_node.jstree create_node.jstree clean_node.jstree",b.proxy(function(a,d){this._prepare_checkboxes(d.rslt.obj)},this)).bind("loaded.jstree",b.proxy(function(){this._prepare_checkboxes()},this)).delegate(this.data.ui&&this.data.checkbox.noui?"a":"ins.jstree-checkbox","click.jstree",b.proxy(function(a){a.preventDefault();this._get_node(a.target).hasClass("jstree-checked")?this.uncheck_node(a.target):
127
+ this.check_node(a.target);if(this.data.ui&&this.data.checkbox.noui){this.save_selected();this.data.cookies&&this.save_cookie("select_node")}else{a.stopImmediatePropagation();return false}},this))},defaults:{override_ui:false,two_state:false,real_checkboxes:false,checked_parent_open:true,real_checkboxes_names:function(a){return["check_"+(a[0].id||Math.ceil(Math.random()*1E4)),1]}},__destroy:function(){this.get_container().find("input.jstree-real-checkbox").removeClass("jstree-real-checkbox").end().find("ins.jstree-checkbox").remove()},
128
+ _fn:{_checkbox_notify:function(a,d){d.checked&&this.check_node(a,false)},_prepare_checkboxes:function(a){a=!a||a==-1?this.get_container().find("> ul > li"):this._get_node(a);if(a!==false){var d,f=this,e,c=this._get_settings().checkbox.two_state,h=this._get_settings().checkbox.real_checkboxes,g=this._get_settings().checkbox.real_checkboxes_names;a.each(function(){e=b(this);d=e.is("li")&&(e.hasClass("jstree-checked")||h&&e.children(":checked").length)?"jstree-checked":"jstree-unchecked";e.find("li").andSelf().each(function(){var j=
129
+ b(this),l;j.children("a"+(f.data.languages?"":":eq(0)")).not(":has(.jstree-checkbox)").prepend("<ins class='jstree-checkbox'>&#160;</ins>").parent().not(".jstree-checked, .jstree-unchecked").addClass(c?"jstree-unchecked":d);if(h){if(j.children(":checkbox").length)j.children(":checkbox").addClass("jstree-real-checkbox");else{l=g.call(f,j);j.prepend("<input type='checkbox' class='jstree-real-checkbox' id='"+l[0]+"' name='"+l[0]+"' value='"+l[1]+"' />")}d==="jstree-checked"&&j.children(":checkbox").attr("checked",
130
+ "checked")}})});if(!c)if(a.length===1&&a.is("li"))this._repair_state(a);else a.is("li")?a.each(function(){f._repair_state(this)}):a.find("> ul > li").each(function(){f._repair_state(this)})}},change_state:function(a,d){a=this._get_node(a);var f=false,e=this._get_settings().checkbox.real_checkboxes;if(!a||a===-1)return false;d=d===false||d===true?d:a.hasClass("jstree-checked");if(this._get_settings().checkbox.two_state)if(d){a.removeClass("jstree-checked").addClass("jstree-unchecked");e&&a.children(":checkbox").removeAttr("checked")}else{a.removeClass("jstree-unchecked").addClass("jstree-checked");
131
+ e&&a.children(":checkbox").attr("checked","checked")}else{if(d){f=a.find("li").andSelf();if(!f.filter(".jstree-checked, .jstree-undetermined").length)return false;f.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked");e&&f.children(":checkbox").removeAttr("checked")}else{f=a.find("li").andSelf();if(!f.filter(".jstree-unchecked, .jstree-undetermined").length)return false;f.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked");e&&f.children(":checkbox").attr("checked",
132
+ "checked");if(this.data.ui)this.data.ui.last_selected=a;this.data.checkbox.last_selected=a}a.parentsUntil(".jstree","li").each(function(){var c=b(this);if(d)if(c.children("ul").children("li.jstree-checked, li.jstree-undetermined").length){c.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined");e&&c.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked");return false}else{c.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked");
133
+ e&&c.children(":checkbox").removeAttr("checked")}else if(c.children("ul").children("li.jstree-unchecked, li.jstree-undetermined").length){c.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined");e&&c.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked");return false}else{c.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked");e&&c.children(":checkbox").attr("checked","checked")}})}if(this.data.ui&&
134
+ this.data.checkbox.noui)this.data.ui.selected=this.get_checked();this.__callback(a);return true},check_node:function(a){if(this.change_state(a,false)){a=this._get_node(a);if(this._get_settings().checkbox.checked_parent_open){var d=this;a.parents(".jstree-closed").each(function(){d.open_node(this,false,true)})}this.__callback({obj:a})}},uncheck_node:function(a){this.change_state(a,true)&&this.__callback({obj:this._get_node(a)})},check_all:function(){var a=this;(this._get_settings().checkbox.two_state?
135
+ this.get_container_ul().find("li"):this.get_container_ul().children("li")).each(function(){a.change_state(this,false)});this.__callback()},uncheck_all:function(){var a=this;(this._get_settings().checkbox.two_state?this.get_container_ul().find("li"):this.get_container().children("li")).each(function(){a.change_state(this,true)});this.__callback()},is_checked:function(a){a=this._get_node(a);return a.length?a.is(".jstree-checked"):false},get_checked:function(a,d){a=!a||a===-1?this.get_container():this._get_node(a);
136
+ return d||this._get_settings().checkbox.two_state?a.find(".jstree-checked"):a.find("> ul > .jstree-checked, .jstree-undetermined > ul > .jstree-checked")},get_unchecked:function(a,d){a=!a||a===-1?this.get_container():this._get_node(a);return d||this._get_settings().checkbox.two_state?a.find(".jstree-unchecked"):a.find("> ul > .jstree-unchecked, .jstree-undetermined > ul > .jstree-unchecked")},show_checkboxes:function(){this.get_container().children("ul").removeClass("jstree-no-checkboxes")},hide_checkboxes:function(){this.get_container().children("ul").addClass("jstree-no-checkboxes")},
137
+ _repair_state:function(a){a=this._get_node(a);if(a.length){var d=this._get_settings().checkbox.real_checkboxes,f=a.find("> ul > .jstree-checked").length,e=a.find("> ul > .jstree-undetermined").length,c=a.find("> ul > li").length;if(c===0)a.hasClass("jstree-undetermined")&&this.change_state(a,false);else if(f===0&&e===0)this.change_state(a,true);else if(f===c)this.change_state(a,false);else{a.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined");
138
+ d&&a.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked")}}},reselect:function(){if(this.data.ui&&this.data.checkbox.noui){var a=this,d=this.data.ui.to_select;d=b.map(b.makeArray(d),function(f){return"#"+f.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.")});this.deselect_all();b.each(d,function(f,e){a.check_node(e)});this.__callback()}else this.__call_old()},save_loaded:function(){var a=this;this.data.core.to_load=
139
+ [];this.get_container_ul().find("li.jstree-closed.jstree-undetermined").each(function(){this.id&&a.data.core.to_load.push("#"+this.id)})}}});b(function(){b.vakata.css.add_sheet({str:".jstree .jstree-real-checkbox { display:none; } ",title:"jstree"})})})(jQuery);(function(b){b.vakata.xslt=function(d,f,e){var c="",h;if(document.recalc){h=document.createElement("xml");c=document.createElement("xml");h.innerHTML=d;c.innerHTML=f;b("body").append(h).append(c);setTimeout(function(g,j,l){return function(){l.call(null,
140
+ g.transformNode(j.XMLDocument));setTimeout(function(i,k){return function(){b(i).remove();b(k).remove()}}(g,j),200)}}(h,c,e),100);return true}if(typeof window.DOMParser!=="undefined"&&typeof window.XMLHttpRequest!=="undefined"&&typeof window.XSLTProcessor!=="undefined"){h=new XSLTProcessor;c=b.isFunction(h.transformDocument)?typeof window.XMLSerializer!=="undefined":true;if(!c)return false;d=(new DOMParser).parseFromString(d,"text/xml");f=(new DOMParser).parseFromString(f,"text/xml");if(b.isFunction(h.transformDocument)){c=
141
+ document.implementation.createDocument("","",null);h.transformDocument(d,f,c,null);e.call(null,(new XMLSerializer).serializeToString(c))}else{h.importStylesheet(f);c=h.transformToFragment(d,document);e.call(null,b("<div />").append(c).html())}return true}return false};var a={nest:'<?xml version="1.0" encoding="utf-8" ?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ><xsl:output method="html" encoding="utf-8" omit-xml-declaration="yes" standalone="no" indent="no" media-type="text/html" /><xsl:template match="/">\t<xsl:call-template name="nodes">\t\t<xsl:with-param name="node" select="/root" />\t</xsl:call-template></xsl:template><xsl:template name="nodes">\t<xsl:param name="node" />\t<ul>\t<xsl:for-each select="$node/item">\t\t<xsl:variable name="children" select="count(./item) &gt; 0" />\t\t<li>\t\t\t<xsl:attribute name="class">\t\t\t\t<xsl:if test="position() = last()">jstree-last </xsl:if>\t\t\t\t<xsl:choose>\t\t\t\t\t<xsl:when test="@state = \'open\'">jstree-open </xsl:when>\t\t\t\t\t<xsl:when test="$children or @hasChildren or @state = \'closed\'">jstree-closed </xsl:when>\t\t\t\t\t<xsl:otherwise>jstree-leaf </xsl:otherwise>\t\t\t\t</xsl:choose>\t\t\t\t<xsl:value-of select="@class" />\t\t\t</xsl:attribute>\t\t\t<xsl:for-each select="@*">\t\t\t\t<xsl:if test="name() != \'class\' and name() != \'state\' and name() != \'hasChildren\'">\t\t\t\t\t<xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>\t\t\t\t</xsl:if>\t\t\t</xsl:for-each>\t<ins class="jstree-icon"><xsl:text>&#xa0;</xsl:text></ins>\t\t\t<xsl:for-each select="content/name">\t\t\t\t<a>\t\t\t\t<xsl:attribute name="href">\t\t\t\t\t<xsl:choose>\t\t\t\t\t<xsl:when test="@href"><xsl:value-of select="@href" /></xsl:when>\t\t\t\t\t<xsl:otherwise>#</xsl:otherwise>\t\t\t\t\t</xsl:choose>\t\t\t\t</xsl:attribute>\t\t\t\t<xsl:attribute name="class"><xsl:value-of select="@lang" /> <xsl:value-of select="@class" /></xsl:attribute>\t\t\t\t<xsl:attribute name="style"><xsl:value-of select="@style" /></xsl:attribute>\t\t\t\t<xsl:for-each select="@*">\t\t\t\t\t<xsl:if test="name() != \'style\' and name() != \'class\' and name() != \'href\'">\t\t\t\t\t\t<xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>\t\t\t\t\t</xsl:if>\t\t\t\t</xsl:for-each>\t\t\t\t\t<ins>\t\t\t\t\t\t<xsl:attribute name="class">jstree-icon \t\t\t\t\t\t\t<xsl:if test="string-length(attribute::icon) > 0 and not(contains(@icon,\'/\'))"><xsl:value-of select="@icon" /></xsl:if>\t\t\t\t\t\t</xsl:attribute>\t\t\t\t\t\t<xsl:if test="string-length(attribute::icon) > 0 and contains(@icon,\'/\')"><xsl:attribute name="style">background:url(<xsl:value-of select="@icon" />) center center no-repeat;</xsl:attribute></xsl:if>\t\t\t\t\t\t<xsl:text>&#xa0;</xsl:text>\t\t\t\t\t</ins>\t\t\t\t\t<xsl:copy-of select="./child::node()" />\t\t\t\t</a>\t\t\t</xsl:for-each>\t\t\t<xsl:if test="$children or @hasChildren"><xsl:call-template name="nodes"><xsl:with-param name="node" select="current()" /></xsl:call-template></xsl:if>\t\t</li>\t</xsl:for-each>\t</ul></xsl:template></xsl:stylesheet>',
142
+ flat:'<?xml version="1.0" encoding="utf-8" ?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ><xsl:output method="html" encoding="utf-8" omit-xml-declaration="yes" standalone="no" indent="no" media-type="text/xml" /><xsl:template match="/">\t<ul>\t<xsl:for-each select="//item[not(@parent_id) or @parent_id=0 or not(@parent_id = //item/@id)]">\t\t<xsl:call-template name="nodes">\t\t\t<xsl:with-param name="node" select="." />\t\t\t<xsl:with-param name="is_last" select="number(position() = last())" />\t\t</xsl:call-template>\t</xsl:for-each>\t</ul></xsl:template><xsl:template name="nodes">\t<xsl:param name="node" />\t<xsl:param name="is_last" />\t<xsl:variable name="children" select="count(//item[@parent_id=$node/attribute::id]) &gt; 0" />\t<li>\t<xsl:attribute name="class">\t\t<xsl:if test="$is_last = true()">jstree-last </xsl:if>\t\t<xsl:choose>\t\t\t<xsl:when test="@state = \'open\'">jstree-open </xsl:when>\t\t\t<xsl:when test="$children or @hasChildren or @state = \'closed\'">jstree-closed </xsl:when>\t\t\t<xsl:otherwise>jstree-leaf </xsl:otherwise>\t\t</xsl:choose>\t\t<xsl:value-of select="@class" />\t</xsl:attribute>\t<xsl:for-each select="@*">\t\t<xsl:if test="name() != \'parent_id\' and name() != \'hasChildren\' and name() != \'class\' and name() != \'state\'">\t\t<xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>\t\t</xsl:if>\t</xsl:for-each>\t<ins class="jstree-icon"><xsl:text>&#xa0;</xsl:text></ins>\t<xsl:for-each select="content/name">\t\t<a>\t\t<xsl:attribute name="href">\t\t\t<xsl:choose>\t\t\t<xsl:when test="@href"><xsl:value-of select="@href" /></xsl:when>\t\t\t<xsl:otherwise>#</xsl:otherwise>\t\t\t</xsl:choose>\t\t</xsl:attribute>\t\t<xsl:attribute name="class"><xsl:value-of select="@lang" /> <xsl:value-of select="@class" /></xsl:attribute>\t\t<xsl:attribute name="style"><xsl:value-of select="@style" /></xsl:attribute>\t\t<xsl:for-each select="@*">\t\t\t<xsl:if test="name() != \'style\' and name() != \'class\' and name() != \'href\'">\t\t\t\t<xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>\t\t\t</xsl:if>\t\t</xsl:for-each>\t\t\t<ins>\t\t\t\t<xsl:attribute name="class">jstree-icon \t\t\t\t\t<xsl:if test="string-length(attribute::icon) > 0 and not(contains(@icon,\'/\'))"><xsl:value-of select="@icon" /></xsl:if>\t\t\t\t</xsl:attribute>\t\t\t\t<xsl:if test="string-length(attribute::icon) > 0 and contains(@icon,\'/\')"><xsl:attribute name="style">background:url(<xsl:value-of select="@icon" />) center center no-repeat;</xsl:attribute></xsl:if>\t\t\t\t<xsl:text>&#xa0;</xsl:text>\t\t\t</ins>\t\t\t<xsl:copy-of select="./child::node()" />\t\t</a>\t</xsl:for-each>\t<xsl:if test="$children">\t\t<ul>\t\t<xsl:for-each select="//item[@parent_id=$node/attribute::id]">\t\t\t<xsl:call-template name="nodes">\t\t\t\t<xsl:with-param name="node" select="." />\t\t\t\t<xsl:with-param name="is_last" select="number(position() = last())" />\t\t\t</xsl:call-template>\t\t</xsl:for-each>\t\t</ul>\t</xsl:if>\t</li></xsl:template></xsl:stylesheet>'};
143
+ b.jstree.plugin("xml_data",{defaults:{data:false,ajax:false,xsl:"flat",clean_node:false,correct_state:true,get_skip_empty:false},_fn:{load_node:function(d,f,e){var c=this;this.load_node_xml(d,function(){c.__callback({obj:c._get_node(d)});f.call(this)},e)},_is_loaded:function(d){var f=this._get_settings().xml_data;d=this._get_node(d);return d==-1||!d||!f.ajax&&!b.isFunction(f.data)||d.is(".jstree-open, .jstree-leaf")||d.children("ul").children("li").size()>0},load_node_xml:function(d,f,e){var c=this.get_settings().xml_data,
144
+ h=function(){},g=function(){};if((d=this._get_node(d))&&d!==-1)if(d.data("jstree-is-loading"))return;else d.data("jstree-is-loading",true);switch(true){case !c.data&&!c.ajax:throw"Neither data nor ajax settings supplied.";case b.isFunction(c.data):c.data.call(this,d,b.proxy(function(j){this.parse_xml(j,b.proxy(function(l){if(l){l=l.replace(/ ?xmlns="[^"]*"/ig,"");if(l.length>10){l=b(l);if(d===-1||!d)this.get_container().children("ul").empty().append(l.children());else{d.children("a.jstree-loading").removeClass("jstree-loading");
145
+ d.append(l);b.removeData(d,"jstree-is-loading")}c.clean_node&&this.clean_node(d);f&&f.call(this)}else if(d&&d!==-1){d.children("a.jstree-loading").removeClass("jstree-loading");b.removeData(d,"jstree-is-loading");if(c.correct_state){this.correct_state(d);f&&f.call(this)}}else if(c.correct_state){this.get_container().children("ul").empty();f&&f.call(this)}}},this))},this));break;case !!c.data&&!c.ajax||!!c.data&&!!c.ajax&&(!d||d===-1):if(!d||d==-1)this.parse_xml(c.data,b.proxy(function(j){if(j){j=
146
+ j.replace(/ ?xmlns="[^"]*"/ig,"");if(j.length>10){j=b(j);this.get_container().children("ul").empty().append(j.children());c.clean_node&&this.clean_node(d);f&&f.call(this)}}else if(c.correct_state){this.get_container().children("ul").empty();f&&f.call(this)}},this));break;case !c.data&&!!c.ajax||!!c.data&&!!c.ajax&&d&&d!==-1:h=function(j,l,i){var k=this.get_settings().xml_data.ajax.error;k&&k.call(this,j,l,i);if(d!==-1&&d.length){d.children("a.jstree-loading").removeClass("jstree-loading");b.removeData(d,
147
+ "jstree-is-loading");l==="success"&&c.correct_state&&this.correct_state(d)}else l==="success"&&c.correct_state&&this.get_container().children("ul").empty();e&&e.call(this)};g=function(j,l,i){j=i.responseText;var k=this.get_settings().xml_data.ajax.success;if(k)j=k.call(this,j,l,i)||j;if(j===""||j&&j.toString&&j.toString().replace(/^[\s\n]+$/,"")==="")return h.call(this,i,l,"");this.parse_xml(j,b.proxy(function(m){if(m){m=m.replace(/ ?xmlns="[^"]*"/ig,"");if(m.length>10){m=b(m);if(d===-1||!d)this.get_container().children("ul").empty().append(m.children());
148
+ else{d.children("a.jstree-loading").removeClass("jstree-loading");d.append(m);b.removeData(d,"jstree-is-loading")}c.clean_node&&this.clean_node(d);f&&f.call(this)}else if(d&&d!==-1){d.children("a.jstree-loading").removeClass("jstree-loading");b.removeData(d,"jstree-is-loading");if(c.correct_state){this.correct_state(d);f&&f.call(this)}}else if(c.correct_state){this.get_container().children("ul").empty();f&&f.call(this)}}},this))};c.ajax.context=this;c.ajax.error=h;c.ajax.success=g;if(!c.ajax.dataType)c.ajax.dataType=
149
+ "xml";if(b.isFunction(c.ajax.url))c.ajax.url=c.ajax.url.call(this,d);if(b.isFunction(c.ajax.data))c.ajax.data=c.ajax.data.call(this,d);b.ajax(c.ajax)}},parse_xml:function(d,f){var e=this._get_settings().xml_data;b.vakata.xslt(d,a[e.xsl],f)},get_xml:function(d,f,e,c,h){var g="",j=this._get_settings(),l=this,i,k,m,o,n;d||(d="flat");h||(h=0);f=this._get_node(f);if(!f||f===-1)f=this.get_container().find("> ul > li");e=b.isArray(e)?e:["id","class"];!h&&this.data.types&&b.inArray(j.types.type_attr,e)===
150
+ -1&&e.push(j.types.type_attr);c=b.isArray(c)?c:[];h||(g+="<root>");f.each(function(){g+="<item";m=b(this);b.each(e,function(p,q){var s=m.attr(q);if(!j.xml_data.get_skip_empty||typeof s!=="undefined")g+=" "+q+'="'+(" "+(s||"")).replace(/ jstree[^ ]*/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")+'"'});if(m.hasClass("jstree-open"))g+=' state="open"';if(m.hasClass("jstree-closed"))g+=' state="closed"';if(d==="flat")g+=' parent_id="'+h+'"';g+=">";g+="<content>";o=m.children("a");o.each(function(){i=
151
+ b(this);n=false;g+="<name";b.inArray("languages",j.plugins)!==-1&&b.each(j.languages,function(p,q){if(i.hasClass(q)){g+=' lang="'+q+'"';n=q;return false}});c.length&&b.each(c,function(p,q){var s=i.attr(q);if(!j.xml_data.get_skip_empty||typeof s!=="undefined")g+=" "+q+'="'+(" "+s||"").replace(/ jstree[^ ]*/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")+'"'});if(i.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/^\s+$/ig,"").length)g+=' icon="'+i.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,
152
+ "").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")+'"';if(i.children("ins").get(0).style.backgroundImage.length)g+=' icon="'+i.children("ins").get(0).style.backgroundImage.replace("url(","").replace(")","")+'"';g+=">";g+="<![CDATA["+l.get_text(i,n)+"]]\>";g+="</name>"});g+="</content>";k=m[0].id||true;m=m.find("> ul > li");k=m.length?l.get_xml(d,m,e,c,k):"";if(d=="nest")g+=k;g+="</item>";if(d=="flat")g+=k});h||(g+="</root>");return g}}})})(jQuery);(function(b){b.expr[":"].jstree_contains=
153
+ function(a,d,f){return(a.textContent||a.innerText||"").toLowerCase().indexOf(f[3].toLowerCase())>=0};b.expr[":"].jstree_title_contains=function(a,d,f){return(a.getAttribute("title")||"").toLowerCase().indexOf(f[3].toLowerCase())>=0};b.jstree.plugin("search",{__init:function(){this.data.search.str="";this.data.search.result=b();this._get_settings().search.show_only_matches&&this.get_container().bind("search.jstree",function(a,d){b(this).children("ul").find("li").hide().removeClass("jstree-last");d.rslt.nodes.parentsUntil(".jstree").andSelf().show().filter("ul").each(function(){b(this).children("li:visible").eq(-1).addClass("jstree-last")})}).bind("clear_search.jstree",
154
+ function(){b(this).children("ul").find("li").css("display","").end().jstree("clean_node",-1)})},defaults:{ajax:false,search_method:"jstree_contains",show_only_matches:false},_fn:{search:function(a,d){if(b.trim(a)==="")this.clear_search();else{var f=this.get_settings().search,e=this,c=function(){},h=function(){};this.data.search.str=a;if(!d&&f.ajax!==false&&this.get_container_ul().find("li.jstree-closed:not(:has(ul)):eq(0)").length>0){this.search.supress_callback=true;c=function(){};h=function(g,j,
155
+ l){var i=this.get_settings().search.ajax.success;if(i)g=i.call(this,g,j,l)||g;this.data.search.to_open=g;this._search_open()};f.ajax.context=this;f.ajax.error=c;f.ajax.success=h;if(b.isFunction(f.ajax.url))f.ajax.url=f.ajax.url.call(this,a);if(b.isFunction(f.ajax.data))f.ajax.data=f.ajax.data.call(this,a);if(!f.ajax.data)f.ajax.data={search_string:a};if(!f.ajax.dataType||/^json/.exec(f.ajax.dataType))f.ajax.dataType="json";b.ajax(f.ajax)}else{this.data.search.result.length&&this.clear_search();this.data.search.result=
156
+ this.get_container().find("a"+(this.data.languages?"."+this.get_lang():"")+":"+f.search_method+"("+this.data.search.str+")");this.data.search.result.addClass("jstree-search").parent().parents(".jstree-closed").each(function(){e.open_node(this,false,true)});this.__callback({nodes:this.data.search.result,str:a})}}},clear_search:function(){this.data.search.result.removeClass("jstree-search");this.__callback(this.data.search.result);this.data.search.result=b()},_search_open:function(){var a=this,d=true,
157
+ f=[],e=[];if(this.data.search.to_open.length){b.each(this.data.search.to_open,function(c,h){if(h=="#")return true;b(h).length&&b(h).is(".jstree-closed")?f.push(h):e.push(h)});if(f.length){this.data.search.to_open=e;b.each(f,function(c,h){a.open_node(h,function(){a._search_open(true)})});d=false}}d&&this.search(this.data.search.str,true)}}})})(jQuery);(function(b){b.vakata.context={hide_on_mouseleave:false,cnt:b("<div id='vakata-contextmenu' />"),vis:false,tgt:false,par:false,func:false,data:false,
158
+ rtl:false,show:function(a,d,f,e,c,h,g){b.vakata.context.rtl=!!g;if(a=b.vakata.context.parse(a)){b.vakata.context.vis=true;b.vakata.context.tgt=d;b.vakata.context.par=h||d||null;b.vakata.context.data=c||null;b.vakata.context.cnt.html(a).css({visibility:"hidden",display:"block",left:0,top:0});b.vakata.context.hide_on_mouseleave&&b.vakata.context.cnt.one("mouseleave",function(){b.vakata.context.hide()});c=b.vakata.context.cnt.height();h=b.vakata.context.cnt.width();if(f+h>b(document).width()){f=b(document).width()-
159
+ (h+5);b.vakata.context.cnt.find("li > ul").addClass("right")}if(e+c>b(document).height()){e-=c+d[0].offsetHeight;b.vakata.context.cnt.find("li > ul").addClass("bottom")}b.vakata.context.cnt.css({left:f,top:e}).find("li:has(ul)").bind("mouseenter",function(){var j=b(document).width(),l=b(document).height(),i=b(this).children("ul").show();j!==b(document).width()&&i.toggleClass("right");l!==b(document).height()&&i.toggleClass("bottom")}).bind("mouseleave",function(){b(this).children("ul").hide()}).end().css({visibility:"visible"}).show();
160
+ b(document).triggerHandler("context_show.vakata")}},hide:function(){b.vakata.context.vis=false;b.vakata.context.cnt.attr("class","").css({visibility:"hidden"});b(document).triggerHandler("context_hide.vakata")},parse:function(a,d){if(!a)return false;var f="",e=false,c=true;if(!d)b.vakata.context.func={};f+="<ul>";b.each(a,function(h,g){if(!g)return true;b.vakata.context.func[h]=g.action;if(!c&&g.separator_before)f+="<li class='vakata-separator vakata-separator-before'></li>";c=false;f+="<li class='"+
161
+ (g._class||"")+(g._disabled?" jstree-contextmenu-disabled ":"")+"'><ins ";if(g.icon&&g.icon.indexOf("/")===-1)f+=" class='"+g.icon+"' ";if(g.icon&&g.icon.indexOf("/")!==-1)f+=" style='background:url("+g.icon+") center center no-repeat;' ";f+=">&#160;</ins><a href='#' rel='"+h+"'>";if(g.submenu)f+="<span style='float:"+(b.vakata.context.rtl?"left":"right")+";'>&raquo;</span>";f+=g.label+"</a>";if(g.submenu)if(e=b.vakata.context.parse(g.submenu,true))f+=e;f+="</li>";if(g.separator_after){f+="<li class='vakata-separator vakata-separator-after'></li>";
162
+ c=true}});f=f.replace(/<li class\='vakata-separator vakata-separator-after'\><\/li\>$/,"");f+="</ul>";b(document).triggerHandler("context_parse.vakata");return f.length>10?f:false},exec:function(a){if(b.isFunction(b.vakata.context.func[a])){b.vakata.context.func[a].call(b.vakata.context.data,b.vakata.context.par);return true}else return false}};b(function(){b.vakata.css.add_sheet({str:"#vakata-contextmenu { display:block; visibility:hidden; position:absolute; margin:0; padding:0; min-width:180px; background:#ebebeb; border:1px solid silver; z-index:10000; *width:180px; } #vakata-contextmenu ul { min-width:180px; *width:180px; } #vakata-contextmenu ul, #vakata-contextmenu li { margin:0; padding:0; list-style-type:none; display:block; } #vakata-contextmenu li { line-height:20px; min-height:20px; position:relative; padding:0px; } #vakata-contextmenu li a { padding:1px 6px; line-height:17px; display:block; text-decoration:none; margin:1px 1px 0 1px; } #vakata-contextmenu li ins { float:left; width:16px; height:16px; text-decoration:none; margin-right:2px; } #vakata-contextmenu li a:hover, #vakata-contextmenu li.vakata-hover > a { background:gray; color:white; } #vakata-contextmenu li ul { display:none; position:absolute; top:-2px; left:100%; background:#ebebeb; border:1px solid gray; } #vakata-contextmenu .right { right:100%; left:auto; } #vakata-contextmenu .bottom { bottom:-1px; top:auto; } #vakata-contextmenu li.vakata-separator { min-height:0; height:1px; line-height:1px; font-size:1px; overflow:hidden; margin:0 2px; background:silver; /* border-top:1px solid #fefefe; */ padding:0; } ",
163
+ title:"vakata"});b.vakata.context.cnt.delegate("a","click",function(a){a.preventDefault()}).delegate("a","mouseup",function(){!b(this).parent().hasClass("jstree-contextmenu-disabled")&&b.vakata.context.exec(b(this).attr("rel"))?b.vakata.context.hide():b(this).blur()}).delegate("a","mouseover",function(){b.vakata.context.cnt.find(".vakata-hover").removeClass("vakata-hover")}).appendTo("body");b(document).bind("mousedown",function(a){b.vakata.context.vis&&!b.contains(b.vakata.context.cnt[0],a.target)&&
164
+ b.vakata.context.hide()});typeof b.hotkeys!=="undefined"&&b(document).bind("keydown","up",function(a){if(b.vakata.context.vis){var d=b.vakata.context.cnt.find("ul:visible").last().children(".vakata-hover").removeClass("vakata-hover").prevAll("li:not(.vakata-separator)").first();d.length||(d=b.vakata.context.cnt.find("ul:visible").last().children("li:not(.vakata-separator)").last());d.addClass("vakata-hover");a.stopImmediatePropagation();a.preventDefault()}}).bind("keydown","down",function(a){if(b.vakata.context.vis){var d=
138
165
  b.vakata.context.cnt.find("ul:visible").last().children(".vakata-hover").removeClass("vakata-hover").nextAll("li:not(.vakata-separator)").first();d.length||(d=b.vakata.context.cnt.find("ul:visible").last().children("li:not(.vakata-separator)").first());d.addClass("vakata-hover");a.stopImmediatePropagation();a.preventDefault()}}).bind("keydown","right",function(a){if(b.vakata.context.vis){b.vakata.context.cnt.find(".vakata-hover").children("ul").show().children("li:not(.vakata-separator)").removeClass("vakata-hover").first().addClass("vakata-hover");
139
166
  a.stopImmediatePropagation();a.preventDefault()}}).bind("keydown","left",function(a){if(b.vakata.context.vis){b.vakata.context.cnt.find(".vakata-hover").children("ul").hide().children(".vakata-separator").removeClass("vakata-hover");a.stopImmediatePropagation();a.preventDefault()}}).bind("keydown","esc",function(a){b.vakata.context.hide();a.preventDefault()}).bind("keydown","space",function(a){b.vakata.context.cnt.find(".vakata-hover").last().children("a").click();a.preventDefault()})});b.jstree.plugin("contextmenu",
140
- {__init:function(){this.get_container().delegate("a","contextmenu.jstree",b.proxy(function(a){a.preventDefault();this.show_contextmenu(a.currentTarget,a.pageX,a.pageY)},this)).bind("destroy.jstree",b.proxy(function(){this.data.contextmenu&&b.vakata.context.hide()},this));b(document).bind("context_hide.vakata",b.proxy(function(){this.data.contextmenu=false},this))},defaults:{select_node:false,show_at_node:true,items:{create:{separator_before:false,separator_after:true,label:"Create",action:function(a){this.create(a)}},
141
- rename:{separator_before:false,separator_after:false,label:"Rename",action:function(a){this.rename(a)}},remove:{separator_before:false,icon:false,separator_after:false,label:"Delete",action:function(a){this.remove(a)}},ccp:{separator_before:true,icon:false,separator_after:false,label:"Edit",action:false,submenu:{cut:{separator_before:false,separator_after:false,label:"Cut",action:function(a){this.cut(a)}},copy:{separator_before:false,icon:false,separator_after:false,label:"Copy",action:function(a){this.copy(a)}},
142
- paste:{separator_before:false,icon:false,separator_after:false,label:"Paste",action:function(a){this.paste(a)}}}}}},_fn:{show_contextmenu:function(a,d,e){a=this._get_node(a);var f=this.get_settings().contextmenu,i=a.children("a:visible:eq(0)"),c=false;if(f.select_node&&this.data.ui&&!this.is_selected(a)){this.deselect_all();this.select_node(a,true)}if(f.show_at_node||typeof d==="undefined"||typeof e==="undefined"){c=i.offset();d=c.left;e=c.top+this.data.core.li_height}if(b.isFunction(f.items))f.items=
143
- f.items.call(this,a);this.data.contextmenu=true;b.vakata.context.show(f.items,i,d,e,this,a);this.data.themes&&b.vakata.context.cnt.attr("class","jstree-"+this.data.themes.theme+"-context")}}})})(jQuery);
144
- (function(b){b.jstree.plugin("types",{__init:function(){var a=this._get_settings().types;this.data.types.attach_to=[];this.get_container().bind("init.jstree",b.proxy(function(){var d=a.type_attr,e="",f=this;b.each(a.types,function(i,c){b.each(c,function(g){/^(max_depth|max_children|icon|valid_children)$/.test(g)||f.data.types.attach_to.push(g)});if(!c.icon)return true;if(c.icon.image||c.icon.position){e+=i=="default"?".jstree-"+f.get_index()+" a > .jstree-icon { ":".jstree-"+f.get_index()+" li["+
145
- d+"="+i+"] > a > .jstree-icon { ";if(c.icon.image)e+=" background-image:url("+c.icon.image+"); ";e+=c.icon.position?" background-position:"+c.icon.position+"; ":" background-position:0 0; ";e+="} "}});e!=""&&b.vakata.css.add_sheet({str:e})},this)).bind("before.jstree",b.proxy(function(d,e){if(b.inArray(e.func,this.data.types.attach_to)!==-1){var f=this._get_settings().types.types,i=this._get_type(e.args[0]);if((f[i]&&typeof f[i][e.func]!=="undefined"||f["default"]&&typeof f["default"][e.func]!=="undefined")&&
146
- !this._check(e.func,e.args[0])){d.stopImmediatePropagation();return false}}},this))},defaults:{max_children:-1,max_depth:-1,valid_children:"all",type_attr:"rel",types:{"default":{max_children:-1,max_depth:-1,valid_children:"all"}}},_fn:{_get_type:function(a){a=this._get_node(a);return!a||!a.length?false:a.attr(this._get_settings().types.type_attr)||"default"},set_type:function(a,d){d=this._get_node(d);return!d.length||!a?false:d.attr(this._get_settings().types.type_attr,a)},_check:function(a,d,e){var f=
147
- false,i=this._get_type(d),c=0,g=this,h=this._get_settings().types;if(d===-1)if(h[a])f=h[a];else return;else{if(i===false)return;if(h.types[i]&&h.types[i][a])f=h.types[i][a];else if(h.types["default"]&&h.types["default"][a])f=h.types["default"][a]}if(b.isFunction(f))f=f.call(this,d);a==="max_depth"&&d!==-1&&e!==false&&h.max_depth!==-2&&f!==0&&this._get_node(d).children("a:eq(0)").parentsUntil(".jstree","li").each(function(j){if(h.max_depth!==-1&&h.max_depth-(j+1)<=0){f=0;return false}c=j===0?f:g._check(a,
148
- this,false);if(c!==-1&&c-(j+1)<=0){f=0;return false}if(c>=0&&(c-(j+1)<f||f<0))f=c-(j+1);if(h.max_depth>=0&&(h.max_depth-(j+1)<f||f<0))f=h.max_depth-(j+1)});return f},check_move:function(){if(!this.__call_old())return false;var a=this._get_move(),d=a.rt._get_settings().types,e=a.rt._check("max_children",a.cr),f=a.rt._check("max_depth",a.cr),i=a.rt._check("valid_children",a.cr),c=0,g=1;if(i==="none")return false;if(b.isArray(i)&&a.ot&&a.ot._get_type){a.o.each(function(){if(b.inArray(a.ot._get_type(this),
149
- i)===-1)return g=false});if(g===false)return false}if(d.max_children!==-2&&e!==-1){c=a.cr===-1?this.get_container().children("> ul > li").not(a.o).length:a.cr.children("> ul > li").not(a.o).length;if(c+a.o.length>e)return false}if(d.max_depth!==-2&&f!==-1){g=0;if(f===0)return false;if(typeof a.o.d==="undefined"){for(d=a.o;d.length>0;){d=d.find("> ul > li");g++}a.o.d=g}if(f-a.o.d<0)return false}return true},create_node:function(a,d,e,f,i,c){if(!c&&(i||this._is_loaded(a))){var g=d&&d.match(/^before|after$/i)&&
150
- a!==-1?this._get_parent(a):this._get_node(a),h=this._get_settings().types,j=this._check("max_children",g),l=this._check("max_depth",g),k=this._check("valid_children",g);e||(e={});if(k==="none")return false;if(b.isArray(k))if(!e.attr||!e.attr[h.type_attr]){if(!e.attr)e.attr={};e.attr[h.type_attr]=k[0]}else if(b.inArray(e.attr[h.type_attr],k)===-1)return false;if(h.max_children!==-2&&j!==-1){g=g===-1?this.get_container().children("> ul > li").length:g.children("> ul > li").length;if(g+1>j)return false}if(h.max_depth!==
151
- -2&&l!==-1&&l-1<0)return false}return this.__call_old(true,a,d,e,f,i,c)}}})})(jQuery);
152
- (function(b){b.jstree.plugin("html_data",{__init:function(){this.data.html_data.original_container_html=this.get_container().find(" > ul > li").clone(true);this.data.html_data.original_container_html.find("li").andSelf().contents().filter(function(){return this.nodeType==3}).remove()},defaults:{data:false,ajax:false,correct_state:true},_fn:{load_node:function(a,d,e){var f=this;this.load_node_html(a,function(){f.__callback({obj:a});d.call(this)},e)},_is_loaded:function(a){a=this._get_node(a);return a==
153
- -1||!a||!this._get_settings().html_data.ajax||a.is(".jstree-open, .jstree-leaf")||a.children("ul").children("li").size()>0},load_node_html:function(a,d,e){var f,i=this.get_settings().html_data,c=function(){};f=function(){};if((a=this._get_node(a))&&a!==-1)if(a.data("jstree-is-loading"))return;else a.data("jstree-is-loading",true);switch(true){case !i.data&&!i.ajax:if(!a||a==-1){this.get_container().children("ul").empty().append(this.data.html_data.original_container_html).find("li, a").filter(function(){return this.firstChild.tagName!==
154
- "INS"}).prepend("<ins class='jstree-icon'>&#160;</ins>").end().filter("a").children("ins:first-child").not(".jstree-icon").addClass("jstree-icon");this.clean_node()}d&&d.call(this);break;case !!i.data&&!i.ajax||!!i.data&&!!i.ajax&&(!a||a===-1):if(!a||a==-1){f=b(i.data);f.is("ul")||(f=b("<ul>").append(f));this.get_container().children("ul").empty().append(f.children()).find("li, a").filter(function(){return this.firstChild.tagName!=="INS"}).prepend("<ins class='jstree-icon'>&#160;</ins>").end().filter("a").children("ins:first-child").not(".jstree-icon").addClass("jstree-icon");
155
- this.clean_node()}d&&d.call(this);break;case !i.data&&!!i.ajax||!!i.data&&!!i.ajax&&a&&a!==-1:a=this._get_node(a);c=function(g,h,j){var l=this.get_settings().html_data.ajax.error;l&&l.call(this,g,h,j);if(a!=-1&&a.length){a.children(".jstree-loading").removeClass("jstree-loading");a.data("jstree-is-loading",false);h==="success"&&i.correct_state&&a.removeClass("jstree-open jstree-closed").addClass("jstree-leaf")}else h==="success"&&i.correct_state&&this.get_container().children("ul").empty();e&&e.call(this)};
156
- f=function(g,h,j){var l=this.get_settings().html_data.ajax.success;if(l)g=l.call(this,g,h,j)||g;if(g=="")return c.call(this,j,h,"");if(g){g=b(g);g.is("ul")||(g=b("<ul>").append(g));if(a==-1||!a)this.get_container().children("ul").empty().append(g.children()).find("li, a").filter(function(){return this.firstChild.tagName!=="INS"}).prepend("<ins class='jstree-icon'>&#160;</ins>").end().filter("a").children("ins:first-child").not(".jstree-icon").addClass("jstree-icon");else{a.children(".jstree-loading").removeClass("jstree-loading");
157
- a.append(g).find("li, a").filter(function(){return this.firstChild.tagName!=="INS"}).prepend("<ins class='jstree-icon'>&#160;</ins>").end().filter("a").children("ins:first-child").not(".jstree-icon").addClass("jstree-icon");a.data("jstree-is-loading",false)}this.clean_node(a);d&&d.call(this)}else if(a&&a!==-1){a.children(".jstree-loading").removeClass("jstree-loading");a.data("jstree-is-loading",false);if(i.correct_state){a.removeClass("jstree-open jstree-closed").addClass("jstree-leaf");d&&d.call(this)}}else if(i.correct_state){this.get_container().children("ul").empty();
158
- d&&d.call(this)}};i.ajax.context=this;i.ajax.error=c;i.ajax.success=f;if(!i.ajax.dataType)i.ajax.dataType="html";if(b.isFunction(i.ajax.url))i.ajax.url=i.ajax.url.call(this,a);if(b.isFunction(i.ajax.data))i.ajax.data=i.ajax.data.call(this,a);b.ajax(i.ajax)}}}});b.jstree.defaults.plugins.push("html_data")})(jQuery);
159
- (function(b){b.jstree.plugin("themeroller",{__init:function(){var a=this._get_settings().themeroller;this.get_container().addClass("ui-widget-content").delegate("a","mouseenter.jstree",function(){b(this).addClass(a.item_h)}).delegate("a","mouseleave.jstree",function(){b(this).removeClass(a.item_h)}).bind("open_node.jstree create_node.jstree",b.proxy(function(d,e){this._themeroller(e.rslt.obj)},this)).bind("loaded.jstree refresh.jstree",b.proxy(function(){this._themeroller()},this)).bind("close_node.jstree",
160
- b.proxy(function(d,e){e.rslt.obj.children("ins").removeClass(a.opened).addClass(a.closed)},this)).bind("select_node.jstree",b.proxy(function(d,e){e.rslt.obj.children("a").addClass(a.item_a)},this)).bind("deselect_node.jstree deselect_all.jstree",b.proxy(function(){this.get_container().find("."+a.item_a).removeClass(a.item_a).end().find(".jstree-clicked").addClass(a.item_a)},this)).bind("move_node.jstree",b.proxy(function(d,e){this._themeroller(e.rslt.o)},this))},__destroy:function(){var a=this._get_settings().themeroller,
161
- d=["ui-icon"];b.each(a,function(e,f){f=f.split(" ");if(f.length)d=d.concat(f)});this.get_container().removeClass("ui-widget-content").find("."+d.join(", .")).removeClass(d.join(" "))},_fn:{_themeroller:function(a){var d=this._get_settings().themeroller;a=!a||a==-1?this.get_container():this._get_node(a).parent();a.find("li.jstree-closed > ins.jstree-icon").removeClass(d.opened).addClass("ui-icon "+d.closed).end().find("li.jstree-open > ins.jstree-icon").removeClass(d.closed).addClass("ui-icon "+d.opened).end().find("a").addClass(d.item).children("ins.jstree-icon").addClass("ui-icon "+
162
- d.item_icon)}},defaults:{opened:"ui-icon-triangle-1-se",closed:"ui-icon-triangle-1-e",item:"ui-state-default",item_h:"ui-state-hover",item_a:"ui-state-active",item_icon:"ui-icon-folder-collapsed"}});b(function(){b.vakata.css.add_sheet({str:".jstree .ui-icon { overflow:visible; } .jstree a { padding:0 2px; }"})})})(jQuery);
163
- (function(b){b.jstree.plugin("unique",{__init:function(){this.get_container().bind("before.jstree",b.proxy(function(a,d){var e=[],f=true,i;if(d.func=="move_node")if(d.args[4]===true)if(d.args[0].o&&d.args[0].o.length){d.args[0].o.children("a").each(function(){e.push(b(this).text().replace(/^\s+/g,""))});f=this._check_unique(e,d.args[0].np.find("> ul > li").not(d.args[0].o))}if(d.func=="create_node")if(d.args[4]||this._is_loaded(d.args[0])){f=this._get_node(d.args[0]);if(d.args[1]&&(d.args[1]==="before"||
164
- d.args[1]==="after")){f=this._get_parent(d.args[0]);if(!f||f===-1)f=this.get_container()}if(typeof d.args[2]==="string")e.push(d.args[2]);else!d.args[2]||!d.args[2].data?e.push(this._get_settings().core.strings.new_node):e.push(d.args[2].data);f=this._check_unique(e,f.find("> ul > li"))}if(d.func=="rename_node"){e.push(d.args[1]);i=this._get_node(d.args[0]);f=this._get_parent(i);if(!f||f===-1)f=this.get_container();f=this._check_unique(e,f.find("> ul > li").not(i))}if(!f){a.stopPropagation();return false}},
165
- this))},_fn:{_check_unique:function(a,d){var e=[];d.children("a").each(function(){e.push(b(this).text().replace(/^\s+/g,""))});if(!e.length||!a.length)return true;e=e.sort().join(",,").replace(/(,|^)([^,]+)(,,\2)+(,|$)/g,"$1$2$4").replace(/,,+/g,",").replace(/,$/,"").split(",");if(e.length+a.length!=e.concat(a).sort().join(",,").replace(/(,|^)([^,]+)(,,\2)+(,|$)/g,"$1$2$4").replace(/,,+/g,",").replace(/,$/,"").split(",").length)return false;return true},check_move:function(){if(!this.__call_old())return false;
166
- var a=this._get_move(),d=[];if(a.o&&a.o.length){a.o.children("a").each(function(){d.push(b(this).text().replace(/^\s+/g,""))});return this._check_unique(d,a.np.find("> ul > li").not(a.o))}return true}}})})(jQuery);
167
- (function(b){b.jstree.plugin("radio",{__init:function(){this.select_node=this.deselect_node=this.deselect_all=b.noop;this.get_selected=this.get_checked;this.get_container().bind("open_node.jstree create_node.jstree clean_node.jstree",b.proxy(function(a,d){this._prepare_radios(d.rslt.obj)},this)).bind("loaded.jstree",b.proxy(function(){this._prepare_radios()},this)).delegate("a","click.jstree",b.proxy(function(a){this._get_node(a.target).hasClass("jstree-checked")?this.uncheck_node(a.target):this.check_node(a.target);
168
- this.data.ui&&this.save_selected();this.data.cookies&&this.save_cookie("select_node");a.preventDefault()},this))},__destroy:function(){this.get_container().find(".jstree-radio").remove()},_fn:{_prepare_radios:function(a){a=!a||a==-1?this.get_container():this._get_node(a);var d,e=this,f;a.each(function(){f=b(this);d=f.is("li")&&f.hasClass("jstree-checked")?"jstree-checked":"jstree-unchecked";f.find("a").not(":has(.jstree-radio)").prepend("<ins class='jstree-radio'>&#160;</ins>").parent().not(".jstree-checked, .jstree-unchecked").addClass(d)});
169
- a.is("li")?this._repair_state(a):a.find("> ul > li").each(function(){e._repair_state(this)})},change_state:function(a,d){a=this._get_node(a);if(a.is(".jstree-leaf")){if(d=d===false||d===true?d:a.hasClass("jstree-checked"))a.find("li").andSelf().removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked");else{a.parent().children(".jstree-checked").removeClass("jstree-checked").addClass("jstree-unchecked");a.find("li").andSelf().removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked");
170
- if(this.data.ui)this.data.ui.last_selected=a;this.data.radio.last_selected=a}a.parentsUntil(".jstree","li").each(function(){var e=b(this);if(d)if(e.children("ul").children(".jstree-checked, .jstree-undetermined").length){e.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined");return false}else e.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked");else{e.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined");
171
- return false}});if(this.data.ui)this.data.ui.selected=this.get_checked();this.__callback(a)}},check_node:function(a){this.change_state(a,false)},uncheck_node:function(a){this.change_state(a,true)},uncheck_all:function(){var a=this;this.get_container().children("ul").children("li").each(function(){a.change_state(this,true)})},is_checked:function(a){a=this._get_node(a);return a.length?a.is(".jstree-checked"):false},get_checked:function(a){a=!a||a===-1?this.get_container():this._get_node(a);return a.find("> ul > .jstree-checked, .jstree-undetermined > ul > .jstree-checked")},
172
- get_unchecked:function(a){a=!a||a===-1?this.get_container():this._get_node(a);return a.find("> ul > .jstree-unchecked, .jstree-undetermined > ul > .jstree-unchecked")},show_radios:function(){this.get_container().children("ul").removeClass("jstree-no-radios")},hide_radios:function(){this.get_container().children("ul").addClass("jstree-no-radios")},_repair_state:function(a){a=this._get_node(a);if(a.length){var d=a.find("> ul > .jstree-checked").length,e=a.find("> ul > .jstree-undetermined").length,
173
- f=a.find("> ul > li").length;if(f===0)a.hasClass("jstree-undetermined")&&this.check_node(a);else if(d===0&&e===0)this.uncheck_node(a);else d===f?this.check_node(a):a.parentsUntil(".jstree","li").removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined")}},reselect:function(){if(this.data.ui){var a=this,d=this.data.ui.to_select;d=b.map(b.makeArray(d),function(e){return"#"+e.toString().replace(/^#/,"").replace("\\/","/").replace("/","\\/")});this.deselect_all();b.each(d,function(e,
174
- f){a.check_node(f)});this.__callback()}}}})})(jQuery);
167
+ {__init:function(){this.get_container().delegate("a","contextmenu.jstree",b.proxy(function(a){a.preventDefault();b(a.currentTarget).hasClass("jstree-loading")||this.show_contextmenu(a.currentTarget,a.pageX,a.pageY)},this)).delegate("a","click.jstree",b.proxy(function(){this.data.contextmenu&&b.vakata.context.hide()},this)).bind("destroy.jstree",b.proxy(function(){this.data.contextmenu&&b.vakata.context.hide()},this));b(document).bind("context_hide.vakata",b.proxy(function(){this.data.contextmenu=
168
+ false},this))},defaults:{select_node:false,show_at_node:true,items:{create:{separator_before:false,separator_after:true,label:"Create",action:function(a){this.create(a)}},rename:{separator_before:false,separator_after:false,label:"Rename",action:function(a){this.rename(a)}},remove:{separator_before:false,icon:false,separator_after:false,label:"Delete",action:function(a){this.is_selected(a)?this.remove():this.remove(a)}},ccp:{separator_before:true,icon:false,separator_after:false,label:"Edit",action:false,
169
+ submenu:{cut:{separator_before:false,separator_after:false,label:"Cut",action:function(a){this.cut(a)}},copy:{separator_before:false,icon:false,separator_after:false,label:"Copy",action:function(a){this.copy(a)}},paste:{separator_before:false,icon:false,separator_after:false,label:"Paste",action:function(a){this.paste(a)}}}}}},_fn:{show_contextmenu:function(a,d,f){a=this._get_node(a);var e=this.get_settings().contextmenu,c=a.children("a:visible:eq(0)"),h=false;h=false;if(e.select_node&&this.data.ui&&
170
+ !this.is_selected(a)){this.deselect_all();this.select_node(a,true)}if(e.show_at_node||typeof d==="undefined"||typeof f==="undefined"){h=c.offset();d=h.left;f=h.top+this.data.core.li_height}h=a.data("jstree")&&a.data("jstree").contextmenu?a.data("jstree").contextmenu:e.items;if(b.isFunction(h))h=h.call(this,a);this.data.contextmenu=true;b.vakata.context.show(h,c,d,f,this,a,this._get_settings().core.rtl);this.data.themes&&b.vakata.context.cnt.attr("class","jstree-"+this.data.themes.theme+"-context")}}})})(jQuery);
171
+ (function(b){b.jstree.plugin("types",{__init:function(){var a=this._get_settings().types;this.data.types.attach_to=[];this.get_container().bind("init.jstree",b.proxy(function(){var d=a.type_attr,f="",e=this;b.each(a.types,function(c,h){b.each(h,function(g){/^(max_depth|max_children|icon|valid_children)$/.test(g)||e.data.types.attach_to.push(g)});if(!h.icon)return true;if(h.icon.image||h.icon.position){f+=c=="default"?".jstree-"+e.get_index()+" a > .jstree-icon { ":".jstree-"+e.get_index()+" li["+
172
+ d+'="'+c+'"] > a > .jstree-icon { ';if(h.icon.image)f+=" background-image:url("+h.icon.image+"); ";f+=h.icon.position?" background-position:"+h.icon.position+"; ":" background-position:0 0; ";f+="} "}});f!==""&&b.vakata.css.add_sheet({str:f,title:"jstree-types"})},this)).bind("before.jstree",b.proxy(function(d,f){var e,c;if((e=(e=this._get_settings().types.use_data?this._get_node(f.args[0]):false)&&e!==-1&&e.length?e.data("jstree"):false)&&e.types&&e.types[f.func]===false){d.stopImmediatePropagation();
173
+ return false}if(b.inArray(f.func,this.data.types.attach_to)!==-1){e=this._get_settings().types.types;c=this._get_type(f.args[0]);if((e[c]&&typeof e[c][f.func]!=="undefined"||e["default"]&&typeof e["default"][f.func]!=="undefined")&&this._check(f.func,f.args[0])===false){d.stopImmediatePropagation();return false}}},this));r&&this.get_container().bind("load_node.jstree set_type.jstree",b.proxy(function(d,f){var e=f&&f.rslt&&f.rslt.obj&&f.rslt.obj!==-1?this._get_node(f.rslt.obj).parent():this.get_container_ul(),
174
+ c=false,h=this._get_settings().types;b.each(h.types,function(g,j){if(j.icon&&(j.icon.image||j.icon.position)){c=g==="default"?e.find("li > a > .jstree-icon"):e.find("li["+h.type_attr+"='"+g+"'] > a > .jstree-icon");j.icon.image&&c.css("backgroundImage","url("+j.icon.image+")");c.css("backgroundPosition",j.icon.position||"0 0")}})},this))},defaults:{max_children:-1,max_depth:-1,valid_children:"all",use_data:false,type_attr:"rel",types:{"default":{max_children:-1,max_depth:-1,valid_children:"all"}}},
175
+ _fn:{_types_notify:function(a,d){d.type&&this._get_settings().types.use_data&&this.set_type(d.type,a)},_get_type:function(a){a=this._get_node(a);return!a||!a.length?false:a.attr(this._get_settings().types.type_attr)||"default"},set_type:function(a,d){d=this._get_node(d);var f=!d.length||!a?false:d.attr(this._get_settings().types.type_attr,a);f&&this.__callback({obj:d,type:a});return f},_check:function(a,d,f){d=this._get_node(d);var e=false,c=this._get_type(d),h=0,g=this,j=this._get_settings().types,
176
+ l=false;if(d===-1)if(j[a])e=j[a];else return;else{if(c===false)return;if((l=j.use_data?d.data("jstree"):false)&&l.types&&typeof l.types[a]!=="undefined")e=l.types[a];else if(j.types[c]&&typeof j.types[c][a]!=="undefined")e=j.types[c][a];else if(j.types["default"]&&typeof j.types["default"][a]!=="undefined")e=j.types["default"][a]}if(b.isFunction(e))e=e.call(this,d);a==="max_depth"&&d!==-1&&f!==false&&j.max_depth!==-2&&e!==0&&d.children("a:eq(0)").parentsUntil(".jstree","li").each(function(i){if(j.max_depth!==
177
+ -1&&j.max_depth-(i+1)<=0){e=0;return false}h=i===0?e:g._check(a,this,false);if(h!==-1&&h-(i+1)<=0){e=0;return false}if(h>=0&&(h-(i+1)<e||e<0))e=h-(i+1);if(j.max_depth>=0&&(j.max_depth-(i+1)<e||e<0))e=j.max_depth-(i+1)});return e},check_move:function(){if(!this.__call_old())return false;var a=this._get_move(),d=a.rt._get_settings().types,f=a.rt._check("max_children",a.cr),e=a.rt._check("max_depth",a.cr),c=a.rt._check("valid_children",a.cr),h=0,g=1;if(c==="none")return false;if(b.isArray(c)&&a.ot&&
178
+ a.ot._get_type){a.o.each(function(){if(b.inArray(a.ot._get_type(this),c)===-1)return g=false});if(g===false)return false}if(d.max_children!==-2&&f!==-1){h=a.cr===-1?this.get_container().find("> ul > li").not(a.o).length:a.cr.find("> ul > li").not(a.o).length;if(h+a.o.length>f)return false}if(d.max_depth!==-2&&e!==-1){g=0;if(e===0)return false;if(typeof a.o.d==="undefined"){for(d=a.o;d.length>0;){d=d.find("> ul > li");g++}a.o.d=g}if(e-a.o.d<0)return false}return true},create_node:function(a,d,f,e,
179
+ c,h){if(!h&&(c||this._is_loaded(a))){var g=typeof d=="string"&&d.match(/^before|after$/i)&&a!==-1?this._get_parent(a):this._get_node(a),j=this._get_settings().types,l=this._check("max_children",g),i=this._check("max_depth",g),k=this._check("valid_children",g);if(typeof f==="string")f={data:f};f||(f={});if(k==="none")return false;if(b.isArray(k))if(!f.attr||!f.attr[j.type_attr]){if(!f.attr)f.attr={};f.attr[j.type_attr]=k[0]}else if(b.inArray(f.attr[j.type_attr],k)===-1)return false;if(j.max_children!==
180
+ -2&&l!==-1){g=g===-1?this.get_container().children("> ul > li").length:g.children("> ul > li").length;if(g+1>l)return false}if(j.max_depth!==-2&&i!==-1&&i-1<0)return false}return this.__call_old(true,a,d,f,e,c,h)}}})})(jQuery);(function(b){b.jstree.plugin("html_data",{__init:function(){this.data.html_data.original_container_html=this.get_container().find(" > ul > li").clone(true);this.data.html_data.original_container_html.find("li").andSelf().contents().filter(function(){return this.nodeType==3}).remove()},
181
+ defaults:{data:false,ajax:false,correct_state:true},_fn:{load_node:function(a,d,f){var e=this;this.load_node_html(a,function(){e.__callback({obj:e._get_node(a)});d.call(this)},f)},_is_loaded:function(a){a=this._get_node(a);return a==-1||!a||!this._get_settings().html_data.ajax&&!b.isFunction(this._get_settings().html_data.data)||a.is(".jstree-open, .jstree-leaf")||a.children("ul").children("li").size()>0},load_node_html:function(a,d,f){var e,c=this.get_settings().html_data,h=function(){};e=function(){};
182
+ if((a=this._get_node(a))&&a!==-1)if(a.data("jstree-is-loading"))return;else a.data("jstree-is-loading",true);switch(true){case b.isFunction(c.data):c.data.call(this,a,b.proxy(function(g){if(g&&g!==""&&g.toString&&g.toString().replace(/^[\s\n]+$/,"")!==""){g=b(g);g.is("ul")||(g=b("<ul />").append(g));if(a==-1||!a)this.get_container().children("ul").empty().append(g.children()).find("li, a").filter(function(){return!this.firstChild||!this.firstChild.tagName||this.firstChild.tagName!=="INS"}).prepend("<ins class='jstree-icon'>&#160;</ins>").end().filter("a").children("ins:first-child").not(".jstree-icon").addClass("jstree-icon");
183
+ else{a.children("a.jstree-loading").removeClass("jstree-loading");a.append(g).children("ul").find("li, a").filter(function(){return!this.firstChild||!this.firstChild.tagName||this.firstChild.tagName!=="INS"}).prepend("<ins class='jstree-icon'>&#160;</ins>").end().filter("a").children("ins:first-child").not(".jstree-icon").addClass("jstree-icon");b.removeData(a,"jstree-is-loading")}this.clean_node(a);d&&d.call(this)}else if(a&&a!==-1){a.children("a.jstree-loading").removeClass("jstree-loading");b.removeData(a,
184
+ "jstree-is-loading");if(c.correct_state){this.correct_state(a);d&&d.call(this)}}else if(c.correct_state){this.get_container().children("ul").empty();d&&d.call(this)}},this));break;case !c.data&&!c.ajax:if(!a||a==-1){this.get_container().children("ul").empty().append(this.data.html_data.original_container_html).find("li, a").filter(function(){return!this.firstChild||!this.firstChild.tagName||this.firstChild.tagName!=="INS"}).prepend("<ins class='jstree-icon'>&#160;</ins>").end().filter("a").children("ins:first-child").not(".jstree-icon").addClass("jstree-icon");
185
+ this.clean_node()}d&&d.call(this);break;case !!c.data&&!c.ajax||!!c.data&&!!c.ajax&&(!a||a===-1):if(!a||a==-1){e=b(c.data);e.is("ul")||(e=b("<ul />").append(e));this.get_container().children("ul").empty().append(e.children()).find("li, a").filter(function(){return!this.firstChild||!this.firstChild.tagName||this.firstChild.tagName!=="INS"}).prepend("<ins class='jstree-icon'>&#160;</ins>").end().filter("a").children("ins:first-child").not(".jstree-icon").addClass("jstree-icon");this.clean_node()}d&&
186
+ d.call(this);break;case !c.data&&!!c.ajax||!!c.data&&!!c.ajax&&a&&a!==-1:a=this._get_node(a);h=function(g,j,l){var i=this.get_settings().html_data.ajax.error;i&&i.call(this,g,j,l);if(a!=-1&&a.length){a.children("a.jstree-loading").removeClass("jstree-loading");b.removeData(a,"jstree-is-loading");j==="success"&&c.correct_state&&this.correct_state(a)}else j==="success"&&c.correct_state&&this.get_container().children("ul").empty();f&&f.call(this)};e=function(g,j,l){var i=this.get_settings().html_data.ajax.success;
187
+ if(i)g=i.call(this,g,j,l)||g;if(g===""||g&&g.toString&&g.toString().replace(/^[\s\n]+$/,"")==="")return h.call(this,l,j,"");if(g){g=b(g);g.is("ul")||(g=b("<ul />").append(g));if(a==-1||!a)this.get_container().children("ul").empty().append(g.children()).find("li, a").filter(function(){return!this.firstChild||!this.firstChild.tagName||this.firstChild.tagName!=="INS"}).prepend("<ins class='jstree-icon'>&#160;</ins>").end().filter("a").children("ins:first-child").not(".jstree-icon").addClass("jstree-icon");
188
+ else{a.children("a.jstree-loading").removeClass("jstree-loading");a.append(g).children("ul").find("li, a").filter(function(){return!this.firstChild||!this.firstChild.tagName||this.firstChild.tagName!=="INS"}).prepend("<ins class='jstree-icon'>&#160;</ins>").end().filter("a").children("ins:first-child").not(".jstree-icon").addClass("jstree-icon");b.removeData(a,"jstree-is-loading")}this.clean_node(a);d&&d.call(this)}else if(a&&a!==-1){a.children("a.jstree-loading").removeClass("jstree-loading");b.removeData(a,
189
+ "jstree-is-loading");if(c.correct_state){this.correct_state(a);d&&d.call(this)}}else if(c.correct_state){this.get_container().children("ul").empty();d&&d.call(this)}};c.ajax.context=this;c.ajax.error=h;c.ajax.success=e;if(!c.ajax.dataType)c.ajax.dataType="html";if(b.isFunction(c.ajax.url))c.ajax.url=c.ajax.url.call(this,a);if(b.isFunction(c.ajax.data))c.ajax.data=c.ajax.data.call(this,a);b.ajax(c.ajax)}}}});b.jstree.defaults.plugins.push("html_data")})(jQuery);(function(b){b.jstree.plugin("themeroller",
190
+ {__init:function(){var a=this._get_settings().themeroller;this.get_container().addClass("ui-widget-content").addClass("jstree-themeroller").delegate("a","mouseenter.jstree",function(d){b(d.currentTarget).hasClass("jstree-loading")||b(this).addClass(a.item_h)}).delegate("a","mouseleave.jstree",function(){b(this).removeClass(a.item_h)}).bind("init.jstree",b.proxy(function(d,f){f.inst.get_container().find("> ul > li > .jstree-loading > ins").addClass("ui-icon-refresh");this._themeroller(f.inst.get_container().find("> ul > li"))},
191
+ this)).bind("open_node.jstree create_node.jstree",b.proxy(function(d,f){this._themeroller(f.rslt.obj)},this)).bind("loaded.jstree refresh.jstree",b.proxy(function(){this._themeroller()},this)).bind("close_node.jstree",b.proxy(function(d,f){this._themeroller(f.rslt.obj)},this)).bind("delete_node.jstree",b.proxy(function(d,f){this._themeroller(f.rslt.parent)},this)).bind("correct_state.jstree",b.proxy(function(d,f){f.rslt.obj.children("ins.jstree-icon").removeClass(a.opened+" "+a.closed+" ui-icon").end().find("> a > ins.ui-icon").filter(function(){return this.className.toString().replace(a.item_clsd,
192
+ "").replace(a.item_open,"").replace(a.item_leaf,"").indexOf("ui-icon-")===-1}).removeClass(a.item_open+" "+a.item_clsd).addClass(a.item_leaf||"jstree-no-icon")},this)).bind("select_node.jstree",b.proxy(function(d,f){f.rslt.obj.children("a").addClass(a.item_a)},this)).bind("deselect_node.jstree deselect_all.jstree",b.proxy(function(){this.get_container().find("a."+a.item_a).removeClass(a.item_a).end().find("a.jstree-clicked").addClass(a.item_a)},this)).bind("dehover_node.jstree",b.proxy(function(d,
193
+ f){f.rslt.obj.children("a").removeClass(a.item_h)},this)).bind("hover_node.jstree",b.proxy(function(d,f){this.get_container().find("a."+a.item_h).not(f.rslt.obj).removeClass(a.item_h);f.rslt.obj.children("a").addClass(a.item_h)},this)).bind("move_node.jstree",b.proxy(function(d,f){this._themeroller(f.rslt.o);this._themeroller(f.rslt.op)},this))},__destroy:function(){var a=this._get_settings().themeroller,d=["ui-icon"];b.each(a,function(f,e){e=e.split(" ");if(e.length)d=d.concat(e)});this.get_container().removeClass("ui-widget-content").find("."+
194
+ d.join(", .")).removeClass(d.join(" "))},_fn:{_themeroller:function(a){var d=this._get_settings().themeroller;a=!a||a==-1?this.get_container_ul():this._get_node(a).parent();a.find("li.jstree-closed").children("ins.jstree-icon").removeClass(d.opened).addClass("ui-icon "+d.closed).end().children("a").addClass(d.item).children("ins.jstree-icon").addClass("ui-icon").filter(function(){return this.className.toString().replace(d.item_clsd,"").replace(d.item_open,"").replace(d.item_leaf,"").indexOf("ui-icon-")===
195
+ -1}).removeClass(d.item_leaf+" "+d.item_open).addClass(d.item_clsd||"jstree-no-icon").end().end().end().end().find("li.jstree-open").children("ins.jstree-icon").removeClass(d.closed).addClass("ui-icon "+d.opened).end().children("a").addClass(d.item).children("ins.jstree-icon").addClass("ui-icon").filter(function(){return this.className.toString().replace(d.item_clsd,"").replace(d.item_open,"").replace(d.item_leaf,"").indexOf("ui-icon-")===-1}).removeClass(d.item_leaf+" "+d.item_clsd).addClass(d.item_open||
196
+ "jstree-no-icon").end().end().end().end().find("li.jstree-leaf").children("ins.jstree-icon").removeClass(d.closed+" ui-icon "+d.opened).end().children("a").addClass(d.item).children("ins.jstree-icon").addClass("ui-icon").filter(function(){return this.className.toString().replace(d.item_clsd,"").replace(d.item_open,"").replace(d.item_leaf,"").indexOf("ui-icon-")===-1}).removeClass(d.item_clsd+" "+d.item_open).addClass(d.item_leaf||"jstree-no-icon")}},defaults:{opened:"ui-icon-triangle-1-se",closed:"ui-icon-triangle-1-e",
197
+ item:"ui-state-default",item_h:"ui-state-hover",item_a:"ui-state-active",item_open:"ui-icon-folder-open",item_clsd:"ui-icon-folder-collapsed",item_leaf:"ui-icon-document"}});b(function(){b.vakata.css.add_sheet({str:".jstree-themeroller .ui-icon { overflow:visible; } .jstree-themeroller a { padding:0 2px; } .jstree-themeroller .jstree-no-icon { display:none; }",title:"jstree"})})})(jQuery);(function(b){b.jstree.plugin("unique",{__init:function(){this.get_container().bind("before.jstree",b.proxy(function(a,
198
+ d){var f=[],e=true,c;if(d.func=="move_node")if(d.args[4]===true)if(d.args[0].o&&d.args[0].o.length){d.args[0].o.children("a").each(function(){f.push(b(this).text().replace(/^\s+/g,""))});e=this._check_unique(f,d.args[0].np.find("> ul > li").not(d.args[0].o),"move_node")}if(d.func=="create_node")if(d.args[4]||this._is_loaded(d.args[0])){e=this._get_node(d.args[0]);if(d.args[1]&&(d.args[1]==="before"||d.args[1]==="after")){e=this._get_parent(d.args[0]);if(!e||e===-1)e=this.get_container()}if(typeof d.args[2]===
199
+ "string")f.push(d.args[2]);else!d.args[2]||!d.args[2].data?f.push(this._get_string("new_node")):f.push(d.args[2].data);e=this._check_unique(f,e.find("> ul > li"),"create_node")}if(d.func=="rename_node"){f.push(d.args[1]);c=this._get_node(d.args[0]);e=this._get_parent(c);if(!e||e===-1)e=this.get_container();e=this._check_unique(f,e.find("> ul > li").not(c),"rename_node")}if(!e){a.stopPropagation();return false}},this))},defaults:{error_callback:b.noop},_fn:{_check_unique:function(a,d,f){var e=[];d.children("a").each(function(){e.push(b(this).text().replace(/^\s+/g,
200
+ ""))});if(!e.length||!a.length)return true;e=e.sort().join(",,").replace(/(,|^)([^,]+)(,,\2)+(,|$)/g,"$1$2$4").replace(/,,+/g,",").replace(/,$/,"").split(",");if(e.length+a.length!=e.concat(a).sort().join(",,").replace(/(,|^)([^,]+)(,,\2)+(,|$)/g,"$1$2$4").replace(/,,+/g,",").replace(/,$/,"").split(",").length){this._get_settings().unique.error_callback.call(null,a,d,f);return false}return true},check_move:function(){if(!this.__call_old())return false;var a=this._get_move(),d=[];if(a.o&&a.o.length){a.o.children("a").each(function(){d.push(b(this).text().replace(/^\s+/g,
201
+ ""))});return this._check_unique(d,a.np.find("> ul > li").not(a.o),"check_move")}return true}}})})(jQuery);(function(b){b.jstree.plugin("radio",{__init:function(){this.data.radio.noui=this._get_settings().radio.override_ui;if(this.data.ui&&this.data.radio.noui){this.select_node=this.deselect_node=this.deselect_all=b.noop;this.get_selected=this.get_checked}this.get_container().bind("open_node.jstree create_node.jstree clean_node.jstree",b.proxy(function(a,d){this._prepare_radioes(d.rslt.obj)},this)).bind("loaded.jstree",
202
+ b.proxy(function(){this._prepare_radioes()},this)).delegate(this.data.ui&&this.data.radio.noui?"a":"ins.jstree-radio","click.jstree",b.proxy(function(a){a.preventDefault();this._get_node(a.target).hasClass("jstree-checked")?this.uncheck_node(a.target):this.check_node(a.target);if(this.data.ui&&this.data.radio.noui){this.save_selected();this.data.cookies&&this.save_cookie("select_node")}else{a.stopImmediatePropagation();return false}},this))},defaults:{override_ui:false,two_state:false,real_radioes:false,
203
+ checked_parent_open:true,real_radioes_names:function(a){return["check_"+(a[0].id||Math.ceil(Math.random()*1E4)),1]}},__destroy:function(){this.get_container().find("input.jstree-real-radio").removeClass("jstree-real-radio").end().find("ins.jstree-radio").remove()},_fn:{_radio_notify:function(a,d){d.checked&&this.check_node(a,false)},_prepare_radioes:function(a){a=!a||a==-1?this.get_container().find("> ul > li"):this._get_node(a);if(a!==false){var d,f=this,e,c=this._get_settings().radio.two_state,
204
+ h=this._get_settings().radio.real_radioes,g=this._get_settings().radio.real_radioes_names;a.each(function(){e=b(this);d=e.is("li")&&(e.hasClass("jstree-checked")||h&&e.children(":checked").length)?"jstree-checked":"jstree-unchecked";e.find("li").andSelf().each(function(){var j=b(this),l;j.children("a"+(f.data.languages?"":":eq(0)")).not(":has(.jstree-radio)").prepend("<ins class='jstree-radio'>&#160;</ins>").parent().not(".jstree-checked, .jstree-unchecked").addClass(c?"jstree-unchecked":d);if(h){if(j.children(":radio").length)j.children(":radio").addClass("jstree-real-radio");
205
+ else{l=g.call(f,j);j.prepend("<input type='radio' class='jstree-real-radio' id='"+l[0]+"' name='"+l[0]+"' value='"+l[1]+"' />")}d==="jstree-checked"&&j.children(":radio").attr("checked","checked")}})});if(!c)if(a.length===1&&a.is("li"))this._repair_state(a);else a.is("li")?a.each(function(){f._repair_state(this)}):a.find("> ul > li").each(function(){f._repair_state(this)})}},change_state:function(a,d){a=this._get_node(a);var f=false,e=this._get_settings().radio.real_radioes;if(!a||a===-1)return false;
206
+ d=d===false||d===true?d:a.hasClass("jstree-checked");if(this._get_settings().radio.two_state)if(d){a.removeClass("jstree-checked").addClass("jstree-unchecked");e&&a.children(":radio").removeAttr("checked")}else{a.removeClass("jstree-unchecked").addClass("jstree-checked");e&&a.children(":radio").attr("checked","checked")}else{if(d){f=a.find("li").andSelf();if(!f.filter(".jstree-checked, .jstree-undetermined").length)return false;f.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked");
207
+ e&&f.children(":radio").removeAttr("checked")}else{f=a.find("li").andSelf();if(!f.filter(".jstree-unchecked, .jstree-undetermined").length)return false;f.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked");e&&f.children(":radio").attr("checked","checked");if(this.data.ui)this.data.ui.last_selected=a;this.data.radio.last_selected=a}a.parentsUntil(".jstree","li").each(function(){var c=b(this);if(d)if(c.children("ul").children("li.jstree-checked, li.jstree-undetermined").length){c.parentsUntil(".jstree",
208
+ "li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined");e&&c.parentsUntil(".jstree","li").andSelf().children(":radio").removeAttr("checked");return false}else{c.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked");e&&c.children(":radio").removeAttr("checked")}else if(c.children("ul").children("li.jstree-unchecked, li.jstree-undetermined").length){c.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined");
209
+ e&&c.parentsUntil(".jstree","li").andSelf().children(":radio").removeAttr("checked");return false}else{c.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked");e&&c.children(":radio").attr("checked","checked")}})}if(this.data.ui&&this.data.radio.noui)this.data.ui.selected=this.get_checked();this.__callback(a);return true},check_node:function(a){if(this.change_state(a,false)){a=this._get_node(a);if(this._get_settings().radio.checked_parent_open){var d=this;a.parents(".jstree-closed").each(function(){d.open_node(this,
210
+ false,true)})}this.__callback({obj:a})}},uncheck_node:function(a){this.change_state(a,true)&&this.__callback({obj:this._get_node(a)})},check_all:function(){var a=this;(this._get_settings().radio.two_state?this.get_container_ul().find("li"):this.get_container_ul().children("li")).each(function(){a.change_state(this,false)});this.__callback()},uncheck_all:function(){var a=this;(this._get_settings().radio.two_state?this.get_container_ul().find("li"):this.get_container().children("li")).each(function(){a.change_state(this,
211
+ true)});this.__callback()},is_checked:function(a){a=this._get_node(a);return a.length?a.is(".jstree-checked"):false},get_checked:function(a,d){a=!a||a===-1?this.get_container():this._get_node(a);return d||this._get_settings().radio.two_state?a.find(".jstree-checked"):a.find("> ul > .jstree-checked, .jstree-undetermined > ul > .jstree-checked")},get_unchecked:function(a,d){a=!a||a===-1?this.get_container():this._get_node(a);return d||this._get_settings().radio.two_state?a.find(".jstree-unchecked"):
212
+ a.find("> ul > .jstree-unchecked, .jstree-undetermined > ul > .jstree-unchecked")},show_radioes:function(){this.get_container().children("ul").removeClass("jstree-no-radioes")},hide_radioes:function(){this.get_container().children("ul").addClass("jstree-no-radioes")},_repair_state:function(a){a=this._get_node(a);if(a.length){var d=this._get_settings().radio.real_radioes,f=a.find("> ul > .jstree-checked").length,e=a.find("> ul > .jstree-undetermined").length,c=a.find("> ul > li").length;if(c===0)a.hasClass("jstree-undetermined")&&
213
+ this.change_state(a,false);else if(f===0&&e===0)this.change_state(a,true);else if(f===c)this.change_state(a,false);else{a.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined");d&&a.parentsUntil(".jstree","li").andSelf().children(":radio").removeAttr("checked")}}},reselect:function(){if(this.data.ui&&this.data.radio.noui){var a=this,d=this.data.ui.to_select;d=b.map(b.makeArray(d),function(f){return"#"+f.toString().replace(/^#/,"").replace(/\\\//g,
214
+ "/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.")});this.deselect_all();b.each(d,function(f,e){a.check_node(e)});this.__callback()}else this.__call_old()},save_loaded:function(){var a=this;this.data.core.to_load=[];this.get_container_ul().find("li.jstree-closed.jstree-undetermined").each(function(){this.id&&a.data.core.to_load.push("#"+this.id)})}}});b(function(){b.vakata.css.add_sheet({str:".jstree .jstree-real-radio { display:none; } ",title:"jstree"})})})(jQuery);(function(b){b.jstree.plugin("wholerow",
215
+ {__init:function(){if(!this.data.ui)throw"jsTree wholerow: jsTree UI plugin not included.";this.data.wholerow.html=false;this.data.wholerow.to=false;this.get_container().bind("init.jstree",b.proxy(function(){this._get_settings().core.animation=0},this)).bind("open_node.jstree create_node.jstree clean_node.jstree loaded.jstree",b.proxy(function(a,d){this._prepare_wholerow_span(d&&d.rslt&&d.rslt.obj?d.rslt.obj:-1)},this)).bind("search.jstree clear_search.jstree reopen.jstree after_open.jstree after_close.jstree create_node.jstree delete_node.jstree clean_node.jstree",
216
+ b.proxy(function(a,d){this.data.to&&clearTimeout(this.data.to);this.data.to=setTimeout(function(f,e){return function(){f._prepare_wholerow_ul(e)}}(this,d&&d.rslt&&d.rslt.obj?d.rslt.obj:-1),0)},this)).bind("deselect_all.jstree",b.proxy(function(){this.get_container().find(" > .jstree-wholerow .jstree-clicked").removeClass("jstree-clicked "+(this.data.themeroller?this._get_settings().themeroller.item_a:""))},this)).bind("select_node.jstree deselect_node.jstree ",b.proxy(function(a,d){d.rslt.obj.each(function(){d.inst.get_container().find(" > .jstree-wholerow li:visible:eq("+
217
+ parseInt((b(this).offset().top-d.inst.get_container().offset().top+d.inst.get_container()[0].scrollTop)/d.inst.data.core.li_height,10)+")").children("a").attr("class",d.rslt.obj.children("a").attr("class"))})},this)).bind("hover_node.jstree dehover_node.jstree",b.proxy(function(a,d){this.get_container().find(" > .jstree-wholerow .jstree-hovered").removeClass("jstree-hovered "+(this.data.themeroller?this._get_settings().themeroller.item_h:""));a.type==="hover_node"&&this.get_container().find(" > .jstree-wholerow li:visible:eq("+
218
+ parseInt((d.rslt.obj.offset().top-this.get_container().offset().top+this.get_container()[0].scrollTop)/this.data.core.li_height,10)+")").children("a").attr("class",d.rslt.obj.children(".jstree-hovered").attr("class"))},this)).delegate(".jstree-wholerow-span, ins.jstree-icon, li","click.jstree",function(a){var d=b(a.currentTarget);if(!(a.target.tagName==="A"||a.target.tagName==="INS"&&d.closest("li").is(".jstree-open, .jstree-closed"))){d.closest("li").children("a:visible:eq(0)").click();a.stopImmediatePropagation()}}).delegate("li",
219
+ "mouseover.jstree",b.proxy(function(a){a.stopImmediatePropagation();if(b(a.currentTarget).children(".jstree-hovered, .jstree-clicked").length)return false;this.hover_node(a.currentTarget);return false},this)).delegate("li","mouseleave.jstree",b.proxy(function(a){b(a.currentTarget).children("a").hasClass("jstree-hovered").length||this.dehover_node(a.currentTarget)},this));if(t||r)b.vakata.css.add_sheet({str:".jstree-"+this.get_index()+" { position:relative; } ",title:"jstree"})},defaults:{},__destroy:function(){this.get_container().children(".jstree-wholerow").remove();
220
+ this.get_container().find(".jstree-wholerow-span").remove()},_fn:{_prepare_wholerow_span:function(a){a=!a||a==-1?this.get_container().find("> ul > li"):this._get_node(a);a!==false&&a.each(function(){b(this).find("li").andSelf().each(function(){var d=b(this);if(d.children(".jstree-wholerow-span").length)return true;d.prepend("<span class='jstree-wholerow-span' style='width:"+d.parentsUntil(".jstree","li").length*18+"px;'>&#160;</span>")})})},_prepare_wholerow_ul:function(){var a=this.get_container().children("ul").eq(0),
221
+ d=a.html();a.addClass("jstree-wholerow-real");if(this.data.wholerow.last_html!==d){this.data.wholerow.last_html=d;this.get_container().children(".jstree-wholerow").remove();this.get_container().append(a.clone().removeClass("jstree-wholerow-real").wrapAll("<div class='jstree-wholerow' />").parent().width(a.parent()[0].scrollWidth).css("top",(a.height()+(t?5:0))*-1).find("li[id]").each(function(){this.removeAttribute("id")}).end())}}}});b(function(){var a=".jstree .jstree-wholerow-real { position:relative; z-index:1; } .jstree .jstree-wholerow-real li { cursor:pointer; } .jstree .jstree-wholerow-real a { border-left-color:transparent !important; border-right-color:transparent !important; } .jstree .jstree-wholerow { position:relative; z-index:0; height:0; } .jstree .jstree-wholerow ul, .jstree .jstree-wholerow li { width:100%; } .jstree .jstree-wholerow, .jstree .jstree-wholerow ul, .jstree .jstree-wholerow li, .jstree .jstree-wholerow a { margin:0 !important; padding:0 !important; } .jstree .jstree-wholerow, .jstree .jstree-wholerow ul, .jstree .jstree-wholerow li { background:transparent !important; }.jstree .jstree-wholerow ins, .jstree .jstree-wholerow span, .jstree .jstree-wholerow input { display:none !important; }.jstree .jstree-wholerow a, .jstree .jstree-wholerow a:hover { text-indent:-9999px; !important; width:100%; padding:0 !important; border-right-width:0px !important; border-left-width:0px !important; } .jstree .jstree-wholerow-span { position:absolute; left:0; margin:0px; padding:0; height:18px; border-width:0; padding:0; z-index:0; }";
222
+ if(u)a+=".jstree .jstree-wholerow a { display:block; height:18px; margin:0; padding:0; border:0; } .jstree .jstree-wholerow-real a { border-color:transparent !important; } ";if(t||r)a+=".jstree .jstree-wholerow, .jstree .jstree-wholerow li, .jstree .jstree-wholerow ul, .jstree .jstree-wholerow a { margin:0; padding:0; line-height:18px; } .jstree .jstree-wholerow a { display:block; height:18px; line-height:18px; overflow:hidden; } ";b.vakata.css.add_sheet({str:a,title:"jstree"})})})(jQuery)}})();
@@ -10,7 +10,7 @@
10
10
  font-family: segoe ui, Verdana, Geneva, Arial, Helvetica, sans-serif;
11
11
  font-size: 1.0em;
12
12
  li, ins {
13
- background-image: image_url("jquery.ui/jstree.aero/d.png");
13
+ background-image: image_url("jquery/jstree/aero/d.png");
14
14
  background-repeat: no-repeat;
15
15
  background-color: transparent; }
16
16
  li {
@@ -29,7 +29,7 @@
29
29
  .jstree-closed > ins:hover {
30
30
  background-position: -36px -18px; }
31
31
  .jstree-hovered {
32
- background-image: image_url("jquery.ui/jstree.aero/hovered.png");
32
+ background-image: image_url("jquery/jstree/aero/hovered.png");
33
33
  background-repeat: repeat-x;
34
34
  border: 1px solid #b8d6fb;
35
35
  -moz-border-radius: 4px;
@@ -37,7 +37,7 @@
37
37
  border-radius: 4px;
38
38
  padding: 0 2px 0 1px; }
39
39
  .jstree-clicked {
40
- background-image: image_url("jquery.ui/jstree.aero/clicked.png");
40
+ background-image: image_url("jquery/jstree/aero/clicked.png");
41
41
  background-repeat: repeat-x;
42
42
  border: 1px solid #84acdd;
43
43
  -moz-border-radius: 4px;
@@ -48,7 +48,7 @@
48
48
  .jstree-icon {
49
49
  background-position: -56px -36px; }
50
50
  &.jstree-loading .jstree-icon {
51
- background: image_url("jquery.ui/jstree.aero/throbber.gif") center center no-repeat !important; } }
51
+ background: image_url("jquery/jstree/aero/throbber.gif") center center no-repeat !important; } }
52
52
  &.jstree-focused {
53
53
  background: white; }
54
54
  .jstree-no-dots {
@@ -103,12 +103,12 @@
103
103
  ins {
104
104
  background: transparent !important; }
105
105
  .jstree-ok {
106
- background: image_url("jquery.ui/jstree.aero/d.png") -56px -71px no-repeat !important; }
106
+ background: image_url("jquery/jstree/aero/d.png") -56px -71px no-repeat !important; }
107
107
  .jstree-invalid {
108
- background: image_url("jquery.ui/jstree.aero/d.png") -72px -71px no-repeat !important; } }
108
+ background: image_url("jquery/jstree/aero/d.png") -72px -71px no-repeat !important; } }
109
109
 
110
110
  #jstree-marker.jstree-aero {
111
- background: image_url("jquery.ui/jstree.aero/d.png") -95px -75px no-repeat !important; }
111
+ background: image_url("jquery/jstree/aero/d.png") -95px -75px no-repeat !important; }
112
112
 
113
113
  .jstree-aero a.jstree-search {
114
114
  color: aqua; }
@@ -165,14 +165,14 @@
165
165
 
166
166
  .jstree-aero {
167
167
  li, ins {
168
- _background-image: image_url("jquery.ui/jstree.aero/d.gif"); } }
168
+ _background-image: image_url("jquery/jstree/aero/d.gif"); } }
169
169
 
170
170
  #vakata-dragged.jstree-aero {
171
171
  .jstree-invalid, .jstree-ok {
172
- _background-image: image_url("jquery.ui/jstree.aero/d.gif"); } }
172
+ _background-image: image_url("jquery/jstree/aero/d.gif"); } }
173
173
 
174
174
  #jstree-marker.jstree-aero {
175
- _background-image: image_url("jquery.ui/jstree.aero/d.gif"); }
175
+ _background-image: image_url("jquery/jstree/aero/d.gif"); }
176
176
 
177
177
  .jstree-aero {
178
178
  .jstree-leaf ins {