kirgudu_base 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (360) hide show
  1. checksums.yaml +15 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +40 -0
  5. data/app/assets/images/kirgudu_base/404-fry.png +0 -0
  6. data/app/assets/images/kirgudu_base/Documents.gif +0 -0
  7. data/app/assets/images/kirgudu_base/Meetings.gif +0 -0
  8. data/app/assets/images/kirgudu_base/Repair.gif +0 -0
  9. data/app/assets/images/kirgudu_base/ajax-loader.gif +0 -0
  10. data/app/assets/images/kirgudu_base/alpha.png +0 -0
  11. data/app/assets/images/kirgudu_base/alpha2.png +0 -0
  12. data/app/assets/images/kirgudu_base/arrow.png +0 -0
  13. data/app/assets/images/kirgudu_base/box.gif +0 -0
  14. data/app/assets/images/kirgudu_base/chosen-sprite.png +0 -0
  15. data/app/assets/images/kirgudu_base/company_pxg.png +0 -0
  16. data/app/assets/images/kirgudu_base/datatables/back_disabled.png +0 -0
  17. data/app/assets/images/kirgudu_base/datatables/back_enabled.png +0 -0
  18. data/app/assets/images/kirgudu_base/datatables/back_enabled_hover.png +0 -0
  19. data/app/assets/images/kirgudu_base/datatables/forward_disabled.png +0 -0
  20. data/app/assets/images/kirgudu_base/datatables/forward_enabled.png +0 -0
  21. data/app/assets/images/kirgudu_base/datatables/forward_enabled_hover.png +0 -0
  22. data/app/assets/images/kirgudu_base/datatables/sort_asc.png +0 -0
  23. data/app/assets/images/kirgudu_base/datatables/sort_asc_disabled.png +0 -0
  24. data/app/assets/images/kirgudu_base/datatables/sort_both.png +0 -0
  25. data/app/assets/images/kirgudu_base/datatables/sort_desc.png +0 -0
  26. data/app/assets/images/kirgudu_base/datatables/sort_desc_disabled.png +0 -0
  27. data/app/assets/images/kirgudu_base/fancybox/blank.gif +0 -0
  28. data/app/assets/images/kirgudu_base/fancybox/fancybox_buttons.png +0 -0
  29. data/app/assets/images/kirgudu_base/fancybox/fancybox_loading.gif +0 -0
  30. data/app/assets/images/kirgudu_base/fancybox/fancybox_overlay.png +0 -0
  31. data/app/assets/images/kirgudu_base/fancybox/fancybox_sprite.png +0 -0
  32. data/app/assets/images/kirgudu_base/favicon.png +0 -0
  33. data/app/assets/images/kirgudu_base/general/clock.png +0 -0
  34. data/app/assets/images/kirgudu_base/general/clock2.png +0 -0
  35. data/app/assets/images/kirgudu_base/general/coffee.png +0 -0
  36. data/app/assets/images/kirgudu_base/general/coffee2.png +0 -0
  37. data/app/assets/images/kirgudu_base/general/flipchart.png +0 -0
  38. data/app/assets/images/kirgudu_base/general/flipchart2.png +0 -0
  39. data/app/assets/images/kirgudu_base/general/sun.png +0 -0
  40. data/app/assets/images/kirgudu_base/general/sun2.png +0 -0
  41. data/app/assets/images/kirgudu_base/glyphicons-halflings-white.png +0 -0
  42. data/app/assets/images/kirgudu_base/glyphicons-halflings.png +0 -0
  43. data/app/assets/images/kirgudu_base/gradient1.png +0 -0
  44. data/app/assets/images/kirgudu_base/hue2.png +0 -0
  45. data/app/assets/images/kirgudu_base/ico_16_4_d.gif +0 -0
  46. data/app/assets/images/kirgudu_base/ico_18_1010.gif +0 -0
  47. data/app/assets/images/kirgudu_base/ico_18_112.gif +0 -0
  48. data/app/assets/images/kirgudu_base/ico_18_2020.gif +0 -0
  49. data/app/assets/images/kirgudu_base/icon-contacts.gif +0 -0
  50. data/app/assets/images/kirgudu_base/icon-employees.gif +0 -0
  51. data/app/assets/images/kirgudu_base/icon-list.gif +0 -0
  52. data/app/assets/images/kirgudu_base/icon-orders-green.gif +0 -0
  53. data/app/assets/images/kirgudu_base/icon-orders.gif +0 -0
  54. data/app/assets/images/kirgudu_base/icon-tenders.gif +0 -0
  55. data/app/assets/images/kirgudu_base/icons-sa7c41345d9.png +0 -0
  56. data/app/assets/images/kirgudu_base/login-corner.png +0 -0
  57. data/app/assets/images/kirgudu_base/login-corner2.png +0 -0
  58. data/app/assets/images/kirgudu_base/logo.png +0 -0
  59. data/app/assets/images/kirgudu_base/maps/m1.png +0 -0
  60. data/app/assets/images/kirgudu_base/maps/m2.png +0 -0
  61. data/app/assets/images/kirgudu_base/maps/m3.png +0 -0
  62. data/app/assets/images/kirgudu_base/meeting-schedule.gif +0 -0
  63. data/app/assets/images/kirgudu_base/menu_icons/calendar.png +0 -0
  64. data/app/assets/images/kirgudu_base/menu_icons/dashboard.png +0 -0
  65. data/app/assets/images/kirgudu_base/menu_icons/forms.png +0 -0
  66. data/app/assets/images/kirgudu_base/menu_icons/gallery.png +0 -0
  67. data/app/assets/images/kirgudu_base/menu_icons/grid.png +0 -0
  68. data/app/assets/images/kirgudu_base/menu_icons/maps.png +0 -0
  69. data/app/assets/images/kirgudu_base/menu_icons/others.png +0 -0
  70. data/app/assets/images/kirgudu_base/menu_icons/statistics.png +0 -0
  71. data/app/assets/images/kirgudu_base/menu_icons/tables.png +0 -0
  72. data/app/assets/images/kirgudu_base/menu_icons/widgets.png +0 -0
  73. data/app/assets/images/kirgudu_base/menu_top/profile-avatar.png +0 -0
  74. data/app/assets/images/kirgudu_base/menu_top/profile-messages.png +0 -0
  75. data/app/assets/images/kirgudu_base/message_avatar1.png +0 -0
  76. data/app/assets/images/kirgudu_base/message_avatar2.png +0 -0
  77. data/app/assets/images/kirgudu_base/message_avatar3.png +0 -0
  78. data/app/assets/images/kirgudu_base/message_avatar4.png +0 -0
  79. data/app/assets/images/kirgudu_base/message_avatar5.png +0 -0
  80. data/app/assets/images/kirgudu_base/message_avatar6.png +0 -0
  81. data/app/assets/images/kirgudu_base/message_avatar7.png +0 -0
  82. data/app/assets/images/kirgudu_base/news-icon-16.gif +0 -0
  83. data/app/assets/images/kirgudu_base/operator-def.png +0 -0
  84. data/app/assets/images/kirgudu_base/patterns/bg_dark.png +0 -0
  85. data/app/assets/images/kirgudu_base/patterns/bg_dark2.png +0 -0
  86. data/app/assets/images/kirgudu_base/patterns/bg_dark3.png +0 -0
  87. data/app/assets/images/kirgudu_base/patterns/whitey.png +0 -0
  88. data/app/assets/images/kirgudu_base/people-16-16-256.gif +0 -0
  89. data/app/assets/images/kirgudu_base/sales_24x24 (1).gif +0 -0
  90. data/app/assets/images/kirgudu_base/sample_avatar_big.jpg +0 -0
  91. data/app/assets/images/kirgudu_base/saturation2.png +0 -0
  92. data/app/assets/images/kirgudu_base/search.png +0 -0
  93. data/app/assets/images/kirgudu_base/toggle.png +0 -0
  94. data/app/assets/images/kirgudu_base/ui-bg_fine-grain_10_e7e7e7_60x60.png +0 -0
  95. data/app/assets/images/kirgudu_base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  96. data/app/assets/images/kirgudu_base/ui-bg_flat_0_ef4622_40x100.png +0 -0
  97. data/app/assets/images/kirgudu_base/ui-bg_glass_65_ffffff_1x400.png +0 -0
  98. data/app/assets/images/kirgudu_base/ui-bg_highlight-hard_100_e1e1e1_1x100.png +0 -0
  99. data/app/assets/images/kirgudu_base/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  100. data/app/assets/images/kirgudu_base/ui-bg_highlight-hard_75_dddddd_1x100.png +0 -0
  101. data/app/assets/images/kirgudu_base/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  102. data/app/assets/images/kirgudu_base/ui-icons_454545_256x240.png +0 -0
  103. data/app/assets/images/kirgudu_base/ui-icons_525d66_256x240.png +0 -0
  104. data/app/assets/images/kirgudu_base/ui-icons_cd0a0a_256x240.png +0 -0
  105. data/app/assets/images/kirgudu_base/ui-icons_ffffff_256x240.png +0 -0
  106. data/app/assets/images/kirgudu_base/uploadify-cancel.png +0 -0
  107. data/app/assets/javascripts/kirgudu_base/ajax_form.js +52 -0
  108. data/app/assets/javascripts/kirgudu_base/application.js +15 -0
  109. data/app/assets/javascripts/kirgudu_base/avgrund.js +85 -0
  110. data/app/assets/javascripts/kirgudu_base/bootstrap-alert.js +90 -0
  111. data/app/assets/javascripts/kirgudu_base/bootstrap-button.js +96 -0
  112. data/app/assets/javascripts/kirgudu_base/bootstrap-carousel.js +176 -0
  113. data/app/assets/javascripts/kirgudu_base/bootstrap-collapse.js +158 -0
  114. data/app/assets/javascripts/kirgudu_base/bootstrap-colorpicker.js +520 -0
  115. data/app/assets/javascripts/kirgudu_base/bootstrap-datepicker.js +401 -0
  116. data/app/assets/javascripts/kirgudu_base/bootstrap-dropdown.js +150 -0
  117. data/app/assets/javascripts/kirgudu_base/bootstrap-modal.js +239 -0
  118. data/app/assets/javascripts/kirgudu_base/bootstrap-popover.js +103 -0
  119. data/app/assets/javascripts/kirgudu_base/bootstrap-scrollspy.js +151 -0
  120. data/app/assets/javascripts/kirgudu_base/bootstrap-tab.js +135 -0
  121. data/app/assets/javascripts/kirgudu_base/bootstrap-tooltip.js +275 -0
  122. data/app/assets/javascripts/kirgudu_base/bootstrap-transition.js +60 -0
  123. data/app/assets/javascripts/kirgudu_base/bootstrap-typeahead.js +300 -0
  124. data/app/assets/javascripts/kirgudu_base/bootstrap-wysihtml5.js +458 -0
  125. data/app/assets/javascripts/kirgudu_base/bootstrap.js +6 -0
  126. data/app/assets/javascripts/kirgudu_base/character-limit.js +18 -0
  127. data/app/assets/javascripts/kirgudu_base/chosen.jquery.min.js +10 -0
  128. data/app/assets/javascripts/kirgudu_base/client_main.js +1017 -0
  129. data/app/assets/javascripts/kirgudu_base/delete.js +67 -0
  130. data/app/assets/javascripts/kirgudu_base/excanvas.compiled.js +35 -0
  131. data/app/assets/javascripts/kirgudu_base/fileinput.jquery.js +98 -0
  132. data/app/assets/javascripts/kirgudu_base/fullcalendar.js +5220 -0
  133. data/app/assets/javascripts/kirgudu_base/gmap3.min.js +39 -0
  134. data/app/assets/javascripts/kirgudu_base/highcharts.js +246 -0
  135. data/app/assets/javascripts/kirgudu_base/jdpicker.js +555 -0
  136. data/app/assets/javascripts/kirgudu_base/jnavigate.jquery.min.js +2 -0
  137. data/app/assets/javascripts/kirgudu_base/jquery-ui-1.8.23.custom.min.js +125 -0
  138. data/app/assets/javascripts/kirgudu_base/jquery-ui-1.8.23.custom.min_d9931121.js +125 -0
  139. data/app/assets/javascripts/kirgudu_base/jquery.blockUI.js +534 -0
  140. data/app/assets/javascripts/kirgudu_base/jquery.bookblock.js +533 -0
  141. data/app/assets/javascripts/kirgudu_base/jquery.cookie.js +94 -0
  142. data/app/assets/javascripts/kirgudu_base/jquery.dataTables.js +12092 -0
  143. data/app/assets/javascripts/kirgudu_base/jquery.endless-scroll.js +343 -0
  144. data/app/assets/javascripts/kirgudu_base/jquery.fancybox-buttons.js +121 -0
  145. data/app/assets/javascripts/kirgudu_base/jquery.fancybox-media.js +196 -0
  146. data/app/assets/javascripts/kirgudu_base/jquery.fancybox-thumbs.js +162 -0
  147. data/app/assets/javascripts/kirgudu_base/jquery.fancybox.js +1985 -0
  148. data/app/assets/javascripts/kirgudu_base/jquery.flot.crosshair.js +167 -0
  149. data/app/assets/javascripts/kirgudu_base/jquery.flot.js +2599 -0
  150. data/app/assets/javascripts/kirgudu_base/jquery.flot.pie.js +751 -0
  151. data/app/assets/javascripts/kirgudu_base/jquery.flot.resize.js +60 -0
  152. data/app/assets/javascripts/kirgudu_base/jquery.flot.spider.js +314 -0
  153. data/app/assets/javascripts/kirgudu_base/jquery.flot.stack.js +184 -0
  154. data/app/assets/javascripts/kirgudu_base/jquery.history.js +1 -0
  155. data/app/assets/javascripts/kirgudu_base/jquery.jcarousel.min.js +16 -0
  156. data/app/assets/javascripts/kirgudu_base/jquery.jeditable.js +543 -0
  157. data/app/assets/javascripts/kirgudu_base/jquery.js +2 -0
  158. data/app/assets/javascripts/kirgudu_base/jquery.json-2.3.min.js +23 -0
  159. data/app/assets/javascripts/kirgudu_base/jquery.maskedinput-1.3.js +258 -0
  160. data/app/assets/javascripts/kirgudu_base/jquery.mousewheel-min.js +12 -0
  161. data/app/assets/javascripts/kirgudu_base/jquery.peity.min.js +11 -0
  162. data/app/assets/javascripts/kirgudu_base/jquery.simplemodal-1.4.4.js +716 -0
  163. data/app/assets/javascripts/kirgudu_base/jquery.slides.min.js +7 -0
  164. data/app/assets/javascripts/kirgudu_base/jquery.sparkline.min.js +5 -0
  165. data/app/assets/javascripts/kirgudu_base/jquery.tagsinput.js +354 -0
  166. data/app/assets/javascripts/kirgudu_base/jquery.tools.min.js +17 -0
  167. data/app/assets/javascripts/kirgudu_base/jquery.touchdown.js +54 -0
  168. data/app/assets/javascripts/kirgudu_base/jquery.uniform.min.js +17 -0
  169. data/app/assets/javascripts/kirgudu_base/jquery.uploadify-3.1.js +975 -0
  170. data/app/assets/javascripts/kirgudu_base/jquery.uploadify.min.js +16 -0
  171. data/app/assets/javascripts/kirgudu_base/jquery.url-2.0.js +174 -0
  172. data/app/assets/javascripts/kirgudu_base/jquery.validate.min.js +4 -0
  173. data/app/assets/javascripts/kirgudu_base/jquerypp.custom.js +301 -0
  174. data/app/assets/javascripts/kirgudu_base/justgage.1.0.1.min.js +12 -0
  175. data/app/assets/javascripts/kirgudu_base/main.js +157 -0
  176. data/app/assets/javascripts/kirgudu_base/modernizr.custom.32549.js +815 -0
  177. data/app/assets/javascripts/kirgudu_base/mustache.js +532 -0
  178. data/app/assets/javascripts/kirgudu_base/popbox.js +57 -0
  179. data/app/assets/javascripts/kirgudu_base/raphael.2.1.0.min.js +10 -0
  180. data/app/assets/javascripts/kirgudu_base/scripts.js +1277 -0
  181. data/app/assets/javascripts/kirgudu_base/scripts_OLD.js +204 -0
  182. data/app/assets/javascripts/kirgudu_base/sub_select.js +50 -0
  183. data/app/assets/javascripts/kirgudu_base/swfobject.js +5 -0
  184. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shAutoloader.js +17 -0
  185. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushAS3.js +59 -0
  186. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushAppleScript.js +75 -0
  187. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushBash.js +59 -0
  188. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushCSharp.js +65 -0
  189. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushColdFusion.js +100 -0
  190. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushCpp.js +97 -0
  191. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushCss.js +91 -0
  192. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushDelphi.js +55 -0
  193. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushDiff.js +41 -0
  194. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushErlang.js +52 -0
  195. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushGroovy.js +67 -0
  196. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushJScript.js +52 -0
  197. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushJava.js +57 -0
  198. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushJavaFX.js +58 -0
  199. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushPerl.js +72 -0
  200. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushPhp.js +88 -0
  201. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushPlain.js +33 -0
  202. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushPowerShell.js +74 -0
  203. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushPython.js +64 -0
  204. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushRuby.js +55 -0
  205. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushSass.js +94 -0
  206. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushScala.js +51 -0
  207. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushSql.js +66 -0
  208. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushVb.js +56 -0
  209. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shBrushXml.js +69 -0
  210. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shCore.js +17 -0
  211. data/app/assets/javascripts/kirgudu_base/syntax-highlighter/shLegacy.js +17 -0
  212. data/app/assets/javascripts/kirgudu_base/textarea-autogrow.js +55 -0
  213. data/app/assets/javascripts/kirgudu_base/tiny_mce.js +1 -0
  214. data/app/assets/javascripts/kirgudu_base/watch.js +81 -0
  215. data/app/assets/javascripts/kirgudu_base/web/inputPlaceholder.js +82 -0
  216. data/app/assets/javascripts/kirgudu_base/web/js.js +91 -0
  217. data/app/assets/javascripts/kirgudu_base/web/navigate.js +20 -0
  218. data/app/assets/javascripts/kirgudu_base/web/watch.js +1706 -0
  219. data/app/assets/javascripts/kirgudu_base/wysihtml5-0.3.0.min.js +261 -0
  220. data/app/assets/stylesheets/kirgudu_base/bootstrap.css +4551 -0
  221. data/app/assets/stylesheets/kirgudu_base/chosen.css +397 -0
  222. data/app/assets/stylesheets/kirgudu_base/fullcalendar.css +655 -0
  223. data/app/assets/stylesheets/kirgudu_base/info-message.css +79 -0
  224. data/app/assets/stylesheets/kirgudu_base/jdpicker.css +200 -0
  225. data/app/assets/stylesheets/kirgudu_base/jquery-ui-1.8.23.custom.css +1235 -0
  226. data/app/assets/stylesheets/kirgudu_base/jquery.fancybox-buttons.css +96 -0
  227. data/app/assets/stylesheets/kirgudu_base/jquery.fancybox-thumbs.css +54 -0
  228. data/app/assets/stylesheets/kirgudu_base/jquery.fancybox.css +249 -0
  229. data/app/assets/stylesheets/kirgudu_base/jquery.tagsinput.css +7 -0
  230. data/app/assets/stylesheets/kirgudu_base/main.css +1368 -0
  231. data/app/assets/stylesheets/kirgudu_base/menu.css +159 -0
  232. data/app/assets/stylesheets/kirgudu_base/popbox.css +58 -0
  233. data/app/assets/stylesheets/kirgudu_base/responsive.css +2249 -0
  234. data/app/assets/stylesheets/kirgudu_base/switcher.css +80 -0
  235. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shCore.css +226 -0
  236. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shCoreDefault.css +328 -0
  237. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shCoreDjango.css +331 -0
  238. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shCoreEclipse.css +339 -0
  239. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shCoreEmacs.css +324 -0
  240. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shCoreFadeToGrey.css +328 -0
  241. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shCoreMDUltra.css +324 -0
  242. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shCoreMidnight.css +324 -0
  243. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shCoreRDark.css +324 -0
  244. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shThemeDefault.css +117 -0
  245. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shThemeDjango.css +120 -0
  246. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shThemeEclipse.css +128 -0
  247. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shThemeEmacs.css +113 -0
  248. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shThemeFadeToGrey.css +117 -0
  249. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shThemeMDUltra.css +113 -0
  250. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shThemeMidnight.css +113 -0
  251. data/app/assets/stylesheets/kirgudu_base/syntax-higlignter/shThemeRDark.css +113 -0
  252. data/app/assets/stylesheets/kirgudu_base/uploadify.css +92 -0
  253. data/app/controllers/kirgudu_base/admin_controller.rb +91 -0
  254. data/app/controllers/kirgudu_base/application_controller.rb +676 -0
  255. data/app/controllers/kirgudu_base/cabinet_controller.rb +93 -0
  256. data/app/controllers/kirgudu_base/facade_controller.rb +82 -0
  257. data/app/helpers/kirgudu_base/application_helper.rb +486 -0
  258. data/app/helpers/kirgudu_base/breadcrumbs_helper.rb +27 -0
  259. data/app/helpers/kirgudu_base/class_helper.rb +32 -0
  260. data/app/helpers/kirgudu_base/controllers/basic_actions.rb +625 -0
  261. data/app/helpers/kirgudu_base/controllers/container_items_management_actions.rb +118 -0
  262. data/app/helpers/kirgudu_base/controllers/container_items_sorting_actions.rb +64 -0
  263. data/app/helpers/kirgudu_base/controllers/dynamic_pages.rb +30 -0
  264. data/app/helpers/kirgudu_base/controllers/obligatory_filters.rb +29 -0
  265. data/app/helpers/kirgudu_base/controllers/transaction_wrapper.rb +138 -0
  266. data/app/helpers/kirgudu_base/form_builder.rb +474 -0
  267. data/app/helpers/kirgudu_base/gui_helper.rb +443 -0
  268. data/app/helpers/kirgudu_base/models/basic_management_urls.rb +104 -0
  269. data/app/helpers/kirgudu_base/models/data_filter.rb +236 -0
  270. data/app/helpers/kirgudu_base/models/exports.rb +167 -0
  271. data/app/helpers/kirgudu_base/models/filters.rb +32 -0
  272. data/app/helpers/kirgudu_base/models/form_properties.rb +108 -0
  273. data/app/helpers/kirgudu_base/models/form_property.rb +335 -0
  274. data/app/helpers/kirgudu_base/models/methods.rb +64 -0
  275. data/app/helpers/kirgudu_base/models/scopes.rb +157 -0
  276. data/app/helpers/kirgudu_base/models/sorting.rb +99 -0
  277. data/app/helpers/kirgudu_base/models/standard_actions.rb +50 -0
  278. data/app/helpers/kirgudu_base/models/uncloneable_properties.rb +21 -0
  279. data/app/helpers/kirgudu_base/old_form_builder.rb +340 -0
  280. data/app/helpers/kirgudu_base/url_helper.rb +18 -0
  281. data/app/models/kirgudu_base/base_model.rb +293 -0
  282. data/app/models/kirgudu_base/dynamic_pages/action_for.rb +78 -0
  283. data/app/models/kirgudu_base/dynamic_pages/action_for_builder.rb +46 -0
  284. data/app/models/kirgudu_base/dynamic_pages/data_source.rb +111 -0
  285. data/app/models/kirgudu_base/dynamic_pages/data_source_builder.rb +79 -0
  286. data/app/models/kirgudu_base/dynamic_pages/form.rb +99 -0
  287. data/app/models/kirgudu_base/dynamic_pages/form_builder.rb +85 -0
  288. data/app/models/kirgudu_base/dynamic_pages/input_type.rb +17 -0
  289. data/app/models/kirgudu_base/dynamic_pages/on_change.rb +40 -0
  290. data/app/models/kirgudu_base/dynamic_pages/on_change_builder.rb +38 -0
  291. data/app/models/kirgudu_base/dynamic_pages/page.rb +55 -0
  292. data/app/models/kirgudu_base/dynamic_pages/page_builder.rb +63 -0
  293. data/app/models/kirgudu_base/dynamic_pages/property.rb +185 -0
  294. data/app/models/kirgudu_base/dynamic_pages/property_builder.rb +123 -0
  295. data/app/models/kirgudu_base/template.rb +6 -0
  296. data/app/models/kirgudu_base/template_element.rb +6 -0
  297. data/app/views/layouts/kirgudu_base/application.html.erb +141 -0
  298. data/app/views/shared/kirgudu_base/_body_javascripts_files.html.erb +71 -0
  299. data/app/views/shared/kirgudu_base/_body_javascripts_scripts.html.erb +1099 -0
  300. data/app/views/shared/kirgudu_base/_breadcrumbs.html.erb +36 -0
  301. data/app/views/shared/kirgudu_base/_head_javascripts.html.erb +21 -0
  302. data/app/views/shared/kirgudu_base/_head_stylesheets.html.erb +21 -0
  303. data/app/views/shared/kirgudu_base/_index_page_filter.html.erb +43 -0
  304. data/app/views/shared/kirgudu_base/_left_menu_standard_actions.html.erb +57 -0
  305. data/app/views/shared/kirgudu_base/_services_top_line.html.erb +5 -0
  306. data/app/views/shared/kirgudu_base/_top_nav_bar.html.erb +58 -0
  307. data/app/views/shared/kirgudu_base/entry_edit_form_renderer.html.erb +70 -0
  308. data/app/views/shared/kirgudu_base/entry_index_renderer.html.erb +98 -0
  309. data/app/views/shared/kirgudu_base/entry_new_form_renderer.html.erb +68 -0
  310. data/app/views/shared/kirgudu_base/entry_not_found_renderer.html.erb +15 -0
  311. data/app/views/shared/kirgudu_base/entry_show_renderer.html.erb +28 -0
  312. data/app/views/shared/kirgudu_base/manage_images/managing_items_index.html.erb +34 -0
  313. data/app/views/shared/kirgudu_base/manage_images/managing_items_manage.html.erb +72 -0
  314. data/app/views/shared/kirgudu_base/manage_images/managing_items_sort_index.html.erb +33 -0
  315. data/app/views/shared/kirgudu_base/manage_items/managing_items_index.html.erb +42 -0
  316. data/app/views/shared/kirgudu_base/manage_items/managing_items_manage.html.erb +66 -0
  317. data/app/views/shared/kirgudu_base/manage_items/managing_items_sort_index.html.erb +33 -0
  318. data/config/routes.rb +3 -0
  319. data/db/migrate/20131114161828_create_kirgudu_base_templates.rb +17 -0
  320. data/db/migrate/20131114165013_create_kirgudu_base_template_elements.rb +18 -0
  321. data/lib/kirgudu_base/engine.rb +6 -0
  322. data/lib/kirgudu_base/version.rb +4 -0
  323. data/lib/kirgudu_base.rb +5 -0
  324. data/lib/tasks/kirgudu_base_tasks.rake +4 -0
  325. data/test/dummy/README.rdoc +261 -0
  326. data/test/dummy/Rakefile +7 -0
  327. data/test/dummy/app/assets/javascripts/application.js +15 -0
  328. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  329. data/test/dummy/app/controllers/application_controller.rb +4 -0
  330. data/test/dummy/app/helpers/application_helper.rb +3 -0
  331. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  332. data/test/dummy/config/application.rb +60 -0
  333. data/test/dummy/config/boot.rb +11 -0
  334. data/test/dummy/config/database.yml +25 -0
  335. data/test/dummy/config/environment.rb +6 -0
  336. data/test/dummy/config/environments/development.rb +38 -0
  337. data/test/dummy/config/environments/production.rb +68 -0
  338. data/test/dummy/config/environments/test.rb +38 -0
  339. data/test/dummy/config/initializers/backtrace_silencers.rb +8 -0
  340. data/test/dummy/config/initializers/inflections.rb +16 -0
  341. data/test/dummy/config/initializers/mime_types.rb +6 -0
  342. data/test/dummy/config/initializers/secret_token.rb +8 -0
  343. data/test/dummy/config/initializers/session_store.rb +9 -0
  344. data/test/dummy/config/initializers/wrap_parameters.rb +15 -0
  345. data/test/dummy/config/locales/en.yml +5 -0
  346. data/test/dummy/config/routes.rb +5 -0
  347. data/test/dummy/config.ru +4 -0
  348. data/test/dummy/public/404.html +26 -0
  349. data/test/dummy/public/422.html +26 -0
  350. data/test/dummy/public/500.html +25 -0
  351. data/test/dummy/public/favicon.ico +0 -0
  352. data/test/dummy/script/rails +6 -0
  353. data/test/fixtures/kirgudu_base/template_elements.yml +17 -0
  354. data/test/fixtures/kirgudu_base/templates.yml +15 -0
  355. data/test/integration/navigation_test.rb +11 -0
  356. data/test/kirgudu_base_test.rb +8 -0
  357. data/test/test_helper.rb +16 -0
  358. data/test/unit/kirgudu_base/template_element_test.rb +10 -0
  359. data/test/unit/kirgudu_base/template_test.rb +10 -0
  360. metadata +492 -0
@@ -0,0 +1,261 @@
1
+ /*
2
+ wysihtml5 v0.3.0
3
+ https://github.com/xing/wysihtml5
4
+
5
+ Author: Christopher Blum (https://github.com/tiff)
6
+
7
+ Copyright (C) 2012 XING AG
8
+ Licensed under the MIT license (MIT)
9
+
10
+ Rangy, a cross-browser JavaScript range and selection library
11
+ http://code.google.com/p/rangy/
12
+
13
+ Copyright 2011, Tim Down
14
+ Licensed under the MIT license.
15
+ Version: 1.2.2
16
+ Build date: 13 November 2011
17
+ */
18
+ var wysihtml5={version:"0.3.0",commands:{},dom:{},quirks:{},toolbar:{},lang:{},selection:{},views:{},INVISIBLE_SPACE:"\ufeff",EMPTY_FUNCTION:function(){},ELEMENT_NODE:1,TEXT_NODE:3,BACKSPACE_KEY:8,ENTER_KEY:13,ESCAPE_KEY:27,SPACE_KEY:32,DELETE_KEY:46};
19
+ window.rangy=function(){function b(a,b){var c=typeof a[b];return c==k||!!(c==h&&a[b])||"unknown"==c}function c(a,b){return!!(typeof a[b]==h&&a[b])}function a(a,b){return typeof a[b]!=j}function d(a){return function(b,c){for(var d=c.length;d--;)if(!a(b,c[d]))return!1;return!0}}function e(a){return a&&m(a,r)&&x(a,q)}function f(a){window.alert("Rangy not supported in your browser. Reason: "+a);o.initialized=!0;o.supported=!1}function g(){if(!o.initialized){var a,d=!1,h=!1;b(document,"createRange")&&
20
+ (a=document.createRange(),m(a,p)&&x(a,n)&&(d=!0),a.detach());if((a=c(document,"body")?document.body:document.getElementsByTagName("body")[0])&&b(a,"createTextRange"))a=a.createTextRange(),e(a)&&(h=!0);!d&&!h&&f("Neither Range nor TextRange are implemented");o.initialized=!0;o.features={implementsDomRange:d,implementsTextRange:h};d=w.concat(z);h=0;for(a=d.length;h<a;++h)try{d[h](o)}catch(j){c(window,"console")&&b(window.console,"log")&&window.console.log("Init listener threw an exception. Continuing.",
21
+ j)}}}function i(a){this.name=a;this.supported=this.initialized=!1}var h="object",k="function",j="undefined",n="startContainer startOffset endContainer endOffset collapsed commonAncestorContainer START_TO_START START_TO_END END_TO_START END_TO_END".split(" "),p="setStart setStartBefore setStartAfter setEnd setEndBefore setEndAfter collapse selectNode selectNodeContents compareBoundaryPoints deleteContents extractContents cloneContents insertNode surroundContents cloneRange toString detach".split(" "),
22
+ q="boundingHeight boundingLeft boundingTop boundingWidth htmlText text".split(" "),r="collapse compareEndPoints duplicate getBookmark moveToBookmark moveToElementText parentElement pasteHTML select setEndPoint getBoundingClientRect".split(" "),m=d(b),s=d(c),x=d(a),o={version:"1.2.2",initialized:!1,supported:!0,util:{isHostMethod:b,isHostObject:c,isHostProperty:a,areHostMethods:m,areHostObjects:s,areHostProperties:x,isTextRange:e},features:{},modules:{},config:{alertOnWarn:!1,preferTextRange:!1}};
23
+ o.fail=f;o.warn=function(a){a="Rangy warning: "+a;o.config.alertOnWarn?window.alert(a):typeof window.console!=j&&typeof window.console.log!=j&&window.console.log(a)};({}).hasOwnProperty?o.util.extend=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])}:f("hasOwnProperty not supported");var z=[],w=[];o.init=g;o.addInitListener=function(a){o.initialized?a(o):z.push(a)};var y=[];o.addCreateMissingNativeApiListener=function(a){y.push(a)};o.createMissingNativeApi=function(a){a=a||window;g();
24
+ for(var b=0,c=y.length;b<c;++b)y[b](a)};i.prototype.fail=function(a){this.initialized=!0;this.supported=!1;throw Error("Module '"+this.name+"' failed to load: "+a);};i.prototype.warn=function(a){o.warn("Module "+this.name+": "+a)};i.prototype.createError=function(a){return Error("Error in Rangy "+this.name+" module: "+a)};o.createModule=function(a,b){var c=new i(a);o.modules[a]=c;w.push(function(a){b(a,c);c.initialized=!0;c.supported=!0})};o.requireModules=function(a){for(var b=0,c=a.length,d,h;b<
25
+ c;++b){h=a[b];d=o.modules[h];if(!d||!(d instanceof i))throw Error("Module '"+h+"' not found");if(!d.supported)throw Error("Module '"+h+"' not supported");}};var A=!1,s=function(){A||(A=!0,o.initialized||g())};if(typeof window==j)f("No window found");else if(typeof document==j)f("No document found");else return b(document,"addEventListener")&&document.addEventListener("DOMContentLoaded",s,!1),b(window,"addEventListener")?window.addEventListener("load",s,!1):b(window,"attachEvent")?window.attachEvent("onload",
26
+ s):f("Window does not have required addEventListener or attachEvent method"),o}();
27
+ rangy.createModule("DomUtil",function(b,c){function a(a){for(var b=0;a=a.previousSibling;)b++;return b}function d(a,b){var c=[],d;for(d=a;d;d=d.parentNode)c.push(d);for(d=b;d;d=d.parentNode)if(m(c,d))return d;return null}function e(a,b,c){for(c=c?a:a.parentNode;c;){a=c.parentNode;if(a===b)return c;c=a}return null}function f(a){a=a.nodeType;return 3==a||4==a||8==a}function g(a,b){var c=b.nextSibling,d=b.parentNode;c?d.insertBefore(a,c):d.appendChild(a);return a}function i(a){if(9==a.nodeType)return a;
28
+ if(typeof a.ownerDocument!=p)return a.ownerDocument;if(typeof a.document!=p)return a.document;if(a.parentNode)return i(a.parentNode);throw Error("getDocument: no document found for node");}function h(a){return!a?"[No node]":f(a)?'"'+a.data+'"':1==a.nodeType?"<"+a.nodeName+(a.id?' id="'+a.id+'"':"")+">["+a.childNodes.length+"]":a.nodeName}function k(a){this._next=this.root=a}function j(a,b){this.node=a;this.offset=b}function n(a){this.code=this[a];this.codeName=a;this.message="DOMException: "+this.codeName}
29
+ var p="undefined",q=b.util;q.areHostMethods(document,["createDocumentFragment","createElement","createTextNode"])||c.fail("document missing a Node creation method");q.isHostMethod(document,"getElementsByTagName")||c.fail("document missing getElementsByTagName method");var r=document.createElement("div");q.areHostMethods(r,["insertBefore","appendChild","cloneNode"])||c.fail("Incomplete Element implementation");q.isHostProperty(r,"innerHTML")||c.fail("Element is missing innerHTML property");r=document.createTextNode("test");
30
+ q.areHostMethods(r,["splitText","deleteData","insertData","appendData","cloneNode"])||c.fail("Incomplete Text Node implementation");var m=function(a,b){for(var c=a.length;c--;)if(a[c]===b)return!0;return!1};k.prototype={_current:null,hasNext:function(){return!!this._next},next:function(){var a=this._current=this._next,b;if(this._current){b=a.firstChild;if(!b)for(b=null;a!==this.root&&!(b=a.nextSibling);)a=a.parentNode;this._next=b}return this._current},detach:function(){this._current=this._next=this.root=
31
+ null}};j.prototype={equals:function(a){return this.node===a.node&this.offset==a.offset},inspect:function(){return"[DomPosition("+h(this.node)+":"+this.offset+")]"}};n.prototype={INDEX_SIZE_ERR:1,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INVALID_STATE_ERR:11};n.prototype.toString=function(){return this.message};b.dom={arrayContains:m,isHtmlNamespace:function(a){var b;return typeof a.namespaceURI==p||null===(b=a.namespaceURI)||"http://www.w3.org/1999/xhtml"==
32
+ b},parentElement:function(a){a=a.parentNode;return 1==a.nodeType?a:null},getNodeIndex:a,getNodeLength:function(a){var b;return f(a)?a.length:(b=a.childNodes)?b.length:0},getCommonAncestor:d,isAncestorOf:function(a,b,c){for(b=c?b:b.parentNode;b;){if(b===a)return!0;b=b.parentNode}return!1},getClosestAncestorIn:e,isCharacterDataNode:f,insertAfter:g,splitDataNode:function(a,b){var c=a.cloneNode(!1);c.deleteData(0,b);a.deleteData(b,a.length-b);g(c,a);return c},getDocument:i,getWindow:function(a){a=i(a);
33
+ if(typeof a.defaultView!=p)return a.defaultView;if(typeof a.parentWindow!=p)return a.parentWindow;throw Error("Cannot get a window object for node");},getIframeWindow:function(a){if(typeof a.contentWindow!=p)return a.contentWindow;if(typeof a.contentDocument!=p)return a.contentDocument.defaultView;throw Error("getIframeWindow: No Window object found for iframe element");},getIframeDocument:function(a){if(typeof a.contentDocument!=p)return a.contentDocument;if(typeof a.contentWindow!=p)return a.contentWindow.document;
34
+ throw Error("getIframeWindow: No Document object found for iframe element");},getBody:function(a){return q.isHostObject(a,"body")?a.body:a.getElementsByTagName("body")[0]},getRootContainer:function(a){for(var b;b=a.parentNode;)a=b;return a},comparePoints:function(b,c,h,j){var k;if(b==h)return c===j?0:c<j?-1:1;if(k=e(h,b,!0))return c<=a(k)?-1:1;if(k=e(b,h,!0))return a(k)<j?-1:1;c=d(b,h);b=b===c?c:e(b,c,!0);h=h===c?c:e(h,c,!0);if(b===h)throw Error("comparePoints got to case 4 and childA and childB are the same!");
35
+ for(c=c.firstChild;c;){if(c===b)return-1;if(c===h)return 1;c=c.nextSibling}throw Error("Should not be here!");},inspectNode:h,fragmentFromNodeChildren:function(a){for(var b=i(a).createDocumentFragment(),c;c=a.firstChild;)b.appendChild(c);return b},createIterator:function(a){return new k(a)},DomPosition:j};b.DOMException=n});
36
+ rangy.createModule("DomRange",function(b){function c(a,b){return 3!=a.nodeType&&(l.isAncestorOf(a,b.startContainer,!0)||l.isAncestorOf(a,b.endContainer,!0))}function a(a){return l.getDocument(a.startContainer)}function d(a,b,c){if(b=a._listeners[b])for(var d=0,h=b.length;d<h;++d)b[d].call(a,{target:a,args:c})}function e(a){return new u(a.parentNode,l.getNodeIndex(a))}function f(a){return new u(a.parentNode,l.getNodeIndex(a)+1)}function g(a,b,c){var d=11==a.nodeType?a.firstChild:a;l.isCharacterDataNode(b)?
37
+ c==b.length?l.insertAfter(a,b):b.parentNode.insertBefore(a,0==c?b:l.splitDataNode(b,c)):c>=b.childNodes.length?b.appendChild(a):b.insertBefore(a,b.childNodes[c]);return d}function i(b){for(var c,d,h=a(b.range).createDocumentFragment();d=b.next();){c=b.isPartiallySelectedSubtree();d=d.cloneNode(!c);c&&(c=b.getSubtreeIterator(),d.appendChild(i(c)),c.detach(!0));if(10==d.nodeType)throw new B("HIERARCHY_REQUEST_ERR");h.appendChild(d)}return h}function h(a,b,c){for(var d,e,c=c||{stop:!1};d=a.next();)if(a.isPartiallySelectedSubtree())if(!1===
38
+ b(d)){c.stop=!0;break}else{if(d=a.getSubtreeIterator(),h(d,b,c),d.detach(!0),c.stop)break}else for(d=l.createIterator(d);e=d.next();)if(!1===b(e)){c.stop=!0;return}}function k(a){for(var b;a.next();)a.isPartiallySelectedSubtree()?(b=a.getSubtreeIterator(),k(b),b.detach(!0)):a.remove()}function j(b){for(var c,d=a(b.range).createDocumentFragment(),h;c=b.next();){b.isPartiallySelectedSubtree()?(c=c.cloneNode(!1),h=b.getSubtreeIterator(),c.appendChild(j(h)),h.detach(!0)):b.remove();if(10==c.nodeType)throw new B("HIERARCHY_REQUEST_ERR");
39
+ d.appendChild(c)}return d}function n(a,b,c){var d=!(!b||!b.length),e,j=!!c;d&&(e=RegExp("^("+b.join("|")+")$"));var k=[];h(new q(a,!1),function(a){(!d||e.test(a.nodeType))&&(!j||c(a))&&k.push(a)});return k}function p(a){return"["+("undefined"==typeof a.getName?"Range":a.getName())+"("+l.inspectNode(a.startContainer)+":"+a.startOffset+", "+l.inspectNode(a.endContainer)+":"+a.endOffset+")]"}function q(a,b){this.range=a;this.clonePartiallySelectedTextNodes=b;if(!a.collapsed){this.sc=a.startContainer;
40
+ this.so=a.startOffset;this.ec=a.endContainer;this.eo=a.endOffset;var c=a.commonAncestorContainer;this.sc===this.ec&&l.isCharacterDataNode(this.sc)?(this.isSingleCharacterDataNode=!0,this._first=this._last=this._next=this.sc):(this._first=this._next=this.sc===c&&!l.isCharacterDataNode(this.sc)?this.sc.childNodes[this.so]:l.getClosestAncestorIn(this.sc,c,!0),this._last=this.ec===c&&!l.isCharacterDataNode(this.ec)?this.ec.childNodes[this.eo-1]:l.getClosestAncestorIn(this.ec,c,!0))}}function r(a){this.code=
41
+ this[a];this.codeName=a;this.message="RangeException: "+this.codeName}function m(a,b,c){this.nodes=n(a,b,c);this._next=this.nodes[0];this._position=0}function s(a){return function(b,c){for(var d,h=c?b:b.parentNode;h;){d=h.nodeType;if(l.arrayContains(a,d))return h;h=h.parentNode}return null}}function x(a,b){if($(a,b))throw new r("INVALID_NODE_TYPE_ERR");}function o(a){if(!a.startContainer)throw new B("INVALID_STATE_ERR");}function z(a,b){if(!l.arrayContains(b,a.nodeType))throw new r("INVALID_NODE_TYPE_ERR");
42
+ }function w(a,b){if(0>b||b>(l.isCharacterDataNode(a)?a.length:a.childNodes.length))throw new B("INDEX_SIZE_ERR");}function y(a,b){if(O(a,!0)!==O(b,!0))throw new B("WRONG_DOCUMENT_ERR");}function A(a){if(aa(a,!0))throw new B("NO_MODIFICATION_ALLOWED_ERR");}function t(a,b){if(!a)throw new B(b);}function v(a){o(a);if(!l.arrayContains(G,a.startContainer.nodeType)&&!O(a.startContainer,!0)||!l.arrayContains(G,a.endContainer.nodeType)&&!O(a.endContainer,!0)||!(a.startOffset<=(l.isCharacterDataNode(a.startContainer)?
43
+ a.startContainer.length:a.startContainer.childNodes.length))||!(a.endOffset<=(l.isCharacterDataNode(a.endContainer)?a.endContainer.length:a.endContainer.childNodes.length)))throw Error("Range error: Range is no longer valid after DOM mutation ("+a.inspect()+")");}function D(){}function K(a){a.START_TO_START=Q;a.START_TO_END=U;a.END_TO_END=ba;a.END_TO_START=V;a.NODE_BEFORE=W;a.NODE_AFTER=X;a.NODE_BEFORE_AND_AFTER=Y;a.NODE_INSIDE=R}function F(a){K(a);K(a.prototype)}function E(a,b){return function(){v(this);
44
+ var c=this.startContainer,d=this.startOffset,e=this.commonAncestorContainer,j=new q(this,!0);c!==e&&(c=l.getClosestAncestorIn(c,e,!0),d=f(c),c=d.node,d=d.offset);h(j,A);j.reset();e=a(j);j.detach();b(this,c,d,c,d);return e}}function I(a,d,h){function g(a,b){return function(c){o(this);z(c,L);z(M(c),G);c=(a?e:f)(c);(b?i:n)(this,c.node,c.offset)}}function i(a,b,c){var h=a.endContainer,e=a.endOffset;if(b!==a.startContainer||c!==a.startOffset){if(M(b)!=M(h)||1==l.comparePoints(b,c,h,e))h=b,e=c;d(a,b,c,
45
+ h,e)}}function n(a,b,c){var h=a.startContainer,e=a.startOffset;if(b!==a.endContainer||c!==a.endOffset){if(M(b)!=M(h)||-1==l.comparePoints(b,c,h,e))h=b,e=c;d(a,h,e,b,c)}}a.prototype=new D;b.util.extend(a.prototype,{setStart:function(a,b){o(this);x(a,!0);w(a,b);i(this,a,b)},setEnd:function(a,b){o(this);x(a,!0);w(a,b);n(this,a,b)},setStartBefore:g(!0,!0),setStartAfter:g(!1,!0),setEndBefore:g(!0,!1),setEndAfter:g(!1,!1),collapse:function(a){v(this);a?d(this,this.startContainer,this.startOffset,this.startContainer,
46
+ this.startOffset):d(this,this.endContainer,this.endOffset,this.endContainer,this.endOffset)},selectNodeContents:function(a){o(this);x(a,!0);d(this,a,0,a,l.getNodeLength(a))},selectNode:function(a){o(this);x(a,!1);z(a,L);var b=e(a),a=f(a);d(this,b.node,b.offset,a.node,a.offset)},extractContents:E(j,d),deleteContents:E(k,d),canSurroundContents:function(){v(this);A(this.startContainer);A(this.endContainer);var a=new q(this,!0),b=a._first&&c(a._first,this)||a._last&&c(a._last,this);a.detach();return!b},
47
+ detach:function(){h(this)},splitBoundaries:function(){v(this);var a=this.startContainer,b=this.startOffset,c=this.endContainer,h=this.endOffset,e=a===c;l.isCharacterDataNode(c)&&(0<h&&h<c.length)&&l.splitDataNode(c,h);l.isCharacterDataNode(a)&&(0<b&&b<a.length)&&(a=l.splitDataNode(a,b),e?(h-=b,c=a):c==a.parentNode&&h>=l.getNodeIndex(a)&&h++,b=0);d(this,a,b,c,h)},normalizeBoundaries:function(){v(this);var a=this.startContainer,b=this.startOffset,c=this.endContainer,h=this.endOffset,e=function(a){var b=
48
+ a.nextSibling;b&&b.nodeType==a.nodeType&&(c=a,h=a.length,a.appendData(b.data),b.parentNode.removeChild(b))},j=function(d){var e=d.previousSibling;if(e&&e.nodeType==d.nodeType){a=d;var j=d.length;b=e.length;d.insertData(0,e.data);e.parentNode.removeChild(e);a==c?(h+=b,c=a):c==d.parentNode&&(e=l.getNodeIndex(d),h==e?(c=d,h=j):h>e&&h--)}},k=!0;l.isCharacterDataNode(c)?c.length==h&&e(c):(0<h&&(k=c.childNodes[h-1])&&l.isCharacterDataNode(k)&&e(k),k=!this.collapsed);k?l.isCharacterDataNode(a)?0==b&&j(a):
49
+ b<a.childNodes.length&&(e=a.childNodes[b])&&l.isCharacterDataNode(e)&&j(e):(a=c,b=h);d(this,a,b,c,h)},collapseToPoint:function(a,b){o(this);x(a,!0);w(a,b);(a!==this.startContainer||b!==this.startOffset||a!==this.endContainer||b!==this.endOffset)&&d(this,a,b,a,b)}});F(a)}function N(a){a.collapsed=a.startContainer===a.endContainer&&a.startOffset===a.endOffset;a.commonAncestorContainer=a.collapsed?a.startContainer:l.getCommonAncestor(a.startContainer,a.endContainer)}function J(a,b,c,h,e){var j=a.startContainer!==
50
+ b||a.startOffset!==c,k=a.endContainer!==h||a.endOffset!==e;a.startContainer=b;a.startOffset=c;a.endContainer=h;a.endOffset=e;N(a);d(a,"boundarychange",{startMoved:j,endMoved:k})}function C(a){this.startContainer=a;this.startOffset=0;this.endContainer=a;this.endOffset=0;this._listeners={boundarychange:[],detach:[]};N(this)}b.requireModules(["DomUtil"]);var l=b.dom,u=l.DomPosition,B=b.DOMException;q.prototype={_current:null,_next:null,_first:null,_last:null,isSingleCharacterDataNode:!1,reset:function(){this._current=
51
+ null;this._next=this._first},hasNext:function(){return!!this._next},next:function(){var a=this._current=this._next;a&&(this._next=a!==this._last?a.nextSibling:null,l.isCharacterDataNode(a)&&this.clonePartiallySelectedTextNodes&&(a===this.ec&&(a=a.cloneNode(!0)).deleteData(this.eo,a.length-this.eo),this._current===this.sc&&(a=a.cloneNode(!0)).deleteData(0,this.so)));return a},remove:function(){var a=this._current,b,c;l.isCharacterDataNode(a)&&(a===this.sc||a===this.ec)?(b=a===this.sc?this.so:0,c=a===
52
+ this.ec?this.eo:a.length,b!=c&&a.deleteData(b,c-b)):a.parentNode&&a.parentNode.removeChild(a)},isPartiallySelectedSubtree:function(){return c(this._current,this.range)},getSubtreeIterator:function(){var b;if(this.isSingleCharacterDataNode)b=this.range.cloneRange(),b.collapse();else{b=new C(a(this.range));var c=this._current,d=c,h=0,e=c,j=l.getNodeLength(c);l.isAncestorOf(c,this.sc,!0)&&(d=this.sc,h=this.so);l.isAncestorOf(c,this.ec,!0)&&(e=this.ec,j=this.eo);J(b,d,h,e,j)}return new q(b,this.clonePartiallySelectedTextNodes)},
53
+ detach:function(a){a&&this.range.detach();this.range=this._current=this._next=this._first=this._last=this.sc=this.so=this.ec=this.eo=null}};r.prototype={BAD_BOUNDARYPOINTS_ERR:1,INVALID_NODE_TYPE_ERR:2};r.prototype.toString=function(){return this.message};m.prototype={_current:null,hasNext:function(){return!!this._next},next:function(){this._current=this._next;this._next=this.nodes[++this._position];return this._current},detach:function(){this._current=this._next=this.nodes=null}};var L=[1,3,4,5,
54
+ 7,8,10],G=[2,9,11],P=[1,3,4,5,7,8,10,11],H=[1,3,4,5,7,8],M=l.getRootContainer,O=s([9,11]),aa=s([5,6,10,12]),$=s([6,10,12]),Z=document.createElement("style"),S=!1;try{Z.innerHTML="<b>x</b>",S=3==Z.firstChild.nodeType}catch(ca){}b.features.htmlParsingConforms=S;var T="startContainer startOffset endContainer endOffset collapsed commonAncestorContainer".split(" "),Q=0,U=1,ba=2,V=3,W=0,X=1,Y=2,R=3;D.prototype={attachListener:function(a,b){this._listeners[a].push(b)},compareBoundaryPoints:function(a,b){v(this);
55
+ y(this.startContainer,b.startContainer);var c=a==V||a==Q?"start":"end",d=a==U||a==Q?"start":"end";return l.comparePoints(this[c+"Container"],this[c+"Offset"],b[d+"Container"],b[d+"Offset"])},insertNode:function(a){v(this);z(a,P);A(this.startContainer);if(l.isAncestorOf(a,this.startContainer,!0))throw new B("HIERARCHY_REQUEST_ERR");this.setStartBefore(g(a,this.startContainer,this.startOffset))},cloneContents:function(){v(this);var b,c;if(this.collapsed)return a(this).createDocumentFragment();if(this.startContainer===
56
+ this.endContainer&&l.isCharacterDataNode(this.startContainer))return b=this.startContainer.cloneNode(!0),b.data=b.data.slice(this.startOffset,this.endOffset),c=a(this).createDocumentFragment(),c.appendChild(b),c;c=new q(this,!0);b=i(c);c.detach();return b},canSurroundContents:function(){v(this);A(this.startContainer);A(this.endContainer);var a=new q(this,!0),b=a._first&&c(a._first,this)||a._last&&c(a._last,this);a.detach();return!b},surroundContents:function(a){z(a,H);if(!this.canSurroundContents())throw new r("BAD_BOUNDARYPOINTS_ERR");
57
+ var b=this.extractContents();if(a.hasChildNodes())for(;a.lastChild;)a.removeChild(a.lastChild);g(a,this.startContainer,this.startOffset);a.appendChild(b);this.selectNode(a)},cloneRange:function(){v(this);for(var b=new C(a(this)),c=T.length,d;c--;)d=T[c],b[d]=this[d];return b},toString:function(){v(this);var a=this.startContainer;if(a===this.endContainer&&l.isCharacterDataNode(a))return 3==a.nodeType||4==a.nodeType?a.data.slice(this.startOffset,this.endOffset):"";var b=[],a=new q(this,!0);h(a,function(a){(3==
58
+ a.nodeType||4==a.nodeType)&&b.push(a.data)});a.detach();return b.join("")},compareNode:function(a){v(this);var b=a.parentNode,c=l.getNodeIndex(a);if(!b)throw new B("NOT_FOUND_ERR");a=this.comparePoint(b,c);b=this.comparePoint(b,c+1);return 0>a?0<b?Y:W:0<b?X:R},comparePoint:function(a,b){v(this);t(a,"HIERARCHY_REQUEST_ERR");y(a,this.startContainer);return 0>l.comparePoints(a,b,this.startContainer,this.startOffset)?-1:0<l.comparePoints(a,b,this.endContainer,this.endOffset)?1:0},createContextualFragment:S?
59
+ function(a){var b=this.startContainer,c=l.getDocument(b);if(!b)throw new B("INVALID_STATE_ERR");var d=null;1==b.nodeType?d=b:l.isCharacterDataNode(b)&&(d=l.parentElement(b));d=null===d||"HTML"==d.nodeName&&l.isHtmlNamespace(l.getDocument(d).documentElement)&&l.isHtmlNamespace(d)?c.createElement("body"):d.cloneNode(!1);d.innerHTML=a;return l.fragmentFromNodeChildren(d)}:function(b){o(this);var c=a(this).createElement("body");c.innerHTML=b;return l.fragmentFromNodeChildren(c)},toHtml:function(){v(this);
60
+ var b=a(this).createElement("div");b.appendChild(this.cloneContents());return b.innerHTML},intersectsNode:function(b,c){v(this);t(b,"NOT_FOUND_ERR");if(l.getDocument(b)!==a(this))return!1;var d=b.parentNode,h=l.getNodeIndex(b);t(d,"NOT_FOUND_ERR");var e=l.comparePoints(d,h,this.endContainer,this.endOffset),d=l.comparePoints(d,h+1,this.startContainer,this.startOffset);return c?0>=e&&0<=d:0>e&&0<d},isPointInRange:function(a,b){v(this);t(a,"HIERARCHY_REQUEST_ERR");y(a,this.startContainer);return 0<=
61
+ l.comparePoints(a,b,this.startContainer,this.startOffset)&&0>=l.comparePoints(a,b,this.endContainer,this.endOffset)},intersectsRange:function(b,c){v(this);if(a(b)!=a(this))throw new B("WRONG_DOCUMENT_ERR");var d=l.comparePoints(this.startContainer,this.startOffset,b.endContainer,b.endOffset),h=l.comparePoints(this.endContainer,this.endOffset,b.startContainer,b.startOffset);return c?0>=d&&0<=h:0>d&&0<h},intersection:function(a){if(this.intersectsRange(a)){var b=l.comparePoints(this.startContainer,
62
+ this.startOffset,a.startContainer,a.startOffset),c=l.comparePoints(this.endContainer,this.endOffset,a.endContainer,a.endOffset),d=this.cloneRange();-1==b&&d.setStart(a.startContainer,a.startOffset);1==c&&d.setEnd(a.endContainer,a.endOffset);return d}return null},union:function(a){if(this.intersectsRange(a,!0)){var b=this.cloneRange();-1==l.comparePoints(a.startContainer,a.startOffset,this.startContainer,this.startOffset)&&b.setStart(a.startContainer,a.startOffset);1==l.comparePoints(a.endContainer,
63
+ a.endOffset,this.endContainer,this.endOffset)&&b.setEnd(a.endContainer,a.endOffset);return b}throw new r("Ranges do not intersect");},containsNode:function(a,b){return b?this.intersectsNode(a,!1):this.compareNode(a)==R},containsNodeContents:function(a){return 0<=this.comparePoint(a,0)&&0>=this.comparePoint(a,l.getNodeLength(a))},containsRange:function(a){return this.intersection(a).equals(a)},containsNodeText:function(a){var b=this.cloneRange();b.selectNode(a);var c=b.getNodes([3]);return 0<c.length?
64
+ (b.setStart(c[0],0),a=c.pop(),b.setEnd(a,a.length),a=this.containsRange(b),b.detach(),a):this.containsNodeContents(a)},createNodeIterator:function(a,b){v(this);return new m(this,a,b)},getNodes:function(a,b){v(this);return n(this,a,b)},getDocument:function(){return a(this)},collapseBefore:function(a){o(this);this.setEndBefore(a);this.collapse(!1)},collapseAfter:function(a){o(this);this.setStartAfter(a);this.collapse(!0)},getName:function(){return"DomRange"},equals:function(a){return C.rangesEqual(this,
65
+ a)},inspect:function(){return p(this)}};I(C,J,function(a){o(a);a.startContainer=a.startOffset=a.endContainer=a.endOffset=null;a.collapsed=a.commonAncestorContainer=null;d(a,"detach",null);a._listeners=null});b.rangePrototype=D.prototype;C.rangeProperties=T;C.RangeIterator=q;C.copyComparisonConstants=F;C.createPrototypeRange=I;C.inspect=p;C.getRangeDocument=a;C.rangesEqual=function(a,b){return a.startContainer===b.startContainer&&a.startOffset===b.startOffset&&a.endContainer===b.endContainer&&a.endOffset===
66
+ b.endOffset};b.DomRange=C;b.RangeException=r});
67
+ rangy.createModule("WrappedRange",function(b){function c(a,b,c,d){var g=a.duplicate();g.collapse(c);var i=g.parentElement();e.isAncestorOf(b,i,!0)||(i=b);if(!i.canHaveHTML)return new f(i.parentNode,e.getNodeIndex(i));var b=e.getDocument(i).createElement("span"),r,m=c?"StartToStart":"StartToEnd";do i.insertBefore(b,b.previousSibling),g.moveToElementText(b);while(0<(r=g.compareEndPoints(m,a))&&b.previousSibling);m=b.nextSibling;if(-1==r&&m&&e.isCharacterDataNode(m)){g.setEndPoint(c?"EndToStart":"EndToEnd",
68
+ a);if(/[\r\n]/.test(m.data)){i=g.duplicate();c=i.text.replace(/\r\n/g,"\r").length;for(c=i.moveStart("character",c);-1==i.compareEndPoints("StartToEnd",i);)c++,i.moveStart("character",1)}else c=g.text.length;i=new f(m,c)}else m=(d||!c)&&b.previousSibling,i=(c=(d||c)&&b.nextSibling)&&e.isCharacterDataNode(c)?new f(c,0):m&&e.isCharacterDataNode(m)?new f(m,m.length):new f(i,e.getNodeIndex(b));b.parentNode.removeChild(b);return i}function a(a,b){var c,d,f=a.offset,g=e.getDocument(a.node),i=g.body.createTextRange(),
69
+ m=e.isCharacterDataNode(a.node);m?(c=a.node,d=c.parentNode):(c=a.node.childNodes,c=f<c.length?c[f]:null,d=a.node);g=g.createElement("span");g.innerHTML="&#feff;";c?d.insertBefore(g,c):d.appendChild(g);i.moveToElementText(g);i.collapse(!b);d.removeChild(g);if(m)i[b?"moveStart":"moveEnd"]("character",f);return i}b.requireModules(["DomUtil","DomRange"]);var d,e=b.dom,f=e.DomPosition,g=b.DomRange;if(b.features.implementsDomRange&&(!b.features.implementsTextRange||!b.config.preferTextRange))(function(){function a(b){for(var c=
70
+ j.length,d;c--;)d=j[c],b[d]=b.nativeRange[d]}var c,j=g.rangeProperties,f;d=function(b){if(!b)throw Error("Range must be specified");this.nativeRange=b;a(this)};g.createPrototypeRange(d,function(a,b,c,d,h){var e=a.endContainer!==d||a.endOffset!=h;if(a.startContainer!==b||a.startOffset!=c||e)a.setEnd(d,h),a.setStart(b,c)},function(a){a.nativeRange.detach();a.detached=!0;for(var b=j.length,c;b--;)c=j[b],a[c]=null});c=d.prototype;c.selectNode=function(b){this.nativeRange.selectNode(b);a(this)};c.deleteContents=
71
+ function(){this.nativeRange.deleteContents();a(this)};c.extractContents=function(){var b=this.nativeRange.extractContents();a(this);return b};c.cloneContents=function(){return this.nativeRange.cloneContents()};c.surroundContents=function(b){this.nativeRange.surroundContents(b);a(this)};c.collapse=function(b){this.nativeRange.collapse(b);a(this)};c.cloneRange=function(){return new d(this.nativeRange.cloneRange())};c.refresh=function(){a(this)};c.toString=function(){return this.nativeRange.toString()};
72
+ var i=document.createTextNode("test");e.getBody(document).appendChild(i);var q=document.createRange();q.setStart(i,0);q.setEnd(i,0);try{q.setStart(i,1),c.setStart=function(b,c){this.nativeRange.setStart(b,c);a(this)},c.setEnd=function(b,c){this.nativeRange.setEnd(b,c);a(this)},f=function(b){return function(c){this.nativeRange[b](c);a(this)}}}catch(r){c.setStart=function(b,c){try{this.nativeRange.setStart(b,c)}catch(d){this.nativeRange.setEnd(b,c),this.nativeRange.setStart(b,c)}a(this)},c.setEnd=function(b,
73
+ c){try{this.nativeRange.setEnd(b,c)}catch(d){this.nativeRange.setStart(b,c),this.nativeRange.setEnd(b,c)}a(this)},f=function(b,c){return function(d){try{this.nativeRange[b](d)}catch(e){this.nativeRange[c](d),this.nativeRange[b](d)}a(this)}}}c.setStartBefore=f("setStartBefore","setEndBefore");c.setStartAfter=f("setStartAfter","setEndAfter");c.setEndBefore=f("setEndBefore","setStartBefore");c.setEndAfter=f("setEndAfter","setStartAfter");q.selectNodeContents(i);c.selectNodeContents=q.startContainer==
74
+ i&&q.endContainer==i&&0==q.startOffset&&q.endOffset==i.length?function(b){this.nativeRange.selectNodeContents(b);a(this)}:function(a){this.setStart(a,0);this.setEnd(a,g.getEndOffset(a))};q.selectNodeContents(i);q.setEnd(i,3);f=document.createRange();f.selectNodeContents(i);f.setEnd(i,4);f.setStart(i,2);c.compareBoundaryPoints=-1==q.compareBoundaryPoints(q.START_TO_END,f)&1==q.compareBoundaryPoints(q.END_TO_START,f)?function(a,b){b=b.nativeRange||b;a==b.START_TO_END?a=b.END_TO_START:a==b.END_TO_START&&
75
+ (a=b.START_TO_END);return this.nativeRange.compareBoundaryPoints(a,b)}:function(a,b){return this.nativeRange.compareBoundaryPoints(a,b.nativeRange||b)};b.util.isHostMethod(q,"createContextualFragment")&&(c.createContextualFragment=function(a){return this.nativeRange.createContextualFragment(a)});e.getBody(document).removeChild(i);q.detach();f.detach()})(),b.createNativeRange=function(a){a=a||document;return a.createRange()};else if(b.features.implementsTextRange){d=function(a){this.textRange=a;this.refresh()};
76
+ d.prototype=new g(document);d.prototype.refresh=function(){var a,b,d=this.textRange;a=d.parentElement();var f=d.duplicate();f.collapse(!0);b=f.parentElement();f=d.duplicate();f.collapse(!1);d=f.parentElement();b=b==d?b:e.getCommonAncestor(b,d);b=b==a?b:e.getCommonAncestor(a,b);0==this.textRange.compareEndPoints("StartToEnd",this.textRange)?b=a=c(this.textRange,b,!0,!0):(a=c(this.textRange,b,!0,!1),b=c(this.textRange,b,!1,!1));this.setStart(a.node,a.offset);this.setEnd(b.node,b.offset)};g.copyComparisonConstants(d);
77
+ var i=function(){return this}();"undefined"==typeof i.Range&&(i.Range=d);b.createNativeRange=function(a){a=a||document;return a.body.createTextRange()}}b.features.implementsTextRange&&(d.rangeToTextRange=function(b){if(b.collapsed)return a(new f(b.startContainer,b.startOffset),!0);var c=a(new f(b.startContainer,b.startOffset),!0),d=a(new f(b.endContainer,b.endOffset),!1),b=e.getDocument(b.startContainer).body.createTextRange();b.setEndPoint("StartToStart",c);b.setEndPoint("EndToEnd",d);return b});
78
+ d.prototype.getName=function(){return"WrappedRange"};b.WrappedRange=d;b.createRange=function(a){a=a||document;return new d(b.createNativeRange(a))};b.createRangyRange=function(a){a=a||document;return new g(a)};b.createIframeRange=function(a){return b.createRange(e.getIframeDocument(a))};b.createIframeRangyRange=function(a){return b.createRangyRange(e.getIframeDocument(a))};b.addCreateMissingNativeApiListener(function(a){a=a.document;if(typeof a.createRange=="undefined")a.createRange=function(){return b.createRange(this)};
79
+ a=a=null})});
80
+ rangy.createModule("WrappedSelection",function(b,c){function a(a){return(a||window).getSelection()}function d(a){return(a||window).document.selection}function e(a,b,c){var d=c?"end":"start",c=c?"start":"end";a.anchorNode=b[d+"Container"];a.anchorOffset=b[d+"Offset"];a.focusNode=b[c+"Container"];a.focusOffset=b[c+"Offset"]}function f(a){a.anchorNode=a.focusNode=null;a.anchorOffset=a.focusOffset=0;a.rangeCount=0;a.isCollapsed=!0;a._ranges.length=0}function g(a){var c;a instanceof x?(c=a._selectionNativeRange,
81
+ c||(c=b.createNativeRange(m.getDocument(a.startContainer)),c.setEnd(a.endContainer,a.endOffset),c.setStart(a.startContainer,a.startOffset),a._selectionNativeRange=c,a.attachListener("detach",function(){this._selectionNativeRange=null}))):a instanceof o?c=a.nativeRange:b.features.implementsDomRange&&a instanceof m.getWindow(a.startContainer).Range&&(c=a);return c}function i(a){var b=a.getNodes(),c;a:if(!b.length||1!=b[0].nodeType)c=!1;else{c=1;for(var d=b.length;c<d;++c)if(!m.isAncestorOf(b[0],b[c])){c=
82
+ !1;break a}c=!0}if(!c)throw Error("getSingleElementFromRange: range "+a.inspect()+" did not consist of a single element");return b[0]}function h(a,b){var c=new o(b);a._ranges=[c];e(a,c,!1);a.rangeCount=1;a.isCollapsed=c.collapsed}function k(a){a._ranges.length=0;if("None"==a.docSelection.type)f(a);else{var c=a.docSelection.createRange();if(c&&"undefined"!=typeof c.text)h(a,c);else{a.rangeCount=c.length;for(var d,j=m.getDocument(c.item(0)),k=0;k<a.rangeCount;++k)d=b.createRange(j),d.selectNode(c.item(k)),
83
+ a._ranges.push(d);a.isCollapsed=1==a.rangeCount&&a._ranges[0].collapsed;e(a,a._ranges[a.rangeCount-1],!1)}}}function j(a,b){for(var c=a.docSelection.createRange(),d=i(b),e=m.getDocument(c.item(0)),e=m.getBody(e).createControlRange(),h=0,j=c.length;h<j;++h)e.add(c.item(h));try{e.add(d)}catch(f){throw Error("addRange(): Element within the specified Range could not be added to control selection (does it have layout?)");}e.select();k(a)}function n(a,b,c){this.nativeSelection=a;this.docSelection=b;this._ranges=
84
+ [];this.win=c;this.refresh()}function p(a,b){for(var c=m.getDocument(b[0].startContainer),c=m.getBody(c).createControlRange(),d=0,e;d<rangeCount;++d){e=i(b[d]);try{c.add(e)}catch(h){throw Error("setRanges(): Element within the one of the specified Ranges could not be added to control selection (does it have layout?)");}}c.select();k(a)}function q(a,b){if(a.anchorNode&&m.getDocument(a.anchorNode)!==m.getDocument(b))throw new z("WRONG_DOCUMENT_ERR");}function r(a){var b=[],c=new w(a.anchorNode,a.anchorOffset),
85
+ d=new w(a.focusNode,a.focusOffset),e="function"==typeof a.getName?a.getName():"Selection";if("undefined"!=typeof a.rangeCount)for(var h=0,j=a.rangeCount;h<j;++h)b[h]=x.inspect(a.getRangeAt(h));return"["+e+"(Ranges: "+b.join(", ")+")(anchor: "+c.inspect()+", focus: "+d.inspect()+"]"}b.requireModules(["DomUtil","DomRange","WrappedRange"]);b.config.checkSelectionRanges=!0;var m=b.dom,s=b.util,x=b.DomRange,o=b.WrappedRange,z=b.DOMException,w=m.DomPosition,y,A,t=b.util.isHostMethod(window,"getSelection"),
86
+ v=b.util.isHostObject(document,"selection"),D=v&&(!t||b.config.preferTextRange);D?(y=d,b.isSelectionValid=function(a){var a=(a||window).document,b=a.selection;return"None"!=b.type||m.getDocument(b.createRange().parentElement())==a}):t?(y=a,b.isSelectionValid=function(){return!0}):c.fail("Neither document.selection or window.getSelection() detected.");b.getNativeSelection=y;var t=y(),K=b.createNativeRange(document),F=m.getBody(document),E=s.areHostObjects(t,s.areHostProperties(t,["anchorOffset","focusOffset"]));
87
+ b.features.selectionHasAnchorAndFocus=E;var I=s.isHostMethod(t,"extend");b.features.selectionHasExtend=I;var N="number"==typeof t.rangeCount;b.features.selectionHasRangeCount=N;var J=!1,C=!0;s.areHostMethods(t,["addRange","getRangeAt","removeAllRanges"])&&("number"==typeof t.rangeCount&&b.features.implementsDomRange)&&function(){var a=document.createElement("iframe");F.appendChild(a);var b=m.getIframeDocument(a);b.open();b.write("<html><head></head><body>12</body></html>");b.close();var c=m.getIframeWindow(a).getSelection(),
88
+ d=b.documentElement.lastChild.firstChild,b=b.createRange();b.setStart(d,1);b.collapse(true);c.addRange(b);C=c.rangeCount==1;c.removeAllRanges();var e=b.cloneRange();b.setStart(d,0);e.setEnd(d,2);c.addRange(b);c.addRange(e);J=c.rangeCount==2;b.detach();e.detach();F.removeChild(a)}();b.features.selectionSupportsMultipleRanges=J;b.features.collapsedNonEditableSelectionsSupported=C;var l=!1,u;F&&s.isHostMethod(F,"createControlRange")&&(u=F.createControlRange(),s.areHostProperties(u,["item","add"])&&(l=
89
+ !0));b.features.implementsControlRange=l;A=E?function(a){return a.anchorNode===a.focusNode&&a.anchorOffset===a.focusOffset}:function(a){return a.rangeCount?a.getRangeAt(a.rangeCount-1).collapsed:false};var B;s.isHostMethod(t,"getRangeAt")?B=function(a,b){try{return a.getRangeAt(b)}catch(c){return null}}:E&&(B=function(a){var c=m.getDocument(a.anchorNode),c=b.createRange(c);c.setStart(a.anchorNode,a.anchorOffset);c.setEnd(a.focusNode,a.focusOffset);if(c.collapsed!==this.isCollapsed){c.setStart(a.focusNode,
90
+ a.focusOffset);c.setEnd(a.anchorNode,a.anchorOffset)}return c});b.getSelection=function(a){var a=a||window,b=a._rangySelection,c=y(a),e=v?d(a):null;if(b){b.nativeSelection=c;b.docSelection=e;b.refresh(a)}else{b=new n(c,e,a);a._rangySelection=b}return b};b.getIframeSelection=function(a){return b.getSelection(m.getIframeWindow(a))};u=n.prototype;if(!D&&E&&s.areHostMethods(t,["removeAllRanges","addRange"])){u.removeAllRanges=function(){this.nativeSelection.removeAllRanges();f(this)};var L=function(a,
91
+ c){var d=x.getRangeDocument(c),d=b.createRange(d);d.collapseToPoint(c.endContainer,c.endOffset);a.nativeSelection.addRange(g(d));a.nativeSelection.extend(c.startContainer,c.startOffset);a.refresh()};u.addRange=N?function(a,c){if(l&&v&&this.docSelection.type=="Control")j(this,a);else if(c&&I)L(this,a);else{var d;if(J)d=this.rangeCount;else{this.removeAllRanges();d=0}this.nativeSelection.addRange(g(a));this.rangeCount=this.nativeSelection.rangeCount;if(this.rangeCount==d+1){if(b.config.checkSelectionRanges)(d=
92
+ B(this.nativeSelection,this.rangeCount-1))&&!x.rangesEqual(d,a)&&(a=new o(d));this._ranges[this.rangeCount-1]=a;e(this,a,H(this.nativeSelection));this.isCollapsed=A(this)}else this.refresh()}}:function(a,b){if(b&&I)L(this,a);else{this.nativeSelection.addRange(g(a));this.refresh()}};u.setRanges=function(a){if(l&&a.length>1)p(this,a);else{this.removeAllRanges();for(var b=0,c=a.length;b<c;++b)this.addRange(a[b])}}}else if(s.isHostMethod(t,"empty")&&s.isHostMethod(K,"select")&&l&&D)u.removeAllRanges=
93
+ function(){try{this.docSelection.empty();if(this.docSelection.type!="None"){var a;if(this.anchorNode)a=m.getDocument(this.anchorNode);else if(this.docSelection.type=="Control"){var b=this.docSelection.createRange();b.length&&(a=m.getDocument(b.item(0)).body.createTextRange())}if(a){a.body.createTextRange().select();this.docSelection.empty()}}}catch(c){}f(this)},u.addRange=function(a){if(this.docSelection.type=="Control")j(this,a);else{o.rangeToTextRange(a).select();this._ranges[0]=a;this.rangeCount=
94
+ 1;this.isCollapsed=this._ranges[0].collapsed;e(this,a,false)}},u.setRanges=function(a){this.removeAllRanges();var b=a.length;b>1?p(this,a):b&&this.addRange(a[0])};else return c.fail("No means of selecting a Range or TextRange was found"),!1;u.getRangeAt=function(a){if(a<0||a>=this.rangeCount)throw new z("INDEX_SIZE_ERR");return this._ranges[a]};var G;if(D)G=function(a){var c;if(b.isSelectionValid(a.win))c=a.docSelection.createRange();else{c=m.getBody(a.win.document).createTextRange();c.collapse(true)}a.docSelection.type==
95
+ "Control"?k(a):c&&typeof c.text!="undefined"?h(a,c):f(a)};else if(s.isHostMethod(t,"getRangeAt")&&"number"==typeof t.rangeCount)G=function(a){if(l&&v&&a.docSelection.type=="Control")k(a);else{a._ranges.length=a.rangeCount=a.nativeSelection.rangeCount;if(a.rangeCount){for(var c=0,d=a.rangeCount;c<d;++c)a._ranges[c]=new b.WrappedRange(a.nativeSelection.getRangeAt(c));e(a,a._ranges[a.rangeCount-1],H(a.nativeSelection));a.isCollapsed=A(a)}else f(a)}};else if(E&&"boolean"==typeof t.isCollapsed&&"boolean"==
96
+ typeof K.collapsed&&b.features.implementsDomRange)G=function(a){var b;b=a.nativeSelection;if(b.anchorNode){b=B(b,0);a._ranges=[b];a.rangeCount=1;b=a.nativeSelection;a.anchorNode=b.anchorNode;a.anchorOffset=b.anchorOffset;a.focusNode=b.focusNode;a.focusOffset=b.focusOffset;a.isCollapsed=A(a)}else f(a)};else return c.fail("No means of obtaining a Range or TextRange from the user's selection was found"),!1;u.refresh=function(a){var b=a?this._ranges.slice(0):null;G(this);if(a){a=b.length;if(a!=this._ranges.length)return false;
97
+ for(;a--;)if(!x.rangesEqual(b[a],this._ranges[a]))return false;return true}};var P=function(a,b){var c=a.getAllRanges(),d=false;a.removeAllRanges();for(var e=0,h=c.length;e<h;++e)d||b!==c[e]?a.addRange(c[e]):d=true;a.rangeCount||f(a)};u.removeRange=l?function(a){if(this.docSelection.type=="Control"){for(var b=this.docSelection.createRange(),a=i(a),c=m.getDocument(b.item(0)),c=m.getBody(c).createControlRange(),d,e=false,h=0,j=b.length;h<j;++h){d=b.item(h);d!==a||e?c.add(b.item(h)):e=true}c.select();
98
+ k(this)}else P(this,a)}:function(a){P(this,a)};var H;!D&&E&&b.features.implementsDomRange?(H=function(a){var b=false;a.anchorNode&&(b=m.comparePoints(a.anchorNode,a.anchorOffset,a.focusNode,a.focusOffset)==1);return b},u.isBackwards=function(){return H(this)}):H=u.isBackwards=function(){return false};u.toString=function(){for(var a=[],b=0,c=this.rangeCount;b<c;++b)a[b]=""+this._ranges[b];return a.join("")};u.collapse=function(a,c){q(this,a);var d=b.createRange(m.getDocument(a));d.collapseToPoint(a,
99
+ c);this.removeAllRanges();this.addRange(d);this.isCollapsed=true};u.collapseToStart=function(){if(this.rangeCount){var a=this._ranges[0];this.collapse(a.startContainer,a.startOffset)}else throw new z("INVALID_STATE_ERR");};u.collapseToEnd=function(){if(this.rangeCount){var a=this._ranges[this.rangeCount-1];this.collapse(a.endContainer,a.endOffset)}else throw new z("INVALID_STATE_ERR");};u.selectAllChildren=function(a){q(this,a);var c=b.createRange(m.getDocument(a));c.selectNodeContents(a);this.removeAllRanges();
100
+ this.addRange(c)};u.deleteFromDocument=function(){if(l&&v&&this.docSelection.type=="Control"){for(var a=this.docSelection.createRange(),b;a.length;){b=a.item(0);a.remove(b);b.parentNode.removeChild(b)}this.refresh()}else if(this.rangeCount){a=this.getAllRanges();this.removeAllRanges();b=0;for(var c=a.length;b<c;++b)a[b].deleteContents();this.addRange(a[c-1])}};u.getAllRanges=function(){return this._ranges.slice(0)};u.setSingleRange=function(a){this.setRanges([a])};u.containsNode=function(a,b){for(var c=
101
+ 0,d=this._ranges.length;c<d;++c)if(this._ranges[c].containsNode(a,b))return true;return false};u.toHtml=function(){var a="";if(this.rangeCount){for(var a=x.getRangeDocument(this._ranges[0]).createElement("div"),b=0,c=this._ranges.length;b<c;++b)a.appendChild(this._ranges[b].cloneContents());a=a.innerHTML}return a};u.getName=function(){return"WrappedSelection"};u.inspect=function(){return r(this)};u.detach=function(){this.win=this.anchorNode=this.focusNode=this.win._rangySelection=null};n.inspect=
102
+ r;b.Selection=n;b.selectionPrototype=u;b.addCreateMissingNativeApiListener(function(a){if(typeof a.getSelection=="undefined")a.getSelection=function(){return b.getSelection(this)};a=null})});var Base=function(){};
103
+ Base.extend=function(b,c){var a=Base.prototype.extend;Base._prototyping=!0;var d=new this;a.call(d,b);d.base=function(){};delete Base._prototyping;var e=d.constructor,f=d.constructor=function(){if(!Base._prototyping)if(this._constructing||this.constructor==f)this._constructing=!0,e.apply(this,arguments),delete this._constructing;else if(null!=arguments[0])return(arguments[0].extend||a).call(arguments[0],d)};f.ancestor=this;f.extend=this.extend;f.forEach=this.forEach;f.implement=this.implement;f.prototype=
104
+ d;f.toString=this.toString;f.valueOf=function(a){return"object"==a?f:e.valueOf()};a.call(f,c);"function"==typeof f.init&&f.init();return f};
105
+ Base.prototype={extend:function(b,c){if(1<arguments.length){var a=this[b];if(a&&"function"==typeof c&&(!a.valueOf||a.valueOf()!=c.valueOf())&&/\bbase\b/.test(c)){var d=c.valueOf(),c=function(){var b=this.base||Base.prototype.base;this.base=a;var c=d.apply(this,arguments);this.base=b;return c};c.valueOf=function(a){return"object"==a?c:d};c.toString=Base.toString}this[b]=c}else if(b){var e=Base.prototype.extend;!Base._prototyping&&"function"!=typeof this&&(e=this.extend||e);for(var f={toSource:null},
106
+ g=["constructor","toString","valueOf"],i=Base._prototyping?0:1;h=g[i++];)b[h]!=f[h]&&e.call(this,h,b[h]);for(var h in b)f[h]||e.call(this,h,b[h])}return this}};
107
+ Base=Base.extend({constructor:function(b){this.extend(b)}},{ancestor:Object,version:"1.1",forEach:function(b,c,a){for(var d in b)void 0===this.prototype[d]&&c.call(a,b[d],d,b)},implement:function(){for(var b=0;b<arguments.length;b++)if("function"==typeof arguments[b])arguments[b](this.prototype);else this.prototype.extend(arguments[b]);return this},toString:function(){return""+this.valueOf()}});
108
+ wysihtml5.browser=function(){var b=navigator.userAgent,c=document.createElement("div"),a=-1!==b.indexOf("MSIE")&&-1===b.indexOf("Opera"),d=-1!==b.indexOf("Gecko")&&-1===b.indexOf("KHTML"),e=-1!==b.indexOf("AppleWebKit/"),f=-1!==b.indexOf("Chrome/"),g=-1!==b.indexOf("Opera/");return{USER_AGENT:b,supported:function(){var a=this.USER_AGENT.toLowerCase(),b="contentEditable"in c,d=document.execCommand&&document.queryCommandSupported&&document.queryCommandState,e=document.querySelector&&document.querySelectorAll,
109
+ a=this.isIos()&&5>(/ipad|iphone|ipod/.test(a)&&a.match(/ os (\d+).+? like mac os x/)||[,0])[1]||-1!==a.indexOf("opera mobi")||-1!==a.indexOf("hpwos/");return b&&d&&e&&!a},isTouchDevice:function(){return this.supportsEvent("touchmove")},isIos:function(){var a=this.USER_AGENT.toLowerCase();return-1!==a.indexOf("webkit")&&-1!==a.indexOf("mobile")},supportsSandboxedIframes:function(){return a},throwsMixedContentWarningWhenIframeSrcIsEmpty:function(){return!("querySelector"in document)},displaysCaretInEmptyContentEditableCorrectly:function(){return!d},
110
+ hasCurrentStyleProperty:function(){return"currentStyle"in c},insertsLineBreaksOnReturn:function(){return d},supportsPlaceholderAttributeOn:function(a){return"placeholder"in a},supportsEvent:function(a){var b;if(!(b="on"+a in c))c.setAttribute("on"+a,"return;"),b="function"===typeof c["on"+a];return b},supportsEventsInIframeCorrectly:function(){return!g},firesOnDropOnlyWhenOnDragOverIsCancelled:function(){return e||d},supportsDataTransfer:function(){try{return e&&(window.Clipboard||window.DataTransfer).prototype.getData}catch(a){return!1}},
111
+ supportsHTML5Tags:function(a){a=a.createElement("div");a.innerHTML="<article>foo</article>";return"<article>foo</article>"===a.innerHTML.toLowerCase()},supportsCommand:function(){var b={formatBlock:a,insertUnorderedList:a||g||e,insertOrderedList:a||g||e},c={insertHTML:d};return function(a,d){if(!b[d]){try{return a.queryCommandSupported(d)}catch(e){}try{return a.queryCommandEnabled(d)}catch(f){return!!c[d]}}return!1}}(),doesAutoLinkingInContentEditable:function(){return a},canDisableAutoLinking:function(){return this.supportsCommand(document,
112
+ "AutoUrlDetect")},clearsContentEditableCorrectly:function(){return d||g||e},supportsGetAttributeCorrectly:function(){return"1"!=document.createElement("td").getAttribute("rowspan")},canSelectImagesInContentEditable:function(){return d||a||g},clearsListsInContentEditableCorrectly:function(){return d||a||e},autoScrollsToCaret:function(){return!e},autoClosesUnclosedTags:function(){var a=c.cloneNode(!1),b;a.innerHTML="<p><div></div>";a=a.innerHTML.toLowerCase();b="<p></p><div></div>"===a||"<p><div></div></p>"===
113
+ a;this.autoClosesUnclosedTags=function(){return b};return b},supportsNativeGetElementsByClassName:function(){return-1!==(""+document.getElementsByClassName).indexOf("[native code]")},supportsSelectionModify:function(){return"getSelection"in window&&"modify"in window.getSelection()},supportsClassList:function(){return"classList"in c},needsSpaceAfterLineBreak:function(){return g},supportsSpeechApiOn:function(a){return 11<=(b.match(/Chrome\/(\d+)/)||[,0])[1]&&("onwebkitspeechchange"in a||"speech"in a)},
114
+ crashesWhenDefineProperty:function(b){return a&&("XMLHttpRequest"===b||"XDomainRequest"===b)},doesAsyncFocus:function(){return a},hasProblemsSettingCaretAfterImg:function(){return a},hasUndoInContextMenu:function(){return d||f||g}}}();
115
+ wysihtml5.lang.array=function(b){return{contains:function(c){if(b.indexOf)return-1!==b.indexOf(c);for(var a=0,d=b.length;a<d;a++)if(b[a]===c)return!0;return!1},without:function(c){for(var c=wysihtml5.lang.array(c),a=[],d=0,e=b.length;d<e;d++)c.contains(b[d])||a.push(b[d]);return a},get:function(){for(var c=0,a=b.length,d=[];c<a;c++)d.push(b[c]);return d}}};
116
+ wysihtml5.lang.Dispatcher=Base.extend({observe:function(b,c){this.events=this.events||{};this.events[b]=this.events[b]||[];this.events[b].push(c);return this},on:function(){return this.observe.apply(this,wysihtml5.lang.array(arguments).get())},fire:function(b,c){this.events=this.events||{};for(var a=this.events[b]||[],d=0;d<a.length;d++)a[d].call(this,c);return this},stopObserving:function(b,c){this.events=this.events||{};var a=0,d,e;if(b){d=this.events[b]||[];for(e=[];a<d.length;a++)d[a]!==c&&c&&
117
+ e.push(d[a]);this.events[b]=e}else this.events={};return this}});wysihtml5.lang.object=function(b){return{merge:function(c){for(var a in c)b[a]=c[a];return this},get:function(){return b},clone:function(){var c={},a;for(a in b)c[a]=b[a];return c},isArray:function(){return"[object Array]"===Object.prototype.toString.call(b)}}};
118
+ (function(){var b=/^\s+/,c=/\s+$/;wysihtml5.lang.string=function(a){a=""+a;return{trim:function(){return a.replace(b,"").replace(c,"")},interpolate:function(b){for(var c in b)a=this.replace("#{"+c+"}").by(b[c]);return a},replace:function(b){return{by:function(c){return a.split(b).join(c)}}}}}})();
119
+ (function(b){function c(a){return a.replace(e,function(a,b){var c=(b.match(f)||[])[1]||"",d=i[c],b=b.replace(f,"");b.split(d).length>b.split(c).length&&(b+=c,c="");var e=d=b;b.length>g&&(e=e.substr(0,g)+"...");"www."===d.substr(0,4)&&(d="http://"+d);return'<a href="'+d+'">'+e+"</a>"+c})}function a(h){if(!d.contains(h.nodeName))if(h.nodeType===b.TEXT_NODE&&h.data.match(e)){var f=h.parentNode,j;j=f.ownerDocument;var g=j._wysihtml5_tempElement;g||(g=j._wysihtml5_tempElement=j.createElement("div"));j=
120
+ g;j.innerHTML="<span></span>"+c(h.data);for(j.removeChild(j.firstChild);j.firstChild;)f.insertBefore(j.firstChild,h);f.removeChild(h)}else{f=b.lang.array(h.childNodes).get();j=f.length;for(g=0;g<j;g++)a(f[g]);return h}}var d=b.lang.array("CODE PRE A SCRIPT HEAD TITLE STYLE".split(" ")),e=/((https?:\/\/|www\.)[^\s<]{3,})/gi,f=/([^\w\/\-](,?))$/i,g=100,i={")":"(","]":"[","}":"{"};b.dom.autoLink=function(b){var c;a:{c=b;for(var e;c.parentNode;){c=c.parentNode;e=c.nodeName;if(d.contains(e)){c=!0;break a}if("body"===
121
+ e)break}c=!1}if(c)return b;b===b.ownerDocument.documentElement&&(b=b.ownerDocument.body);return a(b)};b.dom.autoLink.URL_REG_EXP=e})(wysihtml5);
122
+ (function(b){var c=b.browser.supportsClassList(),a=b.dom;a.addClass=function(b,e){if(c)return b.classList.add(e);a.hasClass(b,e)||(b.className+=" "+e)};a.removeClass=function(a,b){if(c)return a.classList.remove(b);a.className=a.className.replace(RegExp("(^|\\s+)"+b+"(\\s+|$)")," ")};a.hasClass=function(a,b){if(c)return a.classList.contains(b);var f=a.className;return 0<f.length&&(f==b||RegExp("(^|\\s)"+b+"(\\s|$)").test(f))}})(wysihtml5);
123
+ wysihtml5.dom.contains=function(){var b=document.documentElement;if(b.contains)return function(b,a){a.nodeType!==wysihtml5.ELEMENT_NODE&&(a=a.parentNode);return b!==a&&b.contains(a)};if(b.compareDocumentPosition)return function(b,a){return!!(b.compareDocumentPosition(a)&16)}}();
124
+ wysihtml5.dom.convertToList=function(){function b(b,a){var d=b.createElement("li");a.appendChild(d);return d}return function(c,a){if("UL"===c.nodeName||"OL"===c.nodeName||"MENU"===c.nodeName)return c;var d=c.ownerDocument,e=d.createElement(a),f=c.querySelectorAll("br"),g=f.length,i,h,k,j,n;for(n=0;n<g;n++)for(i=f[n];(h=i.parentNode)&&h!==c&&h.lastChild===i;){if("block"===wysihtml5.dom.getStyle("display").from(h)){h.removeChild(i);break}wysihtml5.dom.insert(i).after(i.parentNode)}f=wysihtml5.lang.array(c.childNodes).get();
125
+ g=f.length;for(n=0;n<g;n++)j=j||b(d,e),i=f[n],h="block"===wysihtml5.dom.getStyle("display").from(i),k="BR"===i.nodeName,h?(j=j.firstChild?b(d,e):j,j.appendChild(i),j=null):k?j=j.firstChild?null:j:j.appendChild(i);c.parentNode.replaceChild(e,c);return e}}();wysihtml5.dom.copyAttributes=function(b){return{from:function(c){return{to:function(a){for(var d,e=0,f=b.length;e<f;e++)d=b[e],"undefined"!==typeof c[d]&&""!==c[d]&&(a[d]=c[d]);return{andTo:arguments.callee}}}}}};
126
+ (function(b){var c=["-webkit-box-sizing","-moz-box-sizing","-ms-box-sizing","box-sizing"],a=function(a){var e;a:for(var f=0,g=c.length;f<g;f++)if("border-box"===b.getStyle(c[f]).from(a)){e=c[f];break a}return e?parseInt(b.getStyle("width").from(a),10)<a.offsetWidth:!1};b.copyStyles=function(d){return{from:function(e){a(e)&&(d=wysihtml5.lang.array(d).without(c));for(var f="",g=d.length,i=0,h;i<g;i++)h=d[i],f+=h+":"+b.getStyle(h).from(e)+";";return{to:function(a){b.setStyles(f).on(a);return{andTo:arguments.callee}}}}}}})(wysihtml5.dom);
127
+ (function(b){b.dom.delegate=function(c,a,d,e){return b.dom.observe(c,d,function(d){for(var g=d.target,i=b.lang.array(c.querySelectorAll(a));g&&g!==c;){if(i.contains(g)){e.call(g,d);break}g=g.parentNode}})}})(wysihtml5);
128
+ wysihtml5.dom.getAsDom=function(){var b="abbr article aside audio bdi canvas command datalist details figcaption figure footer header hgroup keygen mark meter nav output progress rp rt ruby svg section source summary time track video wbr".split(" ");return function(c,a){var a=a||document,d;if("object"===typeof c&&c.nodeType)d=a.createElement("div"),d.appendChild(c);else if(wysihtml5.browser.supportsHTML5Tags(a))d=a.createElement("div"),d.innerHTML=c;else{d=a;if(!d._wysihtml5_supportsHTML5Tags){for(var e=
129
+ 0,f=b.length;e<f;e++)d.createElement(b[e]);d._wysihtml5_supportsHTML5Tags=!0}d=a;e=d.createElement("div");e.style.display="none";d.body.appendChild(e);try{e.innerHTML=c}catch(g){}d.body.removeChild(e);d=e}return d}}();
130
+ wysihtml5.dom.getParentElement=function(){function b(b,a){return!a||!a.length?!0:"string"===typeof a?b===a:wysihtml5.lang.array(a).contains(b)}return function(c,a,d){d=d||50;if(a.className||a.classRegExp){a:{for(var e=a.nodeName,f=a.className,a=a.classRegExp;d--&&c&&"BODY"!==c.nodeName;){var g;if(g=c.nodeType===wysihtml5.ELEMENT_NODE)if(g=b(c.nodeName,e)){g=f;var i=(c.className||"").match(a)||[];g=!g?!!i.length:i[i.length-1]===g}if(g)break a;c=c.parentNode}c=null}return c}a:{e=a.nodeName;for(f=d;f--&&
131
+ c&&"BODY"!==c.nodeName;){if(b(c.nodeName,e))break a;c=c.parentNode}c=null}return c}}();
132
+ wysihtml5.dom.getStyle=function(){function b(b){return b.replace(a,function(a){return a.charAt(1).toUpperCase()})}var c={"float":"styleFloat"in document.createElement("div").style?"styleFloat":"cssFloat"},a=/\-[a-z]/g;return function(a){return{from:function(e){if(e.nodeType===wysihtml5.ELEMENT_NODE){var f=e.ownerDocument,g=c[a]||b(a),i=e.style,h=e.currentStyle,k=i[g];if(k)return k;if(h)try{return h[g]}catch(j){}var g=f.defaultView||f.parentWindow,f=("height"===a||"width"===a)&&"TEXTAREA"===e.nodeName,
133
+ n;if(g.getComputedStyle)return f&&(n=i.overflow,i.overflow="hidden"),e=g.getComputedStyle(e,null).getPropertyValue(a),f&&(i.overflow=n||""),e}}}}}();wysihtml5.dom.hasElementWithTagName=function(){var b={},c=1;return function(a,d){var e=(a._wysihtml5_identifier||(a._wysihtml5_identifier=c++))+":"+d,f=b[e];f||(f=b[e]=a.getElementsByTagName(d));return 0<f.length}}();
134
+ (function(b){var c={},a=1;b.dom.hasElementWithClassName=function(d,e){if(!b.browser.supportsNativeGetElementsByClassName())return!!d.querySelector("."+e);var f=(d._wysihtml5_identifier||(d._wysihtml5_identifier=a++))+":"+e,g=c[f];g||(g=c[f]=d.getElementsByClassName(e));return 0<g.length}})(wysihtml5);wysihtml5.dom.insert=function(b){return{after:function(c){c.parentNode.insertBefore(b,c.nextSibling)},before:function(c){c.parentNode.insertBefore(b,c)},into:function(c){c.appendChild(b)}}};
135
+ wysihtml5.dom.insertCSS=function(b){b=b.join("\n");return{into:function(c){var a=c.head||c.getElementsByTagName("head")[0],d=c.createElement("style");d.type="text/css";d.styleSheet?d.styleSheet.cssText=b:d.appendChild(c.createTextNode(b));a&&a.appendChild(d)}}};
136
+ wysihtml5.dom.observe=function(b,c,a){for(var c="string"===typeof c?[c]:c,d,e,f=0,g=c.length;f<g;f++)e=c[f],b.addEventListener?b.addEventListener(e,a,!1):(d=function(c){"target"in c||(c.target=c.srcElement);c.preventDefault=c.preventDefault||function(){this.returnValue=false};c.stopPropagation=c.stopPropagation||function(){this.cancelBubble=true};a.call(b,c)},b.attachEvent("on"+e,d));return{stop:function(){for(var e,h=0,f=c.length;h<f;h++)e=c[h],b.removeEventListener?b.removeEventListener(e,a,!1):
137
+ b.detachEvent("on"+e,d)}}};
138
+ wysihtml5.dom.parse=function(){function b(c,e){var h=c.childNodes,f=h.length,g;g=a[c.nodeType];var k=0;g=g&&g(c);if(!g)return null;for(k=0;k<f;k++)(newChild=b(h[k],e))&&g.appendChild(newChild);return e&&1>=g.childNodes.length&&g.nodeName.toLowerCase()===d&&!g.attributes.length?g.firstChild:g}function c(a,b){var b=b.toLowerCase(),c;if(c="IMG"==a.nodeName)if(c="src"==b){var d;try{d=a.complete&&!a.mozMatchesSelector(":-moz-broken")}catch(e){a.complete&&"complete"===a.readyState&&(d=!0)}c=!0===d}return c?
139
+ a.src:i&&"outerHTML"in a?-1!=a.outerHTML.toLowerCase().indexOf(" "+b+"=")?a.getAttribute(b):null:a.getAttribute(b)}var a={1:function(a){var b,f,i=g.tags;f=a.nodeName.toLowerCase();b=a.scopeName;if(a._wysihtml5)return null;a._wysihtml5=1;if("wysihtml5-temp"===a.className)return null;b&&"HTML"!=b&&(f=b+":"+f);"outerHTML"in a&&!wysihtml5.browser.autoClosesUnclosedTags()&&("P"===a.nodeName&&"</p>"!==a.outerHTML.slice(-4).toLowerCase())&&(f="div");if(f in i){b=i[f];if(!b||b.remove)return null;b="string"===
140
+ typeof b?{rename_tag:b}:b}else if(a.firstChild)b={rename_tag:d};else return null;f=a.ownerDocument.createElement(b.rename_tag||f);var i={},r=b.set_class,m=b.add_class,s=b.set_attributes,x=b.check_attributes,o=g.classes,z=0,w=[];b=[];var y=[],A=[],t;s&&(i=wysihtml5.lang.object(s).clone());if(x)for(t in x)if(s=h[x[t]])s=s(c(a,t)),"string"===typeof s&&(i[t]=s);r&&w.push(r);if(m)for(t in m)if(s=k[m[t]])r=s(c(a,t)),"string"===typeof r&&w.push(r);o["_wysihtml5-temp-placeholder"]=1;(A=a.getAttribute("class"))&&
141
+ (w=w.concat(A.split(e)));for(m=w.length;z<m;z++)a=w[z],o[a]&&b.push(a);for(o=b.length;o--;)a=b[o],wysihtml5.lang.array(y).contains(a)||y.unshift(a);y.length&&(i["class"]=y.join(" "));for(t in i)try{f.setAttribute(t,i[t])}catch(v){}i.src&&("undefined"!==typeof i.width&&f.setAttribute("width",i.width),"undefined"!==typeof i.height&&f.setAttribute("height",i.height));return f},3:function(a){return a.ownerDocument.createTextNode(a.data)}},d="span",e=/\s+/,f={tags:{},classes:{}},g={},i=!wysihtml5.browser.supportsGetAttributeCorrectly(),
142
+ h={url:function(){var a=/^https?:\/\//i;return function(b){return!b||!b.match(a)?null:b.replace(a,function(a){return a.toLowerCase()})}}(),alt:function(){var a=/[^ a-z0-9_\-]/gi;return function(b){return!b?"":b.replace(a,"")}}(),numbers:function(){var a=/\D/g;return function(b){return(b=(b||"").replace(a,""))||null}}()},k={align_img:function(){var a={left:"wysiwyg-float-left",right:"wysiwyg-float-right"};return function(b){return a[(""+b).toLowerCase()]}}(),align_text:function(){var a={left:"wysiwyg-text-align-left",
143
+ right:"wysiwyg-text-align-right",center:"wysiwyg-text-align-center",justify:"wysiwyg-text-align-justify"};return function(b){return a[(""+b).toLowerCase()]}}(),clear_br:function(){var a={left:"wysiwyg-clear-left",right:"wysiwyg-clear-right",both:"wysiwyg-clear-both",all:"wysiwyg-clear-both"};return function(b){return a[(""+b).toLowerCase()]}}(),size_font:function(){var a={1:"wysiwyg-font-size-xx-small",2:"wysiwyg-font-size-small",3:"wysiwyg-font-size-medium",4:"wysiwyg-font-size-large",5:"wysiwyg-font-size-x-large",
144
+ 6:"wysiwyg-font-size-xx-large",7:"wysiwyg-font-size-xx-large","-":"wysiwyg-font-size-smaller","+":"wysiwyg-font-size-larger"};return function(b){return a[(""+b).charAt(0)]}}()};return function(a,c,d,e){wysihtml5.lang.object(g).merge(f).merge(c).get();for(var d=d||a.ownerDocument||document,c=d.createDocumentFragment(),h="string"===typeof a,a=h?wysihtml5.dom.getAsDom(a,d):a;a.firstChild;)d=a.firstChild,a.removeChild(d),(d=b(d,e))&&c.appendChild(d);a.innerHTML="";a.appendChild(c);return h?wysihtml5.quirks.getCorrectInnerHTML(a):
145
+ a}}();wysihtml5.dom.removeEmptyTextNodes=function(b){for(var c=wysihtml5.lang.array(b.childNodes).get(),a=c.length,d=0;d<a;d++)b=c[d],b.nodeType===wysihtml5.TEXT_NODE&&""===b.data&&b.parentNode.removeChild(b)};wysihtml5.dom.renameElement=function(b,c){for(var a=b.ownerDocument.createElement(c),d;d=b.firstChild;)a.appendChild(d);wysihtml5.dom.copyAttributes(["align","className"]).from(b).to(a);b.parentNode.replaceChild(a,b);return a};
146
+ wysihtml5.dom.replaceWithChildNodes=function(b){if(b.parentNode)if(b.firstChild){for(var c=b.ownerDocument.createDocumentFragment();b.firstChild;)c.appendChild(b.firstChild);b.parentNode.replaceChild(c,b)}else b.parentNode.removeChild(b)};
147
+ (function(b){function c(a){var b=a.ownerDocument.createElement("br");a.appendChild(b)}b.resolveList=function(a){if(!("MENU"!==a.nodeName&&"UL"!==a.nodeName&&"OL"!==a.nodeName)){var d=a.ownerDocument.createDocumentFragment(),e=a.previousElementSibling||a.previousSibling,f,g,i;for(e&&"block"!==b.getStyle("display").from(e)&&c(d);i=a.firstChild;){for(f=i.lastChild;e=i.firstChild;)g=(g=e===f)&&"block"!==b.getStyle("display").from(e)&&"BR"!==e.nodeName,d.appendChild(e),g&&c(d);i.parentNode.removeChild(i)}a.parentNode.replaceChild(d,
148
+ a)}}})(wysihtml5.dom);
149
+ (function(b){var c=document,a="parent top opener frameElement frames localStorage globalStorage sessionStorage indexedDB".split(" "),d="open close openDialog showModalDialog alert confirm prompt openDatabase postMessage XMLHttpRequest XDomainRequest".split(" "),e=["referrer","write","open","close"];b.dom.Sandbox=Base.extend({constructor:function(a,c){this.callback=a||b.EMPTY_FUNCTION;this.config=b.lang.object({}).merge(c).get();this.iframe=this._createIframe()},insertInto:function(a){"string"===typeof a&&
150
+ (a=c.getElementById(a));a.appendChild(this.iframe)},getIframe:function(){return this.iframe},getWindow:function(){this._readyError()},getDocument:function(){this._readyError()},destroy:function(){var a=this.getIframe();a.parentNode.removeChild(a)},_readyError:function(){throw Error("wysihtml5.Sandbox: Sandbox iframe isn't loaded yet");},_createIframe:function(){var a=this,d=c.createElement("iframe");d.className="wysihtml5-sandbox";b.dom.setAttributes({security:"restricted",allowtransparency:"true",
151
+ frameborder:0,width:0,height:0,marginwidth:0,marginheight:0}).on(d);b.browser.throwsMixedContentWarningWhenIframeSrcIsEmpty()&&(d.src="javascript:'<html></html>'");d.onload=function(){d.onreadystatechange=d.onload=null;a._onLoadIframe(d)};d.onreadystatechange=function(){if(/loaded|complete/.test(d.readyState)){d.onreadystatechange=d.onload=null;a._onLoadIframe(d)}};return d},_onLoadIframe:function(f){if(b.dom.contains(c.documentElement,f)){var g=this,i=f.contentWindow,h=f.contentWindow.document,k=
152
+ this._getHtml({charset:c.characterSet||c.charset||"utf-8",stylesheets:this.config.stylesheets});h.open("text/html","replace");h.write(k);h.close();this.getWindow=function(){return f.contentWindow};this.getDocument=function(){return f.contentWindow.document};i.onerror=function(a,b,c){throw Error("wysihtml5.Sandbox: "+a,b,c);};if(!b.browser.supportsSandboxedIframes()){var j,k=0;for(j=a.length;k<j;k++)this._unset(i,a[k]);k=0;for(j=d.length;k<j;k++)this._unset(i,d[k],b.EMPTY_FUNCTION);k=0;for(j=e.length;k<
153
+ j;k++)this._unset(h,e[k]);this._unset(h,"cookie","",!0)}this.loaded=!0;setTimeout(function(){g.callback(g)},0)}},_getHtml:function(a){var c=a.stylesheets,d="",e=0,k;if(c="string"===typeof c?[c]:c)for(k=c.length;e<k;e++)d+='<link rel="stylesheet" href="'+c[e]+'">';a.stylesheets=d;return b.lang.string('<!DOCTYPE html><html><head><meta charset="#{charset}">#{stylesheets}</head><body></body></html>').interpolate(a)},_unset:function(a,c,d,e){try{a[c]=d}catch(k){}try{a.__defineGetter__(c,function(){return d})}catch(j){}if(e)try{a.__defineSetter__(c,
154
+ function(){})}catch(n){}if(!b.browser.crashesWhenDefineProperty(c))try{var p={get:function(){return d}};e&&(p.set=function(){});Object.defineProperty(a,c,p)}catch(q){}}})})(wysihtml5);(function(){var b={className:"class"};wysihtml5.dom.setAttributes=function(c){return{on:function(a){for(var d in c)a.setAttribute(b[d]||d,c[d])}}}})();
155
+ wysihtml5.dom.setStyles=function(b){return{on:function(c){c=c.style;if("string"===typeof b)c.cssText+=";"+b;else for(var a in b)"float"===a?(c.cssFloat=b[a],c.styleFloat=b[a]):c[a]=b[a]}}};
156
+ (function(b){b.simulatePlaceholder=function(c,a,d){var e=function(){a.hasPlaceholderSet()&&a.clear();b.removeClass(a.element,"placeholder")},f=function(){a.isEmpty()&&(a.setValue(d),b.addClass(a.element,"placeholder"))};c.observe("set_placeholder",f).observe("unset_placeholder",e).observe("focus:composer",e).observe("paste:composer",e).observe("blur:composer",f);f()}})(wysihtml5.dom);
157
+ (function(b){var c=document.documentElement;"textContent"in c?(b.setTextContent=function(a,b){a.textContent=b},b.getTextContent=function(a){return a.textContent}):"innerText"in c?(b.setTextContent=function(a,b){a.innerText=b},b.getTextContent=function(a){return a.innerText}):(b.setTextContent=function(a,b){a.nodeValue=b},b.getTextContent=function(a){return a.nodeValue})})(wysihtml5.dom);
158
+ wysihtml5.quirks.cleanPastedHTML=function(){var b={"a u":wysihtml5.dom.replaceWithChildNodes};return function(c,a,d){var a=a||b,d=d||c.ownerDocument||document,e="string"===typeof c,f,g,i,h=0,c=e?wysihtml5.dom.getAsDom(c,d):c;for(i in a){f=c.querySelectorAll(i);d=a[i];for(g=f.length;h<g;h++)d(f[h])}return e?c.innerHTML:c}}();
159
+ (function(b){var c=b.dom;b.quirks.ensureProperClearing=function(){var a=function(){var a=this;setTimeout(function(){var b=a.innerHTML.toLowerCase();if("<p>&nbsp;</p>"==b||"<p>&nbsp;</p><p>&nbsp;</p>"==b)a.innerHTML=""},0)};return function(b){c.observe(b.element,["cut","keydown"],a)}}();b.quirks.ensureProperClearingOfLists=function(){var a=["OL","UL","MENU"];return function(d){c.observe(d.element,"keydown",function(e){if(e.keyCode===b.BACKSPACE_KEY){var f=d.selection.getSelectedNode(),e=d.element;
160
+ e.firstChild&&b.lang.array(a).contains(e.firstChild.nodeName)&&(f=c.getParentElement(f,{nodeName:a}))&&f==e.firstChild&&1>=f.childNodes.length&&(f.firstChild?""===f.firstChild.innerHTML:1)&&f.parentNode.removeChild(f)}})}}()})(wysihtml5);
161
+ (function(b){b.quirks.getCorrectInnerHTML=function(c){var a=c.innerHTML;if(-1===a.indexOf("%7E"))return a;var c=c.querySelectorAll("[href*='~'], [src*='~']"),d,e,f,g;g=0;for(f=c.length;g<f;g++)d=c[g].href||c[g].src,e=b.lang.string(d).replace("~").by("%7E"),a=b.lang.string(a).replace(e).by(d);return a}})(wysihtml5);
162
+ (function(b){var c=b.dom,a="LI P H1 H2 H3 H4 H5 H6".split(" "),d=["UL","OL","MENU"];b.quirks.insertLineBreakOnReturn=function(e){function f(a){if(a=c.getParentElement(a,{nodeName:["P","DIV"]},2)){var d=document.createTextNode(b.INVISIBLE_SPACE);c.insert(d).before(a);c.replaceWithChildNodes(a);e.selection.selectNode(d)}}c.observe(e.element.ownerDocument,"keydown",function(g){var i=g.keyCode;if(!(g.shiftKey||i!==b.ENTER_KEY&&i!==b.BACKSPACE_KEY)){var h=e.selection.getSelectedNode();(h=c.getParentElement(h,
163
+ {nodeName:a},4))?"LI"===h.nodeName&&(i===b.ENTER_KEY||i===b.BACKSPACE_KEY)?setTimeout(function(){var a=e.selection.getSelectedNode(),b;a&&((b=c.getParentElement(a,{nodeName:d},2))||f(a))},0):h.nodeName.match(/H[1-6]/)&&i===b.ENTER_KEY&&setTimeout(function(){f(e.selection.getSelectedNode())},0):i===b.ENTER_KEY&&!b.browser.insertsLineBreaksOnReturn()&&(e.commands.exec("insertLineBreak"),g.preventDefault())}})}})(wysihtml5);
164
+ (function(b){b.quirks.redraw=function(c){b.dom.addClass(c,"wysihtml5-quirks-redraw");b.dom.removeClass(c,"wysihtml5-quirks-redraw");try{var a=c.ownerDocument;a.execCommand("italic",!1,null);a.execCommand("italic",!1,null)}catch(d){}}})(wysihtml5);
165
+ (function(b){var c=b.dom;b.Selection=Base.extend({constructor:function(a){window.rangy.init();this.editor=a;this.composer=a.composer;this.doc=this.composer.doc},getBookmark:function(){var a=this.getRange();return a&&a.cloneRange()},setBookmark:function(a){a&&this.setSelection(a)},setBefore:function(a){var b=rangy.createRange(this.doc);b.setStartBefore(a);b.setEndBefore(a);return this.setSelection(b)},setAfter:function(a){var b=rangy.createRange(this.doc);b.setStartAfter(a);b.setEndAfter(a);return this.setSelection(b)},
166
+ selectNode:function(a){var d=rangy.createRange(this.doc),e=a.nodeType===b.ELEMENT_NODE,f="canHaveHTML"in a?a.canHaveHTML:"IMG"!==a.nodeName,g=e?a.innerHTML:a.data,g=""===g||g===b.INVISIBLE_SPACE,i=c.getStyle("display").from(a),i="block"===i||"list-item"===i;if(g&&e&&f)try{a.innerHTML=b.INVISIBLE_SPACE}catch(h){}f?d.selectNodeContents(a):d.selectNode(a);f&&g&&e?d.collapse(i):f&&g&&(d.setStartAfter(a),d.setEndAfter(a));this.setSelection(d)},getSelectedNode:function(a){if(a&&this.doc.selection&&"Control"===
167
+ this.doc.selection.type&&(a=this.doc.selection.createRange())&&a.length)return a.item(0);a=this.getSelection(this.doc);return a.focusNode===a.anchorNode?a.focusNode:(a=this.getRange(this.doc))?a.commonAncestorContainer:this.doc.body},executeAndRestore:function(a,c){var e=this.doc.body,f=c&&e.scrollTop,g=c&&e.scrollLeft,i='<span class="_wysihtml5-temp-placeholder">'+b.INVISIBLE_SPACE+"</span>",h=this.getRange(this.doc);if(h){i=h.createContextualFragment(i);h.insertNode(i);try{a(h.startContainer,h.endContainer)}catch(k){setTimeout(function(){throw k;
168
+ },0)}(caretPlaceholder=this.doc.querySelector("._wysihtml5-temp-placeholder"))?(h=rangy.createRange(this.doc),h.selectNode(caretPlaceholder),h.deleteContents(),this.setSelection(h)):e.focus();c&&(e.scrollTop=f,e.scrollLeft=g);try{caretPlaceholder.parentNode.removeChild(caretPlaceholder)}catch(j){}}else a(e,e)},executeAndRestoreSimple:function(a){var b,c,f=this.getRange(),g=this.doc.body,i;if(f){b=f.getNodes([3]);g=b[0]||f.startContainer;i=b[b.length-1]||f.endContainer;b=g===f.startContainer?f.startOffset:
169
+ 0;c=i===f.endContainer?f.endOffset:i.length;try{a(f.startContainer,f.endContainer)}catch(h){setTimeout(function(){throw h;},0)}a=rangy.createRange(this.doc);try{a.setStart(g,b)}catch(k){}try{a.setEnd(i,c)}catch(j){}try{this.setSelection(a)}catch(n){}}else a(g,g)},insertHTML:function(a){var a=rangy.createRange(this.doc).createContextualFragment(a),b=a.lastChild;this.insertNode(a);b&&this.setAfter(b)},insertNode:function(a){var b=this.getRange();b&&b.insertNode(a)},surround:function(a){var b=this.getRange();
170
+ if(b)try{b.surroundContents(a),this.selectNode(a)}catch(c){a.appendChild(b.extractContents()),b.insertNode(a)}},scrollIntoView:function(){var a=this.doc,c=a.documentElement.scrollHeight>a.documentElement.offsetHeight,e;if(!(e=a._wysihtml5ScrollIntoViewElement))e=a.createElement("span"),e.innerHTML=b.INVISIBLE_SPACE;e=a._wysihtml5ScrollIntoViewElement=e;if(c){this.insertNode(e);var c=e,f=0;if(c.parentNode){do f+=c.offsetTop||0,c=c.offsetParent;while(c)}c=f;e.parentNode.removeChild(e);c>a.body.scrollTop&&
171
+ (a.body.scrollTop=c)}},selectLine:function(){b.browser.supportsSelectionModify()?this._selectLine_W3C():this.doc.selection&&this._selectLine_MSIE()},_selectLine_W3C:function(){var a=this.doc.defaultView.getSelection();a.modify("extend","left","lineboundary");a.modify("extend","right","lineboundary")},_selectLine_MSIE:function(){var a=this.doc.selection.createRange(),b=a.boundingTop,c=this.doc.body.scrollWidth,f;if(a.moveToPoint){0===b&&(f=this.doc.createElement("span"),this.insertNode(f),b=f.offsetTop,
172
+ f.parentNode.removeChild(f));b+=1;for(f=-10;f<c;f+=2)try{a.moveToPoint(f,b);break}catch(g){}for(f=this.doc.selection.createRange();0<=c;c--)try{f.moveToPoint(c,b);break}catch(i){}a.setEndPoint("EndToEnd",f);a.select()}},getText:function(){var a=this.getSelection();return a?a.toString():""},getNodes:function(a,b){var c=this.getRange();return c?c.getNodes([a],b):[]},getRange:function(){var a=this.getSelection();return a&&a.rangeCount&&a.getRangeAt(0)},getSelection:function(){return rangy.getSelection(this.doc.defaultView||
173
+ this.doc.parentWindow)},setSelection:function(a){return rangy.getSelection(this.doc.defaultView||this.doc.parentWindow).setSingleRange(a)}})})(wysihtml5);
174
+ (function(b,c){function a(a,b){return c.dom.isCharacterDataNode(a)?0==b?!!a.previousSibling:b==a.length?!!a.nextSibling:!0:0<b&&b<a.childNodes.length}function d(a,b,e){var f;c.dom.isCharacterDataNode(b)&&(0==e?(e=c.dom.getNodeIndex(b),b=b.parentNode):e==b.length?(e=c.dom.getNodeIndex(b)+1,b=b.parentNode):f=c.dom.splitDataNode(b,e));if(!f){f=b.cloneNode(!1);f.id&&f.removeAttribute("id");for(var g;g=b.childNodes[e];)f.appendChild(g);c.dom.insertAfter(f,b)}return b==a?f:d(a,f.parentNode,c.dom.getNodeIndex(f))}
175
+ function e(a){this.firstTextNode=(this.isElementMerge=a.nodeType==b.ELEMENT_NODE)?a.lastChild:a;this.textNodes=[this.firstTextNode]}function f(a,b,c,d){this.tagNames=a||[g];this.cssClass=b||"";this.similarClassRegExp=c;this.normalize=d;this.applyToAnyTagName=!1}var g="span",i=/\s+/g;e.prototype={doMerge:function(){for(var a=[],b,c,d=0,e=this.textNodes.length;d<e;++d)b=this.textNodes[d],c=b.parentNode,a[d]=b.data,d&&(c.removeChild(b),c.hasChildNodes()||c.parentNode.removeChild(c));return this.firstTextNode.data=
176
+ a=a.join("")},getLength:function(){for(var a=this.textNodes.length,b=0;a--;)b+=this.textNodes[a].length;return b},toString:function(){for(var a=[],b=0,c=this.textNodes.length;b<c;++b)a[b]="'"+this.textNodes[b].data+"'";return"[Merge("+a.join(",")+")]"}};f.prototype={getAncestorWithClass:function(a){for(var d;a;){if(this.cssClass)if(d=this.cssClass,a.className){var e=a.className.match(this.similarClassRegExp)||[];d=e[e.length-1]===d}else d=!1;else d=!0;if(a.nodeType==b.ELEMENT_NODE&&c.dom.arrayContains(this.tagNames,
177
+ a.tagName.toLowerCase())&&d)return a;a=a.parentNode}return!1},postApply:function(a,b){for(var c=a[0],d=a[a.length-1],f=[],g,i=c,m=d,s=0,x=d.length,o,z,w=0,y=a.length;w<y;++w)if(o=a[w],z=this.getAdjacentMergeableTextNode(o.parentNode,!1)){if(g||(g=new e(z),f.push(g)),g.textNodes.push(o),o===c&&(i=g.firstTextNode,s=i.length),o===d)m=g.firstTextNode,x=g.getLength()}else g=null;if(c=this.getAdjacentMergeableTextNode(d.parentNode,!0))g||(g=new e(d),f.push(g)),g.textNodes.push(c);if(f.length){w=0;for(y=
178
+ f.length;w<y;++w)f[w].doMerge();b.setStart(i,s);b.setEnd(m,x)}},getAdjacentMergeableTextNode:function(a,c){var d=a.nodeType==b.TEXT_NODE,e=d?a.parentNode:a,f=c?"nextSibling":"previousSibling";if(d){if((d=a[f])&&d.nodeType==b.TEXT_NODE)return d}else if((d=e[f])&&this.areElementsMergeable(a,d))return d[c?"firstChild":"lastChild"];return null},areElementsMergeable:function(a,b){var d;if(d=c.dom.arrayContains(this.tagNames,(a.tagName||"").toLowerCase()))if(d=c.dom.arrayContains(this.tagNames,(b.tagName||
179
+ "").toLowerCase()))if(d=a.className.replace(i," ")==b.className.replace(i," "))a:if(a.attributes.length!=b.attributes.length)d=!1;else{d=0;for(var e=a.attributes.length,f,g;d<e;++d)if(f=a.attributes[d],g=f.name,"class"!=g&&(g=b.attributes.getNamedItem(g),f.specified!=g.specified||f.specified&&f.nodeValue!==g.nodeValue)){d=!1;break a}d=!0}return d},createContainer:function(a){a=a.createElement(this.tagNames[0]);this.cssClass&&(a.className=this.cssClass);return a},applyToTextNode:function(a){var b=
180
+ a.parentNode;1==b.childNodes.length&&c.dom.arrayContains(this.tagNames,b.tagName.toLowerCase())?this.cssClass&&(a=this.cssClass,b.className?(b.className&&(b.className=b.className.replace(this.similarClassRegExp,"")),b.className+=" "+a):b.className=a):(b=this.createContainer(c.dom.getDocument(a)),a.parentNode.insertBefore(b,a),b.appendChild(a))},isRemovable:function(a){return c.dom.arrayContains(this.tagNames,a.tagName.toLowerCase())&&b.lang.string(a.className).trim()==this.cssClass},undoToTextNode:function(b,
181
+ c,e){c.containsNode(e)||(b=c.cloneRange(),b.selectNode(e),b.isPointInRange(c.endContainer,c.endOffset)&&a(c.endContainer,c.endOffset)&&(d(e,c.endContainer,c.endOffset),c.setEndAfter(e)),b.isPointInRange(c.startContainer,c.startOffset)&&a(c.startContainer,c.startOffset)&&(e=d(e,c.startContainer,c.startOffset)));this.similarClassRegExp&&e.className&&(e.className=e.className.replace(this.similarClassRegExp,""));if(this.isRemovable(e)){c=e;for(e=c.parentNode;c.firstChild;)e.insertBefore(c.firstChild,
182
+ c);e.removeChild(c)}},applyToRange:function(a){var c=a.getNodes([b.TEXT_NODE]);if(!c.length)try{var d=this.createContainer(a.endContainer.ownerDocument);a.surroundContents(d);this.selectNode(a,d);return}catch(e){}a.splitBoundaries();c=a.getNodes([b.TEXT_NODE]);if(c.length){for(var f=0,g=c.length;f<g;++f)d=c[f],this.getAncestorWithClass(d)||this.applyToTextNode(d);a.setStart(c[0],0);d=c[c.length-1];a.setEnd(d,d.length);this.normalize&&this.postApply(c,a)}},undoToRange:function(a){var c=a.getNodes([b.TEXT_NODE]),
183
+ d,e;c.length?(a.splitBoundaries(),c=a.getNodes([b.TEXT_NODE])):(c=a.endContainer.ownerDocument.createTextNode(b.INVISIBLE_SPACE),a.insertNode(c),a.selectNode(c),c=[c]);for(var f=0,g=c.length;f<g;++f)d=c[f],(e=this.getAncestorWithClass(d))&&this.undoToTextNode(d,a,e);1==g?this.selectNode(a,c[0]):(a.setStart(c[0],0),d=c[c.length-1],a.setEnd(d,d.length),this.normalize&&this.postApply(c,a))},selectNode:function(a,c){var d=c.nodeType===b.ELEMENT_NODE,e="canHaveHTML"in c?c.canHaveHTML:!0,f=d?c.innerHTML:
184
+ c.data;if((f=""===f||f===b.INVISIBLE_SPACE)&&d&&e)try{c.innerHTML=b.INVISIBLE_SPACE}catch(g){}a.selectNodeContents(c);f&&d?a.collapse(!1):f&&(a.setStartAfter(c),a.setEndAfter(c))},getTextSelectedByRange:function(a,b){var c=b.cloneRange();c.selectNodeContents(a);var d=c.intersection(b),d=d?d.toString():"";c.detach();return d},isAppliedToRange:function(a){var c=[],d,e=a.getNodes([b.TEXT_NODE]);if(!e.length)return(d=this.getAncestorWithClass(a.startContainer))?[d]:!1;for(var f=0,g=e.length,i;f<g;++f){i=
185
+ this.getTextSelectedByRange(e[f],a);d=this.getAncestorWithClass(e[f]);if(""!=i&&!d)return!1;c.push(d)}return c},toggleRange:function(a){this.isAppliedToRange(a)?this.undoToRange(a):this.applyToRange(a)}};b.selection.HTMLApplier=f})(wysihtml5,rangy);
186
+ wysihtml5.Commands=Base.extend({constructor:function(b){this.editor=b;this.composer=b.composer;this.doc=this.composer.doc},support:function(b){return wysihtml5.browser.supportsCommand(this.doc,b)},exec:function(b,c){var a=wysihtml5.commands[b],d=wysihtml5.lang.array(arguments).get(),e=a&&a.exec,f=null;this.editor.fire("beforecommand:composer");if(e)d.unshift(this.composer),f=e.apply(a,d);else try{f=this.doc.execCommand(b,!1,c)}catch(g){}this.editor.fire("aftercommand:composer");return f},state:function(b,
187
+ c){var a=wysihtml5.commands[b],d=wysihtml5.lang.array(arguments).get(),e=a&&a.state;if(e)return d.unshift(this.composer),e.apply(a,d);try{return this.doc.queryCommandState(b)}catch(f){return!1}},value:function(b){var c=wysihtml5.commands[b],a=c&&c.value;if(a)return a.call(c,this.composer,b);try{return this.doc.queryCommandValue(b)}catch(d){return null}}});
188
+ (function(b){b.commands.bold={exec:function(c,a){return b.commands.formatInline.exec(c,a,"b")},state:function(c,a){return b.commands.formatInline.state(c,a,"b")},value:function(){}}})(wysihtml5);
189
+ (function(b){function c(c,g){var i=c.doc,h="_wysihtml5-temp-"+ +new Date,k=0,j,n,p;b.commands.formatInline.exec(c,a,d,h,/non-matching-class/g);j=i.querySelectorAll(d+"."+h);for(h=j.length;k<h;k++)for(p in n=j[k],n.removeAttribute("class"),g)n.setAttribute(p,g[p]);k=n;1===h&&(p=e.getTextContent(n),h=!!n.querySelector("*"),p=""===p||p===b.INVISIBLE_SPACE,!h&&p&&(e.setTextContent(n,g.text||n.href),i=i.createTextNode(" "),c.selection.setAfter(n),c.selection.insertNode(i),k=i));c.selection.setAfter(k)}
190
+ var a,d="A",e=b.dom;b.commands.createLink={exec:function(a,b,d){var h=this.state(a,b);h?a.selection.executeAndRestore(function(){for(var a=h.length,b=0,c,d,f;b<a;b++)c=h[b],d=e.getParentElement(c,{nodeName:"code"}),f=e.getTextContent(c),f.match(e.autoLink.URL_REG_EXP)&&!d?e.renameElement(c,"code"):e.replaceWithChildNodes(c)}):(d="object"===typeof d?d:{href:d},c(a,d))},state:function(a,c){return b.commands.formatInline.state(a,c,"A")},value:function(){return a}}})(wysihtml5);
191
+ (function(b){var c=/wysiwyg-font-size-[a-z\-]+/g;b.commands.fontSize={exec:function(a,d,e){return b.commands.formatInline.exec(a,d,"span","wysiwyg-font-size-"+e,c)},state:function(a,d,e){return b.commands.formatInline.state(a,d,"span","wysiwyg-font-size-"+e,c)},value:function(){}}})(wysihtml5);
192
+ (function(b){var c=/wysiwyg-color-[a-z]+/g;b.commands.foreColor={exec:function(a,d,e){return b.commands.formatInline.exec(a,d,"span","wysiwyg-color-"+e,c)},state:function(a,d,e){return b.commands.formatInline.state(a,d,"span","wysiwyg-color-"+e,c)},value:function(){}}})(wysihtml5);
193
+ (function(b){function c(a){for(a=a.previousSibling;a&&a.nodeType===b.TEXT_NODE&&!b.lang.string(a.data).trim();)a=a.previousSibling;return a}function a(a){for(a=a.nextSibling;a&&a.nodeType===b.TEXT_NODE&&!b.lang.string(a.data).trim();)a=a.nextSibling;return a}function d(a){return"BR"===a.nodeName||"block"===g.getStyle("display").from(a)?!0:!1}function e(a,c,d,e){if(e)var f=g.observe(a,"DOMNodeInserted",function(a){var a=a.target,c;a.nodeType===b.ELEMENT_NODE&&(c=g.getStyle("display").from(a),"inline"!==
194
+ c.substr(0,6)&&(a.className+=" "+e))});a.execCommand(c,!1,d);f&&f.stop()}function f(b,d){b.selection.selectLine();b.selection.surround(d);var e=a(d),f=c(d);e&&"BR"===e.nodeName&&e.parentNode.removeChild(e);f&&"BR"===f.nodeName&&f.parentNode.removeChild(f);(e=d.lastChild)&&"BR"===e.nodeName&&e.parentNode.removeChild(e);b.selection.selectNode(d)}var g=b.dom,i="H1 H2 H3 H4 H5 H6 P BLOCKQUOTE DIV".split(" ");b.commands.formatBlock={exec:function(h,k,j,n,p){var q=h.doc,r=this.state(h,k,j,n,p),m,j="string"===
195
+ typeof j?j.toUpperCase():j;if(r)h.selection.executeAndRestoreSimple(function(){p&&(r.className=r.className.replace(p,""));var e=!!b.lang.string(r.className).trim();if(!e&&r.nodeName===(j||"DIV")){var e=r,f=e.ownerDocument,h=a(e),i=c(e);h&&!d(h)&&e.parentNode.insertBefore(f.createElement("br"),h);i&&!d(i)&&e.parentNode.insertBefore(f.createElement("br"),e);g.replaceWithChildNodes(r)}else e&&g.renameElement(r,"DIV")});else{if(null===j||b.lang.array(i).contains(j))if(m=h.selection.getSelectedNode(),
196
+ r=g.getParentElement(m,{nodeName:i})){h.selection.executeAndRestoreSimple(function(){j&&(r=g.renameElement(r,j));if(n){var a=r;a.className?(a.className=a.className.replace(p,""),a.className+=" "+n):a.className=n}});return}h.commands.support(k)?e(q,k,j||"DIV",n):(r=q.createElement(j||"DIV"),n&&(r.className=n),f(h,r))}},state:function(a,b,c,d,e){c="string"===typeof c?c.toUpperCase():c;a=a.selection.getSelectedNode();return g.getParentElement(a,{nodeName:c,className:d,classRegExp:e})},value:function(){}}})(wysihtml5);
197
+ (function(b){function c(c,f,g){var i=c+":"+f;if(!d[i]){var h=d,k=b.selection.HTMLApplier,j=a[c],c=j?[c.toLowerCase(),j.toLowerCase()]:[c.toLowerCase()];h[i]=new k(c,f,g,!0)}return d[i]}var a={strong:"b",em:"i",b:"strong",i:"em"},d={};b.commands.formatInline={exec:function(a,b,d,i,h){b=a.selection.getRange();if(!b)return!1;c(d,i,h).toggleRange(b);a.selection.setSelection(b)},state:function(d,f,g,i,h){var f=d.doc,k=a[g]||g;if(!b.dom.hasElementWithTagName(f,g)&&!b.dom.hasElementWithTagName(f,k)||i&&
198
+ !b.dom.hasElementWithClassName(f,i))return!1;d=d.selection.getRange();return!d?!1:c(g,i,h).isAppliedToRange(d)},value:function(){}}})(wysihtml5);(function(b){b.commands.insertHTML={exec:function(b,a,d){b.commands.support(a)?b.doc.execCommand(a,!1,d):b.selection.insertHTML(d)},state:function(){return!1},value:function(){}}})(wysihtml5);
199
+ (function(b){b.commands.insertImage={exec:function(c,a,d){var d="object"===typeof d?d:{src:d},e=c.doc,a=this.state(c),f;if(a)c.selection.setBefore(a),d=a.parentNode,d.removeChild(a),b.dom.removeEmptyTextNodes(d),"A"===d.nodeName&&!d.firstChild&&(c.selection.setAfter(d),d.parentNode.removeChild(d)),b.quirks.redraw(c.element);else{a=e.createElement("IMG");for(f in d)a[f]=d[f];c.selection.insertNode(a);b.browser.hasProblemsSettingCaretAfterImg()?(d=e.createTextNode(b.INVISIBLE_SPACE),c.selection.insertNode(d),
200
+ c.selection.setAfter(d)):c.selection.setAfter(a)}},state:function(c){var a;if(!b.dom.hasElementWithTagName(c.doc,"IMG"))return!1;a=c.selection.getSelectedNode();if(!a)return!1;if("IMG"===a.nodeName)return a;if(a.nodeType!==b.ELEMENT_NODE)return!1;a=c.selection.getText();if(a=b.lang.string(a).trim())return!1;c=c.selection.getNodes(b.ELEMENT_NODE,function(a){return"IMG"===a.nodeName});return 1!==c.length?!1:c[0]},value:function(b){return(b=this.state(b))&&b.src}}})(wysihtml5);
201
+ (function(b){var c="<br>"+(b.browser.needsSpaceAfterLineBreak()?" ":"");b.commands.insertLineBreak={exec:function(a,d){a.commands.support(d)?(a.doc.execCommand(d,!1,null),b.browser.autoScrollsToCaret()||a.selection.scrollIntoView()):a.commands.exec("insertHTML",c)},state:function(){return!1},value:function(){}}})(wysihtml5);
202
+ (function(b){b.commands.insertOrderedList={exec:function(c,a){var d=c.doc,e=c.selection.getSelectedNode(),f=b.dom.getParentElement(e,{nodeName:"OL"}),g=b.dom.getParentElement(e,{nodeName:"UL"}),e="_wysihtml5-temp-"+(new Date).getTime(),i;c.commands.support(a)?d.execCommand(a,!1,null):f?c.selection.executeAndRestoreSimple(function(){b.dom.resolveList(f)}):g?c.selection.executeAndRestoreSimple(function(){b.dom.renameElement(g,"ol")}):(c.commands.exec("formatBlock","div",e),i=d.querySelector("."+e),
203
+ d=""===i.innerHTML||i.innerHTML===b.INVISIBLE_SPACE,c.selection.executeAndRestoreSimple(function(){f=b.dom.convertToList(i,"ol")}),d&&c.selection.selectNode(f.querySelector("li")))},state:function(c){c=c.selection.getSelectedNode();return b.dom.getParentElement(c,{nodeName:"OL"})},value:function(){}}})(wysihtml5);
204
+ (function(b){b.commands.insertUnorderedList={exec:function(c,a){var d=c.doc,e=c.selection.getSelectedNode(),f=b.dom.getParentElement(e,{nodeName:"UL"}),g=b.dom.getParentElement(e,{nodeName:"OL"}),e="_wysihtml5-temp-"+(new Date).getTime(),i;c.commands.support(a)?d.execCommand(a,!1,null):f?c.selection.executeAndRestoreSimple(function(){b.dom.resolveList(f)}):g?c.selection.executeAndRestoreSimple(function(){b.dom.renameElement(g,"ul")}):(c.commands.exec("formatBlock","div",e),i=d.querySelector("."+e),
205
+ d=""===i.innerHTML||i.innerHTML===b.INVISIBLE_SPACE,c.selection.executeAndRestoreSimple(function(){f=b.dom.convertToList(i,"ul")}),d&&c.selection.selectNode(f.querySelector("li")))},state:function(c){c=c.selection.getSelectedNode();return b.dom.getParentElement(c,{nodeName:"UL"})},value:function(){}}})(wysihtml5);(function(b){b.commands.italic={exec:function(c,a){return b.commands.formatInline.exec(c,a,"i")},state:function(c,a){return b.commands.formatInline.state(c,a,"i")},value:function(){}}})(wysihtml5);
206
+ (function(b){var c=/wysiwyg-text-align-[a-z]+/g;b.commands.justifyCenter={exec:function(a){return b.commands.formatBlock.exec(a,"formatBlock",null,"wysiwyg-text-align-center",c)},state:function(a){return b.commands.formatBlock.state(a,"formatBlock",null,"wysiwyg-text-align-center",c)},value:function(){}}})(wysihtml5);
207
+ (function(b){var c=/wysiwyg-text-align-[a-z]+/g;b.commands.justifyLeft={exec:function(a){return b.commands.formatBlock.exec(a,"formatBlock",null,"wysiwyg-text-align-left",c)},state:function(a){return b.commands.formatBlock.state(a,"formatBlock",null,"wysiwyg-text-align-left",c)},value:function(){}}})(wysihtml5);
208
+ (function(b){var c=/wysiwyg-text-align-[a-z]+/g;b.commands.justifyRight={exec:function(a){return b.commands.formatBlock.exec(a,"formatBlock",null,"wysiwyg-text-align-right",c)},state:function(a){return b.commands.formatBlock.state(a,"formatBlock",null,"wysiwyg-text-align-right",c)},value:function(){}}})(wysihtml5);(function(b){b.commands.underline={exec:function(c,a){return b.commands.formatInline.exec(c,a,"u")},state:function(c,a){return b.commands.formatInline.state(c,a,"u")},value:function(){}}})(wysihtml5);
209
+ (function(b){var c='<span id="_wysihtml5-undo" class="_wysihtml5-temp">'+b.INVISIBLE_SPACE+"</span>",a='<span id="_wysihtml5-redo" class="_wysihtml5-temp">'+b.INVISIBLE_SPACE+"</span>",d=b.dom;b.UndoManager=b.lang.Dispatcher.extend({constructor:function(a){this.editor=a;this.composer=a.composer;this.element=this.composer.element;this.history=[this.composer.getValue()];this.position=1;this.composer.commands.support("insertHTML")&&this._observe()},_observe:function(){var e=this,f=this.composer.sandbox.getDocument(),
210
+ g;d.observe(this.element,"keydown",function(a){if(!(a.altKey||!a.ctrlKey&&!a.metaKey)){var b=a.keyCode,c=90===b&&a.shiftKey||89===b;90===b&&!a.shiftKey?(e.undo(),a.preventDefault()):c&&(e.redo(),a.preventDefault())}});d.observe(this.element,"keydown",function(a){a=a.keyCode;a!==g&&(g=a,(8===a||46===a)&&e.transact())});if(b.browser.hasUndoInContextMenu()){var i,h,k=function(){for(var a;a=f.querySelector("._wysihtml5-temp");)a.parentNode.removeChild(a);clearInterval(i)};d.observe(this.element,"contextmenu",
211
+ function(){k();e.composer.selection.executeAndRestoreSimple(function(){e.element.lastChild&&e.composer.selection.setAfter(e.element.lastChild);f.execCommand("insertHTML",!1,c);f.execCommand("insertHTML",!1,a);f.execCommand("undo",!1,null)});i=setInterval(function(){f.getElementById("_wysihtml5-redo")?(k(),e.redo()):f.getElementById("_wysihtml5-undo")||(k(),e.undo())},400);h||(h=!0,d.observe(document,"mousedown",k),d.observe(f,["mousedown","paste","cut","copy"],k))})}this.editor.observe("newword:composer",
212
+ function(){e.transact()}).observe("beforecommand:composer",function(){e.transact()})},transact:function(){var a=this.history[this.position-1],b=this.composer.getValue();if(b!=a){if(40<(this.history.length=this.position))this.history.shift(),this.position--;this.position++;this.history.push(b)}},undo:function(){this.transact();1>=this.position||(this.set(this.history[--this.position-1]),this.editor.fire("undo:composer"))},redo:function(){this.position>=this.history.length||(this.set(this.history[++this.position-
213
+ 1]),this.editor.fire("redo:composer"))},set:function(a){this.composer.setValue(a);this.editor.focus(!0)}})})(wysihtml5);
214
+ wysihtml5.views.View=Base.extend({constructor:function(b,c,a){this.parent=b;this.element=c;this.config=a;this._observeViewChange()},_observeViewChange:function(){var b=this;this.parent.observe("beforeload",function(){b.parent.observe("change_view",function(c){c===b.name?(b.parent.currentView=b,b.show(),setTimeout(function(){b.focus()},0)):b.hide()})})},focus:function(){if(this.element.ownerDocument.querySelector(":focus")!==this.element)try{this.element.focus()}catch(b){}},hide:function(){this.element.style.display=
215
+ "none"},show:function(){this.element.style.display=""},disable:function(){this.element.setAttribute("disabled","disabled")},enable:function(){this.element.removeAttribute("disabled")}});
216
+ (function(b){var c=b.dom,a=b.browser;b.views.Composer=b.views.View.extend({name:"composer",CARET_HACK:"<br>",constructor:function(a,b,c){this.base(a,b,c);this.textarea=this.parent.textarea;this._initSandbox()},clear:function(){this.element.innerHTML=a.displaysCaretInEmptyContentEditableCorrectly()?"":this.CARET_HACK},getValue:function(a){var c=this.isEmpty()?"":b.quirks.getCorrectInnerHTML(this.element);a&&(c=this.parent.parse(c));return c=b.lang.string(c).replace(b.INVISIBLE_SPACE).by("")},setValue:function(a,
217
+ b){b&&(a=this.parent.parse(a));this.element.innerHTML=a},show:function(){this.iframe.style.display=this._displayStyle||"";this.disable();this.enable()},hide:function(){this._displayStyle=c.getStyle("display").from(this.iframe);"none"===this._displayStyle&&(this._displayStyle=null);this.iframe.style.display="none"},disable:function(){this.element.removeAttribute("contentEditable");this.base()},enable:function(){this.element.setAttribute("contentEditable","true");this.base()},focus:function(a){b.browser.doesAsyncFocus()&&
218
+ this.hasPlaceholderSet()&&this.clear();this.base();var c=this.element.lastChild;a&&c&&("BR"===c.nodeName?this.selection.setBefore(this.element.lastChild):this.selection.setAfter(this.element.lastChild))},getTextContent:function(){return c.getTextContent(this.element)},hasPlaceholderSet:function(){return this.getTextContent()==this.textarea.element.getAttribute("placeholder")},isEmpty:function(){var a=this.element.innerHTML;return""===a||a===this.CARET_HACK||this.hasPlaceholderSet()||""===this.getTextContent()&&
219
+ !this.element.querySelector("blockquote, ul, ol, img, embed, object, table, iframe, svg, video, audio, button, input, select, textarea")},_initSandbox:function(){var a=this;this.sandbox=new c.Sandbox(function(){a._create()},{stylesheets:this.config.stylesheets});this.iframe=this.sandbox.getIframe();var b=document.createElement("input");b.type="hidden";b.name="_wysihtml5_mode";b.value=1;var f=this.textarea.element;c.insert(this.iframe).after(f);c.insert(b).after(f)},_create:function(){var d=this;this.doc=
220
+ this.sandbox.getDocument();this.element=this.doc.body;this.textarea=this.parent.textarea;this.element.innerHTML=this.textarea.getValue(!0);this.enable();this.selection=new b.Selection(this.parent);this.commands=new b.Commands(this.parent);c.copyAttributes("className spellcheck title lang dir accessKey".split(" ")).from(this.textarea.element).to(this.element);c.addClass(this.element,this.config.composerClassName);this.config.style&&this.style();this.observe();var e=this.config.name;e&&(c.addClass(this.element,
221
+ e),c.addClass(this.iframe,e));(e="string"===typeof this.config.placeholder?this.config.placeholder:this.textarea.element.getAttribute("placeholder"))&&c.simulatePlaceholder(this.parent,this,e);this.commands.exec("styleWithCSS",!1);this._initAutoLinking();this._initObjectResizing();this._initUndoManager();(this.textarea.element.hasAttribute("autofocus")||document.querySelector(":focus")==this.textarea.element)&&setTimeout(function(){d.focus()},100);b.quirks.insertLineBreakOnReturn(this);a.clearsContentEditableCorrectly()||
222
+ b.quirks.ensureProperClearing(this);a.clearsListsInContentEditableCorrectly()||b.quirks.ensureProperClearingOfLists(this);this.initSync&&this.config.sync&&this.initSync();this.textarea.hide();this.parent.fire("beforeload").fire("load")},_initAutoLinking:function(){var d=this,e=a.canDisableAutoLinking(),f=a.doesAutoLinkingInContentEditable();e&&this.commands.exec("autoUrlDetect",!1);if(this.config.autoLink){(!f||f&&e)&&this.parent.observe("newword:composer",function(){d.selection.executeAndRestore(function(a,
223
+ b){c.autoLink(b.parentNode)})});var g=this.sandbox.getDocument().getElementsByTagName("a"),i=c.autoLink.URL_REG_EXP,h=function(a){a=b.lang.string(c.getTextContent(a)).trim();"www."===a.substr(0,4)&&(a="http://"+a);return a};c.observe(this.element,"keydown",function(a){if(g.length){var a=d.selection.getSelectedNode(a.target.ownerDocument),b=c.getParentElement(a,{nodeName:"A"},4),e;b&&(e=h(b),setTimeout(function(){var a=h(b);a!==e&&a.match(i)&&b.setAttribute("href",a)},0))}})}},_initObjectResizing:function(){var d=
224
+ ["width","height"],e=d.length,f=this.element;this.commands.exec("enableObjectResizing",this.config.allowObjectResizing);this.config.allowObjectResizing?a.supportsEvent("resizeend")&&c.observe(f,"resizeend",function(a){for(var a=a.target||a.srcElement,c=a.style,h=0,k;h<e;h++)k=d[h],c[k]&&(a.setAttribute(k,parseInt(c[k],10)),c[k]="");b.quirks.redraw(f)}):a.supportsEvent("resizestart")&&c.observe(f,"resizestart",function(a){a.preventDefault()})},_initUndoManager:function(){new b.UndoManager(this.parent)}})})(wysihtml5);
225
+ (function(b){var c=b.dom,a=document,d=window,e=a.createElement("div"),f="background-color color cursor font-family font-size font-style font-variant font-weight line-height letter-spacing text-align text-decoration text-indent text-rendering word-break word-wrap word-spacing".split(" "),g="background-color border-collapse border-bottom-color border-bottom-style border-bottom-width border-left-color border-left-style border-left-width border-right-color border-right-style border-right-width border-top-color border-top-style border-top-width clear display float margin-bottom margin-left margin-right margin-top outline-color outline-offset outline-width outline-style padding-left padding-right padding-top padding-bottom position top left right bottom z-index vertical-align text-align -webkit-box-sizing -moz-box-sizing -ms-box-sizing box-sizing -webkit-box-shadow -moz-box-shadow -ms-box-shadow box-shadow -webkit-border-top-right-radius -moz-border-radius-topright border-top-right-radius -webkit-border-bottom-right-radius -moz-border-radius-bottomright border-bottom-right-radius -webkit-border-bottom-left-radius -moz-border-radius-bottomleft border-bottom-left-radius -webkit-border-top-left-radius -moz-border-radius-topleft border-top-left-radius width height".split(" "),
226
+ i="width height top left right bottom".split(" "),h=["html { height: 100%; }","body { min-height: 100%; padding: 0; margin: 0; margin-top: -1px; padding-top: 1px; }","._wysihtml5-temp { display: none; }",b.browser.isGecko?"body.placeholder { color: graytext !important; }":"body.placeholder { color: #a9a9a9 !important; }","body[disabled] { background-color: #eee !important; color: #999 !important; cursor: default !important; }","img:-moz-broken { -moz-force-broken-image-icon: 1; height: 24px; width: 24px; }"],
227
+ k=function(b){if(b.setActive)try{b.setActive()}catch(e){}else{var f=b.style,h=a.documentElement.scrollTop||a.body.scrollTop,g=a.documentElement.scrollLeft||a.body.scrollLeft,f={position:f.position,top:f.top,left:f.left,WebkitUserSelect:f.WebkitUserSelect};c.setStyles({position:"absolute",top:"-99999px",left:"-99999px",WebkitUserSelect:"none"}).on(b);b.focus();c.setStyles(f).on(b);d.scrollTo&&d.scrollTo(g,h)}};b.views.Composer.prototype.style=function(){var j=this,n=a.querySelector(":focus"),p=this.textarea.element,
228
+ q=p.hasAttribute("placeholder"),r=q&&p.getAttribute("placeholder");this.focusStylesHost=this.focusStylesHost||e.cloneNode(!1);this.blurStylesHost=this.blurStylesHost||e.cloneNode(!1);q&&p.removeAttribute("placeholder");p===n&&p.blur();c.copyStyles(g).from(p).to(this.iframe).andTo(this.blurStylesHost);c.copyStyles(f).from(p).to(this.element).andTo(this.blurStylesHost);c.insertCSS(h).into(this.element.ownerDocument);k(p);c.copyStyles(g).from(p).to(this.focusStylesHost);c.copyStyles(f).from(p).to(this.focusStylesHost);
229
+ var m=b.lang.array(g).without(["display"]);n?n.focus():p.blur();q&&p.setAttribute("placeholder",r);if(!b.browser.hasCurrentStyleProperty())var s=c.observe(d,"resize",function(){if(c.contains(document.documentElement,j.iframe)){var a=c.getStyle("display").from(p),b=c.getStyle("display").from(j.iframe);p.style.display="";j.iframe.style.display="none";c.copyStyles(i).from(p).to(j.iframe).andTo(j.focusStylesHost).andTo(j.blurStylesHost);j.iframe.style.display=b;p.style.display=a}else s.stop()});this.parent.observe("focus:composer",
230
+ function(){c.copyStyles(m).from(j.focusStylesHost).to(j.iframe);c.copyStyles(f).from(j.focusStylesHost).to(j.element)});this.parent.observe("blur:composer",function(){c.copyStyles(m).from(j.blurStylesHost).to(j.iframe);c.copyStyles(f).from(j.blurStylesHost).to(j.element)});return this}})(wysihtml5);
231
+ (function(b){var c=b.dom,a=b.browser,d={66:"bold",73:"italic",85:"underline"};b.views.Composer.prototype.observe=function(){var e=this,f=this.getValue(),g=this.sandbox.getIframe(),i=this.element,h=a.supportsEventsInIframeCorrectly()?i:this.sandbox.getWindow(),k=a.supportsEvent("drop")?["drop","paste"]:["dragdrop","paste"];c.observe(g,"DOMNodeRemoved",function(){clearInterval(j);e.parent.fire("destroy:composer")});var j=setInterval(function(){c.contains(document.documentElement,g)||(clearInterval(j),
232
+ e.parent.fire("destroy:composer"))},250);c.observe(h,"focus",function(){e.parent.fire("focus").fire("focus:composer");setTimeout(function(){f=e.getValue()},0)});c.observe(h,"blur",function(){f!==e.getValue()&&e.parent.fire("change").fire("change:composer");e.parent.fire("blur").fire("blur:composer")});b.browser.isIos()&&c.observe(i,"blur",function(){var a=i.ownerDocument.createElement("input"),b=document.documentElement.scrollTop||document.body.scrollTop,c=document.documentElement.scrollLeft||document.body.scrollLeft;
233
+ try{e.selection.insertNode(a)}catch(d){i.appendChild(a)}a.focus();a.parentNode.removeChild(a);window.scrollTo(c,b)});c.observe(i,"dragenter",function(){e.parent.fire("unset_placeholder")});a.firesOnDropOnlyWhenOnDragOverIsCancelled()&&c.observe(i,["dragover","dragenter"],function(a){a.preventDefault()});c.observe(i,k,function(b){var c=b.dataTransfer,d;c&&a.supportsDataTransfer()&&(d=c.getData("text/html")||c.getData("text/plain"));d?(i.focus(),e.commands.exec("insertHTML",d),e.parent.fire("paste").fire("paste:composer"),
234
+ b.stopPropagation(),b.preventDefault()):setTimeout(function(){e.parent.fire("paste").fire("paste:composer")},0)});c.observe(i,"keyup",function(a){a=a.keyCode;(a===b.SPACE_KEY||a===b.ENTER_KEY)&&e.parent.fire("newword:composer")});this.parent.observe("paste:composer",function(){setTimeout(function(){e.parent.fire("newword:composer")},0)});a.canSelectImagesInContentEditable()||c.observe(i,"mousedown",function(a){var b=a.target;"IMG"===b.nodeName&&(e.selection.selectNode(b),a.preventDefault())});c.observe(i,
235
+ "keydown",function(a){var b=d[a.keyCode];if((a.ctrlKey||a.metaKey)&&!a.altKey&&b)e.commands.exec(b),a.preventDefault()});c.observe(i,"keydown",function(a){var c=e.selection.getSelectedNode(!0),d=a.keyCode;if(c&&"IMG"===c.nodeName&&(d===b.BACKSPACE_KEY||d===b.DELETE_KEY))d=c.parentNode,d.removeChild(c),"A"===d.nodeName&&!d.firstChild&&d.parentNode.removeChild(d),setTimeout(function(){b.quirks.redraw(i)},0),a.preventDefault()});var n={IMG:"Image: ",A:"Link: "};c.observe(i,"mouseover",function(a){var a=
236
+ a.target,b=a.nodeName;!("A"!==b&&"IMG"!==b)&&!a.hasAttribute("title")&&(b=n[b]+(a.getAttribute("href")||a.getAttribute("src")),a.setAttribute("title",b))})}})(wysihtml5);
237
+ (function(b){b.views.Synchronizer=Base.extend({constructor:function(b,a,d){this.editor=b;this.textarea=a;this.composer=d;this._observe()},fromComposerToTextarea:function(c){this.textarea.setValue(b.lang.string(this.composer.getValue()).trim(),c)},fromTextareaToComposer:function(b){var a=this.textarea.getValue();a?this.composer.setValue(a,b):(this.composer.clear(),this.editor.fire("set_placeholder"))},sync:function(b){"textarea"===this.editor.currentView.name?this.fromTextareaToComposer(b):this.fromComposerToTextarea(b)},
238
+ _observe:function(){var c,a=this,d=this.textarea.element.form,e=function(){c=setInterval(function(){a.fromComposerToTextarea()},400)},f=function(){clearInterval(c);c=null};e();d&&(b.dom.observe(d,"submit",function(){a.sync(!0)}),b.dom.observe(d,"reset",function(){setTimeout(function(){a.fromTextareaToComposer()},0)}));this.editor.observe("change_view",function(b){if(b==="composer"&&!c){a.fromTextareaToComposer(true);e()}else if(b==="textarea"){a.fromComposerToTextarea(true);f()}});this.editor.observe("destroy:composer",
239
+ f)}})})(wysihtml5);
240
+ wysihtml5.views.Textarea=wysihtml5.views.View.extend({name:"textarea",constructor:function(b,c,a){this.base(b,c,a);this._observe()},clear:function(){this.element.value=""},getValue:function(b){var c=this.isEmpty()?"":this.element.value;b&&(c=this.parent.parse(c));return c},setValue:function(b,c){c&&(b=this.parent.parse(b));this.element.value=b},hasPlaceholderSet:function(){var b=wysihtml5.browser.supportsPlaceholderAttributeOn(this.element),c=this.element.getAttribute("placeholder")||null,a=this.element.value;
241
+ return b&&!a||a===c},isEmpty:function(){return!wysihtml5.lang.string(this.element.value).trim()||this.hasPlaceholderSet()},_observe:function(){var b=this.element,c=this.parent,a={focusin:"focus",focusout:"blur"},d=wysihtml5.browser.supportsEvent("focusin")?["focusin","focusout","change"]:["focus","blur","change"];c.observe("beforeload",function(){wysihtml5.dom.observe(b,d,function(b){b=a[b.type]||b.type;c.fire(b).fire(b+":textarea")});wysihtml5.dom.observe(b,["paste","drop"],function(){setTimeout(function(){c.fire("paste").fire("paste:textarea")},
242
+ 0)})})}});
243
+ (function(b){var c=b.dom;b.toolbar.Dialog=b.lang.Dispatcher.extend({constructor:function(a,b){this.link=a;this.container=b},_observe:function(){if(!this._observed){var a=this,d=function(b){var c=a._serialize();c==a.elementToChange?a.fire("edit",c):a.fire("save",c);a.hide();b.preventDefault();b.stopPropagation()};c.observe(a.link,"click",function(){c.hasClass(a.link,"wysihtml5-command-dialog-opened")&&setTimeout(function(){a.hide()},0)});c.observe(this.container,"keydown",function(c){var e=c.keyCode;
244
+ e===b.ENTER_KEY&&d(c);e===b.ESCAPE_KEY&&a.hide()});c.delegate(this.container,"[data-wysihtml5-dialog-action=save]","click",d);c.delegate(this.container,"[data-wysihtml5-dialog-action=cancel]","click",function(b){a.fire("cancel");a.hide();b.preventDefault();b.stopPropagation()});for(var e=this.container.querySelectorAll("input, select, textarea"),f=0,g=e.length,i=function(){clearInterval(a.interval)};f<g;f++)c.observe(e[f],"change",i);this._observed=!0}},_serialize:function(){for(var a=this.elementToChange||
245
+ {},b=this.container.querySelectorAll("[data-wysihtml5-dialog-field]"),c=b.length,f=0;f<c;f++)a[b[f].getAttribute("data-wysihtml5-dialog-field")]=b[f].value;return a},_interpolate:function(a){for(var b,c,f=document.querySelector(":focus"),g=this.container.querySelectorAll("[data-wysihtml5-dialog-field]"),i=g.length,h=0;h<i;h++)b=g[h],b!==f&&!(a&&"hidden"===b.type)&&(c=b.getAttribute("data-wysihtml5-dialog-field"),c=this.elementToChange?this.elementToChange[c]||"":b.defaultValue,b.value=c)},show:function(a){var b=
246
+ this,e=this.container.querySelector("input, select, textarea");this.elementToChange=a;this._observe();this._interpolate();a&&(this.interval=setInterval(function(){b._interpolate(!0)},500));c.addClass(this.link,"wysihtml5-command-dialog-opened");this.container.style.display="";this.fire("show");if(e&&!a)try{e.focus()}catch(f){}},hide:function(){clearInterval(this.interval);this.elementToChange=null;c.removeClass(this.link,"wysihtml5-command-dialog-opened");this.container.style.display="none";this.fire("hide")}})})(wysihtml5);
247
+ (function(b){var c=b.dom,a={position:"relative"},d={left:0,margin:0,opacity:0,overflow:"hidden",padding:0,position:"absolute",top:0,zIndex:1},e={cursor:"inherit",fontSize:"50px",height:"50px",marginTop:"-25px",outline:0,padding:0,position:"absolute",right:"-4px",top:"50%"},f={"x-webkit-speech":"",speech:""};b.toolbar.Speech=function(g,i){var h=document.createElement("input");if(b.browser.supportsSpeechApiOn(h)){var k=document.createElement("div");b.lang.object(d).merge({width:i.offsetWidth+"px",height:i.offsetHeight+
248
+ "px"});c.insert(h).into(k);c.insert(k).into(i);c.setStyles(e).on(h);c.setAttributes(f).on(h);c.setStyles(d).on(k);c.setStyles(a).on(i);c.observe(h,"onwebkitspeechchange"in h?"webkitspeechchange":"speechchange",function(){g.execCommand("insertText",h.value);h.value=""});c.observe(h,"click",function(a){c.hasClass(i,"wysihtml5-command-disabled")&&a.preventDefault();a.stopPropagation()})}else i.style.display="none"}})(wysihtml5);
249
+ (function(b){var c=b.dom;b.toolbar.Toolbar=Base.extend({constructor:function(a,c){this.editor=a;this.container="string"===typeof c?document.getElementById(c):c;this.composer=a.composer;this._getLinks("command");this._getLinks("action");this._observe();this.show();for(var e=this.container.querySelectorAll("[data-wysihtml5-command=insertSpeech]"),f=e.length,g=0;g<f;g++)new b.toolbar.Speech(this,e[g])},_getLinks:function(a){for(var c=this[a+"Links"]=b.lang.array(this.container.querySelectorAll("[data-wysihtml5-"+
250
+ a+"]")).get(),e=c.length,f=0,g=this[a+"Mapping"]={},i,h,k,j,n;f<e;f++)i=c[f],k=i.getAttribute("data-wysihtml5-"+a),j=i.getAttribute("data-wysihtml5-"+a+"-value"),h=this.container.querySelector("[data-wysihtml5-"+a+"-group='"+k+"']"),n=this._getDialog(i,k),g[k+":"+j]={link:i,group:h,name:k,value:j,dialog:n,state:!1}},_getDialog:function(a,c){var e=this,f=this.container.querySelector("[data-wysihtml5-dialog='"+c+"']"),g,i;f&&(g=new b.toolbar.Dialog(a,f),g.observe("show",function(){i=e.composer.selection.getBookmark();
251
+ e.editor.fire("show:dialog",{command:c,dialogContainer:f,commandLink:a})}),g.observe("save",function(b){i&&e.composer.selection.setBookmark(i);e._execCommand(c,b);e.editor.fire("save:dialog",{command:c,dialogContainer:f,commandLink:a})}),g.observe("cancel",function(){e.editor.focus(!1);e.editor.fire("cancel:dialog",{command:c,dialogContainer:f,commandLink:a})}));return g},execCommand:function(a,b){if(!this.commandsDisabled){var c=this.commandMapping[a+":"+b];c&&c.dialog&&!c.state?c.dialog.show():
252
+ this._execCommand(a,b)}},_execCommand:function(a,b){this.editor.focus(!1);this.composer.commands.exec(a,b);this._updateLinkStates()},execAction:function(a){var b=this.editor;switch(a){case "change_view":b.currentView===b.textarea?b.fire("change_view","composer"):b.fire("change_view","textarea")}},_observe:function(){for(var a=this,b=this.editor,e=this.container,f=this.commandLinks.concat(this.actionLinks),g=f.length,i=0;i<g;i++)c.setAttributes({href:"javascript:;",unselectable:"on"}).on(f[i]);c.delegate(e,
253
+ "[data-wysihtml5-command]","mousedown",function(a){a.preventDefault()});c.delegate(e,"[data-wysihtml5-command]","click",function(b){var c=this.getAttribute("data-wysihtml5-command"),d=this.getAttribute("data-wysihtml5-command-value");a.execCommand(c,d);b.preventDefault()});c.delegate(e,"[data-wysihtml5-action]","click",function(b){var c=this.getAttribute("data-wysihtml5-action");a.execAction(c);b.preventDefault()});b.observe("focus:composer",function(){a.bookmark=null;clearInterval(a.interval);a.interval=
254
+ setInterval(function(){a._updateLinkStates()},500)});b.observe("blur:composer",function(){clearInterval(a.interval)});b.observe("destroy:composer",function(){clearInterval(a.interval)});b.observe("change_view",function(b){setTimeout(function(){a.commandsDisabled="composer"!==b;a._updateLinkStates();a.commandsDisabled?c.addClass(e,"wysihtml5-commands-disabled"):c.removeClass(e,"wysihtml5-commands-disabled")},0)})},_updateLinkStates:function(){var a=this.commandMapping,d=this.actionMapping,e,f,g;for(e in a)if(g=
255
+ a[e],this.commandsDisabled?(f=!1,c.removeClass(g.link,"wysihtml5-command-active"),g.group&&c.removeClass(g.group,"wysihtml5-command-active"),g.dialog&&g.dialog.hide()):(f=this.composer.commands.state(g.name,g.value),b.lang.object(f).isArray()&&(f=1===f.length?f[0]:!0),c.removeClass(g.link,"wysihtml5-command-disabled"),g.group&&c.removeClass(g.group,"wysihtml5-command-disabled")),g.state!==f)(g.state=f)?(c.addClass(g.link,"wysihtml5-command-active"),g.group&&c.addClass(g.group,"wysihtml5-command-active"),
256
+ g.dialog&&("object"===typeof f?g.dialog.show(f):g.dialog.hide())):(c.removeClass(g.link,"wysihtml5-command-active"),g.group&&c.removeClass(g.group,"wysihtml5-command-active"),g.dialog&&g.dialog.hide());for(e in d)a=d[e],"change_view"===a.name&&(a.state=this.editor.currentView===this.editor.textarea,a.state?c.addClass(a.link,"wysihtml5-action-active"):c.removeClass(a.link,"wysihtml5-action-active"))},show:function(){this.container.style.display=""},hide:function(){this.container.style.display="none"}})})(wysihtml5);
257
+ (function(b){var c={name:void 0,style:!0,toolbar:void 0,autoLink:!0,parserRules:{tags:{br:{},span:{},div:{},p:{}},classes:{}},parser:b.dom.parse,composerClassName:"wysihtml5-editor",bodyClassName:"wysihtml5-supported",stylesheets:[],placeholderText:void 0,allowObjectResizing:!0,supportTouchDevices:!0};b.Editor=b.lang.Dispatcher.extend({constructor:function(a,d){this.textareaElement="string"===typeof a?document.getElementById(a):a;this.config=b.lang.object({}).merge(c).merge(d).get();this.currentView=
258
+ this.textarea=new b.views.Textarea(this,this.textareaElement,this.config);this._isCompatible=b.browser.supported();if(!this._isCompatible||!this.config.supportTouchDevices&&b.browser.isTouchDevice()){var e=this;setTimeout(function(){e.fire("beforeload").fire("load")},0)}else{b.dom.addClass(document.body,this.config.bodyClassName);this.currentView=this.composer=new b.views.Composer(this,this.textareaElement,this.config);"function"===typeof this.config.parser&&this._initParser();this.observe("beforeload",
259
+ function(){this.synchronizer=new b.views.Synchronizer(this,this.textarea,this.composer);this.config.toolbar&&(this.toolbar=new b.toolbar.Toolbar(this,this.config.toolbar))});try{console.log("Heya! This page is using wysihtml5 for rich text editing. Check out https://github.com/xing/wysihtml5")}catch(f){}}},isCompatible:function(){return this._isCompatible},clear:function(){this.currentView.clear();return this},getValue:function(a){return this.currentView.getValue(a)},setValue:function(a,b){if(!a)return this.clear();
260
+ this.currentView.setValue(a,b);return this},focus:function(a){this.currentView.focus(a);return this},disable:function(){this.currentView.disable();return this},enable:function(){this.currentView.enable();return this},isEmpty:function(){return this.currentView.isEmpty()},hasPlaceholderSet:function(){return this.currentView.hasPlaceholderSet()},parse:function(a){var c=this.config.parser(a,this.config.parserRules,this.composer.sandbox.getDocument(),!0);"object"===typeof a&&b.quirks.redraw(a);return c},
261
+ _initParser:function(){this.observe("paste:composer",function(){var a=this;a.composer.selection.executeAndRestore(function(){b.quirks.cleanPastedHTML(a.composer.element);a.parse(a.composer.element)},!0)});this.observe("paste:textarea",function(){this.textarea.setValue(this.parse(this.textarea.getValue()))})}})})(wysihtml5);
@@ -0,0 +1,4551 @@
1
+ /*!
2
+ * Bootstrap v2.0.3
3
+ *
4
+ * Copyright 2012 Twitter, Inc
5
+ * Licensed under the Apache License v2.0
6
+ * http://www.apache.org/licenses/LICENSE-2.0
7
+ *
8
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
+ */
10
+ article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
11
+ display: block
12
+ }
13
+
14
+ audio, canvas, video {
15
+ display: inline-block;
16
+ *display: inline;
17
+ *zoom: 1
18
+ }
19
+
20
+ audio:not([controls]) {
21
+ display: none
22
+ }
23
+
24
+ html {
25
+ font-size: 100%;
26
+ -webkit-text-size-adjust: 100%;
27
+ -ms-text-size-adjust: 100%
28
+ }
29
+
30
+ a:focus {
31
+ outline: thin dotted #333;
32
+ outline: 5px auto -webkit-focus-ring-color;
33
+ outline-offset: -2px
34
+ }
35
+
36
+ a:hover, a:active {
37
+ outline: 0
38
+ }
39
+
40
+ sub, sup {
41
+ position: relative;
42
+ font-size: 75%;
43
+ line-height: 0;
44
+ vertical-align: baseline
45
+ }
46
+
47
+ sup {
48
+ top: -0.5em
49
+ }
50
+
51
+ sub {
52
+ bottom: -0.25em
53
+ }
54
+
55
+ img {
56
+ max-width: 100%;
57
+ vertical-align: middle;
58
+ border: 0;
59
+ -ms-interpolation-mode: bicubic
60
+ }
61
+
62
+ button, input, select, textarea {
63
+ margin: 0;
64
+ font-size: 100%;
65
+ vertical-align: middle
66
+ }
67
+
68
+ button, input {
69
+ *overflow: visible;
70
+ line-height: normal
71
+ }
72
+
73
+ button::-moz-focus-inner, input::-moz-focus-inner {
74
+ padding: 0;
75
+ border: 0
76
+ }
77
+
78
+ button, input[type="button"], input[type="reset"], input[type="submit"] {
79
+ cursor: pointer;
80
+ -webkit-appearance: button
81
+ }
82
+
83
+ input[type="search"] {
84
+ -webkit-box-sizing: content-box;
85
+ -moz-box-sizing: content-box;
86
+ box-sizing: content-box;
87
+ -webkit-appearance: textfield
88
+ }
89
+
90
+ input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button {
91
+ -webkit-appearance: none
92
+ }
93
+
94
+ textarea {
95
+ overflow: auto;
96
+ vertical-align: top
97
+ }
98
+
99
+ .clearfix {
100
+ *zoom: 1
101
+ }
102
+
103
+ .clearfix:before, .clearfix:after {
104
+ display: table;
105
+ content: ""
106
+ }
107
+
108
+ .clearfix:after {
109
+ clear: both
110
+ }
111
+
112
+ .hide-text {
113
+ font: 0/0 a;
114
+ color: transparent;
115
+ text-shadow: none;
116
+ background-color: transparent;
117
+ border: 0
118
+ }
119
+
120
+ .input-block-level {
121
+ display: block;
122
+ width: 100%;
123
+ min-height: 28px;
124
+ -webkit-box-sizing: border-box;
125
+ -moz-box-sizing: border-box;
126
+ -ms-box-sizing: border-box;
127
+ box-sizing: border-box
128
+ }
129
+
130
+ body {
131
+ margin: 0;
132
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
133
+ font-size: 13px;
134
+ line-height: 18px;
135
+ color: #333;
136
+ background-color: #fff
137
+ }
138
+
139
+ a {
140
+ color: #08c;
141
+ text-decoration: none
142
+ }
143
+
144
+ a:hover {
145
+ color: #005580;
146
+ text-decoration: underline
147
+ }
148
+
149
+ .row {
150
+ margin-left: -20px;
151
+ *zoom: 1
152
+ }
153
+
154
+ .row:before, .row:after {
155
+ display: table;
156
+ content: ""
157
+ }
158
+
159
+ .row:after {
160
+ clear: both
161
+ }
162
+
163
+ [class*="span"] {
164
+ float: left;
165
+ margin-left: 20px
166
+ }
167
+
168
+ .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
169
+ width: 940px
170
+ }
171
+
172
+ .span12 {
173
+ width: 940px
174
+ }
175
+
176
+ .span11 {
177
+ width: 860px
178
+ }
179
+
180
+ .span10 {
181
+ width: 780px
182
+ }
183
+
184
+ .span9 {
185
+ width: 700px
186
+ }
187
+
188
+ .span8 {
189
+ width: 620px
190
+ }
191
+
192
+ .span7 {
193
+ width: 540px
194
+ }
195
+
196
+ .span6 {
197
+ width: 460px
198
+ }
199
+
200
+ .span5 {
201
+ width: 380px
202
+ }
203
+
204
+ .span4 {
205
+ width: 300px
206
+ }
207
+
208
+ .span3 {
209
+ width: 220px
210
+ }
211
+
212
+ .span2 {
213
+ width: 140px
214
+ }
215
+
216
+ .span1 {
217
+ width: 60px
218
+ }
219
+
220
+ .offset12 {
221
+ margin-left: 980px
222
+ }
223
+
224
+ .offset11 {
225
+ margin-left: 900px
226
+ }
227
+
228
+ .offset10 {
229
+ margin-left: 820px
230
+ }
231
+
232
+ .offset9 {
233
+ margin-left: 740px
234
+ }
235
+
236
+ .offset8 {
237
+ margin-left: 660px
238
+ }
239
+
240
+ .offset7 {
241
+ margin-left: 580px
242
+ }
243
+
244
+ .offset6 {
245
+ margin-left: 500px
246
+ }
247
+
248
+ .offset5 {
249
+ margin-left: 420px
250
+ }
251
+
252
+ .offset4 {
253
+ margin-left: 340px
254
+ }
255
+
256
+ .offset3 {
257
+ margin-left: 260px
258
+ }
259
+
260
+ .offset2 {
261
+ margin-left: 180px
262
+ }
263
+
264
+ .offset1 {
265
+ margin-left: 100px
266
+ }
267
+
268
+ .row-fluid {
269
+ width: 100%;
270
+ *zoom: 1
271
+ }
272
+
273
+ .row-fluid:before, .row-fluid:after {
274
+ display: table;
275
+ content: ""
276
+ }
277
+
278
+ .row-fluid:after {
279
+ clear: both
280
+ }
281
+
282
+ .row-fluid [class*="span"] {
283
+ display: block;
284
+ float: left;
285
+ width: 100%;
286
+ min-height: 28px;
287
+ margin-left: 2.127659574%;
288
+ *margin-left: 2.0744680846382977%;
289
+ -webkit-box-sizing: border-box;
290
+ -moz-box-sizing: border-box;
291
+ -ms-box-sizing: border-box;
292
+ box-sizing: border-box
293
+ }
294
+
295
+ .row-fluid [class*="span"]:first-child {
296
+ margin-left: 0
297
+ }
298
+
299
+ .row-fluid .span12 {
300
+ width: 99.99999998999999%;
301
+ *width: 99.94680850063828%
302
+ }
303
+
304
+ .row-fluid .span11 {
305
+ width: 91.489361693%;
306
+ *width: 91.4361702036383%
307
+ }
308
+
309
+ .row-fluid .span10 {
310
+ width: 82.97872339599999%;
311
+ *width: 82.92553190663828%
312
+ }
313
+
314
+ .row-fluid .span9 {
315
+ width: 74.468085099%;
316
+ *width: 74.4148936096383%
317
+ }
318
+
319
+ .row-fluid .span8 {
320
+ width: 65.95744680199999%;
321
+ *width: 65.90425531263828%
322
+ }
323
+
324
+ .row-fluid .span7 {
325
+ width: 57.446808505%;
326
+ *width: 57.3936170156383%
327
+ }
328
+
329
+ .row-fluid .span6 {
330
+ width: 48.93617020799999%;
331
+ *width: 48.88297871863829%
332
+ }
333
+
334
+ .row-fluid .span5 {
335
+ width: 40.425531911%;
336
+ *width: 40.3723404216383%
337
+ }
338
+
339
+ .row-fluid .span4 {
340
+ width: 31.914893614%;
341
+ *width: 31.8617021246383%
342
+ }
343
+
344
+ .row-fluid .span3 {
345
+ width: 23.404255317%;
346
+ *width: 23.3510638276383%
347
+ }
348
+
349
+ .row-fluid .span2 {
350
+ width: 14.89361702%;
351
+ *width: 14.8404255306383%
352
+ }
353
+
354
+ .row-fluid .span1 {
355
+ width: 6.382978723%;
356
+ *width: 6.329787233638298%
357
+ }
358
+
359
+ .container {
360
+ margin-right: auto;
361
+ margin-left: auto;
362
+ *zoom: 1
363
+ }
364
+
365
+ .container:before, .container:after {
366
+ display: table;
367
+ content: ""
368
+ }
369
+
370
+ .container:after {
371
+ clear: both
372
+ }
373
+
374
+ .container-fluid {
375
+ padding-right: 20px;
376
+ padding-left: 20px;
377
+ *zoom: 1
378
+ }
379
+
380
+ .container-fluid:before, .container-fluid:after {
381
+ display: table;
382
+ content: ""
383
+ }
384
+
385
+ .container-fluid:after {
386
+ clear: both
387
+ }
388
+
389
+ p {
390
+ margin: 0 0 9px;
391
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
392
+ font-size: 13px;
393
+ line-height: 18px
394
+ }
395
+
396
+ p small {
397
+ font-size: 11px;
398
+ color: #999
399
+ }
400
+
401
+ .lead {
402
+ margin-bottom: 18px;
403
+ font-size: 20px;
404
+ font-weight: 200;
405
+ line-height: 27px
406
+ }
407
+
408
+ h1, h2, h3, h4, h5, h6 {
409
+ margin: 0;
410
+ font-family: inherit;
411
+ font-weight: bold;
412
+ color: inherit;
413
+ text-rendering: optimizelegibility
414
+ }
415
+
416
+ h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
417
+ font-weight: normal;
418
+ color: #999
419
+ }
420
+
421
+ h1 {
422
+ font-size: 30px;
423
+ line-height: 36px
424
+ }
425
+
426
+ h1 small {
427
+ font-size: 18px
428
+ }
429
+
430
+ h2 {
431
+ font-size: 24px;
432
+ line-height: 36px
433
+ }
434
+
435
+ h2 small {
436
+ font-size: 18px
437
+ }
438
+
439
+ h3 {
440
+ font-size: 18px;
441
+ line-height: 27px
442
+ }
443
+
444
+ h3 small {
445
+ font-size: 14px
446
+ }
447
+
448
+ h4, h5, h6 {
449
+ line-height: 18px
450
+ }
451
+
452
+ h4 {
453
+ font-size: 14px
454
+ }
455
+
456
+ h4 small {
457
+ font-size: 12px
458
+ }
459
+
460
+ h5 {
461
+ font-size: 12px
462
+ }
463
+
464
+ h6 {
465
+ font-size: 11px;
466
+ color: #999;
467
+ text-transform: uppercase
468
+ }
469
+
470
+ .page-header {
471
+ padding-bottom: 17px;
472
+ margin: 18px 0;
473
+ border-bottom: 1px solid #eee
474
+ }
475
+
476
+ .page-header h1 {
477
+ line-height: 1
478
+ }
479
+
480
+ ul, ol {
481
+ padding: 0;
482
+ margin: 0 0 9px 25px
483
+ }
484
+
485
+ ul ul, ul ol, ol ol, ol ul {
486
+ margin-bottom: 0
487
+ }
488
+
489
+ ul {
490
+ list-style: disc
491
+ }
492
+
493
+ ol {
494
+ list-style: decimal
495
+ }
496
+
497
+ li {
498
+ line-height: 18px
499
+ }
500
+
501
+ ul.unstyled, ol.unstyled {
502
+ margin-left: 0;
503
+ list-style: none
504
+ }
505
+
506
+ dl {
507
+ margin-bottom: 18px
508
+ }
509
+
510
+ dt, dd {
511
+ line-height: 18px
512
+ }
513
+
514
+ dt {
515
+ font-weight: bold;
516
+ line-height: 17px
517
+ }
518
+
519
+ dd {
520
+ margin-left: 9px
521
+ }
522
+
523
+ .dl-horizontal dt {
524
+ float: left;
525
+ width: 120px;
526
+ overflow: hidden;
527
+ clear: left;
528
+ text-align: right;
529
+ text-overflow: ellipsis;
530
+ white-space: nowrap
531
+ }
532
+
533
+ .dl-horizontal dd {
534
+ margin-left: 130px
535
+ }
536
+
537
+ hr {
538
+ margin: 18px 0;
539
+ border: 0;
540
+ border-top: 1px solid #eee;
541
+ border-bottom: 1px solid #fff
542
+ }
543
+
544
+ strong {
545
+ font-weight: bold
546
+ }
547
+
548
+ em {
549
+ font-style: italic
550
+ }
551
+
552
+ .muted {
553
+ color: #999
554
+ }
555
+
556
+ abbr[title] {
557
+ cursor: help;
558
+ border-bottom: 1px dotted #ddd
559
+ }
560
+
561
+ abbr.initialism {
562
+ font-size: 90%;
563
+ text-transform: uppercase
564
+ }
565
+
566
+ blockquote {
567
+ padding: 0 0 0 15px;
568
+ margin: 0 0 18px;
569
+ border-left: 5px solid #eee
570
+ }
571
+
572
+ blockquote p {
573
+ margin-bottom: 0;
574
+ font-size: 16px;
575
+ font-weight: 300;
576
+ line-height: 22.5px
577
+ }
578
+
579
+ blockquote small {
580
+ display: block;
581
+ line-height: 18px;
582
+ color: #999
583
+ }
584
+
585
+ blockquote small:before {
586
+ content: '\2014 \00A0'
587
+ }
588
+
589
+ blockquote.pull-right {
590
+ float: right;
591
+ padding-right: 15px;
592
+ padding-left: 0;
593
+ border-right: 5px solid #eee;
594
+ border-left: 0
595
+ }
596
+
597
+ blockquote.pull-right p, blockquote.pull-right small {
598
+ text-align: right
599
+ }
600
+
601
+ q:before, q:after, blockquote:before, blockquote:after {
602
+ content: ""
603
+ }
604
+
605
+ address {
606
+ display: block;
607
+ margin-bottom: 18px;
608
+ font-style: normal;
609
+ line-height: 18px
610
+ }
611
+
612
+ small {
613
+ font-size: 100%
614
+ }
615
+
616
+ cite {
617
+ font-style: normal
618
+ }
619
+
620
+ code, pre {
621
+ padding: 0 3px 2px;
622
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
623
+ font-size: 12px;
624
+ color: #333;
625
+ -webkit-border-radius: 3px;
626
+ -moz-border-radius: 3px;
627
+ border-radius: 3px
628
+ }
629
+
630
+ code {
631
+ padding: 2px 4px;
632
+ color: #d14;
633
+ background-color: #f7f7f9;
634
+ border: 1px solid #e1e1e8
635
+ }
636
+
637
+ pre {
638
+ display: block;
639
+ padding: 8.5px;
640
+ margin: 0 0 9px;
641
+ font-size: 12.025px;
642
+ line-height: 18px;
643
+ word-break: break-all;
644
+ word-wrap: break-word;
645
+ white-space: pre;
646
+ white-space: pre-wrap;
647
+ background-color: #f5f5f5;
648
+ border: 1px solid #ccc;
649
+ border: 1px solid rgba(0, 0, 0, 0.15);
650
+ -webkit-border-radius: 4px;
651
+ -moz-border-radius: 4px;
652
+ border-radius: 4px
653
+ }
654
+
655
+ pre.prettyprint {
656
+ margin-bottom: 18px
657
+ }
658
+
659
+ pre code {
660
+ padding: 0;
661
+ color: inherit;
662
+ background-color: transparent;
663
+ border: 0
664
+ }
665
+
666
+ .pre-scrollable {
667
+ max-height: 340px;
668
+ overflow-y: scroll
669
+ }
670
+
671
+ form {
672
+ margin: 0 0 18px
673
+ }
674
+
675
+ fieldset {
676
+ padding: 0;
677
+ margin: 0;
678
+ border: 0
679
+ }
680
+
681
+ legend {
682
+ display: block;
683
+ width: 100%;
684
+ padding: 0;
685
+ margin-bottom: 27px;
686
+ font-size: 19.5px;
687
+ line-height: 36px;
688
+ color: #333;
689
+ border: 0;
690
+ border-bottom: 1px solid #eee
691
+ }
692
+
693
+ legend small {
694
+ font-size: 13.5px;
695
+ color: #999
696
+ }
697
+
698
+ label, input, button, select, textarea {
699
+ font-size: 13px;
700
+ font-weight: normal;
701
+ line-height: 18px
702
+ }
703
+
704
+ input, button, select, textarea {
705
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
706
+ }
707
+
708
+ label {
709
+ display: block;
710
+ margin-bottom: 5px;
711
+ color: #333
712
+ }
713
+
714
+ input, textarea, select, .uneditable-input {
715
+ display: inline-block;
716
+ width: 210px;
717
+ height: 18px;
718
+ padding: 4px;
719
+ margin-bottom: 9px;
720
+ font-size: 13px;
721
+ line-height: 18px;
722
+ color: #555;
723
+ background-color: #fff;
724
+ border: 1px solid #ccc;
725
+ -webkit-border-radius: 3px;
726
+ -moz-border-radius: 3px;
727
+ border-radius: 3px
728
+ }
729
+
730
+ .uneditable-textarea {
731
+ width: auto;
732
+ height: auto
733
+ }
734
+
735
+ label input, label textarea, label select {
736
+ display: block
737
+ }
738
+
739
+ input[type="image"], input[type="checkbox"], input[type="radio"] {
740
+ width: auto;
741
+ height: auto;
742
+ padding: 0;
743
+ margin: 3px 0;
744
+ *margin-top: 0;
745
+ line-height: normal;
746
+ cursor: pointer;
747
+ background-color: transparent;
748
+ border: 0 \9;
749
+ -webkit-border-radius: 0;
750
+ -moz-border-radius: 0;
751
+ border-radius: 0
752
+ }
753
+
754
+ input[type="image"] {
755
+ border: 0
756
+ }
757
+
758
+ input[type="file"] {
759
+ width: auto;
760
+ padding: initial;
761
+ line-height: initial;
762
+ background-color: #fff;
763
+ background-color: initial;
764
+ border: initial;
765
+ -webkit-box-shadow: none;
766
+ -moz-box-shadow: none;
767
+ box-shadow: none
768
+ }
769
+
770
+ input[type="button"], input[type="reset"], input[type="submit"] {
771
+ width: auto;
772
+ height: auto
773
+ }
774
+
775
+ select, input[type="file"] {
776
+ height: 28px;
777
+ *margin-top: 4px;
778
+ line-height: 28px
779
+ }
780
+
781
+ input[type="file"] {
782
+ line-height: 18px \9
783
+ }
784
+
785
+ select {
786
+ width: 220px;
787
+ background-color: #fff
788
+ }
789
+
790
+ select[multiple], select[size] {
791
+ height: auto
792
+ }
793
+
794
+ input[type="image"] {
795
+ -webkit-box-shadow: none;
796
+ -moz-box-shadow: none;
797
+ box-shadow: none
798
+ }
799
+
800
+ textarea {
801
+ height: auto
802
+ }
803
+
804
+ input[type="hidden"] {
805
+ display: none
806
+ }
807
+
808
+ .radio, .checkbox {
809
+ min-height: 18px;
810
+ padding-left: 18px
811
+ }
812
+
813
+ .radio input[type="radio"], .checkbox input[type="checkbox"] {
814
+ float: left;
815
+ margin-left: -18px
816
+ }
817
+
818
+ .controls>.radio:first-child, .controls>.checkbox:first-child {
819
+ padding-top: 5px
820
+ }
821
+
822
+ .radio.inline, .checkbox.inline {
823
+ display: inline-block;
824
+ padding-top: 5px;
825
+ margin-bottom: 0;
826
+ vertical-align: middle
827
+ }
828
+
829
+ .radio.inline+.radio.inline, .checkbox.inline+.checkbox.inline {
830
+ margin-left: 10px
831
+ }
832
+
833
+ input, textarea {
834
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
835
+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
836
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
837
+ -webkit-transition: border linear .2s, box-shadow linear .2s;
838
+ -moz-transition: border linear .2s, box-shadow linear .2s;
839
+ -ms-transition: border linear .2s, box-shadow linear .2s;
840
+ -o-transition: border linear .2s, box-shadow linear .2s;
841
+ transition: border linear .2s, box-shadow linear .2s
842
+ }
843
+
844
+ input:focus, textarea:focus {
845
+ border-color: rgba(82, 168, 236, 0.8);
846
+ outline: 0;
847
+ outline: thin dotted \9;
848
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
849
+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
850
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6)
851
+ }
852
+
853
+ input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus, select:focus {
854
+ outline: thin dotted #333;
855
+ outline: 5px auto -webkit-focus-ring-color;
856
+ outline-offset: -2px;
857
+ -webkit-box-shadow: none;
858
+ -moz-box-shadow: none;
859
+ box-shadow: none
860
+ }
861
+
862
+ .input-mini {
863
+ width: 60px
864
+ }
865
+
866
+ .input-small {
867
+ width: 90px
868
+ }
869
+
870
+ .input-medium {
871
+ width: 150px
872
+ }
873
+
874
+ .input-large {
875
+ width: 210px
876
+ }
877
+
878
+ .input-xlarge {
879
+ width: 270px
880
+ }
881
+
882
+ .input-xxlarge {
883
+ width: 530px
884
+ }
885
+
886
+ input[class*="span"], select[class*="span"], textarea[class*="span"], .uneditable-input[class*="span"], .row-fluid input[class*="span"], .row-fluid select[class*="span"], .row-fluid textarea[class*="span"], .row-fluid .uneditable-input[class*="span"] {
887
+ float: none;
888
+ margin-left: 0
889
+ }
890
+
891
+ input, textarea, .uneditable-input {
892
+ margin-left: 0
893
+ }
894
+
895
+ input.span12, textarea.span12, .uneditable-input.span12 {
896
+ width: 930px
897
+ }
898
+
899
+ input.span11, textarea.span11, .uneditable-input.span11 {
900
+ width: 850px
901
+ }
902
+
903
+ input.span10, textarea.span10, .uneditable-input.span10 {
904
+ width: 770px
905
+ }
906
+
907
+ input.span9, textarea.span9, .uneditable-input.span9 {
908
+ width: 690px
909
+ }
910
+
911
+ input.span8, textarea.span8, .uneditable-input.span8 {
912
+ width: 610px
913
+ }
914
+
915
+ input.span7, textarea.span7, .uneditable-input.span7 {
916
+ width: 530px
917
+ }
918
+
919
+ input.span6, textarea.span6, .uneditable-input.span6 {
920
+ width: 450px
921
+ }
922
+
923
+ input.span5, textarea.span5, .uneditable-input.span5 {
924
+ width: 370px
925
+ }
926
+
927
+ input.span4, textarea.span4, .uneditable-input.span4 {
928
+ width: 290px
929
+ }
930
+
931
+ input.span3, textarea.span3, .uneditable-input.span3 {
932
+ width: 210px
933
+ }
934
+
935
+ input.span2, textarea.span2, .uneditable-input.span2 {
936
+ width: 130px
937
+ }
938
+
939
+ input.span1, textarea.span1, .uneditable-input.span1 {
940
+ width: 50px
941
+ }
942
+
943
+ input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
944
+ cursor: not-allowed;
945
+ background-color: #eee;
946
+ border-color: #ddd
947
+ }
948
+
949
+ input[type="radio"][disabled], input[type="checkbox"][disabled], input[type="radio"][readonly], input[type="checkbox"][readonly] {
950
+ background-color: transparent
951
+ }
952
+
953
+ .control-group.warning>label, .control-group.warning .help-block, .control-group.warning .help-inline {
954
+ color: #c09853
955
+ }
956
+
957
+ .control-group.warning input, .control-group.warning select, .control-group.warning textarea {
958
+ color: #c09853;
959
+ border-color: #c09853
960
+ }
961
+
962
+ .control-group.warning input:focus, .control-group.warning select:focus, .control-group.warning textarea:focus {
963
+ border-color: #a47e3c;
964
+ -webkit-box-shadow: 0 0 6px #dbc59e;
965
+ -moz-box-shadow: 0 0 6px #dbc59e;
966
+ box-shadow: 0 0 6px #dbc59e
967
+ }
968
+
969
+ .control-group.warning .input-prepend .add-on, .control-group.warning .input-append .add-on {
970
+ color: #c09853;
971
+ background-color: #fcf8e3;
972
+ border-color: #c09853
973
+ }
974
+
975
+ .control-group.error>label, .control-group.error .help-block, .control-group.error .help-inline {
976
+ color: #b94a48
977
+ }
978
+
979
+ .control-group.error input, .control-group.error select, .control-group.error textarea {
980
+ color: #b94a48;
981
+ border-color: #b94a48
982
+ }
983
+
984
+ .control-group.error input:focus, .control-group.error select:focus, .control-group.error textarea:focus {
985
+ border-color: #953b39;
986
+ -webkit-box-shadow: 0 0 6px #d59392;
987
+ -moz-box-shadow: 0 0 6px #d59392;
988
+ box-shadow: 0 0 6px #d59392
989
+ }
990
+
991
+ .control-group.error .input-prepend .add-on, .control-group.error .input-append .add-on {
992
+ color: #b94a48;
993
+ background-color: #f2dede;
994
+ border-color: #b94a48
995
+ }
996
+
997
+ .control-group.success>label, .control-group.success .help-block, .control-group.success .help-inline {
998
+ color: #468847
999
+ }
1000
+
1001
+ .control-group.success input, .control-group.success select, .control-group.success textarea {
1002
+ color: #468847;
1003
+ border-color: #468847
1004
+ }
1005
+
1006
+ .control-group.success input:focus, .control-group.success select:focus, .control-group.success textarea:focus {
1007
+ border-color: #356635;
1008
+ -webkit-box-shadow: 0 0 6px #7aba7b;
1009
+ -moz-box-shadow: 0 0 6px #7aba7b;
1010
+ box-shadow: 0 0 6px #7aba7b
1011
+ }
1012
+
1013
+ .control-group.success .input-prepend .add-on, .control-group.success .input-append .add-on {
1014
+ color: #468847;
1015
+ background-color: #dff0d8;
1016
+ border-color: #468847
1017
+ }
1018
+
1019
+ input:focus:required:invalid, textarea:focus:required:invalid, select:focus:required:invalid {
1020
+ color: #b94a48;
1021
+ border-color: #ee5f5b
1022
+ }
1023
+
1024
+ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, select:focus:required:invalid:focus {
1025
+ border-color: #e9322d;
1026
+ -webkit-box-shadow: 0 0 6px #f8b9b7;
1027
+ -moz-box-shadow: 0 0 6px #f8b9b7;
1028
+ box-shadow: 0 0 6px #f8b9b7
1029
+ }
1030
+
1031
+ .form-actions {
1032
+ padding: 17px 20px 18px;
1033
+ margin-top: 18px;
1034
+ margin-bottom: 18px;
1035
+ background-color: #f5f5f5;
1036
+ border-top: 1px solid #ddd;
1037
+ *zoom: 1
1038
+ }
1039
+
1040
+ .form-actions:before, .form-actions:after {
1041
+ display: table;
1042
+ content: ""
1043
+ }
1044
+
1045
+ .form-actions:after {
1046
+ clear: both
1047
+ }
1048
+
1049
+ .uneditable-input {
1050
+ overflow: hidden;
1051
+ white-space: nowrap;
1052
+ cursor: not-allowed;
1053
+ background-color: #fff;
1054
+ border-color: #eee;
1055
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
1056
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
1057
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025)
1058
+ }
1059
+
1060
+ :-moz-placeholder {
1061
+ color: #999
1062
+ }
1063
+
1064
+ ::-webkit-input-placeholder {
1065
+ color: #999
1066
+ }
1067
+
1068
+ .help-block, .help-inline {
1069
+ color: #555
1070
+ }
1071
+
1072
+ .help-block {
1073
+ display: block;
1074
+ margin-bottom: 9px
1075
+ }
1076
+
1077
+ .help-inline {
1078
+ display: inline-block;
1079
+ *display: inline;
1080
+ padding-left: 5px;
1081
+ vertical-align: middle;
1082
+ *zoom: 1
1083
+ }
1084
+
1085
+ .input-prepend, .input-append {
1086
+ margin-bottom: 5px
1087
+ }
1088
+
1089
+ .input-prepend input, .input-append input, .input-prepend select, .input-append select, .input-prepend .uneditable-input, .input-append .uneditable-input {
1090
+ position: relative;
1091
+ margin-bottom: 0;
1092
+ *margin-left: 0;
1093
+ vertical-align: middle;
1094
+ -webkit-border-radius: 0 3px 3px 0;
1095
+ -moz-border-radius: 0 3px 3px 0;
1096
+ border-radius: 0 3px 3px 0
1097
+ }
1098
+
1099
+ .input-prepend input:focus, .input-append input:focus, .input-prepend select:focus, .input-append select:focus, .input-prepend .uneditable-input:focus, .input-append .uneditable-input:focus {
1100
+ z-index: 2
1101
+ }
1102
+
1103
+ .input-prepend .uneditable-input, .input-append .uneditable-input {
1104
+ border-left-color: #ccc
1105
+ }
1106
+
1107
+ .input-prepend .add-on, .input-append .add-on {
1108
+ display: inline-block;
1109
+ width: auto;
1110
+ height: 18px;
1111
+ min-width: 16px;
1112
+ padding: 4px 5px;
1113
+ font-weight: normal;
1114
+ line-height: 18px;
1115
+ text-align: center;
1116
+ text-shadow: 0 1px 0 #fff;
1117
+ vertical-align: middle;
1118
+ background-color: #eee;
1119
+ border: 1px solid #ccc
1120
+ }
1121
+
1122
+ .input-prepend .add-on, .input-append .add-on, .input-prepend .btn, .input-append .btn {
1123
+ margin-left: -1px;
1124
+ -webkit-border-radius: 0;
1125
+ -moz-border-radius: 0;
1126
+ border-radius: 0
1127
+ }
1128
+
1129
+ .input-prepend .active, .input-append .active {
1130
+ background-color: #a9dba9;
1131
+ border-color: #46a546
1132
+ }
1133
+
1134
+ .input-prepend .add-on, .input-prepend .btn {
1135
+ margin-right: -1px
1136
+ }
1137
+
1138
+ .input-prepend .add-on:first-child, .input-prepend .btn:first-child {
1139
+ -webkit-border-radius: 3px 0 0 3px;
1140
+ -moz-border-radius: 3px 0 0 3px;
1141
+ border-radius: 3px 0 0 3px
1142
+ }
1143
+
1144
+ .input-append input, .input-append select, .input-append .uneditable-input {
1145
+ -webkit-border-radius: 3px 0 0 3px;
1146
+ -moz-border-radius: 3px 0 0 3px;
1147
+ border-radius: 3px 0 0 3px
1148
+ }
1149
+
1150
+ .input-append .uneditable-input {
1151
+ border-right-color: #ccc;
1152
+ border-left-color: #eee
1153
+ }
1154
+
1155
+ .input-append .add-on:last-child, .input-append .btn:last-child {
1156
+ -webkit-border-radius: 0 3px 3px 0;
1157
+ -moz-border-radius: 0 3px 3px 0;
1158
+ border-radius: 0 3px 3px 0
1159
+ }
1160
+
1161
+ .input-prepend.input-append input, .input-prepend.input-append select, .input-prepend.input-append .uneditable-input {
1162
+ -webkit-border-radius: 0;
1163
+ -moz-border-radius: 0;
1164
+ border-radius: 0
1165
+ }
1166
+
1167
+ .input-prepend.input-append .add-on:first-child, .input-prepend.input-append .btn:first-child {
1168
+ margin-right: -1px;
1169
+ -webkit-border-radius: 3px 0 0 3px;
1170
+ -moz-border-radius: 3px 0 0 3px;
1171
+ border-radius: 3px 0 0 3px
1172
+ }
1173
+
1174
+ .input-prepend.input-append .add-on:last-child, .input-prepend.input-append .btn:last-child {
1175
+ margin-left: -1px;
1176
+ -webkit-border-radius: 0 3px 3px 0;
1177
+ -moz-border-radius: 0 3px 3px 0;
1178
+ border-radius: 0 3px 3px 0
1179
+ }
1180
+
1181
+ .search-query {
1182
+ padding-right: 14px;
1183
+ padding-right: 4px \9;
1184
+ padding-left: 14px;
1185
+ padding-left: 4px \9;
1186
+ margin-bottom: 0;
1187
+ -webkit-border-radius: 14px;
1188
+ -moz-border-radius: 14px;
1189
+ border-radius: 14px
1190
+ }
1191
+
1192
+ .form-search input, .form-inline input, .form-horizontal input, .form-search textarea, .form-inline textarea, .form-horizontal textarea, .form-search select, .form-inline select, .form-horizontal select, .form-search .help-inline, .form-inline .help-inline, .form-horizontal .help-inline, .form-search .uneditable-input, .form-inline .uneditable-input, .form-horizontal .uneditable-input, .form-search .input-prepend, .form-inline .input-prepend, .form-horizontal .input-prepend, .form-search .input-append, .form-inline .input-append, .form-horizontal .input-append {
1193
+ display: inline-block;
1194
+ *display: inline;
1195
+ margin-bottom: 0;
1196
+ *zoom: 1
1197
+ }
1198
+
1199
+ .form-search .hide, .form-inline .hide, .form-horizontal .hide {
1200
+ display: none
1201
+ }
1202
+
1203
+ .form-search label, .form-inline label {
1204
+ display: inline-block
1205
+ }
1206
+
1207
+ .form-search .input-append, .form-inline .input-append, .form-search .input-prepend, .form-inline .input-prepend {
1208
+ margin-bottom: 0
1209
+ }
1210
+
1211
+ .form-search .radio, .form-search .checkbox, .form-inline .radio, .form-inline .checkbox {
1212
+ padding-left: 0;
1213
+ margin-bottom: 0;
1214
+ vertical-align: middle
1215
+ }
1216
+
1217
+ .form-search .radio input[type="radio"], .form-search .checkbox input[type="checkbox"], .form-inline .radio input[type="radio"], .form-inline .checkbox input[type="checkbox"] {
1218
+ float: left;
1219
+ margin-right: 3px;
1220
+ margin-left: 0
1221
+ }
1222
+
1223
+ .control-group {
1224
+ margin-bottom: 9px
1225
+ }
1226
+
1227
+ legend+.control-group {
1228
+ margin-top: 18px;
1229
+ -webkit-margin-top-collapse: separate
1230
+ }
1231
+
1232
+ .form-horizontal .control-group {
1233
+ margin-bottom: 18px;
1234
+ *zoom: 1
1235
+ }
1236
+
1237
+ .form-horizontal .control-group:before, .form-horizontal .control-group:after {
1238
+ display: table;
1239
+ content: ""
1240
+ }
1241
+
1242
+ .form-horizontal .control-group:after {
1243
+ clear: both
1244
+ }
1245
+
1246
+ .form-horizontal .control-label {
1247
+ float: left;
1248
+ width: 140px;
1249
+ padding-top: 5px;
1250
+ text-align: right
1251
+ }
1252
+
1253
+ .form-horizontal .controls {
1254
+ *display: inline-block;
1255
+ *padding-left: 20px;
1256
+ margin-left: 160px;
1257
+ *margin-left: 0
1258
+ }
1259
+
1260
+ .form-horizontal .controls:first-child {
1261
+ *padding-left: 160px
1262
+ }
1263
+
1264
+ .form-horizontal .help-block {
1265
+ margin-top: 9px;
1266
+ margin-bottom: 0
1267
+ }
1268
+
1269
+ .form-horizontal .form-actions {
1270
+ padding-left: 160px
1271
+ }
1272
+
1273
+ table {
1274
+ max-width: 100%;
1275
+ background-color: transparent;
1276
+ border-collapse: collapse;
1277
+ border-spacing: 0
1278
+ }
1279
+
1280
+ .table {
1281
+ width: 100%;
1282
+ margin-bottom: 18px
1283
+ }
1284
+
1285
+ .table th, .table td {
1286
+ padding: 8px;
1287
+ line-height: 18px;
1288
+ text-align: left;
1289
+ vertical-align: top;
1290
+ border-top: 1px solid #ddd
1291
+ }
1292
+
1293
+ .table th {
1294
+ font-weight: bold
1295
+ }
1296
+
1297
+ .table thead th {
1298
+ vertical-align: bottom
1299
+ }
1300
+
1301
+ .table caption+thead tr:first-child th, .table caption+thead tr:first-child td, .table colgroup+thead tr:first-child th, .table colgroup+thead tr:first-child td, .table thead:first-child tr:first-child th, .table thead:first-child tr:first-child td {
1302
+ border-top: 0
1303
+ }
1304
+
1305
+ .table tbody+tbody {
1306
+ border-top: 2px solid #ddd
1307
+ }
1308
+
1309
+ .table-condensed th, .table-condensed td {
1310
+ padding: 4px 5px
1311
+ }
1312
+
1313
+ .table-bordered {
1314
+ border: 1px solid #ddd;
1315
+ border-collapse: separate;
1316
+ *border-collapse: collapsed;
1317
+ border-left: 0;
1318
+ -webkit-border-radius: 4px;
1319
+ -moz-border-radius: 4px;
1320
+ border-radius: 4px
1321
+ }
1322
+
1323
+ .table-bordered th, .table-bordered td {
1324
+ border-left: 1px solid #ddd
1325
+ }
1326
+
1327
+ .table-bordered caption+thead tr:first-child th, .table-bordered caption+tbody tr:first-child th, .table-bordered caption+tbody tr:first-child td, .table-bordered colgroup+thead tr:first-child th, .table-bordered colgroup+tbody tr:first-child th, .table-bordered colgroup+tbody tr:first-child td, .table-bordered thead:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child td {
1328
+ border-top: 0
1329
+ }
1330
+
1331
+ .table-bordered thead:first-child tr:first-child th:first-child, .table-bordered tbody:first-child tr:first-child td:first-child {
1332
+ -webkit-border-top-left-radius: 4px;
1333
+ border-top-left-radius: 4px;
1334
+ -moz-border-radius-topleft: 4px
1335
+ }
1336
+
1337
+ .table-bordered thead:first-child tr:first-child th:last-child, .table-bordered tbody:first-child tr:first-child td:last-child {
1338
+ -webkit-border-top-right-radius: 4px;
1339
+ border-top-right-radius: 4px;
1340
+ -moz-border-radius-topright: 4px
1341
+ }
1342
+
1343
+ .table-bordered thead:last-child tr:last-child th:first-child, .table-bordered tbody:last-child tr:last-child td:first-child {
1344
+ -webkit-border-radius: 0 0 0 4px;
1345
+ -moz-border-radius: 0 0 0 4px;
1346
+ border-radius: 0 0 0 4px;
1347
+ -webkit-border-bottom-left-radius: 4px;
1348
+ border-bottom-left-radius: 4px;
1349
+ -moz-border-radius-bottomleft: 4px
1350
+ }
1351
+
1352
+ .table-bordered thead:last-child tr:last-child th:last-child, .table-bordered tbody:last-child tr:last-child td:last-child {
1353
+ -webkit-border-bottom-right-radius: 4px;
1354
+ border-bottom-right-radius: 4px;
1355
+ -moz-border-radius-bottomright: 4px
1356
+ }
1357
+
1358
+ .table-striped tbody tr:nth-child(odd) td, .table-striped tbody tr:nth-child(odd) th {
1359
+ background-color: #f9f9f9
1360
+ }
1361
+
1362
+ .table tbody tr:hover td, .table tbody tr:hover th {
1363
+ background-color: #f5f5f5
1364
+ }
1365
+
1366
+ table .span1 {
1367
+ float: none;
1368
+ width: 44px;
1369
+ margin-left: 0
1370
+ }
1371
+
1372
+ table .span2 {
1373
+ float: none;
1374
+ width: 124px;
1375
+ margin-left: 0
1376
+ }
1377
+
1378
+ table .span3 {
1379
+ float: none;
1380
+ width: 204px;
1381
+ margin-left: 0
1382
+ }
1383
+
1384
+ table .span4 {
1385
+ float: none;
1386
+ width: 284px;
1387
+ margin-left: 0
1388
+ }
1389
+
1390
+ table .span5 {
1391
+ float: none;
1392
+ width: 364px;
1393
+ margin-left: 0
1394
+ }
1395
+
1396
+ table .span6 {
1397
+ float: none;
1398
+ width: 444px;
1399
+ margin-left: 0
1400
+ }
1401
+
1402
+ table .span7 {
1403
+ float: none;
1404
+ width: 524px;
1405
+ margin-left: 0
1406
+ }
1407
+
1408
+ table .span8 {
1409
+ float: none;
1410
+ width: 604px;
1411
+ margin-left: 0
1412
+ }
1413
+
1414
+ table .span9 {
1415
+ float: none;
1416
+ width: 684px;
1417
+ margin-left: 0
1418
+ }
1419
+
1420
+ table .span10 {
1421
+ float: none;
1422
+ width: 764px;
1423
+ margin-left: 0
1424
+ }
1425
+
1426
+ table .span11 {
1427
+ float: none;
1428
+ width: 844px;
1429
+ margin-left: 0
1430
+ }
1431
+
1432
+ table .span12 {
1433
+ float: none;
1434
+ width: 924px;
1435
+ margin-left: 0
1436
+ }
1437
+
1438
+ table .span13 {
1439
+ float: none;
1440
+ width: 1004px;
1441
+ margin-left: 0
1442
+ }
1443
+
1444
+ table .span14 {
1445
+ float: none;
1446
+ width: 1084px;
1447
+ margin-left: 0
1448
+ }
1449
+
1450
+ table .span15 {
1451
+ float: none;
1452
+ width: 1164px;
1453
+ margin-left: 0
1454
+ }
1455
+
1456
+ table .span16 {
1457
+ float: none;
1458
+ width: 1244px;
1459
+ margin-left: 0
1460
+ }
1461
+
1462
+ table .span17 {
1463
+ float: none;
1464
+ width: 1324px;
1465
+ margin-left: 0
1466
+ }
1467
+
1468
+ table .span18 {
1469
+ float: none;
1470
+ width: 1404px;
1471
+ margin-left: 0
1472
+ }
1473
+
1474
+ table .span19 {
1475
+ float: none;
1476
+ width: 1484px;
1477
+ margin-left: 0
1478
+ }
1479
+
1480
+ table .span20 {
1481
+ float: none;
1482
+ width: 1564px;
1483
+ margin-left: 0
1484
+ }
1485
+
1486
+ table .span21 {
1487
+ float: none;
1488
+ width: 1644px;
1489
+ margin-left: 0
1490
+ }
1491
+
1492
+ table .span22 {
1493
+ float: none;
1494
+ width: 1724px;
1495
+ margin-left: 0
1496
+ }
1497
+
1498
+ table .span23 {
1499
+ float: none;
1500
+ width: 1804px;
1501
+ margin-left: 0
1502
+ }
1503
+
1504
+ table .span24 {
1505
+ float: none;
1506
+ width: 1884px;
1507
+ margin-left: 0
1508
+ }
1509
+
1510
+ [class^="icon-"], [class*=" icon-"] {
1511
+ display: inline-block;
1512
+ width: 14px;
1513
+ height: 14px;
1514
+ *margin-right: .3em;
1515
+ line-height: 14px;
1516
+ vertical-align: text-top;
1517
+ background-image: url("../img/glyphicons-halflings.png");
1518
+ background-position: 14px 14px;
1519
+ background-repeat: no-repeat
1520
+ }
1521
+
1522
+ [class^="icon-"]:last-child, [class*=" icon-"]:last-child {
1523
+ *margin-left: 0
1524
+ }
1525
+
1526
+ .icon-white {
1527
+ background-image: url("../img/glyphicons-halflings-white.png")
1528
+ }
1529
+
1530
+ .icon-glass {
1531
+ background-position: 0 0
1532
+ }
1533
+
1534
+ .icon-music {
1535
+ background-position: -24px 0
1536
+ }
1537
+
1538
+ .icon-search {
1539
+ background-position: -48px 0
1540
+ }
1541
+
1542
+ .icon-envelope {
1543
+ background-position: -72px 0
1544
+ }
1545
+
1546
+ .icon-heart {
1547
+ background-position: -96px 0
1548
+ }
1549
+
1550
+ .icon-star {
1551
+ background-position: -120px 0
1552
+ }
1553
+
1554
+ .icon-star-empty {
1555
+ background-position: -144px 0
1556
+ }
1557
+
1558
+ .icon-user {
1559
+ background-position: -168px 0
1560
+ }
1561
+
1562
+ .icon-film {
1563
+ background-position: -192px 0
1564
+ }
1565
+
1566
+ .icon-th-large {
1567
+ background-position: -216px 0
1568
+ }
1569
+
1570
+ .icon-th {
1571
+ background-position: -240px 0
1572
+ }
1573
+
1574
+ .icon-th-list {
1575
+ background-position: -264px 0
1576
+ }
1577
+
1578
+ .icon-ok {
1579
+ background-position: -288px 0
1580
+ }
1581
+
1582
+ .icon-remove {
1583
+ background-position: -312px 0
1584
+ }
1585
+
1586
+ .icon-zoom-in {
1587
+ background-position: -336px 0
1588
+ }
1589
+
1590
+ .icon-zoom-out {
1591
+ background-position: -360px 0
1592
+ }
1593
+
1594
+ .icon-off {
1595
+ background-position: -384px 0
1596
+ }
1597
+
1598
+ .icon-signal {
1599
+ background-position: -408px 0
1600
+ }
1601
+
1602
+ .icon-cog {
1603
+ background-position: -432px 0
1604
+ }
1605
+
1606
+ .icon-trash {
1607
+ background-position: -456px 0
1608
+ }
1609
+
1610
+ .icon-home {
1611
+ background-position: 0 -24px
1612
+ }
1613
+
1614
+ .icon-file {
1615
+ background-position: -24px -24px
1616
+ }
1617
+
1618
+ .icon-time {
1619
+ background-position: -48px -24px
1620
+ }
1621
+
1622
+ .icon-road {
1623
+ background-position: -72px -24px
1624
+ }
1625
+
1626
+ .icon-download-alt {
1627
+ background-position: -96px -24px
1628
+ }
1629
+
1630
+ .icon-download {
1631
+ background-position: -120px -24px
1632
+ }
1633
+
1634
+ .icon-upload {
1635
+ background-position: -144px -24px
1636
+ }
1637
+
1638
+ .icon-inbox {
1639
+ background-position: -168px -24px
1640
+ }
1641
+
1642
+ .icon-play-circle {
1643
+ background-position: -192px -24px
1644
+ }
1645
+
1646
+ .icon-repeat {
1647
+ background-position: -216px -24px
1648
+ }
1649
+
1650
+ .icon-refresh {
1651
+ background-position: -240px -24px
1652
+ }
1653
+
1654
+ .icon-list-alt {
1655
+ background-position: -264px -24px
1656
+ }
1657
+
1658
+ .icon-lock {
1659
+ background-position: -287px -24px
1660
+ }
1661
+
1662
+ .icon-flag {
1663
+ background-position: -312px -24px
1664
+ }
1665
+
1666
+ .icon-headphones {
1667
+ background-position: -336px -24px
1668
+ }
1669
+
1670
+ .icon-volume-off {
1671
+ background-position: -360px -24px
1672
+ }
1673
+
1674
+ .icon-volume-down {
1675
+ background-position: -384px -24px
1676
+ }
1677
+
1678
+ .icon-volume-up {
1679
+ background-position: -408px -24px
1680
+ }
1681
+
1682
+ .icon-qrcode {
1683
+ background-position: -432px -24px
1684
+ }
1685
+
1686
+ .icon-barcode {
1687
+ background-position: -456px -24px
1688
+ }
1689
+
1690
+ .icon-tag {
1691
+ background-position: 0 -48px
1692
+ }
1693
+
1694
+ .icon-tags {
1695
+ background-position: -25px -48px
1696
+ }
1697
+
1698
+ .icon-book {
1699
+ background-position: -48px -48px
1700
+ }
1701
+
1702
+ .icon-bookmark {
1703
+ background-position: -72px -48px
1704
+ }
1705
+
1706
+ .icon-print {
1707
+ background-position: -96px -48px
1708
+ }
1709
+
1710
+ .icon-camera {
1711
+ background-position: -120px -48px
1712
+ }
1713
+
1714
+ .icon-font {
1715
+ background-position: -144px -48px
1716
+ }
1717
+
1718
+ .icon-bold {
1719
+ background-position: -167px -48px
1720
+ }
1721
+
1722
+ .icon-italic {
1723
+ background-position: -192px -48px
1724
+ }
1725
+
1726
+ .icon-text-height {
1727
+ background-position: -216px -48px
1728
+ }
1729
+
1730
+ .icon-text-width {
1731
+ background-position: -240px -48px
1732
+ }
1733
+
1734
+ .icon-align-left {
1735
+ background-position: -264px -48px
1736
+ }
1737
+
1738
+ .icon-align-center {
1739
+ background-position: -288px -48px
1740
+ }
1741
+
1742
+ .icon-align-right {
1743
+ background-position: -312px -48px
1744
+ }
1745
+
1746
+ .icon-align-justify {
1747
+ background-position: -336px -48px
1748
+ }
1749
+
1750
+ .icon-list {
1751
+ background-position: -360px -48px
1752
+ }
1753
+
1754
+ .icon-indent-left {
1755
+ background-position: -384px -48px
1756
+ }
1757
+
1758
+ .icon-indent-right {
1759
+ background-position: -408px -48px
1760
+ }
1761
+
1762
+ .icon-facetime-video {
1763
+ background-position: -432px -48px
1764
+ }
1765
+
1766
+ .icon-picture {
1767
+ background-position: -456px -48px
1768
+ }
1769
+
1770
+ .icon-pencil {
1771
+ background-position: 0 -72px
1772
+ }
1773
+
1774
+ .icon-map-marker {
1775
+ background-position: -24px -72px
1776
+ }
1777
+
1778
+ .icon-adjust {
1779
+ background-position: -48px -72px
1780
+ }
1781
+
1782
+ .icon-tint {
1783
+ background-position: -72px -72px
1784
+ }
1785
+
1786
+ .icon-edit {
1787
+ background-position: -96px -72px
1788
+ }
1789
+
1790
+ .icon-share {
1791
+ background-position: -120px -72px
1792
+ }
1793
+
1794
+ .icon-check {
1795
+ background-position: -144px -72px
1796
+ }
1797
+
1798
+ .icon-move {
1799
+ background-position: -168px -72px
1800
+ }
1801
+
1802
+ .icon-step-backward {
1803
+ background-position: -192px -72px
1804
+ }
1805
+
1806
+ .icon-fast-backward {
1807
+ background-position: -216px -72px
1808
+ }
1809
+
1810
+ .icon-backward {
1811
+ background-position: -240px -72px
1812
+ }
1813
+
1814
+ .icon-play {
1815
+ background-position: -264px -72px
1816
+ }
1817
+
1818
+ .icon-pause {
1819
+ background-position: -288px -72px
1820
+ }
1821
+
1822
+ .icon-stop {
1823
+ background-position: -312px -72px
1824
+ }
1825
+
1826
+ .icon-forward {
1827
+ background-position: -336px -72px
1828
+ }
1829
+
1830
+ .icon-fast-forward {
1831
+ background-position: -360px -72px
1832
+ }
1833
+
1834
+ .icon-step-forward {
1835
+ background-position: -384px -72px
1836
+ }
1837
+
1838
+ .icon-eject {
1839
+ background-position: -408px -72px
1840
+ }
1841
+
1842
+ .icon-chevron-left {
1843
+ background-position: -432px -72px
1844
+ }
1845
+
1846
+ .icon-chevron-right {
1847
+ background-position: -456px -72px
1848
+ }
1849
+
1850
+ .icon-plus-sign {
1851
+ background-position: 0 -96px
1852
+ }
1853
+
1854
+ .icon-minus-sign {
1855
+ background-position: -24px -96px
1856
+ }
1857
+
1858
+ .icon-remove-sign {
1859
+ background-position: -48px -96px
1860
+ }
1861
+
1862
+ .icon-ok-sign {
1863
+ background-position: -72px -96px
1864
+ }
1865
+
1866
+ .icon-question-sign {
1867
+ background-position: -96px -96px
1868
+ }
1869
+
1870
+ .icon-info-sign {
1871
+ background-position: -120px -96px
1872
+ }
1873
+
1874
+ .icon-screenshot {
1875
+ background-position: -144px -96px
1876
+ }
1877
+
1878
+ .icon-remove-circle {
1879
+ background-position: -168px -96px
1880
+ }
1881
+
1882
+ .icon-ok-circle {
1883
+ background-position: -192px -96px
1884
+ }
1885
+
1886
+ .icon-ban-circle {
1887
+ background-position: -216px -96px
1888
+ }
1889
+
1890
+ .icon-arrow-left {
1891
+ background-position: -240px -96px
1892
+ }
1893
+
1894
+ .icon-arrow-right {
1895
+ background-position: -264px -96px
1896
+ }
1897
+
1898
+ .icon-arrow-up {
1899
+ background-position: -289px -96px
1900
+ }
1901
+
1902
+ .icon-arrow-down {
1903
+ background-position: -312px -96px
1904
+ }
1905
+
1906
+ .icon-share-alt {
1907
+ background-position: -336px -96px
1908
+ }
1909
+
1910
+ .icon-resize-full {
1911
+ background-position: -360px -96px
1912
+ }
1913
+
1914
+ .icon-resize-small {
1915
+ background-position: -384px -96px
1916
+ }
1917
+
1918
+ .icon-plus {
1919
+ background-position: -408px -96px
1920
+ }
1921
+
1922
+ .icon-minus {
1923
+ background-position: -433px -96px
1924
+ }
1925
+
1926
+ .icon-asterisk {
1927
+ background-position: -456px -96px
1928
+ }
1929
+
1930
+ .icon-exclamation-sign {
1931
+ background-position: 0 -120px
1932
+ }
1933
+
1934
+ .icon-gift {
1935
+ background-position: -24px -120px
1936
+ }
1937
+
1938
+ .icon-leaf {
1939
+ background-position: -48px -120px
1940
+ }
1941
+
1942
+ .icon-fire {
1943
+ background-position: -72px -120px
1944
+ }
1945
+
1946
+ .icon-eye-open {
1947
+ background-position: -96px -120px
1948
+ }
1949
+
1950
+ .icon-eye-close {
1951
+ background-position: -120px -120px
1952
+ }
1953
+
1954
+ .icon-warning-sign {
1955
+ background-position: -144px -120px
1956
+ }
1957
+
1958
+ .icon-plane {
1959
+ background-position: -168px -120px
1960
+ }
1961
+
1962
+ .icon-calendar {
1963
+ background-position: -192px -120px
1964
+ }
1965
+
1966
+ .icon-random {
1967
+ background-position: -216px -120px
1968
+ }
1969
+
1970
+ .icon-comment {
1971
+ background-position: -240px -120px
1972
+ }
1973
+
1974
+ .icon-magnet {
1975
+ background-position: -264px -120px
1976
+ }
1977
+
1978
+ .icon-chevron-up {
1979
+ background-position: -288px -120px
1980
+ }
1981
+
1982
+ .icon-chevron-down {
1983
+ background-position: -313px -119px
1984
+ }
1985
+
1986
+ .icon-retweet {
1987
+ background-position: -336px -120px
1988
+ }
1989
+
1990
+ .icon-shopping-cart {
1991
+ background-position: -360px -120px
1992
+ }
1993
+
1994
+ .icon-folder-close {
1995
+ background-position: -384px -120px
1996
+ }
1997
+
1998
+ .icon-folder-open {
1999
+ background-position: -408px -120px
2000
+ }
2001
+
2002
+ .icon-resize-vertical {
2003
+ background-position: -432px -119px
2004
+ }
2005
+
2006
+ .icon-resize-horizontal {
2007
+ background-position: -456px -118px
2008
+ }
2009
+
2010
+ .icon-hdd {
2011
+ background-position: 0 -144px
2012
+ }
2013
+
2014
+ .icon-bullhorn {
2015
+ background-position: -24px -144px
2016
+ }
2017
+
2018
+ .icon-bell {
2019
+ background-position: -48px -144px
2020
+ }
2021
+
2022
+ .icon-certificate {
2023
+ background-position: -72px -144px
2024
+ }
2025
+
2026
+ .icon-thumbs-up {
2027
+ background-position: -96px -144px
2028
+ }
2029
+
2030
+ .icon-thumbs-down {
2031
+ background-position: -120px -144px
2032
+ }
2033
+
2034
+ .icon-hand-right {
2035
+ background-position: -144px -144px
2036
+ }
2037
+
2038
+ .icon-hand-left {
2039
+ background-position: -168px -144px
2040
+ }
2041
+
2042
+ .icon-hand-up {
2043
+ background-position: -192px -144px
2044
+ }
2045
+
2046
+ .icon-hand-down {
2047
+ background-position: -216px -144px
2048
+ }
2049
+
2050
+ .icon-circle-arrow-right {
2051
+ background-position: -240px -144px
2052
+ }
2053
+
2054
+ .icon-circle-arrow-left {
2055
+ background-position: -264px -144px
2056
+ }
2057
+
2058
+ .icon-circle-arrow-up {
2059
+ background-position: -288px -144px
2060
+ }
2061
+
2062
+ .icon-circle-arrow-down {
2063
+ background-position: -312px -144px
2064
+ }
2065
+
2066
+ .icon-globe {
2067
+ background-position: -336px -144px
2068
+ }
2069
+
2070
+ .icon-wrench {
2071
+ background-position: -360px -144px
2072
+ }
2073
+
2074
+ .icon-tasks {
2075
+ background-position: -384px -144px
2076
+ }
2077
+
2078
+ .icon-filter {
2079
+ background-position: -408px -144px
2080
+ }
2081
+
2082
+ .icon-briefcase {
2083
+ background-position: -432px -144px
2084
+ }
2085
+
2086
+ .icon-fullscreen {
2087
+ background-position: -456px -144px
2088
+ }
2089
+
2090
+ .dropup, .dropdown {
2091
+ position: relative
2092
+ }
2093
+
2094
+ .dropdown-toggle {
2095
+ *margin-bottom: -3px
2096
+ }
2097
+
2098
+ .dropdown-toggle:active, .open .dropdown-toggle {
2099
+ outline: 0
2100
+ }
2101
+
2102
+ .caret {
2103
+ display: inline-block;
2104
+ width: 0;
2105
+ height: 0;
2106
+ vertical-align: top;
2107
+ border-top: 4px solid #000;
2108
+ border-right: 4px solid transparent;
2109
+ border-left: 4px solid transparent;
2110
+ content: "";
2111
+ opacity: .3;
2112
+ filter: alpha(opacity=30)
2113
+ }
2114
+
2115
+ .dropdown .caret {
2116
+ margin-top: 8px;
2117
+ margin-left: 2px
2118
+ }
2119
+
2120
+ .dropdown:hover .caret, .open .caret {
2121
+ opacity: 1;
2122
+ filter: alpha(opacity=100)
2123
+ }
2124
+
2125
+ .dropdown-menu {
2126
+ position: absolute;
2127
+ top: 100%;
2128
+ left: 0;
2129
+ z-index: 1000;
2130
+ display: none;
2131
+ float: left;
2132
+ min-width: 160px;
2133
+ padding: 4px 0;
2134
+ margin: 1px 0 0;
2135
+ list-style: none;
2136
+ background-color: #fff;
2137
+ border: 1px solid #ccc;
2138
+ border: 1px solid rgba(0, 0, 0, 0.2);
2139
+ *border-right-width: 2px;
2140
+ *border-bottom-width: 2px;
2141
+ -webkit-border-radius: 5px;
2142
+ -moz-border-radius: 5px;
2143
+ border-radius: 5px;
2144
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2145
+ -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2146
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2147
+ -webkit-background-clip: padding-box;
2148
+ -moz-background-clip: padding;
2149
+ background-clip: padding-box
2150
+ }
2151
+
2152
+ .dropdown-menu.pull-right {
2153
+ right: 0;
2154
+ left: auto
2155
+ }
2156
+
2157
+ .dropdown-menu .divider {
2158
+ *width: 100%;
2159
+ height: 1px;
2160
+ margin: 8px 1px;
2161
+ *margin: -5px 0 5px;
2162
+ overflow: hidden;
2163
+ background-color: #e5e5e5;
2164
+ border-bottom: 1px solid #fff
2165
+ }
2166
+
2167
+ .dropdown-menu a {
2168
+ display: block;
2169
+ padding: 3px 15px;
2170
+ clear: both;
2171
+ font-weight: normal;
2172
+ line-height: 18px;
2173
+ color: #333;
2174
+ white-space: nowrap
2175
+ }
2176
+
2177
+ .dropdown-menu li>a:hover, .dropdown-menu .active>a, .dropdown-menu .active>a:hover {
2178
+ color: #fff;
2179
+ text-decoration: none;
2180
+ background-color: #08c
2181
+ }
2182
+
2183
+ .open {
2184
+ *z-index: 1000
2185
+ }
2186
+
2187
+ .open .dropdown-menu {
2188
+ display: block
2189
+ }
2190
+
2191
+ .pull-right .dropdown-menu {
2192
+ right: 0;
2193
+ left: auto
2194
+ }
2195
+
2196
+ .dropup .caret, .navbar-fixed-bottom .dropdown .caret {
2197
+ border-top: 0;
2198
+ border-bottom: 4px solid #000;
2199
+ content: "\2191"
2200
+ }
2201
+
2202
+ .dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu {
2203
+ top: auto;
2204
+ bottom: 100%;
2205
+ margin-bottom: 1px
2206
+ }
2207
+
2208
+ .typeahead {
2209
+ margin-top: 2px;
2210
+ -webkit-border-radius: 4px;
2211
+ -moz-border-radius: 4px;
2212
+ border-radius: 4px
2213
+ }
2214
+
2215
+ .well {
2216
+ min-height: 20px;
2217
+ padding: 19px;
2218
+ margin-bottom: 20px;
2219
+ background-color: #f5f5f5;
2220
+ border: 1px solid #eee;
2221
+ border: 1px solid rgba(0, 0, 0, 0.05);
2222
+ -webkit-border-radius: 4px;
2223
+ -moz-border-radius: 4px;
2224
+ border-radius: 4px;
2225
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
2226
+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
2227
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05)
2228
+ }
2229
+
2230
+ .well blockquote {
2231
+ border-color: #ddd;
2232
+ border-color: rgba(0, 0, 0, 0.15)
2233
+ }
2234
+
2235
+ .well-large {
2236
+ padding: 24px;
2237
+ -webkit-border-radius: 6px;
2238
+ -moz-border-radius: 6px;
2239
+ border-radius: 6px
2240
+ }
2241
+
2242
+ .well-small {
2243
+ padding: 9px;
2244
+ -webkit-border-radius: 3px;
2245
+ -moz-border-radius: 3px;
2246
+ border-radius: 3px
2247
+ }
2248
+
2249
+ .fade {
2250
+ opacity: 0;
2251
+ filter: alpha(opacity=0);
2252
+ -webkit-transition: opacity .15s linear;
2253
+ -moz-transition: opacity .15s linear;
2254
+ -ms-transition: opacity .15s linear;
2255
+ -o-transition: opacity .15s linear;
2256
+ transition: opacity .15s linear
2257
+ }
2258
+
2259
+ .fade.in {
2260
+ opacity: 1;
2261
+ filter: alpha(opacity=100)
2262
+ }
2263
+
2264
+ .collapse {
2265
+ position: relative;
2266
+ height: 0;
2267
+ overflow: hidden;
2268
+ -webkit-transition: height .35s ease;
2269
+ -moz-transition: height .35s ease;
2270
+ -ms-transition: height .35s ease;
2271
+ -o-transition: height .35s ease;
2272
+ transition: height .35s ease
2273
+ }
2274
+
2275
+ .collapse.in {
2276
+ height: auto
2277
+ }
2278
+
2279
+ .close {
2280
+ float: right;
2281
+ font-size: 20px;
2282
+ font-weight: bold;
2283
+ line-height: 18px;
2284
+ color: #000;
2285
+ text-shadow: 0 1px 0 #fff;
2286
+ opacity: .2;
2287
+ filter: alpha(opacity=20)
2288
+ }
2289
+
2290
+ .close:hover {
2291
+ color: #000;
2292
+ text-decoration: none;
2293
+ cursor: pointer;
2294
+ opacity: .4;
2295
+ filter: alpha(opacity=40)
2296
+ }
2297
+
2298
+ button.close {
2299
+ padding: 0;
2300
+ cursor: pointer;
2301
+ background: transparent;
2302
+ border: 0;
2303
+ -webkit-appearance: none
2304
+ }
2305
+
2306
+ .btn {
2307
+ display: inline-block;
2308
+ *display: inline;
2309
+ padding: 4px 10px 4px;
2310
+ margin-bottom: 0;
2311
+ *margin-left: .3em;
2312
+ font-size: 13px;
2313
+ line-height: 18px;
2314
+ *line-height: 20px;
2315
+ color: #333;
2316
+ text-align: center;
2317
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
2318
+ vertical-align: middle;
2319
+ cursor: pointer;
2320
+ background-color: #f5f5f5;
2321
+ *background-color: #e6e6e6;
2322
+ background-image: -ms-linear-gradient(top, #fff, #e6e6e6);
2323
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
2324
+ background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
2325
+ background-image: -o-linear-gradient(top, #fff, #e6e6e6);
2326
+ background-image: linear-gradient(top, #fff, #e6e6e6);
2327
+ background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
2328
+ background-repeat: repeat-x;
2329
+ border: 1px solid #ccc;
2330
+ *border: 0;
2331
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
2332
+ border-color: #e6e6e6 #e6e6e6 #bfbfbf;
2333
+ border-bottom-color: #b3b3b3;
2334
+ -webkit-border-radius: 4px;
2335
+ -moz-border-radius: 4px;
2336
+ border-radius: 4px;
2337
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
2338
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
2339
+ *zoom: 1;
2340
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
2341
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
2342
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05)
2343
+ }
2344
+
2345
+ .btn:hover, .btn:active, .btn.active, .btn.disabled, .btn[disabled] {
2346
+ background-color: #e6e6e6;
2347
+ *background-color: #d9d9d9
2348
+ }
2349
+
2350
+ .btn:active, .btn.active {
2351
+ background-color: #ccc \9
2352
+ }
2353
+
2354
+ .btn:first-child {
2355
+ *margin-left: 0
2356
+ }
2357
+
2358
+ .btn:hover {
2359
+ color: #333;
2360
+ text-decoration: none;
2361
+ background-color: #e6e6e6;
2362
+ *background-color: #d9d9d9;
2363
+ background-position: 0 -15px;
2364
+ -webkit-transition: background-position .1s linear;
2365
+ -moz-transition: background-position .1s linear;
2366
+ -ms-transition: background-position .1s linear;
2367
+ -o-transition: background-position .1s linear;
2368
+ transition: background-position .1s linear
2369
+ }
2370
+
2371
+ .btn:focus {
2372
+ outline: thin dotted #333;
2373
+ outline: 5px auto -webkit-focus-ring-color;
2374
+ outline-offset: -2px
2375
+ }
2376
+
2377
+ .btn.active, .btn:active {
2378
+ background-color: #e6e6e6;
2379
+ background-color: #d9d9d9 \9;
2380
+ background-image: none;
2381
+ outline: 0;
2382
+ -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
2383
+ -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
2384
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05)
2385
+ }
2386
+
2387
+ .btn.disabled, .btn[disabled] {
2388
+ cursor: default;
2389
+ background-color: #e6e6e6;
2390
+ background-image: none;
2391
+ opacity: .65;
2392
+ filter: alpha(opacity=65);
2393
+ -webkit-box-shadow: none;
2394
+ -moz-box-shadow: none;
2395
+ box-shadow: none
2396
+ }
2397
+
2398
+ .btn-large {
2399
+ padding: 9px 14px;
2400
+ font-size: 15px;
2401
+ line-height: normal;
2402
+ -webkit-border-radius: 5px;
2403
+ -moz-border-radius: 5px;
2404
+ border-radius: 5px
2405
+ }
2406
+
2407
+ .btn-large [class^="icon-"] {
2408
+ margin-top: 1px
2409
+ }
2410
+
2411
+ .btn-small {
2412
+ padding: 5px 9px;
2413
+ font-size: 11px;
2414
+ line-height: 16px
2415
+ }
2416
+
2417
+ .btn-small [class^="icon-"] {
2418
+ margin-top: -1px
2419
+ }
2420
+
2421
+ .btn-mini {
2422
+ padding: 2px 6px;
2423
+ font-size: 11px;
2424
+ line-height: 14px
2425
+ }
2426
+
2427
+ .btn-primary, .btn-primary:hover, .btn-warning, .btn-warning:hover, .btn-danger, .btn-danger:hover, .btn-success, .btn-success:hover, .btn-info, .btn-info:hover, .btn-inverse, .btn-inverse:hover {
2428
+ color: #fff;
2429
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
2430
+ }
2431
+
2432
+ .btn-primary.active, .btn-warning.active, .btn-danger.active, .btn-success.active, .btn-info.active, .btn-inverse.active {
2433
+ color: rgba(255, 255, 255, 0.75)
2434
+ }
2435
+
2436
+ .btn {
2437
+ border-color: #ccc;
2438
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25)
2439
+ }
2440
+
2441
+ .btn-primary {
2442
+ background-color: #0074cc;
2443
+ *background-color: #05c;
2444
+ background-image: -ms-linear-gradient(top, #08c, #05c);
2445
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#05c));
2446
+ background-image: -webkit-linear-gradient(top, #08c, #05c);
2447
+ background-image: -o-linear-gradient(top, #08c, #05c);
2448
+ background-image: -moz-linear-gradient(top, #08c, #05c);
2449
+ background-image: linear-gradient(top, #08c, #05c);
2450
+ background-repeat: repeat-x;
2451
+ border-color: #05c #05c #003580;
2452
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
2453
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);
2454
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false)
2455
+ }
2456
+
2457
+ .btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
2458
+ background-color: #05c;
2459
+ *background-color: #004ab3
2460
+ }
2461
+
2462
+ .btn-primary:active, .btn-primary.active {
2463
+ background-color: #004099 \9
2464
+ }
2465
+
2466
+ .btn-warning {
2467
+ background-color: #faa732;
2468
+ *background-color: #f89406;
2469
+ background-image: -ms-linear-gradient(top, #fbb450, #f89406);
2470
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
2471
+ background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
2472
+ background-image: -o-linear-gradient(top, #fbb450, #f89406);
2473
+ background-image: -moz-linear-gradient(top, #fbb450, #f89406);
2474
+ background-image: linear-gradient(top, #fbb450, #f89406);
2475
+ background-repeat: repeat-x;
2476
+ border-color: #f89406 #f89406 #ad6704;
2477
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
2478
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
2479
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false)
2480
+ }
2481
+
2482
+ .btn-warning:hover, .btn-warning:active, .btn-warning.active, .btn-warning.disabled, .btn-warning[disabled] {
2483
+ background-color: #f89406;
2484
+ *background-color: #df8505
2485
+ }
2486
+
2487
+ .btn-warning:active, .btn-warning.active {
2488
+ background-color: #c67605 \9
2489
+ }
2490
+
2491
+ .btn-danger {
2492
+ background-color: #da4f49;
2493
+ *background-color: #bd362f;
2494
+ background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f);
2495
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
2496
+ background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
2497
+ background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
2498
+ background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
2499
+ background-image: linear-gradient(top, #ee5f5b, #bd362f);
2500
+ background-repeat: repeat-x;
2501
+ border-color: #bd362f #bd362f #802420;
2502
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
2503
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);
2504
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false)
2505
+ }
2506
+
2507
+ .btn-danger:hover, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
2508
+ background-color: #bd362f;
2509
+ *background-color: #a9302a
2510
+ }
2511
+
2512
+ .btn-danger:active, .btn-danger.active {
2513
+ background-color: #942a25 \9
2514
+ }
2515
+
2516
+ .btn-success {
2517
+ background-color: #5bb75b;
2518
+ *background-color: #51a351;
2519
+ background-image: -ms-linear-gradient(top, #62c462, #51a351);
2520
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
2521
+ background-image: -webkit-linear-gradient(top, #62c462, #51a351);
2522
+ background-image: -o-linear-gradient(top, #62c462, #51a351);
2523
+ background-image: -moz-linear-gradient(top, #62c462, #51a351);
2524
+ background-image: linear-gradient(top, #62c462, #51a351);
2525
+ background-repeat: repeat-x;
2526
+ border-color: #51a351 #51a351 #387038;
2527
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
2528
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);
2529
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false)
2530
+ }
2531
+
2532
+ .btn-success:hover, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
2533
+ background-color: #51a351;
2534
+ *background-color: #499249
2535
+ }
2536
+
2537
+ .btn-success:active, .btn-success.active {
2538
+ background-color: #408140 \9
2539
+ }
2540
+
2541
+ .btn-info {
2542
+ background-color: #49afcd;
2543
+ *background-color: #2f96b4;
2544
+ background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
2545
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
2546
+ background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
2547
+ background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
2548
+ background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
2549
+ background-image: linear-gradient(top, #5bc0de, #2f96b4);
2550
+ background-repeat: repeat-x;
2551
+ border-color: #2f96b4 #2f96b4 #1f6377;
2552
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
2553
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
2554
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false)
2555
+ }
2556
+
2557
+ .btn-info:hover, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
2558
+ background-color: #2f96b4;
2559
+ *background-color: #2a85a0
2560
+ }
2561
+
2562
+ .btn-info:active, .btn-info.active {
2563
+ background-color: #24748c \9
2564
+ }
2565
+
2566
+ .btn-inverse {
2567
+ background-color: #414141;
2568
+ *background-color: #222;
2569
+ background-image: -ms-linear-gradient(top, #555, #222);
2570
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555), to(#222));
2571
+ background-image: -webkit-linear-gradient(top, #555, #222);
2572
+ background-image: -o-linear-gradient(top, #555, #222);
2573
+ background-image: -moz-linear-gradient(top, #555, #222);
2574
+ background-image: linear-gradient(top, #555, #222);
2575
+ background-repeat: repeat-x;
2576
+ border-color: #222 #222 #000;
2577
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
2578
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#555555', endColorstr='#222222', GradientType=0);
2579
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false)
2580
+ }
2581
+
2582
+ .btn-inverse:hover, .btn-inverse:active, .btn-inverse.active, .btn-inverse.disabled, .btn-inverse[disabled] {
2583
+ background-color: #222;
2584
+ *background-color: #151515
2585
+ }
2586
+
2587
+ .btn-inverse:active, .btn-inverse.active {
2588
+ background-color: #080808 \9
2589
+ }
2590
+
2591
+ button.btn, input[type="submit"].btn {
2592
+ *padding-top: 2px;
2593
+ *padding-bottom: 2px
2594
+ }
2595
+
2596
+ button.btn::-moz-focus-inner, input[type="submit"].btn::-moz-focus-inner {
2597
+ padding: 0;
2598
+ border: 0
2599
+ }
2600
+
2601
+ button.btn.btn-large, input[type="submit"].btn.btn-large {
2602
+ *padding-top: 7px;
2603
+ *padding-bottom: 7px
2604
+ }
2605
+
2606
+ button.btn.btn-small, input[type="submit"].btn.btn-small {
2607
+ *padding-top: 3px;
2608
+ *padding-bottom: 3px
2609
+ }
2610
+
2611
+ button.btn.btn-mini, input[type="submit"].btn.btn-mini {
2612
+ *padding-top: 1px;
2613
+ *padding-bottom: 1px
2614
+ }
2615
+
2616
+ .btn-group {
2617
+ position: relative;
2618
+ *margin-left: .3em;
2619
+ *zoom: 1
2620
+ }
2621
+
2622
+ .btn-group:before, .btn-group:after {
2623
+ display: table;
2624
+ content: ""
2625
+ }
2626
+
2627
+ .btn-group:after {
2628
+ clear: both
2629
+ }
2630
+
2631
+ .btn-group:first-child {
2632
+ *margin-left: 0
2633
+ }
2634
+
2635
+ .btn-group+.btn-group {
2636
+ margin-left: 5px
2637
+ }
2638
+
2639
+ .btn-toolbar {
2640
+ margin-top: 9px;
2641
+ margin-bottom: 9px
2642
+ }
2643
+
2644
+ .btn-toolbar .btn-group {
2645
+ display: inline-block;
2646
+ *display: inline;
2647
+ *zoom: 1
2648
+ }
2649
+
2650
+ .btn-group>.btn {
2651
+ position: relative;
2652
+ float: left;
2653
+ margin-left: -1px;
2654
+ -webkit-border-radius: 0;
2655
+ -moz-border-radius: 0;
2656
+ border-radius: 0
2657
+ }
2658
+
2659
+ .btn-group>.btn:first-child {
2660
+ margin-left: 0;
2661
+ -webkit-border-bottom-left-radius: 4px;
2662
+ border-bottom-left-radius: 4px;
2663
+ -webkit-border-top-left-radius: 4px;
2664
+ border-top-left-radius: 4px;
2665
+ -moz-border-radius-bottomleft: 4px;
2666
+ -moz-border-radius-topleft: 4px
2667
+ }
2668
+
2669
+ .btn-group>.btn:last-child, .btn-group>.dropdown-toggle {
2670
+ -webkit-border-top-right-radius: 4px;
2671
+ border-top-right-radius: 4px;
2672
+ -webkit-border-bottom-right-radius: 4px;
2673
+ border-bottom-right-radius: 4px;
2674
+ -moz-border-radius-topright: 4px;
2675
+ -moz-border-radius-bottomright: 4px
2676
+ }
2677
+
2678
+ .btn-group>.btn.large:first-child {
2679
+ margin-left: 0;
2680
+ -webkit-border-bottom-left-radius: 6px;
2681
+ border-bottom-left-radius: 6px;
2682
+ -webkit-border-top-left-radius: 6px;
2683
+ border-top-left-radius: 6px;
2684
+ -moz-border-radius-bottomleft: 6px;
2685
+ -moz-border-radius-topleft: 6px
2686
+ }
2687
+
2688
+ .btn-group>.btn.large:last-child, .btn-group>.large.dropdown-toggle {
2689
+ -webkit-border-top-right-radius: 6px;
2690
+ border-top-right-radius: 6px;
2691
+ -webkit-border-bottom-right-radius: 6px;
2692
+ border-bottom-right-radius: 6px;
2693
+ -moz-border-radius-topright: 6px;
2694
+ -moz-border-radius-bottomright: 6px
2695
+ }
2696
+
2697
+ .btn-group>.btn:hover, .btn-group>.btn:focus, .btn-group>.btn:active, .btn-group>.btn.active {
2698
+ z-index: 2
2699
+ }
2700
+
2701
+ .btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle {
2702
+ outline: 0
2703
+ }
2704
+
2705
+ .btn-group>.dropdown-toggle {
2706
+ *padding-top: 4px;
2707
+ padding-right: 8px;
2708
+ *padding-bottom: 4px;
2709
+ padding-left: 8px;
2710
+ -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
2711
+ -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
2712
+ box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05)
2713
+ }
2714
+
2715
+ .btn-group>.btn-mini.dropdown-toggle {
2716
+ padding-right: 5px;
2717
+ padding-left: 5px
2718
+ }
2719
+
2720
+ .btn-group>.btn-small.dropdown-toggle {
2721
+ *padding-top: 4px;
2722
+ *padding-bottom: 4px
2723
+ }
2724
+
2725
+ .btn-group>.btn-large.dropdown-toggle {
2726
+ padding-right: 12px;
2727
+ padding-left: 12px
2728
+ }
2729
+
2730
+ .btn-group.open .dropdown-toggle {
2731
+ background-image: none;
2732
+ -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
2733
+ -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
2734
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05)
2735
+ }
2736
+
2737
+ .btn-group.open .btn.dropdown-toggle {
2738
+ background-color: #e6e6e6
2739
+ }
2740
+
2741
+ .btn-group.open .btn-primary.dropdown-toggle {
2742
+ background-color: #05c
2743
+ }
2744
+
2745
+ .btn-group.open .btn-warning.dropdown-toggle {
2746
+ background-color: #f89406
2747
+ }
2748
+
2749
+ .btn-group.open .btn-danger.dropdown-toggle {
2750
+ background-color: #bd362f
2751
+ }
2752
+
2753
+ .btn-group.open .btn-success.dropdown-toggle {
2754
+ background-color: #51a351
2755
+ }
2756
+
2757
+ .btn-group.open .btn-info.dropdown-toggle {
2758
+ background-color: #2f96b4
2759
+ }
2760
+
2761
+ .btn-group.open .btn-inverse.dropdown-toggle {
2762
+ background-color: #222
2763
+ }
2764
+
2765
+ .btn .caret {
2766
+ margin-top: 7px;
2767
+ margin-left: 0
2768
+ }
2769
+
2770
+ .btn:hover .caret, .open.btn-group .caret {
2771
+ opacity: 1;
2772
+ filter: alpha(opacity=100)
2773
+ }
2774
+
2775
+ .btn-mini .caret {
2776
+ margin-top: 5px
2777
+ }
2778
+
2779
+ .btn-small .caret {
2780
+ margin-top: 6px
2781
+ }
2782
+
2783
+ .btn-large .caret {
2784
+ margin-top: 6px;
2785
+ border-top-width: 5px;
2786
+ border-right-width: 5px;
2787
+ border-left-width: 5px
2788
+ }
2789
+
2790
+ .dropup .btn-large .caret {
2791
+ border-top: 0;
2792
+ border-bottom: 5px solid #000
2793
+ }
2794
+
2795
+ .btn-primary .caret, .btn-warning .caret, .btn-danger .caret, .btn-info .caret, .btn-success .caret, .btn-inverse .caret {
2796
+ border-top-color: #fff;
2797
+ border-bottom-color: #fff;
2798
+ opacity: .75;
2799
+ filter: alpha(opacity=75)
2800
+ }
2801
+
2802
+ .alert {
2803
+ padding: 8px 35px 8px 14px;
2804
+ margin-bottom: 18px;
2805
+ color: #c09853;
2806
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
2807
+ background-color: #fcf8e3;
2808
+ border: 1px solid #fbeed5;
2809
+ -webkit-border-radius: 4px;
2810
+ -moz-border-radius: 4px;
2811
+ border-radius: 4px
2812
+ }
2813
+
2814
+ .alert-heading {
2815
+ color: inherit
2816
+ }
2817
+
2818
+ .alert .close {
2819
+ position: relative;
2820
+ top: -2px;
2821
+ right: -21px;
2822
+ line-height: 18px
2823
+ }
2824
+
2825
+ .alert-success {
2826
+ color: #468847;
2827
+ background-color: #dff0d8;
2828
+ border-color: #d6e9c6
2829
+ }
2830
+
2831
+ .alert-danger, .alert-error {
2832
+ color: #b94a48;
2833
+ background-color: #f2dede;
2834
+ border-color: #eed3d7
2835
+ }
2836
+
2837
+ .alert-info {
2838
+ color: #3a87ad;
2839
+ background-color: #d9edf7;
2840
+ border-color: #bce8f1
2841
+ }
2842
+
2843
+ .alert-block {
2844
+ padding-top: 14px;
2845
+ padding-bottom: 14px
2846
+ }
2847
+
2848
+ .alert-block>p, .alert-block>ul {
2849
+ margin-bottom: 0
2850
+ }
2851
+
2852
+ .alert-block p+p {
2853
+ margin-top: 5px
2854
+ }
2855
+
2856
+ .nav {
2857
+ margin-bottom: 18px;
2858
+ margin-left: 0;
2859
+ list-style: none
2860
+ }
2861
+
2862
+ .nav>li>a {
2863
+ display: block
2864
+ }
2865
+
2866
+ .nav>li>a:hover {
2867
+ text-decoration: none;
2868
+ background-color: #eee
2869
+ }
2870
+
2871
+ .nav>.pull-right {
2872
+ float: right
2873
+ }
2874
+
2875
+ .nav .nav-header {
2876
+ display: block;
2877
+ padding: 3px 15px;
2878
+ font-size: 11px;
2879
+ font-weight: bold;
2880
+ line-height: 18px;
2881
+ color: #999;
2882
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
2883
+ text-transform: uppercase
2884
+ }
2885
+
2886
+ .nav li+.nav-header {
2887
+ margin-top: 9px
2888
+ }
2889
+
2890
+ .nav-list {
2891
+ padding-right: 15px;
2892
+ padding-left: 15px;
2893
+ margin-bottom: 0
2894
+ }
2895
+
2896
+ .nav-list>li>a, .nav-list .nav-header {
2897
+ margin-right: -15px;
2898
+ margin-left: -15px;
2899
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5)
2900
+ }
2901
+
2902
+ .nav-list>li>a {
2903
+ padding: 3px 15px
2904
+ }
2905
+
2906
+ .nav-list>.active>a, .nav-list>.active>a:hover {
2907
+ color: #fff;
2908
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
2909
+ background-color: #08c
2910
+ }
2911
+
2912
+ .nav-list [class^="icon-"] {
2913
+ margin-right: 2px
2914
+ }
2915
+
2916
+ .nav-list .divider {
2917
+ *width: 100%;
2918
+ height: 1px;
2919
+ margin: 8px 1px;
2920
+ *margin: -5px 0 5px;
2921
+ overflow: hidden;
2922
+ background-color: #e5e5e5;
2923
+ border-bottom: 1px solid #fff
2924
+ }
2925
+
2926
+ .nav-tabs, .nav-pills {
2927
+ *zoom: 1
2928
+ }
2929
+
2930
+ .nav-tabs:before, .nav-pills:before, .nav-tabs:after, .nav-pills:after {
2931
+ display: table;
2932
+ content: ""
2933
+ }
2934
+
2935
+ .nav-tabs:after, .nav-pills:after {
2936
+ clear: both
2937
+ }
2938
+
2939
+ .nav-tabs>li, .nav-pills>li {
2940
+ float: left
2941
+ }
2942
+
2943
+ .nav-tabs>li>a, .nav-pills>li>a {
2944
+ padding-right: 12px;
2945
+ padding-left: 12px;
2946
+ margin-right: 2px;
2947
+ line-height: 14px
2948
+ }
2949
+
2950
+ .nav-tabs {
2951
+ border-bottom: 1px solid #ddd
2952
+ }
2953
+
2954
+ .nav-tabs>li {
2955
+ margin-bottom: -1px
2956
+ }
2957
+
2958
+ .nav-tabs>li>a {
2959
+ padding-top: 8px;
2960
+ padding-bottom: 8px;
2961
+ line-height: 18px;
2962
+ border: 1px solid transparent;
2963
+ -webkit-border-radius: 4px 4px 0 0;
2964
+ -moz-border-radius: 4px 4px 0 0;
2965
+ border-radius: 4px 4px 0 0
2966
+ }
2967
+
2968
+ .nav-tabs>li>a:hover {
2969
+ border-color: #eee #eee #ddd
2970
+ }
2971
+
2972
+ .nav-tabs>.active>a, .nav-tabs>.active>a:hover {
2973
+ color: #555;
2974
+ cursor: default;
2975
+ background-color: #fff;
2976
+ border: 1px solid #ddd;
2977
+ border-bottom-color: transparent
2978
+ }
2979
+
2980
+ .nav-pills>li>a {
2981
+ padding-top: 8px;
2982
+ padding-bottom: 8px;
2983
+ margin-top: 2px;
2984
+ margin-bottom: 2px;
2985
+ -webkit-border-radius: 5px;
2986
+ -moz-border-radius: 5px;
2987
+ border-radius: 5px
2988
+ }
2989
+
2990
+ .nav-pills>.active>a, .nav-pills>.active>a:hover {
2991
+ color: #fff;
2992
+ background-color: #08c
2993
+ }
2994
+
2995
+ .nav-stacked>li {
2996
+ float: none
2997
+ }
2998
+
2999
+ .nav-stacked>li>a {
3000
+ margin-right: 0
3001
+ }
3002
+
3003
+ .nav-tabs.nav-stacked {
3004
+ border-bottom: 0
3005
+ }
3006
+
3007
+ .nav-tabs.nav-stacked>li>a {
3008
+ border: 1px solid #ddd;
3009
+ -webkit-border-radius: 0;
3010
+ -moz-border-radius: 0;
3011
+ border-radius: 0
3012
+ }
3013
+
3014
+ .nav-tabs.nav-stacked>li:first-child>a {
3015
+ -webkit-border-radius: 4px 4px 0 0;
3016
+ -moz-border-radius: 4px 4px 0 0;
3017
+ border-radius: 4px 4px 0 0
3018
+ }
3019
+
3020
+ .nav-tabs.nav-stacked>li:last-child>a {
3021
+ -webkit-border-radius: 0 0 4px 4px;
3022
+ -moz-border-radius: 0 0 4px 4px;
3023
+ border-radius: 0 0 4px 4px
3024
+ }
3025
+
3026
+ .nav-tabs.nav-stacked>li>a:hover {
3027
+ z-index: 2;
3028
+ border-color: #ddd
3029
+ }
3030
+
3031
+ .nav-pills.nav-stacked>li>a {
3032
+ margin-bottom: 3px
3033
+ }
3034
+
3035
+ .nav-pills.nav-stacked>li:last-child>a {
3036
+ margin-bottom: 1px
3037
+ }
3038
+
3039
+ .nav-tabs .dropdown-menu {
3040
+ -webkit-border-radius: 0 0 5px 5px;
3041
+ -moz-border-radius: 0 0 5px 5px;
3042
+ border-radius: 0 0 5px 5px
3043
+ }
3044
+
3045
+ .nav-pills .dropdown-menu {
3046
+ -webkit-border-radius: 4px;
3047
+ -moz-border-radius: 4px;
3048
+ border-radius: 4px
3049
+ }
3050
+
3051
+ .nav-tabs .dropdown-toggle .caret, .nav-pills .dropdown-toggle .caret {
3052
+ margin-top: 6px;
3053
+ border-top-color: #08c;
3054
+ border-bottom-color: #08c
3055
+ }
3056
+
3057
+ .nav-tabs .dropdown-toggle:hover .caret, .nav-pills .dropdown-toggle:hover .caret {
3058
+ border-top-color: #005580;
3059
+ border-bottom-color: #005580
3060
+ }
3061
+
3062
+ .nav-tabs .active .dropdown-toggle .caret, .nav-pills .active .dropdown-toggle .caret {
3063
+ border-top-color: #333;
3064
+ border-bottom-color: #333
3065
+ }
3066
+
3067
+ .nav>.dropdown.active>a:hover {
3068
+ color: #000;
3069
+ cursor: pointer
3070
+ }
3071
+
3072
+ .nav-tabs .open .dropdown-toggle, .nav-pills .open .dropdown-toggle, .nav>li.dropdown.open.active>a:hover {
3073
+ color: #fff;
3074
+ background-color: #999;
3075
+ border-color: #999
3076
+ }
3077
+
3078
+ .nav li.dropdown.open .caret, .nav li.dropdown.open.active .caret, .nav li.dropdown.open a:hover .caret {
3079
+ border-top-color: #fff;
3080
+ border-bottom-color: #fff;
3081
+ opacity: 1;
3082
+ filter: alpha(opacity=100)
3083
+ }
3084
+
3085
+ .tabs-stacked .open>a:hover {
3086
+ border-color: #999
3087
+ }
3088
+
3089
+ .tabbable {
3090
+ *zoom: 1
3091
+ }
3092
+
3093
+ .tabbable:before, .tabbable:after {
3094
+ display: table;
3095
+ content: ""
3096
+ }
3097
+
3098
+ .tabbable:after {
3099
+ clear: both
3100
+ }
3101
+
3102
+ .tab-content {
3103
+ overflow: auto
3104
+ }
3105
+
3106
+ .tabs-below>.nav-tabs, .tabs-right>.nav-tabs, .tabs-left>.nav-tabs {
3107
+ border-bottom: 0
3108
+ }
3109
+
3110
+ .tab-content>.tab-pane, .pill-content>.pill-pane {
3111
+ display: none
3112
+ }
3113
+
3114
+ .tab-content>.active, .pill-content>.active {
3115
+ display: block
3116
+ }
3117
+
3118
+ .tabs-below>.nav-tabs {
3119
+ border-top: 1px solid #ddd
3120
+ }
3121
+
3122
+ .tabs-below>.nav-tabs>li {
3123
+ margin-top: -1px;
3124
+ margin-bottom: 0
3125
+ }
3126
+
3127
+ .tabs-below>.nav-tabs>li>a {
3128
+ -webkit-border-radius: 0 0 4px 4px;
3129
+ -moz-border-radius: 0 0 4px 4px;
3130
+ border-radius: 0 0 4px 4px
3131
+ }
3132
+
3133
+ .tabs-below>.nav-tabs>li>a:hover {
3134
+ border-top-color: #ddd;
3135
+ border-bottom-color: transparent
3136
+ }
3137
+
3138
+ .tabs-below>.nav-tabs>.active>a, .tabs-below>.nav-tabs>.active>a:hover {
3139
+ border-color: transparent #ddd #ddd #ddd
3140
+ }
3141
+
3142
+ .tabs-left>.nav-tabs>li, .tabs-right>.nav-tabs>li {
3143
+ float: none
3144
+ }
3145
+
3146
+ .tabs-left>.nav-tabs>li>a, .tabs-right>.nav-tabs>li>a {
3147
+ min-width: 74px;
3148
+ margin-right: 0;
3149
+ margin-bottom: 3px
3150
+ }
3151
+
3152
+ .tabs-left>.nav-tabs {
3153
+ float: left;
3154
+ margin-right: 19px;
3155
+ border-right: 1px solid #ddd
3156
+ }
3157
+
3158
+ .tabs-left>.nav-tabs>li>a {
3159
+ margin-right: -1px;
3160
+ -webkit-border-radius: 4px 0 0 4px;
3161
+ -moz-border-radius: 4px 0 0 4px;
3162
+ border-radius: 4px 0 0 4px
3163
+ }
3164
+
3165
+ .tabs-left>.nav-tabs>li>a:hover {
3166
+ border-color: #eee #ddd #eee #eee
3167
+ }
3168
+
3169
+ .tabs-left>.nav-tabs .active>a, .tabs-left>.nav-tabs .active>a:hover {
3170
+ border-color: #ddd transparent #ddd #ddd;
3171
+ *border-right-color: #fff
3172
+ }
3173
+
3174
+ .tabs-right>.nav-tabs {
3175
+ float: right;
3176
+ margin-left: 19px;
3177
+ border-left: 1px solid #ddd
3178
+ }
3179
+
3180
+ .tabs-right>.nav-tabs>li>a {
3181
+ margin-left: -1px;
3182
+ -webkit-border-radius: 0 4px 4px 0;
3183
+ -moz-border-radius: 0 4px 4px 0;
3184
+ border-radius: 0 4px 4px 0
3185
+ }
3186
+
3187
+ .tabs-right>.nav-tabs>li>a:hover {
3188
+ border-color: #eee #eee #eee #ddd
3189
+ }
3190
+
3191
+ .tabs-right>.nav-tabs .active>a, .tabs-right>.nav-tabs .active>a:hover {
3192
+ border-color: #ddd #ddd #ddd transparent;
3193
+ *border-left-color: #fff
3194
+ }
3195
+
3196
+ .navbar {
3197
+ *position: relative;
3198
+ *z-index: 2;
3199
+ margin-bottom: 18px;
3200
+ overflow: visible
3201
+ }
3202
+
3203
+ .navbar-inner {
3204
+ min-height: 40px;
3205
+ padding-right: 20px;
3206
+ padding-left: 20px;
3207
+ background-color: #2c2c2c;
3208
+ background-image: -moz-linear-gradient(top, #333, #222);
3209
+ background-image: -ms-linear-gradient(top, #333, #222);
3210
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333), to(#222));
3211
+ background-image: -webkit-linear-gradient(top, #333, #222);
3212
+ background-image: -o-linear-gradient(top, #333, #222);
3213
+ background-image: linear-gradient(top, #333, #222);
3214
+ background-repeat: repeat-x;
3215
+ -webkit-border-radius: 4px;
3216
+ -moz-border-radius: 4px;
3217
+ border-radius: 4px;
3218
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
3219
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
3220
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
3221
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)
3222
+ }
3223
+
3224
+ .navbar .container {
3225
+ width: auto
3226
+ }
3227
+
3228
+ .nav-collapse.collapse {
3229
+ height: auto
3230
+ }
3231
+
3232
+ .navbar {
3233
+ color: #999
3234
+ }
3235
+
3236
+ .navbar .brand:hover {
3237
+ text-decoration: none
3238
+ }
3239
+
3240
+ .navbar .brand {
3241
+ display: block;
3242
+ float: left;
3243
+ padding: 8px 20px 12px;
3244
+ margin-left: -20px;
3245
+ font-size: 20px;
3246
+ font-weight: 200;
3247
+ line-height: 1;
3248
+ color: #999
3249
+ }
3250
+
3251
+ .navbar .navbar-text {
3252
+ margin-bottom: 0;
3253
+ line-height: 40px
3254
+ }
3255
+
3256
+ .navbar .navbar-link {
3257
+ color: #999
3258
+ }
3259
+
3260
+ .navbar .navbar-link:hover {
3261
+ color: #fff
3262
+ }
3263
+
3264
+ .navbar .btn, .navbar .btn-group {
3265
+ margin-top: 5px
3266
+ }
3267
+
3268
+ .navbar .btn-group .btn {
3269
+ margin: 0
3270
+ }
3271
+
3272
+ .navbar-form {
3273
+ margin-bottom: 0;
3274
+ *zoom: 1
3275
+ }
3276
+
3277
+ .navbar-form:before, .navbar-form:after {
3278
+ display: table;
3279
+ content: ""
3280
+ }
3281
+
3282
+ .navbar-form:after {
3283
+ clear: both
3284
+ }
3285
+
3286
+ .navbar-form input, .navbar-form select, .navbar-form .radio, .navbar-form .checkbox {
3287
+ margin-top: 5px
3288
+ }
3289
+
3290
+ .navbar-form input, .navbar-form select {
3291
+ display: inline-block;
3292
+ margin-bottom: 0
3293
+ }
3294
+
3295
+ .navbar-form input[type="image"], .navbar-form input[type="checkbox"], .navbar-form input[type="radio"] {
3296
+ margin-top: 3px
3297
+ }
3298
+
3299
+ .navbar-form .input-append, .navbar-form .input-prepend {
3300
+ margin-top: 6px;
3301
+ white-space: nowrap
3302
+ }
3303
+
3304
+ .navbar-form .input-append input, .navbar-form .input-prepend input {
3305
+ margin-top: 0
3306
+ }
3307
+
3308
+ .navbar-search {
3309
+ position: relative;
3310
+ float: left;
3311
+ margin-top: 6px;
3312
+ margin-bottom: 0
3313
+ }
3314
+
3315
+ .navbar-search .search-query {
3316
+ padding: 4px 9px;
3317
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
3318
+ font-size: 13px;
3319
+ font-weight: normal;
3320
+ line-height: 1;
3321
+ color: #fff;
3322
+ background-color: #626262;
3323
+ border: 1px solid #151515;
3324
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
3325
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
3326
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
3327
+ -webkit-transition: none;
3328
+ -moz-transition: none;
3329
+ -ms-transition: none;
3330
+ -o-transition: none;
3331
+ transition: none
3332
+ }
3333
+
3334
+ .navbar-search .search-query:-moz-placeholder {
3335
+ color: #ccc
3336
+ }
3337
+
3338
+ .navbar-search .search-query::-webkit-input-placeholder {
3339
+ color: #ccc
3340
+ }
3341
+
3342
+ .navbar-search .search-query:focus, .navbar-search .search-query.focused {
3343
+ padding: 5px 10px;
3344
+ color: #333;
3345
+ text-shadow: 0 1px 0 #fff;
3346
+ background-color: #fff;
3347
+ border: 0;
3348
+ outline: 0;
3349
+ -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
3350
+ -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
3351
+ box-shadow: 0 0 3px rgba(0, 0, 0, 0.15)
3352
+ }
3353
+
3354
+ .navbar-fixed-top, .navbar-fixed-bottom {
3355
+ position: fixed;
3356
+ right: 0;
3357
+ left: 0;
3358
+ z-index: 1030;
3359
+ margin-bottom: 0
3360
+ }
3361
+
3362
+ .navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner {
3363
+ padding-right: 0;
3364
+ padding-left: 0;
3365
+ -webkit-border-radius: 0;
3366
+ -moz-border-radius: 0;
3367
+ border-radius: 0
3368
+ }
3369
+
3370
+ .navbar-fixed-top .container, .navbar-fixed-bottom .container {
3371
+ width: 940px
3372
+ }
3373
+
3374
+ .navbar-fixed-top {
3375
+ top: 0
3376
+ }
3377
+
3378
+ .navbar-fixed-bottom {
3379
+ bottom: 0
3380
+ }
3381
+
3382
+ .navbar .nav {
3383
+ position: relative;
3384
+ left: 0;
3385
+ display: block;
3386
+ float: left;
3387
+ margin: 0 10px 0 0
3388
+ }
3389
+
3390
+ .navbar .nav.pull-right {
3391
+ float: right
3392
+ }
3393
+
3394
+ .navbar .nav>li {
3395
+ display: block;
3396
+ float: left
3397
+ }
3398
+
3399
+ .navbar .nav>li>a {
3400
+ float: none;
3401
+ padding: 9px 10px 11px;
3402
+ line-height: 19px;
3403
+ color: #999;
3404
+ text-decoration: none;
3405
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
3406
+ }
3407
+
3408
+ .navbar .btn {
3409
+ display: inline-block;
3410
+ padding: 4px 10px 4px;
3411
+ margin: 5px 5px 6px;
3412
+ line-height: 18px
3413
+ }
3414
+
3415
+ .navbar .btn-group {
3416
+ padding: 5px 5px 6px;
3417
+ margin: 0
3418
+ }
3419
+
3420
+ .navbar .nav>li>a:hover {
3421
+ color: #fff;
3422
+ text-decoration: none;
3423
+ background-color: transparent
3424
+ }
3425
+
3426
+ .navbar .nav .active>a, .navbar .nav .active>a:hover {
3427
+ color: #fff;
3428
+ text-decoration: none;
3429
+ background-color: #222
3430
+ }
3431
+
3432
+ .navbar .divider-vertical {
3433
+ width: 1px;
3434
+ height: 40px;
3435
+ margin: 0 9px;
3436
+ overflow: hidden;
3437
+ background-color: #222;
3438
+ border-right: 1px solid #333
3439
+ }
3440
+
3441
+ .navbar .nav.pull-right {
3442
+ margin-right: 0;
3443
+ margin-left: 10px
3444
+ }
3445
+
3446
+ .navbar .btn-navbar {
3447
+ display: none;
3448
+ float: right;
3449
+ padding: 7px 10px;
3450
+ margin-right: 5px;
3451
+ margin-left: 5px;
3452
+ background-color: #2c2c2c;
3453
+ *background-color: #222;
3454
+ background-image: -ms-linear-gradient(top, #333, #222);
3455
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333), to(#222));
3456
+ background-image: -webkit-linear-gradient(top, #333, #222);
3457
+ background-image: -o-linear-gradient(top, #333, #222);
3458
+ background-image: linear-gradient(top, #333, #222);
3459
+ background-image: -moz-linear-gradient(top, #333, #222);
3460
+ background-repeat: repeat-x;
3461
+ border-color: #222 #222 #000;
3462
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
3463
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
3464
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
3465
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
3466
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
3467
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075)
3468
+ }
3469
+
3470
+ .navbar .btn-navbar:hover, .navbar .btn-navbar:active, .navbar .btn-navbar.active, .navbar .btn-navbar.disabled, .navbar .btn-navbar[disabled] {
3471
+ background-color: #222;
3472
+ *background-color: #151515
3473
+ }
3474
+
3475
+ .navbar .btn-navbar:active, .navbar .btn-navbar.active {
3476
+ background-color: #080808 \9
3477
+ }
3478
+
3479
+ .navbar .btn-navbar .icon-bar {
3480
+ display: block;
3481
+ width: 18px;
3482
+ height: 2px;
3483
+ background-color: #f5f5f5;
3484
+ -webkit-border-radius: 1px;
3485
+ -moz-border-radius: 1px;
3486
+ border-radius: 1px;
3487
+ -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
3488
+ -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
3489
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25)
3490
+ }
3491
+
3492
+ .btn-navbar .icon-bar+.icon-bar {
3493
+ margin-top: 3px
3494
+ }
3495
+
3496
+ .navbar .dropdown-menu:before {
3497
+ position: absolute;
3498
+ top: -7px;
3499
+ left: 9px;
3500
+ display: inline-block;
3501
+ border-right: 7px solid transparent;
3502
+ border-bottom: 7px solid #ccc;
3503
+ border-left: 7px solid transparent;
3504
+ border-bottom-color: rgba(0, 0, 0, 0.2);
3505
+ content: ''
3506
+ }
3507
+
3508
+ .navbar .dropdown-menu:after {
3509
+ position: absolute;
3510
+ top: -6px;
3511
+ left: 10px;
3512
+ display: inline-block;
3513
+ border-right: 6px solid transparent;
3514
+ border-bottom: 6px solid #fff;
3515
+ border-left: 6px solid transparent;
3516
+ content: ''
3517
+ }
3518
+
3519
+ .navbar-fixed-bottom .dropdown-menu:before {
3520
+ top: auto;
3521
+ bottom: -7px;
3522
+ border-top: 7px solid #ccc;
3523
+ border-bottom: 0;
3524
+ border-top-color: rgba(0, 0, 0, 0.2)
3525
+ }
3526
+
3527
+ .navbar-fixed-bottom .dropdown-menu:after {
3528
+ top: auto;
3529
+ bottom: -6px;
3530
+ border-top: 6px solid #fff;
3531
+ border-bottom: 0
3532
+ }
3533
+
3534
+ .navbar .nav li.dropdown .dropdown-toggle .caret, .navbar .nav li.dropdown.open .caret {
3535
+ border-top-color: #fff;
3536
+ border-bottom-color: #fff
3537
+ }
3538
+
3539
+ .navbar .nav li.dropdown.active .caret {
3540
+ opacity: 1;
3541
+ filter: alpha(opacity=100)
3542
+ }
3543
+
3544
+ .navbar .nav li.dropdown.open>.dropdown-toggle, .navbar .nav li.dropdown.active>.dropdown-toggle, .navbar .nav li.dropdown.open.active>.dropdown-toggle {
3545
+ background-color: transparent
3546
+ }
3547
+
3548
+ .navbar .nav li.dropdown.active>.dropdown-toggle:hover {
3549
+ color: #fff
3550
+ }
3551
+
3552
+ .navbar .pull-right .dropdown-menu, .navbar .dropdown-menu.pull-right {
3553
+ right: 0;
3554
+ left: auto
3555
+ }
3556
+
3557
+ .navbar .pull-right .dropdown-menu:before, .navbar .dropdown-menu.pull-right:before {
3558
+ right: 12px;
3559
+ left: auto
3560
+ }
3561
+
3562
+ .navbar .pull-right .dropdown-menu:after, .navbar .dropdown-menu.pull-right:after {
3563
+ right: 13px;
3564
+ left: auto
3565
+ }
3566
+
3567
+ .breadcrumb {
3568
+ padding: 7px 14px;
3569
+ margin: 0 0 18px;
3570
+ list-style: none;
3571
+ background-color: #fbfbfb;
3572
+ background-image: -moz-linear-gradient(top, #fff, #f5f5f5);
3573
+ background-image: -ms-linear-gradient(top, #fff, #f5f5f5);
3574
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#f5f5f5));
3575
+ background-image: -webkit-linear-gradient(top, #fff, #f5f5f5);
3576
+ background-image: -o-linear-gradient(top, #fff, #f5f5f5);
3577
+ background-image: linear-gradient(top, #fff, #f5f5f5);
3578
+ background-repeat: repeat-x;
3579
+ border: 1px solid #ddd;
3580
+ -webkit-border-radius: 3px;
3581
+ -moz-border-radius: 3px;
3582
+ border-radius: 3px;
3583
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
3584
+ -webkit-box-shadow: inset 0 1px 0 #fff;
3585
+ -moz-box-shadow: inset 0 1px 0 #fff;
3586
+ box-shadow: inset 0 1px 0 #fff
3587
+ }
3588
+
3589
+ .breadcrumb li {
3590
+ display: inline-block;
3591
+ *display: inline;
3592
+ text-shadow: 0 1px 0 #fff;
3593
+ *zoom: 1
3594
+ }
3595
+
3596
+ .breadcrumb .divider {
3597
+ padding: 0 5px;
3598
+ color: #999
3599
+ }
3600
+
3601
+ .breadcrumb .active a {
3602
+ color: #333
3603
+ }
3604
+
3605
+ .pagination {
3606
+ height: 36px;
3607
+ margin: 18px 0
3608
+ }
3609
+
3610
+ .pagination ul {
3611
+ display: inline-block;
3612
+ *display: inline;
3613
+ margin-bottom: 0;
3614
+ margin-left: 0;
3615
+ -webkit-border-radius: 3px;
3616
+ -moz-border-radius: 3px;
3617
+ border-radius: 3px;
3618
+ *zoom: 1;
3619
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
3620
+ -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
3621
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05)
3622
+ }
3623
+
3624
+ .pagination li {
3625
+ display: inline
3626
+ }
3627
+
3628
+ .pagination a {
3629
+ float: left;
3630
+ padding: 0 14px;
3631
+ line-height: 34px;
3632
+ text-decoration: none;
3633
+ border: 1px solid #ddd;
3634
+ border-left-width: 0
3635
+ }
3636
+
3637
+ .pagination a:hover, .pagination .active a {
3638
+ background-color: #f5f5f5
3639
+ }
3640
+
3641
+ .pagination .active a {
3642
+ color: #999;
3643
+ cursor: default
3644
+ }
3645
+
3646
+ .pagination .disabled span, .pagination .disabled a, .pagination .disabled a:hover {
3647
+ color: #999;
3648
+ cursor: default;
3649
+ background-color: transparent
3650
+ }
3651
+
3652
+ .pagination li:first-child a {
3653
+ border-left-width: 1px;
3654
+ -webkit-border-radius: 3px 0 0 3px;
3655
+ -moz-border-radius: 3px 0 0 3px;
3656
+ border-radius: 3px 0 0 3px
3657
+ }
3658
+
3659
+ .pagination li:last-child a {
3660
+ -webkit-border-radius: 0 3px 3px 0;
3661
+ -moz-border-radius: 0 3px 3px 0;
3662
+ border-radius: 0 3px 3px 0
3663
+ }
3664
+
3665
+ .pagination-centered {
3666
+ text-align: center
3667
+ }
3668
+
3669
+ .pagination-right {
3670
+ text-align: right
3671
+ }
3672
+
3673
+ .pager {
3674
+ margin-bottom: 18px;
3675
+ margin-left: 0;
3676
+ text-align: center;
3677
+ list-style: none;
3678
+ *zoom: 1
3679
+ }
3680
+
3681
+ .pager:before, .pager:after {
3682
+ display: table;
3683
+ content: ""
3684
+ }
3685
+
3686
+ .pager:after {
3687
+ clear: both
3688
+ }
3689
+
3690
+ .pager li {
3691
+ display: inline
3692
+ }
3693
+
3694
+ .pager a {
3695
+ display: inline-block;
3696
+ padding: 5px 14px;
3697
+ background-color: #fff;
3698
+ border: 1px solid #ddd;
3699
+ -webkit-border-radius: 15px;
3700
+ -moz-border-radius: 15px;
3701
+ border-radius: 15px
3702
+ }
3703
+
3704
+ .pager a:hover {
3705
+ text-decoration: none;
3706
+ background-color: #f5f5f5
3707
+ }
3708
+
3709
+ .pager .next a {
3710
+ float: right
3711
+ }
3712
+
3713
+ .pager .previous a {
3714
+ float: left
3715
+ }
3716
+
3717
+ .pager .disabled a, .pager .disabled a:hover {
3718
+ color: #999;
3719
+ cursor: default;
3720
+ background-color: #fff
3721
+ }
3722
+
3723
+ .modal-open .dropdown-menu {
3724
+ z-index: 2050
3725
+ }
3726
+
3727
+ .modal-open .dropdown.open {
3728
+ *z-index: 2050
3729
+ }
3730
+
3731
+ .modal-open .popover {
3732
+ z-index: 2060
3733
+ }
3734
+
3735
+ .modal-open .tooltip {
3736
+ z-index: 2070
3737
+ }
3738
+
3739
+ .modal-backdrop {
3740
+ position: fixed;
3741
+ top: 0;
3742
+ right: 0;
3743
+ bottom: 0;
3744
+ left: 0;
3745
+ z-index: 1040;
3746
+ background-color: #000
3747
+ }
3748
+
3749
+ .modal-backdrop.fade {
3750
+ opacity: 0
3751
+ }
3752
+
3753
+ .modal-backdrop, .modal-backdrop.fade.in {
3754
+ opacity: .8;
3755
+ filter: alpha(opacity=80)
3756
+ }
3757
+
3758
+ .modal {
3759
+ position: fixed;
3760
+ top: 50%;
3761
+ left: 50%;
3762
+ z-index: 1050;
3763
+ width: 560px;
3764
+ margin: -250px 0 0 -280px;
3765
+ overflow: auto;
3766
+ background-color: #fff;
3767
+ border: 1px solid #999;
3768
+ border: 1px solid rgba(0, 0, 0, 0.3);
3769
+ *border: 1px solid #999;
3770
+ -webkit-border-radius: 6px;
3771
+ -moz-border-radius: 6px;
3772
+ border-radius: 6px;
3773
+ -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
3774
+ -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
3775
+ box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
3776
+ -webkit-background-clip: padding-box;
3777
+ -moz-background-clip: padding-box;
3778
+ background-clip: padding-box
3779
+ }
3780
+
3781
+ .modal.fade {
3782
+ top: -25%;
3783
+ -webkit-transition: opacity .3s linear, top .3s ease-out;
3784
+ -moz-transition: opacity .3s linear, top .3s ease-out;
3785
+ -ms-transition: opacity .3s linear, top .3s ease-out;
3786
+ -o-transition: opacity .3s linear, top .3s ease-out;
3787
+ transition: opacity .3s linear, top .3s ease-out
3788
+ }
3789
+
3790
+ .modal.fade.in {
3791
+ top: 50%
3792
+ }
3793
+
3794
+ .modal-header {
3795
+ padding: 9px 15px;
3796
+ border-bottom: 1px solid #eee
3797
+ }
3798
+
3799
+ .modal-header .close {
3800
+ margin-top: 2px
3801
+ }
3802
+
3803
+ .modal-body {
3804
+ max-height: 400px;
3805
+ padding: 15px;
3806
+ overflow-y: auto
3807
+ }
3808
+
3809
+ .modal-form {
3810
+ margin-bottom: 0
3811
+ }
3812
+
3813
+ .modal-footer {
3814
+ padding: 14px 15px 15px;
3815
+ margin-bottom: 0;
3816
+ text-align: right;
3817
+ background-color: #f5f5f5;
3818
+ border-top: 1px solid #ddd;
3819
+ -webkit-border-radius: 0 0 6px 6px;
3820
+ -moz-border-radius: 0 0 6px 6px;
3821
+ border-radius: 0 0 6px 6px;
3822
+ *zoom: 1;
3823
+ -webkit-box-shadow: inset 0 1px 0 #fff;
3824
+ -moz-box-shadow: inset 0 1px 0 #fff;
3825
+ box-shadow: inset 0 1px 0 #fff
3826
+ }
3827
+
3828
+ .modal-footer:before, .modal-footer:after {
3829
+ display: table;
3830
+ content: ""
3831
+ }
3832
+
3833
+ .modal-footer:after {
3834
+ clear: both
3835
+ }
3836
+
3837
+ .modal-footer .btn+.btn {
3838
+ margin-bottom: 0;
3839
+ margin-left: 5px
3840
+ }
3841
+
3842
+ .modal-footer .btn-group .btn+.btn {
3843
+ margin-left: -1px
3844
+ }
3845
+
3846
+ .tooltip {
3847
+ position: absolute;
3848
+ z-index: 1020;
3849
+ display: block;
3850
+ padding: 5px;
3851
+ font-size: 11px;
3852
+ opacity: 0;
3853
+ filter: alpha(opacity=0);
3854
+ visibility: visible
3855
+ }
3856
+
3857
+ .tooltip.in {
3858
+ opacity: .8;
3859
+ filter: alpha(opacity=80)
3860
+ }
3861
+
3862
+ .tooltip.top {
3863
+ margin-top: -2px
3864
+ }
3865
+
3866
+ .tooltip.right {
3867
+ margin-left: 2px
3868
+ }
3869
+
3870
+ .tooltip.bottom {
3871
+ margin-top: 2px
3872
+ }
3873
+
3874
+ .tooltip.left {
3875
+ margin-left: -2px
3876
+ }
3877
+
3878
+ .tooltip.top .tooltip-arrow {
3879
+ bottom: 0;
3880
+ left: 50%;
3881
+ margin-left: -5px;
3882
+ border-top: 5px solid #000;
3883
+ border-right: 5px solid transparent;
3884
+ border-left: 5px solid transparent
3885
+ }
3886
+
3887
+ .tooltip.left .tooltip-arrow {
3888
+ top: 50%;
3889
+ right: 0;
3890
+ margin-top: -5px;
3891
+ border-top: 5px solid transparent;
3892
+ border-bottom: 5px solid transparent;
3893
+ border-left: 5px solid #000
3894
+ }
3895
+
3896
+ .tooltip.bottom .tooltip-arrow {
3897
+ top: 0;
3898
+ left: 50%;
3899
+ margin-left: -5px;
3900
+ border-right: 5px solid transparent;
3901
+ border-bottom: 5px solid #000;
3902
+ border-left: 5px solid transparent
3903
+ }
3904
+
3905
+ .tooltip.right .tooltip-arrow {
3906
+ top: 50%;
3907
+ left: 0;
3908
+ margin-top: -5px;
3909
+ border-top: 5px solid transparent;
3910
+ border-right: 5px solid #000;
3911
+ border-bottom: 5px solid transparent
3912
+ }
3913
+
3914
+ .tooltip-inner {
3915
+ max-width: 200px;
3916
+ padding: 3px 8px;
3917
+ color: #fff;
3918
+ text-align: center;
3919
+ text-decoration: none;
3920
+ background-color: #000;
3921
+ -webkit-border-radius: 4px;
3922
+ -moz-border-radius: 4px;
3923
+ border-radius: 4px
3924
+ }
3925
+
3926
+ .tooltip-arrow {
3927
+ position: absolute;
3928
+ width: 0;
3929
+ height: 0
3930
+ }
3931
+
3932
+ .popover {
3933
+ position: absolute;
3934
+ top: 0;
3935
+ left: 0;
3936
+ z-index: 1010;
3937
+ display: none;
3938
+ padding: 5px
3939
+ }
3940
+
3941
+ .popover.top {
3942
+ margin-top: -5px
3943
+ }
3944
+
3945
+ .popover.right {
3946
+ margin-left: 5px
3947
+ }
3948
+
3949
+ .popover.bottom {
3950
+ margin-top: 5px
3951
+ }
3952
+
3953
+ .popover.left {
3954
+ margin-left: -5px
3955
+ }
3956
+
3957
+ .popover.top .arrow {
3958
+ bottom: 0;
3959
+ left: 50%;
3960
+ margin-left: -5px;
3961
+ border-top: 5px solid #000;
3962
+ border-right: 5px solid transparent;
3963
+ border-left: 5px solid transparent
3964
+ }
3965
+
3966
+ .popover.right .arrow {
3967
+ top: 50%;
3968
+ left: 0;
3969
+ margin-top: -5px;
3970
+ border-top: 5px solid transparent;
3971
+ border-right: 5px solid #000;
3972
+ border-bottom: 5px solid transparent
3973
+ }
3974
+
3975
+ .popover.bottom .arrow {
3976
+ top: 0;
3977
+ left: 50%;
3978
+ margin-left: -5px;
3979
+ border-right: 5px solid transparent;
3980
+ border-bottom: 5px solid #000;
3981
+ border-left: 5px solid transparent
3982
+ }
3983
+
3984
+ .popover.left .arrow {
3985
+ top: 50%;
3986
+ right: 0;
3987
+ margin-top: -5px;
3988
+ border-top: 5px solid transparent;
3989
+ border-bottom: 5px solid transparent;
3990
+ border-left: 5px solid #000
3991
+ }
3992
+
3993
+ .popover .arrow {
3994
+ position: absolute;
3995
+ width: 0;
3996
+ height: 0
3997
+ }
3998
+
3999
+ .popover-inner {
4000
+ width: 280px;
4001
+ padding: 3px;
4002
+ overflow: hidden;
4003
+ background: #000;
4004
+ background: rgba(0, 0, 0, 0.8);
4005
+ -webkit-border-radius: 6px;
4006
+ -moz-border-radius: 6px;
4007
+ border-radius: 6px;
4008
+ -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
4009
+ -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
4010
+ box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3)
4011
+ }
4012
+
4013
+ .popover-title {
4014
+ padding: 9px 15px;
4015
+ line-height: 1;
4016
+ background-color: #f5f5f5;
4017
+ border-bottom: 1px solid #eee;
4018
+ -webkit-border-radius: 3px 3px 0 0;
4019
+ -moz-border-radius: 3px 3px 0 0;
4020
+ border-radius: 3px 3px 0 0
4021
+ }
4022
+
4023
+ .popover-content {
4024
+ padding: 14px;
4025
+ background-color: #fff;
4026
+ -webkit-border-radius: 0 0 3px 3px;
4027
+ -moz-border-radius: 0 0 3px 3px;
4028
+ border-radius: 0 0 3px 3px;
4029
+ -webkit-background-clip: padding-box;
4030
+ -moz-background-clip: padding-box;
4031
+ background-clip: padding-box
4032
+ }
4033
+
4034
+ .popover-content p, .popover-content ul, .popover-content ol {
4035
+ margin-bottom: 0
4036
+ }
4037
+
4038
+ .thumbnails {
4039
+ margin-left: -20px;
4040
+ list-style: none;
4041
+ *zoom: 1
4042
+ }
4043
+
4044
+ .thumbnails:before, .thumbnails:after {
4045
+ display: table;
4046
+ content: ""
4047
+ }
4048
+
4049
+ .thumbnails:after {
4050
+ clear: both
4051
+ }
4052
+
4053
+ .row-fluid .thumbnails {
4054
+ margin-left: 0
4055
+ }
4056
+
4057
+ .thumbnails>li {
4058
+ float: left;
4059
+ margin-bottom: 18px;
4060
+ margin-left: 20px
4061
+ }
4062
+
4063
+ .thumbnail {
4064
+ display: block;
4065
+ padding: 4px;
4066
+ line-height: 1;
4067
+ border: 1px solid #ddd;
4068
+ -webkit-border-radius: 4px;
4069
+ -moz-border-radius: 4px;
4070
+ border-radius: 4px;
4071
+ -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
4072
+ -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
4073
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075)
4074
+ }
4075
+
4076
+ a.thumbnail:hover {
4077
+ border-color: #08c;
4078
+ -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
4079
+ -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
4080
+ box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25)
4081
+ }
4082
+
4083
+ .thumbnail>img {
4084
+ display: block;
4085
+ max-width: 100%;
4086
+ margin-right: auto;
4087
+ margin-left: auto
4088
+ }
4089
+
4090
+ .thumbnail .caption {
4091
+ padding: 9px
4092
+ }
4093
+
4094
+ .label, .badge {
4095
+ font-size: 10.998px;
4096
+ font-weight: bold;
4097
+ line-height: 14px;
4098
+ color: #fff;
4099
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
4100
+ white-space: nowrap;
4101
+ vertical-align: baseline;
4102
+ background-color: #999
4103
+ }
4104
+
4105
+ .label {
4106
+ padding: 1px 4px 2px;
4107
+ -webkit-border-radius: 3px;
4108
+ -moz-border-radius: 3px;
4109
+ border-radius: 3px
4110
+ }
4111
+
4112
+ .badge {
4113
+ padding: 1px 9px 2px;
4114
+ -webkit-border-radius: 9px;
4115
+ -moz-border-radius: 9px;
4116
+ border-radius: 9px
4117
+ }
4118
+
4119
+ a.label:hover, a.badge:hover {
4120
+ color: #fff;
4121
+ text-decoration: none;
4122
+ cursor: pointer
4123
+ }
4124
+
4125
+ .label-important, .badge-important {
4126
+ background-color: #b94a48
4127
+ }
4128
+
4129
+ .label-important[href], .badge-important[href] {
4130
+ background-color: #953b39
4131
+ }
4132
+
4133
+ .label-warning, .badge-warning {
4134
+ background-color: #f89406
4135
+ }
4136
+
4137
+ .label-warning[href], .badge-warning[href] {
4138
+ background-color: #c67605
4139
+ }
4140
+
4141
+ .label-success, .badge-success {
4142
+ background-color: #468847
4143
+ }
4144
+
4145
+ .label-success[href], .badge-success[href] {
4146
+ background-color: #356635
4147
+ }
4148
+
4149
+ .label-info, .badge-info {
4150
+ background-color: #3a87ad
4151
+ }
4152
+
4153
+ .label-info[href], .badge-info[href] {
4154
+ background-color: #2d6987
4155
+ }
4156
+
4157
+ .label-inverse, .badge-inverse {
4158
+ background-color: #333
4159
+ }
4160
+
4161
+ .label-inverse[href], .badge-inverse[href] {
4162
+ background-color: #1a1a1a
4163
+ }
4164
+
4165
+ @-webkit-keyframes progress-bar-stripes {
4166
+ from {
4167
+ background-position: 40px 0
4168
+ }
4169
+ to {
4170
+ background-position: 0 0
4171
+ }
4172
+ }
4173
+
4174
+ @-moz-keyframes progress-bar-stripes {
4175
+ from {
4176
+ background-position: 40px 0
4177
+ }
4178
+ to {
4179
+ background-position: 0 0
4180
+ }
4181
+ }
4182
+
4183
+ @-ms-keyframes progress-bar-stripes {
4184
+ from {
4185
+ background-position: 40px 0
4186
+ }
4187
+ to {
4188
+ background-position: 0 0
4189
+ }
4190
+ }
4191
+
4192
+ @-o-keyframes progress-bar-stripes {
4193
+ from {
4194
+ background-position: 0 0
4195
+ }
4196
+ to {
4197
+ background-position: 40px 0
4198
+ }
4199
+ }
4200
+
4201
+ @keyframes progress-bar-stripes {
4202
+ from {
4203
+ background-position: 40px 0
4204
+ }
4205
+ to {
4206
+ background-position: 0 0
4207
+ }
4208
+ }
4209
+
4210
+ .progress {
4211
+ height: 18px;
4212
+ margin-bottom: 18px;
4213
+ overflow: hidden;
4214
+ background-color: #f7f7f7;
4215
+ background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
4216
+ background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9);
4217
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
4218
+ background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
4219
+ background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
4220
+ background-image: linear-gradient(top, #f5f5f5, #f9f9f9);
4221
+ background-repeat: repeat-x;
4222
+ -webkit-border-radius: 4px;
4223
+ -moz-border-radius: 4px;
4224
+ border-radius: 4px;
4225
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);
4226
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
4227
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
4228
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1)
4229
+ }
4230
+
4231
+ .progress .bar {
4232
+ width: 0;
4233
+ height: 18px;
4234
+ font-size: 12px;
4235
+ color: #fff;
4236
+ text-align: center;
4237
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
4238
+ background-color: #0e90d2;
4239
+ background-image: -moz-linear-gradient(top, #149bdf, #0480be);
4240
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
4241
+ background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
4242
+ background-image: -o-linear-gradient(top, #149bdf, #0480be);
4243
+ background-image: linear-gradient(top, #149bdf, #0480be);
4244
+ background-image: -ms-linear-gradient(top, #149bdf, #0480be);
4245
+ background-repeat: repeat-x;
4246
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);
4247
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
4248
+ -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
4249
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
4250
+ -webkit-box-sizing: border-box;
4251
+ -moz-box-sizing: border-box;
4252
+ -ms-box-sizing: border-box;
4253
+ box-sizing: border-box;
4254
+ -webkit-transition: width .6s ease;
4255
+ -moz-transition: width .6s ease;
4256
+ -ms-transition: width .6s ease;
4257
+ -o-transition: width .6s ease;
4258
+ transition: width .6s ease
4259
+ }
4260
+
4261
+ .progress-striped .bar {
4262
+ background-color: #149bdf;
4263
+ background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4264
+ background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4265
+ background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4266
+ background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4267
+ background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
4268
+ background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4269
+ -webkit-background-size: 40px 40px;
4270
+ -moz-background-size: 40px 40px;
4271
+ -o-background-size: 40px 40px;
4272
+ background-size: 40px 40px
4273
+ }
4274
+
4275
+ .progress.active .bar {
4276
+ -webkit-animation: progress-bar-stripes 2s linear infinite;
4277
+ -moz-animation: progress-bar-stripes 2s linear infinite;
4278
+ -ms-animation: progress-bar-stripes 2s linear infinite;
4279
+ -o-animation: progress-bar-stripes 2s linear infinite;
4280
+ animation: progress-bar-stripes 2s linear infinite
4281
+ }
4282
+
4283
+ .progress-danger .bar {
4284
+ background-color: #dd514c;
4285
+ background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
4286
+ background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
4287
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
4288
+ background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
4289
+ background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
4290
+ background-image: linear-gradient(top, #ee5f5b, #c43c35);
4291
+ background-repeat: repeat-x;
4292
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0)
4293
+ }
4294
+
4295
+ .progress-danger.progress-striped .bar {
4296
+ background-color: #ee5f5b;
4297
+ background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
4298
+ background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4299
+ background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4300
+ background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4301
+ background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4302
+ background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
4303
+ }
4304
+
4305
+ .progress-success .bar {
4306
+ background-color: #5eb95e;
4307
+ background-image: -moz-linear-gradient(top, #62c462, #57a957);
4308
+ background-image: -ms-linear-gradient(top, #62c462, #57a957);
4309
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
4310
+ background-image: -webkit-linear-gradient(top, #62c462, #57a957);
4311
+ background-image: -o-linear-gradient(top, #62c462, #57a957);
4312
+ background-image: linear-gradient(top, #62c462, #57a957);
4313
+ background-repeat: repeat-x;
4314
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0)
4315
+ }
4316
+
4317
+ .progress-success.progress-striped .bar {
4318
+ background-color: #62c462;
4319
+ background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
4320
+ background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4321
+ background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4322
+ background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4323
+ background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4324
+ background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
4325
+ }
4326
+
4327
+ .progress-info .bar {
4328
+ background-color: #4bb1cf;
4329
+ background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
4330
+ background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
4331
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
4332
+ background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
4333
+ background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
4334
+ background-image: linear-gradient(top, #5bc0de, #339bb9);
4335
+ background-repeat: repeat-x;
4336
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0)
4337
+ }
4338
+
4339
+ .progress-info.progress-striped .bar {
4340
+ background-color: #5bc0de;
4341
+ background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
4342
+ background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4343
+ background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4344
+ background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4345
+ background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4346
+ background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
4347
+ }
4348
+
4349
+ .progress-warning .bar {
4350
+ background-color: #faa732;
4351
+ background-image: -moz-linear-gradient(top, #fbb450, #f89406);
4352
+ background-image: -ms-linear-gradient(top, #fbb450, #f89406);
4353
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
4354
+ background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
4355
+ background-image: -o-linear-gradient(top, #fbb450, #f89406);
4356
+ background-image: linear-gradient(top, #fbb450, #f89406);
4357
+ background-repeat: repeat-x;
4358
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0)
4359
+ }
4360
+
4361
+ .progress-warning.progress-striped .bar {
4362
+ background-color: #fbb450;
4363
+ background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
4364
+ background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4365
+ background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4366
+ background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4367
+ background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
4368
+ background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)
4369
+ }
4370
+
4371
+ .accordion {
4372
+ margin-bottom: 18px
4373
+ }
4374
+
4375
+ .accordion-group {
4376
+ margin-bottom: 2px;
4377
+ border: 1px solid #e5e5e5;
4378
+ -webkit-border-radius: 4px;
4379
+ -moz-border-radius: 4px;
4380
+ border-radius: 4px
4381
+ }
4382
+
4383
+ .accordion-heading {
4384
+ border-bottom: 0
4385
+ }
4386
+
4387
+ .accordion-heading .accordion-toggle {
4388
+ display: block;
4389
+ padding: 8px 15px
4390
+ }
4391
+
4392
+ .accordion-toggle {
4393
+ cursor: pointer
4394
+ }
4395
+
4396
+ .accordion-inner {
4397
+ padding: 9px 15px;
4398
+ border-top: 1px solid #e5e5e5
4399
+ }
4400
+
4401
+ .carousel {
4402
+ position: relative;
4403
+ margin-bottom: 18px;
4404
+ line-height: 1
4405
+ }
4406
+
4407
+ .carousel-inner {
4408
+ position: relative;
4409
+ width: 100%;
4410
+ overflow: hidden
4411
+ }
4412
+
4413
+ .carousel .item {
4414
+ position: relative;
4415
+ display: none;
4416
+ -webkit-transition: .6s ease-in-out left;
4417
+ -moz-transition: .6s ease-in-out left;
4418
+ -ms-transition: .6s ease-in-out left;
4419
+ -o-transition: .6s ease-in-out left;
4420
+ transition: .6s ease-in-out left
4421
+ }
4422
+
4423
+ .carousel .item>img {
4424
+ display: block;
4425
+ line-height: 1
4426
+ }
4427
+
4428
+ .carousel .active, .carousel .next, .carousel .prev {
4429
+ display: block
4430
+ }
4431
+
4432
+ .carousel .active {
4433
+ left: 0
4434
+ }
4435
+
4436
+ .carousel .next, .carousel .prev {
4437
+ position: absolute;
4438
+ top: 0;
4439
+ width: 100%
4440
+ }
4441
+
4442
+ .carousel .next {
4443
+ left: 100%
4444
+ }
4445
+
4446
+ .carousel .prev {
4447
+ left: -100%
4448
+ }
4449
+
4450
+ .carousel .next.left, .carousel .prev.right {
4451
+ left: 0
4452
+ }
4453
+
4454
+ .carousel .active.left {
4455
+ left: -100%
4456
+ }
4457
+
4458
+ .carousel .active.right {
4459
+ left: 100%
4460
+ }
4461
+
4462
+ .carousel-control {
4463
+ position: absolute;
4464
+ top: 40%;
4465
+ left: 15px;
4466
+ width: 40px;
4467
+ height: 40px;
4468
+ margin-top: -20px;
4469
+ font-size: 60px;
4470
+ font-weight: 100;
4471
+ line-height: 30px;
4472
+ color: #fff;
4473
+ text-align: center;
4474
+ background: #222;
4475
+ border: 3px solid #fff;
4476
+ -webkit-border-radius: 23px;
4477
+ -moz-border-radius: 23px;
4478
+ border-radius: 23px;
4479
+ opacity: .5;
4480
+ filter: alpha(opacity=50)
4481
+ }
4482
+
4483
+ .carousel-control.right {
4484
+ right: 15px;
4485
+ left: auto
4486
+ }
4487
+
4488
+ .carousel-control:hover {
4489
+ color: #fff;
4490
+ text-decoration: none;
4491
+ opacity: .9;
4492
+ filter: alpha(opacity=90)
4493
+ }
4494
+
4495
+ .carousel-caption {
4496
+ position: absolute;
4497
+ right: 0;
4498
+ bottom: 0;
4499
+ left: 0;
4500
+ padding: 10px 15px 5px;
4501
+ background: #333;
4502
+ background: rgba(0, 0, 0, 0.75)
4503
+ }
4504
+
4505
+ .carousel-caption h4, .carousel-caption p {
4506
+ color: #fff
4507
+ }
4508
+
4509
+ .hero-unit {
4510
+ padding: 60px;
4511
+ margin-bottom: 30px;
4512
+ background-color: #eee;
4513
+ -webkit-border-radius: 6px;
4514
+ -moz-border-radius: 6px;
4515
+ border-radius: 6px
4516
+ }
4517
+
4518
+ .hero-unit h1 {
4519
+ margin-bottom: 0;
4520
+ font-size: 60px;
4521
+ line-height: 1;
4522
+ letter-spacing: -1px;
4523
+ color: inherit
4524
+ }
4525
+
4526
+ .hero-unit p {
4527
+ font-size: 18px;
4528
+ font-weight: 200;
4529
+ line-height: 27px;
4530
+ color: inherit
4531
+ }
4532
+
4533
+ .pull-right {
4534
+ float: right
4535
+ }
4536
+
4537
+ .pull-left {
4538
+ float: left
4539
+ }
4540
+
4541
+ .hide {
4542
+ display: none
4543
+ }
4544
+
4545
+ .show {
4546
+ display: block
4547
+ }
4548
+
4549
+ .invisible {
4550
+ visibility: hidden
4551
+ }