radiant-ck_editor_filter-extension 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (873) hide show
  1. data/lib/radiant-ck_editor_filter-extension.rb +1 -1
  2. data/public/javascripts/extensions/ck_editor_filter/ckeditor/CHANGES.md +378 -0
  3. data/public/javascripts/extensions/ck_editor_filter/ckeditor/{LICENSE.html → LICENSE.md} +24 -94
  4. data/public/javascripts/extensions/ck_editor_filter/ckeditor/README.md +39 -0
  5. data/public/javascripts/extensions/ck_editor_filter/ckeditor/adapters/jquery.js +10 -6
  6. data/public/javascripts/extensions/ck_editor_filter/ckeditor/build-config.js +96 -0
  7. data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor.js +1067 -145
  8. data/public/javascripts/extensions/ck_editor_filter/ckeditor/config.js +10 -11
  9. data/public/javascripts/extensions/ck_editor_filter/ckeditor/contents.css +106 -6
  10. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/en.js +3 -4
  11. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -7
  12. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
  13. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +9 -0
  14. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -0
  15. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -0
  16. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -0
  17. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +9 -0
  18. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -0
  19. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +10 -0
  20. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +10 -0
  21. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +9 -0
  22. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +10 -0
  23. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +10 -0
  24. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +9 -0
  25. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +9 -0
  26. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +10 -0
  27. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +10 -0
  28. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +11 -0
  29. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +10 -0
  30. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +9 -0
  31. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +9 -0
  32. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +9 -0
  33. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -0
  34. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +10 -0
  35. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +9 -0
  36. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +10 -0
  37. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +8 -0
  38. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +9 -0
  39. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +9 -0
  40. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +10 -0
  41. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +9 -0
  42. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +11 -0
  43. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -0
  44. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +9 -0
  45. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -0
  46. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +10 -0
  47. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +9 -0
  48. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -0
  49. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -0
  50. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +10 -0
  51. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +9 -0
  52. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +9 -0
  53. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +8 -0
  54. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +10 -0
  55. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +10 -0
  56. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +9 -0
  57. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +9 -0
  58. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +9 -0
  59. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +10 -0
  60. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +9 -0
  61. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +10 -0
  62. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +9 -0
  63. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +10 -0
  64. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +9 -0
  65. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
  66. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +7 -0
  67. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/about/dialogs/about.js +7 -6
  68. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  69. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  70. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/clipboard/dialogs/paste.js +11 -7
  71. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/css/codemirror.min.css +1 -0
  72. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/js/beautify.min.js +44 -0
  73. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/js/codemirror.addons.min.js +46 -0
  74. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/js/codemirror.addons.search.min.js +15 -0
  75. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/js/codemirror.min.js +214 -0
  76. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/js/codemirror.mode.htmlmixed.min.js +52 -0
  77. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/js/codemirror.mode.javascript.min.js +21 -0
  78. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/js/codemirror.mode.php.min.js +74 -0
  79. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/3024-day.css +34 -0
  80. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/3024-night.css +34 -0
  81. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/ambiance-mobile.css +5 -0
  82. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/ambiance.css +75 -0
  83. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/base16-dark.css +34 -0
  84. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/base16-light.css +34 -0
  85. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/blackboard.css +28 -0
  86. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/cobalt.css +21 -0
  87. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/eclipse.css +23 -0
  88. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/elegant.css +13 -0
  89. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/erlang-dark.css +30 -0
  90. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/lesser-dark.css +47 -0
  91. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/mbo.css +37 -0
  92. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/midnight.css +43 -0
  93. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/monokai.css +29 -0
  94. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/neat.css +12 -0
  95. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/night.css +24 -0
  96. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/paraiso-dark.css +34 -0
  97. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/paraiso-light.css +34 -0
  98. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/rubyblue.css +23 -0
  99. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/solarized.css +180 -0
  100. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/the-matrix.css +26 -0
  101. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/tomorrow-night-eighties.css +34 -0
  102. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/twilight.css +28 -0
  103. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/vibrant-ink.css +30 -0
  104. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/xq-dark.css +49 -0
  105. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/codemirror/theme/xq-light.css +43 -0
  106. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/dialog/dialogDefinition.js +4 -4
  107. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/div/dialogs/div.js +9 -8
  108. data/public/javascripts/extensions/ck_editor_filter/ckeditor/{images → plugins/fakeobjects/images}/spacer.gif +0 -0
  109. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/find/dialogs/find.js +24 -9
  110. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/flash/dialogs/flash.js +24 -9
  111. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/flash/images/placeholder.png +0 -0
  112. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/button.js +8 -6
  113. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/checkbox.js +8 -6
  114. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/form.js +8 -6
  115. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -6
  116. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/radio.js +8 -6
  117. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/select.js +20 -9
  118. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/textarea.js +8 -6
  119. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/textfield.js +10 -6
  120. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  121. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/icons.png +0 -0
  122. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/icons_hidpi.png +0 -0
  123. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/iframe/dialogs/iframe.js +10 -7
  124. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  125. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image/dialogs/image.js +43 -13
  126. data/public/javascripts/extensions/ck_editor_filter/ckeditor/{_source/skins/kama → plugins/image}/images/noimage.png +0 -0
  127. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/dialogs/anchor.js +8 -6
  128. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/dialogs/link.js +37 -11
  129. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/images/anchor.png +0 -0
  130. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  131. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -6
  132. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  133. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/magicline/images/icon.png +0 -0
  134. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/oembed/icons/hidpi/oembed.png +0 -0
  135. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/oembed/icons/oembed.png +0 -0
  136. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/oembed/lang/de.js +23 -0
  137. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/oembed/lang/en.js +23 -0
  138. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/oembed/lang/fr.js +25 -0
  139. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/oembed/lang/nl.js +23 -0
  140. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/oembed/lang/pl.js +23 -0
  141. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/oembed/lang/pt-br.js +23 -0
  142. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/oembed/lang/ru.js +23 -0
  143. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/oembed/lang/tr.js +23 -0
  144. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/oembed/libs/jquery.oembed.min.js +11 -0
  145. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/oembed/plugin.js +347 -0
  146. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  147. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/{paperclipped/images/icon.png → paperclip/icons/paperclip.png} +0 -0
  148. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclip/plugin.js +15 -0
  149. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/pastefromword/filter/default.js +31 -11
  150. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/preview/preview.html +10 -0
  151. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/radiantpreview/{images/radiant-preview.png → icons/radiantpreview.png} +0 -0
  152. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/radiantpreview/plugin.js +14 -102
  153. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/scayt/LICENSE.md +28 -0
  154. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/scayt/README.md +25 -0
  155. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/scayt/dialogs/options.js +20 -8
  156. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/scayt/dialogs/toolbar.css +70 -5
  157. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  158. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  159. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  160. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  161. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  162. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  163. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  164. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  165. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  166. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  167. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  168. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
  169. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
  170. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
  171. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
  172. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
  173. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
  174. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
  175. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
  176. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
  177. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
  178. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
  179. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
  180. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
  181. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
  182. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
  183. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
  184. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
  185. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/he.js +12 -0
  186. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
  187. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
  188. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
  189. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
  190. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
  191. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/km.js +13 -0
  192. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
  193. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
  194. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
  195. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
  196. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
  197. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
  198. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
  199. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
  200. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
  201. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
  202. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
  203. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
  204. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
  205. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
  206. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
  207. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
  208. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
  209. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
  210. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/vi.js +14 -0
  211. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
  212. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/zh.js +12 -0
  213. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -7
  214. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/table/dialogs/table.js +21 -9
  215. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -8
  216. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/dialogs/templates.css +84 -0
  217. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/dialogs/templates.js +10 -7
  218. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/templates/default.js +6 -6
  219. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  220. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  221. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  222. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/images/handle.png +0 -0
  223. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/LICENSE.md +28 -0
  224. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/README.md +25 -0
  225. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/ciframe.html +18 -1
  226. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/tmp.html +118 -0
  227. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +1 -1
  228. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/wsc.css +78 -2
  229. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/wsc.js +67 -7
  230. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/wsc_ie.js +11 -0
  231. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/ajax.html +82 -0
  232. data/public/javascripts/extensions/ck_editor_filter/ckeditor/{_samples → samples}/api.html +94 -79
  233. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/appendto.html +57 -0
  234. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/assets/inlineall/logo.png +0 -0
  235. data/public/javascripts/extensions/ck_editor_filter/ckeditor/{_samples/assets/output_xhtml.css → samples/assets/outputxhtml/outputxhtml.css} +2 -2
  236. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/assets/posteddata.php +59 -0
  237. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/assets/sample.css +3 -0
  238. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/assets/sample.jpg +0 -0
  239. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/assets/uilanguages/languages.js +7 -0
  240. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/datafiltering.html +401 -0
  241. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/divreplace.html +141 -0
  242. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/index.html +128 -0
  243. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/inlineall.html +311 -0
  244. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/inlinebycode.html +121 -0
  245. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/inlinetextarea.html +110 -0
  246. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/jquery.html +97 -0
  247. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/dialog/assets/my_dialog.js +48 -0
  248. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/dialog/dialog.html +187 -0
  249. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/enterkey/enterkey.html +103 -0
  250. data/public/javascripts/extensions/ck_editor_filter/ckeditor/{_samples/assets/output_for_flash.fla → samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla} +0 -0
  251. data/public/javascripts/extensions/ck_editor_filter/ckeditor/{_samples/assets/output_for_flash.swf → samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf} +0 -0
  252. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +18 -0
  253. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/htmlwriter/outputforflash.html +280 -0
  254. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/htmlwriter/outputhtml.html +221 -0
  255. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/magicline/magicline.html +206 -0
  256. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/toolbar/toolbar.html +232 -0
  257. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/wysiwygarea/fullpage.html +77 -0
  258. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/readonly.html +73 -0
  259. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/replacebyclass.html +57 -0
  260. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/replacebycode.html +56 -0
  261. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/sample.css +356 -0
  262. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/sample.js +50 -0
  263. data/public/javascripts/extensions/ck_editor_filter/ckeditor/{_samples → samples}/sample_posteddata.php +5 -10
  264. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/tabindex.html +75 -0
  265. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/uicolor.html +69 -0
  266. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/uilanguages.html +119 -0
  267. data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/xhtmlstyle.html +231 -0
  268. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/dialog.css +5 -0
  269. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/dialog_ie.css +5 -0
  270. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/dialog_ie7.css +5 -0
  271. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/dialog_ie8.css +5 -0
  272. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/dialog_iequirks.css +5 -0
  273. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/dialog_opera.css +5 -0
  274. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/editor.css +5 -0
  275. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/editor_gecko.css +5 -0
  276. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/editor_ie.css +5 -0
  277. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/editor_ie7.css +5 -0
  278. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/editor_ie8.css +5 -0
  279. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/editor_iequirks.css +5 -0
  280. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/icons.png +0 -0
  281. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/icons_hidpi.png +0 -0
  282. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/arrow.png +0 -0
  283. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/close.png +0 -0
  284. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  285. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  286. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  287. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  288. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/lock-open.png +0 -0
  289. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/lock.png +0 -0
  290. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/refresh.png +0 -0
  291. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/readme.md +51 -0
  292. data/public/javascripts/extensions/ck_editor_filter/ckeditor/styles.js +111 -0
  293. metadata +254 -631
  294. data/public/javascripts/extensions/ck_editor_filter/ckeditor/CHANGES.html +0 -1295
  295. data/public/javascripts/extensions/ck_editor_filter/ckeditor/INSTALL.html +0 -92
  296. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/adobeair/application.xml +0 -32
  297. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/adobeair/run.bat +0 -9
  298. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/adobeair/run.sh +0 -8
  299. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/adobeair/sample.html +0 -45
  300. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/ajax.html +0 -98
  301. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/api_dialog.html +0 -198
  302. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/api_dialog/my_dialog.js +0 -28
  303. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/advanced.asp +0 -105
  304. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/events.asp +0 -136
  305. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/index.html +0 -103
  306. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/replace.asp +0 -72
  307. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/replaceall.asp +0 -77
  308. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/sample_posteddata.asp +0 -46
  309. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/standalone.asp +0 -72
  310. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/assets/_posteddata.php +0 -59
  311. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/assets/parsesample.css +0 -70
  312. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/assets/swfobject.js +0 -18
  313. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/autogrow.html +0 -103
  314. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/bbcode.html +0 -136
  315. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/devtools.html +0 -94
  316. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/divreplace.html +0 -154
  317. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/enterkey.html +0 -115
  318. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/fullpage.html +0 -82
  319. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/index.html +0 -116
  320. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/jqueryadapter.html +0 -99
  321. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/output_for_flash.html +0 -275
  322. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/output_html.html +0 -285
  323. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/output_xhtml.html +0 -181
  324. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/php/advanced.php +0 -120
  325. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/php/events.php +0 -153
  326. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/php/index.html +0 -47
  327. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/php/replace.php +0 -87
  328. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/php/replaceall.php +0 -88
  329. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/php/standalone.php +0 -83
  330. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/placeholder.html +0 -81
  331. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/readonly.html +0 -91
  332. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/replacebyclass.html +0 -64
  333. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/replacebycode.html +0 -97
  334. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/sample.css +0 -163
  335. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/sample.js +0 -65
  336. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/sharedspaces.html +0 -153
  337. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/skins.html +0 -110
  338. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/stylesheetparser.html +0 -93
  339. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/tableresize.html +0 -115
  340. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/ui_color.html +0 -129
  341. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/ui_languages.html +0 -134
  342. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/adapters/jquery.js +0 -306
  343. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/_bootstrap.js +0 -87
  344. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/ckeditor.js +0 -141
  345. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/ckeditor_base.js +0 -227
  346. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/ckeditor_basic.js +0 -238
  347. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/command.js +0 -209
  348. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/commanddefinition.js +0 -129
  349. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/config.js +0 -431
  350. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dataprocessor.js +0 -65
  351. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom.js +0 -20
  352. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/comment.js +0 -32
  353. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/document.js +0 -251
  354. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/documentfragment.js +0 -49
  355. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/domobject.js +0 -258
  356. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/element.js +0 -1663
  357. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/elementpath.js +0 -119
  358. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/event.js +0 -142
  359. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/node.js +0 -690
  360. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/nodelist.js +0 -26
  361. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/range.js +0 -2032
  362. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/rangelist.js +0 -213
  363. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/text.js +0 -128
  364. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/walker.js +0 -462
  365. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/window.js +0 -96
  366. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dtd.js +0 -237
  367. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/editor.js +0 -1041
  368. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/editor_basic.js +0 -186
  369. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/env.js +0 -282
  370. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/event.js +0 -342
  371. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/eventInfo.js +0 -120
  372. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/focusmanager.js +0 -152
  373. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser.js +0 -224
  374. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/basicwriter.js +0 -145
  375. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/cdata.js +0 -43
  376. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/comment.js +0 -60
  377. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/element.js +0 -249
  378. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/filter.js +0 -288
  379. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/fragment.js +0 -492
  380. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/text.js +0 -55
  381. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/lang.js +0 -157
  382. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/loader.js +0 -240
  383. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/plugindefinition.js +0 -83
  384. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/plugins.js +0 -103
  385. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/resourcemanager.js +0 -238
  386. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/scriptloader.js +0 -180
  387. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/skins.js +0 -184
  388. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/themes.js +0 -19
  389. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/tools.js +0 -734
  390. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/ui.js +0 -128
  391. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/_languages.js +0 -84
  392. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/_translationstatus.txt +0 -61
  393. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/af.js +0 -810
  394. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ar.js +0 -810
  395. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/bg.js +0 -810
  396. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/bn.js +0 -810
  397. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/bs.js +0 -810
  398. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ca.js +0 -810
  399. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/cs.js +0 -810
  400. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/cy.js +0 -810
  401. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/da.js +0 -810
  402. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/de.js +0 -810
  403. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/el.js +0 -810
  404. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/en-au.js +0 -810
  405. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/en-ca.js +0 -810
  406. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/en-gb.js +0 -810
  407. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/en.js +0 -810
  408. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/eo.js +0 -810
  409. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/es.js +0 -810
  410. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/et.js +0 -810
  411. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/eu.js +0 -810
  412. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/fa.js +0 -810
  413. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/fi.js +0 -810
  414. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/fo.js +0 -810
  415. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/fr-ca.js +0 -810
  416. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/fr.js +0 -810
  417. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/gl.js +0 -810
  418. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/gu.js +0 -810
  419. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/he.js +0 -810
  420. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/hi.js +0 -810
  421. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/hr.js +0 -810
  422. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/hu.js +0 -810
  423. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/is.js +0 -810
  424. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/it.js +0 -810
  425. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ja.js +0 -810
  426. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ka.js +0 -810
  427. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/km.js +0 -810
  428. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ko.js +0 -810
  429. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/lt.js +0 -810
  430. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/lv.js +0 -810
  431. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/mn.js +0 -810
  432. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ms.js +0 -810
  433. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/nb.js +0 -810
  434. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/nl.js +0 -810
  435. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/no.js +0 -810
  436. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/pl.js +0 -810
  437. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/pt-br.js +0 -809
  438. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/pt.js +0 -810
  439. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ro.js +0 -810
  440. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ru.js +0 -810
  441. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/sk.js +0 -810
  442. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/sl.js +0 -810
  443. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/sr-latn.js +0 -810
  444. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/sr.js +0 -810
  445. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/sv.js +0 -809
  446. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/th.js +0 -810
  447. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/tr.js +0 -809
  448. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/uk.js +0 -810
  449. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/vi.js +0 -810
  450. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/zh-cn.js +0 -810
  451. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/zh.js +0 -810
  452. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -222
  453. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -108
  454. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/a11yhelp/lang/he.js +0 -216
  455. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/a11yhelp/plugin.js +0 -47
  456. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/about/dialogs/about.js +0 -76
  457. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
  458. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/about/plugin.js +0 -24
  459. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/adobeair/plugin.js +0 -228
  460. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/ajax/plugin.js +0 -152
  461. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/autogrow/plugin.js +0 -88
  462. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/basicstyles/plugin.js +0 -101
  463. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/bbcode/plugin.js +0 -924
  464. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/bidi/plugin.js +0 -331
  465. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/blockquote/plugin.js +0 -305
  466. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/button/plugin.js +0 -285
  467. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -223
  468. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/clipboard/plugin.js +0 -446
  469. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/colorbutton/plugin.js +0 -295
  470. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +0 -340
  471. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/colordialog/plugin.js +0 -15
  472. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/contextmenu/plugin.js +0 -177
  473. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/devtools/lang/en.js +0 -16
  474. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/devtools/plugin.js +0 -173
  475. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -1099
  476. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/dialog/plugin.js +0 -3235
  477. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/dialogadvtab/plugin.js +0 -205
  478. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/dialogui/plugin.js +0 -1537
  479. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/div/dialogs/div.js +0 -535
  480. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/div/plugin.js +0 -121
  481. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/docprops/dialogs/docprops.js +0 -686
  482. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/docprops/plugin.js +0 -22
  483. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/domiterator/plugin.js +0 -361
  484. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/editingblock/plugin.js +0 -269
  485. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/elementspath/plugin.js +0 -218
  486. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/enterkey/plugin.js +0 -399
  487. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/entities/plugin.js +0 -250
  488. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/fakeobjects/plugin.js +0 -126
  489. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/filebrowser/plugin.js +0 -524
  490. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/find/dialogs/find.js +0 -895
  491. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/find/plugin.js +0 -47
  492. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/flash/dialogs/flash.js +0 -698
  493. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
  494. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/flash/plugin.js +0 -168
  495. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/floatpanel/plugin.js +0 -405
  496. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/font/plugin.js +0 -234
  497. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/format/plugin.js +0 -197
  498. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/button.js +0 -118
  499. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/checkbox.js +0 -153
  500. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/form.js +0 -177
  501. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +0 -100
  502. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/radio.js +0 -135
  503. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/select.js +0 -562
  504. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/textarea.js +0 -114
  505. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/textfield.js +0 -199
  506. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
  507. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/plugin.js +0 -288
  508. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/horizontalrule/plugin.js +0 -36
  509. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -595
  510. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/htmlwriter/plugin.js +0 -319
  511. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/iframe/dialogs/iframe.js +0 -257
  512. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/iframe/images/placeholder.png +0 -0
  513. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/iframe/plugin.js +0 -106
  514. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/iframedialog/plugin.js +0 -188
  515. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/image/dialogs/image.js +0 -1403
  516. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/image/plugin.js +0 -81
  517. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/indent/plugin.js +0 -461
  518. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/justify/plugin.js +0 -253
  519. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/keystrokes/plugin.js +0 -225
  520. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/link/dialogs/anchor.js +0 -144
  521. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/link/dialogs/link.js +0 -1400
  522. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
  523. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/link/plugin.js +0 -336
  524. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/list/plugin.js +0 -727
  525. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/listblock/plugin.js +0 -257
  526. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +0 -204
  527. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/liststyle/plugin.js +0 -66
  528. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/maximize/plugin.js +0 -352
  529. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/menu/plugin.js +0 -505
  530. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/menubutton/plugin.js +0 -98
  531. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/newpage/plugin.js +0 -54
  532. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
  533. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/pagebreak/plugin.js +0 -164
  534. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/panel/plugin.js +0 -402
  535. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/panelbutton/plugin.js +0 -146
  536. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/pastefromword/filter/default.js +0 -1376
  537. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/pastefromword/plugin.js +0 -141
  538. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -67
  539. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/pastetext/plugin.js +0 -98
  540. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +0 -71
  541. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/placeholder/lang/en.js +0 -16
  542. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/placeholder/lang/he.js +0 -16
  543. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/placeholder/placeholder.gif +0 -0
  544. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/placeholder/plugin.js +0 -171
  545. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/popup/plugin.js +0 -64
  546. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/preview/plugin.js +0 -109
  547. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/print/plugin.js +0 -42
  548. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/removeformat/plugin.js +0 -185
  549. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/resize/plugin.js +0 -168
  550. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/richcombo/plugin.js +0 -378
  551. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/save/plugin.js +0 -56
  552. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/scayt/dialogs/options.js +0 -537
  553. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +0 -71
  554. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/scayt/plugin.js +0 -964
  555. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/selection/plugin.js +0 -1563
  556. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
  557. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
  558. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
  559. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
  560. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
  561. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
  562. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
  563. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
  564. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
  565. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
  566. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
  567. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/plugin.js +0 -160
  568. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showborders/plugin.js +0 -207
  569. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/dialogs/smiley.js +0 -224
  570. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
  571. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
  572. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
  573. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
  574. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
  575. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
  576. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
  577. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
  578. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
  579. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
  580. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
  581. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
  582. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
  583. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
  584. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
  585. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
  586. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
  587. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
  588. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
  589. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  590. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
  591. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/plugin.js +0 -94
  592. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/sourcearea/plugin.js +0 -209
  593. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +0 -350
  594. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/specialchar/lang/en.js +0 -89
  595. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/specialchar/plugin.js +0 -70
  596. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/styles/plugin.js +0 -1678
  597. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/styles/styles/default.js +0 -88
  598. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/stylescombo/plugin.js +0 -219
  599. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/stylesheetparser/plugin.js +0 -143
  600. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/tab/plugin.js +0 -367
  601. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/table/dialogs/table.js +0 -672
  602. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/table/plugin.js +0 -78
  603. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/tableresize/plugin.js +0 -450
  604. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -525
  605. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/tabletools/plugin.js +0 -1191
  606. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/templates/dialogs/templates.js +0 -234
  607. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/templates/plugin.js +0 -99
  608. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/templates/templates/default.js +0 -94
  609. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
  610. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
  611. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
  612. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/toolbar/plugin.js +0 -545
  613. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +0 -205
  614. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/lang/en.js +0 -15
  615. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/lang/he.js +0 -15
  616. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/plugin.js +0 -37
  617. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
  618. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  619. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  620. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  621. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  622. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +0 -15
  623. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/yui/yui.js +0 -71
  624. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/undo/plugin.js +0 -580
  625. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +0 -49
  626. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  627. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/wsc/dialogs/wsc.css +0 -82
  628. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/wsc/dialogs/wsc.js +0 -192
  629. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/wsc/plugin.js +0 -33
  630. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/wysiwygarea/plugin.js +0 -1351
  631. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/xml/plugin.js +0 -170
  632. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/dialog.css +0 -920
  633. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/editor.css +0 -25
  634. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/elementspath.css +0 -73
  635. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/icons.css +0 -366
  636. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/icons.png +0 -0
  637. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/icons_rtl.png +0 -0
  638. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
  639. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
  640. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
  641. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/images/mini.gif +0 -0
  642. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/images/sprites.png +0 -0
  643. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
  644. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
  645. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/mainui.css +0 -203
  646. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/menu.css +0 -232
  647. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/panel.css +0 -217
  648. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/presets.css +0 -49
  649. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/reset.css +0 -84
  650. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/richcombo.css +0 -287
  651. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/skin.js +0 -236
  652. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/templates.css +0 -88
  653. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/toolbar.css +0 -407
  654. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/dialog.css +0 -826
  655. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/editor.css +0 -25
  656. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/elementspath.css +0 -74
  657. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/icons.css +0 -363
  658. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/icons.png +0 -0
  659. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/icons_rtl.png +0 -0
  660. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
  661. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
  662. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
  663. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
  664. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
  665. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
  666. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
  667. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/mainui.css +0 -153
  668. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/menu.css +0 -229
  669. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/panel.css +0 -212
  670. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/presets.css +0 -49
  671. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/reset.css +0 -84
  672. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/richcombo.css +0 -309
  673. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/skin.js +0 -74
  674. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/templates.css +0 -87
  675. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/toolbar.css +0 -522
  676. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/dialog.css +0 -842
  677. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/editor.css +0 -25
  678. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/elementspath.css +0 -74
  679. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/icons.css +0 -363
  680. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/icons.png +0 -0
  681. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/icons_rtl.png +0 -0
  682. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
  683. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
  684. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
  685. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/images/mini.gif +0 -0
  686. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/images/noimage.png +0 -0
  687. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/images/sprites.png +0 -0
  688. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
  689. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
  690. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/mainui.css +0 -162
  691. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/menu.css +0 -232
  692. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/panel.css +0 -212
  693. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/presets.css +0 -50
  694. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/reset.css +0 -84
  695. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/richcombo.css +0 -302
  696. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/skin.js +0 -70
  697. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/templates.css +0 -87
  698. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/toolbar.css +0 -465
  699. data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/themes/default/theme.js +0 -394
  700. data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor.asp +0 -955
  701. data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor.pack +0 -211
  702. data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor.php +0 -29
  703. data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_basic.js +0 -8
  704. data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_basic_source.js +0 -20
  705. data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_php4.php +0 -566
  706. data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_php5.php +0 -556
  707. data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_source.js +0 -25
  708. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/_languages.js +0 -6
  709. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/_translationstatus.txt +0 -61
  710. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/af.js +0 -6
  711. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ar.js +0 -6
  712. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/bg.js +0 -6
  713. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/bn.js +0 -6
  714. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/bs.js +0 -6
  715. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ca.js +0 -6
  716. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/cs.js +0 -6
  717. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/cy.js +0 -6
  718. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/da.js +0 -6
  719. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/de.js +0 -6
  720. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/el.js +0 -6
  721. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/en-au.js +0 -6
  722. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/en-ca.js +0 -6
  723. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/en-gb.js +0 -6
  724. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/eo.js +0 -6
  725. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/es.js +0 -6
  726. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/et.js +0 -6
  727. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/eu.js +0 -6
  728. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fa.js +0 -6
  729. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fi.js +0 -6
  730. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fo.js +0 -6
  731. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fr-ca.js +0 -6
  732. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fr.js +0 -6
  733. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/gl.js +0 -6
  734. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/gu.js +0 -6
  735. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/he.js +0 -6
  736. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/hi.js +0 -6
  737. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/hr.js +0 -6
  738. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/hu.js +0 -6
  739. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/is.js +0 -6
  740. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/it.js +0 -6
  741. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ja.js +0 -6
  742. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ka.js +0 -6
  743. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/km.js +0 -6
  744. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ko.js +0 -6
  745. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/lt.js +0 -6
  746. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/lv.js +0 -6
  747. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/mn.js +0 -6
  748. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ms.js +0 -6
  749. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/nb.js +0 -6
  750. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/nl.js +0 -6
  751. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/no.js +0 -6
  752. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/pl.js +0 -6
  753. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/pt-br.js +0 -6
  754. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/pt.js +0 -6
  755. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ro.js +0 -6
  756. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ru.js +0 -6
  757. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sk.js +0 -6
  758. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sl.js +0 -6
  759. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sr-latn.js +0 -6
  760. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sr.js +0 -6
  761. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sv.js +0 -6
  762. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/th.js +0 -6
  763. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/tr.js +0 -6
  764. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/uk.js +0 -6
  765. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/vi.js +0 -6
  766. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/zh-cn.js +0 -6
  767. data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/zh.js +0 -6
  768. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/dialogs/mediaembed.html +0 -14
  769. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/images/icon.gif +0 -0
  770. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/plugin.js +0 -61
  771. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/plugin.js~ +0 -57
  772. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/lang/en.js +0 -6
  773. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/lang/he.js +0 -6
  774. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/adobeair/plugin.js +0 -6
  775. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/ajax/plugin.js +0 -6
  776. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/autogrow/plugin.js +0 -6
  777. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/bbcode/plugin.js +0 -9
  778. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -7
  779. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/devtools/lang/en.js +0 -6
  780. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/devtools/plugin.js +0 -6
  781. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/docprops/dialogs/docprops.js +0 -10
  782. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/docprops/plugin.js +0 -6
  783. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/iframedialog/plugin.js +0 -6
  784. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/images/anchor.gif +0 -0
  785. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/plugin.js +0 -21
  786. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
  787. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/dialogs/placeholder.js +0 -6
  788. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/lang/en.js +0 -6
  789. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/lang/he.js +0 -6
  790. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/placeholder.gif +0 -0
  791. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/plugin.js +0 -6
  792. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/radiantpreview/images/icon.png +0 -0
  793. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
  794. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  795. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  796. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  797. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  798. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  799. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  800. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  801. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  802. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/heart.gif +0 -0
  803. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  804. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  805. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  806. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  807. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  808. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  809. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  810. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  811. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  812. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  813. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  814. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  815. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/lang/en.js +0 -6
  816. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/styles/styles/default.js +0 -6
  817. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/stylesheetparser/plugin.js +0 -6
  818. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/tableresize/plugin.js +0 -7
  819. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
  820. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/lang/en.js +0 -6
  821. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/lang/he.js +0 -6
  822. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/plugin.js +0 -6
  823. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  824. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  825. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  826. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  827. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  828. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
  829. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/yui.js +0 -76
  830. data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/xml/plugin.js +0 -6
  831. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/dialog.css +0 -9
  832. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/editor.css +0 -13
  833. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/icons.png +0 -0
  834. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/icons_rtl.png +0 -0
  835. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  836. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  837. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  838. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/mini.gif +0 -0
  839. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/noimage.png +0 -0
  840. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/sprites.png +0 -0
  841. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  842. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  843. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/skin.js +0 -7
  844. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/templates.css +0 -6
  845. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/dialog.css +0 -9
  846. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/editor.css +0 -14
  847. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/icons.png +0 -0
  848. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/icons_rtl.png +0 -0
  849. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  850. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  851. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  852. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/mini.gif +0 -0
  853. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/noimage.png +0 -0
  854. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/sprites.png +0 -0
  855. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  856. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/skin.js +0 -6
  857. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/templates.css +0 -6
  858. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/dialog.css +0 -9
  859. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/editor.css +0 -13
  860. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/icons.png +0 -0
  861. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/icons_rtl.png +0 -0
  862. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  863. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  864. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  865. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/mini.gif +0 -0
  866. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/noimage.png +0 -0
  867. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/sprites.png +0 -0
  868. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  869. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  870. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/skin.js +0 -6
  871. data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/templates.css +0 -6
  872. data/public/javascripts/extensions/ck_editor_filter/ckeditor/themes/default/theme.js +0 -8
  873. data/radiant-ck_editor_filter-extension-0.2.6.gem +0 -0
@@ -1,11 +1,37 @@
1
- /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('link',function(a){var b=CKEDITOR.plugins.link,c=function(){var F=this.getDialog(),G=F.getContentElement('target','popupFeatures'),H=F.getContentElement('target','linkTargetName'),I=this.getValue();if(!G||!H)return;G=G.getElement();G.hide();H.setValue('');switch(I){case 'frame':H.setLabel(a.lang.link.targetFrameName);H.getElement().show();break;case 'popup':G.show();H.setLabel(a.lang.link.targetPopupName);H.getElement().show();break;default:H.setValue(I);H.getElement().hide();break;}},d=function(){var F=this.getDialog(),G=['urlOptions','anchorOptions','emailOptions'],H=this.getValue(),I=F.definition.getContents('upload'),J=I&&I.hidden;if(H=='url'){if(a.config.linkShowTargetTab)F.showPage('target');if(!J)F.showPage('upload');}else{F.hidePage('target');if(!J)F.hidePage('upload');}for(var K=0;K<G.length;K++){var L=F.getContentElement('info',G[K]);if(!L)continue;L=L.getElement().getParent().getParent();if(G[K]==H+'Options')L.show();else L.hide();}F.layout();},e=/^javascript:/,f=/^mailto:([^?]+)(?:\?(.+))?$/,g=/subject=([^;?:@&=$,\/]*)/,h=/body=([^;?:@&=$,\/]*)/,i=/^#(.*)$/,j=/^((?:http|https|ftp|news):\/\/)?(.*)$/,k=/^(_(?:self|top|parent|blank))$/,l=/^javascript:void\(location\.href='mailto:'\+String\.fromCharCode\(([^)]+)\)(?:\+'(.*)')?\)$/,m=/^javascript:([^(]+)\(([^)]+)\)$/,n=/\s*window.open\(\s*this\.href\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*;\s*return\s*false;*\s*/,o=/(?:^|,)([^=]+)=(\d+|yes|no)/gi,p=function(F,G){var H=G&&(G.data('cke-saved-href')||G.getAttribute('href'))||'',I,J,K,L,M={};if(I=H.match(e))if(y=='encode')H=H.replace(l,function(ac,ad,ae){return 'mailto:'+String.fromCharCode.apply(String,ad.split(','))+(ae&&w(ae));});else if(y)H.replace(m,function(ac,ad,ae){if(ad==z.name){M.type='email';var af=M.email={},ag=/[^,\s]+/g,ah=/(^')|('$)/g,ai=ae.match(ag),aj=ai.length,ak,al;for(var am=0;am<aj;am++){al=decodeURIComponent(w(ai[am].replace(ah,'')));ak=z.params[am].toLowerCase();af[ak]=al;}af.address=[af.name,af.domain].join('@');}});if(!M.type)if(K=H.match(i)){M.type='anchor';M.anchor={};M.anchor.name=M.anchor.id=K[1];}else if(J=H.match(f)){var N=H.match(g),O=H.match(h);M.type='email';var P=M.email={};P.address=J[1];N&&(P.subject=decodeURIComponent(N[1]));O&&(P.body=decodeURIComponent(O[1]));}else if(H&&(L=H.match(j))){M.type='url';M.url={};M.url.protocol=L[1];M.url.url=L[2];}else M.type='url';if(G){var Q=G.getAttribute('target');M.target={};M.adv={};if(!Q){var R=G.data('cke-pa-onclick')||G.getAttribute('onclick'),S=R&&R.match(n);
7
- if(S){M.target.type='popup';M.target.name=S[1];var T;while(T=o.exec(S[2])){if((T[2]=='yes'||T[2]=='1')&&!(T[1] in {height:1,width:1,top:1,left:1}))M.target[T[1]]=true;else if(isFinite(T[2]))M.target[T[1]]=T[2];}}}else{var U=Q.match(k);if(U)M.target.type=M.target.name=Q;else{M.target.type='frame';M.target.name=Q;}}var V=this,W=function(ac,ad){var ae=G.getAttribute(ad);if(ae!==null)M.adv[ac]=ae||'';};W('advId','id');W('advLangDir','dir');W('advAccessKey','accessKey');M.adv.advName=G.data('cke-saved-name')||G.getAttribute('name')||'';W('advLangCode','lang');W('advTabIndex','tabindex');W('advTitle','title');W('advContentType','type');CKEDITOR.plugins.link.synAnchorSelector?M.adv.advCSSClasses=C(G):W('advCSSClasses','class');W('advCharset','charset');W('advStyles','style');W('advRel','rel');}var X=new CKEDITOR.dom.nodeList(F.document.$.anchors),Y=M.anchors=[],Z;for(var aa=0,ab=X.count();aa<ab;aa++){Z=X.getItem(aa);Y[aa]={name:Z.getAttribute('name'),id:Z.getAttribute('id')};}this._.selectedElement=G;return M;},q=function(F,G){if(G[F])this.setValue(G[F][this.id]||'');},r=function(F){return q.call(this,'target',F);},s=function(F){return q.call(this,'adv',F);},t=function(F,G){if(!G[F])G[F]={};G[F][this.id]=this.getValue()||'';},u=function(F){return t.call(this,'target',F);},v=function(F){return t.call(this,'adv',F);};function w(F){return F.replace(/\\'/g,"'");};function x(F){return F.replace(/'/g,'\\$&');};var y=a.config.emailProtection||'';if(y&&y!='encode'){var z={};y.replace(/^([^(]+)\(([^)]+)\)$/,function(F,G,H){z.name=G;z.params=[];H.replace(/[^,\s]+/g,function(I){z.params.push(I);});});}function A(F){var G,H=z.name,I=z.params,J,K;G=[H,'('];for(var L=0;L<I.length;L++){J=I[L].toLowerCase();K=F[J];L>0&&G.push(',');G.push("'",K?x(encodeURIComponent(F[J])):'',"'");}G.push(')');return G.join('');};function B(F){var G,H=F.length,I=[];for(var J=0;J<H;J++){G=F.charCodeAt(J);I.push(G);}return 'String.fromCharCode('+I.join(',')+')';};function C(F){var G=F.getAttribute('class');return G?G.replace(/\s*(?:cke_anchor_empty|cke_anchor)(?:\s*$)?/g,''):'';};var D=a.lang.common,E=a.lang.link;return{title:E.title,minWidth:350,minHeight:230,contents:[{id:'info',label:E.info,title:E.info,elements:[{id:'linkType',type:'select',label:E.type,'default':'url',items:[[E.toUrl,'url'],[E.toAnchor,'anchor'],[E.toEmail,'email']],onChange:d,setup:function(F){if(F.type)this.setValue(F.type);},commit:function(F){F.type=this.getValue();}},{type:'vbox',id:'urlOptions',children:[{type:'hbox',widths:['25%','75%'],children:[{id:'protocol',type:'select',label:D.protocol,'default':'http://',items:[['http://‎','http://'],['https://‎','https://'],['ftp://‎','ftp://'],['news://‎','news://'],[E.other,'']],setup:function(F){if(F.url)this.setValue(F.url.protocol||'');
8
- },commit:function(F){if(!F.url)F.url={};F.url.protocol=this.getValue();}},{type:'text',id:'url',label:D.url,required:true,onLoad:function(){this.allowOnChange=true;},onKeyUp:function(){var K=this;K.allowOnChange=false;var F=K.getDialog().getContentElement('info','protocol'),G=K.getValue(),H=/^(http|https|ftp|news):\/\/(?=.)/i,I=/^((javascript:)|[#\/\.\?])/i,J=H.exec(G);if(J){K.setValue(G.substr(J[0].length));F.setValue(J[0].toLowerCase());}else if(I.test(G))F.setValue('');K.allowOnChange=true;},onChange:function(){if(this.allowOnChange)this.onKeyUp();},validate:function(){var F=this.getDialog();if(F.getContentElement('info','linkType')&&F.getValueOf('info','linkType')!='url')return true;if(this.getDialog().fakeObj)return true;var G=CKEDITOR.dialog.validate.notEmpty(E.noUrl);return G.apply(this);},setup:function(F){this.allowOnChange=false;if(F.url)this.setValue(F.url.url);this.allowOnChange=true;},commit:function(F){this.onChange();if(!F.url)F.url={};F.url.url=this.getValue();this.allowOnChange=false;}}],setup:function(F){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().show();}},{type:'button',id:'browse',hidden:'true',filebrowser:'info:url',label:D.browseServer}]},{type:'vbox',id:'anchorOptions',width:260,align:'center',padding:0,children:[{type:'fieldset',id:'selectAnchorText',label:E.selectAnchor,setup:function(F){if(F.anchors.length>0)this.getElement().show();else this.getElement().hide();},children:[{type:'hbox',id:'selectAnchor',children:[{type:'select',id:'anchorName','default':'',label:E.anchorName,style:'width: 100%;',items:[['']],setup:function(F){var I=this;I.clear();I.add('');for(var G=0;G<F.anchors.length;G++){if(F.anchors[G].name)I.add(F.anchors[G].name);}if(F.anchor)I.setValue(F.anchor.name);var H=I.getDialog().getContentElement('info','linkType');if(H&&H.getValue()=='email')I.focus();},commit:function(F){if(!F.anchor)F.anchor={};F.anchor.name=this.getValue();}},{type:'select',id:'anchorId','default':'',label:E.anchorId,style:'width: 100%;',items:[['']],setup:function(F){var H=this;H.clear();H.add('');for(var G=0;G<F.anchors.length;G++){if(F.anchors[G].id)H.add(F.anchors[G].id);}if(F.anchor)H.setValue(F.anchor.id);},commit:function(F){if(!F.anchor)F.anchor={};F.anchor.id=this.getValue();}}],setup:function(F){if(F.anchors.length>0)this.getElement().show();else this.getElement().hide();}}]},{type:'html',id:'noAnchors',style:'text-align: center;',html:'<div role="label" tabIndex="-1">'+CKEDITOR.tools.htmlEncode(E.noAnchors)+'</div>',focus:true,setup:function(F){if(F.anchors.length<1)this.getElement().show();
9
- else this.getElement().hide();}}],setup:function(F){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().hide();}},{type:'vbox',id:'emailOptions',padding:1,children:[{type:'text',id:'emailAddress',label:E.emailAddress,required:true,validate:function(){var F=this.getDialog();if(!F.getContentElement('info','linkType')||F.getValueOf('info','linkType')!='email')return true;var G=CKEDITOR.dialog.validate.notEmpty(E.noEmail);return G.apply(this);},setup:function(F){if(F.email)this.setValue(F.email.address);var G=this.getDialog().getContentElement('info','linkType');if(G&&G.getValue()=='email')this.select();},commit:function(F){if(!F.email)F.email={};F.email.address=this.getValue();}},{type:'text',id:'emailSubject',label:E.emailSubject,setup:function(F){if(F.email)this.setValue(F.email.subject);},commit:function(F){if(!F.email)F.email={};F.email.subject=this.getValue();}},{type:'textarea',id:'emailBody',label:E.emailBody,rows:3,'default':'',setup:function(F){if(F.email)this.setValue(F.email.body);},commit:function(F){if(!F.email)F.email={};F.email.body=this.getValue();}}],setup:function(F){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().hide();}}]},{id:'target',label:E.target,title:E.target,elements:[{type:'hbox',widths:['50%','50%'],children:[{type:'select',id:'linkTargetType',label:D.target,'default':'notSet',style:'width : 100%;',items:[[D.notSet,'notSet'],[E.targetFrame,'frame'],[E.targetPopup,'popup'],[D.targetNew,'_blank'],[D.targetTop,'_top'],[D.targetSelf,'_self'],[D.targetParent,'_parent']],onChange:c,setup:function(F){if(F.target)this.setValue(F.target.type||'notSet');c.call(this);},commit:function(F){if(!F.target)F.target={};F.target.type=this.getValue();}},{type:'text',id:'linkTargetName',label:E.targetFrameName,'default':'',setup:function(F){if(F.target)this.setValue(F.target.name);},commit:function(F){if(!F.target)F.target={};F.target.name=this.getValue().replace(/\W/gi,'');}}]},{type:'vbox',width:'100%',align:'center',padding:2,id:'popupFeatures',children:[{type:'fieldset',label:E.popupFeatures,children:[{type:'hbox',children:[{type:'checkbox',id:'resizable',label:E.popupResizable,setup:r,commit:u},{type:'checkbox',id:'status',label:E.popupStatusBar,setup:r,commit:u}]},{type:'hbox',children:[{type:'checkbox',id:'location',label:E.popupLocationBar,setup:r,commit:u},{type:'checkbox',id:'toolbar',label:E.popupToolbar,setup:r,commit:u}]},{type:'hbox',children:[{type:'checkbox',id:'menubar',label:E.popupMenuBar,setup:r,commit:u},{type:'checkbox',id:'fullscreen',label:E.popupFullScreen,setup:r,commit:u}]},{type:'hbox',children:[{type:'checkbox',id:'scrollbars',label:E.popupScrollBars,setup:r,commit:u},{type:'checkbox',id:'dependent',label:E.popupDependent,setup:r,commit:u}]},{type:'hbox',children:[{type:'text',widths:['50%','50%'],labelLayout:'horizontal',label:D.width,id:'width',setup:r,commit:u},{type:'text',labelLayout:'horizontal',widths:['50%','50%'],label:E.popupLeft,id:'left',setup:r,commit:u}]},{type:'hbox',children:[{type:'text',labelLayout:'horizontal',widths:['50%','50%'],label:D.height,id:'height',setup:r,commit:u},{type:'text',labelLayout:'horizontal',label:E.popupTop,widths:['50%','50%'],id:'top',setup:r,commit:u}]}]}]}]},{id:'upload',label:E.upload,title:E.upload,hidden:true,filebrowser:'uploadButton',elements:[{type:'file',id:'upload',label:D.upload,style:'height:40px',size:29},{type:'fileButton',id:'uploadButton',label:D.uploadSubmit,filebrowser:'info:url','for':['upload','upload']}]},{id:'advanced',label:E.advanced,title:E.advanced,elements:[{type:'vbox',padding:1,children:[{type:'hbox',widths:['45%','35%','20%'],children:[{type:'text',id:'advId',label:E.id,setup:s,commit:v},{type:'select',id:'advLangDir',label:E.langDir,'default':'',style:'width:110px',items:[[D.notSet,''],[E.langDirLTR,'ltr'],[E.langDirRTL,'rtl']],setup:s,commit:v},{type:'text',id:'advAccessKey',width:'80px',label:E.acccessKey,maxLength:1,setup:s,commit:v}]},{type:'hbox',widths:['45%','35%','20%'],children:[{type:'text',label:E.name,id:'advName',setup:s,commit:v},{type:'text',label:E.langCode,id:'advLangCode',width:'110px','default':'',setup:s,commit:v},{type:'text',label:E.tabIndex,id:'advTabIndex',width:'80px',maxLength:5,setup:s,commit:v}]}]},{type:'vbox',padding:1,children:[{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:E.advisoryTitle,'default':'',id:'advTitle',setup:s,commit:v},{type:'text',label:E.advisoryContentType,'default':'',id:'advContentType',setup:s,commit:v}]},{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:E.cssClasses,'default':'',id:'advCSSClasses',setup:s,commit:v},{type:'text',label:E.charset,'default':'',id:'advCharset',setup:s,commit:v}]},{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:E.rel,'default':'',id:'advRel',setup:s,commit:v},{type:'text',label:E.styles,'default':'',id:'advStyles',setup:s,commit:v}]}]}]}],onShow:function(){var F=this.getParentEditor(),G=F.getSelection(),H=null;
10
- if((H=b.getSelectedLink(F))&&H.hasAttribute('href'))G.selectElement(H);else H=null;this.setupContent(p.apply(this,[F,H]));},onOk:function(){var F={},G=[],H={},I=this,J=this.getParentEditor();this.commitContent(H);switch(H.type||'url'){case 'url':var K=H.url&&H.url.protocol!=undefined?H.url.protocol:'http://',L=H.url&&H.url.url||'';F['data-cke-saved-href']=L.indexOf('/')===0?L:K+L;break;case 'anchor':var M=H.anchor&&H.anchor.name,N=H.anchor&&H.anchor.id;F['data-cke-saved-href']='#'+(M||N||'');break;case 'email':var O,P=H.email,Q=P.address;switch(y){case '':case 'encode':var R=encodeURIComponent(P.subject||''),S=encodeURIComponent(P.body||''),T=[];R&&T.push('subject='+R);S&&T.push('body='+S);T=T.length?'?'+T.join('&'):'';if(y=='encode'){O=["javascript:void(location.href='mailto:'+",B(Q)];T&&O.push("+'",x(T),"'");O.push(')');}else O=['mailto:',Q,T];break;default:var U=Q.split('@',2);P.name=U[0];P.domain=U[1];O=['javascript:',A(P)];}F['data-cke-saved-href']=O.join('');break;}if(H.target)if(H.target.type=='popup'){var V=["window.open(this.href, '",H.target.name||'',"', '"],W=['resizable','status','location','toolbar','menubar','fullscreen','scrollbars','dependent'],X=W.length,Y=function(ai){if(H.target[ai])W.push(ai+'='+H.target[ai]);};for(var Z=0;Z<X;Z++)W[Z]=W[Z]+(H.target[W[Z]]?'=yes':'=no');Y('width');Y('left');Y('height');Y('top');V.push(W.join(','),"'); return false;");F['data-cke-pa-onclick']=V.join('');G.push('target');}else{if(H.target.type!='notSet'&&H.target.name)F.target=H.target.name;else G.push('target');G.push('data-cke-pa-onclick','onclick');}if(H.adv){var aa=function(ai,aj){var ak=H.adv[ai];if(ak)F[aj]=ak;else G.push(aj);};aa('advId','id');aa('advLangDir','dir');aa('advAccessKey','accessKey');if(H.adv.advName)F.name=F['data-cke-saved-name']=H.adv.advName;else G=G.concat(['data-cke-saved-name','name']);aa('advLangCode','lang');aa('advTabIndex','tabindex');aa('advTitle','title');aa('advContentType','type');aa('advCSSClasses','class');aa('advCharset','charset');aa('advStyles','style');aa('advRel','rel');}F.href=F['data-cke-saved-href'];if(!this._.selectedElement){var ab=J.getSelection(),ac=ab.getRanges(true);if(ac.length==1&&ac[0].collapsed){var ad=new CKEDITOR.dom.text(H.type=='email'?H.email.address:F['data-cke-saved-href'],J.document);ac[0].insertNode(ad);ac[0].selectNodeContents(ad);ab.selectRanges(ac);}var ae=new CKEDITOR.style({element:'a',attributes:F});ae.type=CKEDITOR.STYLE_INLINE;ae.apply(J.document);}else{var af=this._.selectedElement,ag=af.data('cke-saved-href'),ah=af.getHtml();
11
- af.setAttributes(F);af.removeAttributes(G);if(H.adv&&H.adv.advName&&CKEDITOR.plugins.link.synAnchorSelector)af.addClass(af.getChildCount()?'cke_anchor':'cke_anchor_empty');if(ag==ah||H.type=='email'&&ah.indexOf('@')!=-1)af.setHtml(H.type=='email'?H.email.address:F['data-cke-saved-href']);delete this._.selectedElement;}},onLoad:function(){if(!a.config.linkShowAdvancedTab)this.hidePage('advanced');if(!a.config.linkShowTargetTab)this.hidePage('target');},onFocus:function(){var F=this.getContentElement('info','linkType'),G;if(F&&F.getValue()=='url'){G=this.getContentElement('info','url');G.select();}}};});
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("link",function(n){var p,q;function r(a){return a.replace(/'/g,"\\$&")}function t(a){var g,c=p,d,e;g=[q,"("];for(var b=0;b<c.length;b++)d=c[b].toLowerCase(),e=a[d],0<b&&g.push(","),g.push("'",e?r(encodeURIComponent(a[d])):"","'");g.push(")");return g.join("")}function u(a){for(var g,c=a.length,d=[],e=0;e<c;e++)g=a.charCodeAt(e),d.push(g);return"String.fromCharCode("+d.join(",")+")"}function v(a){return(a=a.getAttribute("class"))?a.replace(/\s*(?:cke_anchor_empty|cke_anchor)(?:\s*$)?/g,
6
+ ""):""}var w=CKEDITOR.plugins.link,s=function(){var a=this.getDialog(),g=a.getContentElement("target","popupFeatures"),a=a.getContentElement("target","linkTargetName"),c=this.getValue();if(g&&a)switch(g=g.getElement(),g.hide(),a.setValue(""),c){case "frame":a.setLabel(n.lang.link.targetFrameName);a.getElement().show();break;case "popup":g.show();a.setLabel(n.lang.link.targetPopupName);a.getElement().show();break;default:a.setValue(c),a.getElement().hide()}},x=/^javascript:/,y=/^mailto:([^?]+)(?:\?(.+))?$/,
7
+ z=/subject=([^;?:@&=$,\/]*)/,A=/body=([^;?:@&=$,\/]*)/,B=/^#(.*)$/,C=/^((?:http|https|ftp|news):\/\/)?(.*)$/,D=/^(_(?:self|top|parent|blank))$/,E=/^javascript:void\(location\.href='mailto:'\+String\.fromCharCode\(([^)]+)\)(?:\+'(.*)')?\)$/,F=/^javascript:([^(]+)\(([^)]+)\)$/,G=/\s*window.open\(\s*this\.href\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*;\s*return\s*false;*\s*/,H=/(?:^|,)([^=]+)=(\d+|yes|no)/gi,I=function(a,g){var c=g&&(g.data("cke-saved-href")||g.getAttribute("href"))||"",d,e,b=
8
+ {};c.match(x)&&("encode"==o?c=c.replace(E,function(a,c,b){return"mailto:"+String.fromCharCode.apply(String,c.split(","))+(b&&b.replace(/\\'/g,"'"))}):o&&c.replace(F,function(a,c,d){if(c==q){b.type="email";for(var a=b.email={},c=/(^')|('$)/g,d=d.match(/[^,\s]+/g),e=d.length,g,f,h=0;h<e;h++)g=decodeURIComponent,f=d[h].replace(c,"").replace(/\\'/g,"'"),f=g(f),g=p[h].toLowerCase(),a[g]=f;a.address=[a.name,a.domain].join("@")}}));if(!b.type)if(d=c.match(B))b.type="anchor",b.anchor={},b.anchor.name=b.anchor.id=
9
+ d[1];else if(d=c.match(y)){e=c.match(z);c=c.match(A);b.type="email";var f=b.email={};f.address=d[1];e&&(f.subject=decodeURIComponent(e[1]));c&&(f.body=decodeURIComponent(c[1]))}else c&&(e=c.match(C))?(b.type="url",b.url={},b.url.protocol=e[1],b.url.url=e[2]):b.type="url";if(g){d=g.getAttribute("target");b.target={};b.adv={};if(d)d.match(D)?b.target.type=b.target.name=d:(b.target.type="frame",b.target.name=d);else if(d=(d=g.data("cke-pa-onclick")||g.getAttribute("onclick"))&&d.match(G)){b.target.type=
10
+ "popup";for(b.target.name=d[1];c=H.exec(d[2]);)("yes"==c[2]||"1"==c[2])&&!(c[1]in{height:1,width:1,top:1,left:1})?b.target[c[1]]=!0:isFinite(c[2])&&(b.target[c[1]]=c[2])}d=function(a,c){var d=g.getAttribute(c);null!==d&&(b.adv[a]=d||"")};d("advId","id");d("advLangDir","dir");d("advAccessKey","accessKey");b.adv.advName=g.data("cke-saved-name")||g.getAttribute("name")||"";d("advLangCode","lang");d("advTabIndex","tabindex");d("advTitle","title");d("advContentType","type");CKEDITOR.plugins.link.synAnchorSelector?
11
+ b.adv.advCSSClasses=v(g):d("advCSSClasses","class");d("advCharset","charset");d("advStyles","style");d("advRel","rel")}d=b.anchors=[];var h;if(CKEDITOR.plugins.link.emptyAnchorFix){f=a.document.getElementsByTag("a");c=0;for(e=f.count();c<e;c++)if(h=f.getItem(c),h.data("cke-saved-name")||h.hasAttribute("name"))d.push({name:h.data("cke-saved-name")||h.getAttribute("name"),id:h.getAttribute("id")})}else{f=new CKEDITOR.dom.nodeList(a.document.$.anchors);c=0;for(e=f.count();c<e;c++)h=f.getItem(c),d[c]=
12
+ {name:h.getAttribute("name"),id:h.getAttribute("id")}}if(CKEDITOR.plugins.link.fakeAnchor){f=a.document.getElementsByTag("img");c=0;for(e=f.count();c<e;c++)(h=CKEDITOR.plugins.link.tryRestoreFakeAnchor(a,f.getItem(c)))&&d.push({name:h.getAttribute("name"),id:h.getAttribute("id")})}this._.selectedElement=g;return b},j=function(a){a.target&&this.setValue(a.target[this.id]||"")},k=function(a){a.adv&&this.setValue(a.adv[this.id]||"")},l=function(a){a.target||(a.target={});a.target[this.id]=this.getValue()||
13
+ ""},m=function(a){a.adv||(a.adv={});a.adv[this.id]=this.getValue()||""},o=n.config.emailProtection||"";o&&"encode"!=o&&(q=p=void 0,o.replace(/^([^(]+)\(([^)]+)\)$/,function(a,b,c){q=b;p=[];c.replace(/[^,\s]+/g,function(a){p.push(a)})}));var i=n.lang.common,b=n.lang.link;return{title:b.title,minWidth:350,minHeight:230,contents:[{id:"info",label:b.info,title:b.info,elements:[{id:"linkType",type:"select",label:b.type,"default":"url",items:[[b.toUrl,"url"],[b.toAnchor,"anchor"],[b.toEmail,"email"]],onChange:function(){var a=
14
+ this.getDialog(),b=["urlOptions","anchorOptions","emailOptions"],c=this.getValue(),d=a.definition.getContents("upload"),d=d&&d.hidden;if(c=="url"){n.config.linkShowTargetTab&&a.showPage("target");d||a.showPage("upload")}else{a.hidePage("target");d||a.hidePage("upload")}for(d=0;d<b.length;d++){var e=a.getContentElement("info",b[d]);if(e){e=e.getElement().getParent().getParent();b[d]==c+"Options"?e.show():e.hide()}}a.layout()},setup:function(a){a.type&&this.setValue(a.type)},commit:function(a){a.type=
15
+ this.getValue()}},{type:"vbox",id:"urlOptions",children:[{type:"hbox",widths:["25%","75%"],children:[{id:"protocol",type:"select",label:i.protocol,"default":"http://",items:[["http://‎","http://"],["https://‎","https://"],["ftp://‎","ftp://"],["news://‎","news://"],[b.other,""]],setup:function(a){a.url&&this.setValue(a.url.protocol||"")},commit:function(a){if(!a.url)a.url={};a.url.protocol=this.getValue()}},{type:"text",id:"url",label:i.url,required:!0,onLoad:function(){this.allowOnChange=true},onKeyUp:function(){this.allowOnChange=
16
+ false;var a=this.getDialog().getContentElement("info","protocol"),b=this.getValue(),c=/^((javascript:)|[#\/\.\?])/i,d=/^(http|https|ftp|news):\/\/(?=.)/i.exec(b);if(d){this.setValue(b.substr(d[0].length));a.setValue(d[0].toLowerCase())}else c.test(b)&&a.setValue("");this.allowOnChange=true},onChange:function(){if(this.allowOnChange)this.onKeyUp()},validate:function(){var a=this.getDialog();if(a.getContentElement("info","linkType")&&a.getValueOf("info","linkType")!="url")return true;if(/javascript\:/.test(this.getValue())){alert(i.invalidValue);
17
+ return false}return this.getDialog().fakeObj?true:CKEDITOR.dialog.validate.notEmpty(b.noUrl).apply(this)},setup:function(a){this.allowOnChange=false;a.url&&this.setValue(a.url.url);this.allowOnChange=true},commit:function(a){this.onChange();if(!a.url)a.url={};a.url.url=this.getValue();this.allowOnChange=false}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().show()}},{type:"button",id:"browse",hidden:"true",filebrowser:"info:url",label:i.browseServer}]},
18
+ {type:"vbox",id:"anchorOptions",width:260,align:"center",padding:0,children:[{type:"fieldset",id:"selectAnchorText",label:b.selectAnchor,setup:function(a){a.anchors.length>0?this.getElement().show():this.getElement().hide()},children:[{type:"hbox",id:"selectAnchor",children:[{type:"select",id:"anchorName","default":"",label:b.anchorName,style:"width: 100%;",items:[[""]],setup:function(a){this.clear();this.add("");for(var b=0;b<a.anchors.length;b++)a.anchors[b].name&&this.add(a.anchors[b].name);a.anchor&&
19
+ this.setValue(a.anchor.name);(a=this.getDialog().getContentElement("info","linkType"))&&a.getValue()=="email"&&this.focus()},commit:function(a){if(!a.anchor)a.anchor={};a.anchor.name=this.getValue()}},{type:"select",id:"anchorId","default":"",label:b.anchorId,style:"width: 100%;",items:[[""]],setup:function(a){this.clear();this.add("");for(var b=0;b<a.anchors.length;b++)a.anchors[b].id&&this.add(a.anchors[b].id);a.anchor&&this.setValue(a.anchor.id)},commit:function(a){if(!a.anchor)a.anchor={};a.anchor.id=
20
+ this.getValue()}}],setup:function(a){a.anchors.length>0?this.getElement().show():this.getElement().hide()}}]},{type:"html",id:"noAnchors",style:"text-align: center;",html:'<div role="note" tabIndex="-1">'+CKEDITOR.tools.htmlEncode(b.noAnchors)+"</div>",focus:!0,setup:function(a){a.anchors.length<1?this.getElement().show():this.getElement().hide()}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().hide()}},{type:"vbox",id:"emailOptions",padding:1,children:[{type:"text",
21
+ id:"emailAddress",label:b.emailAddress,required:!0,validate:function(){var a=this.getDialog();return!a.getContentElement("info","linkType")||a.getValueOf("info","linkType")!="email"?true:CKEDITOR.dialog.validate.notEmpty(b.noEmail).apply(this)},setup:function(a){a.email&&this.setValue(a.email.address);(a=this.getDialog().getContentElement("info","linkType"))&&a.getValue()=="email"&&this.select()},commit:function(a){if(!a.email)a.email={};a.email.address=this.getValue()}},{type:"text",id:"emailSubject",
22
+ label:b.emailSubject,setup:function(a){a.email&&this.setValue(a.email.subject)},commit:function(a){if(!a.email)a.email={};a.email.subject=this.getValue()}},{type:"textarea",id:"emailBody",label:b.emailBody,rows:3,"default":"",setup:function(a){a.email&&this.setValue(a.email.body)},commit:function(a){if(!a.email)a.email={};a.email.body=this.getValue()}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().hide()}}]},{id:"target",requiredContent:"a[target]",label:b.target,
23
+ title:b.target,elements:[{type:"hbox",widths:["50%","50%"],children:[{type:"select",id:"linkTargetType",label:i.target,"default":"notSet",style:"width : 100%;",items:[[i.notSet,"notSet"],[b.targetFrame,"frame"],[b.targetPopup,"popup"],[i.targetNew,"_blank"],[i.targetTop,"_top"],[i.targetSelf,"_self"],[i.targetParent,"_parent"]],onChange:s,setup:function(a){a.target&&this.setValue(a.target.type||"notSet");s.call(this)},commit:function(a){if(!a.target)a.target={};a.target.type=this.getValue()}},{type:"text",
24
+ id:"linkTargetName",label:b.targetFrameName,"default":"",setup:function(a){a.target&&this.setValue(a.target.name)},commit:function(a){if(!a.target)a.target={};a.target.name=this.getValue().replace(/\W/gi,"")}}]},{type:"vbox",width:"100%",align:"center",padding:2,id:"popupFeatures",children:[{type:"fieldset",label:b.popupFeatures,children:[{type:"hbox",children:[{type:"checkbox",id:"resizable",label:b.popupResizable,setup:j,commit:l},{type:"checkbox",id:"status",label:b.popupStatusBar,setup:j,commit:l}]},
25
+ {type:"hbox",children:[{type:"checkbox",id:"location",label:b.popupLocationBar,setup:j,commit:l},{type:"checkbox",id:"toolbar",label:b.popupToolbar,setup:j,commit:l}]},{type:"hbox",children:[{type:"checkbox",id:"menubar",label:b.popupMenuBar,setup:j,commit:l},{type:"checkbox",id:"fullscreen",label:b.popupFullScreen,setup:j,commit:l}]},{type:"hbox",children:[{type:"checkbox",id:"scrollbars",label:b.popupScrollBars,setup:j,commit:l},{type:"checkbox",id:"dependent",label:b.popupDependent,setup:j,commit:l}]},
26
+ {type:"hbox",children:[{type:"text",widths:["50%","50%"],labelLayout:"horizontal",label:i.width,id:"width",setup:j,commit:l},{type:"text",labelLayout:"horizontal",widths:["50%","50%"],label:b.popupLeft,id:"left",setup:j,commit:l}]},{type:"hbox",children:[{type:"text",labelLayout:"horizontal",widths:["50%","50%"],label:i.height,id:"height",setup:j,commit:l},{type:"text",labelLayout:"horizontal",label:b.popupTop,widths:["50%","50%"],id:"top",setup:j,commit:l}]}]}]}]},{id:"upload",label:b.upload,title:b.upload,
27
+ hidden:!0,filebrowser:"uploadButton",elements:[{type:"file",id:"upload",label:i.upload,style:"height:40px",size:29},{type:"fileButton",id:"uploadButton",label:i.uploadSubmit,filebrowser:"info:url","for":["upload","upload"]}]},{id:"advanced",label:b.advanced,title:b.advanced,elements:[{type:"vbox",padding:1,children:[{type:"hbox",widths:["45%","35%","20%"],children:[{type:"text",id:"advId",requiredContent:"a[id]",label:b.id,setup:k,commit:m},{type:"select",id:"advLangDir",requiredContent:"a[dir]",
28
+ label:b.langDir,"default":"",style:"width:110px",items:[[i.notSet,""],[b.langDirLTR,"ltr"],[b.langDirRTL,"rtl"]],setup:k,commit:m},{type:"text",id:"advAccessKey",requiredContent:"a[accesskey]",width:"80px",label:b.acccessKey,maxLength:1,setup:k,commit:m}]},{type:"hbox",widths:["45%","35%","20%"],children:[{type:"text",label:b.name,id:"advName",requiredContent:"a[name]",setup:k,commit:m},{type:"text",label:b.langCode,id:"advLangCode",requiredContent:"a[lang]",width:"110px","default":"",setup:k,commit:m},
29
+ {type:"text",label:b.tabIndex,id:"advTabIndex",requiredContent:"a[tabindex]",width:"80px",maxLength:5,setup:k,commit:m}]}]},{type:"vbox",padding:1,children:[{type:"hbox",widths:["45%","55%"],children:[{type:"text",label:b.advisoryTitle,requiredContent:"a[title]","default":"",id:"advTitle",setup:k,commit:m},{type:"text",label:b.advisoryContentType,requiredContent:"a[type]","default":"",id:"advContentType",setup:k,commit:m}]},{type:"hbox",widths:["45%","55%"],children:[{type:"text",label:b.cssClasses,
30
+ requiredContent:"a(cke-xyz)","default":"",id:"advCSSClasses",setup:k,commit:m},{type:"text",label:b.charset,requiredContent:"a[charset]","default":"",id:"advCharset",setup:k,commit:m}]},{type:"hbox",widths:["45%","55%"],children:[{type:"text",label:b.rel,requiredContent:"a[rel]","default":"",id:"advRel",setup:k,commit:m},{type:"text",label:b.styles,requiredContent:"a{cke-xyz}","default":"",id:"advStyles",validate:CKEDITOR.dialog.validate.inlineStyle(n.lang.common.invalidInlineStyle),setup:k,commit:m}]}]}]}],
31
+ onShow:function(){var a=this.getParentEditor(),b=a.getSelection(),c=null;(c=w.getSelectedLink(a))&&c.hasAttribute("href")?b.getSelectedElement()||b.selectElement(c):c=null;this.setupContent(I.apply(this,[a,c]))},onOk:function(){var a={},b=[],c={},d=this.getParentEditor();this.commitContent(c);switch(c.type||"url"){case "url":var e=c.url&&c.url.protocol!=void 0?c.url.protocol:"http://",i=c.url&&CKEDITOR.tools.trim(c.url.url)||"";a["data-cke-saved-href"]=i.indexOf("/")===0?i:e+i;break;case "anchor":e=
32
+ c.anchor&&c.anchor.id;a["data-cke-saved-href"]="#"+(c.anchor&&c.anchor.name||e||"");break;case "email":var f=c.email,e=f.address;switch(o){case "":case "encode":var i=encodeURIComponent(f.subject||""),h=encodeURIComponent(f.body||""),f=[];i&&f.push("subject="+i);h&&f.push("body="+h);f=f.length?"?"+f.join("&"):"";if(o=="encode"){e=["javascript:void(location.href='mailto:'+",u(e)];f&&e.push("+'",r(f),"'");e.push(")")}else e=["mailto:",e,f];break;default:e=e.split("@",2);f.name=e[0];f.domain=e[1];e=
33
+ ["javascript:",t(f)]}a["data-cke-saved-href"]=e.join("")}if(c.target)if(c.target.type=="popup"){for(var e=["window.open(this.href, '",c.target.name||"","', '"],j=["resizable","status","location","toolbar","menubar","fullscreen","scrollbars","dependent"],i=j.length,f=function(a){c.target[a]&&j.push(a+"="+c.target[a])},h=0;h<i;h++)j[h]=j[h]+(c.target[j[h]]?"=yes":"=no");f("width");f("left");f("height");f("top");e.push(j.join(","),"'); return false;");a["data-cke-pa-onclick"]=e.join("");b.push("target")}else{c.target.type!=
34
+ "notSet"&&c.target.name?a.target=c.target.name:b.push("target");b.push("data-cke-pa-onclick","onclick")}if(c.adv){e=function(d,e){var f=c.adv[d];f?a[e]=f:b.push(e)};e("advId","id");e("advLangDir","dir");e("advAccessKey","accessKey");c.adv.advName?a.name=a["data-cke-saved-name"]=c.adv.advName:b=b.concat(["data-cke-saved-name","name"]);e("advLangCode","lang");e("advTabIndex","tabindex");e("advTitle","title");e("advContentType","type");e("advCSSClasses","class");e("advCharset","charset");e("advStyles",
35
+ "style");e("advRel","rel")}e=d.getSelection();a.href=a["data-cke-saved-href"];if(this._.selectedElement){d=this._.selectedElement;i=d.data("cke-saved-href");f=d.getHtml();d.setAttributes(a);d.removeAttributes(b);c.adv&&(c.adv.advName&&CKEDITOR.plugins.link.synAnchorSelector)&&d.addClass(d.getChildCount()?"cke_anchor":"cke_anchor_empty");if(i==f||c.type=="email"&&f.indexOf("@")!=-1){d.setHtml(c.type=="email"?c.email.address:a["data-cke-saved-href"]);e.selectElement(d)}delete this._.selectedElement}else{e=
36
+ e.getRanges()[0];if(e.collapsed){d=new CKEDITOR.dom.text(c.type=="email"?c.email.address:a["data-cke-saved-href"],d.document);e.insertNode(d);e.selectNodeContents(d)}d=new CKEDITOR.style({element:"a",attributes:a});d.type=CKEDITOR.STYLE_INLINE;d.applyToRange(e);e.select()}},onLoad:function(){n.config.linkShowAdvancedTab||this.hidePage("advanced");n.config.linkShowTargetTab||this.hidePage("target")},onFocus:function(){var a=this.getContentElement("info","linkType");if(a&&a.getValue()=="url"){a=this.getContentElement("info",
37
+ "url");a.select()}}}});
@@ -1,6 +1,10 @@
1
- /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){function a(d,e){var f;try{f=d.getSelection().getRanges()[0];}catch(g){return null;}f.shrink(CKEDITOR.SHRINK_TEXT);return f.getCommonAncestor().getAscendant(e,1);};var b={a:'lower-alpha',A:'upper-alpha',i:'lower-roman',I:'upper-roman',1:'decimal',disc:'disc',circle:'circle',square:'square'};function c(d,e){var f=d.lang.list;if(e=='bulletedListStyle')return{title:f.bulletedTitle,minWidth:300,minHeight:50,contents:[{id:'info',accessKey:'I',elements:[{type:'select',label:f.type,id:'type',style:'width: 150px; margin: auto;',items:[[f.notset,''],[f.circle,'circle'],[f.disc,'disc'],[f.square,'square']],setup:function(h){var i=h.getStyle('list-style-type')||b[h.getAttribute('type')]||h.getAttribute('type')||'';this.setValue(i);},commit:function(h){var i=this.getValue();if(i)h.setStyle('list-style-type',i);else h.removeStyle('list-style-type');}}]}],onShow:function(){var h=this.getParentEditor(),i=a(h,'ul');i&&this.setupContent(i);},onOk:function(){var h=this.getParentEditor(),i=a(h,'ul');i&&this.commitContent(i);}};else if(e=='numberedListStyle'){var g=[[f.notset,''],[f.lowerRoman,'lower-roman'],[f.upperRoman,'upper-roman'],[f.lowerAlpha,'lower-alpha'],[f.upperAlpha,'upper-alpha'],[f.decimal,'decimal']];if(!CKEDITOR.env.ie||CKEDITOR.env.version>7)g.concat([[f.armenian,'armenian'],[f.decimalLeadingZero,'decimal-leading-zero'],[f.georgian,'georgian'],[f.lowerGreek,'lower-greek']]);return{title:f.numberedTitle,minWidth:300,minHeight:50,contents:[{id:'info',accessKey:'I',elements:[{type:'hbox',widths:['25%','75%'],children:[{label:f.start,type:'text',id:'start',validate:CKEDITOR.dialog.validate.integer(f.validateStartNumber),setup:function(h){var i=h.getAttribute('start')||1;i&&this.setValue(i);},commit:function(h){h.setAttribute('start',this.getValue());}},{type:'select',label:f.type,id:'type',style:'width: 100%;',items:g,setup:function(h){var i=h.getStyle('list-style-type')||b[h.getAttribute('type')]||h.getAttribute('type')||'';this.setValue(i);},commit:function(h){var i=this.getValue();if(i)h.setStyle('list-style-type',i);else h.removeStyle('list-style-type');}}]}]}],onShow:function(){var h=this.getParentEditor(),i=a(h,'ol');i&&this.setupContent(i);},onOk:function(){var h=this.getParentEditor(),i=a(h,'ol');i&&this.commitContent(i);}};}};CKEDITOR.dialog.add('numberedListStyle',function(d){return c(d,'numberedListStyle');});CKEDITOR.dialog.add('bulletedListStyle',function(d){return c(d,'bulletedListStyle');});})();
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ (function(){function d(c,d){var b;try{b=c.getSelection().getRanges()[0]}catch(f){return null}b.shrink(CKEDITOR.SHRINK_TEXT);return c.elementPath(b.getCommonAncestor()).contains(d,1)}function e(c,e){var b=c.lang.liststyle;if("bulletedListStyle"==e)return{title:b.bulletedTitle,minWidth:300,minHeight:50,contents:[{id:"info",accessKey:"I",elements:[{type:"select",label:b.type,id:"type",align:"center",style:"width:150px",items:[[b.notset,""],[b.circle,"circle"],[b.disc,"disc"],[b.square,"square"]],setup:function(a){this.setValue(a.getStyle("list-style-type")||
6
+ h[a.getAttribute("type")]||a.getAttribute("type")||"")},commit:function(a){var b=this.getValue();b?a.setStyle("list-style-type",b):a.removeStyle("list-style-type")}}]}],onShow:function(){var a=this.getParentEditor();(a=d(a,"ul"))&&this.setupContent(a)},onOk:function(){var a=this.getParentEditor();(a=d(a,"ul"))&&this.commitContent(a)}};if("numberedListStyle"==e){var g=[[b.notset,""],[b.lowerRoman,"lower-roman"],[b.upperRoman,"upper-roman"],[b.lowerAlpha,"lower-alpha"],[b.upperAlpha,"upper-alpha"],
7
+ [b.decimal,"decimal"]];(!CKEDITOR.env.ie||7<CKEDITOR.env.version)&&g.concat([[b.armenian,"armenian"],[b.decimalLeadingZero,"decimal-leading-zero"],[b.georgian,"georgian"],[b.lowerGreek,"lower-greek"]]);return{title:b.numberedTitle,minWidth:300,minHeight:50,contents:[{id:"info",accessKey:"I",elements:[{type:"hbox",widths:["25%","75%"],children:[{label:b.start,type:"text",id:"start",validate:CKEDITOR.dialog.validate.integer(b.validateStartNumber),setup:function(a){this.setValue(a.getFirst(f).getAttribute("value")||
8
+ a.getAttribute("start")||1)},commit:function(a){var b=a.getFirst(f),c=b.getAttribute("value")||a.getAttribute("start")||1;a.getFirst(f).removeAttribute("value");var d=parseInt(this.getValue(),10);isNaN(d)?a.removeAttribute("start"):a.setAttribute("start",d);a=b;b=c;for(d=isNaN(d)?1:d;(a=a.getNext(f))&&b++;)a.getAttribute("value")==b&&a.setAttribute("value",d+b-c)}},{type:"select",label:b.type,id:"type",style:"width: 100%;",items:g,setup:function(a){this.setValue(a.getStyle("list-style-type")||h[a.getAttribute("type")]||
9
+ a.getAttribute("type")||"")},commit:function(a){var b=this.getValue();b?a.setStyle("list-style-type",b):a.removeStyle("list-style-type")}}]}]}],onShow:function(){var a=this.getParentEditor();(a=d(a,"ol"))&&this.setupContent(a)},onOk:function(){var a=this.getParentEditor();(a=d(a,"ol"))&&this.commitContent(a)}}}}var f=function(c){return c.type==CKEDITOR.NODE_ELEMENT&&c.is("li")},h={a:"lower-alpha",A:"upper-alpha",i:"lower-roman",I:"upper-roman",1:"decimal",disc:"disc",circle:"circle",square:"square"};
10
+ CKEDITOR.dialog.add("numberedListStyle",function(c){return e(c,"numberedListStyle")});CKEDITOR.dialog.add("bulletedListStyle",function(c){return e(c,"bulletedListStyle")})})();
@@ -0,0 +1,23 @@
1
+ CKEDITOR.plugins.setLang('oembed', 'de', {
2
+ title : "Medien Inhalt einbinden (Bilder, Video, Inhalt)",
3
+ button : "Medien Inhalt von Verschiedenen Seiten einbinden",
4
+ pasteUrl : "Fügen Sie eine Url (Gekürzte Urls werden auch erkannt) ein von einer Seite die Unterstützt wird (z.B.: YouTube, Flickr, Qik, Vimeo, Hulu, Viddler, MyOpera, etc.) ...",
5
+ invalidUrl : "Sie müssem eine korrekte URL an!",
6
+ noEmbedCode : "Kein embed Code gefunden, oder Seite wird nicht Unterstützt!",
7
+ url : "URL:",
8
+ width: "Breite:",
9
+ height: "Höhe:",
10
+ widthTitle: "Breite für den eingebundenen Inhalt",
11
+ heightTitle: "Höhe für den eingebundenen Inhalt",
12
+ maxWidth: "Max. Breite:",
13
+ maxHeight: "Max. Höhe:",
14
+ maxWidthTitle: "Maximale Breite für den eingebundenen Inhalt",
15
+ maxHeightTitle: "Maximale Höhe für den eingebundenen Inhalt",
16
+ resizeType: "Größenveränderungsmodus (Nur Video's):",
17
+ noresize: "Keine Veränderung (Standardgröße)",
18
+ responsive: "Responsive",
19
+ custom: "Eigene Größe",
20
+ autoClose: "Dialog nach einbettung automatisch schließen",
21
+ noVimeo: "Der Eigentümber dieses Videos hat Domain einschränkungen für dieses Video gesetzt das Video kann nicht in die Webseite eingebunden werden.",
22
+ Error: "Inhalt konnte nicht gefunden werden, bitte Versuchen sie eine Andere URL."
23
+ });
@@ -0,0 +1,23 @@
1
+ CKEDITOR.plugins.setLang('oembed', 'en', {
2
+ title: "Embed Media Content (Photo, Video, Audio, Rich)",
3
+ button: "Embed Media Content from Various Sites",
4
+ pasteUrl: "Paste an URL (Also shortened URLs are supported) from one of the Supported Sites (e.g. YouTube, Flickr, Qik, Vimeo, Hulu, Viddler, MyOpera, etc.) here ...",
5
+ invalidUrl: "Please provide an valid URL!",
6
+ noEmbedCode: "No embed code found, or site is not supported!",
7
+ url: "URL:",
8
+ width: "Width:",
9
+ height: "Height:",
10
+ widthTitle: "Width for the embeded Content",
11
+ heightTitle: "Height for the embeded Content",
12
+ maxWidth: "Max. Width:",
13
+ maxHeight: "Max. Height:",
14
+ maxWidthTitle: "Maximum Width for the embeded Content",
15
+ maxHeightTitle: "Maximum Height for the embeded Content",
16
+ resizeType: "Resize Type (Only Video's):",
17
+ noresize: "No Resize (use default)",
18
+ responsive: "Responsive Resize",
19
+ custom: "Specific Resize",
20
+ autoClose: "Automatically Close Dialog after Code is Embeded",
21
+ noVimeo: "The owner of this video has set domain restrictions and you will not be able to embed it on your website.",
22
+ Error: "Media Content could not been retrieved, please try a different URL."
23
+ });
@@ -0,0 +1,25 @@
1
+ // French Translation by https://github.com/wissim
2
+
3
+ CKEDITOR.plugins.setLang('oembed', 'fr', {
4
+ title : "Intégrer des contenus multimédia externes. (Photo, Video, Audio, ...)",
5
+ button : "Insérer des contenus multimédia provenant de nombreux sites.",
6
+ pasteUrl : "Coller l'URL de partage que vous voulez publier. De nombreux services sont pris en charge tels que : (YouTube, Flickr, Qik, Vimeo, Hulu, Viddler, MyOpera, etc.). Vous pouvez aussi utiliser les URLs courtes.",
7
+ invalidUrl : "Merci de fournir une URL valide !",
8
+ noEmbedCode : "Aucun code d'intégration trouvé ou le site n'est pas supporté !",
9
+ url : "URL:",
10
+ width: "Largeur:",
11
+ height: "Hauteur:",
12
+ widthTitle: "Largeur du conteneur.",
13
+ heightTitle: "Hauteur du conteneur.",
14
+ maxWidth: "Max. Largeur:",
15
+ maxHeight: "Max. Hauteur:",
16
+ maxWidthTitle: "Largeur maximale du conteneur.",
17
+ maxHeightTitle: "Hauteur maximale du conteneur.",
18
+ resizeType: "Resize Type (Only Video's):",
19
+ noresize: "No Resize (use default)",
20
+ responsive: "Responsive Resize",
21
+ custom: "Specific Resize",
22
+ autoClose: "Automatically Close Dialog after Code is Embeded",
23
+ noVimeo: "The owner of this video has set domain restrictions and you will not be able to embed it on your website.",
24
+ Error: "Media Content could not been retrieved, please try a different URL."
25
+ });
@@ -0,0 +1,23 @@
1
+ CKEDITOR.plugins.setLang('oembed', 'nl', {
2
+ title : "Integratie van media-inhoud (foto's, video, content)",
3
+ button : "Media-inhoud van externe websites",
4
+ pasteUrl : "Geef een URL van een pagina in dat ondersteund wordt (Bijv.: YouTube, Flickr, Qik, Vimeo, Hulu, Viddler, MyOpera, etc.) ...",
5
+ invalidUrl : "Please provide an valid URL!",
6
+ noEmbedCode : "No embed code found, or site is not supported!",
7
+ url : "URL:",
8
+ width: "Breedte:",
9
+ height: "Hoogte:",
10
+ widthTitle: "Width for the embeded Content",
11
+ heightTitle: "Height for the embeded Content",
12
+ maxWidth: "Maximale breedte:",
13
+ maxHeight: "Maximale hoogte:",
14
+ maxWidthTitle: "Maximum Width for the embeded Content",
15
+ maxHeightTitle: "Maximum Height for the embeded Content",
16
+ resizeType: "Resize Type (Only Video's):",
17
+ noresize: "No Resize (use default)",
18
+ responsive: "Responsive Resize",
19
+ custom: "Specific Resize",
20
+ autoClose: "Automatically Close Dialog after Code is Embeded",
21
+ noVimeo: "The owner of this video has set domain restrictions and you will not be able to embed it on your website.",
22
+ Error: "Media Content could not been retrieved, please try a different URL."
23
+ });
@@ -0,0 +1,23 @@
1
+ CKEDITOR.plugins.setLang('oembed', 'pl', {
2
+ title: "Osadzanie multimediów (zdjęć, filmów, dźwięku, bogatych treści)",
3
+ button: "Osadzanie multimediów z witryn zewnętrznych",
4
+ pasteUrl: "Wklej tutaj adres URL (adresy skrócone są również obsługiwane) z jednej z obsługiwanych stron (YouTube, Flickr, Qik, Vimeo, Hulu, Viddler, MyOpera, itp.).",
5
+ invalidUrl: "Proszę wprowadzić prawidłowy adres URL!",
6
+ noEmbedCode: "Odnośnik nieprawidłowy lub nieobsługiwany!",
7
+ url: "URL:",
8
+ width: "szerokość:",
9
+ height: "wysokość:",
10
+ widthTitle: "Szerokość osadzanej zawartości",
11
+ heightTitle: "Wysokość osadzanej zawartości",
12
+ maxWidth: "Maks. szerokość:",
13
+ maxHeight: "Maks. wysokość:",
14
+ maxWidthTitle: "Maksymalna szerokość osadzanej zawartości",
15
+ maxHeightTitle: "Maksymalna wysokość osadzanej zawartości",
16
+ resizeType: "Typ zmiany rozmiaru (tylko nagrania wideo):",
17
+ noresize: "Bez zmiany rozmiaru (domyślne)",
18
+ responsive: "Responsywna zmiana rozmiaru",
19
+ custom: "Narzucona zmiana rozmiaru",
20
+ autoClose: "Zamykaj okno dialogowe automatycznie po osadzeniu kodu",
21
+ noVimeo: "Właściciel nagrania wideo nałożył ograniczenia domenowe, nagrania nie można osadzić w witrynie.",
22
+ Error: "Nie można uzyskać zawartości multimedialnej, proszę spróbować inny adres URL."
23
+ });
@@ -0,0 +1,23 @@
1
+ CKEDITOR.plugins.setLang('oembed', 'pt-br', {
2
+ title: "Conteúdo embed de mídia (foto, vídeo, audio, rich)",
3
+ button: "Conteúdo embed de mídia de vários sites",
4
+ pasteUrl: "Cole aqui a URL (inclusive URLs encurtadas) de um dos sites que o plugin suporta (ex. YouTube, Flickr, Qik, Vimeo, Hulu, Viddler, MyOpera, etc.) ...",
5
+ invalidUrl: "Por favor informe uma URL válida!",
6
+ noEmbedCode: "Nenhum código embed foi encontrado, ou esse site não está na lista dos sites suportados pelo plugin!",
7
+ url: "URL:",
8
+ width: "Largura:",
9
+ height: "Altura:",
10
+ widthTitle: "Largura do conteúdo embebed",
11
+ heightTitle: "Altura do conteúdo embeded",
12
+ maxWidth: "Largura máx.:",
13
+ maxHeight: "Altura máx.:",
14
+ maxWidthTitle: "Largura máxima do conteúdo embeded",
15
+ maxHeightTitle: "Altura máxima do conteúdo embeded",
16
+ resizeType: "Tipo de redimensionamento (Somente para video):",
17
+ noresize: "Sem redimensionamento (default)",
18
+ responsive: "Redimensionamento responsivo",
19
+ custom: "Redimensionamento específico",
20
+ autoClose: "Fechas automaticamente a caixa de diálogo o código ser embeded",
21
+ noVimeo: "O dono desse vídeo tem restrições de domínio a você não poderá utilizá-lo em seu site.",
22
+ Error: "Esse conteúdo de mídia não foi encontrado, por favor tente uma URL diferente."
23
+ });
@@ -0,0 +1,23 @@
1
+ CKEDITOR.plugins.setLang('oembed', 'ru', {
2
+ title: "Внедрить медиа-контент (видео, аудио, фото и т.д.)",
3
+ button: "Внедрить медиа-контент с различных сайтов",
4
+ pasteUrl: "Вставьте ссылку на страницу с медиа-контентом (например YouTube, Flickr, Qik, Vimeo, Hulu, Viddler, MyOpera, и т.д.)",
5
+ invalidUrl: "Вы ввели некорректный URL",
6
+ noEmbedCode: "Не обнаружен код для вставки. Возможно, вы ввели ссылку с неподдерживаемого сайта.",
7
+ url: "URL:",
8
+ width: "Ширина:",
9
+ height: "Высота:",
10
+ widthTitle: "Ширина внедряемого медиа-контента",
11
+ heightTitle: "Высота внедряемого медиа-контента",
12
+ maxWidth: "Макс. ширина:",
13
+ maxHeight: "Макс. высота:",
14
+ maxWidthTitle: "Максимальная ширина внедряемого медиа-контента",
15
+ maxHeightTitle: "Максимальная высота внедряемого медиа-контента",
16
+ resizeType: "Изменение размера (только для видео):",
17
+ noresize: "Без изменения (стандартный размер)",
18
+ responsive: "Задать максимальный размер",
19
+ custom: "Задать конкретный размер",
20
+ autoClose: "Автоматически закрыть диалог после внедрения кода",
21
+ noVimeo: "Владелец этого видео установил ограничения на домен, и вы не можете его встроить на ваш сайт.",
22
+ Error: "Невозможно получить медиа-контент. Попробуйте другой URL."
23
+ });
@@ -0,0 +1,23 @@
1
+ CKEDITOR.plugins.setLang('oembed', 'tr', {
2
+ title: "Medya içeriği ekle (Fotoğraf, Video, Ses Dosyası, Zengin Medya İçeriği)",
3
+ button: "Farklı sitelerden medya içeriği ekle",
4
+ pasteUrl: "Desteklenen sitelerden bir URL ekleyin (Kısaltılmış URL de olabilir) (örnek: YouTube, Flickr, Qik, Vimeo, Hulu, Viddler, MyOpera, etc.)...",
5
+ invalidUrl: "Lütfen geçerli bir URL adresi tanımlayın!",
6
+ noEmbedCode: "Embed kodu bulunamadı veya site desteklenmiyor!",
7
+ url: "URL:",
8
+ width: "Genişlik:",
9
+ height: "Yükseklik:",
10
+ widthTitle: "Eklenecek içerik için genişlik",
11
+ heightTitle: "Eklenecek içerik için yükseklik",
12
+ maxWidth: "Max. genişlik:",
13
+ maxHeight: "Max. yükseklik:",
14
+ maxWidthTitle: "Eklenecek içerik için max. genişlik",
15
+ maxHeightTitle: "Eklenecek içerik için max. yükseklik",
16
+ resizeType: "Boyutlandır (sadece videolarda geçerli):",
17
+ noresize: "Boyutlandırma yapma (default kullan)",
18
+ responsive: "Esnek (Responsive) boyutlandırma",
19
+ custom: "Özel boyutlandırma",
20
+ autoClose: "Kod eklendikten sonra pencereyi kapat",
21
+ noVimeo: "Bu videonun sahibi alan adı kısıtlaması ayarlamış, web sitenizde bu video çalışmayacaktır.",
22
+ Error: "Medya içeriği alınamadı, farklı bir URL deneyin."
23
+ });
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * jquery oembed plugin
3
+ *
4
+ * Copyright (c) 2009 Richard Chamorro
5
+ * Licensed under the MIT license
6
+ *
7
+ * Orignal Author: Richard Chamorro
8
+ * Forked by Andrew Mee to Provide a slightly diffent kind of embedding
9
+ * experience
10
+ */
11
+ (function(n){function r(){var n=window.location.protocol;return n==="file:"?"http://":"//"}function f(n,t){return t=t?t:"",n?f(--n,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".charAt(Math.floor(Math.random()*60))+t):t}function s(n,t){var i=n.apiendpoint,u="",r;i+=i.indexOf("?")<=0?"?":"&",i=i.replace("#","%23"),n.maxWidth!==null&&(typeof n.params.maxwidth=="undefined"||n.params.maxwidth===null)&&(n.params.maxwidth=n.maxWidth),n.maxHeight!==null&&(typeof n.params.maxheight=="undefined"||n.params.maxheight===null)&&(n.params.maxheight=n.maxHeight);for(r in n.params)r!=n.callbackparameter&&n.params[r]!==null&&(u+="&"+escape(r)+"="+n.params[r]);return i+="format="+n.format+"&url="+escape(t)+u,n.dataType!="json"&&(i+="&"+n.callbackparameter+"=?"),i}function u(i,r,u){n("#jqoembeddata").data(r,i.code),t.beforeEmbed.call(u,i),t.onEmbed.call(u,i),t.afterEmbed.call(u,i)}function e(i,e,o){var p,l,tt,a;if(n("#jqoembeddata").data(e)!=undefined&&o.embedtag.tag!="iframe")l={code:n("#jqoembeddata").data(e)},u(l,e,i);else if(o.yql){var w=o.yql.from||"htmlstring",g=o.yql.url?o.yql.url(e):e,nt="SELECT * FROM "+w+' WHERE url="'+g+'" and '+(/html/.test(w)?"xpath":"itemPath")+"='"+(o.yql.xpath||"/")+"'";w=="html"&&(nt+=" and compat='html5'"),a=n.extend({url:r()+"query.yahooapis.com/v1/public/yql",dataType:"jsonp",data:{q:nt,format:"json",env:"store://datatables.org/alltableswithkeys",callback:"?"},success:function(t){var s,f,c,r,h,l;if(o.yql.xpath&&o.yql.xpath=="//meta|//title|//link"){for(f={},t.query.results==null&&(t.query.results={meta:[]}),r=0,h=t.query.results.meta.length;r<h;r++)(c=t.query.results.meta[r].name||t.query.results.meta[r].property||null,c!=null)&&(f[c.toLowerCase()]=t.query.results.meta[r].content);if(f.hasOwnProperty("title")&&f.hasOwnProperty("og:title")||t.query.results.title!=null&&(f.title=t.query.results.title),!f.hasOwnProperty("og:image")&&t.query.results.hasOwnProperty("link"))for(r=0,h=t.query.results.link.length;r<h;r++)t.query.results.link[r].hasOwnProperty("rel")&&t.query.results.link[r].rel=="apple-touch-icon"&&(f["og:image"]=t.query.results.link[r].href.charAt(0)=="/"?g.match(/^(([a-z]+:)?(\/\/)?[^\/]+\/).*$/)[1]+t.query.results.link[r].href:t.query.results.link[r].href);s=o.yql.datareturn(f)}else s=o.yql.datareturn?o.yql.datareturn(t.query.results):t.query.results.result;s!==!1&&(l=n.extend({},s),l.code=s,u(l,e,i))},error:function(){t.onError.call(i,e,o)}},t.ajaxOptions||{}),n.ajax(a)}else if(o.templateRegex)if(o.embedtag.tag!==""){var it=o.embedtag.flashvars||"",b=o.embedtag.tag||"embed",h=o.embedtag.width||"auto",rt=o.embedtag.nocache||0,c=o.embedtag.height||"auto",y=e.replace(o.templateRegex,o.apiendpoint);if(o.nocache||(y+="&jqoemcache="+f(5)),o.apikey&&(y=y.replace("_APIKEY_",t.apikeys[o.name])),t.maxHeight&&t.maxWidth)if(t.useResponsiveResize){var v=0,k=h,d=c;h>t.maxWidth&&(v=t.maxWidth/h,k=t.maxWidth,d=c*v,c=c*v,h=h*v),c>t.maxHeight&&(v=t.maxHeight/c,d=t.maxHeight,k=h*v,h=h*v),c=d,h=k}else c=t.maxHeight,h=t.maxWidth;p=n("<"+b+"/>").attr("src",y).attr("width",h).attr("height",c).attr("allowfullscreen",o.embedtag.allowfullscreen||"true").attr("allowscriptaccess",o.embedtag.allowfullscreen||"always").css("max-height",t.maxHeight||"auto").css("max-width",t.maxWidth||"auto"),b=="embed"&&p.attr("type",o.embedtag.type||"application/x-shockwave-flash").attr("flashvars",e.replace(o.templateRegex,it)),b=="iframe"&&p.attr("scrolling",o.embedtag.scrolling||"no").attr("frameborder",o.embedtag.frameborder||"0"),l={code:p},u(l,e,i)}else o.apiendpoint?(o.apikey&&(o.apiendpoint=o.apiendpoint.replace("_APIKEY_",t.apikeys[o.name])),a=n.extend({url:e.replace(o.templateRegex,o.apiendpoint),dataType:"jsonp",success:function(t){var r=n.extend({},t);r.code=o.templateData(t),u(r,e,i)},error:function(){t.onError.call(i,e,o)}},t.ajaxOptions||{}),n.ajax(a)):(l={code:e.replace(o.templateRegex,o.template)},u(l,e,i));else tt=s(o,e),a=n.extend({url:tt,dataType:o.dataType||"jsonp",success:function(t){var r=n.extend({},t);switch(r.type){case"file":case"photo":r.code=n.fn.oembed.getPhotoCode(e,r);break;case"video":case"rich":r.code=n.fn.oembed.getRichCode(e,r);break;default:r.code=n.fn.oembed.getGenericCode(e,r)}u(r,e,i)},error:function(){t.onError.call(i,e,o)}},t.ajaxOptions||{}),n.ajax(a)}function o(n){if(n===null)return null;var t,i={};for(t in n)t!==null&&(i[t.toLowerCase()]=n[t]);return i}n.fn.oembed=function(i,r,u){t=n.extend(!0,n.fn.oembed.defaults,r);var f=["0rz.tw","1link.in","1url.com","2.gp","2big.at","2tu.us","3.ly","307.to","4ms.me","4sq.com","4url.cc","6url.com","7.ly","a.gg","a.nf","aa.cx","abcurl.net","ad.vu","adf.ly","adjix.com","afx.cc","all.fuseurl.com","alturl.com","amzn.to","ar.gy","arst.ch","atu.ca","azc.cc","b23.ru","b2l.me","bacn.me","bcool.bz","binged.it","bit.ly","bizj.us","bloat.me","bravo.ly","bsa.ly","budurl.com","canurl.com","chilp.it","chzb.gr","cl.lk","cl.ly","clck.ru","cli.gs","cliccami.info","clickthru.ca","clop.in","conta.cc","cort.as","cot.ag","crks.me","ctvr.us","cutt.us","dai.ly","decenturl.com","dfl8.me","digbig.com","http://digg.com/[^/]+$","disq.us","dld.bz","dlvr.it","do.my","doiop.com","dopen.us","easyuri.com","easyurl.net","eepurl.com","eweri.com","fa.by","fav.me","fb.me","fbshare.me","ff.im","fff.to","fire.to","firsturl.de","firsturl.net","flic.kr","flq.us","fly2.ws","fon.gs","freak.to","fuseurl.com","fuzzy.to","fwd4.me","fwib.net","g.ro.lt","gizmo.do","gl.am","go.9nl.com","go.ign.com","go.usa.gov","goo.gl","goshrink.com","gurl.es","hex.io","hiderefer.com","hmm.ph","href.in","hsblinks.com","htxt.it","huff.to","hulu.com","hurl.me","hurl.ws","icanhaz.com","idek.net","ilix.in","is.gd","its.my","ix.lt","j.mp","jijr.com","kl.am","klck.me","korta.nu","krunchd.com","l9k.net","lat.ms","liip.to","liltext.com","linkbee.com","linkbun.ch","liurl.cn","ln-s.net","ln-s.ru","lnk.gd","lnk.ms","lnkd.in","lnkurl.com","lru.jp","lt.tl","lurl.no","macte.ch","mash.to","merky.de","migre.me","miniurl.com","minurl.fr","mke.me","moby.to","moourl.com","mrte.ch","myloc.me","myurl.in","n.pr","nbc.co","nblo.gs","nn.nf","not.my","notlong.com","nsfw.in","nutshellurl.com","nxy.in","nyti.ms","o-x.fr","oc1.us","om.ly","omf.gd","omoikane.net","on.cnn.com","on.mktw.net","onforb.es","orz.se","ow.ly","ping.fm","pli.gs","pnt.me","politi.co","post.ly","pp.gg","profile.to","ptiturl.com","pub.vitrue.com","qlnk.net","qte.me","qu.tc","qy.fi","r.ebay.com","r.im","rb6.me","read.bi","readthis.ca","reallytinyurl.com","redir.ec","redirects.ca","redirx.com","retwt.me","ri.ms","rickroll.it","riz.gd","rt.nu","ru.ly","rubyurl.com","rurl.org","rww.tw","s4c.in","s7y.us","safe.mn","sameurl.com","sdut.us","shar.es","shink.de","shorl.com","short.ie","short.to","shortlinks.co.uk","shorturl.com","shout.to","show.my","shrinkify.com","shrinkr.com","shrt.fr","shrt.st","shrten.com","shrunkin.com","simurl.com","slate.me","smallr.com","smsh.me","smurl.name","sn.im","snipr.com","snipurl.com","snurl.com","sp2.ro","spedr.com","srnk.net","srs.li","starturl.com","stks.co","su.pr","surl.co.uk","surl.hu","t.cn","t.co","t.lh.com","ta.gd","tbd.ly","tcrn.ch","tgr.me","tgr.ph","tighturl.com","tiniuri.com","tiny.cc","tiny.ly","tiny.pl","tinylink.in","tinyuri.ca","tinyurl.com","tk.","tl.gd","tmi.me","tnij.org","tnw.to","tny.com","to.ly","togoto.us","totc.us","toysr.us","tpm.ly","tr.im","tra.kz","trunc.it","twhub.com","twirl.at","twitclicks.com","twitterurl.net","twitterurl.org","twiturl.de","twurl.cc","twurl.nl","u.mavrev.com","u.nu","u76.org","ub0.cc","ulu.lu","updating.me","ur1.ca","url.az","url.co.uk","url.ie","url360.me","url4.eu","urlborg.com","urlbrief.com","urlcover.com","urlcut.com","urlenco.de","urli.nl","urls.im","urlshorteningservicefortwitter.com","urlx.ie","urlzen.com","usat.ly","use.my","vb.ly","vevo.ly","vgn.am","vl.am","vm.lc","w55.de","wapo.st","wapurl.co.uk","wipi.es","wp.me","x.vu","xr.com","xrl.in","xrl.us","xurl.es","xurl.jp","y.ahoo.it","yatuc.com","ye.pe","yep.it","yfrog.com","yhoo.it","yiyd.com","youtu.be","yuarel.com","z0p.de","zi.ma","zi.mu","zipmyurl.com","zud.me","zurl.ws","zz.gd","zzang.kr","›.ws","✩.ws","✿.ws","❥.ws","➔.ws","➞.ws","➡.ws","➨.ws","➯.ws","➹.ws","➽.ws"];return n("#jqoembeddata").length===0&&n('<span id="jqoembeddata"><\/span>').appendTo("body"),this.each(function(){var h=n(this),s=i&&(!i.indexOf("http://")||!i.indexOf("https://"))?i:h.attr("href"),r,c,l,a,v;if(u?t.onEmbed=u:t.onEmbed||(t.onEmbed=function(i){n.fn.oembed.insertCode(this,t.embedMethod,i)}),s!==null&&s!==undefined){for(c=0,l=f.length;c<l;c++)if(a=new RegExp("://"+f[c]+"/","i"),s.match(a)!==null)return v=n.extend({url:"http://api.longurl.org/v2/expand",dataType:"jsonp",data:{url:s,format:"json"},success:function(i){s=i["long-url"],r=n.fn.oembed.getOEmbedProvider(i["long-url"]),r!==null?(r.params=o(t[r.name])||{},r.maxWidth=t.maxWidth,r.maxHeight=t.maxHeight,e(h,s,r)):t.onProviderNotFound.call(h,s)}},t.ajaxOptions||{}),n.ajax(v),h;r=n.fn.oembed.getOEmbedProvider(s),r!==null?(r.params=o(t[r.name])||{},r.maxWidth=t.maxWidth,r.maxHeight=t.maxHeight,e(h,s,r)):t.onProviderNotFound.call(h,s)}return h})};var t;n.fn.oembed.defaults={maxWidth:null,maxHeight:null,useResponsiveResize:!1,includeHandle:!0,embedMethod:"auto",onProviderNotFound:function(){},beforeEmbed:function(){},afterEmbed:function(){},onEmbed:!1,onError:function(){},ajaxOptions:{timeout:2e3}},n.fn.oembed.insertCode=function(i,r,u){if(u!==null){r=="auto"&&i.attr("href")!==null?r="append":r=="auto"&&(r="replace");switch(r){case"replace":i.replaceWith(u.code);break;case"fill":i.html(u.code);break;case"append":i.wrap('<div class="oembedall-container"><\/div>');var f=i.parent();t.includeHandle&&n('<span class="oembedall-closehide">&darr;<\/span>').insertBefore(i).click(function(){var t=encodeURIComponent(n(this).text());n(this).html(t=="%E2%86%91"?"&darr;":"&uarr;"),n(this).parent().children().last().toggle()}),f.append("<br/>");try{u.code.clone().appendTo(f)}catch(e){f.append(u.code)}}}},n.fn.oembed.getPhotoCode=function(n,t){var i,r=t.title?t.title:"",u;return r+=t.author_name?" - "+t.author_name:"",r+=t.provider_name?" - "+t.provider_name:"",t.url?i='<div><a href="'+n+"\" target='_blank'><img src=\""+t.url+'" alt="'+r+'"/><\/a><\/div>':t.thumbnail_url?(u=t.thumbnail_url.replace("_s","_b"),i='<div><a href="'+n+"\" target='_blank'><img src=\""+u+'" alt="'+r+'"/><\/a><\/div>'):i="<div>Error loading this picture<\/div>",t.html&&(i+="<div>"+t.html+"<\/div>"),i},n.fn.oembed.getRichCode=function(n,t){return t.html},n.fn.oembed.getGenericCode=function(n,t){var r=t.title!==null?t.title:n,i='<a href="'+n+'">'+r+"<\/a>";return t.html&&(i+="<div>"+t.html+"<\/div>"),i},n.fn.oembed.getOEmbedProvider=function(t){for(var r,u,f,i=0;i<n.fn.oembed.providers.length;i++)for(r=0,u=n.fn.oembed.providers[i].urlschemes.length;r<u;r++)if(f=new RegExp(n.fn.oembed.providers[i].urlschemes[r],"i"),t.match(f)!==null)return n.fn.oembed.providers[i];return null},n.fn.oembed.OEmbedProvider=function(i,r,u,f,e){this.name=i,this.type=r,this.urlschemes=u,this.apiendpoint=f,this.maxWidth=500,this.maxHeight=400,e=e||{},e.useYQL&&(e.yql=e.useYQL=="xml"?{xpath:"//oembed/html",from:"xml",apiendpoint:this.apiendpoint,url:function(n){return this.apiendpoint+"?format=xml&url="+n},datareturn:function(n){return n.html.replace(/.*\[CDATA\[(.*)\]\]>$/,"$1")||""}}:{from:"json",apiendpoint:this.apiendpoint,url:function(n){return this.apiendpoint+"?format=json&url="+n},datareturn:function(i){var f,o,s;if(i.json.type!="video"&&(i.json.url||i.json.thumbnail_url))return'<img src="'+(i.json.url||i.json.thumbnail_url)+'" />';if(i.json.html.indexOf("iframe")){i.json.html.indexOf("allowfullscreen>")&&(i.json.html=i.json.html.replace("allowfullscreen>",'allowfullscreen="false">'));var e=n.parseHTML(i.json.html),r=e[0].width,u=e[0].height;return t.maxHeight&&t.maxWidth&&(t.useResponsiveResize?(o=r,s=u,r>t.maxWidth&&(f=t.maxWidth/r,o=t.maxWidth,s=u*f,u=u*f,r=r*f),u>t.maxHeight&&(f=t.maxHeight/u,s=t.maxHeight,o=r*f),u=s,r=o):(u=t.maxHeight,r=t.maxWidth)),e[0].width=r,e[0].height=u,e[0].outerHTML}return i.json.html||""}},this.apiendpoint=null);for(var o in e)this[o]=e[o];this.format=this.format||"json",this.callbackparameter=this.callbackparameter||"callback",this.embedtag=this.embedtag||{tag:""}},n.fn.updateOEmbedProvider=function(t,i,r,u,f){for(var o,e=0;e<n.fn.oembed.providers.length;e++)if(n.fn.oembed.providers[e].name===t&&(i!==null&&(n.fn.oembed.providers[e].type=i),r!==null&&(n.fn.oembed.providers[e].urlschemes=r),u!==null&&(n.fn.oembed.providers[e].apiendpoint=u),f!==null)){n.fn.oembed.providers[e].extraSettings=f;for(o in f)f[o]!==null&&(n.fn.oembed.providers[e][o]=f[o])}},n.fn.oembed.providers=[new n.fn.oembed.OEmbedProvider("youtube","video",["youtube\\.com/watch.+v=[\\w-]+&?","youtu\\.be/[\\w-]+","youtube.com/embed"],r()+"www.youtube.com/embed/$1?wmode=transparent",{templateRegex:/.*(?:v\=|be\/|embed\/)([\w\-]+)&?.*/,embedtag:{tag:"iframe",width:"425",height:"349"}}),new n.fn.oembed.OEmbedProvider("youtubeiframe","video",["youtube.com/embed"],"$1?wmode=transparent",{templateRegex:/(.*)/,embedtag:{tag:"iframe",width:"425",height:"349"}}),new n.fn.oembed.OEmbedProvider("wistia","video",["wistia.com/m/.+","wistia.com/embed/.+","wi.st/m/.+","wi.st/embed/.+"],"http://fast.wistia.com/oembed",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("xtranormal","video",["xtranormal\\.com/watch/.+"],"http://www.xtranormal.com/xtraplayr/$1/$2",{templateRegex:/.*com\/watch\/([\w\-]+)\/([\w\-]+).*/,embedtag:{tag:"iframe",width:"320",height:"269"}}),new n.fn.oembed.OEmbedProvider("scivee","video",["scivee.tv/node/.+"],"http://www.scivee.tv/flash/embedCast.swf?",{templateRegex:/.*tv\/node\/(.+)/,embedtag:{width:"480",height:"400",flashvars:"id=$1&type=3"}}),new n.fn.oembed.OEmbedProvider("veoh","video",["veoh.com/watch/.+"],"http://www.veoh.com/swf/webplayer/WebPlayer.swf?version=AFrontend.5.7.0.1337&permalinkId=$1&player=videodetailsembedded&videoAutoPlay=0&id=anonymous",{templateRegex:/.*watch\/([^\?]+).*/,embedtag:{width:"410",height:"341"}}),new n.fn.oembed.OEmbedProvider("gametrailers","video",["gametrailers\\.com/video/.+"],"http://media.mtvnservices.com/mgid:moses:video:gametrailers.com:$2",{templateRegex:/.*com\/video\/([\w\-]+)\/([\w\-]+).*/,embedtag:{width:"512",height:"288"}}),new n.fn.oembed.OEmbedProvider("funnyordie","video",["funnyordie\\.com/videos/.+"],"http://player.ordienetworks.com/flash/fodplayer.swf?",{templateRegex:/.*videos\/([^\/]+)\/([^\/]+)?/,embedtag:{width:512,height:328,flashvars:"key=$1"}}),new n.fn.oembed.OEmbedProvider("colledgehumour","video",["collegehumor\\.com/video/.+"],"http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id=$1&use_node_id=true&fullscreen=1",{templateRegex:/.*video\/([^\/]+).*/,embedtag:{width:600,height:338}}),new n.fn.oembed.OEmbedProvider("metacafe","video",["metacafe\\.com/watch/.+"],"http://www.metacafe.com/fplayer/$1/$2.swf",{templateRegex:/.*watch\/(\d+)\/(\w+)\/.*/,embedtag:{width:400,height:345}}),new n.fn.oembed.OEmbedProvider("bambuser","video",["bambuser\\.com/channel/.*/broadcast/.*"],"http://static.bambuser.com/r/player.swf?vid=$1",{templateRegex:/.*bambuser\.com\/channel\/.*\/broadcast\/(\w+).*/,embedtag:{width:512,height:339}}),new n.fn.oembed.OEmbedProvider("twitvid","video",["twitvid\\.com/.+"],"http://www.twitvid.com/embed.php?guid=$1&autoplay=0",{templateRegex:/.*twitvid\.com\/(\w+).*/,embedtag:{tag:"iframe",width:480,height:360}}),new n.fn.oembed.OEmbedProvider("aniboom","video",["aniboom\\.com/animation-video/.+"],"http://api.aniboom.com/e/$1",{templateRegex:/.*animation-video\/(\d+).*/,embedtag:{width:594,height:334}}),new n.fn.oembed.OEmbedProvider("vzaar","video",["vzaar\\.com/videos/.+","vzaar.tv/.+"],"http://view.vzaar.com/$1/player?",{templateRegex:/.*\/(\d+).*/,embedtag:{tag:"iframe",width:576,height:324}}),new n.fn.oembed.OEmbedProvider("snotr","video",["snotr\\.com/video/.+"],"http://www.snotr.com/embed/$1",{templateRegex:/.*\/(\d+).*/,embedtag:{tag:"iframe",width:400,height:330,nocache:1}}),new n.fn.oembed.OEmbedProvider("youku","video",["v.youku.com/v_show/id_.+"],"http://player.youku.com/player.php/sid/$1/v.swf",{templateRegex:/.*id_(.+)\.html.*/,embedtag:{width:480,height:400,nocache:1}}),new n.fn.oembed.OEmbedProvider("tudou","video",["tudou.com/programs/view/.+/"],"http://www.tudou.com/v/$1/v.swf",{templateRegex:/.*view\/(.+)\//,embedtag:{width:480,height:400,nocache:1}}),new n.fn.oembed.OEmbedProvider("embedr","video",["embedr\\.com/playlist/.+"],"http://embedr.com/swf/slider/$1/425/520/default/false/std?",{templateRegex:/.*playlist\/([^\/]+).*/,embedtag:{width:425,height:520}}),new n.fn.oembed.OEmbedProvider("blip","video",["blip\\.tv/.+"],"http://blip.tv/oembed/"),new n.fn.oembed.OEmbedProvider("minoto-video","video",["http://api.minoto-video.com/publishers/.+/videos/.+","http://dashboard.minoto-video.com/main/video/details/.+","http://embed.minoto-video.com/.+"],"http://api.minoto-video.com/services/oembed.json",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("animoto","video",["animoto.com/play/.+"],"http://animoto.com/services/oembed"),new n.fn.oembed.OEmbedProvider("hulu","video",["hulu\\.com/watch/.*"],"http://www.hulu.com/api/oembed.json"),new n.fn.oembed.OEmbedProvider("ustream","video",["ustream\\.tv/recorded/.*"],"http://www.ustream.tv/oembed",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("videojug","video",["videojug\\.com/(film|payer|interview).*"],"http://www.videojug.com/oembed.json",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("sapo","video",["videos\\.sapo\\.pt/.*"],"http://videos.sapo.pt/oembed",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("vodpod","video",["vodpod.com/watch/.*"],"http://vodpod.com/oembed.js",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("vimeo","video",["www.vimeo.com/groups/.*/videos/.*","www.vimeo.com/.*","vimeo.com/groups/.*/videos/.*","vimeo.com/.*"],"//vimeo.com/api/oembed.json"),new n.fn.oembed.OEmbedProvider("dailymotion","video",["dailymotion\\.com/.+"],"http://www.dailymotion.com/services/oembed"),new n.fn.oembed.OEmbedProvider("5min","video",["www\\.5min\\.com/.+"],"http://api.5min.com/oembed.xml",{useYQL:"xml"}),new n.fn.oembed.OEmbedProvider("National Film Board of Canada","video",["nfb\\.ca/film/.+"],"http://www.nfb.ca/remote/services/oembed/",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("qik","video",["qik\\.com/\\w+"],"http://qik.com/api/oembed.json",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("revision3","video",["revision3\\.com"],"http://revision3.com/api/oembed/"),new n.fn.oembed.OEmbedProvider("dotsub","video",["dotsub\\.com/view/.+"],"http://dotsub.com/services/oembed",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("clikthrough","video",["clikthrough\\.com/theater/video/\\d+"],"http://clikthrough.com/services/oembed"),new n.fn.oembed.OEmbedProvider("Kinomap","video",["kinomap\\.com/.+"],"http://www.kinomap.com/oembed"),new n.fn.oembed.OEmbedProvider("VHX","video",["vhx.tv/.+"],"http://vhx.tv/services/oembed.json"),new n.fn.oembed.OEmbedProvider("bambuser","video",["bambuser.com/.+"],"http://api.bambuser.com/oembed/iframe.json"),new n.fn.oembed.OEmbedProvider("justin.tv","video",["justin.tv/.+"],"http://api.justin.tv/api/embed/from_url.json",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("official.fm","rich",["official.fm/.+"],"http://official.fm/services/oembed",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("chirbit","rich",["chirb.it/.+"],"http://chirb.it/oembed.json",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("Huffduffer","rich",["huffduffer.com/[-.\\w@]+/\\d+"],"http://huffduffer.com/oembed"),new n.fn.oembed.OEmbedProvider("Spotify","rich",["open.spotify.com/(track|album|user)/"],"https://embed.spotify.com/oembed/"),new n.fn.oembed.OEmbedProvider("shoudio","rich",["shoudio.com/.+","shoud.io/.+"],"http://shoudio.com/api/oembed"),new n.fn.oembed.OEmbedProvider("mixcloud","rich",["mixcloud.com/.+"],r()+"www.mixcloud.com/oembed/",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("rdio.com","rich",["rd.io/.+","rdio.com"],r()+"www.rdio.com/api/oembed/"),new n.fn.oembed.OEmbedProvider("Soundcloud","rich",["soundcloud.com/.+","snd.sc/.+"],r()+"soundcloud.com/oembed",{format:"js"}),new n.fn.oembed.OEmbedProvider("bandcamp","rich",["bandcamp\\.com/album/.+"],null,{yql:{xpath:"//meta[contains(@content, \\'EmbeddedPlayer\\')]",from:"html",datareturn:function(n){return n.meta?'<iframe width="400" height="100" src="'+n.meta.content+'" allowtransparency="true" frameborder="0"><\/iframe>':!1}}}),new n.fn.oembed.OEmbedProvider("deviantart","photo",["deviantart.com/.+","fav.me/.+","deviantart.com/.+"],"http://backend.deviantart.com/oembed",{format:"jsonp"}),new n.fn.oembed.OEmbedProvider("skitch","photo",["skitch.com/.+"],null,{yql:{xpath:"json",from:"json",url:function(n){return"http://skitch.com/oembed/?format=json&url="+n},datareturn:function(t){return n.fn.oembed.getPhotoCode(t.json.url,t.json)}}}),new n.fn.oembed.OEmbedProvider("mobypicture","photo",["mobypicture.com/user/.+/view/.+","moby.to/.+"],"http://api.mobypicture.com/oEmbed"),new n.fn.oembed.OEmbedProvider("flickr","photo",["flickr\\.com/photos/.+"],"http://flickr.com/services/oembed",{callbackparameter:"jsoncallback"}),new n.fn.oembed.OEmbedProvider("photobucket","photo",["photobucket\\.com/(albums|groups)/.+"],r()+"photobucket.com/oembed/"),new n.fn.oembed.OEmbedProvider("instagram","photo",["instagr\\.?am(\\.com)?/.+"],r()+"api.instagram.com/oembed"),new n.fn.oembed.OEmbedProvider("SmugMug","photo",["smugmug.com/[-.\\w@]+/.+"],"http://api.smugmug.com/services/oembed/"),new n.fn.oembed.OEmbedProvider("dribbble","photo",["dribbble.com/shots/.+"],"http://api.dribbble.com/shots/$1?callback=?",{templateRegex:/.*shots\/([\d]+).*/,templateData:function(n){return n.image_teaser_url?'<img src="'+n.image_teaser_url+'"/>':!1}}),new n.fn.oembed.OEmbedProvider("chart.ly","photo",["chart\\.ly/[a-z0-9]{6,8}"],"http://chart.ly/uploads/large_$1.png",{templateRegex:/.*ly\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new n.fn.oembed.OEmbedProvider("circuitlab","photo",["circuitlab.com/circuit/.+"],"https://www.circuitlab.com/circuit/$1/screenshot/540x405/",{templateRegex:/.*circuit\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new n.fn.oembed.OEmbedProvider("23hq","photo",["23hq.com/[-.\\w@]+/photo/.+"],"http://www.23hq.com/23/oembed",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("img.ly","photo",["img\\.ly/.+"],"http://img.ly/show/thumb/$1",{templateRegex:/.*ly\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new n.fn.oembed.OEmbedProvider("twitgoo.com","photo",["twitgoo\\.com/.+"],"http://twitgoo.com/show/thumb/$1",{templateRegex:/.*com\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new n.fn.oembed.OEmbedProvider("imgur.com","photo",["imgur\\.com/gallery/.+"],r()+"imgur.com/$1l.jpg",{templateRegex:/.*gallery\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new n.fn.oembed.OEmbedProvider("visual.ly","rich",["visual\\.ly/.+"],null,{yql:{xpath:"//a[@id=\\'gc_article_graphic_image\\']/img",from:"htmlstring"}}),new n.fn.oembed.OEmbedProvider("gravtar","photo",["mailto:.+"],null,{templateRegex:/mailto:([^\/]+).*/,template:function(n,t){return'<img src="http://gravatar.com/avatar/'+t.md5()+'.jpg" alt="on Gravtar" class="jqoaImg">'}}),new n.fn.oembed.OEmbedProvider("twitter","rich",["twitter.com/.+"],"https://api.twitter.com/1/statuses/oembed.json"),new n.fn.oembed.OEmbedProvider("gmep","rich",["gmep.imeducate.com/.*","gmep.org/.*"],"http://gmep.org/oembed.json"),new n.fn.oembed.OEmbedProvider("urtak","rich",["urtak.com/(u|clr)/.+"],"http://oembed.urtak.com/1/oembed"),new n.fn.oembed.OEmbedProvider("cacoo","rich",["cacoo.com/.+"],"http://cacoo.com/oembed.json"),new n.fn.oembed.OEmbedProvider("dailymile","rich",["dailymile.com/people/.*/entries/.*"],"http://api.dailymile.com/oembed"),new n.fn.oembed.OEmbedProvider("dipity","rich",["dipity.com/timeline/.+"],"http://www.dipity.com/oembed/timeline/",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("sketchfab","rich",["sketchfab.com/show/.+"],"http://sketchfab.com/oembed",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("speakerdeck","rich",["speakerdeck.com/.+"],"http://speakerdeck.com/oembed.json",{useYQL:"json"}),new n.fn.oembed.OEmbedProvider("popplet","rich",["popplet.com/app/.*"],"http://popplet.com/app/Popplet_Alpha.swf?page_id=$1&em=1",{templateRegex:/.*#\/([^\/]+).*/,embedtag:{width:460,height:460}}),new n.fn.oembed.OEmbedProvider("pearltrees","rich",["pearltrees.com/.*"],"http://cdn.pearltrees.com/s/embed/getApp?",{templateRegex:/.*N-f=1_(\d+).*N-p=(\d+).*/,embedtag:{width:460,height:460,flashvars:"lang=en_US&amp;embedId=pt-embed-$1-693&amp;treeId=$1&amp;pearlId=$2&amp;treeTitle=Diagrams%2FVisualization&amp;site=www.pearltrees.com%2FF"}}),new n.fn.oembed.OEmbedProvider("prezi","rich",["prezi.com/.*"],"http://prezi.com/bin/preziloader.swf?",{templateRegex:/.*com\/([^\/]+)\/.*/,embedtag:{width:550,height:400,flashvars:"prezi_id=$1&amp;lock_to_path=0&amp;color=ffffff&amp;autoplay=no&amp;autohide_ctrls=0"}}),new n.fn.oembed.OEmbedProvider("tourwrist","rich",["tourwrist.com/tours/.+"],null,{templateRegex:/.*tours.([\d]+).*/,template:function(n,t){return setTimeout(function(){loadEmbeds&&loadEmbeds()},2e3),"<div id='"+t+"' class='tourwrist-tour-embed direct'><\/div> <script type='text/javascript' src='http://tourwrist.com/tour_embed.js'><\/script>"}}),new n.fn.oembed.OEmbedProvider("meetup","rich",["meetup\\.(com|ps)/.+"],r()+"api.meetup.com/oembed"),new n.fn.oembed.OEmbedProvider("ebay","rich",["ebay\\.*"],r()+"togo.ebay.com/togo/togo.swf?2008013100",{templateRegex:/.*\/([^\/]+)\/(\d{10,13}).*/,embedtag:{width:355,height:300,flashvars:"base=http://togo.ebay.com/togo/&lang=en-us&mode=normal&itemid=$2&query=$1"}}),new n.fn.oembed.OEmbedProvider("wikipedia","rich",["wikipedia.org/wiki/.+"],"http://$1.wikipedia.org/w/api.php?action=parse&page=$2&format=json&section=0&callback=?",{templateRegex:/.*\/\/([\w]+).*\/wiki\/([^\/]+).*/,templateData:function(n){if(!n.parse)return!1;var t=n.parse.text["*"].replace(/href="\/wiki/g,'href="http://en.wikipedia.org/wiki');return'<div id="content"><h3><a class="nav-link" href="http://en.wikipedia.org/wiki/'+n.parse.displaytitle+'">'+n.parse.displaytitle+"<\/a><\/h3>"+t+"<\/div>"}}),new n.fn.oembed.OEmbedProvider("imdb","rich",["imdb.com/title/.+"],"http://www.imdbapi.com/?i=$1&callback=?",{templateRegex:/.*\/title\/([^\/]+).*/,templateData:function(n){return n.Title?'<div id="content"><h3><a class="nav-link" href="http://imdb.com/title/'+n.ID+'/">'+n.Title+"<\/a> ("+n.Year+")<\/h3><p>Starring: "+n.Actors+'<\/p><div id="photo-wrap" style="margin: auto;width:600px;height:450px;"><img class="photo" id="photo-display" src="'+n.Poster+'" alt="'+n.Title+'"><\/div> <div id="view-photo-caption">'+n.Plot+"<\/div><\/div>":!1}}),new n.fn.oembed.OEmbedProvider("livejournal","rich",["livejournal.com/"],"http://ljpic.seacrow.com/json/$2$4?jsonp=?",{templateRegex:/(http:\/\/(((?!users).)+)\.livejournal\.com|.*users\.livejournal\.com\/([^\/]+)).*/,templateData:function(n){return!!n.username&&'<div><img src="'+n.image+'" align="left" style="margin-right: 1em;" /><span class="oembedall-ljuser"><a href="http://'+n.username+'.livejournal.com/profile"><img src="http://www.livejournal.com/img/userinfo.gif" alt="[info]" width="17" height="17" /><\/a><a href="http://'+n.username+'.livejournal.com/">'+n.username+"<\/a><\/span><br />"+n.name+"<\/div>"}}),new n.fn.oembed.OEmbedProvider("circuitbee","rich",["circuitbee\\.com/circuit/view/.+"],"http://c.circuitbee.com/build/r/schematic-embed.html?id=$1",{templateRegex:/.*circuit\/view\/(\d+).*/,embedtag:{tag:"iframe",width:"500",height:"350"}}),new n.fn.oembed.OEmbedProvider("googlecalendar","rich",["www.google.com/calendar/embed?.+"],"$1",{templateRegex:/(.*)/,embedtag:{tag:"iframe",width:"800",height:"600"}}),new n.fn.oembed.OEmbedProvider("jsfiddle","rich",["jsfiddle.net/[^/]+/?"],"http://jsfiddle.net/$1/embedded/result,js,resources,html,css/?",{templateRegex:/.*net\/([^\/]+).*/,embedtag:{tag:"iframe",width:"100%",height:"300"}}),new n.fn.oembed.OEmbedProvider("jsbin","rich",["jsbin.com/.+"],"http://jsbin.com/$1/?",{templateRegex:/.*com\/([^\/]+).*/,embedtag:{tag:"iframe",width:"100%",height:"300"}}),new n.fn.oembed.OEmbedProvider("jotform","rich",["form.jotform.co/form/.+"],"$1?",{templateRegex:/(.*)/,embedtag:{tag:"iframe",width:"100%",height:"507"}}),new n.fn.oembed.OEmbedProvider("reelapp","rich",["reelapp\\.com/.+"],"http://www.reelapp.com/$1/embed",{templateRegex:/.*com\/(\S{6}).*/,embedtag:{tag:"iframe",width:"400",height:"338"}}),new n.fn.oembed.OEmbedProvider("linkedin","rich",["linkedin.com/pub/.+"],"https://www.linkedin.com/cws/member/public_profile?public_profile_url=$1&format=inline&isFramed=true",{templateRegex:/(.*)/,embedtag:{tag:"iframe",width:"368px",height:"auto"}}),new n.fn.oembed.OEmbedProvider("timetoast","rich",["timetoast.com/timelines/[0-9]+"],"http://www.timetoast.com/flash/TimelineViewer.swf?passedTimelines=$1",{templateRegex:/.*timelines\/([0-9]*)/,embedtag:{width:550,height:400,nocache:1}}),new n.fn.oembed.OEmbedProvider("pastebin","rich",["pastebin\\.com/[\\S]{8}"],"http://pastebin.com/embed_iframe.php?i=$1",{templateRegex:/.*\/(\S{8}).*/,embedtag:{tag:"iframe",width:"100%",height:"auto"}}),new n.fn.oembed.OEmbedProvider("mixlr","rich",["mixlr.com/.+"],"http://mixlr.com/embed/$1?autoplay=ae",{templateRegex:/.*com\/([^\/]+).*/,embedtag:{tag:"iframe",width:"100%",height:"auto"}}),new n.fn.oembed.OEmbedProvider("pastie","rich",["pastie\\.org/pastes/.+"],null,{yql:{xpath:'//pre[@class="textmate-source"]'}}),new n.fn.oembed.OEmbedProvider("github","rich",["gist.github.com/.+"],"https://github.com/api/oembed"),new n.fn.oembed.OEmbedProvider("github","rich",["github.com/[-.\\w@]+/[-.\\w@]+"],"https://api.github.com/repos/$1/$2?callback=?",{templateRegex:/.*\/([^\/]+)\/([^\/]+).*/,templateData:function(n){return n.data.html_url?'<div class="oembedall-githubrepos"><ul class="oembedall-repo-stats"><li>'+n.data.language+'<\/li><li class="oembedall-watchers"><a title="Watchers" href="'+n.data.html_url+'/watchers">&#x25c9; '+n.data.watchers+'<\/a><\/li><li class="oembedall-forks"><a title="Forks" href="'+n.data.html_url+'/network">&#x0265; '+n.data.forks+'<\/a><\/li><\/ul><h3><a href="'+n.data.html_url+'">'+n.data.name+'<\/a><\/h3><div class="oembedall-body"><p class="oembedall-description">'+n.data.description+'<\/p><p class="oembedall-updated-at">Last updated: '+n.data.pushed_at+"<\/p><\/div><\/div>":!1}}),new n.fn.oembed.OEmbedProvider("facebook","rich",["facebook.com/(people/[^\\/]+/\\d+|[^\\/]+$)"],"https://graph.facebook.com/$2$3/?callback=?",{templateRegex:/.*facebook.com\/(people\/[^\/]+\/(\d+).*|([^\/]+$))/,templateData:function(n){if(!n.id)return!1;var t='<div class="oembedall-facebook1"><div class="oembedall-facebook2"><a href="http://www.facebook.com/">facebook<\/a> ';return t+=n.from?'<a href="http://www.facebook.com/'+n.from.id+'">'+n.from.name+"<\/a>":n.link?'<a href="'+n.link+'">'+n.name+"<\/a>":n.username?'<a href="http://www.facebook.com/'+n.username+'">'+n.name+"<\/a>":'<a href="http://www.facebook.com/'+n.id+'">'+n.name+"<\/a>",t+='<\/div><div class="oembedall-facebookBody"><div class="contents">',t+=n.picture?'<a href="'+n.link+'"><img src="'+n.picture+'"><\/a>':'<img src="https://graph.facebook.com/'+n.id+'/picture">',n.from&&(t+='<a href="'+n.link+'">'+n.name+"<\/a>"),n.founded&&(t+="Founded: <strong>"+n.founded+"<\/strong><br>"),n.category&&(t+="Category: <strong>"+n.category+"<\/strong><br>"),n.website&&(t+='Website: <strong><a href="'+n.website+'">'+n.website+"<\/a><\/strong><br>"),n.gender&&(t+="Gender: <strong>"+n.gender+"<\/strong><br>"),n.description&&(t+=n.description+"<br>"),t+"<\/div><\/div>"}}),new n.fn.oembed.OEmbedProvider("stackoverflow","rich",["stackoverflow.com/questions/[\\d]+"],"http://api.stackoverflow.com/1.1/questions/$1?body=true&jsonp=?",{templateRegex:/.*questions\/([\d]+).*/,templateData:function(t){if(!t.questions)return!1;var r=t.questions[0],f=n(r.body).text(),u='<div class="oembedall-stoqembed"><div class="oembedall-statscontainer"><div class="oembedall-statsarrow"><\/div><div class="oembedall-stats"><div class="oembedall-vote"><div class="oembedall-votes"><span class="oembedall-vote-count-post"><strong>'+(r.up_vote_count-r.down_vote_count)+'<\/strong><\/span><div class="oembedall-viewcount">vote(s)<\/div><\/div><\/div><div class="oembedall-status"><strong>'+r.answer_count+'<\/strong>answer<\/div><\/div><div class="oembedall-views">'+r.view_count+' view(s)<\/div><\/div><div class="oembedall-summary"><h3><a class="oembedall-question-hyperlink" href="http://stackoverflow.com/questions/'+r.question_id+'/">'+r.title+'<\/a><\/h3><div class="oembedall-excerpt">'+f.substring(0,100)+'...<\/div><div class="oembedall-tags">';for(i in r.tags)u+='<a title="" class="oembedall-post-tag" href="http://stackoverflow.com/questions/tagged/'+r.tags[i]+'">'+r.tags[i]+"<\/a>";return u+('<\/div><div class="oembedall-fr"><div class="oembedall-user-info"><div class="oembedall-user-gravatar32"><a href="http://stackoverflow.com/users/'+r.owner.user_id+"/"+r.owner.display_name+'"><img width="32" height="32" alt="" src="http://www.gravatar.com/avatar/'+r.owner.email_hash+'?s=32&amp;d=identicon&amp;r=PG"><\/a><\/div><div class="oembedall-user-details"><a href="http://stackoverflow.com/users/'+r.owner.user_id+"/"+r.owner.display_name+'">'+r.owner.display_name+'<\/a><br><span title="reputation score" class="oembedall-reputation-score">'+r.owner.reputation+"<\/span><\/div><\/div><\/div><\/div><\/div>")}}),new n.fn.oembed.OEmbedProvider("wordpress","rich",["wordpress\\.com/.+","blogs\\.cnn\\.com/.+","techcrunch\\.com/.+","wp\\.me/.+"],"http://public-api.wordpress.com/oembed/1.0/?for=jquery-oembed-all"),new n.fn.oembed.OEmbedProvider("screenr","rich",["screenr.com"],"http://www.screenr.com/embed/$1",{templateRegex:/.*\/([^\/]+).*/,embedtag:{tag:"iframe",width:"650",height:396}}),new n.fn.oembed.OEmbedProvider("gigpans","rich",["gigapan\\.org/[-.\\w@]+/\\d+"],"http://gigapan.org/gigapans/$1/options/nosnapshots/iframe/flash.html",{templateRegex:/.*\/(\d+)\/?.*/,embedtag:{tag:"iframe",width:"100%",height:400}}),new n.fn.oembed.OEmbedProvider("scribd","rich",["scribd\\.com/.+"],r()+"www.scribd.com/embeds/$1/content?start_page=1&view_mode=list",{templateRegex:/.*doc\/([^\/]+).*/,embedtag:{tag:"iframe",width:"100%",height:600}}),new n.fn.oembed.OEmbedProvider("kickstarter","rich",["kickstarter\\.com/projects/.+"],"$1/widget/card.html",{templateRegex:/([^\?]+).*/,embedtag:{tag:"iframe",width:"220",height:380}}),new n.fn.oembed.OEmbedProvider("amazon","rich",["amzn.com/B+","amazon.com.*/(B\\S+)($|\\/.*)"],r()+"rcm.amazon.com/e/cm?t=_APIKEY_&o=1&p=8&l=as1&asins=$1&ref=qf_br_asin_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr",{apikey:!0,templateRegex:/.*\/(B[0-9A-Z]+)($|\/.*)/,embedtag:{tag:"iframe",width:"120px",height:"240px"}}),new n.fn.oembed.OEmbedProvider("slideshare","rich",["slideshare.net"],r()+"www.slideshare.net/api/oembed/2",{format:"jsonp"}),new n.fn.oembed.OEmbedProvider("roomsharejp","rich",["roomshare\\.jp/(en/)?post/.*"],"http://roomshare.jp/oembed.json"),new n.fn.oembed.OEmbedProvider("lanyard","rich",["lanyrd.com/\\d+/.+"],null,{yql:{xpath:'(//div[@class="primary"])[1]',from:"htmlstring",datareturn:function(n){return n.result?'<div class="oembedall-lanyard">'+n.result+"<\/div>":!1}}}),new n.fn.oembed.OEmbedProvider("asciiartfarts","rich",["asciiartfarts.com/\\d+.html"],null,{yql:{xpath:"//pre/font",from:"htmlstring",datareturn:function(n){return n.result?'<pre style="background-color:000;">'+n.result+"<\/div>":!1}}}),new n.fn.oembed.OEmbedProvider("opengraph","rich",[".*"],null,{yql:{xpath:"//meta|//title|//link",from:"html",datareturn:function(i){var r,u,f;return(!i["og:title"]&&i.title&&i.description&&(i["og:title"]=i.title),!i["og:title"]&&!i.title)?!1:(r=n("<p/>"),i["og:video"]?(u=n('<embed src="'+i["og:video"]+'"/>'),u.attr("type",i["og:video:type"]||"application/x-shockwave-flash").css("max-height",t.maxHeight||"auto").css("max-width",t.maxWidth||"auto"),i["og:video:width"]&&u.attr("width",i["og:video:width"]),i["og:video:height"]&&u.attr("height",i["og:video:height"]),r.append(u)):i["og:image"]&&(f=n('<img src="'+i["og:image"]+'">'),f.css("max-height",t.maxHeight||"auto").css("max-width",t.maxWidth||"auto"),i["og:image:width"]&&f.attr("width",i["og:image:width"]),i["og:image:height"]&&f.attr("height",i["og:image:height"]),r.append(f)),i["og:title"]&&r.append("<b>"+i["og:title"]+"<\/b><br/>"),i["og:description"]?r.append(i["og:description"]+"<br/>"):i.description&&r.append(i.description+"<br/>"),r)}}})]})(jQuery),String.prototype.md5=function(){var u=function(n,t){var i=(n&65535)+(t&65535),r=(n>>16)+(t>>16)+(i>>16);return r<<16|i&65535},e=function(n,t){return n<<t|n>>>32-t},f=function(n,t,i,r,f,o){return u(e(u(u(t,n),u(r,o)),f),i)},n=function(n,t,i,r,u,e,o){return f(t&i|~t&r,n,t,u,e,o)},t=function(n,t,i,r,u,e,o){return f(t&r|i&~r,n,t,u,e,o)},i=function(n,t,i,r,u,e,o){return f(t^i^r,n,t,u,e,o)},r=function(n,t,i,r,u,e,o){return f(i^(t|~r),n,t,u,e,o)},o=function(f){for(var l,a,v,y,p=f.length,e=1732584193,o=-271733879,s=-1732584194,h=271733878,c=0;c<p;c+=16)l=e,a=o,v=s,y=h,e=n(e,o,s,h,f[c+0],7,-680876936),h=n(h,e,o,s,f[c+1],12,-389564586),s=n(s,h,e,o,f[c+2],17,606105819),o=n(o,s,h,e,f[c+3],22,-1044525330),e=n(e,o,s,h,f[c+4],7,-176418897),h=n(h,e,o,s,f[c+5],12,1200080426),s=n(s,h,e,o,f[c+6],17,-1473231341),o=n(o,s,h,e,f[c+7],22,-45705983),e=n(e,o,s,h,f[c+8],7,1770035416),h=n(h,e,o,s,f[c+9],12,-1958414417),s=n(s,h,e,o,f[c+10],17,-42063),o=n(o,s,h,e,f[c+11],22,-1990404162),e=n(e,o,s,h,f[c+12],7,1804603682),h=n(h,e,o,s,f[c+13],12,-40341101),s=n(s,h,e,o,f[c+14],17,-1502002290),o=n(o,s,h,e,f[c+15],22,1236535329),e=t(e,o,s,h,f[c+1],5,-165796510),h=t(h,e,o,s,f[c+6],9,-1069501632),s=t(s,h,e,o,f[c+11],14,643717713),o=t(o,s,h,e,f[c+0],20,-373897302),e=t(e,o,s,h,f[c+5],5,-701558691),h=t(h,e,o,s,f[c+10],9,38016083),s=t(s,h,e,o,f[c+15],14,-660478335),o=t(o,s,h,e,f[c+4],20,-405537848),e=t(e,o,s,h,f[c+9],5,568446438),h=t(h,e,o,s,f[c+14],9,-1019803690),s=t(s,h,e,o,f[c+3],14,-187363961),o=t(o,s,h,e,f[c+8],20,1163531501),e=t(e,o,s,h,f[c+13],5,-1444681467),h=t(h,e,o,s,f[c+2],9,-51403784),s=t(s,h,e,o,f[c+7],14,1735328473),o=t(o,s,h,e,f[c+12],20,-1926607734),e=i(e,o,s,h,f[c+5],4,-378558),h=i(h,e,o,s,f[c+8],11,-2022574463),s=i(s,h,e,o,f[c+11],16,1839030562),o=i(o,s,h,e,f[c+14],23,-35309556),e=i(e,o,s,h,f[c+1],4,-1530992060),h=i(h,e,o,s,f[c+4],11,1272893353),s=i(s,h,e,o,f[c+7],16,-155497632),o=i(o,s,h,e,f[c+10],23,-1094730640),e=i(e,o,s,h,f[c+13],4,681279174),h=i(h,e,o,s,f[c+0],11,-358537222),s=i(s,h,e,o,f[c+3],16,-722521979),o=i(o,s,h,e,f[c+6],23,76029189),e=i(e,o,s,h,f[c+9],4,-640364487),h=i(h,e,o,s,f[c+12],11,-421815835),s=i(s,h,e,o,f[c+15],16,530742520),o=i(o,s,h,e,f[c+2],23,-995338651),e=r(e,o,s,h,f[c+0],6,-198630844),h=r(h,e,o,s,f[c+7],10,1126891415),s=r(s,h,e,o,f[c+14],15,-1416354905),o=r(o,s,h,e,f[c+5],21,-57434055),e=r(e,o,s,h,f[c+12],6,1700485571),h=r(h,e,o,s,f[c+3],10,-1894986606),s=r(s,h,e,o,f[c+10],15,-1051523),o=r(o,s,h,e,f[c+1],21,-2054922799),e=r(e,o,s,h,f[c+8],6,1873313359),h=r(h,e,o,s,f[c+15],10,-30611744),s=r(s,h,e,o,f[c+6],15,-1560198380),o=r(o,s,h,e,f[c+13],21,1309151649),e=r(e,o,s,h,f[c+4],6,-145523070),h=r(h,e,o,s,f[c+11],10,-1120210379),s=r(s,h,e,o,f[c+2],15,718787259),o=r(o,s,h,e,f[c+9],21,-343485551),e=u(e,l),o=u(o,a),s=u(s,v),h=u(h,y);return[e,o,s,h]},s=function(n){for(var i="0123456789abcdef",r="",u=n.length*4,t=0;t<u;t++)r+=i.charAt(n[t>>2]>>t%4*8+4&15)+i.charAt(n[t>>2]>>t%4*8&15);return r},h=function(n){for(var u=(n.length+8>>6)+1,i=[],e=u*16,t,f=n.length,r=0;r<e;r++)i.push(0);for(t=0;t<f;t++)i[t>>2]|=(n.charCodeAt(t)&255)<<t%4*8;return i[t>>2]|=128<<t%4*8,i[u*16-2]=f*8,i};return s(o(h(this)))}
@@ -0,0 +1,347 @@
1
+ /**
2
+ * oEmbed Plugin plugin
3
+ * Licensed under the MIT license
4
+ * jQuery Embed Plugin: http://code.google.com/p/jquery-oembed/ (MIT License)
5
+ * Plugin for: http://ckeditor.com/license (GPL/LGPL/MPL: http://ckeditor.com/license)
6
+ */
7
+
8
+ (function () {
9
+ CKEDITOR.plugins.add('oembed', {
10
+ icons: 'oembed',
11
+ hidpi: true,
12
+ requires: 'widget,dialog',
13
+ lang: ['de', 'en', 'fr', 'nl', 'pl', 'pt-br', 'ru', 'tr'],
14
+ version: 1.14,
15
+ init: function (editor) {
16
+ // Load jquery?
17
+ loadjQueryLibaries();
18
+
19
+ CKEDITOR.tools.extend(CKEDITOR.editor.prototype, {
20
+ oEmbed: function (url, maxWidth, maxHeight, responsiveResize) {
21
+
22
+ if (url.length < 1 || url.indexOf('http') < 0) {
23
+ alert(editor.lang.oembed.invalidUrl);
24
+ return false;
25
+ }
26
+
27
+ function embed() {
28
+ if (maxWidth == null || maxWidth == 'undefined') {
29
+ maxWidth = null;
30
+ }
31
+
32
+ if (maxHeight == null || maxHeight == 'undefined') {
33
+ maxHeight = null;
34
+ }
35
+
36
+ if (responsiveResize == null || responsiveResize == 'undefined') {
37
+ responsiveResize = false;
38
+ }
39
+
40
+ embedCode(url, editor, false, maxWidth, maxHeight, responsiveResize);
41
+ }
42
+
43
+ if (typeof(jQuery.fn.oembed) === 'undefined') {
44
+ CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(CKEDITOR.plugins.getPath('oembed') + 'libs/jquery.oembed.min.js'), function() {
45
+ embed();
46
+ });
47
+ } else {
48
+ embed();
49
+ }
50
+
51
+ return true;
52
+ }
53
+ });
54
+
55
+
56
+ editor.widgets.add('oembed', {
57
+ mask: true,
58
+ dialog: 'oembed',
59
+ //button: editor.lang.oembed.button,
60
+ allowedContent: 'div(!' + (editor.config.oembed_WrapperClass != null ? editor.config.oembed_WrapperClass : "embeddedContent") + ');div iframe[*]',
61
+ template:
62
+ '<div class="' + (editor.config.oembed_WrapperClass != null ? editor.config.oembed_WrapperClass : "embeddedContent") + '">' +
63
+ '</div>',
64
+ upcast: function (element) {
65
+ return element.name == 'div' && element.hasClass(editor.config.oembed_WrapperClass != null ? editor.config.oembed_WrapperClass : "embeddedContent");
66
+ }
67
+ });
68
+
69
+ editor.ui.addButton('oembed', {
70
+ label: editor.lang.oembed.button,
71
+ command: 'oembed',
72
+ toolbar: 'insert,10',
73
+ icon: this.path + "icons/" + (CKEDITOR.env.hidpi ? "hidpi/" : "") + "oembed.png"
74
+ });
75
+
76
+ var resizeTypeChanged = function () {
77
+ var dialog = this.getDialog(),
78
+ resizetype = this.getValue(),
79
+ maxSizeBox = dialog.getContentElement('general', 'maxSizeBox').getElement(),
80
+ sizeBox = dialog.getContentElement('general', 'sizeBox').getElement();
81
+
82
+ if (resizetype == 'noresize') {
83
+ maxSizeBox.hide();
84
+
85
+ sizeBox.hide();
86
+ } else if (resizetype == "custom") {
87
+ maxSizeBox.hide();
88
+
89
+ sizeBox.show();
90
+ } else {
91
+ maxSizeBox.show();
92
+
93
+ sizeBox.hide();
94
+ }
95
+
96
+ };
97
+
98
+ String.prototype.beginsWith = function(string) {
99
+ return (this.indexOf(string) === 0);
100
+ };
101
+
102
+ function loadjQueryLibaries() {
103
+ if (typeof(jQuery) === 'undefined') {
104
+ CKEDITOR.scriptLoader.load('http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js', function() {
105
+ jQuery.noConflict();
106
+ if (typeof(jQuery.fn.oembed) === 'undefined') {
107
+ CKEDITOR.scriptLoader.load(
108
+ CKEDITOR.getUrl(CKEDITOR.plugins.getPath('oembed') + 'libs/jquery.oembed.min.js')
109
+ );
110
+ }
111
+ });
112
+
113
+ } else if (typeof(jQuery.fn.oembed) === 'undefined') {
114
+ CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(CKEDITOR.plugins.getPath('oembed') + 'libs/jquery.oembed.min.js'));
115
+ }
116
+ }
117
+
118
+ function embedCode(url, instance, closeDialog, maxWidth, maxHeight, responsiveResize, widget) {
119
+ jQuery('body').oembed(url, {
120
+ onEmbed: function(e) {
121
+ var elementAdded = false;
122
+
123
+ if (typeof e.code === 'string') {
124
+ if (widget.element.$.firstChild) {
125
+ widget.element.$.removeChild(widget.element.$.firstChild);
126
+ }
127
+ widget.element.appendHtml(e.code);
128
+
129
+ elementAdded = true;
130
+ } else if (typeof e.code[0].outerHTML === 'string') {
131
+
132
+ if (widget.element.$.firstChild) {
133
+ widget.element.$.removeChild(widget.element.$.firstChild);
134
+ }
135
+ widget.element.appendHtml(e.code[0].outerHTML);
136
+ elementAdded = true;
137
+ } else {
138
+ alert(editor.lang.oembed.noEmbedCode);
139
+ }
140
+
141
+ if (elementAdded) {
142
+ if (closeDialog) {
143
+ CKEDITOR.dialog.getCurrent().hide();
144
+ }
145
+ }
146
+ },
147
+ onError: function(externalUrl) {
148
+ if (externalUrl.indexOf("vimeo.com") > 0) {
149
+ alert(editor.lang.oembed.noVimeo);
150
+ } else {
151
+ alert(editor.lang.oembed.Error);
152
+ }
153
+
154
+ },
155
+ maxHeight: maxHeight,
156
+ maxWidth: maxWidth,
157
+ useResponsiveResize: responsiveResize,
158
+ embedMethod: 'editor'
159
+ });
160
+ }
161
+
162
+ CKEDITOR.dialog.add('oembed', function(editor) {
163
+ return {
164
+ title: editor.lang.oembed.title,
165
+ minWidth: CKEDITOR.env.ie && CKEDITOR.env.quirks ? 568 : 550,
166
+ minHeight: 155,
167
+ onShow: function() {
168
+ var resizetype = this.getContentElement('general', 'resizeType').getValue(),
169
+ maxSizeBox = this.getContentElement('general', 'maxSizeBox').getElement(),
170
+ sizeBox = this.getContentElement('general', 'sizeBox').getElement();
171
+
172
+ if (resizetype == 'noresize') {
173
+ maxSizeBox.hide();
174
+ sizeBox.hide();
175
+ } else if (resizetype == "custom") {
176
+ maxSizeBox.hide();
177
+
178
+ sizeBox.show();
179
+ } else {
180
+ maxSizeBox.show();
181
+
182
+ sizeBox.hide();
183
+ }
184
+ },
185
+
186
+ onOk: function() {
187
+ },
188
+ contents: [{
189
+ label: editor.lang.common.generalTab,
190
+ id: 'general',
191
+ elements: [{
192
+ type: 'html',
193
+ id: 'oembedHeader',
194
+ html: '<div style="white-space:normal;width:500px;padding-bottom:10px">' + editor.lang.oembed.pasteUrl + '</div>'
195
+ }, {
196
+ type: 'text',
197
+ id: 'embedCode',
198
+ focus: function() {
199
+ this.getElement().focus();
200
+ },
201
+ label: editor.lang.oembed.url,
202
+ title: editor.lang.oembed.pasteUrl,
203
+ setup: function(widget) {
204
+ if (widget.data.oembed) {
205
+ this.setValue(widget.data.oembed);
206
+ }
207
+ },
208
+ commit: function(widget) {
209
+
210
+ var dialog = CKEDITOR.dialog.getCurrent(),
211
+ inputCode = dialog.getValueOf('general', 'embedCode').replace(/\s/g, ""),
212
+ resizetype = dialog.getContentElement('general', 'resizeType').
213
+ getValue(),
214
+ maxWidth = null,
215
+ maxHeight = null,
216
+ responsiveResize = false,
217
+ editorInstance = dialog.getParentEditor(),
218
+ closeDialog = dialog.getContentElement('general', 'autoCloseDialog').
219
+ getValue();
220
+
221
+ if (inputCode.length < 1 || inputCode.indexOf('http') < 0) {
222
+ alert(editor.lang.oembed.invalidUrl);
223
+ return false;
224
+ }
225
+
226
+ if (resizetype == "noresize") {
227
+ responsiveResize = false;
228
+ } else {
229
+ if (resizetype == "responsive") {
230
+ maxWidth = dialog.getContentElement('general', 'maxWidth').
231
+ getInputElement().
232
+ getValue();
233
+ maxHeight = dialog.getContentElement('general', 'maxHeight').
234
+ getInputElement().
235
+ getValue();
236
+
237
+ responsiveResize = true;
238
+ } else if (resizetype == "custom") {
239
+ maxWidth = dialog.getContentElement('general', 'width').
240
+ getInputElement().
241
+ getValue();
242
+ maxHeight = dialog.getContentElement('general', 'height').
243
+ getInputElement().
244
+ getValue();
245
+
246
+ responsiveResize = false;
247
+ }
248
+ }
249
+
250
+ /*
251
+ // support for multiple urls
252
+ if (inputCode.indexOf(";") > 0) {
253
+ var urls = inputCode.split(";");
254
+ for (var i = 0; i < urls.length; i++) {
255
+ var url = urls[i];
256
+
257
+ if (url.length > 1 && url.beginsWith('http')) {
258
+ embedCode(url, editorInstance, false, maxWidth, maxHeight, responsiveResize, widget);
259
+
260
+ widget.setData('oembed', url);
261
+ }
262
+ // close after last
263
+ if (i == urls.length - 1) {
264
+ CKEDITOR.dialog.getCurrent().hide();
265
+ }
266
+ }
267
+ } else {
268
+ // single url
269
+ embedCode(inputCode, editorInstance, closeDialog, maxWidth, maxHeight, responsiveResize, widget);
270
+
271
+ widget.setData('oembed', inputCode);
272
+ }*/
273
+
274
+ embedCode(inputCode, editorInstance, closeDialog, maxWidth, maxHeight, responsiveResize, widget);
275
+
276
+ widget.setData('oembed', inputCode);
277
+ }
278
+ }, {
279
+ type: 'hbox',
280
+ widths: ['50%', '50%'],
281
+ children: [{
282
+ id: 'resizeType',
283
+ type: 'select',
284
+ label: editor.lang.oembed.resizeType,
285
+ 'default': 'noresize',
286
+ items: [
287
+ [editor.lang.oembed.noresize, 'noresize'],
288
+ [editor.lang.oembed.responsive, 'responsive'],
289
+ [editor.lang.oembed.custom, 'custom']
290
+ ],
291
+ onChange: resizeTypeChanged
292
+ }, {
293
+ type: 'hbox',
294
+ id: 'maxSizeBox',
295
+ widths: ['120px', '120px'],
296
+ style: 'float:left;position:absolute;left:58%;width:200px',
297
+ children: [{
298
+ type: 'text',
299
+ width: '100px',
300
+ id: 'maxWidth',
301
+ 'default': editor.config.oembed_maxWidth != null ? editor.config.oembed_maxWidth : '560',
302
+ label: editor.lang.oembed.maxWidth,
303
+ title: editor.lang.oembed.maxWidthTitle
304
+ }, {
305
+ type: 'text',
306
+ id: 'maxHeight',
307
+ width: '120px',
308
+ 'default': editor.config.oembed_maxHeight != null ? editor.config.oembed_maxHeight : '315',
309
+ label: editor.lang.oembed.maxHeight,
310
+ title: editor.lang.oembed.maxHeightTitle
311
+ }]
312
+ }, {
313
+ type: 'hbox',
314
+ id: 'sizeBox',
315
+ widths: ['120px', '120px'],
316
+ style: 'float:left;position:absolute;left:58%;width:200px',
317
+ children: [{
318
+ type: 'text',
319
+ id: 'width',
320
+ width: '100px',
321
+ 'default': editor.config.oembed_maxWidth != null ? editor.config.oembed_maxWidth : '560',
322
+ label: editor.lang.oembed.width,
323
+ title: editor.lang.oembed.widthTitle
324
+ }, {
325
+ type: 'text',
326
+ id: 'height',
327
+ width: '120px',
328
+ 'default': editor.config.oembed_maxHeight != null ? editor.config.oembed_maxHeight : '315',
329
+ label: editor.lang.oembed.height,
330
+ title: editor.lang.oembed.heightTitle
331
+ }]
332
+ }]
333
+ }, {
334
+ type: 'checkbox',
335
+ id: 'autoCloseDialog',
336
+ 'default': 'checked',
337
+ label: editor.lang.oembed.autoClose,
338
+ title: editor.lang.oembed.autoClose
339
+ }]
340
+ }]
341
+ };
342
+ });
343
+ }//
344
+ });
345
+
346
+ }
347
+ )();