cable 0.1.0 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (528) hide show
  1. data/app/controllers/admin/cable_settings_controller.rb +20 -0
  2. data/app/controllers/{cable/admin_controller.rb → admin_controller.rb} +1 -2
  3. data/app/controllers/attachable_assets_controller.rb +81 -0
  4. data/app/controllers/attachable_documents_controller.rb +22 -0
  5. data/app/controllers/attachable_images_controller.rb +22 -0
  6. data/app/controllers/cable/cable_admin_controller.rb +8 -0
  7. data/app/helpers/admin/menus_helper.rb +24 -0
  8. data/app/helpers/admin_helper.rb +2 -2
  9. data/app/models/attachable_asset.rb +11 -0
  10. data/app/models/attachable_document.rb +2 -0
  11. data/app/models/attachable_image.rb +5 -0
  12. data/app/views/admin/_admin_user_login.html.erb +5 -0
  13. data/app/views/admin/cable_settings/_cable_setting.html.erb +4 -0
  14. data/app/views/admin/cable_settings/edit.html.erb +1 -0
  15. data/app/views/admin/cable_settings/index.html.erb +47 -0
  16. data/app/views/admin/index.html.erb +10 -0
  17. data/app/views/attachable_assets/index.html.erb +4 -0
  18. data/app/views/attachable_assets/new.html.erb +7 -0
  19. data/app/views/attachable_assets/show.html.erb +2 -0
  20. data/app/views/{cable/layouts → layouts}/_messages.html.erb +0 -0
  21. data/app/views/layouts/admin.html.erb +56 -0
  22. data/config/admin_navigation.rb +18 -0
  23. data/config/navigation.rb +0 -0
  24. data/config/routes.rb +5 -1
  25. data/lib/cable.rb +88 -1
  26. data/lib/cable/acts_as_cable.rb +36 -0
  27. data/lib/cable/base.rb +19 -0
  28. data/lib/cable/block.rb +46 -0
  29. data/lib/cable/capistrano.rb +12 -0
  30. data/lib/cable/controllers/cable_controller_helpers.rb +27 -0
  31. data/lib/cable/engine.rb +6 -1
  32. data/lib/cable/errors/resource_association_error.rb +4 -0
  33. data/lib/cable/media/acts_as_attachable.rb +44 -0
  34. data/lib/cable/media/asset.rb +3 -0
  35. data/lib/cable/menu.rb +3 -0
  36. data/lib/cable/menu/acts_as_cable_menu.rb +46 -0
  37. data/lib/cable/menu/base.rb +166 -0
  38. data/lib/cable/menu/simple_navigation_methods.rb +24 -0
  39. data/lib/cable/menu/url_helper.rb +17 -0
  40. data/lib/cable/orm/active_record.rb +29 -0
  41. data/lib/cable/page.rb +3 -0
  42. data/lib/cable/rails/routes.rb +49 -0
  43. data/lib/cable/railtie.rb +32 -0
  44. data/lib/cable/schema.rb +52 -0
  45. data/lib/cable/setting.rb +3 -0
  46. data/lib/cable/special_action.rb +19 -0
  47. data/lib/generators/cable/install_generator.rb +61 -21
  48. data/lib/generators/cable/media/media_generator.rb +41 -0
  49. data/lib/generators/cable/media/templates/migration.rb +19 -0
  50. data/lib/generators/cable/media/templates/model.rb +3 -0
  51. data/lib/generators/cable/menu/menu_generator.rb +83 -0
  52. data/lib/generators/cable/menu/templates/controller.rb +118 -0
  53. data/lib/generators/cable/menu/templates/erb/menus/_menu.html.erb +31 -0
  54. data/lib/generators/cable/menu/templates/erb/menus/_menu_children_table.html.erb +60 -0
  55. data/lib/generators/cable/menu/templates/erb/menus/_menu_tree.html.erb +10 -0
  56. data/lib/generators/cable/menu/templates/erb/menus/_menu_vitals.html.erb +30 -0
  57. data/lib/generators/cable/menu/templates/erb/menus/_resource.html.erb +29 -0
  58. data/lib/generators/cable/menu/templates/erb/menus/_resource_fields.html.erb +10 -0
  59. data/lib/generators/cable/menu/templates/erb/menus/_tree.html.erb +16 -0
  60. data/lib/generators/cable/menu/templates/erb/menus/edit.html.erb +1 -0
  61. data/lib/generators/cable/menu/templates/erb/menus/index.html.erb +28 -0
  62. data/lib/generators/cable/menu/templates/erb/menus/move.html.erb +41 -0
  63. data/lib/generators/cable/menu/templates/erb/menus/new.html.erb +1 -0
  64. data/lib/generators/cable/menu/templates/erb/menus/show.html.erb +16 -0
  65. data/lib/generators/cable/menu/templates/erb/menus/table.html.erb +9 -0
  66. data/lib/generators/cable/menu/templates/erb/partials/_menu_fields.html.erb +12 -0
  67. data/lib/generators/cable/menu/templates/migration.rb +24 -0
  68. data/lib/generators/cable/menu/templates/model.rb +4 -0
  69. data/lib/generators/cable/orm_helpers.rb +18 -0
  70. data/lib/generators/cable/override_generator.rb +33 -0
  71. data/lib/generators/cable/resource/resource_generator.rb +70 -0
  72. data/lib/generators/cable/resource/templates/controller.rb +52 -0
  73. data/lib/generators/cable/resource/templates/erb/scaffold/_form.html.erb +30 -0
  74. data/lib/generators/cable/resource/templates/erb/scaffold/edit.html.erb +6 -0
  75. data/lib/generators/cable/resource/templates/erb/scaffold/index.html.erb +54 -0
  76. data/lib/generators/cable/resource/templates/erb/scaffold/new.html.erb +5 -0
  77. data/lib/generators/cable/resource/templates/erb/scaffold/show.html.erb +12 -0
  78. data/lib/generators/cable/resource/templates/migration.rb +14 -0
  79. data/lib/generators/cable/resource/templates/model.rb +3 -0
  80. data/lib/generators/templates/block.rb +3 -0
  81. data/lib/generators/templates/create_blocks.rb +27 -0
  82. data/lib/generators/templates/create_cable_settings.rb +25 -0
  83. data/lib/generators/templates/initializer.rb +18 -0
  84. data/lib/generators/templates/partials/_block.html.erb +10 -0
  85. data/lib/generators/templates/partials/_block_form.html.erb +24 -0
  86. data/lib/railties/tasks.rake +6 -1
  87. data/public/images/cable/background.png +0 -0
  88. data/public/images/cable/delete.png +0 -0
  89. data/public/images/cable/event-icon.png +0 -0
  90. data/public/images/cable/new-window.png +0 -0
  91. data/public/images/cable/nil-icon.png +0 -0
  92. data/public/images/cable/page-icon.png +0 -0
  93. data/public/images/cable/product-icon.jpg +0 -0
  94. data/public/images/cable/story-icon.jpg +0 -0
  95. data/public/images/iphone-style-checkboxes/off.png +0 -0
  96. data/public/images/iphone-style-checkboxes/on.png +0 -0
  97. data/public/images/iphone-style-checkboxes/slider.png +0 -0
  98. data/public/images/iphone-style-checkboxes/slider_center.png +0 -0
  99. data/public/images/iphone-style-checkboxes/slider_left.png +0 -0
  100. data/public/images/iphone-style-checkboxes/slider_right.png +0 -0
  101. data/public/javascripts/admin.js +35 -0
  102. data/public/javascripts/iphone-style-checkboxes.js +224 -0
  103. data/public/javascripts/jquery.columnview.js +84 -0
  104. data/public/javascripts/jquery.tablesorter.min.js +4 -0
  105. data/public/javascripts/jquery.tagsinput.js +195 -0
  106. data/public/javascripts/jstree/_lib/jquery.cookie.js +96 -0
  107. data/public/javascripts/jstree/_lib/jquery.hotkeys.js +99 -0
  108. data/public/javascripts/jstree/_lib/jquery.js +6240 -0
  109. data/public/javascripts/jstree/jquery.jstree.js +4526 -0
  110. data/public/javascripts/jstree/themes/apple/bg.jpg +0 -0
  111. data/public/javascripts/jstree/themes/apple/d.png +0 -0
  112. data/public/javascripts/jstree/themes/apple/dot_for_ie.gif +0 -0
  113. data/public/javascripts/jstree/themes/apple/style.css +61 -0
  114. data/public/javascripts/jstree/themes/apple/throbber.gif +0 -0
  115. data/public/javascripts/jstree/themes/classic/d.png +0 -0
  116. data/public/javascripts/jstree/themes/classic/dot_for_ie.gif +0 -0
  117. data/public/javascripts/jstree/themes/classic/style.css +59 -0
  118. data/public/javascripts/jstree/themes/classic/throbber.gif +0 -0
  119. data/public/javascripts/jstree/themes/default-rtl/d.gif +0 -0
  120. data/public/javascripts/jstree/themes/default-rtl/d.png +0 -0
  121. data/public/javascripts/jstree/themes/default-rtl/dots.gif +0 -0
  122. data/public/javascripts/jstree/themes/default-rtl/style.css +83 -0
  123. data/public/javascripts/jstree/themes/default-rtl/throbber.gif +0 -0
  124. data/public/javascripts/jstree/themes/default/d.gif +0 -0
  125. data/public/javascripts/jstree/themes/default/d.png +0 -0
  126. data/public/javascripts/jstree/themes/default/style.css +73 -0
  127. data/public/javascripts/jstree/themes/default/throbber.gif +0 -0
  128. data/public/javascripts/tinymce/jquery.tinymce.js +1 -0
  129. data/public/javascripts/tinymce/langs/en.js +170 -0
  130. data/public/javascripts/tinymce/license.txt +504 -0
  131. data/public/javascripts/tinymce/plugins/advhr/css/advhr.css +5 -0
  132. data/public/javascripts/tinymce/plugins/advhr/editor_plugin.js +1 -0
  133. data/public/javascripts/tinymce/plugins/advhr/editor_plugin_src.js +57 -0
  134. data/public/javascripts/tinymce/plugins/advhr/js/rule.js +43 -0
  135. data/public/javascripts/tinymce/plugins/advhr/langs/en_dlg.js +5 -0
  136. data/public/javascripts/tinymce/plugins/advhr/rule.htm +57 -0
  137. data/public/javascripts/tinymce/plugins/advimage/css/advimage.css +13 -0
  138. data/public/javascripts/tinymce/plugins/advimage/editor_plugin.js +1 -0
  139. data/public/javascripts/tinymce/plugins/advimage/editor_plugin_src.js +50 -0
  140. data/public/javascripts/tinymce/plugins/advimage/image.htm +232 -0
  141. data/public/javascripts/tinymce/plugins/advimage/img/sample.gif +0 -0
  142. data/public/javascripts/tinymce/plugins/advimage/js/image.js +443 -0
  143. data/public/javascripts/tinymce/plugins/advimage/langs/en_dlg.js +43 -0
  144. data/public/javascripts/tinymce/plugins/advlink/css/advlink.css +8 -0
  145. data/public/javascripts/tinymce/plugins/advlink/editor_plugin.js +1 -0
  146. data/public/javascripts/tinymce/plugins/advlink/editor_plugin_src.js +61 -0
  147. data/public/javascripts/tinymce/plugins/advlink/js/advlink.js +528 -0
  148. data/public/javascripts/tinymce/plugins/advlink/langs/en_dlg.js +52 -0
  149. data/public/javascripts/tinymce/plugins/advlink/link.htm +333 -0
  150. data/public/javascripts/tinymce/plugins/advlist/editor_plugin.js +1 -0
  151. data/public/javascripts/tinymce/plugins/advlist/editor_plugin_src.js +154 -0
  152. data/public/javascripts/tinymce/plugins/autoresize/editor_plugin.js +1 -0
  153. data/public/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js +119 -0
  154. data/public/javascripts/tinymce/plugins/autosave/editor_plugin.js +1 -0
  155. data/public/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +422 -0
  156. data/public/javascripts/tinymce/plugins/autosave/langs/en.js +4 -0
  157. data/public/javascripts/tinymce/plugins/bbcode/editor_plugin.js +1 -0
  158. data/public/javascripts/tinymce/plugins/bbcode/editor_plugin_src.js +120 -0
  159. data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +1 -0
  160. data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +147 -0
  161. data/public/javascripts/tinymce/plugins/directionality/editor_plugin.js +1 -0
  162. data/public/javascripts/tinymce/plugins/directionality/editor_plugin_src.js +82 -0
  163. data/public/javascripts/tinymce/plugins/emotions/editor_plugin.js +1 -0
  164. data/public/javascripts/tinymce/plugins/emotions/editor_plugin_src.js +43 -0
  165. data/public/javascripts/tinymce/plugins/emotions/emotions.htm +40 -0
  166. data/public/javascripts/tinymce/plugins/emotions/img/smiley-cool.gif +0 -0
  167. data/public/javascripts/tinymce/plugins/emotions/img/smiley-cry.gif +0 -0
  168. data/public/javascripts/tinymce/plugins/emotions/img/smiley-embarassed.gif +0 -0
  169. data/public/javascripts/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
  170. data/public/javascripts/tinymce/plugins/emotions/img/smiley-frown.gif +0 -0
  171. data/public/javascripts/tinymce/plugins/emotions/img/smiley-innocent.gif +0 -0
  172. data/public/javascripts/tinymce/plugins/emotions/img/smiley-kiss.gif +0 -0
  173. data/public/javascripts/tinymce/plugins/emotions/img/smiley-laughing.gif +0 -0
  174. data/public/javascripts/tinymce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
  175. data/public/javascripts/tinymce/plugins/emotions/img/smiley-sealed.gif +0 -0
  176. data/public/javascripts/tinymce/plugins/emotions/img/smiley-smile.gif +0 -0
  177. data/public/javascripts/tinymce/plugins/emotions/img/smiley-surprised.gif +0 -0
  178. data/public/javascripts/tinymce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
  179. data/public/javascripts/tinymce/plugins/emotions/img/smiley-undecided.gif +0 -0
  180. data/public/javascripts/tinymce/plugins/emotions/img/smiley-wink.gif +0 -0
  181. data/public/javascripts/tinymce/plugins/emotions/img/smiley-yell.gif +0 -0
  182. data/public/javascripts/tinymce/plugins/emotions/js/emotions.js +22 -0
  183. data/public/javascripts/tinymce/plugins/emotions/langs/en_dlg.js +20 -0
  184. data/public/javascripts/tinymce/plugins/example/dialog.htm +22 -0
  185. data/public/javascripts/tinymce/plugins/example/editor_plugin.js +1 -0
  186. data/public/javascripts/tinymce/plugins/example/editor_plugin_src.js +84 -0
  187. data/public/javascripts/tinymce/plugins/example/img/example.gif +0 -0
  188. data/public/javascripts/tinymce/plugins/example/js/dialog.js +19 -0
  189. data/public/javascripts/tinymce/plugins/example/langs/en.js +3 -0
  190. data/public/javascripts/tinymce/plugins/example/langs/en_dlg.js +3 -0
  191. data/public/javascripts/tinymce/plugins/fullpage/css/fullpage.css +182 -0
  192. data/public/javascripts/tinymce/plugins/fullpage/editor_plugin.js +1 -0
  193. data/public/javascripts/tinymce/plugins/fullpage/editor_plugin_src.js +153 -0
  194. data/public/javascripts/tinymce/plugins/fullpage/fullpage.htm +571 -0
  195. data/public/javascripts/tinymce/plugins/fullpage/js/fullpage.js +471 -0
  196. data/public/javascripts/tinymce/plugins/fullpage/langs/en_dlg.js +85 -0
  197. data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +1 -0
  198. data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +151 -0
  199. data/public/javascripts/tinymce/plugins/fullscreen/fullscreen.htm +109 -0
  200. data/public/javascripts/tinymce/plugins/iespell/editor_plugin.js +1 -0
  201. data/public/javascripts/tinymce/plugins/iespell/editor_plugin_src.js +54 -0
  202. data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin.js +1 -0
  203. data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin_src.js +635 -0
  204. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
  205. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  206. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  207. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
  208. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  209. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  210. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  211. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +100 -0
  212. data/public/javascripts/tinymce/plugins/inlinepopups/template.htm +387 -0
  213. data/public/javascripts/tinymce/plugins/insertdatetime/editor_plugin.js +1 -0
  214. data/public/javascripts/tinymce/plugins/insertdatetime/editor_plugin_src.js +83 -0
  215. data/public/javascripts/tinymce/plugins/layer/editor_plugin.js +1 -0
  216. data/public/javascripts/tinymce/plugins/layer/editor_plugin_src.js +212 -0
  217. data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +1 -0
  218. data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +136 -0
  219. data/public/javascripts/tinymce/plugins/media/css/content.css +6 -0
  220. data/public/javascripts/tinymce/plugins/media/css/media.css +16 -0
  221. data/public/javascripts/tinymce/plugins/media/editor_plugin.js +1 -0
  222. data/public/javascripts/tinymce/plugins/media/editor_plugin_src.js +414 -0
  223. data/public/javascripts/tinymce/plugins/media/img/flash.gif +0 -0
  224. data/public/javascripts/tinymce/plugins/media/img/flv_player.swf +0 -0
  225. data/public/javascripts/tinymce/plugins/media/img/quicktime.gif +0 -0
  226. data/public/javascripts/tinymce/plugins/media/img/realmedia.gif +0 -0
  227. data/public/javascripts/tinymce/plugins/media/img/shockwave.gif +0 -0
  228. data/public/javascripts/tinymce/plugins/media/img/trans.gif +0 -0
  229. data/public/javascripts/tinymce/plugins/media/img/windowsmedia.gif +0 -0
  230. data/public/javascripts/tinymce/plugins/media/js/embed.js +73 -0
  231. data/public/javascripts/tinymce/plugins/media/js/media.js +630 -0
  232. data/public/javascripts/tinymce/plugins/media/langs/en_dlg.js +103 -0
  233. data/public/javascripts/tinymce/plugins/media/media.htm +817 -0
  234. data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js +1 -0
  235. data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js +53 -0
  236. data/public/javascripts/tinymce/plugins/noneditable/editor_plugin.js +1 -0
  237. data/public/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js +90 -0
  238. data/public/javascripts/tinymce/plugins/pagebreak/css/content.css +1 -0
  239. data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin.js +1 -0
  240. data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js +77 -0
  241. data/public/javascripts/tinymce/plugins/pagebreak/img/pagebreak.gif +0 -0
  242. data/public/javascripts/tinymce/plugins/pagebreak/img/trans.gif +0 -0
  243. data/public/javascripts/tinymce/plugins/paste/editor_plugin.js +1 -0
  244. data/public/javascripts/tinymce/plugins/paste/editor_plugin_src.js +952 -0
  245. data/public/javascripts/tinymce/plugins/paste/js/pastetext.js +36 -0
  246. data/public/javascripts/tinymce/plugins/paste/js/pasteword.js +51 -0
  247. data/public/javascripts/tinymce/plugins/paste/langs/en_dlg.js +5 -0
  248. data/public/javascripts/tinymce/plugins/paste/pastetext.htm +27 -0
  249. data/public/javascripts/tinymce/plugins/paste/pasteword.htm +21 -0
  250. data/public/javascripts/tinymce/plugins/pdw/editor_plugin.js +4 -0
  251. data/public/javascripts/tinymce/plugins/pdw/editor_plugin_src.js +158 -0
  252. data/public/javascripts/tinymce/plugins/pdw/img/toolbars.gif +0 -0
  253. data/public/javascripts/tinymce/plugins/pdw/langs/en.js +3 -0
  254. data/public/javascripts/tinymce/plugins/pdw/langs/nl.js +3 -0
  255. data/public/javascripts/tinymce/plugins/preview/editor_plugin.js +1 -0
  256. data/public/javascripts/tinymce/plugins/preview/editor_plugin_src.js +53 -0
  257. data/public/javascripts/tinymce/plugins/preview/example.html +28 -0
  258. data/public/javascripts/tinymce/plugins/preview/jscripts/embed.js +73 -0
  259. data/public/javascripts/tinymce/plugins/preview/preview.html +17 -0
  260. data/public/javascripts/tinymce/plugins/print/editor_plugin.js +1 -0
  261. data/public/javascripts/tinymce/plugins/print/editor_plugin_src.js +34 -0
  262. data/public/javascripts/tinymce/plugins/save/editor_plugin.js +1 -0
  263. data/public/javascripts/tinymce/plugins/save/editor_plugin_src.js +101 -0
  264. data/public/javascripts/tinymce/plugins/searchreplace/css/searchreplace.css +6 -0
  265. data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin.js +1 -0
  266. data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin_src.js +57 -0
  267. data/public/javascripts/tinymce/plugins/searchreplace/js/searchreplace.js +138 -0
  268. data/public/javascripts/tinymce/plugins/searchreplace/langs/en_dlg.js +16 -0
  269. data/public/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +99 -0
  270. data/public/javascripts/tinymce/plugins/spellchecker/css/content.css +1 -0
  271. data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +1 -0
  272. data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +417 -0
  273. data/public/javascripts/tinymce/plugins/spellchecker/img/wline.gif +0 -0
  274. data/public/javascripts/tinymce/plugins/style/css/props.css +13 -0
  275. data/public/javascripts/tinymce/plugins/style/editor_plugin.js +1 -0
  276. data/public/javascripts/tinymce/plugins/style/editor_plugin_src.js +55 -0
  277. data/public/javascripts/tinymce/plugins/style/js/props.js +641 -0
  278. data/public/javascripts/tinymce/plugins/style/langs/en_dlg.js +63 -0
  279. data/public/javascripts/tinymce/plugins/style/props.htm +723 -0
  280. data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +1 -0
  281. data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +112 -0
  282. data/public/javascripts/tinymce/plugins/table/cell.htm +178 -0
  283. data/public/javascripts/tinymce/plugins/table/css/cell.css +17 -0
  284. data/public/javascripts/tinymce/plugins/table/css/row.css +25 -0
  285. data/public/javascripts/tinymce/plugins/table/css/table.css +13 -0
  286. data/public/javascripts/tinymce/plugins/table/editor_plugin.js +1 -0
  287. data/public/javascripts/tinymce/plugins/table/editor_plugin_src.js +1139 -0
  288. data/public/javascripts/tinymce/plugins/table/js/cell.js +286 -0
  289. data/public/javascripts/tinymce/plugins/table/js/merge_cells.js +27 -0
  290. data/public/javascripts/tinymce/plugins/table/js/row.js +237 -0
  291. data/public/javascripts/tinymce/plugins/table/js/table.js +454 -0
  292. data/public/javascripts/tinymce/plugins/table/langs/en_dlg.js +74 -0
  293. data/public/javascripts/tinymce/plugins/table/merge_cells.htm +32 -0
  294. data/public/javascripts/tinymce/plugins/table/row.htm +155 -0
  295. data/public/javascripts/tinymce/plugins/table/table.htm +187 -0
  296. data/public/javascripts/tinymce/plugins/template/blank.htm +12 -0
  297. data/public/javascripts/tinymce/plugins/template/css/template.css +23 -0
  298. data/public/javascripts/tinymce/plugins/template/editor_plugin.js +1 -0
  299. data/public/javascripts/tinymce/plugins/template/editor_plugin_src.js +159 -0
  300. data/public/javascripts/tinymce/plugins/template/js/template.js +106 -0
  301. data/public/javascripts/tinymce/plugins/template/langs/en_dlg.js +15 -0
  302. data/public/javascripts/tinymce/plugins/template/template.htm +31 -0
  303. data/public/javascripts/tinymce/plugins/visualchars/editor_plugin.js +1 -0
  304. data/public/javascripts/tinymce/plugins/visualchars/editor_plugin_src.js +83 -0
  305. data/public/javascripts/tinymce/plugins/wordcount/editor_plugin.js +1 -0
  306. data/public/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +98 -0
  307. data/public/javascripts/tinymce/plugins/xhtmlxtras/abbr.htm +141 -0
  308. data/public/javascripts/tinymce/plugins/xhtmlxtras/acronym.htm +141 -0
  309. data/public/javascripts/tinymce/plugins/xhtmlxtras/attributes.htm +148 -0
  310. data/public/javascripts/tinymce/plugins/xhtmlxtras/cite.htm +141 -0
  311. data/public/javascripts/tinymce/plugins/xhtmlxtras/css/attributes.css +11 -0
  312. data/public/javascripts/tinymce/plugins/xhtmlxtras/css/popup.css +9 -0
  313. data/public/javascripts/tinymce/plugins/xhtmlxtras/del.htm +161 -0
  314. data/public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin.js +1 -0
  315. data/public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin_src.js +132 -0
  316. data/public/javascripts/tinymce/plugins/xhtmlxtras/ins.htm +161 -0
  317. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/abbr.js +28 -0
  318. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/acronym.js +28 -0
  319. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/attributes.js +126 -0
  320. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/cite.js +28 -0
  321. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/del.js +53 -0
  322. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/element_common.js +231 -0
  323. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/ins.js +52 -0
  324. data/public/javascripts/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
  325. data/public/javascripts/tinymce/themes/advanced/about.htm +54 -0
  326. data/public/javascripts/tinymce/themes/advanced/anchor.htm +26 -0
  327. data/public/javascripts/tinymce/themes/advanced/charmap.htm +52 -0
  328. data/public/javascripts/tinymce/themes/advanced/color_picker.htm +73 -0
  329. data/public/javascripts/tinymce/themes/advanced/editor_template.js +1 -0
  330. data/public/javascripts/tinymce/themes/advanced/editor_template_src.js +1229 -0
  331. data/public/javascripts/tinymce/themes/advanced/image.htm +80 -0
  332. data/public/javascripts/tinymce/themes/advanced/img/colorpicker.jpg +0 -0
  333. data/public/javascripts/tinymce/themes/advanced/img/icons.gif +0 -0
  334. data/public/javascripts/tinymce/themes/advanced/js/about.js +72 -0
  335. data/public/javascripts/tinymce/themes/advanced/js/anchor.js +37 -0
  336. data/public/javascripts/tinymce/themes/advanced/js/charmap.js +335 -0
  337. data/public/javascripts/tinymce/themes/advanced/js/color_picker.js +253 -0
  338. data/public/javascripts/tinymce/themes/advanced/js/image.js +245 -0
  339. data/public/javascripts/tinymce/themes/advanced/js/link.js +156 -0
  340. data/public/javascripts/tinymce/themes/advanced/js/source_editor.js +56 -0
  341. data/public/javascripts/tinymce/themes/advanced/langs/en.js +62 -0
  342. data/public/javascripts/tinymce/themes/advanced/langs/en_dlg.js +51 -0
  343. data/public/javascripts/tinymce/themes/advanced/link.htm +58 -0
  344. data/public/javascripts/tinymce/themes/advanced/skins/default/content.css +36 -0
  345. data/public/javascripts/tinymce/themes/advanced/skins/default/dialog.css +117 -0
  346. data/public/javascripts/tinymce/themes/advanced/skins/default/img/buttons.png +0 -0
  347. data/public/javascripts/tinymce/themes/advanced/skins/default/img/items.gif +0 -0
  348. data/public/javascripts/tinymce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  349. data/public/javascripts/tinymce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  350. data/public/javascripts/tinymce/themes/advanced/skins/default/img/progress.gif +0 -0
  351. data/public/javascripts/tinymce/themes/advanced/skins/default/img/tabs.gif +0 -0
  352. data/public/javascripts/tinymce/themes/advanced/skins/default/ui.css +213 -0
  353. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/content.css +36 -0
  354. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +116 -0
  355. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  356. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  357. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  358. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css +215 -0
  359. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_black.css +8 -0
  360. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
  361. data/public/javascripts/tinymce/themes/advanced/source_editor.htm +25 -0
  362. data/public/javascripts/tinymce/themes/simple/editor_template.js +1 -0
  363. data/public/javascripts/tinymce/themes/simple/editor_template_src.js +85 -0
  364. data/public/javascripts/tinymce/themes/simple/img/icons.gif +0 -0
  365. data/public/javascripts/tinymce/themes/simple/langs/en.js +11 -0
  366. data/public/javascripts/tinymce/themes/simple/skins/default/content.css +25 -0
  367. data/public/javascripts/tinymce/themes/simple/skins/default/ui.css +32 -0
  368. data/public/javascripts/tinymce/themes/simple/skins/o2k7/content.css +17 -0
  369. data/public/javascripts/tinymce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  370. data/public/javascripts/tinymce/themes/simple/skins/o2k7/ui.css +35 -0
  371. data/public/javascripts/tinymce/tiny_mce.js +1 -0
  372. data/public/javascripts/tinymce/tiny_mce_popup.js +5 -0
  373. data/public/javascripts/tinymce/tiny_mce_src.js +13394 -0
  374. data/public/javascripts/tinymce/utils/editable_selects.js +70 -0
  375. data/public/javascripts/tinymce/utils/form_utils.js +200 -0
  376. data/public/javascripts/tinymce/utils/mctabs.js +77 -0
  377. data/public/javascripts/tinymce/utils/validate.js +220 -0
  378. data/public/stylesheets/cable.css +862 -0
  379. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/ie.css +0 -0
  380. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/buttons/icons/cross.png +0 -0
  381. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/buttons/icons/key.png +0 -0
  382. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/buttons/icons/tick.png +0 -0
  383. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/buttons/readme.txt +0 -0
  384. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/buttons/screen.css +0 -0
  385. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/fancy-type/readme.txt +0 -0
  386. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/fancy-type/screen.css +0 -0
  387. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/doc.png +0 -0
  388. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/email.png +0 -0
  389. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/external.png +0 -0
  390. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/feed.png +0 -0
  391. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/im.png +0 -0
  392. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  393. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/visited.png +0 -0
  394. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/xls.png +0 -0
  395. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/readme.txt +0 -0
  396. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/screen.css +0 -0
  397. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/rtl/readme.txt +0 -0
  398. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/rtl/screen.css +0 -0
  399. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/print.css +0 -0
  400. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/screen.css +0 -0
  401. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/forms.css +0 -0
  402. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/grid.css +0 -0
  403. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/grid.png +0 -0
  404. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/ie.css +0 -0
  405. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/print.css +0 -0
  406. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/reset.css +0 -0
  407. data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/typography.css +0 -0
  408. data/public/stylesheets/columnview.css +61 -0
  409. data/public/stylesheets/formtastic.css +148 -0
  410. data/public/stylesheets/formtastic_changes.css +66 -0
  411. data/public/stylesheets/iphone_checkboxes.css +76 -0
  412. data/public/stylesheets/ui/aristo/aristo.css +524 -0
  413. data/public/stylesheets/ui/aristo/icons.psd +0 -0
  414. data/public/stylesheets/ui/aristo/images/button_bg.png +0 -0
  415. data/public/stylesheets/ui/aristo/images/datepicker.gif +0 -0
  416. data/public/stylesheets/ui/aristo/images/icon_sprite.png +0 -0
  417. data/public/stylesheets/ui/aristo/images/progress_bar.gif +0 -0
  418. data/public/stylesheets/ui/aristo/images/right-arrow.png +0 -0
  419. data/public/stylesheets/ui/aristo/images/slider_h_bg.gif +0 -0
  420. data/public/stylesheets/ui/aristo/images/slider_handles.png +0 -0
  421. data/public/stylesheets/ui/aristo/images/slider_v_bg.gif +0 -0
  422. data/public/stylesheets/ui/aristo/images/tab_bg.gif +0 -0
  423. data/public/stylesheets/ui/aristo/images/the_gradient.gif +0 -0
  424. data/public/stylesheets/ui/aristo/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  425. data/public/stylesheets/ui/aristo/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  426. data/public/stylesheets/ui/aristo/images/ui-bg_flat_10_000000_40x100.png +0 -0
  427. data/public/stylesheets/ui/aristo/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  428. data/public/stylesheets/ui/aristo/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  429. data/public/stylesheets/ui/aristo/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  430. data/public/stylesheets/ui/aristo/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  431. data/public/stylesheets/ui/aristo/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  432. data/public/stylesheets/ui/aristo/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  433. data/public/stylesheets/ui/aristo/images/ui-icons_222222_256x240.png +0 -0
  434. data/public/stylesheets/ui/aristo/images/ui-icons_228ef1_256x240.png +0 -0
  435. data/public/stylesheets/ui/aristo/images/ui-icons_ef8c08_256x240.png +0 -0
  436. data/public/stylesheets/ui/aristo/images/ui-icons_ffd27a_256x240.png +0 -0
  437. data/public/stylesheets/ui/aristo/images/ui-icons_ffffff_256x240.png +0 -0
  438. data/public/stylesheets/ui/images/sprite-aristo.png +0 -0
  439. data/public/stylesheets/ui/images/uniform/sprite.png +0 -0
  440. data/public/stylesheets/ui/uniform/uniform.aristo.css +470 -0
  441. data/public/stylesheets/ui/uniform/uniform.default.css +477 -0
  442. metadata +473 -131
  443. data/app/models/cable/global_setting.rb +0 -3
  444. data/app/views/cable/admin/index.html.erb +0 -2
  445. data/app/views/cable/layouts/admin.html.erb +0 -49
  446. data/lib/generators/cable/controllers_generator.rb +0 -21
  447. data/lib/generators/cable/templates/admin_navigation.rb +0 -5
  448. data/lib/generators/cable/templates/javascripts/admin.js +0 -24
  449. data/lib/generators/cable/templates/javascripts/wymeditor/GPL-license.txt +0 -278
  450. data/lib/generators/cable/templates/javascripts/wymeditor/MIT-license.txt +0 -20
  451. data/lib/generators/cable/templates/javascripts/wymeditor/README +0 -33
  452. data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-blockquote.png +0 -0
  453. data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-h1.png +0 -0
  454. data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-h2.png +0 -0
  455. data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-h3.png +0 -0
  456. data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-h4.png +0 -0
  457. data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-h5.png +0 -0
  458. data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-h6.png +0 -0
  459. data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-p.png +0 -0
  460. data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-pre.png +0 -0
  461. data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/wymiframe.css +0 -93
  462. data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/wymiframe.html +0 -26
  463. data/lib/generators/cable/templates/javascripts/wymeditor/jquery.wymeditor.js +0 -4724
  464. data/lib/generators/cable/templates/javascripts/wymeditor/jquery.wymeditor.min.js +0 -1
  465. data/lib/generators/cable/templates/javascripts/wymeditor/jquery.wymeditor.pack.js +0 -1
  466. data/lib/generators/cable/templates/javascripts/wymeditor/lang/bg.js +0 -45
  467. data/lib/generators/cable/templates/javascripts/wymeditor/lang/ca.js +0 -45
  468. data/lib/generators/cable/templates/javascripts/wymeditor/lang/cs.js +0 -45
  469. data/lib/generators/cable/templates/javascripts/wymeditor/lang/cy.js +0 -45
  470. data/lib/generators/cable/templates/javascripts/wymeditor/lang/de.js +0 -45
  471. data/lib/generators/cable/templates/javascripts/wymeditor/lang/en.js +0 -46
  472. data/lib/generators/cable/templates/javascripts/wymeditor/lang/es.js +0 -45
  473. data/lib/generators/cable/templates/javascripts/wymeditor/lang/fa.js +0 -46
  474. data/lib/generators/cable/templates/javascripts/wymeditor/lang/fi.js +0 -44
  475. data/lib/generators/cable/templates/javascripts/wymeditor/lang/fr.js +0 -45
  476. data/lib/generators/cable/templates/javascripts/wymeditor/lang/gl.js +0 -45
  477. data/lib/generators/cable/templates/javascripts/wymeditor/lang/he.js +0 -45
  478. data/lib/generators/cable/templates/javascripts/wymeditor/lang/hr.js +0 -45
  479. data/lib/generators/cable/templates/javascripts/wymeditor/lang/hu.js +0 -45
  480. data/lib/generators/cable/templates/javascripts/wymeditor/lang/it.js +0 -45
  481. data/lib/generators/cable/templates/javascripts/wymeditor/lang/ja.js +0 -44
  482. data/lib/generators/cable/templates/javascripts/wymeditor/lang/nb.js +0 -45
  483. data/lib/generators/cable/templates/javascripts/wymeditor/lang/nl.js +0 -45
  484. data/lib/generators/cable/templates/javascripts/wymeditor/lang/nn.js +0 -45
  485. data/lib/generators/cable/templates/javascripts/wymeditor/lang/pl.js +0 -45
  486. data/lib/generators/cable/templates/javascripts/wymeditor/lang/pt-br.js +0 -45
  487. data/lib/generators/cable/templates/javascripts/wymeditor/lang/pt.js +0 -45
  488. data/lib/generators/cable/templates/javascripts/wymeditor/lang/ru.js +0 -45
  489. data/lib/generators/cable/templates/javascripts/wymeditor/lang/sv.js +0 -46
  490. data/lib/generators/cable/templates/javascripts/wymeditor/lang/tr.js +0 -45
  491. data/lib/generators/cable/templates/javascripts/wymeditor/lang/zh_cn.js +0 -47
  492. data/lib/generators/cable/templates/javascripts/wymeditor/plugins/embed/jquery.wymeditor.embed.js +0 -52
  493. data/lib/generators/cable/templates/javascripts/wymeditor/plugins/fullscreen/icon_fullscreen.gif +0 -0
  494. data/lib/generators/cable/templates/javascripts/wymeditor/plugins/fullscreen/jquery.wymeditor.fullscreen.js +0 -127
  495. data/lib/generators/cable/templates/javascripts/wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js +0 -57
  496. data/lib/generators/cable/templates/javascripts/wymeditor/plugins/mediabrowser/browser.png +0 -0
  497. data/lib/generators/cable/templates/javascripts/wymeditor/plugins/mediabrowser/jquery.wymeditor.mediabrowser.js +0 -115
  498. data/lib/generators/cable/templates/javascripts/wymeditor/plugins/resizable/jquery.wymeditor.resizable.js +0 -91
  499. data/lib/generators/cable/templates/javascripts/wymeditor/plugins/resizable/readme.txt +0 -124
  500. data/lib/generators/cable/templates/javascripts/wymeditor/plugins/tidy/README +0 -19
  501. data/lib/generators/cable/templates/javascripts/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js +0 -82
  502. data/lib/generators/cable/templates/javascripts/wymeditor/plugins/tidy/tidy.php +0 -36
  503. data/lib/generators/cable/templates/javascripts/wymeditor/plugins/tidy/wand.png +0 -0
  504. data/lib/generators/cable/templates/javascripts/wymeditor/skins/compact/icons.png +0 -0
  505. data/lib/generators/cable/templates/javascripts/wymeditor/skins/compact/skin.css +0 -134
  506. data/lib/generators/cable/templates/javascripts/wymeditor/skins/compact/skin.js +0 -35
  507. data/lib/generators/cable/templates/javascripts/wymeditor/skins/default/icons.png +0 -0
  508. data/lib/generators/cable/templates/javascripts/wymeditor/skins/default/skin.css +0 -158
  509. data/lib/generators/cable/templates/javascripts/wymeditor/skins/default/skin.js +0 -40
  510. data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/images/bg.header.gif +0 -0
  511. data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/images/bg.selector.silver.gif +0 -0
  512. data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/images/bg.wymeditor.png +0 -0
  513. data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/images/icons.silver.gif +0 -0
  514. data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/skin.css +0 -131
  515. data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/skin.js +0 -30
  516. data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/COPYING +0 -674
  517. data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/README +0 -27
  518. data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/images/bg.header.gif +0 -0
  519. data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/images/bg.selector.silver.gif +0 -0
  520. data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/images/bg.wymeditor.png +0 -0
  521. data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/images/icons.silver.gif +0 -0
  522. data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/skin.css +0 -297
  523. data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/skin.js +0 -61
  524. data/lib/generators/cable/templates/javascripts/wymeditor/skins/twopanels/icons.png +0 -0
  525. data/lib/generators/cable/templates/javascripts/wymeditor/skins/twopanels/skin.css +0 -134
  526. data/lib/generators/cable/templates/javascripts/wymeditor/skins/twopanels/skin.js +0 -39
  527. data/lib/generators/cable/templates/javascripts/wymeditor/skins/wymeditor_icon.png +0 -0
  528. data/lib/generators/cable/templates/stylesheets/admin.css +0 -417
@@ -1 +0,0 @@
1
- if(!WYMeditor){var WYMeditor={}}(function(){if(!window.console||!console.firebug){var b=["log","debug","info","warn","error","assert","dir","dirxml","group","groupEnd","time","timeEnd","count","trace","profile","profileEnd"];WYMeditor.console={};for(var a=0;a<b.length;++a){WYMeditor.console[b[a]]=function(){}}}else{WYMeditor.console=window.console}})();jQuery.extend(WYMeditor,{VERSION:"0.5-rc1",INSTANCES:[],STRINGS:[],SKINS:[],NAME:"name",INDEX:"{Wym_Index}",WYM_INDEX:"wym_index",BASE_PATH:"{Wym_Base_Path}",CSS_PATH:"{Wym_Css_Path}",WYM_PATH:"{Wym_Wym_Path}",SKINS_DEFAULT_PATH:"skins/",SKINS_DEFAULT_CSS:"skin.css",SKINS_DEFAULT_JS:"skin.js",LANG_DEFAULT_PATH:"lang/",IFRAME_BASE_PATH:"{Wym_Iframe_Base_Path}",IFRAME_DEFAULT:"iframe/default/",JQUERY_PATH:"{Wym_Jquery_Path}",DIRECTION:"{Wym_Direction}",LOGO:"{Wym_Logo}",TOOLS:"{Wym_Tools}",TOOLS_ITEMS:"{Wym_Tools_Items}",TOOL_NAME:"{Wym_Tool_Name}",TOOL_TITLE:"{Wym_Tool_Title}",TOOL_CLASS:"{Wym_Tool_Class}",CLASSES:"{Wym_Classes}",CLASSES_ITEMS:"{Wym_Classes_Items}",CLASS_NAME:"{Wym_Class_Name}",CLASS_TITLE:"{Wym_Class_Title}",CONTAINERS:"{Wym_Containers}",CONTAINERS_ITEMS:"{Wym_Containers_Items}",CONTAINER_NAME:"{Wym_Container_Name}",CONTAINER_TITLE:"{Wym_Containers_Title}",CONTAINER_CLASS:"{Wym_Container_Class}",HTML:"{Wym_Html}",IFRAME:"{Wym_Iframe}",STATUS:"{Wym_Status}",DIALOG_TITLE:"{Wym_Dialog_Title}",DIALOG_BODY:"{Wym_Dialog_Body}",STRING:"string",BODY:"body",DIV:"div",P:"p",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",PRE:"pre",BLOCKQUOTE:"blockquote",A:"a",BR:"br",IMG:"img",TABLE:"table",TD:"td",TH:"th",UL:"ul",OL:"ol",LI:"li",CLASS:"class",HREF:"href",SRC:"src",TITLE:"title",REL:"rel",ALT:"alt",DIALOG_LINK:"Link",DIALOG_IMAGE:"Image",DIALOG_TABLE:"Table",DIALOG_PASTE:"Paste_From_Word",BOLD:"Bold",ITALIC:"Italic",CREATE_LINK:"CreateLink",INSERT_IMAGE:"InsertImage",INSERT_TABLE:"InsertTable",INSERT_HTML:"InsertHTML",PASTE:"Paste",INDENT:"Indent",OUTDENT:"Outdent",TOGGLE_HTML:"ToggleHtml",FORMAT_BLOCK:"FormatBlock",PREVIEW:"Preview",UNLINK:"Unlink",INSERT_UNORDEREDLIST:"InsertUnorderedList",INSERT_ORDEREDLIST:"InsertOrderedList",MAIN_CONTAINERS:new Array("p","h1","h2","h3","h4","h5","h6","pre","blockquote"),BLOCKS:new Array("address","blockquote","div","dl","fieldset","form","h1","h2","h3","h4","h5","h6","hr","noscript","ol","p","pre","table","ul","dd","dt","li","tbody","td","tfoot","th","thead","tr"),KEY:{BACKSPACE:8,ENTER:13,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,CURSOR:new Array(37,38,39,40),DELETE:46},NODE:{ELEMENT:1,ATTRIBUTE:2,TEXT:3},editor:function(b,a){this._index=WYMeditor.INSTANCES.push(this)-1;this._element=b;this._options=a;this._html=jQuery(b).val();if(this._options.html){this._html=this._options.html}this._options.basePath=this._options.basePath||this.computeBasePath();this._options.skinPath=this._options.skinPath||this._options.basePath+WYMeditor.SKINS_DEFAULT_PATH+this._options.skin+"/";this._options.wymPath=this._options.wymPath||this.computeWymPath();this._options.langPath=this._options.langPath||this._options.basePath+WYMeditor.LANG_DEFAULT_PATH;this._options.iframeBasePath=this._options.iframeBasePath||this._options.basePath+WYMeditor.IFRAME_DEFAULT;this._options.jQueryPath=this._options.jQueryPath||this.computeJqueryPath();this.init()}});jQuery.fn.wymeditor=function(a){a=jQuery.extend({html:"",basePath:false,skinPath:false,wymPath:false,iframeBasePath:false,jQueryPath:false,styles:false,stylesheet:false,skin:"default",initSkin:true,loadSkin:true,lang:"en",direction:"ltr",boxHtml:"<div class='wym_box'><div class='wym_area_top'>"+WYMeditor.TOOLS+"</div><div class='wym_area_left'></div><div class='wym_area_right'>"+WYMeditor.CONTAINERS+WYMeditor.CLASSES+"</div><div class='wym_area_main'>"+WYMeditor.HTML+WYMeditor.IFRAME+WYMeditor.STATUS+"</div><div class='wym_area_bottom'>"+WYMeditor.LOGO+"</div></div>",logoHtml:"<a class='wym_wymeditor_link' href='http://www.wymeditor.org/'>WYMeditor</a>",iframeHtml:"<div class='wym_iframe wym_section'><iframe src='"+WYMeditor.IFRAME_BASE_PATH+"wymiframe.html' onload='this.contentWindow.parent.WYMeditor.INSTANCES["+WYMeditor.INDEX+"].initIframe(this)'></iframe></div>",editorStyles:[],toolsHtml:"<div class='wym_tools wym_section'><h2>{Tools}</h2><ul>"+WYMeditor.TOOLS_ITEMS+"</ul></div>",toolsItemHtml:"<li class='"+WYMeditor.TOOL_CLASS+"'><a href='#' name='"+WYMeditor.TOOL_NAME+"' title='"+WYMeditor.TOOL_TITLE+"'>"+WYMeditor.TOOL_TITLE+"</a></li>",toolsItems:[{name:"Bold",title:"Strong",css:"wym_tools_strong"},{name:"Italic",title:"Emphasis",css:"wym_tools_emphasis"},{name:"Superscript",title:"Superscript",css:"wym_tools_superscript"},{name:"Subscript",title:"Subscript",css:"wym_tools_subscript"},{name:"InsertOrderedList",title:"Ordered_List",css:"wym_tools_ordered_list"},{name:"InsertUnorderedList",title:"Unordered_List",css:"wym_tools_unordered_list"},{name:"Indent",title:"Indent",css:"wym_tools_indent"},{name:"Outdent",title:"Outdent",css:"wym_tools_outdent"},{name:"Undo",title:"Undo",css:"wym_tools_undo"},{name:"Redo",title:"Redo",css:"wym_tools_redo"},{name:"CreateLink",title:"Link",css:"wym_tools_link"},{name:"Unlink",title:"Unlink",css:"wym_tools_unlink"},{name:"InsertImage",title:"Image",css:"wym_tools_image"},{name:"InsertTable",title:"Table",css:"wym_tools_table"},{name:"Paste",title:"Paste_From_Word",css:"wym_tools_paste"},{name:"ToggleHtml",title:"HTML",css:"wym_tools_html"},{name:"Preview",title:"Preview",css:"wym_tools_preview"}],containersHtml:"<div class='wym_containers wym_section'><h2>{Containers}</h2><ul>"+WYMeditor.CONTAINERS_ITEMS+"</ul></div>",containersItemHtml:"<li class='"+WYMeditor.CONTAINER_CLASS+"'><a href='#' name='"+WYMeditor.CONTAINER_NAME+"'>"+WYMeditor.CONTAINER_TITLE+"</a></li>",containersItems:[{name:"P",title:"Paragraph",css:"wym_containers_p"},{name:"H1",title:"Heading_1",css:"wym_containers_h1"},{name:"H2",title:"Heading_2",css:"wym_containers_h2"},{name:"H3",title:"Heading_3",css:"wym_containers_h3"},{name:"H4",title:"Heading_4",css:"wym_containers_h4"},{name:"H5",title:"Heading_5",css:"wym_containers_h5"},{name:"H6",title:"Heading_6",css:"wym_containers_h6"},{name:"PRE",title:"Preformatted",css:"wym_containers_pre"},{name:"BLOCKQUOTE",title:"Blockquote",css:"wym_containers_blockquote"},{name:"TH",title:"Table_Header",css:"wym_containers_th"}],classesHtml:"<div class='wym_classes wym_section'><h2>{Classes}</h2><ul>"+WYMeditor.CLASSES_ITEMS+"</ul></div>",classesItemHtml:"<li class='wym_classes_"+WYMeditor.CLASS_NAME+"'><a href='#' name='"+WYMeditor.CLASS_NAME+"'>"+WYMeditor.CLASS_TITLE+"</a></li>",classesItems:[],statusHtml:"<div class='wym_status wym_section'><h2>{Status}</h2></div>",htmlHtml:"<div class='wym_html wym_section'><h2>{Source_Code}</h2><textarea class='wym_html_val'></textarea></div>",boxSelector:".wym_box",toolsSelector:".wym_tools",toolsListSelector:" ul",containersSelector:".wym_containers",classesSelector:".wym_classes",htmlSelector:".wym_html",iframeSelector:".wym_iframe iframe",iframeBodySelector:".wym_iframe",statusSelector:".wym_status",toolSelector:".wym_tools a",containerSelector:".wym_containers a",classSelector:".wym_classes a",htmlValSelector:".wym_html_val",hrefSelector:".wym_href",srcSelector:".wym_src",titleSelector:".wym_title",relSelector:".wym_rel",altSelector:".wym_alt",textSelector:".wym_text",rowsSelector:".wym_rows",colsSelector:".wym_cols",captionSelector:".wym_caption",summarySelector:".wym_summary",submitSelector:"form",cancelSelector:".wym_cancel",previewSelector:"",dialogTypeSelector:".wym_dialog_type",dialogLinkSelector:".wym_dialog_link",dialogImageSelector:".wym_dialog_image",dialogTableSelector:".wym_dialog_table",dialogPasteSelector:".wym_dialog_paste",dialogPreviewSelector:".wym_dialog_preview",updateSelector:".wymupdate",updateEvent:"click",dialogFeatures:"menubar=no,titlebar=no,toolbar=no,resizable=no,width=560,height=300,top=0,left=0",dialogFeaturesPreview:"menubar=no,titlebar=no,toolbar=no,resizable=no,scrollbars=yes,width=560,height=300,top=0,left=0",dialogHtml:"<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'><html dir='"+WYMeditor.DIRECTION+"'><head><link rel='stylesheet' type='text/css' media='screen' href='"+WYMeditor.CSS_PATH+"' /><title>"+WYMeditor.DIALOG_TITLE+"</title><script type='text/javascript' src='"+WYMeditor.JQUERY_PATH+"'><\/script><script type='text/javascript' src='"+WYMeditor.WYM_PATH+"'><\/script></head>"+WYMeditor.DIALOG_BODY+"</html>",dialogLinkHtml:"<body class='wym_dialog wym_dialog_link' onload='WYMeditor.INIT_DIALOG("+WYMeditor.INDEX+")'><form><fieldset><input type='hidden' class='wym_dialog_type' value='"+WYMeditor.DIALOG_LINK+"' /><legend>{Link}</legend><div class='row'><label>{URL}</label><input type='text' class='wym_href' value='' size='40' /></div><div class='row'><label>{Title}</label><input type='text' class='wym_title' value='' size='40' /></div><div class='row'><label>{Relationship}</label><input type='text' class='wym_rel' value='' size='40' /></div><div class='row row-indent'><input class='wym_submit' type='submit' value='{Submit}' /><input class='wym_cancel' type='button'value='{Cancel}' /></div></fieldset></form></body>",dialogImageHtml:"<body class='wym_dialog wym_dialog_image' onload='WYMeditor.INIT_DIALOG("+WYMeditor.INDEX+")'><form><fieldset><input type='hidden' class='wym_dialog_type' value='"+WYMeditor.DIALOG_IMAGE+"' /><legend>{Image}</legend><div class='row'><label>{URL}</label><input type='text' class='wym_src' value='' size='40' /></div><div class='row'><label>{Alternative_Text}</label><input type='text' class='wym_alt' value='' size='40' /></div><div class='row'><label>{Title}</label><input type='text' class='wym_title' value='' size='40' /></div><div class='row row-indent'><input class='wym_submit' type='submit' value='{Submit}' /><input class='wym_cancel' type='button'value='{Cancel}' /></div></fieldset></form></body>",dialogTableHtml:"<body class='wym_dialog wym_dialog_table' onload='WYMeditor.INIT_DIALOG("+WYMeditor.INDEX+")'><form><fieldset><input type='hidden' class='wym_dialog_type' value='"+WYMeditor.DIALOG_TABLE+"' /><legend>{Table}</legend><div class='row'><label>{Caption}</label><input type='text' class='wym_caption' value='' size='40' /></div><div class='row'><label>{Summary}</label><input type='text' class='wym_summary' value='' size='40' /></div><div class='row'><label>{Number_Of_Rows}</label><input type='text' class='wym_rows' value='3' size='3' /></div><div class='row'><label>{Number_Of_Cols}</label><input type='text' class='wym_cols' value='2' size='3' /></div><div class='row row-indent'><input class='wym_submit' type='submit' value='{Submit}' /><input class='wym_cancel' type='button'value='{Cancel}' /></div></fieldset></form></body>",dialogPasteHtml:"<body class='wym_dialog wym_dialog_paste' onload='WYMeditor.INIT_DIALOG("+WYMeditor.INDEX+")'><form><input type='hidden' class='wym_dialog_type' value='"+WYMeditor.DIALOG_PASTE+"' /><fieldset><legend>{Paste_From_Word}</legend><div class='row'><textarea class='wym_text' rows='10' cols='50'></textarea></div><div class='row'><input class='wym_submit' type='submit' value='{Submit}' /><input class='wym_cancel' type='button'value='{Cancel}' /></div></fieldset></form></body>",dialogPreviewHtml:"<body class='wym_dialog wym_dialog_preview' onload='WYMeditor.INIT_DIALOG("+WYMeditor.INDEX+")'></body>",dialogStyles:[],stringDelimiterLeft:"{",stringDelimiterRight:"}",preInit:null,preBind:null,postInit:null,preInitDialog:null,postInitDialog:null},a);return this.each(function(){new WYMeditor.editor(jQuery(this),a)})};jQuery.extend({wymeditors:function(a){return(WYMeditor.INSTANCES[a])}});WYMeditor.editor.prototype.init=function(){if(jQuery.browser.msie){var WymClass=new WYMeditor.WymClassExplorer(this)}else{if(jQuery.browser.mozilla){var WymClass=new WYMeditor.WymClassMozilla(this)}else{if(jQuery.browser.opera){var WymClass=new WYMeditor.WymClassOpera(this)}else{if(jQuery.browser.safari){var WymClass=new WYMeditor.WymClassSafari(this)}}}}if(WymClass){if(jQuery.isFunction(this._options.preInit)){this._options.preInit(this)}var SaxListener=new WYMeditor.XhtmlSaxListener();jQuery.extend(SaxListener,WymClass);this.parser=new WYMeditor.XhtmlParser(SaxListener);if(this._options.styles||this._options.stylesheet){this.configureEditorUsingRawCss()}this.helper=new WYMeditor.XmlHelper();for(var prop in WymClass){this[prop]=WymClass[prop]}this._box=jQuery(this._element).hide().after(this._options.boxHtml).next().addClass("wym_box_"+this._index);if(jQuery.isFunction(jQuery.fn.data)){jQuery.data(this._box.get(0),WYMeditor.WYM_INDEX,this._index);jQuery.data(this._element.get(0),WYMeditor.WYM_INDEX,this._index)}var h=WYMeditor.Helper;var iframeHtml=this._options.iframeHtml;iframeHtml=h.replaceAll(iframeHtml,WYMeditor.INDEX,this._index);iframeHtml=h.replaceAll(iframeHtml,WYMeditor.IFRAME_BASE_PATH,this._options.iframeBasePath);var boxHtml=jQuery(this._box).html();boxHtml=h.replaceAll(boxHtml,WYMeditor.LOGO,this._options.logoHtml);boxHtml=h.replaceAll(boxHtml,WYMeditor.TOOLS,this._options.toolsHtml);boxHtml=h.replaceAll(boxHtml,WYMeditor.CONTAINERS,this._options.containersHtml);boxHtml=h.replaceAll(boxHtml,WYMeditor.CLASSES,this._options.classesHtml);boxHtml=h.replaceAll(boxHtml,WYMeditor.HTML,this._options.htmlHtml);boxHtml=h.replaceAll(boxHtml,WYMeditor.IFRAME,iframeHtml);boxHtml=h.replaceAll(boxHtml,WYMeditor.STATUS,this._options.statusHtml);var aTools=eval(this._options.toolsItems);var sTools="";for(var i=0;i<aTools.length;i++){var oTool=aTools[i];if(oTool.name&&oTool.title){var sTool=this._options.toolsItemHtml}var sTool=h.replaceAll(sTool,WYMeditor.TOOL_NAME,oTool.name);sTool=h.replaceAll(sTool,WYMeditor.TOOL_TITLE,this._options.stringDelimiterLeft+oTool.title+this._options.stringDelimiterRight);sTool=h.replaceAll(sTool,WYMeditor.TOOL_CLASS,oTool.css);sTools+=sTool}boxHtml=h.replaceAll(boxHtml,WYMeditor.TOOLS_ITEMS,sTools);var aClasses=eval(this._options.classesItems);var sClasses="";for(var i=0;i<aClasses.length;i++){var oClass=aClasses[i];if(oClass.name&&oClass.title){var sClass=this._options.classesItemHtml}sClass=h.replaceAll(sClass,WYMeditor.CLASS_NAME,oClass.name);sClass=h.replaceAll(sClass,WYMeditor.CLASS_TITLE,oClass.title);sClasses+=sClass}boxHtml=h.replaceAll(boxHtml,WYMeditor.CLASSES_ITEMS,sClasses);var aContainers=eval(this._options.containersItems);var sContainers="";for(var i=0;i<aContainers.length;i++){var oContainer=aContainers[i];if(oContainer.name&&oContainer.title){var sContainer=this._options.containersItemHtml}sContainer=h.replaceAll(sContainer,WYMeditor.CONTAINER_NAME,oContainer.name);sContainer=h.replaceAll(sContainer,WYMeditor.CONTAINER_TITLE,this._options.stringDelimiterLeft+oContainer.title+this._options.stringDelimiterRight);sContainer=h.replaceAll(sContainer,WYMeditor.CONTAINER_CLASS,oContainer.css);sContainers+=sContainer}boxHtml=h.replaceAll(boxHtml,WYMeditor.CONTAINERS_ITEMS,sContainers);boxHtml=this.replaceStrings(boxHtml);jQuery(this._box).html(boxHtml);jQuery(this._box).find(this._options.htmlSelector).hide();this.loadSkin()}};WYMeditor.editor.prototype.bindEvents=function(){var wym=this;jQuery(this._box).find(this._options.toolSelector).click(function(){wym._iframe.contentWindow.focus();wym.exec(jQuery(this).attr(WYMeditor.NAME));return(false)});jQuery(this._box).find(this._options.containerSelector).click(function(){wym.container(jQuery(this).attr(WYMeditor.NAME));return(false)});jQuery(this._box).find(this._options.htmlValSelector).keyup(function(){jQuery(wym._doc.body).html(jQuery(this).val())}).focus(function(){jQuery(this).toggleClass("hasfocus")}).blur(function(){jQuery(this).toggleClass("hasfocus")});jQuery(this._box).find(this._options.classSelector).click(function(){var aClasses=eval(wym._options.classesItems);var sName=jQuery(this).attr(WYMeditor.NAME);var oClass=WYMeditor.Helper.findByName(aClasses,sName);if(oClass){var jqexpr=oClass.expr;wym.toggleClass(sName,jqexpr)}wym._iframe.contentWindow.focus();return(false)});jQuery(this._options.updateSelector).bind(this._options.updateEvent,function(){wym.update()})};WYMeditor.editor.prototype.ready=function(){return(this._doc!=null)};WYMeditor.editor.prototype.box=function(){return(this._box)};WYMeditor.editor.prototype.html=function(a){if(typeof a==="string"){jQuery(this._doc.body).html(a)}else{return(jQuery(this._doc.body).html())}};WYMeditor.editor.prototype.xhtml=function(){return this.parser.parse(this.html())};WYMeditor.editor.prototype.exec=function(b){switch(b){case WYMeditor.CREATE_LINK:var a=this.container();if(a||this._selected_image){this.dialog(WYMeditor.DIALOG_LINK)}break;case WYMeditor.INSERT_IMAGE:this.dialog(WYMeditor.DIALOG_IMAGE);break;case WYMeditor.INSERT_TABLE:this.dialog(WYMeditor.DIALOG_TABLE);break;case WYMeditor.PASTE:this.dialog(WYMeditor.DIALOG_PASTE);break;case WYMeditor.TOGGLE_HTML:this.update();this.toggleHtml();break;case WYMeditor.PREVIEW:this.dialog(WYMeditor.PREVIEW,this._options.dialogFeaturesPreview);break;default:this._exec(b);break}};WYMeditor.editor.prototype.container=function(a){if(a){var d=null;if(a.toLowerCase()==WYMeditor.TH){d=this.container();switch(d.tagName.toLowerCase()){case WYMeditor.TD:case WYMeditor.TH:break;default:var e=new Array(WYMeditor.TD,WYMeditor.TH);d=this.findUp(this.container(),e);break}if(d!=null){a=(d.tagName.toLowerCase()==WYMeditor.TD)?WYMeditor.TH:WYMeditor.TD;this.switchTo(d,a);this.update()}}else{var e=new Array(WYMeditor.P,WYMeditor.H1,WYMeditor.H2,WYMeditor.H3,WYMeditor.H4,WYMeditor.H5,WYMeditor.H6,WYMeditor.PRE,WYMeditor.BLOCKQUOTE);d=this.findUp(this.container(),e);if(d){var i=null;if(a.toLowerCase()==WYMeditor.BLOCKQUOTE){var f=this.findUp(this.container(),WYMeditor.BLOCKQUOTE);if(f==null){i=this._doc.createElement(a);d.parentNode.insertBefore(i,d);i.appendChild(d);this.setFocusToNode(i.firstChild)}else{var c=f.childNodes;var g=c.length;var b=null;if(g>0){b=c.item(0)}for(var h=0;h<g;h++){f.parentNode.insertBefore(c.item(0),f)}f.parentNode.removeChild(f);if(b){this.setFocusToNode(b)}}}else{this.switchTo(d,a)}this.update()}}}else{return(this.selected())}};WYMeditor.editor.prototype.toggleClass=function(c,b){var a=(this._selected_image?this._selected_image:jQuery(this.selected()));a=jQuery(a).parentsOrSelf(b);jQuery(a).toggleClass(c);if(!jQuery(a).attr(WYMeditor.CLASS)){jQuery(a).removeAttr(this._class)}};WYMeditor.editor.prototype.findUp=function(d,c){if(d){var e=d.tagName.toLowerCase();if(typeof(c)==WYMeditor.STRING){while(e!=c&&e!=WYMeditor.BODY){d=d.parentNode;e=d.tagName.toLowerCase()}}else{var b=false;while(!b&&e!=WYMeditor.BODY){for(var a=0;a<c.length;a++){if(e==c[a]){b=true;break}}if(!b){d=d.parentNode;e=d.tagName.toLowerCase()}}}if(e!=WYMeditor.BODY){return(d)}else{return(null)}}else{return(null)}};WYMeditor.editor.prototype.switchTo=function(c,d){var b=this._doc.createElement(d);var a=jQuery(c).html();c.parentNode.replaceChild(b,c);jQuery(b).html(a);this.setFocusToNode(b)};WYMeditor.editor.prototype.replaceStrings=function(sVal){if(!WYMeditor.STRINGS[this._options.lang]){try{eval(jQuery.ajax({url:this._options.langPath+this._options.lang+".js",async:false}).responseText)}catch(e){WYMeditor.console.error("WYMeditor: error while parsing language file.");return sVal}}for(var key in WYMeditor.STRINGS[this._options.lang]){sVal=WYMeditor.Helper.replaceAll(sVal,this._options.stringDelimiterLeft+key+this._options.stringDelimiterRight,WYMeditor.STRINGS[this._options.lang][key])}return(sVal)};WYMeditor.editor.prototype.encloseString=function(a){return(this._options.stringDelimiterLeft+a+this._options.stringDelimiterRight)};WYMeditor.editor.prototype.status=function(a){jQuery(this._box).find(this._options.statusSelector).html(a)};WYMeditor.editor.prototype.update=function(){var a;jQuery(this._doc.body).children(WYMeditor.BR).remove();a=this.xhtml();jQuery(this._element).val(a);jQuery(this._box).find(this._options.htmlValSelector).not(".hasfocus").val(a)};WYMeditor.editor.prototype.dialog=function(j,c,f){var a=c||this._wym._options.dialogFeatures;var d=window.open("","dialog",a);if(d){var b="";switch(j){case (WYMeditor.DIALOG_LINK):b=this._options.dialogLinkHtml;break;case (WYMeditor.DIALOG_IMAGE):b=this._options.dialogImageHtml;break;case (WYMeditor.DIALOG_TABLE):b=this._options.dialogTableHtml;break;case (WYMeditor.DIALOG_PASTE):b=this._options.dialogPasteHtml;break;case (WYMeditor.PREVIEW):b=this._options.dialogPreviewHtml;break;default:b=f}var e=WYMeditor.Helper;var g=this._options.dialogHtml;g=e.replaceAll(g,WYMeditor.BASE_PATH,this._options.basePath);g=e.replaceAll(g,WYMeditor.DIRECTION,this._options.direction);g=e.replaceAll(g,WYMeditor.CSS_PATH,this._options.skinPath+WYMeditor.SKINS_DEFAULT_CSS);g=e.replaceAll(g,WYMeditor.WYM_PATH,this._options.wymPath);g=e.replaceAll(g,WYMeditor.JQUERY_PATH,this._options.jQueryPath);g=e.replaceAll(g,WYMeditor.DIALOG_TITLE,this.encloseString(j));g=e.replaceAll(g,WYMeditor.DIALOG_BODY,b);g=e.replaceAll(g,WYMeditor.INDEX,this._index);g=this.replaceStrings(g);var i=d.document;i.write(g);i.close()}};WYMeditor.editor.prototype.toggleHtml=function(){jQuery(this._box).find(this._options.htmlSelector).toggle()};WYMeditor.editor.prototype.uniqueStamp=function(){var a=new Date();return("wym-"+a.getTime())};WYMeditor.editor.prototype.paste=function(g){var b=this.selected(),d="",e,f;e=g.split(new RegExp(this._newLine+"{2,}","g"));for(var c=0,a=e.length;c<a;c++){d+="<p>"+(e[c].split(this._newLine).join("<br />"))+"</p>"}if(b&&b.tagName.toLowerCase()!=WYMeditor.BODY){e=jQuery(d,this._doc).insertAfter(b);f=e[e.length-1]}else{e=jQuery(d,this._doc).appendTo(this._doc.body);f=e[e.length-1]}if(jQuery(b).text()==""){jQuery(b).remove()}jQuery("body > br",this._doc).remove();this.setFocusToNode(f)};WYMeditor.editor.prototype.insert=function(b){var c=this._iframe.contentWindow.getSelection(),a,d;if(c.focusNode!=null){a=c.getRangeAt(0);d=a.createContextualFragment(b);a.deleteContents();a.insertNode(d)}else{this.paste(b)}};WYMeditor.editor.prototype.wrap=function(b,a){this.insert(b+this._iframe.contentWindow.getSelection().toString()+a)};WYMeditor.editor.prototype.unwrap=function(){this.insert(this._iframe.contentWindow.getSelection().toString())};WYMeditor.editor.prototype.setFocusToNode=function(d,b){var a=this._doc.createRange(),c=this._iframe.contentWindow.getSelection();b=b?0:1;a.selectNodeContents(d);c.addRange(a);c.collapse(d,b);this._iframe.contentWindow.focus()};WYMeditor.editor.prototype.addCssRules=function(e,c){var b=e.styleSheets[0];if(b){for(var a=0;a<c.length;a++){var d=c[a];if(d.name&&d.css){this.addCssRule(b,d)}}}};WYMeditor.editor.prototype.computeBasePath=function(){return jQuery(jQuery.grep(jQuery("script"),function(a){return(a.src&&a.src.match(/jquery\.wymeditor(\.pack|\.min|\.packed)?\.js(\?.*)?$/))})).attr("src").replace(/jquery\.wymeditor(\.pack|\.min|\.packed)?\.js(\?.*)?$/,"")};WYMeditor.editor.prototype.computeWymPath=function(){return jQuery(jQuery.grep(jQuery("script"),function(a){return(a.src&&a.src.match(/jquery\.wymeditor(\.pack|\.min|\.packed)?\.js(\?.*)?$/))})).attr("src")};WYMeditor.editor.prototype.computeJqueryPath=function(){return jQuery(jQuery.grep(jQuery("script"),function(a){return(a.src&&a.src.match(/jquery(-(.*)){0,1}(\.pack|\.min|\.packed)?\.js(\?.*)?$/))})).attr("src")};WYMeditor.editor.prototype.computeCssPath=function(){return jQuery(jQuery.grep(jQuery("link"),function(a){return(a.href&&a.href.match(/wymeditor\/skins\/(.*)screen\.css(\?.*)?$/))})).attr("href")};WYMeditor.editor.prototype.configureEditorUsingRawCss=function(){var a=new WYMeditor.WymCssParser();if(this._options.stylesheet){a.parse(jQuery.ajax({url:this._options.stylesheet,async:false}).responseText)}else{a.parse(this._options.styles,false)}if(this._options.classesItems.length==0){this._options.classesItems=a.css_settings.classesItems}if(this._options.editorStyles.length==0){this._options.editorStyles=a.css_settings.editorStyles}if(this._options.dialogStyles.length==0){this._options.dialogStyles=a.css_settings.dialogStyles}};WYMeditor.editor.prototype.listen=function(){jQuery(this._doc.body).bind("mousedown",this.mousedown)};WYMeditor.editor.prototype.mousedown=function(a){var b=WYMeditor.INSTANCES[this.ownerDocument.title];b._selected_image=(a.target.tagName.toLowerCase()==WYMeditor.IMG)?a.target:null};WYMeditor.loadCss=function(a){var c=document.createElement("link");c.rel="stylesheet";c.href=a;var b=jQuery("head").get(0);b.appendChild(c)};WYMeditor.editor.prototype.loadSkin=function(){if(this._options.loadSkin&&!WYMeditor.SKINS[this._options.skin]){var found=false;var rExp=new RegExp(this._options.skin+"/"+WYMeditor.SKINS_DEFAULT_CSS+"$");jQuery("link").each(function(){if(this.href.match(rExp)){found=true}});if(!found){WYMeditor.loadCss(this._options.skinPath+WYMeditor.SKINS_DEFAULT_CSS)}}jQuery(this._box).addClass("wym_skin_"+this._options.skin);if(this._options.initSkin&&!WYMeditor.SKINS[this._options.skin]){eval(jQuery.ajax({url:this._options.skinPath+WYMeditor.SKINS_DEFAULT_JS,async:false}).responseText)}if(WYMeditor.SKINS[this._options.skin]&&WYMeditor.SKINS[this._options.skin].init){WYMeditor.SKINS[this._options.skin].init(this)}};WYMeditor.INIT_DIALOG=function(index){var wym=window.opener.WYMeditor.INSTANCES[index];var doc=window.document;var selected=wym.selected();var dialogType=jQuery(wym._options.dialogTypeSelector).val();var sStamp=wym.uniqueStamp();switch(dialogType){case WYMeditor.DIALOG_LINK:if(selected&&selected.tagName&&selected.tagName.toLowerCase!=WYMeditor.A){selected=jQuery(selected).parentsOrSelf(WYMeditor.A)}if(!selected&&wym._selected_image){selected=jQuery(wym._selected_image).parentsOrSelf(WYMeditor.A)}break}if(jQuery.isFunction(wym._options.preInitDialog)){wym._options.preInitDialog(wym,window)}var styles=doc.styleSheets[0];var aCss=eval(wym._options.dialogStyles);wym.addCssRules(doc,aCss);if(selected){jQuery(wym._options.hrefSelector).val(jQuery(selected).attr(WYMeditor.HREF));jQuery(wym._options.srcSelector).val(jQuery(selected).attr(WYMeditor.SRC));jQuery(wym._options.titleSelector).val(jQuery(selected).attr(WYMeditor.TITLE));jQuery(wym._options.relSelector).val(jQuery(selected).attr(WYMeditor.REL));jQuery(wym._options.altSelector).val(jQuery(selected).attr(WYMeditor.ALT))}if(wym._selected_image){jQuery(wym._options.dialogImageSelector+" "+wym._options.srcSelector).val(jQuery(wym._selected_image).attr(WYMeditor.SRC));jQuery(wym._options.dialogImageSelector+" "+wym._options.titleSelector).val(jQuery(wym._selected_image).attr(WYMeditor.TITLE));jQuery(wym._options.dialogImageSelector+" "+wym._options.altSelector).val(jQuery(wym._selected_image).attr(WYMeditor.ALT))}jQuery(wym._options.dialogLinkSelector+" "+wym._options.submitSelector).submit(function(){var sUrl=jQuery(wym._options.hrefSelector).val();if(sUrl.length>0){var link;if(selected[0]&&selected[0].tagName.toLowerCase()==WYMeditor.A){link=selected}else{wym._exec(WYMeditor.CREATE_LINK,sStamp);link=jQuery("a[href="+sStamp+"]",wym._doc.body)}link.attr(WYMeditor.HREF,sUrl).attr(WYMeditor.TITLE,jQuery(wym._options.titleSelector).val()).attr(WYMeditor.REL,jQuery(wym._options.relSelector).val())}window.close()});jQuery(wym._options.dialogImageSelector+" "+wym._options.submitSelector).submit(function(){var sUrl=jQuery(wym._options.srcSelector).val();if(sUrl.length>0){wym._exec(WYMeditor.INSERT_IMAGE,sStamp);jQuery("img[src$="+sStamp+"]",wym._doc.body).attr(WYMeditor.SRC,sUrl).attr(WYMeditor.TITLE,jQuery(wym._options.titleSelector).val()).attr(WYMeditor.ALT,jQuery(wym._options.altSelector).val())}window.close()});jQuery(wym._options.dialogTableSelector+" "+wym._options.submitSelector).submit(function(){var iRows=jQuery(wym._options.rowsSelector).val();var iCols=jQuery(wym._options.colsSelector).val();if(iRows>0&&iCols>0){var table=wym._doc.createElement(WYMeditor.TABLE);var newRow=null;var newCol=null;var sCaption=jQuery(wym._options.captionSelector).val();var newCaption=table.createCaption();newCaption.innerHTML=sCaption;for(x=0;x<iRows;x++){newRow=table.insertRow(x);for(y=0;y<iCols;y++){newRow.insertCell(y)}}jQuery(table).attr("summary",jQuery(wym._options.summarySelector).val());var node=jQuery(wym.findUp(wym.container(),WYMeditor.MAIN_CONTAINERS)).get(0);if(!node||!node.parentNode){jQuery(wym._doc.body).append(table)}else{jQuery(node).after(table)}}window.close()});jQuery(wym._options.dialogPasteSelector+" "+wym._options.submitSelector).submit(function(){var sText=jQuery(wym._options.textSelector).val();wym.paste(sText);window.close()});jQuery(wym._options.dialogPreviewSelector+" "+wym._options.previewSelector).html(wym.xhtml());jQuery(wym._options.cancelSelector).mousedown(function(){window.close()});if(jQuery.isFunction(wym._options.postInitDialog)){wym._options.postInitDialog(wym,window)}};WYMeditor.XmlHelper=function(){this._entitiesDiv=document.createElement("div");return this};WYMeditor.XmlHelper.prototype.tag=function(c,b,a){b=b||false;a=a||false;return"<"+c+(b?this.tagOptions(b):"")+(a?">":" />")};WYMeditor.XmlHelper.prototype.contentTag=function(b,c,a){a=a||false;return"<"+b+(a?this.tagOptions(a):"")+">"+c+"</"+b+">"};WYMeditor.XmlHelper.prototype.cdataSection=function(a){return"<![CDATA["+a+"]]>"};WYMeditor.XmlHelper.prototype.escapeOnce=function(a){return this._fixDoubleEscape(this.escapeEntities(a))};WYMeditor.XmlHelper.prototype._fixDoubleEscape=function(a){return a.replace(/&amp;([a-z]+|(#\d+));/ig,"&$1;")};WYMeditor.XmlHelper.prototype.tagOptions=function(b){var a=this;a._formated_options="";for(var c in b){var d="";var e=b[c];if(typeof e!="function"&&e.length>0){if(parseInt(c)==c&&typeof e=="object"){c=e.shift();e=e.pop()}if(c!=""&&e!=""){a._formated_options+=" "+c+'="'+a.escapeOnce(e)+'"'}}}return a._formated_options};WYMeditor.XmlHelper.prototype.escapeEntities=function(c,b){this._entitiesDiv.innerHTML=c;this._entitiesDiv.textContent=c;var a=this._entitiesDiv.innerHTML;if(typeof b=="undefined"){if(b!=false){a=a.replace('"',"&quot;")}if(b==true){a=a.replace('"',"&#039;")}}return a};WYMeditor.XmlHelper.prototype.parseAttributes=function(h){var a=[];var g=h.split(/((=\s*")(")("))|((=\s*\')(\')(\'))|((=\s*[^>\s]*))/g);if(g.toString()!=h){for(var d in g){var c=g[d];if(typeof c!="function"&&c.length!=0){var e=new RegExp("(\\w+)\\s*"+c);if(match=h.match(e)){var f=c.replace(/^[\s=]+/,"");var b=f.charAt(0);b=b=='"'?'"':(b=="'"?"'":"");if(b!=""){f=b=='"'?f.replace(/^"|"+$/g,""):f.replace(/^'|'+$/g,"")}h=h.replace(match[0],"");a.push([match[1],f])}}}}return a};WYMeditor.XhtmlValidator={_attributes:{core:{except:["base","head","html","meta","param","script","style","title"],attributes:["class","id","style","title","accesskey","tabindex"]},language:{except:["base","br","hr","iframe","param","script"],attributes:{dir:["ltr","rtl"],"0":"lang","1":"xml:lang"}},keyboard:{attributes:{accesskey:/^(\w){1}$/,tabindex:/^(\d)+$/}}},_events:{window:{only:["body"],attributes:["onload","onunload"]},form:{only:["form","input","textarea","select","a","label","button"],attributes:["onchange","onsubmit","onreset","onselect","onblur","onfocus"]},keyboard:{except:["base","bdo","br","frame","frameset","head","html","iframe","meta","param","script","style","title"],attributes:["onkeydown","onkeypress","onkeyup"]},mouse:{except:["base","bdo","br","head","html","meta","param","script","style","title"],attributes:["onclick","ondblclick","onmousedown","onmousemove","onmouseover","onmouseout","onmouseup"]}},_tags:{a:{attributes:{"0":"charset","1":"coords","2":"href","3":"hreflang","4":"name","5":"rel","6":"rev",shape:/^(rect|rectangle|circ|circle|poly|polygon)$/,"7":"type"}},"0":"abbr","1":"acronym","2":"address",area:{attributes:{"0":"alt","1":"coords","2":"href",nohref:/^(true|false)$/,shape:/^(rect|rectangle|circ|circle|poly|polygon)$/},required:["alt"]},"3":"b",base:{attributes:["href"],required:["href"]},bdo:{attributes:{dir:/^(ltr|rtl)$/},required:["dir"]},"4":"big",blockquote:{attributes:["cite"]},"5":"body","6":"br",button:{attributes:{disabled:/^(disabled)$/,type:/^(button|reset|submit)$/,"0":"value"},inside:"form"},"7":"caption","8":"cite","9":"code",col:{attributes:{align:/^(right|left|center|justify)$/,"0":"char","1":"charoff",span:/^(\d)+$/,valign:/^(top|middle|bottom|baseline)$/,"2":"width"},inside:"colgroup"},colgroup:{attributes:{align:/^(right|left|center|justify)$/,"0":"char","1":"charoff",span:/^(\d)+$/,valign:/^(top|middle|bottom|baseline)$/,"2":"width"}},"10":"dd",del:{attributes:{"0":"cite",datetime:/^([0-9]){8}/}},"11":"div","12":"dfn","13":"dl","14":"dt","15":"em",fieldset:{inside:"form"},form:{attributes:{"0":"action","1":"accept","2":"accept-charset","3":"enctype",method:/^(get|post)$/},required:["action"]},head:{attributes:["profile"]},"16":"h1","17":"h2","18":"h3","19":"h4","20":"h5","21":"h6","22":"hr",html:{attributes:["xmlns"]},"23":"i",img:{attributes:["alt","src","height","ismap","longdesc","usemap","width"],required:["alt","src"]},input:{attributes:{"0":"accept","1":"alt",checked:/^(checked)$/,disabled:/^(disabled)$/,maxlength:/^(\d)+$/,"2":"name",readonly:/^(readonly)$/,size:/^(\d)+$/,"3":"src",type:/^(button|checkbox|file|hidden|image|password|radio|reset|submit|text)$/,"4":"value"},inside:"form"},ins:{attributes:{"0":"cite",datetime:/^([0-9]){8}/}},"24":"kbd",label:{attributes:["for"],inside:"form"},"25":"legend","26":"li",link:{attributes:{"0":"charset","1":"href","2":"hreflang",media:/^(all|braille|print|projection|screen|speech|,|;| )+$/i,rel:/^(alternate|appendix|bookmark|chapter|contents|copyright|glossary|help|home|index|next|prev|section|start|stylesheet|subsection| |shortcut|icon)+$/i,rev:/^(alternate|appendix|bookmark|chapter|contents|copyright|glossary|help|home|index|next|prev|section|start|stylesheet|subsection| |shortcut|icon)+$/i,"3":"type"},inside:"head"},map:{attributes:["id","name"],required:["id"]},meta:{attributes:{"0":"content","http-equiv":/^(content\-type|expires|refresh|set\-cookie)$/i,"1":"name","2":"scheme"},required:["content"]},"27":"noscript",object:{attributes:["archive","classid","codebase","codetype","data","declare","height","name","standby","type","usemap","width"]},"28":"ol",optgroup:{attributes:{"0":"label",disabled:/^(disabled)$/},required:["label"]},option:{attributes:{"0":"label",disabled:/^(disabled)$/,selected:/^(selected)$/,"1":"value"},inside:"select"},"29":"p",param:{attributes:{"0":"type",valuetype:/^(data|ref|object)$/,"1":"valuetype","2":"value"},required:["name"]},"30":"pre",q:{attributes:["cite"]},"31":"samp",script:{attributes:{type:/^(text\/ecmascript|text\/javascript|text\/jscript|text\/vbscript|text\/vbs|text\/xml)$/,"0":"charset",defer:/^(defer)$/,"1":"src"},required:["type"]},select:{attributes:{disabled:/^(disabled)$/,multiple:/^(multiple)$/,"0":"name","1":"size"},inside:"form"},"32":"small","33":"span","34":"strong",style:{attributes:{"0":"type",media:/^(screen|tty|tv|projection|handheld|print|braille|aural|all)$/},required:["type"]},"35":"sub","36":"sup",table:{attributes:{"0":"border","1":"cellpadding","2":"cellspacing",frame:/^(void|above|below|hsides|lhs|rhs|vsides|box|border)$/,rules:/^(none|groups|rows|cols|all)$/,"3":"summary","4":"width"}},tbody:{attributes:{align:/^(right|left|center|justify)$/,"0":"char","1":"charoff",valign:/^(top|middle|bottom|baseline)$/}},td:{attributes:{"0":"abbr",align:/^(left|right|center|justify|char)$/,"1":"axis","2":"char","3":"charoff",colspan:/^(\d)+$/,"4":"headers",rowspan:/^(\d)+$/,scope:/^(col|colgroup|row|rowgroup)$/,valign:/^(top|middle|bottom|baseline)$/}},textarea:{attributes:["cols","rows","disabled","name","readonly"],required:["cols","rows"],inside:"form"},tfoot:{attributes:{align:/^(right|left|center|justify)$/,"0":"char","1":"charoff",valign:/^(top|middle|bottom)$/,"2":"baseline"}},th:{attributes:{"0":"abbr",align:/^(left|right|center|justify|char)$/,"1":"axis","2":"char","3":"charoff",colspan:/^(\d)+$/,"4":"headers",rowspan:/^(\d)+$/,scope:/^(col|colgroup|row|rowgroup)$/,valign:/^(top|middle|bottom|baseline)$/}},thead:{attributes:{align:/^(right|left|center|justify)$/,"0":"char","1":"charoff",valign:/^(top|middle|bottom|baseline)$/}},"37":"title",tr:{attributes:{align:/^(right|left|center|justify|char)$/,"0":"char","1":"charoff",valign:/^(top|middle|bottom|baseline)$/}},"38":"tt","39":"ul","40":"var"},skiped_attributes:[],skiped_attribute_values:[],getValidTagAttributes:function(a,b){var c={};var g=this.getPossibleTagAttributes(a);for(var e in b){var f=b[e];var d=WYMeditor.Helper;if(!d.contains(this.skiped_attributes,e)&&!d.contains(this.skiped_attribute_values,f)){if(typeof f!="function"&&d.contains(g,e)){if(this.doesAttributeNeedsValidation(a,e)){if(this.validateAttribute(a,e,f)){c[e]=f}}else{c[e]=f}}}}return c},getUniqueAttributesAndEventsForTag:function(b){var a=[];if(this._tags[b]&&this._tags[b]["attributes"]){for(k in this._tags[b]["attributes"]){a.push(parseInt(k)==k?this._tags[b]["attributes"][k]:k)}}return a},getDefaultAttributesAndEventsForTags:function(){var a=[];for(var b in this._events){a.push(this._events[b])}for(var b in this._attributes){a.push(this._attributes[b])}return a},isValidTag:function(a){if(this._tags[a]){return true}for(var b in this._tags){if(this._tags[b]==a){return true}}return false},getDefaultAttributesAndEventsForTag:function(a){var i=[];if(this.isValidTag(a)){var g=this.getDefaultAttributesAndEventsForTags();for(var d in g){var f=g[d];if(typeof f=="object"){var e=WYMeditor.Helper;if((f.except&&e.contains(f.except,a))||(f.only&&!e.contains(f.only,a))){continue}var c=f.attributes?f.attributes:f.events;for(var b in c){i.push(typeof c[b]!="string"?b:c[b])}}}}return i},doesAttributeNeedsValidation:function(a,b){return this._tags[a]&&((this._tags[a]["attributes"]&&this._tags[a]["attributes"][b])||(this._tags[a]["required"]&&WYMeditor.Helper.contains(this._tags[a]["required"],b)))},validateAttribute:function(a,b,c){if(this._tags[a]&&(this._tags[a]["attributes"]&&this._tags[a]["attributes"][b]&&c.length>0&&!c.match(this._tags[a]["attributes"][b]))||(this._tags[a]&&this._tags[a]["required"]&&WYMeditor.Helper.contains(this._tags[a]["required"],b)&&c.length==0)){return false}return typeof this._tags[a]!="undefined"},getPossibleTagAttributes:function(a){if(!this._possible_tag_attributes){this._possible_tag_attributes={}}if(!this._possible_tag_attributes[a]){this._possible_tag_attributes[a]=this.getUniqueAttributesAndEventsForTag(a).concat(this.getDefaultAttributesAndEventsForTag(a))}return this._possible_tag_attributes[a]}};WYMeditor.ParallelRegex=function(a){this._case=a;this._patterns=[];this._labels=[];this._regex=null;return this};WYMeditor.ParallelRegex.prototype.addPattern=function(c,a){a=a||true;var b=this._patterns.length;this._patterns[b]=c;this._labels[b]=a;this._regex=null};WYMeditor.ParallelRegex.prototype.match=function(c){if(this._patterns.length==0){return[false,""]}var d=c.match(this._getCompoundedRegex());if(!d){return[false,""]}var a=d[0];for(var b=1;b<d.length;b++){if(d[b]){return[this._labels[b-1],a]}}return[true,d[0]]};WYMeditor.ParallelRegex.prototype._getCompoundedRegex=function(){if(this._regex==null){for(var a=0,b=this._patterns.length;a<b;a++){this._patterns[a]="("+this._untokenizeRegex(this._tokenizeRegex(this._patterns[a]).replace(/([\/\(\)])/g,"\\$1"))+")"}this._regex=new RegExp(this._patterns.join("|"),this._getPerlMatchingFlags())}return this._regex};WYMeditor.ParallelRegex.prototype._tokenizeRegex=function(a){return a.replace(/\(\?(i|m|s|x|U)\)/,"~~~~~~Tk1$1~~~~~~").replace(/\(\?(\-[i|m|s|x|U])\)/,"~~~~~~Tk2$1~~~~~~").replace(/\(\?\=(.*)\)/,"~~~~~~Tk3$1~~~~~~").replace(/\(\?\!(.*)\)/,"~~~~~~Tk4$1~~~~~~").replace(/\(\?\<\=(.*)\)/,"~~~~~~Tk5$1~~~~~~").replace(/\(\?\<\!(.*)\)/,"~~~~~~Tk6$1~~~~~~").replace(/\(\?\:(.*)\)/,"~~~~~~Tk7$1~~~~~~")};WYMeditor.ParallelRegex.prototype._untokenizeRegex=function(a){return a.replace(/~~~~~~Tk1(.{1})~~~~~~/,"(?$1)").replace(/~~~~~~Tk2(.{2})~~~~~~/,"(?$1)").replace(/~~~~~~Tk3(.*)~~~~~~/,"(?=$1)").replace(/~~~~~~Tk4(.*)~~~~~~/,"(?!$1)").replace(/~~~~~~Tk5(.*)~~~~~~/,"(?<=$1)").replace(/~~~~~~Tk6(.*)~~~~~~/,"(?<!$1)").replace(/~~~~~~Tk7(.*)~~~~~~/,"(?:$1)")};WYMeditor.ParallelRegex.prototype._getPerlMatchingFlags=function(){return(this._case?"m":"mi")};WYMeditor.StateStack=function(a){this._stack=[a];return this};WYMeditor.StateStack.prototype.getCurrent=function(){return this._stack[this._stack.length-1]};WYMeditor.StateStack.prototype.enter=function(a){this._stack.push(a)};WYMeditor.StateStack.prototype.leave=function(){if(this._stack.length==1){return false}this._stack.pop();return true};WYMeditor.LEXER_ENTER=1;WYMeditor.LEXER_MATCHED=2;WYMeditor.LEXER_UNMATCHED=3;WYMeditor.LEXER_EXIT=4;WYMeditor.LEXER_SPECIAL=5;WYMeditor.Lexer=function(c,b,a){b=b||"accept";this._case=a||false;this._regexes={};this._parser=c;this._mode=new WYMeditor.StateStack(b);this._mode_handlers={};this._mode_handlers[b]=b;return this};WYMeditor.Lexer.prototype.addPattern=function(a,b){var b=b||"accept";if(typeof this._regexes[b]=="undefined"){this._regexes[b]=new WYMeditor.ParallelRegex(this._case)}this._regexes[b].addPattern(a);if(typeof this._mode_handlers[b]=="undefined"){this._mode_handlers[b]=b}};WYMeditor.Lexer.prototype.addEntryPattern=function(b,c,a){if(typeof this._regexes[c]=="undefined"){this._regexes[c]=new WYMeditor.ParallelRegex(this._case)}this._regexes[c].addPattern(b,a);if(typeof this._mode_handlers[a]=="undefined"){this._mode_handlers[a]=a}};WYMeditor.Lexer.prototype.addExitPattern=function(a,b){if(typeof this._regexes[b]=="undefined"){this._regexes[b]=new WYMeditor.ParallelRegex(this._case)}this._regexes[b].addPattern(a,"__exit");if(typeof this._mode_handlers[b]=="undefined"){this._mode_handlers[b]=b}};WYMeditor.Lexer.prototype.addSpecialPattern=function(b,c,a){if(typeof this._regexes[c]=="undefined"){this._regexes[c]=new WYMeditor.ParallelRegex(this._case)}this._regexes[c].addPattern(b,"_"+a);if(typeof this._mode_handlers[a]=="undefined"){this._mode_handlers[a]=a}};WYMeditor.Lexer.prototype.mapHandler=function(b,a){this._mode_handlers[b]=a};WYMeditor.Lexer.prototype.parse=function(d){if(typeof this._parser=="undefined"){return false}var e=d.length;var c;while(typeof(c=this._reduce(d))=="object"){var d=c[0];var b=c[1];var a=c[2];var f=c[3];if(!this._dispatchTokens(b,a,f)){return false}if(d==""){return true}if(d.length==e){return false}e=d.length}if(!c){return false}return this._invokeParser(d,WYMeditor.LEXER_UNMATCHED)};WYMeditor.Lexer.prototype._dispatchTokens=function(b,a,c){c=c||false;if(!this._invokeParser(b,WYMeditor.LEXER_UNMATCHED)){return false}if(typeof c=="boolean"){return this._invokeParser(a,WYMeditor.LEXER_MATCHED)}if(this._isModeEnd(c)){if(!this._invokeParser(a,WYMeditor.LEXER_EXIT)){return false}return this._mode.leave()}if(this._isSpecialMode(c)){this._mode.enter(this._decodeSpecial(c));if(!this._invokeParser(a,WYMeditor.LEXER_SPECIAL)){return false}return this._mode.leave()}this._mode.enter(c);return this._invokeParser(a,WYMeditor.LEXER_ENTER)};WYMeditor.Lexer.prototype._isModeEnd=function(a){return(a==="__exit")};WYMeditor.Lexer.prototype._isSpecialMode=function(a){return(a.substring(0,1)=="_")};WYMeditor.Lexer.prototype._decodeSpecial=function(a){return a.substring(1)};WYMeditor.Lexer.prototype._invokeParser=function(content,is_match){if(content===""){return true}var current=this._mode.getCurrent();var handler=this._mode_handlers[current];var result;eval("result = this._parser."+handler+"(content, is_match);");return result};WYMeditor.Lexer.prototype._reduce=function(c){var a=this._regexes[this._mode.getCurrent()].match(c);var b=a[1];var e=a[0];if(e){var f=c.indexOf(b);var d=c.substr(0,f);c=c.substring(f+b.length);return[c,d,b,e]}return true};WYMeditor.XhtmlLexer=function(a){jQuery.extend(this,new WYMeditor.Lexer(a,"Text"));this.mapHandler("Text","Text");this.addTokens();this.init();return this};WYMeditor.XhtmlLexer.prototype.init=function(){};WYMeditor.XhtmlLexer.prototype.addTokens=function(){this.addCommentTokens("Text");this.addScriptTokens("Text");this.addCssTokens("Text");this.addTagTokens("Text")};WYMeditor.XhtmlLexer.prototype.addCommentTokens=function(a){this.addEntryPattern("<!--",a,"Comment");this.addExitPattern("-->","Comment")};WYMeditor.XhtmlLexer.prototype.addScriptTokens=function(a){this.addEntryPattern("<script",a,"Script");this.addExitPattern("<\/script>","Script")};WYMeditor.XhtmlLexer.prototype.addCssTokens=function(a){this.addEntryPattern("<style",a,"Css");this.addExitPattern("</style>","Css")};WYMeditor.XhtmlLexer.prototype.addTagTokens=function(a){this.addSpecialPattern("<\\s*[a-z0-9:-]+\\s*>",a,"OpeningTag");this.addEntryPattern("<[a-z0-9:-]+[\\/ \\>]+",a,"OpeningTag");this.addInTagDeclarationTokens("OpeningTag");this.addSpecialPattern("</\\s*[a-z0-9:-]+\\s*>",a,"ClosingTag")};WYMeditor.XhtmlLexer.prototype.addInTagDeclarationTokens=function(a){this.addSpecialPattern("\\s+",a,"Ignore");this.addAttributeTokens(a);this.addExitPattern("/>",a);this.addExitPattern(">",a)};WYMeditor.XhtmlLexer.prototype.addAttributeTokens=function(a){this.addSpecialPattern("\\s*[a-z-_0-9]*:?[a-z-_0-9]+\\s*(?==)\\s*",a,"TagAttributes");this.addEntryPattern('=\\s*"',a,"DoubleQuotedAttribute");this.addPattern('\\\\"',"DoubleQuotedAttribute");this.addExitPattern('"',"DoubleQuotedAttribute");this.addEntryPattern("=\\s*'",a,"SingleQuotedAttribute");this.addPattern("\\\\'","SingleQuotedAttribute");this.addExitPattern("'","SingleQuotedAttribute");this.addSpecialPattern("=\\s*[^>\\s]*",a,"UnquotedAttribute")};WYMeditor.XhtmlParser=function(a,b){var b=b||"Text";this._Lexer=new WYMeditor.XhtmlLexer(this);this._Listener=a;this._mode=b;this._matches=[];this._last_match="";this._current_match="";return this};WYMeditor.XhtmlParser.prototype.parse=function(a){this._Lexer.parse(this.beforeParsing(a));return this.afterParsing(this._Listener.getResult())};WYMeditor.XhtmlParser.prototype.beforeParsing=function(a){if(a.match(/class="MsoNormal"/)||a.match(/ns = "urn:schemas-microsoft-com/)){this._Listener.avoidStylingTagsAndAttributes()}return this._Listener.beforeParsing(a)};WYMeditor.XhtmlParser.prototype.afterParsing=function(a){if(this._Listener._avoiding_tags_implicitly){this._Listener.allowStylingTagsAndAttributes()}return this._Listener.afterParsing(a)};WYMeditor.XhtmlParser.prototype.Ignore=function(a,b){return true};WYMeditor.XhtmlParser.prototype.Text=function(a){this._Listener.addContent(a);return true};WYMeditor.XhtmlParser.prototype.Comment=function(b,a){return this._addNonTagBlock(b,a,"addComment")};WYMeditor.XhtmlParser.prototype.Script=function(b,a){return this._addNonTagBlock(b,a,"addScript")};WYMeditor.XhtmlParser.prototype.Css=function(b,a){return this._addNonTagBlock(b,a,"addCss")};WYMeditor.XhtmlParser.prototype._addNonTagBlock=function(a,c,b){switch(c){case WYMeditor.LEXER_ENTER:this._non_tag=a;break;case WYMeditor.LEXER_UNMATCHED:this._non_tag+=a;break;case WYMeditor.LEXER_EXIT:switch(b){case"addComment":this._Listener.addComment(this._non_tag+a);break;case"addScript":this._Listener.addScript(this._non_tag+a);break;case"addCss":this._Listener.addCss(this._non_tag+a);break}}return true};WYMeditor.XhtmlParser.prototype.OpeningTag=function(a,b){switch(b){case WYMeditor.LEXER_ENTER:this._tag=this.normalizeTag(a);this._tag_attributes={};break;case WYMeditor.LEXER_SPECIAL:this._callOpenTagListener(this.normalizeTag(a));break;case WYMeditor.LEXER_EXIT:this._callOpenTagListener(this._tag,this._tag_attributes)}return true};WYMeditor.XhtmlParser.prototype.ClosingTag=function(a,b){this._callCloseTagListener(this.normalizeTag(a));return true};WYMeditor.XhtmlParser.prototype._callOpenTagListener=function(a,b){var b=b||{};this.autoCloseUnclosedBeforeNewOpening(a);if(this._Listener.isBlockTag(a)){this._Listener._tag_stack.push(a);this._Listener.fixNestingBeforeOpeningBlockTag(a,b);this._Listener.openBlockTag(a,b);this._increaseOpenTagCounter(a)}else{if(this._Listener.isInlineTag(a)){this._Listener.inlineTag(a,b)}else{this._Listener.openUnknownTag(a,b);this._increaseOpenTagCounter(a)}}this._Listener.last_tag=a;this._Listener.last_tag_opened=true;this._Listener.last_tag_attributes=b};WYMeditor.XhtmlParser.prototype._callCloseTagListener=function(a){if(this._decreaseOpenTagCounter(a)){this.autoCloseUnclosedBeforeTagClosing(a);if(this._Listener.isBlockTag(a)){var b=this._Listener._tag_stack.pop();if(b==false){return}else{if(b!=a){a=b}}this._Listener.closeBlockTag(a)}else{this._Listener.closeUnknownTag(a)}}else{this._Listener.closeUnopenedTag(a)}this._Listener.last_tag=a;this._Listener.last_tag_opened=false};WYMeditor.XhtmlParser.prototype._increaseOpenTagCounter=function(a){this._Listener._open_tags[a]=this._Listener._open_tags[a]||0;this._Listener._open_tags[a]++};WYMeditor.XhtmlParser.prototype._decreaseOpenTagCounter=function(a){if(this._Listener._open_tags[a]){this._Listener._open_tags[a]--;if(this._Listener._open_tags[a]==0){this._Listener._open_tags[a]=undefined}return true}return false};WYMeditor.XhtmlParser.prototype.autoCloseUnclosedBeforeNewOpening=function(a){this._autoCloseUnclosed(a,false)};WYMeditor.XhtmlParser.prototype.autoCloseUnclosedBeforeTagClosing=function(a){this._autoCloseUnclosed(a,true)};WYMeditor.XhtmlParser.prototype._autoCloseUnclosed=function(c,d){var d=d||false;if(this._Listener._open_tags){for(var a in this._Listener._open_tags){var b=this._Listener._open_tags[a];if(b>0&&this._Listener.shouldCloseTagAutomatically(a,c,d)){this._callCloseTagListener(a,true)}}}};WYMeditor.XhtmlParser.prototype.getTagReplacements=function(){return this._Listener.getTagReplacements()};WYMeditor.XhtmlParser.prototype.normalizeTag=function(a){a=a.replace(/^([\s<\/>]*)|([\s<\/>]*)$/gm,"").toLowerCase();var b=this._Listener.getTagReplacements();if(b[a]){return b[a]}return a};WYMeditor.XhtmlParser.prototype.TagAttributes=function(a,b){if(WYMeditor.LEXER_SPECIAL==b){this._current_attribute=a}return true};WYMeditor.XhtmlParser.prototype.DoubleQuotedAttribute=function(a,b){if(WYMeditor.LEXER_UNMATCHED==b){this._tag_attributes[this._current_attribute]=a}return true};WYMeditor.XhtmlParser.prototype.SingleQuotedAttribute=function(a,b){if(WYMeditor.LEXER_UNMATCHED==b){this._tag_attributes[this._current_attribute]=a}return true};WYMeditor.XhtmlParser.prototype.UnquotedAttribute=function(a,b){this._tag_attributes[this._current_attribute]=a.replace(/^=/,"");return true};WYMeditor.XhtmlSaxListener=function(){this.output="";this.helper=new WYMeditor.XmlHelper();this._open_tags={};this.validator=WYMeditor.XhtmlValidator;this._tag_stack=[];this.avoided_tags=[];this.entities={"&nbsp;":"&#160;","&iexcl;":"&#161;","&cent;":"&#162;","&pound;":"&#163;","&curren;":"&#164;","&yen;":"&#165;","&brvbar;":"&#166;","&sect;":"&#167;","&uml;":"&#168;","&copy;":"&#169;","&ordf;":"&#170;","&laquo;":"&#171;","&not;":"&#172;","&shy;":"&#173;","&reg;":"&#174;","&macr;":"&#175;","&deg;":"&#176;","&plusmn;":"&#177;","&sup2;":"&#178;","&sup3;":"&#179;","&acute;":"&#180;","&micro;":"&#181;","&para;":"&#182;","&middot;":"&#183;","&cedil;":"&#184;","&sup1;":"&#185;","&ordm;":"&#186;","&raquo;":"&#187;","&frac14;":"&#188;","&frac12;":"&#189;","&frac34;":"&#190;","&iquest;":"&#191;","&Agrave;":"&#192;","&Aacute;":"&#193;","&Acirc;":"&#194;","&Atilde;":"&#195;","&Auml;":"&#196;","&Aring;":"&#197;","&AElig;":"&#198;","&Ccedil;":"&#199;","&Egrave;":"&#200;","&Eacute;":"&#201;","&Ecirc;":"&#202;","&Euml;":"&#203;","&Igrave;":"&#204;","&Iacute;":"&#205;","&Icirc;":"&#206;","&Iuml;":"&#207;","&ETH;":"&#208;","&Ntilde;":"&#209;","&Ograve;":"&#210;","&Oacute;":"&#211;","&Ocirc;":"&#212;","&Otilde;":"&#213;","&Ouml;":"&#214;","&times;":"&#215;","&Oslash;":"&#216;","&Ugrave;":"&#217;","&Uacute;":"&#218;","&Ucirc;":"&#219;","&Uuml;":"&#220;","&Yacute;":"&#221;","&THORN;":"&#222;","&szlig;":"&#223;","&agrave;":"&#224;","&aacute;":"&#225;","&acirc;":"&#226;","&atilde;":"&#227;","&auml;":"&#228;","&aring;":"&#229;","&aelig;":"&#230;","&ccedil;":"&#231;","&egrave;":"&#232;","&eacute;":"&#233;","&ecirc;":"&#234;","&euml;":"&#235;","&igrave;":"&#236;","&iacute;":"&#237;","&icirc;":"&#238;","&iuml;":"&#239;","&eth;":"&#240;","&ntilde;":"&#241;","&ograve;":"&#242;","&oacute;":"&#243;","&ocirc;":"&#244;","&otilde;":"&#245;","&ouml;":"&#246;","&divide;":"&#247;","&oslash;":"&#248;","&ugrave;":"&#249;","&uacute;":"&#250;","&ucirc;":"&#251;","&uuml;":"&#252;","&yacute;":"&#253;","&thorn;":"&#254;","&yuml;":"&#255;","&OElig;":"&#338;","&oelig;":"&#339;","&Scaron;":"&#352;","&scaron;":"&#353;","&Yuml;":"&#376;","&fnof;":"&#402;","&circ;":"&#710;","&tilde;":"&#732;","&Alpha;":"&#913;","&Beta;":"&#914;","&Gamma;":"&#915;","&Delta;":"&#916;","&Epsilon;":"&#917;","&Zeta;":"&#918;","&Eta;":"&#919;","&Theta;":"&#920;","&Iota;":"&#921;","&Kappa;":"&#922;","&Lambda;":"&#923;","&Mu;":"&#924;","&Nu;":"&#925;","&Xi;":"&#926;","&Omicron;":"&#927;","&Pi;":"&#928;","&Rho;":"&#929;","&Sigma;":"&#931;","&Tau;":"&#932;","&Upsilon;":"&#933;","&Phi;":"&#934;","&Chi;":"&#935;","&Psi;":"&#936;","&Omega;":"&#937;","&alpha;":"&#945;","&beta;":"&#946;","&gamma;":"&#947;","&delta;":"&#948;","&epsilon;":"&#949;","&zeta;":"&#950;","&eta;":"&#951;","&theta;":"&#952;","&iota;":"&#953;","&kappa;":"&#954;","&lambda;":"&#955;","&mu;":"&#956;","&nu;":"&#957;","&xi;":"&#958;","&omicron;":"&#959;","&pi;":"&#960;","&rho;":"&#961;","&sigmaf;":"&#962;","&sigma;":"&#963;","&tau;":"&#964;","&upsilon;":"&#965;","&phi;":"&#966;","&chi;":"&#967;","&psi;":"&#968;","&omega;":"&#969;","&thetasym;":"&#977;","&upsih;":"&#978;","&piv;":"&#982;","&ensp;":"&#8194;","&emsp;":"&#8195;","&thinsp;":"&#8201;","&zwnj;":"&#8204;","&zwj;":"&#8205;","&lrm;":"&#8206;","&rlm;":"&#8207;","&ndash;":"&#8211;","&mdash;":"&#8212;","&lsquo;":"&#8216;","&rsquo;":"&#8217;","&sbquo;":"&#8218;","&ldquo;":"&#8220;","&rdquo;":"&#8221;","&bdquo;":"&#8222;","&dagger;":"&#8224;","&Dagger;":"&#8225;","&bull;":"&#8226;","&hellip;":"&#8230;","&permil;":"&#8240;","&prime;":"&#8242;","&Prime;":"&#8243;","&lsaquo;":"&#8249;","&rsaquo;":"&#8250;","&oline;":"&#8254;","&frasl;":"&#8260;","&euro;":"&#8364;","&image;":"&#8465;","&weierp;":"&#8472;","&real;":"&#8476;","&trade;":"&#8482;","&alefsym;":"&#8501;","&larr;":"&#8592;","&uarr;":"&#8593;","&rarr;":"&#8594;","&darr;":"&#8595;","&harr;":"&#8596;","&crarr;":"&#8629;","&lArr;":"&#8656;","&uArr;":"&#8657;","&rArr;":"&#8658;","&dArr;":"&#8659;","&hArr;":"&#8660;","&forall;":"&#8704;","&part;":"&#8706;","&exist;":"&#8707;","&empty;":"&#8709;","&nabla;":"&#8711;","&isin;":"&#8712;","&notin;":"&#8713;","&ni;":"&#8715;","&prod;":"&#8719;","&sum;":"&#8721;","&minus;":"&#8722;","&lowast;":"&#8727;","&radic;":"&#8730;","&prop;":"&#8733;","&infin;":"&#8734;","&ang;":"&#8736;","&and;":"&#8743;","&or;":"&#8744;","&cap;":"&#8745;","&cup;":"&#8746;","&int;":"&#8747;","&there4;":"&#8756;","&sim;":"&#8764;","&cong;":"&#8773;","&asymp;":"&#8776;","&ne;":"&#8800;","&equiv;":"&#8801;","&le;":"&#8804;","&ge;":"&#8805;","&sub;":"&#8834;","&sup;":"&#8835;","&nsub;":"&#8836;","&sube;":"&#8838;","&supe;":"&#8839;","&oplus;":"&#8853;","&otimes;":"&#8855;","&perp;":"&#8869;","&sdot;":"&#8901;","&lceil;":"&#8968;","&rceil;":"&#8969;","&lfloor;":"&#8970;","&rfloor;":"&#8971;","&lang;":"&#9001;","&rang;":"&#9002;","&loz;":"&#9674;","&spades;":"&#9824;","&clubs;":"&#9827;","&hearts;":"&#9829;","&diams;":"&#9830;"};this.block_tags=["a","abbr","acronym","address","area","b","base","bdo","big","blockquote","body","button","caption","cite","code","col","colgroup","dd","del","div","dfn","dl","dt","em","fieldset","form","head","h1","h2","h3","h4","h5","h6","html","i","ins","kbd","label","legend","li","map","noscript","object","ol","optgroup","option","p","param","pre","q","samp","script","select","small","span","strong","style","sub","sup","table","tbody","td","textarea","tfoot","th","thead","title","tr","tt","ul","var","extends"];this.inline_tags=["br","hr","img","input"];return this};WYMeditor.XhtmlSaxListener.prototype.shouldCloseTagAutomatically=function(a,c,b){var b=b||false;if(a=="td"){if((b&&c=="tr")||(!b&&c=="td")){return true}}if(a=="option"){if((b&&c=="select")||(!b&&c=="option")){return true}}return false};WYMeditor.XhtmlSaxListener.prototype.beforeParsing=function(a){this.output="";return a};WYMeditor.XhtmlSaxListener.prototype.afterParsing=function(a){a=this.replaceNamedEntities(a);a=this.joinRepeatedEntities(a);a=this.removeEmptyTags(a);a=this.removeBrInPre(a);return a};WYMeditor.XhtmlSaxListener.prototype.replaceNamedEntities=function(b){for(var a in this.entities){b=b.replace(new RegExp(a,"g"),this.entities[a])}return b};WYMeditor.XhtmlSaxListener.prototype.joinRepeatedEntities=function(b){var a="em|strong|sub|sup|acronym|pre|del|address";return b.replace(new RegExp("</("+a+")><\\1>",""),"").replace(new RegExp("(s*<("+a+")>s*){2}(.*)(s*</\\2>s*){2}",""),"<$2>$3<$2>")};WYMeditor.XhtmlSaxListener.prototype.removeEmptyTags=function(a){return a.replace(new RegExp("<("+this.block_tags.join("|").replace(/\|td/,"").replace(/\|th/,"")+")>(<br />|&#160;|&nbsp;|\\s)*</\\1>","g"),"")};WYMeditor.XhtmlSaxListener.prototype.removeBrInPre=function(c){var b=c.match(new RegExp("<pre[^>]*>(.*?)</pre>","gmi"));if(b){for(var a=0;a<b.length;a++){c=c.replace(b[a],b[a].replace(new RegExp("<br />","g"),String.fromCharCode(13,10)))}}return c};WYMeditor.XhtmlSaxListener.prototype.getResult=function(){return this.output};WYMeditor.XhtmlSaxListener.prototype.getTagReplacements=function(){return{b:"strong",i:"em"}};WYMeditor.XhtmlSaxListener.prototype.addContent=function(a){this.output+=a};WYMeditor.XhtmlSaxListener.prototype.addComment=function(a){if(this.remove_comments){this.output+=a}};WYMeditor.XhtmlSaxListener.prototype.addScript=function(a){if(!this.remove_scripts){this.output+=a}};WYMeditor.XhtmlSaxListener.prototype.addCss=function(a){if(!this.remove_embeded_styles){this.output+=a}};WYMeditor.XhtmlSaxListener.prototype.openBlockTag=function(a,b){this.output+=this.helper.tag(a,this.validator.getValidTagAttributes(a,b),true)};WYMeditor.XhtmlSaxListener.prototype.inlineTag=function(a,b){this.output+=this.helper.tag(a,this.validator.getValidTagAttributes(a,b))};WYMeditor.XhtmlSaxListener.prototype.openUnknownTag=function(a,b){};WYMeditor.XhtmlSaxListener.prototype.closeBlockTag=function(a){this.output=this.output.replace(/<br \/>$/,"")+this._getClosingTagContent("before",a)+"</"+a+">"+this._getClosingTagContent("after",a)};WYMeditor.XhtmlSaxListener.prototype.closeUnknownTag=function(a){};WYMeditor.XhtmlSaxListener.prototype.closeUnopenedTag=function(a){this.output+="</"+a+">"};WYMeditor.XhtmlSaxListener.prototype.avoidStylingTagsAndAttributes=function(){this.avoided_tags=["div","span"];this.validator.skiped_attributes=["style"];this.validator.skiped_attribute_values=["MsoNormal","main1"];this._avoiding_tags_implicitly=true};WYMeditor.XhtmlSaxListener.prototype.allowStylingTagsAndAttributes=function(){this.avoided_tags=[];this.validator.skiped_attributes=[];this.validator.skiped_attribute_values=[];this._avoiding_tags_implicitly=false};WYMeditor.XhtmlSaxListener.prototype.isBlockTag=function(a){return !WYMeditor.Helper.contains(this.avoided_tags,a)&&WYMeditor.Helper.contains(this.block_tags,a)};WYMeditor.XhtmlSaxListener.prototype.isInlineTag=function(a){return !WYMeditor.Helper.contains(this.avoided_tags,a)&&WYMeditor.Helper.contains(this.inline_tags,a)};WYMeditor.XhtmlSaxListener.prototype.insertContentAfterClosingTag=function(a,b){this._insertContentWhenClosingTag("after",a,b)};WYMeditor.XhtmlSaxListener.prototype.insertContentBeforeClosingTag=function(a,b){this._insertContentWhenClosingTag("before",a,b)};WYMeditor.XhtmlSaxListener.prototype.fixNestingBeforeOpeningBlockTag=function(a,b){if(a!="li"&&(a=="ul"||a=="ol")&&this.last_tag&&!this.last_tag_opened&&this.last_tag=="li"){this.output=this.output.replace(/<\/li>$/,"");this.insertContentAfterClosingTag(a,"</li>")}};WYMeditor.XhtmlSaxListener.prototype._insertContentWhenClosingTag=function(b,a,c){if(!this["_insert_"+b+"_closing"]){this["_insert_"+b+"_closing"]=[]}if(!this["_insert_"+b+"_closing"][a]){this["_insert_"+b+"_closing"][a]=[]}this["_insert_"+b+"_closing"][a].push(c)};WYMeditor.XhtmlSaxListener.prototype._getClosingTagContent=function(b,a){if(this["_insert_"+b+"_closing"]&&this["_insert_"+b+"_closing"][a]&&this["_insert_"+b+"_closing"][a].length>0){return this["_insert_"+b+"_closing"][a].pop()}return""};WYMeditor.WymCssLexer=function(b,a){var a=(typeof a=="undefined"?true:a);jQuery.extend(this,new WYMeditor.Lexer(b,(a?"Ignore":"WymCss")));this.mapHandler("WymCss","Ignore");if(a==true){this.addEntryPattern("/\\\x2a[<\\s]*WYMeditor[>\\s]*\\\x2a/","Ignore","WymCss");this.addExitPattern("/\\\x2a[</\\s]*WYMeditor[>\\s]*\\\x2a/","WymCss")}this.addSpecialPattern("[\\sa-z1-6]*\\\x2e[a-z-_0-9]+","WymCss","WymCssStyleDeclaration");this.addEntryPattern("/\\\x2a","WymCss","WymCssComment");this.addExitPattern("\\\x2a/","WymCssComment");this.addEntryPattern("\x7b","WymCss","WymCssStyle");this.addExitPattern("\x7d","WymCssStyle");this.addEntryPattern("/\\\x2a","WymCssStyle","WymCssFeedbackStyle");this.addExitPattern("\\\x2a/","WymCssFeedbackStyle");return this};WYMeditor.WymCssParser=function(){this._in_style=false;this._has_title=false;this.only_wym_blocks=true;this.css_settings={classesItems:[],editorStyles:[],dialogStyles:[]};return this};WYMeditor.WymCssParser.prototype.parse=function(a,b){var b=(typeof b=="undefined"?this.only_wym_blocks:b);this._Lexer=new WYMeditor.WymCssLexer(this,b);this._Lexer.parse(a)};WYMeditor.WymCssParser.prototype.Ignore=function(a,b){return true};WYMeditor.WymCssParser.prototype.WymCssComment=function(b,a){if(b.match(/end[a-z0-9\s]*wym[a-z0-9\s]*/mi)){return false}if(a==WYMeditor.LEXER_UNMATCHED){if(!this._in_style){this._has_title=true;this._current_item={title:WYMeditor.Helper.trim(b)}}else{if(this._current_item[this._current_element]){if(!this._current_item[this._current_element].expressions){this._current_item[this._current_element].expressions=[b]}else{this._current_item[this._current_element].expressions.push(b)}}}this._in_style=true}return true};WYMeditor.WymCssParser.prototype.WymCssStyle=function(b,a){if(a==WYMeditor.LEXER_UNMATCHED){b=WYMeditor.Helper.trim(b);if(b!=""){this._current_item[this._current_element].style=b}}else{if(a==WYMeditor.LEXER_EXIT){this._in_style=false;this._has_title=false;this.addStyleSetting(this._current_item)}}return true};WYMeditor.WymCssParser.prototype.WymCssFeedbackStyle=function(b,a){if(a==WYMeditor.LEXER_UNMATCHED){this._current_item[this._current_element].feedback_style=b.replace(/^([\s\/\*]*)|([\s\/\*]*)$/gm,"")}return true};WYMeditor.WymCssParser.prototype.WymCssStyleDeclaration=function(b){b=b.replace(/^([\s\.]*)|([\s\.*]*)$/gm,"");var a="";if(b.indexOf(".")>0){var c=b.split(".");this._current_element=c[1];var a=c[0]}else{this._current_element=b}if(!this._has_title){this._current_item={title:(!a?"":a.toUpperCase()+": ")+this._current_element};this._has_title=true}if(!this._current_item[this._current_element]){this._current_item[this._current_element]={name:this._current_element}}if(a){if(!this._current_item[this._current_element].tags){this._current_item[this._current_element].tags=[a]}else{this._current_item[this._current_element].tags.push(a)}}return true};WYMeditor.WymCssParser.prototype.addStyleSetting=function(a){for(var b in a){var c=a[b];if(typeof c=="object"&&b!="title"){this.css_settings.classesItems.push({name:WYMeditor.Helper.trim(c.name),title:a.title,expr:WYMeditor.Helper.trim((c.expressions||c.tags).join(", "))});if(c.feedback_style){this.css_settings.editorStyles.push({name:"."+WYMeditor.Helper.trim(c.name),css:c.feedback_style})}if(c.style){this.css_settings.dialogStyles.push({name:"."+WYMeditor.Helper.trim(c.name),css:c.style})}}}};jQuery.fn.isPhantomNode=function(){if(this[0].nodeType==3){return !(/[^\t\n\r ]/.test(this[0].data))}return false};WYMeditor.isPhantomNode=function(a){if(a.nodeType==3){return !(/[^\t\n\r ]/.test(a.data))}return false};WYMeditor.isPhantomString=function(a){return !(/[^\t\n\r ]/.test(a))};jQuery.fn.parentsOrSelf=function(b){var a=this;if(a[0].nodeType==3){a=a.parents().slice(0,1)}if(a.filter(b).size()==1){return a}else{return a.parents(b).slice(0,1)}};WYMeditor.Helper={replaceAll:function(d,a,c){var b=new RegExp(a,"g");return(d.replace(b,c))},insertAt:function(b,a,c){return(b.substr(0,c)+a+b.substring(c))},trim:function(a){return a.replace(/^(\s*)|(\s*)$/gm,"")},contains:function(a,c){for(var b=0;b<a.length;b++){if(a[b]===c){return true}}return false},indexOf:function(a,d){var b=-1;for(var c=0;c<a.length;c++){if(a[c]==d){b=c;break}}return(b)},findByName:function(a,b){for(var c=0;c<a.length;c++){var d=a[c];if(d.name==b){return(d)}}return(null)}};WYMeditor.WymClassExplorer=function(a){this._wym=a;this._class="className";this._newLine="\r\n"};WYMeditor.WymClassExplorer.prototype.initIframe=function(iframe){this._iframe=iframe;this._doc=iframe.contentWindow.document;var styles=this._doc.styleSheets[0];var aCss=eval(this._options.editorStyles);this.addCssRules(this._doc,aCss);this._doc.title=this._wym._index;jQuery("html",this._doc).attr("dir",this._options.direction);jQuery(this._doc.body).html(this._wym._html);var wym=this;this._doc.body.onfocus=function(){wym._doc.designMode="on";wym._doc=iframe.contentWindow.document};this._doc.onbeforedeactivate=function(){wym.saveCaret()};this._doc.onkeyup=function(){wym.saveCaret();wym.keyup()};this._doc.onclick=function(){wym.saveCaret()};this._doc.body.onbeforepaste=function(){wym._iframe.contentWindow.event.returnValue=false};this._doc.body.onpaste=function(){wym._iframe.contentWindow.event.returnValue=false;wym.paste(window.clipboardData.getData("Text"))};if(this._initialized){if(jQuery.isFunction(this._options.preBind)){this._options.preBind(this)}this._wym.bindEvents();if(jQuery.isFunction(this._options.postInit)){this._options.postInit(this)}this.listen()}this._initialized=true;this._doc.designMode="on";try{this._doc=iframe.contentWindow.document}catch(e){}};(function(a){WYMeditor.WymClassExplorer.prototype.loadSkin=function(){jQuery(this._box).find(this._options.containerSelector).attr("unselectable","on");a.call(this)}})(WYMeditor.editor.prototype.loadSkin);WYMeditor.WymClassExplorer.prototype._exec=function(c,d){switch(c){case WYMeditor.INDENT:case WYMeditor.OUTDENT:var a=this.findUp(this.container(),WYMeditor.LI);if(a){var b=a.parentNode.parentNode;if(a.parentNode.childNodes.length>1||b.tagName.toLowerCase()==WYMeditor.OL||b.tagName.toLowerCase()==WYMeditor.UL){this._doc.execCommand(c)}}break;default:if(d){this._doc.execCommand(c,false,d)}else{this._doc.execCommand(c)}break}};WYMeditor.WymClassExplorer.prototype.selected=function(){var a=this._iframe.contentWindow.document.caretPos;if(a!=null){if(a.parentElement!=undefined){return(a.parentElement())}}};WYMeditor.WymClassExplorer.prototype.saveCaret=function(){this._doc.caretPos=this._doc.selection.createRange()};WYMeditor.WymClassExplorer.prototype.addCssRule=function(c,d){var b=d.name.split(",");for(var a in b){c.addRule(b[a],d.css)}};WYMeditor.WymClassExplorer.prototype.insert=function(b){var a=this._doc.selection.createRange();if(jQuery(a.parentElement()).parents(this._options.iframeBodySelector).is("*")){try{a.pasteHTML(b)}catch(c){}}else{this.paste(b)}};WYMeditor.WymClassExplorer.prototype.wrap=function(d,b){var a=this._doc.selection.createRange();if(jQuery(a.parentElement()).parents(this._options.iframeBodySelector).is("*")){try{a.pasteHTML(d+a.text+b)}catch(c){}}};WYMeditor.WymClassExplorer.prototype.unwrap=function(){var a=this._doc.selection.createRange();if(jQuery(a.parentElement()).parents(this._options.iframeBodySelector).is("*")){try{var c=a.text;this._exec("Cut");a.pasteHTML(c)}catch(b){}}};WYMeditor.WymClassExplorer.prototype.keyup=function(){this._selected_image=null};WYMeditor.WymClassExplorer.prototype.setFocusToNode=function(c,b){var a=this._doc.selection.createRange();b=b?true:false;a.moveToElementText(c);a.collapse(b);a.select();c.focus()};WYMeditor.WymClassMozilla=function(a){this._wym=a;this._class="class";this._newLine="\n"};WYMeditor.WymClassMozilla.prototype.initIframe=function(iframe){var wym=this;this._iframe=iframe;this._doc=iframe.contentDocument;var styles=this._doc.styleSheets[0];var aCss=eval(this._options.editorStyles);this.addCssRules(this._doc,aCss);this._doc.title=this._wym._index;jQuery("html",this._doc).attr("dir",this._options.direction);this.html(this._wym._html);this.enableDesignMode();if(jQuery.isFunction(this._options.preBind)){this._options.preBind(this)}this._wym.bindEvents();jQuery(this._doc).bind("keydown",this.keydown);jQuery(this._doc).bind("keyup",this.keyup);jQuery(this._doc).bind("focus",function(){wym.enableDesignMode.call(wym)});if(jQuery.isFunction(this._options.postInit)){this._options.postInit(this)}this.listen()};WYMeditor.WymClassMozilla.prototype.html=function(a){if(typeof a==="string"){try{this._doc.designMode="off"}catch(b){}a=a.replace(/<em(\b[^>]*)>/gi,"<i$1>").replace(/<\/em>/gi,"</i>").replace(/<strong(\b[^>]*)>/gi,"<b$1>").replace(/<\/strong>/gi,"</b>");jQuery(this._doc.body).html(a);this.enableDesignMode()}else{return(jQuery(this._doc.body).html())}};WYMeditor.WymClassMozilla.prototype._exec=function(e,g){if(!this.selected()){return(false)}switch(e){case WYMeditor.INDENT:case WYMeditor.OUTDENT:var f=this.selected();var d=this._iframe.contentWindow.getSelection();var b=d.anchorNode;if(b.nodeName=="#text"){b=b.parentNode}f=this.findUp(f,WYMeditor.BLOCKS);b=this.findUp(b,WYMeditor.BLOCKS);if(f&&f==b&&f.tagName.toLowerCase()==WYMeditor.LI){var c=f.parentNode.parentNode;if(f.parentNode.childNodes.length>1||c.tagName.toLowerCase()==WYMeditor.OL||c.tagName.toLowerCase()==WYMeditor.UL){this._doc.execCommand(e,"",null)}}break;default:if(g){this._doc.execCommand(e,"",g)}else{this._doc.execCommand(e,"",null)}}var a=this.selected();if(a.tagName.toLowerCase()==WYMeditor.BODY){this._exec(WYMeditor.FORMAT_BLOCK,WYMeditor.P)}};WYMeditor.WymClassMozilla.prototype.selected=function(){var b=this._iframe.contentWindow.getSelection();var a=b.focusNode;if(a){if(a.nodeName=="#text"){return(a.parentNode)}else{return(a)}}else{return(null)}};WYMeditor.WymClassMozilla.prototype.addCssRule=function(a,b){a.insertRule(b.name+" {"+b.css+"}",a.cssRules.length)};WYMeditor.WymClassMozilla.prototype.keydown=function(b){var c=WYMeditor.INSTANCES[this.title];var a=null;if(b.ctrlKey){if(b.keyCode==66){c._exec(WYMeditor.BOLD);return false}if(b.keyCode==73){c._exec(WYMeditor.ITALIC);return false}}else{if(b.keyCode==13){if(!b.shiftKey){a=c.selected();if(a&&a.tagName.toLowerCase()==WYMeditor.PRE){b.preventDefault();c.insert("<p></p>")}}}}};WYMeditor.WymClassMozilla.prototype.keyup=function(b){var d=WYMeditor.INSTANCES[this.title];d._selected_image=null;var a=null;if(b.keyCode==13&&!b.shiftKey){jQuery(d._doc.body).children(WYMeditor.BR).remove()}if(b.keyCode!=8&&b.keyCode!=17&&b.keyCode!=46&&b.keyCode!=224&&!b.metaKey&&!b.ctrlKey){a=d.selected();var c=a.tagName.toLowerCase();if(c=="strong"||c=="b"||c=="em"||c=="i"||c=="sub"||c=="sup"||c=="a"){c=a.parentNode.tagName.toLowerCase()}if(c==WYMeditor.BODY){d._exec(WYMeditor.FORMAT_BLOCK,WYMeditor.P)}}};WYMeditor.WymClassMozilla.prototype.enableDesignMode=function(){if(this._doc.designMode=="off"){try{this._doc.designMode="on";this._doc.execCommand("styleWithCSS","",false)}catch(a){}}};WYMeditor.WymClassMozilla.prototype.openBlockTag=function(a,c){var c=this.validator.getValidTagAttributes(a,c);if(a=="span"&&c.style){var b=this.getTagForStyle(c.style);if(b){a=b;this._tag_stack.pop();this._tag_stack.push(a);c.style=""}}this.output+=this.helper.tag(a,c,true)};WYMeditor.WymClassMozilla.prototype.getTagForStyle=function(a){if(/bold/.test(a)){return"strong"}if(/italic/.test(a)){return"em"}if(/sub/.test(a)){return"sub"}if(/super/.test(a)){return"sup"}return false};WYMeditor.WymClassOpera=function(a){this._wym=a;this._class="class";this._newLine="\r\n"};WYMeditor.WymClassOpera.prototype.initIframe=function(iframe){this._iframe=iframe;this._doc=iframe.contentWindow.document;var styles=this._doc.styleSheets[0];var aCss=eval(this._options.editorStyles);this.addCssRules(this._doc,aCss);this._doc.title=this._wym._index;jQuery("html",this._doc).attr("dir",this._options.direction);this._doc.designMode="on";this.html(this._wym._html);if(jQuery.isFunction(this._options.preBind)){this._options.preBind(this)}this._wym.bindEvents();jQuery(this._doc).bind("keydown",this.keydown);jQuery(this._doc).bind("keyup",this.keyup);if(jQuery.isFunction(this._options.postInit)){this._options.postInit(this)}this.listen()};WYMeditor.WymClassOpera.prototype._exec=function(a,b){if(b){this._doc.execCommand(a,false,b)}else{this._doc.execCommand(a)}};WYMeditor.WymClassOpera.prototype.selected=function(){var b=this._iframe.contentWindow.getSelection();var a=b.focusNode;if(a){if(a.nodeName=="#text"){return(a.parentNode)}else{return(a)}}else{return(null)}};WYMeditor.WymClassOpera.prototype.addCssRule=function(a,b){a.insertRule(b.name+" {"+b.css+"}",a.cssRules.length)};WYMeditor.WymClassOpera.prototype.keydown=function(a){var c=WYMeditor.INSTANCES[this.title];var b=c._iframe.contentWindow.getSelection();startNode=b.getRangeAt(0).startContainer;if(!jQuery(startNode).parentsOrSelf(WYMeditor.MAIN_CONTAINERS.join(","))[0]&&!jQuery(startNode).parentsOrSelf("li")&&a.keyCode!=WYMeditor.KEY.ENTER&&a.keyCode!=WYMeditor.KEY.LEFT&&a.keyCode!=WYMeditor.KEY.UP&&a.keyCode!=WYMeditor.KEY.RIGHT&&a.keyCode!=WYMeditor.KEY.DOWN&&a.keyCode!=WYMeditor.KEY.BACKSPACE&&a.keyCode!=WYMeditor.KEY.DELETE){c._exec(WYMeditor.FORMAT_BLOCK,WYMeditor.P)}};WYMeditor.WymClassOpera.prototype.keyup=function(a){var b=WYMeditor.INSTANCES[this.title];b._selected_image=null};WYMeditor.WymClassSafari=function(a){this._wym=a;this._class="class";this._newLine="\n"};WYMeditor.WymClassSafari.prototype.initIframe=function(iframe){this._iframe=iframe;this._doc=iframe.contentDocument;var styles=this._doc.styleSheets[0];var aCss=eval(this._options.editorStyles);this.addCssRules(this._doc,aCss);this._doc.title=this._wym._index;jQuery("html",this._doc).attr("dir",this._options.direction);this._doc.designMode="on";this.html(this._wym._html);if(jQuery.isFunction(this._options.preBind)){this._options.preBind(this)}this._wym.bindEvents();jQuery(this._doc).bind("keydown",this.keydown);jQuery(this._doc).bind("keyup",this.keyup);if(jQuery.isFunction(this._options.postInit)){this._options.postInit(this)}this.listen()};WYMeditor.WymClassSafari.prototype._exec=function(e,g){if(!this.selected()){return(false)}switch(e){case WYMeditor.INDENT:case WYMeditor.OUTDENT:var f=this.selected();var d=this._iframe.contentWindow.getSelection();var b=d.anchorNode;if(b.nodeName=="#text"){b=b.parentNode}f=this.findUp(f,WYMeditor.BLOCKS);b=this.findUp(b,WYMeditor.BLOCKS);if(f&&f==b&&f.tagName.toLowerCase()==WYMeditor.LI){var c=f.parentNode.parentNode;if(f.parentNode.childNodes.length>1||c.tagName.toLowerCase()==WYMeditor.OL||c.tagName.toLowerCase()==WYMeditor.UL){this._doc.execCommand(e,"",null)}}break;case WYMeditor.INSERT_ORDEREDLIST:case WYMeditor.INSERT_UNORDEREDLIST:this._doc.execCommand(e,"",null);var f=this.selected();var a=this.findUp(f,WYMeditor.MAIN_CONTAINERS);if(a){jQuery(a).replaceWith(jQuery(a).html())}break;default:if(g){this._doc.execCommand(e,"",g)}else{this._doc.execCommand(e,"",null)}}var a=this.selected();if(a&&a.tagName.toLowerCase()==WYMeditor.BODY){this._exec(WYMeditor.FORMAT_BLOCK,WYMeditor.P)}};WYMeditor.WymClassSafari.prototype.selected=function(){var b=this._iframe.contentWindow.getSelection();var a=b.focusNode;if(a){if(a.nodeName=="#text"){return(a.parentNode)}else{return(a)}}else{return(null)}};WYMeditor.WymClassSafari.prototype.addCssRule=function(a,b){a.insertRule(b.name+" {"+b.css+"}",a.cssRules.length)};WYMeditor.WymClassSafari.prototype.keydown=function(a){var b=WYMeditor.INSTANCES[this.title];if(a.ctrlKey){if(a.keyCode==66){b._exec(WYMeditor.BOLD);return false}if(a.keyCode==73){b._exec(WYMeditor.ITALIC);return false}}};WYMeditor.WymClassSafari.prototype.keyup=function(b){var d=WYMeditor.INSTANCES[this.title];d._selected_image=null;var a=null;if(b.keyCode==13&&!b.shiftKey){jQuery(d._doc.body).children(WYMeditor.BR).remove();a=d.selected();if(a&&a.tagName.toLowerCase()==WYMeditor.PRE){d._exec(WYMeditor.FORMAT_BLOCK,WYMeditor.P)}}if(b.keyCode==13&&b.shiftKey){d._exec("InsertLineBreak")}if(b.keyCode!=8&&b.keyCode!=17&&b.keyCode!=46&&b.keyCode!=224&&!b.metaKey&&!b.ctrlKey){a=d.selected();var c=a.tagName.toLowerCase();if(c=="strong"||c=="b"||c=="em"||c=="i"||c=="sub"||c=="sup"||c=="a"||c=="span"){c=a.parentNode.tagName.toLowerCase()}if(c==WYMeditor.BODY||c==WYMeditor.DIV){d._exec(WYMeditor.FORMAT_BLOCK,WYMeditor.P)}}};WYMeditor.WymClassSafari.prototype.openBlockTag=function(a,c){var c=this.validator.getValidTagAttributes(a,c);if(a=="span"&&c.style){var b=this.getTagForStyle(c.style);if(b){a=b;this._tag_stack.pop();this._tag_stack.push(a);c.style="";if(typeof c["class"]=="string"){c["class"]=c["class"].replace(/apple-style-span/gi,"")}}}this.output+=this.helper.tag(a,c,true)};WYMeditor.WymClassSafari.prototype.getTagForStyle=function(a){if(/bold/.test(a)){return"strong"}if(/italic/.test(a)){return"em"}if(/sub/.test(a)){return"sub"}if(/super/.test(a)){return"sup"}return false};
@@ -1 +0,0 @@
1
- eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('if(!f)o f={};(j(){if(!2n.4N||!4N.rN){o ad=["rM","rL","rK","rJ","9q","rI","3C","rH","rG","rF","rE","rD","5a","rC","cQ","rB"];f.4N={};1j(o i=0;i<ad.Y;++i)f.4N[ad[i]]=j(){}}Z f.4N=2n.4N})();D.55(f,{rA:"0.5-rz",2x:[],7J:[],5i:[],7O:"G",3Q:"{ry}",9W:"rx",dH:"{rw}",9m:"{rv}",9l:"{ru}",f0:"dA/",7v:"2Z.1c",dq:"2Z.js",eZ:"3L/",9V:"{rt}",eY:"1L/3U/",9k:"{rs}",9n:"{rr}",9U:"{rq}",9T:"{rp}",9L:"{ro}",9N:"{rn}",7R:"{rm}",9M:"{rl}",9R:"{rk}",9I:"{rj}",7Q:"{ri}",9J:"{rh}",9S:"{rg}",9C:"{rf}",9F:"{rd}",9E:"{rc}",9D:"{rb}",7S:"{ra}",9Q:"{r9}",9P:"{r8}",9j:"{r7}",9i:"{r6}",dR:"3T",3w:"1i",ah:"N",P:"p",9z:"h1",9y:"h2",9x:"h3",9w:"h4",9v:"h5",9u:"h6",5r:"43",6e:"2H",A:"a",6p:"br",dy:"6U",di:"3k",6g:"4E",5m:"5L",6r:"2G",6s:"ol",6u:"li",dS:"J",96:"1R",7t:"1V",64:"O",95:"5X",7s:"5c",68:"a4",7G:"a3",7F:"a1",7E:"9Z",81:"eX",80:"eW",97:"eP",93:"eO",dX:"eN",r5:"r4",dW:"eM",6w:"ac",6v:"ab",dV:"eL",4r:"r3",7D:"a9",r2:"aa",aj:"eS",ak:"eT",6q:1g 6f("p","h1","h2","h3","h4","h5","h6","43","2H"),5v:1g 6f("6P","2H","N","dl","2T","1M","h1","h2","h3","h4","h5","h6","hr","8v","ol","p","43","3k","2G","dd","dt","li","8u","4E","8t","5L","8s","6T"),3W:{an:8,as:13,r1:35,r0:36,ar:37,aq:38,ap:39,ao:40,qZ:1g 6f(37,38,39,40),am:46},qY:{qX:1,qW:2,qV:3},1h:j(5G,1S){c.3g=f.2x.1Y(c)-1;c.7I=5G;c.C=1S;c.4Q=D(5G).1A();if(c.C.Q)c.4Q=c.C.Q;c.C.4K=c.C.4K||c.dD();c.C.5j=c.C.5j||c.C.4K+f.f0+c.C.2Z+\'/\';c.C.7C=c.C.7C||c.dC();c.C.9r=c.C.9r||c.C.4K+f.eZ;c.C.7T=c.C.7T||c.C.4K+f.eY;c.C.7B=c.C.7B||c.dB();c.58()}});D.fn.5l=j(1S){1S=D.55({Q:"",4K:K,5j:K,7C:K,7T:K,7B:K,1E:K,4g:K,2Z:"3U",dr:S,52:S,3L:"en",4R:"8U",1x:"<N J=\'eK\'>"+"<N J=\'qU\'>"+f.9T+"</N>"+"<N J=\'qT\'></N>"+"<N J=\'qS\'>"+f.9S+f.9R+"</N>"+"<N J=\'qR\'>"+f.7S+f.9Q+f.9P+"</N>"+"<N J=\'qQ\'>"+f.9U+"</N>"+"</N>",ee:"<a J=\'qP\' "+"1R=\'8S://eA.5l.ez/\'>f</a>",4o:"<N J=\'a8 5p\'>"+"<1L "+"1V=\'"+f.9V+"qO.Q\' "+"4J=\'c.1I.qN.f.2x["+f.3Q+"].5y(c)\'"+"></1L>"+"</N>",3h:[],ed:"<N J=\'a7 5p\'>"+"<h2>{qM}</h2>"+"<2G>"+f.9L+"</2G>"+"</N>",e7:"<li J=\'"+f.9M+"\'><a 1R=\'#\' G=\'"+f.9N+"\' O=\'"+f.7R+"\'>"+f.7R+"</a></li>",e8:[{\'G\':\'eX\',\'O\':\'qL\',\'1c\':\'qK\'},{\'G\':\'eW\',\'O\':\'qJ\',\'1c\':\'qI\'},{\'G\':\'eV\',\'O\':\'eV\',\'1c\':\'qH\'},{\'G\':\'eU\',\'O\':\'eU\',\'1c\':\'qG\'},{\'G\':\'eT\',\'O\':\'qF\',\'1c\':\'qE\'},{\'G\':\'eS\',\'O\':\'qD\',\'1c\':\'qC\'},{\'G\':\'ac\',\'O\':\'ac\',\'1c\':\'qB\'},{\'G\':\'ab\',\'O\':\'ab\',\'1c\':\'qA\'},{\'G\':\'eR\',\'O\':\'eR\',\'1c\':\'qz\'},{\'G\':\'eQ\',\'O\':\'eQ\',\'1c\':\'qy\'},{\'G\':\'eP\',\'O\':\'a4\',\'1c\':\'qx\'},{\'G\':\'aa\',\'O\':\'aa\',\'1c\':\'qw\'},{\'G\':\'eO\',\'O\':\'a3\',\'1c\':\'qv\'},{\'G\':\'eN\',\'O\':\'a1\',\'1c\':\'qu\'},{\'G\':\'eM\',\'O\':\'9Z\',\'1c\':\'qt\'},{\'G\':\'eL\',\'O\':\'7S\',\'1c\':\'qs\'},{\'G\':\'a9\',\'O\':\'a9\',\'1c\':\'qr\'}],ec:"<N J=\'a6 5p\'>"+"<h2>{qq}</h2>"+"<2G>"+f.9C+"</2G>"+"</N>",e4:"<li J=\'"+f.9D+"\'>"+"<a 1R=\'#\' G=\'"+f.9F+"\'>"+f.9E+"</a></li>",e5:[{\'G\':\'P\',\'O\':\'qp\',\'1c\':\'qo\'},{\'G\':\'9z\',\'O\':\'qn\',\'1c\':\'qm\'},{\'G\':\'9y\',\'O\':\'ql\',\'1c\':\'qk\'},{\'G\':\'9x\',\'O\':\'qj\',\'1c\':\'qi\'},{\'G\':\'9w\',\'O\':\'qh\',\'1c\':\'qg\'},{\'G\':\'9v\',\'O\':\'qf\',\'1c\':\'qe\'},{\'G\':\'9u\',\'O\':\'qd\',\'1c\':\'qc\'},{\'G\':\'5r\',\'O\':\'qb\',\'1c\':\'qa\'},{\'G\':\'6e\',\'O\':\'q9\',\'1c\':\'q8\'},{\'G\':\'5m\',\'O\':\'q7\',\'1c\':\'q6\'}],eb:"<N J=\'a5 5p\'>"+"<h2>{q5}</h2><2G>"+f.9I+"</2G></N>",e6:"<li J=\'q4"+f.7Q+"\'><a 1R=\'#\' G=\'"+f.7Q+"\'>"+f.9J+"</a></li>",3Y:[],e9:"<N J=\'eI 5p\'>"+"<h2>{q3}</h2>"+"</N>",ea:"<N J=\'eJ 5p\'>"+"<h2>{q2}</h2>"+"<4F J=\'eH\'></4F>"+"</N>",q1:".eK",q0:".a7",pZ:" 2G",pY:".a6",pX:".a5",9f:".eJ",pW:".a8 1L",6y:".a8",dQ:".eI",e2:".a7 a",87:".a6 a",e1:".a5 a",9p:".eH",98:".ev",7u:".er",63:".a2",94:".eu",7r:".eq",db:".eg",dk:".ej",dj:".ei",dh:".el",de:".ek",62:"1M",d7:".6j",d8:"",dp:".6k",dn:".ew",67:".et",dm:".eo",dc:".eh",d9:".ef",e0:".pV",dZ:"7P",7H:"eG=no,eF=no,eE=no,eD=no"+",4I=eC,7l=eB,3q=0,2m=0",dU:"eG=no,eF=no,eE=no,eD=no"+",pU=pT,4I=eC,7l=eB,3q=0,2m=0",1H:"<!pS Q pR \'-//pQ//ey pP 1.0 pO//pN\'"+" \'8S://eA.pM.ez/pL/ex/ey/ex-pK.pJ\'>"+"<Q 3C=\'"+f.9n+"\'><2S>"+"<2w 5X=\'4g\' 1e=\'V/1c\' 8Q=\'7j\'"+" 1R=\'"+f.9m+"\' />"+"<O>"+f.9j+"</O>"+"<2j 1e=\'V/8R\'"+" 1V=\'"+f.9k+"\'></2j>"+"<2j 1e=\'V/8R\'"+" 1V=\'"+f.9l+"\'></2j>"+"</2S>"+f.9i+"</Q>",dN:"<1i J=\'6i ew\'"+" 4J=\'f.5h("+f.3Q+")\'"+">"+"<1M>"+"<2T>"+"<1z 1e=\'5Y\' J=\'6k\' R=\'"+f.68+"\' />"+"<3l>{a4}</3l>"+"<N J=\'1N\'>"+"<1n>{es}</1n>"+"<1z 1e=\'V\' J=\'ev\' R=\'\' 2u=\'40\' />"+"</N>"+"<N J=\'1N\'>"+"<1n>{ep}</1n>"+"<1z 1e=\'V\' J=\'a2\' R=\'\' 2u=\'40\' />"+"</N>"+"<N J=\'1N\'>"+"<1n>{pI}</1n>"+"<1z 1e=\'V\' J=\'eu\' R=\'\' 2u=\'40\' />"+"</N>"+"<N J=\'1N 1N-a0\'>"+"<1z J=\'7X\' 1e=\'3r\'"+" R=\'{7W}\' />"+"<1z J=\'6j\' 1e=\'3K\'"+"R=\'{7V}\' />"+"</N>"+"</2T>"+"</1M>"+"</1i>",dM:"<1i J=\'6i et\'"+" 4J=\'f.5h("+f.3Q+")\'"+">"+"<1M>"+"<2T>"+"<1z 1e=\'5Y\' J=\'6k\' R=\'"+f.7G+"\' />"+"<3l>{a3}</3l>"+"<N J=\'1N\'>"+"<1n>{es}</1n>"+"<1z 1e=\'V\' J=\'er\' R=\'\' 2u=\'40\' />"+"</N>"+"<N J=\'1N\'>"+"<1n>{pH}</1n>"+"<1z 1e=\'V\' J=\'eq\' R=\'\' 2u=\'40\' />"+"</N>"+"<N J=\'1N\'>"+"<1n>{ep}</1n>"+"<1z 1e=\'V\' J=\'a2\' R=\'\' 2u=\'40\' />"+"</N>"+"<N J=\'1N 1N-a0\'>"+"<1z J=\'7X\' 1e=\'3r\'"+" R=\'{7W}\' />"+"<1z J=\'6j\' 1e=\'3K\'"+"R=\'{7V}\' />"+"</N>"+"</2T>"+"</1M>"+"</1i>",dL:"<1i J=\'6i eo\'"+" 4J=\'f.5h("+f.3Q+")\'"+">"+"<1M>"+"<2T>"+"<1z 1e=\'5Y\' J=\'6k\' R=\'"+f.7F+"\' />"+"<3l>{a1}</3l>"+"<N J=\'1N\'>"+"<1n>{pG}</1n>"+"<1z 1e=\'V\' J=\'el\' R=\'\' 2u=\'40\' />"+"</N>"+"<N J=\'1N\'>"+"<1n>{pF}</1n>"+"<1z 1e=\'V\' J=\'ek\' R=\'\' 2u=\'40\' />"+"</N>"+"<N J=\'1N\'>"+"<1n>{pE}</1n>"+"<1z 1e=\'V\' J=\'ej\' R=\'3\' 2u=\'3\' />"+"</N>"+"<N J=\'1N\'>"+"<1n>{pD}</1n>"+"<1z 1e=\'V\' J=\'ei\' R=\'2\' 2u=\'3\' />"+"</N>"+"<N J=\'1N 1N-a0\'>"+"<1z J=\'7X\' 1e=\'3r\'"+" R=\'{7W}\' />"+"<1z J=\'6j\' 1e=\'3K\'"+"R=\'{7V}\' />"+"</N>"+"</2T>"+"</1M>"+"</1i>",dK:"<1i J=\'6i eh\'"+" 4J=\'f.5h("+f.3Q+")\'"+">"+"<1M>"+"<1z 1e=\'5Y\' J=\'6k\' R=\'"+f.7E+"\' />"+"<2T>"+"<3l>{9Z}</3l>"+"<N J=\'1N\'>"+"<4F J=\'eg\' 7h=\'10\' 7i=\'50\'></4F>"+"</N>"+"<N J=\'1N\'>"+"<1z J=\'7X\' 1e=\'3r\'"+" R=\'{7W}\' />"+"<1z J=\'6j\' 1e=\'3K\'"+"R=\'{7V}\' />"+"</N>"+"</2T>"+"</1M>"+"</1i>",dJ:"<1i J=\'6i ef\'"+" 4J=\'f.5h("+f.3Q+")\'"+"></1i>",4z:[],6c:"{",6b:"}",9Y:1f,3B:1f,3z:1f,99:1f,8Z:1f},1S);u c.dv(j(){1g f.1h(D(c),1S)})};D.55({pC:j(i){u(f.2x[i])}});f.1h.B.58=j(){if(D.7U.pB){o 4p=1g f.2t(c)}Z if(D.7U.pA){o 4p=1g f.2C(c)}Z if(D.7U.pz){o 4p=1g f.3V(c)}Z if(D.7U.py){o 4p=1g f.3c(c)}if(4p){if(D.2A(c.C.9Y))c.C.9Y(c);o 9X=1g f.1m();D.55(9X,4p);c.42=1g f.1w(9X);if(c.C.1E||c.C.4g){c.dz()}c.4O=1g f.2V();1j(o 6Y in 4p){c[6Y]=4p[6Y]}c.2f=D(c.7I).e3().6I(c.C.1x).8T().ds(\'px\'+c.3g);if(D.2A(D.fn.4y)){D.4y(c.2f.5Z(0),f.9W,c.3g);D.4y(c.7I.5Z(0),f.9W,c.3g)}o h=f.1P;o 4o=c.C.4o;4o=h.1l(4o,f.3Q,c.3g);4o=h.1l(4o,f.9V,c.C.7T);o 1x=D(c.2f).Q();1x=h.1l(1x,f.9U,c.C.ee);1x=h.1l(1x,f.9T,c.C.ed);1x=h.1l(1x,f.9S,c.C.ec);1x=h.1l(1x,f.9R,c.C.eb);1x=h.1l(1x,f.7S,c.C.ea);1x=h.1l(1x,f.9Q,4o);1x=h.1l(1x,f.9P,c.C.e9);o 9O=2B(c.C.e8);o 9K="";1j(o i=0;i<9O.Y;i++){o 5o=9O[i];if(5o.G&&5o.O)o 4n=c.C.e7;o 4n=h.1l(4n,f.9N,5o.G);4n=h.1l(4n,f.7R,c.C.6c+5o.O+c.C.6b);4n=h.1l(4n,f.9M,5o.1c);9K+=4n}1x=h.1l(1x,f.9L,9K);o 6h=2B(c.C.3Y);o 9H="";1j(o i=0;i<6h.Y;i++){o 4l=6h[i];if(4l.G&&4l.O)o 4k=c.C.e6;4k=h.1l(4k,f.7Q,4l.G);4k=h.1l(4k,f.9J,4l.O);9H+=4k}1x=h.1l(1x,f.9I,9H);o 9G=2B(c.C.e5);o 9B="";1j(o i=0;i<9G.Y;i++){o 5n=9G[i];if(5n.G&&5n.O)o 4m=c.C.e4;4m=h.1l(4m,f.9F,5n.G);4m=h.1l(4m,f.9E,c.C.6c+5n.O+c.C.6b);4m=h.1l(4m,f.9D,5n.1c);9B+=4m}1x=h.1l(1x,f.9C,9B);1x=c.9h(1x);D(c.2f).Q(1x);D(c.2f).3E(c.C.9f).e3();c.52()}};f.1h.B.5x=j(){o F=c;D(c.2f).3E(c.C.e2).7P(j(){F.1K.1I.4W();F.dY(D(c).1r(f.7O));u(K)});D(c.2f).3E(c.C.87).7P(j(){F.L(D(c).1r(f.7O));u(K)});D(c.2f).3E(c.C.9p).2y(j(){D(F.I.1i).Q(D(c).1A())}).4W(j(){D(c).6d(\'9o\')}).pw(j(){D(c).6d(\'9o\')});D(c.2f).3E(c.C.e1).7P(j(){o 6h=2B(F.C.3Y);o 9A=D(c).1r(f.7O);o 4l=f.1P.aG(6h,9A);if(4l){o 4x=4l.aN;F.6d(9A,4x)}F.1K.1I.4W();u(K)});D(c.C.e0).3A(c.C.dZ,j(){F.6a()})};f.1h.B.pv=j(){u(c.I!=1f)};f.1h.B.cn=j(){u(c.2f)};f.1h.B.Q=j(Q){if(1s Q===\'3T\')D(c.I.1i).Q(Q);Z u(D(c.I.1i).Q())};f.1h.B.1v=j(){u c.42.3Z(c.Q())};f.1h.B.dY=j(1F){3f(1F){1k f.97:o L=c.L();if(L||c.2l)c.4L(f.68);1p;1k f.93:c.4L(f.7G);1p;1k f.dX:c.4L(f.7F);1p;1k f.dW:c.4L(f.7E);1p;1k f.dV:c.6a();c.dF();1p;1k f.7D:c.4L(f.7D,c.C.dU);1p;3U:c.1O(1F);1p}};f.1h.B.L=j(3t){if(3t){o L=1f;if(3t.1q()==f.5m){L=c.L();3f(L.1t.1q()){1k f.6g:1k f.5m:1p;3U:o 7N=1g 6f(f.6g,f.5m);L=c.2K(c.L(),7N);1p}if(L!=1f){3t=(L.1t.1q()==f.6g)?f.5m:f.6g;c.9s(L,3t);c.6a()}}Z{o 7N=1g 6f(f.P,f.9z,f.9y,f.9x,f.9w,f.9v,f.9u,f.5r,f.6e);L=c.2K(c.L(),7N);if(L){o 3R=1f;if(3t.1q()==f.6e){o 2H=c.2K(c.L(),f.6e);if(2H==1f){3R=c.I.61(3t);L.1B.dT(3R,L);3R.dw(L);c.4Z(3R.pu)}Z{o 7M=2H.6t;o 9t=7M.Y;o 7L=1f;if(9t>0)7L=7M.4v(0);1j(o x=0;x<9t;x++){2H.1B.dT(7M.4v(0),2H)}2H.1B.pt(2H);if(7L)c.4Z(7L)}}Z c.9s(L,3t);c.6a()}}}Z u(c.1d())};f.1h.B.6d=j(4k,4x){o L=(c.2l?c.2l:D(c.1d()));L=D(L).4V(4x);D(L).6d(4k);if(!D(L).1r(f.dS))D(L).ps(c.5z)};f.1h.B.2K=j(1a,53){if(1a){o 4j=1a.1t.1q();if(1s(53)==f.dR){7b(4j!=53&&4j!=f.3w){1a=1a.1B;4j=1a.1t.1q()}}Z{o 7K=K;7b(!7K&&4j!=f.3w){1j(o i=0;i<53.Y;i++){if(4j==53[i]){7K=S;1p}}if(!7K){1a=1a.1B;4j=1a.1t.1q()}}}if(4j!=f.3w)u(1a);Z u(1f)}Z u(1f)};f.1h.B.9s=j(1a,3t){o 3R=c.I.61(3t);o Q=D(1a).Q();1a.1B.pr(3R,1a);D(3R).Q(Q);c.4Z(3R)};f.1h.B.9h=j(4M){if(!f.7J[c.C.3L]){4u{2B(D.9d({9c:c.C.9r+c.C.3L+\'.js\',9b:K}).9a)}4t(e){f.4N.9q("f: 9q 7b pq d2 cO.");u 4M}}1j(o 1U in f.7J[c.C.3L]){4M=f.1P.1l(4M,c.C.6c+1U+c.C.6b,f.7J[c.C.3L][1U])};u(4M)};f.1h.B.dG=j(4M){u(c.C.6c+4M+c.C.6b)};f.1h.B.2p=j(dP){D(c.2f).3E(c.C.dQ).Q(dP)};f.1h.B.6a=j(){o Q;D(c.I.1i).7Z(f.6p).5s();Q=c.1v();D(c.7I).1A(Q);D(c.2f).3E(c.C.9p).bs(\'.9o\').1A(Q);};f.1h.B.4L=j(69,7H,dI){o dO=7H||c.1W.C.7H;o 9g=2n.60(\'\',\'4L\',dO);if(9g){o 4i="";3f(69){1k(f.68):4i=c.C.dN;1p;1k(f.7G):4i=c.C.dM;1p;1k(f.7F):4i=c.C.dL;1p;1k(f.7E):4i=c.C.dK;1p;1k(f.7D):4i=c.C.dJ;1p;3U:4i=dI}o h=f.1P;o 1H=c.C.1H;1H=h.1l(1H,f.dH,c.C.4K);1H=h.1l(1H,f.9n,c.C.4R);1H=h.1l(1H,f.9m,c.C.5j+f.7v);1H=h.1l(1H,f.9l,c.C.7C);1H=h.1l(1H,f.9k,c.C.7B);1H=h.1l(1H,f.9j,c.dG(69));1H=h.1l(1H,f.9i,4i);1H=h.1l(1H,f.3Q,c.3g);1H=c.9h(1H);o 4h=9g.3D;4h.pp(1H);4h.5f()}};f.1h.B.dF=j(){D(c.2f).3E(c.C.9f).po()};f.1h.B.do=j(){o dE=1g pn();u("F-"+dE.pm())};f.1h.B.5E=j(2M){o L=c.1d(),Q=\'\',3s,1u;3s=2M.5F(1g 2N(c.4U+\'{2,}\',\'g\'));1j(o i=0,l=3s.Y;i<l;i++){Q+=\'<p>\'+(3s[i].5F(c.4U).5A(\'<br />\'))+\'</p>\'}if(L&&L.1t.1q()!=f.3w){3s=D(Q,c.I).pl(L);1u=3s[3s.Y-1]}Z{3s=D(Q,c.I).pk(c.I.1i);1u=3s[3s.Y-1]}if(D(L).V()==\'\'){D(L).5s()}D(\'1i > br\',c.I).5s();c.4Z(1u)};f.1h.B.5B=j(Q){o 2L=c.1K.1I.3e(),1D,1a;if(2L.1u!=1f){1D=2L.at(0);1a=1D.pj(Q);1D.ph();1D.pg(1a)}Z{c.5E(Q)}};f.1h.B.ay=j(2m,2D){c.5B(2m+c.1K.1I.3e().8V()+2D)};f.1h.B.ax=j(){c.5B(c.1K.1I.3e().8V())};f.1h.B.4Z=j(1a,3X){o 1D=c.I.4Y(),2L=c.1K.1I.3e();3X=3X?0:1;1D.pf(1a);2L.pe(1D);2L.aw(1a,3X);c.1K.1I.4W()};f.1h.B.4S=j(4h,2s){o 1E=4h.4T[0];if(1E){1j(o i=0;i<2s.Y;i++){o 1Z=2s[i];if(1Z.G&&1Z.1c)c.5t(1E,1Z)}}};f.1h.B.dD=j(){u D(D.7w(D(\'2j\'),j(s){u(s.1V&&s.1V.M(/7A\\.5l(\\.7z|\\.7y|\\.7x)?\\.js(\\?.*)?$/))})).1r(\'1V\').W(/7A\\.5l(\\.7z|\\.7y|\\.7x)?\\.js(\\?.*)?$/,\'\')};f.1h.B.dC=j(){u D(D.7w(D(\'2j\'),j(s){u(s.1V&&s.1V.M(/7A\\.5l(\\.7z|\\.7y|\\.7x)?\\.js(\\?.*)?$/))})).1r(\'1V\')};f.1h.B.dB=j(){u D(D.7w(D(\'2j\'),j(s){u(s.1V&&s.1V.M(/7A(-(.*)){0,1}(\\.7z|\\.7y|\\.7x)?\\.js(\\?.*)?$/))})).1r(\'1V\')};f.1h.B.pd=j(){u D(D.7w(D(\'2w\'),j(s){u(s.1R&&s.1R.M(/5l\\/dA\\/(.*)7j\\.1c(\\?.*)?$/))})).1r(\'1R\')};f.1h.B.dz=j(){o 5k=1g f.3G();if(c.C.4g){5k.3Z(D.9d({9c:c.C.4g,9b:K}).9a)}Z{5k.3Z(c.C.1E,K)}if(c.C.3Y.Y==0){c.C.3Y=5k.4A.3Y}if(c.C.3h.Y==0){c.C.3h=5k.4A.3h}if(c.C.4z.Y==0){c.C.4z=5k.4A.4z}};f.1h.B.5w=j(){D(c.I.1i).3A("7q",c.7q)};f.1h.B.7q=j(X){o F=f.2x[c.pc.O];F.2l=(X.dx.1t.1q()==f.dy)?X.dx:1f};f.du=j(1R){o 2w=3D.61(\'2w\');2w.5X=\'4g\';2w.1R=1R;o 2S=D(\'2S\').5Z(0);2S.dw(2w)};f.1h.B.52=j(){if(c.C.52&&!f.5i[c.C.2Z]){o 9e=K;o 6B=1g 2N(c.C.2Z+\'\\/\'+f.7v+\'$\');D(\'2w\').dv(j(){if(c.1R.M(6B))9e=S});if(!9e)f.du(c.C.5j+f.7v)}D(c.2f).ds("pb"+c.C.2Z);if(c.C.dr&&!f.5i[c.C.2Z]){2B(D.9d({9c:c.C.5j+f.dq,9b:K}).9a)}if(f.5i[c.C.2Z]&&f.5i[c.C.2Z].58)f.5i[c.C.2Z].58(c)};f.5h=j(7n){o F=2n.pa.f.2x[7n];o 4h=2n.3D;o 1d=F.1d();o 69=D(F.C.dp).1A();o 65=F.do();3f(69){1k f.68:if(1d&&1d.1t&&1d.1t.1q!=f.A)1d=D(1d).4V(f.A);if(!1d&&F.2l)1d=D(F.2l).4V(f.A);1p}if(D.2A(F.C.99))F.C.99(F,2n);o 1E=4h.4T[0];o 2s=2B(F.C.4z);F.4S(4h,2s);if(1d){D(F.C.98).1A(D(1d).1r(f.96));D(F.C.7u).1A(D(1d).1r(f.7t));D(F.C.63).1A(D(1d).1r(f.64));D(F.C.94).1A(D(1d).1r(f.95));D(F.C.7r).1A(D(1d).1r(f.7s))}if(F.2l){D(F.C.67+" "+F.C.7u).1A(D(F.2l).1r(f.7t));D(F.C.67+" "+F.C.63).1A(D(F.2l).1r(f.64));D(F.C.67+" "+F.C.7r).1A(D(F.2l).1r(f.7s))}D(F.C.dn+" "+F.C.62).3r(j(){o 5g=D(F.C.98).1A();if(5g.Y>0){o 2w;if(1d[0]&&1d[0].1t.1q()==f.A){2w=1d}Z{F.1O(f.97,65);2w=D("a[1R="+65+"]",F.I.1i)}2w.1r(f.96,5g).1r(f.64,D(F.C.63).1A()).1r(f.95,D(F.C.94).1A())}2n.5f()});D(F.C.67+" "+F.C.62).3r(j(){o 5g=D(F.C.7u).1A();if(5g.Y>0){F.1O(f.93,65);D("6U[1V$="+65+"]",F.I.1i).1r(f.7t,5g).1r(f.64,D(F.C.63).1A()).1r(f.7s,D(F.C.7r).1A())}2n.5f()});D(F.C.dm+" "+F.C.62).3r(j(){o 92=D(F.C.dk).1A();o 91=D(F.C.dj).1A();if(92>0&&91>0){o 3k=F.I.61(f.di);o 90=1f;o p9=1f;o df=D(F.C.dh).1A();o dg=3k.p8();dg.8W=df;1j(x=0;x<92;x++){90=3k.p7(x);1j(y=0;y<91;y++){90.p6(y)}}D(3k).1r(\'cl\',D(F.C.de).1A());o 1a=D(F.2K(F.L(),f.6q)).5Z(0);if(!1a||!1a.1B)D(F.I.1i).p5(3k);Z D(1a).6I(3k)}2n.5f()});D(F.C.dc+" "+F.C.62).3r(j(){o da=D(F.C.db).1A();F.5E(da);2n.5f()});D(F.C.d9+" "+F.C.d8).Q(F.1v());D(F.C.d7).7q(j(){2n.5f()});if(D.2A(F.C.8Z))F.C.8Z(F,2n)};f.2V=j(){c.7p=3D.61(\'N\');u c};f.2V.B.E=j(G,1S,60){1S=1S||K;60=60||K;u\'<\'+G+(1S?c.8Y(1S):\'\')+(60?\'>\':\' />\')};f.2V.B.p4=j(G,2c,1S){1S=1S||K;u\'<\'+G+(1S?c.8Y(1S):\'\')+\'>\'+2c+\'</\'+G+\'>\'};f.2V.B.p3=j(2c){u\'<![p2[\'+2c+\']]>\'};f.2V.B.d4=j(3P){u c.d6(c.d3(3P))};f.2V.B.d6=j(d5){u d5.W(/&p1;([a-z]+|(#\\d+));/ig,"&$1;")};f.2V.B.8Y=j(1S){o 3P=c;3P.8X=\'\';1j(o 1U in 1S){o p0=\'\';o R=1S[1U];if(1s R!=\'j\'&&R.Y>0){if(ce(1U)==1U&&1s R==\'4B\'){1U=R.oZ();R=R.4P()}if(1U!=\'\'&&R!=\'\'){3P.8X+=\' \'+1U+\'="\'+3P.d4(R)+\'"\'}}}u 3P.8X};f.2V.B.d3=j(3T,7o){c.7p.8W=3T;c.7p.oY=3T;o 1Q=c.7p.8W;if(1s 7o==\'2e\'){if(7o!=K)1Q=1Q.W(\'"\',\'&oX;\');if(7o==S)1Q=1Q.W(\'"\',\'&#oW;\')}u 1Q};f.2V.B.oV=j(5d){o 1Q=[];o 2i=5d.5F(/((=\\s*")(")("))|((=\\s*\\\')(\\\')(\\\'))|((=\\s*[^>\\s]*))/g);if(2i.8V()!=5d){1j(o k in 2i){o v=2i[k];if(1s v!=\'j\'&&v.Y!=0){o re=1g 2N(\'(\\\\w+)\\\\s*\'+v);if(M=5d.M(re)){o R=v.W(/^[\\s=]+/,"");o 5e=R.oU(0);5e=5e==\'"\'?\'"\':(5e=="\'"?"\'":\'\');if(5e!=\'\'){R=5e==\'"\'?R.W(/^"|"+$/g,\'\'):R.W(/^\'|\'+$/g,\'\')}5d=5d.W(M[0],\'\');1Q.1Y([M[1],R])}}}}u 1Q};f.bt={"8M":{"oT":{"5b":["57","2S","Q","7m","1T","2j","1o","O"],"H":["J","id","1o","O","d1","d0"]},"d2":{"5b":["57","br","hr","1L","1T","2j"],"H":{"3C":["8U","cR"],"0":"3L","1":"3P:3L"}},"cZ":{"H":{"d1":/^(\\w){1}$/,"d0":/^(\\d)+$/}}},"8N":{"2n":{"7f":["1i"],"H":["4J","oS"]},"1M":{"7f":["1M","1z","4F","4X","a","1n","3K"],"H":["oR","oQ","oP","oO","oN","aF"]},"cZ":{"5b":["57","6W","br","co","oM","2S","Q","1L","7m","1T","2j","1o","O"],"H":["oL","oK","aE"]},"oJ":{"5b":["57","6W","br","2S","Q","7m","1T","2j","1o","O"],"H":["aD","oI","oH","oG","oF","oE","oD"]}},"1J":{"a":{"H":{"0":"7k","1":"cY","2":"1R","3":"cL","4":"G","5":"5X","6":"cK","cX":/^(cW|cV|8w|cU|cT|cS)$/,"7":"1e"}},"0":"6X","1":"8p","2":"6P","bo":{"H":{"0":"5c","1":"cY","2":"1R","oC":/^(S|K)$/,"cX":/^(cW|cV|8w|cU|cT|cS)$/},"2d":["5c"]},"3":"b","57":{"H":["1R"],"2d":["1R"]},"6W":{"H":{"3C":/^(8U|cR)$/},"2d":["3C"]},"4":"bn","2H":{"H":["56"]},"5":"1i","6":"br","3K":{"H":{"2Y":/^(2Y)$/,"1e":/^(3K|cN|3r)$/,"0":"R"},"3O":"1M"},"7":"bm","8":"56","9":"bl","6V":{"H":{"4f":/^(2D|2m|4e|4d)$/,"0":"2X","1":"4c","3u":/^(\\d)+$/,"4b":/^(3q|4a|49|48)$/,"2":"4I"},"3O":"5N"},"5N":{"H":{"4f":/^(2D|2m|4e|4d)$/,"0":"2X","1":"4c","3u":/^(\\d)+$/,"4b":/^(3q|4a|49|48)$/,"2":"4I"}},"10":"dd","8o":{"H":{"0":"56","cM":/^([0-9]){8}/}},"11":"N","12":"bk","13":"dl","14":"dt","15":"em","2T":{"3O":"1M"},"1M":{"H":{"0":"5Q","1":"5T","2":"5T-7k","3":"oB","oA":/^(5Z|oz)$/},"2d":["5Q"]},"2S":{"H":["cQ"]},"16":"h1","17":"h2","18":"h3","19":"h4","20":"h5","21":"h6","22":"hr","Q":{"H":["oy"]},"23":"i","6U":{"H":["5c","1V","7l","ox","ow","cv","4I"],"2d":["5c","1V"]},"1z":{"H":{"0":"5T","1":"5c","cP":/^(cP)$/,"2Y":/^(2Y)$/,"ov":/^(\\d)+$/,"2":"G","8O":/^(8O)$/,"2u":/^(\\d)+$/,"3":"1V","1e":/^(3K|ou|cO|5Y|bq|ot|os|cN|3r|V)$/,"4":"R"},"3O":"1M"},"bj":{"H":{"0":"56","cM":/^([0-9]){8}/}},"24":"bi","1n":{"H":["1j"],"3O":"1M"},"25":"3l","26":"li","2w":{"H":{"0":"7k","1":"1R","2":"cL","8Q":/^(8P|cp|cq|cr|7j|oq|,|;|)+$/i,"5X":/^(cJ|cI|cH|cG|cF|cE|cD|cC|cB|7n|8T|cA|cz|3p|4g|cy||cx|cw)+$/i,"cK":/^(cJ|cI|cH|cG|cF|cE|cD|cC|cB|7n|8T|cA|cz|3p|4g|cy||cx|cw)+$/i,"3":"1e"},"3O":"2S"},"bh":{"H":["id","G"],"2d":["id"]},"7m":{"H":{"0":"2c","8S-bp":/^(2c\\-1e|op|oo|om\\-ok)$/i,"1":"G","2":"oj"},"2d":["2c"]},"27":"8v","4B":{"H":["oi","oh","og","of","4y","oe","7l","G","od","1e","cv","4I"]},"28":"ol","bg":{"H":{"0":"1n","2Y":/^(2Y)$/},"2d":["1n"]},"6S":{"H":{"0":"1n","2Y":/^(2Y)$/,"1d":/^(1d)$/,"1":"R"},"3O":"4X"},"29":"p","1T":{"H":{"0":"1e","cu":/^(4y|oc|4B)$/,"1":"cu","2":"R"},"2d":["G"]},"30":"43","q":{"H":["56"]},"31":"bf","2j":{"H":{"1e":/^(V\\/ob|V\\/8R|V\\/oa|V\\/o9|V\\/o8|V\\/3P)$/,"0":"7k","ct":/^(ct)$/,"1":"1V"},"2d":["1e"]},"4X":{"H":{"2Y":/^(2Y)$/,"cs":/^(cs)$/,"0":"G","1":"2u"},"3O":"1M"},"32":"be","33":"3u","34":"3b","1o":{"H":{"0":"1e","8Q":/^(7j|o7|o6|cr|o5|cq|cp|o4|8P)$/},"2d":["1e"]},"35":"3a","36":"3S","3k":{"H":{"0":"cm","1":"o3","2":"o2","co":/^(o1|o0|nZ|nY|nX|nW|nV|cn|cm)$/,"nU":/^(nT|nS|7h|7i|8P)$/,"3":"cl","4":"4I"}},"8u":{"H":{"4f":/^(2D|2m|4e|4d)$/,"0":"2X","1":"4c","4b":/^(3q|4a|49|48)$/}},"4E":{"H":{"0":"6X","4f":/^(2m|2D|4e|4d|2X)$/,"1":"ck","2":"2X","3":"4c","cj":/^(\\d)+$/,"4":"ci","ch":/^(\\d)+$/,"1G":/^(6V|5N|1N|cg)$/,"4b":/^(3q|4a|49|48)$/}},"4F":{"H":["7i","7h","2Y","G","8O"],"2d":["7i","7h"],"3O":"1M"},"8t":{"H":{"4f":/^(2D|2m|4e|4d)$/,"0":"2X","1":"4c","4b":/^(3q|4a|49)$/,"2":"48"}},"5L":{"H":{"0":"6X","4f":/^(2m|2D|4e|4d|2X)$/,"1":"ck","2":"2X","3":"4c","cj":/^(\\d)+$/,"4":"ci","ch":/^(\\d)+$/,"1G":/^(6V|5N|1N|cg)$/,"4b":/^(3q|4a|49|48)$/}},"8s":{"H":{"4f":/^(2D|2m|4e|4d)$/,"0":"2X","1":"4c","4b":/^(3q|4a|49|48)$/}},"37":"O","6T":{"H":{"4f":/^(2D|2m|4e|4d|2X)$/,"0":"2X","1":"4c","4b":/^(3q|4a|49|48)$/}},"38":"bd","39":"2G","40":"o"},6K:[],6J:[],5q:j(E,H){o 7g={};o cf=c.c9(E);1j(o 2k in H){o R=H[2k];o h=f.1P;if(!h.2E(c.6K,2k)&&!h.2E(c.6J,R)){if(1s R!=\'j\'&&h.2E(cf,2k)){if(c.cb(E,2k)){if(c.ca(E,2k,R)){7g[2k]=R}}Z{7g[2k]=R}}}}u 7g},c8:j(E){o 1Q=[];if(c.1J[E]&&c.1J[E][\'H\']){1j(k in c.1J[E][\'H\']){1Q.1Y(ce(k)==k?c.1J[E][\'H\'][k]:k)}}u 1Q},cc:j(){o 1Q=[];1j(o 1U in c.8N){1Q.1Y(c.8N[1U])}1j(o 1U in c.8M){1Q.1Y(c.8M[1U])}u 1Q},cd:j(E){if(c.1J[E]){u S}1j(o 1U in c.1J){if(c.1J[1U]==E){u S}}u K},c7:j(E){o 8K=[];if(c.cd(E)){o 8L=c.cc();1j(o 1U in 8L){o 3N=8L[1U];if(1s 3N==\'4B\'){o h=f.1P;if((3N[\'5b\']&&h.2E(3N[\'5b\'],E))||(3N[\'7f\']&&!h.2E(3N[\'7f\'],E))){nR}o 7e=3N[\'H\']?3N[\'H\']:3N[\'nQ\'];1j(o k in 7e){8K.1Y(1s 7e[k]!=\'3T\'?k:7e[k])}}}}u 8K},cb:j(E,2k){u c.1J[E]&&((c.1J[E][\'H\']&&c.1J[E][\'H\'][2k])||(c.1J[E][\'2d\']&&f.1P.2E(c.1J[E][\'2d\'],2k)))},ca:j(E,2k,R){if(c.1J[E]&&(c.1J[E][\'H\']&&c.1J[E][\'H\'][2k]&&R.Y>0&&!R.M(c.1J[E][\'H\'][2k]))||(c.1J[E]&&c.1J[E][\'2d\']&&f.1P.2E(c.1J[E][\'2d\'],2k)&&R.Y==0)){u K}u 1s c.1J[E]!=\'2e\'},c9:j(E){if(!c.5W){c.5W={}}if(!c.5W[E]){c.5W[E]=c.c8(E).nP(c.c7(E))}u c.5W[E]}};f.2W=j(7c){c.4H=7c;c.47=[];c.8J=[];c.5V=1f;u c};f.2W.B.45=j(3o,1n){1n=1n||S;o 5a=c.47.Y;c.47[5a]=3o;c.8J[5a]=1n;c.5V=1f};f.2W.B.M=j(c6){if(c.47.Y==0){u[K,\'\']}o 2i=c6.M(c.c5());if(!2i){u[K,\'\']}o M=2i[0];1j(o i=1;i<2i.Y;i++){if(2i[i]){u[c.8J[i-1],M]}}u[S,2i[0]]};f.2W.B.c5=j(){if(c.5V==1f){1j(o i=0,5a=c.47.Y;i<5a;i++){c.47[i]=\'(\'+c.c3(c.c4(c.47[i]).W(/([\\/\\(\\)])/g,\'\\\\$1\'))+\')\'}c.5V=1g 2N(c.47.5A("|"),c.bV())}u c.5V};f.2W.B.c4=j(7d){u 7d.W(/\\(\\?(i|m|s|x|U)\\)/,\'~~~~~~c2\\$1~~~~~~\').W(/\\(\\?(\\-[i|m|s|x|U])\\)/,\'~~~~~~c1\\$1~~~~~~\').W(/\\(\\?\\=(.*)\\)/,\'~~~~~~c0\\$1~~~~~~\').W(/\\(\\?\\!(.*)\\)/,\'~~~~~~bZ\\$1~~~~~~\').W(/\\(\\?\\<\\=(.*)\\)/,\'~~~~~~bY\\$1~~~~~~\').W(/\\(\\?\\<\\!(.*)\\)/,\'~~~~~~bX\\$1~~~~~~\').W(/\\(\\?\\:(.*)\\)/,\'~~~~~~bW\\$1~~~~~~\')};f.2W.B.c3=j(7d){u 7d.W(/~~~~~~c2(.{1})~~~~~~/,"(?\\$1)").W(/~~~~~~c1(.{2})~~~~~~/,"(?\\$1)").W(/~~~~~~c0(.*)~~~~~~/,"(?=\\$1)").W(/~~~~~~bZ(.*)~~~~~~/,"(?!\\$1)").W(/~~~~~~bY(.*)~~~~~~/,"(?<=\\$1)").W(/~~~~~~bX(.*)~~~~~~/,"(?<!\\$1)").W(/~~~~~~bW(.*)~~~~~~/,"(?:\\$1)")};f.2W.B.bV=j(){u(c.4H?"m":"mi")};f.5U=j(3p){c.59=[3p];u c};f.5U.B.8F=j(){u c.59[c.59.Y-1]};f.5U.B.8H=j(2b){c.59.1Y(2b)};f.5U.B.8I=j(){if(c.59.Y==1){u K}c.59.4P();u S};f.76=1;f.bT=2;f.3H=3;f.5I=4;f.72=5;f.2h=j(42,3p,7c){3p=3p||\'5T\';c.4H=7c||K;c.2q={};c.8G=42;c.44=1g f.5U(3p);c.2I={};c.2I[3p]=3p;u c};f.2h.B.45=j(3o,T){o T=T||"5T";if(1s c.2q[T]==\'2e\'){c.2q[T]=1g f.2W(c.4H)}c.2q[T].45(3o);if(1s c.2I[T]==\'2e\'){c.2I[T]=T}};f.2h.B.2P=j(3o,T,5S){if(1s c.2q[T]==\'2e\'){c.2q[T]=1g f.2W(c.4H)}c.2q[T].45(3o,5S);if(1s c.2I[5S]==\'2e\'){c.2I[5S]=5S}};f.2h.B.2F=j(3o,T){if(1s c.2q[T]==\'2e\'){c.2q[T]=1g f.2W(c.4H)}c.2q[T].45(3o,"bR");if(1s c.2I[T]==\'2e\'){c.2I[T]=T}};f.2h.B.4D=j(3o,T,5R){if(1s c.2q[T]==\'2e\'){c.2q[T]=1g f.2W(c.4H)}c.2q[T].45(3o,\'bP\'+5R);if(1s c.2I[5R]==\'2e\'){c.2I[5R]=5R}};f.2h.B.8h=j(T,79){c.2I[T]=79};f.2h.B.3Z=j(1y){if(1s c.8G==\'2e\'){u K}o Y=1y.Y;o 3M;7b(1s(3M=c.bL(1y))==\'4B\'){o 1y=3M[0];o 7a=3M[1];o 3n=3M[2];o T=3M[3];if(!c.bU(7a,3n,T)){u K}if(1y==\'\'){u S}if(1y.Y==Y){u K}Y=1y.Y}if(!3M){u K}u c.4G(1y,f.3H)};f.2h.B.bU=j(7a,3n,T){T=T||K;if(!c.4G(7a,f.3H)){u K}if(1s T==\'nO\'){u c.4G(3n,f.bT)}if(c.bS(T)){if(!c.4G(3n,f.5I)){u K}u c.44.8I()}if(c.bQ(T)){c.44.8H(c.bO(T));if(!c.4G(3n,f.72)){u K}u c.44.8I()}c.44.8H(T);u c.4G(3n,f.76)};f.2h.B.bS=j(T){u(T==="bR")};f.2h.B.bQ=j(T){u(T.6A(0,1)=="bP")};f.2h.B.bO=j(T){u T.6A(1)};f.2h.B.4G=j(2c,bM){if(2c===\'\'){u S}o bN=c.44.8F();o 79=c.2I[bN];o 1Q;2B(\'1Q = c.8G.\'+79+\'(2c, bM);\');u 1Q};f.2h.B.bL=j(1y){o 3n=c.2q[c.44.8F()].M(1y);o M=3n[1];o 5Q=3n[0];if(5Q){o 8E=1y.89(M);o bK=1y.aI(0,8E);1y=1y.6A(8E+M.Y);u[1y,bK,M,5Q]}u S};f.3m=j(42){D.55(c,1g f.2h(42,\'3i\'));c.8h(\'3i\',\'3i\');c.bJ();c.58();u c};f.3m.B.58=j(){};f.3m.B.bJ=j(){c.bI(\'3i\');c.bH(\'3i\');c.bG(\'3i\');c.bF(\'3i\')};f.3m.B.bI=j(1G){c.2P("<!--",1G,\'8D\');c.2F("-->",\'8D\')};f.3m.B.bH=j(1G){c.2P("<2j",1G,\'8C\');c.2F("</2j>",\'8C\')};f.3m.B.bG=j(1G){c.2P("<1o",1G,\'8B\');c.2F("</1o>",\'8B\')};f.3m.B.bF=j(1G){c.4D("<\\\\s*[a-5J-9:\\-]+\\\\s*>",1G,\'77\');c.2P("<[a-5J-9:\\-]+"+\'[\\\\\\/ \\\\\\>]+\',1G,\'77\');c.bE(\'77\');c.4D("</\\\\s*[a-5J-9:\\-]+\\\\s*>",1G,\'bA\')};f.3m.B.bE=j(1G){c.4D(\'\\\\s+\',1G,\'54\');c.bD(1G);c.2F(\'/>\',1G);c.2F(\'>\',1G)};f.3m.B.bD=j(1G){c.4D("\\\\s*[a-z-8g-9]*:?[a-z-8g-9]+\\\\s*(?=\\=)\\\\s*",1G,\'bv\');c.2P(\'=\\\\s*"\',1G,\'71\');c.45("\\\\\\\\\\"",\'71\');c.2F(\'"\',\'71\');c.2P("=\\\\s*\'",1G,\'70\');c.45("\\\\\\\\\'",\'70\');c.2F("\'",\'70\');c.4D(\'=\\\\s*[^>\\\\s]*\',1G,\'bu\')};f.1w=j(bC,T){o T=T||\'3i\';c.6G=1g f.3m(c);c.1b=bC;c.44=T;c.nN=[];c.nM=\'\';c.nL=\'\';u c};f.1w.B.3Z=j(1y){c.6G.3Z(c.6R(1y));u c.6Q(c.1b.b5())};f.1w.B.6R=j(1y){if(1y.M(/J="aX"/)||1y.M(/ns = "nK:nJ-nI-nH/)){c.1b.aY()}u c.1b.6R(1y)};f.1w.B.6Q=j(3M){if(c.1b.8n){c.1b.aW()}u c.1b.6Q(3M)};f.1w.B.54=j(M,2b){u S};f.1w.B.3i=j(V){c.1b.b4(V);u S};f.1w.B.8D=j(M,2p){u c.78(M,2p,\'6N\')};f.1w.B.8C=j(M,2p){u c.78(M,2p,\'6M\')};f.1w.B.8B=j(M,2p){u c.78(M,2p,\'6L\')};f.1w.B.78=j(M,2b,1e){3f(2b){1k f.76:c.5P=M;1p;1k f.3H:c.5P+=M;1p;1k f.5I:3f(1e){1k\'6N\':c.1b.6N(c.5P+M);1p;1k\'6M\':c.1b.6M(c.5P+M);1p;1k\'6L\':c.1b.6L(c.5P+M);1p}}u S};f.1w.B.77=j(M,2b){3f(2b){1k f.76:c.bB=c.74(M);c.5O={};1p;1k f.72:c.8A(c.74(M));1p;1k f.5I:c.8A(c.bB,c.5O)}u S};f.1w.B.bA=j(M,2b){c.8x(c.74(M));u S};f.1w.B.8A=j(E,H){o H=H||{};c.by(E);if(c.1b.8m(E)){c.1b.4q.1Y(E);c.1b.aS(E,H);c.1b.6m(E,H);c.8z(E)}Z if(c.1b.aV(E)){c.1b.b3(E,H)}Z{c.1b.b2(E,H);c.8z(E)}c.1b.6H=E;c.1b.8k=S;c.1b.nG=H};f.1w.B.8x=j(E){if(c.bz(E)){c.bx(E);if(c.1b.8m(E)){o 75=c.1b.4q.4P();if(75==K){u}Z if(75!=E){E=75}c.1b.b1(E)}Z{c.1b.b0(E)}}Z{c.1b.aZ(E)}c.1b.6H=E;c.1b.8k=K};f.1w.B.8z=j(E){c.1b.2U[E]=c.1b.2U[E]||0;c.1b.2U[E]++};f.1w.B.bz=j(E){if(c.1b.2U[E]){c.1b.2U[E]--;if(c.1b.2U[E]==0){c.1b.2U[E]=2e}u S}u K};f.1w.B.by=j(3d){c.8y(3d,K)};f.1w.B.bx=j(E){c.8y(E,S)};f.1w.B.8y=j(3d,2R){o 2R=2R||K;if(c.1b.2U){1j(o E in c.1b.2U){o bw=c.1b.2U[E];if(bw>0&&c.1b.bc(E,3d,2R)){c.8x(E,S)}}}};f.1w.B.6O=j(){u c.1b.6O()};f.1w.B.74=j(E){E=E.W(/^([\\s<\\/>]*)|([\\s<\\/>]*)$/gm,\'\').1q();o 3j=c.1b.6O();if(3j[E]){u 3j[E]}u E};f.1w.B.bv=j(M,2b){if(f.72==2b){c.6Z=M}u S};f.1w.B.71=j(M,2b){if(f.3H==2b){c.5O[c.6Z]=M}u S};f.1w.B.70=j(M,2b){if(f.3H==2b){c.5O[c.6Z]=M}u S};f.1w.B.bu=j(M,2b){c.5O[c.6Z]=M.W(/^=/,\'\');u S};f.1m=j(){c.1X=\'\';c.4O=1g f.2V();c.2U={};c.3v=f.bt;c.4q=[];c.5K=[];c.8r={\'&b7;\':\'&#b8;\',\'&nF;\':\'&#nE;\',\'&nD;\':\'&#nC;\',\'&nB;\':\'&#nA;\',\'&nz;\':\'&#ny;\',\'&nx;\':\'&#nw;\',\'&nv;\':\'&#nt;\',\'&nr;\':\'&#nq;\',\'&np;\':\'&#nn;\',\'&nm;\':\'&#nl;\',\'&nk;\':\'&#nj;\',\'&nh;\':\'&#ng;\',\'&bs;\':\'&#nf;\',\'&nd;\':\'&#nc;\',\'&nb;\':\'&#na;\',\'&n9;\':\'&#n8;\',\'&n7;\':\'&#n6;\',\'&n5;\':\'&#n4;\',\'&n3;\':\'&#n2;\',\'&n1;\':\'&#n0;\',\'&mZ;\':\'&#mY;\',\'&mX;\':\'&#mW;\',\'&mV;\':\'&#mU;\',\'&mT;\':\'&#mS;\',\'&mR;\':\'&#mQ;\',\'&mP;\':\'&#mO;\',\'&mN;\':\'&#mM;\',\'&mL;\':\'&#mK;\',\'&mJ;\':\'&#mI;\',\'&mH;\':\'&#mG;\',\'&mF;\':\'&#mE;\',\'&mD;\':\'&#mC;\',\'&mB;\':\'&#mA;\',\'&mz;\':\'&#my;\',\'&mx;\':\'&#mw;\',\'&mv;\':\'&#mt;\',\'&ms;\':\'&#mr;\',\'&mq;\':\'&#mp;\',\'&mo;\':\'&#mn;\',\'&mm;\':\'&#ml;\',\'&mk;\':\'&#mj;\',\'&mh;\':\'&#mg;\',\'&mf;\':\'&#me;\',\'&md;\':\'&#mc;\',\'&mb;\':\'&#ma;\',\'&m9;\':\'&#m8;\',\'&m7;\':\'&#m6;\',\'&m5;\':\'&#m4;\',\'&m3;\':\'&#m2;\',\'&m1;\':\'&#m0;\',\'&lZ;\':\'&#lY;\',\'&lX;\':\'&#lW;\',\'&lV;\':\'&#lU;\',\'&lT;\':\'&#lS;\',\'&lR;\':\'&#lQ;\',\'&lP;\':\'&#lO;\',\'&lN;\':\'&#lM;\',\'&lL;\':\'&#lK;\',\'&lJ;\':\'&#lI;\',\'&lH;\':\'&#lG;\',\'&lF;\':\'&#lE;\',\'&lD;\':\'&#lC;\',\'&lB;\':\'&#lA;\',\'&lz;\':\'&#ly;\',\'&lx;\':\'&#7Y;\',\'&lw;\':\'&#lv;\',\'&lu;\':\'&#lt;\',\'&ls;\':\'&#lr;\',\'&lq;\':\'&#lp;\',\'&lo;\':\'&#ln;\',\'&lm;\':\'&#ll;\',\'&lk;\':\'&#lj;\',\'&lh;\':\'&#lg;\',\'&lf;\':\'&#ld;\',\'&lc;\':\'&#lb;\',\'&la;\':\'&#l9;\',\'&l8;\':\'&#l7;\',\'&l6;\':\'&#l5;\',\'&l4;\':\'&#l3;\',\'&l2;\':\'&#l1;\',\'&l0;\':\'&#kZ;\',\'&kY;\':\'&#kX;\',\'&kW;\':\'&#kV;\',\'&kU;\':\'&#kT;\',\'&kS;\':\'&#kR;\',\'&kQ;\':\'&#kP;\',\'&kO;\':\'&#kN;\',\'&kM;\':\'&#kL;\',\'&kK;\':\'&#kJ;\',\'&kI;\':\'&#kH;\',\'&kG;\':\'&#kF;\',\'&kE;\':\'&#kD;\',\'&kC;\':\'&#kB;\',\'&kA;\':\'&#kz;\',\'&ky;\':\'&#kx;\',\'&kw;\':\'&#kv;\',\'&ku;\':\'&#kt;\',\'&ks;\':\'&#kr;\',\'&kq;\':\'&#kp;\',\'&ko;\':\'&#kn;\',\'&km;\':\'&#kl;\',\'&kk;\':\'&#kj;\',\'&8w;\':\'&#ki;\',\'&kh;\':\'&#kg;\',\'&kf;\':\'&#ke;\',\'&kd;\':\'&#kc;\',\'&kb;\':\'&#ka;\',\'&k9;\':\'&#k8;\',\'&k7;\':\'&#k6;\',\'&k5;\':\'&#k4;\',\'&k3;\':\'&#k2;\',\'&k1;\':\'&#k0;\',\'&jZ;\':\'&#jY;\',\'&jX;\':\'&#jW;\',\'&jV;\':\'&#jU;\',\'&jT;\':\'&#jS;\',\'&jR;\':\'&#jQ;\',\'&jP;\':\'&#jO;\',\'&jN;\':\'&#jM;\',\'&jL;\':\'&#jK;\',\'&jJ;\':\'&#jI;\',\'&jH;\':\'&#jG;\',\'&jF;\':\'&#jE;\',\'&jD;\':\'&#jC;\',\'&jB;\':\'&#jA;\',\'&jz;\':\'&#jy;\',\'&jx;\':\'&#jw;\',\'&jv;\':\'&#ju;\',\'&jt;\':\'&#jr;\',\'&jq;\':\'&#jp;\',\'&jo;\':\'&#jn;\',\'&jm;\':\'&#jl;\',\'&jk;\':\'&#jj;\',\'&ji;\':\'&#jh;\',\'&jg;\':\'&#jf;\',\'&je;\':\'&#jd;\',\'&jc;\':\'&#jb;\',\'&ja;\':\'&#j9;\',\'&j8;\':\'&#j7;\',\'&mu;\':\'&#j6;\',\'&nu;\':\'&#j5;\',\'&j4;\':\'&#j3;\',\'&j2;\':\'&#j1;\',\'&pi;\':\'&#j0;\',\'&iZ;\':\'&#iY;\',\'&iX;\':\'&#iW;\',\'&iV;\':\'&#iU;\',\'&iT;\':\'&#iS;\',\'&iR;\':\'&#iQ;\',\'&iP;\':\'&#iO;\',\'&iN;\':\'&#iM;\',\'&iL;\':\'&#iK;\',\'&iJ;\':\'&#iI;\',\'&iH;\':\'&#iG;\',\'&iF;\':\'&#iE;\',\'&iD;\':\'&#iC;\',\'&iB;\':\'&#iA;\',\'&iz;\':\'&#iy;\',\'&ix;\':\'&#iw;\',\'&iv;\':\'&#iu;\',\'&it;\':\'&#ir;\',\'&iq;\':\'&#ip;\',\'&io;\':\'&#im;\',\'&il;\':\'&#ik;\',\'&ij;\':\'&#ii;\',\'&ih;\':\'&#ie;\',\'&ic;\':\'&#ib;\',\'&ia;\':\'&#i9;\',\'&i8;\':\'&#i7;\',\'&i6;\':\'&#i5;\',\'&i4;\':\'&#i3;\',\'&i2;\':\'&#i1;\',\'&i0;\':\'&#hZ;\',\'&hY;\':\'&#hX;\',\'&hW;\':\'&#hV;\',\'&hU;\':\'&#hT;\',\'&hS;\':\'&#hR;\',\'&hQ;\':\'&#hP;\',\'&hO;\':\'&#hN;\',\'&hM;\':\'&#hL;\',\'&hK;\':\'&#hJ;\',\'&hI;\':\'&#hH;\',\'&hG;\':\'&#hF;\',\'&bq;\':\'&#hE;\',\'&hD;\':\'&#hC;\',\'&hB;\':\'&#hA;\',\'&hz;\':\'&#hy;\',\'&hx;\':\'&#hw;\',\'&hv;\':\'&#hu;\',\'&ht;\':\'&#hs;\',\'&hq;\':\'&#hp;\',\'&ho;\':\'&#hn;\',\'&hm;\':\'&#hl;\',\'&hk;\':\'&#hj;\',\'&hi;\':\'&#hh;\',\'&hg;\':\'&#hf;\',\'&he;\':\'&#hd;\',\'&hc;\':\'&#hb;\',\'&ha;\':\'&#h9;\',\'&h8;\':\'&#h7;\',\'&h0;\':\'&#gZ;\',\'&gY;\':\'&#gX;\',\'&gW;\':\'&#gV;\',\'&gU;\':\'&#gT;\',\'&gS;\':\'&#gR;\',\'&gQ;\':\'&#gP;\',\'&ni;\':\'&#gO;\',\'&gN;\':\'&#gM;\',\'&gL;\':\'&#gK;\',\'&gJ;\':\'&#gI;\',\'&gH;\':\'&#gG;\',\'&gF;\':\'&#gE;\',\'&6Y;\':\'&#gD;\',\'&gC;\':\'&#gB;\',\'&gA;\':\'&#gz;\',\'&gy;\':\'&#gx;\',\'&or;\':\'&#gw;\',\'&gv;\':\'&#gu;\',\'&gt;\':\'&#gs;\',\'&gr;\':\'&#gq;\',\'&gp;\':\'&#go;\',\'&gn;\':\'&#gl;\',\'&gk;\':\'&#gj;\',\'&gh;\':\'&#gg;\',\'&ne;\':\'&#gf;\',\'&bp;\':\'&#gd;\',\'&le;\':\'&#gc;\',\'&ge;\':\'&#gb;\',\'&3a;\':\'&#ga;\',\'&3S;\':\'&#g9;\',\'&g8;\':\'&#g7;\',\'&g6;\':\'&#g5;\',\'&g4;\':\'&#g3;\',\'&g2;\':\'&#g1;\',\'&g0;\':\'&#fZ;\',\'&fY;\':\'&#fX;\',\'&fW;\':\'&#fV;\',\'&fU;\':\'&#fT;\',\'&fS;\':\'&#fR;\',\'&fQ;\':\'&#fP;\',\'&fO;\':\'&#fN;\',\'&3L;\':\'&#fM;\',\'&fL;\':\'&#fK;\',\'&fJ;\':\'&#fI;\',\'&fH;\':\'&#fG;\',\'&fF;\':\'&#fE;\',\'&fD;\':\'&#fC;\',\'&fB;\':\'&#fA;\'};c.8l=["a","6X","8p","6P","bo","b","57","6W","bn","2H","1i","3K","bm","56","bl","6V","5N","dd","8o","N","bk","dl","dt","em","2T","1M","2S","h1","h2","h3","h4","h5","h6","Q","i","bj","bi","1n","3l","li","bh","8v","4B","ol","bg","6S","p","1T","43","q","bf","2j","4X","be","3u","3b","1o","3a","3S","3k","8u","4E","4F","8t","5L","8s","O","6T","bd","2G","o","fz"];c.aU=["br","hr","6U","1z"];u c};f.1m.B.bc=j(E,5M,2R){o 2R=2R||K;if(E==\'4E\'){if((2R&&5M==\'6T\')||(!2R&&5M==\'4E\')){u S}}if(E==\'6S\'){if((2R&&5M==\'4X\')||(!2R&&5M==\'6S\')){u S}}u K};f.1m.B.6R=j(1y){c.1X=\'\';u 1y};f.1m.B.6Q=j(1v){1v=c.bb(1v);1v=c.ba(1v);1v=c.b9(1v);1v=c.b6(1v);u 1v};f.1m.B.bb=j(1v){1j(o 8q in c.8r){1v=1v.W(1g 2N(8q,\'g\'),c.8r[8q])}u 1v};f.1m.B.ba=j(1v){o 3j=\'em|3b|3a|3S|8p|43|8o|6P\';u 1v.W(1g 2N(\'<\\/(\'+3j+\')><\\\\1>\',\'\'),\'\').W(1g 2N(\'(\\s*<(\'+3j+\')>\\s*){2}(.*)(\\s*<\\/\\\\2>\\s*){2}\',\'\'),\'<\\$2>\\$3<\\$2>\')};f.1m.B.b9=j(1v){u 1v.W(1g 2N(\'<(\'+c.8l.5A("|").W(/\\|4E/,\'\').W(/\\|5L/,\'\')+\')>(<br \\/>|&#b8;|&b7;|\\\\s)*<\\/\\\\1>\',\'g\'),\'\')};f.1m.B.b6=j(1v){o 2i=1v.M(1g 2N(\'<43[^>]*>(.*?)<\\/43>\',\'fy\'));if(2i){1j(o i=0;i<2i.Y;i++){1v=1v.W(2i[i],2i[i].W(1g 2N(\'<br \\/>\',\'g\'),fx.fw(13,10)))}}u 1v};f.1m.B.b5=j(){u c.1X};f.1m.B.6O=j(){u{\'b\':\'3b\',\'i\':\'em\'}};f.1m.B.b4=j(V){c.1X+=V};f.1m.B.6N=j(V){if(c.fv){c.1X+=V}};f.1m.B.6M=j(V){if(!c.fu){c.1X+=V}};f.1m.B.6L=j(V){if(!c.ft){c.1X+=V}};f.1m.B.6m=j(E,H){c.1X+=c.4O.E(E,c.3v.5q(E,H),S)};f.1m.B.b3=j(E,H){c.1X+=c.4O.E(E,c.3v.5q(E,H))};f.1m.B.b2=j(E,H){};f.1m.B.b1=j(E){c.1X=c.1X.W(/<br \\/>$/,\'\')+c.8i(\'aT\',E)+"</"+E+">"+c.8i(\'6I\',E)};f.1m.B.b0=j(E){};f.1m.B.aZ=j(E){c.1X+="</"+E+">"};f.1m.B.aY=j(){c.5K=[\'N\',\'3u\'];c.3v.6K=[\'1o\'];c.3v.6J=[\'aX\',\'fs\'];c.8n=S};f.1m.B.aW=j(){c.5K=[];c.3v.6K=[];c.3v.6J=[];c.8n=K};f.1m.B.8m=j(E){u!f.1P.2E(c.5K,E)&&f.1P.2E(c.8l,E)};f.1m.B.aV=j(E){u!f.1P.2E(c.5K,E)&&f.1P.2E(c.aU,E)};f.1m.B.aR=j(E,2c){c.8j(\'6I\',E,2c)};f.1m.B.fr=j(E,2c){c.8j(\'aT\',E,2c)};f.1m.B.aS=j(E,H){if(E!=\'li\'&&(E==\'2G\'||E==\'ol\')&&c.6H&&!c.8k&&c.6H==\'li\'){c.1X=c.1X.W(/<\\/li>$/,\'\');c.aR(E,\'</li>\')}};f.1m.B.8j=j(2Q,E,2c){if(!c[\'3J\'+2Q+\'3I\']){c[\'3J\'+2Q+\'3I\']=[]}if(!c[\'3J\'+2Q+\'3I\'][E]){c[\'3J\'+2Q+\'3I\'][E]=[]}c[\'3J\'+2Q+\'3I\'][E].1Y(2c)};f.1m.B.8i=j(2Q,E){if(c[\'3J\'+2Q+\'3I\']&&c[\'3J\'+2Q+\'3I\'][E]&&c[\'3J\'+2Q+\'3I\'][E].Y>0){u c[\'3J\'+2Q+\'3I\'][E].4P()}u\'\'};f.aQ=j(42,2v){o 2v=(1s 2v==\'2e\'?S:2v);D.55(c,1g f.2h(42,(2v?\'54\':\'4C\')));c.8h(\'4C\',\'54\');if(2v==S){c.2P("/\\\\\\41[<\\\\s]*f[>\\\\s]*\\\\\\41/",\'54\',\'4C\');c.2F("/\\\\\\41[<\\/\\\\s]*f[>\\\\s]*\\\\\\41/",\'4C\')}c.4D("[\\\\fq-fp-6]*\\\\\\fo[a-z-8g-9]+",\'4C\',\'aP\');c.2P("/\\\\\\41",\'4C\',\'8f\');c.2F("\\\\\\41/",\'8f\');c.2P("\\fm",\'4C\',\'6F\');c.2F("\\fl",\'6F\');c.2P("/\\\\\\41",\'6F\',\'8e\');c.2F("\\\\\\41/",\'8e\');u c};f.3G=j(){c.6E=K;c.5H=K;c.2v=S;c.4A={\'3Y\':[],\'3h\':[],\'4z\':[]};u c};f.3G.B.3Z=j(1y,2v){o 2v=(1s 2v==\'2e\'?c.2v:2v);c.6G=1g f.aQ(c,2v);c.6G.3Z(1y)};f.3G.B.54=j(M,2b){u S};f.3G.B.8f=j(V,2p){if(V.M(/fk[a-5J-9\\s]*F[a-5J-9\\s]*/mi)){u K}if(2p==f.3H){if(!c.6E){c.5H=S;c.2o={\'O\':f.1P.4w(V)}}Z{if(c.2o[c.2g]){if(!c.2o[c.2g].6C){c.2o[c.2g].6C=[V]}Z{c.2o[c.2g].6C.1Y(V)}}}c.6E=S}u S};f.3G.B.6F=j(M,2p){if(2p==f.3H){M=f.1P.4w(M);if(M!=\'\'){c.2o[c.2g].1o=M}}Z if(2p==f.5I){c.6E=K;c.5H=K;c.aO(c.2o)}u S};f.3G.B.8e=j(M,2p){if(2p==f.3H){c.2o[c.2g].8c=M.W(/^([\\s\\/\\*]*)|([\\s\\/\\*]*)$/gm,\'\')}u S};f.3G.B.aP=j(M){M=M.W(/^([\\s\\.]*)|([\\s\\.*]*)$/gm,\'\');o E=\'\';if(M.89(\'.\')>0){o 8d=M.5F(\'.\');c.2g=8d[1];o E=8d[0]}Z{c.2g=M}if(!c.5H){c.2o={\'O\':(!E?\'\':E.fj()+\': \')+c.2g};c.5H=S}if(!c.2o[c.2g]){c.2o[c.2g]={\'G\':c.2g}}if(E){if(!c.2o[c.2g].3j){c.2o[c.2g].3j=[E]}Z{c.2o[c.2g].3j.1Y(E)}}u S};f.3G.B.aO=j(6D){1j(o G in 6D){o 2O=6D[G];if(1s 2O==\'4B\'&&G!=\'O\'){c.4A.3Y.1Y({\'G\':f.1P.4w(2O.G),\'O\':6D.O,\'aN\':f.1P.4w((2O.6C||2O.3j).5A(\', \'))});if(2O.8c){c.4A.3h.1Y({\'G\':\'.\'+f.1P.4w(2O.G),\'1c\':2O.8c})}if(2O.1o){c.4A.4z.1Y({\'G\':\'.\'+f.1P.4w(2O.G),\'1c\':2O.1o})}}}};D.fn.aM=j(){if(c[0].8b==3)u!(/[^\\t\\n\\r ]/.2J(c[0].4y));u K};f.aM=j(n){if(n.8b==3)u!(/[^\\t\\n\\r ]/.2J(n.4y));u K};f.fi=j(2M){u!(/[^\\t\\n\\r ]/.2J(2M))};D.fn.4V=j(4x){o n=c;if(n[0].8b==3)n=n.5C().aL(0,1);if(n.53(4x).2u()==1)u n;Z u n.5C(4x).aL(0,1)};f.1P={1l:j(2M,aK,aJ){o 6B=1g 2N(aK,"g");u(2M.W(6B,aJ))},fh:j(2M,aH,8a){u(2M.aI(0,8a)+aH+2M.6A(8a))},4w:j(2M){u 2M.W(/^(\\s*)|(\\s*)$/gm,\'\')},2E:j(3F,5G){1j(o i=0;i<3F.Y;i++){if(3F[i]===5G)u S}u K},89:j(3F,4v){o 88=-1;1j(o i=0;i<3F.Y;i++){if(3F[i]==4v){88=i;1p}}u(88)},aG:j(3F,G){1j(o i=0;i<3F.Y;i++){o 4v=3F[i];if(4v.G==G)u(4v)}u(1f)}};f.2t=j(F){c.1W=F;c.5z="fg";c.4U="\\r\\n"};f.2t.B.5y=j(1L){c.1K=1L;c.I=1L.1I.3D;o 1E=c.I.4T[0];o 2s=2B(c.C.3h);c.4S(c.I,2s);c.I.O=c.1W.3g;D(\'Q\',c.I).1r(\'3C\',c.C.4R);D(c.I.1i).Q(c.1W.4Q);o F=c;c.I.1i.aF=j(){F.I.4s="on";F.I=1L.1I.3D};c.I.ff=j(){F.6z()};c.I.aE=j(){F.6z();F.2y()};c.I.aD=j(){F.6z()};c.I.1i.fe=j(){F.1K.1I.aC.aB=K};c.I.1i.fd=j(){F.1K.1I.aC.aB=K;F.5E(2n.fc.fb("3i"))};if(c.aA){if(D.2A(c.C.3B))c.C.3B(c);c.1W.5x();if(D.2A(c.C.3z))c.C.3z(c);c.5w()}c.aA=S;c.I.4s="on";4u{c.I=1L.1I.3D}4t(e){}};(j(az){f.2t.B.52=j(){D(c.2f).3E(c.C.87).1r(\'fa\',\'on\');az.av(c)}})(f.1h.B.52);f.2t.B.1O=j(1F,1T){3f(1F){1k f.6w:1k f.6v:o L=c.2K(c.L(),f.6u);if(L){o 3y=L.1B.1B;if(L.1B.6t.Y>1||3y.1t.1q()==f.6s||3y.1t.1q()==f.6r)c.I.2r(1F)}1p;3U:if(1T)c.I.2r(1F,K,1T);Z c.I.2r(1F);1p}};f.2t.B.1d=j(){o 51=c.1K.1I.3D.51;if(51!=1f){if(51.5D!=2e)u(51.5D())}};f.2t.B.6z=j(){c.I.51=c.I.2L.4Y()};f.2t.B.5t=j(1E,1Z){o 86=1Z.G.5F(\',\');1j(o i in 86){1E.f9(86[i],1Z.1c)}};f.2t.B.5B=j(Q){o 1D=c.I.2L.4Y();if(D(1D.5D()).5C(c.C.6y).is(\'*\')){4u{1D.85(Q)}4t(e){}}Z{c.5E(Q)}};f.2t.B.ay=j(2m,2D){o 1D=c.I.2L.4Y();if(D(1D.5D()).5C(c.C.6y).is(\'*\')){4u{1D.85(2m+1D.V+2D)}4t(e){}}};f.2t.B.ax=j(){o 1D=c.I.2L.4Y();if(D(1D.5D()).5C(c.C.6y).is(\'*\')){4u{o V=1D.V;c.1O(\'f8\');1D.85(V)}4t(e){}}};f.2t.B.2y=j(){c.2l=1f};f.2t.B.4Z=j(1a,3X){o 1D=c.I.2L.4Y();3X=3X?S:K;1D.f7(1a);1D.aw(3X);1D.4X();1a.4W()};f.2C=j(F){c.1W=F;c.5z="J";c.4U="\\n"};f.2C.B.5y=j(1L){o F=c;c.1K=1L;c.I=1L.al;o 1E=c.I.4T[0];o 2s=2B(c.C.3h);c.4S(c.I,2s);c.I.O=c.1W.3g;D(\'Q\',c.I).1r(\'3C\',c.C.4R);c.Q(c.1W.4Q);c.6x();if(D.2A(c.C.3B))c.C.3B(c);c.1W.5x();D(c.I).3A("3x",c.3x);D(c.I).3A("2y",c.2y);D(c.I).3A("4W",j(){F.6x.av(F)});if(D.2A(c.C.3z))c.C.3z(c);c.5w()};f.2C.B.Q=j(Q){if(1s Q===\'3T\'){4u{c.I.4s="au"}4t(e){};Q=Q.W(/<em(\\b[^>]*)>/gi,"<i$1>").W(/<\\/em>/gi,"</i>").W(/<3b(\\b[^>]*)>/gi,"<b$1>").W(/<\\/3b>/gi,"</b>");D(c.I.1i).Q(Q);c.6x()}Z u(D(c.I.1i).Q())};f.2C.B.1O=j(1F,1T){if(!c.1d())u(K);3f(1F){1k f.6w:1k f.6v:o 1u=c.1d();o 2z=c.1K.1I.3e();o 2a=2z.2a;if(2a.5u=="#V")2a=2a.1B;1u=c.2K(1u,f.5v);2a=c.2K(2a,f.5v);if(1u&&1u==2a&&1u.1t.1q()==f.6u){o 3y=1u.1B.1B;if(1u.1B.6t.Y>1||3y.1t.1q()==f.6s||3y.1t.1q()==f.6r)c.I.2r(1F,\'\',1f)}1p;3U:if(1T)c.I.2r(1F,\'\',1T);Z c.I.2r(1F,\'\',1f)}o L=c.1d();if(L.1t.1q()==f.3w)c.1O(f.4r,f.P)};f.2C.B.1d=j(){o 2z=c.1K.1I.3e();o 1a=2z.1u;if(1a){if(1a.5u=="#V")u(1a.1B);Z u(1a)}Z u(1f)};f.2C.B.5t=j(1E,1Z){1E.83(1Z.G+" {"+1Z.1c+"}",1E.82.Y)};f.2C.B.3x=j(X){o F=f.2x[c.O];o L=1f;if(X.6n){if(X.1C==66){F.1O(f.81);u K}if(X.1C==73){F.1O(f.80);u K}}Z if(X.1C==13){if(!X.6o){L=F.1d();if(L&&L.1t.1q()==f.5r){X.f6();F.5B(\'<p></p>\')}}}};f.2C.B.2y=j(X){o F=f.2x[c.O];F.2l=1f;o L=1f;if(X.1C==13&&!X.6o){D(F.I.1i).7Z(f.6p).5s()}if(X.1C!=8&&X.1C!=17&&X.1C!=46&&X.1C!=7Y&&!X.ai&&!X.6n){L=F.1d();o G=L.1t.1q();if(G=="3b"||G=="b"||G=="em"||G=="i"||G=="3a"||G=="3S"||G=="a")G=L.1B.1t.1q();if(G==f.3w)F.1O(f.4r,f.P)}};f.2C.B.6x=j(){if(c.I.4s=="au"){4u{c.I.4s="on";c.I.2r("f5",\'\',K)}4t(e){}}};f.2C.B.6m=j(E,H){o H=c.3v.5q(E,H);if(E==\'3u\'&&H.1o){o 3d=c.6l(H.1o);if(3d){E=3d;c.4q.4P();c.4q.1Y(E);H.1o=\'\'}}c.1X+=c.4O.E(E,H,S)};f.2C.B.6l=j(1o){if(/ag/.2J(1o))u\'3b\';if(/af/.2J(1o))u\'em\';if(/3a/.2J(1o))u\'3a\';if(/ae/.2J(1o))u\'3S\';u K};f.3V=j(F){c.1W=F;c.5z="J";c.4U="\\r\\n"};f.3V.B.5y=j(1L){c.1K=1L;c.I=1L.1I.3D;o 1E=c.I.4T[0];o 2s=2B(c.C.3h);c.4S(c.I,2s);c.I.O=c.1W.3g;D(\'Q\',c.I).1r(\'3C\',c.C.4R);c.I.4s="on";c.Q(c.1W.4Q);if(D.2A(c.C.3B))c.C.3B(c);c.1W.5x();D(c.I).3A("3x",c.3x);D(c.I).3A("2y",c.2y);if(D.2A(c.C.3z))c.C.3z(c);c.5w()};f.3V.B.1O=j(1F,1T){if(1T)c.I.2r(1F,K,1T);Z c.I.2r(1F)};f.3V.B.1d=j(){o 2z=c.1K.1I.3e();o 1a=2z.1u;if(1a){if(1a.5u=="#V")u(1a.1B);Z u(1a)}Z u(1f)};f.3V.B.5t=j(1E,1Z){1E.83(1Z.G+" {"+1Z.1c+"}",1E.82.Y)};f.3V.B.3x=j(X){o F=f.2x[c.O];o 2z=F.1K.1I.3e();84=2z.at(0).f4;if(!D(84).4V(f.6q.5A(","))[0]&&!D(84).4V(\'li\')&&X.1C!=f.3W.as&&X.1C!=f.3W.ar&&X.1C!=f.3W.aq&&X.1C!=f.3W.ap&&X.1C!=f.3W.ao&&X.1C!=f.3W.an&&X.1C!=f.3W.am)F.1O(f.4r,f.P)};f.3V.B.2y=j(X){o F=f.2x[c.O];F.2l=1f};f.3c=j(F){c.1W=F;c.5z="J";c.4U="\\n"};f.3c.B.5y=j(1L){c.1K=1L;c.I=1L.al;o 1E=c.I.4T[0];o 2s=2B(c.C.3h);c.4S(c.I,2s);c.I.O=c.1W.3g;D(\'Q\',c.I).1r(\'3C\',c.C.4R);c.I.4s="on";c.Q(c.1W.4Q);if(D.2A(c.C.3B))c.C.3B(c);c.1W.5x();D(c.I).3A("3x",c.3x);D(c.I).3A("2y",c.2y);if(D.2A(c.C.3z))c.C.3z(c);c.5w()};f.3c.B.1O=j(1F,1T){if(!c.1d())u(K);3f(1F){1k f.6w:1k f.6v:o 1u=c.1d();o 2z=c.1K.1I.3e();o 2a=2z.2a;if(2a.5u=="#V")2a=2a.1B;1u=c.2K(1u,f.5v);2a=c.2K(2a,f.5v);if(1u&&1u==2a&&1u.1t.1q()==f.6u){o 3y=1u.1B.1B;if(1u.1B.6t.Y>1||3y.1t.1q()==f.6s||3y.1t.1q()==f.6r)c.I.2r(1F,\'\',1f)}1p;1k f.ak:1k f.aj:c.I.2r(1F,\'\',1f);o 1u=c.1d();o L=c.2K(1u,f.6q);if(L)D(L).f3(D(L).Q());1p;3U:if(1T)c.I.2r(1F,\'\',1T);Z c.I.2r(1F,\'\',1f)}o L=c.1d();if(L&&L.1t.1q()==f.3w)c.1O(f.4r,f.P)};f.3c.B.1d=j(){o 2z=c.1K.1I.3e();o 1a=2z.1u;if(1a){if(1a.5u=="#V")u(1a.1B);Z u(1a)}Z u(1f)};f.3c.B.5t=j(1E,1Z){1E.83(1Z.G+" {"+1Z.1c+"}",1E.82.Y)};f.3c.B.3x=j(X){o F=f.2x[c.O];if(X.6n){if(X.1C==66){F.1O(f.81);u K}if(X.1C==73){F.1O(f.80);u K}}};f.3c.B.2y=j(X){o F=f.2x[c.O];F.2l=1f;o L=1f;if(X.1C==13&&!X.6o){D(F.I.1i).7Z(f.6p).5s();L=F.1d();if(L&&L.1t.1q()==f.5r)F.1O(f.4r,f.P);}if(X.1C==13&&X.6o){F.1O(\'f2\')}if(X.1C!=8&&X.1C!=17&&X.1C!=46&&X.1C!=7Y&&!X.ai&&!X.6n){L=F.1d();o G=L.1t.1q();if(G=="3b"||G=="b"||G=="em"||G=="i"||G=="3a"||G=="3S"||G=="a"||G=="3u")G=L.1B.1t.1q();if(G==f.3w||G==f.ah)F.1O(f.4r,f.P);}};f.3c.B.6m=j(E,H){o H=c.3v.5q(E,H);if(E==\'3u\'&&H.1o){o 3d=c.6l(H.1o);if(3d){E=3d;c.4q.4P();c.4q.1Y(E);H.1o=\'\';if(1s H[\'J\']==\'3T\'){H[\'J\']=H[\'J\'].W(/f1-1o-3u/gi,\'\')}}}c.1X+=c.4O.E(E,H,S)};f.3c.B.6l=j(1o){if(/ag/.2J(1o))u\'3b\';if(/af/.2J(1o))u\'em\';if(/3a/.2J(1o))u\'3a\';if(/ae/.2J(1o))u\'3S\';u K};',62,1724,'||||||||||||this|||WYMeditor||||function|||||var||||||return|||||||prototype|_options|jQuery|tag|wym|name|attributes|_doc|class|false|container|match|div|title||html|value|true|mode||text|replace|evt|length|else|||||||||||node|_Listener|css|selected|type|null|new|editor|body|for|case|replaceAll|XhtmlSaxListener|label|style|break|toLowerCase|attr|typeof|tagName|focusNode|xhtml|XhtmlParser|boxHtml|raw|input|val|parentNode|keyCode|range|styles|cmd|scope|dialogHtml|contentWindow|_tags|_iframe|iframe|form|row|_exec|Helper|result|href|options|param|key|src|_wym|output|push|oCss|||||||||||anchorNode|state|content|required|undefined|_box|_current_element|Lexer|matches|script|attribute|_selected_image|left|window|_current_item|status|_regexes|execCommand|aCss|WymClassExplorer|size|only_wym_blocks|link|INSTANCES|keyup|sel|isFunction|eval|WymClassMozilla|right|contains|addExitPattern|ul|blockquote|_mode_handlers|test|findUp|selection|str|RegExp|details|addEntryPattern|position|closing|head|fieldset|_open_tags|XmlHelper|ParallelRegex|char|disabled|skin|||||||||||sub|strong|WymClassSafari|new_tag|getSelection|switch|_index|editorStyles|Text|tags|table|legend|XhtmlLexer|matched|pattern|start|top|submit|paragraphs|sType|span|validator|BODY|keydown|ancestor|postInit|bind|preBind|dir|document|find|arr|WymCssParser|LEXER_UNMATCHED|_closing|_insert_|button|lang|parsed|defaults|inside|xml|INDEX|newNode|sup|string|default|WymClassOpera|KEY|toStart|classesItems|parse||x2a|parser|pre|_mode|addPattern||_patterns|baseline|bottom|middle|valign|charoff|justify|center|align|stylesheet|doc|sBodyHtml|tagname|sClass|oClass|sContainer|sTool|iframeHtml|WymClass|_tag_stack|FORMAT_BLOCK|designMode|catch|try|item|trim|jqexpr|data|dialogStyles|css_settings|object|WymCss|addSpecialPattern|td|textarea|_invokeParser|_case|width|onload|basePath|dialog|sVal|console|helper|pop|_html|direction|addCssRules|styleSheets|_newLine|parentsOrSelf|focus|select|createRange|setFocusToNode||caretPos|loadSkin|filter|Ignore|extend|cite|base|init|_stack|count|except|alt|tag_attributes|delimiter|close|sUrl|INIT_DIALOG|SKINS|skinPath|CssParser|wymeditor|TH|oContainer|oTool|wym_section|getValidTagAttributes|PRE|remove|addCssRule|nodeName|BLOCKS|listen|bindEvents|initIframe|_class|join|insert|parents|parentElement|paste|split|elem|_has_title|LEXER_EXIT|z0|avoided_tags|th|now_on_tag|colgroup|_tag_attributes|_non_tag|action|special|new_mode|accept|StateStack|_regex|_possible_tag_attributes|rel|hidden|get|open|createElement|submitSelector|titleSelector|TITLE|sStamp||dialogImageSelector|DIALOG_LINK|dialogType|update|stringDelimiterRight|stringDelimiterLeft|toggleClass|BLOCKQUOTE|Array|TD|aClasses|wym_dialog|wym_cancel|wym_dialog_type|getTagForStyle|openBlockTag|ctrlKey|shiftKey|BR|MAIN_CONTAINERS|UL|OL|childNodes|LI|OUTDENT|INDENT|enableDesignMode|iframeBodySelector|saveCaret|substring|rExp|expressions|style_details|_in_style|WymCssStyle|_Lexer|last_tag|after|skiped_attribute_values|skiped_attributes|addCss|addScript|addComment|getTagReplacements|address|afterParsing|beforeParsing|option|tr|img|col|bdo|abbr|prop|_current_attribute|SingleQuotedAttribute|DoubleQuotedAttribute|LEXER_SPECIAL||normalizeTag|expected_tag|LEXER_ENTER|OpeningTag|_addNonTagBlock|handler|unmatched|while|case_sensitive|regex|tag_defaults|only|valid_attributes|rows|cols|screen|charset|height|meta|index|escape_quotes|_entitiesDiv|mousedown|altSelector|ALT|SRC|srcSelector|SKINS_DEFAULT_CSS|grep|packed|min|pack|jquery|jQueryPath|wymPath|PREVIEW|DIALOG_PASTE|DIALOG_TABLE|DIALOG_IMAGE|dialogFeatures|_element|STRINGS|bFound|firstNode|nodes|aTypes|NAME|click|CLASS_NAME|TOOL_TITLE|HTML|iframeBasePath|browser|Cancel|Submit|wym_submit|224|children|ITALIC|BOLD|cssRules|insertRule|startNode|pasteHTML|selectors|containerSelector|ret|indexOf|pos|nodeType|feedback_style|parts|WymCssFeedbackStyle|WymCssComment|_0|mapHandler|_getClosingTagContent|_insertContentWhenClosingTag|last_tag_opened|block_tags|isBlockTag|_avoiding_tags_implicitly|del|acronym|entity|entities|thead|tfoot|tbody|noscript|circ|_callCloseTagListener|_autoCloseUnclosed|_increaseOpenTagCounter|_callOpenTagListener|Css|Script|Comment|unparsed_character_count|getCurrent|_parser|enter|leave|_labels|default_attributes|default_attributes_and_events|_attributes|_events|readonly|all|media|javascript|http|next|ltr|toString|innerHTML|_formated_options|tagOptions|postInitDialog|newRow|iCols|iRows|INSERT_IMAGE|relSelector|REL|HREF|CREATE_LINK|hrefSelector|preInitDialog|responseText|async|url|ajax|found|htmlSelector|wDialog|replaceStrings|DIALOG_BODY|DIALOG_TITLE|JQUERY_PATH|WYM_PATH|CSS_PATH|DIRECTION|hasfocus|htmlValSelector|error|langPath|switchTo|lgt|H6|H5|H4|H3|H2|H1|sName|sContainers|CONTAINERS_ITEMS|CONTAINER_CLASS|CONTAINER_TITLE|CONTAINER_NAME|aContainers|sClasses|CLASSES_ITEMS|CLASS_TITLE|sTools|TOOLS_ITEMS|TOOL_CLASS|TOOL_NAME|aTools|STATUS|IFRAME|CLASSES|CONTAINERS|TOOLS|LOGO|IFRAME_BASE_PATH|WYM_INDEX|SaxListener|preInit|Paste_From_Word|indent|Table|wym_title|Image|Link|wym_classes|wym_containers|wym_tools|wym_iframe|Preview|Unlink|Outdent|Indent|names|super|italic|bold|DIV|metaKey|INSERT_UNORDEREDLIST|INSERT_ORDEREDLIST|contentDocument|DELETE|BACKSPACE|DOWN|RIGHT|UP|LEFT|ENTER|getRangeAt|off|call|collapse|unwrap|wrap|editorLoadSkin|_initialized|returnValue|event|onclick|onkeyup|onfocus|findByName|inserted|substr|rep|old|slice|isPhantomNode|expr|addStyleSetting|WymCssStyleDeclaration|WymCssLexer|insertContentAfterClosingTag|fixNestingBeforeOpeningBlockTag|before|inline_tags|isInlineTag|allowStylingTagsAndAttributes|MsoNormal|avoidStylingTagsAndAttributes|closeUnopenedTag|closeUnknownTag|closeBlockTag|openUnknownTag|inlineTag|addContent|getResult|removeBrInPre|nbsp|160|removeEmptyTags|joinRepeatedEntities|replaceNamedEntities|shouldCloseTagAutomatically|tt|small|samp|optgroup|map|kbd|ins|dfn|code|caption|big|area|equiv|image||not|XhtmlValidator|UnquotedAttribute|TagAttributes|counter|autoCloseUnclosedBeforeTagClosing|autoCloseUnclosedBeforeNewOpening|_decreaseOpenTagCounter|ClosingTag|_tag|Listener|addAttributeTokens|addInTagDeclarationTokens|addTagTokens|addCssTokens|addScriptTokens|addCommentTokens|addTokens|unparsed|_reduce|is_match|current|_decodeSpecial|_|_isSpecialMode|__exit|_isModeEnd|LEXER_MATCHED|_dispatchTokens|_getPerlMatchingFlags|Tk7|Tk6|Tk5|Tk4|Tk3|Tk2|Tk1|_untokenizeRegex|_tokenizeRegex|_getCompoundedRegex|subject|getDefaultAttributesAndEventsForTag|getUniqueAttributesAndEventsForTag|getPossibleTagAttributes|validateAttribute|doesAttributeNeedsValidation|getDefaultAttributesAndEventsForTags|isValidTag|parseInt|possible_attributes|rowgroup|rowspan|headers|colspan|axis|summary|border|box|frame|braille|print|projection|multiple|defer|valuetype|usemap|icon|shortcut|subsection|section|prev|home|help|glossary|copyright|contents|chapter|bookmark|appendix|alternate|rev|hreflang|datetime|reset|file|checked|profile|rtl|polygon|poly|circle|rectangle|rect|shape|coords|keyboard|tabindex|accesskey|language|escapeEntities|escapeOnce|escaped|_fixDoubleEscape|cancelSelector|previewSelector|dialogPreviewSelector|sText|textSelector|dialogPasteSelector||summarySelector|sCaption|newCaption|captionSelector|TABLE|colsSelector|rowsSelector||dialogTableSelector|dialogLinkSelector|uniqueStamp|dialogTypeSelector|SKINS_DEFAULT_JS|initSkin|addClass||loadCss|each|appendChild|target|IMG|configureEditorUsingRawCss|skins|computeJqueryPath|computeWymPath|computeBasePath|now|toggleHtml|encloseString|BASE_PATH|bodyHtml|dialogPreviewHtml|dialogPasteHtml|dialogTableHtml|dialogImageHtml|dialogLinkHtml|features|sMessage|statusSelector|STRING|CLASS|insertBefore|dialogFeaturesPreview|TOGGLE_HTML|PASTE|INSERT_TABLE|exec|updateEvent|updateSelector|classSelector|toolSelector|hide|containersItemHtml|containersItems|classesItemHtml|toolsItemHtml|toolsItems|statusHtml|htmlHtml|classesHtml|containersHtml|toolsHtml|logoHtml|wym_dialog_preview|wym_text|wym_dialog_paste|wym_cols|wym_rows|wym_summary|wym_caption|||wym_dialog_table|Title|wym_alt|wym_src|URL|wym_dialog_image|wym_rel|wym_href|wym_dialog_link|xhtml1|DTD|org|www|300|560|resizable|toolbar|titlebar|menubar|wym_html_val|wym_status|wym_html|wym_box|ToggleHtml|Paste|InsertTable|InsertImage|CreateLink|Redo|Undo|InsertUnorderedList|InsertOrderedList|Subscript|Superscript|Italic|Bold|IFRAME_DEFAULT|LANG_DEFAULT_PATH|SKINS_DEFAULT_PATH|apple|InsertLineBreak|replaceWith|startContainer|styleWithCSS|preventDefault|moveToElementText|Cut|addRule|unselectable|getData|clipboardData|onpaste|onbeforepaste|onbeforedeactivate|className|insertAt|isPhantomString|toUpperCase|end|x7d|x7b||x2e|z1|sa|insertContentBeforeClosingTag|main1|remove_embeded_styles|remove_scripts|remove_comments|fromCharCode|String|gmi|extends|9830|diams|9829|hearts|9827|clubs|9824|spades|9674|loz|9002|rang|9001|8971|rfloor|8970|lfloor|8969|rceil|8968|lceil|8901|sdot|8869|perp|8855|otimes|8853|oplus|8839|supe|8838|sube|8836|nsub|8835|8834|8805|8804|8801||8800|8776|asymp||8773|cong|8764||sim|8756|there4|8747|int|8746|cup|8745|cap|8744|8743|and|8736|ang|8734|infin|8733|8730|radic|8727|lowast|8722|minus|8721|sum|8719|prod|8715|8713|notin|8712|isin|8711|nabla|8709|empty|8707|exist|8706|part|||||||8704|forall|8660|hArr|8659|dArr|8658|rArr|8657|uArr|8656|lArr|8629|crarr|8596|harr|8595|darr|8594|rarr||8593|uarr|8592|larr|8501|alefsym|8482|trade|8476|real|8472|weierp|8465|8364|euro|8260|frasl|8254|oline|8250|rsaquo|8249|lsaquo|8243|Prime|8242|prime|8240|permil|8230|hellip|8226|bull|8225|Dagger|8224|dagger|8222|bdquo|8221|rdquo|8220|ldquo|8218|sbquo|8217|rsquo||8216|||lsquo|8212|mdash|8211|ndash|8207||rlm|8206|lrm|8205||zwj|8204|zwnj|8201|thinsp|8195|emsp|8194|ensp|982|piv|978|upsih|977|thetasym|969|omega|968|psi|967|chi|966|phi|965|upsilon|964|tau|963|sigma|962|sigmaf|961|rho|960|959|omicron|958|xi|957|956|955|lambda|954|kappa|953|iota|952|theta|951|eta|950|zeta|949|epsilon|948|delta|947|gamma|946|beta|945||alpha|937|Omega|936|Psi|935|Chi|934|Phi|933|Upsilon|932|Tau|931|Sigma|929|Rho|928|Pi|927|Omicron|926|Xi|925|Nu|924|Mu|923|Lambda|922|Kappa|921|Iota|920|Theta|919|Eta|918|Zeta|917|Epsilon|916|Delta|915|Gamma|914|Beta|913|Alpha|732|tilde|710|402|fnof|376|Yuml|353|scaron|352|Scaron|339|oelig|338|OElig|255|yuml|254|thorn|253|yacute|252|uuml|251|ucirc|250|uacute|249|ugrave|248|oslash|247|divide|246|ouml|245|otilde|244|ocirc|243|oacute|242|ograve|241|ntilde|240|eth|239|iuml|238|icirc|237|iacute|236|igrave|235|euml|234|ecirc|233||eacute|232|egrave||231|ccedil|230|aelig|229|aring|228|auml|227|atilde|226|acirc|225|aacute|agrave|223|szlig|222|THORN|221|Yacute|220|Uuml|219|Ucirc|218|Uacute|217|Ugrave|216|Oslash|215|times|214|Ouml|213|Otilde|212|Ocirc|211|Oacute|210|Ograve|209|Ntilde|208|ETH|207|Iuml|206|Icirc|205|Iacute|204|Igrave|203|Euml|202|Ecirc|201|Eacute||200|Egrave|199|Ccedil|198|AElig|197|Aring|196|Auml|195||Atilde|194|Acirc|193|Aacute|192|Agrave|191|iquest|190|frac34|189|frac12|188|frac14|187|raquo|186|ordm|185|sup1|184|cedil|183|middot|182|para|181|micro|180|acute|179|sup3|178|sup2|177|plusmn|176|deg|175|macr|174|reg|173|shy||172|171|laquo||170|ordf|169|copy|168||uml|167|sect||166||brvbar|165|yen|164|curren|163|pound|162|cent|161|iexcl|last_tag_attributes|com|microsoft|schemas|urn|_current_match|_last_match|_matches|boolean|concat|events|continue|groups|none|rules|vsides|rhs|lhs|hsides|below|above|void|cellspacing|cellpadding|aural|handheld|tv|tty|vbs|vbscript|jscript|ecmascript|ref|standby|declare|codetype|codebase|classid|archive|scheme|cookie||set||refresh|expires|speech||radio|password|checkbox|maxlength|longdesc|ismap|xmlns|post|method|enctype|nohref|onmouseup|onmouseout|onmouseover|onmousemove|onmousedown|ondblclick|mouse|onkeypress|onkeydown|frameset|onblur|onselect|onreset|onsubmit|onchange|onunload|core|charAt|parseAttributes|039|quot|textContent|shift|formated_options|amp|CDATA|cdataSection|contentTag|append|insertCell|insertRow|createCaption|newCol|opener|wym_skin_|ownerDocument|computeCssPath|addRange|selectNodeContents|insertNode|deleteContents||createContextualFragment|appendTo|insertAfter|getTime|Date|toggle|write|parsing|replaceChild|removeAttr|removeChild|firstChild|ready|blur|wym_box_|safari|opera|mozilla|msie|wymeditors|Number_Of_Cols|Number_Of_Rows|Summary|Caption|Alternative_Text|Relationship|dtd|strict|TR|w3|EN|Strict|XHTML|W3C|PUBLIC|DOCTYPE|yes|scrollbars|wymupdate|iframeSelector|classesSelector|containersSelector|toolsListSelector|toolsSelector|boxSelector|Source_Code|Status|wym_classes_|Classes|wym_containers_th|Table_Header|wym_containers_blockquote|Blockquote|wym_containers_pre|Preformatted|wym_containers_h6|Heading_6|wym_containers_h5|Heading_5|wym_containers_h4|Heading_4|wym_containers_h3|Heading_3|wym_containers_h2|Heading_2|wym_containers_h1|Heading_1|wym_containers_p|Paragraph|Containers|wym_tools_preview|wym_tools_html|wym_tools_paste|wym_tools_table|wym_tools_image|wym_tools_unlink|wym_tools_link|wym_tools_redo|wym_tools_undo|wym_tools_outdent|wym_tools_indent|wym_tools_unordered_list|Unordered_List|wym_tools_ordered_list|Ordered_List|wym_tools_subscript|wym_tools_superscript|wym_tools_emphasis|Emphasis|wym_tools_strong|Strong|Tools|parent|wymiframe|wym_wymeditor_link|wym_area_bottom|wym_area_main|wym_area_right|wym_area_left|wym_area_top|TEXT|ATTRIBUTE|ELEMENT|NODE|CURSOR|HOME|END|UNLINK|FormatBlock|InsertHTML|INSERT_HTML|Wym_Dialog_Body|Wym_Dialog_Title|Wym_Status|Wym_Iframe|Wym_Html|Wym_Container_Class|Wym_Containers_Title|Wym_Container_Name||Wym_Containers_Items|Wym_Containers|Wym_Class_Title|Wym_Class_Name|Wym_Classes_Items|Wym_Classes|Wym_Tool_Class|Wym_Tool_Title|Wym_Tool_Name|Wym_Tools_Items|Wym_Tools|Wym_Logo|Wym_Direction|Wym_Jquery_Path|Wym_Iframe_Base_Path|Wym_Wym_Path|Wym_Css_Path|Wym_Base_Path|wym_index|Wym_Index|rc1|VERSION|profileEnd|trace|timeEnd|time|groupEnd|group|dirxml|assert|warn|info|debug|log|firebug'.split('|'),0,{}))
@@ -1,45 +0,0 @@
1
- WYMeditor.STRINGS['bg'] = {
2
- Strong: 'Получер',
3
- Emphasis: 'Курсив',
4
- Superscript: 'Горен индекс',
5
- Subscript: 'Долен индекс',
6
- Ordered_List: 'Подреден списък',
7
- Unordered_List: 'Неподреден списък',
8
- Indent: 'Блок навътре',
9
- Outdent: 'Блок навън',
10
- Undo: 'Стъпка назад',
11
- Redo: 'Стъпка напред',
12
- Link: 'Създай хипервръзка',
13
- Unlink: 'Премахни хипервръзката',
14
- Image: 'Изображение',
15
- Table: 'Таблица',
16
- HTML: 'HTML',
17
- Paragraph: 'Абзац',
18
- Heading_1: 'Заглавие 1',
19
- Heading_2: 'Заглавие 2',
20
- Heading_3: 'Заглавие 3',
21
- Heading_4: 'Заглавие 4',
22
- Heading_5: 'Заглавие 5',
23
- Heading_6: 'Заглавие 6',
24
- Preformatted: 'Преформатиран',
25
- Blockquote: 'Цитат',
26
- Table_Header: 'Заглавие на таблицата',
27
- URL: 'URL',
28
- Title: 'Заглавие',
29
- Alternative_Text: 'Алтернативен текст',
30
- Caption: 'Етикет',
31
- Summary: 'Общо',
32
- Number_Of_Rows: 'Брой редове',
33
- Number_Of_Cols: 'Брой колони',
34
- Submit: 'Изпрати',
35
- Cancel: 'Отмени',
36
- Choose: 'Затвори',
37
- Preview: 'Предварителен преглед',
38
- Paste_From_Word: 'Вмъкни от MS WORD',
39
- Tools: 'Инструменти',
40
- Containers: 'Контейнери',
41
- Classes: 'Класове',
42
- Status: 'Статус',
43
- Source_Code: 'Източник, код'
44
- };
45
-
@@ -1,45 +0,0 @@
1
- WYMeditor.STRINGS['ca'] = {
2
- Strong: 'Ressaltar',
3
- Emphasis: 'Emfatitzar',
4
- Superscript: 'Superindex',
5
- Subscript: 'Subindex',
6
- Ordered_List: 'Llistat ordenat',
7
- Unordered_List: 'Llistat sense ordenar',
8
- Indent: 'Indentat',
9
- Outdent: 'Sense indentar',
10
- Undo: 'Desfer',
11
- Redo: 'Refer',
12
- Link: 'Enllaçar',
13
- Unlink: 'Eliminar enllaç',
14
- Image: 'Imatge',
15
- Table: 'Taula',
16
- HTML: 'HTML',
17
- Paragraph: 'Paràgraf',
18
- Heading_1: 'Capçalera 1',
19
- Heading_2: 'Capçalera 2',
20
- Heading_3: 'Capçalera 3',
21
- Heading_4: 'Capçalera 4',
22
- Heading_5: 'Capçalera 5',
23
- Heading_6: 'Capçalera 6',
24
- Preformatted: 'Pre-formatejat',
25
- Blockquote: 'Cita',
26
- Table_Header: 'Capçalera de la taula',
27
- URL: 'URL',
28
- Title: 'Títol',
29
- Alternative_Text: 'Text alternatiu',
30
- Caption: 'Llegenda',
31
- Summary: 'Summary',
32
- Number_Of_Rows: 'Nombre de files',
33
- Number_Of_Cols: 'Nombre de columnes',
34
- Submit: 'Enviar',
35
- Cancel: 'Cancel·lar',
36
- Choose: 'Triar',
37
- Preview: 'Vista prèvia',
38
- Paste_From_Word: 'Pegar des de Word',
39
- Tools: 'Eines',
40
- Containers: 'Contenidors',
41
- Classes: 'Classes',
42
- Status: 'Estat',
43
- Source_Code: 'Codi font'
44
- };
45
-
@@ -1,45 +0,0 @@
1
- WYMeditor.STRINGS['cs'] = {
2
- Strong: 'Tučné',
3
- Emphasis: 'Kurzíva',
4
- Superscript: 'Horní index',
5
- Subscript: 'Dolní index',
6
- Ordered_List: 'Číslovaný seznam',
7
- Unordered_List: 'Nečíslovaný seznam',
8
- Indent: 'Zvětšit odsazení',
9
- Outdent: 'Zmenšit odsazení',
10
- Undo: 'Zpět',
11
- Redo: 'Znovu',
12
- Link: 'Vytvořit odkaz',
13
- Unlink: 'Zrušit odkaz',
14
- Image: 'Obrázek',
15
- Table: 'Tabulka',
16
- HTML: 'HTML',
17
- Paragraph: 'Odstavec',
18
- Heading_1: 'Nadpis 1. úrovně',
19
- Heading_2: 'Nadpis 2. úrovně',
20
- Heading_3: 'Nadpis 3. úrovně',
21
- Heading_4: 'Nadpis 4. úrovně',
22
- Heading_5: 'Nadpis 5. úrovně',
23
- Heading_6: 'Nadpis 6. úrovně',
24
- Preformatted: 'Předformátovaný text',
25
- Blockquote: 'Citace',
26
- Table_Header: 'Hlavičková buňka tabulky',
27
- URL: 'Adresa',
28
- Title: 'Text po najetí myší',
29
- Alternative_Text: 'Text pro případ nezobrazení obrázku',
30
- Caption: 'Titulek tabulky',
31
- Summary: 'Shrnutí obsahu',
32
- Number_Of_Rows: 'Počet řádek',
33
- Number_Of_Cols: 'Počet sloupců',
34
- Submit: 'Vytvořit',
35
- Cancel: 'Zrušit',
36
- Choose: 'Vybrat',
37
- Preview: 'Náhled',
38
- Paste_From_Word: 'Vložit z Wordu',
39
- Tools: 'Nástroje',
40
- Containers: 'Typy obsahu',
41
- Classes: 'Třídy',
42
- Status: 'Stav',
43
- Source_Code: 'Zdrojový kód'
44
- };
45
-
@@ -1,45 +0,0 @@
1
- WYMeditor.STRINGS['cy'] = {
2
- Strong: 'Bras',
3
- Emphasis: 'Italig',
4
- Superscript: 'Uwchsgript',
5
- Subscript: 'Is-sgript',
6
- Ordered_List: 'Rhestr mewn Trefn',
7
- Unordered_List: 'Pwyntiau Bwled',
8
- Indent: 'Mewnoli',
9
- Outdent: 'Alloli',
10
- Undo: 'Dadwneud',
11
- Redo: 'Ailwneud',
12
- Link: 'Cysylltu',
13
- Unlink: 'Datgysylltu',
14
- Image: 'Delwedd',
15
- Table: 'Tabl',
16
- HTML: 'HTML',
17
- Paragraph: 'Paragraff',
18
- Heading_1: 'Pennawd 1',
19
- Heading_2: 'Pennawd 2',
20
- Heading_3: 'Pennawd 3',
21
- Heading_4: 'Pennawd 4',
22
- Heading_5: 'Pennawd 5',
23
- Heading_6: 'Pennawd 6',
24
- Preformatted: 'Rhagfformat',
25
- Blockquote: 'Bloc Dyfyniad',
26
- Table_Header: 'Pennyn Tabl',
27
- URL: 'URL',
28
- Title: 'Teitl',
29
- Alternative_Text: 'Testun Amgen',
30
- Caption: 'Pennawd',
31
- Summary: 'Crynodeb',
32
- Number_Of_Rows: 'Nifer y rhesi',
33
- Number_Of_Cols: 'Nifer y colofnau',
34
- Submit: 'Anfon',
35
- Cancel: 'Diddymu',
36
- Choose: 'Dewis',
37
- Preview: 'Rhagolwg',
38
- Paste_From_Word: 'Gludo o Word',
39
- Tools: 'Offer',
40
- Containers: 'Cynhwysyddion',
41
- Classes: 'Dosbarthiadau',
42
- Status: 'Statws',
43
- Source_Code: 'Cod ffynhonnell'
44
- };
45
-
@@ -1,45 +0,0 @@
1
- WYMeditor.STRINGS['de'] = {
2
- Strong: 'Fett',
3
- Emphasis: 'Kursiv',
4
- Superscript: 'Text hochstellen',
5
- Subscript: 'Text tiefstellen',
6
- Ordered_List: 'Geordnete Liste einfügen',
7
- Unordered_List: 'Ungeordnete Liste einfügen',
8
- Indent: 'Einzug erhöhen',
9
- Outdent: 'Einzug vermindern',
10
- Undo: 'Befehle rückgängig machen',
11
- Redo: 'Befehle wiederherstellen',
12
- Link: 'Hyperlink einfügen',
13
- Unlink: 'Hyperlink entfernen',
14
- Image: 'Bild einfügen',
15
- Table: 'Tabelle einfügen',
16
- HTML: 'HTML anzeigen/verstecken',
17
- Paragraph: 'Absatz',
18
- Heading_1: 'Überschrift 1',
19
- Heading_2: 'Überschrift 2',
20
- Heading_3: 'Überschrift 3',
21
- Heading_4: 'Überschrift 4',
22
- Heading_5: 'Überschrift 5',
23
- Heading_6: 'Überschrift 6',
24
- Preformatted: 'Vorformatiert',
25
- Blockquote: 'Zitat',
26
- Table_Header: 'Tabellenüberschrift',
27
- URL: 'URL',
28
- Title: 'Titel',
29
- Alternative_Text: 'Alternativer Text',
30
- Caption: 'Tabellenüberschrift',
31
- Summary: 'Summary',
32
- Number_Of_Rows: 'Anzahl Zeilen',
33
- Number_Of_Cols: 'Anzahl Spalten',
34
- Submit: 'Absenden',
35
- Cancel: 'Abbrechen',
36
- Choose: 'Auswählen',
37
- Preview: 'Vorschau',
38
- Paste_From_Word: 'Aus Word einfügen',
39
- Tools: 'Werkzeuge',
40
- Containers: 'Inhaltstyp',
41
- Classes: 'Klassen',
42
- Status: 'Status',
43
- Source_Code: 'Quellcode'
44
- };
45
-
@@ -1,46 +0,0 @@
1
- WYMeditor.STRINGS['en'] = {
2
- Strong: 'Strong',
3
- Emphasis: 'Emphasis',
4
- Superscript: 'Superscript',
5
- Subscript: 'Subscript',
6
- Ordered_List: 'Ordered List',
7
- Unordered_List: 'Unordered List',
8
- Indent: 'Indent',
9
- Outdent: 'Outdent',
10
- Undo: 'Undo',
11
- Redo: 'Redo',
12
- Link: 'Link',
13
- Unlink: 'Unlink',
14
- Image: 'Image',
15
- Table: 'Table',
16
- HTML: 'HTML',
17
- Paragraph: 'Paragraph',
18
- Heading_1: 'Heading 1',
19
- Heading_2: 'Heading 2',
20
- Heading_3: 'Heading 3',
21
- Heading_4: 'Heading 4',
22
- Heading_5: 'Heading 5',
23
- Heading_6: 'Heading 6',
24
- Preformatted: 'Preformatted',
25
- Blockquote: 'Blockquote',
26
- Table_Header: 'Table Header',
27
- URL: 'URL',
28
- Title: 'Title',
29
- Relationship: 'Relationship',
30
- Alternative_Text: 'Alternative text',
31
- Caption: 'Caption',
32
- Summary: 'Summary',
33
- Number_Of_Rows: 'Number of rows',
34
- Number_Of_Cols: 'Number of cols',
35
- Submit: 'Submit',
36
- Cancel: 'Cancel',
37
- Choose: 'Choose',
38
- Preview: 'Preview',
39
- Paste_From_Word: 'Paste from Word',
40
- Tools: 'Tools',
41
- Containers: 'Containers',
42
- Classes: 'Classes',
43
- Status: 'Status',
44
- Source_Code: 'Source code'
45
- };
46
-
@@ -1,45 +0,0 @@
1
- WYMeditor.STRINGS['es'] = {
2
- Strong: 'Resaltar',
3
- Emphasis: 'Enfatizar',
4
- Superscript: 'Superindice',
5
- Subscript: 'Subindice',
6
- Ordered_List: 'Lista ordenada',
7
- Unordered_List: 'Lista sin ordenar',
8
- Indent: 'Indentado',
9
- Outdent: 'Sin indentar',
10
- Undo: 'Deshacer',
11
- Redo: 'Rehacer',
12
- Link: 'Enlazar',
13
- Unlink: 'Eliminar enlace',
14
- Image: 'Imagen',
15
- Table: 'Tabla',
16
- HTML: 'HTML',
17
- Paragraph: 'Párrafo',
18
- Heading_1: 'Cabecera 1',
19
- Heading_2: 'Cabecera 2',
20
- Heading_3: 'Cabecera 3',
21
- Heading_4: 'Cabecera 4',
22
- Heading_5: 'Cabecera 5',
23
- Heading_6: 'Cabecera 6',
24
- Preformatted: 'Preformateado',
25
- Blockquote: 'Cita',
26
- Table_Header: 'Cabecera de la tabla',
27
- URL: 'URL',
28
- Title: 'Título',
29
- Alternative_Text: 'Texto alternativo',
30
- Caption: 'Leyenda',
31
- Summary: 'Summary',
32
- Number_Of_Rows: 'Número de filas',
33
- Number_Of_Cols: 'Número de columnas',
34
- Submit: 'Enviar',
35
- Cancel: 'Cancelar',
36
- Choose: 'Seleccionar',
37
- Preview: 'Vista previa',
38
- Paste_From_Word: 'Pegar desde Word',
39
- Tools: 'Herramientas',
40
- Containers: 'Contenedores',
41
- Classes: 'Clases',
42
- Status: 'Estado',
43
- Source_Code: 'Código fuente'
44
- };
45
-
@@ -1,46 +0,0 @@
1
- //Translation To Persian: Ghassem Tofighi (http://ght.ir)
2
- WYMeditor.STRINGS['fa'] = {
3
- Strong: 'پررنگ',//Strong
4
- Emphasis: 'ایتالیک',//Emphasis
5
- Superscript: 'بالانويس‌ ',//Superscript
6
- Subscript: 'زيرنويس‌',//Subscript
7
- Ordered_List: 'لیست مرتب',//Ordered List
8
- Unordered_List: 'لیست نامرتب',//Unordered List
9
- Indent: 'افزودن دندانه',//Indent
10
- Outdent: 'کاهش دندانه',//Outdent
11
- Undo: 'واگردانی',//Undo
12
- Redo: 'تکرار',//Redo
13
- Link: 'ساختن پیوند',//Link
14
- Unlink: 'برداشتن پیوند',//Unlink
15
- Image: 'تصویر',//Image
16
- Table: 'جدول',//Table
17
- HTML: 'HTML',//HTML
18
- Paragraph: 'پاراگراف',//Paragraph
19
- Heading_1: 'سرتیتر ۱',//Heading 1
20
- Heading_2: 'سرتیتر ۲',//Heading 2
21
- Heading_3: 'سرتیتر ۳',//Heading 3
22
- Heading_4: 'سرتیتر ۴',//Heading 4
23
- Heading_5: 'سرتیتر ۵',//Heading 5
24
- Heading_6: 'سرتیتر ۶',//Heading 6
25
- Preformatted: 'قالب آماده',//Preformatted
26
- Blockquote: 'نقل قول',//Blockquote
27
- Table_Header: 'سرجدول',//Table Header
28
- URL: 'آدرس اینترنتی',//URL
29
- Title: 'عنوان',//Title
30
- Alternative_Text: 'متن جایگزین',//Alternative text
31
- Caption: 'عنوان',//Caption
32
- Summary: 'Summary',
33
- Number_Of_Rows: 'تعداد سطرها',//Number of rows
34
- Number_Of_Cols: 'تعداد ستون‌ها',//Number of cols
35
- Submit: 'فرستادن',//Submit
36
- Cancel: 'لغو',//Cancel
37
- Choose: 'انتخاب',//Choose
38
- Preview: 'پیش‌نمایش',//Preview
39
- Paste_From_Word: 'انتقال از ورد',//Paste from Word
40
- Tools: 'ابزار',//Tools
41
- Containers: '‌قالب‌ها',//Containers
42
- Classes: 'کلاس‌ها',//Classes
43
- Status: 'وضعیت',//Status
44
- Source_Code: 'کد مبدأ'//Source code
45
- };
46
-
@@ -1,44 +0,0 @@
1
- WYMeditor.STRINGS['fi'] = {
2
- Strong: 'Lihavoitu',
3
- Emphasis: 'Korostus',
4
- Superscript: 'Yläindeksi',
5
- Subscript: 'Alaindeksi',
6
- Ordered_List: 'Numeroitu lista',
7
- Unordered_List: 'Luettelomerkit',
8
- Indent: 'Suurenna sisennystä',
9
- Outdent: 'Pienennä sisennystä',
10
- Undo: 'Kumoa',
11
- Redo: 'Toista',
12
- Link: 'Linkitä',
13
- Unlink: 'Poista linkitys',
14
- Image: 'Kuva',
15
- Table: 'Taulukko',
16
- HTML: 'HTML',
17
- Paragraph: 'Kappale',
18
- Heading_1: 'Otsikko 1',
19
- Heading_2: 'Otsikko 2',
20
- Heading_3: 'Otsikko 3',
21
- Heading_4: 'Otsikko 4',
22
- Heading_5: 'Otsikko 5',
23
- Heading_6: 'Otsikko 6',
24
- Preformatted: 'Esimuotoilu',
25
- Blockquote: 'Sitaatti',
26
- Table_Header: 'Taulukon otsikko',
27
- URL: 'URL',
28
- Title: 'Otsikko',
29
- Alternative_Text: 'Vaihtoehtoinen teksti',
30
- Caption: 'Kuvateksti',
31
- Summary: 'Yhteenveto',
32
- Number_Of_Rows: 'Rivien määrä',
33
- Number_Of_Cols: 'Palstojen määrä',
34
- Submit: 'Lähetä',
35
- Cancel: 'Peruuta',
36
- Choose: 'Valitse',
37
- Preview: 'Esikatsele',
38
- Paste_From_Word: 'Tuo Wordista',
39
- Tools: 'Työkalut',
40
- Containers: 'Muotoilut',
41
- Classes: 'Luokat',
42
- Status: 'Tila',
43
- Source_Code: 'Lähdekoodi'
44
- };
@@ -1,45 +0,0 @@
1
- WYMeditor.STRINGS['fr'] = {
2
- Strong: 'Mise en évidence',
3
- Emphasis: 'Emphase',
4
- Superscript: 'Exposant',
5
- Subscript: 'Indice',
6
- Ordered_List: 'Liste Ordonnée',
7
- Unordered_List: 'Liste Non-Ordonnée',
8
- Indent: 'Imbriqué',
9
- Outdent: 'Non-imbriqué',
10
- Undo: 'Annuler',
11
- Redo: 'Rétablir',
12
- Link: 'Lien',
13
- Unlink: 'Supprimer le Lien',
14
- Image: 'Image',
15
- Table: 'Tableau',
16
- HTML: 'HTML',
17
- Paragraph: 'Paragraphe',
18
- Heading_1: 'Titre 1',
19
- Heading_2: 'Titre 2',
20
- Heading_3: 'Titre 3',
21
- Heading_4: 'Titre 4',
22
- Heading_5: 'Titre 5',
23
- Heading_6: 'Titre 6',
24
- Preformatted: 'Pré-formatté',
25
- Blockquote: 'Citation',
26
- Table_Header: 'Cellule de titre',
27
- URL: 'URL',
28
- Title: 'Titre',
29
- Alternative_Text: 'Texte alternatif',
30
- Caption: 'Légende',
31
- Summary: 'Résumé',
32
- Number_Of_Rows: 'Nombre de lignes',
33
- Number_Of_Cols: 'Nombre de colonnes',
34
- Submit: 'Envoyer',
35
- Cancel: 'Annuler',
36
- Choose: 'Choisir',
37
- Preview: 'Prévisualisation',
38
- Paste_From_Word: 'Copier depuis Word',
39
- Tools: 'Outils',
40
- Containers: 'Type de texte',
41
- Classes: 'Type de contenu',
42
- Status: 'Infos',
43
- Source_Code: 'Code source'
44
- };
45
-