baidu_ueditor_rails 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (291) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/vendor/assets/javascripts/ueditor/dialogs/anchor/anchor.html +0 -0
  4. data/vendor/assets/javascripts/ueditor/dialogs/attachment/attachment.css +648 -97
  5. data/vendor/assets/javascripts/ueditor/dialogs/attachment/attachment.html +50 -118
  6. data/vendor/assets/javascripts/ueditor/dialogs/attachment/attachment.js +754 -0
  7. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif +0 -0
  8. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_default.png +0 -0
  9. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif +0 -0
  10. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif +0 -0
  11. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif +0 -0
  12. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif +0 -0
  13. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif +0 -0
  14. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif +0 -0
  15. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif +0 -0
  16. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif +0 -0
  17. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif +0 -0
  18. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif +0 -0
  19. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif +0 -0
  20. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.gif +0 -0
  21. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.png +0 -0
  22. data/vendor/assets/javascripts/ueditor/{lang/zh-cn/images/imglabel.png → dialogs/attachment/images/bg.png} +0 -0
  23. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.gif +0 -0
  24. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.png +0 -0
  25. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/icons.gif +0 -0
  26. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/icons.png +0 -0
  27. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/image.png +0 -0
  28. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/progress.png +0 -0
  29. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/success.gif +0 -0
  30. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/success.png +0 -0
  31. data/vendor/assets/javascripts/ueditor/dialogs/background/background.css +70 -1
  32. data/vendor/assets/javascripts/ueditor/dialogs/background/background.html +0 -0
  33. data/vendor/assets/javascripts/ueditor/dialogs/background/background.js +205 -80
  34. data/vendor/assets/javascripts/ueditor/dialogs/background/images/bg.png +0 -0
  35. data/vendor/assets/javascripts/ueditor/dialogs/background/images/success.png +0 -0
  36. data/vendor/assets/javascripts/ueditor/dialogs/charts/chart.config.js +0 -0
  37. data/vendor/assets/javascripts/ueditor/dialogs/charts/charts.css +0 -0
  38. data/vendor/assets/javascripts/ueditor/dialogs/charts/charts.html +0 -0
  39. data/vendor/assets/javascripts/ueditor/dialogs/charts/charts.js +0 -0
  40. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts0.png +0 -0
  41. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts1.png +0 -0
  42. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts2.png +0 -0
  43. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts3.png +0 -0
  44. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts4.png +0 -0
  45. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts5.png +0 -0
  46. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.css +0 -0
  47. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.html +0 -0
  48. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.js +0 -0
  49. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/0.gif +0 -0
  50. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/bface.gif +0 -0
  51. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/cface.gif +0 -0
  52. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/fface.gif +0 -0
  53. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/jxface2.gif +0 -0
  54. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
  55. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/tface.gif +0 -0
  56. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/wface.gif +0 -0
  57. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/yface.gif +0 -0
  58. data/vendor/assets/javascripts/ueditor/dialogs/gmap/gmap.html +3 -3
  59. data/vendor/assets/javascripts/ueditor/dialogs/help/help.css +0 -0
  60. data/vendor/assets/javascripts/ueditor/dialogs/help/help.html +0 -0
  61. data/vendor/assets/javascripts/ueditor/dialogs/help/help.js +1 -1
  62. data/vendor/assets/javascripts/ueditor/dialogs/image/image.css +880 -55
  63. data/vendor/assets/javascripts/ueditor/dialogs/image/image.html +101 -239
  64. data/vendor/assets/javascripts/ueditor/dialogs/image/image.js +1054 -625
  65. data/vendor/assets/javascripts/ueditor/dialogs/image/images/alignicon.jpg +0 -0
  66. data/vendor/assets/javascripts/ueditor/dialogs/image/images/bg.png +0 -0
  67. data/vendor/assets/javascripts/ueditor/dialogs/image/images/icons.gif +0 -0
  68. data/vendor/assets/javascripts/ueditor/dialogs/image/images/icons.png +0 -0
  69. data/vendor/assets/javascripts/ueditor/dialogs/image/images/image.png +0 -0
  70. data/vendor/assets/javascripts/ueditor/dialogs/image/images/progress.png +0 -0
  71. data/vendor/assets/javascripts/ueditor/dialogs/image/images/success.gif +0 -0
  72. data/vendor/assets/javascripts/ueditor/dialogs/image/images/success.png +0 -0
  73. data/vendor/assets/javascripts/ueditor/dialogs/insertframe/insertframe.html +0 -0
  74. data/vendor/assets/javascripts/ueditor/dialogs/internal.js +0 -0
  75. data/vendor/assets/javascripts/ueditor/dialogs/link/link.html +2 -2
  76. data/vendor/assets/javascripts/ueditor/dialogs/map/map.html +0 -0
  77. data/vendor/assets/javascripts/ueditor/dialogs/map/show.html +0 -0
  78. data/vendor/assets/javascripts/ueditor/dialogs/music/music.css +0 -0
  79. data/vendor/assets/javascripts/ueditor/dialogs/music/music.html +0 -0
  80. data/vendor/assets/javascripts/ueditor/dialogs/music/music.js +0 -0
  81. data/vendor/assets/javascripts/ueditor/dialogs/preview/preview.html +0 -0
  82. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/addimg.png +0 -0
  83. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/brush.png +0 -0
  84. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/delimg.png +0 -0
  85. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/delimgH.png +0 -0
  86. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/empty.png +0 -0
  87. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/emptyH.png +0 -0
  88. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/eraser.png +0 -0
  89. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/redo.png +0 -0
  90. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/redoH.png +0 -0
  91. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/scale.png +0 -0
  92. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/scaleH.png +0 -0
  93. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/size.png +0 -0
  94. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/undo.png +0 -0
  95. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/undoH.png +0 -0
  96. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/scrawl.css +0 -0
  97. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/scrawl.html +1 -1
  98. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/scrawl.js +29 -13
  99. data/vendor/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.html +0 -0
  100. data/vendor/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.js +0 -0
  101. data/vendor/assets/javascripts/ueditor/dialogs/snapscreen/snapscreen.html +0 -0
  102. data/vendor/assets/javascripts/ueditor/dialogs/spechars/spechars.html +0 -0
  103. data/vendor/assets/javascripts/ueditor/dialogs/spechars/spechars.js +0 -0
  104. data/vendor/assets/javascripts/ueditor/dialogs/table/dragicon.png +0 -0
  105. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.css +0 -0
  106. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.html +0 -0
  107. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.js +0 -0
  108. data/vendor/assets/javascripts/ueditor/dialogs/table/edittd.html +0 -0
  109. data/vendor/assets/javascripts/ueditor/dialogs/table/edittip.html +0 -0
  110. data/vendor/assets/javascripts/ueditor/dialogs/template/config.js +0 -0
  111. data/vendor/assets/javascripts/ueditor/dialogs/template/images/bg.gif +0 -0
  112. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre0.png +0 -0
  113. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre1.png +0 -0
  114. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre2.png +0 -0
  115. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre3.png +0 -0
  116. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre4.png +0 -0
  117. data/vendor/assets/javascripts/ueditor/dialogs/template/template.css +0 -0
  118. data/vendor/assets/javascripts/ueditor/dialogs/template/template.html +0 -0
  119. data/vendor/assets/javascripts/ueditor/dialogs/template/template.js +0 -0
  120. data/vendor/assets/javascripts/ueditor/dialogs/video/images/bg.png +0 -0
  121. data/vendor/assets/javascripts/ueditor/dialogs/video/images/center_focus.jpg +0 -0
  122. data/vendor/assets/javascripts/ueditor/dialogs/video/images/file-icons.gif +0 -0
  123. data/vendor/assets/javascripts/ueditor/dialogs/video/images/file-icons.png +0 -0
  124. data/vendor/assets/javascripts/ueditor/dialogs/video/images/icons.gif +0 -0
  125. data/vendor/assets/javascripts/ueditor/dialogs/video/images/icons.png +0 -0
  126. data/vendor/assets/javascripts/ueditor/dialogs/video/images/image.png +0 -0
  127. data/vendor/assets/javascripts/ueditor/dialogs/video/images/left_focus.jpg +0 -0
  128. data/vendor/assets/javascripts/ueditor/dialogs/video/images/none_focus.jpg +0 -0
  129. data/vendor/assets/javascripts/ueditor/dialogs/video/images/progress.png +0 -0
  130. data/vendor/assets/javascripts/ueditor/dialogs/video/images/right_focus.jpg +0 -0
  131. data/vendor/assets/javascripts/ueditor/dialogs/video/images/success.gif +0 -0
  132. data/vendor/assets/javascripts/ueditor/dialogs/video/images/success.png +0 -0
  133. data/vendor/assets/javascripts/ueditor/dialogs/video/video.css +555 -70
  134. data/vendor/assets/javascripts/ueditor/dialogs/video/video.html +29 -38
  135. data/vendor/assets/javascripts/ueditor/dialogs/video/video.js +521 -201
  136. data/vendor/assets/javascripts/ueditor/dialogs/webapp/webapp.html +0 -0
  137. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/fClipboard_ueditor.swf +0 -0
  138. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/imageUploader.swf +0 -0
  139. data/vendor/assets/javascripts/ueditor/dialogs/{tangram.js → wordimage/tangram.js} +1495 -1495
  140. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/wordimage.html +22 -15
  141. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/wordimage.js +4 -5
  142. data/vendor/assets/javascripts/ueditor/index.html +13 -13
  143. data/vendor/assets/javascripts/ueditor/lang/en/en.js +233 -187
  144. data/vendor/assets/javascripts/ueditor/lang/en/images/addimage.png +0 -0
  145. data/vendor/assets/javascripts/ueditor/lang/en/images/alldeletebtnhoverskin.png +0 -0
  146. data/vendor/assets/javascripts/ueditor/lang/en/images/alldeletebtnupskin.png +0 -0
  147. data/vendor/assets/javascripts/ueditor/lang/en/images/background.png +0 -0
  148. data/vendor/assets/javascripts/ueditor/lang/en/images/button.png +0 -0
  149. data/vendor/assets/javascripts/ueditor/lang/en/images/copy.png +0 -0
  150. data/vendor/assets/javascripts/ueditor/lang/en/images/deletedisable.png +0 -0
  151. data/vendor/assets/javascripts/ueditor/lang/en/images/deleteenable.png +0 -0
  152. data/vendor/assets/javascripts/ueditor/lang/en/images/listbackground.png +0 -0
  153. data/vendor/assets/javascripts/ueditor/lang/en/images/localimage.png +0 -0
  154. data/vendor/assets/javascripts/ueditor/lang/en/images/music.png +0 -0
  155. data/vendor/assets/javascripts/ueditor/lang/en/images/rotateleftdisable.png +0 -0
  156. data/vendor/assets/javascripts/ueditor/lang/en/images/rotateleftenable.png +0 -0
  157. data/vendor/assets/javascripts/ueditor/lang/en/images/rotaterightdisable.png +0 -0
  158. data/vendor/assets/javascripts/ueditor/lang/en/images/rotaterightenable.png +0 -0
  159. data/vendor/assets/javascripts/ueditor/lang/en/images/upload.png +0 -0
  160. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/copy.png +0 -0
  161. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/localimage.png +0 -0
  162. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/music.png +0 -0
  163. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/upload.png +0 -0
  164. data/vendor/assets/javascripts/ueditor/lang/zh-cn/zh-cn.js +248 -184
  165. data/vendor/assets/javascripts/ueditor/themes/default/css/ueditor.css +118 -38
  166. data/vendor/assets/javascripts/ueditor/themes/default/css/ueditor.min.css +8 -8
  167. data/vendor/assets/javascripts/ueditor/themes/default/dialogbase.css +1 -1
  168. data/vendor/assets/javascripts/ueditor/themes/default/images/anchor.gif +0 -0
  169. data/vendor/assets/javascripts/ueditor/themes/default/images/arrow.png +0 -0
  170. data/vendor/assets/javascripts/ueditor/themes/default/images/arrow_down.png +0 -0
  171. data/vendor/assets/javascripts/ueditor/themes/default/images/arrow_up.png +0 -0
  172. data/vendor/assets/javascripts/ueditor/themes/default/images/button-bg.gif +0 -0
  173. data/vendor/assets/javascripts/ueditor/themes/default/images/cancelbutton.gif +0 -0
  174. data/vendor/assets/javascripts/ueditor/themes/default/images/charts.png +0 -0
  175. data/vendor/assets/javascripts/ueditor/themes/default/images/cursor_h.gif +0 -0
  176. data/vendor/assets/javascripts/ueditor/themes/default/images/cursor_h.png +0 -0
  177. data/vendor/assets/javascripts/ueditor/themes/default/images/cursor_v.gif +0 -0
  178. data/vendor/assets/javascripts/ueditor/themes/default/images/cursor_v.png +0 -0
  179. data/vendor/assets/javascripts/ueditor/themes/default/images/dialog-title-bg.png +0 -0
  180. data/vendor/assets/javascripts/ueditor/themes/default/images/filescan.png +0 -0
  181. data/vendor/assets/javascripts/ueditor/themes/default/images/highlighted.gif +0 -0
  182. data/vendor/assets/javascripts/ueditor/themes/default/images/icons-all.gif +0 -0
  183. data/vendor/assets/javascripts/ueditor/themes/default/images/icons.gif +0 -0
  184. data/vendor/assets/javascripts/ueditor/themes/default/images/icons.png +0 -0
  185. data/vendor/assets/javascripts/ueditor/themes/default/images/loaderror.png +0 -0
  186. data/vendor/assets/javascripts/ueditor/themes/default/images/loading.gif +0 -0
  187. data/vendor/assets/javascripts/ueditor/themes/default/images/lock.gif +0 -0
  188. data/vendor/assets/javascripts/ueditor/themes/default/images/neweditor-tab-bg.png +0 -0
  189. data/vendor/assets/javascripts/ueditor/themes/default/images/pagebreak.gif +0 -0
  190. data/vendor/assets/javascripts/ueditor/themes/default/images/scale.png +0 -0
  191. data/vendor/assets/javascripts/ueditor/themes/default/images/sortable.png +0 -0
  192. data/vendor/assets/javascripts/ueditor/themes/default/images/spacer.gif +0 -0
  193. data/vendor/assets/javascripts/ueditor/themes/default/images/sparator_v.png +0 -0
  194. data/vendor/assets/javascripts/ueditor/themes/default/images/table-cell-align.png +0 -0
  195. data/vendor/assets/javascripts/ueditor/themes/default/images/tangram-colorpicker.png +0 -0
  196. data/vendor/assets/javascripts/ueditor/themes/default/images/toolbar_bg.png +0 -0
  197. data/vendor/assets/javascripts/ueditor/themes/default/images/unhighlighted.gif +0 -0
  198. data/vendor/assets/javascripts/ueditor/themes/default/images/upload.png +0 -0
  199. data/vendor/assets/javascripts/ueditor/themes/default/images/videologo.gif +0 -0
  200. data/vendor/assets/javascripts/ueditor/themes/default/images/word.gif +0 -0
  201. data/vendor/assets/javascripts/ueditor/themes/default/images/wordpaste.png +0 -0
  202. data/vendor/assets/javascripts/ueditor/themes/iframe.css +0 -0
  203. data/vendor/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCore.js +0 -0
  204. data/vendor/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css +0 -0
  205. data/vendor/assets/javascripts/ueditor/third-party/codemirror/codemirror.css +0 -0
  206. data/vendor/assets/javascripts/ueditor/third-party/codemirror/codemirror.js +0 -0
  207. data/vendor/assets/javascripts/ueditor/third-party/highcharts/adapters/mootools-adapter.js +0 -0
  208. data/vendor/assets/javascripts/ueditor/third-party/highcharts/adapters/mootools-adapter.src.js +0 -0
  209. data/vendor/assets/javascripts/ueditor/third-party/highcharts/adapters/prototype-adapter.js +0 -0
  210. data/vendor/assets/javascripts/ueditor/third-party/highcharts/adapters/prototype-adapter.src.js +0 -0
  211. data/vendor/assets/javascripts/ueditor/third-party/highcharts/adapters/standalone-framework.js +0 -0
  212. data/vendor/assets/javascripts/ueditor/third-party/highcharts/adapters/standalone-framework.src.js +0 -0
  213. data/vendor/assets/javascripts/ueditor/third-party/highcharts/highcharts-more.js +0 -0
  214. data/vendor/assets/javascripts/ueditor/third-party/highcharts/highcharts-more.src.js +0 -0
  215. data/vendor/assets/javascripts/ueditor/third-party/highcharts/highcharts.js +0 -0
  216. data/vendor/assets/javascripts/ueditor/third-party/highcharts/highcharts.src.js +0 -0
  217. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/annotations.js +0 -0
  218. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/annotations.src.js +0 -0
  219. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/canvas-tools.js +0 -0
  220. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/canvas-tools.src.js +0 -0
  221. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/data.js +0 -0
  222. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/data.src.js +0 -0
  223. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/drilldown.js +0 -0
  224. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/drilldown.src.js +0 -0
  225. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/exporting.js +0 -0
  226. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/exporting.src.js +0 -0
  227. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/funnel.js +0 -0
  228. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/funnel.src.js +0 -0
  229. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/heatmap.js +0 -0
  230. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/heatmap.src.js +0 -0
  231. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/map.js +0 -0
  232. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/map.src.js +0 -0
  233. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js +0 -0
  234. data/vendor/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.src.js +0 -0
  235. data/vendor/assets/javascripts/ueditor/third-party/highcharts/themes/dark-blue.js +0 -0
  236. data/vendor/assets/javascripts/ueditor/third-party/highcharts/themes/dark-green.js +0 -0
  237. data/vendor/assets/javascripts/ueditor/third-party/highcharts/themes/gray.js +0 -0
  238. data/vendor/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js +0 -0
  239. data/vendor/assets/javascripts/ueditor/third-party/highcharts/themes/skies.js +0 -0
  240. data/vendor/assets/javascripts/ueditor/third-party/jquery-1.10.2.js +9789 -0
  241. data/vendor/assets/javascripts/ueditor/third-party/jquery-1.10.2.min.js +0 -0
  242. data/vendor/assets/javascripts/ueditor/third-party/jquery-1.10.2.min.map +1 -0
  243. data/vendor/assets/javascripts/ueditor/third-party/snapscreen/UEditorSnapscreen.exe +0 -0
  244. data/vendor/assets/javascripts/ueditor/third-party/video-js/font/vjs.eot +0 -0
  245. data/vendor/assets/javascripts/ueditor/third-party/video-js/font/vjs.svg +0 -0
  246. data/vendor/assets/javascripts/ueditor/third-party/video-js/font/vjs.ttf +0 -0
  247. data/vendor/assets/javascripts/ueditor/third-party/video-js/font/vjs.woff +0 -0
  248. data/vendor/assets/javascripts/ueditor/third-party/video-js/video-js.css +0 -0
  249. data/vendor/assets/javascripts/ueditor/third-party/video-js/video-js.min.css +0 -0
  250. data/vendor/assets/javascripts/ueditor/third-party/video-js/video-js.swf +0 -0
  251. data/vendor/assets/javascripts/ueditor/third-party/video-js/video.dev.js +0 -0
  252. data/vendor/assets/javascripts/ueditor/third-party/video-js/video.js +0 -0
  253. data/vendor/assets/javascripts/ueditor/third-party/webuploader/Uploader.swf +0 -0
  254. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.css +28 -0
  255. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.custom.js +5670 -0
  256. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.custom.min.js +2 -0
  257. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.flashonly.js +4176 -0
  258. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.flashonly.min.js +2 -0
  259. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.html5only.js +5559 -0
  260. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.html5only.min.js +2 -0
  261. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.js +6733 -0
  262. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.min.js +2 -0
  263. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.withoutimage.js +4593 -0
  264. data/vendor/assets/javascripts/ueditor/third-party/webuploader/webuploader.withoutimage.min.js +2 -0
  265. data/vendor/assets/javascripts/ueditor/third-party/xss.min.js +1 -0
  266. data/vendor/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.js +1256 -0
  267. data/vendor/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js +9 -0
  268. data/vendor/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
  269. data/vendor/assets/javascripts/ueditor/ueditor.all.js +4719 -2686
  270. data/vendor/assets/javascripts/ueditor/ueditor.all.min.js +18 -664
  271. data/vendor/assets/javascripts/ueditor/ueditor.config.js +497 -452
  272. data/vendor/assets/javascripts/ueditor/ueditor.parse.js +45 -38
  273. data/vendor/assets/javascripts/ueditor/ueditor.parse.min.js +7 -28
  274. metadata +56 -22
  275. data/vendor/assets/javascripts/ueditor/dialogs/attachment/callbacks.js +0 -166
  276. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeMaps.js +0 -29
  277. data/vendor/assets/javascripts/ueditor/dialogs/image/imageUploader.swf +0 -0
  278. data/vendor/assets/javascripts/ueditor/dialogs/image/images/center_focus.jpg +0 -0
  279. data/vendor/assets/javascripts/ueditor/dialogs/image/images/left_focus.jpg +0 -0
  280. data/vendor/assets/javascripts/ueditor/dialogs/image/images/none_focus.jpg +0 -0
  281. data/vendor/assets/javascripts/ueditor/dialogs/image/images/right_focus.jpg +0 -0
  282. data/vendor/assets/javascripts/ueditor/dialogs/video/callbacks.js +0 -166
  283. data/vendor/assets/javascripts/ueditor/lang/en/images/imglabel.png +0 -0
  284. data/vendor/assets/javascripts/ueditor/third-party/swfupload/fileprogress.js +0 -215
  285. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.cookies.js +0 -53
  286. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.js +0 -1132
  287. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.proxy.js +0 -96
  288. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.queue.js +0 -98
  289. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.speed.js +0 -346
  290. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.swf +0 -0
  291. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload_fp9.swf +0 -0
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * ZeroClipboard
3
+ * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.
4
+ * Copyright (c) 2014 Jon Rohan, James M. Greene
5
+ * Licensed MIT
6
+ * http://zeroclipboard.org/
7
+ * v2.0.0-beta.5
8
+ */
9
+ !function(a){"use strict";var b,c={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,unavailable:null,deactivated:null,overdue:null,ready:null},d={},e=null,f=0,g={},h=0,i={},j=function(){var a,b,c,d,e="ZeroClipboard.swf";if(!document.currentScript||!(d=document.currentScript.src)){var f=document.getElementsByTagName("script");if("readyState"in f[0])for(a=f.length;a--&&("interactive"!==f[a].readyState||!(d=f[a].src)););else if("loading"===document.readyState)d=f[f.length-1].src;else{for(a=f.length;a--;){if(c=f[a].src,!c){b=null;break}if(c=c.split("#")[0].split("?")[0],c=c.slice(0,c.lastIndexOf("/")+1),null==b)b=c;else if(b!==c){b=null;break}}null!==b&&(d=b)}}return d&&(d=d.split("#")[0].split("?")[0],e=d.slice(0,d.lastIndexOf("/")+1)+e),e}(),k=function(){var a=/\-([a-z])/g,b=function(a,b){return b.toUpperCase()};return function(c){return c.replace(a,b)}}(),l=function(b,c){var d,e,f;return a.getComputedStyle?d=a.getComputedStyle(b,null).getPropertyValue(c):(e=k(c),d=b.currentStyle?b.currentStyle[e]:b.style[e]),"cursor"!==c||d&&"auto"!==d||(f=b.tagName.toLowerCase(),"a"!==f)?d:"pointer"},m=function(b){b||(b=a.event);var c;this!==a?c=this:b.target?c=b.target:b.srcElement&&(c=b.srcElement),L.activate(c)},n=function(a,b,c){a&&1===a.nodeType&&(a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c))},o=function(a,b,c){a&&1===a.nodeType&&(a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent&&a.detachEvent("on"+b,c))},p=function(a,b){if(!a||1!==a.nodeType)return a;if(a.classList)return a.classList.contains(b)||a.classList.add(b),a;if(b&&"string"==typeof b){var c=(b||"").split(/\s+/);if(1===a.nodeType)if(a.className){for(var d=" "+a.className+" ",e=a.className,f=0,g=c.length;g>f;f++)d.indexOf(" "+c[f]+" ")<0&&(e+=" "+c[f]);a.className=e.replace(/^\s+|\s+$/g,"")}else a.className=b}return a},q=function(a,b){if(!a||1!==a.nodeType)return a;if(a.classList)return a.classList.contains(b)&&a.classList.remove(b),a;if(b&&"string"==typeof b||void 0===b){var c=(b||"").split(/\s+/);if(1===a.nodeType&&a.className)if(b){for(var d=(" "+a.className+" ").replace(/[\n\t]/g," "),e=0,f=c.length;f>e;e++)d=d.replace(" "+c[e]+" "," ");a.className=d.replace(/^\s+|\s+$/g,"")}else a.className=""}return a},r=function(){var a,b,c,d=1;return"function"==typeof document.body.getBoundingClientRect&&(a=document.body.getBoundingClientRect(),b=a.right-a.left,c=document.body.offsetWidth,d=Math.round(b/c*100)/100),d},s=function(b,c){var d={left:0,top:0,width:0,height:0,zIndex:y(c)-1};if(b.getBoundingClientRect){var e,f,g,h=b.getBoundingClientRect();"pageXOffset"in a&&"pageYOffset"in a?(e=a.pageXOffset,f=a.pageYOffset):(g=r(),e=Math.round(document.documentElement.scrollLeft/g),f=Math.round(document.documentElement.scrollTop/g));var i=document.documentElement.clientLeft||0,j=document.documentElement.clientTop||0;d.left=h.left+e-i,d.top=h.top+f-j,d.width="width"in h?h.width:h.right-h.left,d.height="height"in h?h.height:h.bottom-h.top}return d},t=function(a,b){var c=null==b||b&&b.cacheBust===!0;return c?(-1===a.indexOf("?")?"?":"&")+"noCache="+(new Date).getTime():""},u=function(b){var c,d,e,f,g="",h=[];if(b.trustedDomains&&("string"==typeof b.trustedDomains?f=[b.trustedDomains]:"object"==typeof b.trustedDomains&&"length"in b.trustedDomains&&(f=b.trustedDomains)),f&&f.length)for(c=0,d=f.length;d>c;c++)if(f.hasOwnProperty(c)&&f[c]&&"string"==typeof f[c]){if(e=A(f[c]),!e)continue;if("*"===e){h=[e];break}h.push.apply(h,[e,"//"+e,a.location.protocol+"//"+e])}return h.length&&(g+="trustedOrigins="+encodeURIComponent(h.join(","))),b.forceEnhancedClipboard===!0&&(g+=(g?"&":"")+"forceEnhancedClipboard=true"),g},v=function(a,b,c){if("function"==typeof b.indexOf)return b.indexOf(a,c);var d,e=b.length;for("undefined"==typeof c?c=0:0>c&&(c=e+c),d=c;e>d;d++)if(b.hasOwnProperty(d)&&b[d]===a)return d;return-1},w=function(a){if("string"==typeof a)throw new TypeError("ZeroClipboard doesn't accept query strings.");return"number"!=typeof a.length?[a]:a},x=function(b,c,d,e){e?a.setTimeout(function(){b.apply(c,d)},0):b.apply(c,d)},y=function(a){var b,c;return a&&("number"==typeof a&&a>0?b=a:"string"==typeof a&&(c=parseInt(a,10))&&!isNaN(c)&&c>0&&(b=c)),b||("number"==typeof O.zIndex&&O.zIndex>0?b=O.zIndex:"string"==typeof O.zIndex&&(c=parseInt(O.zIndex,10))&&!isNaN(c)&&c>0&&(b=c)),b||0},z=function(){var a,b,c,d,e,f,g=arguments[0]||{};for(a=1,b=arguments.length;b>a;a++)if(null!=(c=arguments[a]))for(d in c)if(c.hasOwnProperty(d)){if(e=g[d],f=c[d],g===f)continue;void 0!==f&&(g[d]=f)}return g},A=function(a){if(null==a||""===a)return null;if(a=a.replace(/^\s+|\s+$/g,""),""===a)return null;var b=a.indexOf("//");a=-1===b?a:a.slice(b+2);var c=a.indexOf("/");return a=-1===c?a:-1===b||0===c?null:a.slice(0,c),a&&".swf"===a.slice(-4).toLowerCase()?null:a||null},B=function(){var a=function(a,b){var c,d,e;if(null!=a&&"*"!==b[0]&&("string"==typeof a&&(a=[a]),"object"==typeof a&&"number"==typeof a.length))for(c=0,d=a.length;d>c;c++)if(a.hasOwnProperty(c)&&(e=A(a[c]))){if("*"===e){b.length=0,b.push("*");break}-1===v(e,b)&&b.push(e)}};return function(b,c){var d=A(c.swfPath);null===d&&(d=b);var e=[];a(c.trustedOrigins,e),a(c.trustedDomains,e);var f=e.length;if(f>0){if(1===f&&"*"===e[0])return"always";if(-1!==v(b,e))return 1===f&&b===d?"sameDomain":"always"}return"never"}}(),C=function(a){if(null==a)return[];if(Object.keys)return Object.keys(a);var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c);return b},D=function(a){if(a)for(var b in a)a.hasOwnProperty(b)&&delete a[b];return a},E=function(){try{return document.activeElement}catch(a){}return null},F=function(a,b){for(var c={},d=0,e=b.length;e>d;d++)b[d]in a&&(c[b[d]]=a[b[d]]);return c},G=function(a,b){var c={};for(var d in a)-1===v(d,b)&&(c[d]=a[d]);return c},H=function(a){var b={},c={};if("object"==typeof a&&a){for(var d in a)if(d&&a.hasOwnProperty(d)&&"string"==typeof a[d]&&a[d])switch(d.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":b.text=a[d],c.text=d;break;case"text/html":case"html":case"air:html":case"flash:html":b.html=a[d],c.html=d;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":b.rtf=a[d],c.rtf=d}return{data:b,formatMap:c}}},I=function(a,b){if("object"!=typeof a||!a||"object"!=typeof b||!b)return a;var c={};for(var d in a)if(a.hasOwnProperty(d)){if("success"!==d&&"data"!==d){c[d]=a[d];continue}c[d]={};var e=a[d];for(var f in e)f&&e.hasOwnProperty(f)&&b.hasOwnProperty(f)&&(c[d][b[f]]=e[f])}return c},J=function(a){return function(b){return a.call(b,0)}}(a.Array.prototype.slice),K=function(){function a(a){var b=a.match(/[\d]+/g);return b.length=3,b.join(".")}function b(a){return!!a&&(a=a.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(a)||"chrome.plugin"===a.slice(-13))}function d(c){c&&(h=!0,c.version&&(k=a(c.version)),!k&&c.description&&(k=a(c.description)),c.filename&&(j=b(c.filename)))}var e,f,g,h=!1,i=!1,j=!1,k="";if(navigator.plugins&&navigator.plugins.length)e=navigator.plugins["Shockwave Flash"],d(e),navigator.plugins["Shockwave Flash 2.0"]&&(h=!0,k="2.0.0.11");else if(navigator.mimeTypes&&navigator.mimeTypes.length)g=navigator.mimeTypes["application/x-shockwave-flash"],e=g&&g.enabledPlugin,d(e);else if("undefined"!=typeof ActiveXObject){i=!0;try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),h=!0,k=a(f.GetVariable("$version"))}catch(l){try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),h=!0,k="6.0.21"}catch(m){try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),h=!0,k=a(f.GetVariable("$version"))}catch(n){i=!1}}}}c.disabled=h!==!0,c.outdated=k&&parseFloat(k)<11,c.version=k||"0.0.0",c.pluginType=j?"pepper":i?"activex":h?"netscape":"unknown"};K();var L=function(a){if(!(this instanceof L))return new L(a);if(this.id=""+f++,g[this.id]={instance:this,elements:[],handlers:{}},a&&this.clip(a),"boolean"!=typeof c.ready&&(c.ready=!1),!L.isFlashUnusable()&&null===c.bridge){var b=this,d=O.flashLoadTimeout;"number"==typeof d&&d>=0&&setTimeout(function(){"boolean"!=typeof c.deactivated&&(c.deactivated=!0),c.deactivated===!0&&L.emit({type:"error",name:"flash-deactivated",client:b})},d),c.overdue=!1,P()}};L.prototype.setText=function(a){return L.setData("text/plain",a),this},L.prototype.setHtml=function(a){return L.setData("text/html",a),this},L.prototype.setRichText=function(a){return L.setData("application/rtf",a),this},L.prototype.setData=function(){return L.setData.apply(L,J(arguments)),this},L.prototype.clearData=function(){return L.clearData.apply(L,J(arguments)),this},L.prototype.setSize=function(a,b){return T(a,b),this};var M=function(a){c.ready===!0&&c.bridge&&"function"==typeof c.bridge.setHandCursor?c.bridge.setHandCursor(a):c.ready=!1};L.prototype.destroy=function(){this.unclip(),this.off(),delete g[this.id]};var N=function(){var a,b,c,d=[],e=C(g);for(a=0,b=e.length;b>a;a++)c=g[e[a]].instance,c&&c instanceof L&&d.push(c);return d};L.version="2.0.0-beta.5";var O={swfPath:j,trustedDomains:a.location.host?[a.location.host]:[],cacheBust:!0,forceHandCursor:!1,forceEnhancedClipboard:!1,zIndex:999999999,debug:!1,title:null,autoActivate:!0,flashLoadTimeout:3e4};L.isFlashUnusable=function(){return!!(c.disabled||c.outdated||c.unavailable||c.deactivated)},L.config=function(a){"object"==typeof a&&null!==a&&z(O,a);{if("string"!=typeof a||!a){var b={};for(var c in O)O.hasOwnProperty(c)&&(b[c]="object"==typeof O[c]&&null!==O[c]?"length"in O[c]?O[c].slice(0):z({},O[c]):O[c]);return b}if(O.hasOwnProperty(a))return O[a]}},L.destroy=function(){L.deactivate();for(var a in g)if(g.hasOwnProperty(a)&&g[a]){var b=g[a].instance;b&&"function"==typeof b.destroy&&b.destroy()}var d=c.bridge;if(d){var e=R(d);e&&("activex"===c.pluginType&&"readyState"in d?(d.style.display="none",function f(){if(4===d.readyState){for(var a in d)"function"==typeof d[a]&&(d[a]=null);d.parentNode.removeChild(d),e.parentNode&&e.parentNode.removeChild(e)}else setTimeout(f,10)}()):(d.parentNode.removeChild(d),e.parentNode&&e.parentNode.removeChild(e))),c.ready=null,c.bridge=null,c.deactivated=null}L.clearData()},L.activate=function(a){b&&(q(b,O.hoverClass),q(b,O.activeClass)),b=a,p(a,O.hoverClass),S();var d=O.title||a.getAttribute("title");if(d){var e=R(c.bridge);e&&e.setAttribute("title",d)}var f=O.forceHandCursor===!0||"pointer"===l(a,"cursor");M(f)},L.deactivate=function(){var a=R(c.bridge);a&&(a.removeAttribute("title"),a.style.left="0px",a.style.top="-9999px",T(1,1)),b&&(q(b,O.hoverClass),q(b,O.activeClass),b=null)},L.state=function(){return{browser:F(a.navigator,["userAgent","platform","appName"]),flash:G(c,["bridge"]),zeroclipboard:{version:L.version,config:L.config()}}},L.setData=function(a,b){var c;if("object"==typeof a&&a&&"undefined"==typeof b)c=a,L.clearData();else{if("string"!=typeof a||!a)return;c={},c[a]=b}for(var e in c)e&&c.hasOwnProperty(e)&&"string"==typeof c[e]&&c[e]&&(d[e]=c[e])},L.clearData=function(a){"undefined"==typeof a?(D(d),e=null):"string"==typeof a&&d.hasOwnProperty(a)&&delete d[a]};var P=function(){var b,d,e=document.getElementById("global-zeroclipboard-html-bridge");if(!e){var f=B(a.location.host,O),g="never"===f?"none":"all",h=u(O),i=O.swfPath+t(O.swfPath,O);e=Q();var j=document.createElement("div");e.appendChild(j),document.body.appendChild(e);var k=document.createElement("div"),l="activex"===c.pluginType;k.innerHTML='<object id="global-zeroclipboard-flash-bridge" name="global-zeroclipboard-flash-bridge" width="100%" height="100%" '+(l?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"':'type="application/x-shockwave-flash" data="'+i+'"')+">"+(l?'<param name="movie" value="'+i+'"/>':"")+'<param name="allowScriptAccess" value="'+f+'"/><param name="allowNetworking" value="'+g+'"/><param name="menu" value="false"/><param name="wmode" value="transparent"/><param name="flashvars" value="'+h+'"/></object>',b=k.firstChild,k=null,b.ZeroClipboard=L,e.replaceChild(b,j)}b||(b=document["global-zeroclipboard-flash-bridge"],b&&(d=b.length)&&(b=b[d-1]),b||(b=e.firstChild)),c.bridge=b||null},Q=function(){var a=document.createElement("div");return a.id="global-zeroclipboard-html-bridge",a.className="global-zeroclipboard-container",a.style.position="absolute",a.style.left="0px",a.style.top="-9999px",a.style.width="1px",a.style.height="1px",a.style.zIndex=""+y(O.zIndex),a},R=function(a){for(var b=a&&a.parentNode;b&&"OBJECT"===b.nodeName&&b.parentNode;)b=b.parentNode;return b||null},S=function(){if(b){var a=s(b,O.zIndex),d=R(c.bridge);d&&(d.style.top=a.top+"px",d.style.left=a.left+"px",d.style.width=a.width+"px",d.style.height=a.height+"px",d.style.zIndex=a.zIndex+1),T(a.width,a.height)}},T=function(a,b){var d=R(c.bridge);d&&(d.style.width=a+"px",d.style.height=b+"px")};L.emit=function(b){var f,g,h,i,j,k,l,m,n;if("string"==typeof b&&b&&(f=b),"object"==typeof b&&b&&"string"==typeof b.type&&b.type&&(f=b.type,g=b),f){if(b=W(f,g),Y(b),"ready"===b.type&&c.overdue===!0)return L.emit({type:"error",name:"flash-overdue"});if(h=!/^(before)?copy$/.test(b.type),b.client)U.call(b.client,b,h);else for(i=b.target&&b.target!==a&&O.autoActivate===!0?Z(b.target):N(),j=0,k=i.length;k>j;j++)l=z({},b,{client:i[j]}),U.call(i[j],l,h);return"copy"===b.type&&(n=H(d),m=n.data,e=n.formatMap),m}};var U=function(b,c){var d=g[this.id]&&g[this.id].handlers[b.type];if(d&&d.length){var e,f,h,i,j=this;for(e=0,f=d.length;f>e;e++)h=d[e],i=j,"string"==typeof h&&"function"==typeof a[h]&&(h=a[h]),"object"==typeof h&&h&&"function"==typeof h.handleEvent&&(i=h,h=h.handleEvent),"function"==typeof h&&x(h,i,[b],c)}return this},V={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate","flash-overdue":"Flash communication was established but NOT within the acceptable time limit"}},W=function(a,d){if(a||d&&d.type){d=d||{},a=(a||d.type).toLowerCase(),z(d,{type:a,target:d.target||b||null,relatedTarget:d.relatedTarget||null,currentTarget:c&&c.bridge||null});var f=V[d.type];return"error"===d.type&&d.name&&f&&(f=f[d.name]),f&&(d.message=f),"ready"===d.type&&z(d,{target:null,version:c.version}),"error"===d.type&&(d.target=null,/^flash-(outdated|unavailable|deactivated|overdue)$/.test(d.name)&&z(d,{version:c.version,minimumVersion:"11.0.0"})),"copy"===d.type&&(d.clipboardData={setData:L.setData,clearData:L.clearData}),"aftercopy"===d.type&&(d=I(d,e)),d.target&&!d.relatedTarget&&(d.relatedTarget=X(d.target)),d}},X=function(a){var b=a&&a.getAttribute&&a.getAttribute("data-clipboard-target");return b?document.getElementById(b):null},Y=function(a){var e=a.target||b;switch(a.type){case"error":v(a.name,["flash-disabled","flash-outdated","flash-deactivated","flash-overdue"])&&z(c,{disabled:"flash-disabled"===a.name,outdated:"flash-outdated"===a.name,unavailable:"flash-unavailable"===a.name,deactivated:"flash-deactivated"===a.name,overdue:"flash-overdue"===a.name,ready:!1});break;case"ready":var f=c.deactivated===!0;z(c,{disabled:!1,outdated:!1,unavailable:!1,deactivated:!1,overdue:f,ready:!f});break;case"copy":var g,h,i=a.relatedTarget;!d["text/html"]&&!d["text/plain"]&&i&&(h=i.value||i.outerHTML||i.innerHTML)&&(g=i.value||i.textContent||i.innerText)?(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",g),h!==g&&a.clipboardData.setData("text/html",h)):!d["text/plain"]&&a.target&&(g=a.target.getAttribute("data-clipboard-text"))&&(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",g));break;case"aftercopy":L.clearData(),e&&e!==E()&&e.focus&&e.focus();break;case"mouseover":p(e,O.hoverClass);break;case"mouseout":O.autoActivate===!0&&L.deactivate();break;case"mousedown":p(e,O.activeClass);break;case"mouseup":q(e,O.activeClass)}};L.prototype.on=function(a,b){var d,e,f,h={},i=g[this.id]&&g[this.id].handlers;if("string"==typeof a&&a)f=a.toLowerCase().split(/\s+/);else if("object"==typeof a&&a&&"undefined"==typeof b)for(d in a)a.hasOwnProperty(d)&&"string"==typeof d&&d&&"function"==typeof a[d]&&this.on(d,a[d]);if(f&&f.length){for(d=0,e=f.length;e>d;d++)a=f[d].replace(/^on/,""),h[a]=!0,i[a]||(i[a]=[]),i[a].push(b);if(h.ready&&c.ready&&L.emit({type:"ready",client:this}),h.error){var j=["disabled","outdated","unavailable","deactivated","overdue"];for(d=0,e=j.length;e>d;d++)if(c[j[d]]){L.emit({type:"error",name:"flash-"+j[d],client:this});break}}}return this},L.prototype.off=function(a,b){var c,d,e,f,h,i=g[this.id]&&g[this.id].handlers;if(0===arguments.length)f=C(i);else if("string"==typeof a&&a)f=a.split(/\s+/);else if("object"==typeof a&&a&&"undefined"==typeof b)for(c in a)a.hasOwnProperty(c)&&"string"==typeof c&&c&&"function"==typeof a[c]&&this.off(c,a[c]);if(f&&f.length)for(c=0,d=f.length;d>c;c++)if(a=f[c].toLowerCase().replace(/^on/,""),h=i[a],h&&h.length)if(b)for(e=v(b,h);-1!==e;)h.splice(e,1),e=v(b,h,e);else i[a].length=0;return this},L.prototype.handlers=function(a){var b,c=null,d=g[this.id]&&g[this.id].handlers;if(d){if("string"==typeof a&&a)return d[a]?d[a].slice(0):null;c={};for(b in d)d.hasOwnProperty(b)&&d[b]&&(c[b]=d[b].slice(0))}return c},L.prototype.clip=function(a){a=w(a);for(var b=0;b<a.length;b++)if(a.hasOwnProperty(b)&&a[b]&&1===a[b].nodeType){a[b].zcClippingId?-1===v(this.id,i[a[b].zcClippingId])&&i[a[b].zcClippingId].push(this.id):(a[b].zcClippingId="zcClippingId_"+h++,i[a[b].zcClippingId]=[this.id],O.autoActivate===!0&&n(a[b],"mouseover",m));var c=g[this.id].elements;-1===v(a[b],c)&&c.push(a[b])}return this},L.prototype.unclip=function(a){var b=g[this.id];if(!b)return this;var c,d=b.elements;a="undefined"==typeof a?d.slice(0):w(a);for(var e=a.length;e--;)if(a.hasOwnProperty(e)&&a[e]&&1===a[e].nodeType){for(c=0;-1!==(c=v(a[e],d,c));)d.splice(c,1);var f=i[a[e].zcClippingId];if(f){for(c=0;-1!==(c=v(this.id,f,c));)f.splice(c,1);0===f.length&&(O.autoActivate===!0&&o(a[e],"mouseover",m),delete a[e].zcClippingId)}}return this},L.prototype.elements=function(){var a=g[this.id];return a&&a.elements?a.elements.slice(0):[]};var Z=function(a){var b,c,d,e,f,h=[];if(a&&1===a.nodeType&&(b=a.zcClippingId)&&i.hasOwnProperty(b)&&(c=i[b],c&&c.length))for(d=0,e=c.length;e>d;d++)f=g[c[d]].instance,f&&f instanceof L&&h.push(f);return h};O.hoverClass="zeroclipboard-is-hover",O.activeClass="zeroclipboard-is-active","function"==typeof define&&define.amd?define(function(){return L}):"object"==typeof module&&module&&"object"==typeof module.exports&&module.exports?module.exports=L:a.ZeroClipboard=L}(function(){return this}());