trilium/libraries/ckeditor/ckeditor.js

6 lines
560 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:"Bold",e:"Superscript",f:"Italic",g:"Subscript",h:"Strikethrough",i:"Underline",j:"Code",k:"Block quote",l:"Insert image or file",m:"Heading 1",n:"Heading 2",o:"Heading 3",p:"Heading 4",q:"Heading 5",r:"Heading 6",s:"Choose heading",t:"Heading",u:"image widget",v:"Full size image",w:"Side image",x:"Left aligned image",y:"Centered image",z:"Right aligned image",aa:"Insert image",ab:"Enter image caption",ac:"media widget",ad:"Upload failed",ae:"Upload in progress",af:"Link",ag:"Insert media",ah:"The URL must not be empty.",ai:"This media URL is not supported.",aj:"Insert table",ak:"Header column",al:"Insert column left",am:"Insert column right",an:"Delete column",ao:"Column",ap:"Header row",aq:"Insert row below",ar:"Insert row above",as:"Delete row",at:"Row",au:"Merge cell up",av:"Merge cell right",aw:"Merge cell down",ax:"Merge cell left",ay:"Split cell vertically",az:"Split cell horizontally",ba:"Merge cells",bb:"Numbered List",bc:"Bulleted List",bd:"Could not obtain resized image URL.",be:"Selecting resized image failed",bf:"Could not insert image at the current position.",bg:"Inserting image failed",bh:"Change image text alternative",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:"Undo",bq:"Redo",br:"Text alternative",bs:"Rich Text Editor, %0",bt:"Paste the media URL in the input.",bu:"Tip: Paste the URL into the content to embed faster.",bv:"Media URL"})}(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=133)}([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(62);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
//# sourceMappingURL=libraries/ckeditor/ckeditor.js.map