{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/tmp.6LupJ8gXGR/b1/kopano-webapp_3.5.14+dfsg1.orig-1_armhf.changes", "source2": "/srv/reproducible-results/rbuild-debian/tmp.6LupJ8gXGR/b2/kopano-webapp_3.5.14+dfsg1.orig-1_armhf.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,10 +1,10 @@\n \n 728bdeef78fa917c8293ec09f6e85055 26736 web optional kopano-webapp-apache2_3.5.14+dfsg1.orig-1_all.deb\n- 9ed87396dc2824ce02d9853fe3c90c7d 3079424 web optional kopano-webapp-common_3.5.14+dfsg1.orig-1_all.deb\n+ 90bfcd514936cc6be1be2922f05c406b 3078984 web optional kopano-webapp-common_3.5.14+dfsg1.orig-1_all.deb\n 5e6ff9356bfa5407d262d9edfa54e938 28284 web optional kopano-webapp-contactfax_3.5.14+dfsg1.orig-1_all.deb\n 85510b37daacb88367640ac29bf3542f 27992 web optional kopano-webapp-folderwidgets_3.5.14+dfsg1.orig-1_all.deb\n f05586cbc59a59a585d428cff04c1278 27256 web optional kopano-webapp-gmaps_3.5.14+dfsg1.orig-1_all.deb\n dcf41e3a9ac93cf501b7f7eb361b915b 25316 web optional kopano-webapp-lighttpd_3.5.14+dfsg1.orig-1_all.deb\n c24ae78983dad8cc83f0ad1e807984a2 25768 web optional kopano-webapp-nginx_3.5.14+dfsg1.orig-1_all.deb\n 1afd21f9b8b36422ba202882a7296f50 25828 web optional kopano-webapp-pimfolder_3.5.14+dfsg1.orig-1_all.deb\n b3f1afb6cf224b32ea9cdc6e29325a5f 27788 web optional kopano-webapp-quickitems_3.5.14+dfsg1.orig-1_all.deb\n"}, {"source1": "kopano-webapp-common_3.5.14+dfsg1.orig-1_all.deb", "source2": "kopano-webapp-common_3.5.14+dfsg1.orig-1_all.deb", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -1,3 +1,3 @@\n -rw-r--r-- 0 0 0 4 2019-12-08 14:23:53.000000 debian-binary\n--rw-r--r-- 0 0 0 22748 2019-12-08 14:23:53.000000 control.tar.xz\n--rw-r--r-- 0 0 0 3056484 2019-12-08 14:23:53.000000 data.tar.xz\n+-rw-r--r-- 0 0 0 22732 2019-12-08 14:23:53.000000 control.tar.xz\n+-rw-r--r-- 0 0 0 3056060 2019-12-08 14:23:53.000000 data.tar.xz\n"}, {"source1": "control.tar.xz", "source2": "control.tar.xz", "unified_diff": null, "details": [{"source1": "control.tar", "source2": "control.tar", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "comments": ["Files differ"], "unified_diff": null}]}]}]}, {"source1": "data.tar.xz", "source2": "data.tar.xz", "unified_diff": null, "details": [{"source1": "data.tar", "source2": "data.tar", "unified_diff": null, "details": [{"source1": "./usr/share/kopano-webapp/client/third-party/ux-thirdparty.js", "source2": "./usr/share/kopano-webapp/client/third-party/ux-thirdparty.js", "unified_diff": null, "details": [{"source1": "js-beautify {}", "source2": "js-beautify {}", "unified_diff": "@@ -1,23 +1,9 @@\n var $jscomp = $jscomp || {};\n $jscomp.scope = {};\n-$jscomp.findInternal = function(a, b, c) {\n- a instanceof String && (a = String(a));\n- for (var d = a.length, g = 0; g < d; g++) {\n- var h = a[g];\n- if (b.call(c, h, g, a)) return {\n- i: g,\n- v: h\n- }\n- }\n- return {\n- i: -1,\n- v: void 0\n- }\n-};\n $jscomp.defineProperty = \"function\" == typeof Object.defineProperties ? Object.defineProperty : function(a, b, c) {\n if (c.get || c.set) throw new TypeError(\"ES3 does not support getters and setters.\");\n a != Array.prototype && a != Object.prototype && (a[b] = c.value)\n };\n $jscomp.getGlobal = function(a) {\n return \"undefined\" != typeof window && window === a ? a : \"undefined\" != typeof global && null != global ? global : a\n };\n@@ -37,19 +23,14 @@\n b != d && null != b && $jscomp.defineProperty(c, a, {\n configurable: !0,\n writable: !0,\n value: b\n })\n }\n };\n-$jscomp.polyfill(\"Array.prototype.find\", function(a) {\n- return a ? a : function(a, c) {\n- return $jscomp.findInternal(this, a, c).v\n- }\n-}, \"es6-impl\", \"es3\");\n $jscomp.polyfill(\"Reflect.apply\", function(a) {\n if (a) return a;\n var b = Function.prototype.apply;\n return function(a, d, g) {\n return b.call(a, d, g)\n }\n }, \"es6\", \"es3\");\n@@ -140,292 +121,58 @@\n $jscomp.polyfill(\"Array.prototype.keys\", function(a) {\n return a ? a : function() {\n return $jscomp.iteratorFromArray(this, function(a) {\n return a\n })\n }\n }, \"es6-impl\", \"es3\");\n-Ext.ux.form.TinyMCETextArea = Ext.extend(Ext.form.TextArea, {\n- wysiwygIntialized: !1,\n- intializationInProgress: !1,\n- lastHeight: null,\n- lastFrameHeight: null,\n- noWysiwyg: !1,\n- tinyMCEConfig: {},\n- editor: void 0,\n- disableEditor: !1,\n- editorOwnerWindow: void 0,\n- constructor: function(a) {\n- a = a || {};\n- Ext.applyIf(a, {\n- hideMode: \"offsets\"\n- });\n- Ext.applyIf(a.tinyMCEConfig, {\n- hideMode: \"offsets\",\n- mode: \"exact\",\n- resize: !1\n- });\n- Ext.ux.form.TinyMCETextArea.superclass.constructor.call(this, a)\n- },\n- getEditorOwnerWindow: function() {\n- if (Ext.isDefined(this.editorOwnerWindow)) return this.editorOwnerWindow;\n- var a = Ext.getDom(this.getInputId());\n- return this.editorOwnerWindow = a ? a.ownerDocument.defaultView : void 0\n- },\n- afterRender: function() {\n- var a = this;\n- Ext.ux.form.TinyMCETextArea.superclass.afterRender.call(this, arguments);\n- this.initEditor();\n- a.on(\"blur\", function(b, c, d) {\n- b = document.getElementById(a.getInputId());\n- a.wysiwygIntialized ? (c = a.getEditor()) && c.isHidden() && (b && (a.positionBeforeBlur = {\n- start: b.selectionStart,\n- end: b.selectionEnd\n- }), c.load()) : b && (a.positionBeforeBlur = {\n- start: b.selectionStart,\n- end: b.selectionEnd\n- })\n- },\n- a);\n- a.on(\"resize\", function(b, c, d, g, h, q) {\n- a.syncEditorHeight(d)\n- }, a)\n- },\n- syncEditorHeight: function(a) {\n- this.lastHeight = a;\n- if (this.wysiwygIntialized && this.rendered) {\n- var b = this.getEditorOwnerWindow().tinymce.get(this.getInputId());\n- if (b && b.iframeElement && !b.isHidden()) {\n- var b = Ext.get(b.iframeElement),\n- c = b.up(\".mce-edit-area\"),\n- c = c.up(\".mce-container-body\"),\n- d = c.down(\".mce-toolbar-grp\");\n- d && (a -= d.getHeight());\n- (d = c.down(\".mce-menubar\")) && (a -= d.getHeight());\n- (c = c.down(\".mce-statusbar\")) && (a -= c.getHeight());\n- this.lastFrameHeight =\n- a - 3;\n- b.setHeight(a - 3)\n- }\n- }\n- },\n- withEd: function(a) {\n- var b = this,\n- c = this.getEditor();\n- if (c)\n- if (c.initialized) c.initialized && (b.editor = c, a.call(b));\n- else this.on(\"initialized\", function() {\n- b.withEd(a)\n- }, b)\n- },\n- getInputId: function() {\n- return this.inputId || (this.inputId = this.id)\n- },\n- isDisabled: function() {\n- return this.disabled\n- },\n- insertAtCursor: function(a) {\n- var b = this.getEditor();\n- b.execCommand(\"mceInsertContent\", !1, a);\n- b.undoManager.clear()\n- },\n- initEditor: function() {\n- var a = this;\n- if (!(a.noWysiwyg || a.intializationInProgress || a.wysiwygIntialized)) {\n- a.intializationInProgress = !0;\n- a.tinyMCEConfig.selector = \"textarea#\" + a.getInputId();\n- a.tinyMCEConfig.height = a.lastFrameHeight ? a.lastFrameHeight : 30;\n- var b = null;\n- a.tinyMCEConfig.setup && (b = a.tinyMCEConfig.setup);\n- a.tinyMCEConfig.setup = function(c) {\n- Ext.isDefined(a.editor) || (a.editor = c);\n- var d = a.getEditorOwnerWindow(),\n- g = d.tinymce.DOM.loadCSS,\n- h = [];\n- d.tinymce.DOM.loadCSS = function(b) {\n- b || (b = \"\");\n- Ext.each(b.split(\",\"), function(b) {\n- if (!Ext.isEmpty(b)) {\n- h.push(b);\n- var c = d.document.createElement(\"link\");\n- d.document.head.appendChild(c);\n- c.addEventListener(\"load\",\n- function() {\n- h.splice(h.indexOf(b), 1);\n- d.document.head.removeChild(c);\n- a.fireEvent(\"stylesheetloaded\", b)\n- });\n- c.addEventListener(\"error\", function() {\n- h.splice(h.indexOf(b), 1);\n- a.fireEvent(\"stylesheetloaded\", b)\n- });\n- c.setAttribute(\"rel\", \"stylesheet\");\n- c.setAttribute(\"type\", \"text/css\");\n- c.setAttribute(\"href\", b)\n- }\n- });\n- return g.apply(this, arguments)\n- };\n- c.on(\"init\", function(b) {\n- function l() {\n- if (0 < h.length) a.on(\"stylesheetloaded\", function() {\n- l()\n- }, this);\n- else a.syncEditorHeight(a.lastHeight || a.height)\n- }\n- d.tinymce.DOM.loadCSS = g;\n- a.wysiwygIntialized = !0;\n- a.intializationInProgress = !1;\n- (a.disableEditor || a.isDisabled()) && a.disable();\n- a.fireEvent(\"initialized\", a, c, {});\n- (a.lastHeight || a.height) && l()\n- });\n- b && b(c)\n- };\n- a.getEditorOwnerWindow().tinymce.init(a.tinyMCEConfig);\n- a.intializationInProgress = !1;\n- a.wysiwygIntialized = !0\n- }\n- },\n- getEditor: function() {\n- var a = this.getEditorOwnerWindow();\n- return a ? a.tinymce.get(this.getInputId()) : void 0\n- },\n- removeEditor: function() {\n- if (this.intializationInProgress || !this.wysiwygIntialized) return this;\n- var a = this.getEditor();\n- a && (a.save(), a.destroy(!1));\n- this.wysiwygIntialized = !1;\n- return this\n- },\n- setValue: function(a) {\n- var b = this;\n- if (b.wysiwygIntialized && this.value !== a && (this.value = a, this.rendered)) {\n- var c = b.getEditor();\n- if (c) b.setContent(c, a);\n- else b.getEditorOwnerWindow().tinymce.EditorManager.on(\"AddEditor\", function() {\n- b.withEd(function() {\n- var c = b.getEditor();\n- c.isDirty() || b.setContent(c, a)\n- })\n- }, this)\n- }\n- return this.value\n- },\n- setContent: function(a, b) {\n- a.setContent(null === b || void 0 === b ? \"\" : b, {\n- format: \"raw\"\n- });\n- a.startContent = a.getContent({\n- format: \"raw\"\n- })\n- },\n- getValue: function(a) {\n- if (a =\n- this.getEditor()) {\n- if (!this.rendered || !a.initialized) return Ext.value(this.value, \"\");\n- a = a.getContent();\n- if (a === this.emptyText || void 0 === a) a = \"\";\n- return a\n- }\n- },\n- getRawValue: function() {\n- var a = this.getEditor();\n- if (a) {\n- if (!this.rendered || !a.initialized) return Ext.value(this.value, \"\");\n- a = a.getContent({\n- format: \"raw\"\n- });\n- a === this.emptyText && (a = \"\");\n- return a\n+$jscomp.findInternal = function(a, b, c) {\n+ a instanceof String && (a = String(a));\n+ for (var d = a.length, g = 0; g < d; g++) {\n+ var l = a[g];\n+ if (b.call(c, l, g, a)) return {\n+ i: g,\n+ v: l\n }\n- },\n- initValue: function() {\n- if (this.rendered)\n- if (void 0 !== this.value) this.setValue(this.value);\n- else {\n- var a = this.getEl().value;\n- a && this.setValue(a)\n- }\n- else Ext.ux.TinyMCE.superclass.initValue.call(this)\n- },\n- focus: function(a, b) {\n- var c = this;\n- if (c.isDisabled()) return c;\n- if (b) return isNaN(b) && (b = 10), setTimeout(function() {\n- c.focus.call(c, a, !1)\n- }, b), c;\n- if (!c.wysiwygIntialized) return Ext.ux.form.TinyMCETextArea.superclass.focus.call(this, arguments);\n- var d = c.getEditor();\n- if (d && !d.isHidden() && d.initialized) Ext.ux.form.TinyMCETextArea.superclass.focus.call(this, arguments), d.focus();\n- else return this.withEd(function() {\n- d.focus()\n- }), Ext.ux.form.TinyMCETextArea.superclass.focus.call(this, arguments);\n- return c\n- },\n- enable: function() {\n- var a =\n- Ext.ux.form.TinyMCETextArea.superclass.enable.call(this, arguments);\n- if (!a) return a;\n- if (a = this.getEditor()) a.theme.panel.find(\"*\").disabled(!1), this.getEditorBody().setAttribute(\"contenteditable\", !0);\n- return this\n- },\n- disable: function(a) {\n- var b = this,\n- c = Ext.ux.form.TinyMCETextArea.superclass.disable.call(this, arguments);\n- if (!c) return c;\n- b.withEd(function() {\n- b.getEditor().theme.panel.find(\"*\").disabled(!0);\n- this.getEditorBody().setAttribute(\"contenteditable\", !1)\n- });\n- return b\n- },\n- hide: function() {\n- var a = this;\n- Ext.ux.form.TinyMCETextArea.superclass.hide.call(this,\n- arguments);\n- var b = a.getEditor();\n- b && b.iframeElement ? b.hide() : a.withEd(function() {\n- a.getEditor().hide()\n- });\n- return a\n- },\n- show: function() {\n- Ext.ux.form.TinyMCETextArea.superclass.show.call(this, arguments);\n- var a = this.getEditor();\n- a && a.show();\n- return this\n }\n-});\n-Ext.reg(\"zarafa.tinymcetextarea\", Ext.ux.form.TinyMCETextArea);\n+ return {\n+ i: -1,\n+ v: void 0\n+ }\n+};\n+$jscomp.polyfill(\"Array.prototype.find\", function(a) {\n+ return a ? a : function(a, c) {\n+ return $jscomp.findInternal(this, a, c).v\n+ }\n+}, \"es6-impl\", \"es3\");\n (function(a) {\n \"object\" === typeof exports && \"undefined\" !== typeof module ? module.exports = a() : \"function\" === typeof define && define.amd ? define([], a) : (\"undefined\" !== typeof window ? window : \"undefined\" !== typeof global ? global : \"undefined\" !== typeof self ? self : this).Tokenizr = a()\n })(function() {\n return function() {\n function a(b, c, d) {\n- function g(l, p) {\n- if (!c[l]) {\n- if (!b[l]) {\n+ function g(k, p) {\n+ if (!c[k]) {\n+ if (!b[k]) {\n var m = \"function\" == typeof require && require;\n- if (!p && m) return m(l, !0);\n- if (h) return h(l, !0);\n- m = Error(\"Cannot find module '\" + l + \"'\");\n+ if (!p && m) return m(k, !0);\n+ if (l) return l(k, !0);\n+ m = Error(\"Cannot find module '\" + k + \"'\");\n throw m.code = \"MODULE_NOT_FOUND\",\n m;\n }\n- m = c[l] = {\n+ m = c[k] = {\n exports: {}\n };\n- b[l][0].call(m.exports, function(a) {\n- return g(b[l][1][a] || a)\n+ b[k][0].call(m.exports, function(a) {\n+ return g(b[k][1][a] || a)\n }, m, m.exports, a, b, c, d)\n }\n- return c[l].exports\n+ return c[k].exports\n }\n- for (var h = \"function\" == typeof require && require, q = 0; q < d.length; q++) g(d[q]);\n+ for (var l = \"function\" == typeof require && require, q = 0; q < d.length; q++) g(d[q]);\n return g\n }\n return a\n }()({\n 1: [function(a, b, c) {\n function d(a) {\n d = \"function\" === typeof Symbol && \"symbol\" === typeof Symbol.iterator ? function(a) {\n@@ -445,58 +192,58 @@\n writable: !0,\n configurable: !0\n }\n });\n e && p(a, e)\n }\n \n- function h(a) {\n+ function l(a) {\n var e = \"function\" === typeof Map ? new Map : void 0;\n- h = function(a) {\n- function b() {\n- return l(a, arguments, m(this).constructor)\n+ l = function(a) {\n+ function f() {\n+ return k(a, arguments, m(this).constructor)\n }\n if (null === a || -1 === Function.toString.call(a).indexOf(\"[native code]\")) return a;\n if (\"function\" !== typeof a) throw new TypeError(\"Super expression must either be null or a function\");\n if (\"undefined\" !== typeof e) {\n if (e.has(a)) return e.get(a);\n- e.set(a, b)\n+ e.set(a, f)\n }\n- b.prototype = Object.create(a.prototype, {\n+ f.prototype = Object.create(a.prototype, {\n constructor: {\n- value: b,\n+ value: f,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n });\n- return p(b, a)\n+ return p(f, a)\n };\n- return h(a)\n+ return l(a)\n }\n \n function q() {\n if (\"undefined\" === typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;\n if (\"function\" === typeof Proxy) return !0;\n try {\n return Date.prototype.toString.call(Reflect.construct(Date, [], function() {})), !0\n } catch (z) {\n return !1\n }\n }\n \n- function l(a, e, b) {\n- l = q() ? Reflect.construct : function(a, e, b) {\n- var k = [null];\n- k.push.apply(k, e);\n- a = new(Function.bind.apply(a, k));\n- b && p(a, b.prototype);\n+ function k(a, e, f) {\n+ k = q() ? Reflect.construct : function(a, e, f) {\n+ var b = [null];\n+ b.push.apply(b, e);\n+ a = new(Function.bind.apply(a, b));\n+ f && p(a, f.prototype);\n return a\n };\n- return l.apply(null, arguments)\n+ return k.apply(null, arguments)\n }\n \n function p(a, e) {\n p = Object.setPrototypeOf || function(a, e) {\n a.__proto__ = e;\n return a\n };\n@@ -511,69 +258,69 @@\n }\n \n function r(a, e) {\n if (!(a instanceof e)) throw new TypeError(\"Cannot call a class as a function\");\n }\n \n function w(a, e) {\n- for (var b = 0; b < e.length; b++) {\n- var c = e[b];\n- c.enumerable =\n- c.enumerable || !1;\n- c.configurable = !0;\n- \"value\" in c && (c.writable = !0);\n- Object.defineProperty(a, c.key, c)\n+ for (var f = 0; f < e.length; f++) {\n+ var b = e[f];\n+ b.enumerable =\n+ b.enumerable || !1;\n+ b.configurable = !0;\n+ \"value\" in b && (b.writable = !0);\n+ Object.defineProperty(a, b.key, b)\n }\n }\n \n function t(a, e, b) {\n e && w(a.prototype, e);\n b && w(a, b);\n return a\n }\n var x = function(a, e) {\n var b = a.length,\n c = e - 20;\n 0 > c && (c = 0);\n var d = e + 20;\n d > b && (d = b);\n- var f = function(a) {\n+ var h = function(a) {\n return a.charCodeAt(0).toString(16).toUpperCase()\n },\n n = function(a, e, b) {\n return a.substr(e, b).replace(/\\\\/g, \"\\\\\\\\\").replace(/\\x08/g, \"\\\\b\").replace(/\\t/g, \"\\\\t\").replace(/\\n/g, \"\\\\n\").replace(/\\f/g, \"\\\\f\").replace(/\\r/g, \"\\\\r\").replace(/[\\x00-\\x07\\x0B\\x0E\\x0F]/g,\n function(a) {\n- return \"\\\\x0\" + f(a)\n+ return \"\\\\x0\" + h(a)\n }).replace(/[\\x10-\\x1F\\x80-\\xFF]/g, function(a) {\n- return \"\\\\x\" + f(a)\n+ return \"\\\\x\" + h(a)\n }).replace(/[\\u0100-\\u0FFF]/g, function(a) {\n- return \"\\\\u0\" + f(a)\n+ return \"\\\\u0\" + h(a)\n }).replace(/[\\u1000-\\uFFFF]/g, function(a) {\n- return \"\\\\u\" + f(a)\n+ return \"\\\\u\" + h(a)\n })\n };\n return {\n prologTrunc: 0 < c,\n prologText: n(a, c, e - c),\n tokenText: n(a, e, 1),\n epilogText: n(a, e + 1, d - (e + 1)),\n epilogTrunc: d < b\n }\n },\n u = function() {\n function a(e, b, c) {\n- var k = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : 0,\n+ var f = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : 0,\n d = 4 < arguments.length && void 0 !== arguments[4] ? arguments[4] : 0,\n n = 5 < arguments.length && void 0 !==\n arguments[5] ? arguments[5] : 0;\n r(this, a);\n this.type = e;\n this.value = b;\n this.text = c;\n- this.pos = k;\n+ this.pos = f;\n this.line = d;\n this.column = n\n }\n t(a, [{\n key: \"toString\",\n value: function() {\n return \"\")\n@@ -584,41 +331,41 @@\n return a !== this.type || 2 === arguments.length && b !== this.value ? !1 : !0\n }\n }]);\n return a\n }(),\n v = function(a) {\n function e(a,\n- b, c, f, n) {\n- var k;\n+ b, c, h, n) {\n+ var f;\n r(this, e);\n- k = m(e).call(this, a);\n- if (!k || \"object\" !== d(k) && \"function\" !== typeof k) {\n+ f = m(e).call(this, a);\n+ if (!f || \"object\" !== d(f) && \"function\" !== typeof f) {\n if (void 0 === this) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n- k = this\n+ f = this\n }\n- k.name = \"ParsingError\";\n- k.message = a;\n- k.pos = b;\n- k.line = c;\n- k.column = f;\n- k.input = n;\n- return k\n+ f.name = \"ParsingError\";\n+ f.message = a;\n+ f.pos = b;\n+ f.line = c;\n+ f.column = h;\n+ f.input = n;\n+ return f\n }\n g(e, a);\n t(e, [{\n key: \"toString\",\n value: function() {\n for (var a = x(this.input, this.pos), e = \"line \".concat(this.line, \" (column \").concat(this.column, \"): \"), b = \"\", c = 0; c < e.length + a.prologText.length; c++) b += \" \";\n return \"Parsing Error: \" +\n this.message + \"\\n\" + e + a.prologText + a.tokenText + a.epilogText + \"\\n\" + b + \"^\"\n }\n }]);\n return e\n- }(h(Error)),\n+ }(l(Error)),\n y = function() {\n function a(e) {\n r(this, a);\n this._tokenizr = e;\n this._data = {};\n this._ignore = this._reject = this._repeat = !1;\n this._match = null\n@@ -895,59 +642,59 @@\n name: e\n });\n return this\n }\n }, {\n key: \"_progress\",\n value: function(a, b) {\n- for (var c = this._line, e = this._column, d = this._input, k = a; k < b; k++) {\n- var g = d.charAt(k);\n+ for (var e = this._line, c = this._column, d = this._input, f = a; f < b; f++) {\n+ var g = d.charAt(f);\n \"\\r\" === g ? this._column = 1 : \"\\n\" === g ? (this._line++, this._column = 1) : \"\\t\" === g ? this._column += 8 - this._column % 8 : this._column++\n }\n- this._log(\" PROGRESS: characters: \".concat(b - a, \", \") + \"from: , \") + \"to: \"))\n+ this._log(\" PROGRESS: characters: \".concat(b - a, \", \") + \"from: , \") + \"to: \"))\n }\n }, {\n key: \"_tokenize\",\n value: function() {\n var a = this,\n b = function() {\n a._eof || (null !== a._finish && a._finish.call(a._ctx, a._ctx), a._eof = !0, a._pending.push(new u(\"EOF\", \"\", \"\", a._pos, a._line, a._column)))\n };\n if (this._stopped || this._pos >= this._len) b();\n else {\n for (var c = !0; c;) {\n c = !1;\n if (this._debug) {\n var d = x(this._input, this._pos),\n- f = Object.keys(this._tag).map(function(a) {\n+ h = Object.keys(this._tag).map(function(a) {\n return \"#\".concat(a)\n }).join(\" \");\n this._log(\"INPUT: state: <\".concat(this._state[this._state.length -\n- 1], \">, tags: <\").concat(f, \">, text: \") + (d.prologTrunc ? \"...\" : '\"') + \"\".concat(d.prologText, \"<\").concat(d.tokenText, \">\").concat(d.epilogText) + (d.epilogTrunc ? \"...\" : '\"') + \", at: \"))\n+ 1], \">, tags: <\").concat(h, \">, text: \") + (d.prologTrunc ? \"...\" : '\"') + \"\".concat(d.prologText, \"<\").concat(d.tokenText, \">\").concat(d.epilogText) + (d.epilogTrunc ? \"...\" : '\"') + \", at: \"))\n }\n for (d = 0; d < this._rules.length; d++) {\n- this._debug && (f = this._rules[d].state.map(function(a) {\n+ this._debug && (h = this._rules[d].state.map(function(a) {\n var b = a.state;\n 0 < a.tags.length && (b += \" \" + a.tags.map(function(a) {\n return \"#\".concat(a)\n }).join(\" \"));\n return b\n- }).join(\", \"), this._log(\" RULE: state(s): <\".concat(f, \">, \") + \"pattern: \".concat(this._rules[d].pattern.source)));\n- var f = !1,\n+ }).join(\", \"), this._log(\" RULE: state(s): <\".concat(h, \">, \") + \"pattern: \".concat(this._rules[d].pattern.source)));\n+ var h = !1,\n g = this._rules[d].state.map(function(a) {\n return a.state\n }),\n- h = g.indexOf(\"*\");\n- 0 > h && (h = g.indexOf(this._state[this._state.length - 1]));\n- 0 <= h && (f = !0, g = this._rules[d].state[h].tags, g = g.filter(function(b) {\n+ k = g.indexOf(\"*\");\n+ 0 > k && (k = g.indexOf(this._state[this._state.length - 1]));\n+ 0 <= k && (h = !0, g = this._rules[d].state[k].tags, g = g.filter(function(b) {\n return !a._tag[b]\n- }), 0 < g.length && (f = !1));\n- if (f && (this._rules[d].pattern.lastIndex = this._pos, f = this._rules[d].pattern.exec(this._input), this._rules[d].pattern.lastIndex = this._pos, null !== (f = this._rules[d].pattern.exec(this._input)) && f.index === this._pos && (this._debug && this._log(\" MATCHED: \" + JSON.stringify(f)),\n- this._ctx._match = f, this._ctx._repeat = !1, this._ctx._reject = !1, this._ctx._ignore = !1, null !== this._before && this._before.call(this._ctx, this._ctx, f, this._rules[d]), this._rules[d].action.call(this._ctx, this._ctx, f), null !== this._after && this._after.call(this._ctx, this._ctx, f, this._rules[d]), !this._ctx._reject)))\n+ }), 0 < g.length && (h = !1));\n+ if (h && (this._rules[d].pattern.lastIndex = this._pos, h = this._rules[d].pattern.exec(this._input), this._rules[d].pattern.lastIndex = this._pos, null !== (h = this._rules[d].pattern.exec(this._input)) && h.index === this._pos && (this._debug && this._log(\" MATCHED: \" + JSON.stringify(h)),\n+ this._ctx._match = h, this._ctx._repeat = !1, this._ctx._reject = !1, this._ctx._ignore = !1, null !== this._before && this._before.call(this._ctx, this._ctx, h, this._rules[d]), this._rules[d].action.call(this._ctx, this._ctx, h), null !== this._after && this._after.call(this._ctx, this._ctx, h, this._rules[d]), !this._ctx._reject)))\n if (this._ctx._repeat) {\n c = !0;\n break\n } else if (this._ctx._ignore) {\n this._progress(this._pos, this._rules[d].pattern.lastIndex);\n this._pos = this._rules[d].pattern.lastIndex;\n if (this._pos >= this._len) {\n@@ -1050,15 +797,15 @@\n this._transaction.shift();\n this._log(\"ROLLBACK: level \".concat(this._transaction.length));\n return this\n }\n }, {\n key: \"alternatives\",\n value: function() {\n- for (var a = null, b = [], c = arguments.length, d = Array(c), f = 0; f < c; f++) d[f] = arguments[f];\n+ for (var a = null, b = [], c = arguments.length, d = Array(c), g = 0; g < c; g++) d[g] = arguments[g];\n for (c = 0; c < d.length; c++) try {\n this.begin();\n a = d[c].call(this);\n this.commit();\n break\n } catch (n) {\n this._log(\"EXCEPTION: \".concat(n.toString())), b.push({\n@@ -1076,8 +823,261 @@\n }();\n a.Token = u;\n a.ParsingError = v;\n a.ActionContext = y;\n b.exports = a\n }, {}]\n }, {}, [1])(1)\n-}); //# sourceMappingURL=ux-thirdparty.js.map\n+});\n+Ext.ux.form.TinyMCETextArea = Ext.extend(Ext.form.TextArea, {\n+ wysiwygIntialized: !1,\n+ intializationInProgress: !1,\n+ lastHeight: null,\n+ lastFrameHeight: null,\n+ noWysiwyg: !1,\n+ tinyMCEConfig: {},\n+ editor: void 0,\n+ disableEditor: !1,\n+ editorOwnerWindow: void 0,\n+ constructor: function(a) {\n+ a = a || {};\n+ Ext.applyIf(a, {\n+ hideMode: \"offsets\"\n+ });\n+ Ext.applyIf(a.tinyMCEConfig, {\n+ hideMode: \"offsets\",\n+ mode: \"exact\",\n+ resize: !1\n+ });\n+ Ext.ux.form.TinyMCETextArea.superclass.constructor.call(this, a)\n+ },\n+ getEditorOwnerWindow: function() {\n+ if (Ext.isDefined(this.editorOwnerWindow)) return this.editorOwnerWindow;\n+ var a = Ext.getDom(this.getInputId());\n+ return this.editorOwnerWindow = a ? a.ownerDocument.defaultView : void 0\n+ },\n+ afterRender: function() {\n+ var a = this;\n+ Ext.ux.form.TinyMCETextArea.superclass.afterRender.call(this, arguments);\n+ this.initEditor();\n+ a.on(\"blur\", function(b, c, d) {\n+ b = document.getElementById(a.getInputId());\n+ a.wysiwygIntialized ? (c = a.getEditor()) && c.isHidden() && (b && (a.positionBeforeBlur = {\n+ start: b.selectionStart,\n+ end: b.selectionEnd\n+ }), c.load()) : b && (a.positionBeforeBlur = {\n+ start: b.selectionStart,\n+ end: b.selectionEnd\n+ })\n+ },\n+ a);\n+ a.on(\"resize\", function(b, c, d, g, l, q) {\n+ a.syncEditorHeight(d)\n+ }, a)\n+ },\n+ syncEditorHeight: function(a) {\n+ this.lastHeight = a;\n+ if (this.wysiwygIntialized && this.rendered) {\n+ var b = this.getEditorOwnerWindow().tinymce.get(this.getInputId());\n+ if (b && b.iframeElement && !b.isHidden()) {\n+ var b = Ext.get(b.iframeElement),\n+ c = b.up(\".mce-edit-area\"),\n+ c = c.up(\".mce-container-body\"),\n+ d = c.down(\".mce-toolbar-grp\");\n+ d && (a -= d.getHeight());\n+ (d = c.down(\".mce-menubar\")) && (a -= d.getHeight());\n+ (c = c.down(\".mce-statusbar\")) && (a -= c.getHeight());\n+ this.lastFrameHeight =\n+ a - 3;\n+ b.setHeight(a - 3)\n+ }\n+ }\n+ },\n+ withEd: function(a) {\n+ var b = this,\n+ c = this.getEditor();\n+ if (c)\n+ if (c.initialized) c.initialized && (b.editor = c, a.call(b));\n+ else this.on(\"initialized\", function() {\n+ b.withEd(a)\n+ }, b)\n+ },\n+ getInputId: function() {\n+ return this.inputId || (this.inputId = this.id)\n+ },\n+ isDisabled: function() {\n+ return this.disabled\n+ },\n+ insertAtCursor: function(a) {\n+ var b = this.getEditor();\n+ b.execCommand(\"mceInsertContent\", !1, a);\n+ b.undoManager.clear()\n+ },\n+ initEditor: function() {\n+ var a = this;\n+ if (!(a.noWysiwyg || a.intializationInProgress || a.wysiwygIntialized)) {\n+ a.intializationInProgress = !0;\n+ a.tinyMCEConfig.selector = \"textarea#\" + a.getInputId();\n+ a.tinyMCEConfig.height = a.lastFrameHeight ? a.lastFrameHeight : 30;\n+ var b = null;\n+ a.tinyMCEConfig.setup && (b = a.tinyMCEConfig.setup);\n+ a.tinyMCEConfig.setup = function(c) {\n+ Ext.isDefined(a.editor) || (a.editor = c);\n+ var d = a.getEditorOwnerWindow(),\n+ g = d.tinymce.DOM.loadCSS,\n+ l = [];\n+ d.tinymce.DOM.loadCSS = function(b) {\n+ b || (b = \"\");\n+ Ext.each(b.split(\",\"), function(b) {\n+ if (!Ext.isEmpty(b)) {\n+ l.push(b);\n+ var c = d.document.createElement(\"link\");\n+ d.document.head.appendChild(c);\n+ c.addEventListener(\"load\",\n+ function() {\n+ l.splice(l.indexOf(b), 1);\n+ d.document.head.removeChild(c);\n+ a.fireEvent(\"stylesheetloaded\", b)\n+ });\n+ c.addEventListener(\"error\", function() {\n+ l.splice(l.indexOf(b), 1);\n+ a.fireEvent(\"stylesheetloaded\", b)\n+ });\n+ c.setAttribute(\"rel\", \"stylesheet\");\n+ c.setAttribute(\"type\", \"text/css\");\n+ c.setAttribute(\"href\", b)\n+ }\n+ });\n+ return g.apply(this, arguments)\n+ };\n+ c.on(\"init\", function(b) {\n+ function k() {\n+ if (0 < l.length) a.on(\"stylesheetloaded\", function() {\n+ k()\n+ }, this);\n+ else a.syncEditorHeight(a.lastHeight || a.height)\n+ }\n+ d.tinymce.DOM.loadCSS = g;\n+ a.wysiwygIntialized = !0;\n+ a.intializationInProgress = !1;\n+ (a.disableEditor || a.isDisabled()) && a.disable();\n+ a.fireEvent(\"initialized\", a, c, {});\n+ (a.lastHeight || a.height) && k()\n+ });\n+ b && b(c)\n+ };\n+ a.getEditorOwnerWindow().tinymce.init(a.tinyMCEConfig);\n+ a.intializationInProgress = !1;\n+ a.wysiwygIntialized = !0\n+ }\n+ },\n+ getEditor: function() {\n+ var a = this.getEditorOwnerWindow();\n+ return a ? a.tinymce.get(this.getInputId()) : void 0\n+ },\n+ removeEditor: function() {\n+ if (this.intializationInProgress || !this.wysiwygIntialized) return this;\n+ var a = this.getEditor();\n+ a && (a.save(), a.destroy(!1));\n+ this.wysiwygIntialized = !1;\n+ return this\n+ },\n+ setValue: function(a) {\n+ var b = this;\n+ if (b.wysiwygIntialized && this.value !== a && (this.value = a, this.rendered)) {\n+ var c = b.getEditor();\n+ if (c) b.setContent(c, a);\n+ else b.getEditorOwnerWindow().tinymce.EditorManager.on(\"AddEditor\", function() {\n+ b.withEd(function() {\n+ var c = b.getEditor();\n+ c.isDirty() || b.setContent(c, a)\n+ })\n+ }, this)\n+ }\n+ return this.value\n+ },\n+ setContent: function(a, b) {\n+ a.setContent(null === b || void 0 === b ? \"\" : b, {\n+ format: \"raw\"\n+ });\n+ a.startContent = a.getContent({\n+ format: \"raw\"\n+ })\n+ },\n+ getValue: function(a) {\n+ if (a =\n+ this.getEditor()) {\n+ if (!this.rendered || !a.initialized) return Ext.value(this.value, \"\");\n+ a = a.getContent();\n+ if (a === this.emptyText || void 0 === a) a = \"\";\n+ return a\n+ }\n+ },\n+ getRawValue: function() {\n+ var a = this.getEditor();\n+ if (a) {\n+ if (!this.rendered || !a.initialized) return Ext.value(this.value, \"\");\n+ a = a.getContent({\n+ format: \"raw\"\n+ });\n+ a === this.emptyText && (a = \"\");\n+ return a\n+ }\n+ },\n+ initValue: function() {\n+ if (this.rendered)\n+ if (void 0 !== this.value) this.setValue(this.value);\n+ else {\n+ var a = this.getEl().value;\n+ a && this.setValue(a)\n+ }\n+ else Ext.ux.TinyMCE.superclass.initValue.call(this)\n+ },\n+ focus: function(a, b) {\n+ var c = this;\n+ if (c.isDisabled()) return c;\n+ if (b) return isNaN(b) && (b = 10), setTimeout(function() {\n+ c.focus.call(c, a, !1)\n+ }, b), c;\n+ if (!c.wysiwygIntialized) return Ext.ux.form.TinyMCETextArea.superclass.focus.call(this, arguments);\n+ var d = c.getEditor();\n+ if (d && !d.isHidden() && d.initialized) Ext.ux.form.TinyMCETextArea.superclass.focus.call(this, arguments), d.focus();\n+ else return this.withEd(function() {\n+ d.focus()\n+ }), Ext.ux.form.TinyMCETextArea.superclass.focus.call(this, arguments);\n+ return c\n+ },\n+ enable: function() {\n+ var a =\n+ Ext.ux.form.TinyMCETextArea.superclass.enable.call(this, arguments);\n+ if (!a) return a;\n+ if (a = this.getEditor()) a.theme.panel.find(\"*\").disabled(!1), this.getEditorBody().setAttribute(\"contenteditable\", !0);\n+ return this\n+ },\n+ disable: function(a) {\n+ var b = this,\n+ c = Ext.ux.form.TinyMCETextArea.superclass.disable.call(this, arguments);\n+ if (!c) return c;\n+ b.withEd(function() {\n+ b.getEditor().theme.panel.find(\"*\").disabled(!0);\n+ this.getEditorBody().setAttribute(\"contenteditable\", !1)\n+ });\n+ return b\n+ },\n+ hide: function() {\n+ var a = this;\n+ Ext.ux.form.TinyMCETextArea.superclass.hide.call(this,\n+ arguments);\n+ var b = a.getEditor();\n+ b && b.iframeElement ? b.hide() : a.withEd(function() {\n+ a.getEditor().hide()\n+ });\n+ return a\n+ },\n+ show: function() {\n+ Ext.ux.form.TinyMCETextArea.superclass.show.call(this, arguments);\n+ var a = this.getEditor();\n+ a && a.show();\n+ return this\n+ }\n+});\n+Ext.reg(\"zarafa.tinymcetextarea\", Ext.ux.form.TinyMCETextArea); //# sourceMappingURL=ux-thirdparty.js.map\n"}]}]}]}]}]}