trilium/src/public/libraries/ckeditor/ckeditor.js

6 lines
554 KiB
JavaScript
Raw Normal View History

/*!
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
2017-12-02 23:37:12 +08:00
* For licensing, see LICENSE.md.
*/
!function(t){t.en=Object.assign(t.en||{},{a:"Cannot upload file:",b:"Paragraph",c:"Edit block",d:"Italic",e:"Bold",f:"Underline",g:"Strikethrough",h:"Code",i:"Block quote",j:"Insert image or file",k:"Choose heading",l:"Heading",m:"Heading 1",n:"Heading 2",o:"Heading 3",p:"Heading 4",q:"Heading 5",r:"Heading 6",s:"image widget",t:"Full size image",u:"Side image",v:"Left aligned image",w:"Centered image",x:"Right aligned image",y:"Enter image caption",z:"media widget",aa:"Upload in progress",ab:"Insert media",ac:"The URL must not be empty.",ad:"This media URL is not supported.",ae:"Insert table",af:"Header column",ag:"Insert column left",ah:"Insert column right",ai:"Delete column",aj:"Column",ak:"Header row",al:"Insert row below",am:"Insert row above",an:"Delete row",ao:"Row",ap:"Merge cell up",aq:"Merge cell right",ar:"Merge cell down",as:"Merge cell left",at:"Split cell vertically",au:"Split cell horizontally",av:"Merge cells",aw:"Numbered List",ax:"Bulleted List",ay:"Insert image",az:"Upload failed",ba:"Link",bb:"Could not obtain resized image URL.",bc:"Selecting resized image failed",bd:"Could not insert image at the current position.",be:"Inserting image failed",bf:"Change image text alternative",bg:"Undo",bh:"Redo",bi:"Unlink",bj:"Edit link",bk:"Open link in new tab",bl:"This link has no URL",bm:"Save",bn:"Cancel",bo:"Link URL",bp:"Text alternative",bq:"Paste the media URL in the input.",br:"Tip: Paste the URL into the content to embed faster.",bs:"Media URL",bt:"Rich Text Editor, %0"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.BalloonEditor=e():t.BalloonEditor=e()}(window,function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=57)}([function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"a",function(){return r});const i="https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html";class o extends Error{constructor(t,e){t=r(t),e&&(t+=" "+JSON.stringify(e)),super(t),this.name="CKEditorError",this.data=e}static isCKEditorError(t){return t instanceof o}}function r(t){const e=t.match(/^([^:]+):/);return e?t+` Read more: ${i}#error-${e[1]}\n`:t}},function(t,e,n){"use strict";var i=n(0);const o={error(t,e){console.error(Object(i.a)(t),e)},warn(t,e){console.warn(Object(i.a)(t),e)}};e.a=o},function(t,e,n){var i={},o=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),r=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var i=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,n);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}}(),s=null,a=0,c=[],l=n(128);function d(t,e){for(var n=0;n<t.length;n++){var o=t[n],r=i[o.id];if(r){r.refs++;for(var s=0;s<r.parts.length;s++)r.parts[s](o.parts[s]);for(;s<o.parts.length;s++)r.parts.push(p(o.parts[s],e))}else{var a=[];for(s=0;s<o.parts.length;s++)a.push
//# sourceMappingURL=libraries/ckeditor/ckeditor.js.map