Comments – wpDiscuz - Version 7.1.0

Version Description

Download this release

Release Info

Developer taron96
Plugin Icon 128x128 Comments – wpDiscuz
Version 7.1.0
Comparing to
See all releases

Code changes from version 7.0.10 to 7.1.0

assets/js/wpd-editor.js CHANGED
@@ -45,11 +45,6 @@ class wpdEditorCounter {
45
  } else if (this.container) {
46
  this.container.remove();
47
  }
48
- // if (_length < this.minCount) {
49
- // this.submit.disabled = true;
50
- // } else {
51
- // this.submit.disabled = false;
52
- // }
53
  }
54
  }
55
 
@@ -78,6 +73,7 @@ class wpdEditorLink extends Link {
78
 
79
  }
80
  Quill.register(wpdEditorLink, true);
 
81
  class WpdEditor {
82
  constructor() {
83
  this.editorWraperPrefix = 'wpd-editor-wraper';
@@ -152,6 +148,16 @@ class WpdEditor {
152
  return delta;
153
  }
154
  });
 
 
 
 
 
 
 
 
 
 
155
  document.querySelectorAll(`${toolbar} button`).forEach(
156
  (button) => {
157
  button.onclick = () => {
45
  } else if (this.container) {
46
  this.container.remove();
47
  }
 
 
 
 
 
48
  }
49
  }
50
 
73
 
74
  }
75
  Quill.register(wpdEditorLink, true);
76
+
77
  class WpdEditor {
78
  constructor() {
79
  this.editorWraperPrefix = 'wpd-editor-wraper';
148
  return delta;
149
  }
150
  });
151
+
152
+ editor.clipboard.addMatcher('img', (node, delta) => {
153
+ let Delta = Quill.import('delta');
154
+ let src = node.getAttribute("src");
155
+ if (/^data:image\/.+;base64/.test(src)) {
156
+ return new Delta([{insert: ''}]);
157
+ } else {
158
+ return new Delta([{insert: src}]);
159
+ }
160
+ });
161
  document.querySelectorAll(`${toolbar} button`).forEach(
162
  (button) => {
163
  button.onclick = () => {
assets/js/wpd-editor.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _get(t,e,i){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=_superPropBase(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function _superPropBase(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_getPrototypeOf(t)););return t}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _createSuper(t){var e=_isNativeReflectConstruct();return function(){var i,n=_getPrototypeOf(t);if(e){var r=_getPrototypeOf(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return _possibleConstructorReturn(this,i)}}function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?_assertThisInitialized(t):e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _instanceof(t,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _classCallCheck(t,e){if(!_instanceof(t,e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _createClass(t,e,i){return e&&_defineProperties(t.prototype,e),i&&_defineProperties(t,i),t}var wpdEditorCounter=function(){function t(e,i){_classCallCheck(this,t),this.quill=e,this.options=i,this.maxCount=i.maxcount,this.minCount=i.mincount,this.container=document.getElementById("wpd-editor-char-counter-"+i.uniqueID),this.submit=document.getElementById("wpd-field-submit-"+i.uniqueID),e.on("editor-change",this.update.bind(this)),this.update()}return _createClass(t,[{key:"calculate",value:function(){var t=this.quill.getText().length,e=this.quill.container.id,i=document.querySelectorAll("#".concat(e," .ql-editor img"));return i.length&&i.forEach(function(e){null!==e.src.match(/https\:\/\/s\.w\.org\/images\/core\/emoji/gi)?t+=e.alt.length:e.classList.contains("wpdem-sticker")?t+=e.alt.length:t+=e.src.length}),t}},{key:"update",value:function(){var t=this.calculate(),e=t-1;if(this.maxCount>0&&t>=this.maxCount&&this.quill.deleteText(this.maxCount,t),this.maxCount>0){var i=this.maxCount-e;this.container.innerText=i>=0?i:0,t+10>this.maxCount?this.container.classList.add("error"):this.container.classList.remove("error")}else this.container&&this.container.remove()}}]),t}();Quill.register("modules/counter",wpdEditorCounter);var Link=Quill.import("formats/link"),wpdEditorLink=function(t){_inherits(i,Link);var e=_createSuper(i);function i(){return _classCallCheck(this,i),e.apply(this,arguments)}return _createClass(i,null,[{key:"create",value:function(t){var e=_get(_getPrototypeOf(i),"create",this).call(this,t);t=this.sanitize(t),e.setAttribute("href",t);var n=location.protocol+"//"+location.hostname;return(t.startsWith(n)||"#"===t.charAt(0)||"/"===t.charAt(0)&&"/"!==t.charAt(1))&&e.removeAttribute("target"),e}},{key:"sanitize",value:function(t){var e=_get(_getPrototypeOf(i),"sanitize",this).call(this,t),n=e.slice(0,e.indexOf(":"));return"#"!==e.charAt(0)&&"/"!==e.charAt(0)&&-1===this.PROTOCOL_WHITELIST.indexOf(n)&&(e="http://"+t),e}}]),i}();Quill.register(wpdEditorLink,!0);var WpdEditor=function(){function t(){_classCallCheck(this,t),this.editorWraperPrefix="wpd-editor-wraper",this.textEditorContainer="ql-texteditor",this.textEditorPrefix="wc-textarea",this.editorToolbarPrefix="wpd-editor-toolbar",this.sourceCodeButtonName="sourcecode",this.spoiler="spoiler",this.spoilerPromtTitle=wpdiscuzAjaxObj.wc_spoiler_title,this._container="",this._uniqueid="",this.currentEditor=null,this._editors=new Map,this._handlers=new Map,this._initDefaults()}return _createClass(t,[{key:"addButtonEventHandler",value:function(t,e){this._handlers.set(t,e)}},{key:"createEditor",value:function(t){var e=this;if(this.container=t,this._editors.has(this.uniqueid))this.currentEditor=this._editors.get(this.uniqueid);else{var i="#".concat(this.editorToolbarPrefix,"-").concat(this.uniqueid);wpdiscuzEditorOptions.modules.toolbar=i,wpdiscuzEditorOptions.modules.counter.uniqueID=this.uniqueid;var n=new Quill(this.container,wpdiscuzEditorOptions);n.on("editor-change",function(t){null!==(arguments.length<=1?void 0:arguments[1])&&(e.currentEditor=n,e.container=n.container.id)}),n.clipboard.addMatcher("a",function(t,e){return t.getAttribute("href")===t.innerHTML?new(Quill.import("delta"))([{insert:t.innerHTML}]):e}),document.querySelectorAll("".concat(i," button")).forEach(function(t){t.onclick=function(){e.currentEditor=n,e.container=n.container.id;var i=t.dataset.wpde_button_name;void 0!==i&&"string"==typeof i&&""!==i.trim()&&e._handlers.has(i)&&e._handlers.get(i)(e.currentEditor,e.uniqueid)}}),this._bindTextEditor(n),this._editors.set(this.uniqueid,n),document.getElementById("".concat(this.editorWraperPrefix,"-").concat(this.uniqueid)).style.display=""}return this.currentEditor}},{key:"removeEditor",value:function(t){this.container=t,this._editors.has(this.uniqueid)&&this._editors.delete(this.uniqueid)}},{key:"_bindTextEditor",value:function(t){var e="".concat(this.textEditorPrefix,"-").concat(this.uniqueid),i=document.getElementById(e);i&&(i.style.cssText="display: none;",t.addContainer(this.textEditorContainer).appendChild(i)),this.currentEditor=t}},{key:"_findUniqueId",value:function(){return this.container.substring(this.container.lastIndexOf("-")+1)}},{key:"_initDefaults",value:function(){var t=this;this.addButtonEventHandler(this.sourceCodeButtonName,function(e){document.getElementById("".concat(t.textEditorPrefix,"-").concat(t.uniqueid));var i=document.getElementById("wpd-editor-source-code-wrapper-bg"),n=document.getElementById("wpd-editor-source-code-wrapper"),r=document.getElementById("wpd-editor-source-code"),o=document.getElementById("wpd-editor-uid");i.style.display="block",n.style.display="block",o.value=e.container.id,r.value=e.root.innerHTML}),this.addButtonEventHandler(this.spoiler,function(e){var i=prompt(t.spoilerPromtTitle);if(null!==i){var n=' [spoiler title="'.concat(i,'"] '),r=e.getSelection();null===r&&(r={index:e.getLength()-1,length:0}),0===r.length?(e.insertText(r.index,n+" [/spoiler] ",Quill.sources.USER),e.setSelection(r.index+n.length,Quill.sources.USER)):(e.insertText(r.index,n),e.insertText(r.index+n.length+r.length," [/spoiler] ",Quill.sources.USER),e.setSelection(r.index+n.length+r.length+" [/spoiler] ".length,Quill.sources.USER))}})}},{key:"uniqueid",set:function(t){""!==t&&"string"==typeof t?this._uniqueid=t:""===t?this._uniqueid=this._findUniqueId():console.error("Incorrect uniqueid.")},get:function(){return this._uniqueid}},{key:"container",set:function(t){""!==t&&"string"==typeof t?(this._container=t,this.uniqueid=this._findUniqueId()):console.error("Incorrect uniqueid.")},get:function(){return this._container}}]),t}();
1
+ "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _instanceof(t,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _get(t,e,i){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=_superPropBase(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function _superPropBase(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_getPrototypeOf(t)););return t}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _createSuper(t){var e=_isNativeReflectConstruct();return function(){var i,n=_getPrototypeOf(t);if(e){var r=_getPrototypeOf(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return _possibleConstructorReturn(this,i)}}function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?_assertThisInitialized(t):e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _classCallCheck(t,e){if(!_instanceof(t,e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _createClass(t,e,i){return e&&_defineProperties(t.prototype,e),i&&_defineProperties(t,i),t}var wpdEditorCounter=function(){function t(e,i){_classCallCheck(this,t),this.quill=e,this.options=i,this.maxCount=i.maxcount,this.minCount=i.mincount,this.container=document.getElementById("wpd-editor-char-counter-"+i.uniqueID),this.submit=document.getElementById("wpd-field-submit-"+i.uniqueID),e.on("editor-change",this.update.bind(this)),this.update()}return _createClass(t,[{key:"calculate",value:function(){var t=this.quill.getText().length,e=this.quill.container.id,i=document.querySelectorAll("#".concat(e," .ql-editor img"));return i.length&&i.forEach(function(e){null!==e.src.match(/https\:\/\/s\.w\.org\/images\/core\/emoji/gi)?t+=e.alt.length:e.classList.contains("wpdem-sticker")?t+=e.alt.length:t+=e.src.length}),t}},{key:"update",value:function(){var t=this.calculate(),e=t-1;if(this.maxCount>0&&t>=this.maxCount&&this.quill.deleteText(this.maxCount,t),this.maxCount>0){var i=this.maxCount-e;this.container.innerText=i>=0?i:0,t+10>this.maxCount?this.container.classList.add("error"):this.container.classList.remove("error")}else this.container&&this.container.remove()}}]),t}();Quill.register("modules/counter",wpdEditorCounter);var Link=Quill.import("formats/link"),wpdEditorLink=function(t){_inherits(i,Link);var e=_createSuper(i);function i(){return _classCallCheck(this,i),e.apply(this,arguments)}return _createClass(i,null,[{key:"create",value:function(t){var e=_get(_getPrototypeOf(i),"create",this).call(this,t);t=this.sanitize(t),e.setAttribute("href",t);var n=location.protocol+"//"+location.hostname;return(t.startsWith(n)||"#"===t.charAt(0)||"/"===t.charAt(0)&&"/"!==t.charAt(1))&&e.removeAttribute("target"),e}},{key:"sanitize",value:function(t){var e=_get(_getPrototypeOf(i),"sanitize",this).call(this,t),n=e.slice(0,e.indexOf(":"));return"#"!==e.charAt(0)&&"/"!==e.charAt(0)&&-1===this.PROTOCOL_WHITELIST.indexOf(n)&&(e="http://"+t),e}}]),i}();Quill.register(wpdEditorLink,!0);var WpdEditor=function(){function t(){_classCallCheck(this,t),this.editorWraperPrefix="wpd-editor-wraper",this.textEditorContainer="ql-texteditor",this.textEditorPrefix="wc-textarea",this.editorToolbarPrefix="wpd-editor-toolbar",this.sourceCodeButtonName="sourcecode",this.spoiler="spoiler",this.spoilerPromtTitle=wpdiscuzAjaxObj.wc_spoiler_title,this._container="",this._uniqueid="",this.currentEditor=null,this._editors=new Map,this._handlers=new Map,this._initDefaults()}return _createClass(t,[{key:"addButtonEventHandler",value:function(t,e){this._handlers.set(t,e)}},{key:"createEditor",value:function(t){var e=this;if(this.container=t,this._editors.has(this.uniqueid))this.currentEditor=this._editors.get(this.uniqueid);else{var i="#".concat(this.editorToolbarPrefix,"-").concat(this.uniqueid);wpdiscuzEditorOptions.modules.toolbar=i,wpdiscuzEditorOptions.modules.counter.uniqueID=this.uniqueid;var n=new Quill(this.container,wpdiscuzEditorOptions);n.on("editor-change",function(t){null!==(arguments.length<=1?void 0:arguments[1])&&(e.currentEditor=n,e.container=n.container.id)}),n.clipboard.addMatcher("a",function(t,e){return t.getAttribute("href")===t.innerHTML?new(Quill.import("delta"))([{insert:t.innerHTML}]):e}),n.clipboard.addMatcher("img",function(t,e){var i=Quill.import("delta"),n=t.getAttribute("src");return/^data:image\/.+;base64/.test(n)?new i([{insert:""}]):new i([{insert:n}])}),document.querySelectorAll("".concat(i," button")).forEach(function(t){t.onclick=function(){e.currentEditor=n,e.container=n.container.id;var i=t.dataset.wpde_button_name;void 0!==i&&"string"==typeof i&&""!==i.trim()&&e._handlers.has(i)&&e._handlers.get(i)(e.currentEditor,e.uniqueid)}}),this._bindTextEditor(n),this._editors.set(this.uniqueid,n),document.getElementById("".concat(this.editorWraperPrefix,"-").concat(this.uniqueid)).style.display=""}return this.currentEditor}},{key:"removeEditor",value:function(t){this.container=t,this._editors.has(this.uniqueid)&&this._editors.delete(this.uniqueid)}},{key:"_bindTextEditor",value:function(t){var e="".concat(this.textEditorPrefix,"-").concat(this.uniqueid),i=document.getElementById(e);i&&(i.style.cssText="display: none;",t.addContainer(this.textEditorContainer).appendChild(i)),this.currentEditor=t}},{key:"_findUniqueId",value:function(){return this.container.substring(this.container.lastIndexOf("-")+1)}},{key:"_initDefaults",value:function(){var t=this;this.addButtonEventHandler(this.sourceCodeButtonName,function(e){document.getElementById("".concat(t.textEditorPrefix,"-").concat(t.uniqueid));var i=document.getElementById("wpd-editor-source-code-wrapper-bg"),n=document.getElementById("wpd-editor-source-code-wrapper"),r=document.getElementById("wpd-editor-source-code"),o=document.getElementById("wpd-editor-uid");i.style.display="block",n.style.display="block",o.value=e.container.id,r.value=e.root.innerHTML}),this.addButtonEventHandler(this.spoiler,function(e){var i=prompt(t.spoilerPromtTitle);if(null!==i){var n=' [spoiler title="'.concat(i,'"] '),r=e.getSelection();null===r&&(r={index:e.getLength()-1,length:0}),0===r.length?(e.insertText(r.index,n+" [/spoiler] ",Quill.sources.USER),e.setSelection(r.index+n.length,Quill.sources.USER)):(e.insertText(r.index,n),e.insertText(r.index+n.length+r.length," [/spoiler] ",Quill.sources.USER),e.setSelection(r.index+n.length+r.length+" [/spoiler] ".length,Quill.sources.USER))}})}},{key:"uniqueid",set:function(t){""!==t&&"string"==typeof t?this._uniqueid=t:""===t?this._uniqueid=this._findUniqueId():console.error("Incorrect uniqueid.")},get:function(){return this._uniqueid}},{key:"container",set:function(t){""!==t&&"string"==typeof t?(this._container=t,this.uniqueid=this._findUniqueId()):console.error("Incorrect uniqueid.")},get:function(){return this._container}}]),t}();
assets/js/wpdiscuz-combo-no_quill.min.js CHANGED
@@ -3,14 +3,14 @@
3
  /* Autogrow */
4
  jQuery.fn.autoGrow=function(){return this.each(function(){var createMirror=function(textarea){jQuery(textarea).after('<div class="autogrow-textarea-mirror"></div>');return jQuery(textarea).next(".autogrow-textarea-mirror")[0]};var sendContentToMirror=function(textarea){mirror.innerHTML=String(textarea.value).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\n/g,"<br />")+".<br/>.";if(jQuery(textarea).height()!=jQuery(mirror).height())jQuery(textarea).height(jQuery(mirror).height())};var growTextarea=function(){sendContentToMirror(this)};var mirror=createMirror(this);mirror.style.display="none";mirror.style.wordWrap="break-word";mirror.style.padding=jQuery(this).css("padding");mirror.style.width=jQuery(this).css("width");mirror.style.fontFamily=jQuery(this).css("font-family");mirror.style.fontSize=jQuery(this).css("font-size");mirror.style.lineHeight=jQuery(this).css("line-height");this.style.overflow="hidden";this.style.minHeight=this.rows+"em";this.onkeydown=growTextarea;sendContentToMirror(this)})};
5
  /* wpDiscuz */
6
- var wpdiscuzLoadRichEditor=parseInt(wpdiscuzAjaxObj.loadRichEditor);if(wpdiscuzLoadRichEditor)var wpDiscuzEditor=new WpdEditor;function wpdMessagesOnInit(e,t){wpdiscuzAjaxObj.setCommentMessage(e,t),setTimeout(function(){location.href=location.href.substring(0,location.href.indexOf("wpdiscuzUrlAnchor")-1)},3e3)}wpdiscuzAjaxObj.setCommentMessage=function(e,t,a){var o="wpdiscuz-message-error";if(e instanceof Array)for(var n in e)t instanceof Array?"success"===t[n]?o="wpdiscuz-message-success":"warning"===t[n]&&(o="wpdiscuz-message-warning"):"success"===t?o="wpdiscuz-message-success":"warning"===t&&(o="wpdiscuz-message-warning"),jQuery("<div/>").addClass(o).html(e[n]).prependTo("#wpdiscuz-comment-message").delay(a instanceof Array?a[n]:a||4e3).fadeOut(1e3,function(){jQuery(this).remove()});else"success"===t?o="wpdiscuz-message-success":"warning"===t&&(o="wpdiscuz-message-warning"),jQuery("<div/>").addClass(o).html(e).prependTo("#wpdiscuz-comment-message").delay(a||4e3).fadeOut(1e3,function(){jQuery(this).remove()})},jQuery(document).ready(function(e){e("body").addClass("wpdiscuz_"+wpdiscuzAjaxObj.version);var t=wpdiscuzAjaxObj.is_user_logged_in,a=1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!t,o=1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&t,n=wpdiscuzAjaxObj.wpDiscuzReCaptchaVersion,d=parseInt(wpdiscuzAjaxObj.commentListLoadType),s=parseInt(wpdiscuzAjaxObj.wc_post_id),i=parseInt(wpdiscuzAjaxObj.commentListUpdateType),c=1e3*parseInt(wpdiscuzAjaxObj.commentListUpdateTimer),p=parseInt(wpdiscuzAjaxObj.liveUpdateGuests),r=wpdiscuzAjaxObj.loadLastCommentId,l=r,m=parseInt(wpdiscuzAjaxObj.firstLoadWithAjax);Cookies.get("wpdiscuz_comments_sorting")&&Cookies.remove("wpdiscuz_comments_sorting",{path:""}),Cookies.get("wordpress_last_visit")&&Cookies.remove("wordpress_last_visit",{path:""}),Cookies.get("wpdiscuz_last_visit")&&Cookies.remove("wpdiscuz_last_visit",{path:""});var w,u=wpdiscuzAjaxObj.storeCommenterData,f=parseInt(wpdiscuzAjaxObj.wmuEnabled),h=wpdiscuzAjaxObj.isCookiesEnabled,b=!0,g=wpdiscuzAjaxObj.cookiehash,_=parseInt(wpdiscuzAjaxObj.isLoadOnlyParentComments),v=parseInt(wpdiscuzAjaxObj.enableDropAnimation)?500:0,z=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),j=parseInt(wpdiscuzAjaxObj.enableBubble),C=parseInt(wpdiscuzAjaxObj.bubbleLiveUpdate),k=parseInt(wpdiscuzAjaxObj.bubbleHintTimeout),x=parseInt(wpdiscuzAjaxObj.bubbleHintHideTimeout)?parseInt(wpdiscuzAjaxObj.bubbleHintHideTimeout):5,y=parseInt(wpdiscuzAjaxObj.bubbleShowNewCommentMessage),O=wpdiscuzAjaxObj.bubbleLocation,A=wpdiscuzAjaxObj.inlineFeedbackAttractionType,I=[],T=[],D=[],E=!1,M=1,F=e("html").css("scroll-behavior"),L=e("body").css("scroll-behavior");(e(".wc_social_plugin_wrapper .wp-social-login-provider-list").length?e(".wc_social_plugin_wrapper .wp-social-login-provider-list").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .the_champ_login_container").length?e(".wc_social_plugin_wrapper .the_champ_login_container").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .social_connect_form").length?e(".wc_social_plugin_wrapper .social_connect_form").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .oneall_social_login_providers").length&&e(".wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"),wpdiscuzLoadRichEditor&&e("#wpd-editor-0_0").length&&wpDiscuzEditor.createEditor("#wpd-editor-0_0"),window.addEventListener("beforeunload",function(t){var a=e(".wpd-form").not(":hidden");if(a.length)if(wpdiscuzLoadRichEditor){for(var o=0;o<a.length;o++)if("\n"!==wpDiscuzEditor.createEditor(e(a[o]).find(".ql-container").attr("id")).getText())return t.preventDefault(),void(t.returnValue="")}else for(o=0;o<a.length;o++)if(e(a[o]).find(".wc_comment").val())return t.preventDefault(),void(t.returnValue="")}),e(document).delegate("#wpdcom .ql-editor, #wpdcom .wc_comment","focus",function(){e(".wpd-form-foot",e(this).parents(".wpd_comm_form")).slideDown(v)}),e(document).delegate("#wpdcom textarea","focus",function(){e(this).next(".autogrow-textarea-mirror").length||e(this).autoGrow()}),t)||U({comment_author:Cookies.get("comment_author_"+g),comment_author_email:Cookies.get("comment_author_email_"+g),comment_author_url:Cookies.get("comment_author_url_"+g)});if(e(".wpd-vote-down.wpd-dislike-hidden").remove(),e(".wpd-toolbar-hidden").prev("[id^=wpd-editor-]").css("border-bottom","1px solid #dddddd"),e(document).delegate("#wpd-editor-source-code-wrapper-bg","click",function(){e(this).hide(),e("#wpd-editor-source-code-wrapper").hide(),e("#wpd-editor-uid").val(""),e("#wpd-editor-source-code").val("")}),wpdiscuzLoadRichEditor&&e(document).delegate("#wpd-insert-source-code","click",function(){var t=wpDiscuzEditor.createEditor("#"+e("#wpd-editor-uid").val());t.deleteText(0,t.getLength(),Quill.sources.USER);var a=e("#wpd-editor-source-code").val();a.length&&t.clipboard.dangerouslyPasteHTML(0,a,Quill.sources.USER),t.update(),e("#wpd-editor-source-code-wrapper-bg").hide(),e("#wpd-editor-source-code-wrapper").hide(),e("#wpd-editor-uid").val(""),e("#wpd-editor-source-code").val("")}),e(document).delegate(".wpd-reply-button","click",function(){var d=G(e(this),0);e(this).hasClass("wpdiscuz-clonned")?(wpdiscuzLoadRichEditor?setTimeout(function(){wpDiscuzEditor.createEditor("#wpd-editor-"+d).focus()},v):setTimeout(function(){e("#wc-textarea-"+d).trigger("focus")},v),e("#wpd-secondary-form-wrapper-"+d).slideToggle(v)):function(a){var o=G(a,0);e("#wpdiscuz_form_anchor-"+o).before(function(t){return e("#wpdiscuz_hidden_secondary_form").html().replace(/wpdiscuzuniqueid/g,t)}(o));var n=e("#wpd-secondary-form-wrapper-"+o);if(!t){var d={comment_author:Cookies.get("comment_author_"+g),comment_author_email:Cookies.get("comment_author_email_"+g),comment_author_url:Cookies.get("comment_author_url_"+g)};U(d)}wpdiscuzLoadRichEditor?setTimeout(function(){wpDiscuzEditor.createEditor("#wpd-editor-"+o).focus()},v):setTimeout(function(){e("#wc-textarea-"+o).trigger("focus")},v);n.slideToggle(v,function(){a.addClass("wpdiscuz-clonned")})}(e(this)),function(t){if((a||o)&&"2.0"===n){var d=$(t);setTimeout(function(){if(!T[d])try{T[d]=grecaptcha.render("wpdiscuz-recaptcha-"+t,{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(a){e("#wpdiscuz-recaptcha-field-"+t).val("key")},"expired-callback":function(){e("#wpdiscuz-recaptcha-field-"+t).val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}},1e3)}}(d)}),e(document).delegate("#wpdcom .wpd-comment-link [data-comment-url]","click",function(){var t=e(this).data("comment-url"),a=e("<input/>");a.appendTo("body").css({position:"absolute",top:"-10000000px"}).val(t),a.select(),document.execCommand("copy"),a.remove(),wpdiscuzAjaxObj.setCommentMessage(t+"<br/>"+wpdiscuzAjaxObj.wc_copied_to_clipboard,"success",5e3)}),e(document).delegate(".wpdiscuz-nofollow,.wc_captcha_refresh_img,.wpd-load-more-submit","click",function(e){e.preventDefault()}),e(document).delegate(".wpd-toggle.wpd_not_clicked","click",function(){var t=e(this);t.removeClass("wpd_not_clicked");var a=G(e(this),0),o=e(this),n=e(".fas",o);!o.parents(".wpd-comment:not(.wpd-reply)").children(".wpd-reply").length&&_?function(t,a){var o=$(t),n=new FormData;n.append("action","wpdShowReplies"),n.append("commentId",o),me(z,!0,n).done(function(o){a.addClass("wpd_not_clicked"),"object"==typeof o&&o.success&&(e("#wpd-comm-"+t).replaceWith(o.data.comment_list),e("#wpd-comm-"+t+" .wpd-toggle .fas").removeClass("fa-chevron-down").addClass("fa-chevron-up"),e("#wpd-comm-"+t+" .wpd-toggle").attr("wpd-tooltip",wpdiscuzAjaxObj.wc_hide_replies_text),e("#wpd-comm-"+t+" .wpd-toggle .wpd-view-replies").remove(),le(o)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,n){console.log(n),a.addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}(a,t):e("#wpd-comm-"+a+"> .wpd-reply").slideToggle(700,function(){e(this).is(":hidden")?(n.removeClass("fa-chevron-up"),n.addClass("fa-chevron-down"),o.attr("wpd-tooltip",wpdiscuzAjaxObj.wc_show_replies_text)):(n.removeClass("fa-chevron-down"),n.addClass("fa-chevron-up"),o.attr("wpd-tooltip",wpdiscuzAjaxObj.wc_hide_replies_text)),t.addClass("wpd_not_clicked")})}),e(document).delegate(".wpd-new-loaded-comment","mouseenter",function(){e(this).removeClass("wpd-new-loaded-comment")}),e(document).delegate(".wpd-sbs-toggle","click",function(){e(".wpdiscuz-subscribe-bar").slideToggle(v)}),parseInt(wpdiscuzAjaxObj.wpDiscuzIsShowOnSubscribeForm)&&!t&&wpdiscuzAjaxObj.wpDiscuzReCaptchaSK&&e("#wpdiscuz-subscribe-form").length&&("2.0"===n?(setTimeout(function(){try{grecaptcha.render("wpdiscuz-recaptcha-subscribe-form",{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(t){e("#wpdiscuz-recaptcha-field-subscribe-form").val("key")},"expired-callback":function(){e("#wpdiscuz-recaptcha-field-subscribe-form").val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}},1e3),e(document).delegate("#wpdiscuz-subscribe-form","submit",function(t){e("#wpdiscuz-recaptcha-field-subscribe-form").val()?e(".wpdiscuz-recaptcha",e(this)).css("border","none"):(e(".wpdiscuz-recaptcha",e(this)).css("border","1px solid red"),t.preventDefault())})):"3.0"===n&&e(document).delegate("#wpdiscuz_subscription_button","click",function(t){var a=e(this).parents("#wpdiscuz-subscribe-form");t.preventDefault();try{grecaptcha.ready(function(){grecaptcha.execute(wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,{action:"wpdiscuz/wpdAddSubscription"}).then(function(e){console.log(5555),document.getElementById("wpdiscuz-recaptcha-field-subscribe-form").value=e,a.submit()},function(e){wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error","error"),console.log(e)})})}catch(t){console.log(t),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+t.message,"error")}})),(a||o)&&"2.0"===n){var R=e(window).width(),S=e("#wpdcom").width();S>=1100&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"65%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"35%"})),S>=940&&S<1100&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"60%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"40%"})),S>=810&&S<940&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"40%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"60%"})),S>=730&&S<810&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"45%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"55%"})),S>=610&&S<730&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.85)","-webkit-transform":"scale(0.85)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"43%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"55%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"30%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"70%"})),R>650&&(S>=510&&S<610&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"center 0","-webkit-transform-origin":"center 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"35%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"63%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"30%",position:"relative",right:"-60px"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"70%"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"})),S>=470&&S<510&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"center 0","-webkit-transform-origin":"center 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"40%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"60%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd_main_comm_form .wc-form-footer").css({"margin-left":"0px"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"})),S<470&&(e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({margin:"0px auto","transform-origin":"center 0","-webkit-transform-origin":"center 0"}),e("#wpdcom .wpd-form-col-left").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-form-col-right").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"}),e("#wpdcom .wpd-secondary-form-wrapper .wc_notification_checkboxes").css({"text-align":"center"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-field-submit").css({"text-align":"center"})))}function q(t,a,o){me(z||f,!1,a).done(function(a){if(e(o).addClass("wpd_not_clicked"),"object"==typeof a)if(a.success){"collapsed"===wpdiscuzAjaxObj.commentFormView&&e(".wpd-form-foot",t).slideUp(v),e(".wpd-thread-info").html(a.data.wc_all_comments_count_new_html),a.data.wc_all_comments_count_new=parseInt(a.data.wc_all_comments_count_new),e("#wpd-bubble-all-comments-count").text(a.data.wc_all_comments_count_new),a.data.wc_all_comments_count_new?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide();var n=v;a.data.is_main?ae(a.data.message):(n=v+700,e("#wpd-secondary-form-wrapper-"+a.data.uniqueid).slideToggle(700),1==a.data.is_in_same_container?e("#wpd-secondary-form-wrapper-"+a.data.uniqueid).after(a.data.message):e("#wpd-comm-"+a.data.uniqueid).after(a.data.message)),function(e){if(!e.data.held_moderate){var t=new FormData;t.append("action","wpdCheckNotificationType"),t.append("comment_id",e.data.new_comment_id),t.append("email",e.data.comment_author_email),t.append("isParent",e.data.is_main),me(z,!0,t)}}(a),function(e){if(e.data.redirect>0&&e.data.new_comment_id){var t=new FormData;t.append("action","wpdRedirect"),t.append("commentId",e.data.new_comment_id),me(z,!0,t).done(function(e){"object"==typeof e&&e.success&&setTimeout(function(){location.href=e.data},2e3)}).fail(function(e,t,a){console.log(a)})}}(a),h&&b?function(t){var a=t.comment_author_email,o=t.comment_author,n=t.comment_author_url;null==u?(Cookies.set("comment_author_email_"+g,a),Cookies.set("comment_author_"+g,o),n.length&&Cookies.set("comment_author_url_"+g,n)):(u=parseInt(u),Cookies.set("comment_author_email_"+g,a,{expires:u,path:"/"}),Cookies.set("comment_author_"+g,o,{expires:u,path:"/"}),n.length&&Cookies.set("comment_author_url_"+g,n,{expires:u,path:"/"}));e(".wpd-cookies-checkbox").length&&e(".wpd-cookies-checkbox").attr("checked","checked")}(a.data):b||e(".wpd-cookies-checkbox").removeAttr("checked"),wpdiscuzLoadRichEditor&&wpDiscuzEditor.createEditor("#wpd-editor-"+e(".wpdiscuz_unique_id",t).val()).setContents([{insert:"\n"}]),t.get(0).reset(),U(a.data),e(".wmu-preview-wrap",t).remove(),I.length&&(I.forEach(function(e){e.parents(".wpd-field-checkbox").remove()}),I=[]),parseInt(wpdiscuzAjaxObj.scrollToComment)&&setTimeout(function(){ee(),e("html, body").animate({scrollTop:e("#comment-"+a.data.new_comment_id).offset().top-32},1e3,te)},n),le(a,t)}else a.data&&(wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error"),le(a,t));else wpdiscuzAjaxObj.setCommentMessage(a,"error");e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,a,n){console.log(n),e(o).addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}function U(t){e(".wpd_comm_form .wc_name").val(t.comment_author),t.comment_author_email&&t.comment_author_email.indexOf("@example.com")<0&&e(".wpd_comm_form .wc_email").val(t.comment_author_email),t.comment_author_url&&e(".wpd_comm_form .wc_website").val(t.comment_author_url)}function H(t,a){e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd_editable_comment").show(),e("#wpd-comm-"+t+" .wpdiscuz-edit-form-wrap").replaceWith(a),e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").show()}e(document).delegate(".wc_comm_submit.wpd_not_clicked","click",function(){var t=e(this),d=1,s=e(this).parents("form");if(s.hasClass("wpd_main_comm_form")||(d=function(t){var a=t.attr("class").split(" "),o="";return e.each(a,function(e,t){"wpd_comment_level"===X(t,!1)&&(o=X(t,!0))}),parseInt(o)+1}(e(this).parents(".wpd-comment"))),Z(s,"#wpd-editor-"+e(".wpdiscuz_unique_id",s).val()),s.submit(function(e){e.preventDefault()}),""!==e(".wc_comment",s).val().trim()){if(s[0].checkValidity()&&(c=s,p=!0,"2.0"===n&&e("input[name=wc_captcha]",c).length&&!e("input[name=wc_captcha]",c).val().length?(p=!1,e(".wpdiscuz-recaptcha",c).css("border","1px solid red")):"2.0"===n&&e("input[name=wc_captcha]",c).length&&e(".wpdiscuz-recaptcha",c).css("border","none"),p)){E=!0,function(t){e(".wpd-agreement-checkbox",t).each(function(){e(this).hasClass("wpd_agreement_hide")&&h&&e(this).prop("checked")&&(Cookies.set(e(this).attr("name")+"_"+g,1,{expires:30,path:"/"}),e("input[name="+e(this).attr("name")+"]").each(function(){I.push(e(this))}))})}(s),e(t).removeClass("wpd_not_clicked");var i=new FormData;if(i.append("action","wpdAddComment"),e(":input",s).each(function(){""!=this.name&&"checkbox"!=this.type&&"radio"!=this.type&&i.append(this.name+"",e(this).val().trim()),"checkbox"!=this.type&&"radio"!=this.type||e(this).is(":checked")&&i.append(this.name+"",e(this).val())}),i.append("wpd_comment_depth",d),wpdiscuzAjaxObj.wpdiscuz_zs&&i.append("wpdiscuz_zs",wpdiscuzAjaxObj.wpdiscuz_zs),e(".wpd-cookies-checkbox",s).length&&!e(".wpd-cookies-checkbox",s).prop("checked")&&(b=!1),e("#wpdiscuz-loading-bar").show(),wpdiscuzAjaxObj.wpDiscuzReCaptchaSK&&"3.0"===n&&(1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!wpdiscuzAjaxObj.is_user_logged_in||1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&wpdiscuzAjaxObj.is_user_logged_in))try{grecaptcha.ready(function(){grecaptcha.execute(wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,{action:"wpdiscuz/addComment"}).then(function(e){i.append("g-recaptcha-response",e),q(s,i,t)},function(e){wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error","error"),console.log(e)})})}catch(t){console.log(t),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+t.message,"error"),e("#wpdiscuz-loading-bar").fadeOut(250)}else q(s,i,t)}var c,p;!function(e){if((a||o)&&"2.0"===n){var t=$(e);grecaptcha.reset(T[t])}}(e(".wpdiscuz_unique_id",s).val()),e(".wpdiscuz_reset").val("")}else wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wc_msg_required_fields,"error")}),e(document).delegate(".wpd_editable_comment","click",function(){w&&e(".wpdiscuz-edit-form-wrap").length&&H(G(e(".wpdiscuz-edit-form-wrap"),0),w);var t=G(e(this),0),a=$(t),o=new FormData;o.append("action","wpdEditComment"),o.append("commentId",a),w=e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-text").get(0),me(z,!0,o).done(function(a){if("object"==typeof a)if(a.success){if(e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd-comment-text").replaceWith(a.data.html),wpdiscuzLoadRichEditor){let o=wpDiscuzEditor.createEditor("#wpd-editor-edit_"+t);o.clipboard.dangerouslyPasteHTML(0,a.data.content),o.update(),e(".wpd-toolbar-hidden").prev("[id^=wpd-editor-]").css("border-bottom","1px solid #dddddd")}else e("#wc-textarea-edit_"+t).val(a.data.content);e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd_editable_comment").hide(),e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").hide()}else wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error");else console.log(a);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wc_save_edited_comment","click",function(){var t=G(e(this)),a=$(t),o=e("#wpd-comm-"+t+" #wpdiscuz-edit-form");if(Z(o,"#wpd-editor-edit_"+t),o.submit(function(e){e.preventDefault()}),o[0].checkValidity()){var n=new FormData;n.append("action","wpdSaveEditedComment"),n.append("commentId",a),e(":input",o).each(function(){""!==this.name&&"checkbox"!==this.type&&"radio"!==this.type&&n.append(this.name+"",e(this).val()),"checkbox"!==this.type&&"radio"!==this.type||e(this).is(":checked")&&n.append(this.name+"",e(this).val())}),me(z,!0,n).done(function(o){"object"==typeof o?(o.success?(H(t,o.data.message),o.data.lastEdited&&(e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").remove(),e(o.data.lastEdited).insertAfter("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd-comment-text")),o.data.twitterShareLink&&e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-share .wpd-tooltip-content .wc_tw").attr("href",o.data.twitterShareLink),o.data.whatsappShareLink&&e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-share .wpd-tooltip-content .wc_whatsapp").attr("href",o.data.whatsappShareLink),wpdiscuzLoadRichEditor&&wpDiscuzEditor.removeEditor("#wpd-editor-edit_"+t)):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error"),le(o,a)):console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).delegate(".wc_cancel_edit","click",function(){var t=G(e(this));H(t,w),wpdiscuzLoadRichEditor&&wpDiscuzEditor.removeEditor("#wpd-editor-edit_"+t)}),!wpdiscuzAjaxObj.wordpressIsPaginate&&m&&(M=0,1==m?setTimeout(function(){P(!0)},500):e(document).delegate(".wpd-load-comments","click",function(){e(this).parent(".wpd-load-more-submit-wrap").remove(),P(!0)})),e(document).delegate(".wpd-load-more-submit","click",function(){var t=e(this);t.hasClass("wpd-loaded")&&P(!1,t,"wpd-loaded","wpd-loading")});var W=!1;function N(){var t=e("#wpdiscuzHasMoreComments").val(),a=e(document).height(),o=e(window).height()+e(window).scrollTop();a&&o&&(100*o/a>=80&&!1===W&&1==t&&(W=!0,P(!1,e(".wpd-load-more-submit"))))}function P(t,a,o,n){a&&(a.toggleClass(o),a.toggleClass(n));var s=new FormData;s.append("action","wpdLoadMoreComments");var i=e(".wpdiscuz-sort-button-active").attr("data-sorting");i&&s.append("sorting",i),s.append("offset",M),s.append("lastParentId",e(".wpd-load-more-submit").attr("data-lastparentid")),s.append("isFirstLoad",t?1:0);var c=e(".wpdf-active").attr("data-filter-type");s.append("wpdType",c||""),me(z,!t||1!=m,s).done(function(s){"object"==typeof s&&s.success&&(M++,t&&e(".wpd-comment").remove(),e(".wpdiscuz_single").remove(),e(".wpdiscuz-comment-pagination").before(s.data.comment_list),V(s,t&&2!==d),W=!1,r=s.data.loadLastCommentId,le(s),t&&K(!1)),e("#wpdiscuz-loading-bar").fadeOut(250),e(".wpd-load-more-submit").blur(),a&&(a.toggleClass(o),a.toggleClass(n))}).fail(function(t,d,s){console.log(s),e("#wpdiscuz-loading-bar").fadeOut(250),e(".wpd-load-more-submit").blur(),a&&(a.toggleClass(o),a.toggleClass(n))})}function V(t,a){var o;0==t.data.is_show_load_more?(e("#wpdiscuzHasMoreComments").val(0),e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").hide()):(o=t.data.last_parent_id,e(".wpd-load-more-submit").attr("data-lastparentid",o),2!==d&&e(".wpdiscuz-comment-pagination").show(),e("#wpdiscuzHasMoreComments").val(1),a&&e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").show()),le(t)}function K(t){var a=location.href.match(/#comment\-(\d+)/);if(null!==a){var o=a[1];if(e("#comment-"+o).length)setTimeout(function(){ee(),e("html, body").animate({scrollTop:e("#comment-"+o).parents("[id^=wpd-comm-]").offset().top-32},1e3,te),t&&Q(o)},500);else{var n=new FormData;n.append("action","wpdGetSingleComment"),n.append("commentId",o),me(z,!0,n).done(function(a){if("object"==typeof a&&a.success){var n="#comment-"+o;e("#comment-"+a.data.parentCommentID).length?e("#comment-"+a.data.parentCommentID).parents("[id^=wpd-comm-"+a.data.parentCommentID+"]").replaceWith(a.data.message):e(".wpd-thread-list").prepend(a.data.message),le(a),ee(),e("html, body").animate({scrollTop:e(n).offset().top-32},1e3,te),t&&Q(o)}e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}}function Q(t){setTimeout(function(){e("#comment-"+t).siblings(".wpd-secondary-form-wrapper").is(":visible")||e("#comment-"+t).find(".wpd-reply-button").trigger("click")},1100)}function B(e){if(void 0!==e.data.message)for(var t,a=e.data.message,o=0;o<a.length;o++)Y((t=a[o]).comment_parent,t.comment_html)}function G(e,t){var a="";return(a=t?e.parents(".wpd-main-form-wrapper").attr("id"):e.parents(".wpd-comment").attr("id")).substring(a.lastIndexOf("-")+1)}function $(e){return e.substring(0,e.indexOf("_"))}function X(e,t){return t?e.substring(e.indexOf("-")+1):e.substring(0,e.indexOf("-"))}function Y(t,a){if(0==t)ae(a);else{var o=G(e("#comment-"+t),0);e("#wpdiscuz_form_anchor-"+o).after(a)}}function J(){var t,a,o="";return e(".wpd-comment-right").each(function(){t=G(e(this),0),a=$(t),o+=a+","}),o}function Z(t,a){var o=t.find(".wpd-required-group");wpdiscuzLoadRichEditor&&t.find(".wc_comment").val(e(a+">.ql-editor").html()),function(e){var t=e.find(".wc_comment"),a=t.val().trim().replace(/<p><br><\/p>/g,"\n").replace(/<p>(.*?)<\/p>/g,"$1\n");a=(a=(a=(a=a.replace(/<img src=["|']https\:\/\/s\.w\.org\/images\/core\/emoji\/([^"|']+)["|'](.*?)alt=["|']([^"|']+)["|'](.*?)[^>]*>/g," $3 ")).replace(/<img[^>]+alt=["|']([^"|']+)["|'][^>]+src=["|']https\:\/\/s\.w\.org\/images\/core\/emoji\/([^"|']+)["|'][^>]?>/g," $1 ")).replace(/<img\s+([^>]*)class=["|']wpdem\-sticker["|'](.*?)alt=["|']([^"|']+)["|'](.*?)[^>]*>/g," $3 ")).replace(/<img\s+([^>]*)src=["|']([^"|']+)["|'](.*?)[^>]*>/g," $2 "),t.val(a)}(t),e.each(o,function(){e("input",this).removeAttr("required"),0===e("input:checked",this).length?e("input",e(this)).attr("required","required"):e(".wpd-field-invalid",this).remove()})}function ee(){e("html, body").css("scroll-behavior","unset")}function te(){e("html").css("scroll-behavior",F),e("body").css("scroll-behavior",L)}function ae(t){e(".wpd-sticky-comment").last()[0]?e(t).insertAfter(e(".wpd-sticky-comment").last()[0]):e(".wpd-thread-list").prepend(t)}function oe(t){t?t.prop("required")||(t.val()?t.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","inline-block"):t.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","none")):e.each(e(".wc_email"),function(t,a){var o=e(a);o.prop("required")||(o.val()?o.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","inline-block"):o.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","none"))})}if(2!==d||wpdiscuzAjaxObj.wordpressIsPaginate||(e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").hide(),N(),e(window).scroll(function(){N()})),wpdiscuzAjaxObj.setLoadMoreVisibility=V,e(document).delegate(".wpd-vote-up.wpd_not_clicked, .wpd-vote-down.wpd_not_clicked","click",function(){var t=e(this);e(t).removeClass("wpd_not_clicked");var a,o=$(G(t));a=e(this).hasClass("wpd-vote-up")?1:-1;var n=new FormData;n.append("action","wpdVoteOnComment"),n.append("commentId",o),n.append("voteType",a),me(z,!0,n).done(function(n){if(e(t).addClass("wpd_not_clicked"),"object"==typeof n){if(n.success){if("total"===n.data.buttonsStyle){var d=e(".wpd-comment-footer .wpd-vote-result",e("#comment-"+o)),s=n.data.votes;d.text(s),d.removeClass("wpd-up wpd-down"),s>0&&d.addClass("wpd-up"),s<0&&d.addClass("wpd-down")}else{var i=e(".wpd-comment-footer .wpd-vote-result-like",e("#comment-"+o)),c=e(".wpd-comment-footer .wpd-vote-result-dislike",e("#comment-"+o));i.text(n.data.likeCount),c.text(n.data.dislikeCount),parseInt(n.data.likeCount)>0?i.addClass("wpd-up"):i.removeClass("wpd-up"),parseInt(n.data.dislikeCount)<0?c.addClass("wpd-down"):c.removeClass("wpd-down")}var p=e(".wpd-comment-footer .wpd-vote-up",e("#comment-"+o)),r=e(".wpd-comment-footer .wpd-vote-down",e("#comment-"+o));p.removeClass("wpd-up"),r.removeClass("wpd-down"),n.data.curUserReaction>0?p.addClass("wpd-up"):n.data.curUserReaction<0&&r.addClass("wpd-down")}else n.data&&wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[n.data],"error");le(n,o,a)}else console.log(n);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,o,n){console.log(n),e(t).addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate("body","click",function(t){var a=e(".wpdiscuz-sort-buttons");e(t.target).hasClass("wpdf-sorting")||e(t.target).parent().hasClass("wpdf-sorting")?a.css({display:a.is(":visible")?"none":"flex"}):a.hide()}),e(document).delegate(".wpdiscuz-sort-button:not(.wpdiscuz-sort-button-active)","click",function(){var t=e(this),a=e(this).attr("data-sorting");if(a){e(".wpdiscuz-sort-button.wpdiscuz-sort-button-active").removeClass("wpdiscuz-sort-button-active").appendTo(".wpdiscuz-sort-buttons"),t.addClass("wpdiscuz-sort-button-active").prependTo(".wpdf-sorting");var o=new FormData;o.append("action","wpdSorting"),o.append("sorting",a);var n=e(".wpdf-active").attr("data-filter-type");o.append("wpdType",n||""),me(z,!0,o).done(function(t){"object"==typeof t&&t.success&&(e("#wpdcom .wpd-comment").remove(),e("#wpdcom .wpd-thread-list").prepend(t.data.message),V(t,!1),M=1),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),window.onhashchange=function(){K(!1)},1!=m&&K(!1),e(document).delegate(".wpdiscuz-readmore","click",function(){var t=G(e(this)),a=$(t),o=new FormData;o.append("action","wpdReadMore"),o.append("commentId",a),me(z,!0,o).done(function(o){"object"==typeof o?(o.success?(e("#comment-"+a+" .wpd-comment-text").replaceWith(" "+o.data.message),e("#wpdiscuz-readmore-"+t).remove()):console.log(o.data),le(o)):console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpd-required-group","change",function(){0!==e("input:checked",this).length?e("input",e(this)).removeAttr("required"):e("input",e(this)).attr("required","required")}),e(document).delegate(".wpdiscuz-spoiler","click",function(){e(this).next().slideToggle(),e(this).hasClass("wpdiscuz-spoiler-closed")?e(this).parents(".wpdiscuz-spoiler-wrap").find(".fa-plus").removeClass("fa-plus").addClass("fa-minus"):e(this).parents(".wpdiscuz-spoiler-wrap").find(".fa-minus").removeClass("fa-minus").addClass("fa-plus"),e(this).toggleClass("wpdiscuz-spoiler-closed")}),e(document).delegate(".wpd-tools i","click",function(){var t=e(this).siblings(".wpd-tools-actions");t.is(":visible")||e(this).parents(".wpd-comment-right").attr("id")!==e("[id^=comment-]","#wpdcom").last().attr("id")||e("#comments").css({paddingBottom:"160px"}),t.css({display:t.is(":visible")?"none":"flex"})}),e(document).delegate(".wpd-comment-right","mouseleave",function(){e(this).find(".wpd-tools-actions").hide(),e("#comments").css({paddingBottom:"0"})}),e(document).delegate(".wpd_stick_btn","click",function(){var t=$(G(e(this),0)),a=new FormData;a.append("action","wpdStickComment"),a.append("commentId",t),me(z,!0,a).done(function(t){"object"==typeof t&&t.success&&location.reload(!0),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpd_close_btn","click",function(){var t=$(G(e(this),0)),a=new FormData;a.append("action","wpdCloseThread"),a.append("commentId",t),me(z,!0,a).done(function(t){"object"==typeof t&&t.success&&location.reload(!0),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpd-filter.wpd_not_clicked[data-filter-type]","click",function(){var t=e(this),a=t.attr("data-filter-type");wpdiscuzAjaxObj.resetActiveFilters(".wpdf-"+a),t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var o=new FormData;o.append("action","wpdLoadMoreComments");var n=e(".wpdiscuz-sort-button-active").attr("data-sorting");n&&o.append("sorting",n),o.append("lastParentId",0),o.append("offset",0),M=1,o.append("wpdType",t.hasClass("wpdf-active")?"":a),o.append("isFirstLoad",1),e(this).hasClass("wpdf-inline")?e(this).hasClass("wpdf-active")?e(".wpd-comment-info-bar").hide():e(".wpd-comment-info-bar").css("display","flex"):e(".wpd-comment-info-bar").hide(),me(z,!1,o).done(function(a){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof a&&a.success&&(t.toggleClass("wpdf-active"),e(".wpd-load-comments").remove(),e(".wpd-comment").remove(),e(".wpd-thread-list").prepend(a.data.comment_list),V(a),r=a.data.loadLastCommentId,e(".wpd-load-more-submit").blur(),le(a)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpdf-reacted.wpd_not_clicked","click",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var a=new FormData;a.append("action","wpdMostReactedComment"),me(z,!1,a).done(function(a){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof a&&a.success&&(e("#comment-"+a.data.parentCommentID).length?e("#comment-"+a.data.parentCommentID).parents("[id^=wpd-comm-"+a.data.parentCommentID+"]").replaceWith(a.data.message):e("#comment-"+a.data.commentId).length||e(".wpd-thread-list").prepend(a.data.message),le(a),ee(),e("html, body").animate({scrollTop:e("#comment-"+a.data.commentId).offset().top-32},1e3,te))}).fail(function(a,o,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner")})}),e(document).delegate(".wpdf-hottest.wpd_not_clicked","click",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var a=new FormData;a.append("action","wpdHottestThread"),me(z,!1,a).done(function(a){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof a&&a.success&&(e("#comment-"+a.data.commentId).length?e("#comment-"+a.data.commentId).parents("[id^=wpd-comm-"+a.data.commentId+"]").replaceWith(a.data.message):e(".wpd-thread-list").prepend(a.data.message),le(a),ee(),e("html, body").animate({scrollTop:e("#comment-"+a.data.commentId).offset().top-32},1e3,te))}).fail(function(a,o,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner")})}),e(document).delegate(".wpd-filter-view-all","click",function(){e(".wpdf-inline.wpdf-active.wpd_not_clicked").trigger("click")}),e(document).delegate(".wpd-follow-link.wpd_not_clicked","click",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var a=$(G(t,0)),o=new FormData;o.append("action","wpdFollowUser"),o.append("commentId",a),me(z,!0,o).done(function(a){t.addClass("wpd_not_clicked"),"object"==typeof a?a.success?(wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data.code],"success"),t.removeClass("wpd-follow-active"),a.data.followTip&&t.attr("wpd-tooltip",a.data.followTip),a.data.followClass&&t.addClass(a.data.followClass)):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error"):console.log(a),e(".fas",t).removeClass("fa-pulse fa-spinner"),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,o,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner"),e("#wpdiscuz-loading-bar").fadeOut(250)})}),oe(),e(document).delegate(".wc_email","keyup",function(){oe(e(this))}),j&&e("#wpdcom").length){if(e("#wpd-bubble-wrapper").hover(function(){e(this).addClass("wpd-bubble-hover")},function(){e(this).removeClass("wpd-bubble-hover")}),k&&!Cookies.get(wpdiscuzAjaxObj.cookieHideBubbleHint)&&setTimeout(function(){e("#wpd-bubble-wrapper").addClass("wpd-bubble-hover"),Cookies.set(wpdiscuzAjaxObj.cookieHideBubbleHint,"1",{expires:7,path:"/"}),setTimeout(function(){e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover")},1e3*x)},1e3*k),"content_left"===O)if(e(".entry-content").length){var ne=(de=Math.min(e(".entry-content").offset().left,e("#wpdcom").offset().left)-120)>25?de:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else if(e(".post-entry").length){ne=(de=Math.min(e(".post-entry").offset().left,e("#wpdcom").offset().left)-120)>25?de:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else if(e(".container").length){var de;ne=(de=Math.min(e(".container").offset().left,e("#wpdcom").offset().left)-120)>25?de:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else e("#wpd-bubble-wrapper").css({left:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-corner");else"left_corner"===O?(e("#wpd-bubble-wrapper").css({left:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-corner")):"right_corner"===O&&(e("#wpd-bubble-wrapper").css({right:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-right-corner"));e("#wpd-bubble-wrapper").show(),e("#wpd-bubble-add-message-close").click(function(t){t.preventDefault(),t.stopPropagation(),e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover")}),e("#wpd-bubble").click(function(){ee(),e("html, body").animate({scrollTop:e("#wpdcom").offset().top-60},1e3,function(){te(),e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover"),wpdiscuzLoadRichEditor?e("#wpd-editor-0_0").length&&wpDiscuzEditor.createEditor("#wpd-editor-0_0").focus():e("#wc-textarea-0_0").length&&e("#wc-textarea-0_0").focus()})}),e("#wpd-bubble-comment-close").click(function(t){t.preventDefault(),e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added")}),e("#wpd-bubble-comment-reply-link a").click(function(){var t=e(this).attr("href");setTimeout(function(){e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added"),K(!0);var a=t.match(/#comment\-(\d+)/);D=D.filter(function(e){return e!=a[1]}),e("#wpd-bubble-count .wpd-new-comments-count").text(D.length),0==D.length&&e("#wpd-bubble-count").removeClass("wpd-new-comments")},100)}),e("#wpd-bubble-count").click(function(){if(D.length){var t=new FormData;t.append("action","wpdBubbleUpdate"),t.append("newCommentIds",D.join()),me(z,!0,t).done(function(t){"object"==typeof t&&t.success&&(t.data.message=t.data.message.filter(function(t){if(!e("#comment-"+t.comment_id).length)return t}),B(t),e("#wpd-bubble-count").removeClass("wpd-new-comments"),e("#wpd-bubble-count .wpd-new-comments-count").text("0"),D=[],ee(),e("html, body").animate({scrollTop:e(e(".wpd-new-loaded-comment")[0]).offset().top-60},1e3,te),le(t)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(e,t,a){console.log(a)})}})}if((j&&C||i)&&(t||!t&&p)&&setTimeout(function t(){e.ajax({type:"GET",url:wpdiscuzAjaxObj.bubbleUpdateUrl,beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",wpdiscuzAjaxObj.restNonce)},data:{postId:s,lastId:l,visibleCommentIds:J()}}).done(function(a){if(!E)if("object"==typeof a){if(a.ids.length){i&&((d=new FormData).append("action","wpdUpdateAutomatically"),d.append("loadLastCommentId",r),d.append("visibleCommentIds",J()),me(z,!1,d).done(function(t){E||"object"==typeof t&&t.success&&(B(t),e(".wpd-thread-info").html(t.data.wc_all_comments_count_new_html),t.data.wc_all_comments_count_new=parseInt(t.data.wc_all_comments_count_new),e("#wpd-bubble-all-comments-count").text(t.data.wc_all_comments_count_new),t.data.wc_all_comments_count_new?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),r=t.data.loadLastCommentId)}).fail(function(e,t,a){console.log(a)})),a.ids=a.ids.filter(function(t){if(!e("#comment-"+t).length)return t});var o=5e3;l=parseInt(a.ids[a.ids.length-1]),D=D.concat(a.ids),y&&a.commentText&&(e("#wpd-bubble-author-avatar").html(a.avatar),e("#wpd-bubble-author-name").html(a.authorName),e("#wpd-bubble-comment-date span").html(a.commentDate),e("#wpd-bubble-comment-text").html(a.commentText),e("#wpd-bubble-comment-reply-link a").attr("href",a.commentLink),e("#wpd-bubble-notification-message").show(),o=1e4);var n=parseInt(e(".wpd-new-comments-count").text());n+=a.ids.length,e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added"),e("#wpd-bubble-wrapper").addClass("wpd-new-comment-added"),setTimeout(function(){e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added")},o),e(".wpd-new-comments-count").text(n),e("#wpd-bubble-count").addClass("wpd-new-comments"),a.all_comments_count=parseInt(a.all_comments_count),e("#wpd-bubble-all-comments-count").text(a.all_comments_count),a.all_comments_count?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),e(".wpd-thread-info").html(a.all_comments_count_html)}}else console.log(a);var d;setTimeout(t,c)}).fail(function(e,a,o){console.log(o),setTimeout(t,c)})},c),e(".wpd-inline-form-wrapper").length){var se=new FormData;se.append("action","wpdGetInlineCommentForm"),me(z,!1,se).done(function(t){"object"==typeof t?t.success?(e(".wpd-inline-form-wrapper").append(t.data),e.each(e("[name=_wpd_inline_nonce]"),function(){var t=e(this).attr("id"),a=e(this).parents(".wpd-inline-shortcode").attr("id");e(this).attr("id",t+"-"+a.substring(a.lastIndexOf("-")+1))}),e(".wpd-inline-opened").addClass("wpd-active"),e(".wpd-inline-opened").find(".wpd-inline-form-wrapper").show(),e(".wpd-inline-opened").find(".wpd-inline-icon").addClass("wpd-open"),e(".wpd-inline-opened").find(".wpd-inline-icon").removeClass("wpd-ignored"),re()):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error"):console.log(t)}).fail(function(e,t,a){console.log(a)})}function ie(t){if(e(t).hasClass("wpd-inline-shortcode"))var a=e(t).attr("id");else a=e(t).parents(".wpd-inline-shortcode").attr("id");return a.substring(a.lastIndexOf("-")+1)}function ce(){e(".wpd-inline-form-wrapper").hide(),e(".wpd-inline-shortcode").removeClass("wpd-active"),e(".wpd-inline-icon").removeClass("wpd-open")}function pe(){e.each(e(".wpd-inline-shortcode:not(.wpd-inline-opened) .wpd-inline-icon"),function(){var t=e(this),a=t.offset().top-window.pageYOffset;a>0&&a<300&&("blink"===A?(t.addClass("wpd-blink"),setTimeout(function(){t.removeClass("wpd-blink")},3e3)):(t.parents(".wpd-inline-shortcode").addClass("wpd-active"),t.siblings(".wpd-inline-form-wrapper").show(),t.addClass("wpd-open"),re(t.siblings(".wpd-inline-form-wrapper"))))})}function re(t){if(t){if(t.offset().left<=10)t.css("left",Math.ceil(parseInt(t.css("left"))-t.offset().left+10)),(a=Math.ceil(t.siblings(".wpd-inline-icon.wpd-open").offset().left-t.offset().left+2))<3&&(a=3),document.styleSheets[0].addRule("#"+t.parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+a+"px;");else if(t.offset().left+t.width()>document.body.clientWidth-10){var a;t.css("left",Math.ceil(parseInt(t.css("left"))+(document.body.clientWidth-(t.offset().left+t.width()))-10)),(a=Math.ceil(t.siblings(".wpd-inline-icon.wpd-open").offset().left-t.offset().left+2))>t.width()-3&&(a=t.width()-3),document.styleSheets[0].addRule("#"+t.parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+a+"px;")}}else e.each(e(".wpd-inline-form-wrapper:visible"),function(){if(e(this).offset().left<=10)e(this).css("left",Math.ceil(parseInt(e(this).css("left"))-e(this).offset().left+10)),(t=Math.ceil(e(this).siblings(".wpd-inline-icon.wpd-open").offset().left-e(this).offset().left+2))<3&&(t=3),document.styleSheets[0].addRule("#"+e(this).parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+t+"px;");else if(e(this).offset().left+e(this).width()>document.body.clientWidth-10){var t;e(this).css("left",Math.ceil(parseInt(e(this).css("left"))+(document.body.clientWidth-(e(this).offset().left+e(this).width()))-10)),(t=Math.ceil(e(this).siblings(".wpd-inline-icon.wpd-open").offset().left-e(this).offset().left+2))>e(this).width()-3&&(t=e(this).width()-3),document.styleSheets[0].addRule("#"+e(this).parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+t+"px;")}})}function le(t,a,o,n){t.data.callbackFunctions&&e.each(t.data.callbackFunctions,function(e){"function"==typeof wpdiscuzAjaxObj[t.data.callbackFunctions[e]]?wpdiscuzAjaxObj[t.data.callbackFunctions[e]](t,a,o,n):console.log(t.data.callbackFunctions[e]+" is not a function")})}function me(t,a,o){a&&e("#wpdiscuz-loading-bar").show(),o.append("postId",s);var n=o.get("action");wpdiscuzAjaxObj.dataFilterCallbacks&&wpdiscuzAjaxObj.dataFilterCallbacks[n]&&e.each(wpdiscuzAjaxObj.dataFilterCallbacks[n],function(e){"function"==typeof wpdiscuzAjaxObj[wpdiscuzAjaxObj.dataFilterCallbacks[n][e]]&&(o=wpdiscuzAjaxObj[wpdiscuzAjaxObj.dataFilterCallbacks[n][e]](o,t,a))});var d=t?wpdiscuzAjaxObj.url:wpdiscuzAjaxObj.customAjaxUrl;return e.ajax({type:"POST",url:d,data:o,contentType:!1,processData:!1})}e(document).delegate("body","click",function(t){if(e(t.target).hasClass("wpd-inline-form-close")||e(t.target).parents(".wpd-inline-form-close").length)t.preventDefault(),e(t.target).parents(".wpd-inline-form-wrapper").hide(),e(t.target).parents(".wpd-inline-shortcode").removeClass("wpd-active"),e(t.target).parents(".wpd-inline-form-wrapper").siblings(".wpd-inline-icon").removeClass("wpd-open");else if(!e(t.target).hasClass("wpd-inline-form-wrapper")&&!e(t.target).parents(".wpd-inline-form-wrapper").length){ce();var a="";e(t.target).hasClass("wpd-inline-icon")?a=e(t.target):e(t.target).parents(".wpd-inline-icon").length&&(a=e(t.target).parents(".wpd-inline-icon")),a.length&&(a.parents(".wpd-inline-shortcode").addClass("wpd-active"),a.siblings(".wpd-inline-form-wrapper").show(),a.addClass("wpd-open"),a.removeClass("wpd-ignored"),re(a.siblings(".wpd-inline-form-wrapper")))}(!e(t.target).hasClass("wpd-last-inline-comments-wrapper")&&!e(t.target).parents(".wpd-last-inline-comments-wrapper").length||e(t.target).parents(".wpd-last-inline-comments-wrapper").length&&e(t.target).hasClass("wpd-load-inline-comment"))&&e(".wpd-last-inline-comments-wrapper").remove()}),e(document).delegate(".wpd-inline-submit.wpd_not_clicked","click",function(t){t.preventDefault();var a=e(this),o=e(this).parents(".wpd_inline_comm_form");if(o[0].checkValidity()){e(this).removeClass("wpd_not_clicked");var n=new FormData;n.append("action","wpdAddInlineComment"),n.append("inline_form_id",ie(o)),e.each(e("input, textarea",o),function(t,a){"checkbox"===this.type?e(this).is(":checked")&&n.append(e(a).attr("name"),e(a).val()):n.append(e(a).attr("name"),e(a).val())}),me(z,!0,n).done(function(t){if(a.addClass("wpd_not_clicked"),"object"==typeof t)if(t.success){o[0].reset(),ce();var n=parseInt(t.data.newCount),d=a.parents(".wpd-inline-icon-wrapper").find(".wpd-inline-icon-count");d.text(n),n?d.addClass("wpd-has-comments"):d.removeClass("wpd-has-comments"),e(".wpd-thread-info").html(t.data.allCommentsCountNewHtml),t.data.allCommentsCountNew=parseInt(t.data.allCommentsCountNew),e("#wpd-bubble-all-comments-count").text(t.data.allCommentsCountNew),t.data.allCommentsCountNew?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),t.data.message&&ae(t.data.message),wpdiscuzAjaxObj.setCommentMessage(t.data.notification,"success")}else t.data&&wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error");else wpdiscuzAjaxObj.setCommentMessage(t,"error");e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).delegate(".wpd-form","keydown",function(t){t.ctrlKey&&13==t.keyCode&&e(this).find(".wc_comm_submit").trigger("click")}),e(document).delegate("#wpdiscuz-edit-form","keydown",function(t){t.ctrlKey&&13==t.keyCode&&e(this).find(".wc_save_edited_comment").trigger("click")}),e(document).delegate(".wpd-inline-comment-content","keydown",function(t){t.ctrlKey&&13==t.keyCode&&e(this).parents(".wpd_inline_comm_form").find(".wpd-inline-submit.wpd_not_clicked").trigger("click")}),e(document).delegate(".wpd-inline-icon-count.wpd-has-comments","click",function(){var t=e(this),a=new FormData;a.append("action","wpdGetLastInlineComments"),a.append("inline_form_id",ie(t)),me(z,!0,a).done(function(a){"object"==typeof a?a.success?e(a.data).insertAfter(t):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error"):console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpd-view-all-inline-comments","click",function(t){t.preventDefault(),e(this).parents(".wpd-last-inline-comments-wrapper").remove(),e(".wpdf-inline").hasClass("wpdf-active")||e(".wpdf-inline").trigger("click"),ee(),e("html, body").animate({scrollTop:e(".wpdf-inline").offset().top-32},1e3,te)}),e(document).delegate(".wpd-feedback-content-link","click",function(t){t.preventDefault();var a=e(this).data("feedback-content-id");ee(),e("html, body").animate({scrollTop:e("#wpd-inline-"+a).offset().top-38},1e3,function(){te(),e("#wpd-inline-"+a).addClass("wpd-active")})}),"scroll_open"!==A&&"blink"!==A||(pe(),e(window).scroll(pe)),e(document).delegate("#wpd-post-rating.wpd-not-rated .wpd-rate-starts svg","click",function(){var t=new FormData,a=e(this).index();a>=0&&a<5&&(t.append("action","wpdUserRate"),t.append("rating",a+1),me(z,!0,t).done(function(t){"object"==typeof t?t.success?location.reload(!0):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error"):console.log(t),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)}))}),e("#wpdiscuz-subscribe-form").submit(function(t){t.preventDefault();var a,o,d=e(this);if(d[0].checkValidity()&&(a=d,o=!0,"2.0"===n&&e("input[name=wpdiscuz_recaptcha_subscribe_form]",a).length&&!e("input[name=wpdiscuz_recaptcha_subscribe_form]",a).val().length?(o=!1,e(".wpdiscuz-recaptcha",a).css("border","1px solid red")):"2.0"===n&&e("input[name=wpdiscuz_recaptcha_subscribe_form]",a).length&&e(".wpdiscuz-recaptcha",a).css("border","none"),o)){var s=new FormData;s.append("action","wpdAddSubscription"),e("*",d).each(function(){""!=this.name&&"checkbox"!=this.type&&"radio"!=this.type&&s.append(this.name+"",e(this).val()),"checkbox"!=this.type&&"radio"!=this.type||e(this).is(":checked")&&s.append(this.name+"",e(this).val())}),me(z,!0,s).done(function(t){"object"==typeof t?t.success?(wpdiscuzAjaxObj.setCommentMessage(t.data,"success"),setTimeout(function(){location.reload(!0)},3e3)):wpdiscuzAjaxObj.setCommentMessage(t.data,"error"):wpdiscuzAjaxObj.setCommentMessage(t,"error"),e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(".wpd-unsubscribe").click(function(t){t.preventDefault();var a=new FormData;a.append("action","wpdUnsubscribe"),a.append("sid",e(this).data("sid")),a.append("skey",e(this).data("skey")),me(z,!0,a).done(function(t){"object"==typeof t?t.success?(wpdiscuzAjaxObj.setCommentMessage(t.data,"success"),setTimeout(function(){location.reload(!0)},3e3)):wpdiscuzAjaxObj.setCommentMessage(t.data,"error"):console.log(t),e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),wpdiscuzAjaxObj.resetActiveFilters=function(t){e(".wpd-filter.wpdf-active"+(t?":not("+t+")":"")).removeClass("wpdf-active")},wpdiscuzAjaxObj.getAjaxObj=me});var onloadCallback=function(){if(document.getElementById("wpdiscuz-recaptcha-0_0")&&"2.0"===wpdiscuzAjaxObj.wpDiscuzReCaptchaVersion&&(1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!wpdiscuzAjaxObj.is_user_logged_in||1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&wpdiscuzAjaxObj.is_user_logged_in))try{grecaptcha.render("wpdiscuz-recaptcha-0_0",{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(e){jQuery("#wpdiscuz-recaptcha-field-0_0").val("key")},"expired-callback":function(){jQuery("#wpdiscuz-recaptcha-field-0_0").val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}};
7
  /* Colorbox */
8
- (function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!U){U=$=!0,c(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=Math.max((l!==!1?Math.min(h,a(l,"x")):h)-z-D,0),_.h=Math.max((f!==!1?Math.min(s,a(f,"y")):s)-N-j,0),I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){x||(V=!1,E=t(i),x=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),L=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(F=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),S=t('<button type="button"/>').attr({id:Z+"Slideshow"}),L),B=t('<button type="button"/>').attr({id:Z+"Close"}),y.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(S)),e.body&&!x.parent().length&&t(e.body).append(v,x.append(y,M))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return x?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;U&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),U&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,r,h=J.prep,d=++le;if($=!0,q=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){L.show()},100),_.get("inline")){var c=t(e).eq(0);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),q=_.get("createImg"),t(q).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>1&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){q.height-=q.height*e,q.width-=q.width*e},_.mw&&q.width>_.mw&&(e=(q.width-_.mw)/q.width,o()),_.mh&&q.height>_.mh&&(e=(q.height-_.mh)/q.height,o())),_.h&&(q.style.marginTop=Math.max(_.mh-q.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(q.style.cursor="pointer",t(q).bind("click."+Z,function(){J.next()})),q.style.width=q.width+"px",q.style.height=q.height+"px",h(q)},1)}),q.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B,O,_,j,D,N,z,A,q,U,$,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){S.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),x.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),S.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),x.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,S.hide(),t(),ae.unbind(ne,e).unbind(ie,t),x.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),S.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px"}var r,h,s,l=0,d=0,c=x.offset();if(E.unbind("resize."+Z),x.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,x.css({position:"fixed"})):(l=h,d=s,x.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),x.css({top:c.top,left:c.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0}),e=g}de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){n(),$=!1,y[0].style.width=_.w+z+D+"px",y[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;U&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function a(){return _.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if(U){var d,g="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(M.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),M.hide(),t(q).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&x[0].style.removeAttribute("filter")}var n,o,a=W.length;U&&(o=function(){clearTimeout(Q),L.hide(),u(ne),_.get("onComplete")},F.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?x.fadeTo(g,1,i):i())},"fade"===_.get("transition")?x.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!$&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]))},J.prev=function(){!$&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]))},J.close=function(){U&&!G&&(G=!0,U=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){x&&(x.stop(),t[Y].close(),x.stop(!1,!0).remove(),v.remove(),G=!1,x=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window);
9
  /* Media Uploader */
10
  jQuery(document).ready(function(e){if(e(document).delegate("#wpdcom .wmu-upload-wrap","click",function(){e(".wpd-form-foot",e(this).parents(".wpd_comm_form")).slideDown(parseInt(wpdiscuzAjaxObj.enableDropAnimation)?500:0)}),e(document).delegate(".wmu-add-files","change",function(){var a=e(this),t=a.parents(".wpd_comm_form"),d=a[0].files?a[0].files:[];d.length&&function(a,t,d){var o=new FormData;o.append("action","wmuUploadFiles"),o.append("wmu_nonce",wpdiscuzAjaxObj.wmuSecurity),o.append("wmuAttachmentsData",e(".wmu-attachments-data",t).val());var i=0;e.each(d,function(e,a){i+=a.size,o.append(wpdiscuzAjaxObj.wmuInput+"["+e+"]",a)}),i>parseInt(wpdiscuzAjaxObj.wmuMaxFileSize)?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wmuPhraseMaxFileSize,"error",3e3):i>parseInt(wpdiscuzAjaxObj.wmuPostMaxSize)?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wmuPhrasePostMaxSize,"error",3e3):wpdiscuzAjaxObj.getAjaxObj(!0,!0,o).done(function(a){a.success?(e(".wmu-attached-data-info",t).remove(),e(".wmu-add-files",t).after(a.data.attachmentsHtml),a.data.tooltip&&e(".wmu-upload-wrap").attr("wpd-tooltip",a.data.tooltip),function(a,t){e.each(t.data.previewsData,function(t,d){e(".wmu-action-wrap .wmu-"+t+"-tab",a).html(""),e.each(d,function(d,o){var i=o.id,m="",s=o.fullname,u=o.shortname;t==wpdiscuzAjaxObj.wmuKeyImages?(m=o.url,u=""):t==wpdiscuzAjaxObj.wmuKeyVideos?m=wpdiscuzAjaxObj.wmuIconVideo:t==wpdiscuzAjaxObj.wmuKeyFiles&&(m=wpdiscuzAjaxObj.wmuIconFile);var r='<div class="wmu-preview [PREVIEW_TYPE_CLASS]" title="[PREVIEW_TITLE]" data-wmu-type="[PREVIEW_TYPE]" data-wmu-attachment="[PREVIEW_ID]"><div class="wmu-preview-remove"><img class="wmu-preview-img" src="[PREVIEW_ICON]"><div class="wmu-file-name">[PREVIEW_FILENAME]</div><div class="wmu-delete">&nbsp;</div></div></div>';r=(r=(r=(r=(r=(r=r.replace("[PREVIEW_TYPE_CLASS]","wmu-preview-"+t)).replace("[PREVIEW_TITLE]",s)).replace("[PREVIEW_TYPE]",t)).replace("[PREVIEW_ID]",i)).replace("[PREVIEW_ICON]",m)).replace("[PREVIEW_FILENAME]",u),e(".wmu-action-wrap .wmu-"+t+"-tab",a).removeClass("wmu-hide").append(r)})})}(t,a),a.data.errors&&(wpdiscuzAjaxObj.setCommentMessage(a.data.errors,"error",3e3),console.log(a.data.errors))):a.data.errorCode?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data.errorCode],"error",3e3):a.data.error&&wpdiscuzAjaxObj.setCommentMessage(a.data.error,"error",3e3),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,t,d){console.log(d),e("#wpdiscuz-loading-bar").fadeOut(250)})}(0,t,d)}),e(document).delegate(".wmu-attachment-delete","click",function(a){if(confirm(wpdiscuzAjaxObj.wmuPhraseConfirmDelete)){var t=e(this).data("wmu-attachment"),d=new FormData;d.append("action","wmuDeleteAttachment"),d.append("wmu_nonce",wpdiscuzAjaxObj.wmuSecurity),d.append("attachmentId",t),wpdiscuzAjaxObj.getAjaxObj(!0,!0,d).done(function(a){if(a.success){var d=e(".wmu-attachment-"+t).parents(".wmu-comment-attachments");e(".wmu-attachment-"+t).remove(),e(".wmu-attached-images *",d).length||e(".wmu-attached-images",d).remove(),e(".wmu-attached-videos *",d).length||e(".wmu-attached-videos",d).remove(),e(".wmu-attached-files *",d).length||e(".wmu-attached-files",d).remove()}else a.data.errorCode?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data.errorCode],"error",3e3):a.data.error&&wpdiscuzAjaxObj.setCommentMessage(a.data.error,"error",3e3);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,t,d){console.log(d),e("#wpdiscuz-loading-bar").fadeOut(250)})}else console.log("canceled")}),e(document).delegate(".wmu-preview","click",function(){var a=e(this),t=a.parents(".wpd_comm_form"),d=(a.data("wmu-type"),a.data("wmu-attachment")),o=new FormData;o.append("action","wmuRemoveAttachmentPreview"),o.append("attachmentId",d),o.append("wmu_nonce",wpdiscuzAjaxObj.wmuSecurity),o.append("wmuAttachmentsData",e(".wmu-attachments-data",t).val()),wpdiscuzAjaxObj.getAjaxObj(!0,!0,o).done(function(d){if(d.success){a.remove();var o=e(".wmu-tabs",t);e.each(o,function(a,t){e(".wmu-preview",t).length?e(t).removeClass("wmu-hide"):e(t).addClass("wmu-hide")}),e(".wmu-attached-data-info",t).remove(),e(".wmu-add-files",t).after(d.data.attachmentsHtml),d.data.tooltip&&e(".wmu-upload-wrap").attr("wpd-tooltip",d.data.tooltip)}else d.data.errorCode?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[d.data.errorCode],"error",3e3):d.data.error&&wpdiscuzAjaxObj.setCommentMessage(d.data.error,"error",3e3);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,t,d){console.log(d),e("#wpdiscuz-loading-bar").fadeOut(250)})}),parseInt(wpdiscuzAjaxObj.wmuIsLightbox)){function a(){e(".wmu-lightbox").colorbox({maxHeight:"95%",maxWidth:"95%",rel:"wmu-lightbox",fixed:!0})}a(),wpdiscuzAjaxObj.wmuAddLightBox=a}wpdiscuzAjaxObj.wmuHideAll=function(a,t){"object"==typeof a?a.success?(e(".wmu-tabs",t).addClass("wmu-hide"),e(".wmu-preview",t).remove(),e(".wmu-attached-data-info",t).remove()):console.log(a.data):console.log(a)}});
11
  /* Lity */
12
  !function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(e,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(e,require("jquery")):e.lity=t(e,e.jQuery||e.Zepto)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=e.document,i=t(e),r=t.Deferred,o=t("html"),a=[],l="aria-hidden",s="lity-"+l,d='a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not([tabindex^="-"])',c={esc:!0,handler:null,handlers:{image:C,inline:function(e,n){var i,r,o;try{i=t(e)}catch(e){return!1}if(!i.length)return!1;return r=t('<i style="display:none !important"/>'),o=i.hasClass("lity-hide"),n.element().one("lity:remove",function(){r.before(i).remove(),o&&!i.closest(".lity-content").length&&i.addClass("lity-hide")}),i.removeClass("lity-hide").after(r)},youtube:function(e){var n=f.exec(e);if(!n)return!1;return k(x(e,w("https://www.youtube"+(n[2]||"")+".com/embed/"+n[4],t.extend({autoplay:1},b(n[5]||"")))))},vimeo:function(e){var n=y.exec(e);if(!n)return!1;return k(x(e,w("https://player.vimeo.com/video/"+n[3],t.extend({autoplay:1},b(n[4]||"")))))},googlemaps:function(e){var t=v.exec(e);if(!t)return!1;return k(x(e,w("https://www.google."+t[3]+"/maps?"+t[6],{output:t[6].indexOf("layer=c")>0?"svembed":"embed"})))},facebookvideo:function(e){var n=p.exec(e);if(!n)return!1;0!==e.indexOf("http")&&(e="https:"+e);return k(x(e,w("https://www.facebook.com/plugins/video.php?href="+e,t.extend({autoplay:1},b(n[4]||"")))))},iframe:k},template:'<div class="lity" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="lity-wrap" data-lity-close role="document"><div class="lity-loader" aria-hidden="true">Loading...</div><div class="lity-container"><div class="lity-content"></div><button class="lity-close" type="button" aria-label="Close (Press escape to close)" data-lity-close>&times;</button></div></div></div>'},u=/(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i,f=/(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i,y=/(vimeo(pro)?.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/,v=/((maps|www)\.)?google\.([^\/\?]+)\/?((maps\/?)?\?)(.*)/i,p=/(facebook\.com)\/([a-z0-9_-]*)\/videos\/([0-9]*)(.*)?$/i,m=function(){var e=n.createElement("div"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in t)if(void 0!==e.style[i])return t[i];return!1}();function h(e){var t=r();return m&&e.length?(e.one(m,t.resolve),setTimeout(t.resolve,500)):t.resolve(),t.promise()}function g(e,n,i){if(1===arguments.length)return t.extend({},e);if("string"==typeof n){if(void 0===i)return void 0===e[n]?null:e[n];e[n]=i}else t.extend(e,n);return this}function b(e){for(var t,n=decodeURI(e.split("#")[0]).split("&"),i={},r=0,o=n.length;r<o;r++)n[r]&&(i[(t=n[r].split("="))[0]]=t[1]);return i}function w(e,n){return e+(e.indexOf("?")>-1?"&":"?")+t.param(n)}function x(e,t){var n=e.indexOf("#");return-1===n?t:(n>0&&(e=e.substr(n)),t+e)}function C(e,n){var i=n.opener()&&n.opener().data("lity-desc")||"Image with no description",o=t('<img src="'+e+'" alt="'+i+'"/>'),a=r(),l=function(){var e;a.reject((e="Failed loading image",t('<span class="lity-error"/>').append(e)))};return o.on("load",function(){if(0===this.naturalWidth)return l();a.resolve(o)}).on("error",l),a.promise()}function k(e){return'<div class="lity-iframe-container"><iframe frameborder="0" allowfullscreen src="'+e+'"/></div>'}function E(){return n.documentElement.clientHeight?.9*n.documentElement.clientHeight:Math.round(.9*i.height())}function j(e){var t,i,r,o=z();o&&(27===e.keyCode&&o.options("esc")&&o.close(),9===e.keyCode&&(t=e,i=o.element().find(d),r=i.index(n.activeElement),t.shiftKey&&r<=0?(i.get(i.length-1).focus(),t.preventDefault()):t.shiftKey||r!==i.length-1||(i.get(0).focus(),t.preventDefault())))}function D(){t.each(a,function(e,t){t.resize()})}function z(){return 0===a.length?null:a[0]}function T(e,d,u,f){var y,v,p,m,b,w,x,C,k,z,T,O=this,q=!1,W=!1;d=t.extend({},c,d),v=t(d.template),O.element=function(){return v},O.opener=function(){return u},O.options=t.proxy(g,O,d),O.handlers=t.proxy(g,O,d.handlers),O.resize=function(){q&&!W&&p.css("max-height",E()+"px").trigger("lity:resize",[O])},O.close=function(){if(q&&!W){var e;W=!0,(e=O).element().attr(l,"true"),1===a.length&&(o.removeClass("lity-active"),i.off({resize:D,keydown:j})),((a=t.grep(a,function(t){return e!==t})).length?a[0].element():t(".lity-hidden")).removeClass("lity-hidden").each(function(){var e=t(this),n=e.data(s);n?e.attr(l,n):e.removeAttr(l),e.removeData(s)});var d=r();if(f&&(n.activeElement===v[0]||t.contains(v[0],n.activeElement)))try{f.focus()}catch(e){}return p.trigger("lity:close",[O]),v.removeClass("lity-opened").addClass("lity-closed"),h(p.add(v)).always(function(){p.trigger("lity:remove",[O]),v.remove(),v=void 0,d.resolve()}),d.promise()}},m=e,b=O,w=d.handlers,x=d.handler,k="inline",z=t.extend({},w),x&&z[x]?(C=z[x](m,b),k=x):(t.each(["inline","iframe"],function(e,t){delete z[t],z[t]=w[t]}),t.each(z,function(e,t){return!t||!(!t.test||t.test(m,b))||(!1!==(C=t(m,b))?(k=e,!1):void 0)})),y={handler:k,content:C||""},v.attr(l,"false").addClass("lity-loading lity-opened lity-"+y.handler).appendTo("body").focus().on("click","[data-lity-close]",function(e){t(e.target).is("[data-lity-close]")&&O.close()}).trigger("lity:open",[O]),T=O,1===a.unshift(T)&&(o.addClass("lity-active"),i.on({resize:D,keydown:j})),t("body > *").not(T.element()).addClass("lity-hidden").each(function(){var e=t(this);void 0===e.data(s)&&e.data(s,e.attr(l)||null)}).attr(l,"true"),t.when(y.content).always(function(e){p=t(e).css("max-height",E()+"px"),v.find(".lity-loader").each(function(){var e=t(this);h(e).always(function(){e.remove()})}),v.removeClass("lity-loading").find(".lity-content").empty().append(p),q=!0,p.trigger("lity:ready",[O])})}function O(e,i,r){e.preventDefault?(e.preventDefault(),e=(r=t(this)).data("lity-target")||r.attr("rel")||r.attr("src")):r=t(r);var o=new T(e,t.extend({},r.data("lity-options")||r.data("lity"),i),r,n.activeElement);if(!e.preventDefault)return o}return C.test=function(e){return u.test(e)},O.version="2.2.2",O.options=t.proxy(g,O,c),O.handlers=t.proxy(g,O,c.handlers),O.current=z,t(n).on("click.lity","[data-wpd-lity]",O),O});
13
  /* My Content and Settings */
14
- jQuery(document).ready(function(e){var t=0,d=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),n=parseInt(wpdiscuzUCObj.additionalTab);e(document).delegate(".wpd-info,.wpd-page-link,.wpd-delete-content,.wpd-user-email-delete-links","click",function(e){e.preventDefault()}),e(document).delegate(".wpd-info.wpd-not-clicked","click",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var i=new FormData;return i.append("action","wpdGetInfo"),function(t,a){var i=e(".fas",t),o=i.attr("class");i.removeClass(),i.addClass("fas fa-pulse fa-spinner"),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,a).done(function(d){t.addClass("wpd-not-clicked"),i.removeClass(),i.addClass(o),d&&(e("#wpdUserContentInfo").html(d),e("#wpdUserContentInfo ul.wpd-list .wpd-list-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo div.wpd-content .wpd-content-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo").is(":visible")||e("#wpdUserContentInfoAnchor").trigger("click"))})}(a,i),!1}),e(document).delegate(".wpd-list-item","click",function(){var t=e("input.wpd-rel",this).val();e("#wpdUserContentInfo .wpd-list-item").removeClass("wpd-active"),e("#wpdUserContentInfo .wpd-content-item").removeClass("wpd-active");var a=e(this);if(e("#wpdUserContentInfo #"+t).text().length)a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).addClass("wpd-active");else{var i=new FormData;i.append("action",a.attr("data-action")),i.append("page",0),e("#wpdUserContentInfo #"+t).addClass("wpd-active"),e("#wpdUserContentInfo #"+t).css("text-align","center"),wpdiscuzAjaxObj.getAjaxObj(d||n,!0,i).done(function(d){d&&(e("#wpdUserContentInfo #"+t).css("text-align",""),a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).html(d)),e("#wpdiscuz-loading-bar").hide()})}}),e(document).delegate(".wpd-page-link.wpd-not-clicked","click",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var i=a.data("wpd-page"),o=e(".wpd-active .wpd-pagination .wpd-action").val(),s=new FormData;s.append("action",o),s.append("page",i),wpdiscuzAjaxObj.getAjaxObj(d||n,!0,s).done(function(t){a.addClass("wpd-not-clicked"),t&&e(".wpd-content-item.wpd-active").html(t),e("#wpdiscuz-loading-bar").hide()})}),e(document).delegate(".wpd-delete-content.wpd-not-clicked","click",function(){var a=e(this),i=parseInt(a.data("wpd-content-id"));if(!isNaN(i)){var o=a.data("wpd-delete-action");if("wpdDeleteComment"==o&&!confirm(wpdiscuzUCObj.msgConfirmDeleteComment))return!1;if("wpdCancelSubscription"==o&&!confirm(wpdiscuzUCObj.msgConfirmCancelSubscription))return!1;if("wpdCancelFollow"==o&&!confirm(wpdiscuzUCObj.msgConfirmCancelFollow))return!1;var s=e("i",a),c=s.attr("class"),l=e(".wpd-wrapper .wpd-page-number").val(),p=e(".wpd-content-item.wpd-active").children(".wpd-item").length;a.removeClass("wpd-not-clicked"),s.removeClass().addClass("fas fa-pulse fa-spinner"),1==p&&l>0&&(l-=1);var w=new FormData;w.append("id",i),w.append("page",l),w.append("action",o),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,w).done(function(d){a.addClass("wpd-not-clicked"),s.removeClass().addClass(c),e(".wpd-content-item.wpd-active").html(d),t=1})}}),e(document).delegate("[data-lity-close]","click",function(d){e(d.target).is("[data-lity-close]")&&t&&window.location.reload(!0)}),e(document).delegate(".wpd-user-email-delete-links.wpd-not-clicked","click",function(){var t=e(this);t.removeClass("wpd-not-clicked"),e(".wpd-loading",t).addClass("wpd-show");var a=new FormData;a.append("action","wpdEmailDeleteLinks"),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,a).done(function(d){t.addClass("wpd-not-clicked"),e("[data-lity-close]",window.parent.document).trigger("click")})}),e(document).delegate(".wpd-user-settings-button.wpd-not-clicked","click",function(){var t=e(this);t.removeClass("wpd-not-clicked");var a=t.data("wpd-delete-action");if(console.log(a),"deleteCookies"!==a){t.find(".wpd-loading").addClass("wpd-show");var i=new FormData;i.append("action","wpdGuestAction"),i.append("guestAction",a),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,i).done(function(d){t.addClass("wpd-not-clicked"),t.find(".wpd-loading").removeClass("wpd-show");try{var n=e.parseJSON(d);t.after(n.message);var a=t.next(".wpd-guest-action-message");a.fadeIn(100).fadeOut(7e3,function(){a.remove(),1===parseInt(n.code)&&(t.parent().remove(),e(".wpd-delete-all-comments").length||e(".wpd-delete-all-subscriptions").length||e(".wpd-delete-all-cookies").parent().addClass("wpd-show"))})}catch(e){console.log(e)}})}else!function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var d=e[t],n=d.indexOf("="),a=n>-1?d.substr(0,n):d;Cookies.remove(a.trim())}location.reload(!0)}()})});
15
  /* Social */
16
  function wpcShareCommentFB(e,s){FB.ui({method:"share",href:e,quote:s},function(e){})}(wpdiscuzAjaxObj.enableFbLogin||wpdiscuzAjaxObj.enableFbShare)&&wpdiscuzAjaxObj.facebookAppID&&(!function(e,s,n){var o,a=e.getElementsByTagName(s)[0];e.getElementById(n)||((o=e.createElement(s)).id=n,o.src="//connect.facebook.net/en_US/sdk.js",a.parentNode.insertBefore(o,a))}(document,"script","facebook-jssdk"),window.fbAsyncInit=function(){FB.init({appId:wpdiscuzAjaxObj.facebookAppID,cookie:!0,xfbml:!0,version:"v7.0"})}),jQuery(document).ready(function(e){var s;(s=Cookies.get("wpdiscuz_social_login_message"))&&"undefined"!==s&&(Cookies.remove("wpdiscuz_social_login_message"),wpdiscuzAjaxObj.setCommentMessage(decodeURIComponent(s.replace(/\+/g,"%20")),"error")),Cookies.get("wpdiscuz_scroll_to_comments")&&(Cookies.remove("wpdiscuz_scroll_to_comments",{path:"/"}),e("html, body").animate({scrollTop:e("#comments").offset().top-32},1e3)),e(document).delegate(".wpd-comment-share .fa-facebook-f","click",function(){if(1==wpdiscuzAjaxObj.enableFbShare){var s=e(this).parents(".wpd-comment").find(".wpd-comment-right").attr("id"),n=window.location.href;-1!==n.indexOf("#")&&(n=n.substring(0,n.indexOf("#"))),wpcShareCommentFB(n+="#"+s,e(this).parents(".wpd-comment-right").find(".wpd-comment-text").text())}});var n="";function o(e,s){var n,o="";t(s,1),Cookies.set("wpdiscuz_scroll_to_comments",1,{path:"/"}),"facebook"===e&&0==wpdiscuzAjaxObj.facebookUseOAuth2?FB.getLoginStatus(function(t){"connected"===t.status?(n=t.authResponse.accessToken,o=t.authResponse.userID,a(e,n,o,s)):FB.login(function(t){"connected"===t.status&&(n=t.authResponse.accessToken,o=t.authResponse.userID,a(e,n,o,s))},{scope:"public_profile,email"})}):a(e,n,o,s)}function a(s,n,o,a){return e.ajax({type:"POST",url:wpdiscuzAjaxObj.url,data:{action:"wpd_social_login",provider:s,token:n,userID:o,postID:wpdiscuzAjaxObj.wc_post_id}}).done(function(s){!function(s,n){try{var o=e.parseJSON(s),a=o.code,i=o.message,c=o.url;200===parseInt(a)?location.assign(c):wpdiscuzAjaxObj.setCommentMessage(i,"error")}catch(e){console.log(e)}t(n,0)}(s,a)}),""}function t(e,s){1===s?e.find(".wpdiscuz-social-login-spinner").show():e.find(".wpdiscuz-social-login-spinner").hide()}e(document).delegate("#wpdcom .wpd-social-login .wpdiscuz-login-button","click",function(){var s=e(this).parents(".wpd-social-login");!function(e,s){1!=parseInt(wpdiscuzAjaxObj.socialLoginAgreementCheckbox)||1==Cookies.get("socialLoginAgreementConfirmed")?o(e,s):s.parents(".wpd-form-wrap, .wpd-form").find(".wpd-social-login-agreement").first().slideDown(700)}(n=function(e){var s="";e.hasClass("wpdsn-fb")&&(s="facebook");e.hasClass("wpdsn-insta")&&(s="instagram");e.hasClass("wpdsn-gg")&&(s="google");e.hasClass("wpdsn-ds")&&(s="disqus");e.hasClass("wpdsn-wp")&&(s="wordpress");e.hasClass("wpdsn-tw")&&(s="twitter");e.hasClass("wpdsn-vk")&&(s="vk");e.hasClass("wpdsn-ok")&&(s="ok");e.hasClass("wpdsn-linked")&&(s="linkedin");e.hasClass("wpdsn-yandex")&&(s="yandex");e.hasClass("wpdsn-mailru")&&(s="mailru");e.hasClass("wpdsn-weixin")&&(s="wechat");e.hasClass("wpdsn-weibo")&&(s="weibo");e.hasClass("wpdsn-qq")&&(s="qq");e.hasClass("wpdsn-baidu")&&(s="baidu");return s}(e(this)),s)}),e(document).delegate("#wpdcom .wpd-agreement-buttons-right .wpd-agreement-button","click",function(){var s=e(this).parents(".wpd-form-wrap, .wpd-form").find(".wpd-social-login-agreement").slideUp(700);e(this).hasClass("wpd-agreement-button-agree")&&(wpdiscuzAjaxObj.isCookiesEnabled&&Cookies.set("socialLoginAgreementConfirmed",1,{expires:30,path:"/"}),o(n,s))})});
3
  /* Autogrow */
4
  jQuery.fn.autoGrow=function(){return this.each(function(){var createMirror=function(textarea){jQuery(textarea).after('<div class="autogrow-textarea-mirror"></div>');return jQuery(textarea).next(".autogrow-textarea-mirror")[0]};var sendContentToMirror=function(textarea){mirror.innerHTML=String(textarea.value).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\n/g,"<br />")+".<br/>.";if(jQuery(textarea).height()!=jQuery(mirror).height())jQuery(textarea).height(jQuery(mirror).height())};var growTextarea=function(){sendContentToMirror(this)};var mirror=createMirror(this);mirror.style.display="none";mirror.style.wordWrap="break-word";mirror.style.padding=jQuery(this).css("padding");mirror.style.width=jQuery(this).css("width");mirror.style.fontFamily=jQuery(this).css("font-family");mirror.style.fontSize=jQuery(this).css("font-size");mirror.style.lineHeight=jQuery(this).css("line-height");this.style.overflow="hidden";this.style.minHeight=this.rows+"em";this.onkeydown=growTextarea;sendContentToMirror(this)})};
5
  /* wpDiscuz */
6
+ var wpdiscuzLoadRichEditor=parseInt(wpdiscuzAjaxObj.loadRichEditor);if(wpdiscuzLoadRichEditor)var wpDiscuzEditor=new WpdEditor;function wpdMessagesOnInit(e,t){wpdiscuzAjaxObj.setCommentMessage(e,t),setTimeout(function(){location.href=location.href.substring(0,location.href.indexOf("wpdiscuzUrlAnchor")-1)},3e3)}wpdiscuzAjaxObj.setCommentMessage=function(e,t,o){var a="wpdiscuz-message-error";if(e instanceof Array)for(var n in e)t instanceof Array?"success"===t[n]?a="wpdiscuz-message-success":"warning"===t[n]&&(a="wpdiscuz-message-warning"):"success"===t?a="wpdiscuz-message-success":"warning"===t&&(a="wpdiscuz-message-warning"),jQuery("<div/>").addClass(a).html(e[n]).prependTo("#wpdiscuz-comment-message").delay(o instanceof Array?o[n]:o||4e3).fadeOut(1e3,function(){jQuery(this).remove()});else"success"===t?a="wpdiscuz-message-success":"warning"===t&&(a="wpdiscuz-message-warning"),jQuery("<div/>").addClass(a).html(e).prependTo("#wpdiscuz-comment-message").delay(o||4e3).fadeOut(1e3,function(){jQuery(this).remove()})},jQuery(document).ready(function(e){e("body").addClass("wpdiscuz_"+wpdiscuzAjaxObj.version);var t=wpdiscuzAjaxObj.is_user_logged_in,o=1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!t,a=1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&t,n=wpdiscuzAjaxObj.wpDiscuzReCaptchaVersion,i=parseInt(wpdiscuzAjaxObj.commentListLoadType),s=parseInt(wpdiscuzAjaxObj.wc_post_id),d=parseInt(wpdiscuzAjaxObj.commentListUpdateType),c=1e3*parseInt(wpdiscuzAjaxObj.commentListUpdateTimer),p=parseInt(wpdiscuzAjaxObj.liveUpdateGuests),r=wpdiscuzAjaxObj.loadLastCommentId,l=r,m=parseInt(wpdiscuzAjaxObj.firstLoadWithAjax);Cookies.get("wpdiscuz_comments_sorting")&&Cookies.remove("wpdiscuz_comments_sorting",{path:""}),Cookies.get("wordpress_last_visit")&&Cookies.remove("wordpress_last_visit",{path:""}),Cookies.get("wpdiscuz_last_visit")&&Cookies.remove("wpdiscuz_last_visit",{path:""});var w,u=wpdiscuzAjaxObj.storeCommenterData,f=parseInt(wpdiscuzAjaxObj.wmuEnabled),h=wpdiscuzAjaxObj.isCookiesEnabled,b=!0,_=wpdiscuzAjaxObj.cookiehash,g=parseInt(wpdiscuzAjaxObj.isLoadOnlyParentComments),v=parseInt(wpdiscuzAjaxObj.enableDropAnimation)?500:0,z=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),j=parseInt(wpdiscuzAjaxObj.enableBubble),C=parseInt(wpdiscuzAjaxObj.bubbleLiveUpdate),k=parseInt(wpdiscuzAjaxObj.bubbleHintTimeout),x=parseInt(wpdiscuzAjaxObj.bubbleHintHideTimeout)?parseInt(wpdiscuzAjaxObj.bubbleHintHideTimeout):5,y=parseInt(wpdiscuzAjaxObj.bubbleShowNewCommentMessage),O=wpdiscuzAjaxObj.bubbleLocation,A=wpdiscuzAjaxObj.inlineFeedbackAttractionType,I=[],T=[],D=[],E=!1,M=1,F=e("html").css("scroll-behavior"),R=e("body").css("scroll-behavior");(e(".wc_social_plugin_wrapper .wp-social-login-provider-list").length?e(".wc_social_plugin_wrapper .wp-social-login-provider-list").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .the_champ_login_container").length?e(".wc_social_plugin_wrapper .the_champ_login_container").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .social_connect_form").length?e(".wc_social_plugin_wrapper .social_connect_form").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .oneall_social_login_providers").length&&e(".wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"),wpdiscuzLoadRichEditor&&e("#wpd-editor-0_0").length&&wpDiscuzEditor.createEditor("#wpd-editor-0_0"),window.addEventListener("beforeunload",function(t){var o=e(".wpd-form").not(":hidden");if(o.length)if(wpdiscuzLoadRichEditor){for(var a=0;a<o.length;a++)if("\n"!==wpDiscuzEditor.createEditor(e(o[a]).find(".ql-container").attr("id")).getText())return t.preventDefault(),void(t.returnValue="")}else for(a=0;a<o.length;a++)if(e(o[a]).find(".wc_comment").val())return t.preventDefault(),void(t.returnValue="")}),e(document).on("focus","#wpdcom .ql-editor, #wpdcom .wc_comment",function(){e(".wpd-form-foot",e(this).parents(".wpd_comm_form")).slideDown(v)}),e(document).on("focus","#wpdcom textarea",function(){e(this).next(".autogrow-textarea-mirror").length||e(this).autoGrow()}),t)||q({comment_author:Cookies.get("comment_author_"+_),comment_author_email:Cookies.get("comment_author_email_"+_),comment_author_url:Cookies.get("comment_author_url_"+_)});if(e(".wpd-vote-down.wpd-dislike-hidden").remove(),e(".wpd-toolbar-hidden").prev("[id^=wpd-editor-]").css("border-bottom","1px solid #dddddd"),e(document).on("click","#wpd-editor-source-code-wrapper-bg",function(){e(this).hide(),e("#wpd-editor-source-code-wrapper").hide(),e("#wpd-editor-uid").val(""),e("#wpd-editor-source-code").val("")}),wpdiscuzLoadRichEditor&&e(document).on("click","#wpd-insert-source-code",function(){var t=wpDiscuzEditor.createEditor("#"+e("#wpd-editor-uid").val());t.deleteText(0,t.getLength(),Quill.sources.USER);var o=e("#wpd-editor-source-code").val();o.length&&t.clipboard.dangerouslyPasteHTML(0,o,Quill.sources.USER),t.update(),e("#wpd-editor-source-code-wrapper-bg").hide(),e("#wpd-editor-source-code-wrapper").hide(),e("#wpd-editor-uid").val(""),e("#wpd-editor-source-code").val("")}),e(document).on("click",".wpd-reply-button",function(){var i=G(e(this),0);e(this).hasClass("wpdiscuz-clonned")?(wpdiscuzLoadRichEditor?setTimeout(function(){wpDiscuzEditor.createEditor("#wpd-editor-"+i).focus()},v):setTimeout(function(){e("#wc-textarea-"+i).trigger("focus")},v),e("#wpd-secondary-form-wrapper-"+i).slideToggle(v)):function(o){var a=G(o,0);e("#wpdiscuz_form_anchor-"+a).before(function(t){return e("#wpdiscuz_hidden_secondary_form").html().replace(/wpdiscuzuniqueid/g,t)}(a));var n=e("#wpd-secondary-form-wrapper-"+a);if(!t){var i={comment_author:Cookies.get("comment_author_"+_),comment_author_email:Cookies.get("comment_author_email_"+_),comment_author_url:Cookies.get("comment_author_url_"+_)};q(i)}wpdiscuzLoadRichEditor?setTimeout(function(){wpDiscuzEditor.createEditor("#wpd-editor-"+a).focus()},v):setTimeout(function(){e("#wc-textarea-"+a).trigger("focus")},v);n.slideToggle(v,function(){o.addClass("wpdiscuz-clonned")})}(e(this)),function(t){if((o||a)&&"2.0"===n){var i=$(t);setTimeout(function(){if(!T[i])try{T[i]=grecaptcha.render("wpdiscuz-recaptcha-"+t,{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(o){e("#wpdiscuz-recaptcha-field-"+t).val("key")},"expired-callback":function(){e("#wpdiscuz-recaptcha-field-"+t).val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}},1e3)}}(i)}),e(document).on("click","#wpdcom .wpd-comment-link",function(){var t=e("[data-comment-url]",this).data("comment-url"),o=e("<input/>");o.appendTo("body").css({position:"absolute",top:"-10000000px"}).val(t),o.select(),document.execCommand("copy"),o.remove(),wpdiscuzAjaxObj.setCommentMessage(t+"<br/>"+wpdiscuzAjaxObj.wc_copied_to_clipboard,"success",5e3)}),e(document).on("click",".wpdiscuz-nofollow,.wc_captcha_refresh_img,.wpd-load-more-submit",function(e){e.preventDefault()}),e(document).on("click",".wpd-toggle.wpd_not_clicked",function(){var t=e(this);t.removeClass("wpd_not_clicked");var o=G(e(this),0),a=e(this),n=e(".fas",a);!a.parents(".wpd-comment:not(.wpd-reply)").children(".wpd-reply").length&&g?function(t,o){var a=$(t),n=new FormData;n.append("action","wpdShowReplies"),n.append("commentId",a),me(z,!0,n).done(function(a){o.addClass("wpd_not_clicked"),"object"==typeof a&&a.success&&(e("#wpd-comm-"+t).replaceWith(a.data.comment_list),e("#wpd-comm-"+t+" .wpd-toggle .fas").removeClass("fa-chevron-down").addClass("fa-chevron-up"),e("#wpd-comm-"+t+" .wpd-toggle").attr("wpd-tooltip",wpdiscuzAjaxObj.wc_hide_replies_text),e("#wpd-comm-"+t+" .wpd-toggle .wpd-view-replies").remove(),le(a)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,n){console.log(n),o.addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}(o,t):e("#wpd-comm-"+o+"> .wpd-reply").slideToggle(700,function(){e(this).is(":hidden")?(n.removeClass("fa-chevron-up"),n.addClass("fa-chevron-down"),a.attr("wpd-tooltip",wpdiscuzAjaxObj.wc_show_replies_text)):(n.removeClass("fa-chevron-down"),n.addClass("fa-chevron-up"),a.attr("wpd-tooltip",wpdiscuzAjaxObj.wc_hide_replies_text)),t.addClass("wpd_not_clicked")})}),e(document).on("mouseenter",".wpd-new-loaded-comment",function(){e(this).removeClass("wpd-new-loaded-comment")}),e(document).on("click",".wpd-sbs-toggle",function(){e(".wpdiscuz-subscribe-bar").slideToggle(v)}),parseInt(wpdiscuzAjaxObj.wpDiscuzIsShowOnSubscribeForm)&&!t&&wpdiscuzAjaxObj.wpDiscuzReCaptchaSK&&e("#wpdiscuz-subscribe-form").length&&("2.0"===n?(setTimeout(function(){try{grecaptcha.render("wpdiscuz-recaptcha-subscribe-form",{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(t){e("#wpdiscuz-recaptcha-field-subscribe-form").val("key")},"expired-callback":function(){e("#wpdiscuz-recaptcha-field-subscribe-form").val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}},1e3),e(document).on("submit","#wpdiscuz-subscribe-form",function(t){e("#wpdiscuz-recaptcha-field-subscribe-form").val()?e(".wpdiscuz-recaptcha",e(this)).css("border","none"):(e(".wpdiscuz-recaptcha",e(this)).css("border","1px solid red"),t.preventDefault())})):"3.0"===n&&e(document).on("click","#wpdiscuz_subscription_button",function(t){var o=e(this).parents("#wpdiscuz-subscribe-form");t.preventDefault();try{grecaptcha.ready(function(){grecaptcha.execute(wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,{action:"wpdiscuz/wpdAddSubscription"}).then(function(e){console.log(5555),document.getElementById("wpdiscuz-recaptcha-field-subscribe-form").value=e,o.submit()},function(e){wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error","error"),console.log(e)})})}catch(t){console.log(t),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+t.message,"error")}})),(o||a)&&"2.0"===n){var L=e(window).width(),S=e("#wpdcom").width();S>=1100&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"65%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"35%"})),S>=940&&S<1100&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"60%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"40%"})),S>=810&&S<940&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"40%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"60%"})),S>=730&&S<810&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"45%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"55%"})),S>=610&&S<730&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.85)","-webkit-transform":"scale(0.85)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"43%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"55%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"30%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"70%"})),L>650&&(S>=510&&S<610&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"center 0","-webkit-transform-origin":"center 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"35%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"63%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"30%",position:"relative",right:"-60px"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"70%"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"})),S>=470&&S<510&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"center 0","-webkit-transform-origin":"center 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"40%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"60%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd_main_comm_form .wc-form-footer").css({"margin-left":"0px"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"})),S<470&&(e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({margin:"0px auto","transform-origin":"center 0","-webkit-transform-origin":"center 0"}),e("#wpdcom .wpd-form-col-left").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-form-col-right").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"}),e("#wpdcom .wpd-secondary-form-wrapper .wc_notification_checkboxes").css({"text-align":"center"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-field-submit").css({"text-align":"center"})))}function H(t,o,a){me(z||f,!1,o).done(function(o){if(e(a).addClass("wpd_not_clicked"),"object"==typeof o)if(o.success){"collapsed"===wpdiscuzAjaxObj.commentFormView&&e(".wpd-form-foot",t).slideUp(v),e(".wpd-thread-info").html(o.data.wc_all_comments_count_before_threads_html),o.data.wc_all_comments_count_new=parseInt(o.data.wc_all_comments_count_new),e("#wpd-bubble-all-comments-count").replaceWith(o.data.wc_all_comments_count_bubble_html),o.data.wc_all_comments_count_new?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide();var n=v;o.data.is_main?oe(o.data.message):(n=v+700,e("#wpd-secondary-form-wrapper-"+o.data.uniqueid).slideToggle(700),1==o.data.is_in_same_container?e("#wpd-secondary-form-wrapper-"+o.data.uniqueid).after(o.data.message):e("#wpd-comm-"+o.data.uniqueid).after(o.data.message)),function(e){if(!e.data.held_moderate){var t=new FormData;t.append("action","wpdCheckNotificationType"),t.append("comment_id",e.data.new_comment_id),t.append("email",e.data.comment_author_email),t.append("isParent",e.data.is_main),me(z,!0,t)}}(o),function(e){if(e.data.redirect>0&&e.data.new_comment_id){var t=new FormData;t.append("action","wpdRedirect"),t.append("commentId",e.data.new_comment_id),me(z,!0,t).done(function(e){"object"==typeof e&&e.success&&setTimeout(function(){location.href=e.data},2e3)}).fail(function(e,t,o){console.log(o)})}}(o),h&&b?function(t){var o=t.comment_author_email,a=t.comment_author,n=t.comment_author_url;null==u?(Cookies.set("comment_author_email_"+_,o),Cookies.set("comment_author_"+_,a),n.length&&Cookies.set("comment_author_url_"+_,n)):(u=parseInt(u),Cookies.set("comment_author_email_"+_,o,{expires:u,path:"/"}),Cookies.set("comment_author_"+_,a,{expires:u,path:"/"}),n.length&&Cookies.set("comment_author_url_"+_,n,{expires:u,path:"/"}));e(".wpd-cookies-checkbox").length&&e(".wpd-cookies-checkbox").prop("checked",!0)}(o.data):b||e(".wpd-cookies-checkbox").removeAttr("checked"),wpdiscuzLoadRichEditor&&wpDiscuzEditor.createEditor("#wpd-editor-"+e(".wpdiscuz_unique_id",t).val()).setContents([{insert:"\n"}]),t.get(0).reset(),q(o.data),e(".wmu-preview-wrap",t).remove(),I.length&&(I.forEach(function(e){e.parents(".wpd-field-checkbox").remove()}),I=[]),parseInt(wpdiscuzAjaxObj.scrollToComment)&&setTimeout(function(){ee(),e("html, body").animate({scrollTop:e("#comment-"+o.data.new_comment_id).offset().top-32},1e3,te)},n),le(o,t)}else o.data&&(wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error"),le(o,t));else wpdiscuzAjaxObj.setCommentMessage(o,"error");e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,o,n){console.log(n),e(a).addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}function q(t){e(".wpd_comm_form .wc_name").val(t.comment_author),t.comment_author_email&&t.comment_author_email.indexOf("@example.com")<0&&e(".wpd_comm_form .wc_email").val(t.comment_author_email),t.comment_author_url&&e(".wpd_comm_form .wc_website").val(t.comment_author_url)}function U(t,o){e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd_editable_comment").show(),e("#wpd-comm-"+t+" .wpdiscuz-edit-form-wrap").replaceWith(o),e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").show()}e(document).on("click",".wc_comm_submit.wpd_not_clicked",function(){var i=e(this),s=1,d=e(this).parents("form");if(d.hasClass("wpd_main_comm_form")||(s=function(t){var o=t.attr("class").split(" "),a="";return e.each(o,function(e,t){"wpd_comment_level"===X(t,!1)&&(a=X(t,!0))}),parseInt(a)+1}(e(this).parents(".wpd-comment"))),Z(d,"#wpd-editor-"+e(".wpdiscuz_unique_id",d).val()),d.submit(function(e){e.preventDefault()}),""!==e(".wc_comment",d).val().trim()){if(d[0].checkValidity()&&(p=d,r=!0,"2.0"===n&&e("input[name=wc_captcha]",p).length&&!e("input[name=wc_captcha]",p).val().length?(r=!1,e(".wpdiscuz-recaptcha",p).css("border","1px solid red")):"2.0"===n&&e("input[name=wc_captcha]",p).length&&e(".wpdiscuz-recaptcha",p).css("border","none"),r)){E=!0,function(t){e(".wpd-agreement-checkbox",t).each(function(){e(this).hasClass("wpd_agreement_hide")&&h&&e(this).prop("checked")&&(Cookies.set(e(this).attr("name")+"_"+_,1,{expires:30,path:"/"}),e("input[name="+e(this).attr("name")+"]").each(function(){I.push(e(this))}))})}(d),e(i).removeClass("wpd_not_clicked");var c=new FormData;if(c.append("action","wpdAddComment"),e(":input",d).each(function(){""!=this.name&&"checkbox"!=this.type&&"radio"!=this.type&&c.append(this.name+"",e(this).val().trim()),"checkbox"!=this.type&&"radio"!=this.type||e(this).is(":checked")&&c.append(this.name+"",e(this).val())}),c.append("wpd_comment_depth",s),wpdiscuzAjaxObj.wpdiscuz_zs&&c.append("wpdiscuz_zs",wpdiscuzAjaxObj.wpdiscuz_zs),e(".wpd-cookies-checkbox",d).length?e(".wpd-cookies-checkbox",d).prop("checked")||(b=!1):t&&(b=!1),e("#wpdiscuz-loading-bar").show(),wpdiscuzAjaxObj.wpDiscuzReCaptchaSK&&"3.0"===n&&(1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!wpdiscuzAjaxObj.is_user_logged_in||1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&wpdiscuzAjaxObj.is_user_logged_in))try{grecaptcha.ready(function(){grecaptcha.execute(wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,{action:"wpdiscuz/addComment"}).then(function(e){c.append("g-recaptcha-response",e),H(d,c,i)},function(e){wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error","error"),console.log(e)})})}catch(t){console.log(t),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+t.message,"error"),e("#wpdiscuz-loading-bar").fadeOut(250)}else H(d,c,i)}var p,r;!function(e){if((o||a)&&"2.0"===n){var t=$(e);grecaptcha.reset(T[t])}}(e(".wpdiscuz_unique_id",d).val()),e(".wpdiscuz_reset").val("")}else wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wc_msg_required_fields,"error")}),e(document).on("click",".wpd_editable_comment",function(){w&&e(".wpdiscuz-edit-form-wrap").length&&U(G(e(".wpdiscuz-edit-form-wrap"),0),w);var t=G(e(this),0),o=$(t),a=new FormData;a.append("action","wpdEditComment"),a.append("commentId",o),w=e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-text").get(0),me(z,!0,a).done(function(o){if("object"==typeof o)if(o.success){if(e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd-comment-text").replaceWith(o.data.html),wpdiscuzLoadRichEditor){let a=wpDiscuzEditor.createEditor("#wpd-editor-edit_"+t);a.clipboard.dangerouslyPasteHTML(0,o.data.content),a.update(),e(".wpd-toolbar-hidden").prev("[id^=wpd-editor-]").css("border-bottom","1px solid #dddddd")}else e("#wc-textarea-edit_"+t).val(o.data.content);e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd_editable_comment").hide(),e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").hide()}else wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error");else console.log(o);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wc_save_edited_comment",function(){var t=G(e(this)),o=$(t),a=e("#wpd-comm-"+t+" #wpdiscuz-edit-form");if(Z(a,"#wpd-editor-edit_"+t),a.submit(function(e){e.preventDefault()}),a[0].checkValidity()){var n=new FormData;n.append("action","wpdSaveEditedComment"),n.append("commentId",o),e(":input",a).each(function(){""!==this.name&&"checkbox"!==this.type&&"radio"!==this.type&&n.append(this.name+"",e(this).val()),"checkbox"!==this.type&&"radio"!==this.type||e(this).is(":checked")&&n.append(this.name+"",e(this).val())}),me(z,!0,n).done(function(a){"object"==typeof a?(a.success?(U(t,a.data.message),a.data.lastEdited&&(e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").remove(),e(a.data.lastEdited).insertAfter("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd-comment-text")),a.data.twitterShareLink&&e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-share .wpd-tooltip-content .wc_tw").attr("href",a.data.twitterShareLink),a.data.whatsappShareLink&&e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-share .wpd-tooltip-content .wc_whatsapp").attr("href",a.data.whatsappShareLink),wpdiscuzLoadRichEditor&&wpDiscuzEditor.removeEditor("#wpd-editor-edit_"+t)):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error"),le(a,o)):console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).on("click",".wc_cancel_edit",function(){var t=G(e(this));U(t,w),wpdiscuzLoadRichEditor&&wpDiscuzEditor.removeEditor("#wpd-editor-edit_"+t)}),!wpdiscuzAjaxObj.wordpressIsPaginate&&m&&(M=0,1==m?setTimeout(function(){V(!0)},500):e(document).on("click",".wpd-load-comments",function(){e(this).parent(".wpd-load-more-submit-wrap").remove(),V(!0)})),e(document).on("click",".wpd-load-more-submit",function(){var t=e(this);t.hasClass("wpd-loaded")&&V(!1,t,"wpd-loaded","wpd-loading")});var W=!1;function P(){var t=e("#wpdiscuzHasMoreComments").val(),o=e(document).height(),a=e(window).height()+e(window).scrollTop();o&&a&&(100*a/o>=80&&!1===W&&1==t&&(W=!0,V(!1,e(".wpd-load-more-submit"))))}function V(t,o,a,n){o&&(o.toggleClass(a),o.toggleClass(n));var s=new FormData;s.append("action","wpdLoadMoreComments");var d=e(".wpdiscuz-sort-button-active").attr("data-sorting");d&&s.append("sorting",d),s.append("offset",M),s.append("lastParentId",e(".wpd-load-more-submit").attr("data-lastparentid")),s.append("isFirstLoad",t?1:0);var c=e(".wpdf-active").attr("data-filter-type");s.append("wpdType",c||""),me(z,!t||1!=m,s).done(function(s){"object"==typeof s&&s.success&&(M++,t&&e(".wpd-comment").remove(),e(".wpdiscuz_single").remove(),e(".wpdiscuz-comment-pagination").before(s.data.comment_list),B(s,t&&2!==i),W=!1,r=s.data.loadLastCommentId,le(s),t&&K(!1)),e("#wpdiscuz-loading-bar").fadeOut(250),e(".wpd-load-more-submit").blur(),o&&(o.toggleClass(a),o.toggleClass(n))}).fail(function(t,i,s){console.log(s),e("#wpdiscuz-loading-bar").fadeOut(250),e(".wpd-load-more-submit").blur(),o&&(o.toggleClass(a),o.toggleClass(n))})}function B(t,o){var a;0==t.data.is_show_load_more?(e("#wpdiscuzHasMoreComments").val(0),e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").hide()):(a=t.data.last_parent_id,e(".wpd-load-more-submit").attr("data-lastparentid",a),2!==i&&e(".wpdiscuz-comment-pagination").show(),e("#wpdiscuzHasMoreComments").val(1),o&&e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").show()),le(t)}function K(t){var o=location.href.match(/#comment\-(\d+)/);if(null!==o){var a=o[1];if(e("#comment-"+a).length)setTimeout(function(){ee(),e("html, body").animate({scrollTop:e("#comment-"+a).parents("[id^=wpd-comm-]").offset().top-32},1e3,te),t&&N(a)},500);else{var n=new FormData;n.append("action","wpdGetSingleComment"),n.append("commentId",a),me(z,!0,n).done(function(o){if("object"==typeof o&&o.success){var n="#comment-"+a;e("#comment-"+o.data.parentCommentID).length?e("#comment-"+o.data.parentCommentID).parents("[id^=wpd-comm-"+o.data.parentCommentID+"]").replaceWith(o.data.message):e(".wpd-thread-list").prepend(o.data.message),le(o),ee(),e("html, body").animate({scrollTop:e(n).offset().top-32},1e3,te),t&&N(a)}e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}}function N(t){setTimeout(function(){e("#comment-"+t).siblings(".wpd-secondary-form-wrapper").is(":visible")||e("#comment-"+t).find(".wpd-reply-button").trigger("click")},1100)}function Q(e){if(void 0!==e.data.message)for(var t,o=e.data.message,a=0;a<o.length;a++)Y((t=o[a]).comment_parent,t.comment_html)}function G(e,t){var o="";return(o=t?e.parents(".wpd-main-form-wrapper").attr("id"):e.parents(".wpd-comment").attr("id")).substring(o.lastIndexOf("-")+1)}function $(e){return e.substring(0,e.indexOf("_"))}function X(e,t){return t?e.substring(e.indexOf("-")+1):e.substring(0,e.indexOf("-"))}function Y(t,o){if(0==t)oe(o);else{var a=G(e("#comment-"+t),0);e("#wpdiscuz_form_anchor-"+a).after(o)}}function J(){var t=[];return e(".wpd-comment-right").each(function(){t.push($(G(e(this),0)))}),t.join(",")}function Z(t,o){var a=t.find(".wpd-required-group");wpdiscuzLoadRichEditor&&t.find(".wc_comment").val(e(o+">.ql-editor").html()),function(e){var t=e.find(".wc_comment"),o=t.val().trim().replace(/<p><br><\/p>/g,"\n").replace(/<p>(.*?)<\/p>/g,"$1\n");o=(o=(o=(o=o.replace(/<img src=["|']https\:\/\/s\.w\.org\/images\/core\/emoji\/([^"|']+)["|'](.*?)alt=["|']([^"|']+)["|'](.*?)[^>]*>/g," $3 ")).replace(/<img[^>]+alt=["|']([^"|']+)["|'][^>]+src=["|']https\:\/\/s\.w\.org\/images\/core\/emoji\/([^"|']+)["|'][^>]?>/g," $1 ")).replace(/<img\s+([^>]*)class=["|']wpdem\-sticker["|'](.*?)alt=["|']([^"|']+)["|'](.*?)[^>]*>/g," $3 ")).replace(/<img\s+([^>]*)src=["|']([^"|']+)["|'](.*?)[^>]*>/g," $2 "),t.val(o)}(t),e.each(a,function(){e("input",this).removeAttr("required"),0===e("input:checked",this).length?e("input",e(this)).prop("required",!0):e(".wpd-field-invalid",this).remove()})}function ee(){e("html, body").css("scroll-behavior","unset")}function te(){e("html").css("scroll-behavior",F),e("body").css("scroll-behavior",R)}function oe(t){e(".wpd-sticky-comment").last()[0]?e(t).insertAfter(e(".wpd-sticky-comment").last()[0]):e(".wpd-thread-list").prepend(t)}function ae(t){t?t.prop("required")||(t.val()?t.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","inline-block"):t.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","none")):e.each(e(".wc_email"),function(t,o){var a=e(o);a.prop("required")||(a.val()?a.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","inline-block"):a.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","none"))})}if(2!==i||wpdiscuzAjaxObj.wordpressIsPaginate||(e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").hide(),P(),e(window).scroll(function(){P()})),wpdiscuzAjaxObj.setLoadMoreVisibility=B,e(document).on("click",".wpd-vote-up.wpd_not_clicked, .wpd-vote-down.wpd_not_clicked",function(){var t=e(this);e(t).removeClass("wpd_not_clicked");var o,a=$(G(t));o=e(this).hasClass("wpd-vote-up")?1:-1;var n=new FormData;n.append("action","wpdVoteOnComment"),n.append("commentId",a),n.append("voteType",o),me(z,!0,n).done(function(n){if(e(t).addClass("wpd_not_clicked"),"object"==typeof n){if(n.success){if("total"===n.data.buttonsStyle){var i=e(".wpd-comment-footer .wpd-vote-result",e("#comment-"+a)),s=n.data.votes;i.text(n.data.votesHumanReadable),i.attr("title",s),i.removeClass("wpd-up wpd-down"),s>0&&i.addClass("wpd-up"),s<0&&i.addClass("wpd-down")}else{var d=e(".wpd-comment-footer .wpd-vote-result-like",e("#comment-"+a)),c=e(".wpd-comment-footer .wpd-vote-result-dislike",e("#comment-"+a));d.text(n.data.likeCountHumanReadable),d.attr("title",n.data.likeCount),c.text(n.data.dislikeCountHumanReadable),c.attr("title",n.data.dislikeCount),parseInt(n.data.likeCount)>0?d.addClass("wpd-up"):d.removeClass("wpd-up"),parseInt(n.data.dislikeCount)<0?c.addClass("wpd-down"):c.removeClass("wpd-down")}var p=e(".wpd-comment-footer .wpd-vote-up",e("#comment-"+a)),r=e(".wpd-comment-footer .wpd-vote-down",e("#comment-"+a));p.removeClass("wpd-up"),r.removeClass("wpd-down"),n.data.curUserReaction>0?p.addClass("wpd-up"):n.data.curUserReaction<0&&r.addClass("wpd-down")}else n.data&&wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[n.data],"error");le(n,a,o)}else console.log(n);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(o,a,n){console.log(n),e(t).addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click","body",function(t){var o=e(".wpdiscuz-sort-buttons");e(t.target).hasClass("wpdf-sorting")||e(t.target).parent().hasClass("wpdf-sorting")?o.css({display:o.is(":visible")?"none":"flex"}):o.hide()}),e(document).on("click",".wpdiscuz-sort-button:not(.wpdiscuz-sort-button-active)",function(){var t=e(this),o=e(this).attr("data-sorting");if(o){e(".wpdiscuz-sort-button.wpdiscuz-sort-button-active").removeClass("wpdiscuz-sort-button-active").appendTo(".wpdiscuz-sort-buttons"),t.addClass("wpdiscuz-sort-button-active").prependTo(".wpdf-sorting");var a=new FormData;a.append("action","wpdSorting"),a.append("sorting",o);var n=e(".wpdf-active").attr("data-filter-type");a.append("wpdType",n||""),me(z,!0,a).done(function(t){"object"==typeof t&&t.success&&(e("#wpdcom .wpd-comment").remove(),e("#wpdcom .wpd-thread-list").prepend(t.data.message),B(t,!1),M=1),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),window.onhashchange=function(){K(!1)},1!=m&&K(!1),e(document).on("click",".wpdiscuz-readmore",function(){var t=G(e(this)),o=$(t),a=new FormData;a.append("action","wpdReadMore"),a.append("commentId",o),me(z,!0,a).done(function(a){"object"==typeof a?(a.success?(e("#comment-"+o+" .wpd-comment-text").replaceWith(" "+a.data.message),e("#wpdiscuz-readmore-"+t).remove()):console.log(a.data),le(a)):console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("change",".wpd-required-group",function(){0!==e("input:checked",this).length?e("input",e(this)).removeAttr("required"):e("input",e(this)).prop("required",!0)}),e(document).on("click",".wpdiscuz-spoiler",function(){e(this).next().slideToggle(),e(this).hasClass("wpdiscuz-spoiler-closed")?e(this).parents(".wpdiscuz-spoiler-wrap").find(".fa-plus").removeClass("fa-plus").addClass("fa-minus"):e(this).parents(".wpdiscuz-spoiler-wrap").find(".fa-minus").removeClass("fa-minus").addClass("fa-plus"),e(this).toggleClass("wpdiscuz-spoiler-closed")}),e(document).on("click",".wpd-tools i",function(){var t=e(this).siblings(".wpd-tools-actions");t.is(":visible")||e(this).parents(".wpd-comment-right").attr("id")!==e("[id^=comment-]","#wpdcom").last().attr("id")||e("#comments").css({paddingBottom:"160px"}),t.css({display:t.is(":visible")?"none":"flex"})}),e(document).on("mouseleave",".wpd-comment-right",function(){e(this).find(".wpd-tools-actions").hide(),e("#comments").css({paddingBottom:"0"})}),e(document).on("click",".wpd_stick_btn",function(){var t=$(G(e(this),0)),o=new FormData;o.append("action","wpdStickComment"),o.append("commentId",t),me(z,!0,o).done(function(t){"object"==typeof t&&t.success&&location.reload(!0),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wpd_close_btn",function(){var t=$(G(e(this),0)),o=new FormData;o.append("action","wpdCloseThread"),o.append("commentId",t),me(z,!0,o).done(function(t){"object"==typeof t&&t.success&&location.reload(!0),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wpd-filter.wpd_not_clicked[data-filter-type]",function(){var t=e(this),o=t.attr("data-filter-type");wpdiscuzAjaxObj.resetActiveFilters(".wpdf-"+o),t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var a=new FormData;a.append("action","wpdLoadMoreComments");var n=e(".wpdiscuz-sort-button-active").attr("data-sorting");n&&a.append("sorting",n),a.append("lastParentId",0),a.append("offset",0),M=1,a.append("wpdType",t.hasClass("wpdf-active")?"":o),a.append("isFirstLoad",1),e(this).hasClass("wpdf-inline")?e(this).hasClass("wpdf-active")?e(".wpd-comment-info-bar").hide():e(".wpd-comment-info-bar").css("display","flex"):e(".wpd-comment-info-bar").hide(),me(z,!1,a).done(function(o){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof o&&o.success&&(t.toggleClass("wpdf-active"),e(".wpd-load-comments").remove(),e(".wpd-comment").remove(),e(".wpd-thread-list").prepend(o.data.comment_list),B(o),r=o.data.loadLastCommentId,e(".wpd-load-more-submit").blur(),le(o)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wpdf-reacted.wpd_not_clicked",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var o=new FormData;o.append("action","wpdMostReactedComment"),me(z,!1,o).done(function(o){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof o&&o.success&&(e("#comment-"+o.data.parentCommentID).length?e("#comment-"+o.data.parentCommentID).parents("[id^=wpd-comm-"+o.data.parentCommentID+"]").replaceWith(o.data.message):e("#comment-"+o.data.commentId).length||e(".wpd-thread-list").prepend(o.data.message),le(o),ee(),e("html, body").animate({scrollTop:e("#comment-"+o.data.commentId).offset().top-32},1e3,te))}).fail(function(o,a,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner")})}),e(document).on("click",".wpdf-hottest.wpd_not_clicked",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var o=new FormData;o.append("action","wpdHottestThread"),me(z,!1,o).done(function(o){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof o&&o.success&&(e("#comment-"+o.data.commentId).length?e("#comment-"+o.data.commentId).parents("[id^=wpd-comm-"+o.data.commentId+"]").replaceWith(o.data.message):e(".wpd-thread-list").prepend(o.data.message),le(o),ee(),e("html, body").animate({scrollTop:e("#comment-"+o.data.commentId).offset().top-32},1e3,te))}).fail(function(o,a,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner")})}),e(document).on("click",".wpd-filter-view-all",function(){e(".wpdf-inline.wpdf-active.wpd_not_clicked").trigger("click")}),e(document).on("click",".wpd-follow-link.wpd_not_clicked",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var o=$(G(t,0)),a=new FormData;a.append("action","wpdFollowUser"),a.append("commentId",o),me(z,!0,a).done(function(o){t.addClass("wpd_not_clicked"),"object"==typeof o?o.success?(wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data.code],"success"),t.removeClass("wpd-follow-active"),o.data.followTip&&t.attr("wpd-tooltip",o.data.followTip),o.data.followClass&&t.addClass(o.data.followClass)):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error"):console.log(o),e(".fas",t).removeClass("fa-pulse fa-spinner"),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(o,a,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner"),e("#wpdiscuz-loading-bar").fadeOut(250)})}),ae(),e(document).on("keyup",".wc_email",function(){ae(e(this))}),j&&e("#wpdcom").length){if(e("#wpd-bubble-wrapper").hover(function(){e(this).addClass("wpd-bubble-hover")},function(){e(this).removeClass("wpd-bubble-hover")}),k&&!Cookies.get(wpdiscuzAjaxObj.cookieHideBubbleHint)&&setTimeout(function(){e("#wpd-bubble-wrapper").addClass("wpd-bubble-hover"),Cookies.set(wpdiscuzAjaxObj.cookieHideBubbleHint,"1",{expires:7,path:"/"}),setTimeout(function(){e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover")},1e3*x)},1e3*k),"content_left"===O)if(e(".entry-content").length){var ne=(ie=Math.min(e(".entry-content").offset().left,e("#wpdcom").offset().left)-120)>25?ie:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else if(e(".post-entry").length){ne=(ie=Math.min(e(".post-entry").offset().left,e("#wpdcom").offset().left)-120)>25?ie:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else if(e(".container").length){var ie;ne=(ie=Math.min(e(".container").offset().left,e("#wpdcom").offset().left)-120)>25?ie:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else e("#wpd-bubble-wrapper").css({left:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-corner");else"left_corner"===O?(e("#wpd-bubble-wrapper").css({left:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-corner")):"right_corner"===O&&(e("#wpd-bubble-wrapper").css({right:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-right-corner"));e("#wpd-bubble-wrapper").show(),e(document).on("click","#wpd-bubble-add-message-close",function(t){t.preventDefault(),t.stopPropagation(),e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover")}),e(document).on("click","#wpd-bubble",function(){ee(),e("html, body").animate({scrollTop:e("#wpdcom").offset().top-60},1e3,function(){te(),e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover"),wpdiscuzLoadRichEditor?e("#wpd-editor-0_0").length&&wpDiscuzEditor.createEditor("#wpd-editor-0_0").focus():e("#wc-textarea-0_0").length&&e("#wc-textarea-0_0").focus()})}),e(document).on("click","#wpd-bubble-comment-close",function(t){t.preventDefault(),e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added")}),e(document).on("click","#wpd-bubble-comment-reply-link a",function(){var t=e(this).attr("href");setTimeout(function(){e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added"),K(!0);var o=t.match(/#comment\-(\d+)/);D=D.filter(function(e){return e!=o[1]}),e("#wpd-bubble-count .wpd-new-comments-count").text(D.length),0==D.length&&e("#wpd-bubble-count").removeClass("wpd-new-comments")},100)}),e(document).on("click","#wpd-bubble-count",function(){if(D.length){var t=new FormData;t.append("action","wpdBubbleUpdate"),t.append("newCommentIds",D.join()),me(z,!0,t).done(function(t){"object"==typeof t&&t.success&&(t.data.message=t.data.message.filter(function(t){if(!e("#comment-"+t.comment_id).length)return t}),Q(t),e("#wpd-bubble-count").removeClass("wpd-new-comments"),e("#wpd-bubble-count .wpd-new-comments-count").text("0"),D=[],e(".wpd-new-loaded-comment").length&&(ee(),e("html, body").animate({scrollTop:e(e(".wpd-new-loaded-comment")[0]).offset().top-60},1e3,te)),le(t)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(e,t,o){console.log(o)})}})}if((j&&C||d)&&(t||!t&&p)&&setTimeout(function t(){e.ajax({type:"GET",url:wpdiscuzAjaxObj.bubbleUpdateUrl,beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",wpdiscuzAjaxObj.restNonce)},data:{postId:s,lastId:l,visibleCommentIds:J()}}).done(function(o){if(!E)if("object"==typeof o){if(o.commentIDsToRemove.forEach(function(t){e("[id^=wpd-comm-"+t+"]").remove()}),o.ids.length){d&&((i=new FormData).append("action","wpdUpdateAutomatically"),i.append("loadLastCommentId",r),i.append("visibleCommentIds",J()),me(z,!1,i).done(function(t){E||"object"==typeof t&&t.success&&(Q(t),e(".wpd-thread-info").html(t.data.wc_all_comments_count_before_threads_html),t.data.wc_all_comments_count_new=parseInt(t.data.wc_all_comments_count_new),e("#wpd-bubble-all-comments-count").replaceWith(t.data.wc_all_comments_count_bubble_html),t.data.wc_all_comments_count_new?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),r=t.data.loadLastCommentId)}).fail(function(e,t,o){console.log(o)})),o.ids=o.ids.filter(function(t){if(!e("#comment-"+t).length)return t});var a=5e3;l=parseInt(o.ids[o.ids.length-1]),D=D.concat(o.ids),y&&o.commentText&&(e("#wpd-bubble-author-avatar").html(o.avatar),e("#wpd-bubble-author-name").html(o.authorName),e("#wpd-bubble-comment-date span").html(o.commentDate),e("#wpd-bubble-comment-text").html(o.commentText),e("#wpd-bubble-comment-reply-link a").attr("href",o.commentLink),e("#wpd-bubble-notification-message").show(),a=1e4);var n=parseInt(e(".wpd-new-comments-count").text());n+=o.ids.length,e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added"),e("#wpd-bubble-wrapper").addClass("wpd-new-comment-added"),setTimeout(function(){e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added")},a),e(".wpd-new-comments-count").text(n),e("#wpd-bubble-count").addClass("wpd-new-comments")}o.all_comments_count=parseInt(o.all_comments_count),e("#wpd-bubble-all-comments-count").replaceWith(o.all_comments_count_bubble_html),o.all_comments_count?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),e(".wpd-thread-info").html(o.all_comments_count_before_threads_html)}else console.log(o);var i;setTimeout(t,c)}).fail(function(e,o,a){console.log(a),setTimeout(t,c)})},c),e(".wpd-inline-form-wrapper").length){var se=new FormData;se.append("action","wpdGetInlineCommentForm"),me(z,!1,se).done(function(t){"object"==typeof t?t.success?(e(".wpd-inline-form-wrapper").append(t.data),e.each(e("[name=_wpd_inline_nonce]"),function(){var t=e(this).attr("id"),o=e(this).parents(".wpd-inline-shortcode").attr("id");e(this).attr("id",t+"-"+o.substring(o.lastIndexOf("-")+1))}),e(".wpd-inline-opened").addClass("wpd-active"),e(".wpd-inline-opened").find(".wpd-inline-form-wrapper").show(),e(".wpd-inline-opened").find(".wpd-inline-icon").addClass("wpd-open"),e(".wpd-inline-opened").find(".wpd-inline-icon").removeClass("wpd-ignored"),re()):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error"):console.log(t)}).fail(function(e,t,o){console.log(o)})}function de(t){if(e(t).hasClass("wpd-inline-shortcode"))var o=e(t).attr("id");else o=e(t).parents(".wpd-inline-shortcode").attr("id");return o.substring(o.lastIndexOf("-")+1)}function ce(){e(".wpd-inline-form-wrapper").hide(),e(".wpd-inline-shortcode").removeClass("wpd-active"),e(".wpd-inline-icon").removeClass("wpd-open")}function pe(){e.each(e(".wpd-inline-shortcode:not(.wpd-inline-opened) .wpd-inline-icon"),function(){var t=e(this),o=t.offset().top-window.pageYOffset;o>0&&o<300&&("blink"===A?(t.addClass("wpd-blink"),setTimeout(function(){t.removeClass("wpd-blink")},3e3)):(t.parents(".wpd-inline-shortcode").addClass("wpd-active"),t.siblings(".wpd-inline-form-wrapper").show(),t.addClass("wpd-open"),re(t.siblings(".wpd-inline-form-wrapper"))))})}function re(t){if(t){if(t.offset().left<=10)t.css("left",Math.ceil(parseInt(t.css("left"))-t.offset().left+10)),(o=Math.ceil(t.siblings(".wpd-inline-icon.wpd-open").offset().left-t.offset().left+2))<3&&(o=3),document.styleSheets[0].addRule("#"+t.parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+o+"px;");else if(t.offset().left+t.width()>document.body.clientWidth-10){var o;t.css("left",Math.ceil(parseInt(t.css("left"))+(document.body.clientWidth-(t.offset().left+t.width()))-10)),(o=Math.ceil(t.siblings(".wpd-inline-icon.wpd-open").offset().left-t.offset().left+2))>t.width()-3&&(o=t.width()-3),document.styleSheets[0].addRule("#"+t.parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+o+"px;")}}else e.each(e(".wpd-inline-form-wrapper:visible"),function(){if(e(this).offset().left<=10)e(this).css("left",Math.ceil(parseInt(e(this).css("left"))-e(this).offset().left+10)),(t=Math.ceil(e(this).siblings(".wpd-inline-icon.wpd-open").offset().left-e(this).offset().left+2))<3&&(t=3),document.styleSheets[0].addRule("#"+e(this).parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+t+"px;");else if(e(this).offset().left+e(this).width()>document.body.clientWidth-10){var t;e(this).css("left",Math.ceil(parseInt(e(this).css("left"))+(document.body.clientWidth-(e(this).offset().left+e(this).width()))-10)),(t=Math.ceil(e(this).siblings(".wpd-inline-icon.wpd-open").offset().left-e(this).offset().left+2))>e(this).width()-3&&(t=e(this).width()-3),document.styleSheets[0].addRule("#"+e(this).parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+t+"px;")}})}function le(t,o,a,n){t.data.callbackFunctions&&e.each(t.data.callbackFunctions,function(e){"function"==typeof wpdiscuzAjaxObj[t.data.callbackFunctions[e]]?wpdiscuzAjaxObj[t.data.callbackFunctions[e]](t,o,a,n):console.log(t.data.callbackFunctions[e]+" is not a function")})}function me(t,o,a){o&&e("#wpdiscuz-loading-bar").show(),a.append("postId",s);var n=a.get("action");wpdiscuzAjaxObj.dataFilterCallbacks&&wpdiscuzAjaxObj.dataFilterCallbacks[n]&&e.each(wpdiscuzAjaxObj.dataFilterCallbacks[n],function(e){"function"==typeof wpdiscuzAjaxObj[wpdiscuzAjaxObj.dataFilterCallbacks[n][e]]&&(a=wpdiscuzAjaxObj[wpdiscuzAjaxObj.dataFilterCallbacks[n][e]](a,t,o))});var i=t?wpdiscuzAjaxObj.url:wpdiscuzAjaxObj.customAjaxUrl;return e.ajax({type:"POST",url:i,data:a,contentType:!1,processData:!1})}e(document).on("click","body",function(t){if(e(t.target).hasClass("wpd-inline-form-close")||e(t.target).parents(".wpd-inline-form-close").length)t.preventDefault(),e(t.target).parents(".wpd-inline-form-wrapper").hide(),e(t.target).parents(".wpd-inline-shortcode").removeClass("wpd-active"),e(t.target).parents(".wpd-inline-form-wrapper").siblings(".wpd-inline-icon").removeClass("wpd-open");else if(!e(t.target).hasClass("wpd-inline-form-wrapper")&&!e(t.target).parents(".wpd-inline-form-wrapper").length){ce();var o="";e(t.target).hasClass("wpd-inline-icon")?o=e(t.target):e(t.target).parents(".wpd-inline-icon").length&&(o=e(t.target).parents(".wpd-inline-icon")),o.length&&(o.parents(".wpd-inline-shortcode").addClass("wpd-active"),o.siblings(".wpd-inline-form-wrapper").show(),o.addClass("wpd-open"),o.removeClass("wpd-ignored"),re(o.siblings(".wpd-inline-form-wrapper")))}(!e(t.target).hasClass("wpd-last-inline-comments-wrapper")&&!e(t.target).parents(".wpd-last-inline-comments-wrapper").length||e(t.target).parents(".wpd-last-inline-comments-wrapper").length&&e(t.target).hasClass("wpd-load-inline-comment"))&&e(".wpd-last-inline-comments-wrapper").remove()}),e(document).on("click",".wpd-inline-submit.wpd_not_clicked",function(t){t.preventDefault();var o=e(this),a=e(this).parents(".wpd_inline_comm_form");if(a[0].checkValidity()){e(this).removeClass("wpd_not_clicked");var n=new FormData;n.append("action","wpdAddInlineComment"),n.append("inline_form_id",de(a)),e.each(e("input, textarea",a),function(t,o){"checkbox"===this.type?e(this).is(":checked")&&n.append(e(o).attr("name"),e(o).val()):n.append(e(o).attr("name"),e(o).val())}),me(z,!0,n).done(function(t){if(o.addClass("wpd_not_clicked"),"object"==typeof t)if(t.success){a[0].reset(),ce();var n=parseInt(t.data.newCount),i=o.parents(".wpd-inline-icon-wrapper").find(".wpd-inline-icon-count");i.text(n),n?i.addClass("wpd-has-comments"):i.removeClass("wpd-has-comments"),e(".wpd-thread-info").html(t.data.allCommentsCountBeforeThreadsHtml),t.data.allCommentsCountNew=parseInt(t.data.allCommentsCountNew),e("#wpd-bubble-all-comments-count").replaceWith(t.data.allCommentsCountBubbleHtml),t.data.allCommentsCountNew?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),t.data.message&&oe(t.data.message),wpdiscuzAjaxObj.setCommentMessage(t.data.notification,"success")}else t.data&&wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error");else wpdiscuzAjaxObj.setCommentMessage(t,"error");e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).on("keydown",".wpd-form",function(t){t.ctrlKey&&13==t.keyCode&&e(this).find(".wc_comm_submit").trigger("click")}),e(document).on("keydown","#wpdiscuz-edit-form",function(t){t.ctrlKey&&13==t.keyCode&&e(this).find(".wc_save_edited_comment").trigger("click")}),e(document).on("keydown",".wpd-inline-comment-content",function(t){t.ctrlKey&&13==t.keyCode&&e(this).parents(".wpd_inline_comm_form").find(".wpd-inline-submit.wpd_not_clicked").trigger("click")}),e(document).on("click",".wpd-inline-icon-count.wpd-has-comments",function(){var t=e(this),o=new FormData;o.append("action","wpdGetLastInlineComments"),o.append("inline_form_id",de(t)),me(z,!0,o).done(function(o){"object"==typeof o?o.success?e(o.data).insertAfter(t):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error"):console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wpd-view-all-inline-comments",function(t){t.preventDefault(),e(this).parents(".wpd-last-inline-comments-wrapper").remove(),e(".wpdf-inline").hasClass("wpdf-active")||e(".wpdf-inline").trigger("click"),ee(),e("html, body").animate({scrollTop:e(".wpdf-inline").offset().top-32},1e3,te)}),e(document).on("click",".wpd-feedback-content-link",function(t){t.preventDefault();var o=e(this).data("feedback-content-id");ee(),e("html, body").animate({scrollTop:e("#wpd-inline-"+o).offset().top-38},1e3,function(){te(),e("#wpd-inline-"+o).addClass("wpd-active")})}),"scroll_open"!==A&&"blink"!==A||(pe(),e(window).scroll(pe)),e(document).on("click","#wpd-post-rating.wpd-not-rated .wpd-rate-starts svg",function(){var t=new FormData,o=e(this).index();o>=0&&o<5&&(t.append("action","wpdUserRate"),t.append("rating",o+1),me(z,!0,t).done(function(t){"object"==typeof t?t.success?location.reload(!0):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error"):console.log(t),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)}))}),e("#wpdiscuz-subscribe-form").submit(function(t){t.preventDefault();var o,a,i=e(this);if(i[0].checkValidity()&&(o=i,a=!0,"2.0"===n&&e("input[name=wpdiscuz_recaptcha_subscribe_form]",o).length&&!e("input[name=wpdiscuz_recaptcha_subscribe_form]",o).val().length?(a=!1,e(".wpdiscuz-recaptcha",o).css("border","1px solid red")):"2.0"===n&&e("input[name=wpdiscuz_recaptcha_subscribe_form]",o).length&&e(".wpdiscuz-recaptcha",o).css("border","none"),a)){var s=new FormData;s.append("action","wpdAddSubscription"),e("*",i).each(function(){""!=this.name&&"checkbox"!=this.type&&"radio"!=this.type&&s.append(this.name+"",e(this).val()),"checkbox"!=this.type&&"radio"!=this.type||e(this).is(":checked")&&s.append(this.name+"",e(this).val())}),me(z,!0,s).done(function(t){"object"==typeof t?t.success?(wpdiscuzAjaxObj.setCommentMessage(t.data,"success"),setTimeout(function(){location.reload(!0)},3e3)):wpdiscuzAjaxObj.setCommentMessage(t.data,"error"):wpdiscuzAjaxObj.setCommentMessage(t,"error"),e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).on("click",".wpd-unsubscribe",function(t){t.preventDefault();var o=new FormData;o.append("action","wpdUnsubscribe"),o.append("sid",e(this).data("sid")),o.append("skey",e(this).data("skey")),me(z,!0,o).done(function(t){"object"==typeof t?t.success?(wpdiscuzAjaxObj.setCommentMessage(t.data,"success"),setTimeout(function(){location.reload(!0)},3e3)):wpdiscuzAjaxObj.setCommentMessage(t.data,"error"):console.log(t),e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),wpdiscuzAjaxObj.resetActiveFilters=function(t){e(".wpd-filter.wpdf-active"+(t?":not("+t+")":"")).removeClass("wpdf-active")},wpdiscuzAjaxObj.getAjaxObj=me});var onloadCallback=function(){if(document.getElementById("wpdiscuz-recaptcha-0_0")&&"2.0"===wpdiscuzAjaxObj.wpDiscuzReCaptchaVersion&&(1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!wpdiscuzAjaxObj.is_user_logged_in||1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&wpdiscuzAjaxObj.is_user_logged_in))try{grecaptcha.render("wpdiscuz-recaptcha-0_0",{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(e){jQuery("#wpdiscuz-recaptcha-field-0_0").val("key")},"expired-callback":function(){jQuery("#wpdiscuz-recaptcha-field-0_0").val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}};
7
  /* Colorbox */
8
+ (function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!U){U=$=!0,c(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=Math.max((l!==!1?Math.min(h,a(l,"x")):h)-z-D,0),_.h=Math.max((f!==!1?Math.min(s,a(f,"y")):s)-N-j,0),I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){x||(V=!1,E=t(i),x=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),L=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(F=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),S=t('<button type="button"/>').attr({id:Z+"Slideshow"}),L),B=t('<button type="button"/>').attr({id:Z+"Close"}),y.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(S)),e.body&&!x.parent().length&&t(e.body).append(v,x.append(y,M))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return x?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;U&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),U&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),typeof t.fn.on === 'function'?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,r,h=J.prep,d=++le;if($=!0,q=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){L.show()},100),_.get("inline")){var c=t(e).eq(0);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),q=_.get("createImg"),t(q).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>1&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){q.height-=q.height*e,q.width-=q.width*e},_.mw&&q.width>_.mw&&(e=(q.width-_.mw)/q.width,o()),_.mh&&q.height>_.mh&&(e=(q.height-_.mh)/q.height,o())),_.h&&(q.style.marginTop=Math.max(_.mh-q.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(q.style.cursor="pointer",t(q).bind("click."+Z,function(){J.next()})),q.style.width=q.width+"px",q.style.height=q.height+"px",h(q)},1)}),q.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B,O,_,j,D,N,z,A,q,U,$,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){S.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),x.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),S.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),x.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,S.hide(),t(),ae.unbind(ne,e).unbind(ie,t),x.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),S.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px"}var r,h,s,l=0,d=0,c=x.offset();if(E.unbind("resize."+Z),x.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,x.css({position:"fixed"})):(l=h,d=s,x.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),x.css({top:c.top,left:c.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0}),e=g}de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){n(),$=!1,y[0].style.width=_.w+z+D+"px",y[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;U&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function a(){return _.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if(U){var d,g="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(M.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),M.hide(),t(q).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&x[0].style.removeAttribute("filter")}var n,o,a=W.length;U&&(o=function(){clearTimeout(Q),L.hide(),u(ne),_.get("onComplete")},F.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?x.fadeTo(g,1,i):i())},"fade"===_.get("transition")?x.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!$&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]))},J.prev=function(){!$&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]))},J.close=function(){U&&!G&&(G=!0,U=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){x&&(x.stop(),t[Y].close(),x.stop(!1,!0).remove(),v.remove(),G=!1,x=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window);
9
  /* Media Uploader */
10
  jQuery(document).ready(function(e){if(e(document).delegate("#wpdcom .wmu-upload-wrap","click",function(){e(".wpd-form-foot",e(this).parents(".wpd_comm_form")).slideDown(parseInt(wpdiscuzAjaxObj.enableDropAnimation)?500:0)}),e(document).delegate(".wmu-add-files","change",function(){var a=e(this),t=a.parents(".wpd_comm_form"),d=a[0].files?a[0].files:[];d.length&&function(a,t,d){var o=new FormData;o.append("action","wmuUploadFiles"),o.append("wmu_nonce",wpdiscuzAjaxObj.wmuSecurity),o.append("wmuAttachmentsData",e(".wmu-attachments-data",t).val());var i=0;e.each(d,function(e,a){i+=a.size,o.append(wpdiscuzAjaxObj.wmuInput+"["+e+"]",a)}),i>parseInt(wpdiscuzAjaxObj.wmuMaxFileSize)?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wmuPhraseMaxFileSize,"error",3e3):i>parseInt(wpdiscuzAjaxObj.wmuPostMaxSize)?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wmuPhrasePostMaxSize,"error",3e3):wpdiscuzAjaxObj.getAjaxObj(!0,!0,o).done(function(a){a.success?(e(".wmu-attached-data-info",t).remove(),e(".wmu-add-files",t).after(a.data.attachmentsHtml),a.data.tooltip&&e(".wmu-upload-wrap").attr("wpd-tooltip",a.data.tooltip),function(a,t){e.each(t.data.previewsData,function(t,d){e(".wmu-action-wrap .wmu-"+t+"-tab",a).html(""),e.each(d,function(d,o){var i=o.id,m="",s=o.fullname,u=o.shortname;t==wpdiscuzAjaxObj.wmuKeyImages?(m=o.url,u=""):t==wpdiscuzAjaxObj.wmuKeyVideos?m=wpdiscuzAjaxObj.wmuIconVideo:t==wpdiscuzAjaxObj.wmuKeyFiles&&(m=wpdiscuzAjaxObj.wmuIconFile);var r='<div class="wmu-preview [PREVIEW_TYPE_CLASS]" title="[PREVIEW_TITLE]" data-wmu-type="[PREVIEW_TYPE]" data-wmu-attachment="[PREVIEW_ID]"><div class="wmu-preview-remove"><img class="wmu-preview-img" src="[PREVIEW_ICON]"><div class="wmu-file-name">[PREVIEW_FILENAME]</div><div class="wmu-delete">&nbsp;</div></div></div>';r=(r=(r=(r=(r=(r=r.replace("[PREVIEW_TYPE_CLASS]","wmu-preview-"+t)).replace("[PREVIEW_TITLE]",s)).replace("[PREVIEW_TYPE]",t)).replace("[PREVIEW_ID]",i)).replace("[PREVIEW_ICON]",m)).replace("[PREVIEW_FILENAME]",u),e(".wmu-action-wrap .wmu-"+t+"-tab",a).removeClass("wmu-hide").append(r)})})}(t,a),a.data.errors&&(wpdiscuzAjaxObj.setCommentMessage(a.data.errors,"error",3e3),console.log(a.data.errors))):a.data.errorCode?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data.errorCode],"error",3e3):a.data.error&&wpdiscuzAjaxObj.setCommentMessage(a.data.error,"error",3e3),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,t,d){console.log(d),e("#wpdiscuz-loading-bar").fadeOut(250)})}(0,t,d)}),e(document).delegate(".wmu-attachment-delete","click",function(a){if(confirm(wpdiscuzAjaxObj.wmuPhraseConfirmDelete)){var t=e(this).data("wmu-attachment"),d=new FormData;d.append("action","wmuDeleteAttachment"),d.append("wmu_nonce",wpdiscuzAjaxObj.wmuSecurity),d.append("attachmentId",t),wpdiscuzAjaxObj.getAjaxObj(!0,!0,d).done(function(a){if(a.success){var d=e(".wmu-attachment-"+t).parents(".wmu-comment-attachments");e(".wmu-attachment-"+t).remove(),e(".wmu-attached-images *",d).length||e(".wmu-attached-images",d).remove(),e(".wmu-attached-videos *",d).length||e(".wmu-attached-videos",d).remove(),e(".wmu-attached-files *",d).length||e(".wmu-attached-files",d).remove()}else a.data.errorCode?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data.errorCode],"error",3e3):a.data.error&&wpdiscuzAjaxObj.setCommentMessage(a.data.error,"error",3e3);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,t,d){console.log(d),e("#wpdiscuz-loading-bar").fadeOut(250)})}else console.log("canceled")}),e(document).delegate(".wmu-preview","click",function(){var a=e(this),t=a.parents(".wpd_comm_form"),d=(a.data("wmu-type"),a.data("wmu-attachment")),o=new FormData;o.append("action","wmuRemoveAttachmentPreview"),o.append("attachmentId",d),o.append("wmu_nonce",wpdiscuzAjaxObj.wmuSecurity),o.append("wmuAttachmentsData",e(".wmu-attachments-data",t).val()),wpdiscuzAjaxObj.getAjaxObj(!0,!0,o).done(function(d){if(d.success){a.remove();var o=e(".wmu-tabs",t);e.each(o,function(a,t){e(".wmu-preview",t).length?e(t).removeClass("wmu-hide"):e(t).addClass("wmu-hide")}),e(".wmu-attached-data-info",t).remove(),e(".wmu-add-files",t).after(d.data.attachmentsHtml),d.data.tooltip&&e(".wmu-upload-wrap").attr("wpd-tooltip",d.data.tooltip)}else d.data.errorCode?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[d.data.errorCode],"error",3e3):d.data.error&&wpdiscuzAjaxObj.setCommentMessage(d.data.error,"error",3e3);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,t,d){console.log(d),e("#wpdiscuz-loading-bar").fadeOut(250)})}),parseInt(wpdiscuzAjaxObj.wmuIsLightbox)){function a(){e(".wmu-lightbox").colorbox({maxHeight:"95%",maxWidth:"95%",rel:"wmu-lightbox",fixed:!0})}a(),wpdiscuzAjaxObj.wmuAddLightBox=a}wpdiscuzAjaxObj.wmuHideAll=function(a,t){"object"==typeof a?a.success?(e(".wmu-tabs",t).addClass("wmu-hide"),e(".wmu-preview",t).remove(),e(".wmu-attached-data-info",t).remove()):console.log(a.data):console.log(a)}});
11
  /* Lity */
12
  !function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(e,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(e,require("jquery")):e.lity=t(e,e.jQuery||e.Zepto)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=e.document,i=t(e),r=t.Deferred,o=t("html"),a=[],l="aria-hidden",s="lity-"+l,d='a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not([tabindex^="-"])',c={esc:!0,handler:null,handlers:{image:C,inline:function(e,n){var i,r,o;try{i=t(e)}catch(e){return!1}if(!i.length)return!1;return r=t('<i style="display:none !important"/>'),o=i.hasClass("lity-hide"),n.element().one("lity:remove",function(){r.before(i).remove(),o&&!i.closest(".lity-content").length&&i.addClass("lity-hide")}),i.removeClass("lity-hide").after(r)},youtube:function(e){var n=f.exec(e);if(!n)return!1;return k(x(e,w("https://www.youtube"+(n[2]||"")+".com/embed/"+n[4],t.extend({autoplay:1},b(n[5]||"")))))},vimeo:function(e){var n=y.exec(e);if(!n)return!1;return k(x(e,w("https://player.vimeo.com/video/"+n[3],t.extend({autoplay:1},b(n[4]||"")))))},googlemaps:function(e){var t=v.exec(e);if(!t)return!1;return k(x(e,w("https://www.google."+t[3]+"/maps?"+t[6],{output:t[6].indexOf("layer=c")>0?"svembed":"embed"})))},facebookvideo:function(e){var n=p.exec(e);if(!n)return!1;0!==e.indexOf("http")&&(e="https:"+e);return k(x(e,w("https://www.facebook.com/plugins/video.php?href="+e,t.extend({autoplay:1},b(n[4]||"")))))},iframe:k},template:'<div class="lity" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="lity-wrap" data-lity-close role="document"><div class="lity-loader" aria-hidden="true">Loading...</div><div class="lity-container"><div class="lity-content"></div><button class="lity-close" type="button" aria-label="Close (Press escape to close)" data-lity-close>&times;</button></div></div></div>'},u=/(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i,f=/(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i,y=/(vimeo(pro)?.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/,v=/((maps|www)\.)?google\.([^\/\?]+)\/?((maps\/?)?\?)(.*)/i,p=/(facebook\.com)\/([a-z0-9_-]*)\/videos\/([0-9]*)(.*)?$/i,m=function(){var e=n.createElement("div"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in t)if(void 0!==e.style[i])return t[i];return!1}();function h(e){var t=r();return m&&e.length?(e.one(m,t.resolve),setTimeout(t.resolve,500)):t.resolve(),t.promise()}function g(e,n,i){if(1===arguments.length)return t.extend({},e);if("string"==typeof n){if(void 0===i)return void 0===e[n]?null:e[n];e[n]=i}else t.extend(e,n);return this}function b(e){for(var t,n=decodeURI(e.split("#")[0]).split("&"),i={},r=0,o=n.length;r<o;r++)n[r]&&(i[(t=n[r].split("="))[0]]=t[1]);return i}function w(e,n){return e+(e.indexOf("?")>-1?"&":"?")+t.param(n)}function x(e,t){var n=e.indexOf("#");return-1===n?t:(n>0&&(e=e.substr(n)),t+e)}function C(e,n){var i=n.opener()&&n.opener().data("lity-desc")||"Image with no description",o=t('<img src="'+e+'" alt="'+i+'"/>'),a=r(),l=function(){var e;a.reject((e="Failed loading image",t('<span class="lity-error"/>').append(e)))};return o.on("load",function(){if(0===this.naturalWidth)return l();a.resolve(o)}).on("error",l),a.promise()}function k(e){return'<div class="lity-iframe-container"><iframe frameborder="0" allowfullscreen src="'+e+'"/></div>'}function E(){return n.documentElement.clientHeight?.9*n.documentElement.clientHeight:Math.round(.9*i.height())}function j(e){var t,i,r,o=z();o&&(27===e.keyCode&&o.options("esc")&&o.close(),9===e.keyCode&&(t=e,i=o.element().find(d),r=i.index(n.activeElement),t.shiftKey&&r<=0?(i.get(i.length-1).focus(),t.preventDefault()):t.shiftKey||r!==i.length-1||(i.get(0).focus(),t.preventDefault())))}function D(){t.each(a,function(e,t){t.resize()})}function z(){return 0===a.length?null:a[0]}function T(e,d,u,f){var y,v,p,m,b,w,x,C,k,z,T,O=this,q=!1,W=!1;d=t.extend({},c,d),v=t(d.template),O.element=function(){return v},O.opener=function(){return u},O.options=t.proxy(g,O,d),O.handlers=t.proxy(g,O,d.handlers),O.resize=function(){q&&!W&&p.css("max-height",E()+"px").trigger("lity:resize",[O])},O.close=function(){if(q&&!W){var e;W=!0,(e=O).element().attr(l,"true"),1===a.length&&(o.removeClass("lity-active"),i.off({resize:D,keydown:j})),((a=t.grep(a,function(t){return e!==t})).length?a[0].element():t(".lity-hidden")).removeClass("lity-hidden").each(function(){var e=t(this),n=e.data(s);n?e.attr(l,n):e.removeAttr(l),e.removeData(s)});var d=r();if(f&&(n.activeElement===v[0]||t.contains(v[0],n.activeElement)))try{f.focus()}catch(e){}return p.trigger("lity:close",[O]),v.removeClass("lity-opened").addClass("lity-closed"),h(p.add(v)).always(function(){p.trigger("lity:remove",[O]),v.remove(),v=void 0,d.resolve()}),d.promise()}},m=e,b=O,w=d.handlers,x=d.handler,k="inline",z=t.extend({},w),x&&z[x]?(C=z[x](m,b),k=x):(t.each(["inline","iframe"],function(e,t){delete z[t],z[t]=w[t]}),t.each(z,function(e,t){return!t||!(!t.test||t.test(m,b))||(!1!==(C=t(m,b))?(k=e,!1):void 0)})),y={handler:k,content:C||""},v.attr(l,"false").addClass("lity-loading lity-opened lity-"+y.handler).appendTo("body").focus().on("click","[data-lity-close]",function(e){t(e.target).is("[data-lity-close]")&&O.close()}).trigger("lity:open",[O]),T=O,1===a.unshift(T)&&(o.addClass("lity-active"),i.on({resize:D,keydown:j})),t("body > *").not(T.element()).addClass("lity-hidden").each(function(){var e=t(this);void 0===e.data(s)&&e.data(s,e.attr(l)||null)}).attr(l,"true"),t.when(y.content).always(function(e){p=t(e).css("max-height",E()+"px"),v.find(".lity-loader").each(function(){var e=t(this);h(e).always(function(){e.remove()})}),v.removeClass("lity-loading").find(".lity-content").empty().append(p),q=!0,p.trigger("lity:ready",[O])})}function O(e,i,r){e.preventDefault?(e.preventDefault(),e=(r=t(this)).data("lity-target")||r.attr("rel")||r.attr("src")):r=t(r);var o=new T(e,t.extend({},r.data("lity-options")||r.data("lity"),i),r,n.activeElement);if(!e.preventDefault)return o}return C.test=function(e){return u.test(e)},O.version="2.2.2",O.options=t.proxy(g,O,c),O.handlers=t.proxy(g,O,c.handlers),O.current=z,t(n).on("click.lity","[data-wpd-lity]",O),O});
13
  /* My Content and Settings */
14
+ jQuery(document).ready(function(e){var t=0,n=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),d=parseInt(wpdiscuzUCObj.additionalTab);e(document).on("click",".wpd-info,.wpd-page-link,.wpd-delete-content,.wpd-user-email-delete-links",function(e){e.preventDefault()}),e(document).on("click",".wpd-info.wpd-not-clicked",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var o=new FormData;return o.append("action","wpdGetInfo"),function(t,a){var o=e(".fas",t),i=o.attr("class");o.removeClass(),o.addClass("fas fa-pulse fa-spinner"),wpdiscuzAjaxObj.getAjaxObj(n||d,!1,a).done(function(n){t.addClass("wpd-not-clicked"),o.removeClass(),o.addClass(i),n&&(e("#wpdUserContentInfo").html(n),e("#wpdUserContentInfo ul.wpd-list .wpd-list-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo div.wpd-content .wpd-content-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo").is(":visible")||e("#wpdUserContentInfoAnchor").trigger("click"))})}(a,o),!1}),e(document).on("click",".wpd-list-item",function(){var t=e("input.wpd-rel",this).val();e("#wpdUserContentInfo .wpd-list-item").removeClass("wpd-active"),e("#wpdUserContentInfo .wpd-content-item").removeClass("wpd-active");var a=e(this);if(e("#wpdUserContentInfo #"+t).text().length)a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).addClass("wpd-active");else{var o=new FormData;o.append("action",a.attr("data-action")),o.append("page",0),e("#wpdUserContentInfo #"+t).addClass("wpd-active"),e("#wpdUserContentInfo #"+t).css("text-align","center"),wpdiscuzAjaxObj.getAjaxObj(n||d,!0,o).done(function(n){n&&(e("#wpdUserContentInfo #"+t).css("text-align",""),a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).html(n)),e("#wpdiscuz-loading-bar").hide()})}}),e(document).on("click",".wpd-page-link.wpd-not-clicked",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var o=a.data("wpd-page"),i=e(".wpd-active .wpd-pagination .wpd-action").val(),s=new FormData;s.append("action",i),s.append("page",o),wpdiscuzAjaxObj.getAjaxObj(n||d,!0,s).done(function(t){a.addClass("wpd-not-clicked"),t&&e(".wpd-content-item.wpd-active").html(t),e("#wpdiscuz-loading-bar").hide()})}),e(document).on("click",".wpd-delete-content.wpd-not-clicked",function(){var a=e(this),o=parseInt(a.data("wpd-content-id"));if(!isNaN(o)){var i=a.data("wpd-delete-action");if("wpdDeleteComment"==i&&!confirm(wpdiscuzUCObj.msgConfirmDeleteComment))return!1;if("wpdCancelSubscription"==i&&!confirm(wpdiscuzUCObj.msgConfirmCancelSubscription))return!1;if("wpdCancelFollow"==i&&!confirm(wpdiscuzUCObj.msgConfirmCancelFollow))return!1;var s=e("i",a),c=s.attr("class"),p=e(".wpd-wrapper .wpd-page-number").val(),l=e(".wpd-content-item.wpd-active").children(".wpd-item").length;a.removeClass("wpd-not-clicked"),s.removeClass().addClass("fas fa-pulse fa-spinner"),1==l&&p>0&&(p-=1);var w=new FormData;w.append("id",o),w.append("page",p),w.append("action",i),wpdiscuzAjaxObj.getAjaxObj(n||d,!1,w).done(function(n){a.addClass("wpd-not-clicked"),s.removeClass().addClass(c),e(".wpd-content-item.wpd-active").html(n),t=1})}}),e(document).on("click","[data-lity-close]",function(n){e(n.target).is("[data-lity-close]")&&t&&window.location.reload(!0)}),e(document).on("click",".wpd-user-email-delete-links.wpd-not-clicked",function(){var t=e(this);t.removeClass("wpd-not-clicked"),e(".wpd-loading",t).addClass("wpd-show");var a=new FormData;a.append("action","wpdEmailDeleteLinks"),wpdiscuzAjaxObj.getAjaxObj(n||d,!1,a).done(function(n){t.addClass("wpd-not-clicked"),e("[data-lity-close]",window.parent.document).trigger("click")})}),e(document).on("click",".wpd-user-settings-button.wpd-not-clicked",function(){var t=e(this);t.removeClass("wpd-not-clicked");var a=t.data("wpd-delete-action");if("deleteCookies"!==a){t.find(".wpd-loading").addClass("wpd-show");var o=new FormData;o.append("action","wpdGuestAction"),o.append("guestAction",a),wpdiscuzAjaxObj.getAjaxObj(n||d,!1,o).done(function(n){t.addClass("wpd-not-clicked"),t.find(".wpd-loading").removeClass("wpd-show");try{var d=e.parseJSON(n);t.after(d.message);var a=t.next(".wpd-guest-action-message");a.fadeIn(100).fadeOut(7e3,function(){a.remove(),1===parseInt(d.code)&&(t.parent().remove(),e(".wpd-delete-all-comments").length||e(".wpd-delete-all-subscriptions").length||e(".wpd-delete-all-cookies").parent().addClass("wpd-show"))})}catch(e){console.log(e)}})}else!function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t],d=n.indexOf("="),a=d>-1?n.substr(0,d):n;Cookies.remove(a.trim())}location.reload(!0)}()})});
15
  /* Social */
16
  function wpcShareCommentFB(e,s){FB.ui({method:"share",href:e,quote:s},function(e){})}(wpdiscuzAjaxObj.enableFbLogin||wpdiscuzAjaxObj.enableFbShare)&&wpdiscuzAjaxObj.facebookAppID&&(!function(e,s,n){var o,a=e.getElementsByTagName(s)[0];e.getElementById(n)||((o=e.createElement(s)).id=n,o.src="//connect.facebook.net/en_US/sdk.js",a.parentNode.insertBefore(o,a))}(document,"script","facebook-jssdk"),window.fbAsyncInit=function(){FB.init({appId:wpdiscuzAjaxObj.facebookAppID,cookie:!0,xfbml:!0,version:"v7.0"})}),jQuery(document).ready(function(e){var s;(s=Cookies.get("wpdiscuz_social_login_message"))&&"undefined"!==s&&(Cookies.remove("wpdiscuz_social_login_message"),wpdiscuzAjaxObj.setCommentMessage(decodeURIComponent(s.replace(/\+/g,"%20")),"error")),Cookies.get("wpdiscuz_scroll_to_comments")&&(Cookies.remove("wpdiscuz_scroll_to_comments",{path:"/"}),e("html, body").animate({scrollTop:e("#comments").offset().top-32},1e3)),e(document).delegate(".wpd-comment-share .fa-facebook-f","click",function(){if(1==wpdiscuzAjaxObj.enableFbShare){var s=e(this).parents(".wpd-comment").find(".wpd-comment-right").attr("id"),n=window.location.href;-1!==n.indexOf("#")&&(n=n.substring(0,n.indexOf("#"))),wpcShareCommentFB(n+="#"+s,e(this).parents(".wpd-comment-right").find(".wpd-comment-text").text())}});var n="";function o(e,s){var n,o="";t(s,1),Cookies.set("wpdiscuz_scroll_to_comments",1,{path:"/"}),"facebook"===e&&0==wpdiscuzAjaxObj.facebookUseOAuth2?FB.getLoginStatus(function(t){"connected"===t.status?(n=t.authResponse.accessToken,o=t.authResponse.userID,a(e,n,o,s)):FB.login(function(t){"connected"===t.status&&(n=t.authResponse.accessToken,o=t.authResponse.userID,a(e,n,o,s))},{scope:"public_profile,email"})}):a(e,n,o,s)}function a(s,n,o,a){return e.ajax({type:"POST",url:wpdiscuzAjaxObj.url,data:{action:"wpd_social_login",provider:s,token:n,userID:o,postID:wpdiscuzAjaxObj.wc_post_id}}).done(function(s){!function(s,n){try{var o=e.parseJSON(s),a=o.code,i=o.message,c=o.url;200===parseInt(a)?location.assign(c):wpdiscuzAjaxObj.setCommentMessage(i,"error")}catch(e){console.log(e)}t(n,0)}(s,a)}),""}function t(e,s){1===s?e.find(".wpdiscuz-social-login-spinner").show():e.find(".wpdiscuz-social-login-spinner").hide()}e(document).delegate("#wpdcom .wpd-social-login .wpdiscuz-login-button","click",function(){var s=e(this).parents(".wpd-social-login");!function(e,s){1!=parseInt(wpdiscuzAjaxObj.socialLoginAgreementCheckbox)||1==Cookies.get("socialLoginAgreementConfirmed")?o(e,s):s.parents(".wpd-form-wrap, .wpd-form").find(".wpd-social-login-agreement").first().slideDown(700)}(n=function(e){var s="";e.hasClass("wpdsn-fb")&&(s="facebook");e.hasClass("wpdsn-insta")&&(s="instagram");e.hasClass("wpdsn-gg")&&(s="google");e.hasClass("wpdsn-ds")&&(s="disqus");e.hasClass("wpdsn-wp")&&(s="wordpress");e.hasClass("wpdsn-tw")&&(s="twitter");e.hasClass("wpdsn-vk")&&(s="vk");e.hasClass("wpdsn-ok")&&(s="ok");e.hasClass("wpdsn-linked")&&(s="linkedin");e.hasClass("wpdsn-yandex")&&(s="yandex");e.hasClass("wpdsn-mailru")&&(s="mailru");e.hasClass("wpdsn-weixin")&&(s="wechat");e.hasClass("wpdsn-weibo")&&(s="weibo");e.hasClass("wpdsn-qq")&&(s="qq");e.hasClass("wpdsn-baidu")&&(s="baidu");return s}(e(this)),s)}),e(document).delegate("#wpdcom .wpd-agreement-buttons-right .wpd-agreement-button","click",function(){var s=e(this).parents(".wpd-form-wrap, .wpd-form").find(".wpd-social-login-agreement").slideUp(700);e(this).hasClass("wpd-agreement-button-agree")&&(wpdiscuzAjaxObj.isCookiesEnabled&&Cookies.set("socialLoginAgreementConfirmed",1,{expires:30,path:"/"}),o(n,s))})});
assets/js/wpdiscuz-combo.min.js CHANGED
@@ -3,18 +3,18 @@
3
  /* Quill */
4
  !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Quill=e():t.Quill=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=45)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),l=n(48),a=n(49),s=n(50),u=n(51),c=n(52),f=n(11),h=n(29),p=n(30),d=n(28),y=n(1),v={Scope:y.Scope,create:y.create,find:y.find,query:y.query,register:y.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:u.default,Scroll:l.default,Block:s.default,Inline:a.default,Text:c.default,Attributor:{Attribute:f.default,Class:h.default,Style:p.default,Store:d.default}};e.default=v},function(t,e,n){"use strict";function r(t,e){var n=i(t);if(null==n)throw new s("Unable to create "+t+" blot");var r=n;return new r(t instanceof Node||t.nodeType===Node.TEXT_NODE?t:r.create(e),e)}function o(t,n){return void 0===n&&(n=!1),null==t?null:null!=t[e.DATA_KEY]?t[e.DATA_KEY].blot:n?o(t.parentNode,n):null}function i(t,e){void 0===e&&(e=p.ANY);var n;if("string"==typeof t)n=h[t]||u[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=h.text;else if("number"==typeof t)t&p.LEVEL&p.BLOCK?n=h.block:t&p.LEVEL&p.INLINE&&(n=h.inline);else if(t instanceof HTMLElement){var r=(t.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=c[r[o]])break;n=n||f[t.tagName]}return null==n?null:e&p.LEVEL&n.scope&&e&p.TYPE&n.scope?n:null}function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length>1)return t.map(function(t){return l(t)});var n=t[0];if("string"!=typeof n.blotName&&"string"!=typeof n.attrName)throw new s("Invalid definition");if("abstract"===n.blotName)throw new s("Cannot register abstract class");if(h[n.blotName||n.attrName]=n,"string"==typeof n.keyName)u[n.keyName]=n;else if(null!=n.className&&(c[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map(function(t){return t.toUpperCase()}):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach(function(t){null!=f[t]&&null!=n.className||(f[t]=n)})}return n}var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=this;return e="[Parchment] "+e,n=t.call(this,e)||this,n.message=e,n.name=n.constructor.name,n}return a(e,t),e}(Error);e.ParchmentError=s;var u={},c={},f={},h={};e.DATA_KEY="__blot";var p;!function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(p=e.Scope||(e.Scope={})),e.create=r,e.find=o,e.query=i,e.register=l},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===r.call(t)},i=function(t){if(!t||"[object Object]"!==r.call(t))return!1;var e=n.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!e&&!o)return!1;var i;for(i in t);return void 0===i||n.call(t,i)};t.exports=function t(){var e,n,r,l,a,s,u=arguments[0],c=1,f=arguments.length,h=!1;for("boolean"==typeof u&&(h=u,u=arguments[1]||{},c=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});c<f;++c)if(null!=(e=arguments[c]))for(n in e)r=u[n],l=e[n],u!==l&&(h&&l&&(i(l)||(a=o(l)))?(a?(a=!1,s=r&&o(r)?r:[]):s=r&&i(r)?r:{},u[n]=t(h,s,l)):void 0!==l&&(u[n]=l));return u}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,f.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:a(t.parent,e))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},c=n(2),f=r(c),h=n(4),p=r(h),d=n(0),y=r(d),v=n(14),b=r(v),g=n(5),m=r(g),_=n(8),O=r(_),w=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),s(e,[{key:"attach",value:function(){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new y.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new p.default).insert(this.value(),(0,f.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=y.default.query(t,y.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,r){this.format(n,r)}},{key:"insertAt",value:function(t,n,r){if("string"==typeof n&&n.endsWith("\n")){var o=y.default.create(x.blotName);this.parent.insertBefore(o,0===t?this:this.next),o.insertAt(0,n.slice(0,-1))}else u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r)}}]),e}(y.default.Embed);w.scope=y.default.Scope.BLOCK_BLOT;var x=function(t){function e(t){o(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return l(e,t),s(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(y.default.Leaf).reduce(function(t,e){return 0===e.length()?t:t.insert(e.value(),a(e))},new p.default).insert("\n",a(this))),this.cache.delta}},{key:"deleteAt",value:function(t,n){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),this.cache={}}},{key:"formatAt",value:function(t,n,r,o){n<=0||(y.default.query(r,y.default.Scope.BLOCK)?t+n===this.length()&&this.format(r,o):u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(n,this.length()-t-1),r,o),this.cache={})}},{key:"insertAt",value:function(t,n,r){if(null!=r)return u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);if(0!==n.length){var o=n.split("\n"),i=o.shift();i.length>0&&(t<this.length()-1||null==this.children.tail?u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});var l=this;o.reduce(function(t,e){return l=l.split(t,!0),l.insertAt(0,e),e.length},t+i.length)}}},{key:"insertBefore",value:function(t,n){var r=this.children.head;u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n),r instanceof b.default&&r.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(t,n){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,n),this.cache={}}},{key:"optimize",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},o}}]),e}(y.default.Block);x.blotName="block",x.tagName="P",x.defaultChild="break",x.allowedChildren=[m.default,y.default.Embed,O.default],e.bubbleFormats=a,e.BlockEmbed=w,e.default=x},function(t,e,n){var r=n(54),o=n(12),i=n(2),l=n(20),a=String.fromCharCode(0),s=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};s.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},s.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},s.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},s.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=i(!0,{},t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,"object"!=typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(o(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},s.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},s.prototype.filter=function(t){return this.ops.filter(t)},s.prototype.forEach=function(t){this.ops.forEach(t)},s.prototype.map=function(t){return this.ops.map(t)},s.prototype.partition=function(t){var e=[],n=[];return this.forEach(function(r){(t(r)?e:n).push(r)}),[e,n]},s.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},s.prototype.changeLength=function(){return this.reduce(function(t,e){return e.insert?t+l.length(e):e.delete?t-e.delete:t},0)},s.prototype.length=function(){return this.reduce(function(t,e){return t+l.length(e)},0)},s.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var n=[],r=l.iterator(this.ops),o=0;o<e&&r.hasNext();){var i;o<t?i=r.next(t-o):(i=r.next(e-o),n.push(i)),o+=l.length(i)}return new s(n)},s.prototype.compose=function(t){for(var e=l.iterator(this.ops),n=l.iterator(t.ops),r=new s;e.hasNext()||n.hasNext();)if("insert"===n.peekType())r.push(n.next());else if("delete"===e.peekType())r.push(e.next());else{var o=Math.min(e.peekLength(),n.peekLength()),i=e.next(o),a=n.next(o);if("number"==typeof a.retain){var u={};"number"==typeof i.retain?u.retain=o:u.insert=i.insert;var c=l.attributes.compose(i.attributes,a.attributes,"number"==typeof i.retain);c&&(u.attributes=c),r.push(u)}else"number"==typeof a.delete&&"number"==typeof i.retain&&r.push(a)}return r.chop()},s.prototype.concat=function(t){var e=new s(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},s.prototype.diff=function(t,e){if(this.ops===t.ops)return new s;var n=[this,t].map(function(e){return e.map(function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:a;var r=e===t?"on":"with";throw new Error("diff() called "+r+" non-document")}).join("")}),i=new s,u=r(n[0],n[1],e),c=l.iterator(this.ops),f=l.iterator(t.ops);return u.forEach(function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case r.INSERT:n=Math.min(f.peekLength(),e),i.push(f.next(n));break;case r.DELETE:n=Math.min(e,c.peekLength()),c.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(c.peekLength(),f.peekLength(),e);var a=c.next(n),s=f.next(n);o(a.insert,s.insert)?i.retain(n,l.attributes.diff(a.attributes,s.attributes)):i.push(s).delete(n)}e-=n}}),i.chop()},s.prototype.eachLine=function(t,e){e=e||"\n";for(var n=l.iterator(this.ops),r=new s,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),a=l.length(i)-n.peekLength(),u="string"==typeof i.insert?i.insert.indexOf(e,a)-a:-1;if(u<0)r.push(n.next());else if(u>0)r.push(n.next(u));else{if(!1===t(r,n.next(1).attributes||{},o))return;o+=1,r=new s}}r.length()>0&&t(r,{},o)},s.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var n=l.iterator(this.ops),r=l.iterator(t.ops),o=new s;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),a=n.next(i),u=r.next(i);if(a.delete)continue;u.delete?o.push(u):o.retain(i,l.attributes.transform(a.attributes,u.attributes,e))}else o.retain(l.length(n.next()));return o.chop()},s.prototype.transformPosition=function(t,e){e=!!e;for(var n=l.iterator(this.ops),r=0;n.hasNext()&&r<=t;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r<t||!e)&&(t+=o),r+=o):t-=Math.min(o,t-r)}return t},t.exports=s},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=n(8),c=r(u),f=n(0),h=r(f),p=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),a(e,[{key:"formatAt",value:function(t,n,r,o){if(e.compare(this.statics.blotName,r)<0&&h.default.query(r,h.default.Scope.BLOT)){var i=this.isolate(t,n);o&&i.wrap(r,o)}else s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,o)}},{key:"optimize",value:function(t){if(s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var r=e.order.indexOf(t),o=e.order.indexOf(n);return r>=0||o>=0?r-o:t===n?0:t<n?-1:1}}]),e}(h.default.Inline);p.allowedChildren=[p,h.default.Embed,c.default],p.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(e=(0,N.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e),e.theme&&e.theme!==S.DEFAULTS.theme){if(e.theme=S.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=T.default;var n=(0,N.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach(function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach(function(e){!0===t.modules[e]&&(t.modules[e]={})})});var r=Object.keys(n.modules).concat(Object.keys(e.modules)),o=r.reduce(function(t,e){var n=S.import("modules/"+e);return null==n?P.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t},{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,N.default)(!0,{},S.DEFAULTS,{modules:o},n,e),["bounds","container","scrollingContainer"].forEach(function(t){"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),e.modules=Object.keys(e.modules).reduce(function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t},{}),e}function a(t,e,n,r){if(this.options.strict&&!this.isEnabled()&&e===g.default.sources.USER)return new d.default;var o=null==n?null:this.getSelection(),i=this.editor.delta,l=t();if(null!=o&&(!0===n&&(n=o.index),null==r?o=u(o,l,e):0!==r&&(o=u(o,n,r,e)),this.setSelection(o,g.default.sources.SILENT)),l.length()>0){var a,s=[g.default.events.TEXT_CHANGE,l,i,e];if((a=this.emitter).emit.apply(a,[g.default.events.EDITOR_CHANGE].concat(s)),e!==g.default.sources.SILENT){var c;(c=this.emitter).emit.apply(c,s)}}return l}function s(t,e,n,r,o){var i={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(o=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(o=r,r=n,n=e,e=0),"object"===(void 0===n?"undefined":c(n))?(i=n,o=r):"string"==typeof n&&(null!=r?i[n]=r:o=n),o=o||g.default.sources.API,[t,e,i,o]}function u(t,e,n,r){if(null==t)return null;var o=void 0,i=void 0;if(e instanceof d.default){var l=[t.index,t.index+t.length].map(function(t){return e.transformPosition(t,r!==g.default.sources.USER)}),a=f(l,2);o=a[0],i=a[1]}else{var s=[t.index,t.index+t.length].map(function(t){return t<e||t===e&&r===g.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)}),u=f(s,2);o=u[0],i=u[1]}return new x.Range(o,i-o)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();n(53);var p=n(4),d=r(p),y=n(57),v=r(y),b=n(9),g=r(b),m=n(7),_=r(m),O=n(0),w=r(O),x=n(22),k=r(x),E=n(2),N=r(E),j=n(10),A=r(j),q=n(32),T=r(q),P=(0,A.default)("quill"),S=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,t),this.options=l(e,r),this.container=this.options.container,null==this.container)return P.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new g.default,this.scroll=w.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new v.default(this.scroll),this.selection=new k.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(g.default.events.EDITOR_CHANGE,function(t){t===g.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())}),this.emitter.on(g.default.events.SCROLL_UPDATE,function(t,e){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;a.call(n,function(){return n.editor.update(null,e,o)},t)});var s=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(s),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return h(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),A.default.level(t)}},{key:"find",value:function(t){return t.__quill||w.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&P.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof t){var o=t.attrName||t.blotName;"string"==typeof o?this.register("formats/"+o,t,e):Object.keys(t).forEach(function(r){n.register(r,t[r],e)})}else null==this.imports[t]||r||P.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?w.default.register(e):t.startsWith("modules")&&"function"==typeof e.register&&e.register()}}]),h(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){var n=t;t=document.createElement("div"),t.classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var r=this,o=s(t,e,n),i=f(o,4);return t=i[0],e=i[1],n=i[3],a.call(this,function(){return r.editor.deleteText(t,e)},n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.default.sources.API;return a.call(this,function(){var r=n.getSelection(!0),i=new d.default;if(null==r)return i;if(w.default.query(t,w.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,o({},t,e));else{if(0===r.length)return n.selection.format(t,e),i;i=n.editor.formatText(r.index,r.length,o({},t,e))}return n.setSelection(r,g.default.sources.SILENT),i},r)}},{key:"formatLine",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,e,n,r,o),c=f(u,4);return t=c[0],e=c[1],l=c[2],o=c[3],a.call(this,function(){return i.editor.formatLine(t,e,l)},o,t,0)}},{key:"formatText",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,e,n,r,o),c=f(u,4);return t=c[0],e=c[1],l=c[2],o=c[3],a.call(this,function(){return i.editor.formatText(t,e,l)},o,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=s(t,e),r=f(n,2);return t=r[0],e=r[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=s(t,e),r=f(n,2);return t=r[0],e=r[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return a.call(this,function(){return o.editor.insertEmbed(e,n,r)},i,e)}},{key:"insertText",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,0,n,r,o),c=f(u,4);return t=c[0],l=c[2],o=c[3],a.call(this,function(){return i.editor.insertText(t,e,l)},o,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var r=this,o=s(t,e,n),i=f(o,4);return t=i[0],e=i[1],n=i[3],a.call(this,function(){return r.editor.removeFormat(t,e)},n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API;return a.call(this,function(){t=new d.default(t);var n=e.getLength(),r=e.editor.deleteText(0,n),o=e.editor.applyDelta(t),i=o.ops[o.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),o.delete(1)),r.compose(o)},n)}},{key:"setSelection",value:function(e,n,r){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var o=s(e,n,r),i=f(o,4);e=i[0],n=i[1],r=i[3],this.selection.setRange(new x.Range(e,n),r),r!==g.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API,n=(new d.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API;return a.call(this,function(){return t=new d.default(t),e.editor.applyDelta(t,n)},n,!0)}}]),t}();S.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},S.events=g.default.events,S.sources=g.default.sources,S.version="1.3.6",S.imports={delta:d.default,parchment:w.default,"core/module":_.default,"core/theme":T.default},e.expandConfig=l,e.overload=s,e.default=S},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),this.quill=e,this.options=n};o.DEFAULTS={},e.default=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(0),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default.Text);e.default=s},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=n(58),c=r(u),f=n(10),h=r(f),p=(0,h.default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(function(t){document.addEventListener(t,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(t){if(t.__quill&&t.__quill.emitter){var n;(n=t.__quill.emitter).handleDOM.apply(n,e)}})})});var d=function(t){function e(){o(this,e);var t=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",p.error),t}return l(e,t),a(e,[{key:"emit",value:function(){p.log.apply(p,arguments),s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];(this.listeners[t.type]||[]).forEach(function(e){var r=e.node,o=e.handler;(t.target===r||r.contains(t.target))&&o.apply(void 0,[t].concat(n))})}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}(c.default);d.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},d.sources={API:"api",SILENT:"silent",USER:"user"},e.default=d},function(t,e,n){"use strict";function r(t){if(i.indexOf(t)<=i.indexOf(l)){for(var e,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(e=console)[t].apply(e,r)}}function o(t){return i.reduce(function(e,n){return e[n]=r.bind(console,n,t),e},{})}Object.defineProperty(e,"__esModule",{value:!0});var i=["error","warn","log","info"],l="warn";r.level=o.level=function(t){l=t},e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var o=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|o:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,function(t){return t.name})},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=r.query(t,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||("string"==typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=o},function(t,e,n){function r(t){return null===t||void 0===t}function o(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&("function"==typeof t.copy&&"function"==typeof t.slice&&!(t.length>0&&"number"!=typeof t[0]))}function i(t,e,n){var i,c;if(r(t)||r(e))return!1;if(t.prototype!==e.prototype)return!1;if(s(t))return!!s(e)&&(t=l.call(t),e=l.call(e),u(t,e,n));if(o(t)){if(!o(e))return!1;if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}try{var f=a(t),h=a(e)}catch(t){return!1}if(f.length!=h.length)return!1;for(f.sort(),h.sort(),i=f.length-1;i>=0;i--)if(f[i]!=h[i])return!1;for(i=f.length-1;i>=0;i--)if(c=f[i],!u(t[c],e[c],n))return!1;return typeof t==typeof e}var l=Array.prototype.slice,a=n(55),s=n(56),u=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:i(t,e,n))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},c=n(4),f=r(c),h=n(0),p=r(h),d=n(3),y=r(d),v=n(5),b=r(v),g=n(8),m=r(g),_=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(b.default);_.blotName="code",_.tagName="CODE";var O=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),s(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce(function(e,n){return e.insert(n).insert("\n",t.formats())},new f.default)}},{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n){var r=this.descendant(m.default,this.length()-1),o=a(r,1),i=o[0];null!=i&&i.deleteAt(i.length()-1,1),u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}},{key:"formatAt",value:function(t,n,r,o){if(0!==n&&null!=p.default.query(r,p.default.Scope.BLOCK)&&(r!==this.statics.blotName||o!==this.statics.formats(this.domNode))){var i=this.newlineIndex(t);if(!(i<0||i>=t+n)){var l=this.newlineIndex(t,!0)+1,a=i-l+1,s=this.isolate(l,a),u=s.next;s.format(r,o),u instanceof e&&u.formatAt(0,t-l+n-a,r,o)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var r=this.descendant(m.default,t),o=a(r,2),i=o[0],l=o[1];i.insertAt(l,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var e=this.domNode.textContent.slice(t).indexOf("\n");return e>-1?t+e:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(p.default.create("text","\n")),u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(t){var e=p.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof p.default.Embed?e.remove():e.unwrap()})}}],[{key:"create",value:function(t){var n=u(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(y.default);O.blotName="code-block",O.tagName="PRE",O.TAB=" ",e.Code=_,e.default=O},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(0),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"insertInto",value:function(t,n){0===t.children.length?a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(u.default.Embed);c.blotName="break",c.tagName="BR",e.default=c},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function l(t,e){var n=document.createElement("a");n.href=t;var r=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(r)>-1}Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=n(5),c=function(t){return t&&t.__esModule?t:{default:t}}(u),f=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),a(e,[{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n)return s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(t){var n=s(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),n.setAttribute("href",t),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return l(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(c.default);f.blotName="link",f.tagName="A",f.SANITIZED_URL="about:blank",f.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=f,e.sanitize=l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}Object.defineProperty(e,"__esModule",{value:!0});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(25),u=r(s),c=n(106),f=r(c),h=0,p=function(){function t(e){var n=this;o(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){n.togglePicker()}),this.label.addEventListener("keydown",function(t){switch(t.keyCode){case u.default.keys.ENTER:n.togglePicker();break;case u.default.keys.ESCAPE:n.escape(),t.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}return a(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),i(this.label,"aria-expanded"),i(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),t.hasAttribute("value")&&n.setAttribute("data-value",t.getAttribute("value")),t.textContent&&n.setAttribute("data-label",t.textContent),n.addEventListener("click",function(){e.selectItem(n,!0)}),n.addEventListener("keydown",function(t){switch(t.keyCode){case u.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case u.default.keys.ESCAPE:e.escape(),t.preventDefault()}}),n}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=f.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+h,h+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach(function(n){var r=t.buildItem(n);e.appendChild(r),!0===n.selected&&t.selectItem(r)}),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach(function(e){t.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout(function(){return t.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":l(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=p},function(t,e,n){"use strict";function r(t){var e=a.find(t);if(null==e)try{e=a.create(t)}catch(n){e=a.create(a.Scope.INLINE),[].slice.call(t.childNodes).forEach(function(t){e.domNode.appendChild(t)}),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(47),l=n(27),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return o(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach(function(t){t.attach()})},e.prototype.build=function(){var t=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(e){try{var n=r(e);t.insertBefore(n,t.children.head||void 0)}catch(t){if(t instanceof a.ParchmentError)return;throw t}})},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,function(t,e,n){t.deleteAt(e,n)})},e.prototype.descendant=function(t,n){var r=this.children.find(n),o=r[0],i=r[1];return null==t.blotName&&t(o)||null!=t.blotName&&o instanceof t?[o,i]:o instanceof e?o.descendant(t,i):[null,-1]},e.prototype.descendants=function(t,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],i=r;return this.children.forEachAt(n,r,function(n,r,l){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&o.push(n),n instanceof e&&(o=o.concat(n.descendants(t,r,i))),i-=l}),o},e.prototype.detach=function(){this.children.forEach(function(t){t.detach()}),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,r){this.children.forEachAt(t,e,function(t,e,o){t.formatAt(e,o,n,r)})},e.prototype.insertAt=function(t,e,n){var r=this.children.find(t),o=r[0],i=r[1];if(o)o.insertAt(i,e,n);else{var l=null==n?a.create("text",e):a.create(e,n);this.appendChild(l)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(e){return t instanceof e}))throw new a.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce(function(t,e){return t+e.length()},0)},e.prototype.moveChildren=function(t,e){this.children.forEach(function(n){t.insertBefore(n,e)})},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=a.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var r=this.children.find(t,n),o=r[0],i=r[1],l=[[this,t]];return o instanceof e?l.concat(o.path(i,n)):(null!=o&&l.push([o,i]),l)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),function(t,r,o){t=t.split(r,e),n.appendChild(t)}),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,o=[],i=[];t.forEach(function(t){t.target===n.domNode&&"childList"===t.type&&(o.push.apply(o,t.addedNodes),i.push.apply(i,t.removedNodes))}),i.forEach(function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=a.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}}),o.filter(function(t){return t.parentNode==n.domNode}).sort(function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(t){var e=null;null!=t.nextSibling&&(e=a.find(t.nextSibling));var o=r(t);o.next==e&&null!=o.next||(null!=o.parent&&o.parent.removeChild(n),n.insertBefore(o,e||void 0))})},e}(l.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(11),i=n(28),l=n(17),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new i.default(n.domNode),n}return r(e,t),e.formats=function(t){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=a.query(t);n instanceof o.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var r=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(r),r},e.prototype.update=function(e,n){var r=this;t.prototype.update.call(this,e,n),e.some(function(t){return t.target===r.domNode&&"attributes"===t.type})&&this.attributes.build()},e.prototype.wrap=function(n,r){var o=t.prototype.wrap.call(this,n,r);return o instanceof e&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},e}(l.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(27),i=n(1),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){return t={},t[this.statics.blotName]=this.statics.value(this.domNode)||!0,t;var t},e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=l},function(t,e,n){function r(t){this.ops=t,this.index=0,this.offset=0}var o=n(12),i=n(2),l={attributes:{compose:function(t,e,n){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var r=i(!0,{},e);n||(r=Object.keys(r).reduce(function(t,e){return null!=r[e]&&(t[e]=r[e]),t},{}));for(var o in t)void 0!==t[o]&&void 0===e[o]&&(r[o]=t[o]);return Object.keys(r).length>0?r:void 0},diff:function(t,e){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce(function(n,r){return o(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n},{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!=typeof t)return e;if("object"==typeof e){if(!n)return e;var r=Object.keys(e).reduce(function(n,r){return void 0===t[r]&&(n[r]=e[r]),n},{});return Object.keys(r).length>0?r:void 0}}},iterator:function(t){return new r(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};r.prototype.hasNext=function(){return this.peekLength()<1/0},r.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,r=l.length(e);if(t>=r-n?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var o={};return e.attributes&&(o.attributes=e.attributes),"number"==typeof e.retain?o.retain=t:"string"==typeof e.insert?o.insert=e.insert.substr(n,t):o.insert=e.insert,o}return{retain:1/0}},r.prototype.peek=function(){return this.ops[this.index]},r.prototype.peekLength=function(){return this.ops[this.index]?l.length(this.ops[this.index])-this.offset:1/0},r.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},t.exports=l},function(t,e){var n=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}function e(n,r,o,i,c){function f(n,o){if(null===n)return null;if(0===o)return n;var y,v;if("object"!=typeof n)return n;if(t(n,a))y=new a;else if(t(n,s))y=new s;else if(t(n,u))y=new u(function(t,e){n.then(function(e){t(f(e,o-1))},function(t){e(f(t,o-1))})});else if(e.__isArray(n))y=[];else if(e.__isRegExp(n))y=new RegExp(n.source,l(n)),n.lastIndex&&(y.lastIndex=n.lastIndex);else if(e.__isDate(n))y=new Date(n.getTime());else{if(d&&Buffer.isBuffer(n))return y=new Buffer(n.length),n.copy(y),y;t(n,Error)?y=Object.create(n):void 0===i?(v=Object.getPrototypeOf(n),y=Object.create(v)):(y=Object.create(i),v=i)}if(r){var b=h.indexOf(n);if(-1!=b)return p[b];h.push(n),p.push(y)}t(n,a)&&n.forEach(function(t,e){var n=f(e,o-1),r=f(t,o-1);y.set(n,r)}),t(n,s)&&n.forEach(function(t){var e=f(t,o-1);y.add(e)});for(var g in n){var m;v&&(m=Object.getOwnPropertyDescriptor(v,g)),m&&null==m.set||(y[g]=f(n[g],o-1))}if(Object.getOwnPropertySymbols)for(var _=Object.getOwnPropertySymbols(n),g=0;g<_.length;g++){var O=_[g],w=Object.getOwnPropertyDescriptor(n,O);(!w||w.enumerable||c)&&(y[O]=f(n[O],o-1),w.enumerable||Object.defineProperty(y,O,{enumerable:!1}))}if(c)for(var x=Object.getOwnPropertyNames(n),g=0;g<x.length;g++){var k=x[g],w=Object.getOwnPropertyDescriptor(n,k);w&&w.enumerable||(y[k]=f(n[k],o-1),Object.defineProperty(y,k,{enumerable:!1}))}return y}"object"==typeof r&&(o=r.depth,i=r.prototype,c=r.includeNonEnumerable,r=r.circular);var h=[],p=[],d="undefined"!=typeof Buffer;return void 0===r&&(r=!0),void 0===o&&(o=1/0),f(n,o)}function n(t){return Object.prototype.toString.call(t)}function r(t){return"object"==typeof t&&"[object Date]"===n(t)}function o(t){return"object"==typeof t&&"[object Array]"===n(t)}function i(t){return"object"==typeof t&&"[object RegExp]"===n(t)}function l(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}var a;try{a=Map}catch(t){a=function(){}}var s;try{s=Set}catch(t){s=function(){}}var u;try{u=Promise}catch(t){u=function(){}}return e.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},e.__objToStr=n,e.__isDate=r,e.__isArray=o,e.__isRegExp=i,e.__getRegExpFlags=l,e}();"object"==typeof t&&t.exports&&(t.exports=n)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){try{e.parentNode}catch(t){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(0),c=r(u),f=n(21),h=r(f),p=n(12),d=r(p),y=n(9),v=r(y),b=n(10),g=r(b),m=(0,g.default)("quill:selection"),_=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;i(this,t),this.index=e,this.length=n},O=function(){function t(e,n){var r=this;i(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=c.default.create("cursor",this),this.lastRange=this.savedRange=new _(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){r.mouseDown||setTimeout(r.update.bind(r,v.default.sources.USER),1)}),this.emitter.on(v.default.events.EDITOR_CHANGE,function(t,e){t===v.default.events.TEXT_CHANGE&&e.length()>0&&r.update(v.default.sources.SILENT)}),this.emitter.on(v.default.events.SCROLL_BEFORE_UPDATE,function(){if(r.hasFocus()){var t=r.getNativeRange();null!=t&&t.start.node!==r.cursor.textNode&&r.emitter.once(v.default.events.SCROLL_UPDATE,function(){try{r.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}})}}),this.emitter.on(v.default.events.SCROLL_OPTIMIZE,function(t,e){if(e.range){var n=e.range,o=n.startNode,i=n.startOffset,l=n.endNode,a=n.endOffset;r.setNativeRange(o,i,l,a)}}),this.update(v.default.sources.SILENT)}return s(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",function(){t.composing=!0}),this.root.addEventListener("compositionend",function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout(function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,function(){t.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){t.mouseDown=!1,t.update(v.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!c.default.query(t,c.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=c.default.find(n.start.node,!1);if(null==r)return;if(r instanceof c.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var r=void 0,o=this.scroll.leaf(t),i=a(o,2),l=i[0],s=i[1];if(null==l)return null;var u=l.position(s,!0),c=a(u,2);r=c[0],s=c[1];var f=document.createRange();if(e>0){f.setStart(r,s);var h=this.scroll.leaf(t+e),p=a(h,2);if(l=p[0],s=p[1],null==l)return null;var d=l.position(s,!0),y=a(d,2);return r=y[0],s=y[1],f.setEnd(r,s),f.getBoundingClientRect()}var v="left",b=void 0;return r instanceof Text?(s<r.data.length?(f.setStart(r,s),f.setEnd(r,s+1)):(f.setStart(r,s-1),f.setEnd(r,s),v="right"),b=f.getBoundingClientRect()):(b=l.domNode.getBoundingClientRect(),s>0&&(v="right")),{bottom:b.top+b.height,height:b.height,left:b[v],right:b[v],top:b.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return m.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var r=n.map(function(t){var n=a(t,2),r=n[0],o=n[1],i=c.default.find(r,!0),l=i.offset(e.scroll);return 0===o?l:i instanceof c.default.Container?l+i.length():l+i.index(r,o)}),i=Math.min(Math.max.apply(Math,o(r)),this.scroll.length()-1),l=Math.min.apply(Math,[i].concat(o(r)));return new _(l,i-l)}},{key:"normalizeNative",value:function(t){if(!l(this.root,t.startContainer)||!t.collapsed&&!l(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach(function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;e=e.lastChild,n=e instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n}),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],r=[],o=this.scroll.length();return n.forEach(function(t,n){t=Math.min(o-1,t);var i=void 0,l=e.scroll.leaf(t),s=a(l,2),u=s[0],c=s[1],f=u.position(c,0!==n),h=a(f,2);i=h[0],c=h[1],r.push(i,c)}),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var r=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,r)),i=a(o,1),l=i[0],s=l;if(e.length>0){var u=this.scroll.line(Math.min(e.index+e.length,r));s=a(u,1)[0]}if(null!=l&&null!=s){var c=t.getBoundingClientRect();n.top<c.top?t.scrollTop-=c.top-n.top:n.bottom>c.bottom&&(t.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(m.info("setNativeRange",t,e,n,r),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=t){this.hasFocus()||this.root.focus();var l=(this.getNativeRange()||{}).native;if(null==l||o||t!==l.startContainer||e!==l.startOffset||n!==l.endContainer||r!==l.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var a=document.createRange();a.setStart(t,e),a.setEnd(n,r),i.removeAllRanges(),i.addRange(a)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v.default.sources.API;if("string"==typeof e&&(n=e,e=!1),m.info("setRange",t),null!=t){var r=this.rangeToNative(t);this.setNativeRange.apply(this,o(r).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.default.sources.USER,e=this.lastRange,n=this.getRange(),r=a(n,2),o=r[0],i=r[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,d.default)(e,this.lastRange)){var l;!this.composing&&null!=i&&i.native.collapsed&&i.start.node!==this.cursor.textNode&&this.cursor.restore();var s=[v.default.events.SELECTION_CHANGE,(0,h.default)(this.lastRange),(0,h.default)(e),t];if((l=this.emitter).emit.apply(l,[v.default.events.EDITOR_CHANGE].concat(s)),t!==v.default.sources.SILENT){var u;(u=this.emitter).emit.apply(u,s)}}}}]),t}();e.Range=_,e.default=O},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),s=r(a),u=n(3),c=r(u),f=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(s.default.Container);f.allowedChildren=[c.default,u.BlockEmbed,f],e.default=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(0),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"value",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map(function(t){return("00"+parseInt(t).toString(16)).slice(-2)}).join("")):n}}]),e}(u.default.Attributor.Style),f=new u.default.Attributor.Class("color","ql-color",{scope:u.default.Scope.INLINE}),h=new c("color","color",{scope:u.default.Scope.INLINE});e.ColorAttributor=c,e.ColorClass=f,e.ColorStyle=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e){var n,r=t===D.keys.LEFT?"prefix":"suffix";return n={key:t,shiftKey:e,altKey:null},o(n,r,/^$/),o(n,"handler",function(n){var r=n.index;t===D.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r);return!(b(o,1)[0]instanceof T.default.Embed)||(t===D.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,S.default.sources.USER):this.quill.setSelection(n.index-1,S.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,S.default.sources.USER):this.quill.setSelection(n.index+n.length+1,S.default.sources.USER),!1)}),n}function u(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),r=b(n,1),o=r[0],i={};if(0===e.offset){var l=this.quill.getLine(t.index-1),a=b(l,1),s=a[0];if(null!=s&&s.length()>1){var u=o.formats(),c=this.quill.getFormat(t.index-1,1);i=A.default.attributes.diff(u,c)||{}}}var f=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-f,f,S.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(t.index-f,f,i,S.default.sources.USER),this.quill.focus()}}function c(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},o=0,i=this.quill.getLine(t.index),l=b(i,1),a=l[0];if(e.offset>=a.length()-1){var s=this.quill.getLine(t.index+1),u=b(s,1),c=u[0];if(c){var f=a.formats(),h=this.quill.getFormat(t.index,1);r=A.default.attributes.diff(f,h)||{},o=c.length()}}this.quill.deleteText(t.index,n,S.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index+o-1,n,r,S.default.sources.USER)}}function f(t){var e=this.quill.getLines(t),n={};if(e.length>1){var r=e[0].formats(),o=e[e.length-1].formats();n=A.default.attributes.diff(o,r)||{}}this.quill.deleteText(t,S.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,S.default.sources.USER),this.quill.setSelection(t.index,S.default.sources.SILENT),this.quill.focus()}function h(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce(function(t,n){return T.default.query(n,T.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t},{});this.quill.insertText(t.index,"\n",r,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach(function(t){null==r[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],S.default.sources.USER))})}function p(t){return{key:D.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=T.default.query("code-block"),r=e.index,o=e.length,i=this.quill.scroll.descendant(n,r),l=b(i,2),a=l[0],s=l[1];if(null!=a){var u=this.quill.getIndex(a),c=a.newlineIndex(s,!0)+1,f=a.newlineIndex(u+s+o),h=a.domNode.textContent.slice(c,f).split("\n");s=0,h.forEach(function(e,i){t?(a.insertAt(c+s,n.TAB),s+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(a.deleteAt(c+s,n.TAB.length),s-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),s+=e.length+1}),this.quill.update(S.default.sources.USER),this.quill.setSelection(r,o,S.default.sources.SILENT)}}}}function d(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],S.default.sources.USER)}}}function y(t){if("string"==typeof t||"number"==typeof t)return y({key:t});if("object"===(void 0===t?"undefined":v(t))&&(t=(0,_.default)(t,!1)),"string"==typeof t.key)if(null!=D.keys[t.key.toUpperCase()])t.key=D.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[B]=t.shortKey,delete t.shortKey),t}Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=n(21),_=r(m),O=n(12),w=r(O),x=n(2),k=r(x),E=n(4),N=r(E),j=n(20),A=r(j),q=n(0),T=r(q),P=n(6),S=r(P),C=n(10),L=r(C),M=n(7),R=r(M),I=(0,L.default)("quill:keyboard"),B=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",D=function(t){function e(t,n){i(this,e);var r=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.bindings={},Object.keys(r.options.bindings).forEach(function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&r.options.bindings[e]&&r.addBinding(r.options.bindings[e])}),r.addBinding({key:e.keys.ENTER,shiftKey:null},h),r.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},u),r.addBinding({key:e.keys.DELETE},{collapsed:!0},c)):(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},u),r.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},c)),r.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},f),r.addBinding({key:e.keys.DELETE},{collapsed:!1},f),r.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},u),r.listen(),r}return a(e,t),g(e,null,[{key:"match",value:function(t,e){return e=y(e),!["altKey","ctrlKey","metaKey","shiftKey"].some(function(n){return!!e[n]!==t[n]&&null!==e[n]})&&e.key===(t.which||t.keyCode)}}]),g(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=y(t);if(null==r||null==r.key)return I.warn("Attempted to add invalid keyboard binding",r);"function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n}),r=(0,k.default)(r,e,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",function(n){if(!n.defaultPrevented){var r=n.which||n.keyCode,o=(t.bindings[r]||[]).filter(function(t){return e.match(n,t)});if(0!==o.length){var i=t.quill.getSelection();if(null!=i&&t.quill.hasFocus()){var l=t.quill.getLine(i.index),a=b(l,2),s=a[0],u=a[1],c=t.quill.getLeaf(i.index),f=b(c,2),h=f[0],p=f[1],d=0===i.length?[h,p]:t.quill.getLeaf(i.index+i.length),y=b(d,2),g=y[0],m=y[1],_=h instanceof T.default.Text?h.value().slice(0,p):"",O=g instanceof T.default.Text?g.value().slice(m):"",x={collapsed:0===i.length,empty:0===i.length&&s.length()<=1,format:t.quill.getFormat(i),offset:u,prefix:_,suffix:O};o.some(function(e){if(null!=e.collapsed&&e.collapsed!==x.collapsed)return!1;if(null!=e.empty&&e.empty!==x.empty)return!1;if(null!=e.offset&&e.offset!==x.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(function(t){return null==x.format[t]}))return!1}else if("object"===v(e.format)&&!Object.keys(e.format).every(function(t){return!0===e.format[t]?null!=x.format[t]:!1===e.format[t]?null==x.format[t]:(0,w.default)(e.format[t],x.format[t])}))return!1;return!(null!=e.prefix&&!e.prefix.test(x.prefix))&&(!(null!=e.suffix&&!e.suffix.test(x.suffix))&&!0!==e.handler.call(t,i,x))})&&n.preventDefault()}}}})}}]),e}(R.default);D.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},D.DEFAULTS={bindings:{bold:d("bold"),italic:d("italic"),underline:d("underline"),indent:{key:D.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",S.default.sources.USER)}},outdent:{key:D.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",S.default.sources.USER)}},"outdent backspace":{key:D.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",S.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,S.default.sources.USER)}},"indent code-block":p(!0),"outdent code-block":p(!1),"remove tab":{key:D.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,S.default.sources.USER)}},tab:{key:D.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new N.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,S.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,S.default.sources.SILENT)}},"list empty enter":{key:D.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,S.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,S.default.sources.USER)}},"checklist enter":{key:D.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=b(e,2),r=n[0],o=n[1],i=(0,k.default)({},r.formats(),{list:"checked"}),l=(new N.default).retain(t.index).insert("\n",i).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(l,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:D.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=b(n,2),o=r[0],i=r[1],l=(new N.default).retain(t.index).insert("\n",e.format).retain(o.length()-i-1).retain(1,{header:null});this.quill.updateContents(l,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),o=b(r,2),i=o[0],l=o[1];if(l>n)return!0;var a=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":a="unchecked";break;case"[x]":a="checked";break;case"-":case"*":a="bullet";break;default:a="ordered"}this.quill.insertText(t.index," ",S.default.sources.USER),this.quill.history.cutoff();var s=(new N.default).retain(t.index-l).delete(n+1).retain(i.length()-2-l).retain(1,{list:a});this.quill.updateContents(s,S.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,S.default.sources.SILENT)}},"code exit":{key:D.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=b(e,2),r=n[0],o=n[1],i=(new N.default).retain(t.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,S.default.sources.USER)}},"embed left":s(D.keys.LEFT,!1),"embed left shift":s(D.keys.LEFT,!0),"embed right":s(D.keys.RIGHT,!1),"embed right shift":s(D.keys.RIGHT,!0)}},e.default=D,e.SHORTKEY=B},function(t,e,n){"use strict";t.exports={align:{"":n(75),center:n(76),right:n(77),justify:n(78)},background:n(79),blockquote:n(80),bold:n(81),clean:n(82),code:n(40),"code-block":n(40),color:n(83),direction:{"":n(84),rtl:n(85)},float:{center:n(86),full:n(87),left:n(88),right:n(89)},formula:n(90),header:{1:n(91),2:n(92)},italic:n(93),image:n(94),indent:{"+1":n(95),"-1":n(96)},link:n(97),list:{ordered:n(98),bullet:n(99),check:n(100)},script:{sub:n(101),super:n(102)},strike:n(103),underline:n(104),video:n(105)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,o){var i=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var l=r.create(this.statics.scope);i.wrap(l),l.format(n,o)}},t.prototype.insertAt=function(t,e,n){var o=null==n?r.create("text",e):r.create(e,n),i=this.split(t);this.parent.insertBefore(o,i)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"==typeof t?r.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"==typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=n(29),i=n(30),l=n(1),a=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=o.default.keys(this.domNode),a=i.default.keys(this.domNode);e.concat(n).concat(a).forEach(function(e){var n=l.query(e,l.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)})},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach(function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)})},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach(function(t){e.attributes[t].remove(e.domNode)}),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce(function(e,n){return e[n]=t.attributes[n].value(t.domNode),e},{})},t}();e.default=a},function(t,e,n){"use strict";function r(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter(function(t){return 0===t.indexOf(e+"-")})}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(11),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map(function(t){return t.split("-").slice(0,-1).join("-")})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){r(t,this.keyName).forEach(function(e){t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=r(t,this.keyName)[0]||"",n=e.slice(this.keyName.length+1);return this.canAdd(t,n)?n:""},e}(i.default);e.default=l},function(t,e,n){"use strict";function r(t){var e=t.split("-"),n=e.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join("");return e[0]+n}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(11),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map(function(t){return t.split(":")[0].trim()})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[r(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[r(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[r(this.keyName)];return this.canAdd(t,e)?e:""},e}(i.default);e.default=l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(0),f=r(c),h=n(8),p=r(h),d=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.selection=n,r.textNode=document.createTextNode(e.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}return l(e,t),u(e,null,[{key:"value",value:function(){}}]),u(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,n){if(0!==this._length)return s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);for(var r=this,o=0;null!=r&&r.statics.scope!==f.default.Scope.BLOCK_BLOT;)o+=r.offset(r.parent),r=r.parent;null!=r&&(this._length=e.CONTENTS.length,r.optimize(),r.formatAt(o,e.CONTENTS.length,t,n),this._length=0)}},{key:"index",value:function(t,n){return t===this.textNode?0:s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),r=void 0,o=void 0,i=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var l=[t,n.start.offset,n.end.offset];r=l[0],o=l[1],i=l[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var s=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof p.default?(r=this.next.domNode,this.next.insertAt(0,s),this.textNode.data=e.CONTENTS):(this.textNode.data=s,this.parent.insertBefore(f.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=o){var u=[o,i].map(function(t){return Math.max(0,Math.min(r.data.length,t-1))}),c=a(u,2);return o=c[0],i=c[1],{startNode:r,startOffset:o,endNode:r,endOffset:i}}}}},{key:"update",value:function(t,e){var n=this;if(t.some(function(t){return"characterData"===t.type&&t.target===n.textNode})){var r=this.restore();r&&(e.range=r)}}},{key:"value",value:function(){return""}}]),e}(f.default.Embed);d.blotName="cursor",d.className="ql-cursor",d.tagName="span",d.CONTENTS="\ufeff",e.default=d},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(e,n){r(this,t),this.quill=e,this.options=n,this.modules={}}return o(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach(function(e){null==t.modules[e]&&t.addModule(e)})}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();i.DEFAULTS={modules:{}},i.themes={default:i},e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=n(0),c=r(u),f=n(8),h=r(f),p="\ufeff",d=function(t){function e(t){o(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach(function(t){n.contentNode.appendChild(t)}),n.leftGuard=document.createTextNode(p),n.rightGuard=document.createTextNode(p),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return l(e,t),a(e,[{key:"index",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"restore",value:function(t){var e=void 0,n=void 0,r=t.data.split(p).join("");if(t===this.leftGuard)if(this.prev instanceof h.default){var o=this.prev.length();this.prev.insertAt(o,r),e={startNode:this.prev.domNode,startOffset:o+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(c.default.create(n),this),e={startNode:n,startOffset:r.length};else t===this.rightGuard&&(this.next instanceof h.default?(this.next.insertAt(0,r),e={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(c.default.create(n),this.next),e={startNode:n,startOffset:r.length}));return t.data=p,e}},{key:"update",value:function(t,e){var n=this;t.forEach(function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var r=n.restore(t.target);r&&(e.range=r)}})}}]),e}(c.default.Embed);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var r=n(0),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i={scope:o.default.Scope.BLOCK,whitelist:["right","center","justify"]},l=new o.default.Attributor.Attribute("align","align",i),a=new o.default.Attributor.Class("align","ql-align",i),s=new o.default.Attributor.Style("align","text-align",i);e.AlignAttribute=l,e.AlignClass=a,e.AlignStyle=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var r=n(0),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i=n(24),l=new o.default.Attributor.Class("background","ql-bg",{scope:o.default.Scope.INLINE}),a=new i.ColorAttributor("background","background-color",{scope:o.default.Scope.INLINE});e.BackgroundClass=l,e.BackgroundStyle=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var r=n(0),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i={scope:o.default.Scope.BLOCK,whitelist:["rtl"]},l=new o.default.Attributor.Attribute("direction","dir",i),a=new o.default.Attributor.Class("direction","ql-direction",i),s=new o.default.Attributor.Style("direction","direction",i);e.DirectionAttribute=l,e.DirectionClass=a,e.DirectionStyle=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(0),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c={scope:u.default.Scope.INLINE,whitelist:["serif","monospace"]},f=new u.default.Attributor.Class("font","ql-font",c),h=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"value",value:function(t){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(u.default.Attributor.Style),p=new h("font","font-family",c);e.FontStyle=p,e.FontClass=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var r=n(0),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i=new o.default.Attributor.Class("size","ql-size",{scope:o.default.Scope.INLINE,whitelist:["small","large","huge"]}),l=new o.default.Attributor.Style("size","font-size",{scope:o.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=i,e.SizeStyle=l},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(5),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"optimize",value:function(t){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(u.default);c.blotName="bold",c.tagName=["STRONG","B"],e.default=c},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(16),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(t,n){r(this,e);var i=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i.label.innerHTML=n,i.container.classList.add("ql-color-picker"),[].slice.call(i.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(t){t.classList.add("ql-primary")}),i}return i(e,t),l(e,[{key:"buildItem",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return n.style.backgroundColor=t.getAttribute("value")||"",n}},{key:"selectItem",value:function(t,n){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n);var r=this.label.querySelector(".ql-color-label"),o=t?t.getAttribute("data-value")||"":"";r&&("line"===r.tagName?r.style.stroke=o:r.style.fill=o)}}]),e}(u.default);e.default=c},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(16),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(t,n){r(this,e);var i=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i.container.classList.add("ql-icon-picker"),[].forEach.call(i.container.querySelectorAll(".ql-picker-item"),function(t){t.innerHTML=n[t.getAttribute("data-value")||""]}),i.defaultItem=i.container.querySelector(".ql-selected"),i.selectItem(i.defaultItem),i}return i(e,t),l(e,[{key:"selectItem",value:function(t,n){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(u.default);e.default=c},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(e,n){var o=this;r(this,t),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){o.root.style.marginTop=-1*o.quill.root.scrollTop+"px"}),this.hide()}return o(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),i=0;if(o.right>r.right&&(i=r.right-o.right,this.root.style.left=e+i+"px"),o.left<r.left&&(i=r.left-o.left,this.root.style.left=e+i+"px"),o.bottom>r.bottom){var l=o.bottom-o.top,a=t.bottom-t.top+l;this.root.style.top=n-a+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}function s(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach(function(e){var r=document.createElement("option");e===n?r.setAttribute("selected","selected"):r.setAttribute("value",e),t.appendChild(r)})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},f=n(2),h=r(f),p=n(4),d=r(p),y=n(9),v=r(y),b=n(25),g=r(b),m=n(32),_=r(m),O=n(41),w=r(O),x=n(42),k=r(x),E=n(16),N=r(E),j=n(43),A=r(j),q=[!1,"center","right","justify"],T=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],P=[!1,"serif","monospace"],S=["1","2","3",!1],C=["small",!1,"large","huge"],L=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n)),l=function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach(function(t){t.container.contains(n.target)||t.close()})};return t.emitter.listenDOM("click",document.body,l),r}return l(e,t),u(e,[{key:"addModule",value:function(t){var n=c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(t,e){t.forEach(function(t){(t.getAttribute("class")||"").split(/\s+/).forEach(function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n].rtl;else if("string"==typeof e[n])t.innerHTML=e[n];else{var r=t.value||"";null!=r&&e[n][r]&&(t.innerHTML=e[n][r])}})})}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map(function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&s(t,q),new k.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&s(t,T,"background"===n?"#ffffff":"#000000"),new w.default(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?s(t,P):t.classList.contains("ql-header")?s(t,S):t.classList.contains("ql-size")&&s(t,C)),new N.default(t)});var r=function(){n.pickers.forEach(function(t){t.update()})};this.quill.on(v.default.events.EDITOR_CHANGE,r)}}]),e}(_.default);L.DEFAULTS=(0,h.default)(!0,{},_.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&(e=document.createElement("input"),e.setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var r=t.quill.getSelection(!0);t.quill.updateContents((new d.default).retain(r.index).delete(r.length).insert({image:n.target.result}),v.default.sources.USER),t.quill.setSelection(r.index+1,v.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}}),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var M=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.textbox=r.root.querySelector('input[type="text"]'),r.listen(),r}return l(e,t),u(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",function(e){g.default.match(e,"enter")?(t.save(),e.preventDefault()):g.default.match(e,"escape")&&(t.cancel(),e.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,v.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,v.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=a(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),t,v.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",v.default.sources.USER),this.quill.setSelection(r+2,v.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(A.default);e.BaseTooltip=M,e.default=L},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(46),i=r(o),l=n(34),a=n(36),s=n(62),u=n(63),c=r(u),f=n(64),h=r(f),p=n(65),d=r(p),y=n(35),v=n(24),b=n(37),g=n(38),m=n(39),_=r(m),O=n(66),w=r(O),x=n(15),k=r(x),E=n(67),N=r(E),j=n(68),A=r(j),q=n(69),T=r(q),P=n(70),S=r(P),C=n(71),L=r(C),M=n(13),R=r(M),I=n(72),B=r(I),D=n(73),U=r(D),F=n(74),H=r(F),K=n(26),z=r(K),Z=n(16),V=r(Z),W=n(41),G=r(W),Y=n(42),X=r(Y),$=n(43),Q=r($),J=n(107),tt=r(J),et=n(108),nt=r(et);i.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":l.AlignClass,"attributors/class/background":y.BackgroundClass,"attributors/class/color":v.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":g.SizeClass,"attributors/style/align":l.AlignStyle,"attributors/style/background":y.BackgroundStyle,"attributors/style/color":v.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":g.SizeStyle},!0),i.default.register({"formats/align":l.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":y.BackgroundStyle,"formats/color":v.ColorStyle,"formats/font":b.FontClass,"formats/size":g.SizeClass,"formats/blockquote":c.default,"formats/code-block":R.default,"formats/header":h.default,"formats/list":d.default,"formats/bold":_.default,"formats/code":M.Code,"formats/italic":w.default,"formats/link":k.default,"formats/script":N.default,"formats/strike":A.default,"formats/underline":T.default,"formats/image":S.default,"formats/video":L.default,"formats/list/item":p.ListItem,"modules/formula":B.default,"modules/syntax":U.default,"modules/toolbar":H.default,"themes/bubble":tt.default,"themes/snow":nt.default,"ui/icons":z.default,"ui/picker":V.default,"ui/icon-picker":X.default,"ui/color-picker":G.default,"ui/tooltip":Q.default},!0),e.default=i.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),i=r(o),l=n(6),a=r(l),s=n(3),u=r(s),c=n(14),f=r(c),h=n(23),p=r(h),d=n(31),y=r(d),v=n(33),b=r(v),g=n(5),m=r(g),_=n(59),O=r(_),w=n(8),x=r(w),k=n(60),E=r(k),N=n(61),j=r(N),A=n(25),q=r(A);a.default.register({"blots/block":u.default,"blots/block/embed":s.BlockEmbed,"blots/break":f.default,"blots/container":p.default,"blots/cursor":y.default,"blots/embed":b.default,"blots/inline":m.default,"blots/scroll":O.default,"blots/text":x.default,"modules/clipboard":E.default,"modules/history":j.default,"modules/keyboard":q.default}),i.default.register(u.default,f.default,y.default,m.default,O.default,x.default),e.default=a.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(t<o||e&&t===o&&(null==n.next||0!==n.next.length()))return[n,t];t-=o}return[null,0]},t.prototype.forEach=function(t){for(var e,n=this.iterator();e=n();)t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0))for(var r,o=this.find(t),i=o[0],l=o[1],a=t-l,s=this.iterator(i);(r=s())&&a<t+e;){var u=r.length();t>a?n(r,t-a,Math.min(e,a+u-t)):n(r,0,Math.min(u,t+e-a)),a+=u}},t.prototype.map=function(t){return this.reduce(function(e,n){return e.push(t(n)),e},[])},t.prototype.reduce=function(t,e){for(var n,r=this.iterator();n=r();)e=t(e,n);return e},t}();e.default=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),i=n(1),l={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},a=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver(function(t){n.update(t)}),n.observer.observe(n.domNode,l),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach(function(t){t.remove()}):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,r,o){this.update(),t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){this.update(),t.prototype.insertAt.call(this,e,n,r)},e.prototype.optimize=function(e,n){var r=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var l=[].slice.call(this.observer.takeRecords());l.length>0;)e.push(l.pop());for(var a=function(t,e){void 0===e&&(e=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&a(t.parent))},s=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(s),t.optimize(n))},u=e,c=0;u.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach(function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(a(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,function(t){var e=i.find(t,!1);a(e,!1),e instanceof o.default&&e.children.forEach(function(t){a(t,!1)})})):"attributes"===t.type&&a(e.prev)),a(e))}),this.children.forEach(s),u=[].slice.call(this.observer.takeRecords()),l=u.slice();l.length>0;)e.push(l.pop())}},e.prototype.update=function(e,n){var r=this;void 0===n&&(n={}),e=e||this.observer.takeRecords(),e.map(function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)}).forEach(function(t){null!=t&&t!==r&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],n)}),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(o.default);e.default=a},function(t,e,n){"use strict";function r(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(18),l=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):(this.children.forEach(function(t){t instanceof i.default||(t=t.wrap(e.blotName,!0)),o.attributes.copy(t)}),this.unwrap())},e.prototype.formatAt=function(e,n,r,o){if(null!=this.formats()[r]||l.query(r,l.Scope.ATTRIBUTE)){this.isolate(e,n).format(r,o)}else t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var o=this.formats();if(0===Object.keys(o).length)return this.unwrap();var i=this.next;i instanceof e&&i.prev===this&&r(o,i.formats())&&(i.moveChildren(this),i.remove())},e.blotName="inline",e.scope=l.Scope.INLINE_BLOT,e.tagName="SPAN",e}(i.default);e.default=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var r=i.query(e.blotName).tagName;if(n.tagName!==r)return t.formats.call(this,n)},e.prototype.format=function(n,r){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,r,o){null!=i.query(r,i.Scope.BLOCK)?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){if(null==r||null!=i.query(n,i.Scope.INLINE))t.prototype.insertAt.call(this,e,n,r);else{var o=this.split(e),l=i.create(n,r);o.parent.insertBefore(l,o)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(o.default);e.default=l},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,r,o){0===e&&n===this.length()?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(o.default);e.default=i},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,r){null==r?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,r)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=i.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some(function(t){return"characterData"===t.type&&t.target===n.domNode})&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=l},function(t,e,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:o.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;i<r;i++)if(e=n[i],t.call(o,e,i,n))return e}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(t,e){function n(t,e,n){if(t==e)return t?[[v,t]]:[];(n<0||t.length<n)&&(n=null);var o=l(t,e),i=t.substring(0,o);t=t.substring(o),e=e.substring(o),o=a(t,e);var s=t.substring(t.length-o);t=t.substring(0,t.length-o),e=e.substring(0,e.length-o);var c=r(t,e);return i&&c.unshift([v,i]),s&&c.push([v,s]),u(c),null!=n&&(c=f(c,n)),c=h(c)}function r(t,e){var r;if(!t)return[[y,e]];if(!e)return[[d,t]];var i=t.length>e.length?t:e,l=t.length>e.length?e:t,a=i.indexOf(l);if(-1!=a)return r=[[y,i.substring(0,a)],[v,l],[y,i.substring(a+l.length)]],t.length>e.length&&(r[0][0]=r[2][0]=d),r;if(1==l.length)return[[d,t],[y,e]];var u=s(t,e);if(u){var c=u[0],f=u[1],h=u[2],p=u[3],b=u[4],g=n(c,h),m=n(f,p);return g.concat([[v,b]],m)}return o(t,e)}function o(t,e){for(var n=t.length,r=e.length,o=Math.ceil((n+r)/2),l=o,a=2*o,s=new Array(a),u=new Array(a),c=0;c<a;c++)s[c]=-1,u[c]=-1;s[l+1]=0,u[l+1]=0;for(var f=n-r,h=f%2!=0,p=0,v=0,b=0,g=0,m=0;m<o;m++){for(var _=-m+p;_<=m-v;_+=2){var O,w=l+_;O=_==-m||_!=m&&s[w-1]<s[w+1]?s[w+1]:s[w-1]+1;for(var x=O-_;O<n&&x<r&&t.charAt(O)==e.charAt(x);)O++,x++;if(s[w]=O,O>n)v+=2;else if(x>r)p+=2;else if(h){var k=l+f-_;if(k>=0&&k<a&&-1!=u[k]){var E=n-u[k];if(O>=E)return i(t,e,O,x)}}}for(var N=-m+b;N<=m-g;N+=2){var E,k=l+N;E=N==-m||N!=m&&u[k-1]<u[k+1]?u[k+1]:u[k-1]+1;for(var j=E-N;E<n&&j<r&&t.charAt(n-E-1)==e.charAt(r-j-1);)E++,j++;if(u[k]=E,E>n)g+=2;else if(j>r)b+=2;else if(!h){var w=l+f-N;if(w>=0&&w<a&&-1!=s[w]){var O=s[w],x=l+O-w;if(E=n-E,O>=E)return i(t,e,O,x)}}}}return[[d,t],[y,e]]}function i(t,e,r,o){var i=t.substring(0,r),l=e.substring(0,o),a=t.substring(r),s=e.substring(o),u=n(i,l),c=n(a,s);return u.concat(c)}function l(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n<o;)t.substring(i,o)==e.substring(i,o)?(n=o,i=n):r=o,o=Math.floor((r-n)/2+n);return o}function a(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n<o;)t.substring(t.length-o,t.length-i)==e.substring(e.length-o,e.length-i)?(n=o,i=n):r=o,o=Math.floor((r-n)/2+n);return o}function s(t,e){function n(t,e,n){for(var r,o,i,s,u=t.substring(n,n+Math.floor(t.length/4)),c=-1,f="";-1!=(c=e.indexOf(u,c+1));){var h=l(t.substring(n),e.substring(c)),p=a(t.substring(0,n),e.substring(0,c));f.length<p+h&&(f=e.substring(c-p,c)+e.substring(c,c+h),r=t.substring(0,n-p),o=t.substring(n+h),i=e.substring(0,c-p),s=e.substring(c+h))}return 2*f.length>=t.length?[r,o,i,s,f]:null}var r=t.length>e.length?t:e,o=t.length>e.length?e:t;if(r.length<4||2*o.length<r.length)return null;var i,s=n(r,o,Math.ceil(r.length/4)),u=n(r,o,Math.ceil(r.length/2));if(!s&&!u)return null;i=u?s&&s[4].length>u[4].length?s:u:s;var c,f,h,p;return t.length>e.length?(c=i[0],f=i[1],h=i[2],p=i[3]):(h=i[0],p=i[1],c=i[2],f=i[3]),[c,f,h,p,i[4]]}function u(t){t.push([v,""]);for(var e,n=0,r=0,o=0,i="",s="";n<t.length;)switch(t[n][0]){case y:o++,s+=t[n][1],n++;break;case d:r++,i+=t[n][1],n++;break;case v:r+o>1?(0!==r&&0!==o&&(e=l(s,i),0!==e&&(n-r-o>0&&t[n-r-o-1][0]==v?t[n-r-o-1][1]+=s.substring(0,e):(t.splice(0,0,[v,s.substring(0,e)]),n++),s=s.substring(e),i=i.substring(e)),0!==(e=a(s,i))&&(t[n][1]=s.substring(s.length-e)+t[n][1],s=s.substring(0,s.length-e),i=i.substring(0,i.length-e))),0===r?t.splice(n-o,r+o,[y,s]):0===o?t.splice(n-r,r+o,[d,i]):t.splice(n-r-o,r+o,[d,i],[y,s]),n=n-r-o+(r?1:0)+(o?1:0)+1):0!==n&&t[n-1][0]==v?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,o=0,r=0,i="",s=""}""===t[t.length-1][1]&&t.pop();var c=!1;for(n=1;n<t.length-1;)t[n-1][0]==v&&t[n+1][0]==v&&(t[n][1].substring(t[n][1].length-t[n-1][1].length)==t[n-1][1]?(t[n][1]=t[n-1][1]+t[n][1].substring(0,t[n][1].length-t[n-1][1].length),t[n+1][1]=t[n-1][1]+t[n+1][1],t.splice(n-1,1),c=!0):t[n][1].substring(0,t[n+1][1].length)==t[n+1][1]&&(t[n-1][1]+=t[n+1][1],t[n][1]=t[n][1].substring(t[n+1][1].length)+t[n+1][1],t.splice(n+1,1),c=!0)),n++;c&&u(t)}function c(t,e){if(0===e)return[v,t];for(var n=0,r=0;r<t.length;r++){var o=t[r];if(o[0]===d||o[0]===v){var i=n+o[1].length;if(e===i)return[r+1,t];if(e<i){t=t.slice();var l=e-n,a=[o[0],o[1].slice(0,l)],s=[o[0],o[1].slice(l)];return t.splice(r,1,a,s),[r+1,t]}n=i}}throw new Error("cursor_pos is out of bounds!")}function f(t,e){var n=c(t,e),r=n[1],o=n[0],i=r[o],l=r[o+1];if(null==i)return t;if(i[0]!==v)return t;if(null!=l&&i[1]+l[1]===l[1]+i[1])return r.splice(o,2,l,i),p(r,o,2);if(null!=l&&0===l[1].indexOf(i[1])){r.splice(o,2,[l[0],i[1]],[0,i[1]]);var a=l[1].slice(i[1].length);return a.length>0&&r.splice(o+2,0,[l[0],a]),p(r,o,3)}return t}function h(t){for(var e=!1,n=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},r=2;r<t.length;r+=1)t[r-2][0]===v&&function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319}(t[r-2][1])&&t[r-1][0]===d&&n(t[r-1][1])&&t[r][0]===y&&n(t[r][1])&&(e=!0,t[r-1][1]=t[r-2][1].slice(-1)+t[r-1][1],t[r][1]=t[r-2][1].slice(-1)+t[r][1],t[r-2][1]=t[r-2][1].slice(0,-1));if(!e)return t;for(var o=[],r=0;r<t.length;r+=1)t[r][1].length>0&&o.push(t[r]);return o}function p(t,e,n){for(var r=e+n-1;r>=0&&r>=e-1;r--)if(r+1<t.length){var o=t[r],i=t[r+1];o[0]===i[1]&&t.splice(r,2,[o[0],o[1]+i[1]])}return t}var d=-1,y=1,v=0,b=n;b.INSERT=y,b.DELETE=d,b.EQUAL=v,t.exports=b},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}e=t.exports="function"==typeof Object.keys?Object.keys:n,e.shim=n},function(t,e){function n(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function r(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();e=t.exports=o?n:r,e.supported=n,e.unsupported=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){return Object.keys(e).reduce(function(n,r){return null==t[r]?n:(e[r]===t[r]?n[r]=e[r]:Array.isArray(e[r])?e[r].indexOf(t[r])<0&&(n[r]=e[r].concat([t[r]])):n[r]=[e[r],t[r]],n)},{})}function a(t){return t.reduce(function(t,e){if(1===e.insert){var n=(0,N.default)(e.attributes);return delete n.image,t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||(e=(0,N.default)(e),e.attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"==typeof e.insert){var r=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(r,e.attributes)}return t.push(e)},new h.default)}Object.defineProperty(e,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=n(4),h=r(f),p=n(20),d=r(p),y=n(0),v=r(y),b=n(13),g=r(b),m=n(31),_=r(m),O=n(3),w=r(O),x=n(14),k=r(x),E=n(21),N=r(E),j=n(12),A=r(j),q=n(2),T=r(q),P=/^[ -~]*$/,S=function(){function t(e){i(this,t),this.scroll=e,this.delta=this.getDelta()}return c(t,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var r=this.scroll.length();return this.scroll.batchStart(),t=a(t),t.reduce(function(t,o){var i=o.retain||o.delete||o.insert.length||1,l=o.attributes||{};if(null!=o.insert){if("string"==typeof o.insert){var a=o.insert;a.endsWith("\n")&&n&&(n=!1,a=a.slice(0,-1)),t>=r&&!a.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,a);var c=e.scroll.line(t),f=u(c,2),h=f[0],p=f[1],y=(0,T.default)({},(0,O.bubbleFormats)(h));if(h instanceof w.default){var b=h.descendant(v.default.Leaf,p),g=u(b,1),m=g[0];y=(0,T.default)(y,(0,O.bubbleFormats)(m))}l=d.default.attributes.diff(y,l)||{}}else if("object"===s(o.insert)){var _=Object.keys(o.insert)[0];if(null==_)return t;e.scroll.insertAt(t,_,o.insert[_])}r+=i}return Object.keys(l).forEach(function(n){e.scroll.formatAt(t,i,n,l[n])}),t+i},0),t.reduce(function(t,n){return"number"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)},0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new h.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach(function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(t,Math.max(e,1)),l=e;i.forEach(function(e){var i=e.length();if(e instanceof g.default){var a=t-e.offset(n.scroll),s=e.newlineIndex(a+l)-a+1;e.formatAt(a,s,o,r[o])}else e.format(o,r[o]);l-=i})}}),this.scroll.optimize(),this.update((new h.default).retain(t).retain(e,(0,N.default)(r)))}},{key:"formatText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e,o,r[o])}),this.update((new h.default).retain(t).retain(e,(0,N.default)(r)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(t,e){return t.concat(e.delta())},new h.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach(function(t){var e=u(t,1),o=e[0];o instanceof w.default?n.push(o):o instanceof v.default.Leaf&&r.push(o)}):(n=this.scroll.lines(t,e),r=this.scroll.descendants(v.default.Leaf,t,e));var o=[n,r].map(function(t){if(0===t.length)return{};for(var e=(0,O.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=l((0,O.bubbleFormats)(n),e)}return e});return T.default.apply(T.default,o)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter(function(t){return"string"==typeof t.insert}).map(function(t){return t.insert}).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new h.default).retain(t).insert(o({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e.length,o,r[o])}),this.update((new h.default).retain(t).insert(e,(0,N.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===w.default.blotName&&(!(t.children.length>1)&&t.children.head instanceof k.default)}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),r=this.scroll.line(t+e),o=u(r,2),i=o[0],l=o[1],a=0,s=new h.default;null!=i&&(a=i instanceof g.default?i.newlineIndex(l)-l+1:i.length()-l,s=i.delta().slice(l,l+a-1).insert("\n"));var c=this.getContents(t,e+a),f=c.diff((new h.default).insert(n).concat(s)),p=(new h.default).retain(t).concat(f);return this.applyDelta(p)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(P)&&v.default.find(e[0].target)){var o=v.default.find(e[0].target),i=(0,O.bubbleFormats)(o),l=o.offset(this.scroll),a=e[0].oldValue.replace(_.default.CONTENTS,""),s=(new h.default).insert(a),u=(new h.default).insert(o.value());t=(new h.default).retain(l).concat(s.diff(u,n)).reduce(function(t,e){return e.insert?t.insert(e.insert,i):t.push(e)},new h.default),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,A.default)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}}]),t}();e.default=S},function(t,e){"use strict";function n(){}function r(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function o(){this._events=new n,this._eventsCount=0}var i=Object.prototype.hasOwnProperty,l="~";Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(l=!1)),o.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)i.call(t,e)&&n.push(l?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},o.prototype.listeners=function(t,e){var n=l?l+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},o.prototype.emit=function(t,e,n,r,o,i){var a=l?l+t:t;if(!this._events[a])return!1;var s,u,c=this._events[a],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,n),!0;case 4:return c.fn.call(c.context,e,n,r),!0;case 5:return c.fn.call(c.context,e,n,r,o),!0;case 6:return c.fn.call(c.context,e,n,r,o,i),!0}for(u=1,s=new Array(f-1);u<f;u++)s[u-1]=arguments[u];c.fn.apply(c.context,s)}else{var h,p=c.length;for(u=0;u<p;u++)switch(c[u].once&&this.removeListener(t,c[u].fn,void 0,!0),f){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,e);break;case 3:c[u].fn.call(c[u].context,e,n);break;case 4:c[u].fn.call(c[u].context,e,n,r);break;default:if(!s)for(h=1,s=new Array(f-1);h<f;h++)s[h-1]=arguments[h];c[u].fn.apply(c[u].context,s)}}return!0},o.prototype.on=function(t,e,n){var o=new r(e,n||this),i=l?l+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],o]:this._events[i].push(o):(this._events[i]=o,this._eventsCount++),this},o.prototype.once=function(t,e,n){var o=new r(e,n||this,!0),i=l?l+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],o]:this._events[i].push(o):(this._events[i]=o,this._eventsCount++),this},o.prototype.removeListener=function(t,e,r,o){var i=l?l+t:t;if(!this._events[i])return this;if(!e)return 0==--this._eventsCount?this._events=new n:delete this._events[i],this;var a=this._events[i];if(a.fn)a.fn!==e||o&&!a.once||r&&a.context!==r||(0==--this._eventsCount?this._events=new n:delete this._events[i]);else{for(var s=0,u=[],c=a.length;s<c;s++)(a[s].fn!==e||o&&!a[s].once||r&&a[s].context!==r)&&u.push(a[s]);u.length?this._events[i]=1===u.length?u[0]:u:0==--this._eventsCount?this._events=new n:delete this._events[i]}return this},o.prototype.removeAllListeners=function(t){var e;return t?(e=l?l+t:t,this._events[e]&&(0==--this._eventsCount?this._events=new n:delete this._events[e])):(this._events=new n,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prototype.setMaxListeners=function(){return this},o.prefixed=l,o.EventEmitter=o,void 0!==t&&(t.exports=o)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return t instanceof v.default||t instanceof y.BlockEmbed}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},f=n(0),h=r(f),p=n(9),d=r(p),y=n(3),v=r(y),b=n(14),g=r(b),m=n(13),_=r(m),O=n(23),w=r(O),x=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce(function(t,e){return t[e]=!0,t},{})),r.optimize(),r.enable(),r}return l(e,t),u(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,n){var r=this.line(t),o=s(r,2),i=o[0],l=o[1],a=this.line(t+n),u=s(a,1),f=u[0];if(c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),null!=f&&i!==f&&l>0){if(i instanceof y.BlockEmbed||f instanceof y.BlockEmbed)return void this.optimize();if(i instanceof _.default){var h=i.newlineIndex(i.length(),!0);if(h>-1&&(i=i.split(h+1))===f)return void this.optimize()}else if(f instanceof _.default){var p=f.newlineIndex(0);p>-1&&f.split(p+1)}var d=f.children.head instanceof g.default?null:f.children.head;i.moveChildren(f,d),i.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,r,o){(null==this.whitelist||this.whitelist[r])&&(c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,o),this.optimize())}},{key:"insertAt",value:function(t,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==r||null==h.default.query(n,h.default.Scope.BLOCK)){var o=h.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var i=h.default.create(n,r);this.appendChild(i)}else c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===h.default.Scope.INLINE_BLOT){var r=h.default.create(this.statics.defaultChild);r.appendChild(t),t=r}c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(a,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return function t(e,n,r){var o=[],i=r;return e.children.forEachAt(n,r,function(e,n,r){a(e)?o.push(e):e instanceof h.default.Container&&(o=o.concat(t(e,n,i))),i-=r}),o}(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(d.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=d.default.sources.USER;"string"==typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(d.default.events.SCROLL_BEFORE_UPDATE,n,t),c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(d.default.events.SCROLL_UPDATE,n,t)}}}]),e}(h.default.Scroll);x.blotName="scroll",x.className="ql-editor",x.tagName="DIV",x.defaultChild="block",x.allowedChildren=[v.default,y.BlockEmbed,w.default],e.default=x},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e,n){return"object"===(void 0===e?"undefined":x(e))?Object.keys(e).reduce(function(t,n){return s(t,n,e[n])},t):t.reduce(function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,j.default)({},o({},e,n),r.attributes))},new q.default)}function u(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};return t["__ql-computed-style"]||(t["__ql-computed-style"]=window.getComputedStyle(t))}function c(t,e){for(var n="",r=t.ops.length-1;r>=0&&n.length<e.length;--r){var o=t.ops[r];if("string"!=typeof o.insert)break;n=o.insert+n}return n.slice(-1*e.length)===e}function f(t){return 0!==t.childNodes.length&&["block","list-item"].indexOf(u(t).display)>-1}function h(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce(function(e,n){return n(t,e)},new q.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],function(r,o){var i=h(o,e,n);return o.nodeType===t.ELEMENT_NODE&&(i=e.reduce(function(t,e){return e(o,t)},i),i=(o[W]||[]).reduce(function(t,e){return e(o,t)},i)),r.concat(i)},new q.default):new q.default}function p(t,e,n){return s(n,t,!0)}function d(t,e){var n=P.default.Attributor.Attribute.keys(t),r=P.default.Attributor.Class.keys(t),o=P.default.Attributor.Style.keys(t),i={};return n.concat(r).concat(o).forEach(function(e){var n=P.default.query(e,P.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(t),i[n.attrName])||(n=Y[e],null==n||n.attrName!==e&&n.keyName!==e||(i[n.attrName]=n.value(t)||void 0),null==(n=X[e])||n.attrName!==e&&n.keyName!==e||(n=X[e],i[n.attrName]=n.value(t)||void 0))}),Object.keys(i).length>0&&(e=s(e,i)),e}function y(t,e){var n=P.default.query(t);if(null==n)return e;if(n.prototype instanceof P.default.Embed){var r={},o=n.value(t);null!=o&&(r[n.blotName]=o,e=(new q.default).insert(r,n.formats(t)))}else"function"==typeof n.formats&&(e=s(e,n.blotName,n.formats(t)));return e}function v(t,e){return c(e,"\n")||e.insert("\n"),e}function b(){return new q.default}function g(t,e){var n=P.default.query(t);if(null==n||"list-item"!==n.blotName||!c(e,"\n"))return e;for(var r=-1,o=t.parentNode;!o.classList.contains("ql-clipboard");)"list"===(P.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?e:e.compose((new q.default).retain(e.length()-1).retain(1,{indent:r}))}function m(t,e){return c(e,"\n")||(f(t)||e.length()>0&&t.nextSibling&&f(t.nextSibling))&&e.insert("\n"),e}function _(t,e){if(f(t)&&null!=t.nextElementSibling&&!c(e,"\n\n")){var n=t.offsetHeight+parseFloat(u(t).marginTop)+parseFloat(u(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function O(t,e){var n={},r=t.style||{};return r.fontStyle&&"italic"===u(t).fontStyle&&(n.italic=!0),r.fontWeight&&(u(t).fontWeight.startsWith("bold")||parseInt(u(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=s(e,n)),parseFloat(r.textIndent||0)>0&&(e=(new q.default).insert("\t").concat(e)),e}function w(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!u(t.parentNode).whiteSpace.startsWith("pre")){var r=function(t,e){return e=e.replace(/[^\u00a0]/g,""),e.length<1&&t?" ":e};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==t.previousSibling&&f(t.parentNode)||null!=t.previousSibling&&f(t.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==t.nextSibling&&f(t.parentNode)||null!=t.nextSibling&&f(t.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return e.insert(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),N=n(2),j=r(N),A=n(4),q=r(A),T=n(0),P=r(T),S=n(6),C=r(S),L=n(10),M=r(L),R=n(7),I=r(R),B=n(34),D=n(35),U=n(13),F=r(U),H=n(24),K=n(36),z=n(37),Z=n(38),V=(0,M.default)("quill:clipboard"),W="__ql-matcher",G=[[Node.TEXT_NODE,w],[Node.TEXT_NODE,m],["br",v],[Node.ELEMENT_NODE,m],[Node.ELEMENT_NODE,y],[Node.ELEMENT_NODE,_],[Node.ELEMENT_NODE,d],[Node.ELEMENT_NODE,O],["li",g],["b",p.bind(p,"bold")],["i",p.bind(p,"italic")],["style",b]],Y=[B.AlignAttribute,K.DirectionAttribute].reduce(function(t,e){return t[e.keyName]=e,t},{}),X=[B.AlignStyle,D.BackgroundStyle,H.ColorStyle,K.DirectionStyle,z.FontStyle,Z.SizeStyle].reduce(function(t,e){return t[e.keyName]=e,t},{}),$=function(t){function e(t,n){i(this,e);var r=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],G.concat(r.options.matchers).forEach(function(t){var e=k(t,2),o=e[0],i=e[1];(n.matchVisual||i!==_)&&r.addMatcher(o,i)}),r}return a(e,t),E(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"==typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[F.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new q.default).insert(n,o({},F.default.blotName,e[F.default.blotName]))}var r=this.prepareMatching(),i=k(r,2),l=i[0],a=i[1],s=h(this.container,l,a);return c(s,"\n")&&null==s.ops[s.ops.length-1].attributes&&(s=s.compose((new q.default).retain(s.length()-1).delete(1))),V.log("convert",this.container.innerHTML,s),this.container.innerHTML="",s}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,C.default.sources.SILENT);else{var r=this.convert(e);this.quill.updateContents((new q.default).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),C.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new q.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(C.default.sources.SILENT),setTimeout(function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,C.default.sources.USER),e.quill.setSelection(r.length()-n.length,C.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=o,e.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach(function(r){var o=k(r,2),i=o[0],l=o[1];switch(i){case Node.TEXT_NODE:n.push(l);break;case Node.ELEMENT_NODE:e.push(l);break;default:[].forEach.call(t.container.querySelectorAll(i),function(t){t[W]=t[W]||[],t[W].push(l)})}}),[e,n]}}]),e}(I.default);$.DEFAULTS={matchers:[],matchVisual:!0},e.default=$,e.matchAttributor=d,e.matchBlot=y,e.matchNewline=m,e.matchSpacing=_,e.matchText=w},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some(function(t){return null!=f.default.query(t,f.default.Scope.BLOCK)}))}function s(t){var e=t.reduce(function(t,e){return t+=e.delete||0},0),n=t.length()-e;return a(t)&&(n-=1),n}Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(0),f=r(c),h=n(6),p=r(h),d=n(7),y=r(d),v=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(p.default.events.EDITOR_CHANGE,function(t,e,n,o){t!==p.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&o!==p.default.sources.USER?r.transform(e):r.record(e,n))}),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),r}return l(e,t),u(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],p.default.sources.USER),this.ignoreChange=!1;var r=s(n[t]);this.quill.setSelection(r)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),t=o.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}),this.stack.redo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(y.default);v.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=v,e.getLastChangeIndex=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(0),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"add",value:function(t,n){if("+1"===n||"-1"===n){var r=this.value(t)||0;n="+1"===n?r+1:r-1}return 0===n?(this.remove(t),!0):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,n)}},{key:"canAdd",value:function(t,n){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,n)||a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(n))}},{key:"value",value:function(t){return parseInt(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(u.default.Attributor.Class),f=new c("indent","ql-indent",{scope:u.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(3),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default);s.blotName="blockquote",s.tagName="blockquote",e.default=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(3),s=function(t){return t&&t.__esModule?t:{default:t}}(a),u=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(s.default);u.blotName="header",u.tagName=["H1","H2","H3","H4","H5","H6"],e.default=u},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},c=n(0),f=r(c),h=n(3),p=r(h),d=n(23),y=r(d),v=function(t){function e(){return i(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),s(e,[{key:"format",value:function(t,n){t!==b.blotName||n?u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n):this.replaceWith(f.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,n))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:u(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(p.default);v.blotName="list-item",v.tagName="LI";var b=function(t){function e(t){i(this,e);var n=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),r=function(e){if(e.target.parentNode===t){var r=n.statics.formats(t),o=f.default.find(e.target);"checked"===r?o.format("list","unchecked"):"unchecked"===r&&o.format("list","checked")}};return t.addEventListener("touchstart",r),t.addEventListener("mousedown",r),n}return a(e,t),s(e,null,[{key:"create",value:function(t){var n="ordered"===t?"OL":"UL",r=u(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==t&&"unchecked"!==t||r.setAttribute("data-checked","checked"===t),r}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),s(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return o({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,n){if(t instanceof v)u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=f.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(y.default);b.blotName="list",b.scope=f.default.Scope.BLOCK_BLOT,b.tagName=["OL","UL"],b.defaultChild="list-item",b.allowedChildren=[v],e.ListItem=v,e.default=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(39),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default);s.blotName="italic",s.tagName=["EM","I"],e.default=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(5),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(u.default);c.blotName="script",c.tagName=["SUB","SUP"],e.default=c},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(5),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default);s.blotName="strike",s.tagName="S",e.default=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(5),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default);s.blotName="underline",s.tagName="U",e.default=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(0),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=n(15),f=["alt","height","width"],h=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"format",value:function(t,n){f.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,c.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(u.default.Embed);h.blotName="image",h.tagName="IMG",e.default=h},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(3),u=n(15),c=function(t){return t&&t.__esModule?t:{default:t}}(u),f=["height","width"],h=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"format",value:function(t,n){f.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"sanitize",value:function(t){return c.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(s.BlockEmbed);h.blotName="video",h.className="ql-video",h.tagName="IFRAME",e.default=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=n(33),c=r(u),f=n(6),h=r(f),p=n(7),d=r(p),y=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),a(e,null,[{key:"create",value:function(t){var n=s(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",t)),n}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(c.default);y.blotName="formula",y.className="ql-formula",y.tagName="SPAN";var v=function(t){function e(){o(this,e);var t=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return l(e,t),a(e,null,[{key:"register",value:function(){h.default.register(y,!0)}}]),e}(d.default);e.FormulaBlot=y,e.default=v},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=n(0),c=r(u),f=n(6),h=r(f),p=n(7),d=r(p),y=n(13),v=r(y),b=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),a(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(v.default);b.className="ql-syntax";var g=new c.default.Attributor.Class("token","hljs",{scope:c.default.Scope.INLINE}),m=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!=typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var l=null;return r.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(l),l=setTimeout(function(){r.highlight(),l=null},r.options.interval)}),r.highlight(),r}return l(e,t),a(e,null,[{key:"register",value:function(){h.default.register(g,!0),h.default.register(b,!0)}}]),a(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(h.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(b).forEach(function(e){e.highlight(t.options.highlight)}),this.quill.update(h.default.sources.SILENT),null!=e&&this.quill.setSelection(e,h.default.sources.SILENT)}}}]),e}(d.default);m.DEFAULTS={highlight:function(){return null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value}}(),interval:1e3},e.CodeBlock=b,e.CodeToken=g,e.default=m},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+e),null!=n&&(r.value=n),t.appendChild(r)}function u(t,e){Array.isArray(e[0])||(e=[e]),e.forEach(function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach(function(t){if("string"==typeof t)s(n,t);else{var e=Object.keys(t)[0],r=t[e];Array.isArray(r)?c(n,e,r):s(n,e,r)}}),t.appendChild(n)})}function c(t,e,n){var r=document.createElement("select");r.classList.add("ql-"+e),n.forEach(function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),r.appendChild(e)}),t.appendChild(r)}Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var f=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),p=n(4),d=r(p),y=n(0),v=r(y),b=n(6),g=r(b),m=n(10),_=r(m),O=n(7),w=r(O),x=(0,_.default)("quill:toolbar"),k=function(t){function e(t,n){i(this,e);var r=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(r.options.container)){var o=document.createElement("div");u(o,r.options.container),t.container.parentNode.insertBefore(o,t.container),r.container=o}else"string"==typeof r.options.container?r.container=document.querySelector(r.options.container):r.container=r.options.container;if(!(r.container instanceof HTMLElement)){var a;return a=x.error("Container required for toolbar",r.options),l(r,a)}return r.container.classList.add("ql-toolbar"),r.controls=[],r.handlers={},Object.keys(r.options.handlers).forEach(function(t){r.addHandler(t,r.options.handlers[t])}),[].forEach.call(r.container.querySelectorAll("button, select"),function(t){r.attach(t)}),r.quill.on(g.default.events.EDITOR_CHANGE,function(t,e){t===g.default.events.SELECTION_CHANGE&&r.update(e)}),r.quill.on(g.default.events.SCROLL_OPTIMIZE,function(){var t=r.quill.selection.getRange(),e=f(t,1),n=e[0];r.update(n)}),r}return a(e,t),h(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,n=[].find.call(t.classList,function(t){return 0===t.indexOf("ql-")});if(n){if(n=n.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void x.warn("ignoring attaching to disabled format",n,t);if(null==v.default.query(n))return void x.warn("ignoring attaching to nonexistent format",n,t)}var r="SELECT"===t.tagName?"change":"click";t.addEventListener(r,function(r){var i=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var l=t.options[t.selectedIndex];i=!l.hasAttribute("selected")&&(l.value||!1)}else i=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),r.preventDefault();e.quill.focus();var a=e.quill.selection.getRange(),s=f(a,1),u=s[0];if(null!=e.handlers[n])e.handlers[n].call(e,i);else if(v.default.query(n).prototype instanceof v.default.Embed){if(!(i=prompt("Enter "+n)))return;e.quill.updateContents((new d.default).retain(u.index).delete(u.length).insert(o({},n,i)),g.default.sources.USER)}else e.quill.format(n,i,g.default.sources.USER);e.update(u)}),this.controls.push([n,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach(function(n){var r=f(n,2),o=r[0],i=r[1];if("SELECT"===i.tagName){var l=void 0;if(null==t)l=null;else if(null==e[o])l=i.querySelector("option[selected]");else if(!Array.isArray(e[o])){var a=e[o];"string"==typeof a&&(a=a.replace(/\"/g,'\\"')),l=i.querySelector('option[value="'+a+'"]')}null==l?(i.value="",i.selectedIndex=-1):l.selected=!0}else if(null==t)i.classList.remove("ql-active");else if(i.hasAttribute("value")){var s=e[o]===i.getAttribute("value")||null!=e[o]&&e[o].toString()===i.getAttribute("value")||null==e[o]&&!i.getAttribute("value");i.classList.toggle("ql-active",s)}else i.classList.toggle("ql-active",null!=e[o])})}}]),e}(w.default);k.DEFAULTS={},k.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach(function(e){null!=v.default.query(e,v.default.Scope.INLINE)&&t.quill.format(e,!1)})}else this.quill.removeFormat(e,g.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;"rtl"===t&&null==e?this.quill.format("align","right",g.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,g.default.sources.USER),this.quill.format("direction",t,g.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),r=parseInt(n.indent||0);if("+1"===t||"-1"===t){var o="+1"===t?1:-1;"rtl"===n.direction&&(o*=-1),this.quill.format("indent",r+o,g.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,g.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,g.default.sources.USER):this.quill.format("list","unchecked",g.default.sources.USER):this.quill.format("list",t,g.default.sources.USER)}}},e.default=k,e.addControls=u},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(2),c=r(u),f=n(9),h=r(f),p=n(44),d=r(p),y=n(22),v=n(26),b=r(v),g=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],m=function(t){function e(t,n){o(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=g);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add("ql-bubble"),r}return l(e,t),s(e,[{key:"extendToolbar",value:function(t){this.tooltip=new _(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),b.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),b.default)}}]),e}(d.default);m.DEFAULTS=(0,c.default)(!0,{},d.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var _=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.on(h.default.events.EDITOR_CHANGE,function(t,e,n,o){if(t===h.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&o===h.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(e.index,e.length);if(1===i.length)r.position(r.quill.getBounds(e));else{var l=i[i.length-1],a=r.quill.getIndex(l),s=Math.min(l.length()-1,e.index+e.length-a),u=r.quill.getBounds(new y.Range(a,s));r.position(u)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()}),r}return l(e,t),s(e,[{key:"listen",value:function(){var t=this;a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){t.root.classList.remove("ql-editing")}),this.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),e}(p.BaseTooltip);_.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=_,e.default=m},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(2),f=r(c),h=n(9),p=r(h),d=n(44),y=r(d),v=n(15),b=r(v),g=n(22),m=n(26),_=r(m),O=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],w=function(t){function e(t,n){o(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=O);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add("ql-snow"),r}return l(e,t),u(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),_.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),_.default),this.tooltip=new x(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(e,n){t.handlers.link.call(t,!n.format.link)})}}]),e}(y.default);w.DEFAULTS=(0,f.default)(!0,{},y.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n);this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var x=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.preview=r.root.querySelector("a.ql-preview"),r}return l(e,t),u(e,[{key:"listen",value:function(){var t=this;s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,p.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()}),this.quill.on(p.default.events.SELECTION_CHANGE,function(e,n,r){if(null!=e){if(0===e.length&&r===p.default.sources.USER){var o=t.quill.scroll.descendant(b.default,e.index),i=a(o,2),l=i[0],s=i[1];if(null!=l){t.linkRange=new g.Range(e.index-s,l.length());var u=b.default.formats(l.domNode);return t.preview.textContent=u,t.preview.setAttribute("href",u),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}})}},{key:"show",value:function(){s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(d.BaseTooltip);x.TEMPLATE=['<a class="ql-preview" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://example.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=w}]).default});
5
  /* wpdEditor */
6
- "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _get(t,e,i){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=_superPropBase(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function _superPropBase(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_getPrototypeOf(t)););return t}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _createSuper(t){var e=_isNativeReflectConstruct();return function(){var i,n=_getPrototypeOf(t);if(e){var r=_getPrototypeOf(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return _possibleConstructorReturn(this,i)}}function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?_assertThisInitialized(t):e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _instanceof(t,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _classCallCheck(t,e){if(!_instanceof(t,e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _createClass(t,e,i){return e&&_defineProperties(t.prototype,e),i&&_defineProperties(t,i),t}var wpdEditorCounter=function(){function t(e,i){_classCallCheck(this,t),this.quill=e,this.options=i,this.maxCount=i.maxcount,this.minCount=i.mincount,this.container=document.getElementById("wpd-editor-char-counter-"+i.uniqueID),this.submit=document.getElementById("wpd-field-submit-"+i.uniqueID),e.on("editor-change",this.update.bind(this)),this.update()}return _createClass(t,[{key:"calculate",value:function(){var t=this.quill.getText().length,e=this.quill.container.id,i=document.querySelectorAll("#".concat(e," .ql-editor img"));return i.length&&i.forEach(function(e){null!==e.src.match(/https\:\/\/s\.w\.org\/images\/core\/emoji/gi)?t+=e.alt.length:e.classList.contains("wpdem-sticker")?t+=e.alt.length:t+=e.src.length}),t}},{key:"update",value:function(){var t=this.calculate(),e=t-1;if(this.maxCount>0&&t>=this.maxCount&&this.quill.deleteText(this.maxCount,t),this.maxCount>0){var i=this.maxCount-e;this.container.innerText=i>=0?i:0,t+10>this.maxCount?this.container.classList.add("error"):this.container.classList.remove("error")}else this.container&&this.container.remove()}}]),t}();Quill.register("modules/counter",wpdEditorCounter);var Link=Quill.import("formats/link"),wpdEditorLink=function(t){_inherits(i,Link);var e=_createSuper(i);function i(){return _classCallCheck(this,i),e.apply(this,arguments)}return _createClass(i,null,[{key:"create",value:function(t){var e=_get(_getPrototypeOf(i),"create",this).call(this,t);t=this.sanitize(t),e.setAttribute("href",t);var n=location.protocol+"//"+location.hostname;return(t.startsWith(n)||"#"===t.charAt(0)||"/"===t.charAt(0)&&"/"!==t.charAt(1))&&e.removeAttribute("target"),e}},{key:"sanitize",value:function(t){var e=_get(_getPrototypeOf(i),"sanitize",this).call(this,t),n=e.slice(0,e.indexOf(":"));return"#"!==e.charAt(0)&&"/"!==e.charAt(0)&&-1===this.PROTOCOL_WHITELIST.indexOf(n)&&(e="http://"+t),e}}]),i}();Quill.register(wpdEditorLink,!0);var WpdEditor=function(){function t(){_classCallCheck(this,t),this.editorWraperPrefix="wpd-editor-wraper",this.textEditorContainer="ql-texteditor",this.textEditorPrefix="wc-textarea",this.editorToolbarPrefix="wpd-editor-toolbar",this.sourceCodeButtonName="sourcecode",this.spoiler="spoiler",this.spoilerPromtTitle=wpdiscuzAjaxObj.wc_spoiler_title,this._container="",this._uniqueid="",this.currentEditor=null,this._editors=new Map,this._handlers=new Map,this._initDefaults()}return _createClass(t,[{key:"addButtonEventHandler",value:function(t,e){this._handlers.set(t,e)}},{key:"createEditor",value:function(t){var e=this;if(this.container=t,this._editors.has(this.uniqueid))this.currentEditor=this._editors.get(this.uniqueid);else{var i="#".concat(this.editorToolbarPrefix,"-").concat(this.uniqueid);wpdiscuzEditorOptions.modules.toolbar=i,wpdiscuzEditorOptions.modules.counter.uniqueID=this.uniqueid;var n=new Quill(this.container,wpdiscuzEditorOptions);n.on("editor-change",function(t){null!==(arguments.length<=1?void 0:arguments[1])&&(e.currentEditor=n,e.container=n.container.id)}),n.clipboard.addMatcher("a",function(t,e){return t.getAttribute("href")===t.innerHTML?new(Quill.import("delta"))([{insert:t.innerHTML}]):e}),document.querySelectorAll("".concat(i," button")).forEach(function(t){t.onclick=function(){e.currentEditor=n,e.container=n.container.id;var i=t.dataset.wpde_button_name;void 0!==i&&"string"==typeof i&&""!==i.trim()&&e._handlers.has(i)&&e._handlers.get(i)(e.currentEditor,e.uniqueid)}}),this._bindTextEditor(n),this._editors.set(this.uniqueid,n),document.getElementById("".concat(this.editorWraperPrefix,"-").concat(this.uniqueid)).style.display=""}return this.currentEditor}},{key:"removeEditor",value:function(t){this.container=t,this._editors.has(this.uniqueid)&&this._editors.delete(this.uniqueid)}},{key:"_bindTextEditor",value:function(t){var e="".concat(this.textEditorPrefix,"-").concat(this.uniqueid),i=document.getElementById(e);i&&(i.style.cssText="display: none;",t.addContainer(this.textEditorContainer).appendChild(i)),this.currentEditor=t}},{key:"_findUniqueId",value:function(){return this.container.substring(this.container.lastIndexOf("-")+1)}},{key:"_initDefaults",value:function(){var t=this;this.addButtonEventHandler(this.sourceCodeButtonName,function(e){document.getElementById("".concat(t.textEditorPrefix,"-").concat(t.uniqueid));var i=document.getElementById("wpd-editor-source-code-wrapper-bg"),n=document.getElementById("wpd-editor-source-code-wrapper"),r=document.getElementById("wpd-editor-source-code"),o=document.getElementById("wpd-editor-uid");i.style.display="block",n.style.display="block",o.value=e.container.id,r.value=e.root.innerHTML}),this.addButtonEventHandler(this.spoiler,function(e){var i=prompt(t.spoilerPromtTitle);if(null!==i){var n=' [spoiler title="'.concat(i,'"] '),r=e.getSelection();null===r&&(r={index:e.getLength()-1,length:0}),0===r.length?(e.insertText(r.index,n+" [/spoiler] ",Quill.sources.USER),e.setSelection(r.index+n.length,Quill.sources.USER)):(e.insertText(r.index,n),e.insertText(r.index+n.length+r.length," [/spoiler] ",Quill.sources.USER),e.setSelection(r.index+n.length+r.length+" [/spoiler] ".length,Quill.sources.USER))}})}},{key:"uniqueid",set:function(t){""!==t&&"string"==typeof t?this._uniqueid=t:""===t?this._uniqueid=this._findUniqueId():console.error("Incorrect uniqueid.")},get:function(){return this._uniqueid}},{key:"container",set:function(t){""!==t&&"string"==typeof t?(this._container=t,this.uniqueid=this._findUniqueId()):console.error("Incorrect uniqueid.")},get:function(){return this._container}}]),t}();
7
  /* Autogrow */
8
  jQuery.fn.autoGrow=function(){return this.each(function(){var createMirror=function(textarea){jQuery(textarea).after('<div class="autogrow-textarea-mirror"></div>');return jQuery(textarea).next(".autogrow-textarea-mirror")[0]};var sendContentToMirror=function(textarea){mirror.innerHTML=String(textarea.value).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\n/g,"<br />")+".<br/>.";if(jQuery(textarea).height()!=jQuery(mirror).height())jQuery(textarea).height(jQuery(mirror).height())};var growTextarea=function(){sendContentToMirror(this)};var mirror=createMirror(this);mirror.style.display="none";mirror.style.wordWrap="break-word";mirror.style.padding=jQuery(this).css("padding");mirror.style.width=jQuery(this).css("width");mirror.style.fontFamily=jQuery(this).css("font-family");mirror.style.fontSize=jQuery(this).css("font-size");mirror.style.lineHeight=jQuery(this).css("line-height");this.style.overflow="hidden";this.style.minHeight=this.rows+"em";this.onkeydown=growTextarea;sendContentToMirror(this)})};
9
  /* wpDiscuz */
10
- var wpdiscuzLoadRichEditor=parseInt(wpdiscuzAjaxObj.loadRichEditor);if(wpdiscuzLoadRichEditor)var wpDiscuzEditor=new WpdEditor;function wpdMessagesOnInit(e,t){wpdiscuzAjaxObj.setCommentMessage(e,t),setTimeout(function(){location.href=location.href.substring(0,location.href.indexOf("wpdiscuzUrlAnchor")-1)},3e3)}wpdiscuzAjaxObj.setCommentMessage=function(e,t,a){var o="wpdiscuz-message-error";if(e instanceof Array)for(var n in e)t instanceof Array?"success"===t[n]?o="wpdiscuz-message-success":"warning"===t[n]&&(o="wpdiscuz-message-warning"):"success"===t?o="wpdiscuz-message-success":"warning"===t&&(o="wpdiscuz-message-warning"),jQuery("<div/>").addClass(o).html(e[n]).prependTo("#wpdiscuz-comment-message").delay(a instanceof Array?a[n]:a||4e3).fadeOut(1e3,function(){jQuery(this).remove()});else"success"===t?o="wpdiscuz-message-success":"warning"===t&&(o="wpdiscuz-message-warning"),jQuery("<div/>").addClass(o).html(e).prependTo("#wpdiscuz-comment-message").delay(a||4e3).fadeOut(1e3,function(){jQuery(this).remove()})},jQuery(document).ready(function(e){e("body").addClass("wpdiscuz_"+wpdiscuzAjaxObj.version);var t=wpdiscuzAjaxObj.is_user_logged_in,a=1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!t,o=1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&t,n=wpdiscuzAjaxObj.wpDiscuzReCaptchaVersion,d=parseInt(wpdiscuzAjaxObj.commentListLoadType),s=parseInt(wpdiscuzAjaxObj.wc_post_id),i=parseInt(wpdiscuzAjaxObj.commentListUpdateType),c=1e3*parseInt(wpdiscuzAjaxObj.commentListUpdateTimer),p=parseInt(wpdiscuzAjaxObj.liveUpdateGuests),r=wpdiscuzAjaxObj.loadLastCommentId,l=r,m=parseInt(wpdiscuzAjaxObj.firstLoadWithAjax);Cookies.get("wpdiscuz_comments_sorting")&&Cookies.remove("wpdiscuz_comments_sorting",{path:""}),Cookies.get("wordpress_last_visit")&&Cookies.remove("wordpress_last_visit",{path:""}),Cookies.get("wpdiscuz_last_visit")&&Cookies.remove("wpdiscuz_last_visit",{path:""});var w,u=wpdiscuzAjaxObj.storeCommenterData,f=parseInt(wpdiscuzAjaxObj.wmuEnabled),h=wpdiscuzAjaxObj.isCookiesEnabled,b=!0,g=wpdiscuzAjaxObj.cookiehash,_=parseInt(wpdiscuzAjaxObj.isLoadOnlyParentComments),v=parseInt(wpdiscuzAjaxObj.enableDropAnimation)?500:0,z=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),j=parseInt(wpdiscuzAjaxObj.enableBubble),C=parseInt(wpdiscuzAjaxObj.bubbleLiveUpdate),k=parseInt(wpdiscuzAjaxObj.bubbleHintTimeout),x=parseInt(wpdiscuzAjaxObj.bubbleHintHideTimeout)?parseInt(wpdiscuzAjaxObj.bubbleHintHideTimeout):5,y=parseInt(wpdiscuzAjaxObj.bubbleShowNewCommentMessage),O=wpdiscuzAjaxObj.bubbleLocation,A=wpdiscuzAjaxObj.inlineFeedbackAttractionType,I=[],T=[],D=[],E=!1,M=1,F=e("html").css("scroll-behavior"),L=e("body").css("scroll-behavior");(e(".wc_social_plugin_wrapper .wp-social-login-provider-list").length?e(".wc_social_plugin_wrapper .wp-social-login-provider-list").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .the_champ_login_container").length?e(".wc_social_plugin_wrapper .the_champ_login_container").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .social_connect_form").length?e(".wc_social_plugin_wrapper .social_connect_form").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .oneall_social_login_providers").length&&e(".wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"),wpdiscuzLoadRichEditor&&e("#wpd-editor-0_0").length&&wpDiscuzEditor.createEditor("#wpd-editor-0_0"),window.addEventListener("beforeunload",function(t){var a=e(".wpd-form").not(":hidden");if(a.length)if(wpdiscuzLoadRichEditor){for(var o=0;o<a.length;o++)if("\n"!==wpDiscuzEditor.createEditor(e(a[o]).find(".ql-container").attr("id")).getText())return t.preventDefault(),void(t.returnValue="")}else for(o=0;o<a.length;o++)if(e(a[o]).find(".wc_comment").val())return t.preventDefault(),void(t.returnValue="")}),e(document).delegate("#wpdcom .ql-editor, #wpdcom .wc_comment","focus",function(){e(".wpd-form-foot",e(this).parents(".wpd_comm_form")).slideDown(v)}),e(document).delegate("#wpdcom textarea","focus",function(){e(this).next(".autogrow-textarea-mirror").length||e(this).autoGrow()}),t)||U({comment_author:Cookies.get("comment_author_"+g),comment_author_email:Cookies.get("comment_author_email_"+g),comment_author_url:Cookies.get("comment_author_url_"+g)});if(e(".wpd-vote-down.wpd-dislike-hidden").remove(),e(".wpd-toolbar-hidden").prev("[id^=wpd-editor-]").css("border-bottom","1px solid #dddddd"),e(document).delegate("#wpd-editor-source-code-wrapper-bg","click",function(){e(this).hide(),e("#wpd-editor-source-code-wrapper").hide(),e("#wpd-editor-uid").val(""),e("#wpd-editor-source-code").val("")}),wpdiscuzLoadRichEditor&&e(document).delegate("#wpd-insert-source-code","click",function(){var t=wpDiscuzEditor.createEditor("#"+e("#wpd-editor-uid").val());t.deleteText(0,t.getLength(),Quill.sources.USER);var a=e("#wpd-editor-source-code").val();a.length&&t.clipboard.dangerouslyPasteHTML(0,a,Quill.sources.USER),t.update(),e("#wpd-editor-source-code-wrapper-bg").hide(),e("#wpd-editor-source-code-wrapper").hide(),e("#wpd-editor-uid").val(""),e("#wpd-editor-source-code").val("")}),e(document).delegate(".wpd-reply-button","click",function(){var d=G(e(this),0);e(this).hasClass("wpdiscuz-clonned")?(wpdiscuzLoadRichEditor?setTimeout(function(){wpDiscuzEditor.createEditor("#wpd-editor-"+d).focus()},v):setTimeout(function(){e("#wc-textarea-"+d).trigger("focus")},v),e("#wpd-secondary-form-wrapper-"+d).slideToggle(v)):function(a){var o=G(a,0);e("#wpdiscuz_form_anchor-"+o).before(function(t){return e("#wpdiscuz_hidden_secondary_form").html().replace(/wpdiscuzuniqueid/g,t)}(o));var n=e("#wpd-secondary-form-wrapper-"+o);if(!t){var d={comment_author:Cookies.get("comment_author_"+g),comment_author_email:Cookies.get("comment_author_email_"+g),comment_author_url:Cookies.get("comment_author_url_"+g)};U(d)}wpdiscuzLoadRichEditor?setTimeout(function(){wpDiscuzEditor.createEditor("#wpd-editor-"+o).focus()},v):setTimeout(function(){e("#wc-textarea-"+o).trigger("focus")},v);n.slideToggle(v,function(){a.addClass("wpdiscuz-clonned")})}(e(this)),function(t){if((a||o)&&"2.0"===n){var d=$(t);setTimeout(function(){if(!T[d])try{T[d]=grecaptcha.render("wpdiscuz-recaptcha-"+t,{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(a){e("#wpdiscuz-recaptcha-field-"+t).val("key")},"expired-callback":function(){e("#wpdiscuz-recaptcha-field-"+t).val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}},1e3)}}(d)}),e(document).delegate("#wpdcom .wpd-comment-link [data-comment-url]","click",function(){var t=e(this).data("comment-url"),a=e("<input/>");a.appendTo("body").css({position:"absolute",top:"-10000000px"}).val(t),a.select(),document.execCommand("copy"),a.remove(),wpdiscuzAjaxObj.setCommentMessage(t+"<br/>"+wpdiscuzAjaxObj.wc_copied_to_clipboard,"success",5e3)}),e(document).delegate(".wpdiscuz-nofollow,.wc_captcha_refresh_img,.wpd-load-more-submit","click",function(e){e.preventDefault()}),e(document).delegate(".wpd-toggle.wpd_not_clicked","click",function(){var t=e(this);t.removeClass("wpd_not_clicked");var a=G(e(this),0),o=e(this),n=e(".fas",o);!o.parents(".wpd-comment:not(.wpd-reply)").children(".wpd-reply").length&&_?function(t,a){var o=$(t),n=new FormData;n.append("action","wpdShowReplies"),n.append("commentId",o),me(z,!0,n).done(function(o){a.addClass("wpd_not_clicked"),"object"==typeof o&&o.success&&(e("#wpd-comm-"+t).replaceWith(o.data.comment_list),e("#wpd-comm-"+t+" .wpd-toggle .fas").removeClass("fa-chevron-down").addClass("fa-chevron-up"),e("#wpd-comm-"+t+" .wpd-toggle").attr("wpd-tooltip",wpdiscuzAjaxObj.wc_hide_replies_text),e("#wpd-comm-"+t+" .wpd-toggle .wpd-view-replies").remove(),le(o)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,n){console.log(n),a.addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}(a,t):e("#wpd-comm-"+a+"> .wpd-reply").slideToggle(700,function(){e(this).is(":hidden")?(n.removeClass("fa-chevron-up"),n.addClass("fa-chevron-down"),o.attr("wpd-tooltip",wpdiscuzAjaxObj.wc_show_replies_text)):(n.removeClass("fa-chevron-down"),n.addClass("fa-chevron-up"),o.attr("wpd-tooltip",wpdiscuzAjaxObj.wc_hide_replies_text)),t.addClass("wpd_not_clicked")})}),e(document).delegate(".wpd-new-loaded-comment","mouseenter",function(){e(this).removeClass("wpd-new-loaded-comment")}),e(document).delegate(".wpd-sbs-toggle","click",function(){e(".wpdiscuz-subscribe-bar").slideToggle(v)}),parseInt(wpdiscuzAjaxObj.wpDiscuzIsShowOnSubscribeForm)&&!t&&wpdiscuzAjaxObj.wpDiscuzReCaptchaSK&&e("#wpdiscuz-subscribe-form").length&&("2.0"===n?(setTimeout(function(){try{grecaptcha.render("wpdiscuz-recaptcha-subscribe-form",{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(t){e("#wpdiscuz-recaptcha-field-subscribe-form").val("key")},"expired-callback":function(){e("#wpdiscuz-recaptcha-field-subscribe-form").val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}},1e3),e(document).delegate("#wpdiscuz-subscribe-form","submit",function(t){e("#wpdiscuz-recaptcha-field-subscribe-form").val()?e(".wpdiscuz-recaptcha",e(this)).css("border","none"):(e(".wpdiscuz-recaptcha",e(this)).css("border","1px solid red"),t.preventDefault())})):"3.0"===n&&e(document).delegate("#wpdiscuz_subscription_button","click",function(t){var a=e(this).parents("#wpdiscuz-subscribe-form");t.preventDefault();try{grecaptcha.ready(function(){grecaptcha.execute(wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,{action:"wpdiscuz/wpdAddSubscription"}).then(function(e){console.log(5555),document.getElementById("wpdiscuz-recaptcha-field-subscribe-form").value=e,a.submit()},function(e){wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error","error"),console.log(e)})})}catch(t){console.log(t),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+t.message,"error")}})),(a||o)&&"2.0"===n){var R=e(window).width(),S=e("#wpdcom").width();S>=1100&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"65%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"35%"})),S>=940&&S<1100&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"60%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"40%"})),S>=810&&S<940&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"40%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"60%"})),S>=730&&S<810&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"45%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"55%"})),S>=610&&S<730&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.85)","-webkit-transform":"scale(0.85)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"43%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"55%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"30%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"70%"})),R>650&&(S>=510&&S<610&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"center 0","-webkit-transform-origin":"center 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"35%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"63%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"30%",position:"relative",right:"-60px"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"70%"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"})),S>=470&&S<510&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"center 0","-webkit-transform-origin":"center 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"40%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"60%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd_main_comm_form .wc-form-footer").css({"margin-left":"0px"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"})),S<470&&(e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({margin:"0px auto","transform-origin":"center 0","-webkit-transform-origin":"center 0"}),e("#wpdcom .wpd-form-col-left").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-form-col-right").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"}),e("#wpdcom .wpd-secondary-form-wrapper .wc_notification_checkboxes").css({"text-align":"center"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-field-submit").css({"text-align":"center"})))}function q(t,a,o){me(z||f,!1,a).done(function(a){if(e(o).addClass("wpd_not_clicked"),"object"==typeof a)if(a.success){"collapsed"===wpdiscuzAjaxObj.commentFormView&&e(".wpd-form-foot",t).slideUp(v),e(".wpd-thread-info").html(a.data.wc_all_comments_count_new_html),a.data.wc_all_comments_count_new=parseInt(a.data.wc_all_comments_count_new),e("#wpd-bubble-all-comments-count").text(a.data.wc_all_comments_count_new),a.data.wc_all_comments_count_new?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide();var n=v;a.data.is_main?ae(a.data.message):(n=v+700,e("#wpd-secondary-form-wrapper-"+a.data.uniqueid).slideToggle(700),1==a.data.is_in_same_container?e("#wpd-secondary-form-wrapper-"+a.data.uniqueid).after(a.data.message):e("#wpd-comm-"+a.data.uniqueid).after(a.data.message)),function(e){if(!e.data.held_moderate){var t=new FormData;t.append("action","wpdCheckNotificationType"),t.append("comment_id",e.data.new_comment_id),t.append("email",e.data.comment_author_email),t.append("isParent",e.data.is_main),me(z,!0,t)}}(a),function(e){if(e.data.redirect>0&&e.data.new_comment_id){var t=new FormData;t.append("action","wpdRedirect"),t.append("commentId",e.data.new_comment_id),me(z,!0,t).done(function(e){"object"==typeof e&&e.success&&setTimeout(function(){location.href=e.data},2e3)}).fail(function(e,t,a){console.log(a)})}}(a),h&&b?function(t){var a=t.comment_author_email,o=t.comment_author,n=t.comment_author_url;null==u?(Cookies.set("comment_author_email_"+g,a),Cookies.set("comment_author_"+g,o),n.length&&Cookies.set("comment_author_url_"+g,n)):(u=parseInt(u),Cookies.set("comment_author_email_"+g,a,{expires:u,path:"/"}),Cookies.set("comment_author_"+g,o,{expires:u,path:"/"}),n.length&&Cookies.set("comment_author_url_"+g,n,{expires:u,path:"/"}));e(".wpd-cookies-checkbox").length&&e(".wpd-cookies-checkbox").attr("checked","checked")}(a.data):b||e(".wpd-cookies-checkbox").removeAttr("checked"),wpdiscuzLoadRichEditor&&wpDiscuzEditor.createEditor("#wpd-editor-"+e(".wpdiscuz_unique_id",t).val()).setContents([{insert:"\n"}]),t.get(0).reset(),U(a.data),e(".wmu-preview-wrap",t).remove(),I.length&&(I.forEach(function(e){e.parents(".wpd-field-checkbox").remove()}),I=[]),parseInt(wpdiscuzAjaxObj.scrollToComment)&&setTimeout(function(){ee(),e("html, body").animate({scrollTop:e("#comment-"+a.data.new_comment_id).offset().top-32},1e3,te)},n),le(a,t)}else a.data&&(wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error"),le(a,t));else wpdiscuzAjaxObj.setCommentMessage(a,"error");e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,a,n){console.log(n),e(o).addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}function U(t){e(".wpd_comm_form .wc_name").val(t.comment_author),t.comment_author_email&&t.comment_author_email.indexOf("@example.com")<0&&e(".wpd_comm_form .wc_email").val(t.comment_author_email),t.comment_author_url&&e(".wpd_comm_form .wc_website").val(t.comment_author_url)}function H(t,a){e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd_editable_comment").show(),e("#wpd-comm-"+t+" .wpdiscuz-edit-form-wrap").replaceWith(a),e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").show()}e(document).delegate(".wc_comm_submit.wpd_not_clicked","click",function(){var t=e(this),d=1,s=e(this).parents("form");if(s.hasClass("wpd_main_comm_form")||(d=function(t){var a=t.attr("class").split(" "),o="";return e.each(a,function(e,t){"wpd_comment_level"===X(t,!1)&&(o=X(t,!0))}),parseInt(o)+1}(e(this).parents(".wpd-comment"))),Z(s,"#wpd-editor-"+e(".wpdiscuz_unique_id",s).val()),s.submit(function(e){e.preventDefault()}),""!==e(".wc_comment",s).val().trim()){if(s[0].checkValidity()&&(c=s,p=!0,"2.0"===n&&e("input[name=wc_captcha]",c).length&&!e("input[name=wc_captcha]",c).val().length?(p=!1,e(".wpdiscuz-recaptcha",c).css("border","1px solid red")):"2.0"===n&&e("input[name=wc_captcha]",c).length&&e(".wpdiscuz-recaptcha",c).css("border","none"),p)){E=!0,function(t){e(".wpd-agreement-checkbox",t).each(function(){e(this).hasClass("wpd_agreement_hide")&&h&&e(this).prop("checked")&&(Cookies.set(e(this).attr("name")+"_"+g,1,{expires:30,path:"/"}),e("input[name="+e(this).attr("name")+"]").each(function(){I.push(e(this))}))})}(s),e(t).removeClass("wpd_not_clicked");var i=new FormData;if(i.append("action","wpdAddComment"),e(":input",s).each(function(){""!=this.name&&"checkbox"!=this.type&&"radio"!=this.type&&i.append(this.name+"",e(this).val().trim()),"checkbox"!=this.type&&"radio"!=this.type||e(this).is(":checked")&&i.append(this.name+"",e(this).val())}),i.append("wpd_comment_depth",d),wpdiscuzAjaxObj.wpdiscuz_zs&&i.append("wpdiscuz_zs",wpdiscuzAjaxObj.wpdiscuz_zs),e(".wpd-cookies-checkbox",s).length&&!e(".wpd-cookies-checkbox",s).prop("checked")&&(b=!1),e("#wpdiscuz-loading-bar").show(),wpdiscuzAjaxObj.wpDiscuzReCaptchaSK&&"3.0"===n&&(1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!wpdiscuzAjaxObj.is_user_logged_in||1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&wpdiscuzAjaxObj.is_user_logged_in))try{grecaptcha.ready(function(){grecaptcha.execute(wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,{action:"wpdiscuz/addComment"}).then(function(e){i.append("g-recaptcha-response",e),q(s,i,t)},function(e){wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error","error"),console.log(e)})})}catch(t){console.log(t),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+t.message,"error"),e("#wpdiscuz-loading-bar").fadeOut(250)}else q(s,i,t)}var c,p;!function(e){if((a||o)&&"2.0"===n){var t=$(e);grecaptcha.reset(T[t])}}(e(".wpdiscuz_unique_id",s).val()),e(".wpdiscuz_reset").val("")}else wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wc_msg_required_fields,"error")}),e(document).delegate(".wpd_editable_comment","click",function(){w&&e(".wpdiscuz-edit-form-wrap").length&&H(G(e(".wpdiscuz-edit-form-wrap"),0),w);var t=G(e(this),0),a=$(t),o=new FormData;o.append("action","wpdEditComment"),o.append("commentId",a),w=e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-text").get(0),me(z,!0,o).done(function(a){if("object"==typeof a)if(a.success){if(e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd-comment-text").replaceWith(a.data.html),wpdiscuzLoadRichEditor){let o=wpDiscuzEditor.createEditor("#wpd-editor-edit_"+t);o.clipboard.dangerouslyPasteHTML(0,a.data.content),o.update(),e(".wpd-toolbar-hidden").prev("[id^=wpd-editor-]").css("border-bottom","1px solid #dddddd")}else e("#wc-textarea-edit_"+t).val(a.data.content);e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd_editable_comment").hide(),e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").hide()}else wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error");else console.log(a);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wc_save_edited_comment","click",function(){var t=G(e(this)),a=$(t),o=e("#wpd-comm-"+t+" #wpdiscuz-edit-form");if(Z(o,"#wpd-editor-edit_"+t),o.submit(function(e){e.preventDefault()}),o[0].checkValidity()){var n=new FormData;n.append("action","wpdSaveEditedComment"),n.append("commentId",a),e(":input",o).each(function(){""!==this.name&&"checkbox"!==this.type&&"radio"!==this.type&&n.append(this.name+"",e(this).val()),"checkbox"!==this.type&&"radio"!==this.type||e(this).is(":checked")&&n.append(this.name+"",e(this).val())}),me(z,!0,n).done(function(o){"object"==typeof o?(o.success?(H(t,o.data.message),o.data.lastEdited&&(e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").remove(),e(o.data.lastEdited).insertAfter("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd-comment-text")),o.data.twitterShareLink&&e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-share .wpd-tooltip-content .wc_tw").attr("href",o.data.twitterShareLink),o.data.whatsappShareLink&&e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-share .wpd-tooltip-content .wc_whatsapp").attr("href",o.data.whatsappShareLink),wpdiscuzLoadRichEditor&&wpDiscuzEditor.removeEditor("#wpd-editor-edit_"+t)):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error"),le(o,a)):console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).delegate(".wc_cancel_edit","click",function(){var t=G(e(this));H(t,w),wpdiscuzLoadRichEditor&&wpDiscuzEditor.removeEditor("#wpd-editor-edit_"+t)}),!wpdiscuzAjaxObj.wordpressIsPaginate&&m&&(M=0,1==m?setTimeout(function(){P(!0)},500):e(document).delegate(".wpd-load-comments","click",function(){e(this).parent(".wpd-load-more-submit-wrap").remove(),P(!0)})),e(document).delegate(".wpd-load-more-submit","click",function(){var t=e(this);t.hasClass("wpd-loaded")&&P(!1,t,"wpd-loaded","wpd-loading")});var W=!1;function N(){var t=e("#wpdiscuzHasMoreComments").val(),a=e(document).height(),o=e(window).height()+e(window).scrollTop();a&&o&&(100*o/a>=80&&!1===W&&1==t&&(W=!0,P(!1,e(".wpd-load-more-submit"))))}function P(t,a,o,n){a&&(a.toggleClass(o),a.toggleClass(n));var s=new FormData;s.append("action","wpdLoadMoreComments");var i=e(".wpdiscuz-sort-button-active").attr("data-sorting");i&&s.append("sorting",i),s.append("offset",M),s.append("lastParentId",e(".wpd-load-more-submit").attr("data-lastparentid")),s.append("isFirstLoad",t?1:0);var c=e(".wpdf-active").attr("data-filter-type");s.append("wpdType",c||""),me(z,!t||1!=m,s).done(function(s){"object"==typeof s&&s.success&&(M++,t&&e(".wpd-comment").remove(),e(".wpdiscuz_single").remove(),e(".wpdiscuz-comment-pagination").before(s.data.comment_list),V(s,t&&2!==d),W=!1,r=s.data.loadLastCommentId,le(s),t&&K(!1)),e("#wpdiscuz-loading-bar").fadeOut(250),e(".wpd-load-more-submit").blur(),a&&(a.toggleClass(o),a.toggleClass(n))}).fail(function(t,d,s){console.log(s),e("#wpdiscuz-loading-bar").fadeOut(250),e(".wpd-load-more-submit").blur(),a&&(a.toggleClass(o),a.toggleClass(n))})}function V(t,a){var o;0==t.data.is_show_load_more?(e("#wpdiscuzHasMoreComments").val(0),e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").hide()):(o=t.data.last_parent_id,e(".wpd-load-more-submit").attr("data-lastparentid",o),2!==d&&e(".wpdiscuz-comment-pagination").show(),e("#wpdiscuzHasMoreComments").val(1),a&&e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").show()),le(t)}function K(t){var a=location.href.match(/#comment\-(\d+)/);if(null!==a){var o=a[1];if(e("#comment-"+o).length)setTimeout(function(){ee(),e("html, body").animate({scrollTop:e("#comment-"+o).parents("[id^=wpd-comm-]").offset().top-32},1e3,te),t&&Q(o)},500);else{var n=new FormData;n.append("action","wpdGetSingleComment"),n.append("commentId",o),me(z,!0,n).done(function(a){if("object"==typeof a&&a.success){var n="#comment-"+o;e("#comment-"+a.data.parentCommentID).length?e("#comment-"+a.data.parentCommentID).parents("[id^=wpd-comm-"+a.data.parentCommentID+"]").replaceWith(a.data.message):e(".wpd-thread-list").prepend(a.data.message),le(a),ee(),e("html, body").animate({scrollTop:e(n).offset().top-32},1e3,te),t&&Q(o)}e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}}function Q(t){setTimeout(function(){e("#comment-"+t).siblings(".wpd-secondary-form-wrapper").is(":visible")||e("#comment-"+t).find(".wpd-reply-button").trigger("click")},1100)}function B(e){if(void 0!==e.data.message)for(var t,a=e.data.message,o=0;o<a.length;o++)Y((t=a[o]).comment_parent,t.comment_html)}function G(e,t){var a="";return(a=t?e.parents(".wpd-main-form-wrapper").attr("id"):e.parents(".wpd-comment").attr("id")).substring(a.lastIndexOf("-")+1)}function $(e){return e.substring(0,e.indexOf("_"))}function X(e,t){return t?e.substring(e.indexOf("-")+1):e.substring(0,e.indexOf("-"))}function Y(t,a){if(0==t)ae(a);else{var o=G(e("#comment-"+t),0);e("#wpdiscuz_form_anchor-"+o).after(a)}}function J(){var t,a,o="";return e(".wpd-comment-right").each(function(){t=G(e(this),0),a=$(t),o+=a+","}),o}function Z(t,a){var o=t.find(".wpd-required-group");wpdiscuzLoadRichEditor&&t.find(".wc_comment").val(e(a+">.ql-editor").html()),function(e){var t=e.find(".wc_comment"),a=t.val().trim().replace(/<p><br><\/p>/g,"\n").replace(/<p>(.*?)<\/p>/g,"$1\n");a=(a=(a=(a=a.replace(/<img src=["|']https\:\/\/s\.w\.org\/images\/core\/emoji\/([^"|']+)["|'](.*?)alt=["|']([^"|']+)["|'](.*?)[^>]*>/g," $3 ")).replace(/<img[^>]+alt=["|']([^"|']+)["|'][^>]+src=["|']https\:\/\/s\.w\.org\/images\/core\/emoji\/([^"|']+)["|'][^>]?>/g," $1 ")).replace(/<img\s+([^>]*)class=["|']wpdem\-sticker["|'](.*?)alt=["|']([^"|']+)["|'](.*?)[^>]*>/g," $3 ")).replace(/<img\s+([^>]*)src=["|']([^"|']+)["|'](.*?)[^>]*>/g," $2 "),t.val(a)}(t),e.each(o,function(){e("input",this).removeAttr("required"),0===e("input:checked",this).length?e("input",e(this)).attr("required","required"):e(".wpd-field-invalid",this).remove()})}function ee(){e("html, body").css("scroll-behavior","unset")}function te(){e("html").css("scroll-behavior",F),e("body").css("scroll-behavior",L)}function ae(t){e(".wpd-sticky-comment").last()[0]?e(t).insertAfter(e(".wpd-sticky-comment").last()[0]):e(".wpd-thread-list").prepend(t)}function oe(t){t?t.prop("required")||(t.val()?t.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","inline-block"):t.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","none")):e.each(e(".wc_email"),function(t,a){var o=e(a);o.prop("required")||(o.val()?o.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","inline-block"):o.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","none"))})}if(2!==d||wpdiscuzAjaxObj.wordpressIsPaginate||(e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").hide(),N(),e(window).scroll(function(){N()})),wpdiscuzAjaxObj.setLoadMoreVisibility=V,e(document).delegate(".wpd-vote-up.wpd_not_clicked, .wpd-vote-down.wpd_not_clicked","click",function(){var t=e(this);e(t).removeClass("wpd_not_clicked");var a,o=$(G(t));a=e(this).hasClass("wpd-vote-up")?1:-1;var n=new FormData;n.append("action","wpdVoteOnComment"),n.append("commentId",o),n.append("voteType",a),me(z,!0,n).done(function(n){if(e(t).addClass("wpd_not_clicked"),"object"==typeof n){if(n.success){if("total"===n.data.buttonsStyle){var d=e(".wpd-comment-footer .wpd-vote-result",e("#comment-"+o)),s=n.data.votes;d.text(s),d.removeClass("wpd-up wpd-down"),s>0&&d.addClass("wpd-up"),s<0&&d.addClass("wpd-down")}else{var i=e(".wpd-comment-footer .wpd-vote-result-like",e("#comment-"+o)),c=e(".wpd-comment-footer .wpd-vote-result-dislike",e("#comment-"+o));i.text(n.data.likeCount),c.text(n.data.dislikeCount),parseInt(n.data.likeCount)>0?i.addClass("wpd-up"):i.removeClass("wpd-up"),parseInt(n.data.dislikeCount)<0?c.addClass("wpd-down"):c.removeClass("wpd-down")}var p=e(".wpd-comment-footer .wpd-vote-up",e("#comment-"+o)),r=e(".wpd-comment-footer .wpd-vote-down",e("#comment-"+o));p.removeClass("wpd-up"),r.removeClass("wpd-down"),n.data.curUserReaction>0?p.addClass("wpd-up"):n.data.curUserReaction<0&&r.addClass("wpd-down")}else n.data&&wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[n.data],"error");le(n,o,a)}else console.log(n);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,o,n){console.log(n),e(t).addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate("body","click",function(t){var a=e(".wpdiscuz-sort-buttons");e(t.target).hasClass("wpdf-sorting")||e(t.target).parent().hasClass("wpdf-sorting")?a.css({display:a.is(":visible")?"none":"flex"}):a.hide()}),e(document).delegate(".wpdiscuz-sort-button:not(.wpdiscuz-sort-button-active)","click",function(){var t=e(this),a=e(this).attr("data-sorting");if(a){e(".wpdiscuz-sort-button.wpdiscuz-sort-button-active").removeClass("wpdiscuz-sort-button-active").appendTo(".wpdiscuz-sort-buttons"),t.addClass("wpdiscuz-sort-button-active").prependTo(".wpdf-sorting");var o=new FormData;o.append("action","wpdSorting"),o.append("sorting",a);var n=e(".wpdf-active").attr("data-filter-type");o.append("wpdType",n||""),me(z,!0,o).done(function(t){"object"==typeof t&&t.success&&(e("#wpdcom .wpd-comment").remove(),e("#wpdcom .wpd-thread-list").prepend(t.data.message),V(t,!1),M=1),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),window.onhashchange=function(){K(!1)},1!=m&&K(!1),e(document).delegate(".wpdiscuz-readmore","click",function(){var t=G(e(this)),a=$(t),o=new FormData;o.append("action","wpdReadMore"),o.append("commentId",a),me(z,!0,o).done(function(o){"object"==typeof o?(o.success?(e("#comment-"+a+" .wpd-comment-text").replaceWith(" "+o.data.message),e("#wpdiscuz-readmore-"+t).remove()):console.log(o.data),le(o)):console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpd-required-group","change",function(){0!==e("input:checked",this).length?e("input",e(this)).removeAttr("required"):e("input",e(this)).attr("required","required")}),e(document).delegate(".wpdiscuz-spoiler","click",function(){e(this).next().slideToggle(),e(this).hasClass("wpdiscuz-spoiler-closed")?e(this).parents(".wpdiscuz-spoiler-wrap").find(".fa-plus").removeClass("fa-plus").addClass("fa-minus"):e(this).parents(".wpdiscuz-spoiler-wrap").find(".fa-minus").removeClass("fa-minus").addClass("fa-plus"),e(this).toggleClass("wpdiscuz-spoiler-closed")}),e(document).delegate(".wpd-tools i","click",function(){var t=e(this).siblings(".wpd-tools-actions");t.is(":visible")||e(this).parents(".wpd-comment-right").attr("id")!==e("[id^=comment-]","#wpdcom").last().attr("id")||e("#comments").css({paddingBottom:"160px"}),t.css({display:t.is(":visible")?"none":"flex"})}),e(document).delegate(".wpd-comment-right","mouseleave",function(){e(this).find(".wpd-tools-actions").hide(),e("#comments").css({paddingBottom:"0"})}),e(document).delegate(".wpd_stick_btn","click",function(){var t=$(G(e(this),0)),a=new FormData;a.append("action","wpdStickComment"),a.append("commentId",t),me(z,!0,a).done(function(t){"object"==typeof t&&t.success&&location.reload(!0),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpd_close_btn","click",function(){var t=$(G(e(this),0)),a=new FormData;a.append("action","wpdCloseThread"),a.append("commentId",t),me(z,!0,a).done(function(t){"object"==typeof t&&t.success&&location.reload(!0),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpd-filter.wpd_not_clicked[data-filter-type]","click",function(){var t=e(this),a=t.attr("data-filter-type");wpdiscuzAjaxObj.resetActiveFilters(".wpdf-"+a),t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var o=new FormData;o.append("action","wpdLoadMoreComments");var n=e(".wpdiscuz-sort-button-active").attr("data-sorting");n&&o.append("sorting",n),o.append("lastParentId",0),o.append("offset",0),M=1,o.append("wpdType",t.hasClass("wpdf-active")?"":a),o.append("isFirstLoad",1),e(this).hasClass("wpdf-inline")?e(this).hasClass("wpdf-active")?e(".wpd-comment-info-bar").hide():e(".wpd-comment-info-bar").css("display","flex"):e(".wpd-comment-info-bar").hide(),me(z,!1,o).done(function(a){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof a&&a.success&&(t.toggleClass("wpdf-active"),e(".wpd-load-comments").remove(),e(".wpd-comment").remove(),e(".wpd-thread-list").prepend(a.data.comment_list),V(a),r=a.data.loadLastCommentId,e(".wpd-load-more-submit").blur(),le(a)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpdf-reacted.wpd_not_clicked","click",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var a=new FormData;a.append("action","wpdMostReactedComment"),me(z,!1,a).done(function(a){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof a&&a.success&&(e("#comment-"+a.data.parentCommentID).length?e("#comment-"+a.data.parentCommentID).parents("[id^=wpd-comm-"+a.data.parentCommentID+"]").replaceWith(a.data.message):e("#comment-"+a.data.commentId).length||e(".wpd-thread-list").prepend(a.data.message),le(a),ee(),e("html, body").animate({scrollTop:e("#comment-"+a.data.commentId).offset().top-32},1e3,te))}).fail(function(a,o,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner")})}),e(document).delegate(".wpdf-hottest.wpd_not_clicked","click",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var a=new FormData;a.append("action","wpdHottestThread"),me(z,!1,a).done(function(a){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof a&&a.success&&(e("#comment-"+a.data.commentId).length?e("#comment-"+a.data.commentId).parents("[id^=wpd-comm-"+a.data.commentId+"]").replaceWith(a.data.message):e(".wpd-thread-list").prepend(a.data.message),le(a),ee(),e("html, body").animate({scrollTop:e("#comment-"+a.data.commentId).offset().top-32},1e3,te))}).fail(function(a,o,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner")})}),e(document).delegate(".wpd-filter-view-all","click",function(){e(".wpdf-inline.wpdf-active.wpd_not_clicked").trigger("click")}),e(document).delegate(".wpd-follow-link.wpd_not_clicked","click",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var a=$(G(t,0)),o=new FormData;o.append("action","wpdFollowUser"),o.append("commentId",a),me(z,!0,o).done(function(a){t.addClass("wpd_not_clicked"),"object"==typeof a?a.success?(wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data.code],"success"),t.removeClass("wpd-follow-active"),a.data.followTip&&t.attr("wpd-tooltip",a.data.followTip),a.data.followClass&&t.addClass(a.data.followClass)):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error"):console.log(a),e(".fas",t).removeClass("fa-pulse fa-spinner"),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,o,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner"),e("#wpdiscuz-loading-bar").fadeOut(250)})}),oe(),e(document).delegate(".wc_email","keyup",function(){oe(e(this))}),j&&e("#wpdcom").length){if(e("#wpd-bubble-wrapper").hover(function(){e(this).addClass("wpd-bubble-hover")},function(){e(this).removeClass("wpd-bubble-hover")}),k&&!Cookies.get(wpdiscuzAjaxObj.cookieHideBubbleHint)&&setTimeout(function(){e("#wpd-bubble-wrapper").addClass("wpd-bubble-hover"),Cookies.set(wpdiscuzAjaxObj.cookieHideBubbleHint,"1",{expires:7,path:"/"}),setTimeout(function(){e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover")},1e3*x)},1e3*k),"content_left"===O)if(e(".entry-content").length){var ne=(de=Math.min(e(".entry-content").offset().left,e("#wpdcom").offset().left)-120)>25?de:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else if(e(".post-entry").length){ne=(de=Math.min(e(".post-entry").offset().left,e("#wpdcom").offset().left)-120)>25?de:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else if(e(".container").length){var de;ne=(de=Math.min(e(".container").offset().left,e("#wpdcom").offset().left)-120)>25?de:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else e("#wpd-bubble-wrapper").css({left:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-corner");else"left_corner"===O?(e("#wpd-bubble-wrapper").css({left:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-corner")):"right_corner"===O&&(e("#wpd-bubble-wrapper").css({right:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-right-corner"));e("#wpd-bubble-wrapper").show(),e("#wpd-bubble-add-message-close").click(function(t){t.preventDefault(),t.stopPropagation(),e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover")}),e("#wpd-bubble").click(function(){ee(),e("html, body").animate({scrollTop:e("#wpdcom").offset().top-60},1e3,function(){te(),e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover"),wpdiscuzLoadRichEditor?e("#wpd-editor-0_0").length&&wpDiscuzEditor.createEditor("#wpd-editor-0_0").focus():e("#wc-textarea-0_0").length&&e("#wc-textarea-0_0").focus()})}),e("#wpd-bubble-comment-close").click(function(t){t.preventDefault(),e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added")}),e("#wpd-bubble-comment-reply-link a").click(function(){var t=e(this).attr("href");setTimeout(function(){e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added"),K(!0);var a=t.match(/#comment\-(\d+)/);D=D.filter(function(e){return e!=a[1]}),e("#wpd-bubble-count .wpd-new-comments-count").text(D.length),0==D.length&&e("#wpd-bubble-count").removeClass("wpd-new-comments")},100)}),e("#wpd-bubble-count").click(function(){if(D.length){var t=new FormData;t.append("action","wpdBubbleUpdate"),t.append("newCommentIds",D.join()),me(z,!0,t).done(function(t){"object"==typeof t&&t.success&&(t.data.message=t.data.message.filter(function(t){if(!e("#comment-"+t.comment_id).length)return t}),B(t),e("#wpd-bubble-count").removeClass("wpd-new-comments"),e("#wpd-bubble-count .wpd-new-comments-count").text("0"),D=[],ee(),e("html, body").animate({scrollTop:e(e(".wpd-new-loaded-comment")[0]).offset().top-60},1e3,te),le(t)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(e,t,a){console.log(a)})}})}if((j&&C||i)&&(t||!t&&p)&&setTimeout(function t(){e.ajax({type:"GET",url:wpdiscuzAjaxObj.bubbleUpdateUrl,beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",wpdiscuzAjaxObj.restNonce)},data:{postId:s,lastId:l,visibleCommentIds:J()}}).done(function(a){if(!E)if("object"==typeof a){if(a.ids.length){i&&((d=new FormData).append("action","wpdUpdateAutomatically"),d.append("loadLastCommentId",r),d.append("visibleCommentIds",J()),me(z,!1,d).done(function(t){E||"object"==typeof t&&t.success&&(B(t),e(".wpd-thread-info").html(t.data.wc_all_comments_count_new_html),t.data.wc_all_comments_count_new=parseInt(t.data.wc_all_comments_count_new),e("#wpd-bubble-all-comments-count").text(t.data.wc_all_comments_count_new),t.data.wc_all_comments_count_new?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),r=t.data.loadLastCommentId)}).fail(function(e,t,a){console.log(a)})),a.ids=a.ids.filter(function(t){if(!e("#comment-"+t).length)return t});var o=5e3;l=parseInt(a.ids[a.ids.length-1]),D=D.concat(a.ids),y&&a.commentText&&(e("#wpd-bubble-author-avatar").html(a.avatar),e("#wpd-bubble-author-name").html(a.authorName),e("#wpd-bubble-comment-date span").html(a.commentDate),e("#wpd-bubble-comment-text").html(a.commentText),e("#wpd-bubble-comment-reply-link a").attr("href",a.commentLink),e("#wpd-bubble-notification-message").show(),o=1e4);var n=parseInt(e(".wpd-new-comments-count").text());n+=a.ids.length,e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added"),e("#wpd-bubble-wrapper").addClass("wpd-new-comment-added"),setTimeout(function(){e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added")},o),e(".wpd-new-comments-count").text(n),e("#wpd-bubble-count").addClass("wpd-new-comments"),a.all_comments_count=parseInt(a.all_comments_count),e("#wpd-bubble-all-comments-count").text(a.all_comments_count),a.all_comments_count?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),e(".wpd-thread-info").html(a.all_comments_count_html)}}else console.log(a);var d;setTimeout(t,c)}).fail(function(e,a,o){console.log(o),setTimeout(t,c)})},c),e(".wpd-inline-form-wrapper").length){var se=new FormData;se.append("action","wpdGetInlineCommentForm"),me(z,!1,se).done(function(t){"object"==typeof t?t.success?(e(".wpd-inline-form-wrapper").append(t.data),e.each(e("[name=_wpd_inline_nonce]"),function(){var t=e(this).attr("id"),a=e(this).parents(".wpd-inline-shortcode").attr("id");e(this).attr("id",t+"-"+a.substring(a.lastIndexOf("-")+1))}),e(".wpd-inline-opened").addClass("wpd-active"),e(".wpd-inline-opened").find(".wpd-inline-form-wrapper").show(),e(".wpd-inline-opened").find(".wpd-inline-icon").addClass("wpd-open"),e(".wpd-inline-opened").find(".wpd-inline-icon").removeClass("wpd-ignored"),re()):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error"):console.log(t)}).fail(function(e,t,a){console.log(a)})}function ie(t){if(e(t).hasClass("wpd-inline-shortcode"))var a=e(t).attr("id");else a=e(t).parents(".wpd-inline-shortcode").attr("id");return a.substring(a.lastIndexOf("-")+1)}function ce(){e(".wpd-inline-form-wrapper").hide(),e(".wpd-inline-shortcode").removeClass("wpd-active"),e(".wpd-inline-icon").removeClass("wpd-open")}function pe(){e.each(e(".wpd-inline-shortcode:not(.wpd-inline-opened) .wpd-inline-icon"),function(){var t=e(this),a=t.offset().top-window.pageYOffset;a>0&&a<300&&("blink"===A?(t.addClass("wpd-blink"),setTimeout(function(){t.removeClass("wpd-blink")},3e3)):(t.parents(".wpd-inline-shortcode").addClass("wpd-active"),t.siblings(".wpd-inline-form-wrapper").show(),t.addClass("wpd-open"),re(t.siblings(".wpd-inline-form-wrapper"))))})}function re(t){if(t){if(t.offset().left<=10)t.css("left",Math.ceil(parseInt(t.css("left"))-t.offset().left+10)),(a=Math.ceil(t.siblings(".wpd-inline-icon.wpd-open").offset().left-t.offset().left+2))<3&&(a=3),document.styleSheets[0].addRule("#"+t.parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+a+"px;");else if(t.offset().left+t.width()>document.body.clientWidth-10){var a;t.css("left",Math.ceil(parseInt(t.css("left"))+(document.body.clientWidth-(t.offset().left+t.width()))-10)),(a=Math.ceil(t.siblings(".wpd-inline-icon.wpd-open").offset().left-t.offset().left+2))>t.width()-3&&(a=t.width()-3),document.styleSheets[0].addRule("#"+t.parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+a+"px;")}}else e.each(e(".wpd-inline-form-wrapper:visible"),function(){if(e(this).offset().left<=10)e(this).css("left",Math.ceil(parseInt(e(this).css("left"))-e(this).offset().left+10)),(t=Math.ceil(e(this).siblings(".wpd-inline-icon.wpd-open").offset().left-e(this).offset().left+2))<3&&(t=3),document.styleSheets[0].addRule("#"+e(this).parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+t+"px;");else if(e(this).offset().left+e(this).width()>document.body.clientWidth-10){var t;e(this).css("left",Math.ceil(parseInt(e(this).css("left"))+(document.body.clientWidth-(e(this).offset().left+e(this).width()))-10)),(t=Math.ceil(e(this).siblings(".wpd-inline-icon.wpd-open").offset().left-e(this).offset().left+2))>e(this).width()-3&&(t=e(this).width()-3),document.styleSheets[0].addRule("#"+e(this).parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+t+"px;")}})}function le(t,a,o,n){t.data.callbackFunctions&&e.each(t.data.callbackFunctions,function(e){"function"==typeof wpdiscuzAjaxObj[t.data.callbackFunctions[e]]?wpdiscuzAjaxObj[t.data.callbackFunctions[e]](t,a,o,n):console.log(t.data.callbackFunctions[e]+" is not a function")})}function me(t,a,o){a&&e("#wpdiscuz-loading-bar").show(),o.append("postId",s);var n=o.get("action");wpdiscuzAjaxObj.dataFilterCallbacks&&wpdiscuzAjaxObj.dataFilterCallbacks[n]&&e.each(wpdiscuzAjaxObj.dataFilterCallbacks[n],function(e){"function"==typeof wpdiscuzAjaxObj[wpdiscuzAjaxObj.dataFilterCallbacks[n][e]]&&(o=wpdiscuzAjaxObj[wpdiscuzAjaxObj.dataFilterCallbacks[n][e]](o,t,a))});var d=t?wpdiscuzAjaxObj.url:wpdiscuzAjaxObj.customAjaxUrl;return e.ajax({type:"POST",url:d,data:o,contentType:!1,processData:!1})}e(document).delegate("body","click",function(t){if(e(t.target).hasClass("wpd-inline-form-close")||e(t.target).parents(".wpd-inline-form-close").length)t.preventDefault(),e(t.target).parents(".wpd-inline-form-wrapper").hide(),e(t.target).parents(".wpd-inline-shortcode").removeClass("wpd-active"),e(t.target).parents(".wpd-inline-form-wrapper").siblings(".wpd-inline-icon").removeClass("wpd-open");else if(!e(t.target).hasClass("wpd-inline-form-wrapper")&&!e(t.target).parents(".wpd-inline-form-wrapper").length){ce();var a="";e(t.target).hasClass("wpd-inline-icon")?a=e(t.target):e(t.target).parents(".wpd-inline-icon").length&&(a=e(t.target).parents(".wpd-inline-icon")),a.length&&(a.parents(".wpd-inline-shortcode").addClass("wpd-active"),a.siblings(".wpd-inline-form-wrapper").show(),a.addClass("wpd-open"),a.removeClass("wpd-ignored"),re(a.siblings(".wpd-inline-form-wrapper")))}(!e(t.target).hasClass("wpd-last-inline-comments-wrapper")&&!e(t.target).parents(".wpd-last-inline-comments-wrapper").length||e(t.target).parents(".wpd-last-inline-comments-wrapper").length&&e(t.target).hasClass("wpd-load-inline-comment"))&&e(".wpd-last-inline-comments-wrapper").remove()}),e(document).delegate(".wpd-inline-submit.wpd_not_clicked","click",function(t){t.preventDefault();var a=e(this),o=e(this).parents(".wpd_inline_comm_form");if(o[0].checkValidity()){e(this).removeClass("wpd_not_clicked");var n=new FormData;n.append("action","wpdAddInlineComment"),n.append("inline_form_id",ie(o)),e.each(e("input, textarea",o),function(t,a){"checkbox"===this.type?e(this).is(":checked")&&n.append(e(a).attr("name"),e(a).val()):n.append(e(a).attr("name"),e(a).val())}),me(z,!0,n).done(function(t){if(a.addClass("wpd_not_clicked"),"object"==typeof t)if(t.success){o[0].reset(),ce();var n=parseInt(t.data.newCount),d=a.parents(".wpd-inline-icon-wrapper").find(".wpd-inline-icon-count");d.text(n),n?d.addClass("wpd-has-comments"):d.removeClass("wpd-has-comments"),e(".wpd-thread-info").html(t.data.allCommentsCountNewHtml),t.data.allCommentsCountNew=parseInt(t.data.allCommentsCountNew),e("#wpd-bubble-all-comments-count").text(t.data.allCommentsCountNew),t.data.allCommentsCountNew?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),t.data.message&&ae(t.data.message),wpdiscuzAjaxObj.setCommentMessage(t.data.notification,"success")}else t.data&&wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error");else wpdiscuzAjaxObj.setCommentMessage(t,"error");e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).delegate(".wpd-form","keydown",function(t){t.ctrlKey&&13==t.keyCode&&e(this).find(".wc_comm_submit").trigger("click")}),e(document).delegate("#wpdiscuz-edit-form","keydown",function(t){t.ctrlKey&&13==t.keyCode&&e(this).find(".wc_save_edited_comment").trigger("click")}),e(document).delegate(".wpd-inline-comment-content","keydown",function(t){t.ctrlKey&&13==t.keyCode&&e(this).parents(".wpd_inline_comm_form").find(".wpd-inline-submit.wpd_not_clicked").trigger("click")}),e(document).delegate(".wpd-inline-icon-count.wpd-has-comments","click",function(){var t=e(this),a=new FormData;a.append("action","wpdGetLastInlineComments"),a.append("inline_form_id",ie(t)),me(z,!0,a).done(function(a){"object"==typeof a?a.success?e(a.data).insertAfter(t):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error"):console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpd-view-all-inline-comments","click",function(t){t.preventDefault(),e(this).parents(".wpd-last-inline-comments-wrapper").remove(),e(".wpdf-inline").hasClass("wpdf-active")||e(".wpdf-inline").trigger("click"),ee(),e("html, body").animate({scrollTop:e(".wpdf-inline").offset().top-32},1e3,te)}),e(document).delegate(".wpd-feedback-content-link","click",function(t){t.preventDefault();var a=e(this).data("feedback-content-id");ee(),e("html, body").animate({scrollTop:e("#wpd-inline-"+a).offset().top-38},1e3,function(){te(),e("#wpd-inline-"+a).addClass("wpd-active")})}),"scroll_open"!==A&&"blink"!==A||(pe(),e(window).scroll(pe)),e(document).delegate("#wpd-post-rating.wpd-not-rated .wpd-rate-starts svg","click",function(){var t=new FormData,a=e(this).index();a>=0&&a<5&&(t.append("action","wpdUserRate"),t.append("rating",a+1),me(z,!0,t).done(function(t){"object"==typeof t?t.success?location.reload(!0):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error"):console.log(t),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)}))}),e("#wpdiscuz-subscribe-form").submit(function(t){t.preventDefault();var a,o,d=e(this);if(d[0].checkValidity()&&(a=d,o=!0,"2.0"===n&&e("input[name=wpdiscuz_recaptcha_subscribe_form]",a).length&&!e("input[name=wpdiscuz_recaptcha_subscribe_form]",a).val().length?(o=!1,e(".wpdiscuz-recaptcha",a).css("border","1px solid red")):"2.0"===n&&e("input[name=wpdiscuz_recaptcha_subscribe_form]",a).length&&e(".wpdiscuz-recaptcha",a).css("border","none"),o)){var s=new FormData;s.append("action","wpdAddSubscription"),e("*",d).each(function(){""!=this.name&&"checkbox"!=this.type&&"radio"!=this.type&&s.append(this.name+"",e(this).val()),"checkbox"!=this.type&&"radio"!=this.type||e(this).is(":checked")&&s.append(this.name+"",e(this).val())}),me(z,!0,s).done(function(t){"object"==typeof t?t.success?(wpdiscuzAjaxObj.setCommentMessage(t.data,"success"),setTimeout(function(){location.reload(!0)},3e3)):wpdiscuzAjaxObj.setCommentMessage(t.data,"error"):wpdiscuzAjaxObj.setCommentMessage(t,"error"),e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(".wpd-unsubscribe").click(function(t){t.preventDefault();var a=new FormData;a.append("action","wpdUnsubscribe"),a.append("sid",e(this).data("sid")),a.append("skey",e(this).data("skey")),me(z,!0,a).done(function(t){"object"==typeof t?t.success?(wpdiscuzAjaxObj.setCommentMessage(t.data,"success"),setTimeout(function(){location.reload(!0)},3e3)):wpdiscuzAjaxObj.setCommentMessage(t.data,"error"):console.log(t),e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),wpdiscuzAjaxObj.resetActiveFilters=function(t){e(".wpd-filter.wpdf-active"+(t?":not("+t+")":"")).removeClass("wpdf-active")},wpdiscuzAjaxObj.getAjaxObj=me});var onloadCallback=function(){if(document.getElementById("wpdiscuz-recaptcha-0_0")&&"2.0"===wpdiscuzAjaxObj.wpDiscuzReCaptchaVersion&&(1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!wpdiscuzAjaxObj.is_user_logged_in||1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&wpdiscuzAjaxObj.is_user_logged_in))try{grecaptcha.render("wpdiscuz-recaptcha-0_0",{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(e){jQuery("#wpdiscuz-recaptcha-field-0_0").val("key")},"expired-callback":function(){jQuery("#wpdiscuz-recaptcha-field-0_0").val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}};
11
  /* Colorbox */
12
- (function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!U){U=$=!0,c(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=Math.max((l!==!1?Math.min(h,a(l,"x")):h)-z-D,0),_.h=Math.max((f!==!1?Math.min(s,a(f,"y")):s)-N-j,0),I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){x||(V=!1,E=t(i),x=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),L=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(F=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),S=t('<button type="button"/>').attr({id:Z+"Slideshow"}),L),B=t('<button type="button"/>').attr({id:Z+"Close"}),y.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(S)),e.body&&!x.parent().length&&t(e.body).append(v,x.append(y,M))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return x?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;U&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),U&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,r,h=J.prep,d=++le;if($=!0,q=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){L.show()},100),_.get("inline")){var c=t(e).eq(0);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),q=_.get("createImg"),t(q).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>1&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){q.height-=q.height*e,q.width-=q.width*e},_.mw&&q.width>_.mw&&(e=(q.width-_.mw)/q.width,o()),_.mh&&q.height>_.mh&&(e=(q.height-_.mh)/q.height,o())),_.h&&(q.style.marginTop=Math.max(_.mh-q.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(q.style.cursor="pointer",t(q).bind("click."+Z,function(){J.next()})),q.style.width=q.width+"px",q.style.height=q.height+"px",h(q)},1)}),q.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B,O,_,j,D,N,z,A,q,U,$,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){S.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),x.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),S.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),x.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,S.hide(),t(),ae.unbind(ne,e).unbind(ie,t),x.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),S.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px"}var r,h,s,l=0,d=0,c=x.offset();if(E.unbind("resize."+Z),x.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,x.css({position:"fixed"})):(l=h,d=s,x.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),x.css({top:c.top,left:c.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0}),e=g}de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){n(),$=!1,y[0].style.width=_.w+z+D+"px",y[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;U&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function a(){return _.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if(U){var d,g="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(M.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),M.hide(),t(q).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&x[0].style.removeAttribute("filter")}var n,o,a=W.length;U&&(o=function(){clearTimeout(Q),L.hide(),u(ne),_.get("onComplete")},F.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?x.fadeTo(g,1,i):i())},"fade"===_.get("transition")?x.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!$&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]))},J.prev=function(){!$&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]))},J.close=function(){U&&!G&&(G=!0,U=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){x&&(x.stop(),t[Y].close(),x.stop(!1,!0).remove(),v.remove(),G=!1,x=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window);
13
  /* Media Uploader */
14
  jQuery(document).ready(function(e){if(e(document).delegate("#wpdcom .wmu-upload-wrap","click",function(){e(".wpd-form-foot",e(this).parents(".wpd_comm_form")).slideDown(parseInt(wpdiscuzAjaxObj.enableDropAnimation)?500:0)}),e(document).delegate(".wmu-add-files","change",function(){var a=e(this),t=a.parents(".wpd_comm_form"),d=a[0].files?a[0].files:[];d.length&&function(a,t,d){var o=new FormData;o.append("action","wmuUploadFiles"),o.append("wmu_nonce",wpdiscuzAjaxObj.wmuSecurity),o.append("wmuAttachmentsData",e(".wmu-attachments-data",t).val());var i=0;e.each(d,function(e,a){i+=a.size,o.append(wpdiscuzAjaxObj.wmuInput+"["+e+"]",a)}),i>parseInt(wpdiscuzAjaxObj.wmuMaxFileSize)?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wmuPhraseMaxFileSize,"error",3e3):i>parseInt(wpdiscuzAjaxObj.wmuPostMaxSize)?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wmuPhrasePostMaxSize,"error",3e3):wpdiscuzAjaxObj.getAjaxObj(!0,!0,o).done(function(a){a.success?(e(".wmu-attached-data-info",t).remove(),e(".wmu-add-files",t).after(a.data.attachmentsHtml),a.data.tooltip&&e(".wmu-upload-wrap").attr("wpd-tooltip",a.data.tooltip),function(a,t){e.each(t.data.previewsData,function(t,d){e(".wmu-action-wrap .wmu-"+t+"-tab",a).html(""),e.each(d,function(d,o){var i=o.id,m="",s=o.fullname,u=o.shortname;t==wpdiscuzAjaxObj.wmuKeyImages?(m=o.url,u=""):t==wpdiscuzAjaxObj.wmuKeyVideos?m=wpdiscuzAjaxObj.wmuIconVideo:t==wpdiscuzAjaxObj.wmuKeyFiles&&(m=wpdiscuzAjaxObj.wmuIconFile);var r='<div class="wmu-preview [PREVIEW_TYPE_CLASS]" title="[PREVIEW_TITLE]" data-wmu-type="[PREVIEW_TYPE]" data-wmu-attachment="[PREVIEW_ID]"><div class="wmu-preview-remove"><img class="wmu-preview-img" src="[PREVIEW_ICON]"><div class="wmu-file-name">[PREVIEW_FILENAME]</div><div class="wmu-delete">&nbsp;</div></div></div>';r=(r=(r=(r=(r=(r=r.replace("[PREVIEW_TYPE_CLASS]","wmu-preview-"+t)).replace("[PREVIEW_TITLE]",s)).replace("[PREVIEW_TYPE]",t)).replace("[PREVIEW_ID]",i)).replace("[PREVIEW_ICON]",m)).replace("[PREVIEW_FILENAME]",u),e(".wmu-action-wrap .wmu-"+t+"-tab",a).removeClass("wmu-hide").append(r)})})}(t,a),a.data.errors&&(wpdiscuzAjaxObj.setCommentMessage(a.data.errors,"error",3e3),console.log(a.data.errors))):a.data.errorCode?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data.errorCode],"error",3e3):a.data.error&&wpdiscuzAjaxObj.setCommentMessage(a.data.error,"error",3e3),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,t,d){console.log(d),e("#wpdiscuz-loading-bar").fadeOut(250)})}(0,t,d)}),e(document).delegate(".wmu-attachment-delete","click",function(a){if(confirm(wpdiscuzAjaxObj.wmuPhraseConfirmDelete)){var t=e(this).data("wmu-attachment"),d=new FormData;d.append("action","wmuDeleteAttachment"),d.append("wmu_nonce",wpdiscuzAjaxObj.wmuSecurity),d.append("attachmentId",t),wpdiscuzAjaxObj.getAjaxObj(!0,!0,d).done(function(a){if(a.success){var d=e(".wmu-attachment-"+t).parents(".wmu-comment-attachments");e(".wmu-attachment-"+t).remove(),e(".wmu-attached-images *",d).length||e(".wmu-attached-images",d).remove(),e(".wmu-attached-videos *",d).length||e(".wmu-attached-videos",d).remove(),e(".wmu-attached-files *",d).length||e(".wmu-attached-files",d).remove()}else a.data.errorCode?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data.errorCode],"error",3e3):a.data.error&&wpdiscuzAjaxObj.setCommentMessage(a.data.error,"error",3e3);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,t,d){console.log(d),e("#wpdiscuz-loading-bar").fadeOut(250)})}else console.log("canceled")}),e(document).delegate(".wmu-preview","click",function(){var a=e(this),t=a.parents(".wpd_comm_form"),d=(a.data("wmu-type"),a.data("wmu-attachment")),o=new FormData;o.append("action","wmuRemoveAttachmentPreview"),o.append("attachmentId",d),o.append("wmu_nonce",wpdiscuzAjaxObj.wmuSecurity),o.append("wmuAttachmentsData",e(".wmu-attachments-data",t).val()),wpdiscuzAjaxObj.getAjaxObj(!0,!0,o).done(function(d){if(d.success){a.remove();var o=e(".wmu-tabs",t);e.each(o,function(a,t){e(".wmu-preview",t).length?e(t).removeClass("wmu-hide"):e(t).addClass("wmu-hide")}),e(".wmu-attached-data-info",t).remove(),e(".wmu-add-files",t).after(d.data.attachmentsHtml),d.data.tooltip&&e(".wmu-upload-wrap").attr("wpd-tooltip",d.data.tooltip)}else d.data.errorCode?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[d.data.errorCode],"error",3e3):d.data.error&&wpdiscuzAjaxObj.setCommentMessage(d.data.error,"error",3e3);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,t,d){console.log(d),e("#wpdiscuz-loading-bar").fadeOut(250)})}),parseInt(wpdiscuzAjaxObj.wmuIsLightbox)){function a(){e(".wmu-lightbox").colorbox({maxHeight:"95%",maxWidth:"95%",rel:"wmu-lightbox",fixed:!0})}a(),wpdiscuzAjaxObj.wmuAddLightBox=a}wpdiscuzAjaxObj.wmuHideAll=function(a,t){"object"==typeof a?a.success?(e(".wmu-tabs",t).addClass("wmu-hide"),e(".wmu-preview",t).remove(),e(".wmu-attached-data-info",t).remove()):console.log(a.data):console.log(a)}});
15
  /* Lity */
16
  !function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(e,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(e,require("jquery")):e.lity=t(e,e.jQuery||e.Zepto)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=e.document,i=t(e),r=t.Deferred,o=t("html"),a=[],l="aria-hidden",s="lity-"+l,d='a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not([tabindex^="-"])',c={esc:!0,handler:null,handlers:{image:C,inline:function(e,n){var i,r,o;try{i=t(e)}catch(e){return!1}if(!i.length)return!1;return r=t('<i style="display:none !important"/>'),o=i.hasClass("lity-hide"),n.element().one("lity:remove",function(){r.before(i).remove(),o&&!i.closest(".lity-content").length&&i.addClass("lity-hide")}),i.removeClass("lity-hide").after(r)},youtube:function(e){var n=f.exec(e);if(!n)return!1;return k(x(e,w("https://www.youtube"+(n[2]||"")+".com/embed/"+n[4],t.extend({autoplay:1},b(n[5]||"")))))},vimeo:function(e){var n=y.exec(e);if(!n)return!1;return k(x(e,w("https://player.vimeo.com/video/"+n[3],t.extend({autoplay:1},b(n[4]||"")))))},googlemaps:function(e){var t=v.exec(e);if(!t)return!1;return k(x(e,w("https://www.google."+t[3]+"/maps?"+t[6],{output:t[6].indexOf("layer=c")>0?"svembed":"embed"})))},facebookvideo:function(e){var n=p.exec(e);if(!n)return!1;0!==e.indexOf("http")&&(e="https:"+e);return k(x(e,w("https://www.facebook.com/plugins/video.php?href="+e,t.extend({autoplay:1},b(n[4]||"")))))},iframe:k},template:'<div class="lity" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="lity-wrap" data-lity-close role="document"><div class="lity-loader" aria-hidden="true">Loading...</div><div class="lity-container"><div class="lity-content"></div><button class="lity-close" type="button" aria-label="Close (Press escape to close)" data-lity-close>&times;</button></div></div></div>'},u=/(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i,f=/(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i,y=/(vimeo(pro)?.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/,v=/((maps|www)\.)?google\.([^\/\?]+)\/?((maps\/?)?\?)(.*)/i,p=/(facebook\.com)\/([a-z0-9_-]*)\/videos\/([0-9]*)(.*)?$/i,m=function(){var e=n.createElement("div"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in t)if(void 0!==e.style[i])return t[i];return!1}();function h(e){var t=r();return m&&e.length?(e.one(m,t.resolve),setTimeout(t.resolve,500)):t.resolve(),t.promise()}function g(e,n,i){if(1===arguments.length)return t.extend({},e);if("string"==typeof n){if(void 0===i)return void 0===e[n]?null:e[n];e[n]=i}else t.extend(e,n);return this}function b(e){for(var t,n=decodeURI(e.split("#")[0]).split("&"),i={},r=0,o=n.length;r<o;r++)n[r]&&(i[(t=n[r].split("="))[0]]=t[1]);return i}function w(e,n){return e+(e.indexOf("?")>-1?"&":"?")+t.param(n)}function x(e,t){var n=e.indexOf("#");return-1===n?t:(n>0&&(e=e.substr(n)),t+e)}function C(e,n){var i=n.opener()&&n.opener().data("lity-desc")||"Image with no description",o=t('<img src="'+e+'" alt="'+i+'"/>'),a=r(),l=function(){var e;a.reject((e="Failed loading image",t('<span class="lity-error"/>').append(e)))};return o.on("load",function(){if(0===this.naturalWidth)return l();a.resolve(o)}).on("error",l),a.promise()}function k(e){return'<div class="lity-iframe-container"><iframe frameborder="0" allowfullscreen src="'+e+'"/></div>'}function E(){return n.documentElement.clientHeight?.9*n.documentElement.clientHeight:Math.round(.9*i.height())}function j(e){var t,i,r,o=z();o&&(27===e.keyCode&&o.options("esc")&&o.close(),9===e.keyCode&&(t=e,i=o.element().find(d),r=i.index(n.activeElement),t.shiftKey&&r<=0?(i.get(i.length-1).focus(),t.preventDefault()):t.shiftKey||r!==i.length-1||(i.get(0).focus(),t.preventDefault())))}function D(){t.each(a,function(e,t){t.resize()})}function z(){return 0===a.length?null:a[0]}function T(e,d,u,f){var y,v,p,m,b,w,x,C,k,z,T,O=this,q=!1,W=!1;d=t.extend({},c,d),v=t(d.template),O.element=function(){return v},O.opener=function(){return u},O.options=t.proxy(g,O,d),O.handlers=t.proxy(g,O,d.handlers),O.resize=function(){q&&!W&&p.css("max-height",E()+"px").trigger("lity:resize",[O])},O.close=function(){if(q&&!W){var e;W=!0,(e=O).element().attr(l,"true"),1===a.length&&(o.removeClass("lity-active"),i.off({resize:D,keydown:j})),((a=t.grep(a,function(t){return e!==t})).length?a[0].element():t(".lity-hidden")).removeClass("lity-hidden").each(function(){var e=t(this),n=e.data(s);n?e.attr(l,n):e.removeAttr(l),e.removeData(s)});var d=r();if(f&&(n.activeElement===v[0]||t.contains(v[0],n.activeElement)))try{f.focus()}catch(e){}return p.trigger("lity:close",[O]),v.removeClass("lity-opened").addClass("lity-closed"),h(p.add(v)).always(function(){p.trigger("lity:remove",[O]),v.remove(),v=void 0,d.resolve()}),d.promise()}},m=e,b=O,w=d.handlers,x=d.handler,k="inline",z=t.extend({},w),x&&z[x]?(C=z[x](m,b),k=x):(t.each(["inline","iframe"],function(e,t){delete z[t],z[t]=w[t]}),t.each(z,function(e,t){return!t||!(!t.test||t.test(m,b))||(!1!==(C=t(m,b))?(k=e,!1):void 0)})),y={handler:k,content:C||""},v.attr(l,"false").addClass("lity-loading lity-opened lity-"+y.handler).appendTo("body").focus().on("click","[data-lity-close]",function(e){t(e.target).is("[data-lity-close]")&&O.close()}).trigger("lity:open",[O]),T=O,1===a.unshift(T)&&(o.addClass("lity-active"),i.on({resize:D,keydown:j})),t("body > *").not(T.element()).addClass("lity-hidden").each(function(){var e=t(this);void 0===e.data(s)&&e.data(s,e.attr(l)||null)}).attr(l,"true"),t.when(y.content).always(function(e){p=t(e).css("max-height",E()+"px"),v.find(".lity-loader").each(function(){var e=t(this);h(e).always(function(){e.remove()})}),v.removeClass("lity-loading").find(".lity-content").empty().append(p),q=!0,p.trigger("lity:ready",[O])})}function O(e,i,r){e.preventDefault?(e.preventDefault(),e=(r=t(this)).data("lity-target")||r.attr("rel")||r.attr("src")):r=t(r);var o=new T(e,t.extend({},r.data("lity-options")||r.data("lity"),i),r,n.activeElement);if(!e.preventDefault)return o}return C.test=function(e){return u.test(e)},O.version="2.2.2",O.options=t.proxy(g,O,c),O.handlers=t.proxy(g,O,c.handlers),O.current=z,t(n).on("click.lity","[data-wpd-lity]",O),O});
17
  /* My Content and Settings */
18
- jQuery(document).ready(function(e){var t=0,d=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),n=parseInt(wpdiscuzUCObj.additionalTab);e(document).delegate(".wpd-info,.wpd-page-link,.wpd-delete-content,.wpd-user-email-delete-links","click",function(e){e.preventDefault()}),e(document).delegate(".wpd-info.wpd-not-clicked","click",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var i=new FormData;return i.append("action","wpdGetInfo"),function(t,a){var i=e(".fas",t),o=i.attr("class");i.removeClass(),i.addClass("fas fa-pulse fa-spinner"),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,a).done(function(d){t.addClass("wpd-not-clicked"),i.removeClass(),i.addClass(o),d&&(e("#wpdUserContentInfo").html(d),e("#wpdUserContentInfo ul.wpd-list .wpd-list-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo div.wpd-content .wpd-content-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo").is(":visible")||e("#wpdUserContentInfoAnchor").trigger("click"))})}(a,i),!1}),e(document).delegate(".wpd-list-item","click",function(){var t=e("input.wpd-rel",this).val();e("#wpdUserContentInfo .wpd-list-item").removeClass("wpd-active"),e("#wpdUserContentInfo .wpd-content-item").removeClass("wpd-active");var a=e(this);if(e("#wpdUserContentInfo #"+t).text().length)a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).addClass("wpd-active");else{var i=new FormData;i.append("action",a.attr("data-action")),i.append("page",0),e("#wpdUserContentInfo #"+t).addClass("wpd-active"),e("#wpdUserContentInfo #"+t).css("text-align","center"),wpdiscuzAjaxObj.getAjaxObj(d||n,!0,i).done(function(d){d&&(e("#wpdUserContentInfo #"+t).css("text-align",""),a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).html(d)),e("#wpdiscuz-loading-bar").hide()})}}),e(document).delegate(".wpd-page-link.wpd-not-clicked","click",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var i=a.data("wpd-page"),o=e(".wpd-active .wpd-pagination .wpd-action").val(),s=new FormData;s.append("action",o),s.append("page",i),wpdiscuzAjaxObj.getAjaxObj(d||n,!0,s).done(function(t){a.addClass("wpd-not-clicked"),t&&e(".wpd-content-item.wpd-active").html(t),e("#wpdiscuz-loading-bar").hide()})}),e(document).delegate(".wpd-delete-content.wpd-not-clicked","click",function(){var a=e(this),i=parseInt(a.data("wpd-content-id"));if(!isNaN(i)){var o=a.data("wpd-delete-action");if("wpdDeleteComment"==o&&!confirm(wpdiscuzUCObj.msgConfirmDeleteComment))return!1;if("wpdCancelSubscription"==o&&!confirm(wpdiscuzUCObj.msgConfirmCancelSubscription))return!1;if("wpdCancelFollow"==o&&!confirm(wpdiscuzUCObj.msgConfirmCancelFollow))return!1;var s=e("i",a),c=s.attr("class"),l=e(".wpd-wrapper .wpd-page-number").val(),p=e(".wpd-content-item.wpd-active").children(".wpd-item").length;a.removeClass("wpd-not-clicked"),s.removeClass().addClass("fas fa-pulse fa-spinner"),1==p&&l>0&&(l-=1);var w=new FormData;w.append("id",i),w.append("page",l),w.append("action",o),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,w).done(function(d){a.addClass("wpd-not-clicked"),s.removeClass().addClass(c),e(".wpd-content-item.wpd-active").html(d),t=1})}}),e(document).delegate("[data-lity-close]","click",function(d){e(d.target).is("[data-lity-close]")&&t&&window.location.reload(!0)}),e(document).delegate(".wpd-user-email-delete-links.wpd-not-clicked","click",function(){var t=e(this);t.removeClass("wpd-not-clicked"),e(".wpd-loading",t).addClass("wpd-show");var a=new FormData;a.append("action","wpdEmailDeleteLinks"),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,a).done(function(d){t.addClass("wpd-not-clicked"),e("[data-lity-close]",window.parent.document).trigger("click")})}),e(document).delegate(".wpd-user-settings-button.wpd-not-clicked","click",function(){var t=e(this);t.removeClass("wpd-not-clicked");var a=t.data("wpd-delete-action");if(console.log(a),"deleteCookies"!==a){t.find(".wpd-loading").addClass("wpd-show");var i=new FormData;i.append("action","wpdGuestAction"),i.append("guestAction",a),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,i).done(function(d){t.addClass("wpd-not-clicked"),t.find(".wpd-loading").removeClass("wpd-show");try{var n=e.parseJSON(d);t.after(n.message);var a=t.next(".wpd-guest-action-message");a.fadeIn(100).fadeOut(7e3,function(){a.remove(),1===parseInt(n.code)&&(t.parent().remove(),e(".wpd-delete-all-comments").length||e(".wpd-delete-all-subscriptions").length||e(".wpd-delete-all-cookies").parent().addClass("wpd-show"))})}catch(e){console.log(e)}})}else!function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var d=e[t],n=d.indexOf("="),a=n>-1?d.substr(0,n):d;Cookies.remove(a.trim())}location.reload(!0)}()})});
19
  /* Social */
20
  function wpcShareCommentFB(e,s){FB.ui({method:"share",href:e,quote:s},function(e){})}(wpdiscuzAjaxObj.enableFbLogin||wpdiscuzAjaxObj.enableFbShare)&&wpdiscuzAjaxObj.facebookAppID&&(!function(e,s,n){var o,a=e.getElementsByTagName(s)[0];e.getElementById(n)||((o=e.createElement(s)).id=n,o.src="//connect.facebook.net/en_US/sdk.js",a.parentNode.insertBefore(o,a))}(document,"script","facebook-jssdk"),window.fbAsyncInit=function(){FB.init({appId:wpdiscuzAjaxObj.facebookAppID,cookie:!0,xfbml:!0,version:"v7.0"})}),jQuery(document).ready(function(e){var s;(s=Cookies.get("wpdiscuz_social_login_message"))&&"undefined"!==s&&(Cookies.remove("wpdiscuz_social_login_message"),wpdiscuzAjaxObj.setCommentMessage(decodeURIComponent(s.replace(/\+/g,"%20")),"error")),Cookies.get("wpdiscuz_scroll_to_comments")&&(Cookies.remove("wpdiscuz_scroll_to_comments",{path:"/"}),e("html, body").animate({scrollTop:e("#comments").offset().top-32},1e3)),e(document).delegate(".wpd-comment-share .fa-facebook-f","click",function(){if(1==wpdiscuzAjaxObj.enableFbShare){var s=e(this).parents(".wpd-comment").find(".wpd-comment-right").attr("id"),n=window.location.href;-1!==n.indexOf("#")&&(n=n.substring(0,n.indexOf("#"))),wpcShareCommentFB(n+="#"+s,e(this).parents(".wpd-comment-right").find(".wpd-comment-text").text())}});var n="";function o(e,s){var n,o="";t(s,1),Cookies.set("wpdiscuz_scroll_to_comments",1,{path:"/"}),"facebook"===e&&0==wpdiscuzAjaxObj.facebookUseOAuth2?FB.getLoginStatus(function(t){"connected"===t.status?(n=t.authResponse.accessToken,o=t.authResponse.userID,a(e,n,o,s)):FB.login(function(t){"connected"===t.status&&(n=t.authResponse.accessToken,o=t.authResponse.userID,a(e,n,o,s))},{scope:"public_profile,email"})}):a(e,n,o,s)}function a(s,n,o,a){return e.ajax({type:"POST",url:wpdiscuzAjaxObj.url,data:{action:"wpd_social_login",provider:s,token:n,userID:o,postID:wpdiscuzAjaxObj.wc_post_id}}).done(function(s){!function(s,n){try{var o=e.parseJSON(s),a=o.code,i=o.message,c=o.url;200===parseInt(a)?location.assign(c):wpdiscuzAjaxObj.setCommentMessage(i,"error")}catch(e){console.log(e)}t(n,0)}(s,a)}),""}function t(e,s){1===s?e.find(".wpdiscuz-social-login-spinner").show():e.find(".wpdiscuz-social-login-spinner").hide()}e(document).delegate("#wpdcom .wpd-social-login .wpdiscuz-login-button","click",function(){var s=e(this).parents(".wpd-social-login");!function(e,s){1!=parseInt(wpdiscuzAjaxObj.socialLoginAgreementCheckbox)||1==Cookies.get("socialLoginAgreementConfirmed")?o(e,s):s.parents(".wpd-form-wrap, .wpd-form").find(".wpd-social-login-agreement").first().slideDown(700)}(n=function(e){var s="";e.hasClass("wpdsn-fb")&&(s="facebook");e.hasClass("wpdsn-insta")&&(s="instagram");e.hasClass("wpdsn-gg")&&(s="google");e.hasClass("wpdsn-ds")&&(s="disqus");e.hasClass("wpdsn-wp")&&(s="wordpress");e.hasClass("wpdsn-tw")&&(s="twitter");e.hasClass("wpdsn-vk")&&(s="vk");e.hasClass("wpdsn-ok")&&(s="ok");e.hasClass("wpdsn-linked")&&(s="linkedin");e.hasClass("wpdsn-yandex")&&(s="yandex");e.hasClass("wpdsn-mailru")&&(s="mailru");e.hasClass("wpdsn-weixin")&&(s="wechat");e.hasClass("wpdsn-weibo")&&(s="weibo");e.hasClass("wpdsn-qq")&&(s="qq");e.hasClass("wpdsn-baidu")&&(s="baidu");return s}(e(this)),s)}),e(document).delegate("#wpdcom .wpd-agreement-buttons-right .wpd-agreement-button","click",function(){var s=e(this).parents(".wpd-form-wrap, .wpd-form").find(".wpd-social-login-agreement").slideUp(700);e(this).hasClass("wpd-agreement-button-agree")&&(wpdiscuzAjaxObj.isCookiesEnabled&&Cookies.set("socialLoginAgreementConfirmed",1,{expires:30,path:"/"}),o(n,s))})});
3
  /* Quill */
4
  !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Quill=e():t.Quill=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=45)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),l=n(48),a=n(49),s=n(50),u=n(51),c=n(52),f=n(11),h=n(29),p=n(30),d=n(28),y=n(1),v={Scope:y.Scope,create:y.create,find:y.find,query:y.query,register:y.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:u.default,Scroll:l.default,Block:s.default,Inline:a.default,Text:c.default,Attributor:{Attribute:f.default,Class:h.default,Style:p.default,Store:d.default}};e.default=v},function(t,e,n){"use strict";function r(t,e){var n=i(t);if(null==n)throw new s("Unable to create "+t+" blot");var r=n;return new r(t instanceof Node||t.nodeType===Node.TEXT_NODE?t:r.create(e),e)}function o(t,n){return void 0===n&&(n=!1),null==t?null:null!=t[e.DATA_KEY]?t[e.DATA_KEY].blot:n?o(t.parentNode,n):null}function i(t,e){void 0===e&&(e=p.ANY);var n;if("string"==typeof t)n=h[t]||u[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=h.text;else if("number"==typeof t)t&p.LEVEL&p.BLOCK?n=h.block:t&p.LEVEL&p.INLINE&&(n=h.inline);else if(t instanceof HTMLElement){var r=(t.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=c[r[o]])break;n=n||f[t.tagName]}return null==n?null:e&p.LEVEL&n.scope&&e&p.TYPE&n.scope?n:null}function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length>1)return t.map(function(t){return l(t)});var n=t[0];if("string"!=typeof n.blotName&&"string"!=typeof n.attrName)throw new s("Invalid definition");if("abstract"===n.blotName)throw new s("Cannot register abstract class");if(h[n.blotName||n.attrName]=n,"string"==typeof n.keyName)u[n.keyName]=n;else if(null!=n.className&&(c[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map(function(t){return t.toUpperCase()}):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach(function(t){null!=f[t]&&null!=n.className||(f[t]=n)})}return n}var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=this;return e="[Parchment] "+e,n=t.call(this,e)||this,n.message=e,n.name=n.constructor.name,n}return a(e,t),e}(Error);e.ParchmentError=s;var u={},c={},f={},h={};e.DATA_KEY="__blot";var p;!function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(p=e.Scope||(e.Scope={})),e.create=r,e.find=o,e.query=i,e.register=l},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===r.call(t)},i=function(t){if(!t||"[object Object]"!==r.call(t))return!1;var e=n.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!e&&!o)return!1;var i;for(i in t);return void 0===i||n.call(t,i)};t.exports=function t(){var e,n,r,l,a,s,u=arguments[0],c=1,f=arguments.length,h=!1;for("boolean"==typeof u&&(h=u,u=arguments[1]||{},c=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});c<f;++c)if(null!=(e=arguments[c]))for(n in e)r=u[n],l=e[n],u!==l&&(h&&l&&(i(l)||(a=o(l)))?(a?(a=!1,s=r&&o(r)?r:[]):s=r&&i(r)?r:{},u[n]=t(h,s,l)):void 0!==l&&(u[n]=l));return u}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,f.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:a(t.parent,e))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},c=n(2),f=r(c),h=n(4),p=r(h),d=n(0),y=r(d),v=n(14),b=r(v),g=n(5),m=r(g),_=n(8),O=r(_),w=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),s(e,[{key:"attach",value:function(){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new y.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new p.default).insert(this.value(),(0,f.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=y.default.query(t,y.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,r){this.format(n,r)}},{key:"insertAt",value:function(t,n,r){if("string"==typeof n&&n.endsWith("\n")){var o=y.default.create(x.blotName);this.parent.insertBefore(o,0===t?this:this.next),o.insertAt(0,n.slice(0,-1))}else u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r)}}]),e}(y.default.Embed);w.scope=y.default.Scope.BLOCK_BLOT;var x=function(t){function e(t){o(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return l(e,t),s(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(y.default.Leaf).reduce(function(t,e){return 0===e.length()?t:t.insert(e.value(),a(e))},new p.default).insert("\n",a(this))),this.cache.delta}},{key:"deleteAt",value:function(t,n){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),this.cache={}}},{key:"formatAt",value:function(t,n,r,o){n<=0||(y.default.query(r,y.default.Scope.BLOCK)?t+n===this.length()&&this.format(r,o):u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(n,this.length()-t-1),r,o),this.cache={})}},{key:"insertAt",value:function(t,n,r){if(null!=r)return u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);if(0!==n.length){var o=n.split("\n"),i=o.shift();i.length>0&&(t<this.length()-1||null==this.children.tail?u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});var l=this;o.reduce(function(t,e){return l=l.split(t,!0),l.insertAt(0,e),e.length},t+i.length)}}},{key:"insertBefore",value:function(t,n){var r=this.children.head;u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n),r instanceof b.default&&r.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(t,n){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,n),this.cache={}}},{key:"optimize",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},o}}]),e}(y.default.Block);x.blotName="block",x.tagName="P",x.defaultChild="break",x.allowedChildren=[m.default,y.default.Embed,O.default],e.bubbleFormats=a,e.BlockEmbed=w,e.default=x},function(t,e,n){var r=n(54),o=n(12),i=n(2),l=n(20),a=String.fromCharCode(0),s=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};s.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},s.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},s.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},s.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=i(!0,{},t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,"object"!=typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(o(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},s.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},s.prototype.filter=function(t){return this.ops.filter(t)},s.prototype.forEach=function(t){this.ops.forEach(t)},s.prototype.map=function(t){return this.ops.map(t)},s.prototype.partition=function(t){var e=[],n=[];return this.forEach(function(r){(t(r)?e:n).push(r)}),[e,n]},s.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},s.prototype.changeLength=function(){return this.reduce(function(t,e){return e.insert?t+l.length(e):e.delete?t-e.delete:t},0)},s.prototype.length=function(){return this.reduce(function(t,e){return t+l.length(e)},0)},s.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var n=[],r=l.iterator(this.ops),o=0;o<e&&r.hasNext();){var i;o<t?i=r.next(t-o):(i=r.next(e-o),n.push(i)),o+=l.length(i)}return new s(n)},s.prototype.compose=function(t){for(var e=l.iterator(this.ops),n=l.iterator(t.ops),r=new s;e.hasNext()||n.hasNext();)if("insert"===n.peekType())r.push(n.next());else if("delete"===e.peekType())r.push(e.next());else{var o=Math.min(e.peekLength(),n.peekLength()),i=e.next(o),a=n.next(o);if("number"==typeof a.retain){var u={};"number"==typeof i.retain?u.retain=o:u.insert=i.insert;var c=l.attributes.compose(i.attributes,a.attributes,"number"==typeof i.retain);c&&(u.attributes=c),r.push(u)}else"number"==typeof a.delete&&"number"==typeof i.retain&&r.push(a)}return r.chop()},s.prototype.concat=function(t){var e=new s(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},s.prototype.diff=function(t,e){if(this.ops===t.ops)return new s;var n=[this,t].map(function(e){return e.map(function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:a;var r=e===t?"on":"with";throw new Error("diff() called "+r+" non-document")}).join("")}),i=new s,u=r(n[0],n[1],e),c=l.iterator(this.ops),f=l.iterator(t.ops);return u.forEach(function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case r.INSERT:n=Math.min(f.peekLength(),e),i.push(f.next(n));break;case r.DELETE:n=Math.min(e,c.peekLength()),c.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(c.peekLength(),f.peekLength(),e);var a=c.next(n),s=f.next(n);o(a.insert,s.insert)?i.retain(n,l.attributes.diff(a.attributes,s.attributes)):i.push(s).delete(n)}e-=n}}),i.chop()},s.prototype.eachLine=function(t,e){e=e||"\n";for(var n=l.iterator(this.ops),r=new s,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),a=l.length(i)-n.peekLength(),u="string"==typeof i.insert?i.insert.indexOf(e,a)-a:-1;if(u<0)r.push(n.next());else if(u>0)r.push(n.next(u));else{if(!1===t(r,n.next(1).attributes||{},o))return;o+=1,r=new s}}r.length()>0&&t(r,{},o)},s.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var n=l.iterator(this.ops),r=l.iterator(t.ops),o=new s;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),a=n.next(i),u=r.next(i);if(a.delete)continue;u.delete?o.push(u):o.retain(i,l.attributes.transform(a.attributes,u.attributes,e))}else o.retain(l.length(n.next()));return o.chop()},s.prototype.transformPosition=function(t,e){e=!!e;for(var n=l.iterator(this.ops),r=0;n.hasNext()&&r<=t;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r<t||!e)&&(t+=o),r+=o):t-=Math.min(o,t-r)}return t},t.exports=s},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=n(8),c=r(u),f=n(0),h=r(f),p=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),a(e,[{key:"formatAt",value:function(t,n,r,o){if(e.compare(this.statics.blotName,r)<0&&h.default.query(r,h.default.Scope.BLOT)){var i=this.isolate(t,n);o&&i.wrap(r,o)}else s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,o)}},{key:"optimize",value:function(t){if(s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var r=e.order.indexOf(t),o=e.order.indexOf(n);return r>=0||o>=0?r-o:t===n?0:t<n?-1:1}}]),e}(h.default.Inline);p.allowedChildren=[p,h.default.Embed,c.default],p.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(e=(0,N.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e),e.theme&&e.theme!==S.DEFAULTS.theme){if(e.theme=S.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=T.default;var n=(0,N.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach(function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach(function(e){!0===t.modules[e]&&(t.modules[e]={})})});var r=Object.keys(n.modules).concat(Object.keys(e.modules)),o=r.reduce(function(t,e){var n=S.import("modules/"+e);return null==n?P.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t},{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,N.default)(!0,{},S.DEFAULTS,{modules:o},n,e),["bounds","container","scrollingContainer"].forEach(function(t){"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),e.modules=Object.keys(e.modules).reduce(function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t},{}),e}function a(t,e,n,r){if(this.options.strict&&!this.isEnabled()&&e===g.default.sources.USER)return new d.default;var o=null==n?null:this.getSelection(),i=this.editor.delta,l=t();if(null!=o&&(!0===n&&(n=o.index),null==r?o=u(o,l,e):0!==r&&(o=u(o,n,r,e)),this.setSelection(o,g.default.sources.SILENT)),l.length()>0){var a,s=[g.default.events.TEXT_CHANGE,l,i,e];if((a=this.emitter).emit.apply(a,[g.default.events.EDITOR_CHANGE].concat(s)),e!==g.default.sources.SILENT){var c;(c=this.emitter).emit.apply(c,s)}}return l}function s(t,e,n,r,o){var i={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(o=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(o=r,r=n,n=e,e=0),"object"===(void 0===n?"undefined":c(n))?(i=n,o=r):"string"==typeof n&&(null!=r?i[n]=r:o=n),o=o||g.default.sources.API,[t,e,i,o]}function u(t,e,n,r){if(null==t)return null;var o=void 0,i=void 0;if(e instanceof d.default){var l=[t.index,t.index+t.length].map(function(t){return e.transformPosition(t,r!==g.default.sources.USER)}),a=f(l,2);o=a[0],i=a[1]}else{var s=[t.index,t.index+t.length].map(function(t){return t<e||t===e&&r===g.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)}),u=f(s,2);o=u[0],i=u[1]}return new x.Range(o,i-o)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();n(53);var p=n(4),d=r(p),y=n(57),v=r(y),b=n(9),g=r(b),m=n(7),_=r(m),O=n(0),w=r(O),x=n(22),k=r(x),E=n(2),N=r(E),j=n(10),A=r(j),q=n(32),T=r(q),P=(0,A.default)("quill"),S=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,t),this.options=l(e,r),this.container=this.options.container,null==this.container)return P.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new g.default,this.scroll=w.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new v.default(this.scroll),this.selection=new k.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(g.default.events.EDITOR_CHANGE,function(t){t===g.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())}),this.emitter.on(g.default.events.SCROLL_UPDATE,function(t,e){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;a.call(n,function(){return n.editor.update(null,e,o)},t)});var s=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(s),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return h(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),A.default.level(t)}},{key:"find",value:function(t){return t.__quill||w.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&P.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof t){var o=t.attrName||t.blotName;"string"==typeof o?this.register("formats/"+o,t,e):Object.keys(t).forEach(function(r){n.register(r,t[r],e)})}else null==this.imports[t]||r||P.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?w.default.register(e):t.startsWith("modules")&&"function"==typeof e.register&&e.register()}}]),h(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){var n=t;t=document.createElement("div"),t.classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var r=this,o=s(t,e,n),i=f(o,4);return t=i[0],e=i[1],n=i[3],a.call(this,function(){return r.editor.deleteText(t,e)},n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.default.sources.API;return a.call(this,function(){var r=n.getSelection(!0),i=new d.default;if(null==r)return i;if(w.default.query(t,w.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,o({},t,e));else{if(0===r.length)return n.selection.format(t,e),i;i=n.editor.formatText(r.index,r.length,o({},t,e))}return n.setSelection(r,g.default.sources.SILENT),i},r)}},{key:"formatLine",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,e,n,r,o),c=f(u,4);return t=c[0],e=c[1],l=c[2],o=c[3],a.call(this,function(){return i.editor.formatLine(t,e,l)},o,t,0)}},{key:"formatText",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,e,n,r,o),c=f(u,4);return t=c[0],e=c[1],l=c[2],o=c[3],a.call(this,function(){return i.editor.formatText(t,e,l)},o,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=s(t,e),r=f(n,2);return t=r[0],e=r[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=s(t,e),r=f(n,2);return t=r[0],e=r[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return a.call(this,function(){return o.editor.insertEmbed(e,n,r)},i,e)}},{key:"insertText",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,0,n,r,o),c=f(u,4);return t=c[0],l=c[2],o=c[3],a.call(this,function(){return i.editor.insertText(t,e,l)},o,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var r=this,o=s(t,e,n),i=f(o,4);return t=i[0],e=i[1],n=i[3],a.call(this,function(){return r.editor.removeFormat(t,e)},n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API;return a.call(this,function(){t=new d.default(t);var n=e.getLength(),r=e.editor.deleteText(0,n),o=e.editor.applyDelta(t),i=o.ops[o.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),o.delete(1)),r.compose(o)},n)}},{key:"setSelection",value:function(e,n,r){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var o=s(e,n,r),i=f(o,4);e=i[0],n=i[1],r=i[3],this.selection.setRange(new x.Range(e,n),r),r!==g.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API,n=(new d.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API;return a.call(this,function(){return t=new d.default(t),e.editor.applyDelta(t,n)},n,!0)}}]),t}();S.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},S.events=g.default.events,S.sources=g.default.sources,S.version="1.3.6",S.imports={delta:d.default,parchment:w.default,"core/module":_.default,"core/theme":T.default},e.expandConfig=l,e.overload=s,e.default=S},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),this.quill=e,this.options=n};o.DEFAULTS={},e.default=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(0),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default.Text);e.default=s},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=n(58),c=r(u),f=n(10),h=r(f),p=(0,h.default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(function(t){document.addEventListener(t,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(t){if(t.__quill&&t.__quill.emitter){var n;(n=t.__quill.emitter).handleDOM.apply(n,e)}})})});var d=function(t){function e(){o(this,e);var t=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",p.error),t}return l(e,t),a(e,[{key:"emit",value:function(){p.log.apply(p,arguments),s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];(this.listeners[t.type]||[]).forEach(function(e){var r=e.node,o=e.handler;(t.target===r||r.contains(t.target))&&o.apply(void 0,[t].concat(n))})}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}(c.default);d.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},d.sources={API:"api",SILENT:"silent",USER:"user"},e.default=d},function(t,e,n){"use strict";function r(t){if(i.indexOf(t)<=i.indexOf(l)){for(var e,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(e=console)[t].apply(e,r)}}function o(t){return i.reduce(function(e,n){return e[n]=r.bind(console,n,t),e},{})}Object.defineProperty(e,"__esModule",{value:!0});var i=["error","warn","log","info"],l="warn";r.level=o.level=function(t){l=t},e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var o=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|o:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,function(t){return t.name})},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=r.query(t,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||("string"==typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=o},function(t,e,n){function r(t){return null===t||void 0===t}function o(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&("function"==typeof t.copy&&"function"==typeof t.slice&&!(t.length>0&&"number"!=typeof t[0]))}function i(t,e,n){var i,c;if(r(t)||r(e))return!1;if(t.prototype!==e.prototype)return!1;if(s(t))return!!s(e)&&(t=l.call(t),e=l.call(e),u(t,e,n));if(o(t)){if(!o(e))return!1;if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}try{var f=a(t),h=a(e)}catch(t){return!1}if(f.length!=h.length)return!1;for(f.sort(),h.sort(),i=f.length-1;i>=0;i--)if(f[i]!=h[i])return!1;for(i=f.length-1;i>=0;i--)if(c=f[i],!u(t[c],e[c],n))return!1;return typeof t==typeof e}var l=Array.prototype.slice,a=n(55),s=n(56),u=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:i(t,e,n))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},c=n(4),f=r(c),h=n(0),p=r(h),d=n(3),y=r(d),v=n(5),b=r(v),g=n(8),m=r(g),_=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(b.default);_.blotName="code",_.tagName="CODE";var O=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),s(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce(function(e,n){return e.insert(n).insert("\n",t.formats())},new f.default)}},{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n){var r=this.descendant(m.default,this.length()-1),o=a(r,1),i=o[0];null!=i&&i.deleteAt(i.length()-1,1),u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}},{key:"formatAt",value:function(t,n,r,o){if(0!==n&&null!=p.default.query(r,p.default.Scope.BLOCK)&&(r!==this.statics.blotName||o!==this.statics.formats(this.domNode))){var i=this.newlineIndex(t);if(!(i<0||i>=t+n)){var l=this.newlineIndex(t,!0)+1,a=i-l+1,s=this.isolate(l,a),u=s.next;s.format(r,o),u instanceof e&&u.formatAt(0,t-l+n-a,r,o)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var r=this.descendant(m.default,t),o=a(r,2),i=o[0],l=o[1];i.insertAt(l,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var e=this.domNode.textContent.slice(t).indexOf("\n");return e>-1?t+e:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(p.default.create("text","\n")),u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(t){var e=p.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof p.default.Embed?e.remove():e.unwrap()})}}],[{key:"create",value:function(t){var n=u(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(y.default);O.blotName="code-block",O.tagName="PRE",O.TAB=" ",e.Code=_,e.default=O},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(0),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"insertInto",value:function(t,n){0===t.children.length?a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(u.default.Embed);c.blotName="break",c.tagName="BR",e.default=c},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function l(t,e){var n=document.createElement("a");n.href=t;var r=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(r)>-1}Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=n(5),c=function(t){return t&&t.__esModule?t:{default:t}}(u),f=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),a(e,[{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n)return s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(t){var n=s(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),n.setAttribute("href",t),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return l(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(c.default);f.blotName="link",f.tagName="A",f.SANITIZED_URL="about:blank",f.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=f,e.sanitize=l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}Object.defineProperty(e,"__esModule",{value:!0});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(25),u=r(s),c=n(106),f=r(c),h=0,p=function(){function t(e){var n=this;o(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){n.togglePicker()}),this.label.addEventListener("keydown",function(t){switch(t.keyCode){case u.default.keys.ENTER:n.togglePicker();break;case u.default.keys.ESCAPE:n.escape(),t.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}return a(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),i(this.label,"aria-expanded"),i(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),t.hasAttribute("value")&&n.setAttribute("data-value",t.getAttribute("value")),t.textContent&&n.setAttribute("data-label",t.textContent),n.addEventListener("click",function(){e.selectItem(n,!0)}),n.addEventListener("keydown",function(t){switch(t.keyCode){case u.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case u.default.keys.ESCAPE:e.escape(),t.preventDefault()}}),n}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=f.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+h,h+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach(function(n){var r=t.buildItem(n);e.appendChild(r),!0===n.selected&&t.selectItem(r)}),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach(function(e){t.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout(function(){return t.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":l(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=p},function(t,e,n){"use strict";function r(t){var e=a.find(t);if(null==e)try{e=a.create(t)}catch(n){e=a.create(a.Scope.INLINE),[].slice.call(t.childNodes).forEach(function(t){e.domNode.appendChild(t)}),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(47),l=n(27),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return o(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach(function(t){t.attach()})},e.prototype.build=function(){var t=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(e){try{var n=r(e);t.insertBefore(n,t.children.head||void 0)}catch(t){if(t instanceof a.ParchmentError)return;throw t}})},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,function(t,e,n){t.deleteAt(e,n)})},e.prototype.descendant=function(t,n){var r=this.children.find(n),o=r[0],i=r[1];return null==t.blotName&&t(o)||null!=t.blotName&&o instanceof t?[o,i]:o instanceof e?o.descendant(t,i):[null,-1]},e.prototype.descendants=function(t,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],i=r;return this.children.forEachAt(n,r,function(n,r,l){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&o.push(n),n instanceof e&&(o=o.concat(n.descendants(t,r,i))),i-=l}),o},e.prototype.detach=function(){this.children.forEach(function(t){t.detach()}),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,r){this.children.forEachAt(t,e,function(t,e,o){t.formatAt(e,o,n,r)})},e.prototype.insertAt=function(t,e,n){var r=this.children.find(t),o=r[0],i=r[1];if(o)o.insertAt(i,e,n);else{var l=null==n?a.create("text",e):a.create(e,n);this.appendChild(l)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(e){return t instanceof e}))throw new a.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce(function(t,e){return t+e.length()},0)},e.prototype.moveChildren=function(t,e){this.children.forEach(function(n){t.insertBefore(n,e)})},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=a.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var r=this.children.find(t,n),o=r[0],i=r[1],l=[[this,t]];return o instanceof e?l.concat(o.path(i,n)):(null!=o&&l.push([o,i]),l)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),function(t,r,o){t=t.split(r,e),n.appendChild(t)}),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,o=[],i=[];t.forEach(function(t){t.target===n.domNode&&"childList"===t.type&&(o.push.apply(o,t.addedNodes),i.push.apply(i,t.removedNodes))}),i.forEach(function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=a.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}}),o.filter(function(t){return t.parentNode==n.domNode}).sort(function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(t){var e=null;null!=t.nextSibling&&(e=a.find(t.nextSibling));var o=r(t);o.next==e&&null!=o.next||(null!=o.parent&&o.parent.removeChild(n),n.insertBefore(o,e||void 0))})},e}(l.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(11),i=n(28),l=n(17),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new i.default(n.domNode),n}return r(e,t),e.formats=function(t){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=a.query(t);n instanceof o.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var r=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(r),r},e.prototype.update=function(e,n){var r=this;t.prototype.update.call(this,e,n),e.some(function(t){return t.target===r.domNode&&"attributes"===t.type})&&this.attributes.build()},e.prototype.wrap=function(n,r){var o=t.prototype.wrap.call(this,n,r);return o instanceof e&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},e}(l.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(27),i=n(1),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){return t={},t[this.statics.blotName]=this.statics.value(this.domNode)||!0,t;var t},e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=l},function(t,e,n){function r(t){this.ops=t,this.index=0,this.offset=0}var o=n(12),i=n(2),l={attributes:{compose:function(t,e,n){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var r=i(!0,{},e);n||(r=Object.keys(r).reduce(function(t,e){return null!=r[e]&&(t[e]=r[e]),t},{}));for(var o in t)void 0!==t[o]&&void 0===e[o]&&(r[o]=t[o]);return Object.keys(r).length>0?r:void 0},diff:function(t,e){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce(function(n,r){return o(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n},{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!=typeof t)return e;if("object"==typeof e){if(!n)return e;var r=Object.keys(e).reduce(function(n,r){return void 0===t[r]&&(n[r]=e[r]),n},{});return Object.keys(r).length>0?r:void 0}}},iterator:function(t){return new r(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};r.prototype.hasNext=function(){return this.peekLength()<1/0},r.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,r=l.length(e);if(t>=r-n?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var o={};return e.attributes&&(o.attributes=e.attributes),"number"==typeof e.retain?o.retain=t:"string"==typeof e.insert?o.insert=e.insert.substr(n,t):o.insert=e.insert,o}return{retain:1/0}},r.prototype.peek=function(){return this.ops[this.index]},r.prototype.peekLength=function(){return this.ops[this.index]?l.length(this.ops[this.index])-this.offset:1/0},r.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},t.exports=l},function(t,e){var n=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}function e(n,r,o,i,c){function f(n,o){if(null===n)return null;if(0===o)return n;var y,v;if("object"!=typeof n)return n;if(t(n,a))y=new a;else if(t(n,s))y=new s;else if(t(n,u))y=new u(function(t,e){n.then(function(e){t(f(e,o-1))},function(t){e(f(t,o-1))})});else if(e.__isArray(n))y=[];else if(e.__isRegExp(n))y=new RegExp(n.source,l(n)),n.lastIndex&&(y.lastIndex=n.lastIndex);else if(e.__isDate(n))y=new Date(n.getTime());else{if(d&&Buffer.isBuffer(n))return y=new Buffer(n.length),n.copy(y),y;t(n,Error)?y=Object.create(n):void 0===i?(v=Object.getPrototypeOf(n),y=Object.create(v)):(y=Object.create(i),v=i)}if(r){var b=h.indexOf(n);if(-1!=b)return p[b];h.push(n),p.push(y)}t(n,a)&&n.forEach(function(t,e){var n=f(e,o-1),r=f(t,o-1);y.set(n,r)}),t(n,s)&&n.forEach(function(t){var e=f(t,o-1);y.add(e)});for(var g in n){var m;v&&(m=Object.getOwnPropertyDescriptor(v,g)),m&&null==m.set||(y[g]=f(n[g],o-1))}if(Object.getOwnPropertySymbols)for(var _=Object.getOwnPropertySymbols(n),g=0;g<_.length;g++){var O=_[g],w=Object.getOwnPropertyDescriptor(n,O);(!w||w.enumerable||c)&&(y[O]=f(n[O],o-1),w.enumerable||Object.defineProperty(y,O,{enumerable:!1}))}if(c)for(var x=Object.getOwnPropertyNames(n),g=0;g<x.length;g++){var k=x[g],w=Object.getOwnPropertyDescriptor(n,k);w&&w.enumerable||(y[k]=f(n[k],o-1),Object.defineProperty(y,k,{enumerable:!1}))}return y}"object"==typeof r&&(o=r.depth,i=r.prototype,c=r.includeNonEnumerable,r=r.circular);var h=[],p=[],d="undefined"!=typeof Buffer;return void 0===r&&(r=!0),void 0===o&&(o=1/0),f(n,o)}function n(t){return Object.prototype.toString.call(t)}function r(t){return"object"==typeof t&&"[object Date]"===n(t)}function o(t){return"object"==typeof t&&"[object Array]"===n(t)}function i(t){return"object"==typeof t&&"[object RegExp]"===n(t)}function l(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}var a;try{a=Map}catch(t){a=function(){}}var s;try{s=Set}catch(t){s=function(){}}var u;try{u=Promise}catch(t){u=function(){}}return e.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},e.__objToStr=n,e.__isDate=r,e.__isArray=o,e.__isRegExp=i,e.__getRegExpFlags=l,e}();"object"==typeof t&&t.exports&&(t.exports=n)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){try{e.parentNode}catch(t){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(0),c=r(u),f=n(21),h=r(f),p=n(12),d=r(p),y=n(9),v=r(y),b=n(10),g=r(b),m=(0,g.default)("quill:selection"),_=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;i(this,t),this.index=e,this.length=n},O=function(){function t(e,n){var r=this;i(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=c.default.create("cursor",this),this.lastRange=this.savedRange=new _(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){r.mouseDown||setTimeout(r.update.bind(r,v.default.sources.USER),1)}),this.emitter.on(v.default.events.EDITOR_CHANGE,function(t,e){t===v.default.events.TEXT_CHANGE&&e.length()>0&&r.update(v.default.sources.SILENT)}),this.emitter.on(v.default.events.SCROLL_BEFORE_UPDATE,function(){if(r.hasFocus()){var t=r.getNativeRange();null!=t&&t.start.node!==r.cursor.textNode&&r.emitter.once(v.default.events.SCROLL_UPDATE,function(){try{r.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}})}}),this.emitter.on(v.default.events.SCROLL_OPTIMIZE,function(t,e){if(e.range){var n=e.range,o=n.startNode,i=n.startOffset,l=n.endNode,a=n.endOffset;r.setNativeRange(o,i,l,a)}}),this.update(v.default.sources.SILENT)}return s(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",function(){t.composing=!0}),this.root.addEventListener("compositionend",function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout(function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,function(){t.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){t.mouseDown=!1,t.update(v.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!c.default.query(t,c.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=c.default.find(n.start.node,!1);if(null==r)return;if(r instanceof c.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var r=void 0,o=this.scroll.leaf(t),i=a(o,2),l=i[0],s=i[1];if(null==l)return null;var u=l.position(s,!0),c=a(u,2);r=c[0],s=c[1];var f=document.createRange();if(e>0){f.setStart(r,s);var h=this.scroll.leaf(t+e),p=a(h,2);if(l=p[0],s=p[1],null==l)return null;var d=l.position(s,!0),y=a(d,2);return r=y[0],s=y[1],f.setEnd(r,s),f.getBoundingClientRect()}var v="left",b=void 0;return r instanceof Text?(s<r.data.length?(f.setStart(r,s),f.setEnd(r,s+1)):(f.setStart(r,s-1),f.setEnd(r,s),v="right"),b=f.getBoundingClientRect()):(b=l.domNode.getBoundingClientRect(),s>0&&(v="right")),{bottom:b.top+b.height,height:b.height,left:b[v],right:b[v],top:b.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return m.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var r=n.map(function(t){var n=a(t,2),r=n[0],o=n[1],i=c.default.find(r,!0),l=i.offset(e.scroll);return 0===o?l:i instanceof c.default.Container?l+i.length():l+i.index(r,o)}),i=Math.min(Math.max.apply(Math,o(r)),this.scroll.length()-1),l=Math.min.apply(Math,[i].concat(o(r)));return new _(l,i-l)}},{key:"normalizeNative",value:function(t){if(!l(this.root,t.startContainer)||!t.collapsed&&!l(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach(function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;e=e.lastChild,n=e instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n}),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],r=[],o=this.scroll.length();return n.forEach(function(t,n){t=Math.min(o-1,t);var i=void 0,l=e.scroll.leaf(t),s=a(l,2),u=s[0],c=s[1],f=u.position(c,0!==n),h=a(f,2);i=h[0],c=h[1],r.push(i,c)}),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var r=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,r)),i=a(o,1),l=i[0],s=l;if(e.length>0){var u=this.scroll.line(Math.min(e.index+e.length,r));s=a(u,1)[0]}if(null!=l&&null!=s){var c=t.getBoundingClientRect();n.top<c.top?t.scrollTop-=c.top-n.top:n.bottom>c.bottom&&(t.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(m.info("setNativeRange",t,e,n,r),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=t){this.hasFocus()||this.root.focus();var l=(this.getNativeRange()||{}).native;if(null==l||o||t!==l.startContainer||e!==l.startOffset||n!==l.endContainer||r!==l.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var a=document.createRange();a.setStart(t,e),a.setEnd(n,r),i.removeAllRanges(),i.addRange(a)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v.default.sources.API;if("string"==typeof e&&(n=e,e=!1),m.info("setRange",t),null!=t){var r=this.rangeToNative(t);this.setNativeRange.apply(this,o(r).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.default.sources.USER,e=this.lastRange,n=this.getRange(),r=a(n,2),o=r[0],i=r[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,d.default)(e,this.lastRange)){var l;!this.composing&&null!=i&&i.native.collapsed&&i.start.node!==this.cursor.textNode&&this.cursor.restore();var s=[v.default.events.SELECTION_CHANGE,(0,h.default)(this.lastRange),(0,h.default)(e),t];if((l=this.emitter).emit.apply(l,[v.default.events.EDITOR_CHANGE].concat(s)),t!==v.default.sources.SILENT){var u;(u=this.emitter).emit.apply(u,s)}}}}]),t}();e.Range=_,e.default=O},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),s=r(a),u=n(3),c=r(u),f=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(s.default.Container);f.allowedChildren=[c.default,u.BlockEmbed,f],e.default=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(0),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"value",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map(function(t){return("00"+parseInt(t).toString(16)).slice(-2)}).join("")):n}}]),e}(u.default.Attributor.Style),f=new u.default.Attributor.Class("color","ql-color",{scope:u.default.Scope.INLINE}),h=new c("color","color",{scope:u.default.Scope.INLINE});e.ColorAttributor=c,e.ColorClass=f,e.ColorStyle=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e){var n,r=t===D.keys.LEFT?"prefix":"suffix";return n={key:t,shiftKey:e,altKey:null},o(n,r,/^$/),o(n,"handler",function(n){var r=n.index;t===D.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r);return!(b(o,1)[0]instanceof T.default.Embed)||(t===D.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,S.default.sources.USER):this.quill.setSelection(n.index-1,S.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,S.default.sources.USER):this.quill.setSelection(n.index+n.length+1,S.default.sources.USER),!1)}),n}function u(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),r=b(n,1),o=r[0],i={};if(0===e.offset){var l=this.quill.getLine(t.index-1),a=b(l,1),s=a[0];if(null!=s&&s.length()>1){var u=o.formats(),c=this.quill.getFormat(t.index-1,1);i=A.default.attributes.diff(u,c)||{}}}var f=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-f,f,S.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(t.index-f,f,i,S.default.sources.USER),this.quill.focus()}}function c(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},o=0,i=this.quill.getLine(t.index),l=b(i,1),a=l[0];if(e.offset>=a.length()-1){var s=this.quill.getLine(t.index+1),u=b(s,1),c=u[0];if(c){var f=a.formats(),h=this.quill.getFormat(t.index,1);r=A.default.attributes.diff(f,h)||{},o=c.length()}}this.quill.deleteText(t.index,n,S.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index+o-1,n,r,S.default.sources.USER)}}function f(t){var e=this.quill.getLines(t),n={};if(e.length>1){var r=e[0].formats(),o=e[e.length-1].formats();n=A.default.attributes.diff(o,r)||{}}this.quill.deleteText(t,S.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,S.default.sources.USER),this.quill.setSelection(t.index,S.default.sources.SILENT),this.quill.focus()}function h(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce(function(t,n){return T.default.query(n,T.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t},{});this.quill.insertText(t.index,"\n",r,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach(function(t){null==r[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],S.default.sources.USER))})}function p(t){return{key:D.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=T.default.query("code-block"),r=e.index,o=e.length,i=this.quill.scroll.descendant(n,r),l=b(i,2),a=l[0],s=l[1];if(null!=a){var u=this.quill.getIndex(a),c=a.newlineIndex(s,!0)+1,f=a.newlineIndex(u+s+o),h=a.domNode.textContent.slice(c,f).split("\n");s=0,h.forEach(function(e,i){t?(a.insertAt(c+s,n.TAB),s+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(a.deleteAt(c+s,n.TAB.length),s-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),s+=e.length+1}),this.quill.update(S.default.sources.USER),this.quill.setSelection(r,o,S.default.sources.SILENT)}}}}function d(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],S.default.sources.USER)}}}function y(t){if("string"==typeof t||"number"==typeof t)return y({key:t});if("object"===(void 0===t?"undefined":v(t))&&(t=(0,_.default)(t,!1)),"string"==typeof t.key)if(null!=D.keys[t.key.toUpperCase()])t.key=D.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[B]=t.shortKey,delete t.shortKey),t}Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=n(21),_=r(m),O=n(12),w=r(O),x=n(2),k=r(x),E=n(4),N=r(E),j=n(20),A=r(j),q=n(0),T=r(q),P=n(6),S=r(P),C=n(10),L=r(C),M=n(7),R=r(M),I=(0,L.default)("quill:keyboard"),B=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",D=function(t){function e(t,n){i(this,e);var r=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.bindings={},Object.keys(r.options.bindings).forEach(function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&r.options.bindings[e]&&r.addBinding(r.options.bindings[e])}),r.addBinding({key:e.keys.ENTER,shiftKey:null},h),r.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},u),r.addBinding({key:e.keys.DELETE},{collapsed:!0},c)):(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},u),r.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},c)),r.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},f),r.addBinding({key:e.keys.DELETE},{collapsed:!1},f),r.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},u),r.listen(),r}return a(e,t),g(e,null,[{key:"match",value:function(t,e){return e=y(e),!["altKey","ctrlKey","metaKey","shiftKey"].some(function(n){return!!e[n]!==t[n]&&null!==e[n]})&&e.key===(t.which||t.keyCode)}}]),g(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=y(t);if(null==r||null==r.key)return I.warn("Attempted to add invalid keyboard binding",r);"function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n}),r=(0,k.default)(r,e,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",function(n){if(!n.defaultPrevented){var r=n.which||n.keyCode,o=(t.bindings[r]||[]).filter(function(t){return e.match(n,t)});if(0!==o.length){var i=t.quill.getSelection();if(null!=i&&t.quill.hasFocus()){var l=t.quill.getLine(i.index),a=b(l,2),s=a[0],u=a[1],c=t.quill.getLeaf(i.index),f=b(c,2),h=f[0],p=f[1],d=0===i.length?[h,p]:t.quill.getLeaf(i.index+i.length),y=b(d,2),g=y[0],m=y[1],_=h instanceof T.default.Text?h.value().slice(0,p):"",O=g instanceof T.default.Text?g.value().slice(m):"",x={collapsed:0===i.length,empty:0===i.length&&s.length()<=1,format:t.quill.getFormat(i),offset:u,prefix:_,suffix:O};o.some(function(e){if(null!=e.collapsed&&e.collapsed!==x.collapsed)return!1;if(null!=e.empty&&e.empty!==x.empty)return!1;if(null!=e.offset&&e.offset!==x.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(function(t){return null==x.format[t]}))return!1}else if("object"===v(e.format)&&!Object.keys(e.format).every(function(t){return!0===e.format[t]?null!=x.format[t]:!1===e.format[t]?null==x.format[t]:(0,w.default)(e.format[t],x.format[t])}))return!1;return!(null!=e.prefix&&!e.prefix.test(x.prefix))&&(!(null!=e.suffix&&!e.suffix.test(x.suffix))&&!0!==e.handler.call(t,i,x))})&&n.preventDefault()}}}})}}]),e}(R.default);D.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},D.DEFAULTS={bindings:{bold:d("bold"),italic:d("italic"),underline:d("underline"),indent:{key:D.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",S.default.sources.USER)}},outdent:{key:D.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",S.default.sources.USER)}},"outdent backspace":{key:D.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",S.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,S.default.sources.USER)}},"indent code-block":p(!0),"outdent code-block":p(!1),"remove tab":{key:D.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,S.default.sources.USER)}},tab:{key:D.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new N.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,S.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,S.default.sources.SILENT)}},"list empty enter":{key:D.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,S.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,S.default.sources.USER)}},"checklist enter":{key:D.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=b(e,2),r=n[0],o=n[1],i=(0,k.default)({},r.formats(),{list:"checked"}),l=(new N.default).retain(t.index).insert("\n",i).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(l,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:D.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=b(n,2),o=r[0],i=r[1],l=(new N.default).retain(t.index).insert("\n",e.format).retain(o.length()-i-1).retain(1,{header:null});this.quill.updateContents(l,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),o=b(r,2),i=o[0],l=o[1];if(l>n)return!0;var a=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":a="unchecked";break;case"[x]":a="checked";break;case"-":case"*":a="bullet";break;default:a="ordered"}this.quill.insertText(t.index," ",S.default.sources.USER),this.quill.history.cutoff();var s=(new N.default).retain(t.index-l).delete(n+1).retain(i.length()-2-l).retain(1,{list:a});this.quill.updateContents(s,S.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,S.default.sources.SILENT)}},"code exit":{key:D.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=b(e,2),r=n[0],o=n[1],i=(new N.default).retain(t.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,S.default.sources.USER)}},"embed left":s(D.keys.LEFT,!1),"embed left shift":s(D.keys.LEFT,!0),"embed right":s(D.keys.RIGHT,!1),"embed right shift":s(D.keys.RIGHT,!0)}},e.default=D,e.SHORTKEY=B},function(t,e,n){"use strict";t.exports={align:{"":n(75),center:n(76),right:n(77),justify:n(78)},background:n(79),blockquote:n(80),bold:n(81),clean:n(82),code:n(40),"code-block":n(40),color:n(83),direction:{"":n(84),rtl:n(85)},float:{center:n(86),full:n(87),left:n(88),right:n(89)},formula:n(90),header:{1:n(91),2:n(92)},italic:n(93),image:n(94),indent:{"+1":n(95),"-1":n(96)},link:n(97),list:{ordered:n(98),bullet:n(99),check:n(100)},script:{sub:n(101),super:n(102)},strike:n(103),underline:n(104),video:n(105)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,o){var i=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var l=r.create(this.statics.scope);i.wrap(l),l.format(n,o)}},t.prototype.insertAt=function(t,e,n){var o=null==n?r.create("text",e):r.create(e,n),i=this.split(t);this.parent.insertBefore(o,i)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"==typeof t?r.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"==typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=n(29),i=n(30),l=n(1),a=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=o.default.keys(this.domNode),a=i.default.keys(this.domNode);e.concat(n).concat(a).forEach(function(e){var n=l.query(e,l.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)})},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach(function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)})},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach(function(t){e.attributes[t].remove(e.domNode)}),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce(function(e,n){return e[n]=t.attributes[n].value(t.domNode),e},{})},t}();e.default=a},function(t,e,n){"use strict";function r(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter(function(t){return 0===t.indexOf(e+"-")})}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(11),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map(function(t){return t.split("-").slice(0,-1).join("-")})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){r(t,this.keyName).forEach(function(e){t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=r(t,this.keyName)[0]||"",n=e.slice(this.keyName.length+1);return this.canAdd(t,n)?n:""},e}(i.default);e.default=l},function(t,e,n){"use strict";function r(t){var e=t.split("-"),n=e.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join("");return e[0]+n}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(11),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map(function(t){return t.split(":")[0].trim()})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[r(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[r(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[r(this.keyName)];return this.canAdd(t,e)?e:""},e}(i.default);e.default=l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(0),f=r(c),h=n(8),p=r(h),d=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.selection=n,r.textNode=document.createTextNode(e.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}return l(e,t),u(e,null,[{key:"value",value:function(){}}]),u(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,n){if(0!==this._length)return s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);for(var r=this,o=0;null!=r&&r.statics.scope!==f.default.Scope.BLOCK_BLOT;)o+=r.offset(r.parent),r=r.parent;null!=r&&(this._length=e.CONTENTS.length,r.optimize(),r.formatAt(o,e.CONTENTS.length,t,n),this._length=0)}},{key:"index",value:function(t,n){return t===this.textNode?0:s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),r=void 0,o=void 0,i=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var l=[t,n.start.offset,n.end.offset];r=l[0],o=l[1],i=l[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var s=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof p.default?(r=this.next.domNode,this.next.insertAt(0,s),this.textNode.data=e.CONTENTS):(this.textNode.data=s,this.parent.insertBefore(f.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=o){var u=[o,i].map(function(t){return Math.max(0,Math.min(r.data.length,t-1))}),c=a(u,2);return o=c[0],i=c[1],{startNode:r,startOffset:o,endNode:r,endOffset:i}}}}},{key:"update",value:function(t,e){var n=this;if(t.some(function(t){return"characterData"===t.type&&t.target===n.textNode})){var r=this.restore();r&&(e.range=r)}}},{key:"value",value:function(){return""}}]),e}(f.default.Embed);d.blotName="cursor",d.className="ql-cursor",d.tagName="span",d.CONTENTS="\ufeff",e.default=d},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(e,n){r(this,t),this.quill=e,this.options=n,this.modules={}}return o(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach(function(e){null==t.modules[e]&&t.addModule(e)})}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();i.DEFAULTS={modules:{}},i.themes={default:i},e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=n(0),c=r(u),f=n(8),h=r(f),p="\ufeff",d=function(t){function e(t){o(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach(function(t){n.contentNode.appendChild(t)}),n.leftGuard=document.createTextNode(p),n.rightGuard=document.createTextNode(p),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return l(e,t),a(e,[{key:"index",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"restore",value:function(t){var e=void 0,n=void 0,r=t.data.split(p).join("");if(t===this.leftGuard)if(this.prev instanceof h.default){var o=this.prev.length();this.prev.insertAt(o,r),e={startNode:this.prev.domNode,startOffset:o+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(c.default.create(n),this),e={startNode:n,startOffset:r.length};else t===this.rightGuard&&(this.next instanceof h.default?(this.next.insertAt(0,r),e={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(c.default.create(n),this.next),e={startNode:n,startOffset:r.length}));return t.data=p,e}},{key:"update",value:function(t,e){var n=this;t.forEach(function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var r=n.restore(t.target);r&&(e.range=r)}})}}]),e}(c.default.Embed);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var r=n(0),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i={scope:o.default.Scope.BLOCK,whitelist:["right","center","justify"]},l=new o.default.Attributor.Attribute("align","align",i),a=new o.default.Attributor.Class("align","ql-align",i),s=new o.default.Attributor.Style("align","text-align",i);e.AlignAttribute=l,e.AlignClass=a,e.AlignStyle=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var r=n(0),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i=n(24),l=new o.default.Attributor.Class("background","ql-bg",{scope:o.default.Scope.INLINE}),a=new i.ColorAttributor("background","background-color",{scope:o.default.Scope.INLINE});e.BackgroundClass=l,e.BackgroundStyle=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var r=n(0),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i={scope:o.default.Scope.BLOCK,whitelist:["rtl"]},l=new o.default.Attributor.Attribute("direction","dir",i),a=new o.default.Attributor.Class("direction","ql-direction",i),s=new o.default.Attributor.Style("direction","direction",i);e.DirectionAttribute=l,e.DirectionClass=a,e.DirectionStyle=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(0),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c={scope:u.default.Scope.INLINE,whitelist:["serif","monospace"]},f=new u.default.Attributor.Class("font","ql-font",c),h=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"value",value:function(t){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(u.default.Attributor.Style),p=new h("font","font-family",c);e.FontStyle=p,e.FontClass=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var r=n(0),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i=new o.default.Attributor.Class("size","ql-size",{scope:o.default.Scope.INLINE,whitelist:["small","large","huge"]}),l=new o.default.Attributor.Style("size","font-size",{scope:o.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=i,e.SizeStyle=l},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(5),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"optimize",value:function(t){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(u.default);c.blotName="bold",c.tagName=["STRONG","B"],e.default=c},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(16),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(t,n){r(this,e);var i=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i.label.innerHTML=n,i.container.classList.add("ql-color-picker"),[].slice.call(i.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(t){t.classList.add("ql-primary")}),i}return i(e,t),l(e,[{key:"buildItem",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return n.style.backgroundColor=t.getAttribute("value")||"",n}},{key:"selectItem",value:function(t,n){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n);var r=this.label.querySelector(".ql-color-label"),o=t?t.getAttribute("data-value")||"":"";r&&("line"===r.tagName?r.style.stroke=o:r.style.fill=o)}}]),e}(u.default);e.default=c},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(16),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(t,n){r(this,e);var i=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i.container.classList.add("ql-icon-picker"),[].forEach.call(i.container.querySelectorAll(".ql-picker-item"),function(t){t.innerHTML=n[t.getAttribute("data-value")||""]}),i.defaultItem=i.container.querySelector(".ql-selected"),i.selectItem(i.defaultItem),i}return i(e,t),l(e,[{key:"selectItem",value:function(t,n){a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(u.default);e.default=c},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(e,n){var o=this;r(this,t),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){o.root.style.marginTop=-1*o.quill.root.scrollTop+"px"}),this.hide()}return o(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),i=0;if(o.right>r.right&&(i=r.right-o.right,this.root.style.left=e+i+"px"),o.left<r.left&&(i=r.left-o.left,this.root.style.left=e+i+"px"),o.bottom>r.bottom){var l=o.bottom-o.top,a=t.bottom-t.top+l;this.root.style.top=n-a+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}function s(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach(function(e){var r=document.createElement("option");e===n?r.setAttribute("selected","selected"):r.setAttribute("value",e),t.appendChild(r)})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},f=n(2),h=r(f),p=n(4),d=r(p),y=n(9),v=r(y),b=n(25),g=r(b),m=n(32),_=r(m),O=n(41),w=r(O),x=n(42),k=r(x),E=n(16),N=r(E),j=n(43),A=r(j),q=[!1,"center","right","justify"],T=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],P=[!1,"serif","monospace"],S=["1","2","3",!1],C=["small",!1,"large","huge"],L=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n)),l=function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach(function(t){t.container.contains(n.target)||t.close()})};return t.emitter.listenDOM("click",document.body,l),r}return l(e,t),u(e,[{key:"addModule",value:function(t){var n=c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(t,e){t.forEach(function(t){(t.getAttribute("class")||"").split(/\s+/).forEach(function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n].rtl;else if("string"==typeof e[n])t.innerHTML=e[n];else{var r=t.value||"";null!=r&&e[n][r]&&(t.innerHTML=e[n][r])}})})}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map(function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&s(t,q),new k.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&s(t,T,"background"===n?"#ffffff":"#000000"),new w.default(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?s(t,P):t.classList.contains("ql-header")?s(t,S):t.classList.contains("ql-size")&&s(t,C)),new N.default(t)});var r=function(){n.pickers.forEach(function(t){t.update()})};this.quill.on(v.default.events.EDITOR_CHANGE,r)}}]),e}(_.default);L.DEFAULTS=(0,h.default)(!0,{},_.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&(e=document.createElement("input"),e.setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var r=t.quill.getSelection(!0);t.quill.updateContents((new d.default).retain(r.index).delete(r.length).insert({image:n.target.result}),v.default.sources.USER),t.quill.setSelection(r.index+1,v.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}}),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var M=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.textbox=r.root.querySelector('input[type="text"]'),r.listen(),r}return l(e,t),u(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",function(e){g.default.match(e,"enter")?(t.save(),e.preventDefault()):g.default.match(e,"escape")&&(t.cancel(),e.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,v.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,v.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=a(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),t,v.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",v.default.sources.USER),this.quill.setSelection(r+2,v.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(A.default);e.BaseTooltip=M,e.default=L},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(46),i=r(o),l=n(34),a=n(36),s=n(62),u=n(63),c=r(u),f=n(64),h=r(f),p=n(65),d=r(p),y=n(35),v=n(24),b=n(37),g=n(38),m=n(39),_=r(m),O=n(66),w=r(O),x=n(15),k=r(x),E=n(67),N=r(E),j=n(68),A=r(j),q=n(69),T=r(q),P=n(70),S=r(P),C=n(71),L=r(C),M=n(13),R=r(M),I=n(72),B=r(I),D=n(73),U=r(D),F=n(74),H=r(F),K=n(26),z=r(K),Z=n(16),V=r(Z),W=n(41),G=r(W),Y=n(42),X=r(Y),$=n(43),Q=r($),J=n(107),tt=r(J),et=n(108),nt=r(et);i.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":l.AlignClass,"attributors/class/background":y.BackgroundClass,"attributors/class/color":v.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":g.SizeClass,"attributors/style/align":l.AlignStyle,"attributors/style/background":y.BackgroundStyle,"attributors/style/color":v.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":g.SizeStyle},!0),i.default.register({"formats/align":l.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":y.BackgroundStyle,"formats/color":v.ColorStyle,"formats/font":b.FontClass,"formats/size":g.SizeClass,"formats/blockquote":c.default,"formats/code-block":R.default,"formats/header":h.default,"formats/list":d.default,"formats/bold":_.default,"formats/code":M.Code,"formats/italic":w.default,"formats/link":k.default,"formats/script":N.default,"formats/strike":A.default,"formats/underline":T.default,"formats/image":S.default,"formats/video":L.default,"formats/list/item":p.ListItem,"modules/formula":B.default,"modules/syntax":U.default,"modules/toolbar":H.default,"themes/bubble":tt.default,"themes/snow":nt.default,"ui/icons":z.default,"ui/picker":V.default,"ui/icon-picker":X.default,"ui/color-picker":G.default,"ui/tooltip":Q.default},!0),e.default=i.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),i=r(o),l=n(6),a=r(l),s=n(3),u=r(s),c=n(14),f=r(c),h=n(23),p=r(h),d=n(31),y=r(d),v=n(33),b=r(v),g=n(5),m=r(g),_=n(59),O=r(_),w=n(8),x=r(w),k=n(60),E=r(k),N=n(61),j=r(N),A=n(25),q=r(A);a.default.register({"blots/block":u.default,"blots/block/embed":s.BlockEmbed,"blots/break":f.default,"blots/container":p.default,"blots/cursor":y.default,"blots/embed":b.default,"blots/inline":m.default,"blots/scroll":O.default,"blots/text":x.default,"modules/clipboard":E.default,"modules/history":j.default,"modules/keyboard":q.default}),i.default.register(u.default,f.default,y.default,m.default,O.default,x.default),e.default=a.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(t<o||e&&t===o&&(null==n.next||0!==n.next.length()))return[n,t];t-=o}return[null,0]},t.prototype.forEach=function(t){for(var e,n=this.iterator();e=n();)t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0))for(var r,o=this.find(t),i=o[0],l=o[1],a=t-l,s=this.iterator(i);(r=s())&&a<t+e;){var u=r.length();t>a?n(r,t-a,Math.min(e,a+u-t)):n(r,0,Math.min(u,t+e-a)),a+=u}},t.prototype.map=function(t){return this.reduce(function(e,n){return e.push(t(n)),e},[])},t.prototype.reduce=function(t,e){for(var n,r=this.iterator();n=r();)e=t(e,n);return e},t}();e.default=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),i=n(1),l={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},a=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver(function(t){n.update(t)}),n.observer.observe(n.domNode,l),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach(function(t){t.remove()}):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,r,o){this.update(),t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){this.update(),t.prototype.insertAt.call(this,e,n,r)},e.prototype.optimize=function(e,n){var r=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var l=[].slice.call(this.observer.takeRecords());l.length>0;)e.push(l.pop());for(var a=function(t,e){void 0===e&&(e=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&a(t.parent))},s=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(s),t.optimize(n))},u=e,c=0;u.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach(function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(a(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,function(t){var e=i.find(t,!1);a(e,!1),e instanceof o.default&&e.children.forEach(function(t){a(t,!1)})})):"attributes"===t.type&&a(e.prev)),a(e))}),this.children.forEach(s),u=[].slice.call(this.observer.takeRecords()),l=u.slice();l.length>0;)e.push(l.pop())}},e.prototype.update=function(e,n){var r=this;void 0===n&&(n={}),e=e||this.observer.takeRecords(),e.map(function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)}).forEach(function(t){null!=t&&t!==r&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],n)}),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(o.default);e.default=a},function(t,e,n){"use strict";function r(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(18),l=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):(this.children.forEach(function(t){t instanceof i.default||(t=t.wrap(e.blotName,!0)),o.attributes.copy(t)}),this.unwrap())},e.prototype.formatAt=function(e,n,r,o){if(null!=this.formats()[r]||l.query(r,l.Scope.ATTRIBUTE)){this.isolate(e,n).format(r,o)}else t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var o=this.formats();if(0===Object.keys(o).length)return this.unwrap();var i=this.next;i instanceof e&&i.prev===this&&r(o,i.formats())&&(i.moveChildren(this),i.remove())},e.blotName="inline",e.scope=l.Scope.INLINE_BLOT,e.tagName="SPAN",e}(i.default);e.default=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var r=i.query(e.blotName).tagName;if(n.tagName!==r)return t.formats.call(this,n)},e.prototype.format=function(n,r){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,r,o){null!=i.query(r,i.Scope.BLOCK)?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){if(null==r||null!=i.query(n,i.Scope.INLINE))t.prototype.insertAt.call(this,e,n,r);else{var o=this.split(e),l=i.create(n,r);o.parent.insertBefore(l,o)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(o.default);e.default=l},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,r,o){0===e&&n===this.length()?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(o.default);e.default=i},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,r){null==r?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,r)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=i.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some(function(t){return"characterData"===t.type&&t.target===n.domNode})&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=l},function(t,e,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:o.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;i<r;i++)if(e=n[i],t.call(o,e,i,n))return e}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(t,e){function n(t,e,n){if(t==e)return t?[[v,t]]:[];(n<0||t.length<n)&&(n=null);var o=l(t,e),i=t.substring(0,o);t=t.substring(o),e=e.substring(o),o=a(t,e);var s=t.substring(t.length-o);t=t.substring(0,t.length-o),e=e.substring(0,e.length-o);var c=r(t,e);return i&&c.unshift([v,i]),s&&c.push([v,s]),u(c),null!=n&&(c=f(c,n)),c=h(c)}function r(t,e){var r;if(!t)return[[y,e]];if(!e)return[[d,t]];var i=t.length>e.length?t:e,l=t.length>e.length?e:t,a=i.indexOf(l);if(-1!=a)return r=[[y,i.substring(0,a)],[v,l],[y,i.substring(a+l.length)]],t.length>e.length&&(r[0][0]=r[2][0]=d),r;if(1==l.length)return[[d,t],[y,e]];var u=s(t,e);if(u){var c=u[0],f=u[1],h=u[2],p=u[3],b=u[4],g=n(c,h),m=n(f,p);return g.concat([[v,b]],m)}return o(t,e)}function o(t,e){for(var n=t.length,r=e.length,o=Math.ceil((n+r)/2),l=o,a=2*o,s=new Array(a),u=new Array(a),c=0;c<a;c++)s[c]=-1,u[c]=-1;s[l+1]=0,u[l+1]=0;for(var f=n-r,h=f%2!=0,p=0,v=0,b=0,g=0,m=0;m<o;m++){for(var _=-m+p;_<=m-v;_+=2){var O,w=l+_;O=_==-m||_!=m&&s[w-1]<s[w+1]?s[w+1]:s[w-1]+1;for(var x=O-_;O<n&&x<r&&t.charAt(O)==e.charAt(x);)O++,x++;if(s[w]=O,O>n)v+=2;else if(x>r)p+=2;else if(h){var k=l+f-_;if(k>=0&&k<a&&-1!=u[k]){var E=n-u[k];if(O>=E)return i(t,e,O,x)}}}for(var N=-m+b;N<=m-g;N+=2){var E,k=l+N;E=N==-m||N!=m&&u[k-1]<u[k+1]?u[k+1]:u[k-1]+1;for(var j=E-N;E<n&&j<r&&t.charAt(n-E-1)==e.charAt(r-j-1);)E++,j++;if(u[k]=E,E>n)g+=2;else if(j>r)b+=2;else if(!h){var w=l+f-N;if(w>=0&&w<a&&-1!=s[w]){var O=s[w],x=l+O-w;if(E=n-E,O>=E)return i(t,e,O,x)}}}}return[[d,t],[y,e]]}function i(t,e,r,o){var i=t.substring(0,r),l=e.substring(0,o),a=t.substring(r),s=e.substring(o),u=n(i,l),c=n(a,s);return u.concat(c)}function l(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n<o;)t.substring(i,o)==e.substring(i,o)?(n=o,i=n):r=o,o=Math.floor((r-n)/2+n);return o}function a(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n<o;)t.substring(t.length-o,t.length-i)==e.substring(e.length-o,e.length-i)?(n=o,i=n):r=o,o=Math.floor((r-n)/2+n);return o}function s(t,e){function n(t,e,n){for(var r,o,i,s,u=t.substring(n,n+Math.floor(t.length/4)),c=-1,f="";-1!=(c=e.indexOf(u,c+1));){var h=l(t.substring(n),e.substring(c)),p=a(t.substring(0,n),e.substring(0,c));f.length<p+h&&(f=e.substring(c-p,c)+e.substring(c,c+h),r=t.substring(0,n-p),o=t.substring(n+h),i=e.substring(0,c-p),s=e.substring(c+h))}return 2*f.length>=t.length?[r,o,i,s,f]:null}var r=t.length>e.length?t:e,o=t.length>e.length?e:t;if(r.length<4||2*o.length<r.length)return null;var i,s=n(r,o,Math.ceil(r.length/4)),u=n(r,o,Math.ceil(r.length/2));if(!s&&!u)return null;i=u?s&&s[4].length>u[4].length?s:u:s;var c,f,h,p;return t.length>e.length?(c=i[0],f=i[1],h=i[2],p=i[3]):(h=i[0],p=i[1],c=i[2],f=i[3]),[c,f,h,p,i[4]]}function u(t){t.push([v,""]);for(var e,n=0,r=0,o=0,i="",s="";n<t.length;)switch(t[n][0]){case y:o++,s+=t[n][1],n++;break;case d:r++,i+=t[n][1],n++;break;case v:r+o>1?(0!==r&&0!==o&&(e=l(s,i),0!==e&&(n-r-o>0&&t[n-r-o-1][0]==v?t[n-r-o-1][1]+=s.substring(0,e):(t.splice(0,0,[v,s.substring(0,e)]),n++),s=s.substring(e),i=i.substring(e)),0!==(e=a(s,i))&&(t[n][1]=s.substring(s.length-e)+t[n][1],s=s.substring(0,s.length-e),i=i.substring(0,i.length-e))),0===r?t.splice(n-o,r+o,[y,s]):0===o?t.splice(n-r,r+o,[d,i]):t.splice(n-r-o,r+o,[d,i],[y,s]),n=n-r-o+(r?1:0)+(o?1:0)+1):0!==n&&t[n-1][0]==v?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,o=0,r=0,i="",s=""}""===t[t.length-1][1]&&t.pop();var c=!1;for(n=1;n<t.length-1;)t[n-1][0]==v&&t[n+1][0]==v&&(t[n][1].substring(t[n][1].length-t[n-1][1].length)==t[n-1][1]?(t[n][1]=t[n-1][1]+t[n][1].substring(0,t[n][1].length-t[n-1][1].length),t[n+1][1]=t[n-1][1]+t[n+1][1],t.splice(n-1,1),c=!0):t[n][1].substring(0,t[n+1][1].length)==t[n+1][1]&&(t[n-1][1]+=t[n+1][1],t[n][1]=t[n][1].substring(t[n+1][1].length)+t[n+1][1],t.splice(n+1,1),c=!0)),n++;c&&u(t)}function c(t,e){if(0===e)return[v,t];for(var n=0,r=0;r<t.length;r++){var o=t[r];if(o[0]===d||o[0]===v){var i=n+o[1].length;if(e===i)return[r+1,t];if(e<i){t=t.slice();var l=e-n,a=[o[0],o[1].slice(0,l)],s=[o[0],o[1].slice(l)];return t.splice(r,1,a,s),[r+1,t]}n=i}}throw new Error("cursor_pos is out of bounds!")}function f(t,e){var n=c(t,e),r=n[1],o=n[0],i=r[o],l=r[o+1];if(null==i)return t;if(i[0]!==v)return t;if(null!=l&&i[1]+l[1]===l[1]+i[1])return r.splice(o,2,l,i),p(r,o,2);if(null!=l&&0===l[1].indexOf(i[1])){r.splice(o,2,[l[0],i[1]],[0,i[1]]);var a=l[1].slice(i[1].length);return a.length>0&&r.splice(o+2,0,[l[0],a]),p(r,o,3)}return t}function h(t){for(var e=!1,n=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},r=2;r<t.length;r+=1)t[r-2][0]===v&&function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319}(t[r-2][1])&&t[r-1][0]===d&&n(t[r-1][1])&&t[r][0]===y&&n(t[r][1])&&(e=!0,t[r-1][1]=t[r-2][1].slice(-1)+t[r-1][1],t[r][1]=t[r-2][1].slice(-1)+t[r][1],t[r-2][1]=t[r-2][1].slice(0,-1));if(!e)return t;for(var o=[],r=0;r<t.length;r+=1)t[r][1].length>0&&o.push(t[r]);return o}function p(t,e,n){for(var r=e+n-1;r>=0&&r>=e-1;r--)if(r+1<t.length){var o=t[r],i=t[r+1];o[0]===i[1]&&t.splice(r,2,[o[0],o[1]+i[1]])}return t}var d=-1,y=1,v=0,b=n;b.INSERT=y,b.DELETE=d,b.EQUAL=v,t.exports=b},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}e=t.exports="function"==typeof Object.keys?Object.keys:n,e.shim=n},function(t,e){function n(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function r(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();e=t.exports=o?n:r,e.supported=n,e.unsupported=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){return Object.keys(e).reduce(function(n,r){return null==t[r]?n:(e[r]===t[r]?n[r]=e[r]:Array.isArray(e[r])?e[r].indexOf(t[r])<0&&(n[r]=e[r].concat([t[r]])):n[r]=[e[r],t[r]],n)},{})}function a(t){return t.reduce(function(t,e){if(1===e.insert){var n=(0,N.default)(e.attributes);return delete n.image,t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||(e=(0,N.default)(e),e.attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"==typeof e.insert){var r=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(r,e.attributes)}return t.push(e)},new h.default)}Object.defineProperty(e,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=n(4),h=r(f),p=n(20),d=r(p),y=n(0),v=r(y),b=n(13),g=r(b),m=n(31),_=r(m),O=n(3),w=r(O),x=n(14),k=r(x),E=n(21),N=r(E),j=n(12),A=r(j),q=n(2),T=r(q),P=/^[ -~]*$/,S=function(){function t(e){i(this,t),this.scroll=e,this.delta=this.getDelta()}return c(t,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var r=this.scroll.length();return this.scroll.batchStart(),t=a(t),t.reduce(function(t,o){var i=o.retain||o.delete||o.insert.length||1,l=o.attributes||{};if(null!=o.insert){if("string"==typeof o.insert){var a=o.insert;a.endsWith("\n")&&n&&(n=!1,a=a.slice(0,-1)),t>=r&&!a.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,a);var c=e.scroll.line(t),f=u(c,2),h=f[0],p=f[1],y=(0,T.default)({},(0,O.bubbleFormats)(h));if(h instanceof w.default){var b=h.descendant(v.default.Leaf,p),g=u(b,1),m=g[0];y=(0,T.default)(y,(0,O.bubbleFormats)(m))}l=d.default.attributes.diff(y,l)||{}}else if("object"===s(o.insert)){var _=Object.keys(o.insert)[0];if(null==_)return t;e.scroll.insertAt(t,_,o.insert[_])}r+=i}return Object.keys(l).forEach(function(n){e.scroll.formatAt(t,i,n,l[n])}),t+i},0),t.reduce(function(t,n){return"number"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)},0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new h.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach(function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(t,Math.max(e,1)),l=e;i.forEach(function(e){var i=e.length();if(e instanceof g.default){var a=t-e.offset(n.scroll),s=e.newlineIndex(a+l)-a+1;e.formatAt(a,s,o,r[o])}else e.format(o,r[o]);l-=i})}}),this.scroll.optimize(),this.update((new h.default).retain(t).retain(e,(0,N.default)(r)))}},{key:"formatText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e,o,r[o])}),this.update((new h.default).retain(t).retain(e,(0,N.default)(r)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(t,e){return t.concat(e.delta())},new h.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach(function(t){var e=u(t,1),o=e[0];o instanceof w.default?n.push(o):o instanceof v.default.Leaf&&r.push(o)}):(n=this.scroll.lines(t,e),r=this.scroll.descendants(v.default.Leaf,t,e));var o=[n,r].map(function(t){if(0===t.length)return{};for(var e=(0,O.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=l((0,O.bubbleFormats)(n),e)}return e});return T.default.apply(T.default,o)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter(function(t){return"string"==typeof t.insert}).map(function(t){return t.insert}).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new h.default).retain(t).insert(o({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e.length,o,r[o])}),this.update((new h.default).retain(t).insert(e,(0,N.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===w.default.blotName&&(!(t.children.length>1)&&t.children.head instanceof k.default)}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),r=this.scroll.line(t+e),o=u(r,2),i=o[0],l=o[1],a=0,s=new h.default;null!=i&&(a=i instanceof g.default?i.newlineIndex(l)-l+1:i.length()-l,s=i.delta().slice(l,l+a-1).insert("\n"));var c=this.getContents(t,e+a),f=c.diff((new h.default).insert(n).concat(s)),p=(new h.default).retain(t).concat(f);return this.applyDelta(p)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(P)&&v.default.find(e[0].target)){var o=v.default.find(e[0].target),i=(0,O.bubbleFormats)(o),l=o.offset(this.scroll),a=e[0].oldValue.replace(_.default.CONTENTS,""),s=(new h.default).insert(a),u=(new h.default).insert(o.value());t=(new h.default).retain(l).concat(s.diff(u,n)).reduce(function(t,e){return e.insert?t.insert(e.insert,i):t.push(e)},new h.default),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,A.default)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}}]),t}();e.default=S},function(t,e){"use strict";function n(){}function r(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function o(){this._events=new n,this._eventsCount=0}var i=Object.prototype.hasOwnProperty,l="~";Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(l=!1)),o.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)i.call(t,e)&&n.push(l?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},o.prototype.listeners=function(t,e){var n=l?l+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},o.prototype.emit=function(t,e,n,r,o,i){var a=l?l+t:t;if(!this._events[a])return!1;var s,u,c=this._events[a],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,n),!0;case 4:return c.fn.call(c.context,e,n,r),!0;case 5:return c.fn.call(c.context,e,n,r,o),!0;case 6:return c.fn.call(c.context,e,n,r,o,i),!0}for(u=1,s=new Array(f-1);u<f;u++)s[u-1]=arguments[u];c.fn.apply(c.context,s)}else{var h,p=c.length;for(u=0;u<p;u++)switch(c[u].once&&this.removeListener(t,c[u].fn,void 0,!0),f){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,e);break;case 3:c[u].fn.call(c[u].context,e,n);break;case 4:c[u].fn.call(c[u].context,e,n,r);break;default:if(!s)for(h=1,s=new Array(f-1);h<f;h++)s[h-1]=arguments[h];c[u].fn.apply(c[u].context,s)}}return!0},o.prototype.on=function(t,e,n){var o=new r(e,n||this),i=l?l+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],o]:this._events[i].push(o):(this._events[i]=o,this._eventsCount++),this},o.prototype.once=function(t,e,n){var o=new r(e,n||this,!0),i=l?l+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],o]:this._events[i].push(o):(this._events[i]=o,this._eventsCount++),this},o.prototype.removeListener=function(t,e,r,o){var i=l?l+t:t;if(!this._events[i])return this;if(!e)return 0==--this._eventsCount?this._events=new n:delete this._events[i],this;var a=this._events[i];if(a.fn)a.fn!==e||o&&!a.once||r&&a.context!==r||(0==--this._eventsCount?this._events=new n:delete this._events[i]);else{for(var s=0,u=[],c=a.length;s<c;s++)(a[s].fn!==e||o&&!a[s].once||r&&a[s].context!==r)&&u.push(a[s]);u.length?this._events[i]=1===u.length?u[0]:u:0==--this._eventsCount?this._events=new n:delete this._events[i]}return this},o.prototype.removeAllListeners=function(t){var e;return t?(e=l?l+t:t,this._events[e]&&(0==--this._eventsCount?this._events=new n:delete this._events[e])):(this._events=new n,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prototype.setMaxListeners=function(){return this},o.prefixed=l,o.EventEmitter=o,void 0!==t&&(t.exports=o)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return t instanceof v.default||t instanceof y.BlockEmbed}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},f=n(0),h=r(f),p=n(9),d=r(p),y=n(3),v=r(y),b=n(14),g=r(b),m=n(13),_=r(m),O=n(23),w=r(O),x=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce(function(t,e){return t[e]=!0,t},{})),r.optimize(),r.enable(),r}return l(e,t),u(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,n){var r=this.line(t),o=s(r,2),i=o[0],l=o[1],a=this.line(t+n),u=s(a,1),f=u[0];if(c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),null!=f&&i!==f&&l>0){if(i instanceof y.BlockEmbed||f instanceof y.BlockEmbed)return void this.optimize();if(i instanceof _.default){var h=i.newlineIndex(i.length(),!0);if(h>-1&&(i=i.split(h+1))===f)return void this.optimize()}else if(f instanceof _.default){var p=f.newlineIndex(0);p>-1&&f.split(p+1)}var d=f.children.head instanceof g.default?null:f.children.head;i.moveChildren(f,d),i.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,r,o){(null==this.whitelist||this.whitelist[r])&&(c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,o),this.optimize())}},{key:"insertAt",value:function(t,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==r||null==h.default.query(n,h.default.Scope.BLOCK)){var o=h.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var i=h.default.create(n,r);this.appendChild(i)}else c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===h.default.Scope.INLINE_BLOT){var r=h.default.create(this.statics.defaultChild);r.appendChild(t),t=r}c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(a,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return function t(e,n,r){var o=[],i=r;return e.children.forEachAt(n,r,function(e,n,r){a(e)?o.push(e):e instanceof h.default.Container&&(o=o.concat(t(e,n,i))),i-=r}),o}(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(d.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=d.default.sources.USER;"string"==typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(d.default.events.SCROLL_BEFORE_UPDATE,n,t),c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(d.default.events.SCROLL_UPDATE,n,t)}}}]),e}(h.default.Scroll);x.blotName="scroll",x.className="ql-editor",x.tagName="DIV",x.defaultChild="block",x.allowedChildren=[v.default,y.BlockEmbed,w.default],e.default=x},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e,n){return"object"===(void 0===e?"undefined":x(e))?Object.keys(e).reduce(function(t,n){return s(t,n,e[n])},t):t.reduce(function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,j.default)({},o({},e,n),r.attributes))},new q.default)}function u(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};return t["__ql-computed-style"]||(t["__ql-computed-style"]=window.getComputedStyle(t))}function c(t,e){for(var n="",r=t.ops.length-1;r>=0&&n.length<e.length;--r){var o=t.ops[r];if("string"!=typeof o.insert)break;n=o.insert+n}return n.slice(-1*e.length)===e}function f(t){return 0!==t.childNodes.length&&["block","list-item"].indexOf(u(t).display)>-1}function h(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce(function(e,n){return n(t,e)},new q.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],function(r,o){var i=h(o,e,n);return o.nodeType===t.ELEMENT_NODE&&(i=e.reduce(function(t,e){return e(o,t)},i),i=(o[W]||[]).reduce(function(t,e){return e(o,t)},i)),r.concat(i)},new q.default):new q.default}function p(t,e,n){return s(n,t,!0)}function d(t,e){var n=P.default.Attributor.Attribute.keys(t),r=P.default.Attributor.Class.keys(t),o=P.default.Attributor.Style.keys(t),i={};return n.concat(r).concat(o).forEach(function(e){var n=P.default.query(e,P.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(t),i[n.attrName])||(n=Y[e],null==n||n.attrName!==e&&n.keyName!==e||(i[n.attrName]=n.value(t)||void 0),null==(n=X[e])||n.attrName!==e&&n.keyName!==e||(n=X[e],i[n.attrName]=n.value(t)||void 0))}),Object.keys(i).length>0&&(e=s(e,i)),e}function y(t,e){var n=P.default.query(t);if(null==n)return e;if(n.prototype instanceof P.default.Embed){var r={},o=n.value(t);null!=o&&(r[n.blotName]=o,e=(new q.default).insert(r,n.formats(t)))}else"function"==typeof n.formats&&(e=s(e,n.blotName,n.formats(t)));return e}function v(t,e){return c(e,"\n")||e.insert("\n"),e}function b(){return new q.default}function g(t,e){var n=P.default.query(t);if(null==n||"list-item"!==n.blotName||!c(e,"\n"))return e;for(var r=-1,o=t.parentNode;!o.classList.contains("ql-clipboard");)"list"===(P.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?e:e.compose((new q.default).retain(e.length()-1).retain(1,{indent:r}))}function m(t,e){return c(e,"\n")||(f(t)||e.length()>0&&t.nextSibling&&f(t.nextSibling))&&e.insert("\n"),e}function _(t,e){if(f(t)&&null!=t.nextElementSibling&&!c(e,"\n\n")){var n=t.offsetHeight+parseFloat(u(t).marginTop)+parseFloat(u(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function O(t,e){var n={},r=t.style||{};return r.fontStyle&&"italic"===u(t).fontStyle&&(n.italic=!0),r.fontWeight&&(u(t).fontWeight.startsWith("bold")||parseInt(u(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=s(e,n)),parseFloat(r.textIndent||0)>0&&(e=(new q.default).insert("\t").concat(e)),e}function w(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!u(t.parentNode).whiteSpace.startsWith("pre")){var r=function(t,e){return e=e.replace(/[^\u00a0]/g,""),e.length<1&&t?" ":e};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==t.previousSibling&&f(t.parentNode)||null!=t.previousSibling&&f(t.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==t.nextSibling&&f(t.parentNode)||null!=t.nextSibling&&f(t.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return e.insert(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),N=n(2),j=r(N),A=n(4),q=r(A),T=n(0),P=r(T),S=n(6),C=r(S),L=n(10),M=r(L),R=n(7),I=r(R),B=n(34),D=n(35),U=n(13),F=r(U),H=n(24),K=n(36),z=n(37),Z=n(38),V=(0,M.default)("quill:clipboard"),W="__ql-matcher",G=[[Node.TEXT_NODE,w],[Node.TEXT_NODE,m],["br",v],[Node.ELEMENT_NODE,m],[Node.ELEMENT_NODE,y],[Node.ELEMENT_NODE,_],[Node.ELEMENT_NODE,d],[Node.ELEMENT_NODE,O],["li",g],["b",p.bind(p,"bold")],["i",p.bind(p,"italic")],["style",b]],Y=[B.AlignAttribute,K.DirectionAttribute].reduce(function(t,e){return t[e.keyName]=e,t},{}),X=[B.AlignStyle,D.BackgroundStyle,H.ColorStyle,K.DirectionStyle,z.FontStyle,Z.SizeStyle].reduce(function(t,e){return t[e.keyName]=e,t},{}),$=function(t){function e(t,n){i(this,e);var r=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],G.concat(r.options.matchers).forEach(function(t){var e=k(t,2),o=e[0],i=e[1];(n.matchVisual||i!==_)&&r.addMatcher(o,i)}),r}return a(e,t),E(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"==typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[F.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new q.default).insert(n,o({},F.default.blotName,e[F.default.blotName]))}var r=this.prepareMatching(),i=k(r,2),l=i[0],a=i[1],s=h(this.container,l,a);return c(s,"\n")&&null==s.ops[s.ops.length-1].attributes&&(s=s.compose((new q.default).retain(s.length()-1).delete(1))),V.log("convert",this.container.innerHTML,s),this.container.innerHTML="",s}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,C.default.sources.SILENT);else{var r=this.convert(e);this.quill.updateContents((new q.default).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),C.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new q.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(C.default.sources.SILENT),setTimeout(function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,C.default.sources.USER),e.quill.setSelection(r.length()-n.length,C.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=o,e.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach(function(r){var o=k(r,2),i=o[0],l=o[1];switch(i){case Node.TEXT_NODE:n.push(l);break;case Node.ELEMENT_NODE:e.push(l);break;default:[].forEach.call(t.container.querySelectorAll(i),function(t){t[W]=t[W]||[],t[W].push(l)})}}),[e,n]}}]),e}(I.default);$.DEFAULTS={matchers:[],matchVisual:!0},e.default=$,e.matchAttributor=d,e.matchBlot=y,e.matchNewline=m,e.matchSpacing=_,e.matchText=w},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some(function(t){return null!=f.default.query(t,f.default.Scope.BLOCK)}))}function s(t){var e=t.reduce(function(t,e){return t+=e.delete||0},0),n=t.length()-e;return a(t)&&(n-=1),n}Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(0),f=r(c),h=n(6),p=r(h),d=n(7),y=r(d),v=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(p.default.events.EDITOR_CHANGE,function(t,e,n,o){t!==p.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&o!==p.default.sources.USER?r.transform(e):r.record(e,n))}),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),r}return l(e,t),u(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],p.default.sources.USER),this.ignoreChange=!1;var r=s(n[t]);this.quill.setSelection(r)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),t=o.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}),this.stack.redo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(y.default);v.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=v,e.getLastChangeIndex=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(0),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"add",value:function(t,n){if("+1"===n||"-1"===n){var r=this.value(t)||0;n="+1"===n?r+1:r-1}return 0===n?(this.remove(t),!0):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,n)}},{key:"canAdd",value:function(t,n){return a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,n)||a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(n))}},{key:"value",value:function(t){return parseInt(a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(u.default.Attributor.Class),f=new c("indent","ql-indent",{scope:u.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(3),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default);s.blotName="blockquote",s.tagName="blockquote",e.default=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(3),s=function(t){return t&&t.__esModule?t:{default:t}}(a),u=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(s.default);u.blotName="header",u.tagName=["H1","H2","H3","H4","H5","H6"],e.default=u},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},c=n(0),f=r(c),h=n(3),p=r(h),d=n(23),y=r(d),v=function(t){function e(){return i(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),s(e,[{key:"format",value:function(t,n){t!==b.blotName||n?u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n):this.replaceWith(f.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,n))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:u(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(p.default);v.blotName="list-item",v.tagName="LI";var b=function(t){function e(t){i(this,e);var n=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),r=function(e){if(e.target.parentNode===t){var r=n.statics.formats(t),o=f.default.find(e.target);"checked"===r?o.format("list","unchecked"):"unchecked"===r&&o.format("list","checked")}};return t.addEventListener("touchstart",r),t.addEventListener("mousedown",r),n}return a(e,t),s(e,null,[{key:"create",value:function(t){var n="ordered"===t?"OL":"UL",r=u(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==t&&"unchecked"!==t||r.setAttribute("data-checked","checked"===t),r}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),s(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return o({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,n){if(t instanceof v)u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=f.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(y.default);b.blotName="list",b.scope=f.default.Scope.BLOCK_BLOT,b.tagName=["OL","UL"],b.defaultChild="list-item",b.allowedChildren=[v],e.ListItem=v,e.default=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(39),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default);s.blotName="italic",s.tagName=["EM","I"],e.default=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(5),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(u.default);c.blotName="script",c.tagName=["SUB","SUP"],e.default=c},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(5),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default);s.blotName="strike",s.tagName="S",e.default=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(5),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default);s.blotName="underline",s.tagName="U",e.default=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(0),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=n(15),f=["alt","height","width"],h=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"format",value:function(t,n){f.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,c.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(u.default.Embed);h.blotName="image",h.tagName="IMG",e.default=h},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=n(3),u=n(15),c=function(t){return t&&t.__esModule?t:{default:t}}(u),f=["height","width"],h=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,[{key:"format",value:function(t,n){f.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"sanitize",value:function(t){return c.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(s.BlockEmbed);h.blotName="video",h.className="ql-video",h.tagName="IFRAME",e.default=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=n(33),c=r(u),f=n(6),h=r(f),p=n(7),d=r(p),y=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),a(e,null,[{key:"create",value:function(t){var n=s(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",t)),n}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(c.default);y.blotName="formula",y.className="ql-formula",y.tagName="SPAN";var v=function(t){function e(){o(this,e);var t=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return l(e,t),a(e,null,[{key:"register",value:function(){h.default.register(y,!0)}}]),e}(d.default);e.FormulaBlot=y,e.default=v},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=n(0),c=r(u),f=n(6),h=r(f),p=n(7),d=r(p),y=n(13),v=r(y),b=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),a(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(v.default);b.className="ql-syntax";var g=new c.default.Attributor.Class("token","hljs",{scope:c.default.Scope.INLINE}),m=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!=typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var l=null;return r.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(l),l=setTimeout(function(){r.highlight(),l=null},r.options.interval)}),r.highlight(),r}return l(e,t),a(e,null,[{key:"register",value:function(){h.default.register(g,!0),h.default.register(b,!0)}}]),a(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(h.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(b).forEach(function(e){e.highlight(t.options.highlight)}),this.quill.update(h.default.sources.SILENT),null!=e&&this.quill.setSelection(e,h.default.sources.SILENT)}}}]),e}(d.default);m.DEFAULTS={highlight:function(){return null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value}}(),interval:1e3},e.CodeBlock=b,e.CodeToken=g,e.default=m},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+e),null!=n&&(r.value=n),t.appendChild(r)}function u(t,e){Array.isArray(e[0])||(e=[e]),e.forEach(function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach(function(t){if("string"==typeof t)s(n,t);else{var e=Object.keys(t)[0],r=t[e];Array.isArray(r)?c(n,e,r):s(n,e,r)}}),t.appendChild(n)})}function c(t,e,n){var r=document.createElement("select");r.classList.add("ql-"+e),n.forEach(function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),r.appendChild(e)}),t.appendChild(r)}Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var f=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),p=n(4),d=r(p),y=n(0),v=r(y),b=n(6),g=r(b),m=n(10),_=r(m),O=n(7),w=r(O),x=(0,_.default)("quill:toolbar"),k=function(t){function e(t,n){i(this,e);var r=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(r.options.container)){var o=document.createElement("div");u(o,r.options.container),t.container.parentNode.insertBefore(o,t.container),r.container=o}else"string"==typeof r.options.container?r.container=document.querySelector(r.options.container):r.container=r.options.container;if(!(r.container instanceof HTMLElement)){var a;return a=x.error("Container required for toolbar",r.options),l(r,a)}return r.container.classList.add("ql-toolbar"),r.controls=[],r.handlers={},Object.keys(r.options.handlers).forEach(function(t){r.addHandler(t,r.options.handlers[t])}),[].forEach.call(r.container.querySelectorAll("button, select"),function(t){r.attach(t)}),r.quill.on(g.default.events.EDITOR_CHANGE,function(t,e){t===g.default.events.SELECTION_CHANGE&&r.update(e)}),r.quill.on(g.default.events.SCROLL_OPTIMIZE,function(){var t=r.quill.selection.getRange(),e=f(t,1),n=e[0];r.update(n)}),r}return a(e,t),h(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,n=[].find.call(t.classList,function(t){return 0===t.indexOf("ql-")});if(n){if(n=n.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void x.warn("ignoring attaching to disabled format",n,t);if(null==v.default.query(n))return void x.warn("ignoring attaching to nonexistent format",n,t)}var r="SELECT"===t.tagName?"change":"click";t.addEventListener(r,function(r){var i=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var l=t.options[t.selectedIndex];i=!l.hasAttribute("selected")&&(l.value||!1)}else i=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),r.preventDefault();e.quill.focus();var a=e.quill.selection.getRange(),s=f(a,1),u=s[0];if(null!=e.handlers[n])e.handlers[n].call(e,i);else if(v.default.query(n).prototype instanceof v.default.Embed){if(!(i=prompt("Enter "+n)))return;e.quill.updateContents((new d.default).retain(u.index).delete(u.length).insert(o({},n,i)),g.default.sources.USER)}else e.quill.format(n,i,g.default.sources.USER);e.update(u)}),this.controls.push([n,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach(function(n){var r=f(n,2),o=r[0],i=r[1];if("SELECT"===i.tagName){var l=void 0;if(null==t)l=null;else if(null==e[o])l=i.querySelector("option[selected]");else if(!Array.isArray(e[o])){var a=e[o];"string"==typeof a&&(a=a.replace(/\"/g,'\\"')),l=i.querySelector('option[value="'+a+'"]')}null==l?(i.value="",i.selectedIndex=-1):l.selected=!0}else if(null==t)i.classList.remove("ql-active");else if(i.hasAttribute("value")){var s=e[o]===i.getAttribute("value")||null!=e[o]&&e[o].toString()===i.getAttribute("value")||null==e[o]&&!i.getAttribute("value");i.classList.toggle("ql-active",s)}else i.classList.toggle("ql-active",null!=e[o])})}}]),e}(w.default);k.DEFAULTS={},k.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach(function(e){null!=v.default.query(e,v.default.Scope.INLINE)&&t.quill.format(e,!1)})}else this.quill.removeFormat(e,g.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;"rtl"===t&&null==e?this.quill.format("align","right",g.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,g.default.sources.USER),this.quill.format("direction",t,g.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),r=parseInt(n.indent||0);if("+1"===t||"-1"===t){var o="+1"===t?1:-1;"rtl"===n.direction&&(o*=-1),this.quill.format("indent",r+o,g.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,g.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,g.default.sources.USER):this.quill.format("list","unchecked",g.default.sources.USER):this.quill.format("list",t,g.default.sources.USER)}}},e.default=k,e.addControls=u},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(2),c=r(u),f=n(9),h=r(f),p=n(44),d=r(p),y=n(22),v=n(26),b=r(v),g=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],m=function(t){function e(t,n){o(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=g);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add("ql-bubble"),r}return l(e,t),s(e,[{key:"extendToolbar",value:function(t){this.tooltip=new _(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),b.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),b.default)}}]),e}(d.default);m.DEFAULTS=(0,c.default)(!0,{},d.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var _=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.on(h.default.events.EDITOR_CHANGE,function(t,e,n,o){if(t===h.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&o===h.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(e.index,e.length);if(1===i.length)r.position(r.quill.getBounds(e));else{var l=i[i.length-1],a=r.quill.getIndex(l),s=Math.min(l.length()-1,e.index+e.length-a),u=r.quill.getBounds(new y.Range(a,s));r.position(u)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()}),r}return l(e,t),s(e,[{key:"listen",value:function(){var t=this;a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){t.root.classList.remove("ql-editing")}),this.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),e}(p.BaseTooltip);_.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=_,e.default=m},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(2),f=r(c),h=n(9),p=r(h),d=n(44),y=r(d),v=n(15),b=r(v),g=n(22),m=n(26),_=r(m),O=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],w=function(t){function e(t,n){o(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=O);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add("ql-snow"),r}return l(e,t),u(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),_.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),_.default),this.tooltip=new x(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(e,n){t.handlers.link.call(t,!n.format.link)})}}]),e}(y.default);w.DEFAULTS=(0,f.default)(!0,{},y.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n);this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var x=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.preview=r.root.querySelector("a.ql-preview"),r}return l(e,t),u(e,[{key:"listen",value:function(){var t=this;s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,p.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()}),this.quill.on(p.default.events.SELECTION_CHANGE,function(e,n,r){if(null!=e){if(0===e.length&&r===p.default.sources.USER){var o=t.quill.scroll.descendant(b.default,e.index),i=a(o,2),l=i[0],s=i[1];if(null!=l){t.linkRange=new g.Range(e.index-s,l.length());var u=b.default.formats(l.domNode);return t.preview.textContent=u,t.preview.setAttribute("href",u),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}})}},{key:"show",value:function(){s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(d.BaseTooltip);x.TEMPLATE=['<a class="ql-preview" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://example.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=w}]).default});
5
  /* wpdEditor */
6
+ "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _instanceof(t,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _get(t,e,i){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=_superPropBase(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function _superPropBase(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_getPrototypeOf(t)););return t}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _createSuper(t){var e=_isNativeReflectConstruct();return function(){var i,n=_getPrototypeOf(t);if(e){var r=_getPrototypeOf(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return _possibleConstructorReturn(this,i)}}function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?_assertThisInitialized(t):e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _classCallCheck(t,e){if(!_instanceof(t,e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _createClass(t,e,i){return e&&_defineProperties(t.prototype,e),i&&_defineProperties(t,i),t}var wpdEditorCounter=function(){function t(e,i){_classCallCheck(this,t),this.quill=e,this.options=i,this.maxCount=i.maxcount,this.minCount=i.mincount,this.container=document.getElementById("wpd-editor-char-counter-"+i.uniqueID),this.submit=document.getElementById("wpd-field-submit-"+i.uniqueID),e.on("editor-change",this.update.bind(this)),this.update()}return _createClass(t,[{key:"calculate",value:function(){var t=this.quill.getText().length,e=this.quill.container.id,i=document.querySelectorAll("#".concat(e," .ql-editor img"));return i.length&&i.forEach(function(e){null!==e.src.match(/https\:\/\/s\.w\.org\/images\/core\/emoji/gi)?t+=e.alt.length:e.classList.contains("wpdem-sticker")?t+=e.alt.length:t+=e.src.length}),t}},{key:"update",value:function(){var t=this.calculate(),e=t-1;if(this.maxCount>0&&t>=this.maxCount&&this.quill.deleteText(this.maxCount,t),this.maxCount>0){var i=this.maxCount-e;this.container.innerText=i>=0?i:0,t+10>this.maxCount?this.container.classList.add("error"):this.container.classList.remove("error")}else this.container&&this.container.remove()}}]),t}();Quill.register("modules/counter",wpdEditorCounter);var Link=Quill.import("formats/link"),wpdEditorLink=function(t){_inherits(i,Link);var e=_createSuper(i);function i(){return _classCallCheck(this,i),e.apply(this,arguments)}return _createClass(i,null,[{key:"create",value:function(t){var e=_get(_getPrototypeOf(i),"create",this).call(this,t);t=this.sanitize(t),e.setAttribute("href",t);var n=location.protocol+"//"+location.hostname;return(t.startsWith(n)||"#"===t.charAt(0)||"/"===t.charAt(0)&&"/"!==t.charAt(1))&&e.removeAttribute("target"),e}},{key:"sanitize",value:function(t){var e=_get(_getPrototypeOf(i),"sanitize",this).call(this,t),n=e.slice(0,e.indexOf(":"));return"#"!==e.charAt(0)&&"/"!==e.charAt(0)&&-1===this.PROTOCOL_WHITELIST.indexOf(n)&&(e="http://"+t),e}}]),i}();Quill.register(wpdEditorLink,!0);var WpdEditor=function(){function t(){_classCallCheck(this,t),this.editorWraperPrefix="wpd-editor-wraper",this.textEditorContainer="ql-texteditor",this.textEditorPrefix="wc-textarea",this.editorToolbarPrefix="wpd-editor-toolbar",this.sourceCodeButtonName="sourcecode",this.spoiler="spoiler",this.spoilerPromtTitle=wpdiscuzAjaxObj.wc_spoiler_title,this._container="",this._uniqueid="",this.currentEditor=null,this._editors=new Map,this._handlers=new Map,this._initDefaults()}return _createClass(t,[{key:"addButtonEventHandler",value:function(t,e){this._handlers.set(t,e)}},{key:"createEditor",value:function(t){var e=this;if(this.container=t,this._editors.has(this.uniqueid))this.currentEditor=this._editors.get(this.uniqueid);else{var i="#".concat(this.editorToolbarPrefix,"-").concat(this.uniqueid);wpdiscuzEditorOptions.modules.toolbar=i,wpdiscuzEditorOptions.modules.counter.uniqueID=this.uniqueid;var n=new Quill(this.container,wpdiscuzEditorOptions);n.on("editor-change",function(t){null!==(arguments.length<=1?void 0:arguments[1])&&(e.currentEditor=n,e.container=n.container.id)}),n.clipboard.addMatcher("a",function(t,e){return t.getAttribute("href")===t.innerHTML?new(Quill.import("delta"))([{insert:t.innerHTML}]):e}),n.clipboard.addMatcher("img",function(t,e){var i=Quill.import("delta"),n=t.getAttribute("src");return/^data:image\/.+;base64/.test(n)?new i([{insert:""}]):new i([{insert:n}])}),document.querySelectorAll("".concat(i," button")).forEach(function(t){t.onclick=function(){e.currentEditor=n,e.container=n.container.id;var i=t.dataset.wpde_button_name;void 0!==i&&"string"==typeof i&&""!==i.trim()&&e._handlers.has(i)&&e._handlers.get(i)(e.currentEditor,e.uniqueid)}}),this._bindTextEditor(n),this._editors.set(this.uniqueid,n),document.getElementById("".concat(this.editorWraperPrefix,"-").concat(this.uniqueid)).style.display=""}return this.currentEditor}},{key:"removeEditor",value:function(t){this.container=t,this._editors.has(this.uniqueid)&&this._editors.delete(this.uniqueid)}},{key:"_bindTextEditor",value:function(t){var e="".concat(this.textEditorPrefix,"-").concat(this.uniqueid),i=document.getElementById(e);i&&(i.style.cssText="display: none;",t.addContainer(this.textEditorContainer).appendChild(i)),this.currentEditor=t}},{key:"_findUniqueId",value:function(){return this.container.substring(this.container.lastIndexOf("-")+1)}},{key:"_initDefaults",value:function(){var t=this;this.addButtonEventHandler(this.sourceCodeButtonName,function(e){document.getElementById("".concat(t.textEditorPrefix,"-").concat(t.uniqueid));var i=document.getElementById("wpd-editor-source-code-wrapper-bg"),n=document.getElementById("wpd-editor-source-code-wrapper"),r=document.getElementById("wpd-editor-source-code"),o=document.getElementById("wpd-editor-uid");i.style.display="block",n.style.display="block",o.value=e.container.id,r.value=e.root.innerHTML}),this.addButtonEventHandler(this.spoiler,function(e){var i=prompt(t.spoilerPromtTitle);if(null!==i){var n=' [spoiler title="'.concat(i,'"] '),r=e.getSelection();null===r&&(r={index:e.getLength()-1,length:0}),0===r.length?(e.insertText(r.index,n+" [/spoiler] ",Quill.sources.USER),e.setSelection(r.index+n.length,Quill.sources.USER)):(e.insertText(r.index,n),e.insertText(r.index+n.length+r.length," [/spoiler] ",Quill.sources.USER),e.setSelection(r.index+n.length+r.length+" [/spoiler] ".length,Quill.sources.USER))}})}},{key:"uniqueid",set:function(t){""!==t&&"string"==typeof t?this._uniqueid=t:""===t?this._uniqueid=this._findUniqueId():console.error("Incorrect uniqueid.")},get:function(){return this._uniqueid}},{key:"container",set:function(t){""!==t&&"string"==typeof t?(this._container=t,this.uniqueid=this._findUniqueId()):console.error("Incorrect uniqueid.")},get:function(){return this._container}}]),t}();
7
  /* Autogrow */
8
  jQuery.fn.autoGrow=function(){return this.each(function(){var createMirror=function(textarea){jQuery(textarea).after('<div class="autogrow-textarea-mirror"></div>');return jQuery(textarea).next(".autogrow-textarea-mirror")[0]};var sendContentToMirror=function(textarea){mirror.innerHTML=String(textarea.value).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\n/g,"<br />")+".<br/>.";if(jQuery(textarea).height()!=jQuery(mirror).height())jQuery(textarea).height(jQuery(mirror).height())};var growTextarea=function(){sendContentToMirror(this)};var mirror=createMirror(this);mirror.style.display="none";mirror.style.wordWrap="break-word";mirror.style.padding=jQuery(this).css("padding");mirror.style.width=jQuery(this).css("width");mirror.style.fontFamily=jQuery(this).css("font-family");mirror.style.fontSize=jQuery(this).css("font-size");mirror.style.lineHeight=jQuery(this).css("line-height");this.style.overflow="hidden";this.style.minHeight=this.rows+"em";this.onkeydown=growTextarea;sendContentToMirror(this)})};
9
  /* wpDiscuz */
10
+ var wpdiscuzLoadRichEditor=parseInt(wpdiscuzAjaxObj.loadRichEditor);if(wpdiscuzLoadRichEditor)var wpDiscuzEditor=new WpdEditor;function wpdMessagesOnInit(e,t){wpdiscuzAjaxObj.setCommentMessage(e,t),setTimeout(function(){location.href=location.href.substring(0,location.href.indexOf("wpdiscuzUrlAnchor")-1)},3e3)}wpdiscuzAjaxObj.setCommentMessage=function(e,t,o){var a="wpdiscuz-message-error";if(e instanceof Array)for(var n in e)t instanceof Array?"success"===t[n]?a="wpdiscuz-message-success":"warning"===t[n]&&(a="wpdiscuz-message-warning"):"success"===t?a="wpdiscuz-message-success":"warning"===t&&(a="wpdiscuz-message-warning"),jQuery("<div/>").addClass(a).html(e[n]).prependTo("#wpdiscuz-comment-message").delay(o instanceof Array?o[n]:o||4e3).fadeOut(1e3,function(){jQuery(this).remove()});else"success"===t?a="wpdiscuz-message-success":"warning"===t&&(a="wpdiscuz-message-warning"),jQuery("<div/>").addClass(a).html(e).prependTo("#wpdiscuz-comment-message").delay(o||4e3).fadeOut(1e3,function(){jQuery(this).remove()})},jQuery(document).ready(function(e){e("body").addClass("wpdiscuz_"+wpdiscuzAjaxObj.version);var t=wpdiscuzAjaxObj.is_user_logged_in,o=1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!t,a=1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&t,n=wpdiscuzAjaxObj.wpDiscuzReCaptchaVersion,i=parseInt(wpdiscuzAjaxObj.commentListLoadType),s=parseInt(wpdiscuzAjaxObj.wc_post_id),d=parseInt(wpdiscuzAjaxObj.commentListUpdateType),c=1e3*parseInt(wpdiscuzAjaxObj.commentListUpdateTimer),p=parseInt(wpdiscuzAjaxObj.liveUpdateGuests),r=wpdiscuzAjaxObj.loadLastCommentId,l=r,m=parseInt(wpdiscuzAjaxObj.firstLoadWithAjax);Cookies.get("wpdiscuz_comments_sorting")&&Cookies.remove("wpdiscuz_comments_sorting",{path:""}),Cookies.get("wordpress_last_visit")&&Cookies.remove("wordpress_last_visit",{path:""}),Cookies.get("wpdiscuz_last_visit")&&Cookies.remove("wpdiscuz_last_visit",{path:""});var w,u=wpdiscuzAjaxObj.storeCommenterData,f=parseInt(wpdiscuzAjaxObj.wmuEnabled),h=wpdiscuzAjaxObj.isCookiesEnabled,b=!0,_=wpdiscuzAjaxObj.cookiehash,g=parseInt(wpdiscuzAjaxObj.isLoadOnlyParentComments),v=parseInt(wpdiscuzAjaxObj.enableDropAnimation)?500:0,z=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),j=parseInt(wpdiscuzAjaxObj.enableBubble),C=parseInt(wpdiscuzAjaxObj.bubbleLiveUpdate),k=parseInt(wpdiscuzAjaxObj.bubbleHintTimeout),x=parseInt(wpdiscuzAjaxObj.bubbleHintHideTimeout)?parseInt(wpdiscuzAjaxObj.bubbleHintHideTimeout):5,y=parseInt(wpdiscuzAjaxObj.bubbleShowNewCommentMessage),O=wpdiscuzAjaxObj.bubbleLocation,A=wpdiscuzAjaxObj.inlineFeedbackAttractionType,I=[],T=[],D=[],E=!1,M=1,F=e("html").css("scroll-behavior"),R=e("body").css("scroll-behavior");(e(".wc_social_plugin_wrapper .wp-social-login-provider-list").length?e(".wc_social_plugin_wrapper .wp-social-login-provider-list").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .the_champ_login_container").length?e(".wc_social_plugin_wrapper .the_champ_login_container").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .social_connect_form").length?e(".wc_social_plugin_wrapper .social_connect_form").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .oneall_social_login_providers").length&&e(".wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"),wpdiscuzLoadRichEditor&&e("#wpd-editor-0_0").length&&wpDiscuzEditor.createEditor("#wpd-editor-0_0"),window.addEventListener("beforeunload",function(t){var o=e(".wpd-form").not(":hidden");if(o.length)if(wpdiscuzLoadRichEditor){for(var a=0;a<o.length;a++)if("\n"!==wpDiscuzEditor.createEditor(e(o[a]).find(".ql-container").attr("id")).getText())return t.preventDefault(),void(t.returnValue="")}else for(a=0;a<o.length;a++)if(e(o[a]).find(".wc_comment").val())return t.preventDefault(),void(t.returnValue="")}),e(document).on("focus","#wpdcom .ql-editor, #wpdcom .wc_comment",function(){e(".wpd-form-foot",e(this).parents(".wpd_comm_form")).slideDown(v)}),e(document).on("focus","#wpdcom textarea",function(){e(this).next(".autogrow-textarea-mirror").length||e(this).autoGrow()}),t)||q({comment_author:Cookies.get("comment_author_"+_),comment_author_email:Cookies.get("comment_author_email_"+_),comment_author_url:Cookies.get("comment_author_url_"+_)});if(e(".wpd-vote-down.wpd-dislike-hidden").remove(),e(".wpd-toolbar-hidden").prev("[id^=wpd-editor-]").css("border-bottom","1px solid #dddddd"),e(document).on("click","#wpd-editor-source-code-wrapper-bg",function(){e(this).hide(),e("#wpd-editor-source-code-wrapper").hide(),e("#wpd-editor-uid").val(""),e("#wpd-editor-source-code").val("")}),wpdiscuzLoadRichEditor&&e(document).on("click","#wpd-insert-source-code",function(){var t=wpDiscuzEditor.createEditor("#"+e("#wpd-editor-uid").val());t.deleteText(0,t.getLength(),Quill.sources.USER);var o=e("#wpd-editor-source-code").val();o.length&&t.clipboard.dangerouslyPasteHTML(0,o,Quill.sources.USER),t.update(),e("#wpd-editor-source-code-wrapper-bg").hide(),e("#wpd-editor-source-code-wrapper").hide(),e("#wpd-editor-uid").val(""),e("#wpd-editor-source-code").val("")}),e(document).on("click",".wpd-reply-button",function(){var i=G(e(this),0);e(this).hasClass("wpdiscuz-clonned")?(wpdiscuzLoadRichEditor?setTimeout(function(){wpDiscuzEditor.createEditor("#wpd-editor-"+i).focus()},v):setTimeout(function(){e("#wc-textarea-"+i).trigger("focus")},v),e("#wpd-secondary-form-wrapper-"+i).slideToggle(v)):function(o){var a=G(o,0);e("#wpdiscuz_form_anchor-"+a).before(function(t){return e("#wpdiscuz_hidden_secondary_form").html().replace(/wpdiscuzuniqueid/g,t)}(a));var n=e("#wpd-secondary-form-wrapper-"+a);if(!t){var i={comment_author:Cookies.get("comment_author_"+_),comment_author_email:Cookies.get("comment_author_email_"+_),comment_author_url:Cookies.get("comment_author_url_"+_)};q(i)}wpdiscuzLoadRichEditor?setTimeout(function(){wpDiscuzEditor.createEditor("#wpd-editor-"+a).focus()},v):setTimeout(function(){e("#wc-textarea-"+a).trigger("focus")},v);n.slideToggle(v,function(){o.addClass("wpdiscuz-clonned")})}(e(this)),function(t){if((o||a)&&"2.0"===n){var i=$(t);setTimeout(function(){if(!T[i])try{T[i]=grecaptcha.render("wpdiscuz-recaptcha-"+t,{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(o){e("#wpdiscuz-recaptcha-field-"+t).val("key")},"expired-callback":function(){e("#wpdiscuz-recaptcha-field-"+t).val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}},1e3)}}(i)}),e(document).on("click","#wpdcom .wpd-comment-link",function(){var t=e("[data-comment-url]",this).data("comment-url"),o=e("<input/>");o.appendTo("body").css({position:"absolute",top:"-10000000px"}).val(t),o.select(),document.execCommand("copy"),o.remove(),wpdiscuzAjaxObj.setCommentMessage(t+"<br/>"+wpdiscuzAjaxObj.wc_copied_to_clipboard,"success",5e3)}),e(document).on("click",".wpdiscuz-nofollow,.wc_captcha_refresh_img,.wpd-load-more-submit",function(e){e.preventDefault()}),e(document).on("click",".wpd-toggle.wpd_not_clicked",function(){var t=e(this);t.removeClass("wpd_not_clicked");var o=G(e(this),0),a=e(this),n=e(".fas",a);!a.parents(".wpd-comment:not(.wpd-reply)").children(".wpd-reply").length&&g?function(t,o){var a=$(t),n=new FormData;n.append("action","wpdShowReplies"),n.append("commentId",a),me(z,!0,n).done(function(a){o.addClass("wpd_not_clicked"),"object"==typeof a&&a.success&&(e("#wpd-comm-"+t).replaceWith(a.data.comment_list),e("#wpd-comm-"+t+" .wpd-toggle .fas").removeClass("fa-chevron-down").addClass("fa-chevron-up"),e("#wpd-comm-"+t+" .wpd-toggle").attr("wpd-tooltip",wpdiscuzAjaxObj.wc_hide_replies_text),e("#wpd-comm-"+t+" .wpd-toggle .wpd-view-replies").remove(),le(a)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,n){console.log(n),o.addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}(o,t):e("#wpd-comm-"+o+"> .wpd-reply").slideToggle(700,function(){e(this).is(":hidden")?(n.removeClass("fa-chevron-up"),n.addClass("fa-chevron-down"),a.attr("wpd-tooltip",wpdiscuzAjaxObj.wc_show_replies_text)):(n.removeClass("fa-chevron-down"),n.addClass("fa-chevron-up"),a.attr("wpd-tooltip",wpdiscuzAjaxObj.wc_hide_replies_text)),t.addClass("wpd_not_clicked")})}),e(document).on("mouseenter",".wpd-new-loaded-comment",function(){e(this).removeClass("wpd-new-loaded-comment")}),e(document).on("click",".wpd-sbs-toggle",function(){e(".wpdiscuz-subscribe-bar").slideToggle(v)}),parseInt(wpdiscuzAjaxObj.wpDiscuzIsShowOnSubscribeForm)&&!t&&wpdiscuzAjaxObj.wpDiscuzReCaptchaSK&&e("#wpdiscuz-subscribe-form").length&&("2.0"===n?(setTimeout(function(){try{grecaptcha.render("wpdiscuz-recaptcha-subscribe-form",{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(t){e("#wpdiscuz-recaptcha-field-subscribe-form").val("key")},"expired-callback":function(){e("#wpdiscuz-recaptcha-field-subscribe-form").val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}},1e3),e(document).on("submit","#wpdiscuz-subscribe-form",function(t){e("#wpdiscuz-recaptcha-field-subscribe-form").val()?e(".wpdiscuz-recaptcha",e(this)).css("border","none"):(e(".wpdiscuz-recaptcha",e(this)).css("border","1px solid red"),t.preventDefault())})):"3.0"===n&&e(document).on("click","#wpdiscuz_subscription_button",function(t){var o=e(this).parents("#wpdiscuz-subscribe-form");t.preventDefault();try{grecaptcha.ready(function(){grecaptcha.execute(wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,{action:"wpdiscuz/wpdAddSubscription"}).then(function(e){console.log(5555),document.getElementById("wpdiscuz-recaptcha-field-subscribe-form").value=e,o.submit()},function(e){wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error","error"),console.log(e)})})}catch(t){console.log(t),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+t.message,"error")}})),(o||a)&&"2.0"===n){var L=e(window).width(),S=e("#wpdcom").width();S>=1100&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"65%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"35%"})),S>=940&&S<1100&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"60%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"40%"})),S>=810&&S<940&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"40%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"60%"})),S>=730&&S<810&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"45%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"55%"})),S>=610&&S<730&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.85)","-webkit-transform":"scale(0.85)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"43%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"55%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"30%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"70%"})),L>650&&(S>=510&&S<610&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"center 0","-webkit-transform-origin":"center 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"35%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"63%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"30%",position:"relative",right:"-60px"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"70%"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"})),S>=470&&S<510&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"center 0","-webkit-transform-origin":"center 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"40%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"60%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd_main_comm_form .wc-form-footer").css({"margin-left":"0px"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"})),S<470&&(e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({margin:"0px auto","transform-origin":"center 0","-webkit-transform-origin":"center 0"}),e("#wpdcom .wpd-form-col-left").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-form-col-right").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"}),e("#wpdcom .wpd-secondary-form-wrapper .wc_notification_checkboxes").css({"text-align":"center"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-field-submit").css({"text-align":"center"})))}function H(t,o,a){me(z||f,!1,o).done(function(o){if(e(a).addClass("wpd_not_clicked"),"object"==typeof o)if(o.success){"collapsed"===wpdiscuzAjaxObj.commentFormView&&e(".wpd-form-foot",t).slideUp(v),e(".wpd-thread-info").html(o.data.wc_all_comments_count_before_threads_html),o.data.wc_all_comments_count_new=parseInt(o.data.wc_all_comments_count_new),e("#wpd-bubble-all-comments-count").replaceWith(o.data.wc_all_comments_count_bubble_html),o.data.wc_all_comments_count_new?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide();var n=v;o.data.is_main?oe(o.data.message):(n=v+700,e("#wpd-secondary-form-wrapper-"+o.data.uniqueid).slideToggle(700),1==o.data.is_in_same_container?e("#wpd-secondary-form-wrapper-"+o.data.uniqueid).after(o.data.message):e("#wpd-comm-"+o.data.uniqueid).after(o.data.message)),function(e){if(!e.data.held_moderate){var t=new FormData;t.append("action","wpdCheckNotificationType"),t.append("comment_id",e.data.new_comment_id),t.append("email",e.data.comment_author_email),t.append("isParent",e.data.is_main),me(z,!0,t)}}(o),function(e){if(e.data.redirect>0&&e.data.new_comment_id){var t=new FormData;t.append("action","wpdRedirect"),t.append("commentId",e.data.new_comment_id),me(z,!0,t).done(function(e){"object"==typeof e&&e.success&&setTimeout(function(){location.href=e.data},2e3)}).fail(function(e,t,o){console.log(o)})}}(o),h&&b?function(t){var o=t.comment_author_email,a=t.comment_author,n=t.comment_author_url;null==u?(Cookies.set("comment_author_email_"+_,o),Cookies.set("comment_author_"+_,a),n.length&&Cookies.set("comment_author_url_"+_,n)):(u=parseInt(u),Cookies.set("comment_author_email_"+_,o,{expires:u,path:"/"}),Cookies.set("comment_author_"+_,a,{expires:u,path:"/"}),n.length&&Cookies.set("comment_author_url_"+_,n,{expires:u,path:"/"}));e(".wpd-cookies-checkbox").length&&e(".wpd-cookies-checkbox").prop("checked",!0)}(o.data):b||e(".wpd-cookies-checkbox").removeAttr("checked"),wpdiscuzLoadRichEditor&&wpDiscuzEditor.createEditor("#wpd-editor-"+e(".wpdiscuz_unique_id",t).val()).setContents([{insert:"\n"}]),t.get(0).reset(),q(o.data),e(".wmu-preview-wrap",t).remove(),I.length&&(I.forEach(function(e){e.parents(".wpd-field-checkbox").remove()}),I=[]),parseInt(wpdiscuzAjaxObj.scrollToComment)&&setTimeout(function(){ee(),e("html, body").animate({scrollTop:e("#comment-"+o.data.new_comment_id).offset().top-32},1e3,te)},n),le(o,t)}else o.data&&(wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error"),le(o,t));else wpdiscuzAjaxObj.setCommentMessage(o,"error");e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,o,n){console.log(n),e(a).addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}function q(t){e(".wpd_comm_form .wc_name").val(t.comment_author),t.comment_author_email&&t.comment_author_email.indexOf("@example.com")<0&&e(".wpd_comm_form .wc_email").val(t.comment_author_email),t.comment_author_url&&e(".wpd_comm_form .wc_website").val(t.comment_author_url)}function U(t,o){e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd_editable_comment").show(),e("#wpd-comm-"+t+" .wpdiscuz-edit-form-wrap").replaceWith(o),e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").show()}e(document).on("click",".wc_comm_submit.wpd_not_clicked",function(){var i=e(this),s=1,d=e(this).parents("form");if(d.hasClass("wpd_main_comm_form")||(s=function(t){var o=t.attr("class").split(" "),a="";return e.each(o,function(e,t){"wpd_comment_level"===X(t,!1)&&(a=X(t,!0))}),parseInt(a)+1}(e(this).parents(".wpd-comment"))),Z(d,"#wpd-editor-"+e(".wpdiscuz_unique_id",d).val()),d.submit(function(e){e.preventDefault()}),""!==e(".wc_comment",d).val().trim()){if(d[0].checkValidity()&&(p=d,r=!0,"2.0"===n&&e("input[name=wc_captcha]",p).length&&!e("input[name=wc_captcha]",p).val().length?(r=!1,e(".wpdiscuz-recaptcha",p).css("border","1px solid red")):"2.0"===n&&e("input[name=wc_captcha]",p).length&&e(".wpdiscuz-recaptcha",p).css("border","none"),r)){E=!0,function(t){e(".wpd-agreement-checkbox",t).each(function(){e(this).hasClass("wpd_agreement_hide")&&h&&e(this).prop("checked")&&(Cookies.set(e(this).attr("name")+"_"+_,1,{expires:30,path:"/"}),e("input[name="+e(this).attr("name")+"]").each(function(){I.push(e(this))}))})}(d),e(i).removeClass("wpd_not_clicked");var c=new FormData;if(c.append("action","wpdAddComment"),e(":input",d).each(function(){""!=this.name&&"checkbox"!=this.type&&"radio"!=this.type&&c.append(this.name+"",e(this).val().trim()),"checkbox"!=this.type&&"radio"!=this.type||e(this).is(":checked")&&c.append(this.name+"",e(this).val())}),c.append("wpd_comment_depth",s),wpdiscuzAjaxObj.wpdiscuz_zs&&c.append("wpdiscuz_zs",wpdiscuzAjaxObj.wpdiscuz_zs),e(".wpd-cookies-checkbox",d).length?e(".wpd-cookies-checkbox",d).prop("checked")||(b=!1):t&&(b=!1),e("#wpdiscuz-loading-bar").show(),wpdiscuzAjaxObj.wpDiscuzReCaptchaSK&&"3.0"===n&&(1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!wpdiscuzAjaxObj.is_user_logged_in||1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&wpdiscuzAjaxObj.is_user_logged_in))try{grecaptcha.ready(function(){grecaptcha.execute(wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,{action:"wpdiscuz/addComment"}).then(function(e){c.append("g-recaptcha-response",e),H(d,c,i)},function(e){wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error","error"),console.log(e)})})}catch(t){console.log(t),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+t.message,"error"),e("#wpdiscuz-loading-bar").fadeOut(250)}else H(d,c,i)}var p,r;!function(e){if((o||a)&&"2.0"===n){var t=$(e);grecaptcha.reset(T[t])}}(e(".wpdiscuz_unique_id",d).val()),e(".wpdiscuz_reset").val("")}else wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wc_msg_required_fields,"error")}),e(document).on("click",".wpd_editable_comment",function(){w&&e(".wpdiscuz-edit-form-wrap").length&&U(G(e(".wpdiscuz-edit-form-wrap"),0),w);var t=G(e(this),0),o=$(t),a=new FormData;a.append("action","wpdEditComment"),a.append("commentId",o),w=e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-text").get(0),me(z,!0,a).done(function(o){if("object"==typeof o)if(o.success){if(e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd-comment-text").replaceWith(o.data.html),wpdiscuzLoadRichEditor){let a=wpDiscuzEditor.createEditor("#wpd-editor-edit_"+t);a.clipboard.dangerouslyPasteHTML(0,o.data.content),a.update(),e(".wpd-toolbar-hidden").prev("[id^=wpd-editor-]").css("border-bottom","1px solid #dddddd")}else e("#wc-textarea-edit_"+t).val(o.data.content);e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd_editable_comment").hide(),e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").hide()}else wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error");else console.log(o);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wc_save_edited_comment",function(){var t=G(e(this)),o=$(t),a=e("#wpd-comm-"+t+" #wpdiscuz-edit-form");if(Z(a,"#wpd-editor-edit_"+t),a.submit(function(e){e.preventDefault()}),a[0].checkValidity()){var n=new FormData;n.append("action","wpdSaveEditedComment"),n.append("commentId",o),e(":input",a).each(function(){""!==this.name&&"checkbox"!==this.type&&"radio"!==this.type&&n.append(this.name+"",e(this).val()),"checkbox"!==this.type&&"radio"!==this.type||e(this).is(":checked")&&n.append(this.name+"",e(this).val())}),me(z,!0,n).done(function(a){"object"==typeof a?(a.success?(U(t,a.data.message),a.data.lastEdited&&(e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").remove(),e(a.data.lastEdited).insertAfter("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd-comment-text")),a.data.twitterShareLink&&e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-share .wpd-tooltip-content .wc_tw").attr("href",a.data.twitterShareLink),a.data.whatsappShareLink&&e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-share .wpd-tooltip-content .wc_whatsapp").attr("href",a.data.whatsappShareLink),wpdiscuzLoadRichEditor&&wpDiscuzEditor.removeEditor("#wpd-editor-edit_"+t)):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error"),le(a,o)):console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).on("click",".wc_cancel_edit",function(){var t=G(e(this));U(t,w),wpdiscuzLoadRichEditor&&wpDiscuzEditor.removeEditor("#wpd-editor-edit_"+t)}),!wpdiscuzAjaxObj.wordpressIsPaginate&&m&&(M=0,1==m?setTimeout(function(){V(!0)},500):e(document).on("click",".wpd-load-comments",function(){e(this).parent(".wpd-load-more-submit-wrap").remove(),V(!0)})),e(document).on("click",".wpd-load-more-submit",function(){var t=e(this);t.hasClass("wpd-loaded")&&V(!1,t,"wpd-loaded","wpd-loading")});var W=!1;function P(){var t=e("#wpdiscuzHasMoreComments").val(),o=e(document).height(),a=e(window).height()+e(window).scrollTop();o&&a&&(100*a/o>=80&&!1===W&&1==t&&(W=!0,V(!1,e(".wpd-load-more-submit"))))}function V(t,o,a,n){o&&(o.toggleClass(a),o.toggleClass(n));var s=new FormData;s.append("action","wpdLoadMoreComments");var d=e(".wpdiscuz-sort-button-active").attr("data-sorting");d&&s.append("sorting",d),s.append("offset",M),s.append("lastParentId",e(".wpd-load-more-submit").attr("data-lastparentid")),s.append("isFirstLoad",t?1:0);var c=e(".wpdf-active").attr("data-filter-type");s.append("wpdType",c||""),me(z,!t||1!=m,s).done(function(s){"object"==typeof s&&s.success&&(M++,t&&e(".wpd-comment").remove(),e(".wpdiscuz_single").remove(),e(".wpdiscuz-comment-pagination").before(s.data.comment_list),B(s,t&&2!==i),W=!1,r=s.data.loadLastCommentId,le(s),t&&K(!1)),e("#wpdiscuz-loading-bar").fadeOut(250),e(".wpd-load-more-submit").blur(),o&&(o.toggleClass(a),o.toggleClass(n))}).fail(function(t,i,s){console.log(s),e("#wpdiscuz-loading-bar").fadeOut(250),e(".wpd-load-more-submit").blur(),o&&(o.toggleClass(a),o.toggleClass(n))})}function B(t,o){var a;0==t.data.is_show_load_more?(e("#wpdiscuzHasMoreComments").val(0),e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").hide()):(a=t.data.last_parent_id,e(".wpd-load-more-submit").attr("data-lastparentid",a),2!==i&&e(".wpdiscuz-comment-pagination").show(),e("#wpdiscuzHasMoreComments").val(1),o&&e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").show()),le(t)}function K(t){var o=location.href.match(/#comment\-(\d+)/);if(null!==o){var a=o[1];if(e("#comment-"+a).length)setTimeout(function(){ee(),e("html, body").animate({scrollTop:e("#comment-"+a).parents("[id^=wpd-comm-]").offset().top-32},1e3,te),t&&N(a)},500);else{var n=new FormData;n.append("action","wpdGetSingleComment"),n.append("commentId",a),me(z,!0,n).done(function(o){if("object"==typeof o&&o.success){var n="#comment-"+a;e("#comment-"+o.data.parentCommentID).length?e("#comment-"+o.data.parentCommentID).parents("[id^=wpd-comm-"+o.data.parentCommentID+"]").replaceWith(o.data.message):e(".wpd-thread-list").prepend(o.data.message),le(o),ee(),e("html, body").animate({scrollTop:e(n).offset().top-32},1e3,te),t&&N(a)}e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}}function N(t){setTimeout(function(){e("#comment-"+t).siblings(".wpd-secondary-form-wrapper").is(":visible")||e("#comment-"+t).find(".wpd-reply-button").trigger("click")},1100)}function Q(e){if(void 0!==e.data.message)for(var t,o=e.data.message,a=0;a<o.length;a++)Y((t=o[a]).comment_parent,t.comment_html)}function G(e,t){var o="";return(o=t?e.parents(".wpd-main-form-wrapper").attr("id"):e.parents(".wpd-comment").attr("id")).substring(o.lastIndexOf("-")+1)}function $(e){return e.substring(0,e.indexOf("_"))}function X(e,t){return t?e.substring(e.indexOf("-")+1):e.substring(0,e.indexOf("-"))}function Y(t,o){if(0==t)oe(o);else{var a=G(e("#comment-"+t),0);e("#wpdiscuz_form_anchor-"+a).after(o)}}function J(){var t=[];return e(".wpd-comment-right").each(function(){t.push($(G(e(this),0)))}),t.join(",")}function Z(t,o){var a=t.find(".wpd-required-group");wpdiscuzLoadRichEditor&&t.find(".wc_comment").val(e(o+">.ql-editor").html()),function(e){var t=e.find(".wc_comment"),o=t.val().trim().replace(/<p><br><\/p>/g,"\n").replace(/<p>(.*?)<\/p>/g,"$1\n");o=(o=(o=(o=o.replace(/<img src=["|']https\:\/\/s\.w\.org\/images\/core\/emoji\/([^"|']+)["|'](.*?)alt=["|']([^"|']+)["|'](.*?)[^>]*>/g," $3 ")).replace(/<img[^>]+alt=["|']([^"|']+)["|'][^>]+src=["|']https\:\/\/s\.w\.org\/images\/core\/emoji\/([^"|']+)["|'][^>]?>/g," $1 ")).replace(/<img\s+([^>]*)class=["|']wpdem\-sticker["|'](.*?)alt=["|']([^"|']+)["|'](.*?)[^>]*>/g," $3 ")).replace(/<img\s+([^>]*)src=["|']([^"|']+)["|'](.*?)[^>]*>/g," $2 "),t.val(o)}(t),e.each(a,function(){e("input",this).removeAttr("required"),0===e("input:checked",this).length?e("input",e(this)).prop("required",!0):e(".wpd-field-invalid",this).remove()})}function ee(){e("html, body").css("scroll-behavior","unset")}function te(){e("html").css("scroll-behavior",F),e("body").css("scroll-behavior",R)}function oe(t){e(".wpd-sticky-comment").last()[0]?e(t).insertAfter(e(".wpd-sticky-comment").last()[0]):e(".wpd-thread-list").prepend(t)}function ae(t){t?t.prop("required")||(t.val()?t.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","inline-block"):t.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","none")):e.each(e(".wc_email"),function(t,o){var a=e(o);a.prop("required")||(a.val()?a.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","inline-block"):a.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","none"))})}if(2!==i||wpdiscuzAjaxObj.wordpressIsPaginate||(e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").hide(),P(),e(window).scroll(function(){P()})),wpdiscuzAjaxObj.setLoadMoreVisibility=B,e(document).on("click",".wpd-vote-up.wpd_not_clicked, .wpd-vote-down.wpd_not_clicked",function(){var t=e(this);e(t).removeClass("wpd_not_clicked");var o,a=$(G(t));o=e(this).hasClass("wpd-vote-up")?1:-1;var n=new FormData;n.append("action","wpdVoteOnComment"),n.append("commentId",a),n.append("voteType",o),me(z,!0,n).done(function(n){if(e(t).addClass("wpd_not_clicked"),"object"==typeof n){if(n.success){if("total"===n.data.buttonsStyle){var i=e(".wpd-comment-footer .wpd-vote-result",e("#comment-"+a)),s=n.data.votes;i.text(n.data.votesHumanReadable),i.attr("title",s),i.removeClass("wpd-up wpd-down"),s>0&&i.addClass("wpd-up"),s<0&&i.addClass("wpd-down")}else{var d=e(".wpd-comment-footer .wpd-vote-result-like",e("#comment-"+a)),c=e(".wpd-comment-footer .wpd-vote-result-dislike",e("#comment-"+a));d.text(n.data.likeCountHumanReadable),d.attr("title",n.data.likeCount),c.text(n.data.dislikeCountHumanReadable),c.attr("title",n.data.dislikeCount),parseInt(n.data.likeCount)>0?d.addClass("wpd-up"):d.removeClass("wpd-up"),parseInt(n.data.dislikeCount)<0?c.addClass("wpd-down"):c.removeClass("wpd-down")}var p=e(".wpd-comment-footer .wpd-vote-up",e("#comment-"+a)),r=e(".wpd-comment-footer .wpd-vote-down",e("#comment-"+a));p.removeClass("wpd-up"),r.removeClass("wpd-down"),n.data.curUserReaction>0?p.addClass("wpd-up"):n.data.curUserReaction<0&&r.addClass("wpd-down")}else n.data&&wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[n.data],"error");le(n,a,o)}else console.log(n);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(o,a,n){console.log(n),e(t).addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click","body",function(t){var o=e(".wpdiscuz-sort-buttons");e(t.target).hasClass("wpdf-sorting")||e(t.target).parent().hasClass("wpdf-sorting")?o.css({display:o.is(":visible")?"none":"flex"}):o.hide()}),e(document).on("click",".wpdiscuz-sort-button:not(.wpdiscuz-sort-button-active)",function(){var t=e(this),o=e(this).attr("data-sorting");if(o){e(".wpdiscuz-sort-button.wpdiscuz-sort-button-active").removeClass("wpdiscuz-sort-button-active").appendTo(".wpdiscuz-sort-buttons"),t.addClass("wpdiscuz-sort-button-active").prependTo(".wpdf-sorting");var a=new FormData;a.append("action","wpdSorting"),a.append("sorting",o);var n=e(".wpdf-active").attr("data-filter-type");a.append("wpdType",n||""),me(z,!0,a).done(function(t){"object"==typeof t&&t.success&&(e("#wpdcom .wpd-comment").remove(),e("#wpdcom .wpd-thread-list").prepend(t.data.message),B(t,!1),M=1),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),window.onhashchange=function(){K(!1)},1!=m&&K(!1),e(document).on("click",".wpdiscuz-readmore",function(){var t=G(e(this)),o=$(t),a=new FormData;a.append("action","wpdReadMore"),a.append("commentId",o),me(z,!0,a).done(function(a){"object"==typeof a?(a.success?(e("#comment-"+o+" .wpd-comment-text").replaceWith(" "+a.data.message),e("#wpdiscuz-readmore-"+t).remove()):console.log(a.data),le(a)):console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("change",".wpd-required-group",function(){0!==e("input:checked",this).length?e("input",e(this)).removeAttr("required"):e("input",e(this)).prop("required",!0)}),e(document).on("click",".wpdiscuz-spoiler",function(){e(this).next().slideToggle(),e(this).hasClass("wpdiscuz-spoiler-closed")?e(this).parents(".wpdiscuz-spoiler-wrap").find(".fa-plus").removeClass("fa-plus").addClass("fa-minus"):e(this).parents(".wpdiscuz-spoiler-wrap").find(".fa-minus").removeClass("fa-minus").addClass("fa-plus"),e(this).toggleClass("wpdiscuz-spoiler-closed")}),e(document).on("click",".wpd-tools i",function(){var t=e(this).siblings(".wpd-tools-actions");t.is(":visible")||e(this).parents(".wpd-comment-right").attr("id")!==e("[id^=comment-]","#wpdcom").last().attr("id")||e("#comments").css({paddingBottom:"160px"}),t.css({display:t.is(":visible")?"none":"flex"})}),e(document).on("mouseleave",".wpd-comment-right",function(){e(this).find(".wpd-tools-actions").hide(),e("#comments").css({paddingBottom:"0"})}),e(document).on("click",".wpd_stick_btn",function(){var t=$(G(e(this),0)),o=new FormData;o.append("action","wpdStickComment"),o.append("commentId",t),me(z,!0,o).done(function(t){"object"==typeof t&&t.success&&location.reload(!0),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wpd_close_btn",function(){var t=$(G(e(this),0)),o=new FormData;o.append("action","wpdCloseThread"),o.append("commentId",t),me(z,!0,o).done(function(t){"object"==typeof t&&t.success&&location.reload(!0),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wpd-filter.wpd_not_clicked[data-filter-type]",function(){var t=e(this),o=t.attr("data-filter-type");wpdiscuzAjaxObj.resetActiveFilters(".wpdf-"+o),t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var a=new FormData;a.append("action","wpdLoadMoreComments");var n=e(".wpdiscuz-sort-button-active").attr("data-sorting");n&&a.append("sorting",n),a.append("lastParentId",0),a.append("offset",0),M=1,a.append("wpdType",t.hasClass("wpdf-active")?"":o),a.append("isFirstLoad",1),e(this).hasClass("wpdf-inline")?e(this).hasClass("wpdf-active")?e(".wpd-comment-info-bar").hide():e(".wpd-comment-info-bar").css("display","flex"):e(".wpd-comment-info-bar").hide(),me(z,!1,a).done(function(o){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof o&&o.success&&(t.toggleClass("wpdf-active"),e(".wpd-load-comments").remove(),e(".wpd-comment").remove(),e(".wpd-thread-list").prepend(o.data.comment_list),B(o),r=o.data.loadLastCommentId,e(".wpd-load-more-submit").blur(),le(o)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wpdf-reacted.wpd_not_clicked",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var o=new FormData;o.append("action","wpdMostReactedComment"),me(z,!1,o).done(function(o){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof o&&o.success&&(e("#comment-"+o.data.parentCommentID).length?e("#comment-"+o.data.parentCommentID).parents("[id^=wpd-comm-"+o.data.parentCommentID+"]").replaceWith(o.data.message):e("#comment-"+o.data.commentId).length||e(".wpd-thread-list").prepend(o.data.message),le(o),ee(),e("html, body").animate({scrollTop:e("#comment-"+o.data.commentId).offset().top-32},1e3,te))}).fail(function(o,a,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner")})}),e(document).on("click",".wpdf-hottest.wpd_not_clicked",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var o=new FormData;o.append("action","wpdHottestThread"),me(z,!1,o).done(function(o){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof o&&o.success&&(e("#comment-"+o.data.commentId).length?e("#comment-"+o.data.commentId).parents("[id^=wpd-comm-"+o.data.commentId+"]").replaceWith(o.data.message):e(".wpd-thread-list").prepend(o.data.message),le(o),ee(),e("html, body").animate({scrollTop:e("#comment-"+o.data.commentId).offset().top-32},1e3,te))}).fail(function(o,a,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner")})}),e(document).on("click",".wpd-filter-view-all",function(){e(".wpdf-inline.wpdf-active.wpd_not_clicked").trigger("click")}),e(document).on("click",".wpd-follow-link.wpd_not_clicked",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var o=$(G(t,0)),a=new FormData;a.append("action","wpdFollowUser"),a.append("commentId",o),me(z,!0,a).done(function(o){t.addClass("wpd_not_clicked"),"object"==typeof o?o.success?(wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data.code],"success"),t.removeClass("wpd-follow-active"),o.data.followTip&&t.attr("wpd-tooltip",o.data.followTip),o.data.followClass&&t.addClass(o.data.followClass)):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error"):console.log(o),e(".fas",t).removeClass("fa-pulse fa-spinner"),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(o,a,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner"),e("#wpdiscuz-loading-bar").fadeOut(250)})}),ae(),e(document).on("keyup",".wc_email",function(){ae(e(this))}),j&&e("#wpdcom").length){if(e("#wpd-bubble-wrapper").hover(function(){e(this).addClass("wpd-bubble-hover")},function(){e(this).removeClass("wpd-bubble-hover")}),k&&!Cookies.get(wpdiscuzAjaxObj.cookieHideBubbleHint)&&setTimeout(function(){e("#wpd-bubble-wrapper").addClass("wpd-bubble-hover"),Cookies.set(wpdiscuzAjaxObj.cookieHideBubbleHint,"1",{expires:7,path:"/"}),setTimeout(function(){e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover")},1e3*x)},1e3*k),"content_left"===O)if(e(".entry-content").length){var ne=(ie=Math.min(e(".entry-content").offset().left,e("#wpdcom").offset().left)-120)>25?ie:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else if(e(".post-entry").length){ne=(ie=Math.min(e(".post-entry").offset().left,e("#wpdcom").offset().left)-120)>25?ie:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else if(e(".container").length){var ie;ne=(ie=Math.min(e(".container").offset().left,e("#wpdcom").offset().left)-120)>25?ie:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else e("#wpd-bubble-wrapper").css({left:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-corner");else"left_corner"===O?(e("#wpd-bubble-wrapper").css({left:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-corner")):"right_corner"===O&&(e("#wpd-bubble-wrapper").css({right:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-right-corner"));e("#wpd-bubble-wrapper").show(),e(document).on("click","#wpd-bubble-add-message-close",function(t){t.preventDefault(),t.stopPropagation(),e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover")}),e(document).on("click","#wpd-bubble",function(){ee(),e("html, body").animate({scrollTop:e("#wpdcom").offset().top-60},1e3,function(){te(),e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover"),wpdiscuzLoadRichEditor?e("#wpd-editor-0_0").length&&wpDiscuzEditor.createEditor("#wpd-editor-0_0").focus():e("#wc-textarea-0_0").length&&e("#wc-textarea-0_0").focus()})}),e(document).on("click","#wpd-bubble-comment-close",function(t){t.preventDefault(),e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added")}),e(document).on("click","#wpd-bubble-comment-reply-link a",function(){var t=e(this).attr("href");setTimeout(function(){e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added"),K(!0);var o=t.match(/#comment\-(\d+)/);D=D.filter(function(e){return e!=o[1]}),e("#wpd-bubble-count .wpd-new-comments-count").text(D.length),0==D.length&&e("#wpd-bubble-count").removeClass("wpd-new-comments")},100)}),e(document).on("click","#wpd-bubble-count",function(){if(D.length){var t=new FormData;t.append("action","wpdBubbleUpdate"),t.append("newCommentIds",D.join()),me(z,!0,t).done(function(t){"object"==typeof t&&t.success&&(t.data.message=t.data.message.filter(function(t){if(!e("#comment-"+t.comment_id).length)return t}),Q(t),e("#wpd-bubble-count").removeClass("wpd-new-comments"),e("#wpd-bubble-count .wpd-new-comments-count").text("0"),D=[],e(".wpd-new-loaded-comment").length&&(ee(),e("html, body").animate({scrollTop:e(e(".wpd-new-loaded-comment")[0]).offset().top-60},1e3,te)),le(t)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(e,t,o){console.log(o)})}})}if((j&&C||d)&&(t||!t&&p)&&setTimeout(function t(){e.ajax({type:"GET",url:wpdiscuzAjaxObj.bubbleUpdateUrl,beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",wpdiscuzAjaxObj.restNonce)},data:{postId:s,lastId:l,visibleCommentIds:J()}}).done(function(o){if(!E)if("object"==typeof o){if(o.commentIDsToRemove.forEach(function(t){e("[id^=wpd-comm-"+t+"]").remove()}),o.ids.length){d&&((i=new FormData).append("action","wpdUpdateAutomatically"),i.append("loadLastCommentId",r),i.append("visibleCommentIds",J()),me(z,!1,i).done(function(t){E||"object"==typeof t&&t.success&&(Q(t),e(".wpd-thread-info").html(t.data.wc_all_comments_count_before_threads_html),t.data.wc_all_comments_count_new=parseInt(t.data.wc_all_comments_count_new),e("#wpd-bubble-all-comments-count").replaceWith(t.data.wc_all_comments_count_bubble_html),t.data.wc_all_comments_count_new?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),r=t.data.loadLastCommentId)}).fail(function(e,t,o){console.log(o)})),o.ids=o.ids.filter(function(t){if(!e("#comment-"+t).length)return t});var a=5e3;l=parseInt(o.ids[o.ids.length-1]),D=D.concat(o.ids),y&&o.commentText&&(e("#wpd-bubble-author-avatar").html(o.avatar),e("#wpd-bubble-author-name").html(o.authorName),e("#wpd-bubble-comment-date span").html(o.commentDate),e("#wpd-bubble-comment-text").html(o.commentText),e("#wpd-bubble-comment-reply-link a").attr("href",o.commentLink),e("#wpd-bubble-notification-message").show(),a=1e4);var n=parseInt(e(".wpd-new-comments-count").text());n+=o.ids.length,e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added"),e("#wpd-bubble-wrapper").addClass("wpd-new-comment-added"),setTimeout(function(){e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added")},a),e(".wpd-new-comments-count").text(n),e("#wpd-bubble-count").addClass("wpd-new-comments")}o.all_comments_count=parseInt(o.all_comments_count),e("#wpd-bubble-all-comments-count").replaceWith(o.all_comments_count_bubble_html),o.all_comments_count?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),e(".wpd-thread-info").html(o.all_comments_count_before_threads_html)}else console.log(o);var i;setTimeout(t,c)}).fail(function(e,o,a){console.log(a),setTimeout(t,c)})},c),e(".wpd-inline-form-wrapper").length){var se=new FormData;se.append("action","wpdGetInlineCommentForm"),me(z,!1,se).done(function(t){"object"==typeof t?t.success?(e(".wpd-inline-form-wrapper").append(t.data),e.each(e("[name=_wpd_inline_nonce]"),function(){var t=e(this).attr("id"),o=e(this).parents(".wpd-inline-shortcode").attr("id");e(this).attr("id",t+"-"+o.substring(o.lastIndexOf("-")+1))}),e(".wpd-inline-opened").addClass("wpd-active"),e(".wpd-inline-opened").find(".wpd-inline-form-wrapper").show(),e(".wpd-inline-opened").find(".wpd-inline-icon").addClass("wpd-open"),e(".wpd-inline-opened").find(".wpd-inline-icon").removeClass("wpd-ignored"),re()):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error"):console.log(t)}).fail(function(e,t,o){console.log(o)})}function de(t){if(e(t).hasClass("wpd-inline-shortcode"))var o=e(t).attr("id");else o=e(t).parents(".wpd-inline-shortcode").attr("id");return o.substring(o.lastIndexOf("-")+1)}function ce(){e(".wpd-inline-form-wrapper").hide(),e(".wpd-inline-shortcode").removeClass("wpd-active"),e(".wpd-inline-icon").removeClass("wpd-open")}function pe(){e.each(e(".wpd-inline-shortcode:not(.wpd-inline-opened) .wpd-inline-icon"),function(){var t=e(this),o=t.offset().top-window.pageYOffset;o>0&&o<300&&("blink"===A?(t.addClass("wpd-blink"),setTimeout(function(){t.removeClass("wpd-blink")},3e3)):(t.parents(".wpd-inline-shortcode").addClass("wpd-active"),t.siblings(".wpd-inline-form-wrapper").show(),t.addClass("wpd-open"),re(t.siblings(".wpd-inline-form-wrapper"))))})}function re(t){if(t){if(t.offset().left<=10)t.css("left",Math.ceil(parseInt(t.css("left"))-t.offset().left+10)),(o=Math.ceil(t.siblings(".wpd-inline-icon.wpd-open").offset().left-t.offset().left+2))<3&&(o=3),document.styleSheets[0].addRule("#"+t.parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+o+"px;");else if(t.offset().left+t.width()>document.body.clientWidth-10){var o;t.css("left",Math.ceil(parseInt(t.css("left"))+(document.body.clientWidth-(t.offset().left+t.width()))-10)),(o=Math.ceil(t.siblings(".wpd-inline-icon.wpd-open").offset().left-t.offset().left+2))>t.width()-3&&(o=t.width()-3),document.styleSheets[0].addRule("#"+t.parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+o+"px;")}}else e.each(e(".wpd-inline-form-wrapper:visible"),function(){if(e(this).offset().left<=10)e(this).css("left",Math.ceil(parseInt(e(this).css("left"))-e(this).offset().left+10)),(t=Math.ceil(e(this).siblings(".wpd-inline-icon.wpd-open").offset().left-e(this).offset().left+2))<3&&(t=3),document.styleSheets[0].addRule("#"+e(this).parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+t+"px;");else if(e(this).offset().left+e(this).width()>document.body.clientWidth-10){var t;e(this).css("left",Math.ceil(parseInt(e(this).css("left"))+(document.body.clientWidth-(e(this).offset().left+e(this).width()))-10)),(t=Math.ceil(e(this).siblings(".wpd-inline-icon.wpd-open").offset().left-e(this).offset().left+2))>e(this).width()-3&&(t=e(this).width()-3),document.styleSheets[0].addRule("#"+e(this).parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+t+"px;")}})}function le(t,o,a,n){t.data.callbackFunctions&&e.each(t.data.callbackFunctions,function(e){"function"==typeof wpdiscuzAjaxObj[t.data.callbackFunctions[e]]?wpdiscuzAjaxObj[t.data.callbackFunctions[e]](t,o,a,n):console.log(t.data.callbackFunctions[e]+" is not a function")})}function me(t,o,a){o&&e("#wpdiscuz-loading-bar").show(),a.append("postId",s);var n=a.get("action");wpdiscuzAjaxObj.dataFilterCallbacks&&wpdiscuzAjaxObj.dataFilterCallbacks[n]&&e.each(wpdiscuzAjaxObj.dataFilterCallbacks[n],function(e){"function"==typeof wpdiscuzAjaxObj[wpdiscuzAjaxObj.dataFilterCallbacks[n][e]]&&(a=wpdiscuzAjaxObj[wpdiscuzAjaxObj.dataFilterCallbacks[n][e]](a,t,o))});var i=t?wpdiscuzAjaxObj.url:wpdiscuzAjaxObj.customAjaxUrl;return e.ajax({type:"POST",url:i,data:a,contentType:!1,processData:!1})}e(document).on("click","body",function(t){if(e(t.target).hasClass("wpd-inline-form-close")||e(t.target).parents(".wpd-inline-form-close").length)t.preventDefault(),e(t.target).parents(".wpd-inline-form-wrapper").hide(),e(t.target).parents(".wpd-inline-shortcode").removeClass("wpd-active"),e(t.target).parents(".wpd-inline-form-wrapper").siblings(".wpd-inline-icon").removeClass("wpd-open");else if(!e(t.target).hasClass("wpd-inline-form-wrapper")&&!e(t.target).parents(".wpd-inline-form-wrapper").length){ce();var o="";e(t.target).hasClass("wpd-inline-icon")?o=e(t.target):e(t.target).parents(".wpd-inline-icon").length&&(o=e(t.target).parents(".wpd-inline-icon")),o.length&&(o.parents(".wpd-inline-shortcode").addClass("wpd-active"),o.siblings(".wpd-inline-form-wrapper").show(),o.addClass("wpd-open"),o.removeClass("wpd-ignored"),re(o.siblings(".wpd-inline-form-wrapper")))}(!e(t.target).hasClass("wpd-last-inline-comments-wrapper")&&!e(t.target).parents(".wpd-last-inline-comments-wrapper").length||e(t.target).parents(".wpd-last-inline-comments-wrapper").length&&e(t.target).hasClass("wpd-load-inline-comment"))&&e(".wpd-last-inline-comments-wrapper").remove()}),e(document).on("click",".wpd-inline-submit.wpd_not_clicked",function(t){t.preventDefault();var o=e(this),a=e(this).parents(".wpd_inline_comm_form");if(a[0].checkValidity()){e(this).removeClass("wpd_not_clicked");var n=new FormData;n.append("action","wpdAddInlineComment"),n.append("inline_form_id",de(a)),e.each(e("input, textarea",a),function(t,o){"checkbox"===this.type?e(this).is(":checked")&&n.append(e(o).attr("name"),e(o).val()):n.append(e(o).attr("name"),e(o).val())}),me(z,!0,n).done(function(t){if(o.addClass("wpd_not_clicked"),"object"==typeof t)if(t.success){a[0].reset(),ce();var n=parseInt(t.data.newCount),i=o.parents(".wpd-inline-icon-wrapper").find(".wpd-inline-icon-count");i.text(n),n?i.addClass("wpd-has-comments"):i.removeClass("wpd-has-comments"),e(".wpd-thread-info").html(t.data.allCommentsCountBeforeThreadsHtml),t.data.allCommentsCountNew=parseInt(t.data.allCommentsCountNew),e("#wpd-bubble-all-comments-count").replaceWith(t.data.allCommentsCountBubbleHtml),t.data.allCommentsCountNew?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),t.data.message&&oe(t.data.message),wpdiscuzAjaxObj.setCommentMessage(t.data.notification,"success")}else t.data&&wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error");else wpdiscuzAjaxObj.setCommentMessage(t,"error");e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).on("keydown",".wpd-form",function(t){t.ctrlKey&&13==t.keyCode&&e(this).find(".wc_comm_submit").trigger("click")}),e(document).on("keydown","#wpdiscuz-edit-form",function(t){t.ctrlKey&&13==t.keyCode&&e(this).find(".wc_save_edited_comment").trigger("click")}),e(document).on("keydown",".wpd-inline-comment-content",function(t){t.ctrlKey&&13==t.keyCode&&e(this).parents(".wpd_inline_comm_form").find(".wpd-inline-submit.wpd_not_clicked").trigger("click")}),e(document).on("click",".wpd-inline-icon-count.wpd-has-comments",function(){var t=e(this),o=new FormData;o.append("action","wpdGetLastInlineComments"),o.append("inline_form_id",de(t)),me(z,!0,o).done(function(o){"object"==typeof o?o.success?e(o.data).insertAfter(t):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error"):console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wpd-view-all-inline-comments",function(t){t.preventDefault(),e(this).parents(".wpd-last-inline-comments-wrapper").remove(),e(".wpdf-inline").hasClass("wpdf-active")||e(".wpdf-inline").trigger("click"),ee(),e("html, body").animate({scrollTop:e(".wpdf-inline").offset().top-32},1e3,te)}),e(document).on("click",".wpd-feedback-content-link",function(t){t.preventDefault();var o=e(this).data("feedback-content-id");ee(),e("html, body").animate({scrollTop:e("#wpd-inline-"+o).offset().top-38},1e3,function(){te(),e("#wpd-inline-"+o).addClass("wpd-active")})}),"scroll_open"!==A&&"blink"!==A||(pe(),e(window).scroll(pe)),e(document).on("click","#wpd-post-rating.wpd-not-rated .wpd-rate-starts svg",function(){var t=new FormData,o=e(this).index();o>=0&&o<5&&(t.append("action","wpdUserRate"),t.append("rating",o+1),me(z,!0,t).done(function(t){"object"==typeof t?t.success?location.reload(!0):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error"):console.log(t),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)}))}),e("#wpdiscuz-subscribe-form").submit(function(t){t.preventDefault();var o,a,i=e(this);if(i[0].checkValidity()&&(o=i,a=!0,"2.0"===n&&e("input[name=wpdiscuz_recaptcha_subscribe_form]",o).length&&!e("input[name=wpdiscuz_recaptcha_subscribe_form]",o).val().length?(a=!1,e(".wpdiscuz-recaptcha",o).css("border","1px solid red")):"2.0"===n&&e("input[name=wpdiscuz_recaptcha_subscribe_form]",o).length&&e(".wpdiscuz-recaptcha",o).css("border","none"),a)){var s=new FormData;s.append("action","wpdAddSubscription"),e("*",i).each(function(){""!=this.name&&"checkbox"!=this.type&&"radio"!=this.type&&s.append(this.name+"",e(this).val()),"checkbox"!=this.type&&"radio"!=this.type||e(this).is(":checked")&&s.append(this.name+"",e(this).val())}),me(z,!0,s).done(function(t){"object"==typeof t?t.success?(wpdiscuzAjaxObj.setCommentMessage(t.data,"success"),setTimeout(function(){location.reload(!0)},3e3)):wpdiscuzAjaxObj.setCommentMessage(t.data,"error"):wpdiscuzAjaxObj.setCommentMessage(t,"error"),e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).on("click",".wpd-unsubscribe",function(t){t.preventDefault();var o=new FormData;o.append("action","wpdUnsubscribe"),o.append("sid",e(this).data("sid")),o.append("skey",e(this).data("skey")),me(z,!0,o).done(function(t){"object"==typeof t?t.success?(wpdiscuzAjaxObj.setCommentMessage(t.data,"success"),setTimeout(function(){location.reload(!0)},3e3)):wpdiscuzAjaxObj.setCommentMessage(t.data,"error"):console.log(t),e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),wpdiscuzAjaxObj.resetActiveFilters=function(t){e(".wpd-filter.wpdf-active"+(t?":not("+t+")":"")).removeClass("wpdf-active")},wpdiscuzAjaxObj.getAjaxObj=me});var onloadCallback=function(){if(document.getElementById("wpdiscuz-recaptcha-0_0")&&"2.0"===wpdiscuzAjaxObj.wpDiscuzReCaptchaVersion&&(1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!wpdiscuzAjaxObj.is_user_logged_in||1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&wpdiscuzAjaxObj.is_user_logged_in))try{grecaptcha.render("wpdiscuz-recaptcha-0_0",{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(e){jQuery("#wpdiscuz-recaptcha-field-0_0").val("key")},"expired-callback":function(){jQuery("#wpdiscuz-recaptcha-field-0_0").val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}};
11
  /* Colorbox */
12
+ (function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!U){U=$=!0,c(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=Math.max((l!==!1?Math.min(h,a(l,"x")):h)-z-D,0),_.h=Math.max((f!==!1?Math.min(s,a(f,"y")):s)-N-j,0),I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){x||(V=!1,E=t(i),x=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),L=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(F=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),S=t('<button type="button"/>').attr({id:Z+"Slideshow"}),L),B=t('<button type="button"/>').attr({id:Z+"Close"}),y.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(S)),e.body&&!x.parent().length&&t(e.body).append(v,x.append(y,M))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return x?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;U&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),U&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),typeof t.fn.on === 'function'?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,r,h=J.prep,d=++le;if($=!0,q=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){L.show()},100),_.get("inline")){var c=t(e).eq(0);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),q=_.get("createImg"),t(q).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>1&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){q.height-=q.height*e,q.width-=q.width*e},_.mw&&q.width>_.mw&&(e=(q.width-_.mw)/q.width,o()),_.mh&&q.height>_.mh&&(e=(q.height-_.mh)/q.height,o())),_.h&&(q.style.marginTop=Math.max(_.mh-q.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(q.style.cursor="pointer",t(q).bind("click."+Z,function(){J.next()})),q.style.width=q.width+"px",q.style.height=q.height+"px",h(q)},1)}),q.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B,O,_,j,D,N,z,A,q,U,$,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){S.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),x.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),S.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),x.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,S.hide(),t(),ae.unbind(ne,e).unbind(ie,t),x.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),S.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px"}var r,h,s,l=0,d=0,c=x.offset();if(E.unbind("resize."+Z),x.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,x.css({position:"fixed"})):(l=h,d=s,x.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),x.css({top:c.top,left:c.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0}),e=g}de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){n(),$=!1,y[0].style.width=_.w+z+D+"px",y[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;U&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function a(){return _.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if(U){var d,g="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(M.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),M.hide(),t(q).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&x[0].style.removeAttribute("filter")}var n,o,a=W.length;U&&(o=function(){clearTimeout(Q),L.hide(),u(ne),_.get("onComplete")},F.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?x.fadeTo(g,1,i):i())},"fade"===_.get("transition")?x.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!$&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]))},J.prev=function(){!$&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]))},J.close=function(){U&&!G&&(G=!0,U=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){x&&(x.stop(),t[Y].close(),x.stop(!1,!0).remove(),v.remove(),G=!1,x=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window);
13
  /* Media Uploader */
14
  jQuery(document).ready(function(e){if(e(document).delegate("#wpdcom .wmu-upload-wrap","click",function(){e(".wpd-form-foot",e(this).parents(".wpd_comm_form")).slideDown(parseInt(wpdiscuzAjaxObj.enableDropAnimation)?500:0)}),e(document).delegate(".wmu-add-files","change",function(){var a=e(this),t=a.parents(".wpd_comm_form"),d=a[0].files?a[0].files:[];d.length&&function(a,t,d){var o=new FormData;o.append("action","wmuUploadFiles"),o.append("wmu_nonce",wpdiscuzAjaxObj.wmuSecurity),o.append("wmuAttachmentsData",e(".wmu-attachments-data",t).val());var i=0;e.each(d,function(e,a){i+=a.size,o.append(wpdiscuzAjaxObj.wmuInput+"["+e+"]",a)}),i>parseInt(wpdiscuzAjaxObj.wmuMaxFileSize)?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wmuPhraseMaxFileSize,"error",3e3):i>parseInt(wpdiscuzAjaxObj.wmuPostMaxSize)?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wmuPhrasePostMaxSize,"error",3e3):wpdiscuzAjaxObj.getAjaxObj(!0,!0,o).done(function(a){a.success?(e(".wmu-attached-data-info",t).remove(),e(".wmu-add-files",t).after(a.data.attachmentsHtml),a.data.tooltip&&e(".wmu-upload-wrap").attr("wpd-tooltip",a.data.tooltip),function(a,t){e.each(t.data.previewsData,function(t,d){e(".wmu-action-wrap .wmu-"+t+"-tab",a).html(""),e.each(d,function(d,o){var i=o.id,m="",s=o.fullname,u=o.shortname;t==wpdiscuzAjaxObj.wmuKeyImages?(m=o.url,u=""):t==wpdiscuzAjaxObj.wmuKeyVideos?m=wpdiscuzAjaxObj.wmuIconVideo:t==wpdiscuzAjaxObj.wmuKeyFiles&&(m=wpdiscuzAjaxObj.wmuIconFile);var r='<div class="wmu-preview [PREVIEW_TYPE_CLASS]" title="[PREVIEW_TITLE]" data-wmu-type="[PREVIEW_TYPE]" data-wmu-attachment="[PREVIEW_ID]"><div class="wmu-preview-remove"><img class="wmu-preview-img" src="[PREVIEW_ICON]"><div class="wmu-file-name">[PREVIEW_FILENAME]</div><div class="wmu-delete">&nbsp;</div></div></div>';r=(r=(r=(r=(r=(r=r.replace("[PREVIEW_TYPE_CLASS]","wmu-preview-"+t)).replace("[PREVIEW_TITLE]",s)).replace("[PREVIEW_TYPE]",t)).replace("[PREVIEW_ID]",i)).replace("[PREVIEW_ICON]",m)).replace("[PREVIEW_FILENAME]",u),e(".wmu-action-wrap .wmu-"+t+"-tab",a).removeClass("wmu-hide").append(r)})})}(t,a),a.data.errors&&(wpdiscuzAjaxObj.setCommentMessage(a.data.errors,"error",3e3),console.log(a.data.errors))):a.data.errorCode?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data.errorCode],"error",3e3):a.data.error&&wpdiscuzAjaxObj.setCommentMessage(a.data.error,"error",3e3),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,t,d){console.log(d),e("#wpdiscuz-loading-bar").fadeOut(250)})}(0,t,d)}),e(document).delegate(".wmu-attachment-delete","click",function(a){if(confirm(wpdiscuzAjaxObj.wmuPhraseConfirmDelete)){var t=e(this).data("wmu-attachment"),d=new FormData;d.append("action","wmuDeleteAttachment"),d.append("wmu_nonce",wpdiscuzAjaxObj.wmuSecurity),d.append("attachmentId",t),wpdiscuzAjaxObj.getAjaxObj(!0,!0,d).done(function(a){if(a.success){var d=e(".wmu-attachment-"+t).parents(".wmu-comment-attachments");e(".wmu-attachment-"+t).remove(),e(".wmu-attached-images *",d).length||e(".wmu-attached-images",d).remove(),e(".wmu-attached-videos *",d).length||e(".wmu-attached-videos",d).remove(),e(".wmu-attached-files *",d).length||e(".wmu-attached-files",d).remove()}else a.data.errorCode?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data.errorCode],"error",3e3):a.data.error&&wpdiscuzAjaxObj.setCommentMessage(a.data.error,"error",3e3);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,t,d){console.log(d),e("#wpdiscuz-loading-bar").fadeOut(250)})}else console.log("canceled")}),e(document).delegate(".wmu-preview","click",function(){var a=e(this),t=a.parents(".wpd_comm_form"),d=(a.data("wmu-type"),a.data("wmu-attachment")),o=new FormData;o.append("action","wmuRemoveAttachmentPreview"),o.append("attachmentId",d),o.append("wmu_nonce",wpdiscuzAjaxObj.wmuSecurity),o.append("wmuAttachmentsData",e(".wmu-attachments-data",t).val()),wpdiscuzAjaxObj.getAjaxObj(!0,!0,o).done(function(d){if(d.success){a.remove();var o=e(".wmu-tabs",t);e.each(o,function(a,t){e(".wmu-preview",t).length?e(t).removeClass("wmu-hide"):e(t).addClass("wmu-hide")}),e(".wmu-attached-data-info",t).remove(),e(".wmu-add-files",t).after(d.data.attachmentsHtml),d.data.tooltip&&e(".wmu-upload-wrap").attr("wpd-tooltip",d.data.tooltip)}else d.data.errorCode?wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[d.data.errorCode],"error",3e3):d.data.error&&wpdiscuzAjaxObj.setCommentMessage(d.data.error,"error",3e3);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,t,d){console.log(d),e("#wpdiscuz-loading-bar").fadeOut(250)})}),parseInt(wpdiscuzAjaxObj.wmuIsLightbox)){function a(){e(".wmu-lightbox").colorbox({maxHeight:"95%",maxWidth:"95%",rel:"wmu-lightbox",fixed:!0})}a(),wpdiscuzAjaxObj.wmuAddLightBox=a}wpdiscuzAjaxObj.wmuHideAll=function(a,t){"object"==typeof a?a.success?(e(".wmu-tabs",t).addClass("wmu-hide"),e(".wmu-preview",t).remove(),e(".wmu-attached-data-info",t).remove()):console.log(a.data):console.log(a)}});
15
  /* Lity */
16
  !function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(e,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(e,require("jquery")):e.lity=t(e,e.jQuery||e.Zepto)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=e.document,i=t(e),r=t.Deferred,o=t("html"),a=[],l="aria-hidden",s="lity-"+l,d='a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not([tabindex^="-"])',c={esc:!0,handler:null,handlers:{image:C,inline:function(e,n){var i,r,o;try{i=t(e)}catch(e){return!1}if(!i.length)return!1;return r=t('<i style="display:none !important"/>'),o=i.hasClass("lity-hide"),n.element().one("lity:remove",function(){r.before(i).remove(),o&&!i.closest(".lity-content").length&&i.addClass("lity-hide")}),i.removeClass("lity-hide").after(r)},youtube:function(e){var n=f.exec(e);if(!n)return!1;return k(x(e,w("https://www.youtube"+(n[2]||"")+".com/embed/"+n[4],t.extend({autoplay:1},b(n[5]||"")))))},vimeo:function(e){var n=y.exec(e);if(!n)return!1;return k(x(e,w("https://player.vimeo.com/video/"+n[3],t.extend({autoplay:1},b(n[4]||"")))))},googlemaps:function(e){var t=v.exec(e);if(!t)return!1;return k(x(e,w("https://www.google."+t[3]+"/maps?"+t[6],{output:t[6].indexOf("layer=c")>0?"svembed":"embed"})))},facebookvideo:function(e){var n=p.exec(e);if(!n)return!1;0!==e.indexOf("http")&&(e="https:"+e);return k(x(e,w("https://www.facebook.com/plugins/video.php?href="+e,t.extend({autoplay:1},b(n[4]||"")))))},iframe:k},template:'<div class="lity" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="lity-wrap" data-lity-close role="document"><div class="lity-loader" aria-hidden="true">Loading...</div><div class="lity-container"><div class="lity-content"></div><button class="lity-close" type="button" aria-label="Close (Press escape to close)" data-lity-close>&times;</button></div></div></div>'},u=/(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i,f=/(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i,y=/(vimeo(pro)?.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/,v=/((maps|www)\.)?google\.([^\/\?]+)\/?((maps\/?)?\?)(.*)/i,p=/(facebook\.com)\/([a-z0-9_-]*)\/videos\/([0-9]*)(.*)?$/i,m=function(){var e=n.createElement("div"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in t)if(void 0!==e.style[i])return t[i];return!1}();function h(e){var t=r();return m&&e.length?(e.one(m,t.resolve),setTimeout(t.resolve,500)):t.resolve(),t.promise()}function g(e,n,i){if(1===arguments.length)return t.extend({},e);if("string"==typeof n){if(void 0===i)return void 0===e[n]?null:e[n];e[n]=i}else t.extend(e,n);return this}function b(e){for(var t,n=decodeURI(e.split("#")[0]).split("&"),i={},r=0,o=n.length;r<o;r++)n[r]&&(i[(t=n[r].split("="))[0]]=t[1]);return i}function w(e,n){return e+(e.indexOf("?")>-1?"&":"?")+t.param(n)}function x(e,t){var n=e.indexOf("#");return-1===n?t:(n>0&&(e=e.substr(n)),t+e)}function C(e,n){var i=n.opener()&&n.opener().data("lity-desc")||"Image with no description",o=t('<img src="'+e+'" alt="'+i+'"/>'),a=r(),l=function(){var e;a.reject((e="Failed loading image",t('<span class="lity-error"/>').append(e)))};return o.on("load",function(){if(0===this.naturalWidth)return l();a.resolve(o)}).on("error",l),a.promise()}function k(e){return'<div class="lity-iframe-container"><iframe frameborder="0" allowfullscreen src="'+e+'"/></div>'}function E(){return n.documentElement.clientHeight?.9*n.documentElement.clientHeight:Math.round(.9*i.height())}function j(e){var t,i,r,o=z();o&&(27===e.keyCode&&o.options("esc")&&o.close(),9===e.keyCode&&(t=e,i=o.element().find(d),r=i.index(n.activeElement),t.shiftKey&&r<=0?(i.get(i.length-1).focus(),t.preventDefault()):t.shiftKey||r!==i.length-1||(i.get(0).focus(),t.preventDefault())))}function D(){t.each(a,function(e,t){t.resize()})}function z(){return 0===a.length?null:a[0]}function T(e,d,u,f){var y,v,p,m,b,w,x,C,k,z,T,O=this,q=!1,W=!1;d=t.extend({},c,d),v=t(d.template),O.element=function(){return v},O.opener=function(){return u},O.options=t.proxy(g,O,d),O.handlers=t.proxy(g,O,d.handlers),O.resize=function(){q&&!W&&p.css("max-height",E()+"px").trigger("lity:resize",[O])},O.close=function(){if(q&&!W){var e;W=!0,(e=O).element().attr(l,"true"),1===a.length&&(o.removeClass("lity-active"),i.off({resize:D,keydown:j})),((a=t.grep(a,function(t){return e!==t})).length?a[0].element():t(".lity-hidden")).removeClass("lity-hidden").each(function(){var e=t(this),n=e.data(s);n?e.attr(l,n):e.removeAttr(l),e.removeData(s)});var d=r();if(f&&(n.activeElement===v[0]||t.contains(v[0],n.activeElement)))try{f.focus()}catch(e){}return p.trigger("lity:close",[O]),v.removeClass("lity-opened").addClass("lity-closed"),h(p.add(v)).always(function(){p.trigger("lity:remove",[O]),v.remove(),v=void 0,d.resolve()}),d.promise()}},m=e,b=O,w=d.handlers,x=d.handler,k="inline",z=t.extend({},w),x&&z[x]?(C=z[x](m,b),k=x):(t.each(["inline","iframe"],function(e,t){delete z[t],z[t]=w[t]}),t.each(z,function(e,t){return!t||!(!t.test||t.test(m,b))||(!1!==(C=t(m,b))?(k=e,!1):void 0)})),y={handler:k,content:C||""},v.attr(l,"false").addClass("lity-loading lity-opened lity-"+y.handler).appendTo("body").focus().on("click","[data-lity-close]",function(e){t(e.target).is("[data-lity-close]")&&O.close()}).trigger("lity:open",[O]),T=O,1===a.unshift(T)&&(o.addClass("lity-active"),i.on({resize:D,keydown:j})),t("body > *").not(T.element()).addClass("lity-hidden").each(function(){var e=t(this);void 0===e.data(s)&&e.data(s,e.attr(l)||null)}).attr(l,"true"),t.when(y.content).always(function(e){p=t(e).css("max-height",E()+"px"),v.find(".lity-loader").each(function(){var e=t(this);h(e).always(function(){e.remove()})}),v.removeClass("lity-loading").find(".lity-content").empty().append(p),q=!0,p.trigger("lity:ready",[O])})}function O(e,i,r){e.preventDefault?(e.preventDefault(),e=(r=t(this)).data("lity-target")||r.attr("rel")||r.attr("src")):r=t(r);var o=new T(e,t.extend({},r.data("lity-options")||r.data("lity"),i),r,n.activeElement);if(!e.preventDefault)return o}return C.test=function(e){return u.test(e)},O.version="2.2.2",O.options=t.proxy(g,O,c),O.handlers=t.proxy(g,O,c.handlers),O.current=z,t(n).on("click.lity","[data-wpd-lity]",O),O});
17
  /* My Content and Settings */
18
+ jQuery(document).ready(function(e){var t=0,n=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),d=parseInt(wpdiscuzUCObj.additionalTab);e(document).on("click",".wpd-info,.wpd-page-link,.wpd-delete-content,.wpd-user-email-delete-links",function(e){e.preventDefault()}),e(document).on("click",".wpd-info.wpd-not-clicked",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var o=new FormData;return o.append("action","wpdGetInfo"),function(t,a){var o=e(".fas",t),i=o.attr("class");o.removeClass(),o.addClass("fas fa-pulse fa-spinner"),wpdiscuzAjaxObj.getAjaxObj(n||d,!1,a).done(function(n){t.addClass("wpd-not-clicked"),o.removeClass(),o.addClass(i),n&&(e("#wpdUserContentInfo").html(n),e("#wpdUserContentInfo ul.wpd-list .wpd-list-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo div.wpd-content .wpd-content-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo").is(":visible")||e("#wpdUserContentInfoAnchor").trigger("click"))})}(a,o),!1}),e(document).on("click",".wpd-list-item",function(){var t=e("input.wpd-rel",this).val();e("#wpdUserContentInfo .wpd-list-item").removeClass("wpd-active"),e("#wpdUserContentInfo .wpd-content-item").removeClass("wpd-active");var a=e(this);if(e("#wpdUserContentInfo #"+t).text().length)a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).addClass("wpd-active");else{var o=new FormData;o.append("action",a.attr("data-action")),o.append("page",0),e("#wpdUserContentInfo #"+t).addClass("wpd-active"),e("#wpdUserContentInfo #"+t).css("text-align","center"),wpdiscuzAjaxObj.getAjaxObj(n||d,!0,o).done(function(n){n&&(e("#wpdUserContentInfo #"+t).css("text-align",""),a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).html(n)),e("#wpdiscuz-loading-bar").hide()})}}),e(document).on("click",".wpd-page-link.wpd-not-clicked",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var o=a.data("wpd-page"),i=e(".wpd-active .wpd-pagination .wpd-action").val(),s=new FormData;s.append("action",i),s.append("page",o),wpdiscuzAjaxObj.getAjaxObj(n||d,!0,s).done(function(t){a.addClass("wpd-not-clicked"),t&&e(".wpd-content-item.wpd-active").html(t),e("#wpdiscuz-loading-bar").hide()})}),e(document).on("click",".wpd-delete-content.wpd-not-clicked",function(){var a=e(this),o=parseInt(a.data("wpd-content-id"));if(!isNaN(o)){var i=a.data("wpd-delete-action");if("wpdDeleteComment"==i&&!confirm(wpdiscuzUCObj.msgConfirmDeleteComment))return!1;if("wpdCancelSubscription"==i&&!confirm(wpdiscuzUCObj.msgConfirmCancelSubscription))return!1;if("wpdCancelFollow"==i&&!confirm(wpdiscuzUCObj.msgConfirmCancelFollow))return!1;var s=e("i",a),c=s.attr("class"),p=e(".wpd-wrapper .wpd-page-number").val(),l=e(".wpd-content-item.wpd-active").children(".wpd-item").length;a.removeClass("wpd-not-clicked"),s.removeClass().addClass("fas fa-pulse fa-spinner"),1==l&&p>0&&(p-=1);var w=new FormData;w.append("id",o),w.append("page",p),w.append("action",i),wpdiscuzAjaxObj.getAjaxObj(n||d,!1,w).done(function(n){a.addClass("wpd-not-clicked"),s.removeClass().addClass(c),e(".wpd-content-item.wpd-active").html(n),t=1})}}),e(document).on("click","[data-lity-close]",function(n){e(n.target).is("[data-lity-close]")&&t&&window.location.reload(!0)}),e(document).on("click",".wpd-user-email-delete-links.wpd-not-clicked",function(){var t=e(this);t.removeClass("wpd-not-clicked"),e(".wpd-loading",t).addClass("wpd-show");var a=new FormData;a.append("action","wpdEmailDeleteLinks"),wpdiscuzAjaxObj.getAjaxObj(n||d,!1,a).done(function(n){t.addClass("wpd-not-clicked"),e("[data-lity-close]",window.parent.document).trigger("click")})}),e(document).on("click",".wpd-user-settings-button.wpd-not-clicked",function(){var t=e(this);t.removeClass("wpd-not-clicked");var a=t.data("wpd-delete-action");if("deleteCookies"!==a){t.find(".wpd-loading").addClass("wpd-show");var o=new FormData;o.append("action","wpdGuestAction"),o.append("guestAction",a),wpdiscuzAjaxObj.getAjaxObj(n||d,!1,o).done(function(n){t.addClass("wpd-not-clicked"),t.find(".wpd-loading").removeClass("wpd-show");try{var d=e.parseJSON(n);t.after(d.message);var a=t.next(".wpd-guest-action-message");a.fadeIn(100).fadeOut(7e3,function(){a.remove(),1===parseInt(d.code)&&(t.parent().remove(),e(".wpd-delete-all-comments").length||e(".wpd-delete-all-subscriptions").length||e(".wpd-delete-all-cookies").parent().addClass("wpd-show"))})}catch(e){console.log(e)}})}else!function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t],d=n.indexOf("="),a=d>-1?n.substr(0,d):n;Cookies.remove(a.trim())}location.reload(!0)}()})});
19
  /* Social */
20
  function wpcShareCommentFB(e,s){FB.ui({method:"share",href:e,quote:s},function(e){})}(wpdiscuzAjaxObj.enableFbLogin||wpdiscuzAjaxObj.enableFbShare)&&wpdiscuzAjaxObj.facebookAppID&&(!function(e,s,n){var o,a=e.getElementsByTagName(s)[0];e.getElementById(n)||((o=e.createElement(s)).id=n,o.src="//connect.facebook.net/en_US/sdk.js",a.parentNode.insertBefore(o,a))}(document,"script","facebook-jssdk"),window.fbAsyncInit=function(){FB.init({appId:wpdiscuzAjaxObj.facebookAppID,cookie:!0,xfbml:!0,version:"v7.0"})}),jQuery(document).ready(function(e){var s;(s=Cookies.get("wpdiscuz_social_login_message"))&&"undefined"!==s&&(Cookies.remove("wpdiscuz_social_login_message"),wpdiscuzAjaxObj.setCommentMessage(decodeURIComponent(s.replace(/\+/g,"%20")),"error")),Cookies.get("wpdiscuz_scroll_to_comments")&&(Cookies.remove("wpdiscuz_scroll_to_comments",{path:"/"}),e("html, body").animate({scrollTop:e("#comments").offset().top-32},1e3)),e(document).delegate(".wpd-comment-share .fa-facebook-f","click",function(){if(1==wpdiscuzAjaxObj.enableFbShare){var s=e(this).parents(".wpd-comment").find(".wpd-comment-right").attr("id"),n=window.location.href;-1!==n.indexOf("#")&&(n=n.substring(0,n.indexOf("#"))),wpcShareCommentFB(n+="#"+s,e(this).parents(".wpd-comment-right").find(".wpd-comment-text").text())}});var n="";function o(e,s){var n,o="";t(s,1),Cookies.set("wpdiscuz_scroll_to_comments",1,{path:"/"}),"facebook"===e&&0==wpdiscuzAjaxObj.facebookUseOAuth2?FB.getLoginStatus(function(t){"connected"===t.status?(n=t.authResponse.accessToken,o=t.authResponse.userID,a(e,n,o,s)):FB.login(function(t){"connected"===t.status&&(n=t.authResponse.accessToken,o=t.authResponse.userID,a(e,n,o,s))},{scope:"public_profile,email"})}):a(e,n,o,s)}function a(s,n,o,a){return e.ajax({type:"POST",url:wpdiscuzAjaxObj.url,data:{action:"wpd_social_login",provider:s,token:n,userID:o,postID:wpdiscuzAjaxObj.wc_post_id}}).done(function(s){!function(s,n){try{var o=e.parseJSON(s),a=o.code,i=o.message,c=o.url;200===parseInt(a)?location.assign(c):wpdiscuzAjaxObj.setCommentMessage(i,"error")}catch(e){console.log(e)}t(n,0)}(s,a)}),""}function t(e,s){1===s?e.find(".wpdiscuz-social-login-spinner").show():e.find(".wpdiscuz-social-login-spinner").hide()}e(document).delegate("#wpdcom .wpd-social-login .wpdiscuz-login-button","click",function(){var s=e(this).parents(".wpd-social-login");!function(e,s){1!=parseInt(wpdiscuzAjaxObj.socialLoginAgreementCheckbox)||1==Cookies.get("socialLoginAgreementConfirmed")?o(e,s):s.parents(".wpd-form-wrap, .wpd-form").find(".wpd-social-login-agreement").first().slideDown(700)}(n=function(e){var s="";e.hasClass("wpdsn-fb")&&(s="facebook");e.hasClass("wpdsn-insta")&&(s="instagram");e.hasClass("wpdsn-gg")&&(s="google");e.hasClass("wpdsn-ds")&&(s="disqus");e.hasClass("wpdsn-wp")&&(s="wordpress");e.hasClass("wpdsn-tw")&&(s="twitter");e.hasClass("wpdsn-vk")&&(s="vk");e.hasClass("wpdsn-ok")&&(s="ok");e.hasClass("wpdsn-linked")&&(s="linkedin");e.hasClass("wpdsn-yandex")&&(s="yandex");e.hasClass("wpdsn-mailru")&&(s="mailru");e.hasClass("wpdsn-weixin")&&(s="wechat");e.hasClass("wpdsn-weibo")&&(s="weibo");e.hasClass("wpdsn-qq")&&(s="qq");e.hasClass("wpdsn-baidu")&&(s="baidu");return s}(e(this)),s)}),e(document).delegate("#wpdcom .wpd-agreement-buttons-right .wpd-agreement-button","click",function(){var s=e(this).parents(".wpd-form-wrap, .wpd-form").find(".wpd-social-login-agreement").slideUp(700);e(this).hasClass("wpd-agreement-button-agree")&&(wpdiscuzAjaxObj.isCookiesEnabled&&Cookies.set("socialLoginAgreementConfirmed",1,{expires:30,path:"/"}),o(n,s))})});
assets/js/wpdiscuz-custom-form.js CHANGED
@@ -6,17 +6,17 @@ $(document).ready(function ($) {
6
 
7
  $('.icp-auto').iconpicker();
8
 
9
- $(document).delegate('#wpdiscuz_form_add_row', 'click', function () {
10
  wpdiscuzForm.addRow('#wpd-form-sortable-rows');
11
  wpdFormFieldSortable();
12
  });
13
 
14
- $(document).delegate('.wpd-form-row-wrap .wpd-form-row-actions .fa-columns', 'click', function () {
15
  wpdiscuzForm.formTwoColumn($(this));
16
  wpdFormFieldSortable();
17
  });
18
 
19
- $(document).delegate('.wpd-form-row-wrap .wpd-form-row-actions .fa-trash-alt', 'click', function () {
20
  if($(this).parents('.wpd-form-row-wrap').find('.wpd-default-field').length){
21
  alert(wpdFormAdminOptions.can_not_delete_field);
22
  return;
@@ -26,7 +26,7 @@ $(document).ready(function ($) {
26
  }
27
  });
28
 
29
- $(document).delegate('.wpd-form-add-filed', 'click', function () {
30
  currentRowId = $(this).parents('.wpd-form-row-wrap').attr('id');
31
  currentColumnType = 'full';
32
  if ($(this).parents('.wpd-form-col').hasClass('left-col')) {
@@ -39,17 +39,17 @@ $(document).ready(function ($) {
39
  return false;
40
  });
41
 
42
- $(document).delegate('.wpd-field .fa-trash-alt', 'click', function () {
43
  if (confirm(wpdFormAdminOptions.confirm_delete_message)) {
44
  $(this).parents('.wpd-field').remove();
45
  }
46
  });
47
 
48
- $(document).delegate('.wpd-field .fa-pencil-alt', 'click', function () {
49
  $(this).parents('.wpd-field').find('.wpd-field-body').toggle(500);
50
  });
51
 
52
- $(document).delegate('.wpd-field-button', 'click', function () {
53
  var fieldType = $(this).attr('id');
54
  var fieldTitle = $(this).text();
55
  var defaultField = '0';
@@ -74,7 +74,7 @@ $(document).ready(function ($) {
74
  });
75
  });
76
 
77
- $(document).delegate('#wpd-add-field-button', 'click', function () {
78
  var tbForm = $('#TB_ajaxContent_form');
79
  tbForm.submit(function (event) {
80
  event.preventDefault();
@@ -129,7 +129,7 @@ $(document).ready(function ($) {
129
  function wpdFieldLoad() {
130
  $('#TB_ajaxContent').html('<img class="wpdFieldLoad" src="' + wpdFormAdminOptions.loaderImg + '">');
131
  }
132
- $(document).delegate('.wpd-advaced-options-title','click', function(){
133
  $(this).next('.wpd-advaced-options-cont').toggle();
134
  });
135
  });
6
 
7
  $('.icp-auto').iconpicker();
8
 
9
+ $(document).on('click', '#wpdiscuz_form_add_row', function () {
10
  wpdiscuzForm.addRow('#wpd-form-sortable-rows');
11
  wpdFormFieldSortable();
12
  });
13
 
14
+ $(document).on('click', '.wpd-form-row-wrap .wpd-form-row-actions .fa-columns', function () {
15
  wpdiscuzForm.formTwoColumn($(this));
16
  wpdFormFieldSortable();
17
  });
18
 
19
+ $(document).on('click', '.wpd-form-row-wrap .wpd-form-row-actions .fa-trash-alt', function () {
20
  if($(this).parents('.wpd-form-row-wrap').find('.wpd-default-field').length){
21
  alert(wpdFormAdminOptions.can_not_delete_field);
22
  return;
26
  }
27
  });
28
 
29
+ $(document).on('click', '.wpd-form-add-filed', function () {
30
  currentRowId = $(this).parents('.wpd-form-row-wrap').attr('id');
31
  currentColumnType = 'full';
32
  if ($(this).parents('.wpd-form-col').hasClass('left-col')) {
39
  return false;
40
  });
41
 
42
+ $(document).on('click', '.wpd-field .fa-trash-alt', function () {
43
  if (confirm(wpdFormAdminOptions.confirm_delete_message)) {
44
  $(this).parents('.wpd-field').remove();
45
  }
46
  });
47
 
48
+ $(document).on('click', '.wpd-field .fa-pencil-alt', function () {
49
  $(this).parents('.wpd-field').find('.wpd-field-body').toggle(500);
50
  });
51
 
52
+ $(document).on('click', '.wpd-field-button', function () {
53
  var fieldType = $(this).attr('id');
54
  var fieldTitle = $(this).text();
55
  var defaultField = '0';
74
  });
75
  });
76
 
77
+ $(document).on('click', '#wpd-add-field-button', function () {
78
  var tbForm = $('#TB_ajaxContent_form');
79
  tbForm.submit(function (event) {
80
  event.preventDefault();
129
  function wpdFieldLoad() {
130
  $('#TB_ajaxContent').html('<img class="wpdFieldLoad" src="' + wpdFormAdminOptions.loaderImg + '">');
131
  }
132
+ $(document).on('click', '.wpd-advaced-options-title', function(){
133
  $(this).next('.wpd-advaced-options-cont').toggle();
134
  });
135
  });
assets/js/wpdiscuz-deactivation.js CHANGED
@@ -2,7 +2,7 @@ jQuery(document).ready(function ($) {
2
 
3
  var deactivateUrl = '';
4
 
5
- $(document).delegate('#the-list tr[data-plugin="wpdiscuz/class.WpdiscuzCore.php"] .deactivate a', 'click', function (e) {
6
  e.preventDefault();
7
  $('#wpdDeactivationReasonAnchor').trigger('click');
8
  deactivateUrl = $(this).attr('href');
@@ -13,13 +13,13 @@ jQuery(document).ready(function ($) {
13
  $('.wpd-deactivation-reason-more-info').slideUp(500);
14
  $('.wpd-deactivation-reason-more-info', parentItem).slideDown(500);
15
 
16
- $(document).delegate('.wpd-deactivation-reason', 'change', function (e) {
17
  $('.wpd-deactivation-reason-more-info').slideUp(500);
18
  var parentItem = $(this).parents('.wpd-deactivation-reason-item');
19
  $('.wpd-deactivation-reason-more-info', parentItem).slideDown(500);
20
  });
21
 
22
- $(document).delegate('.wpd-deactivate', 'click', function (e) {
23
  if (isChecked($(this))) {
24
  var formData = '';
25
  if ($(this).hasClass('wpd-submit')) {
@@ -31,8 +31,8 @@ jQuery(document).ready(function ($) {
31
  var isValid = true;
32
 
33
  if (reasonDesc.length && reasonDesc.is(':visible')) {
34
- var attr = reasonDesc.attr('required');
35
- if (typeof attr !== typeof undefined && attr !== false) {
36
  if ($.trim(reasonDesc.val().length) == 0) {
37
  isValid = false;
38
  }
2
 
3
  var deactivateUrl = '';
4
 
5
+ $(document).on('click', '#the-list tr[data-plugin="wpdiscuz/class.WpdiscuzCore.php"] .deactivate a', function (e) {
6
  e.preventDefault();
7
  $('#wpdDeactivationReasonAnchor').trigger('click');
8
  deactivateUrl = $(this).attr('href');
13
  $('.wpd-deactivation-reason-more-info').slideUp(500);
14
  $('.wpd-deactivation-reason-more-info', parentItem).slideDown(500);
15
 
16
+ $(document).on('change', '.wpd-deactivation-reason', function (e) {
17
  $('.wpd-deactivation-reason-more-info').slideUp(500);
18
  var parentItem = $(this).parents('.wpd-deactivation-reason-item');
19
  $('.wpd-deactivation-reason-more-info', parentItem).slideDown(500);
20
  });
21
 
22
+ $(document).on('click', '.wpd-deactivate', function (e) {
23
  if (isChecked($(this))) {
24
  var formData = '';
25
  if ($(this).hasClass('wpd-submit')) {
31
  var isValid = true;
32
 
33
  if (reasonDesc.length && reasonDesc.is(':visible')) {
34
+ var attr = reasonDesc.prop('required');
35
+ if (typeof attr !== 'undefined' && attr !== false) {
36
  if ($.trim(reasonDesc.val().length) == 0) {
37
  isValid = false;
38
  }
assets/js/wpdiscuz-mu-backend.js CHANGED
@@ -1,24 +1,24 @@
1
  jQuery(document).ready(function ($) {
2
 
3
- $(document).delegate('#wmuSelectMimes', 'click', function (e) {
4
  $('.wpd-mu-mimes input[type="checkbox"]').each(function (i, v) {
5
  $(this).prop('checked', true);
6
  });
7
  });
8
 
9
- $(document).delegate('#wmuUnselectMimes', 'click', function (e) {
10
  $('.wpd-mu-mimes input[type="checkbox"]').each(function (i, v) {
11
  $(this).prop('checked', false);
12
  });
13
  });
14
 
15
- $(document).delegate('#wmuInvertMimes', 'click', function (e) {
16
  $('.wpd-mu-mimes input[type="checkbox"]').each(function (i, v) {
17
  $(this).prop('checked', !$(this).prop('checked'));
18
  });
19
  });
20
 
21
- $(document).delegate('.wmu-attachment-delete', 'click', function (e) {
22
  if (confirm(wpdiscuzMUJsObj.wmuMsgConfirmAttachmentDelete)) {
23
  var data = new FormData();
24
  var clicked = $(this);
@@ -40,7 +40,7 @@ jQuery(document).ready(function ($) {
40
  }
41
  });
42
 
43
- $(document).delegate('.wmu-image-dimension', 'change', function () {
44
  var parent = $(this).parents('.wpd-opt-row');
45
  var wmuSingleImageW = $('.wmu-image-width', parent);
46
  var wmuSingleImageH = $('.wmu-image-height', parent);
@@ -50,29 +50,29 @@ jQuery(document).ready(function ($) {
50
  if ($(this).hasClass('wmu-image-width')) {
51
  if (!isNaN(wmuImageW)) {
52
  wmuImageH = "auto";
53
- wmuSingleImageH.val("auto");
54
  } else if (!isNaN(wmuImageW)) {
55
- wmuSingleImageH.val("auto");
56
  }
57
  } else {
58
  if (!isNaN(wmuImageH)) {
59
- wmuImageW = "auto";
60
- wmuSingleImageW.val("auto");
61
  } else if (!isNaN(wmuImageW)) {
62
- wmuSingleImageH.val("auto");
63
  }
64
  }
65
  });
66
 
67
- $(document).delegate('.wmu-image-dimension', 'keyup', function () {
68
  var value = $(this).val();
69
  $(this).val(value.replace('-', ''));
70
  });
71
 
72
  $(".wmu-lightbox").colorbox({
73
- maxHeight: "95%",
74
- maxWidth: "95%",
75
- rel: "wmu-lightbox",
76
  fixed: true
77
  });
78
 
@@ -82,7 +82,7 @@ jQuery(document).ready(function ($) {
82
  url: ajaxurl,
83
  data: data,
84
  contentType: false,
85
- processData: false,
86
  });
87
  }
88
 
1
  jQuery(document).ready(function ($) {
2
 
3
+ $(document).on('click', '#wmuSelectMimes', function (e) {
4
  $('.wpd-mu-mimes input[type="checkbox"]').each(function (i, v) {
5
  $(this).prop('checked', true);
6
  });
7
  });
8
 
9
+ $(document).on('click', '#wmuUnselectMimes', function (e) {
10
  $('.wpd-mu-mimes input[type="checkbox"]').each(function (i, v) {
11
  $(this).prop('checked', false);
12
  });
13
  });
14
 
15
+ $(document).on('click', '#wmuInvertMimes', function (e) {
16
  $('.wpd-mu-mimes input[type="checkbox"]').each(function (i, v) {
17
  $(this).prop('checked', !$(this).prop('checked'));
18
  });
19
  });
20
 
21
+ $(document).on('click', '.wmu-attachment-delete', function (e) {
22
  if (confirm(wpdiscuzMUJsObj.wmuMsgConfirmAttachmentDelete)) {
23
  var data = new FormData();
24
  var clicked = $(this);
40
  }
41
  });
42
 
43
+ $(document).on('change', '.wmu-image-dimension', function () {
44
  var parent = $(this).parents('.wpd-opt-row');
45
  var wmuSingleImageW = $('.wmu-image-width', parent);
46
  var wmuSingleImageH = $('.wmu-image-height', parent);
50
  if ($(this).hasClass('wmu-image-width')) {
51
  if (!isNaN(wmuImageW)) {
52
  wmuImageH = "auto";
53
+ wmuSingleImageH.val('auto');
54
  } else if (!isNaN(wmuImageW)) {
55
+ wmuSingleImageH.val('auto');
56
  }
57
  } else {
58
  if (!isNaN(wmuImageH)) {
59
+ wmuImageW = 'auto';
60
+ wmuSingleImageW.val('auto');
61
  } else if (!isNaN(wmuImageW)) {
62
+ wmuSingleImageH.val('auto');
63
  }
64
  }
65
  });
66
 
67
+ $(document).on('keyup', '.wmu-image-dimension', function () {
68
  var value = $(this).val();
69
  $(this).val(value.replace('-', ''));
70
  });
71
 
72
  $(".wmu-lightbox").colorbox({
73
+ maxHeight: '95%',
74
+ maxWidth: '95%',
75
+ rel: 'wmu-lightbox',
76
  fixed: true
77
  });
78
 
82
  url: ajaxurl,
83
  data: data,
84
  contentType: false,
85
+ processData: false
86
  });
87
  }
88
 
assets/js/wpdiscuz-options.js CHANGED
@@ -6,44 +6,44 @@ jQuery(document).ready(function ($) {
6
  $('.wpdiscuz-color-picker').colorPicker();
7
  }
8
 
9
- $('#wc_share_button_fb').click(function () {
10
  if ($(this).is(':checked')) {
11
  $('#wpc-fb-api-cont').attr('style', '');
12
  } else {
13
  $('#wpc-fb-api-cont').attr('style', 'display:none');
14
  }
15
  });
16
- $('#wpdiscuz-reset-all-options').click(function (e) {
17
  if (!confirm(wpdiscuzObj.msgConfirmResetOptions)) {
18
  e.preventDefault();
19
  return false;
20
  }
21
  });
22
- $('#wpdiscuz-reset-options').click(function (e) {
23
  if (!confirm(wpdiscuzObj.msgConfirmResetTabOptions)) {
24
  e.preventDefault();
25
  return false;
26
  }
27
  });
28
- $('#wpdiscuz-remove-votes').click(function (e) {
29
  if (!confirm(wpdiscuzObj.msgConfirmRemoveVotes)) {
30
  e.preventDefault();
31
  return false;
32
  }
33
  });
34
- $('#wpdiscuz-reset-phrases').click(function (e) {
35
  if (!confirm(wpdiscuzObj.msgConfirmResetPhrases)) {
36
  e.preventDefault();
37
  return false;
38
  }
39
  });
40
- $('#wpdiscuz-purge-gravatars-cache').click(function (e) {
41
  if (!confirm(wpdiscuzObj.msgConfirmPurgeGravatarsCache)) {
42
  e.preventDefault();
43
  return false;
44
  }
45
  });
46
- $(document).delegate('.wpd_stick_btn', 'click', function (e) {
47
  var btn = $(this);
48
  $('.fas', btn).removeClass('fa-thumbtack');
49
  $('.fas', btn).addClass('fa-pulse fa-spinner');
@@ -77,7 +77,7 @@ jQuery(document).ready(function ($) {
77
  e.preventDefault();
78
  return false;
79
  });
80
- $(document).delegate('.wpd_close_btn', 'click', function (e) {
81
  var btn = $(this);
82
  $('.fas', btn).removeClass('fa-lock fa-unlock');
83
  $('.fas', btn).addClass('fa-spinner fa-pulse');
@@ -112,10 +112,10 @@ jQuery(document).ready(function ($) {
112
  e.preventDefault();
113
  return false;
114
  });
115
- $(document).delegate('.import-stcr', 'click', function (e) {
116
  e.preventDefault();
117
  var btn = $(this);
118
- btn.attr('disabled', 'disabled');
119
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
120
  importSTCR(btn);
121
  });
@@ -159,10 +159,10 @@ jQuery(document).ready(function ($) {
159
  });
160
  }
161
 
162
- $(document).delegate('.import-lstc', 'click', function (e) {
163
  e.preventDefault();
164
  var btn = $(this);
165
- btn.attr('disabled', 'disabled');
166
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
167
  importLSTC(btn);
168
  });
@@ -207,11 +207,11 @@ jQuery(document).ready(function ($) {
207
  }
208
 
209
  $('.vote-regenerate-step').val(0);
210
- $(document).delegate('.regenerate-vote-metas', 'click', function (e) {
211
  e.preventDefault();
212
  if ($('.vote-regenerate-start-id').val() >= 0 && parseInt($('.vote-regenerate-limit').val()) > 0) {
213
  var btn = $(this);
214
- btn.attr('disabled', 'disabled');
215
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
216
  updateVoteMetas(btn);
217
  }
@@ -261,11 +261,11 @@ jQuery(document).ready(function ($) {
261
  }
262
 
263
  $('.closed-regenerate-step').val(0);
264
- $(document).delegate('.regenerate-closed-comments', 'click', function (e) {
265
  e.preventDefault();
266
  if ($('.closed-regenerate-start-id').val() >= 0 && parseInt($('.closed-regenerate-limit').val()) > 0) {
267
  var btn = $(this);
268
- btn.attr('disabled', 'disabled');
269
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
270
  updateClosedComments(btn);
271
  }
@@ -315,11 +315,11 @@ jQuery(document).ready(function ($) {
315
  }
316
 
317
  $('.regenerate-vote-data-step').val(0);
318
- $(document).delegate('.regenerate-vote-data', 'click', function (e) {
319
  e.preventDefault();
320
  if ($('.regenerate-vote-data-start-id').val() >= 0 && parseInt($('.regenerate-vote-data-limit').val()) > 0) {
321
  var btn = $(this);
322
- btn.attr('disabled', 'disabled');
323
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
324
  regenerateVoteData(btn);
325
  }
@@ -368,10 +368,10 @@ jQuery(document).ready(function ($) {
368
  });
369
  }
370
 
371
- $(document).delegate('.sync-commenter-data', 'click', function (e) {
372
  e.preventDefault();
373
  var btn = $(this);
374
- btn.attr('disabled', 'disabled');
375
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
376
  syncCommenterData(btn);
377
  });
@@ -404,11 +404,11 @@ jQuery(document).ready(function ($) {
404
  }
405
 
406
  $('.rebuild-ratings-step').val(0);
407
- $(document).delegate('.rebuild-ratings', 'click', function (e) {
408
  e.preventDefault();
409
  if ($('.rebuild-ratings-start-id').val() >= 0) {
410
  var btn = $(this);
411
- btn.attr('disabled', 'disabled');
412
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
413
  rebuildRatings(btn);
414
  }
@@ -453,10 +453,10 @@ jQuery(document).ready(function ($) {
453
  console.log(errorThrown);
454
  });
455
  }
456
- $(document).delegate('.fix-tables', 'click', function (e) {
457
  e.preventDefault();
458
  var btn = $(this);
459
- btn.attr('disabled', 'disabled');
460
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
461
  fixTables(btn);
462
  });
@@ -485,7 +485,7 @@ jQuery(document).ready(function ($) {
485
  });
486
  }
487
 
488
- $('#wpd-disable-addons').click(function () {
489
  location.href = $('#wpd-disable-addons-action').val();
490
  });
491
  window.onbeforeunload = confirmExit;
@@ -503,70 +503,66 @@ jQuery(document).ready(function ($) {
503
  });
504
 
505
  //========================= SETTINGS_LOGIN =====================//
506
- var showActivityTab = $('#showActivityTab').attr('checked');
507
- var showSubscriptionsTab = $('#showSubscriptionsTab').attr('checked');
508
- var showFollowsTab = $('#showFollowsTab').attr('checked');
509
  if (showActivityTab || showFollowsTab || showSubscriptionsTab) {
510
- $('#showUserSettingsButton').attr('checked', true);
511
  }
512
- $('#showUserSettingsButton').change(function () {
513
- var checked = $(this).attr('checked');
514
- if (checked) {
515
  if (showActivityTab || showFollowsTab || showSubscriptionsTab) {
516
  if (showActivityTab) {
517
- $('#showActivityTab').attr('checked', true);
518
  }
519
  if (showFollowsTab) {
520
- $('#showFollowsTab').attr('checked', true);
521
  }
522
  if (showSubscriptionsTab) {
523
- $('#showSubscriptionsTab').attr('checked', true);
524
  }
525
  } else {
526
- $('#showActivityTab').attr('checked', true);
527
- $('#showSubscriptionsTab').attr('checked', true);
528
- $('#showFollowsTab').attr('checked', true);
529
  }
530
  } else {
531
- $('#showActivityTab').attr('checked', false);
532
- $('#showSubscriptionsTab').attr('checked', false);
533
- $('#showFollowsTab').attr('checked', false);
534
  }
535
  });
536
- $('#showActivityTab').change(function () {
537
- var checked = $(this).attr('checked');
538
- if (checked || ($('#showSubscriptionsTab').attr('checked') || $('#showFollowsTab').attr('checked'))) {
539
- $('#showUserSettingsButton').attr('checked', true);
540
  } else {
541
- $('#showUserSettingsButton').attr('checked', false);
542
  }
543
  });
544
- $('#showSubscriptionsTab').change(function () {
545
- var checked = $(this).attr('checked');
546
- if (checked || ($('#showActivityTab').attr('checked') || $('#showFollowsTab').attr('checked'))) {
547
- $('#showUserSettingsButton').attr('checked', true);
548
  } else {
549
- $('#showUserSettingsButton').attr('checked', false);
550
  }
551
  });
552
- $('#showFollowsTab').change(function () {
553
- var checked = $(this).attr('checked');
554
- if (checked || ($('#showActivityTab').attr('checked') || $('#showSubscriptionsTab').attr('checked'))) {
555
- $('#showUserSettingsButton').attr('checked', true);
556
  } else {
557
- $('#showUserSettingsButton').attr('checked', false);
558
  }
559
  });
560
- $('#enableProfileURLs').change(function () {
561
  if (!$(this).prop('checked')) {
562
  $('#websiteAsProfileUrl').prop('checked', false);
563
  }
564
  });
565
  //========================= /SETTINGS_LOGIN =====================//
566
  //========================= SETTINGS_RECAPTCHA =====================//
567
- $(document).delegate('#siteKey, #secretKey, #v3_sitekey, #v3_secretkey, #useV3', 'change', function () {
568
- if ((!$('#useV3').attr('checked') && $('#siteKey').val() && $('#secretKey').val()) || ($('#useV3').attr('checked') && $('#v3_sitekey').val() && $('#v3_secretkey').val())) {
569
- $('#showForGuests').attr('checked', true);
570
  }
571
  });
572
  //========================= /SETTINGS_RECAPTCHA =====================//
@@ -578,7 +574,7 @@ jQuery(document).ready(function ($) {
578
  }
579
  }, 1000);
580
  }
581
- $(document).delegate('.wpd-toggle-news', 'click', function () {
582
  var dash = $(this).children('.dashicons');
583
  if (dash.hasClass('dashicons-arrow-down')) {
584
  $('#wpdiscuz-news').show();
@@ -610,7 +606,7 @@ jQuery(document).ready(function ($) {
610
  var body = el.parents('.wpd-box').children('.wpd-box-body');
611
  wpd_stat_user(el, body);
612
  }
613
- $(document).delegate('.wpd-box-toggle .dashicons-arrow-up.wpd_not_clicked, .wpd-box-toggle .dashicons-arrow-down.wpd_not_clicked', 'click', function () {
614
  var el = $(this);
615
  el.removeClass('wpd_not_clicked');
616
  var show = el.hasClass('dashicons-arrow-down') ? 1 : 0;
@@ -632,20 +628,20 @@ jQuery(document).ready(function ($) {
632
  el.addClass('wpd_not_clicked');
633
  }
634
  });
635
- $(document).delegate('.wpd-stat-graph .wpd-box-toggle .dashicons-admin-generic', 'click', function () {
636
  var sibling = $(this).siblings('.wpd-graph-tools');
637
  sibling.css({display: sibling.is(':visible') ? 'none' : 'flex'});
638
  });
639
- $('body').click(function () {
640
  $('.wpd-stat-graph .wpd-box-toggle .wpd-graph-tools, #wpd-opt-search-results').hide();
641
  });
642
- $(document).delegate('.wpd-stat-graph .wpd-box-toggle .wpd-graph-tools span.wpd_not_clicked', 'click', function () {
643
  var el = $(this);
644
  el.removeClass('wpd_not_clicked');
645
  Cookies.set('wpd_stat_graph_interval', el.data('interval'), {expires: 365, path: location.href});
646
  wpd_stat_graph(el, el.parents('.wpd-box').children('.wpd-box-body'));
647
  });
648
- $(document).delegate('.wpd-stat-user .wpd-sort-field', 'click', function () {
649
  var el = $(this);
650
  var order = el.hasClass('wpd-active') && el.children('.dashicons').hasClass('dashicons-arrow-down-alt2') ? 'asc' : 'desc';
651
  Cookies.set('wpd_stat_user_orderby', el.data('orderby'), {expires: 365, path: location.href});
@@ -653,7 +649,7 @@ jQuery(document).ready(function ($) {
653
  wpdStatUserPage = 1;
654
  wpd_stat_user(el, el.parents('.wpd-box').children('.wpd-box-body'));
655
  });
656
- $(document).delegate('.wpd-stat-user .wpd-box-toggle .dashicons-arrow-left.wpd_not_clicked, .wpd-stat-user .wpd-box-toggle .dashicons-arrow-right.wpd_not_clicked', 'click', function () {
657
  var el = $(this);
658
  if (el.hasClass('dashicons-arrow-left')) {
659
  if (wpdStatUserPage > 1) {
@@ -686,7 +682,7 @@ jQuery(document).ready(function ($) {
686
  });
687
  }
688
  }
689
- $(document).delegate('#wpd-opt-search-field, #wpd-opt-search-results', 'keydown', function (e) {
690
  var keycode = e.which;
691
  if (keycode == 27) {
692
  $('#wpd-opt-search-results').hide();
@@ -725,12 +721,12 @@ jQuery(document).ready(function ($) {
725
  $(a[0]).focus()
726
  }
727
  } else if (keycode == 13) {
728
- $('#wpd-opt-search-results > a:focus').click();
729
  } else {
730
  $('#wpd-opt-search-field').focus();
731
  }
732
  });
733
- $(document).delegate('#wpd-opt-search-field', 'input', function () {
734
  var s = $(this).val();
735
  s = s.trim();
736
  if (s.length > 2) {
@@ -758,7 +754,7 @@ jQuery(document).ready(function ($) {
758
  });
759
  //========================= /SETTING SEARCH =====================//
760
  //========================= SETTINGS MENU =====================//
761
- $('.wpd-setbar .wpd-menu-head .dashicons-arrow-down, .wpd-setbar .wpd-menu-head .dashicons-arrow-up').click(function () {
762
  var $this = $(this);
763
  var up = $this.hasClass('dashicons-arrow-up');
764
  $this.toggleClass('dashicons-arrow-down dashicons-arrow-up');
@@ -770,7 +766,7 @@ jQuery(document).ready(function ($) {
770
  });
771
  //========================= /SETTINGS MENU =====================//
772
  //========================= TOOLBAR OPTIONS =====================//
773
- $('.wpd-editor-toolbar .wpd-editor-button').click(function () {
774
  if ($(this).hasClass('wpd-enabled')) {
775
  $(this).removeClass('wpd-enabled');
776
  $(this).addClass('wpd-disabled');
@@ -781,14 +777,14 @@ jQuery(document).ready(function ($) {
781
  $('#' + $(this).attr('id') + '-button').val(1);
782
  }
783
  });
784
- $('.wpd-editor-toolbar #wpdeb_disable').click(function () {
785
  $('.wpd-editor-toolbar .wpd-editor-button').removeClass('wpd-enabled');
786
  $('.wpd-editor-toolbar .wpd-editor-button').addClass('wpd-disabled');
787
  $('.wpd-editor-toolbar .wpd-editor-button').next('input').val(0);
788
  $(this).hide();
789
  $('.wpd-editor-toolbar #wpdeb_enable').show();
790
  });
791
- $('.wpd-editor-toolbar #wpdeb_enable').click(function () {
792
  $('.wpd-editor-toolbar .wpd-editor-button').addClass('wpd-enabled');
793
  $('.wpd-editor-toolbar .wpd-editor-button').removeClass('wpd-disabled');
794
  $('.wpd-editor-toolbar .wpd-editor-button').next('input').val(1);
@@ -816,7 +812,7 @@ jQuery(document).ready(function ($) {
816
  toolsAccordion(item);
817
  }
818
 
819
- $('.wpdtool-accordion-title').click(function () {
820
  var item = $(this);
821
 
822
  if (!supportsHash) {
6
  $('.wpdiscuz-color-picker').colorPicker();
7
  }
8
 
9
+ $(document).on('click', '#wc_share_button_fb',function () {
10
  if ($(this).is(':checked')) {
11
  $('#wpc-fb-api-cont').attr('style', '');
12
  } else {
13
  $('#wpc-fb-api-cont').attr('style', 'display:none');
14
  }
15
  });
16
+ $(document).on('click', '#wpdiscuz-reset-all-options', function (e) {
17
  if (!confirm(wpdiscuzObj.msgConfirmResetOptions)) {
18
  e.preventDefault();
19
  return false;
20
  }
21
  });
22
+ $(document).on('click', '#wpdiscuz-reset-options', function (e) {
23
  if (!confirm(wpdiscuzObj.msgConfirmResetTabOptions)) {
24
  e.preventDefault();
25
  return false;
26
  }
27
  });
28
+ $(document).on('click', '#wpdiscuz-remove-votes', function (e) {
29
  if (!confirm(wpdiscuzObj.msgConfirmRemoveVotes)) {
30
  e.preventDefault();
31
  return false;
32
  }
33
  });
34
+ $(document).on('click', '#wpdiscuz-reset-phrases', function (e) {
35
  if (!confirm(wpdiscuzObj.msgConfirmResetPhrases)) {
36
  e.preventDefault();
37
  return false;
38
  }
39
  });
40
+ $(document).on('click', '#wpdiscuz-purge-gravatars-cache', function (e) {
41
  if (!confirm(wpdiscuzObj.msgConfirmPurgeGravatarsCache)) {
42
  e.preventDefault();
43
  return false;
44
  }
45
  });
46
+ $(document).on('click', '.wpd_stick_btn', function (e) {
47
  var btn = $(this);
48
  $('.fas', btn).removeClass('fa-thumbtack');
49
  $('.fas', btn).addClass('fa-pulse fa-spinner');
77
  e.preventDefault();
78
  return false;
79
  });
80
+ $(document).on('click', '.wpd_close_btn', function (e) {
81
  var btn = $(this);
82
  $('.fas', btn).removeClass('fa-lock fa-unlock');
83
  $('.fas', btn).addClass('fa-spinner fa-pulse');
112
  e.preventDefault();
113
  return false;
114
  });
115
+ $(document).on('click', '.import-stcr', function (e) {
116
  e.preventDefault();
117
  var btn = $(this);
118
+ btn.prop('disabled', true);
119
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
120
  importSTCR(btn);
121
  });
159
  });
160
  }
161
 
162
+ $(document).on('click', '.import-lstc', function (e) {
163
  e.preventDefault();
164
  var btn = $(this);
165
+ btn.prop('disabled', true);
166
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
167
  importLSTC(btn);
168
  });
207
  }
208
 
209
  $('.vote-regenerate-step').val(0);
210
+ $(document).on('click', '.regenerate-vote-metas', function (e) {
211
  e.preventDefault();
212
  if ($('.vote-regenerate-start-id').val() >= 0 && parseInt($('.vote-regenerate-limit').val()) > 0) {
213
  var btn = $(this);
214
+ btn.prop('disabled', true);
215
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
216
  updateVoteMetas(btn);
217
  }
261
  }
262
 
263
  $('.closed-regenerate-step').val(0);
264
+ $(document).on('click', '.regenerate-closed-comments', function (e) {
265
  e.preventDefault();
266
  if ($('.closed-regenerate-start-id').val() >= 0 && parseInt($('.closed-regenerate-limit').val()) > 0) {
267
  var btn = $(this);
268
+ btn.prop('disabled', true);
269
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
270
  updateClosedComments(btn);
271
  }
315
  }
316
 
317
  $('.regenerate-vote-data-step').val(0);
318
+ $(document).on('click', '.regenerate-vote-data', function (e) {
319
  e.preventDefault();
320
  if ($('.regenerate-vote-data-start-id').val() >= 0 && parseInt($('.regenerate-vote-data-limit').val()) > 0) {
321
  var btn = $(this);
322
+ btn.prop('disabled', true);
323
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
324
  regenerateVoteData(btn);
325
  }
368
  });
369
  }
370
 
371
+ $(document).on('click', '.sync-commenter-data', function (e) {
372
  e.preventDefault();
373
  var btn = $(this);
374
+ btn.prop('disabled', true);
375
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
376
  syncCommenterData(btn);
377
  });
404
  }
405
 
406
  $('.rebuild-ratings-step').val(0);
407
+ $(document).on('click', '.rebuild-ratings', function (e) {
408
  e.preventDefault();
409
  if ($('.rebuild-ratings-start-id').val() >= 0) {
410
  var btn = $(this);
411
+ btn.prop('disabled', true);
412
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
413
  rebuildRatings(btn);
414
  }
453
  console.log(errorThrown);
454
  });
455
  }
456
+ $(document).on('click', '.fix-tables', function (e) {
457
  e.preventDefault();
458
  var btn = $(this);
459
+ btn.prop('disabled', true);
460
  $('.fas', btn).addClass('fa-pulse fa-spinner').removeClass('wc-hidden');
461
  fixTables(btn);
462
  });
485
  });
486
  }
487
 
488
+ $(document).on('click', '#wpd-disable-addons', function () {
489
  location.href = $('#wpd-disable-addons-action').val();
490
  });
491
  window.onbeforeunload = confirmExit;
503
  });
504
 
505
  //========================= SETTINGS_LOGIN =====================//
506
+ var showActivityTab = $('#showActivityTab').prop('checked');
507
+ var showSubscriptionsTab = $('#showSubscriptionsTab').prop('checked');
508
+ var showFollowsTab = $('#showFollowsTab').prop('checked');
509
  if (showActivityTab || showFollowsTab || showSubscriptionsTab) {
510
+ $('#showUserSettingsButton').prop('checked', true);
511
  }
512
+ $(document).on('change', '#showUserSettingsButton', function () {
513
+ if ($(this).prop('checked')) {
 
514
  if (showActivityTab || showFollowsTab || showSubscriptionsTab) {
515
  if (showActivityTab) {
516
+ $('#showActivityTab').prop('checked', true);
517
  }
518
  if (showFollowsTab) {
519
+ $('#showFollowsTab').prop('checked', true);
520
  }
521
  if (showSubscriptionsTab) {
522
+ $('#showSubscriptionsTab').prop('checked', true);
523
  }
524
  } else {
525
+ $('#showActivityTab').prop('checked', true);
526
+ $('#showSubscriptionsTab').prop('checked', true);
527
+ $('#showFollowsTab').prop('checked', true);
528
  }
529
  } else {
530
+ $('#showActivityTab').prop('checked', false);
531
+ $('#showSubscriptionsTab').prop('checked', false);
532
+ $('#showFollowsTab').prop('checked', false);
533
  }
534
  });
535
+ $(document).on('change', '#showActivityTab', function () {
536
+ if ($(this).prop('checked') || ($('#showSubscriptionsTab').prop('checked') || $('#showFollowsTab').prop('checked'))) {
537
+ $('#showUserSettingsButton').prop('checked', true);
 
538
  } else {
539
+ $('#showUserSettingsButton').prop('checked', false);
540
  }
541
  });
542
+ $(document).on('change', '#showSubscriptionsTab', function () {
543
+ if ($(this).prop('checked') || ($('#showActivityTab').prop('checked') || $('#showFollowsTab').prop('checked'))) {
544
+ $('#showUserSettingsButton').prop('checked', true);
 
545
  } else {
546
+ $('#showUserSettingsButton').prop('checked', false);
547
  }
548
  });
549
+ $(document).on('change', '#showFollowsTab', function () {
550
+ if ($(this).prop('checked') || ($('#showActivityTab').prop('checked') || $('#showSubscriptionsTab').prop('checked'))) {
551
+ $('#showUserSettingsButton').prop('checked', true);
 
552
  } else {
553
+ $('#showUserSettingsButton').prop('checked', false);
554
  }
555
  });
556
+ $(document).on('change', '#enableProfileURLs', function () {
557
  if (!$(this).prop('checked')) {
558
  $('#websiteAsProfileUrl').prop('checked', false);
559
  }
560
  });
561
  //========================= /SETTINGS_LOGIN =====================//
562
  //========================= SETTINGS_RECAPTCHA =====================//
563
+ $(document).on('change', '#siteKey, #secretKey, #v3_sitekey, #v3_secretkey, #useV3', function () {
564
+ if ((!$('#useV3').prop('checked') && $('#siteKey').val() && $('#secretKey').val()) || ($('#useV3').prop('checked') && $('#v3_sitekey').val() && $('#v3_secretkey').val())) {
565
+ $('#showForGuests').prop('checked', true);
566
  }
567
  });
568
  //========================= /SETTINGS_RECAPTCHA =====================//
574
  }
575
  }, 1000);
576
  }
577
+ $(document).on('click', '.wpd-toggle-news', function () {
578
  var dash = $(this).children('.dashicons');
579
  if (dash.hasClass('dashicons-arrow-down')) {
580
  $('#wpdiscuz-news').show();
606
  var body = el.parents('.wpd-box').children('.wpd-box-body');
607
  wpd_stat_user(el, body);
608
  }
609
+ $(document).on('click', '.wpd-box-toggle .dashicons-arrow-up.wpd_not_clicked, .wpd-box-toggle .dashicons-arrow-down.wpd_not_clicked', function () {
610
  var el = $(this);
611
  el.removeClass('wpd_not_clicked');
612
  var show = el.hasClass('dashicons-arrow-down') ? 1 : 0;
628
  el.addClass('wpd_not_clicked');
629
  }
630
  });
631
+ $(document).on('click', '.wpd-stat-graph .wpd-box-toggle .dashicons-admin-generic', function () {
632
  var sibling = $(this).siblings('.wpd-graph-tools');
633
  sibling.css({display: sibling.is(':visible') ? 'none' : 'flex'});
634
  });
635
+ $(document).on('click', 'body', function () {
636
  $('.wpd-stat-graph .wpd-box-toggle .wpd-graph-tools, #wpd-opt-search-results').hide();
637
  });
638
+ $(document).on('click', '.wpd-stat-graph .wpd-box-toggle .wpd-graph-tools span.wpd_not_clicked', function () {
639
  var el = $(this);
640
  el.removeClass('wpd_not_clicked');
641
  Cookies.set('wpd_stat_graph_interval', el.data('interval'), {expires: 365, path: location.href});
642
  wpd_stat_graph(el, el.parents('.wpd-box').children('.wpd-box-body'));
643
  });
644
+ $(document).on('click', '.wpd-stat-user .wpd-sort-field', function () {
645
  var el = $(this);
646
  var order = el.hasClass('wpd-active') && el.children('.dashicons').hasClass('dashicons-arrow-down-alt2') ? 'asc' : 'desc';
647
  Cookies.set('wpd_stat_user_orderby', el.data('orderby'), {expires: 365, path: location.href});
649
  wpdStatUserPage = 1;
650
  wpd_stat_user(el, el.parents('.wpd-box').children('.wpd-box-body'));
651
  });
652
+ $(document).on('click', '.wpd-stat-user .wpd-box-toggle .dashicons-arrow-left.wpd_not_clicked, .wpd-stat-user .wpd-box-toggle .dashicons-arrow-right.wpd_not_clicked', function () {
653
  var el = $(this);
654
  if (el.hasClass('dashicons-arrow-left')) {
655
  if (wpdStatUserPage > 1) {
682
  });
683
  }
684
  }
685
+ $(document).on('keydown', '#wpd-opt-search-field, #wpd-opt-search-results', function (e) {
686
  var keycode = e.which;
687
  if (keycode == 27) {
688
  $('#wpd-opt-search-results').hide();
721
  $(a[0]).focus()
722
  }
723
  } else if (keycode == 13) {
724
+ $('#wpd-opt-search-results > a:focus').trigger('click');
725
  } else {
726
  $('#wpd-opt-search-field').focus();
727
  }
728
  });
729
+ $(document).on('input', '#wpd-opt-search-field', function () {
730
  var s = $(this).val();
731
  s = s.trim();
732
  if (s.length > 2) {
754
  });
755
  //========================= /SETTING SEARCH =====================//
756
  //========================= SETTINGS MENU =====================//
757
+ $(document).on('click', '.wpd-setbar .wpd-menu-head .dashicons-arrow-down, .wpd-setbar .wpd-menu-head .dashicons-arrow-up', function () {
758
  var $this = $(this);
759
  var up = $this.hasClass('dashicons-arrow-up');
760
  $this.toggleClass('dashicons-arrow-down dashicons-arrow-up');
766
  });
767
  //========================= /SETTINGS MENU =====================//
768
  //========================= TOOLBAR OPTIONS =====================//
769
+ $(document).on('click', '.wpd-editor-toolbar .wpd-editor-button', function () {
770
  if ($(this).hasClass('wpd-enabled')) {
771
  $(this).removeClass('wpd-enabled');
772
  $(this).addClass('wpd-disabled');
777
  $('#' + $(this).attr('id') + '-button').val(1);
778
  }
779
  });
780
+ $(document).on('click', '.wpd-editor-toolbar #wpdeb_disable', function () {
781
  $('.wpd-editor-toolbar .wpd-editor-button').removeClass('wpd-enabled');
782
  $('.wpd-editor-toolbar .wpd-editor-button').addClass('wpd-disabled');
783
  $('.wpd-editor-toolbar .wpd-editor-button').next('input').val(0);
784
  $(this).hide();
785
  $('.wpd-editor-toolbar #wpdeb_enable').show();
786
  });
787
+ $(document).on('click', '.wpd-editor-toolbar #wpdeb_enable', function () {
788
  $('.wpd-editor-toolbar .wpd-editor-button').addClass('wpd-enabled');
789
  $('.wpd-editor-toolbar .wpd-editor-button').removeClass('wpd-disabled');
790
  $('.wpd-editor-toolbar .wpd-editor-button').next('input').val(1);
812
  toolsAccordion(item);
813
  }
814
 
815
+ $(document).on('click', '.wpdtool-accordion-title', function () {
816
  var item = $(this);
817
 
818
  if (!supportsHash) {
assets/js/wpdiscuz-user-content.js CHANGED
@@ -3,11 +3,11 @@ jQuery(document).ready(function ($) {
3
  var refreshAfterDeleting = 0;
4
  var isNativeAjaxEnabled = parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled);
5
  var additionalTab = parseInt(wpdiscuzUCObj.additionalTab);
6
- $(document).delegate('.wpd-info,.wpd-page-link,.wpd-delete-content,.wpd-user-email-delete-links', 'click', function (e) {
7
  e.preventDefault();
8
  });
9
 
10
- $(document).delegate('.wpd-info.wpd-not-clicked', 'click', function (e) {
11
  var btn = $(this);
12
  btn.removeClass('wpd-not-clicked');
13
  var data = new FormData();
@@ -38,7 +38,7 @@ jQuery(document).ready(function ($) {
38
  });
39
  }
40
 
41
- $(document).delegate('.wpd-list-item', 'click', function () {
42
  var relValue = $('input.wpd-rel', this).val();
43
  $('#wpdUserContentInfo .wpd-list-item').removeClass('wpd-active');
44
  $('#wpdUserContentInfo .wpd-content-item').removeClass('wpd-active');
@@ -65,7 +65,7 @@ jQuery(document).ready(function ($) {
65
  });
66
 
67
 
68
- $(document).delegate('.wpd-page-link.wpd-not-clicked', 'click', function (e) {
69
  var btn = $(this);
70
  btn.removeClass('wpd-not-clicked');
71
  var goToPage = btn.data('wpd-page');
@@ -83,7 +83,7 @@ jQuery(document).ready(function ($) {
83
  });
84
  });
85
 
86
- $(document).delegate('.wpd-delete-content.wpd-not-clicked', 'click', function () {
87
 
88
  var btn = $(this);
89
  var id = parseInt(btn.data('wpd-content-id'));
@@ -122,7 +122,7 @@ jQuery(document).ready(function ($) {
122
  }
123
  });
124
 
125
- $(document).delegate('[data-lity-close]', 'click', function (e) {
126
  if ($(e.target).is('[data-lity-close]')) {
127
  if (refreshAfterDeleting) {
128
  window.location.reload(true);
@@ -130,7 +130,7 @@ jQuery(document).ready(function ($) {
130
  }
131
  });
132
 
133
- $(document).delegate('.wpd-user-email-delete-links.wpd-not-clicked', 'click', function () {
134
  var btn = $(this);
135
  btn.removeClass('wpd-not-clicked');
136
  $('.wpd-loading', btn).addClass('wpd-show');
@@ -143,11 +143,10 @@ jQuery(document).ready(function ($) {
143
  });
144
  });
145
 
146
- $(document).delegate('.wpd-user-settings-button.wpd-not-clicked', 'click', function () {
147
  var btn = $(this);
148
  btn.removeClass('wpd-not-clicked');
149
  var guestAction = btn.data('wpd-delete-action');
150
- console.log(guestAction);
151
  if (guestAction !== 'deleteCookies') {
152
  btn.find('.wpd-loading').addClass('wpd-show');
153
  var data = new FormData();
3
  var refreshAfterDeleting = 0;
4
  var isNativeAjaxEnabled = parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled);
5
  var additionalTab = parseInt(wpdiscuzUCObj.additionalTab);
6
+ $(document).on('click', '.wpd-info,.wpd-page-link,.wpd-delete-content,.wpd-user-email-delete-links', function (e) {
7
  e.preventDefault();
8
  });
9
 
10
+ $(document).on('click', '.wpd-info.wpd-not-clicked', function (e) {
11
  var btn = $(this);
12
  btn.removeClass('wpd-not-clicked');
13
  var data = new FormData();
38
  });
39
  }
40
 
41
+ $(document).on('click', '.wpd-list-item', function () {
42
  var relValue = $('input.wpd-rel', this).val();
43
  $('#wpdUserContentInfo .wpd-list-item').removeClass('wpd-active');
44
  $('#wpdUserContentInfo .wpd-content-item').removeClass('wpd-active');
65
  });
66
 
67
 
68
+ $(document).on('click', '.wpd-page-link.wpd-not-clicked', function (e) {
69
  var btn = $(this);
70
  btn.removeClass('wpd-not-clicked');
71
  var goToPage = btn.data('wpd-page');
83
  });
84
  });
85
 
86
+ $(document).on('click', '.wpd-delete-content.wpd-not-clicked', function () {
87
 
88
  var btn = $(this);
89
  var id = parseInt(btn.data('wpd-content-id'));
122
  }
123
  });
124
 
125
+ $(document).on('click', '[data-lity-close]', function (e) {
126
  if ($(e.target).is('[data-lity-close]')) {
127
  if (refreshAfterDeleting) {
128
  window.location.reload(true);
130
  }
131
  });
132
 
133
+ $(document).on('click', '.wpd-user-email-delete-links.wpd-not-clicked', function () {
134
  var btn = $(this);
135
  btn.removeClass('wpd-not-clicked');
136
  $('.wpd-loading', btn).addClass('wpd-show');
143
  });
144
  });
145
 
146
+ $(document).on('click', '.wpd-user-settings-button.wpd-not-clicked', function () {
147
  var btn = $(this);
148
  btn.removeClass('wpd-not-clicked');
149
  var guestAction = btn.data('wpd-delete-action');
 
150
  if (guestAction !== 'deleteCookies') {
151
  btn.find('.wpd-loading').addClass('wpd-show');
152
  var data = new FormData();
assets/js/wpdiscuz-user-content.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(e){var t=0,d=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),n=parseInt(wpdiscuzUCObj.additionalTab);e(document).delegate(".wpd-info,.wpd-page-link,.wpd-delete-content,.wpd-user-email-delete-links","click",function(e){e.preventDefault()}),e(document).delegate(".wpd-info.wpd-not-clicked","click",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var i=new FormData;return i.append("action","wpdGetInfo"),function(t,a){var i=e(".fas",t),o=i.attr("class");i.removeClass(),i.addClass("fas fa-pulse fa-spinner"),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,a).done(function(d){t.addClass("wpd-not-clicked"),i.removeClass(),i.addClass(o),d&&(e("#wpdUserContentInfo").html(d),e("#wpdUserContentInfo ul.wpd-list .wpd-list-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo div.wpd-content .wpd-content-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo").is(":visible")||e("#wpdUserContentInfoAnchor").trigger("click"))})}(a,i),!1}),e(document).delegate(".wpd-list-item","click",function(){var t=e("input.wpd-rel",this).val();e("#wpdUserContentInfo .wpd-list-item").removeClass("wpd-active"),e("#wpdUserContentInfo .wpd-content-item").removeClass("wpd-active");var a=e(this);if(e("#wpdUserContentInfo #"+t).text().length)a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).addClass("wpd-active");else{var i=new FormData;i.append("action",a.attr("data-action")),i.append("page",0),e("#wpdUserContentInfo #"+t).addClass("wpd-active"),e("#wpdUserContentInfo #"+t).css("text-align","center"),wpdiscuzAjaxObj.getAjaxObj(d||n,!0,i).done(function(d){d&&(e("#wpdUserContentInfo #"+t).css("text-align",""),a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).html(d)),e("#wpdiscuz-loading-bar").hide()})}}),e(document).delegate(".wpd-page-link.wpd-not-clicked","click",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var i=a.data("wpd-page"),o=e(".wpd-active .wpd-pagination .wpd-action").val(),s=new FormData;s.append("action",o),s.append("page",i),wpdiscuzAjaxObj.getAjaxObj(d||n,!0,s).done(function(t){a.addClass("wpd-not-clicked"),t&&e(".wpd-content-item.wpd-active").html(t),e("#wpdiscuz-loading-bar").hide()})}),e(document).delegate(".wpd-delete-content.wpd-not-clicked","click",function(){var a=e(this),i=parseInt(a.data("wpd-content-id"));if(!isNaN(i)){var o=a.data("wpd-delete-action");if("wpdDeleteComment"==o&&!confirm(wpdiscuzUCObj.msgConfirmDeleteComment))return!1;if("wpdCancelSubscription"==o&&!confirm(wpdiscuzUCObj.msgConfirmCancelSubscription))return!1;if("wpdCancelFollow"==o&&!confirm(wpdiscuzUCObj.msgConfirmCancelFollow))return!1;var s=e("i",a),c=s.attr("class"),l=e(".wpd-wrapper .wpd-page-number").val(),p=e(".wpd-content-item.wpd-active").children(".wpd-item").length;a.removeClass("wpd-not-clicked"),s.removeClass().addClass("fas fa-pulse fa-spinner"),1==p&&l>0&&(l-=1);var w=new FormData;w.append("id",i),w.append("page",l),w.append("action",o),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,w).done(function(d){a.addClass("wpd-not-clicked"),s.removeClass().addClass(c),e(".wpd-content-item.wpd-active").html(d),t=1})}}),e(document).delegate("[data-lity-close]","click",function(d){e(d.target).is("[data-lity-close]")&&t&&window.location.reload(!0)}),e(document).delegate(".wpd-user-email-delete-links.wpd-not-clicked","click",function(){var t=e(this);t.removeClass("wpd-not-clicked"),e(".wpd-loading",t).addClass("wpd-show");var a=new FormData;a.append("action","wpdEmailDeleteLinks"),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,a).done(function(d){t.addClass("wpd-not-clicked"),e("[data-lity-close]",window.parent.document).trigger("click")})}),e(document).delegate(".wpd-user-settings-button.wpd-not-clicked","click",function(){var t=e(this);t.removeClass("wpd-not-clicked");var a=t.data("wpd-delete-action");if(console.log(a),"deleteCookies"!==a){t.find(".wpd-loading").addClass("wpd-show");var i=new FormData;i.append("action","wpdGuestAction"),i.append("guestAction",a),wpdiscuzAjaxObj.getAjaxObj(d||n,!1,i).done(function(d){t.addClass("wpd-not-clicked"),t.find(".wpd-loading").removeClass("wpd-show");try{var n=e.parseJSON(d);t.after(n.message);var a=t.next(".wpd-guest-action-message");a.fadeIn(100).fadeOut(7e3,function(){a.remove(),1===parseInt(n.code)&&(t.parent().remove(),e(".wpd-delete-all-comments").length||e(".wpd-delete-all-subscriptions").length||e(".wpd-delete-all-cookies").parent().addClass("wpd-show"))})}catch(e){console.log(e)}})}else!function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var d=e[t],n=d.indexOf("="),a=n>-1?d.substr(0,n):d;Cookies.remove(a.trim())}location.reload(!0)}()})});
1
+ jQuery(document).ready(function(e){var t=0,n=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),d=parseInt(wpdiscuzUCObj.additionalTab);e(document).on("click",".wpd-info,.wpd-page-link,.wpd-delete-content,.wpd-user-email-delete-links",function(e){e.preventDefault()}),e(document).on("click",".wpd-info.wpd-not-clicked",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var o=new FormData;return o.append("action","wpdGetInfo"),function(t,a){var o=e(".fas",t),i=o.attr("class");o.removeClass(),o.addClass("fas fa-pulse fa-spinner"),wpdiscuzAjaxObj.getAjaxObj(n||d,!1,a).done(function(n){t.addClass("wpd-not-clicked"),o.removeClass(),o.addClass(i),n&&(e("#wpdUserContentInfo").html(n),e("#wpdUserContentInfo ul.wpd-list .wpd-list-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo div.wpd-content .wpd-content-item:first-child").addClass("wpd-active"),e("#wpdUserContentInfo").is(":visible")||e("#wpdUserContentInfoAnchor").trigger("click"))})}(a,o),!1}),e(document).on("click",".wpd-list-item",function(){var t=e("input.wpd-rel",this).val();e("#wpdUserContentInfo .wpd-list-item").removeClass("wpd-active"),e("#wpdUserContentInfo .wpd-content-item").removeClass("wpd-active");var a=e(this);if(e("#wpdUserContentInfo #"+t).text().length)a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).addClass("wpd-active");else{var o=new FormData;o.append("action",a.attr("data-action")),o.append("page",0),e("#wpdUserContentInfo #"+t).addClass("wpd-active"),e("#wpdUserContentInfo #"+t).css("text-align","center"),wpdiscuzAjaxObj.getAjaxObj(n||d,!0,o).done(function(n){n&&(e("#wpdUserContentInfo #"+t).css("text-align",""),a.addClass("wpd-active"),e("#wpdUserContentInfo #"+t).html(n)),e("#wpdiscuz-loading-bar").hide()})}}),e(document).on("click",".wpd-page-link.wpd-not-clicked",function(t){var a=e(this);a.removeClass("wpd-not-clicked");var o=a.data("wpd-page"),i=e(".wpd-active .wpd-pagination .wpd-action").val(),s=new FormData;s.append("action",i),s.append("page",o),wpdiscuzAjaxObj.getAjaxObj(n||d,!0,s).done(function(t){a.addClass("wpd-not-clicked"),t&&e(".wpd-content-item.wpd-active").html(t),e("#wpdiscuz-loading-bar").hide()})}),e(document).on("click",".wpd-delete-content.wpd-not-clicked",function(){var a=e(this),o=parseInt(a.data("wpd-content-id"));if(!isNaN(o)){var i=a.data("wpd-delete-action");if("wpdDeleteComment"==i&&!confirm(wpdiscuzUCObj.msgConfirmDeleteComment))return!1;if("wpdCancelSubscription"==i&&!confirm(wpdiscuzUCObj.msgConfirmCancelSubscription))return!1;if("wpdCancelFollow"==i&&!confirm(wpdiscuzUCObj.msgConfirmCancelFollow))return!1;var s=e("i",a),c=s.attr("class"),p=e(".wpd-wrapper .wpd-page-number").val(),l=e(".wpd-content-item.wpd-active").children(".wpd-item").length;a.removeClass("wpd-not-clicked"),s.removeClass().addClass("fas fa-pulse fa-spinner"),1==l&&p>0&&(p-=1);var w=new FormData;w.append("id",o),w.append("page",p),w.append("action",i),wpdiscuzAjaxObj.getAjaxObj(n||d,!1,w).done(function(n){a.addClass("wpd-not-clicked"),s.removeClass().addClass(c),e(".wpd-content-item.wpd-active").html(n),t=1})}}),e(document).on("click","[data-lity-close]",function(n){e(n.target).is("[data-lity-close]")&&t&&window.location.reload(!0)}),e(document).on("click",".wpd-user-email-delete-links.wpd-not-clicked",function(){var t=e(this);t.removeClass("wpd-not-clicked"),e(".wpd-loading",t).addClass("wpd-show");var a=new FormData;a.append("action","wpdEmailDeleteLinks"),wpdiscuzAjaxObj.getAjaxObj(n||d,!1,a).done(function(n){t.addClass("wpd-not-clicked"),e("[data-lity-close]",window.parent.document).trigger("click")})}),e(document).on("click",".wpd-user-settings-button.wpd-not-clicked",function(){var t=e(this);t.removeClass("wpd-not-clicked");var a=t.data("wpd-delete-action");if("deleteCookies"!==a){t.find(".wpd-loading").addClass("wpd-show");var o=new FormData;o.append("action","wpdGuestAction"),o.append("guestAction",a),wpdiscuzAjaxObj.getAjaxObj(n||d,!1,o).done(function(n){t.addClass("wpd-not-clicked"),t.find(".wpd-loading").removeClass("wpd-show");try{var d=e.parseJSON(n);t.after(d.message);var a=t.next(".wpd-guest-action-message");a.fadeIn(100).fadeOut(7e3,function(){a.remove(),1===parseInt(d.code)&&(t.parent().remove(),e(".wpd-delete-all-comments").length||e(".wpd-delete-all-subscriptions").length||e(".wpd-delete-all-cookies").parent().addClass("wpd-show"))})}catch(e){console.log(e)}})}else!function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t],d=n.indexOf("="),a=d>-1?n.substr(0,d):n;Cookies.remove(a.trim())}location.reload(!0)}()})});
assets/js/wpdiscuz.js CHANGED
@@ -137,10 +137,10 @@ jQuery(document).ready(function($) {
137
  }
138
  });
139
 
140
- $(document).delegate('#wpdcom .ql-editor, #wpdcom .wc_comment', 'focus', function() {
141
  $('.wpd-form-foot', $(this).parents('.wpd_comm_form')).slideDown(enableDropAnimation);
142
  });
143
- $(document).delegate('#wpdcom textarea', 'focus', function() {
144
  if (!$(this).next('.autogrow-textarea-mirror').length) {
145
  $(this).autoGrow();
146
  }
@@ -158,7 +158,7 @@ jQuery(document).ready(function($) {
158
  $('.wpd-vote-down.wpd-dislike-hidden').remove();
159
  $('.wpd-toolbar-hidden').prev('[id^=wpd-editor-]').css('border-bottom', "1px solid #dddddd");
160
 
161
- $(document).delegate('#wpd-editor-source-code-wrapper-bg', 'click', function() {
162
  $(this).hide();
163
  $('#wpd-editor-source-code-wrapper').hide();
164
  $('#wpd-editor-uid').val('');
@@ -166,7 +166,7 @@ jQuery(document).ready(function($) {
166
  });
167
 
168
  if (wpdiscuzLoadRichEditor) {
169
- $(document).delegate('#wpd-insert-source-code', 'click', function() {
170
  var editor = wpDiscuzEditor.createEditor('#' + $('#wpd-editor-uid').val());
171
  editor.deleteText(0, editor.getLength(), Quill.sources.USER);
172
  var html = $('#wpd-editor-source-code').val();
@@ -181,7 +181,7 @@ jQuery(document).ready(function($) {
181
  });
182
  }
183
 
184
- $(document).delegate('.wpd-reply-button', 'click', function() {
185
  var uniqueID = getUniqueID($(this), 0);
186
  if ($(this).hasClass('wpdiscuz-clonned')) {
187
  if (wpdiscuzLoadRichEditor) {
@@ -200,8 +200,8 @@ jQuery(document).ready(function($) {
200
  generateReCaptcha(uniqueID);
201
  });
202
 
203
- $(document).delegate('#wpdcom .wpd-comment-link [data-comment-url]', 'click', function() {
204
- var val = $(this).data('comment-url');
205
  var el = $('<input/>');
206
  el.appendTo('body').css({'position': 'absolute', 'top': '-10000000px'}).val(val);
207
  el.select();
@@ -210,11 +210,11 @@ jQuery(document).ready(function($) {
210
  wpdiscuzAjaxObj.setCommentMessage(val + '<br/>' + wpdiscuzAjaxObj.wc_copied_to_clipboard, 'success', 5000);
211
  });
212
 
213
- $(document).delegate('.wpdiscuz-nofollow,.wc_captcha_refresh_img,.wpd-load-more-submit', 'click', function(e) {
214
  e.preventDefault();
215
  });
216
 
217
- $(document).delegate('.wpd-toggle.wpd_not_clicked', 'click', function() {
218
  var btn = $(this);
219
  btn.removeClass('wpd_not_clicked');
220
  var uniqueID = getUniqueID($(this), 0);
@@ -238,11 +238,11 @@ jQuery(document).ready(function($) {
238
  }
239
  });
240
 
241
- $(document).delegate('.wpd-new-loaded-comment', 'mouseenter', function() {
242
  $(this).removeClass('wpd-new-loaded-comment');
243
  });
244
 
245
- $(document).delegate('.wpd-sbs-toggle', 'click', function() {
246
  $('.wpdiscuz-subscribe-bar').slideToggle(enableDropAnimation);
247
  });
248
  //============================== reCAPTCHA ============================== //
@@ -266,7 +266,7 @@ jQuery(document).ready(function($) {
266
  }
267
  }, 1000);
268
 
269
- $(document).delegate('#wpdiscuz-subscribe-form', 'submit', function(e) {
270
  if (!$('#wpdiscuz-recaptcha-field-subscribe-form').val()) {
271
  $('.wpdiscuz-recaptcha', $(this)).css('border', '1px solid red');
272
  e.preventDefault();
@@ -275,7 +275,7 @@ jQuery(document).ready(function($) {
275
  }
276
  });
277
  } else if (wpdiscuzRecaptchaVersion === '3.0') {
278
- $(document).delegate('#wpdiscuz_subscription_button', 'click', function(e) {
279
  var subscriptionForm = $(this).parents('#wpdiscuz-subscribe-form');
280
  e.preventDefault();
281
  try {
@@ -497,7 +497,7 @@ jQuery(document).ready(function($) {
497
  //============================== /reCAPTCHA ============================== //
498
  //============================== ADD COMMENT FUNCTION ============================== //
499
 
500
- $(document).delegate('.wc_comm_submit.wpd_not_clicked', 'click', function() {
501
  var currentSubmitBtn = $(this);
502
  var depth = 1;
503
  var wcForm = $(this).parents('form');
@@ -537,7 +537,11 @@ jQuery(document).ready(function($) {
537
  data.append('wpdiscuz_zs', wpdiscuzAjaxObj.wpdiscuz_zs);
538
  }
539
 
540
- if ($('.wpd-cookies-checkbox', wcForm).length && !$('.wpd-cookies-checkbox', wcForm).prop("checked")) {
 
 
 
 
541
  wpdCookiesConsent = false;
542
  }
543
  $('#wpdiscuz-loading-bar').show();
@@ -576,9 +580,9 @@ jQuery(document).ready(function($) {
576
  if (wpdiscuzAjaxObj.commentFormView === "collapsed") {
577
  $('.wpd-form-foot', wcForm).slideUp(enableDropAnimation);
578
  }
579
- $('.wpd-thread-info').html(r.data.wc_all_comments_count_new_html);
580
  r.data.wc_all_comments_count_new = parseInt(r.data.wc_all_comments_count_new);
581
- $('#wpd-bubble-all-comments-count').text(r.data.wc_all_comments_count_new);
582
  if (r.data.wc_all_comments_count_new) {
583
  $('#wpd-bubble-all-comments-count').show();
584
  } else {
@@ -700,7 +704,7 @@ jQuery(document).ready(function($) {
700
  }
701
  }
702
  if ($('.wpd-cookies-checkbox').length) {
703
- $('.wpd-cookies-checkbox').attr('checked', 'checked');
704
  }
705
  }
706
 
@@ -708,7 +712,7 @@ jQuery(document).ready(function($) {
708
  //============================== EDIT COMMENT FUNCTION ============================== //
709
  var wcCommentTextBeforeEditing;
710
 
711
- $(document).delegate('.wpd_editable_comment', 'click', function() {
712
  if (wcCommentTextBeforeEditing && $('.wpdiscuz-edit-form-wrap').length) {
713
  wpdCancelOrSave(getUniqueID($('.wpdiscuz-edit-form-wrap'), 0), wcCommentTextBeforeEditing);
714
  }
@@ -747,7 +751,7 @@ jQuery(document).ready(function($) {
747
  });
748
  });
749
 
750
- $(document).delegate('.wc_save_edited_comment', 'click', function() {
751
  var uniqueID = getUniqueID($(this));
752
  var commentID = getCommentID(uniqueID);
753
  var editCommentForm = $('#wpd-comm-' + uniqueID + ' #wpdiscuz-edit-form');
@@ -806,7 +810,7 @@ jQuery(document).ready(function($) {
806
  }
807
  });
808
 
809
- $(document).delegate('.wc_cancel_edit', 'click', function() {
810
  var uniqueID = getUniqueID($(this));
811
  wpdCancelOrSave(uniqueID, wcCommentTextBeforeEditing);
812
  if (wpdiscuzLoadRichEditor) {
@@ -829,14 +833,14 @@ jQuery(document).ready(function($) {
829
  wpdiscuzLoadComments(true);
830
  }, 500);
831
  } else {
832
- $(document).delegate('.wpd-load-comments', 'click', function() {
833
  $(this).parent('.wpd-load-more-submit-wrap').remove();
834
  wpdiscuzLoadComments(true);
835
  });
836
  }
837
  }
838
 
839
- $(document).delegate('.wpd-load-more-submit', 'click', function() {
840
  var loadButton = $(this);
841
  var loaded = 'wpd-loaded';
842
  var loading = 'wpd-loading';
@@ -938,7 +942,7 @@ jQuery(document).ready(function($) {
938
  wpdiscuzAjaxObj.setLoadMoreVisibility = setLoadMoreVisibility;
939
  //============================== /LOAD MORE ============================== //
940
  //============================== VOTE ============================== //
941
- $(document).delegate('.wpd-vote-up.wpd_not_clicked, .wpd-vote-down.wpd_not_clicked', 'click', function() {
942
  var currentVoteBtn = $(this);
943
  $(currentVoteBtn).removeClass('wpd_not_clicked');
944
  var uniqueId = getUniqueID(currentVoteBtn);
@@ -962,7 +966,8 @@ jQuery(document).ready(function($) {
962
  if (r.data.buttonsStyle === 'total') {
963
  var voteCountDiv = $('.wpd-comment-footer .wpd-vote-result', $('#comment-' + commentID));
964
  var votes = r.data.votes;
965
- voteCountDiv.text(votes);
 
966
  voteCountDiv.removeClass('wpd-up wpd-down');
967
  if (votes > 0) {
968
  voteCountDiv.addClass('wpd-up');
@@ -973,8 +978,10 @@ jQuery(document).ready(function($) {
973
  } else {
974
  var likeCountDiv = $('.wpd-comment-footer .wpd-vote-result-like', $('#comment-' + commentID));
975
  var dislikeCountDiv = $('.wpd-comment-footer .wpd-vote-result-dislike', $('#comment-' + commentID));
976
- likeCountDiv.text(r.data.likeCount);
977
- dislikeCountDiv.text(r.data.dislikeCount);
 
 
978
  parseInt(r.data.likeCount) > 0 ? likeCountDiv.addClass('wpd-up') : likeCountDiv.removeClass('wpd-up');
979
  parseInt(r.data.dislikeCount) < 0 ? dislikeCountDiv.addClass('wpd-down') : dislikeCountDiv.removeClass('wpd-down');
980
  }
@@ -1004,7 +1011,7 @@ jQuery(document).ready(function($) {
1004
  });
1005
  //============================== /VOTE ============================== //
1006
  //============================== SORTING ============================== //
1007
- $(document).delegate('body', 'click', function(e) {
1008
  var children = $('.wpdiscuz-sort-buttons');
1009
  if ($(e.target).hasClass('wpdf-sorting') || $(e.target).parent().hasClass('wpdf-sorting')) {
1010
  children.css({display: children.is(':visible') ? 'none' : 'flex'});
@@ -1012,7 +1019,7 @@ jQuery(document).ready(function($) {
1012
  children.hide();
1013
  }
1014
  });
1015
- $(document).delegate('.wpdiscuz-sort-button:not(.wpdiscuz-sort-button-active)', 'click', function() {
1016
  var clickedBtn = $(this);
1017
  var sorting = $(this).attr("data-sorting");
1018
  if (sorting) {
@@ -1122,9 +1129,9 @@ jQuery(document).ready(function($) {
1122
  if (typeof r === 'object') {
1123
  if (r.success) {
1124
  liveUpdateImmediately(r);
1125
- $('.wpd-thread-info').html(r.data.wc_all_comments_count_new_html);
1126
  r.data.wc_all_comments_count_new = parseInt(r.data.wc_all_comments_count_new);
1127
- $('#wpd-bubble-all-comments-count').text(r.data.wc_all_comments_count_new);
1128
  if (r.data.wc_all_comments_count_new) {
1129
  $('#wpd-bubble-all-comments-count').show();
1130
  } else {
@@ -1153,7 +1160,7 @@ jQuery(document).ready(function($) {
1153
 
1154
  //============================== /LIVE UPDATE ============================== //
1155
  //============================== READ MORE ============================== //
1156
- $(document).delegate('.wpdiscuz-readmore', 'click', function() {
1157
  var uniqueId = getUniqueID($(this));
1158
  var commentId = getCommentID(uniqueId);
1159
  var data = new FormData();
@@ -1271,15 +1278,11 @@ jQuery(document).ready(function($) {
1271
  }
1272
 
1273
  function getVisibleCommentIds() {
1274
- var uniqueId;
1275
- var commentId;
1276
- var visibleCommentIds = '';
1277
  $('.wpd-comment-right').each(function() {
1278
- uniqueId = getUniqueID($(this), 0);
1279
- commentId = getCommentID(uniqueId);
1280
- visibleCommentIds += commentId + ',';
1281
  });
1282
- return visibleCommentIds;
1283
  }
1284
 
1285
  function loginButtonsClone() {
@@ -1308,7 +1311,7 @@ jQuery(document).ready(function($) {
1308
  $('input', this).removeAttr('required');
1309
  var checkedFields = $('input:checked', this);
1310
  if (checkedFields.length === 0) {
1311
- $('input', $(this)).attr('required', 'required');
1312
  } else {
1313
  $('.wpd-field-invalid', this).remove();
1314
  }
@@ -1335,16 +1338,16 @@ jQuery(document).ready(function($) {
1335
  $('body').css('scroll-behavior', bodyScrollBehavior);
1336
  }
1337
 
1338
- $(document).delegate('.wpd-required-group', 'change', function() {
1339
  if ($('input:checked', this).length !== 0) {
1340
  $('input', $(this)).removeAttr('required');
1341
  } else {
1342
- $('input', $(this)).attr('required', 'required');
1343
  }
1344
  });
1345
 
1346
  /* SPOILER */
1347
- $(document).delegate('.wpdiscuz-spoiler', 'click', function() {
1348
  $(this).next().slideToggle();
1349
  if ($(this).hasClass('wpdiscuz-spoiler-closed')) {
1350
  $(this).parents('.wpdiscuz-spoiler-wrap').find('.fa-plus').removeClass('fa-plus').addClass('fa-minus');
@@ -1381,19 +1384,19 @@ jQuery(document).ready(function($) {
1381
  });
1382
  }
1383
 
1384
- $(document).delegate('.wpd-tools i', 'click', function() {
1385
  var sibling = $(this).siblings('.wpd-tools-actions');
1386
  if (!sibling.is(':visible') && $(this).parents('.wpd-comment-right').attr('id') === $('[id^=comment-]', '#wpdcom').last().attr('id')) {
1387
  $('#comments').css({paddingBottom: '160px'});
1388
  }
1389
  sibling.css({display: sibling.is(':visible') ? 'none' : 'flex'});
1390
  });
1391
- $(document).delegate('.wpd-comment-right', 'mouseleave', function() {
1392
  $(this).find('.wpd-tools-actions').hide();
1393
  $('#comments').css({paddingBottom: '0'});
1394
  });
1395
 
1396
- $(document).delegate('.wpd_stick_btn', 'click', function() {
1397
  var uniqueId = getUniqueID($(this), 0);
1398
  var commentId = getCommentID(uniqueId);
1399
  var data = new FormData();
@@ -1414,7 +1417,7 @@ jQuery(document).ready(function($) {
1414
  });
1415
  });
1416
 
1417
- $(document).delegate('.wpd_close_btn', 'click', function() {
1418
  var uniqueId = getUniqueID($(this), 0);
1419
  var commentId = getCommentID(uniqueId);
1420
  var data = new FormData();
@@ -1435,7 +1438,7 @@ jQuery(document).ready(function($) {
1435
  });
1436
  });
1437
 
1438
- $(document).delegate('.wpd-filter.wpd_not_clicked[data-filter-type]', 'click', function() {
1439
  var btn = $(this);
1440
  var type = btn.attr('data-filter-type');
1441
  wpdiscuzAjaxObj.resetActiveFilters('.wpdf-' + type);
@@ -1485,7 +1488,7 @@ jQuery(document).ready(function($) {
1485
  });
1486
  });
1487
 
1488
- $(document).delegate('.wpdf-reacted.wpd_not_clicked', 'click', function() {
1489
  var btn = $(this);
1490
  btn.removeClass('wpd_not_clicked');
1491
  $('.fas', btn).addClass('fa-pulse fa-spinner');
@@ -1517,7 +1520,7 @@ jQuery(document).ready(function($) {
1517
  });
1518
  });
1519
 
1520
- $(document).delegate('.wpdf-hottest.wpd_not_clicked', 'click', function() {
1521
  var btn = $(this);
1522
  btn.removeClass('wpd_not_clicked');
1523
  $('.fas', btn).addClass('fa-pulse fa-spinner');
@@ -1550,7 +1553,7 @@ jQuery(document).ready(function($) {
1550
  });
1551
  });
1552
 
1553
- $(document).delegate('.wpd-filter-view-all', 'click', function() {
1554
  $('.wpdf-inline.wpdf-active.wpd_not_clicked').trigger('click');
1555
  });
1556
 
@@ -1575,7 +1578,7 @@ jQuery(document).ready(function($) {
1575
  }
1576
  }
1577
 
1578
- $(document).delegate('.wpd-follow-link.wpd_not_clicked', 'click', function() {
1579
  var btn = $(this);
1580
  btn.removeClass('wpd_not_clicked');
1581
  $('.fas', btn).addClass('fa-pulse fa-spinner');
@@ -1646,7 +1649,7 @@ jQuery(document).ready(function($) {
1646
 
1647
  showHideNotificationType();
1648
 
1649
- $(document).delegate('.wc_email', 'keyup', function() {
1650
  showHideNotificationType($(this));
1651
  });
1652
 
@@ -1696,13 +1699,13 @@ jQuery(document).ready(function($) {
1696
 
1697
  $('#wpd-bubble-wrapper').show();
1698
 
1699
- $('#wpd-bubble-add-message-close').click(function(e) {
1700
  e.preventDefault();
1701
  e.stopPropagation();
1702
  $('#wpd-bubble-wrapper').removeClass('wpd-bubble-hover');
1703
  });
1704
 
1705
- $('#wpd-bubble').click(function() {
1706
  unsetHtmlAndBodyScrollBehaviors();
1707
  $('html, body').animate({
1708
  scrollTop: $('#wpdcom').offset().top - 60
@@ -1719,13 +1722,13 @@ jQuery(document).ready(function($) {
1719
  });
1720
  });
1721
 
1722
- $('#wpd-bubble-comment-close').click(function(e) {
1723
  e.preventDefault();
1724
  $('#wpd-bubble-notification-message').hide();
1725
  $('#wpd-bubble-wrapper').removeClass('wpd-new-comment-added');
1726
  });
1727
 
1728
- $('#wpd-bubble-comment-reply-link a').click(function() {
1729
  var href = $(this).attr('href');
1730
  setTimeout(function() {
1731
  $('#wpd-bubble-notification-message').hide();
@@ -1742,7 +1745,7 @@ jQuery(document).ready(function($) {
1742
  }, 100);
1743
  });
1744
 
1745
- $('#wpd-bubble-count').click(function() {
1746
  if (bubbleNewCommentIds.length) {
1747
  var data = new FormData();
1748
  data.append('action', 'wpdBubbleUpdate');
@@ -1760,10 +1763,12 @@ jQuery(document).ready(function($) {
1760
  $('#wpd-bubble-count').removeClass('wpd-new-comments');
1761
  $('#wpd-bubble-count .wpd-new-comments-count').text('0');
1762
  bubbleNewCommentIds = [];
1763
- unsetHtmlAndBodyScrollBehaviors();
1764
- $('html, body').animate({
1765
- scrollTop: $($('.wpd-new-loaded-comment')[0]).offset().top - 60
1766
- }, 1000, restoreHtmlAndBodyScrollBehaviors);
 
 
1767
  runCallbacks(r);
1768
  }
1769
  }
@@ -1792,6 +1797,9 @@ jQuery(document).ready(function($) {
1792
  }).done(function(r) {
1793
  if (!addingComment) {
1794
  if (typeof r === 'object') {
 
 
 
1795
  if (r.ids.length) {
1796
  if (commentListUpdateType) {
1797
  liveUpdate();
@@ -1823,15 +1831,15 @@ jQuery(document).ready(function($) {
1823
  }, timeout);
1824
  $('.wpd-new-comments-count').text(count);
1825
  $('#wpd-bubble-count').addClass('wpd-new-comments');
1826
- r.all_comments_count = parseInt(r.all_comments_count);
1827
- $('#wpd-bubble-all-comments-count').text(r.all_comments_count);
1828
- if (r.all_comments_count) {
1829
- $('#wpd-bubble-all-comments-count').show();
1830
- } else {
1831
- $('#wpd-bubble-all-comments-count').hide();
1832
- }
1833
- $('.wpd-thread-info').html(r.all_comments_count_html);
1834
  }
 
 
 
 
 
 
 
 
1835
  } else {
1836
  console.log(r);
1837
  }
@@ -1877,7 +1885,7 @@ jQuery(document).ready(function($) {
1877
  console.log(errorThrown);
1878
  });
1879
  }
1880
- $(document).delegate('body', 'click', function(e) {
1881
  if ($(e.target).hasClass('wpd-inline-form-close') || $(e.target).parents('.wpd-inline-form-close').length) {
1882
  e.preventDefault();
1883
  $(e.target).parents('.wpd-inline-form-wrapper').hide();
@@ -1903,7 +1911,7 @@ jQuery(document).ready(function($) {
1903
  $('.wpd-last-inline-comments-wrapper').remove();
1904
  }
1905
  });
1906
- $(document).delegate('.wpd-inline-submit.wpd_not_clicked', 'click', function(e) {
1907
  e.preventDefault();
1908
  var clickedButton = $(this);
1909
  var form = $(this).parents('.wpd_inline_comm_form');
@@ -1936,9 +1944,9 @@ jQuery(document).ready(function($) {
1936
  } else {
1937
  countEl.removeClass('wpd-has-comments');
1938
  }
1939
- $('.wpd-thread-info').html(r.data.allCommentsCountNewHtml);
1940
  r.data.allCommentsCountNew = parseInt(r.data.allCommentsCountNew);
1941
- $('#wpd-bubble-all-comments-count').text(r.data.allCommentsCountNew);
1942
  if (r.data.allCommentsCountNew) {
1943
  $('#wpd-bubble-all-comments-count').show();
1944
  } else {
@@ -1962,22 +1970,22 @@ jQuery(document).ready(function($) {
1962
  });
1963
  }
1964
  });
1965
- $(document).delegate('.wpd-form', 'keydown', function(e) {
1966
  if (e.ctrlKey && e.keyCode == 13) {
1967
  $(this).find('.wc_comm_submit').trigger('click');
1968
  }
1969
  });
1970
- $(document).delegate('#wpdiscuz-edit-form', 'keydown', function(e) {
1971
  if (e.ctrlKey && e.keyCode == 13) {
1972
  $(this).find('.wc_save_edited_comment').trigger('click');
1973
  }
1974
  });
1975
- $(document).delegate('.wpd-inline-comment-content', 'keydown', function(e) {
1976
  if (e.ctrlKey && e.keyCode == 13) {
1977
  $(this).parents('.wpd_inline_comm_form').find('.wpd-inline-submit.wpd_not_clicked').trigger('click');
1978
  }
1979
  });
1980
- $(document).delegate('.wpd-inline-icon-count.wpd-has-comments', 'click', function() {
1981
  var clickedButton = $(this);
1982
  var data = new FormData();
1983
  data.append('action', 'wpdGetLastInlineComments');
@@ -2000,7 +2008,7 @@ jQuery(document).ready(function($) {
2000
  $('#wpdiscuz-loading-bar').fadeOut(250);
2001
  });
2002
  });
2003
- $(document).delegate('.wpd-view-all-inline-comments', 'click', function(e) {
2004
  e.preventDefault();
2005
  $(this).parents('.wpd-last-inline-comments-wrapper').remove();
2006
  if (!$('.wpdf-inline').hasClass('wpdf-active')) {
@@ -2011,7 +2019,7 @@ jQuery(document).ready(function($) {
2011
  scrollTop: $('.wpdf-inline').offset().top - 32
2012
  }, 1000, restoreHtmlAndBodyScrollBehaviors);
2013
  });
2014
- $(document).delegate('.wpd-feedback-content-link', 'click', function(e) {
2015
  e.preventDefault();
2016
  var feedbackId = $(this).data('feedback-content-id');
2017
  unsetHtmlAndBodyScrollBehaviors();
@@ -2102,7 +2110,7 @@ jQuery(document).ready(function($) {
2102
 
2103
  //========================= /INLINE COMMENTS =====================//
2104
  //========================= POST RATING =====================//
2105
- $(document).delegate('#wpd-post-rating.wpd-not-rated .wpd-rate-starts svg', 'click', function() {
2106
  var data = new FormData();
2107
  var rating = $(this).index();
2108
  if (rating >= 0 && rating < 5) {
@@ -2169,7 +2177,7 @@ jQuery(document).ready(function($) {
2169
  });
2170
  }
2171
  });
2172
- $('.wpd-unsubscribe').click(function(e) {
2173
  e.preventDefault();
2174
  var data = new FormData();
2175
  data.append('action', 'wpdUnsubscribe');
137
  }
138
  });
139
 
140
+ $(document).on('focus', '#wpdcom .ql-editor, #wpdcom .wc_comment', function() {
141
  $('.wpd-form-foot', $(this).parents('.wpd_comm_form')).slideDown(enableDropAnimation);
142
  });
143
+ $(document).on('focus', '#wpdcom textarea', function() {
144
  if (!$(this).next('.autogrow-textarea-mirror').length) {
145
  $(this).autoGrow();
146
  }
158
  $('.wpd-vote-down.wpd-dislike-hidden').remove();
159
  $('.wpd-toolbar-hidden').prev('[id^=wpd-editor-]').css('border-bottom', "1px solid #dddddd");
160
 
161
+ $(document).on('click', '#wpd-editor-source-code-wrapper-bg', function() {
162
  $(this).hide();
163
  $('#wpd-editor-source-code-wrapper').hide();
164
  $('#wpd-editor-uid').val('');
166
  });
167
 
168
  if (wpdiscuzLoadRichEditor) {
169
+ $(document).on('click', '#wpd-insert-source-code', function() {
170
  var editor = wpDiscuzEditor.createEditor('#' + $('#wpd-editor-uid').val());
171
  editor.deleteText(0, editor.getLength(), Quill.sources.USER);
172
  var html = $('#wpd-editor-source-code').val();
181
  });
182
  }
183
 
184
+ $(document).on('click', '.wpd-reply-button', function() {
185
  var uniqueID = getUniqueID($(this), 0);
186
  if ($(this).hasClass('wpdiscuz-clonned')) {
187
  if (wpdiscuzLoadRichEditor) {
200
  generateReCaptcha(uniqueID);
201
  });
202
 
203
+ $(document).on('click', '#wpdcom .wpd-comment-link', function() {
204
+ var val = $('[data-comment-url]',this).data('comment-url');
205
  var el = $('<input/>');
206
  el.appendTo('body').css({'position': 'absolute', 'top': '-10000000px'}).val(val);
207
  el.select();
210
  wpdiscuzAjaxObj.setCommentMessage(val + '<br/>' + wpdiscuzAjaxObj.wc_copied_to_clipboard, 'success', 5000);
211
  });
212
 
213
+ $(document).on('click', '.wpdiscuz-nofollow,.wc_captcha_refresh_img,.wpd-load-more-submit', function(e) {
214
  e.preventDefault();
215
  });
216
 
217
+ $(document).on('click', '.wpd-toggle.wpd_not_clicked', function() {
218
  var btn = $(this);
219
  btn.removeClass('wpd_not_clicked');
220
  var uniqueID = getUniqueID($(this), 0);
238
  }
239
  });
240
 
241
+ $(document).on('mouseenter', '.wpd-new-loaded-comment', function() {
242
  $(this).removeClass('wpd-new-loaded-comment');
243
  });
244
 
245
+ $(document).on('click', '.wpd-sbs-toggle', function() {
246
  $('.wpdiscuz-subscribe-bar').slideToggle(enableDropAnimation);
247
  });
248
  //============================== reCAPTCHA ============================== //
266
  }
267
  }, 1000);
268
 
269
+ $(document).on('submit', '#wpdiscuz-subscribe-form', function(e) {
270
  if (!$('#wpdiscuz-recaptcha-field-subscribe-form').val()) {
271
  $('.wpdiscuz-recaptcha', $(this)).css('border', '1px solid red');
272
  e.preventDefault();
275
  }
276
  });
277
  } else if (wpdiscuzRecaptchaVersion === '3.0') {
278
+ $(document).on('click', '#wpdiscuz_subscription_button', function(e) {
279
  var subscriptionForm = $(this).parents('#wpdiscuz-subscribe-form');
280
  e.preventDefault();
281
  try {
497
  //============================== /reCAPTCHA ============================== //
498
  //============================== ADD COMMENT FUNCTION ============================== //
499
 
500
+ $(document).on('click', '.wc_comm_submit.wpd_not_clicked', function() {
501
  var currentSubmitBtn = $(this);
502
  var depth = 1;
503
  var wcForm = $(this).parents('form');
537
  data.append('wpdiscuz_zs', wpdiscuzAjaxObj.wpdiscuz_zs);
538
  }
539
 
540
+ if ($('.wpd-cookies-checkbox', wcForm).length) {
541
+ if (!$('.wpd-cookies-checkbox', wcForm).prop("checked")) {
542
+ wpdCookiesConsent = false;
543
+ }
544
+ } else if (isUserLoggedIn) {
545
  wpdCookiesConsent = false;
546
  }
547
  $('#wpdiscuz-loading-bar').show();
580
  if (wpdiscuzAjaxObj.commentFormView === "collapsed") {
581
  $('.wpd-form-foot', wcForm).slideUp(enableDropAnimation);
582
  }
583
+ $('.wpd-thread-info').html(r.data.wc_all_comments_count_before_threads_html);
584
  r.data.wc_all_comments_count_new = parseInt(r.data.wc_all_comments_count_new);
585
+ $('#wpd-bubble-all-comments-count').replaceWith(r.data.wc_all_comments_count_bubble_html);
586
  if (r.data.wc_all_comments_count_new) {
587
  $('#wpd-bubble-all-comments-count').show();
588
  } else {
704
  }
705
  }
706
  if ($('.wpd-cookies-checkbox').length) {
707
+ $('.wpd-cookies-checkbox').prop('checked', true);
708
  }
709
  }
710
 
712
  //============================== EDIT COMMENT FUNCTION ============================== //
713
  var wcCommentTextBeforeEditing;
714
 
715
+ $(document).on('click', '.wpd_editable_comment', function() {
716
  if (wcCommentTextBeforeEditing && $('.wpdiscuz-edit-form-wrap').length) {
717
  wpdCancelOrSave(getUniqueID($('.wpdiscuz-edit-form-wrap'), 0), wcCommentTextBeforeEditing);
718
  }
751
  });
752
  });
753
 
754
+ $(document).on('click', '.wc_save_edited_comment', function() {
755
  var uniqueID = getUniqueID($(this));
756
  var commentID = getCommentID(uniqueID);
757
  var editCommentForm = $('#wpd-comm-' + uniqueID + ' #wpdiscuz-edit-form');
810
  }
811
  });
812
 
813
+ $(document).on('click', '.wc_cancel_edit', function() {
814
  var uniqueID = getUniqueID($(this));
815
  wpdCancelOrSave(uniqueID, wcCommentTextBeforeEditing);
816
  if (wpdiscuzLoadRichEditor) {
833
  wpdiscuzLoadComments(true);
834
  }, 500);
835
  } else {
836
+ $(document).on('click', '.wpd-load-comments', function() {
837
  $(this).parent('.wpd-load-more-submit-wrap').remove();
838
  wpdiscuzLoadComments(true);
839
  });
840
  }
841
  }
842
 
843
+ $(document).on('click', '.wpd-load-more-submit', function() {
844
  var loadButton = $(this);
845
  var loaded = 'wpd-loaded';
846
  var loading = 'wpd-loading';
942
  wpdiscuzAjaxObj.setLoadMoreVisibility = setLoadMoreVisibility;
943
  //============================== /LOAD MORE ============================== //
944
  //============================== VOTE ============================== //
945
+ $(document).on('click', '.wpd-vote-up.wpd_not_clicked, .wpd-vote-down.wpd_not_clicked', function() {
946
  var currentVoteBtn = $(this);
947
  $(currentVoteBtn).removeClass('wpd_not_clicked');
948
  var uniqueId = getUniqueID(currentVoteBtn);
966
  if (r.data.buttonsStyle === 'total') {
967
  var voteCountDiv = $('.wpd-comment-footer .wpd-vote-result', $('#comment-' + commentID));
968
  var votes = r.data.votes;
969
+ voteCountDiv.text(r.data.votesHumanReadable);
970
+ voteCountDiv.attr('title', votes);
971
  voteCountDiv.removeClass('wpd-up wpd-down');
972
  if (votes > 0) {
973
  voteCountDiv.addClass('wpd-up');
978
  } else {
979
  var likeCountDiv = $('.wpd-comment-footer .wpd-vote-result-like', $('#comment-' + commentID));
980
  var dislikeCountDiv = $('.wpd-comment-footer .wpd-vote-result-dislike', $('#comment-' + commentID));
981
+ likeCountDiv.text(r.data.likeCountHumanReadable);
982
+ likeCountDiv.attr('title', r.data.likeCount);
983
+ dislikeCountDiv.text(r.data.dislikeCountHumanReadable);
984
+ dislikeCountDiv.attr('title', r.data.dislikeCount);
985
  parseInt(r.data.likeCount) > 0 ? likeCountDiv.addClass('wpd-up') : likeCountDiv.removeClass('wpd-up');
986
  parseInt(r.data.dislikeCount) < 0 ? dislikeCountDiv.addClass('wpd-down') : dislikeCountDiv.removeClass('wpd-down');
987
  }
1011
  });
1012
  //============================== /VOTE ============================== //
1013
  //============================== SORTING ============================== //
1014
+ $(document).on('click', 'body', function(e) {
1015
  var children = $('.wpdiscuz-sort-buttons');
1016
  if ($(e.target).hasClass('wpdf-sorting') || $(e.target).parent().hasClass('wpdf-sorting')) {
1017
  children.css({display: children.is(':visible') ? 'none' : 'flex'});
1019
  children.hide();
1020
  }
1021
  });
1022
+ $(document).on('click', '.wpdiscuz-sort-button:not(.wpdiscuz-sort-button-active)', function() {
1023
  var clickedBtn = $(this);
1024
  var sorting = $(this).attr("data-sorting");
1025
  if (sorting) {
1129
  if (typeof r === 'object') {
1130
  if (r.success) {
1131
  liveUpdateImmediately(r);
1132
+ $('.wpd-thread-info').html(r.data.wc_all_comments_count_before_threads_html);
1133
  r.data.wc_all_comments_count_new = parseInt(r.data.wc_all_comments_count_new);
1134
+ $('#wpd-bubble-all-comments-count').replaceWith(r.data.wc_all_comments_count_bubble_html);
1135
  if (r.data.wc_all_comments_count_new) {
1136
  $('#wpd-bubble-all-comments-count').show();
1137
  } else {
1160
 
1161
  //============================== /LIVE UPDATE ============================== //
1162
  //============================== READ MORE ============================== //
1163
+ $(document).on('click', '.wpdiscuz-readmore', function() {
1164
  var uniqueId = getUniqueID($(this));
1165
  var commentId = getCommentID(uniqueId);
1166
  var data = new FormData();
1278
  }
1279
 
1280
  function getVisibleCommentIds() {
1281
+ var visibleCommentIds = [];
 
 
1282
  $('.wpd-comment-right').each(function() {
1283
+ visibleCommentIds.push(getCommentID(getUniqueID($(this), 0)));
 
 
1284
  });
1285
+ return visibleCommentIds.join(',');
1286
  }
1287
 
1288
  function loginButtonsClone() {
1311
  $('input', this).removeAttr('required');
1312
  var checkedFields = $('input:checked', this);
1313
  if (checkedFields.length === 0) {
1314
+ $('input', $(this)).prop('required', true);
1315
  } else {
1316
  $('.wpd-field-invalid', this).remove();
1317
  }
1338
  $('body').css('scroll-behavior', bodyScrollBehavior);
1339
  }
1340
 
1341
+ $(document).on('change', '.wpd-required-group', function() {
1342
  if ($('input:checked', this).length !== 0) {
1343
  $('input', $(this)).removeAttr('required');
1344
  } else {
1345
+ $('input', $(this)).prop('required', true);
1346
  }
1347
  });
1348
 
1349
  /* SPOILER */
1350
+ $(document).on('click', '.wpdiscuz-spoiler', function() {
1351
  $(this).next().slideToggle();
1352
  if ($(this).hasClass('wpdiscuz-spoiler-closed')) {
1353
  $(this).parents('.wpdiscuz-spoiler-wrap').find('.fa-plus').removeClass('fa-plus').addClass('fa-minus');
1384
  });
1385
  }
1386
 
1387
+ $(document).on('click', '.wpd-tools i', function() {
1388
  var sibling = $(this).siblings('.wpd-tools-actions');
1389
  if (!sibling.is(':visible') && $(this).parents('.wpd-comment-right').attr('id') === $('[id^=comment-]', '#wpdcom').last().attr('id')) {
1390
  $('#comments').css({paddingBottom: '160px'});
1391
  }
1392
  sibling.css({display: sibling.is(':visible') ? 'none' : 'flex'});
1393
  });
1394
+ $(document).on('mouseleave', '.wpd-comment-right', function() {
1395
  $(this).find('.wpd-tools-actions').hide();
1396
  $('#comments').css({paddingBottom: '0'});
1397
  });
1398
 
1399
+ $(document).on('click', '.wpd_stick_btn', function() {
1400
  var uniqueId = getUniqueID($(this), 0);
1401
  var commentId = getCommentID(uniqueId);
1402
  var data = new FormData();
1417
  });
1418
  });
1419
 
1420
+ $(document).on('click', '.wpd_close_btn', function() {
1421
  var uniqueId = getUniqueID($(this), 0);
1422
  var commentId = getCommentID(uniqueId);
1423
  var data = new FormData();
1438
  });
1439
  });
1440
 
1441
+ $(document).on('click', '.wpd-filter.wpd_not_clicked[data-filter-type]', function() {
1442
  var btn = $(this);
1443
  var type = btn.attr('data-filter-type');
1444
  wpdiscuzAjaxObj.resetActiveFilters('.wpdf-' + type);
1488
  });
1489
  });
1490
 
1491
+ $(document).on('click', '.wpdf-reacted.wpd_not_clicked', function() {
1492
  var btn = $(this);
1493
  btn.removeClass('wpd_not_clicked');
1494
  $('.fas', btn).addClass('fa-pulse fa-spinner');
1520
  });
1521
  });
1522
 
1523
+ $(document).on('click', '.wpdf-hottest.wpd_not_clicked', function() {
1524
  var btn = $(this);
1525
  btn.removeClass('wpd_not_clicked');
1526
  $('.fas', btn).addClass('fa-pulse fa-spinner');
1553
  });
1554
  });
1555
 
1556
+ $(document).on('click', '.wpd-filter-view-all', function() {
1557
  $('.wpdf-inline.wpdf-active.wpd_not_clicked').trigger('click');
1558
  });
1559
 
1578
  }
1579
  }
1580
 
1581
+ $(document).on('click', '.wpd-follow-link.wpd_not_clicked', function() {
1582
  var btn = $(this);
1583
  btn.removeClass('wpd_not_clicked');
1584
  $('.fas', btn).addClass('fa-pulse fa-spinner');
1649
 
1650
  showHideNotificationType();
1651
 
1652
+ $(document).on('keyup', '.wc_email', function() {
1653
  showHideNotificationType($(this));
1654
  });
1655
 
1699
 
1700
  $('#wpd-bubble-wrapper').show();
1701
 
1702
+ $(document).on('click', '#wpd-bubble-add-message-close', function(e) {
1703
  e.preventDefault();
1704
  e.stopPropagation();
1705
  $('#wpd-bubble-wrapper').removeClass('wpd-bubble-hover');
1706
  });
1707
 
1708
+ $(document).on('click', '#wpd-bubble', function() {
1709
  unsetHtmlAndBodyScrollBehaviors();
1710
  $('html, body').animate({
1711
  scrollTop: $('#wpdcom').offset().top - 60
1722
  });
1723
  });
1724
 
1725
+ $(document).on('click', '#wpd-bubble-comment-close', function(e) {
1726
  e.preventDefault();
1727
  $('#wpd-bubble-notification-message').hide();
1728
  $('#wpd-bubble-wrapper').removeClass('wpd-new-comment-added');
1729
  });
1730
 
1731
+ $(document).on('click', '#wpd-bubble-comment-reply-link a', function() {
1732
  var href = $(this).attr('href');
1733
  setTimeout(function() {
1734
  $('#wpd-bubble-notification-message').hide();
1745
  }, 100);
1746
  });
1747
 
1748
+ $(document).on('click', '#wpd-bubble-count', function() {
1749
  if (bubbleNewCommentIds.length) {
1750
  var data = new FormData();
1751
  data.append('action', 'wpdBubbleUpdate');
1763
  $('#wpd-bubble-count').removeClass('wpd-new-comments');
1764
  $('#wpd-bubble-count .wpd-new-comments-count').text('0');
1765
  bubbleNewCommentIds = [];
1766
+ if ($('.wpd-new-loaded-comment').length) {
1767
+ unsetHtmlAndBodyScrollBehaviors();
1768
+ $('html, body').animate({
1769
+ scrollTop: $($('.wpd-new-loaded-comment')[0]).offset().top - 60
1770
+ }, 1000, restoreHtmlAndBodyScrollBehaviors);
1771
+ }
1772
  runCallbacks(r);
1773
  }
1774
  }
1797
  }).done(function(r) {
1798
  if (!addingComment) {
1799
  if (typeof r === 'object') {
1800
+ r.commentIDsToRemove.forEach(function(id) {
1801
+ $('[id^=wpd-comm-' + id + ']').remove();
1802
+ });
1803
  if (r.ids.length) {
1804
  if (commentListUpdateType) {
1805
  liveUpdate();
1831
  }, timeout);
1832
  $('.wpd-new-comments-count').text(count);
1833
  $('#wpd-bubble-count').addClass('wpd-new-comments');
 
 
 
 
 
 
 
 
1834
  }
1835
+ r.all_comments_count = parseInt(r.all_comments_count);
1836
+ $('#wpd-bubble-all-comments-count').replaceWith(r.all_comments_count_bubble_html);
1837
+ if (r.all_comments_count) {
1838
+ $('#wpd-bubble-all-comments-count').show();
1839
+ } else {
1840
+ $('#wpd-bubble-all-comments-count').hide();
1841
+ }
1842
+ $('.wpd-thread-info').html(r.all_comments_count_before_threads_html);
1843
  } else {
1844
  console.log(r);
1845
  }
1885
  console.log(errorThrown);
1886
  });
1887
  }
1888
+ $(document).on('click', 'body', function(e) {
1889
  if ($(e.target).hasClass('wpd-inline-form-close') || $(e.target).parents('.wpd-inline-form-close').length) {
1890
  e.preventDefault();
1891
  $(e.target).parents('.wpd-inline-form-wrapper').hide();
1911
  $('.wpd-last-inline-comments-wrapper').remove();
1912
  }
1913
  });
1914
+ $(document).on('click', '.wpd-inline-submit.wpd_not_clicked', function(e) {
1915
  e.preventDefault();
1916
  var clickedButton = $(this);
1917
  var form = $(this).parents('.wpd_inline_comm_form');
1944
  } else {
1945
  countEl.removeClass('wpd-has-comments');
1946
  }
1947
+ $('.wpd-thread-info').html(r.data.allCommentsCountBeforeThreadsHtml);
1948
  r.data.allCommentsCountNew = parseInt(r.data.allCommentsCountNew);
1949
+ $('#wpd-bubble-all-comments-count').replaceWith(r.data.allCommentsCountBubbleHtml);
1950
  if (r.data.allCommentsCountNew) {
1951
  $('#wpd-bubble-all-comments-count').show();
1952
  } else {
1970
  });
1971
  }
1972
  });
1973
+ $(document).on('keydown', '.wpd-form', function(e) {
1974
  if (e.ctrlKey && e.keyCode == 13) {
1975
  $(this).find('.wc_comm_submit').trigger('click');
1976
  }
1977
  });
1978
+ $(document).on('keydown', '#wpdiscuz-edit-form', function(e) {
1979
  if (e.ctrlKey && e.keyCode == 13) {
1980
  $(this).find('.wc_save_edited_comment').trigger('click');
1981
  }
1982
  });
1983
+ $(document).on('keydown', '.wpd-inline-comment-content', function(e) {
1984
  if (e.ctrlKey && e.keyCode == 13) {
1985
  $(this).parents('.wpd_inline_comm_form').find('.wpd-inline-submit.wpd_not_clicked').trigger('click');
1986
  }
1987
  });
1988
+ $(document).on('click', '.wpd-inline-icon-count.wpd-has-comments', function() {
1989
  var clickedButton = $(this);
1990
  var data = new FormData();
1991
  data.append('action', 'wpdGetLastInlineComments');
2008
  $('#wpdiscuz-loading-bar').fadeOut(250);
2009
  });
2010
  });
2011
+ $(document).on('click', '.wpd-view-all-inline-comments', function(e) {
2012
  e.preventDefault();
2013
  $(this).parents('.wpd-last-inline-comments-wrapper').remove();
2014
  if (!$('.wpdf-inline').hasClass('wpdf-active')) {
2019
  scrollTop: $('.wpdf-inline').offset().top - 32
2020
  }, 1000, restoreHtmlAndBodyScrollBehaviors);
2021
  });
2022
+ $(document).on('click', '.wpd-feedback-content-link', function(e) {
2023
  e.preventDefault();
2024
  var feedbackId = $(this).data('feedback-content-id');
2025
  unsetHtmlAndBodyScrollBehaviors();
2110
 
2111
  //========================= /INLINE COMMENTS =====================//
2112
  //========================= POST RATING =====================//
2113
+ $(document).on('click', '#wpd-post-rating.wpd-not-rated .wpd-rate-starts svg', function() {
2114
  var data = new FormData();
2115
  var rating = $(this).index();
2116
  if (rating >= 0 && rating < 5) {
2177
  });
2178
  }
2179
  });
2180
+ $(document).on('click', '.wpd-unsubscribe',function(e) {
2181
  e.preventDefault();
2182
  var data = new FormData();
2183
  data.append('action', 'wpdUnsubscribe');
assets/js/wpdiscuz.min.js CHANGED
@@ -1 +1 @@
1
- var wpdiscuzLoadRichEditor=parseInt(wpdiscuzAjaxObj.loadRichEditor);if(wpdiscuzLoadRichEditor)var wpDiscuzEditor=new WpdEditor;function wpdMessagesOnInit(e,t){wpdiscuzAjaxObj.setCommentMessage(e,t),setTimeout(function(){location.href=location.href.substring(0,location.href.indexOf("wpdiscuzUrlAnchor")-1)},3e3)}wpdiscuzAjaxObj.setCommentMessage=function(e,t,a){var o="wpdiscuz-message-error";if(e instanceof Array)for(var n in e)t instanceof Array?"success"===t[n]?o="wpdiscuz-message-success":"warning"===t[n]&&(o="wpdiscuz-message-warning"):"success"===t?o="wpdiscuz-message-success":"warning"===t&&(o="wpdiscuz-message-warning"),jQuery("<div/>").addClass(o).html(e[n]).prependTo("#wpdiscuz-comment-message").delay(a instanceof Array?a[n]:a||4e3).fadeOut(1e3,function(){jQuery(this).remove()});else"success"===t?o="wpdiscuz-message-success":"warning"===t&&(o="wpdiscuz-message-warning"),jQuery("<div/>").addClass(o).html(e).prependTo("#wpdiscuz-comment-message").delay(a||4e3).fadeOut(1e3,function(){jQuery(this).remove()})},jQuery(document).ready(function(e){e("body").addClass("wpdiscuz_"+wpdiscuzAjaxObj.version);var t=wpdiscuzAjaxObj.is_user_logged_in,a=1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!t,o=1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&t,n=wpdiscuzAjaxObj.wpDiscuzReCaptchaVersion,d=parseInt(wpdiscuzAjaxObj.commentListLoadType),s=parseInt(wpdiscuzAjaxObj.wc_post_id),i=parseInt(wpdiscuzAjaxObj.commentListUpdateType),c=1e3*parseInt(wpdiscuzAjaxObj.commentListUpdateTimer),p=parseInt(wpdiscuzAjaxObj.liveUpdateGuests),r=wpdiscuzAjaxObj.loadLastCommentId,l=r,m=parseInt(wpdiscuzAjaxObj.firstLoadWithAjax);Cookies.get("wpdiscuz_comments_sorting")&&Cookies.remove("wpdiscuz_comments_sorting",{path:""}),Cookies.get("wordpress_last_visit")&&Cookies.remove("wordpress_last_visit",{path:""}),Cookies.get("wpdiscuz_last_visit")&&Cookies.remove("wpdiscuz_last_visit",{path:""});var w,u=wpdiscuzAjaxObj.storeCommenterData,f=parseInt(wpdiscuzAjaxObj.wmuEnabled),h=wpdiscuzAjaxObj.isCookiesEnabled,b=!0,g=wpdiscuzAjaxObj.cookiehash,_=parseInt(wpdiscuzAjaxObj.isLoadOnlyParentComments),v=parseInt(wpdiscuzAjaxObj.enableDropAnimation)?500:0,z=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),j=parseInt(wpdiscuzAjaxObj.enableBubble),C=parseInt(wpdiscuzAjaxObj.bubbleLiveUpdate),k=parseInt(wpdiscuzAjaxObj.bubbleHintTimeout),x=parseInt(wpdiscuzAjaxObj.bubbleHintHideTimeout)?parseInt(wpdiscuzAjaxObj.bubbleHintHideTimeout):5,y=parseInt(wpdiscuzAjaxObj.bubbleShowNewCommentMessage),O=wpdiscuzAjaxObj.bubbleLocation,A=wpdiscuzAjaxObj.inlineFeedbackAttractionType,I=[],T=[],D=[],E=!1,M=1,F=e("html").css("scroll-behavior"),L=e("body").css("scroll-behavior");(e(".wc_social_plugin_wrapper .wp-social-login-provider-list").length?e(".wc_social_plugin_wrapper .wp-social-login-provider-list").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .the_champ_login_container").length?e(".wc_social_plugin_wrapper .the_champ_login_container").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .social_connect_form").length?e(".wc_social_plugin_wrapper .social_connect_form").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .oneall_social_login_providers").length&&e(".wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"),wpdiscuzLoadRichEditor&&e("#wpd-editor-0_0").length&&wpDiscuzEditor.createEditor("#wpd-editor-0_0"),window.addEventListener("beforeunload",function(t){var a=e(".wpd-form").not(":hidden");if(a.length)if(wpdiscuzLoadRichEditor){for(var o=0;o<a.length;o++)if("\n"!==wpDiscuzEditor.createEditor(e(a[o]).find(".ql-container").attr("id")).getText())return t.preventDefault(),void(t.returnValue="")}else for(o=0;o<a.length;o++)if(e(a[o]).find(".wc_comment").val())return t.preventDefault(),void(t.returnValue="")}),e(document).delegate("#wpdcom .ql-editor, #wpdcom .wc_comment","focus",function(){e(".wpd-form-foot",e(this).parents(".wpd_comm_form")).slideDown(v)}),e(document).delegate("#wpdcom textarea","focus",function(){e(this).next(".autogrow-textarea-mirror").length||e(this).autoGrow()}),t)||U({comment_author:Cookies.get("comment_author_"+g),comment_author_email:Cookies.get("comment_author_email_"+g),comment_author_url:Cookies.get("comment_author_url_"+g)});if(e(".wpd-vote-down.wpd-dislike-hidden").remove(),e(".wpd-toolbar-hidden").prev("[id^=wpd-editor-]").css("border-bottom","1px solid #dddddd"),e(document).delegate("#wpd-editor-source-code-wrapper-bg","click",function(){e(this).hide(),e("#wpd-editor-source-code-wrapper").hide(),e("#wpd-editor-uid").val(""),e("#wpd-editor-source-code").val("")}),wpdiscuzLoadRichEditor&&e(document).delegate("#wpd-insert-source-code","click",function(){var t=wpDiscuzEditor.createEditor("#"+e("#wpd-editor-uid").val());t.deleteText(0,t.getLength(),Quill.sources.USER);var a=e("#wpd-editor-source-code").val();a.length&&t.clipboard.dangerouslyPasteHTML(0,a,Quill.sources.USER),t.update(),e("#wpd-editor-source-code-wrapper-bg").hide(),e("#wpd-editor-source-code-wrapper").hide(),e("#wpd-editor-uid").val(""),e("#wpd-editor-source-code").val("")}),e(document).delegate(".wpd-reply-button","click",function(){var d=G(e(this),0);e(this).hasClass("wpdiscuz-clonned")?(wpdiscuzLoadRichEditor?setTimeout(function(){wpDiscuzEditor.createEditor("#wpd-editor-"+d).focus()},v):setTimeout(function(){e("#wc-textarea-"+d).trigger("focus")},v),e("#wpd-secondary-form-wrapper-"+d).slideToggle(v)):function(a){var o=G(a,0);e("#wpdiscuz_form_anchor-"+o).before(function(t){return e("#wpdiscuz_hidden_secondary_form").html().replace(/wpdiscuzuniqueid/g,t)}(o));var n=e("#wpd-secondary-form-wrapper-"+o);if(!t){var d={comment_author:Cookies.get("comment_author_"+g),comment_author_email:Cookies.get("comment_author_email_"+g),comment_author_url:Cookies.get("comment_author_url_"+g)};U(d)}wpdiscuzLoadRichEditor?setTimeout(function(){wpDiscuzEditor.createEditor("#wpd-editor-"+o).focus()},v):setTimeout(function(){e("#wc-textarea-"+o).trigger("focus")},v);n.slideToggle(v,function(){a.addClass("wpdiscuz-clonned")})}(e(this)),function(t){if((a||o)&&"2.0"===n){var d=$(t);setTimeout(function(){if(!T[d])try{T[d]=grecaptcha.render("wpdiscuz-recaptcha-"+t,{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(a){e("#wpdiscuz-recaptcha-field-"+t).val("key")},"expired-callback":function(){e("#wpdiscuz-recaptcha-field-"+t).val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}},1e3)}}(d)}),e(document).delegate("#wpdcom .wpd-comment-link [data-comment-url]","click",function(){var t=e(this).data("comment-url"),a=e("<input/>");a.appendTo("body").css({position:"absolute",top:"-10000000px"}).val(t),a.select(),document.execCommand("copy"),a.remove(),wpdiscuzAjaxObj.setCommentMessage(t+"<br/>"+wpdiscuzAjaxObj.wc_copied_to_clipboard,"success",5e3)}),e(document).delegate(".wpdiscuz-nofollow,.wc_captcha_refresh_img,.wpd-load-more-submit","click",function(e){e.preventDefault()}),e(document).delegate(".wpd-toggle.wpd_not_clicked","click",function(){var t=e(this);t.removeClass("wpd_not_clicked");var a=G(e(this),0),o=e(this),n=e(".fas",o);!o.parents(".wpd-comment:not(.wpd-reply)").children(".wpd-reply").length&&_?function(t,a){var o=$(t),n=new FormData;n.append("action","wpdShowReplies"),n.append("commentId",o),me(z,!0,n).done(function(o){a.addClass("wpd_not_clicked"),"object"==typeof o&&o.success&&(e("#wpd-comm-"+t).replaceWith(o.data.comment_list),e("#wpd-comm-"+t+" .wpd-toggle .fas").removeClass("fa-chevron-down").addClass("fa-chevron-up"),e("#wpd-comm-"+t+" .wpd-toggle").attr("wpd-tooltip",wpdiscuzAjaxObj.wc_hide_replies_text),e("#wpd-comm-"+t+" .wpd-toggle .wpd-view-replies").remove(),le(o)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,n){console.log(n),a.addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}(a,t):e("#wpd-comm-"+a+"> .wpd-reply").slideToggle(700,function(){e(this).is(":hidden")?(n.removeClass("fa-chevron-up"),n.addClass("fa-chevron-down"),o.attr("wpd-tooltip",wpdiscuzAjaxObj.wc_show_replies_text)):(n.removeClass("fa-chevron-down"),n.addClass("fa-chevron-up"),o.attr("wpd-tooltip",wpdiscuzAjaxObj.wc_hide_replies_text)),t.addClass("wpd_not_clicked")})}),e(document).delegate(".wpd-new-loaded-comment","mouseenter",function(){e(this).removeClass("wpd-new-loaded-comment")}),e(document).delegate(".wpd-sbs-toggle","click",function(){e(".wpdiscuz-subscribe-bar").slideToggle(v)}),parseInt(wpdiscuzAjaxObj.wpDiscuzIsShowOnSubscribeForm)&&!t&&wpdiscuzAjaxObj.wpDiscuzReCaptchaSK&&e("#wpdiscuz-subscribe-form").length&&("2.0"===n?(setTimeout(function(){try{grecaptcha.render("wpdiscuz-recaptcha-subscribe-form",{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(t){e("#wpdiscuz-recaptcha-field-subscribe-form").val("key")},"expired-callback":function(){e("#wpdiscuz-recaptcha-field-subscribe-form").val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}},1e3),e(document).delegate("#wpdiscuz-subscribe-form","submit",function(t){e("#wpdiscuz-recaptcha-field-subscribe-form").val()?e(".wpdiscuz-recaptcha",e(this)).css("border","none"):(e(".wpdiscuz-recaptcha",e(this)).css("border","1px solid red"),t.preventDefault())})):"3.0"===n&&e(document).delegate("#wpdiscuz_subscription_button","click",function(t){var a=e(this).parents("#wpdiscuz-subscribe-form");t.preventDefault();try{grecaptcha.ready(function(){grecaptcha.execute(wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,{action:"wpdiscuz/wpdAddSubscription"}).then(function(e){console.log(5555),document.getElementById("wpdiscuz-recaptcha-field-subscribe-form").value=e,a.submit()},function(e){wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error","error"),console.log(e)})})}catch(t){console.log(t),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+t.message,"error")}})),(a||o)&&"2.0"===n){var R=e(window).width(),S=e("#wpdcom").width();S>=1100&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"65%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"35%"})),S>=940&&S<1100&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"60%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"40%"})),S>=810&&S<940&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"40%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"60%"})),S>=730&&S<810&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"45%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"55%"})),S>=610&&S<730&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.85)","-webkit-transform":"scale(0.85)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"43%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"55%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"30%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"70%"})),R>650&&(S>=510&&S<610&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"center 0","-webkit-transform-origin":"center 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"35%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"63%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"30%",position:"relative",right:"-60px"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"70%"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"})),S>=470&&S<510&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"center 0","-webkit-transform-origin":"center 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"40%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"60%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd_main_comm_form .wc-form-footer").css({"margin-left":"0px"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"})),S<470&&(e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({margin:"0px auto","transform-origin":"center 0","-webkit-transform-origin":"center 0"}),e("#wpdcom .wpd-form-col-left").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-form-col-right").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"}),e("#wpdcom .wpd-secondary-form-wrapper .wc_notification_checkboxes").css({"text-align":"center"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-field-submit").css({"text-align":"center"})))}function q(t,a,o){me(z||f,!1,a).done(function(a){if(e(o).addClass("wpd_not_clicked"),"object"==typeof a)if(a.success){"collapsed"===wpdiscuzAjaxObj.commentFormView&&e(".wpd-form-foot",t).slideUp(v),e(".wpd-thread-info").html(a.data.wc_all_comments_count_new_html),a.data.wc_all_comments_count_new=parseInt(a.data.wc_all_comments_count_new),e("#wpd-bubble-all-comments-count").text(a.data.wc_all_comments_count_new),a.data.wc_all_comments_count_new?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide();var n=v;a.data.is_main?ae(a.data.message):(n=v+700,e("#wpd-secondary-form-wrapper-"+a.data.uniqueid).slideToggle(700),1==a.data.is_in_same_container?e("#wpd-secondary-form-wrapper-"+a.data.uniqueid).after(a.data.message):e("#wpd-comm-"+a.data.uniqueid).after(a.data.message)),function(e){if(!e.data.held_moderate){var t=new FormData;t.append("action","wpdCheckNotificationType"),t.append("comment_id",e.data.new_comment_id),t.append("email",e.data.comment_author_email),t.append("isParent",e.data.is_main),me(z,!0,t)}}(a),function(e){if(e.data.redirect>0&&e.data.new_comment_id){var t=new FormData;t.append("action","wpdRedirect"),t.append("commentId",e.data.new_comment_id),me(z,!0,t).done(function(e){"object"==typeof e&&e.success&&setTimeout(function(){location.href=e.data},2e3)}).fail(function(e,t,a){console.log(a)})}}(a),h&&b?function(t){var a=t.comment_author_email,o=t.comment_author,n=t.comment_author_url;null==u?(Cookies.set("comment_author_email_"+g,a),Cookies.set("comment_author_"+g,o),n.length&&Cookies.set("comment_author_url_"+g,n)):(u=parseInt(u),Cookies.set("comment_author_email_"+g,a,{expires:u,path:"/"}),Cookies.set("comment_author_"+g,o,{expires:u,path:"/"}),n.length&&Cookies.set("comment_author_url_"+g,n,{expires:u,path:"/"}));e(".wpd-cookies-checkbox").length&&e(".wpd-cookies-checkbox").attr("checked","checked")}(a.data):b||e(".wpd-cookies-checkbox").removeAttr("checked"),wpdiscuzLoadRichEditor&&wpDiscuzEditor.createEditor("#wpd-editor-"+e(".wpdiscuz_unique_id",t).val()).setContents([{insert:"\n"}]),t.get(0).reset(),U(a.data),e(".wmu-preview-wrap",t).remove(),I.length&&(I.forEach(function(e){e.parents(".wpd-field-checkbox").remove()}),I=[]),parseInt(wpdiscuzAjaxObj.scrollToComment)&&setTimeout(function(){ee(),e("html, body").animate({scrollTop:e("#comment-"+a.data.new_comment_id).offset().top-32},1e3,te)},n),le(a,t)}else a.data&&(wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error"),le(a,t));else wpdiscuzAjaxObj.setCommentMessage(a,"error");e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,a,n){console.log(n),e(o).addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}function U(t){e(".wpd_comm_form .wc_name").val(t.comment_author),t.comment_author_email&&t.comment_author_email.indexOf("@example.com")<0&&e(".wpd_comm_form .wc_email").val(t.comment_author_email),t.comment_author_url&&e(".wpd_comm_form .wc_website").val(t.comment_author_url)}function H(t,a){e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd_editable_comment").show(),e("#wpd-comm-"+t+" .wpdiscuz-edit-form-wrap").replaceWith(a),e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").show()}e(document).delegate(".wc_comm_submit.wpd_not_clicked","click",function(){var t=e(this),d=1,s=e(this).parents("form");if(s.hasClass("wpd_main_comm_form")||(d=function(t){var a=t.attr("class").split(" "),o="";return e.each(a,function(e,t){"wpd_comment_level"===X(t,!1)&&(o=X(t,!0))}),parseInt(o)+1}(e(this).parents(".wpd-comment"))),Z(s,"#wpd-editor-"+e(".wpdiscuz_unique_id",s).val()),s.submit(function(e){e.preventDefault()}),""!==e(".wc_comment",s).val().trim()){if(s[0].checkValidity()&&(c=s,p=!0,"2.0"===n&&e("input[name=wc_captcha]",c).length&&!e("input[name=wc_captcha]",c).val().length?(p=!1,e(".wpdiscuz-recaptcha",c).css("border","1px solid red")):"2.0"===n&&e("input[name=wc_captcha]",c).length&&e(".wpdiscuz-recaptcha",c).css("border","none"),p)){E=!0,function(t){e(".wpd-agreement-checkbox",t).each(function(){e(this).hasClass("wpd_agreement_hide")&&h&&e(this).prop("checked")&&(Cookies.set(e(this).attr("name")+"_"+g,1,{expires:30,path:"/"}),e("input[name="+e(this).attr("name")+"]").each(function(){I.push(e(this))}))})}(s),e(t).removeClass("wpd_not_clicked");var i=new FormData;if(i.append("action","wpdAddComment"),e(":input",s).each(function(){""!=this.name&&"checkbox"!=this.type&&"radio"!=this.type&&i.append(this.name+"",e(this).val().trim()),"checkbox"!=this.type&&"radio"!=this.type||e(this).is(":checked")&&i.append(this.name+"",e(this).val())}),i.append("wpd_comment_depth",d),wpdiscuzAjaxObj.wpdiscuz_zs&&i.append("wpdiscuz_zs",wpdiscuzAjaxObj.wpdiscuz_zs),e(".wpd-cookies-checkbox",s).length&&!e(".wpd-cookies-checkbox",s).prop("checked")&&(b=!1),e("#wpdiscuz-loading-bar").show(),wpdiscuzAjaxObj.wpDiscuzReCaptchaSK&&"3.0"===n&&(1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!wpdiscuzAjaxObj.is_user_logged_in||1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&wpdiscuzAjaxObj.is_user_logged_in))try{grecaptcha.ready(function(){grecaptcha.execute(wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,{action:"wpdiscuz/addComment"}).then(function(e){i.append("g-recaptcha-response",e),q(s,i,t)},function(e){wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error","error"),console.log(e)})})}catch(t){console.log(t),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+t.message,"error"),e("#wpdiscuz-loading-bar").fadeOut(250)}else q(s,i,t)}var c,p;!function(e){if((a||o)&&"2.0"===n){var t=$(e);grecaptcha.reset(T[t])}}(e(".wpdiscuz_unique_id",s).val()),e(".wpdiscuz_reset").val("")}else wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wc_msg_required_fields,"error")}),e(document).delegate(".wpd_editable_comment","click",function(){w&&e(".wpdiscuz-edit-form-wrap").length&&H(G(e(".wpdiscuz-edit-form-wrap"),0),w);var t=G(e(this),0),a=$(t),o=new FormData;o.append("action","wpdEditComment"),o.append("commentId",a),w=e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-text").get(0),me(z,!0,o).done(function(a){if("object"==typeof a)if(a.success){if(e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd-comment-text").replaceWith(a.data.html),wpdiscuzLoadRichEditor){let o=wpDiscuzEditor.createEditor("#wpd-editor-edit_"+t);o.clipboard.dangerouslyPasteHTML(0,a.data.content),o.update(),e(".wpd-toolbar-hidden").prev("[id^=wpd-editor-]").css("border-bottom","1px solid #dddddd")}else e("#wc-textarea-edit_"+t).val(a.data.content);e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd_editable_comment").hide(),e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").hide()}else wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error");else console.log(a);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wc_save_edited_comment","click",function(){var t=G(e(this)),a=$(t),o=e("#wpd-comm-"+t+" #wpdiscuz-edit-form");if(Z(o,"#wpd-editor-edit_"+t),o.submit(function(e){e.preventDefault()}),o[0].checkValidity()){var n=new FormData;n.append("action","wpdSaveEditedComment"),n.append("commentId",a),e(":input",o).each(function(){""!==this.name&&"checkbox"!==this.type&&"radio"!==this.type&&n.append(this.name+"",e(this).val()),"checkbox"!==this.type&&"radio"!==this.type||e(this).is(":checked")&&n.append(this.name+"",e(this).val())}),me(z,!0,n).done(function(o){"object"==typeof o?(o.success?(H(t,o.data.message),o.data.lastEdited&&(e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").remove(),e(o.data.lastEdited).insertAfter("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd-comment-text")),o.data.twitterShareLink&&e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-share .wpd-tooltip-content .wc_tw").attr("href",o.data.twitterShareLink),o.data.whatsappShareLink&&e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-share .wpd-tooltip-content .wc_whatsapp").attr("href",o.data.whatsappShareLink),wpdiscuzLoadRichEditor&&wpDiscuzEditor.removeEditor("#wpd-editor-edit_"+t)):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error"),le(o,a)):console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).delegate(".wc_cancel_edit","click",function(){var t=G(e(this));H(t,w),wpdiscuzLoadRichEditor&&wpDiscuzEditor.removeEditor("#wpd-editor-edit_"+t)}),!wpdiscuzAjaxObj.wordpressIsPaginate&&m&&(M=0,1==m?setTimeout(function(){P(!0)},500):e(document).delegate(".wpd-load-comments","click",function(){e(this).parent(".wpd-load-more-submit-wrap").remove(),P(!0)})),e(document).delegate(".wpd-load-more-submit","click",function(){var t=e(this);t.hasClass("wpd-loaded")&&P(!1,t,"wpd-loaded","wpd-loading")});var W=!1;function N(){var t=e("#wpdiscuzHasMoreComments").val(),a=e(document).height(),o=e(window).height()+e(window).scrollTop();a&&o&&(100*o/a>=80&&!1===W&&1==t&&(W=!0,P(!1,e(".wpd-load-more-submit"))))}function P(t,a,o,n){a&&(a.toggleClass(o),a.toggleClass(n));var s=new FormData;s.append("action","wpdLoadMoreComments");var i=e(".wpdiscuz-sort-button-active").attr("data-sorting");i&&s.append("sorting",i),s.append("offset",M),s.append("lastParentId",e(".wpd-load-more-submit").attr("data-lastparentid")),s.append("isFirstLoad",t?1:0);var c=e(".wpdf-active").attr("data-filter-type");s.append("wpdType",c||""),me(z,!t||1!=m,s).done(function(s){"object"==typeof s&&s.success&&(M++,t&&e(".wpd-comment").remove(),e(".wpdiscuz_single").remove(),e(".wpdiscuz-comment-pagination").before(s.data.comment_list),V(s,t&&2!==d),W=!1,r=s.data.loadLastCommentId,le(s),t&&K(!1)),e("#wpdiscuz-loading-bar").fadeOut(250),e(".wpd-load-more-submit").blur(),a&&(a.toggleClass(o),a.toggleClass(n))}).fail(function(t,d,s){console.log(s),e("#wpdiscuz-loading-bar").fadeOut(250),e(".wpd-load-more-submit").blur(),a&&(a.toggleClass(o),a.toggleClass(n))})}function V(t,a){var o;0==t.data.is_show_load_more?(e("#wpdiscuzHasMoreComments").val(0),e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").hide()):(o=t.data.last_parent_id,e(".wpd-load-more-submit").attr("data-lastparentid",o),2!==d&&e(".wpdiscuz-comment-pagination").show(),e("#wpdiscuzHasMoreComments").val(1),a&&e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").show()),le(t)}function K(t){var a=location.href.match(/#comment\-(\d+)/);if(null!==a){var o=a[1];if(e("#comment-"+o).length)setTimeout(function(){ee(),e("html, body").animate({scrollTop:e("#comment-"+o).parents("[id^=wpd-comm-]").offset().top-32},1e3,te),t&&Q(o)},500);else{var n=new FormData;n.append("action","wpdGetSingleComment"),n.append("commentId",o),me(z,!0,n).done(function(a){if("object"==typeof a&&a.success){var n="#comment-"+o;e("#comment-"+a.data.parentCommentID).length?e("#comment-"+a.data.parentCommentID).parents("[id^=wpd-comm-"+a.data.parentCommentID+"]").replaceWith(a.data.message):e(".wpd-thread-list").prepend(a.data.message),le(a),ee(),e("html, body").animate({scrollTop:e(n).offset().top-32},1e3,te),t&&Q(o)}e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}}function Q(t){setTimeout(function(){e("#comment-"+t).siblings(".wpd-secondary-form-wrapper").is(":visible")||e("#comment-"+t).find(".wpd-reply-button").trigger("click")},1100)}function B(e){if(void 0!==e.data.message)for(var t,a=e.data.message,o=0;o<a.length;o++)Y((t=a[o]).comment_parent,t.comment_html)}function G(e,t){var a="";return(a=t?e.parents(".wpd-main-form-wrapper").attr("id"):e.parents(".wpd-comment").attr("id")).substring(a.lastIndexOf("-")+1)}function $(e){return e.substring(0,e.indexOf("_"))}function X(e,t){return t?e.substring(e.indexOf("-")+1):e.substring(0,e.indexOf("-"))}function Y(t,a){if(0==t)ae(a);else{var o=G(e("#comment-"+t),0);e("#wpdiscuz_form_anchor-"+o).after(a)}}function J(){var t,a,o="";return e(".wpd-comment-right").each(function(){t=G(e(this),0),a=$(t),o+=a+","}),o}function Z(t,a){var o=t.find(".wpd-required-group");wpdiscuzLoadRichEditor&&t.find(".wc_comment").val(e(a+">.ql-editor").html()),function(e){var t=e.find(".wc_comment"),a=t.val().trim().replace(/<p><br><\/p>/g,"\n").replace(/<p>(.*?)<\/p>/g,"$1\n");a=(a=(a=(a=a.replace(/<img src=["|']https\:\/\/s\.w\.org\/images\/core\/emoji\/([^"|']+)["|'](.*?)alt=["|']([^"|']+)["|'](.*?)[^>]*>/g," $3 ")).replace(/<img[^>]+alt=["|']([^"|']+)["|'][^>]+src=["|']https\:\/\/s\.w\.org\/images\/core\/emoji\/([^"|']+)["|'][^>]?>/g," $1 ")).replace(/<img\s+([^>]*)class=["|']wpdem\-sticker["|'](.*?)alt=["|']([^"|']+)["|'](.*?)[^>]*>/g," $3 ")).replace(/<img\s+([^>]*)src=["|']([^"|']+)["|'](.*?)[^>]*>/g," $2 "),t.val(a)}(t),e.each(o,function(){e("input",this).removeAttr("required"),0===e("input:checked",this).length?e("input",e(this)).attr("required","required"):e(".wpd-field-invalid",this).remove()})}function ee(){e("html, body").css("scroll-behavior","unset")}function te(){e("html").css("scroll-behavior",F),e("body").css("scroll-behavior",L)}function ae(t){e(".wpd-sticky-comment").last()[0]?e(t).insertAfter(e(".wpd-sticky-comment").last()[0]):e(".wpd-thread-list").prepend(t)}function oe(t){t?t.prop("required")||(t.val()?t.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","inline-block"):t.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","none")):e.each(e(".wc_email"),function(t,a){var o=e(a);o.prop("required")||(o.val()?o.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","inline-block"):o.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","none"))})}if(2!==d||wpdiscuzAjaxObj.wordpressIsPaginate||(e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").hide(),N(),e(window).scroll(function(){N()})),wpdiscuzAjaxObj.setLoadMoreVisibility=V,e(document).delegate(".wpd-vote-up.wpd_not_clicked, .wpd-vote-down.wpd_not_clicked","click",function(){var t=e(this);e(t).removeClass("wpd_not_clicked");var a,o=$(G(t));a=e(this).hasClass("wpd-vote-up")?1:-1;var n=new FormData;n.append("action","wpdVoteOnComment"),n.append("commentId",o),n.append("voteType",a),me(z,!0,n).done(function(n){if(e(t).addClass("wpd_not_clicked"),"object"==typeof n){if(n.success){if("total"===n.data.buttonsStyle){var d=e(".wpd-comment-footer .wpd-vote-result",e("#comment-"+o)),s=n.data.votes;d.text(s),d.removeClass("wpd-up wpd-down"),s>0&&d.addClass("wpd-up"),s<0&&d.addClass("wpd-down")}else{var i=e(".wpd-comment-footer .wpd-vote-result-like",e("#comment-"+o)),c=e(".wpd-comment-footer .wpd-vote-result-dislike",e("#comment-"+o));i.text(n.data.likeCount),c.text(n.data.dislikeCount),parseInt(n.data.likeCount)>0?i.addClass("wpd-up"):i.removeClass("wpd-up"),parseInt(n.data.dislikeCount)<0?c.addClass("wpd-down"):c.removeClass("wpd-down")}var p=e(".wpd-comment-footer .wpd-vote-up",e("#comment-"+o)),r=e(".wpd-comment-footer .wpd-vote-down",e("#comment-"+o));p.removeClass("wpd-up"),r.removeClass("wpd-down"),n.data.curUserReaction>0?p.addClass("wpd-up"):n.data.curUserReaction<0&&r.addClass("wpd-down")}else n.data&&wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[n.data],"error");le(n,o,a)}else console.log(n);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,o,n){console.log(n),e(t).addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate("body","click",function(t){var a=e(".wpdiscuz-sort-buttons");e(t.target).hasClass("wpdf-sorting")||e(t.target).parent().hasClass("wpdf-sorting")?a.css({display:a.is(":visible")?"none":"flex"}):a.hide()}),e(document).delegate(".wpdiscuz-sort-button:not(.wpdiscuz-sort-button-active)","click",function(){var t=e(this),a=e(this).attr("data-sorting");if(a){e(".wpdiscuz-sort-button.wpdiscuz-sort-button-active").removeClass("wpdiscuz-sort-button-active").appendTo(".wpdiscuz-sort-buttons"),t.addClass("wpdiscuz-sort-button-active").prependTo(".wpdf-sorting");var o=new FormData;o.append("action","wpdSorting"),o.append("sorting",a);var n=e(".wpdf-active").attr("data-filter-type");o.append("wpdType",n||""),me(z,!0,o).done(function(t){"object"==typeof t&&t.success&&(e("#wpdcom .wpd-comment").remove(),e("#wpdcom .wpd-thread-list").prepend(t.data.message),V(t,!1),M=1),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),window.onhashchange=function(){K(!1)},1!=m&&K(!1),e(document).delegate(".wpdiscuz-readmore","click",function(){var t=G(e(this)),a=$(t),o=new FormData;o.append("action","wpdReadMore"),o.append("commentId",a),me(z,!0,o).done(function(o){"object"==typeof o?(o.success?(e("#comment-"+a+" .wpd-comment-text").replaceWith(" "+o.data.message),e("#wpdiscuz-readmore-"+t).remove()):console.log(o.data),le(o)):console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpd-required-group","change",function(){0!==e("input:checked",this).length?e("input",e(this)).removeAttr("required"):e("input",e(this)).attr("required","required")}),e(document).delegate(".wpdiscuz-spoiler","click",function(){e(this).next().slideToggle(),e(this).hasClass("wpdiscuz-spoiler-closed")?e(this).parents(".wpdiscuz-spoiler-wrap").find(".fa-plus").removeClass("fa-plus").addClass("fa-minus"):e(this).parents(".wpdiscuz-spoiler-wrap").find(".fa-minus").removeClass("fa-minus").addClass("fa-plus"),e(this).toggleClass("wpdiscuz-spoiler-closed")}),e(document).delegate(".wpd-tools i","click",function(){var t=e(this).siblings(".wpd-tools-actions");t.is(":visible")||e(this).parents(".wpd-comment-right").attr("id")!==e("[id^=comment-]","#wpdcom").last().attr("id")||e("#comments").css({paddingBottom:"160px"}),t.css({display:t.is(":visible")?"none":"flex"})}),e(document).delegate(".wpd-comment-right","mouseleave",function(){e(this).find(".wpd-tools-actions").hide(),e("#comments").css({paddingBottom:"0"})}),e(document).delegate(".wpd_stick_btn","click",function(){var t=$(G(e(this),0)),a=new FormData;a.append("action","wpdStickComment"),a.append("commentId",t),me(z,!0,a).done(function(t){"object"==typeof t&&t.success&&location.reload(!0),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpd_close_btn","click",function(){var t=$(G(e(this),0)),a=new FormData;a.append("action","wpdCloseThread"),a.append("commentId",t),me(z,!0,a).done(function(t){"object"==typeof t&&t.success&&location.reload(!0),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpd-filter.wpd_not_clicked[data-filter-type]","click",function(){var t=e(this),a=t.attr("data-filter-type");wpdiscuzAjaxObj.resetActiveFilters(".wpdf-"+a),t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var o=new FormData;o.append("action","wpdLoadMoreComments");var n=e(".wpdiscuz-sort-button-active").attr("data-sorting");n&&o.append("sorting",n),o.append("lastParentId",0),o.append("offset",0),M=1,o.append("wpdType",t.hasClass("wpdf-active")?"":a),o.append("isFirstLoad",1),e(this).hasClass("wpdf-inline")?e(this).hasClass("wpdf-active")?e(".wpd-comment-info-bar").hide():e(".wpd-comment-info-bar").css("display","flex"):e(".wpd-comment-info-bar").hide(),me(z,!1,o).done(function(a){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof a&&a.success&&(t.toggleClass("wpdf-active"),e(".wpd-load-comments").remove(),e(".wpd-comment").remove(),e(".wpd-thread-list").prepend(a.data.comment_list),V(a),r=a.data.loadLastCommentId,e(".wpd-load-more-submit").blur(),le(a)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpdf-reacted.wpd_not_clicked","click",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var a=new FormData;a.append("action","wpdMostReactedComment"),me(z,!1,a).done(function(a){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof a&&a.success&&(e("#comment-"+a.data.parentCommentID).length?e("#comment-"+a.data.parentCommentID).parents("[id^=wpd-comm-"+a.data.parentCommentID+"]").replaceWith(a.data.message):e("#comment-"+a.data.commentId).length||e(".wpd-thread-list").prepend(a.data.message),le(a),ee(),e("html, body").animate({scrollTop:e("#comment-"+a.data.commentId).offset().top-32},1e3,te))}).fail(function(a,o,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner")})}),e(document).delegate(".wpdf-hottest.wpd_not_clicked","click",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var a=new FormData;a.append("action","wpdHottestThread"),me(z,!1,a).done(function(a){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof a&&a.success&&(e("#comment-"+a.data.commentId).length?e("#comment-"+a.data.commentId).parents("[id^=wpd-comm-"+a.data.commentId+"]").replaceWith(a.data.message):e(".wpd-thread-list").prepend(a.data.message),le(a),ee(),e("html, body").animate({scrollTop:e("#comment-"+a.data.commentId).offset().top-32},1e3,te))}).fail(function(a,o,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner")})}),e(document).delegate(".wpd-filter-view-all","click",function(){e(".wpdf-inline.wpdf-active.wpd_not_clicked").trigger("click")}),e(document).delegate(".wpd-follow-link.wpd_not_clicked","click",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var a=$(G(t,0)),o=new FormData;o.append("action","wpdFollowUser"),o.append("commentId",a),me(z,!0,o).done(function(a){t.addClass("wpd_not_clicked"),"object"==typeof a?a.success?(wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data.code],"success"),t.removeClass("wpd-follow-active"),a.data.followTip&&t.attr("wpd-tooltip",a.data.followTip),a.data.followClass&&t.addClass(a.data.followClass)):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error"):console.log(a),e(".fas",t).removeClass("fa-pulse fa-spinner"),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(a,o,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner"),e("#wpdiscuz-loading-bar").fadeOut(250)})}),oe(),e(document).delegate(".wc_email","keyup",function(){oe(e(this))}),j&&e("#wpdcom").length){if(e("#wpd-bubble-wrapper").hover(function(){e(this).addClass("wpd-bubble-hover")},function(){e(this).removeClass("wpd-bubble-hover")}),k&&!Cookies.get(wpdiscuzAjaxObj.cookieHideBubbleHint)&&setTimeout(function(){e("#wpd-bubble-wrapper").addClass("wpd-bubble-hover"),Cookies.set(wpdiscuzAjaxObj.cookieHideBubbleHint,"1",{expires:7,path:"/"}),setTimeout(function(){e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover")},1e3*x)},1e3*k),"content_left"===O)if(e(".entry-content").length){var ne=(de=Math.min(e(".entry-content").offset().left,e("#wpdcom").offset().left)-120)>25?de:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else if(e(".post-entry").length){ne=(de=Math.min(e(".post-entry").offset().left,e("#wpdcom").offset().left)-120)>25?de:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else if(e(".container").length){var de;ne=(de=Math.min(e(".container").offset().left,e("#wpdcom").offset().left)-120)>25?de:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else e("#wpd-bubble-wrapper").css({left:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-corner");else"left_corner"===O?(e("#wpd-bubble-wrapper").css({left:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-corner")):"right_corner"===O&&(e("#wpd-bubble-wrapper").css({right:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-right-corner"));e("#wpd-bubble-wrapper").show(),e("#wpd-bubble-add-message-close").click(function(t){t.preventDefault(),t.stopPropagation(),e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover")}),e("#wpd-bubble").click(function(){ee(),e("html, body").animate({scrollTop:e("#wpdcom").offset().top-60},1e3,function(){te(),e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover"),wpdiscuzLoadRichEditor?e("#wpd-editor-0_0").length&&wpDiscuzEditor.createEditor("#wpd-editor-0_0").focus():e("#wc-textarea-0_0").length&&e("#wc-textarea-0_0").focus()})}),e("#wpd-bubble-comment-close").click(function(t){t.preventDefault(),e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added")}),e("#wpd-bubble-comment-reply-link a").click(function(){var t=e(this).attr("href");setTimeout(function(){e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added"),K(!0);var a=t.match(/#comment\-(\d+)/);D=D.filter(function(e){return e!=a[1]}),e("#wpd-bubble-count .wpd-new-comments-count").text(D.length),0==D.length&&e("#wpd-bubble-count").removeClass("wpd-new-comments")},100)}),e("#wpd-bubble-count").click(function(){if(D.length){var t=new FormData;t.append("action","wpdBubbleUpdate"),t.append("newCommentIds",D.join()),me(z,!0,t).done(function(t){"object"==typeof t&&t.success&&(t.data.message=t.data.message.filter(function(t){if(!e("#comment-"+t.comment_id).length)return t}),B(t),e("#wpd-bubble-count").removeClass("wpd-new-comments"),e("#wpd-bubble-count .wpd-new-comments-count").text("0"),D=[],ee(),e("html, body").animate({scrollTop:e(e(".wpd-new-loaded-comment")[0]).offset().top-60},1e3,te),le(t)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(e,t,a){console.log(a)})}})}if((j&&C||i)&&(t||!t&&p)&&setTimeout(function t(){e.ajax({type:"GET",url:wpdiscuzAjaxObj.bubbleUpdateUrl,beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",wpdiscuzAjaxObj.restNonce)},data:{postId:s,lastId:l,visibleCommentIds:J()}}).done(function(a){if(!E)if("object"==typeof a){if(a.ids.length){i&&((d=new FormData).append("action","wpdUpdateAutomatically"),d.append("loadLastCommentId",r),d.append("visibleCommentIds",J()),me(z,!1,d).done(function(t){E||"object"==typeof t&&t.success&&(B(t),e(".wpd-thread-info").html(t.data.wc_all_comments_count_new_html),t.data.wc_all_comments_count_new=parseInt(t.data.wc_all_comments_count_new),e("#wpd-bubble-all-comments-count").text(t.data.wc_all_comments_count_new),t.data.wc_all_comments_count_new?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),r=t.data.loadLastCommentId)}).fail(function(e,t,a){console.log(a)})),a.ids=a.ids.filter(function(t){if(!e("#comment-"+t).length)return t});var o=5e3;l=parseInt(a.ids[a.ids.length-1]),D=D.concat(a.ids),y&&a.commentText&&(e("#wpd-bubble-author-avatar").html(a.avatar),e("#wpd-bubble-author-name").html(a.authorName),e("#wpd-bubble-comment-date span").html(a.commentDate),e("#wpd-bubble-comment-text").html(a.commentText),e("#wpd-bubble-comment-reply-link a").attr("href",a.commentLink),e("#wpd-bubble-notification-message").show(),o=1e4);var n=parseInt(e(".wpd-new-comments-count").text());n+=a.ids.length,e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added"),e("#wpd-bubble-wrapper").addClass("wpd-new-comment-added"),setTimeout(function(){e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added")},o),e(".wpd-new-comments-count").text(n),e("#wpd-bubble-count").addClass("wpd-new-comments"),a.all_comments_count=parseInt(a.all_comments_count),e("#wpd-bubble-all-comments-count").text(a.all_comments_count),a.all_comments_count?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),e(".wpd-thread-info").html(a.all_comments_count_html)}}else console.log(a);var d;setTimeout(t,c)}).fail(function(e,a,o){console.log(o),setTimeout(t,c)})},c),e(".wpd-inline-form-wrapper").length){var se=new FormData;se.append("action","wpdGetInlineCommentForm"),me(z,!1,se).done(function(t){"object"==typeof t?t.success?(e(".wpd-inline-form-wrapper").append(t.data),e.each(e("[name=_wpd_inline_nonce]"),function(){var t=e(this).attr("id"),a=e(this).parents(".wpd-inline-shortcode").attr("id");e(this).attr("id",t+"-"+a.substring(a.lastIndexOf("-")+1))}),e(".wpd-inline-opened").addClass("wpd-active"),e(".wpd-inline-opened").find(".wpd-inline-form-wrapper").show(),e(".wpd-inline-opened").find(".wpd-inline-icon").addClass("wpd-open"),e(".wpd-inline-opened").find(".wpd-inline-icon").removeClass("wpd-ignored"),re()):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error"):console.log(t)}).fail(function(e,t,a){console.log(a)})}function ie(t){if(e(t).hasClass("wpd-inline-shortcode"))var a=e(t).attr("id");else a=e(t).parents(".wpd-inline-shortcode").attr("id");return a.substring(a.lastIndexOf("-")+1)}function ce(){e(".wpd-inline-form-wrapper").hide(),e(".wpd-inline-shortcode").removeClass("wpd-active"),e(".wpd-inline-icon").removeClass("wpd-open")}function pe(){e.each(e(".wpd-inline-shortcode:not(.wpd-inline-opened) .wpd-inline-icon"),function(){var t=e(this),a=t.offset().top-window.pageYOffset;a>0&&a<300&&("blink"===A?(t.addClass("wpd-blink"),setTimeout(function(){t.removeClass("wpd-blink")},3e3)):(t.parents(".wpd-inline-shortcode").addClass("wpd-active"),t.siblings(".wpd-inline-form-wrapper").show(),t.addClass("wpd-open"),re(t.siblings(".wpd-inline-form-wrapper"))))})}function re(t){if(t){if(t.offset().left<=10)t.css("left",Math.ceil(parseInt(t.css("left"))-t.offset().left+10)),(a=Math.ceil(t.siblings(".wpd-inline-icon.wpd-open").offset().left-t.offset().left+2))<3&&(a=3),document.styleSheets[0].addRule("#"+t.parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+a+"px;");else if(t.offset().left+t.width()>document.body.clientWidth-10){var a;t.css("left",Math.ceil(parseInt(t.css("left"))+(document.body.clientWidth-(t.offset().left+t.width()))-10)),(a=Math.ceil(t.siblings(".wpd-inline-icon.wpd-open").offset().left-t.offset().left+2))>t.width()-3&&(a=t.width()-3),document.styleSheets[0].addRule("#"+t.parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+a+"px;")}}else e.each(e(".wpd-inline-form-wrapper:visible"),function(){if(e(this).offset().left<=10)e(this).css("left",Math.ceil(parseInt(e(this).css("left"))-e(this).offset().left+10)),(t=Math.ceil(e(this).siblings(".wpd-inline-icon.wpd-open").offset().left-e(this).offset().left+2))<3&&(t=3),document.styleSheets[0].addRule("#"+e(this).parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+t+"px;");else if(e(this).offset().left+e(this).width()>document.body.clientWidth-10){var t;e(this).css("left",Math.ceil(parseInt(e(this).css("left"))+(document.body.clientWidth-(e(this).offset().left+e(this).width()))-10)),(t=Math.ceil(e(this).siblings(".wpd-inline-icon.wpd-open").offset().left-e(this).offset().left+2))>e(this).width()-3&&(t=e(this).width()-3),document.styleSheets[0].addRule("#"+e(this).parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+t+"px;")}})}function le(t,a,o,n){t.data.callbackFunctions&&e.each(t.data.callbackFunctions,function(e){"function"==typeof wpdiscuzAjaxObj[t.data.callbackFunctions[e]]?wpdiscuzAjaxObj[t.data.callbackFunctions[e]](t,a,o,n):console.log(t.data.callbackFunctions[e]+" is not a function")})}function me(t,a,o){a&&e("#wpdiscuz-loading-bar").show(),o.append("postId",s);var n=o.get("action");wpdiscuzAjaxObj.dataFilterCallbacks&&wpdiscuzAjaxObj.dataFilterCallbacks[n]&&e.each(wpdiscuzAjaxObj.dataFilterCallbacks[n],function(e){"function"==typeof wpdiscuzAjaxObj[wpdiscuzAjaxObj.dataFilterCallbacks[n][e]]&&(o=wpdiscuzAjaxObj[wpdiscuzAjaxObj.dataFilterCallbacks[n][e]](o,t,a))});var d=t?wpdiscuzAjaxObj.url:wpdiscuzAjaxObj.customAjaxUrl;return e.ajax({type:"POST",url:d,data:o,contentType:!1,processData:!1})}e(document).delegate("body","click",function(t){if(e(t.target).hasClass("wpd-inline-form-close")||e(t.target).parents(".wpd-inline-form-close").length)t.preventDefault(),e(t.target).parents(".wpd-inline-form-wrapper").hide(),e(t.target).parents(".wpd-inline-shortcode").removeClass("wpd-active"),e(t.target).parents(".wpd-inline-form-wrapper").siblings(".wpd-inline-icon").removeClass("wpd-open");else if(!e(t.target).hasClass("wpd-inline-form-wrapper")&&!e(t.target).parents(".wpd-inline-form-wrapper").length){ce();var a="";e(t.target).hasClass("wpd-inline-icon")?a=e(t.target):e(t.target).parents(".wpd-inline-icon").length&&(a=e(t.target).parents(".wpd-inline-icon")),a.length&&(a.parents(".wpd-inline-shortcode").addClass("wpd-active"),a.siblings(".wpd-inline-form-wrapper").show(),a.addClass("wpd-open"),a.removeClass("wpd-ignored"),re(a.siblings(".wpd-inline-form-wrapper")))}(!e(t.target).hasClass("wpd-last-inline-comments-wrapper")&&!e(t.target).parents(".wpd-last-inline-comments-wrapper").length||e(t.target).parents(".wpd-last-inline-comments-wrapper").length&&e(t.target).hasClass("wpd-load-inline-comment"))&&e(".wpd-last-inline-comments-wrapper").remove()}),e(document).delegate(".wpd-inline-submit.wpd_not_clicked","click",function(t){t.preventDefault();var a=e(this),o=e(this).parents(".wpd_inline_comm_form");if(o[0].checkValidity()){e(this).removeClass("wpd_not_clicked");var n=new FormData;n.append("action","wpdAddInlineComment"),n.append("inline_form_id",ie(o)),e.each(e("input, textarea",o),function(t,a){"checkbox"===this.type?e(this).is(":checked")&&n.append(e(a).attr("name"),e(a).val()):n.append(e(a).attr("name"),e(a).val())}),me(z,!0,n).done(function(t){if(a.addClass("wpd_not_clicked"),"object"==typeof t)if(t.success){o[0].reset(),ce();var n=parseInt(t.data.newCount),d=a.parents(".wpd-inline-icon-wrapper").find(".wpd-inline-icon-count");d.text(n),n?d.addClass("wpd-has-comments"):d.removeClass("wpd-has-comments"),e(".wpd-thread-info").html(t.data.allCommentsCountNewHtml),t.data.allCommentsCountNew=parseInt(t.data.allCommentsCountNew),e("#wpd-bubble-all-comments-count").text(t.data.allCommentsCountNew),t.data.allCommentsCountNew?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),t.data.message&&ae(t.data.message),wpdiscuzAjaxObj.setCommentMessage(t.data.notification,"success")}else t.data&&wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error");else wpdiscuzAjaxObj.setCommentMessage(t,"error");e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).delegate(".wpd-form","keydown",function(t){t.ctrlKey&&13==t.keyCode&&e(this).find(".wc_comm_submit").trigger("click")}),e(document).delegate("#wpdiscuz-edit-form","keydown",function(t){t.ctrlKey&&13==t.keyCode&&e(this).find(".wc_save_edited_comment").trigger("click")}),e(document).delegate(".wpd-inline-comment-content","keydown",function(t){t.ctrlKey&&13==t.keyCode&&e(this).parents(".wpd_inline_comm_form").find(".wpd-inline-submit.wpd_not_clicked").trigger("click")}),e(document).delegate(".wpd-inline-icon-count.wpd-has-comments","click",function(){var t=e(this),a=new FormData;a.append("action","wpdGetLastInlineComments"),a.append("inline_form_id",ie(t)),me(z,!0,a).done(function(a){"object"==typeof a?a.success?e(a.data).insertAfter(t):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error"):console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).delegate(".wpd-view-all-inline-comments","click",function(t){t.preventDefault(),e(this).parents(".wpd-last-inline-comments-wrapper").remove(),e(".wpdf-inline").hasClass("wpdf-active")||e(".wpdf-inline").trigger("click"),ee(),e("html, body").animate({scrollTop:e(".wpdf-inline").offset().top-32},1e3,te)}),e(document).delegate(".wpd-feedback-content-link","click",function(t){t.preventDefault();var a=e(this).data("feedback-content-id");ee(),e("html, body").animate({scrollTop:e("#wpd-inline-"+a).offset().top-38},1e3,function(){te(),e("#wpd-inline-"+a).addClass("wpd-active")})}),"scroll_open"!==A&&"blink"!==A||(pe(),e(window).scroll(pe)),e(document).delegate("#wpd-post-rating.wpd-not-rated .wpd-rate-starts svg","click",function(){var t=new FormData,a=e(this).index();a>=0&&a<5&&(t.append("action","wpdUserRate"),t.append("rating",a+1),me(z,!0,t).done(function(t){"object"==typeof t?t.success?location.reload(!0):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error"):console.log(t),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)}))}),e("#wpdiscuz-subscribe-form").submit(function(t){t.preventDefault();var a,o,d=e(this);if(d[0].checkValidity()&&(a=d,o=!0,"2.0"===n&&e("input[name=wpdiscuz_recaptcha_subscribe_form]",a).length&&!e("input[name=wpdiscuz_recaptcha_subscribe_form]",a).val().length?(o=!1,e(".wpdiscuz-recaptcha",a).css("border","1px solid red")):"2.0"===n&&e("input[name=wpdiscuz_recaptcha_subscribe_form]",a).length&&e(".wpdiscuz-recaptcha",a).css("border","none"),o)){var s=new FormData;s.append("action","wpdAddSubscription"),e("*",d).each(function(){""!=this.name&&"checkbox"!=this.type&&"radio"!=this.type&&s.append(this.name+"",e(this).val()),"checkbox"!=this.type&&"radio"!=this.type||e(this).is(":checked")&&s.append(this.name+"",e(this).val())}),me(z,!0,s).done(function(t){"object"==typeof t?t.success?(wpdiscuzAjaxObj.setCommentMessage(t.data,"success"),setTimeout(function(){location.reload(!0)},3e3)):wpdiscuzAjaxObj.setCommentMessage(t.data,"error"):wpdiscuzAjaxObj.setCommentMessage(t,"error"),e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(".wpd-unsubscribe").click(function(t){t.preventDefault();var a=new FormData;a.append("action","wpdUnsubscribe"),a.append("sid",e(this).data("sid")),a.append("skey",e(this).data("skey")),me(z,!0,a).done(function(t){"object"==typeof t?t.success?(wpdiscuzAjaxObj.setCommentMessage(t.data,"success"),setTimeout(function(){location.reload(!0)},3e3)):wpdiscuzAjaxObj.setCommentMessage(t.data,"error"):console.log(t),e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,a,o){console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)})}),wpdiscuzAjaxObj.resetActiveFilters=function(t){e(".wpd-filter.wpdf-active"+(t?":not("+t+")":"")).removeClass("wpdf-active")},wpdiscuzAjaxObj.getAjaxObj=me});var onloadCallback=function(){if(document.getElementById("wpdiscuz-recaptcha-0_0")&&"2.0"===wpdiscuzAjaxObj.wpDiscuzReCaptchaVersion&&(1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!wpdiscuzAjaxObj.is_user_logged_in||1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&wpdiscuzAjaxObj.is_user_logged_in))try{grecaptcha.render("wpdiscuz-recaptcha-0_0",{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(e){jQuery("#wpdiscuz-recaptcha-field-0_0").val("key")},"expired-callback":function(){jQuery("#wpdiscuz-recaptcha-field-0_0").val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}};
1
+ var wpdiscuzLoadRichEditor=parseInt(wpdiscuzAjaxObj.loadRichEditor);if(wpdiscuzLoadRichEditor)var wpDiscuzEditor=new WpdEditor;function wpdMessagesOnInit(e,t){wpdiscuzAjaxObj.setCommentMessage(e,t),setTimeout(function(){location.href=location.href.substring(0,location.href.indexOf("wpdiscuzUrlAnchor")-1)},3e3)}wpdiscuzAjaxObj.setCommentMessage=function(e,t,o){var a="wpdiscuz-message-error";if(e instanceof Array)for(var n in e)t instanceof Array?"success"===t[n]?a="wpdiscuz-message-success":"warning"===t[n]&&(a="wpdiscuz-message-warning"):"success"===t?a="wpdiscuz-message-success":"warning"===t&&(a="wpdiscuz-message-warning"),jQuery("<div/>").addClass(a).html(e[n]).prependTo("#wpdiscuz-comment-message").delay(o instanceof Array?o[n]:o||4e3).fadeOut(1e3,function(){jQuery(this).remove()});else"success"===t?a="wpdiscuz-message-success":"warning"===t&&(a="wpdiscuz-message-warning"),jQuery("<div/>").addClass(a).html(e).prependTo("#wpdiscuz-comment-message").delay(o||4e3).fadeOut(1e3,function(){jQuery(this).remove()})},jQuery(document).ready(function(e){e("body").addClass("wpdiscuz_"+wpdiscuzAjaxObj.version);var t=wpdiscuzAjaxObj.is_user_logged_in,o=1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!t,a=1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&t,n=wpdiscuzAjaxObj.wpDiscuzReCaptchaVersion,i=parseInt(wpdiscuzAjaxObj.commentListLoadType),s=parseInt(wpdiscuzAjaxObj.wc_post_id),d=parseInt(wpdiscuzAjaxObj.commentListUpdateType),c=1e3*parseInt(wpdiscuzAjaxObj.commentListUpdateTimer),p=parseInt(wpdiscuzAjaxObj.liveUpdateGuests),r=wpdiscuzAjaxObj.loadLastCommentId,l=r,m=parseInt(wpdiscuzAjaxObj.firstLoadWithAjax);Cookies.get("wpdiscuz_comments_sorting")&&Cookies.remove("wpdiscuz_comments_sorting",{path:""}),Cookies.get("wordpress_last_visit")&&Cookies.remove("wordpress_last_visit",{path:""}),Cookies.get("wpdiscuz_last_visit")&&Cookies.remove("wpdiscuz_last_visit",{path:""});var w,u=wpdiscuzAjaxObj.storeCommenterData,f=parseInt(wpdiscuzAjaxObj.wmuEnabled),h=wpdiscuzAjaxObj.isCookiesEnabled,b=!0,_=wpdiscuzAjaxObj.cookiehash,g=parseInt(wpdiscuzAjaxObj.isLoadOnlyParentComments),v=parseInt(wpdiscuzAjaxObj.enableDropAnimation)?500:0,z=parseInt(wpdiscuzAjaxObj.isNativeAjaxEnabled),j=parseInt(wpdiscuzAjaxObj.enableBubble),C=parseInt(wpdiscuzAjaxObj.bubbleLiveUpdate),k=parseInt(wpdiscuzAjaxObj.bubbleHintTimeout),x=parseInt(wpdiscuzAjaxObj.bubbleHintHideTimeout)?parseInt(wpdiscuzAjaxObj.bubbleHintHideTimeout):5,y=parseInt(wpdiscuzAjaxObj.bubbleShowNewCommentMessage),O=wpdiscuzAjaxObj.bubbleLocation,A=wpdiscuzAjaxObj.inlineFeedbackAttractionType,I=[],T=[],D=[],E=!1,M=1,F=e("html").css("scroll-behavior"),R=e("body").css("scroll-behavior");(e(".wc_social_plugin_wrapper .wp-social-login-provider-list").length?e(".wc_social_plugin_wrapper .wp-social-login-provider-list").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .the_champ_login_container").length?e(".wc_social_plugin_wrapper .the_champ_login_container").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .social_connect_form").length?e(".wc_social_plugin_wrapper .social_connect_form").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"):e(".wc_social_plugin_wrapper .oneall_social_login_providers").length&&e(".wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wpd-form-wrapper > .wpd-secondary-forms-social-content"),wpdiscuzLoadRichEditor&&e("#wpd-editor-0_0").length&&wpDiscuzEditor.createEditor("#wpd-editor-0_0"),window.addEventListener("beforeunload",function(t){var o=e(".wpd-form").not(":hidden");if(o.length)if(wpdiscuzLoadRichEditor){for(var a=0;a<o.length;a++)if("\n"!==wpDiscuzEditor.createEditor(e(o[a]).find(".ql-container").attr("id")).getText())return t.preventDefault(),void(t.returnValue="")}else for(a=0;a<o.length;a++)if(e(o[a]).find(".wc_comment").val())return t.preventDefault(),void(t.returnValue="")}),e(document).on("focus","#wpdcom .ql-editor, #wpdcom .wc_comment",function(){e(".wpd-form-foot",e(this).parents(".wpd_comm_form")).slideDown(v)}),e(document).on("focus","#wpdcom textarea",function(){e(this).next(".autogrow-textarea-mirror").length||e(this).autoGrow()}),t)||q({comment_author:Cookies.get("comment_author_"+_),comment_author_email:Cookies.get("comment_author_email_"+_),comment_author_url:Cookies.get("comment_author_url_"+_)});if(e(".wpd-vote-down.wpd-dislike-hidden").remove(),e(".wpd-toolbar-hidden").prev("[id^=wpd-editor-]").css("border-bottom","1px solid #dddddd"),e(document).on("click","#wpd-editor-source-code-wrapper-bg",function(){e(this).hide(),e("#wpd-editor-source-code-wrapper").hide(),e("#wpd-editor-uid").val(""),e("#wpd-editor-source-code").val("")}),wpdiscuzLoadRichEditor&&e(document).on("click","#wpd-insert-source-code",function(){var t=wpDiscuzEditor.createEditor("#"+e("#wpd-editor-uid").val());t.deleteText(0,t.getLength(),Quill.sources.USER);var o=e("#wpd-editor-source-code").val();o.length&&t.clipboard.dangerouslyPasteHTML(0,o,Quill.sources.USER),t.update(),e("#wpd-editor-source-code-wrapper-bg").hide(),e("#wpd-editor-source-code-wrapper").hide(),e("#wpd-editor-uid").val(""),e("#wpd-editor-source-code").val("")}),e(document).on("click",".wpd-reply-button",function(){var i=G(e(this),0);e(this).hasClass("wpdiscuz-clonned")?(wpdiscuzLoadRichEditor?setTimeout(function(){wpDiscuzEditor.createEditor("#wpd-editor-"+i).focus()},v):setTimeout(function(){e("#wc-textarea-"+i).trigger("focus")},v),e("#wpd-secondary-form-wrapper-"+i).slideToggle(v)):function(o){var a=G(o,0);e("#wpdiscuz_form_anchor-"+a).before(function(t){return e("#wpdiscuz_hidden_secondary_form").html().replace(/wpdiscuzuniqueid/g,t)}(a));var n=e("#wpd-secondary-form-wrapper-"+a);if(!t){var i={comment_author:Cookies.get("comment_author_"+_),comment_author_email:Cookies.get("comment_author_email_"+_),comment_author_url:Cookies.get("comment_author_url_"+_)};q(i)}wpdiscuzLoadRichEditor?setTimeout(function(){wpDiscuzEditor.createEditor("#wpd-editor-"+a).focus()},v):setTimeout(function(){e("#wc-textarea-"+a).trigger("focus")},v);n.slideToggle(v,function(){o.addClass("wpdiscuz-clonned")})}(e(this)),function(t){if((o||a)&&"2.0"===n){var i=$(t);setTimeout(function(){if(!T[i])try{T[i]=grecaptcha.render("wpdiscuz-recaptcha-"+t,{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(o){e("#wpdiscuz-recaptcha-field-"+t).val("key")},"expired-callback":function(){e("#wpdiscuz-recaptcha-field-"+t).val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}},1e3)}}(i)}),e(document).on("click","#wpdcom .wpd-comment-link",function(){var t=e("[data-comment-url]",this).data("comment-url"),o=e("<input/>");o.appendTo("body").css({position:"absolute",top:"-10000000px"}).val(t),o.select(),document.execCommand("copy"),o.remove(),wpdiscuzAjaxObj.setCommentMessage(t+"<br/>"+wpdiscuzAjaxObj.wc_copied_to_clipboard,"success",5e3)}),e(document).on("click",".wpdiscuz-nofollow,.wc_captcha_refresh_img,.wpd-load-more-submit",function(e){e.preventDefault()}),e(document).on("click",".wpd-toggle.wpd_not_clicked",function(){var t=e(this);t.removeClass("wpd_not_clicked");var o=G(e(this),0),a=e(this),n=e(".fas",a);!a.parents(".wpd-comment:not(.wpd-reply)").children(".wpd-reply").length&&g?function(t,o){var a=$(t),n=new FormData;n.append("action","wpdShowReplies"),n.append("commentId",a),me(z,!0,n).done(function(a){o.addClass("wpd_not_clicked"),"object"==typeof a&&a.success&&(e("#wpd-comm-"+t).replaceWith(a.data.comment_list),e("#wpd-comm-"+t+" .wpd-toggle .fas").removeClass("fa-chevron-down").addClass("fa-chevron-up"),e("#wpd-comm-"+t+" .wpd-toggle").attr("wpd-tooltip",wpdiscuzAjaxObj.wc_hide_replies_text),e("#wpd-comm-"+t+" .wpd-toggle .wpd-view-replies").remove(),le(a)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,a,n){console.log(n),o.addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}(o,t):e("#wpd-comm-"+o+"> .wpd-reply").slideToggle(700,function(){e(this).is(":hidden")?(n.removeClass("fa-chevron-up"),n.addClass("fa-chevron-down"),a.attr("wpd-tooltip",wpdiscuzAjaxObj.wc_show_replies_text)):(n.removeClass("fa-chevron-down"),n.addClass("fa-chevron-up"),a.attr("wpd-tooltip",wpdiscuzAjaxObj.wc_hide_replies_text)),t.addClass("wpd_not_clicked")})}),e(document).on("mouseenter",".wpd-new-loaded-comment",function(){e(this).removeClass("wpd-new-loaded-comment")}),e(document).on("click",".wpd-sbs-toggle",function(){e(".wpdiscuz-subscribe-bar").slideToggle(v)}),parseInt(wpdiscuzAjaxObj.wpDiscuzIsShowOnSubscribeForm)&&!t&&wpdiscuzAjaxObj.wpDiscuzReCaptchaSK&&e("#wpdiscuz-subscribe-form").length&&("2.0"===n?(setTimeout(function(){try{grecaptcha.render("wpdiscuz-recaptcha-subscribe-form",{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(t){e("#wpdiscuz-recaptcha-field-subscribe-form").val("key")},"expired-callback":function(){e("#wpdiscuz-recaptcha-field-subscribe-form").val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}},1e3),e(document).on("submit","#wpdiscuz-subscribe-form",function(t){e("#wpdiscuz-recaptcha-field-subscribe-form").val()?e(".wpdiscuz-recaptcha",e(this)).css("border","none"):(e(".wpdiscuz-recaptcha",e(this)).css("border","1px solid red"),t.preventDefault())})):"3.0"===n&&e(document).on("click","#wpdiscuz_subscription_button",function(t){var o=e(this).parents("#wpdiscuz-subscribe-form");t.preventDefault();try{grecaptcha.ready(function(){grecaptcha.execute(wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,{action:"wpdiscuz/wpdAddSubscription"}).then(function(e){console.log(5555),document.getElementById("wpdiscuz-recaptcha-field-subscribe-form").value=e,o.submit()},function(e){wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error","error"),console.log(e)})})}catch(t){console.log(t),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+t.message,"error")}})),(o||a)&&"2.0"===n){var L=e(window).width(),S=e("#wpdcom").width();S>=1100&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"65%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"35%"})),S>=940&&S<1100&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"60%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"40%"})),S>=810&&S<940&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"40%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"60%"})),S>=730&&S<810&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.9)","-webkit-transform":"scale(0.9)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"45%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"55%"})),S>=610&&S<730&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.85)","-webkit-transform":"scale(0.85)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({transform:"scale(0.8)","-webkit-transform":"scale(0.8)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"43%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"55%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"30%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"70%"})),L>650&&(S>=510&&S<610&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"center 0","-webkit-transform-origin":"center 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"35%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"63%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({width:"30%",position:"relative",right:"-60px"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({width:"70%"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"})),S>=470&&S<510&&(e("#wpdcom .wpd_main_comm_form .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"center 0","-webkit-transform-origin":"center 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({"transform-origin":"right 0","-webkit-transform-origin":"right 0",transform:"scale(0.77)","-webkit-transform":"scale(0.77)"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-left").css({width:"40%"}),e("#wpdcom .wpd_main_comm_form .wpd-form-col-right").css({width:"60%"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-left").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-secondary-form-wrapper .wpd-form-col-right").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd_main_comm_form .wc-form-footer").css({"margin-left":"0px"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"})),S<470&&(e("#wpdcom .wpd-secondary-form-wrapper .wpd-field-captcha .wpdiscuz-recaptcha").css({margin:"0px auto","transform-origin":"center 0","-webkit-transform-origin":"center 0"}),e("#wpdcom .wpd-form-col-left").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-form-col-right").css({float:"none",width:"100%",display:"block"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-form-footer").css({"margin-left":"0px"}),e("#wpdcom .wpd-secondary-form-wrapper .wc_notification_checkboxes").css({"text-align":"center"}),e("#wpdcom .wpd-secondary-form-wrapper .wc-field-submit").css({"text-align":"center"})))}function H(t,o,a){me(z||f,!1,o).done(function(o){if(e(a).addClass("wpd_not_clicked"),"object"==typeof o)if(o.success){"collapsed"===wpdiscuzAjaxObj.commentFormView&&e(".wpd-form-foot",t).slideUp(v),e(".wpd-thread-info").html(o.data.wc_all_comments_count_before_threads_html),o.data.wc_all_comments_count_new=parseInt(o.data.wc_all_comments_count_new),e("#wpd-bubble-all-comments-count").replaceWith(o.data.wc_all_comments_count_bubble_html),o.data.wc_all_comments_count_new?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide();var n=v;o.data.is_main?oe(o.data.message):(n=v+700,e("#wpd-secondary-form-wrapper-"+o.data.uniqueid).slideToggle(700),1==o.data.is_in_same_container?e("#wpd-secondary-form-wrapper-"+o.data.uniqueid).after(o.data.message):e("#wpd-comm-"+o.data.uniqueid).after(o.data.message)),function(e){if(!e.data.held_moderate){var t=new FormData;t.append("action","wpdCheckNotificationType"),t.append("comment_id",e.data.new_comment_id),t.append("email",e.data.comment_author_email),t.append("isParent",e.data.is_main),me(z,!0,t)}}(o),function(e){if(e.data.redirect>0&&e.data.new_comment_id){var t=new FormData;t.append("action","wpdRedirect"),t.append("commentId",e.data.new_comment_id),me(z,!0,t).done(function(e){"object"==typeof e&&e.success&&setTimeout(function(){location.href=e.data},2e3)}).fail(function(e,t,o){console.log(o)})}}(o),h&&b?function(t){var o=t.comment_author_email,a=t.comment_author,n=t.comment_author_url;null==u?(Cookies.set("comment_author_email_"+_,o),Cookies.set("comment_author_"+_,a),n.length&&Cookies.set("comment_author_url_"+_,n)):(u=parseInt(u),Cookies.set("comment_author_email_"+_,o,{expires:u,path:"/"}),Cookies.set("comment_author_"+_,a,{expires:u,path:"/"}),n.length&&Cookies.set("comment_author_url_"+_,n,{expires:u,path:"/"}));e(".wpd-cookies-checkbox").length&&e(".wpd-cookies-checkbox").prop("checked",!0)}(o.data):b||e(".wpd-cookies-checkbox").removeAttr("checked"),wpdiscuzLoadRichEditor&&wpDiscuzEditor.createEditor("#wpd-editor-"+e(".wpdiscuz_unique_id",t).val()).setContents([{insert:"\n"}]),t.get(0).reset(),q(o.data),e(".wmu-preview-wrap",t).remove(),I.length&&(I.forEach(function(e){e.parents(".wpd-field-checkbox").remove()}),I=[]),parseInt(wpdiscuzAjaxObj.scrollToComment)&&setTimeout(function(){ee(),e("html, body").animate({scrollTop:e("#comment-"+o.data.new_comment_id).offset().top-32},1e3,te)},n),le(o,t)}else o.data&&(wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error"),le(o,t));else wpdiscuzAjaxObj.setCommentMessage(o,"error");e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,o,n){console.log(n),e(a).addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}function q(t){e(".wpd_comm_form .wc_name").val(t.comment_author),t.comment_author_email&&t.comment_author_email.indexOf("@example.com")<0&&e(".wpd_comm_form .wc_email").val(t.comment_author_email),t.comment_author_url&&e(".wpd_comm_form .wc_website").val(t.comment_author_url)}function U(t,o){e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd_editable_comment").show(),e("#wpd-comm-"+t+" .wpdiscuz-edit-form-wrap").replaceWith(o),e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").show()}e(document).on("click",".wc_comm_submit.wpd_not_clicked",function(){var i=e(this),s=1,d=e(this).parents("form");if(d.hasClass("wpd_main_comm_form")||(s=function(t){var o=t.attr("class").split(" "),a="";return e.each(o,function(e,t){"wpd_comment_level"===X(t,!1)&&(a=X(t,!0))}),parseInt(a)+1}(e(this).parents(".wpd-comment"))),Z(d,"#wpd-editor-"+e(".wpdiscuz_unique_id",d).val()),d.submit(function(e){e.preventDefault()}),""!==e(".wc_comment",d).val().trim()){if(d[0].checkValidity()&&(p=d,r=!0,"2.0"===n&&e("input[name=wc_captcha]",p).length&&!e("input[name=wc_captcha]",p).val().length?(r=!1,e(".wpdiscuz-recaptcha",p).css("border","1px solid red")):"2.0"===n&&e("input[name=wc_captcha]",p).length&&e(".wpdiscuz-recaptcha",p).css("border","none"),r)){E=!0,function(t){e(".wpd-agreement-checkbox",t).each(function(){e(this).hasClass("wpd_agreement_hide")&&h&&e(this).prop("checked")&&(Cookies.set(e(this).attr("name")+"_"+_,1,{expires:30,path:"/"}),e("input[name="+e(this).attr("name")+"]").each(function(){I.push(e(this))}))})}(d),e(i).removeClass("wpd_not_clicked");var c=new FormData;if(c.append("action","wpdAddComment"),e(":input",d).each(function(){""!=this.name&&"checkbox"!=this.type&&"radio"!=this.type&&c.append(this.name+"",e(this).val().trim()),"checkbox"!=this.type&&"radio"!=this.type||e(this).is(":checked")&&c.append(this.name+"",e(this).val())}),c.append("wpd_comment_depth",s),wpdiscuzAjaxObj.wpdiscuz_zs&&c.append("wpdiscuz_zs",wpdiscuzAjaxObj.wpdiscuz_zs),e(".wpd-cookies-checkbox",d).length?e(".wpd-cookies-checkbox",d).prop("checked")||(b=!1):t&&(b=!1),e("#wpdiscuz-loading-bar").show(),wpdiscuzAjaxObj.wpDiscuzReCaptchaSK&&"3.0"===n&&(1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!wpdiscuzAjaxObj.is_user_logged_in||1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&wpdiscuzAjaxObj.is_user_logged_in))try{grecaptcha.ready(function(){grecaptcha.execute(wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,{action:"wpdiscuz/addComment"}).then(function(e){c.append("g-recaptcha-response",e),H(d,c,i)},function(e){wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error","error"),console.log(e)})})}catch(t){console.log(t),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+t.message,"error"),e("#wpdiscuz-loading-bar").fadeOut(250)}else H(d,c,i)}var p,r;!function(e){if((o||a)&&"2.0"===n){var t=$(e);grecaptcha.reset(T[t])}}(e(".wpdiscuz_unique_id",d).val()),e(".wpdiscuz_reset").val("")}else wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj.wc_msg_required_fields,"error")}),e(document).on("click",".wpd_editable_comment",function(){w&&e(".wpdiscuz-edit-form-wrap").length&&U(G(e(".wpdiscuz-edit-form-wrap"),0),w);var t=G(e(this),0),o=$(t),a=new FormData;a.append("action","wpdEditComment"),a.append("commentId",o),w=e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-text").get(0),me(z,!0,a).done(function(o){if("object"==typeof o)if(o.success){if(e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd-comment-text").replaceWith(o.data.html),wpdiscuzLoadRichEditor){let a=wpDiscuzEditor.createEditor("#wpd-editor-edit_"+t);a.clipboard.dangerouslyPasteHTML(0,o.data.content),a.update(),e(".wpd-toolbar-hidden").prev("[id^=wpd-editor-]").css("border-bottom","1px solid #dddddd")}else e("#wc-textarea-edit_"+t).val(o.data.content);e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd_editable_comment").hide(),e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").hide()}else wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error");else console.log(o);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wc_save_edited_comment",function(){var t=G(e(this)),o=$(t),a=e("#wpd-comm-"+t+" #wpdiscuz-edit-form");if(Z(a,"#wpd-editor-edit_"+t),a.submit(function(e){e.preventDefault()}),a[0].checkValidity()){var n=new FormData;n.append("action","wpdSaveEditedComment"),n.append("commentId",o),e(":input",a).each(function(){""!==this.name&&"checkbox"!==this.type&&"radio"!==this.type&&n.append(this.name+"",e(this).val()),"checkbox"!==this.type&&"radio"!==this.type||e(this).is(":checked")&&n.append(this.name+"",e(this).val())}),me(z,!0,n).done(function(a){"object"==typeof a?(a.success?(U(t,a.data.message),a.data.lastEdited&&(e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-last-edited").remove(),e(a.data.lastEdited).insertAfter("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-right .wpd-comment-text")),a.data.twitterShareLink&&e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-share .wpd-tooltip-content .wc_tw").attr("href",a.data.twitterShareLink),a.data.whatsappShareLink&&e("#wpd-comm-"+t+" > .wpd-comment-wrap .wpd-comment-share .wpd-tooltip-content .wc_whatsapp").attr("href",a.data.whatsappShareLink),wpdiscuzLoadRichEditor&&wpDiscuzEditor.removeEditor("#wpd-editor-edit_"+t)):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[a.data],"error"),le(a,o)):console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).on("click",".wc_cancel_edit",function(){var t=G(e(this));U(t,w),wpdiscuzLoadRichEditor&&wpDiscuzEditor.removeEditor("#wpd-editor-edit_"+t)}),!wpdiscuzAjaxObj.wordpressIsPaginate&&m&&(M=0,1==m?setTimeout(function(){V(!0)},500):e(document).on("click",".wpd-load-comments",function(){e(this).parent(".wpd-load-more-submit-wrap").remove(),V(!0)})),e(document).on("click",".wpd-load-more-submit",function(){var t=e(this);t.hasClass("wpd-loaded")&&V(!1,t,"wpd-loaded","wpd-loading")});var W=!1;function P(){var t=e("#wpdiscuzHasMoreComments").val(),o=e(document).height(),a=e(window).height()+e(window).scrollTop();o&&a&&(100*a/o>=80&&!1===W&&1==t&&(W=!0,V(!1,e(".wpd-load-more-submit"))))}function V(t,o,a,n){o&&(o.toggleClass(a),o.toggleClass(n));var s=new FormData;s.append("action","wpdLoadMoreComments");var d=e(".wpdiscuz-sort-button-active").attr("data-sorting");d&&s.append("sorting",d),s.append("offset",M),s.append("lastParentId",e(".wpd-load-more-submit").attr("data-lastparentid")),s.append("isFirstLoad",t?1:0);var c=e(".wpdf-active").attr("data-filter-type");s.append("wpdType",c||""),me(z,!t||1!=m,s).done(function(s){"object"==typeof s&&s.success&&(M++,t&&e(".wpd-comment").remove(),e(".wpdiscuz_single").remove(),e(".wpdiscuz-comment-pagination").before(s.data.comment_list),B(s,t&&2!==i),W=!1,r=s.data.loadLastCommentId,le(s),t&&K(!1)),e("#wpdiscuz-loading-bar").fadeOut(250),e(".wpd-load-more-submit").blur(),o&&(o.toggleClass(a),o.toggleClass(n))}).fail(function(t,i,s){console.log(s),e("#wpdiscuz-loading-bar").fadeOut(250),e(".wpd-load-more-submit").blur(),o&&(o.toggleClass(a),o.toggleClass(n))})}function B(t,o){var a;0==t.data.is_show_load_more?(e("#wpdiscuzHasMoreComments").val(0),e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").hide()):(a=t.data.last_parent_id,e(".wpd-load-more-submit").attr("data-lastparentid",a),2!==i&&e(".wpdiscuz-comment-pagination").show(),e("#wpdiscuzHasMoreComments").val(1),o&&e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").show()),le(t)}function K(t){var o=location.href.match(/#comment\-(\d+)/);if(null!==o){var a=o[1];if(e("#comment-"+a).length)setTimeout(function(){ee(),e("html, body").animate({scrollTop:e("#comment-"+a).parents("[id^=wpd-comm-]").offset().top-32},1e3,te),t&&N(a)},500);else{var n=new FormData;n.append("action","wpdGetSingleComment"),n.append("commentId",a),me(z,!0,n).done(function(o){if("object"==typeof o&&o.success){var n="#comment-"+a;e("#comment-"+o.data.parentCommentID).length?e("#comment-"+o.data.parentCommentID).parents("[id^=wpd-comm-"+o.data.parentCommentID+"]").replaceWith(o.data.message):e(".wpd-thread-list").prepend(o.data.message),le(o),ee(),e("html, body").animate({scrollTop:e(n).offset().top-32},1e3,te),t&&N(a)}e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}}function N(t){setTimeout(function(){e("#comment-"+t).siblings(".wpd-secondary-form-wrapper").is(":visible")||e("#comment-"+t).find(".wpd-reply-button").trigger("click")},1100)}function Q(e){if(void 0!==e.data.message)for(var t,o=e.data.message,a=0;a<o.length;a++)Y((t=o[a]).comment_parent,t.comment_html)}function G(e,t){var o="";return(o=t?e.parents(".wpd-main-form-wrapper").attr("id"):e.parents(".wpd-comment").attr("id")).substring(o.lastIndexOf("-")+1)}function $(e){return e.substring(0,e.indexOf("_"))}function X(e,t){return t?e.substring(e.indexOf("-")+1):e.substring(0,e.indexOf("-"))}function Y(t,o){if(0==t)oe(o);else{var a=G(e("#comment-"+t),0);e("#wpdiscuz_form_anchor-"+a).after(o)}}function J(){var t=[];return e(".wpd-comment-right").each(function(){t.push($(G(e(this),0)))}),t.join(",")}function Z(t,o){var a=t.find(".wpd-required-group");wpdiscuzLoadRichEditor&&t.find(".wc_comment").val(e(o+">.ql-editor").html()),function(e){var t=e.find(".wc_comment"),o=t.val().trim().replace(/<p><br><\/p>/g,"\n").replace(/<p>(.*?)<\/p>/g,"$1\n");o=(o=(o=(o=o.replace(/<img src=["|']https\:\/\/s\.w\.org\/images\/core\/emoji\/([^"|']+)["|'](.*?)alt=["|']([^"|']+)["|'](.*?)[^>]*>/g," $3 ")).replace(/<img[^>]+alt=["|']([^"|']+)["|'][^>]+src=["|']https\:\/\/s\.w\.org\/images\/core\/emoji\/([^"|']+)["|'][^>]?>/g," $1 ")).replace(/<img\s+([^>]*)class=["|']wpdem\-sticker["|'](.*?)alt=["|']([^"|']+)["|'](.*?)[^>]*>/g," $3 ")).replace(/<img\s+([^>]*)src=["|']([^"|']+)["|'](.*?)[^>]*>/g," $2 "),t.val(o)}(t),e.each(a,function(){e("input",this).removeAttr("required"),0===e("input:checked",this).length?e("input",e(this)).prop("required",!0):e(".wpd-field-invalid",this).remove()})}function ee(){e("html, body").css("scroll-behavior","unset")}function te(){e("html").css("scroll-behavior",F),e("body").css("scroll-behavior",R)}function oe(t){e(".wpd-sticky-comment").last()[0]?e(t).insertAfter(e(".wpd-sticky-comment").last()[0]):e(".wpd-thread-list").prepend(t)}function ae(t){t?t.prop("required")||(t.val()?t.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","inline-block"):t.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","none")):e.each(e(".wc_email"),function(t,o){var a=e(o);a.prop("required")||(a.val()?a.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","inline-block"):a.parents("form").find("[name=wpdiscuz_notification_type]").parent().css("display","none"))})}if(2!==i||wpdiscuzAjaxObj.wordpressIsPaginate||(e(".wpd-load-more-submit").parents(".wpdiscuz-comment-pagination").hide(),P(),e(window).scroll(function(){P()})),wpdiscuzAjaxObj.setLoadMoreVisibility=B,e(document).on("click",".wpd-vote-up.wpd_not_clicked, .wpd-vote-down.wpd_not_clicked",function(){var t=e(this);e(t).removeClass("wpd_not_clicked");var o,a=$(G(t));o=e(this).hasClass("wpd-vote-up")?1:-1;var n=new FormData;n.append("action","wpdVoteOnComment"),n.append("commentId",a),n.append("voteType",o),me(z,!0,n).done(function(n){if(e(t).addClass("wpd_not_clicked"),"object"==typeof n){if(n.success){if("total"===n.data.buttonsStyle){var i=e(".wpd-comment-footer .wpd-vote-result",e("#comment-"+a)),s=n.data.votes;i.text(n.data.votesHumanReadable),i.attr("title",s),i.removeClass("wpd-up wpd-down"),s>0&&i.addClass("wpd-up"),s<0&&i.addClass("wpd-down")}else{var d=e(".wpd-comment-footer .wpd-vote-result-like",e("#comment-"+a)),c=e(".wpd-comment-footer .wpd-vote-result-dislike",e("#comment-"+a));d.text(n.data.likeCountHumanReadable),d.attr("title",n.data.likeCount),c.text(n.data.dislikeCountHumanReadable),c.attr("title",n.data.dislikeCount),parseInt(n.data.likeCount)>0?d.addClass("wpd-up"):d.removeClass("wpd-up"),parseInt(n.data.dislikeCount)<0?c.addClass("wpd-down"):c.removeClass("wpd-down")}var p=e(".wpd-comment-footer .wpd-vote-up",e("#comment-"+a)),r=e(".wpd-comment-footer .wpd-vote-down",e("#comment-"+a));p.removeClass("wpd-up"),r.removeClass("wpd-down"),n.data.curUserReaction>0?p.addClass("wpd-up"):n.data.curUserReaction<0&&r.addClass("wpd-down")}else n.data&&wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[n.data],"error");le(n,a,o)}else console.log(n);e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(o,a,n){console.log(n),e(t).addClass("wpd_not_clicked"),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click","body",function(t){var o=e(".wpdiscuz-sort-buttons");e(t.target).hasClass("wpdf-sorting")||e(t.target).parent().hasClass("wpdf-sorting")?o.css({display:o.is(":visible")?"none":"flex"}):o.hide()}),e(document).on("click",".wpdiscuz-sort-button:not(.wpdiscuz-sort-button-active)",function(){var t=e(this),o=e(this).attr("data-sorting");if(o){e(".wpdiscuz-sort-button.wpdiscuz-sort-button-active").removeClass("wpdiscuz-sort-button-active").appendTo(".wpdiscuz-sort-buttons"),t.addClass("wpdiscuz-sort-button-active").prependTo(".wpdf-sorting");var a=new FormData;a.append("action","wpdSorting"),a.append("sorting",o);var n=e(".wpdf-active").attr("data-filter-type");a.append("wpdType",n||""),me(z,!0,a).done(function(t){"object"==typeof t&&t.success&&(e("#wpdcom .wpd-comment").remove(),e("#wpdcom .wpd-thread-list").prepend(t.data.message),B(t,!1),M=1),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),window.onhashchange=function(){K(!1)},1!=m&&K(!1),e(document).on("click",".wpdiscuz-readmore",function(){var t=G(e(this)),o=$(t),a=new FormData;a.append("action","wpdReadMore"),a.append("commentId",o),me(z,!0,a).done(function(a){"object"==typeof a?(a.success?(e("#comment-"+o+" .wpd-comment-text").replaceWith(" "+a.data.message),e("#wpdiscuz-readmore-"+t).remove()):console.log(a.data),le(a)):console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("change",".wpd-required-group",function(){0!==e("input:checked",this).length?e("input",e(this)).removeAttr("required"):e("input",e(this)).prop("required",!0)}),e(document).on("click",".wpdiscuz-spoiler",function(){e(this).next().slideToggle(),e(this).hasClass("wpdiscuz-spoiler-closed")?e(this).parents(".wpdiscuz-spoiler-wrap").find(".fa-plus").removeClass("fa-plus").addClass("fa-minus"):e(this).parents(".wpdiscuz-spoiler-wrap").find(".fa-minus").removeClass("fa-minus").addClass("fa-plus"),e(this).toggleClass("wpdiscuz-spoiler-closed")}),e(document).on("click",".wpd-tools i",function(){var t=e(this).siblings(".wpd-tools-actions");t.is(":visible")||e(this).parents(".wpd-comment-right").attr("id")!==e("[id^=comment-]","#wpdcom").last().attr("id")||e("#comments").css({paddingBottom:"160px"}),t.css({display:t.is(":visible")?"none":"flex"})}),e(document).on("mouseleave",".wpd-comment-right",function(){e(this).find(".wpd-tools-actions").hide(),e("#comments").css({paddingBottom:"0"})}),e(document).on("click",".wpd_stick_btn",function(){var t=$(G(e(this),0)),o=new FormData;o.append("action","wpdStickComment"),o.append("commentId",t),me(z,!0,o).done(function(t){"object"==typeof t&&t.success&&location.reload(!0),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wpd_close_btn",function(){var t=$(G(e(this),0)),o=new FormData;o.append("action","wpdCloseThread"),o.append("commentId",t),me(z,!0,o).done(function(t){"object"==typeof t&&t.success&&location.reload(!0),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wpd-filter.wpd_not_clicked[data-filter-type]",function(){var t=e(this),o=t.attr("data-filter-type");wpdiscuzAjaxObj.resetActiveFilters(".wpdf-"+o),t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var a=new FormData;a.append("action","wpdLoadMoreComments");var n=e(".wpdiscuz-sort-button-active").attr("data-sorting");n&&a.append("sorting",n),a.append("lastParentId",0),a.append("offset",0),M=1,a.append("wpdType",t.hasClass("wpdf-active")?"":o),a.append("isFirstLoad",1),e(this).hasClass("wpdf-inline")?e(this).hasClass("wpdf-active")?e(".wpd-comment-info-bar").hide():e(".wpd-comment-info-bar").css("display","flex"):e(".wpd-comment-info-bar").hide(),me(z,!1,a).done(function(o){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof o&&o.success&&(t.toggleClass("wpdf-active"),e(".wpd-load-comments").remove(),e(".wpd-comment").remove(),e(".wpd-thread-list").prepend(o.data.comment_list),B(o),r=o.data.loadLastCommentId,e(".wpd-load-more-submit").blur(),le(o)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wpdf-reacted.wpd_not_clicked",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var o=new FormData;o.append("action","wpdMostReactedComment"),me(z,!1,o).done(function(o){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof o&&o.success&&(e("#comment-"+o.data.parentCommentID).length?e("#comment-"+o.data.parentCommentID).parents("[id^=wpd-comm-"+o.data.parentCommentID+"]").replaceWith(o.data.message):e("#comment-"+o.data.commentId).length||e(".wpd-thread-list").prepend(o.data.message),le(o),ee(),e("html, body").animate({scrollTop:e("#comment-"+o.data.commentId).offset().top-32},1e3,te))}).fail(function(o,a,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner")})}),e(document).on("click",".wpdf-hottest.wpd_not_clicked",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var o=new FormData;o.append("action","wpdHottestThread"),me(z,!1,o).done(function(o){t.addClass("wpd_not_clicked"),e(".fas",t).removeClass("fa-pulse fa-spinner"),"object"==typeof o&&o.success&&(e("#comment-"+o.data.commentId).length?e("#comment-"+o.data.commentId).parents("[id^=wpd-comm-"+o.data.commentId+"]").replaceWith(o.data.message):e(".wpd-thread-list").prepend(o.data.message),le(o),ee(),e("html, body").animate({scrollTop:e("#comment-"+o.data.commentId).offset().top-32},1e3,te))}).fail(function(o,a,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner")})}),e(document).on("click",".wpd-filter-view-all",function(){e(".wpdf-inline.wpdf-active.wpd_not_clicked").trigger("click")}),e(document).on("click",".wpd-follow-link.wpd_not_clicked",function(){var t=e(this);t.removeClass("wpd_not_clicked"),e(".fas",t).addClass("fa-pulse fa-spinner");var o=$(G(t,0)),a=new FormData;a.append("action","wpdFollowUser"),a.append("commentId",o),me(z,!0,a).done(function(o){t.addClass("wpd_not_clicked"),"object"==typeof o?o.success?(wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data.code],"success"),t.removeClass("wpd-follow-active"),o.data.followTip&&t.attr("wpd-tooltip",o.data.followTip),o.data.followClass&&t.addClass(o.data.followClass)):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error"):console.log(o),e(".fas",t).removeClass("fa-pulse fa-spinner"),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(o,a,n){console.log(n),e(".fas",t).removeClass("fa-pulse fa-spinner"),e("#wpdiscuz-loading-bar").fadeOut(250)})}),ae(),e(document).on("keyup",".wc_email",function(){ae(e(this))}),j&&e("#wpdcom").length){if(e("#wpd-bubble-wrapper").hover(function(){e(this).addClass("wpd-bubble-hover")},function(){e(this).removeClass("wpd-bubble-hover")}),k&&!Cookies.get(wpdiscuzAjaxObj.cookieHideBubbleHint)&&setTimeout(function(){e("#wpd-bubble-wrapper").addClass("wpd-bubble-hover"),Cookies.set(wpdiscuzAjaxObj.cookieHideBubbleHint,"1",{expires:7,path:"/"}),setTimeout(function(){e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover")},1e3*x)},1e3*k),"content_left"===O)if(e(".entry-content").length){var ne=(ie=Math.min(e(".entry-content").offset().left,e("#wpdcom").offset().left)-120)>25?ie:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else if(e(".post-entry").length){ne=(ie=Math.min(e(".post-entry").offset().left,e("#wpdcom").offset().left)-120)>25?ie:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else if(e(".container").length){var ie;ne=(ie=Math.min(e(".container").offset().left,e("#wpdcom").offset().left)-120)>25?ie:25;e("#wpd-bubble-wrapper").css({left:ne+"px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-content")}else e("#wpd-bubble-wrapper").css({left:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-corner");else"left_corner"===O?(e("#wpd-bubble-wrapper").css({left:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-left-corner")):"right_corner"===O&&(e("#wpd-bubble-wrapper").css({right:"25px"}),e("#wpd-bubble-wrapper").addClass("wpd-right-corner"));e("#wpd-bubble-wrapper").show(),e(document).on("click","#wpd-bubble-add-message-close",function(t){t.preventDefault(),t.stopPropagation(),e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover")}),e(document).on("click","#wpd-bubble",function(){ee(),e("html, body").animate({scrollTop:e("#wpdcom").offset().top-60},1e3,function(){te(),e("#wpd-bubble-wrapper").removeClass("wpd-bubble-hover"),wpdiscuzLoadRichEditor?e("#wpd-editor-0_0").length&&wpDiscuzEditor.createEditor("#wpd-editor-0_0").focus():e("#wc-textarea-0_0").length&&e("#wc-textarea-0_0").focus()})}),e(document).on("click","#wpd-bubble-comment-close",function(t){t.preventDefault(),e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added")}),e(document).on("click","#wpd-bubble-comment-reply-link a",function(){var t=e(this).attr("href");setTimeout(function(){e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added"),K(!0);var o=t.match(/#comment\-(\d+)/);D=D.filter(function(e){return e!=o[1]}),e("#wpd-bubble-count .wpd-new-comments-count").text(D.length),0==D.length&&e("#wpd-bubble-count").removeClass("wpd-new-comments")},100)}),e(document).on("click","#wpd-bubble-count",function(){if(D.length){var t=new FormData;t.append("action","wpdBubbleUpdate"),t.append("newCommentIds",D.join()),me(z,!0,t).done(function(t){"object"==typeof t&&t.success&&(t.data.message=t.data.message.filter(function(t){if(!e("#comment-"+t.comment_id).length)return t}),Q(t),e("#wpd-bubble-count").removeClass("wpd-new-comments"),e("#wpd-bubble-count .wpd-new-comments-count").text("0"),D=[],e(".wpd-new-loaded-comment").length&&(ee(),e("html, body").animate({scrollTop:e(e(".wpd-new-loaded-comment")[0]).offset().top-60},1e3,te)),le(t)),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(e,t,o){console.log(o)})}})}if((j&&C||d)&&(t||!t&&p)&&setTimeout(function t(){e.ajax({type:"GET",url:wpdiscuzAjaxObj.bubbleUpdateUrl,beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",wpdiscuzAjaxObj.restNonce)},data:{postId:s,lastId:l,visibleCommentIds:J()}}).done(function(o){if(!E)if("object"==typeof o){if(o.commentIDsToRemove.forEach(function(t){e("[id^=wpd-comm-"+t+"]").remove()}),o.ids.length){d&&((i=new FormData).append("action","wpdUpdateAutomatically"),i.append("loadLastCommentId",r),i.append("visibleCommentIds",J()),me(z,!1,i).done(function(t){E||"object"==typeof t&&t.success&&(Q(t),e(".wpd-thread-info").html(t.data.wc_all_comments_count_before_threads_html),t.data.wc_all_comments_count_new=parseInt(t.data.wc_all_comments_count_new),e("#wpd-bubble-all-comments-count").replaceWith(t.data.wc_all_comments_count_bubble_html),t.data.wc_all_comments_count_new?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),r=t.data.loadLastCommentId)}).fail(function(e,t,o){console.log(o)})),o.ids=o.ids.filter(function(t){if(!e("#comment-"+t).length)return t});var a=5e3;l=parseInt(o.ids[o.ids.length-1]),D=D.concat(o.ids),y&&o.commentText&&(e("#wpd-bubble-author-avatar").html(o.avatar),e("#wpd-bubble-author-name").html(o.authorName),e("#wpd-bubble-comment-date span").html(o.commentDate),e("#wpd-bubble-comment-text").html(o.commentText),e("#wpd-bubble-comment-reply-link a").attr("href",o.commentLink),e("#wpd-bubble-notification-message").show(),a=1e4);var n=parseInt(e(".wpd-new-comments-count").text());n+=o.ids.length,e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added"),e("#wpd-bubble-wrapper").addClass("wpd-new-comment-added"),setTimeout(function(){e("#wpd-bubble-notification-message").hide(),e("#wpd-bubble-wrapper").removeClass("wpd-new-comment-added")},a),e(".wpd-new-comments-count").text(n),e("#wpd-bubble-count").addClass("wpd-new-comments")}o.all_comments_count=parseInt(o.all_comments_count),e("#wpd-bubble-all-comments-count").replaceWith(o.all_comments_count_bubble_html),o.all_comments_count?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),e(".wpd-thread-info").html(o.all_comments_count_before_threads_html)}else console.log(o);var i;setTimeout(t,c)}).fail(function(e,o,a){console.log(a),setTimeout(t,c)})},c),e(".wpd-inline-form-wrapper").length){var se=new FormData;se.append("action","wpdGetInlineCommentForm"),me(z,!1,se).done(function(t){"object"==typeof t?t.success?(e(".wpd-inline-form-wrapper").append(t.data),e.each(e("[name=_wpd_inline_nonce]"),function(){var t=e(this).attr("id"),o=e(this).parents(".wpd-inline-shortcode").attr("id");e(this).attr("id",t+"-"+o.substring(o.lastIndexOf("-")+1))}),e(".wpd-inline-opened").addClass("wpd-active"),e(".wpd-inline-opened").find(".wpd-inline-form-wrapper").show(),e(".wpd-inline-opened").find(".wpd-inline-icon").addClass("wpd-open"),e(".wpd-inline-opened").find(".wpd-inline-icon").removeClass("wpd-ignored"),re()):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error"):console.log(t)}).fail(function(e,t,o){console.log(o)})}function de(t){if(e(t).hasClass("wpd-inline-shortcode"))var o=e(t).attr("id");else o=e(t).parents(".wpd-inline-shortcode").attr("id");return o.substring(o.lastIndexOf("-")+1)}function ce(){e(".wpd-inline-form-wrapper").hide(),e(".wpd-inline-shortcode").removeClass("wpd-active"),e(".wpd-inline-icon").removeClass("wpd-open")}function pe(){e.each(e(".wpd-inline-shortcode:not(.wpd-inline-opened) .wpd-inline-icon"),function(){var t=e(this),o=t.offset().top-window.pageYOffset;o>0&&o<300&&("blink"===A?(t.addClass("wpd-blink"),setTimeout(function(){t.removeClass("wpd-blink")},3e3)):(t.parents(".wpd-inline-shortcode").addClass("wpd-active"),t.siblings(".wpd-inline-form-wrapper").show(),t.addClass("wpd-open"),re(t.siblings(".wpd-inline-form-wrapper"))))})}function re(t){if(t){if(t.offset().left<=10)t.css("left",Math.ceil(parseInt(t.css("left"))-t.offset().left+10)),(o=Math.ceil(t.siblings(".wpd-inline-icon.wpd-open").offset().left-t.offset().left+2))<3&&(o=3),document.styleSheets[0].addRule("#"+t.parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+o+"px;");else if(t.offset().left+t.width()>document.body.clientWidth-10){var o;t.css("left",Math.ceil(parseInt(t.css("left"))+(document.body.clientWidth-(t.offset().left+t.width()))-10)),(o=Math.ceil(t.siblings(".wpd-inline-icon.wpd-open").offset().left-t.offset().left+2))>t.width()-3&&(o=t.width()-3),document.styleSheets[0].addRule("#"+t.parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+o+"px;")}}else e.each(e(".wpd-inline-form-wrapper:visible"),function(){if(e(this).offset().left<=10)e(this).css("left",Math.ceil(parseInt(e(this).css("left"))-e(this).offset().left+10)),(t=Math.ceil(e(this).siblings(".wpd-inline-icon.wpd-open").offset().left-e(this).offset().left+2))<3&&(t=3),document.styleSheets[0].addRule("#"+e(this).parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+t+"px;");else if(e(this).offset().left+e(this).width()>document.body.clientWidth-10){var t;e(this).css("left",Math.ceil(parseInt(e(this).css("left"))+(document.body.clientWidth-(e(this).offset().left+e(this).width()))-10)),(t=Math.ceil(e(this).siblings(".wpd-inline-icon.wpd-open").offset().left-e(this).offset().left+2))>e(this).width()-3&&(t=e(this).width()-3),document.styleSheets[0].addRule("#"+e(this).parents(".wpd-inline-shortcode").attr("id")+" .wpd-inline-form-wrapper::before","left: "+t+"px;")}})}function le(t,o,a,n){t.data.callbackFunctions&&e.each(t.data.callbackFunctions,function(e){"function"==typeof wpdiscuzAjaxObj[t.data.callbackFunctions[e]]?wpdiscuzAjaxObj[t.data.callbackFunctions[e]](t,o,a,n):console.log(t.data.callbackFunctions[e]+" is not a function")})}function me(t,o,a){o&&e("#wpdiscuz-loading-bar").show(),a.append("postId",s);var n=a.get("action");wpdiscuzAjaxObj.dataFilterCallbacks&&wpdiscuzAjaxObj.dataFilterCallbacks[n]&&e.each(wpdiscuzAjaxObj.dataFilterCallbacks[n],function(e){"function"==typeof wpdiscuzAjaxObj[wpdiscuzAjaxObj.dataFilterCallbacks[n][e]]&&(a=wpdiscuzAjaxObj[wpdiscuzAjaxObj.dataFilterCallbacks[n][e]](a,t,o))});var i=t?wpdiscuzAjaxObj.url:wpdiscuzAjaxObj.customAjaxUrl;return e.ajax({type:"POST",url:i,data:a,contentType:!1,processData:!1})}e(document).on("click","body",function(t){if(e(t.target).hasClass("wpd-inline-form-close")||e(t.target).parents(".wpd-inline-form-close").length)t.preventDefault(),e(t.target).parents(".wpd-inline-form-wrapper").hide(),e(t.target).parents(".wpd-inline-shortcode").removeClass("wpd-active"),e(t.target).parents(".wpd-inline-form-wrapper").siblings(".wpd-inline-icon").removeClass("wpd-open");else if(!e(t.target).hasClass("wpd-inline-form-wrapper")&&!e(t.target).parents(".wpd-inline-form-wrapper").length){ce();var o="";e(t.target).hasClass("wpd-inline-icon")?o=e(t.target):e(t.target).parents(".wpd-inline-icon").length&&(o=e(t.target).parents(".wpd-inline-icon")),o.length&&(o.parents(".wpd-inline-shortcode").addClass("wpd-active"),o.siblings(".wpd-inline-form-wrapper").show(),o.addClass("wpd-open"),o.removeClass("wpd-ignored"),re(o.siblings(".wpd-inline-form-wrapper")))}(!e(t.target).hasClass("wpd-last-inline-comments-wrapper")&&!e(t.target).parents(".wpd-last-inline-comments-wrapper").length||e(t.target).parents(".wpd-last-inline-comments-wrapper").length&&e(t.target).hasClass("wpd-load-inline-comment"))&&e(".wpd-last-inline-comments-wrapper").remove()}),e(document).on("click",".wpd-inline-submit.wpd_not_clicked",function(t){t.preventDefault();var o=e(this),a=e(this).parents(".wpd_inline_comm_form");if(a[0].checkValidity()){e(this).removeClass("wpd_not_clicked");var n=new FormData;n.append("action","wpdAddInlineComment"),n.append("inline_form_id",de(a)),e.each(e("input, textarea",a),function(t,o){"checkbox"===this.type?e(this).is(":checked")&&n.append(e(o).attr("name"),e(o).val()):n.append(e(o).attr("name"),e(o).val())}),me(z,!0,n).done(function(t){if(o.addClass("wpd_not_clicked"),"object"==typeof t)if(t.success){a[0].reset(),ce();var n=parseInt(t.data.newCount),i=o.parents(".wpd-inline-icon-wrapper").find(".wpd-inline-icon-count");i.text(n),n?i.addClass("wpd-has-comments"):i.removeClass("wpd-has-comments"),e(".wpd-thread-info").html(t.data.allCommentsCountBeforeThreadsHtml),t.data.allCommentsCountNew=parseInt(t.data.allCommentsCountNew),e("#wpd-bubble-all-comments-count").replaceWith(t.data.allCommentsCountBubbleHtml),t.data.allCommentsCountNew?e("#wpd-bubble-all-comments-count").show():e("#wpd-bubble-all-comments-count").hide(),t.data.message&&oe(t.data.message),wpdiscuzAjaxObj.setCommentMessage(t.data.notification,"success")}else t.data&&wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error");else wpdiscuzAjaxObj.setCommentMessage(t,"error");e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).on("keydown",".wpd-form",function(t){t.ctrlKey&&13==t.keyCode&&e(this).find(".wc_comm_submit").trigger("click")}),e(document).on("keydown","#wpdiscuz-edit-form",function(t){t.ctrlKey&&13==t.keyCode&&e(this).find(".wc_save_edited_comment").trigger("click")}),e(document).on("keydown",".wpd-inline-comment-content",function(t){t.ctrlKey&&13==t.keyCode&&e(this).parents(".wpd_inline_comm_form").find(".wpd-inline-submit.wpd_not_clicked").trigger("click")}),e(document).on("click",".wpd-inline-icon-count.wpd-has-comments",function(){var t=e(this),o=new FormData;o.append("action","wpdGetLastInlineComments"),o.append("inline_form_id",de(t)),me(z,!0,o).done(function(o){"object"==typeof o?o.success?e(o.data).insertAfter(t):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[o.data],"error"):console.log(o),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),e(document).on("click",".wpd-view-all-inline-comments",function(t){t.preventDefault(),e(this).parents(".wpd-last-inline-comments-wrapper").remove(),e(".wpdf-inline").hasClass("wpdf-active")||e(".wpdf-inline").trigger("click"),ee(),e("html, body").animate({scrollTop:e(".wpdf-inline").offset().top-32},1e3,te)}),e(document).on("click",".wpd-feedback-content-link",function(t){t.preventDefault();var o=e(this).data("feedback-content-id");ee(),e("html, body").animate({scrollTop:e("#wpd-inline-"+o).offset().top-38},1e3,function(){te(),e("#wpd-inline-"+o).addClass("wpd-active")})}),"scroll_open"!==A&&"blink"!==A||(pe(),e(window).scroll(pe)),e(document).on("click","#wpd-post-rating.wpd-not-rated .wpd-rate-starts svg",function(){var t=new FormData,o=e(this).index();o>=0&&o<5&&(t.append("action","wpdUserRate"),t.append("rating",o+1),me(z,!0,t).done(function(t){"object"==typeof t?t.success?location.reload(!0):wpdiscuzAjaxObj.setCommentMessage(wpdiscuzAjaxObj[t.data],"error"):console.log(t),e("#wpdiscuz-loading-bar").fadeOut(250)}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)}))}),e("#wpdiscuz-subscribe-form").submit(function(t){t.preventDefault();var o,a,i=e(this);if(i[0].checkValidity()&&(o=i,a=!0,"2.0"===n&&e("input[name=wpdiscuz_recaptcha_subscribe_form]",o).length&&!e("input[name=wpdiscuz_recaptcha_subscribe_form]",o).val().length?(a=!1,e(".wpdiscuz-recaptcha",o).css("border","1px solid red")):"2.0"===n&&e("input[name=wpdiscuz_recaptcha_subscribe_form]",o).length&&e(".wpdiscuz-recaptcha",o).css("border","none"),a)){var s=new FormData;s.append("action","wpdAddSubscription"),e("*",i).each(function(){""!=this.name&&"checkbox"!=this.type&&"radio"!=this.type&&s.append(this.name+"",e(this).val()),"checkbox"!=this.type&&"radio"!=this.type||e(this).is(":checked")&&s.append(this.name+"",e(this).val())}),me(z,!0,s).done(function(t){"object"==typeof t?t.success?(wpdiscuzAjaxObj.setCommentMessage(t.data,"success"),setTimeout(function(){location.reload(!0)},3e3)):wpdiscuzAjaxObj.setCommentMessage(t.data,"error"):wpdiscuzAjaxObj.setCommentMessage(t,"error"),e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}}),e(document).on("click",".wpd-unsubscribe",function(t){t.preventDefault();var o=new FormData;o.append("action","wpdUnsubscribe"),o.append("sid",e(this).data("sid")),o.append("skey",e(this).data("skey")),me(z,!0,o).done(function(t){"object"==typeof t?t.success?(wpdiscuzAjaxObj.setCommentMessage(t.data,"success"),setTimeout(function(){location.reload(!0)},3e3)):wpdiscuzAjaxObj.setCommentMessage(t.data,"error"):console.log(t),e("#wpdiscuz-loading-bar").fadeOut(250),E=!1}).fail(function(t,o,a){console.log(a),e("#wpdiscuz-loading-bar").fadeOut(250)})}),wpdiscuzAjaxObj.resetActiveFilters=function(t){e(".wpd-filter.wpdf-active"+(t?":not("+t+")":"")).removeClass("wpdf-active")},wpdiscuzAjaxObj.getAjaxObj=me});var onloadCallback=function(){if(document.getElementById("wpdiscuz-recaptcha-0_0")&&"2.0"===wpdiscuzAjaxObj.wpDiscuzReCaptchaVersion&&(1==wpdiscuzAjaxObj.wc_captcha_show_for_guest&&!wpdiscuzAjaxObj.is_user_logged_in||1==wpdiscuzAjaxObj.wc_captcha_show_for_members&&wpdiscuzAjaxObj.is_user_logged_in))try{grecaptcha.render("wpdiscuz-recaptcha-0_0",{sitekey:wpdiscuzAjaxObj.wpDiscuzReCaptchaSK,theme:wpdiscuzAjaxObj.wpDiscuzReCaptchaTheme,callback:function(e){jQuery("#wpdiscuz-recaptcha-field-0_0").val("key")},"expired-callback":function(){jQuery("#wpdiscuz-recaptcha-field-0_0").val("")}})}catch(e){console.log(e),wpdiscuzAjaxObj.setCommentMessage("reCaptcha Error: "+e.message,"error")}};
assets/third-party/colorbox/jquery.colorbox.js CHANGED
@@ -566,7 +566,7 @@
566
  }
567
  });
568
 
569
- if ($.isFunction($.fn.on)) {
570
  // For jQuery 1.7+
571
  $(document).on('click.'+prefix, '.'+boxElement, clickHandler);
572
  } else {
566
  }
567
  });
568
 
569
+ if (typeof $.fn.on === 'function') {
570
  // For jQuery 1.7+
571
  $(document).on('click.'+prefix, '.'+boxElement, clickHandler);
572
  } else {
assets/third-party/colorbox/jquery.colorbox.min.js CHANGED
@@ -3,4 +3,4 @@
3
  license: MIT
4
  http://www.jacklmoore.com/colorbox
5
  */
6
- (function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!U){U=$=!0,c(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=Math.max((l!==!1?Math.min(h,a(l,"x")):h)-z-D,0),_.h=Math.max((f!==!1?Math.min(s,a(f,"y")):s)-N-j,0),I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){x||(V=!1,E=t(i),x=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),L=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(F=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),S=t('<button type="button"/>').attr({id:Z+"Slideshow"}),L),B=t('<button type="button"/>').attr({id:Z+"Close"}),y.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(S)),e.body&&!x.parent().length&&t(e.body).append(v,x.append(y,M))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return x?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;U&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),U&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,r,h=J.prep,d=++le;if($=!0,q=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){L.show()},100),_.get("inline")){var c=t(e).eq(0);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),q=_.get("createImg"),t(q).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>1&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){q.height-=q.height*e,q.width-=q.width*e},_.mw&&q.width>_.mw&&(e=(q.width-_.mw)/q.width,o()),_.mh&&q.height>_.mh&&(e=(q.height-_.mh)/q.height,o())),_.h&&(q.style.marginTop=Math.max(_.mh-q.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(q.style.cursor="pointer",t(q).bind("click."+Z,function(){J.next()})),q.style.width=q.width+"px",q.style.height=q.height+"px",h(q)},1)}),q.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B,O,_,j,D,N,z,A,q,U,$,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){S.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),x.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),S.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),x.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,S.hide(),t(),ae.unbind(ne,e).unbind(ie,t),x.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),S.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px"}var r,h,s,l=0,d=0,c=x.offset();if(E.unbind("resize."+Z),x.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,x.css({position:"fixed"})):(l=h,d=s,x.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),x.css({top:c.top,left:c.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0}),e=g}de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){n(),$=!1,y[0].style.width=_.w+z+D+"px",y[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;U&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function a(){return _.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if(U){var d,g="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(M.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),M.hide(),t(q).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&x[0].style.removeAttribute("filter")}var n,o,a=W.length;U&&(o=function(){clearTimeout(Q),L.hide(),u(ne),_.get("onComplete")},F.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?x.fadeTo(g,1,i):i())},"fade"===_.get("transition")?x.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!$&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]))},J.prev=function(){!$&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]))},J.close=function(){U&&!G&&(G=!0,U=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){x&&(x.stop(),t[Y].close(),x.stop(!1,!0).remove(),v.remove(),G=!1,x=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window);
3
  license: MIT
4
  http://www.jacklmoore.com/colorbox
5
  */
6
+ (function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!U){U=$=!0,c(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=Math.max((l!==!1?Math.min(h,a(l,"x")):h)-z-D,0),_.h=Math.max((f!==!1?Math.min(s,a(f,"y")):s)-N-j,0),I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){x||(V=!1,E=t(i),x=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),L=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(F=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),S=t('<button type="button"/>').attr({id:Z+"Slideshow"}),L),B=t('<button type="button"/>').attr({id:Z+"Close"}),y.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(S)),e.body&&!x.parent().length&&t(e.body).append(v,x.append(y,M))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return x?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;U&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),U&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),typeof t.fn.on === 'function'?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,r,h=J.prep,d=++le;if($=!0,q=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){L.show()},100),_.get("inline")){var c=t(e).eq(0);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),q=_.get("createImg"),t(q).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>1&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){q.height-=q.height*e,q.width-=q.width*e},_.mw&&q.width>_.mw&&(e=(q.width-_.mw)/q.width,o()),_.mh&&q.height>_.mh&&(e=(q.height-_.mh)/q.height,o())),_.h&&(q.style.marginTop=Math.max(_.mh-q.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(q.style.cursor="pointer",t(q).bind("click."+Z,function(){J.next()})),q.style.width=q.width+"px",q.style.height=q.height+"px",h(q)},1)}),q.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B,O,_,j,D,N,z,A,q,U,$,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){S.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),x.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),S.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),x.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,S.hide(),t(),ae.unbind(ne,e).unbind(ie,t),x.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),S.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px"}var r,h,s,l=0,d=0,c=x.offset();if(E.unbind("resize."+Z),x.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,x.css({position:"fixed"})):(l=h,d=s,x.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),x.css({top:c.top,left:c.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0}),e=g}de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){n(),$=!1,y[0].style.width=_.w+z+D+"px",y[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;U&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function a(){return _.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if(U){var d,g="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(M.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),M.hide(),t(q).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&x[0].style.removeAttribute("filter")}var n,o,a=W.length;U&&(o=function(){clearTimeout(Q),L.hide(),u(ne),_.get("onComplete")},F.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?x.fadeTo(g,1,i):i())},"fade"===_.get("transition")?x.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!$&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]))},J.prev=function(){!$&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]))},J.close=function(){U&&!G&&(G=!0,U=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){x&&(x.stop(),t[Y].close(),x.stop(!1,!0).remove(),v.remove(),G=!1,x=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window);
class.WpdiscuzCore.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Plugin Name: wpDiscuz
4
  * Description: #1 WordPress Comment Plugin. Innovative, modern and feature-rich comment system to supercharge your website comment section.
5
- * Version: 7.0.10
6
  * Author: gVectors Team
7
  * Author URI: https://gvectors.com/
8
  * Plugin URI: https://wpdiscuz.com/
@@ -295,8 +295,9 @@ class WpdiscuzCore implements WpDiscuzConstants {
295
  }
296
  }
297
  }
298
- $response["wc_all_comments_count_new"] = esc_html(get_comments_number($postId));
299
- $response["wc_all_comments_count_new_html"] = "<span class='wpdtc'>" . esc_html($response["wc_all_comments_count_new"]) . "</span> " . esc_html(1 == $response["wc_all_comments_count_new"] ? $this->form->getHeaderTextSingle() : $this->form->getHeaderTextPlural());
 
300
  wp_send_json_success($response);
301
  }
302
  }
@@ -456,8 +457,9 @@ class WpdiscuzCore implements WpDiscuzConstants {
456
  $response["is_main"] = $wooExists && !$replyForWoo ? 1 : ($comment_parent ? 0 : 1);
457
  $response["held_moderate"] = $held_moderate;
458
  $response["is_in_same_container"] = $isInSameContainer;
459
- $response["wc_all_comments_count_new"] = esc_html(get_comments_number($postId));
460
- $response["wc_all_comments_count_new_html"] = "<span class='wpdtc'>" . esc_html($response["wc_all_comments_count_new"]) . "</span> " . esc_html(1 == $response["wc_all_comments_count_new"] ? $form->getHeaderTextSingle() : $form->getHeaderTextPlural());
 
461
 
462
  $commentListArgs = $this->getCommentListArgs($postId);
463
  $commentListArgs["addComment"] = $commentDepth;
@@ -1809,7 +1811,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
1809
  if (comments_open($post->ID)) {
1810
  echo "<div id='wpd-bubble-wrapper'>";
1811
  $commentsNumber = get_comments_number($post->ID);
1812
- echo "<span id='wpd-bubble-all-comments-count'" . ($commentsNumber ? "" : " style='display:none;'") . ">" . esc_html($commentsNumber) . "</span>";
1813
  echo "<div id='wpd-bubble-count'>";
1814
  echo "<svg xmlns='https://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path class='wpd-bubble-count-first' d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z'/><path class='wpd-bubble-count-second' d='M0 0h24v24H0z' /></svg>";
1815
  echo "<span class='wpd-new-comments-count'>0</span>";
@@ -2154,8 +2156,9 @@ class WpdiscuzCore implements WpDiscuzConstants {
2154
  $response["newCount"] = esc_html(get_comments($args));
2155
  $response["new_comment_id"] = $new_comment_id;
2156
  $response["notification"] = esc_html($this->options->phrases["wc_feedback_comment_success"]);
2157
- $response["allCommentsCountNew"] = esc_html(get_comments_number($inline_form->post_id));
2158
- $response["allCommentsCountNewHtml"] = "<span class='wpdtc'>" . esc_html($response["allCommentsCountNew"]) . "</span> " . esc_html(1 == $response["allCommentsCountNew"] ? $form->getHeaderTextSingle() : $form->getHeaderTextPlural());
 
2159
  do_action("wpdiscuz_clean_post_cache", $inline_form->post_id, "inline_comment_posted");
2160
  wp_send_json_success($response);
2161
  } else {
2
  /*
3
  * Plugin Name: wpDiscuz
4
  * Description: #1 WordPress Comment Plugin. Innovative, modern and feature-rich comment system to supercharge your website comment section.
5
+ * Version: 7.1.0
6
  * Author: gVectors Team
7
  * Author URI: https://gvectors.com/
8
  * Plugin URI: https://wpdiscuz.com/
295
  }
296
  }
297
  }
298
+ $response["wc_all_comments_count_new"] = get_comments_number($postId);
299
+ $response["wc_all_comments_count_before_threads_html"] = "<span class='wpdtc' title='" . esc_attr($response["wc_all_comments_count_new"]) . "'>" . esc_html($this->helper->getNumber($response["wc_all_comments_count_new"])) . "</span> " . esc_html(1 == $response["wc_all_comments_count_new"] ? $this->form->getHeaderTextSingle() : $this->form->getHeaderTextPlural());
300
+ $response["wc_all_comments_count_bubble_html"] = "<span id='wpd-bubble-all-comments-count'" . ($response["wc_all_comments_count_new"] ? "" : " style='display:none;'") . " title='" . esc_attr($response["wc_all_comments_count_new"]) . "'>" . esc_html($this->helper->getNumber($response["wc_all_comments_count_new"])) . "</span>";
301
  wp_send_json_success($response);
302
  }
303
  }
457
  $response["is_main"] = $wooExists && !$replyForWoo ? 1 : ($comment_parent ? 0 : 1);
458
  $response["held_moderate"] = $held_moderate;
459
  $response["is_in_same_container"] = $isInSameContainer;
460
+ $response["wc_all_comments_count_new"] = get_comments_number($postId);
461
+ $response["wc_all_comments_count_before_threads_html"] = "<span class='wpdtc' title='" . esc_attr($response["wc_all_comments_count_new"]) . "'>" . esc_html($this->helper->getNumber($response["wc_all_comments_count_new"])) . "</span> " . esc_html(1 == $response["wc_all_comments_count_new"] ? $form->getHeaderTextSingle() : $form->getHeaderTextPlural());
462
+ $response["wc_all_comments_count_bubble_html"] = "<span id='wpd-bubble-all-comments-count'" . ($response["wc_all_comments_count_new"] ? "" : " style='display:none;'") . " title='" . esc_attr($response["wc_all_comments_count_new"]) . "'>" . esc_html($this->helper->getNumber($response["wc_all_comments_count_new"])) . "</span>";
463
 
464
  $commentListArgs = $this->getCommentListArgs($postId);
465
  $commentListArgs["addComment"] = $commentDepth;
1811
  if (comments_open($post->ID)) {
1812
  echo "<div id='wpd-bubble-wrapper'>";
1813
  $commentsNumber = get_comments_number($post->ID);
1814
+ echo "<span id='wpd-bubble-all-comments-count'" . ($commentsNumber ? "" : " style='display:none;'") . " title='" . esc_attr($commentsNumber) . "'>" . esc_html($this->helper->getNumber($commentsNumber)) . "</span>";
1815
  echo "<div id='wpd-bubble-count'>";
1816
  echo "<svg xmlns='https://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path class='wpd-bubble-count-first' d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z'/><path class='wpd-bubble-count-second' d='M0 0h24v24H0z' /></svg>";
1817
  echo "<span class='wpd-new-comments-count'>0</span>";
2156
  $response["newCount"] = esc_html(get_comments($args));
2157
  $response["new_comment_id"] = $new_comment_id;
2158
  $response["notification"] = esc_html($this->options->phrases["wc_feedback_comment_success"]);
2159
+ $response["allCommentsCountNew"] = get_comments_number($inline_form->post_id);
2160
+ $response["allCommentsCountBeforeThreadsHtml"] = "<span class='wpdtc' title='" . esc_attr($response["allCommentsCountNew"]) . "'>" . esc_html($this->helper->getNumber($response["allCommentsCountNew"])) . "</span> " . esc_html(1 == $response["allCommentsCountNew"] ? $form->getHeaderTextSingle() : $form->getHeaderTextPlural());
2161
+ $response["allCommentsCountBubbleHtml"] = "<span id='wpd-bubble-all-comments-count'" . ($response["allCommentsCountNew"] ? "" : " style='display:none;'") . " title='" . esc_attr($response["allCommentsCountNew"]) . "'>" . esc_html($this->helper->getNumber($response["allCommentsCountNew"])) . "</span>";
2162
  do_action("wpdiscuz_clean_post_cache", $inline_form->post_id, "inline_comment_posted");
2163
  wp_send_json_success($response);
2164
  } else {
forms/wpdFormAttr/Field/TextAreaField.php CHANGED
@@ -81,7 +81,7 @@ class TextAreaField extends Field {
81
 
82
  public function frontHtml($value, $args) {
83
  $html = "<div class='wpd-custom-field wpd-cf-text'>";
84
- $html .= "<div class='wpd-cf-label'>" . esc_html($args["name"]) . "</div> <div class='wpd-cf-value'> " . esc_html(apply_filters("wpdiscuz_custom_field_textarea", nl2br($value), $args)) . "</div>";
85
  $html .= "</div>";
86
  return $html;
87
  }
81
 
82
  public function frontHtml($value, $args) {
83
  $html = "<div class='wpd-custom-field wpd-cf-text'>";
84
+ $html .= "<div class='wpd-cf-label'>" . esc_html($args["name"]) . "</div> <div class='wpd-cf-value'> " . wp_kses(apply_filters("wpdiscuz_custom_field_textarea", nl2br($value), $args), wp_kses_allowed_html("post")) . "</div>";
85
  $html .= "</div>";
86
  return $html;
87
  }
forms/wpdFormAttr/Form.php CHANGED
@@ -855,7 +855,7 @@ class Form {
855
  }
856
  ?>
857
  <div class="wpd-textarea-wrap">
858
- <textarea id="wc-textarea-<?php echo esc_attr($uniqueId); ?>" placeholder="<?php echo esc_attr($textarea_placeholder); ?>" required name="wc_comment" class="wc_comment wpd-field"></textarea>
859
  </div>
860
  <?php
861
  echo apply_filters("wpdiscuz_editor_buttons_html", "", $uniqueId);
855
  }
856
  ?>
857
  <div class="wpd-textarea-wrap">
858
+ <textarea id="wc-textarea-<?php echo esc_attr($uniqueId); ?>" placeholder="<?php echo esc_attr($textarea_placeholder); ?>" aria-label="<?php echo esc_attr($textarea_placeholder); ?>" required name="wc_comment" class="wc_comment wpd-field"></textarea>
859
  </div>
860
  <?php
861
  echo apply_filters("wpdiscuz_editor_buttons_html", "", $uniqueId);
includes/class.WpdiscuzDBManager.php CHANGED
@@ -146,7 +146,6 @@ class WpdiscuzDBManager implements WpDiscuzConstants {
146
  $inlineType = " INNER JOIN `{$this->db->commentmeta}` AS `cmi` ON `c`.`comment_ID` = `cmi`.`comment_id` AND `cmi`.`meta_key` = '" . self::META_KEY_FEEDBACK_FORM_ID . "'";
147
  }
148
  if ($args["post_id"]) {
149
- $approved = "";
150
  if ($args["status"] === "all") {
151
  $approved = " AND `c`.`comment_approved` IN('1','0')";
152
  } else {
@@ -171,12 +170,26 @@ class WpdiscuzDBManager implements WpDiscuzConstants {
171
  }
172
  $visible = "";
173
  if ($visibleCommentIds) {
174
- $visible = " AND `comment_ID` NOT IN(" . rtrim($visibleCommentIds, ",") . ")";
175
  }
176
  $sqlCommentIds = $this->db->prepare("SELECT `comment_ID` FROM `{$this->db->comments}` WHERE `comment_post_ID` = %d AND `comment_ID` > %d AND `comment_author_email` != %s" . $approved . $visible . " ORDER BY `{$wpdiscuz->options->thread_display["orderCommentsBy"]}` ASC;", $args["post_id"], $loadLastCommentId, $email);
177
  return $this->db->get_col($sqlCommentIds);
178
  }
179
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  /**
181
  * @param type $visibleCommentIds comment ids which is visible at the moment on front end
182
  * @param type $email the current user email
146
  $inlineType = " INNER JOIN `{$this->db->commentmeta}` AS `cmi` ON `c`.`comment_ID` = `cmi`.`comment_id` AND `cmi`.`meta_key` = '" . self::META_KEY_FEEDBACK_FORM_ID . "'";
147
  }
148
  if ($args["post_id"]) {
 
149
  if ($args["status"] === "all") {
150
  $approved = " AND `c`.`comment_approved` IN('1','0')";
151
  } else {
170
  }
171
  $visible = "";
172
  if ($visibleCommentIds) {
173
+ $visible = " AND `comment_ID` NOT IN(" . $visibleCommentIds . ")";
174
  }
175
  $sqlCommentIds = $this->db->prepare("SELECT `comment_ID` FROM `{$this->db->comments}` WHERE `comment_post_ID` = %d AND `comment_ID` > %d AND `comment_author_email` != %s" . $approved . $visible . " ORDER BY `{$wpdiscuz->options->thread_display["orderCommentsBy"]}` ASC;", $args["post_id"], $loadLastCommentId, $email);
176
  return $this->db->get_col($sqlCommentIds);
177
  }
178
 
179
+ /**
180
+ * check comment availability
181
+ */
182
+ public function commentIDsToRemove($args, $visibleCommentIds) {
183
+ if ($args["status"] === "all") {
184
+ $approved = " AND `comment_approved` IN('1','0')";
185
+ } else {
186
+ $approved = " AND `comment_approved` = '1'";
187
+ }
188
+ $sqlCommentIds = "SELECT `comment_ID` FROM `{$this->db->comments}` WHERE `comment_ID` IN(" . $visibleCommentIds . ")" . $approved . ";";
189
+ $notRemovedCommentIDs = $this->db->get_col($sqlCommentIds);
190
+ return array_values(array_diff(explode(",", $visibleCommentIds), $notRemovedCommentIDs));
191
+ }
192
+
193
  /**
194
  * @param type $visibleCommentIds comment ids which is visible at the moment on front end
195
  * @param type $email the current user email
includes/class.WpdiscuzRest.php CHANGED
@@ -51,10 +51,14 @@ class WpdiscuzRest extends WP_REST_Controller {
51
 
52
  public function checkNewComments($data) {
53
  $params = $data->get_params();
54
- $response = ["ids" => []];
55
  $status = current_user_can("moderate_comments") ? "all" : "approved";
56
  $args = ["status" => $status, "post_id" => $params["postId"]];
57
  $commentId = $this->dbManager->getLastCommentId($args);
 
 
 
 
58
  if ($commentId > $params["lastId"]) {
59
  $currentUser = WpdiscuzHelper::getCurrentUser();
60
  $sentEmail = !empty($_COOKIE["comment_author_email_" . COOKIEHASH]) ? trim($_COOKIE["comment_author_email_" . COOKIEHASH]) : "";
@@ -64,7 +68,7 @@ class WpdiscuzRest extends WP_REST_Controller {
64
  if (!empty($newCommentIds)) {
65
  $response["ids"] = $newCommentIds;
66
  if ($this->options->live["bubbleShowNewCommentMessage"]) {
67
- $comment = get_comment($commentId);
68
  $comment->comment_content = apply_filters("comment_text", $comment->comment_content, $comment, ["is_wpdiscuz_comment" => true]);
69
  $comment->comment_content = strip_tags($comment->comment_content);
70
  if (stripos($comment->comment_content, "[/spoiler]") === false) {
@@ -106,11 +110,11 @@ class WpdiscuzRest extends WP_REST_Controller {
106
  $response["avatar"] = get_avatar($gravatarArgs["wpdiscuz_gravatar_field"], $gravatarArgs["wpdiscuz_gravatar_size"], "", $authorName, $gravatarArgs);
107
  }
108
  }
109
- $form = $this->wpdiscuzForm->getForm($params["postId"]);
110
- $response["all_comments_count"] = esc_html(get_comments_number($params["postId"]));
111
- $response["all_comments_count_html"] = "<span class='wpdtc'>" . esc_html($response["all_comments_count"]) . "</span> " . esc_html(1 == $response["all_comments_count"] ? $form->getHeaderTextSingle() : $form->getHeaderTextPlural());
112
  }
113
  }
 
 
 
114
  return $response;
115
  }
116
 
51
 
52
  public function checkNewComments($data) {
53
  $params = $data->get_params();
54
+ $response = ["ids" => [], "commentIDsToRemove" => []];
55
  $status = current_user_can("moderate_comments") ? "all" : "approved";
56
  $args = ["status" => $status, "post_id" => $params["postId"]];
57
  $commentId = $this->dbManager->getLastCommentId($args);
58
+ if ($params["visibleCommentIds"]) {
59
+ $response["commentIDsToRemove"] = $this->dbManager->commentIDsToRemove($args, $params["visibleCommentIds"]);
60
+ }
61
+ $form = $this->wpdiscuzForm->getForm($params["postId"]);
62
  if ($commentId > $params["lastId"]) {
63
  $currentUser = WpdiscuzHelper::getCurrentUser();
64
  $sentEmail = !empty($_COOKIE["comment_author_email_" . COOKIEHASH]) ? trim($_COOKIE["comment_author_email_" . COOKIEHASH]) : "";
68
  if (!empty($newCommentIds)) {
69
  $response["ids"] = $newCommentIds;
70
  if ($this->options->live["bubbleShowNewCommentMessage"]) {
71
+ $comment = get_comment($commentId);
72
  $comment->comment_content = apply_filters("comment_text", $comment->comment_content, $comment, ["is_wpdiscuz_comment" => true]);
73
  $comment->comment_content = strip_tags($comment->comment_content);
74
  if (stripos($comment->comment_content, "[/spoiler]") === false) {
110
  $response["avatar"] = get_avatar($gravatarArgs["wpdiscuz_gravatar_field"], $gravatarArgs["wpdiscuz_gravatar_size"], "", $authorName, $gravatarArgs);
111
  }
112
  }
 
 
 
113
  }
114
  }
115
+ $response["all_comments_count"] = get_comments_number($params["postId"]);
116
+ $response["all_comments_count_before_threads_html"] = "<span class='wpdtc' title='" . esc_attr($response["all_comments_count"]) . "'>" . esc_html($this->helper->getNumber($response["all_comments_count"])) . "</span> " . esc_html(1 == $response["all_comments_count"] ? $form->getHeaderTextSingle() : $form->getHeaderTextPlural());
117
+ $response["all_comments_count_bubble_html"] = "<span id='wpd-bubble-all-comments-count'" . ($response["all_comments_count"] ? "" : " style='display:none;'") . " title='" . esc_attr($response["all_comments_count"]) . "'>" . esc_html($this->helper->getNumber($response["all_comments_count"])) . "</span>";
118
  return $response;
119
  }
120
 
languages/wpdiscuz-de_DE.mo CHANGED
Binary file
languages/wpdiscuz-de_DE.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: wpDiscuz\n"
4
- "POT-Creation-Date: 2020-01-20 20:53+0400\n"
5
- "PO-Revision-Date: 2020-01-20 20:53+0400\n"
6
  "Last-Translator: scysys <scysys@outlook.com>\n"
7
  "Language-Team: \n"
8
  "Language: de_DE\n"
@@ -20,112 +20,116 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Poedit-SearchPathExcluded-0: *.js\n"
22
 
23
- #: class.WpdiscuzCore.php:222
24
  msgid "Every 3 hours"
25
  msgstr "Alle 3 Stunden"
26
 
27
- #: class.WpdiscuzCore.php:226
28
  msgid "Every 48 hours"
29
  msgstr "Alle 48 Stunden"
30
 
31
- #: class.WpdiscuzCore.php:879 class.WpdiscuzCore.php:1397
32
  msgid "Dashboard"
33
  msgstr ""
34
 
35
- #: class.WpdiscuzCore.php:880 class.WpdiscuzCore.php:1398
36
- #: options/html-options.php:399 options/html-options.php:505
37
  msgid "Settings"
38
  msgstr "Einstellungen"
39
 
40
- #: class.WpdiscuzCore.php:882 class.WpdiscuzCore.php:1400
41
  msgid "Phrases"
42
  msgstr "Übersetzungen"
43
 
44
- #: class.WpdiscuzCore.php:884
45
  msgid "Tools"
46
  msgstr "Werkzeuge"
47
 
48
- #: class.WpdiscuzCore.php:885 options/html-options.php:26
49
  msgid "Addons"
50
  msgstr "Erweiterungen"
51
 
52
- #: class.WpdiscuzCore.php:900
53
  msgid "Do you really want to reset all options?"
54
  msgstr "Möchten Sie wirklich alle Optionen zurücksetzen?"
55
 
56
- #: class.WpdiscuzCore.php:901
 
 
 
 
57
  msgid "Do you really want to remove voting data?"
58
  msgstr "Möchten Sie wirklich die Voting-Daten entfernen?"
59
 
60
- #: class.WpdiscuzCore.php:902
61
  msgid "Do you really want to reset phrases?"
62
  msgstr "Möchten Sie wirklich die Phrasen zurücksetzen?"
63
 
64
- #: class.WpdiscuzCore.php:903
65
  msgid "Do you really want to delet this attachment?"
66
  msgstr ""
67
 
68
- #: class.WpdiscuzCore.php:904
69
  msgid "Do you really want to delete gravatars cache?"
70
  msgstr "Möchten Sie den Gravatar-Cache wirklich löschen?"
71
 
72
- #: class.WpdiscuzCore.php:957
73
  msgid "Please check one of reasons before sending feedback!"
74
  msgstr "Bitte überprüfen Sie einen der Gründe, bevor Sie ein Feedback senden!"
75
 
76
- #: class.WpdiscuzCore.php:958 utils/deactivation-reason-modal.php:58
77
  msgid "Please provide more information"
78
  msgstr "Bitte geben Sie weitere Informationen an"
79
 
80
- #: class.WpdiscuzCore.php:973 class.WpdiscuzCore.php:1796
81
  msgid "No text is selected. Please select a part of text from post content."
82
  msgstr ""
83
 
84
- #: class.WpdiscuzCore.php:1520 options/phrases-layouts/phrases-comment.php:56
85
  msgid "Admin"
86
  msgstr "Admin"
87
 
88
- #: class.WpdiscuzCore.php:1523 class.WpdiscuzCore.php:1536
89
  #: options/phrases-layouts/phrases-comment.php:58
90
  msgid "Author"
91
  msgstr "Autor"
92
 
93
- #: class.WpdiscuzCore.php:1526 options/phrases-layouts/phrases-comment.php:60
94
  msgid "Editor"
95
  msgstr ""
96
 
97
- #: class.WpdiscuzCore.php:1529 options/phrases-layouts/phrases-comment.php:64
98
  msgid "Member"
99
  msgstr "Mitglied"
100
 
101
- #: class.WpdiscuzCore.php:1537 options/phrases-layouts/phrases-comment.php:62
102
  msgid "Guest"
103
  msgstr "Gast"
104
 
105
- #: class.WpdiscuzCore.php:1794
106
  msgid "Selected Text"
107
  msgstr ""
108
 
109
- #: class.WpdiscuzCore.php:1801
110
  msgid "Your Question to Readers"
111
  msgstr ""
112
 
113
- #: class.WpdiscuzCore.php:1802
114
  msgid ""
115
  "A simple question or a call to leave a feedback on the selected part of "
116
  "text. Something like &quot;By the way. Do you agree with this?&quot; or "
117
  "&quot;Would love your thoughts, please comment on this.&quot;"
118
  msgstr ""
119
 
120
- #: class.WpdiscuzCore.php:1807
121
  msgid "e.g: Any thoughts on this?"
122
  msgstr ""
123
 
124
- #: class.WpdiscuzCore.php:1812
125
  msgid "Feedback Button Display Type"
126
  msgstr ""
127
 
128
- #: class.WpdiscuzCore.php:1813
129
  msgid ""
130
  "By default the inline feedback form is closed and only the button is "
131
  "displayed. Once reader scrolled and reached to the selected text part, this "
@@ -135,147 +139,157 @@ msgid ""
135
  "Readers can close it using [x] button."
136
  msgstr ""
137
 
138
- #: class.WpdiscuzCore.php:1821
139
  msgid "CLOSED"
140
  msgstr ""
141
 
142
- #: class.WpdiscuzCore.php:1830
143
  msgid "OPENED"
144
  msgstr ""
145
 
146
- #: class.WpdiscuzCore.php:1839
147
  msgid "Add Inline Feedback Button"
148
  msgstr ""
149
 
150
- #: forms/wpDiscuzForm.php:101
 
 
 
 
151
  msgid "Invalid Data !!!"
152
  msgstr "Ungültige Daten !!!"
153
 
154
- #: forms/wpDiscuzForm.php:109 forms/wpDiscuzForm.php:158
155
  msgid "Forms"
156
  msgstr "Formulare"
157
 
158
- #: forms/wpDiscuzForm.php:110 options/html-phrases.php:20
159
  msgid "Form"
160
  msgstr "Formular"
161
 
162
- #: forms/wpDiscuzForm.php:111
163
  msgid "Add New"
164
  msgstr "Neu hinzufügen"
165
 
166
- #: forms/wpDiscuzForm.php:112
167
  msgid "Add New Form"
168
  msgstr "Neues Formular hinzufügen"
169
 
170
- #: forms/wpDiscuzForm.php:113
171
  msgid "Edit Form"
172
  msgstr "Formular bearbeiten"
173
 
174
- #: forms/wpDiscuzForm.php:114
175
  msgid "You did not create any forms yet"
176
  msgstr "Sie haben bisher keine Formulare erstellt"
177
 
178
- #: forms/wpDiscuzForm.php:115
179
  msgid "Nothing found in Trash"
180
  msgstr "Nichts im Papierkorb gefunden"
181
 
182
- #: forms/wpDiscuzForm.php:116
183
  msgid "Search Forms"
184
  msgstr "Formulare suchen"
185
 
186
- #: forms/wpDiscuzForm.php:173
187
  msgid "Title"
188
  msgstr "Titel"
189
 
190
- #: forms/wpDiscuzForm.php:174
191
  msgid "Post Types"
192
  msgstr "Beitragstypen"
193
 
194
- #: forms/wpDiscuzForm.php:175
195
  msgid "Post IDs"
196
  msgstr "Beitrags-ID"
197
 
198
- #: forms/wpDiscuzForm.php:176 forms/wpdFormAttr/Form.php:854
199
  msgid "Language"
200
  msgstr "Sprache"
201
 
202
- #: forms/wpDiscuzForm.php:177
 
203
  msgid "Date"
204
  msgstr "Datum"
205
 
206
- #: forms/wpDiscuzForm.php:222
207
  msgid "Field Types"
208
  msgstr "Feld-Typen"
209
 
210
- #: forms/wpDiscuzForm.php:223 forms/wpdFormAttr/Row.php:23
211
  msgid "Two column"
212
  msgstr "2 Spalten"
213
 
214
- #: forms/wpDiscuzForm.php:224 forms/wpdFormAttr/Field/Field.php:73
215
- #: forms/wpdFormAttr/Row.php:24 utils/class.WpdiscuzHelperUpload.php:640
216
  msgid "Delete"
217
  msgstr "Löschen"
218
 
219
- #: forms/wpDiscuzForm.php:225 forms/wpdFormAttr/Row.php:25
220
  msgid "Move"
221
  msgstr "Verschieben"
222
 
223
- #: forms/wpDiscuzForm.php:226 forms/wpdFormAttr/Row.php:73
224
  msgid "Add Field"
225
  msgstr "Feld hinzufügen"
226
 
227
- #: forms/wpDiscuzForm.php:227 forms/wpdFormAttr/Field/Field.php:70
228
- #: options/class.WpdiscuzOptions.php:273
229
  #: options/phrases-layouts/phrases-comment.php:19
230
  msgid "Edit"
231
  msgstr "Bearbeiten"
232
 
233
- #: forms/wpDiscuzForm.php:228
234
  msgid "You can not delete default field."
235
  msgstr "Das Standardpaket kann nicht gelöscht werden."
236
 
237
- #: forms/wpDiscuzForm.php:229
238
  msgid "You really want to delete this item ?"
239
  msgstr "Wollen Sie dieses Objekt wirklich löschen?"
240
 
241
- #: forms/wpDiscuzForm.php:236
242
  msgid "Permission Denied !!!"
243
  msgstr "Berechtigung verweigert !!!"
244
 
245
- #: forms/wpDiscuzForm.php:257 forms/wpdFormAttr/Form.php:819
246
  #: forms/wpdFormAttr/html/admin-form-fields-list.php:18
247
  msgid "Custom Fields"
248
  msgstr "Benutzerdefinierte Felder"
249
 
250
- #: forms/wpDiscuzForm.php:315
251
  msgid "Custom CSS"
252
  msgstr "Benutzerdefiniertes CSS"
253
 
254
- #: forms/wpDiscuzForm.php:370
255
  msgid "Default Form"
256
  msgstr "Standardformular"
257
 
258
- #: forms/wpDiscuzForm.php:403 forms/wpdFormAttr/Form.php:114
259
- #: forms/wpdFormAttr/Form.php:935 options/html-phrases.php:21
260
  #: options/options-layouts/html-moderation.php:133
261
  msgid "Comment"
262
  msgstr "Kommentar"
263
 
264
- #: forms/wpDiscuzForm.php:404 forms/wpdFormAttr/Form.php:122
265
- #: forms/wpdFormAttr/Form.php:945
266
  #: forms/wpdFormAttr/Tools/PersonalDataExporter.php:82
267
- #: utils/class.WpdiscuzHelperAjax.php:876
268
  msgid "Comments"
269
  msgstr ""
270
 
271
- #: forms/wpDiscuzForm.php:430 forms/wpdFormAttr/Field/AgreementCheckbox.php:12
 
 
 
 
 
272
  #: forms/wpdFormAttr/Field/CheckboxField.php:12
273
  #: forms/wpdFormAttr/Field/ColorField.php:12
274
  #: forms/wpdFormAttr/Field/CookiesConsent.php:14
275
  #: forms/wpdFormAttr/Field/DateField.php:12
276
  #: forms/wpdFormAttr/Field/DefaultField/Email.php:19
277
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:18
278
- #: forms/wpdFormAttr/Field/DefaultField/Name.php:66
279
  #: forms/wpdFormAttr/Field/DefaultField/Submit.php:18
280
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:18
281
  #: forms/wpdFormAttr/Field/HTMLField.php:12
@@ -285,35 +299,35 @@ msgstr ""
285
  #: forms/wpdFormAttr/Field/SelectField.php:12
286
  #: forms/wpdFormAttr/Field/TextAreaField.php:12
287
  #: forms/wpdFormAttr/Field/TextField.php:12
288
- #: forms/wpdFormAttr/Field/UrlField.php:12 forms/wpdFormAttr/Form.php:1134
289
  msgid "Name"
290
  msgstr "Name"
291
 
292
- #: forms/wpDiscuzForm.php:432 forms/wpdFormAttr/Field/DefaultField/Email.php:66
293
- #: forms/wpdFormAttr/Form.php:1141 options/class.WpdiscuzOptions.php:259
294
  #: options/html-phrases.php:23
295
  msgid "Email"
296
  msgstr "E-Mail"
297
 
298
- #: forms/wpDiscuzForm.php:434
299
  msgid "WebSite URL"
300
  msgstr "URL der Webseite"
301
 
302
- #: forms/wpDiscuzForm.php:437
303
  #: forms/wpdFormAttr/Field/DefaultField/Submit.php:117
304
- #: forms/wpdFormAttr/Form.php:1164
305
  msgid "Post Comment"
306
  msgstr "Kommentar absenden"
307
 
308
- #: forms/wpDiscuzForm.php:446
309
  msgid "Clone Form"
310
  msgstr "Formular duplizieren"
311
 
312
- #: forms/wpDiscuzForm.php:458
313
  msgid "Clone"
314
  msgstr "Duplizieren"
315
 
316
- #: forms/wpDiscuzForm.php:491
317
  msgid ""
318
  "Comment Form is not detected, please navigate to form manager page to create "
319
  "it. "
@@ -321,7 +335,7 @@ msgstr ""
321
  "Kommentar-Formular wird nicht erkannt, navigieren Sie bitte zur Formular-"
322
  "Manager-Seite, um sie zu erstellen. "
323
 
324
- #: forms/wpDiscuzForm.php:492
325
  msgid "Add Comment Form"
326
  msgstr "Kommentar Formular hinzufügen"
327
 
@@ -335,7 +349,7 @@ msgstr "Kommentar Formular hinzufügen"
335
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:23
336
  #: forms/wpdFormAttr/Field/NumberField.php:17
337
  #: forms/wpdFormAttr/Field/RadioField.php:17
338
- #: forms/wpdFormAttr/Field/RatingField.php:16
339
  #: forms/wpdFormAttr/Field/SelectField.php:17
340
  #: forms/wpdFormAttr/Field/TextAreaField.php:17
341
  #: forms/wpdFormAttr/Field/TextField.php:17
@@ -355,7 +369,7 @@ msgstr "Beschreibung"
355
  #: forms/wpdFormAttr/Field/NumberField.php:24
356
  #: forms/wpdFormAttr/Field/NumberField.php:29
357
  #: forms/wpdFormAttr/Field/RadioField.php:19
358
- #: forms/wpdFormAttr/Field/RatingField.php:18
359
  #: forms/wpdFormAttr/Field/SelectField.php:19
360
  #: forms/wpdFormAttr/Field/TextAreaField.php:19
361
  #: forms/wpdFormAttr/Field/TextField.php:19
@@ -388,7 +402,7 @@ msgstr ""
388
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:35
389
  #: forms/wpdFormAttr/Field/NumberField.php:39
390
  #: forms/wpdFormAttr/Field/RadioField.php:33
391
- #: forms/wpdFormAttr/Field/RatingField.php:28
392
  #: forms/wpdFormAttr/Field/SelectField.php:33
393
  #: forms/wpdFormAttr/Field/TextAreaField.php:22
394
  #: forms/wpdFormAttr/Field/TextField.php:29
@@ -424,15 +438,15 @@ msgstr "Nicht mehr anzeigen, wenn die Vereinbarung einmal akzeptiert wurde"
424
 
425
  #: forms/wpdFormAttr/Field/AgreementCheckbox.php:101
426
  #: forms/wpdFormAttr/Field/CheckboxField.php:150
427
- #: forms/wpdFormAttr/Field/ColorField.php:112
428
- #: forms/wpdFormAttr/Field/DateField.php:112
429
- #: forms/wpdFormAttr/Field/NumberField.php:122
430
- #: forms/wpdFormAttr/Field/RadioField.php:128
431
- #: forms/wpdFormAttr/Field/RatingField.php:124
432
  #: forms/wpdFormAttr/Field/SelectField.php:122
433
- #: forms/wpdFormAttr/Field/TextAreaField.php:94
434
- #: forms/wpdFormAttr/Field/TextField.php:106
435
- #: forms/wpdFormAttr/Field/UrlField.php:116
436
  msgid "field is required!"
437
  msgstr "Dieses Feld ist ein Pflichtfeld!"
438
 
@@ -466,7 +480,7 @@ msgstr "Bitte geben Sie einen Wert pro Zeile ein"
466
  #: forms/wpdFormAttr/Field/DateField.php:37
467
  #: forms/wpdFormAttr/Field/NumberField.php:47
468
  #: forms/wpdFormAttr/Field/RadioField.php:41
469
- #: forms/wpdFormAttr/Field/RatingField.php:32
470
  #: forms/wpdFormAttr/Field/SelectField.php:41
471
  #: forms/wpdFormAttr/Field/TextAreaField.php:30
472
  #: forms/wpdFormAttr/Field/TextField.php:37
@@ -479,7 +493,7 @@ msgstr "Bei Kommentar anzeigen"
479
  #: forms/wpdFormAttr/Field/DateField.php:41
480
  #: forms/wpdFormAttr/Field/NumberField.php:51
481
  #: forms/wpdFormAttr/Field/RadioField.php:45
482
- #: forms/wpdFormAttr/Field/RatingField.php:36
483
  #: forms/wpdFormAttr/Field/SelectField.php:45
484
  #: forms/wpdFormAttr/Field/TextAreaField.php:34
485
  #: forms/wpdFormAttr/Field/TextField.php:41
@@ -492,7 +506,7 @@ msgstr "Erweiterte Optionen"
492
  #: forms/wpdFormAttr/Field/DateField.php:44
493
  #: forms/wpdFormAttr/Field/NumberField.php:54
494
  #: forms/wpdFormAttr/Field/RadioField.php:48
495
- #: forms/wpdFormAttr/Field/RatingField.php:39
496
  #: forms/wpdFormAttr/Field/SelectField.php:48
497
  #: forms/wpdFormAttr/Field/TextAreaField.php:37
498
  #: forms/wpdFormAttr/Field/TextField.php:44
@@ -505,7 +519,7 @@ msgstr "Meta-Key"
505
  #: forms/wpdFormAttr/Field/DateField.php:48
506
  #: forms/wpdFormAttr/Field/NumberField.php:58
507
  #: forms/wpdFormAttr/Field/RadioField.php:52
508
- #: forms/wpdFormAttr/Field/RatingField.php:43
509
  #: forms/wpdFormAttr/Field/SelectField.php:52
510
  #: forms/wpdFormAttr/Field/TextAreaField.php:41
511
  #: forms/wpdFormAttr/Field/TextField.php:48
@@ -519,7 +533,7 @@ msgstr "Ersetzen Sie den alten Meta-Schlüssel"
519
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:29
520
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:29
521
  #: forms/wpdFormAttr/Field/NumberField.php:33
522
- #: forms/wpdFormAttr/Field/RatingField.php:22
523
  #: forms/wpdFormAttr/Field/TextField.php:23
524
  #: forms/wpdFormAttr/Field/UrlField.php:23
525
  msgid "Field icon"
@@ -531,13 +545,13 @@ msgstr "Feld Symbol"
531
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:32
532
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:32
533
  #: forms/wpdFormAttr/Field/NumberField.php:36
534
- #: forms/wpdFormAttr/Field/RatingField.php:25
535
  #: forms/wpdFormAttr/Field/TextField.php:26
536
  #: forms/wpdFormAttr/Field/UrlField.php:26
537
  msgid "Font-awesome icon library."
538
  msgstr "Schriftart-Awesome Icon-Bibliothek."
539
 
540
- #: forms/wpdFormAttr/Field/CookiesConsent.php:92
541
  msgid "Save my data for the next time I comment"
542
  msgstr "Meine Daten für das nächste Mal speichern"
543
 
@@ -545,37 +559,41 @@ msgstr "Meine Daten für das nächste Mal speichern"
545
  msgid "reCAPTCHA Settings"
546
  msgstr ""
547
 
548
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:97
549
  msgid "reCAPTCHA verification failed."
550
  msgstr ""
551
 
552
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:102
553
  msgid "The secret parameter is missing."
554
  msgstr ""
555
 
556
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:103
557
  msgid "The secret parameter is invalid or malformed."
558
  msgstr ""
559
 
560
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:104
561
  msgid "The response parameter is missing."
562
  msgstr ""
563
 
564
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:105
565
  msgid "The response parameter is invalid or malformed."
566
  msgstr ""
567
 
568
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:106
569
  msgid "The request is invalid or malformed."
570
  msgstr ""
571
 
572
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:107
573
  msgid ""
574
  "The response is no longer valid: either is too old or has been used "
575
  "previously."
576
  msgstr ""
577
 
578
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:113
 
 
 
 
579
  msgid "reCaptcha validation fails. Error code: "
580
  msgstr ""
581
 
@@ -592,8 +610,8 @@ msgstr "Button Text"
592
  msgid "Enable"
593
  msgstr "Aktivieren"
594
 
595
- #: forms/wpdFormAttr/Field/DefaultField/Website.php:83
596
- #: forms/wpdFormAttr/Form.php:1148
597
  msgid "Website"
598
  msgstr "Webseite"
599
 
@@ -601,7 +619,7 @@ msgstr "Webseite"
601
  msgid " (Submit Button)"
602
  msgstr " (Submit Button)"
603
 
604
- #: forms/wpdFormAttr/Field/Field.php:63 options/class.WpdiscuzOptions.php:1857
605
  msgid "Google reCAPTCHA"
606
  msgstr ""
607
 
@@ -621,11 +639,11 @@ msgstr "Min. Wert"
621
  msgid "Max Value"
622
  msgstr "Max. Wert"
623
 
624
- #: forms/wpdFormAttr/Field/NumberField.php:126
625
  msgid "value can not be less than"
626
  msgstr "Wert darf nicht weniger sein als"
627
 
628
- #: forms/wpdFormAttr/Field/NumberField.php:129
629
  msgid "value can not be more than"
630
  msgstr "Wert darf nicht mehr sein als"
631
 
@@ -634,187 +652,89 @@ msgstr "Wert darf nicht mehr sein als"
634
  msgid "New value new line"
635
  msgstr "Neuer Wert, neue Linie"
636
 
637
- #: forms/wpdFormAttr/Form.php:179 forms/wpdFormAttr/Form.php:525
638
- #: forms/wpdFormAttr/Form.php:925
 
 
 
 
639
  msgid ""
640
  "I allow to use my email address and send notification about new comments and "
641
  "replies (you can unsubscribe at any time)."
642
  msgstr ""
643
 
644
- #: forms/wpdFormAttr/Form.php:859 forms/wpdFormAttr/Form.php:881
645
- #: forms/wpdFormAttr/Form.php:893 forms/wpdFormAttr/Form.php:905
646
- #: forms/wpdFormAttr/Form.php:917 forms/wpdFormAttr/Form.php:975
647
- #: forms/wpdFormAttr/Form.php:985 forms/wpdFormAttr/Form.php:1063
648
- #: options/options-layouts/html-content.php:13
649
- #: options/options-layouts/html-content.php:29
650
- #: options/options-layouts/html-content.php:47
651
- #: options/options-layouts/html-content.php:62
652
- #: options/options-layouts/html-content.php:84
653
- #: options/options-layouts/html-content.php:118
654
- #: options/options-layouts/html-content.php:131
655
- #: options/options-layouts/html-content.php:177
656
- #: options/options-layouts/html-content.php:195
657
- #: options/options-layouts/html-content.php:211
658
- #: options/options-layouts/html-content.php:243
659
  #: options/options-layouts/html-form.php:13
660
- #: options/options-layouts/html-form.php:31
661
- #: options/options-layouts/html-form.php:47
662
- #: options/options-layouts/html-form.php:62
663
- #: options/options-layouts/html-general.php:20
664
- #: options/options-layouts/html-general.php:38
665
- #: options/options-layouts/html-general.php:55
666
- #: options/options-layouts/html-general.php:72
667
- #: options/options-layouts/html-general.php:121
668
- #: options/options-layouts/html-general.php:143
669
- #: options/options-layouts/html-general.php:158
670
- #: options/options-layouts/html-general.php:176
671
- #: options/options-layouts/html-general.php:217
672
- #: options/options-layouts/html-general.php:235
673
- #: options/options-layouts/html-general.php:251
674
  #: options/options-layouts/html-inline.php:21
675
- #: options/options-layouts/html-inline.php:39
676
- #: options/options-layouts/html-inline.php:69
677
  #: options/options-layouts/html-labels.php:13
678
- #: options/options-layouts/html-labels.php:39
679
- #: options/options-layouts/html-labels.php:63
680
  #: options/options-layouts/html-live.php:15
681
- #: options/options-layouts/html-live.php:35
682
- #: options/options-layouts/html-live.php:57
683
- #: options/options-layouts/html-live.php:77
684
- #: options/options-layouts/html-live.php:98
685
- #: options/options-layouts/html-live.php:114
686
- #: options/options-layouts/html-live.php:129
687
- #: options/options-layouts/html-live.php:149
688
- #: options/options-layouts/html-live.php:167
689
- #: options/options-layouts/html-live.php:190
690
  #: options/options-layouts/html-login.php:13
691
- #: options/options-layouts/html-login.php:31
692
- #: options/options-layouts/html-login.php:49
693
- #: options/options-layouts/html-login.php:99
694
- #: options/options-layouts/html-login.php:117
695
- #: options/options-layouts/html-login.php:135
696
  #: options/options-layouts/html-moderation.php:13
697
- #: options/options-layouts/html-moderation.php:36
698
- #: options/options-layouts/html-moderation.php:54
699
- #: options/options-layouts/html-moderation.php:72
700
- #: options/options-layouts/html-moderation.php:90
701
- #: options/options-layouts/html-moderation.php:108
702
- #: options/options-layouts/html-moderation.php:143
703
  #: options/options-layouts/html-rating.php:13
704
- #: options/options-layouts/html-rating.php:31
705
- #: options/options-layouts/html-rating.php:61
706
  #: options/options-layouts/html-recaptcha.php:14
707
- #: options/options-layouts/html-recaptcha.php:38
708
- #: options/options-layouts/html-recaptcha.php:56
709
- #: options/options-layouts/html-recaptcha.php:74
710
- #: options/options-layouts/html-recaptcha.php:92
711
- #: options/options-layouts/html-recaptcha.php:111
712
- #: options/options-layouts/html-recaptcha.php:126
713
- #: options/options-layouts/html-recaptcha.php:144
714
- #: options/options-layouts/html-recaptcha.php:160
715
  #: options/options-layouts/html-social.php:13
716
- #: options/options-layouts/html-social.php:31
717
- #: options/options-layouts/html-social.php:49
718
- #: options/options-layouts/html-social.php:122
719
- #: options/options-layouts/html-social.php:137
720
- #: options/options-layouts/html-social.php:194
721
- #: options/options-layouts/html-social.php:209
722
- #: options/options-layouts/html-social.php:249
723
- #: options/options-layouts/html-social.php:264
724
- #: options/options-layouts/html-social.php:305
725
- #: options/options-layouts/html-social.php:320
726
- #: options/options-layouts/html-social.php:360
727
- #: options/options-layouts/html-social.php:375
728
- #: options/options-layouts/html-social.php:432
729
- #: options/options-layouts/html-social.php:447
730
- #: options/options-layouts/html-social.php:505
731
- #: options/options-layouts/html-social.php:520
732
- #: options/options-layouts/html-social.php:535
733
  #: options/options-layouts/html-subscription.php:13
734
- #: options/options-layouts/html-subscription.php:31
735
- #: options/options-layouts/html-subscription.php:49
736
- #: options/options-layouts/html-subscription.php:67
737
- #: options/options-layouts/html-subscription.php:85
738
- #: options/options-layouts/html-subscription.php:103
739
- #: options/options-layouts/html-subscription.php:132
740
- #: options/options-layouts/html-subscription.php:150
741
- #: options/options-layouts/html-subscription.php:185
742
- #: options/options-layouts/html-subscription.php:204
743
- #: options/options-layouts/html-subscription.php:222
744
  #: options/options-layouts/html-thread_display.php:13
745
- #: options/options-layouts/html-thread_display.php:42
746
- #: options/options-layouts/html-thread_display.php:78
747
- #: options/options-layouts/html-thread_display.php:96
748
- #: options/options-layouts/html-thread_display.php:114
749
- #: options/options-layouts/html-thread_display.php:132
750
- #: options/options-layouts/html-thread_display.php:150
751
- #: options/options-layouts/html-thread_display.php:168
752
- #: options/options-layouts/html-thread_display.php:186
753
- #: options/options-layouts/html-thread_display.php:204
754
  #: options/options-layouts/html-thread_layouts.php:32
755
- #: options/options-layouts/html-thread_layouts.php:55
756
- #: options/options-layouts/html-thread_layouts.php:70
757
- #: options/options-layouts/html-thread_layouts.php:85
758
- #: options/options-layouts/html-thread_layouts.php:103
759
- #: options/options-layouts/html-thread_layouts.php:125
760
- #: options/options-layouts/html-thread_layouts.php:149
761
- #: options/options-layouts/html-thread_layouts.php:167
762
- #: options/options-layouts/html-thread_layouts.php:185
763
- #: options/options-layouts/html-thread_layouts.php:203
764
- #: options/options-layouts/html-thread_layouts.php:226
765
  #: options/options-layouts/html-thread_styles.php:13
766
- #: options/options-layouts/html-thread_styles.php:32
767
- #: options/options-layouts/html-thread_styles.php:62
768
- #: options/options-layouts/html-thread_styles.php:103
769
- #: options/options-layouts/html-thread_styles.php:118
770
  msgid "Read the documentation"
771
  msgstr ""
772
 
773
- #: forms/wpdFormAttr/Form.php:864
774
  msgid "Disable commenting for roles"
775
  msgstr "Deaktivieren Sie das Kommentieren von Rollen"
776
 
777
- #: forms/wpdFormAttr/Form.php:886
778
  msgid "Allow guests to comment"
779
  msgstr "Gästen erlauben zu kommentieren"
780
 
781
- #: forms/wpdFormAttr/Form.php:890 forms/wpdFormAttr/Form.php:902
782
- #: forms/wpdFormAttr/Form.php:914 forms/wpdFormAttr/Form.php:1043
783
- #: forms/wpdFormAttr/Form.php:1054
784
  msgid "Yes"
785
  msgstr "Ja"
786
 
787
- #: forms/wpdFormAttr/Form.php:892 forms/wpdFormAttr/Form.php:904
788
- #: forms/wpdFormAttr/Form.php:916 forms/wpdFormAttr/Form.php:1045
789
- #: forms/wpdFormAttr/Form.php:1056
790
  msgid "No"
791
  msgstr "Nein"
792
 
793
- #: forms/wpdFormAttr/Form.php:898
794
  msgid "Enable subscription bar"
795
  msgstr "Abonnement Leiste aktivieren"
796
 
797
- #: forms/wpdFormAttr/Form.php:910
798
  msgid "Display agreement checkbox in Comment Subscription bar"
799
  msgstr ""
800
 
801
- #: forms/wpdFormAttr/Form.php:922
802
  msgid "Comment Subscription bar agreement checkbox label"
803
  msgstr ""
804
 
805
- #: forms/wpdFormAttr/Form.php:931
806
  msgid "Comment form header text (singular)"
807
  msgstr ""
808
 
809
- #: forms/wpdFormAttr/Form.php:941
810
  msgid "Comment form header text (plural)"
811
  msgstr ""
812
 
813
- #: forms/wpdFormAttr/Form.php:950
814
  msgid "Display comment form for post types"
815
  msgstr "Zeige Kommentarformular für Beitrags Typen"
816
 
817
- #: forms/wpdFormAttr/Form.php:957
818
  msgid ""
819
  "The red marked post types are already attached to other comment form. If you "
820
  "set this form too, the old forms will not be used for them."
@@ -823,11 +743,11 @@ msgstr ""
823
  "angehängt. Wenn Sie dieses Formular auch markieren, werden die alten "
824
  "Formulare für diese Post-Typen nicht verwendet werden."
825
 
826
- #: forms/wpdFormAttr/Form.php:980
827
  msgid "Display comment form for post IDs"
828
  msgstr "Zeige Kommentarformular für Beitrags IDs"
829
 
830
- #: forms/wpdFormAttr/Form.php:981
831
  msgid ""
832
  "You can use this form for certain posts/pages specified by comma separated "
833
  "IDs."
@@ -835,183 +755,287 @@ msgstr ""
835
  "Sie können dieses Formular für bestimmte Beiträge/Seiten verwenden, die "
836
  "durch Komma getrennte IDs angegeben sind."
837
 
838
- #: forms/wpdFormAttr/Form.php:995
839
  msgid "Theme"
840
  msgstr ""
841
 
842
- #: forms/wpdFormAttr/Form.php:1014
843
  msgid "Comment List Layout"
844
  msgstr ""
845
 
846
- #: forms/wpdFormAttr/Form.php:1025
847
  msgid "Layout"
848
  msgstr ""
849
 
850
- #: forms/wpdFormAttr/Form.php:1039
851
  msgid "Enable Post Rating"
852
  msgstr ""
853
 
854
- #: forms/wpdFormAttr/Form.php:1050
 
 
 
 
855
  msgid "Allow Guests to Rate"
856
  msgstr ""
857
 
858
- #: forms/wpdFormAttr/Form.php:1067
859
  msgid "Comment Text Field"
860
  msgstr "Kommentar Textfeld"
861
 
862
- #: forms/wpdFormAttr/Form.php:1082
863
  msgid "ADD ROW"
864
  msgstr "REIHE HINZUFÜGEN"
865
 
866
- #: forms/wpdFormAttr/Form.php:1119
867
  msgid ""
868
  "Only logged in customers who have purchased this product may leave a review."
869
  msgstr ""
870
  "Nur angemeldete Kunden, die dieses Produkt gekauft haben, dürfen eine "
871
  "Bewertung abgeben."
872
 
873
- #: forms/wpdFormAttr/Login/SocialLogin.php:34
874
  msgid "Authentication failed."
875
  msgstr "Authentifizierung ist fehlgeschlagen."
876
 
877
- #: forms/wpdFormAttr/Login/SocialLogin.php:91
878
  msgid "Facebook access token or user ID invalid."
879
  msgstr "Facebook Access Token oder Benutzer-ID ungültig."
880
 
881
- #: forms/wpdFormAttr/Login/SocialLogin.php:95
882
  msgid "Facebook App Secret is required."
883
  msgstr "Facebook App Secret ist erforderlich."
884
 
885
- #: forms/wpdFormAttr/Login/SocialLogin.php:124
886
  msgid "Facebook Application ID and Application Secret required."
887
  msgstr ""
888
 
889
- #: forms/wpdFormAttr/Login/SocialLogin.php:152
890
- msgid ""
891
- "Facebook authentication failed (OAuth <code>state</code> does not exist)."
892
  msgstr ""
893
 
894
- #: forms/wpdFormAttr/Login/SocialLogin.php:155
895
- msgid ""
896
- "Facebook authentication failed (OAuth <code>code</code> does not exist)."
897
  msgstr ""
898
 
899
- #: forms/wpdFormAttr/Login/SocialLogin.php:194
 
 
 
 
 
 
 
 
 
 
 
 
900
  msgid "Google Client ID and Client Secret required."
901
  msgstr ""
902
 
903
- #: forms/wpdFormAttr/Login/SocialLogin.php:224
904
- msgid "Google authentication failed (OAuth <code>state</code> does not exist)."
 
 
 
 
 
 
 
 
905
  msgstr ""
906
 
907
- #: forms/wpdFormAttr/Login/SocialLogin.php:227
908
- msgid "Google authentication failed (OAuth <code>code</code> does not exist)."
909
  msgstr ""
910
 
911
- #: forms/wpdFormAttr/Login/SocialLogin.php:260
 
 
 
 
912
  msgid "Disqus Public Key and Secret Key required."
913
  msgstr ""
914
 
915
- #: forms/wpdFormAttr/Login/SocialLogin.php:289
916
- msgid "Disqus authentication failed (OAuth <code>state</code> does not exist)."
917
  msgstr ""
918
 
919
- #: forms/wpdFormAttr/Login/SocialLogin.php:292
920
- msgid "Disqus authentication failed (OAuth <code>code</code> does not exist)."
921
  msgstr ""
922
 
923
- #: forms/wpdFormAttr/Login/SocialLogin.php:313
924
- msgid ""
925
- "Disqus authentication failed (<code>access_token</code> does not exist)."
926
  msgstr ""
927
 
928
- #: forms/wpdFormAttr/Login/SocialLogin.php:316
929
- msgid "Disqus authentication failed (<code>user_id</code> does not exist)."
930
  msgstr ""
931
 
932
- #: forms/wpdFormAttr/Login/SocialLogin.php:343
933
  msgid "Wordpress Client ID and Client Secret required."
934
  msgstr ""
935
 
936
- #: forms/wpdFormAttr/Login/SocialLogin.php:372
937
- msgid ""
938
- "Wordpress.com authentication failed (OAuth <code>state</code> does not "
939
- "exist)."
940
  msgstr ""
941
 
942
- #: forms/wpdFormAttr/Login/SocialLogin.php:375
943
- msgid ""
944
- "Wordpress.com authentication failed (OAuth <code>code</code> does not exist)."
945
  msgstr ""
946
 
947
- #: forms/wpdFormAttr/Login/SocialLogin.php:396
948
- msgid ""
949
- "Wordpress.com authentication failed (<code>access_token</code> does not "
950
- "exist)."
951
  msgstr ""
952
 
953
- #: forms/wpdFormAttr/Login/SocialLogin.php:408
954
- msgid ""
955
- "Wordpress.com authentication failed (<code>user_id</code> does not exist)."
956
  msgstr ""
957
 
958
- #: forms/wpdFormAttr/Login/SocialLogin.php:443
959
  msgid "Twitter Consumer Key and Consumer Secret required."
960
  msgstr "Twitter Consumer Key und Consumer Secret sind erforderlich."
961
 
962
- #: forms/wpdFormAttr/Login/SocialLogin.php:456
963
  msgid "Twitter authentication failed (OAuth secret does not exist)."
964
  msgstr ""
965
  "Twitter Authentifizierung ist fehlgeschlagen (OAuth secret existiert nicht)."
966
 
967
- #: forms/wpdFormAttr/Login/SocialLogin.php:467
968
  msgid "Twitter connection failed."
969
  msgstr "Twitter Verbindung fehlgeschlagen."
970
 
971
- #: forms/wpdFormAttr/Login/SocialLogin.php:477
972
  msgid "VK Client ID and Client Secret required."
973
  msgstr "VK-Client-ID und Client-Secret erforderlich."
974
 
975
- #: forms/wpdFormAttr/Login/SocialLogin.php:506
976
- msgid "VK authentication failed (OAuth <code>state</code> does not exist)."
977
  msgstr ""
978
- "Die VK-Authentifizierung ist fehlgeschlagen (OAuth <code>state</code> ist "
979
- "nicht vorhanden)."
980
 
981
- #: forms/wpdFormAttr/Login/SocialLogin.php:509
982
- msgid "VK authentication failed (OAuth <code>code</code> does not exist)."
983
  msgstr ""
984
- "Die VK-Authentifizierung ist fehlgeschlagen (OAuth <code>code</code> ist "
985
- "nicht vorhanden)."
986
 
987
- #: forms/wpdFormAttr/Login/SocialLogin.php:527
988
- msgid "VK authentication failed (<code>user_id</code> does not exist)."
989
  msgstr ""
990
- "Die VK-Authentifizierung ist fehlgeschlagen (<code>user_id</code> existiert "
991
- "nicht)."
992
 
993
- #: forms/wpdFormAttr/Login/SocialLogin.php:553
994
  msgid "OK Application ID, Application Key and Application Secret required."
995
  msgstr ""
996
  "OK Application ID, Application Key und Application Secret erforderlich."
997
 
998
- #: forms/wpdFormAttr/Login/SocialLogin.php:580
999
- msgid "OK authentication failed (OAuth <code>state</code> does not exist)."
1000
  msgstr ""
1001
- "Die OK-Authentifizierung ist fehlgeschlagen (OAuth <code>state</code> ist "
1002
- "nicht vorhanden)."
1003
 
1004
- #: forms/wpdFormAttr/Login/SocialLogin.php:583
1005
- msgid "OK authentication failed (<code>code</code> does not exist)."
 
 
 
 
1006
  msgstr ""
1007
- "Die OK-Authentifizierung ist fehlgeschlagen (<code>code</code> ist nicht "
1008
- "vorhanden)."
1009
 
1010
- #: forms/wpdFormAttr/Login/SocialLogin.php:602
1011
- msgid "OK authentication failed (<code>access_token</code> does not exist)."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1012
  msgstr ""
1013
- "Die OK-Authentifizierung ist fehlgeschlagen (<code>access_token</code> ist "
1014
- "nicht vorhanden)."
1015
 
1016
  #: forms/wpdFormAttr/Tools/PersonalDataExporter.php:36
1017
  msgid "wpDiscuz Fields Data"
@@ -1021,11 +1045,11 @@ msgstr ""
1021
  msgid "Comment Form Fields"
1022
  msgstr "Kommentarformular Felder"
1023
 
1024
- #: options/addons/al/title.php:7 options/class.WpdiscuzOptions.php:1588
1025
  msgid "Advanced Likers"
1026
  msgstr "Erweiterte Gefällt-mir-Klicker"
1027
 
1028
- #: options/addons/cai/title.php:7 utils/class.WpdiscuzHelperAjax.php:873
1029
  msgid "Comment Author"
1030
  msgstr "Kommentar-Autor"
1031
 
@@ -1037,11 +1061,11 @@ msgstr "Frontend-Moderation"
1037
  msgid "More Addons..."
1038
  msgstr "Weitere Addons ..."
1039
 
1040
- #: options/addons/mu/title.php:7 options/class.WpdiscuzOptions.php:1612
1041
  msgid "Media Uploader"
1042
  msgstr "Media Uploader"
1043
 
1044
- #: options/addons/raf/title.php:7 options/class.WpdiscuzOptions.php:1592
1045
  msgid "Report and Flagging"
1046
  msgstr "Bericht und Kennzeichnung"
1047
 
@@ -1049,205 +1073,205 @@ msgstr "Bericht und Kennzeichnung"
1049
  msgid "Mentioning"
1050
  msgstr "Erwähnung"
1051
 
1052
- #: options/class.WpdiscuzOptions.php:253
1053
  msgid "Be the First to Comment!"
1054
  msgstr "Hinterlassen Sie den ersten Kommentar!"
1055
 
1056
- #: options/class.WpdiscuzOptions.php:254
1057
  msgid "Start the discussion"
1058
  msgstr "Starte die Diskussion"
1059
 
1060
- #: options/class.WpdiscuzOptions.php:255
1061
  msgid "Join the discussion"
1062
  msgstr "An Diskussion beteiligen"
1063
 
1064
- #: options/class.WpdiscuzOptions.php:256
1065
  #: options/phrases-layouts/phrases-form.php:19
1066
  msgid "Most reacted comment"
1067
  msgstr "Kommentar, auf das am meisten reagiert wurde"
1068
 
1069
- #: options/class.WpdiscuzOptions.php:257
1070
  #: options/phrases-layouts/phrases-form.php:23
1071
  msgid "Hottest comment thread"
1072
  msgstr "Beliebtestes Kommentar Thema"
1073
 
1074
- #: options/class.WpdiscuzOptions.php:258
1075
  #: options/phrases-layouts/phrases-form.php:27
1076
  msgid "Inline Comments"
1077
  msgstr ""
1078
 
1079
- #: options/class.WpdiscuzOptions.php:260
1080
  #: options/phrases-layouts/phrases-form.php:35
1081
  msgid "Subscribe"
1082
  msgstr "Abonnieren"
1083
 
1084
- #: options/class.WpdiscuzOptions.php:261
1085
  #: options/phrases-layouts/phrases-form.php:39
1086
  msgid "Notify of"
1087
  msgstr "Benachrichtige mich bei"
1088
 
1089
- #: options/class.WpdiscuzOptions.php:262
1090
  msgid "new follow-up comments"
1091
  msgstr "allen neuen Kommentare"
1092
 
1093
- #: options/class.WpdiscuzOptions.php:263
1094
  msgid "new replies to my comments"
1095
  msgstr "nur Antworten zu meinen Kommentar/en"
1096
 
1097
- #: options/class.WpdiscuzOptions.php:264
1098
  msgid "Notify of new replies to this comment"
1099
  msgstr ""
1100
 
1101
- #: options/class.WpdiscuzOptions.php:265
1102
  #: options/phrases-layouts/phrases-form.php:55
1103
  msgid "Sort by"
1104
  msgstr "Sortieren nach"
1105
 
1106
- #: options/class.WpdiscuzOptions.php:266
1107
  #: options/phrases-layouts/phrases-form.php:59
1108
  msgid "Newest"
1109
  msgstr ""
1110
 
1111
- #: options/class.WpdiscuzOptions.php:267
1112
  #: options/phrases-layouts/phrases-form.php:63
1113
  msgid "Oldest"
1114
  msgstr ""
1115
 
1116
- #: options/class.WpdiscuzOptions.php:268
1117
  #: options/phrases-layouts/phrases-form.php:67
1118
  msgid "Most Voted"
1119
  msgstr ""
1120
 
1121
- #: options/class.WpdiscuzOptions.php:269
1122
  msgid "Load More Comments"
1123
  msgstr "Weitere Kommentare anzeigen"
1124
 
1125
- #: options/class.WpdiscuzOptions.php:270
1126
  #: options/phrases-layouts/phrases-general.php:19
1127
  msgid "Load Rest of Comments"
1128
  msgstr "Lade alle weiteren Kommentare"
1129
 
1130
- #: options/class.WpdiscuzOptions.php:271
1131
  #: options/options-layouts/html-moderation.php:135
1132
  #: options/phrases-layouts/phrases-comment.php:11
1133
  msgid "Reply"
1134
  msgstr "Antworten"
1135
 
1136
- #: options/class.WpdiscuzOptions.php:272
1137
  #: options/phrases-layouts/phrases-comment.php:15
1138
  msgid "Share"
1139
  msgstr "Teilen"
1140
 
1141
- #: options/class.WpdiscuzOptions.php:274
1142
  #: options/phrases-layouts/phrases-comment.php:23
1143
  msgid "Share On Facebook"
1144
  msgstr "Auf Facebook teilen"
1145
 
1146
- #: options/class.WpdiscuzOptions.php:275
1147
  #: options/phrases-layouts/phrases-comment.php:27
1148
  msgid "Share On Twitter"
1149
  msgstr "Auf Twitter teilen"
1150
 
1151
- #: options/class.WpdiscuzOptions.php:276
1152
  #: options/phrases-layouts/phrases-comment.php:31
1153
- msgid "Share On Google"
1154
- msgstr "Auf Google teilen"
1155
 
1156
- #: options/class.WpdiscuzOptions.php:277
1157
  #: options/phrases-layouts/phrases-comment.php:35
1158
  msgid "Share On VKontakte"
1159
  msgstr "Auf VKontakte teilen"
1160
 
1161
- #: options/class.WpdiscuzOptions.php:278
1162
  #: options/phrases-layouts/phrases-comment.php:39
1163
  msgid "Share On Odnoklassniki"
1164
  msgstr "Auf Odnoklassniki teilen"
1165
 
1166
- #: options/class.WpdiscuzOptions.php:279
1167
  #: options/phrases-layouts/phrases-comment.php:43
1168
  msgid "Hide Replies"
1169
  msgstr "Antworten verbergen"
1170
 
1171
- #: options/class.WpdiscuzOptions.php:280
1172
  #: options/phrases-layouts/phrases-comment.php:47
1173
  msgid "View Replies"
1174
  msgstr "Antworten anzeigen"
1175
 
1176
- #: options/class.WpdiscuzOptions.php:281 options/class.WpdiscuzOptions.php:401
1177
  msgid "New Comment"
1178
  msgstr "Neuer Kommentar"
1179
 
1180
- #: options/class.WpdiscuzOptions.php:282
1181
  msgid ""
1182
- "Hi [SUBSCRIBER_NAME],<br/><br/> new comment have been posted by the "
1183
  "<em><strong>[COMMENT_AUTHOR]</em></strong> on the discussion section you've "
1184
  "been interested in<br/><br/><a href='[COMMENT_URL]'>[COMMENT_URL]</a><br/"
1185
  "><br/>[COMMENT_CONTENT]<br/><br/><a href='[UNSUBSCRIBE_URL]'>Unsubscribe</a>"
1186
  msgstr ""
1187
 
1188
- #: options/class.WpdiscuzOptions.php:283 options/class.WpdiscuzOptions.php:285
1189
  msgid "New Reply"
1190
  msgstr "Neue Antwort"
1191
 
1192
- #: options/class.WpdiscuzOptions.php:284 options/class.WpdiscuzOptions.php:286
1193
  msgid ""
1194
- "Hi [SUBSCRIBER_NAME],<br/><br/> new reply have been posted by the "
1195
  "<em><strong>[COMMENT_AUTHOR]</em></strong> on the discussion section you've "
1196
  "been interested in<br/><br/><a href='[COMMENT_URL]'>[COMMENT_URL]</a><br/"
1197
  "><br/>[COMMENT_CONTENT]<br/><br/><a href='[UNSUBSCRIBE_URL]'>Unsubscribe</a>"
1198
  msgstr ""
1199
 
1200
- #: options/class.WpdiscuzOptions.php:287
1201
  msgid "You're subscribed for new replies on this comment"
1202
  msgstr ""
1203
  "Sie haben alle zukünftigen Antworten zu diesem Kommentar erfolgreich "
1204
  "abonniert"
1205
 
1206
- #: options/class.WpdiscuzOptions.php:288
1207
  msgid "You're subscribed for new replies on all your comments"
1208
  msgstr ""
1209
  "Sie haben alle zukünftigen Antworten zu allen Kommentaren erfolgreich "
1210
  "abonniert"
1211
 
1212
- #: options/class.WpdiscuzOptions.php:289
1213
  msgid "You're subscribed for new follow-up comments on this post"
1214
  msgstr ""
1215
  "Sie haben alle zukünftigen Kommentare zu diesem Beitrag erfolgreich abonniert"
1216
 
1217
- #: options/class.WpdiscuzOptions.php:290
1218
- #: options/phrases-layouts/phrases-email.php:172
1219
  msgid "Unsubscribe"
1220
  msgstr "Abmelden"
1221
 
1222
- #: options/class.WpdiscuzOptions.php:291
1223
  msgid "Cancel subscription"
1224
  msgstr "Abrechnung kündigen"
1225
 
1226
- #: options/class.WpdiscuzOptions.php:292
1227
  #: options/phrases-layouts/phrases-notification.php:19
1228
  msgid "You've successfully unsubscribed."
1229
  msgstr "Kommentar-Benachrichtigung erfolgreich de-abonniert."
1230
 
1231
- #: options/class.WpdiscuzOptions.php:293
1232
  #: options/phrases-layouts/phrases-notification.php:15
1233
  msgid "You've successfully subscribed."
1234
  msgstr "Kommentar-Benachrichtigung erfolgreich abonniert."
1235
 
1236
- #: options/class.WpdiscuzOptions.php:294
1237
- #: options/phrases-layouts/phrases-email.php:180
1238
  msgid "Confirm your subscription"
1239
  msgstr "Benachrichtigung bestätigen"
1240
 
1241
- #: options/class.WpdiscuzOptions.php:295
1242
- #: options/phrases-layouts/phrases-email.php:184
1243
  msgid "You've successfully confirmed your subscription."
1244
  msgstr "Sie haben Ihre Kommentar-Benachrichtigung/en erfolgreich abonniert."
1245
 
1246
- #: options/class.WpdiscuzOptions.php:296
1247
  msgid "Subscription Confirmation"
1248
  msgstr "Anmeldungsbestätigung"
1249
 
1250
- #: options/class.WpdiscuzOptions.php:297
1251
  msgid ""
1252
  "Hi, <br/> You just subscribed for new comments on our website. This means "
1253
  "you will receive an email when new comments are posted according to "
@@ -1258,228 +1282,226 @@ msgid ""
1258
  "href='[CANCEL_URL]'>Cancel Subscription</a>"
1259
  msgstr ""
1260
 
1261
- #: options/class.WpdiscuzOptions.php:298
1262
  msgid "please fill out this field to comment"
1263
  msgstr "Bitte füllen Sie dieses Feld aus"
1264
 
1265
- #: options/class.WpdiscuzOptions.php:299
1266
  msgid "email address is invalid"
1267
  msgstr "Bitte überprüfen Sie Ihre angegebene Email-Adresse"
1268
 
1269
- #: options/class.WpdiscuzOptions.php:300
1270
  msgid "url is invalid"
1271
  msgstr "Bitte überprüfen Sie Ihre angegebene URL"
1272
 
1273
- #: options/class.WpdiscuzOptions.php:301
1274
  msgid "year"
1275
  msgstr "Jahr"
1276
 
1277
- #: options/class.WpdiscuzOptions.php:302
1278
  msgid "years"
1279
  msgstr "Jahre"
1280
 
1281
- #: options/class.WpdiscuzOptions.php:303
1282
  msgid "month"
1283
  msgstr "Monat"
1284
 
1285
- #: options/class.WpdiscuzOptions.php:304
1286
  msgid "months"
1287
  msgstr "Monate"
1288
 
1289
- #: options/class.WpdiscuzOptions.php:305
1290
  msgid "day"
1291
  msgstr "Tag"
1292
 
1293
- #: options/class.WpdiscuzOptions.php:306
1294
- #: options/options-layouts/html-general.php:248
1295
  msgid "days"
1296
  msgstr "Tage"
1297
 
1298
- #: options/class.WpdiscuzOptions.php:307
1299
  msgid "hour"
1300
  msgstr "Stunde"
1301
 
1302
- #: options/class.WpdiscuzOptions.php:308
1303
  msgid "hours"
1304
  msgstr "Stunden"
1305
 
1306
- #: options/class.WpdiscuzOptions.php:309
1307
  msgid "minute"
1308
  msgstr "Minute"
1309
 
1310
- #: options/class.WpdiscuzOptions.php:310
1311
  msgid "minutes"
1312
  msgstr "Minuten"
1313
 
1314
- #: options/class.WpdiscuzOptions.php:311
1315
  msgid "second"
1316
  msgstr "Sekunde"
1317
 
1318
- #: options/class.WpdiscuzOptions.php:312
1319
  #: options/options-layouts/html-live.php:111
1320
  #: options/options-layouts/html-live.php:126
1321
  msgid "seconds"
1322
  msgstr "Sekunden"
1323
 
1324
- #: options/class.WpdiscuzOptions.php:313
1325
  msgid "right now"
1326
  msgstr "gerade eben"
1327
 
1328
- #: options/class.WpdiscuzOptions.php:314
1329
  msgid "ago"
1330
  msgstr "zuvor"
1331
 
1332
- #: options/class.WpdiscuzOptions.php:315
1333
  #: options/phrases-layouts/phrases-notification.php:38
1334
  msgid "You must be"
1335
  msgstr "Du musst"
1336
 
1337
- #: options/class.WpdiscuzOptions.php:316
1338
  msgid "You are logged in as"
1339
  msgstr "Sie sind angemeldet als"
1340
 
1341
- #: options/class.WpdiscuzOptions.php:317
1342
  #: options/phrases-layouts/phrases-notification.php:29
1343
  msgid "Login"
1344
  msgstr "Anmelden"
1345
 
1346
- #: options/class.WpdiscuzOptions.php:318
1347
  #: options/phrases-layouts/phrases-notification.php:33
1348
  #, php-format
1349
  msgid "Please %s to comment"
1350
  msgstr "Bitte %s um zu kommentieren"
1351
 
1352
- #: options/class.WpdiscuzOptions.php:319
1353
  #: options/phrases-layouts/phrases-notification.php:54
1354
  msgid "Log out"
1355
  msgstr "Abmelden"
1356
 
1357
- #: options/class.WpdiscuzOptions.php:320
1358
  msgid "logged in"
1359
  msgstr "eingeloggt"
1360
 
1361
- #: options/class.WpdiscuzOptions.php:321
1362
  msgid "to post a comment."
1363
  msgstr "um ein Kommentar oder eine Antwort schreiben zu können."
1364
 
1365
- #: options/class.WpdiscuzOptions.php:322
1366
  #: options/phrases-layouts/phrases-comment.php:75
1367
  msgid "Vote Up"
1368
  msgstr "Gefällt mir"
1369
 
1370
- #: options/class.WpdiscuzOptions.php:323
1371
  #: options/phrases-layouts/phrases-comment.php:79
1372
  msgid "Vote Down"
1373
  msgstr "Ablehnen"
1374
 
1375
- #: options/class.WpdiscuzOptions.php:324
1376
  #: options/phrases-layouts/phrases-notification.php:58
1377
  msgid "Vote Counted"
1378
  msgstr "Gezählte Stimmen"
1379
 
1380
- #: options/class.WpdiscuzOptions.php:325
1381
  msgid "You've already voted for this comment"
1382
  msgstr "Es ist immer nur eine Bewertung erlaubt"
1383
 
1384
- #: options/class.WpdiscuzOptions.php:326
1385
  #: options/phrases-layouts/phrases-error.php:27
1386
  msgid "Voting Error"
1387
  msgstr "Bewertungs-Fehler"
1388
 
1389
- #: options/class.WpdiscuzOptions.php:327
1390
  msgid "You Must Be Logged In To Vote"
1391
  msgstr "Um Ihre Stimme abgeben zu können müssen Sie angemeldet sein"
1392
 
1393
- #: options/class.WpdiscuzOptions.php:328
1394
  msgid "You cannot vote for your comment"
1395
  msgstr "Eigene Kommentare können nicht bewertet werden"
1396
 
1397
- #: options/class.WpdiscuzOptions.php:329
1398
  msgid "You are not allowed to vote for this comment"
1399
  msgstr "Es ist nur eine Stimmvergabe möglich"
1400
 
1401
- #: options/class.WpdiscuzOptions.php:330
1402
  #: options/phrases-layouts/phrases-error.php:39
1403
  msgid "Invalid Captcha Code"
1404
  msgstr "Captcha Code ist falsch"
1405
 
1406
- #: options/class.WpdiscuzOptions.php:331
1407
  #: options/phrases-layouts/phrases-error.php:43
1408
  msgid "Some of field value is invalid"
1409
  msgstr "Nicht alle von Ihnen ausgefüllten Felder sind richtig"
1410
 
1411
- #: options/class.WpdiscuzOptions.php:332
1412
  #: options/phrases-layouts/phrases-notification.php:66
1413
  msgid "Awaiting for approval"
1414
  msgstr ""
1415
 
1416
- #: options/class.WpdiscuzOptions.php:333
1417
  msgid "Sorry, the comment was not updated"
1418
  msgstr ""
1419
  "Tut uns leid, aber dieser Kommentar konnte leider nicht aktualisiert werden"
1420
 
1421
- #: options/class.WpdiscuzOptions.php:334
1422
- msgid "Sorry, this comment no longer possible to edit"
1423
  msgstr ""
1424
- "Tut uns leid, aber dieser Kommentar kann leider nicht mehr aktualisiert "
1425
- "werden"
1426
 
1427
- #: options/class.WpdiscuzOptions.php:335
1428
  msgid "You've not made any changes"
1429
  msgstr "Es wurden keine Änderungen von Ihnen vorgenommen"
1430
 
1431
- #: options/class.WpdiscuzOptions.php:336
1432
  msgid "Save"
1433
  msgstr "Speichern"
1434
 
1435
- #: options/class.WpdiscuzOptions.php:337
1436
  msgid "Cancel"
1437
  msgstr "Abbrechen"
1438
 
1439
- #: options/class.WpdiscuzOptions.php:338
1440
  msgid "Input is too short"
1441
  msgstr "Diese Eingabe ist zu kurz"
1442
 
1443
- #: options/class.WpdiscuzOptions.php:339
1444
  msgid "Input is too long"
1445
  msgstr "Diese Eingabe ist zu lang"
1446
 
1447
- #: options/class.WpdiscuzOptions.php:340
1448
  msgid "Read more &raquo;"
1449
  msgstr "Weiterlesen &raquo;"
1450
 
1451
- #: options/class.WpdiscuzOptions.php:341
1452
  msgid "Anonymous"
1453
  msgstr "Anonym"
1454
 
1455
- #: options/class.WpdiscuzOptions.php:342
1456
  #: options/phrases-layouts/phrases-error.php:67
1457
  msgid "Please fill out required fields"
1458
  msgstr "Bitte füllen Sie die erforderlichen Felder aus"
1459
 
1460
- #: options/class.WpdiscuzOptions.php:343
1461
  #: options/phrases-layouts/phrases-social-login.php:11
1462
  msgid "Connect with"
1463
  msgstr "Anmelden mit"
1464
 
1465
- #: options/class.WpdiscuzOptions.php:344
1466
  #: options/phrases-layouts/phrases-notification.php:11
1467
  msgid "You're subscribed to"
1468
  msgstr "Sie sind angemeldet für"
1469
 
1470
- #: options/class.WpdiscuzOptions.php:345
1471
  msgid "Participate in this discussion via email"
1472
  msgstr "Folge dieser Diskussion per E-Mail"
1473
 
1474
- #: options/class.WpdiscuzOptions.php:346 utils/layouts/pagination.php:45
1475
  msgid "&rsaquo;"
1476
  msgstr "&rsaquo;"
1477
 
1478
- #: options/class.WpdiscuzOptions.php:347
1479
  msgid "Your comment is approved!"
1480
  msgstr "Ihr Kommentar wurde genehmigt!"
1481
 
1482
- #: options/class.WpdiscuzOptions.php:348
1483
  msgid ""
1484
  "Hi [COMMENT_AUTHOR],<br/><br/>your comment was approved.<br/><br/><a href="
1485
  "\"[COMMENT_URL]\">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]"
@@ -1487,51 +1509,51 @@ msgstr ""
1487
  "Hallo [COMMENT_AUTHOR],<br/><br/>>Ihr Kommentar wurde genehmigt.<br/><br/><a "
1488
  "href=\"[COMMENT_URL]\">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]"
1489
 
1490
- #: options/class.WpdiscuzOptions.php:349
1491
  msgid "Comments are closed."
1492
  msgstr "Kommentare sind geschlossen."
1493
 
1494
- #: options/class.WpdiscuzOptions.php:350
1495
  msgid "Stick this comment"
1496
  msgstr ""
1497
 
1498
- #: options/class.WpdiscuzOptions.php:351
1499
  #: options/phrases-layouts/phrases-comment.php:103
1500
  msgid "Stick"
1501
  msgstr "Anheften"
1502
 
1503
- #: options/class.WpdiscuzOptions.php:352
1504
  #: options/phrases-layouts/phrases-comment.php:107
1505
  msgid "Unstick"
1506
  msgstr "Abheften"
1507
 
1508
- #: options/class.WpdiscuzOptions.php:353
1509
  msgid "Sticky Comment Thread"
1510
  msgstr ""
1511
 
1512
- #: options/class.WpdiscuzOptions.php:354
1513
  msgid "Close this thread"
1514
  msgstr ""
1515
 
1516
- #: options/class.WpdiscuzOptions.php:355 options/html-dashboard.php:34
1517
  #: options/phrases-layouts/phrases-comment.php:119
1518
  msgid "Close"
1519
  msgstr "Schließen"
1520
 
1521
- #: options/class.WpdiscuzOptions.php:356
1522
  #: options/phrases-layouts/phrases-comment.php:123
1523
  msgid "Open"
1524
  msgstr "Offen"
1525
 
1526
- #: options/class.WpdiscuzOptions.php:357
1527
  msgid "Closed Comment Thread"
1528
  msgstr ""
1529
 
1530
- #: options/class.WpdiscuzOptions.php:358
1531
  msgid "I allow to create an account"
1532
  msgstr "Ich erlaube ein Konto zu erstellen"
1533
 
1534
- #: options/class.WpdiscuzOptions.php:359
1535
  msgid ""
1536
  "When you login first time using a Social Login button, we collect your "
1537
  "account public profile information shared by Social Login provider, based on "
@@ -1546,49 +1568,49 @@ msgstr ""
1546
  "automatisch ein Konto für Sie auf unserer Website zu erstellen. Sobald Ihr "
1547
  "Konto erstellt wurde, werden Sie bei diesem Konto angemeldet."
1548
 
1549
- #: options/class.WpdiscuzOptions.php:360
1550
  #: options/phrases-layouts/phrases-social-login.php:23
1551
  msgid "Disagree"
1552
  msgstr "Ablehnen"
1553
 
1554
- #: options/class.WpdiscuzOptions.php:361
1555
  #: options/phrases-layouts/phrases-social-login.php:27
1556
  msgid "Agree"
1557
  msgstr "Ich stimme zu"
1558
 
1559
- #: options/class.WpdiscuzOptions.php:362
1560
  #: options/phrases-layouts/phrases-user-settings.php:11
1561
  msgid "My content and settings"
1562
  msgstr "Meine Inhalte und Einstellungen"
1563
 
1564
- #: options/class.WpdiscuzOptions.php:363
1565
  #: options/phrases-layouts/phrases-user-settings.php:15
1566
  msgid "Activity"
1567
  msgstr "Aktivität"
1568
 
1569
- #: options/class.WpdiscuzOptions.php:364 options/html-dashboard.php:201
1570
  #: options/phrases-layouts/phrases-user-settings.php:19
1571
- #: utils/class.WpdiscuzHelperAjax.php:880
1572
  msgid "Subscriptions"
1573
  msgstr "Abonnements"
1574
 
1575
- #: options/class.WpdiscuzOptions.php:365
1576
  #: options/phrases-layouts/phrases-user-settings.php:23
1577
  msgid "Follows"
1578
  msgstr ""
1579
 
1580
- #: options/class.WpdiscuzOptions.php:366
1581
  #: options/phrases-layouts/phrases-user-settings.php:27
1582
  msgid "In response to:"
1583
  msgstr "Als Antwort auf:"
1584
 
1585
- #: options/class.WpdiscuzOptions.php:367 options/class.WpdiscuzOptions.php:373
1586
  #: options/phrases-layouts/phrases-user-settings.php:31
1587
  #: options/phrases-layouts/phrases-user-settings.php:55
1588
  msgid "Bulk management via email"
1589
  msgstr "Massen-Management per E-Mail"
1590
 
1591
- #: options/class.WpdiscuzOptions.php:368
1592
  msgid ""
1593
  "Click the button above to get an email with bulk delete and unsubscribe "
1594
  "links."
@@ -1596,40 +1618,40 @@ msgstr ""
1596
  "Klicken Sie auf die Schaltfläche oben, um eine E-Mail mit Links zum Löschen "
1597
  "und zur Massen-Abbestellung zu erhalten."
1598
 
1599
- #: options/class.WpdiscuzOptions.php:369
1600
  #: options/phrases-layouts/phrases-user-settings.php:39
1601
  msgid "No data found!"
1602
  msgstr "Keine Daten gefunden!"
1603
 
1604
- #: options/class.WpdiscuzOptions.php:370 options/class.WpdiscuzOptions.php:374
1605
  #: options/phrases-layouts/phrases-user-settings.php:43
1606
  #: options/phrases-layouts/phrases-user-settings.php:60
1607
  msgid "Delete all my comments"
1608
  msgstr "Löschen Sie alle meine Kommentare"
1609
 
1610
- #: options/class.WpdiscuzOptions.php:371
1611
  #: options/phrases-layouts/phrases-user-settings.php:47
1612
  msgid "Cancel all comment subscriptions"
1613
  msgstr "Brechen Sie alle Kommentarabonnements ab"
1614
 
1615
- #: options/class.WpdiscuzOptions.php:372
1616
  #: options/phrases-layouts/phrases-user-settings.php:51
1617
  msgid "Clear cookies with my personal data"
1618
  msgstr "Löschen Sie Cookies mit meinen persönlichen Daten"
1619
 
1620
- #: options/class.WpdiscuzOptions.php:375
1621
  msgid ""
1622
  "Please use this link to delete all your comments. Please note, that this "
1623
  "action cannot be undone.<br/><br/><a href=\"[DELETE_COMMENTS_URL]\" target="
1624
  "\"_blank\">Delete all my comments</a><br/><br/>"
1625
  msgstr ""
1626
 
1627
- #: options/class.WpdiscuzOptions.php:376
1628
  #: options/phrases-layouts/phrases-user-settings.php:85
1629
  msgid "Delete all my subscriptions"
1630
  msgstr "Alle meine Abonnements löschen"
1631
 
1632
- #: options/class.WpdiscuzOptions.php:377
1633
  msgid ""
1634
  "Please use this link to cancel all subscriptions for new comments. Please "
1635
  "note, that this action cannot be undone.<br/><br/><a href="
@@ -1637,119 +1659,119 @@ msgid ""
1637
  "subscriptions</a><br/><br/>"
1638
  msgstr ""
1639
 
1640
- #: options/class.WpdiscuzOptions.php:378
1641
  #: options/phrases-layouts/phrases-user-settings.php:110
1642
  msgid "Delete all my follows"
1643
  msgstr ""
1644
 
1645
- #: options/class.WpdiscuzOptions.php:379
1646
  msgid ""
1647
  "Please use this link to cancel all follows for new comments. Please note, "
1648
  "that this action cannot be undone.<br/><br/><a href=\"[DELETE_FOLLOWS_URL]\" "
1649
  "target=\"_blank\">Delete all my follows</a><br/><br/>"
1650
  msgstr ""
1651
 
1652
- #: options/class.WpdiscuzOptions.php:380
1653
  #: options/phrases-layouts/phrases-user-settings.php:134
1654
  msgid "subscribed to this comment"
1655
  msgstr "abonnierte diesen Kommentar"
1656
 
1657
- #: options/class.WpdiscuzOptions.php:381
1658
  #: options/phrases-layouts/phrases-user-settings.php:138
1659
  msgid "subscribed to my comments"
1660
  msgstr "abonnierte meine Kommentare"
1661
 
1662
- #: options/class.WpdiscuzOptions.php:382
1663
  #: options/phrases-layouts/phrases-user-settings.php:142
1664
  msgid "subscribed to all follow-up comments of this post"
1665
  msgstr "abonnierte alle Follow-up-Kommentare dieses Beitrags"
1666
 
1667
- #: options/class.WpdiscuzOptions.php:383
1668
  #: options/phrases-layouts/phrases-user-settings.php:146
1669
  msgid "Please check your email."
1670
  msgstr "Bitte überprüfen Sie Ihre E-Mail."
1671
 
1672
- #: options/class.WpdiscuzOptions.php:384
1673
  #: options/phrases-layouts/phrases-user-settings.php:150
1674
  msgid "Error : Can't send email."
1675
  msgstr "Fehler: E-Mail kann nicht gesendet werden."
1676
 
1677
- #: options/class.WpdiscuzOptions.php:385
1678
  #: options/phrases-layouts/phrases-user-settings.php:154
1679
  msgid "Are you sure you want to delete this comment?"
1680
  msgstr "Sind Sie sicher, dass Sie diesen Kommentar löschen wollen?"
1681
 
1682
- #: options/class.WpdiscuzOptions.php:386
1683
  #: options/phrases-layouts/phrases-user-settings.php:158
1684
  msgid "Are you sure you want to cancel this subscription?"
1685
  msgstr "Sind Sie sicher, dass Sie Ihr Abo kündigen wollen?"
1686
 
1687
- #: options/class.WpdiscuzOptions.php:387
1688
  #: options/phrases-layouts/phrases-user-settings.php:162
1689
  msgid "Are you sure you want to cancel this follow?"
1690
  msgstr ""
1691
 
1692
- #: options/class.WpdiscuzOptions.php:388
1693
  #: options/phrases-layouts/phrases-follow.php:11
1694
  msgid "Follow this user"
1695
  msgstr ""
1696
 
1697
- #: options/class.WpdiscuzOptions.php:389
1698
  #: options/phrases-layouts/phrases-follow.php:15
1699
  msgid "Unfollow this user"
1700
  msgstr ""
1701
 
1702
- #: options/class.WpdiscuzOptions.php:390
1703
  #: options/phrases-layouts/phrases-follow.php:19
1704
  msgid "You started following this comment author"
1705
  msgstr ""
1706
 
1707
- #: options/class.WpdiscuzOptions.php:391
1708
  msgid "You stopped following this comment author."
1709
  msgstr ""
1710
 
1711
- #: options/class.WpdiscuzOptions.php:392
1712
  msgid "Please check your email and confirm the user following request."
1713
  msgstr ""
1714
 
1715
- #: options/class.WpdiscuzOptions.php:393
1716
  msgid "Sorry, we couldn't send confirmation email."
1717
  msgstr ""
1718
 
1719
- #: options/class.WpdiscuzOptions.php:394
1720
  msgid "Please login to follow users."
1721
  msgstr ""
1722
 
1723
- #: options/class.WpdiscuzOptions.php:395
1724
  msgid "We are sorry, but you can't follow this user."
1725
  msgstr ""
1726
 
1727
- #: options/class.WpdiscuzOptions.php:396
1728
  msgid "Following failed. Please try again later."
1729
  msgstr ""
1730
 
1731
- #: options/class.WpdiscuzOptions.php:397
1732
  msgid "Confirm user following request"
1733
  msgstr ""
1734
 
1735
- #: options/class.WpdiscuzOptions.php:398
1736
  msgid "Cancel user following request"
1737
  msgstr ""
1738
 
1739
- #: options/class.WpdiscuzOptions.php:399
1740
  msgid "User Following Confirmation"
1741
  msgstr ""
1742
 
1743
- #: options/class.WpdiscuzOptions.php:400
1744
  msgid "Confirm Follow"
1745
  msgstr ""
1746
 
1747
- #: options/class.WpdiscuzOptions.php:400 options/class.WpdiscuzOptions.php:402
1748
- #: utils/class.WpdiscuzHelperEmail.php:419
1749
  msgid "Unfollow"
1750
  msgstr ""
1751
 
1752
- #: options/class.WpdiscuzOptions.php:400
1753
  msgid ""
1754
  "Hi, <br/> You just started following a new user. You'll get email "
1755
  "notification once new comment is posted by this user. <br/> Please click on "
@@ -1759,297 +1781,342 @@ msgid ""
1759
  "\"[CONFIRM_URL]\">"
1760
  msgstr ""
1761
 
1762
- #: options/class.WpdiscuzOptions.php:402
1763
  msgid ""
1764
- "Hi [FOLLOWER_NAME],<br/><br/> new comment have been posted by the "
1765
  "<em><strong>[COMMENT_AUTHOR]</em></strong> you are following<br/><br/><a "
1766
  "href=\"[COMMENT_URL]\">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]<br/><br/"
1767
  "><a href=\"[CANCEL_URL]\">"
1768
  msgstr ""
1769
 
1770
- #: options/class.WpdiscuzOptions.php:403
1771
  msgid "You have been mentioned in comment"
1772
  msgstr ""
1773
 
1774
- #: options/class.WpdiscuzOptions.php:404
1775
  msgid ""
1776
  "Hi [MENTIONED_USER_NAME]!<br/>You have been mentioned in a comment posted on "
1777
  "\"[POST_TITLE]\" post by [COMMENT_AUTHOR].<br/><br/>Comment URL: <a href="
1778
  "\"[COMMENT_URL]\">[COMMENT_URL]</a>"
1779
  msgstr ""
1780
 
1781
- #: options/class.WpdiscuzOptions.php:405
1782
  #: options/phrases-layouts/phrases-general.php:23
1783
  msgid "Copied to clipboard!"
1784
  msgstr ""
1785
 
1786
- #: options/class.WpdiscuzOptions.php:406
1787
  #: options/phrases-layouts/phrases-general.php:27
1788
  msgid "Select a part of text and ask readers for feedback (inline commenting)"
1789
  msgstr ""
1790
 
1791
- #: options/class.WpdiscuzOptions.php:407
1792
  #: options/phrases-layouts/phrases-general.php:31
1793
  msgid "Ask for Feedback"
1794
  msgstr ""
1795
 
1796
- #: options/class.WpdiscuzOptions.php:408
1797
  #: options/phrases-layouts/phrases-general.php:35
1798
  msgid "Please leave a feedback on this"
1799
  msgstr ""
1800
 
1801
- #: options/class.WpdiscuzOptions.php:409
1802
- #: options/phrases-layouts/phrases-general.php:39
1803
- msgid "Feedback on post content"
1804
- msgstr ""
1805
-
1806
- #: options/class.WpdiscuzOptions.php:410 utils/deactivation-reason-modal.php:66
1807
  msgid "Thank you for your feedback!"
1808
  msgstr "Vielen Dank für Ihr Feedback!"
1809
 
1810
- #: options/class.WpdiscuzOptions.php:411
1811
  msgid "Commenting is closed!"
1812
  msgstr ""
1813
 
1814
- #: options/class.WpdiscuzOptions.php:412
1815
  #: options/phrases-layouts/phrases-general.php:51
1816
  msgid "This is closed comment thread"
1817
  msgstr "Dies ist ein geschlossenes Kommentar Thema"
1818
 
1819
- #: options/class.WpdiscuzOptions.php:413
1820
  msgid "Would love your thoughts, please comment."
1821
  msgstr ""
1822
 
1823
- #: options/class.WpdiscuzOptions.php:414
1824
  #: options/phrases-layouts/phrases-general.php:59
1825
  msgid "vote"
1826
  msgstr ""
1827
 
1828
- #: options/class.WpdiscuzOptions.php:415
1829
  #: options/phrases-layouts/phrases-general.php:63
1830
  msgid "votes"
1831
  msgstr ""
1832
 
1833
- #: options/class.WpdiscuzOptions.php:416
1834
  #: options/phrases-layouts/phrases-general.php:67
1835
  msgid "Comment Link"
1836
  msgstr ""
1837
 
1838
- #: options/class.WpdiscuzOptions.php:417 options/class.WpdiscuzOptions.php:418
1839
  #, php-format
1840
  msgid "We are sorry, you are not allowed to comment more than %d time(s)!"
1841
  msgstr ""
1842
 
1843
- #: options/class.WpdiscuzOptions.php:419
1844
  #, php-format
1845
  msgid "We are sorry, you are not allowed to reply more than %d time(s)!"
1846
  msgstr ""
1847
 
1848
- #: options/class.WpdiscuzOptions.php:420
1849
  #: options/phrases-layouts/phrases-general.php:83
1850
  msgid "Your comment here..."
1851
  msgstr ""
1852
 
1853
- #: options/class.WpdiscuzOptions.php:421
1854
  #: options/phrases-layouts/phrases-general.php:87
1855
  msgid "Notify me via email when a new reply is posted"
1856
  msgstr ""
1857
 
1858
- #: options/class.WpdiscuzOptions.php:422
1859
  #: options/phrases-layouts/phrases-general.php:91
1860
  msgid "Your Name*"
1861
  msgstr ""
1862
 
1863
- #: options/class.WpdiscuzOptions.php:423
1864
  #: options/phrases-layouts/phrases-general.php:95
1865
  msgid "Your Email"
1866
  msgstr ""
1867
 
1868
- #: options/class.WpdiscuzOptions.php:424
1869
  #: options/phrases-layouts/phrases-general.php:99
1870
- msgid "View all comments"
1871
  msgstr ""
1872
 
1873
- #: options/class.WpdiscuzOptions.php:425
1874
  #: options/phrases-layouts/phrases-general.php:103
 
 
 
 
 
 
 
 
 
 
1875
  msgid "Unable to send an email"
1876
  msgstr "Leider kann aktuell keine E-Mail versendet werden"
1877
 
1878
- #: options/class.WpdiscuzOptions.php:426
1879
- #: options/phrases-layouts/phrases-general.php:107
1880
  msgid "Subscription Fault"
1881
  msgstr "Abonnementfehler"
1882
 
1883
- #: options/class.WpdiscuzOptions.php:427
1884
- #: options/phrases-layouts/phrases-general.php:111
1885
  msgid "Your comments have been deleted from database"
1886
  msgstr "Ihre Kommentare wurden aus der Datenbank gelöscht"
1887
 
1888
- #: options/class.WpdiscuzOptions.php:428
1889
- #: options/phrases-layouts/phrases-general.php:115
1890
  msgid "You cancel all your subscriptions successfully"
1891
  msgstr "Sie haben alle Ihre Abonnements erfolgreich storniert"
1892
 
1893
- #: options/class.WpdiscuzOptions.php:429
1894
- #: options/phrases-layouts/phrases-general.php:119
1895
  msgid "You cancel all your follows successfully"
1896
  msgstr ""
1897
 
1898
- #: options/class.WpdiscuzOptions.php:430
1899
- #: options/phrases-layouts/phrases-general.php:123
1900
  msgid "Follow has been confirmed successfully"
1901
  msgstr ""
1902
 
1903
- #: options/class.WpdiscuzOptions.php:431
1904
- #: options/phrases-layouts/phrases-general.php:127
1905
  msgid "Follow has been canceled successfully"
1906
  msgstr ""
1907
 
1908
- #: options/class.WpdiscuzOptions.php:432
1909
- #: options/phrases-layouts/phrases-general.php:131
1910
  msgid "Please login to comment"
1911
  msgstr ""
1912
 
1913
- #: options/class.WpdiscuzOptions.php:433
1914
- #: options/phrases-layouts/phrases-general.php:135
1915
  msgid "View Comments"
1916
  msgstr ""
1917
 
1918
- #: options/class.WpdiscuzOptions.php:434
1919
- #: options/phrases-layouts/phrases-general.php:139
 
1920
  msgid "Spoiler"
1921
  msgstr "Spoiler"
1922
 
1923
- #: options/class.WpdiscuzOptions.php:435
1924
- #: options/phrases-layouts/phrases-general.php:143
1925
  #, php-format
1926
  msgid "Last edited %1$s by %2$s"
1927
  msgstr ""
1928
 
1929
- #: options/class.WpdiscuzOptions.php:436
1930
- #: options/phrases-layouts/phrases-general.php:147
1931
  msgid "Reply to"
1932
  msgstr ""
1933
 
1934
- #: options/class.WpdiscuzOptions.php:437
1935
- #: options/phrases-layouts/phrases-general.php:151
1936
  msgid "Manage Comment"
1937
  msgstr ""
1938
 
1939
- #: options/class.WpdiscuzOptions.php:438
1940
- #: options/phrases-layouts/phrases-general.php:155
1941
- msgid "Insert Title"
1942
  msgstr ""
1943
 
1944
- #: options/class.WpdiscuzOptions.php:440
 
 
 
 
 
 
 
 
 
 
1945
  msgid "Are you sure you want to delete this attachment?"
1946
  msgstr ""
1947
 
1948
- #: options/class.WpdiscuzOptions.php:441
1949
  msgid "Not allowed file type"
1950
  msgstr ""
1951
 
1952
- #: options/class.WpdiscuzOptions.php:442
1953
  msgid "Maximum number of uploaded files is"
1954
  msgstr ""
1955
 
1956
- #: options/class.WpdiscuzOptions.php:443
1957
  msgid "Maximum upload file size is"
1958
  msgstr ""
1959
 
1960
- #: options/class.WpdiscuzOptions.php:444
1961
  msgid "Maximum post size is"
1962
  msgstr ""
1963
 
1964
- #: options/class.WpdiscuzOptions.php:445
1965
  #: options/phrases-layouts/phrases-media.php:31
1966
  msgid "Attach an image to this comment"
1967
  msgstr ""
1968
 
1969
- #: options/class.WpdiscuzOptions.php:446
1970
  #: options/phrases-layouts/phrases-media.php:35
1971
  msgid "Change the attached image"
1972
  msgstr ""
1973
 
1974
- #: options/class.WpdiscuzOptions.php:932
1975
  msgid ""
1976
  "File is empty. Please upload something more substantial. This error could "
1977
  "also be caused by uploads being disabled in your php.ini or by post_max_size "
1978
  "being defined as smaller than upload_max_filesize in php.ini."
1979
  msgstr ""
1980
 
1981
- #: options/class.WpdiscuzOptions.php:933
1982
  msgid "Post ID not exists"
1983
  msgstr ""
1984
 
1985
- #: options/class.WpdiscuzOptions.php:934
1986
  msgid "Sorry, uploading not allowed for this post"
1987
  msgstr ""
1988
 
1989
- #: options/class.WpdiscuzOptions.php:935
1990
  msgid "You do not have sufficient permissions to perform this action"
1991
  msgstr ""
1992
 
1993
- #: options/class.WpdiscuzOptions.php:1014
1994
- #: options/class.WpdiscuzOptions.php:1201
1995
- #: options/class.WpdiscuzOptions.php:1539
1996
  msgid "Hacker?"
1997
  msgstr "Hacker?"
1998
 
1999
- #: options/class.WpdiscuzOptions.php:1452
2000
  msgid "Settings updated"
2001
  msgstr "Einstellungen aktualisiert"
2002
 
2003
- #: options/class.WpdiscuzOptions.php:1459
2004
  msgid "Phrases updated"
2005
  msgstr "Phrasen aktualisiert"
2006
 
2007
- #: options/class.WpdiscuzOptions.php:1483
2008
  msgid "Options were backed up!"
2009
  msgstr "Optionen wurden gesichert!"
2010
 
2011
- #: options/class.WpdiscuzOptions.php:1485
2012
  msgid "Cannot back up the options!"
2013
  msgstr "Kann die Optionen nicht sichern!"
2014
 
2015
- #: options/class.WpdiscuzOptions.php:1496
2016
  msgid "Options Imported Successfully!"
2017
  msgstr "Optionen erfolgreich importiert!"
2018
 
2019
- #: options/class.WpdiscuzOptions.php:1498
2020
- #: options/class.WpdiscuzOptions.php:1528
2021
  msgid "Error occured! File content is empty or data is not valid!"
2022
  msgstr "Fehler aufgetreten! Dateiinhalt ist leer oder Daten sind nicht gültig!"
2023
 
2024
- #: options/class.WpdiscuzOptions.php:1501
2025
- #: options/class.WpdiscuzOptions.php:1531
2026
  msgid "Error occured! Can not get file content!"
2027
  msgstr "Fehler aufgetreten! Dateiinhalte können nicht abgerufen werden!"
2028
 
2029
- #: options/class.WpdiscuzOptions.php:1504
2030
- #: options/class.WpdiscuzOptions.php:1534
2031
  msgid "Error occured! Please choose file!"
2032
  msgstr "Fehler aufgetreten! Bitte Datei auswählen!"
2033
 
2034
- #: options/class.WpdiscuzOptions.php:1513
2035
  msgid "Phrases were backed up!"
2036
  msgstr ""
2037
 
2038
- #: options/class.WpdiscuzOptions.php:1515
2039
  msgid "Cannot back up the phrases!"
2040
  msgstr ""
2041
 
2042
- #: options/class.WpdiscuzOptions.php:1526
2043
  msgid "Phrases Imported Successfully!"
2044
  msgstr ""
2045
 
2046
- #: options/class.WpdiscuzOptions.php:1550
2047
  msgid ""
2048
  "All 16 addons in one bundle. Save 90% and get Unlimited Site License with "
2049
  "one year premium support."
2050
  msgstr ""
2051
 
2052
- #: options/class.WpdiscuzOptions.php:1551
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2053
  msgid ""
2054
  "Brings an ocean of emotions to your comments. It comes with an awesome smile "
2055
  "package."
@@ -2057,7 +2124,13 @@ msgstr ""
2057
  "Bringt ein Meer an Emotionen für Ihre Kommentare. Es kommt mit einem tollen "
2058
  "lächelnden Paket."
2059
 
2060
- #: options/class.WpdiscuzOptions.php:1552
 
 
 
 
 
 
2061
  msgid ""
2062
  "Extended information about comment author with Profile, Activity, Votes and "
2063
  "Subscriptions Tabs on pop-up window."
@@ -2065,7 +2138,15 @@ msgstr ""
2065
  "Erweiterte Informationen zum Kommentarautor mit den Registerkarten Profil, "
2066
  "Aktivität, Abstimmungen und Abonnements im Popup-Fenster."
2067
 
2068
- #: options/class.WpdiscuzOptions.php:1553
 
 
 
 
 
 
 
 
2069
  msgid ""
2070
  "Real-time online user checking, pop-up notification of new online users and "
2071
  "online/offline badges."
@@ -2073,7 +2154,7 @@ msgstr ""
2073
  "Echtzeit-Online-Benutzerprüfung, Popup-Benachrichtigung für neue Online-"
2074
  "Benutzer und Online- / Offline-Badges."
2075
 
2076
- #: options/class.WpdiscuzOptions.php:1554
2077
  msgid ""
2078
  "Allows to create private comment threads. Rich management options in "
2079
  "dashboard by user roles."
@@ -2081,7 +2162,7 @@ msgstr ""
2081
  "Ermöglicht das Erstellen privater Kommentar-Threads. Umfangreiche "
2082
  "Verwaltungsoptionen im Dashboard nach Benutzerrollen."
2083
 
2084
- #: options/class.WpdiscuzOptions.php:1555
2085
  msgid ""
2086
  "Total control over comment subscriptions. Full list, monitor, manage, "
2087
  "filter, unsubscribe, confirm..."
@@ -2089,7 +2170,7 @@ msgstr ""
2089
  "Gesamtsteuerung über Kommentarabonnements. Vollständige Liste, überwachen, "
2090
  "verwalten, filtern, abbestellen, bestätigen ..."
2091
 
2092
- #: options/class.WpdiscuzOptions.php:1556
2093
  msgid ""
2094
  "A full-fledged tool-kit for advertising in comment section of your website. "
2095
  "Separate banner and ad managment."
@@ -2097,7 +2178,7 @@ msgstr ""
2097
  "Ein vollwertiges Tool-Kit für die Werbung im Kommentarbereich Ihrer Website. "
2098
  "Separates Banner und Anzeigenmanagement."
2099
 
2100
- #: options/class.WpdiscuzOptions.php:1557
2101
  msgid ""
2102
  "Allows to mention comments and users in comment text using #comment-id and "
2103
  "@username tags."
@@ -2105,7 +2186,7 @@ msgstr ""
2105
  "Ermöglicht es, Kommentare und Benutzer in Kommentartext mit #comment-id und "
2106
  "@username-Tags zu erwähnen."
2107
 
2108
- #: options/class.WpdiscuzOptions.php:1558
2109
  msgid ""
2110
  "See comment likers and voters of each comment. Adds user reputation and "
2111
  "badges based on received likes."
@@ -2113,15 +2194,7 @@ msgstr ""
2113
  "Siehe Kommentar Likers und Wähler von jedem Kommentar. Fügt basierend auf "
2114
  "empfangenen Likes Nutzer-Reputation und -Ausweise hinzu."
2115
 
2116
- #: options/class.WpdiscuzOptions.php:1559
2117
- msgid ""
2118
- "Comment reporting tools. Auto-moderates comments based on number of flags "
2119
- "and dislikes."
2120
- msgstr ""
2121
- "Kommentarberichtswerkzeuge. Automatische Moderation von Kommentaren, "
2122
- "basierend auf der Anzahl von Markierungen (Flags) und Abneigungen (Dislikes)."
2123
-
2124
- #: options/class.WpdiscuzOptions.php:1560
2125
  msgid ""
2126
  "Adds a smart and intuitive AJAX \"Translate\" button with 60 language "
2127
  "options. Uses free translation API."
@@ -2129,7 +2202,7 @@ msgstr ""
2129
  "Fügt eine intelligente und intuitive AJAX-Schaltfläche \"Übersetzen\" mit 60 "
2130
  "Sprachoptionen hinzu. Verwendet kostenlose Übersetzungs-API."
2131
 
2132
- #: options/class.WpdiscuzOptions.php:1561
2133
  msgid ""
2134
  "AJAX powered front-end comment search. It starts searching while you type "
2135
  "search words. "
@@ -2137,7 +2210,7 @@ msgstr ""
2137
  "AJAX-basierte Front-End-Kommentarsuche. Sie beginnt zu suchen, während Sie "
2138
  "die Suchbegriffe eingeben. "
2139
 
2140
- #: options/class.WpdiscuzOptions.php:1562
2141
  msgid ""
2142
  "Most voted comments, Active comment threads, Most commented posts, Active "
2143
  "comment authors"
@@ -2145,31 +2218,7 @@ msgstr ""
2145
  "Die am häufigsten bewerteten Kommentare, Aktive Kommentarthemen, Meist "
2146
  "kommentierte Beiträge, Aktive Kommentarautoren"
2147
 
2148
- #: options/class.WpdiscuzOptions.php:1563
2149
- msgid ""
2150
- "All in one powerful yet simple admin toolkit to moderate comments on front-"
2151
- "end."
2152
- msgstr ""
2153
- "Alles in einem leistungsstarken und doch einfachen Admin-Toolkit zur "
2154
- "Moderation von Kommentaren im Frontend."
2155
-
2156
- #: options/class.WpdiscuzOptions.php:1564
2157
- msgid ""
2158
- "Extended comment attachment system. Allows to upload images, videos, audios "
2159
- "and other file types."
2160
- msgstr ""
2161
- "Erweitertes Kommentar-Anhangsystem. Ermöglicht das Hochladen von Bildern, "
2162
- "Videos, Audios und anderen Dateitypen."
2163
-
2164
- #: options/class.WpdiscuzOptions.php:1565
2165
- msgid ""
2166
- "Adds No CAPTCHA on all comment forms. Stops spam and bot comments with "
2167
- "Google reCAPTCHA"
2168
- msgstr ""
2169
- "Fügt allen Kommentarfeldern kein CAPTCHA hinzu. Stoppt Spam- und Bot-"
2170
- "Kommentare mit Google reCAPTCHA"
2171
-
2172
- #: options/class.WpdiscuzOptions.php:1566
2173
  msgid ""
2174
  "Integrates myCRED Badges and Ranks. Converts wpDiscuz comment votes/likes to "
2175
  "myCRED points. "
@@ -2177,11 +2226,11 @@ msgstr ""
2177
  "Integriert myCRED Badges und Ränge. Konvertiert wpDiscuz Kommentar-Votes / "
2178
  "Likes zu myCRED-Punkten. "
2179
 
2180
- #: options/class.WpdiscuzOptions.php:1572
2181
  msgid "Custom Comment Forms"
2182
  msgstr "Benutzerdefinierte Kommentar Formulare"
2183
 
2184
- #: options/class.WpdiscuzOptions.php:1573
2185
  msgid ""
2186
  "You can create custom comment forms with wpDiscuz. wpDiscuz 4 comes with "
2187
  "custom comment forms and fields. You can create custom comment forms for "
@@ -2194,22 +2243,22 @@ msgstr ""
2194
  "erstellen, jedes Formular kann mit verschiedenen Formularfeldern gefüllt "
2195
  "werden, zum Beispiel: Text, Dropdown, Bewertung, Checkboxen, etc ..."
2196
 
2197
- #: options/class.WpdiscuzOptions.php:1576
2198
  msgid "Emoticons"
2199
  msgstr "Emoticons"
2200
 
2201
- #: options/class.WpdiscuzOptions.php:1577
2202
  msgid ""
2203
  "You can add more emotions to your comments using wpDiscuz Emoticons addon."
2204
  msgstr ""
2205
  "Sie können mit dem wpDiscuz-Emoticons-Addon den Kommentaren mehr Emotionen "
2206
  "hinzufügen."
2207
 
2208
- #: options/class.WpdiscuzOptions.php:1580
2209
  msgid "Ads Manager"
2210
  msgstr "Werbe-Manager"
2211
 
2212
- #: options/class.WpdiscuzOptions.php:1581
2213
  msgid ""
2214
  "Increase your income using ad banners. Comment area is the most active "
2215
  "sections for advertising. wpDiscuz Ads Manager addon is designed to help you "
@@ -2220,11 +2269,11 @@ msgstr ""
2220
  "um Ihnen zu helfen, Banner hinzuzufügen und Anzeigen in diesem Bereich zu "
2221
  "steuern."
2222
 
2223
- #: options/class.WpdiscuzOptions.php:1584
2224
  msgid "User and Comment Mentioning"
2225
  msgstr "Benutzer- und Kommentarbenennung"
2226
 
2227
- #: options/class.WpdiscuzOptions.php:1585
2228
  msgid ""
2229
  "Using wpDiscuz User &amp; Comment Mentioning addon you can allow commenters "
2230
  "mention comments and users in comment text using #comment-id and @username "
@@ -2234,7 +2283,7 @@ msgstr ""
2234
  "ist es den Kommentatoren erlaubt, Kommentare und Benutzer im Kommentartext "
2235
  "mit den Tags #comment-id und @username zu erwähnen."
2236
 
2237
- #: options/class.WpdiscuzOptions.php:1589
2238
  msgid ""
2239
  "wpDiscuz Advanced Likers addon displays likers and voters of each comment. "
2240
  "Adds user reputation and badges based on received likes."
@@ -2243,7 +2292,7 @@ msgstr ""
2243
  "an. Fügt, basierend auf empfangenen Likes, Nutzer-Reputation und -Badges "
2244
  "hinzu."
2245
 
2246
- #: options/class.WpdiscuzOptions.php:1593
2247
  msgid ""
2248
  "Let your commenters help you to determine and remove spam comments. wpDiscuz "
2249
  "Report and Flagging addon comes with comment reporting tools. Automaticaly "
@@ -2254,11 +2303,11 @@ msgstr ""
2254
  "Kommentierung von Kommentaren. Automatische Moderation von Kommentaren "
2255
  "basierend auf der Anzahl von Flags und Dislikes."
2256
 
2257
- #: options/class.WpdiscuzOptions.php:1596
2258
  msgid "Comment Translate"
2259
  msgstr "Kommentar übersetzen"
2260
 
2261
- #: options/class.WpdiscuzOptions.php:1597
2262
  msgid ""
2263
  "In most cases the big part of your visitors are not a native speakers of "
2264
  "your language. Make your comments comprehensible for all visitors using "
@@ -2267,11 +2316,11 @@ msgid ""
2267
  "translation API."
2268
  msgstr ""
2269
 
2270
- #: options/class.WpdiscuzOptions.php:1600
2271
  msgid "Comment Search"
2272
  msgstr "Kommentarsuche"
2273
 
2274
- #: options/class.WpdiscuzOptions.php:1601
2275
  msgid ""
2276
  "You can let website visitor search in comments. It's always more attractive "
2277
  "to find a comment about something that interest you. Using wpDiscuz Comment "
@@ -2283,11 +2332,11 @@ msgstr ""
2283
  "wpDiscuz Comment Search Addon erhalten Sie ein nettes, AJAX-gestütztes "
2284
  "Frontend-Kommentar-Suchformular über der Kommentarliste."
2285
 
2286
- #: options/class.WpdiscuzOptions.php:1604
2287
  msgid "wpDiscuz Widgets"
2288
  msgstr "wpDiscuz Widgets"
2289
 
2290
- #: options/class.WpdiscuzOptions.php:1605
2291
  msgid ""
2292
  "More Comment Widgets! Most voted comments, Active comment threads, Most "
2293
  "commented posts, Active comment authors widgets are available in wpDiscuz "
@@ -2297,11 +2346,11 @@ msgstr ""
2297
  "Kommentarthemen\", \"Meist kommentierte Beiträge\", \"Aktive Kommentarautoren"
2298
  "\" Widgets sind in wpDiscuz Widgets Addon verfügbar"
2299
 
2300
- #: options/class.WpdiscuzOptions.php:1608
2301
  msgid "Front-end Moderation"
2302
  msgstr "Frontend-Moderation"
2303
 
2304
- #: options/class.WpdiscuzOptions.php:1609
2305
  msgid ""
2306
  "You can moderate comments on front-end using all in one powerful yet simple "
2307
  "wpDiscuz Frontend Moderation addon."
@@ -2309,7 +2358,7 @@ msgstr ""
2309
  "Sie können Kommentare am Front-End moderieren, indem Sie das alles-in-einem "
2310
  "leistungsstarke und einfache wpDiscuz-Frontend-Moderation-Addon verwenden."
2311
 
2312
- #: options/class.WpdiscuzOptions.php:1613
2313
  msgid ""
2314
  "You can let website visitors attach images and files to comments and embed "
2315
  "video/audio content using wpDiscuz Media Uploader addon."
@@ -2318,11 +2367,11 @@ msgstr ""
2318
  "Kommentare und das Einbetten von Video- / Audioinhalten mithilfe des Add-Ins "
2319
  "wpDiscuz Media Uploader ermöglichen."
2320
 
2321
- #: options/class.WpdiscuzOptions.php:1616
2322
  msgid "Google ReCaptcha"
2323
  msgstr "Google ReCaptcha"
2324
 
2325
- #: options/class.WpdiscuzOptions.php:1617
2326
  msgid ""
2327
  "Advanced spam protection with wpDiscuz Google reCAPTCHA addon. This addon "
2328
  "adds No-CAPTCHA reCAPTCHA on all comment forms. Stops spam and bot comments."
@@ -2331,85 +2380,90 @@ msgstr ""
2331
  "fügt No-CAPTCHA reCAPTCHA für alle Kommentarformen hinzu. Stoppt Spam- und "
2332
  "Bot-Kommentare."
2333
 
2334
- #: options/class.WpdiscuzOptions.php:1633
2335
  msgid "Finally wpDiscuz Addons Bundle is ready for You!"
2336
  msgstr ""
2337
 
2338
- #: options/class.WpdiscuzOptions.php:1643
2339
  msgid "View Addons Bundle"
2340
  msgstr ""
2341
 
2342
- #: options/class.WpdiscuzOptions.php:1649
2343
  msgid "Go to wpDiscuz Addons subMenu"
2344
  msgstr "Gehen Sie zum WpDiscuz Addons Untermenü"
2345
 
2346
- #: options/class.WpdiscuzOptions.php:1731
2347
  msgid "Please complete required steps to start using wpDiscuz 7"
2348
  msgstr ""
2349
 
2350
- #: options/class.WpdiscuzOptions.php:1732
2351
  msgid "Go to Update Wizard &raquo;"
2352
  msgstr ""
2353
 
2354
- #: options/class.WpdiscuzOptions.php:1732
2355
  msgid "Go to Installation Wizard &raquo;"
2356
  msgstr ""
2357
 
2358
- #: options/class.WpdiscuzOptions.php:1741
2359
  msgid "Jetpack Comments are active."
2360
  msgstr ""
2361
 
2362
- #: options/class.WpdiscuzOptions.php:1750
2363
  msgid "Comment votes meta data need to be regenerated"
2364
  msgstr ""
2365
 
2366
- #: options/class.WpdiscuzOptions.php:1751 options/html-tools.php:20
2367
- #: options/tools-layouts/regenerate-vote-metas.php:10
2368
- #: options/tools-layouts/regenerate-vote-metas.php:18
2369
  msgid "Regenerate Vote Metas"
2370
  msgstr ""
2371
 
2372
- #: options/class.WpdiscuzOptions.php:1760
2373
  msgid "Closed Comments data need be regenerated"
2374
  msgstr ""
2375
 
2376
- #: options/class.WpdiscuzOptions.php:1761 options/html-tools.php:21
2377
- #: options/tools-layouts/regenerate-closed-comments.php:10
2378
- #: options/tools-layouts/regenerate-closed-comments.php:18
2379
  msgid "Regenerate Closed Comments"
2380
  msgstr ""
2381
 
2382
- #: options/class.WpdiscuzOptions.php:1770
2383
  msgid "Comments votes data need to be regenerated"
2384
  msgstr ""
2385
 
2386
- #: options/class.WpdiscuzOptions.php:1771 options/html-tools.php:22
2387
- #: options/tools-layouts/regenerate-vote-data.php:10
2388
- #: options/tools-layouts/regenerate-vote-data.php:18
2389
  msgid "Regenerate Vote Data"
2390
  msgstr ""
2391
 
2392
- #: options/class.WpdiscuzOptions.php:1780
2393
  msgid ""
2394
  "Please synchronize comment data for the best performance and fastest "
2395
  "experience"
2396
  msgstr ""
2397
 
2398
- #: options/class.WpdiscuzOptions.php:1781
2399
- #: options/tools-layouts/sync-commenter-data.php:8
2400
- #: options/tools-layouts/sync-commenter-data.php:16
2401
  msgid "Synchronize Commenters Data"
2402
  msgstr ""
2403
 
2404
- #: options/class.WpdiscuzOptions.php:1826
 
 
 
 
 
 
 
 
 
2405
  msgid "Comment Form Settings"
2406
  msgstr "Kommentarformular Einstellungen"
2407
 
2408
- #: options/class.WpdiscuzOptions.php:1834
2409
  msgid "Keep guest commenter credentials in browser cookies for X days"
2410
  msgstr ""
2411
 
2412
- #: options/class.WpdiscuzOptions.php:1836
2413
  msgid ""
2414
  "wpDiscuz uses WordPress functions to keep guest Name, Email and Website "
2415
  "information in cookies. Those are used to fill according fields of comment "
@@ -2417,74 +2471,125 @@ msgid ""
2417
  "Set this option value 0 to clear those data when user closes browser."
2418
  msgstr ""
2419
 
2420
- #: options/class.WpdiscuzOptions.php:1841
2421
  msgid "Comment author name length (for guests only)"
2422
  msgstr "Länge des Kommentar Autorennamens (nur für Gäste)"
2423
 
2424
- #: options/class.WpdiscuzOptions.php:1848
 
 
 
 
 
 
 
 
 
 
 
2425
  msgid "Enable drop animation for comment form and subscription bar"
2426
  msgstr ""
2427
 
2428
- #: options/class.WpdiscuzOptions.php:1865
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2429
  msgid "Site Key"
2430
  msgstr ""
2431
 
2432
- #: options/class.WpdiscuzOptions.php:1872
 
2433
  msgid "Secret Key"
2434
  msgstr ""
2435
 
2436
- #: options/class.WpdiscuzOptions.php:1879
2437
  msgid "reCAPTCHA Theme"
2438
  msgstr ""
2439
 
2440
- #: options/class.WpdiscuzOptions.php:1886
2441
  msgid "reCAPTCHA Language"
2442
  msgstr ""
2443
 
2444
- #: options/class.WpdiscuzOptions.php:1893
2445
  msgid "Request Method"
2446
  msgstr ""
2447
 
2448
- #: options/class.WpdiscuzOptions.php:1900
2449
  msgid "Enable for Guests"
2450
  msgstr ""
2451
 
2452
- #: options/class.WpdiscuzOptions.php:1907
2453
  msgid "Enable for Logged-in Users"
2454
  msgstr ""
2455
 
2456
- #: options/class.WpdiscuzOptions.php:1914
2457
  msgid "Display on Subscription Form"
2458
  msgstr ""
2459
 
2460
- #: options/class.WpdiscuzOptions.php:1924
2461
  msgid "User Authorization and Profile Data"
2462
  msgstr ""
2463
 
2464
- #: options/class.WpdiscuzOptions.php:1932
2465
  msgid "Display logged-in user name and logout link on comment form"
2466
  msgstr ""
2467
 
2468
- #: options/class.WpdiscuzOptions.php:1939
2469
  msgid "Show \"Login\" link on comment form"
2470
  msgstr ""
2471
 
2472
- #: options/class.WpdiscuzOptions.php:1946
2473
  msgid "\"My Content and Settings\" button"
2474
  msgstr ""
2475
 
2476
- #: options/class.WpdiscuzOptions.php:1948
2477
  msgid ""
2478
  "The \"My Content & Settings\" button is located in comment filter panel on "
2479
  "top of all comments, right after the [X Comments] phrase. This button opens "
2480
  "a pop-up window allowing commenters manage their content and settings."
2481
  msgstr ""
2482
 
2483
- #: options/class.WpdiscuzOptions.php:1953
2484
  msgid "Enable Profiles URL"
2485
  msgstr ""
2486
 
2487
- #: options/class.WpdiscuzOptions.php:1955
2488
  #, php-format
2489
  msgid ""
2490
  "By default wpDiscuz adds a link with comment author avatar to the author "
@@ -2494,13 +2599,17 @@ msgid ""
2494
  "profile builder plugins."
2495
  msgstr ""
2496
 
2497
- #: options/class.WpdiscuzOptions.php:1960
 
 
 
 
2498
  msgid "Use guest email to detect registered account"
2499
  msgstr ""
2500
  "Benutzen Sie die E-Mail Adresse des Gastes, um einen registrierten Account "
2501
  "zu erkennen"
2502
 
2503
- #: options/class.WpdiscuzOptions.php:1962
2504
  msgid ""
2505
  "Sometimes registered users comment as guest using the same email address. "
2506
  "wpDiscuz can detect the account role using guest email and display commenter "
@@ -2510,15 +2619,19 @@ msgstr ""
2510
  "Adresse an. wpDiscuz kann die Kontorolle mithilfe der Gast E-Mail erkennen "
2511
  "und das Kommentar Label korrekt anzeigen."
2512
 
2513
- #: options/class.WpdiscuzOptions.php:1969
 
 
 
 
2514
  msgid "Social Login and Share"
2515
  msgstr ""
2516
 
2517
- #: options/class.WpdiscuzOptions.php:1977
2518
  msgid "User agreement prior to a social login action"
2519
  msgstr "Benutzervereinbarung vor einer Social Login Aktion"
2520
 
2521
- #: options/class.WpdiscuzOptions.php:1979
2522
  msgid ""
2523
  "If this option is enabled, all Social Login buttons become not-clickable "
2524
  "until user accept automatic account creation process based on his/her Social "
@@ -2535,7 +2648,7 @@ msgstr ""
2535
  "Anmeldevorgang auf eine Schaltfläche für die Social-Anmeldung klickt. Dieser "
2536
  "zusätzliche Schritt wird hinzugefügt, um der DSGVO zu entsprechen"
2537
 
2538
- #: options/class.WpdiscuzOptions.php:1979
2539
  msgid ""
2540
  "The note text and the label of this checkbox can be managed in Comments > "
2541
  "Phrases > Social Login tab."
@@ -2543,134 +2656,238 @@ msgstr ""
2543
  "Der Notizentext und die Beschriftung dieses Kontrollkästchens können in den "
2544
  "\"Kommentaren > Phrasen > Social-Login-Tab\" verwaltet werden."
2545
 
2546
- #: options/class.WpdiscuzOptions.php:1984
2547
  msgid "Display social login buttons on reply forms"
2548
  msgstr "Social Login Buttons in Antwortformularen anzeigen"
2549
 
2550
- #: options/class.WpdiscuzOptions.php:1991
 
 
 
 
2551
  msgid "Facebook Login Button"
2552
  msgstr ""
2553
 
2554
- #: options/class.WpdiscuzOptions.php:1998
2555
  msgid "Use Facebook OAuth2"
2556
  msgstr ""
2557
 
2558
- #: options/class.WpdiscuzOptions.php:2000
2559
  msgid ""
2560
  "If you enable this option, please make sure you've inserted the Valid OAuth "
2561
  "Redirect URI in according field when you create Facebook Login App. Your "
2562
  "website OAuth Redirect URI is displayed above."
2563
  msgstr ""
2564
 
2565
- #: options/class.WpdiscuzOptions.php:2005
2566
  msgid "Facebook Share Button"
2567
  msgstr ""
2568
 
2569
- #: options/class.WpdiscuzOptions.php:2012
2570
  msgid "Facebook Application ID"
2571
  msgstr ""
2572
 
2573
- #: options/class.WpdiscuzOptions.php:2019
2574
  msgid "Facebook Application Secret"
2575
  msgstr ""
2576
 
2577
- #: options/class.WpdiscuzOptions.php:2026
2578
  msgid "Twitter Login Button"
2579
  msgstr ""
2580
 
2581
- #: options/class.WpdiscuzOptions.php:2033
2582
  msgid "Twitter Share Button"
2583
  msgstr ""
2584
 
2585
- #: options/class.WpdiscuzOptions.php:2040
2586
  msgid "Twitter - Consumer Key (API Key)"
2587
  msgstr ""
2588
 
2589
- #: options/class.WpdiscuzOptions.php:2047
2590
  msgid "Twitter - Consumer Secret (API Secret)"
2591
  msgstr ""
2592
 
2593
- #: options/class.WpdiscuzOptions.php:2054
2594
  msgid "Google Login Button"
2595
  msgstr ""
2596
 
2597
- #: options/class.WpdiscuzOptions.php:2061
2598
  msgid "Google Client ID"
2599
  msgstr ""
2600
 
2601
- #: options/class.WpdiscuzOptions.php:2068
2602
  msgid "Google Client Secret"
2603
  msgstr ""
2604
 
2605
- #: options/class.WpdiscuzOptions.php:2075
2606
  msgid "Disqus Login Button"
2607
  msgstr ""
2608
 
2609
- #: options/class.WpdiscuzOptions.php:2082
2610
  msgid "Disqus Public Key"
2611
  msgstr ""
2612
 
2613
- #: options/class.WpdiscuzOptions.php:2089
2614
  msgid "Disqus Secret Key"
2615
  msgstr ""
2616
 
2617
- #: options/class.WpdiscuzOptions.php:2096
2618
  msgid "WordPress Login Button"
2619
  msgstr ""
2620
 
2621
- #: options/class.WpdiscuzOptions.php:2103
2622
  msgid "WordPress Client ID"
2623
  msgstr ""
2624
 
2625
- #: options/class.WpdiscuzOptions.php:2110
2626
  msgid "WordPress Client Secret"
2627
  msgstr ""
2628
 
2629
- #: options/class.WpdiscuzOptions.php:2117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2630
  msgid "VK Login Button"
2631
  msgstr ""
2632
 
2633
- #: options/class.WpdiscuzOptions.php:2124
2634
  msgid "VK Share Button"
2635
  msgstr ""
2636
 
2637
- #: options/class.WpdiscuzOptions.php:2131
2638
  msgid "VK Application ID"
2639
  msgstr ""
2640
 
2641
- #: options/class.WpdiscuzOptions.php:2138
2642
  msgid "VK Secure Key"
2643
  msgstr ""
2644
 
2645
- #: options/class.WpdiscuzOptions.php:2145
2646
  msgid "OK Login Button"
2647
  msgstr ""
2648
 
2649
- #: options/class.WpdiscuzOptions.php:2152
2650
  msgid "OK Share Button"
2651
  msgstr ""
2652
 
2653
- #: options/class.WpdiscuzOptions.php:2159
2654
  msgid "OK Application ID"
2655
  msgstr ""
2656
 
2657
- #: options/class.WpdiscuzOptions.php:2166
2658
  msgid "OK Application Key"
2659
  msgstr ""
2660
 
2661
- #: options/class.WpdiscuzOptions.php:2173
2662
  msgid "OK Application Secret"
2663
  msgstr ""
2664
 
2665
- #: options/class.WpdiscuzOptions.php:2182
2666
  msgid "Article and Comment Rating"
2667
  msgstr ""
2668
 
2669
- #: options/class.WpdiscuzOptions.php:2190
2670
  msgid "Enable Aggregate Rating Schema"
2671
  msgstr ""
2672
 
2673
- #: options/class.WpdiscuzOptions.php:2192
2674
  msgid ""
2675
  "Aggregate rating schema is a code integrated with post rating HTML. This "
2676
  "enables Google to feature your post ratings and attract customers with it. "
@@ -2679,23 +2896,35 @@ msgid ""
2679
  "results page, those sites caught people attention first."
2680
  msgstr ""
2681
 
2682
- #: options/class.WpdiscuzOptions.php:2197
 
 
 
 
 
 
 
 
 
 
 
 
2683
  msgid "Display Ratings"
2684
  msgstr "Bewertungen anzeigen"
2685
 
2686
- #: options/class.WpdiscuzOptions.php:2204
2687
  msgid "Rating Star Colors"
2688
  msgstr "Farben der Bewertungssterne"
2689
 
2690
- #: options/class.WpdiscuzOptions.php:2213
2691
  msgid "Comment Thread Displaying"
2692
  msgstr ""
2693
 
2694
- #: options/class.WpdiscuzOptions.php:2221
2695
  msgid "Comment List Loading Type"
2696
  msgstr ""
2697
 
2698
- #: options/class.WpdiscuzOptions.php:2223
2699
  msgid ""
2700
  "Keep your page loading speed high by disabling comments loading. Once the "
2701
  "page loading is complete, this option will initiate AJAX request and load "
@@ -2704,12 +2933,12 @@ msgid ""
2704
  "whenever they want."
2705
  msgstr ""
2706
 
2707
- #: options/class.WpdiscuzOptions.php:2228
2708
  msgid "Display only parent comments and <u>view replies &or;</u> button"
2709
  msgstr ""
2710
  "Zeigen Sie nur übergeordnete Kommentare und <u>Antworten anzeigen &or;</u> an"
2711
 
2712
- #: options/class.WpdiscuzOptions.php:2230
2713
  msgid ""
2714
  "If this option is enabled only parent comments will be displayed. This "
2715
  "increases page load speed and keeps pages light. If visitor wants to read "
@@ -2717,19 +2946,19 @@ msgid ""
2717
  "all parent comments which have replies."
2718
  msgstr ""
2719
 
2720
- #: options/class.WpdiscuzOptions.php:2235
2721
  msgid "Display \"Most Reacted Comments\" filter button"
2722
  msgstr ""
2723
 
2724
- #: options/class.WpdiscuzOptions.php:2242
2725
  msgid "Display \"Hottest Comment Threads\" filter button"
2726
  msgstr ""
2727
 
2728
- #: options/class.WpdiscuzOptions.php:2249
2729
  msgid "Display Comment Sorting Options"
2730
  msgstr ""
2731
 
2732
- #: options/class.WpdiscuzOptions.php:2251
2733
  msgid ""
2734
  "This option enables comment sorting buttons (newest | oldest | most voted). "
2735
  "Sorting buttons are not available for the default comments pagination type "
@@ -2737,25 +2966,25 @@ msgid ""
2737
  "types."
2738
  msgstr ""
2739
 
2740
- #: options/class.WpdiscuzOptions.php:2256
2741
  msgid "Set comments order to \"Most voted\" by default"
2742
  msgstr ""
2743
 
2744
- #: options/class.WpdiscuzOptions.php:2263
2745
  msgid "Reverse Child Comments Order"
2746
  msgstr ""
2747
 
2748
- #: options/class.WpdiscuzOptions.php:2265
2749
  msgid ""
2750
  "By default child comments are sorted by oldest on top. Using this option you "
2751
  "can revers child comments order and sort them by newest on top."
2752
  msgstr ""
2753
 
2754
- #: options/class.WpdiscuzOptions.php:2270
2755
  msgid "Comments Pagination Type"
2756
  msgstr ""
2757
 
2758
- #: options/class.WpdiscuzOptions.php:2272
2759
  msgid ""
2760
  "You can manage the number of comments for [Load more] option in Settings > "
2761
  "Discussion page, using \"Break comments into pages with [X] top level "
@@ -2763,116 +2992,138 @@ msgid ""
2763
  "you should enable the checkbox on beginning of the same option."
2764
  msgstr ""
2765
 
2766
- #: options/class.WpdiscuzOptions.php:2277
2767
  msgid "Highlight Unread Comments"
2768
  msgstr ""
2769
 
2770
- #: options/class.WpdiscuzOptions.php:2286
 
 
 
 
 
 
 
 
2771
  msgid "Comment Thread Features"
2772
  msgstr ""
2773
 
2774
- #: options/class.WpdiscuzOptions.php:2294
2775
  msgid "Show Comment Link"
2776
  msgstr ""
2777
 
2778
- #: options/class.WpdiscuzOptions.php:2301
2779
  msgid "Show Comment Date"
2780
  msgstr ""
2781
 
2782
- #: options/class.WpdiscuzOptions.php:2308
2783
  msgid "Show Voting Buttons"
2784
  msgstr ""
2785
 
2786
- #: options/class.WpdiscuzOptions.php:2315
2787
  msgid "Voting Buttons Icon"
2788
  msgstr ""
2789
 
2790
- #: options/class.WpdiscuzOptions.php:2322
2791
  msgid "Comment Voting Result Mode"
2792
  msgstr ""
2793
 
2794
- #: options/class.WpdiscuzOptions.php:2329
 
 
 
 
2795
  msgid "Allow Guests to Vote for Comments"
2796
  msgstr ""
2797
 
2798
- #: options/class.WpdiscuzOptions.php:2336
2799
  msgid "Highlight Voting Buttons for Voters"
2800
  msgstr ""
2801
 
2802
- #: options/class.WpdiscuzOptions.php:2338
2803
  msgid "This allows users to see own voted comments."
2804
  msgstr ""
2805
 
2806
- #: options/class.WpdiscuzOptions.php:2343
2807
  msgid "Display Avatars"
2808
  msgstr ""
2809
 
2810
- #: options/class.WpdiscuzOptions.php:2345
2811
  msgid ""
2812
  "This option only related to avatars in comment system. For sitewide avatar "
2813
  "control, please use WordPress native avatar settings in Dashboard > Settings "
2814
  "> Discussions admin page."
2815
  msgstr ""
2816
 
2817
- #: options/class.WpdiscuzOptions.php:2350
2818
  msgid "Default Avatar Source URL for Users"
2819
  msgstr ""
2820
 
2821
- #: options/class.WpdiscuzOptions.php:2357
2822
  msgid "Default Avatar Source URL for Guests"
2823
  msgstr ""
2824
 
2825
- #: options/class.WpdiscuzOptions.php:2364
2826
  msgid "Enable Sitewide Usage of Default Avatars"
2827
  msgstr ""
2828
 
2829
- #: options/class.WpdiscuzOptions.php:2373
2830
  msgid "Styles and Colors"
2831
  msgstr ""
2832
 
2833
- #: options/class.WpdiscuzOptions.php:2381
2834
  msgid "Comment Form and Comment List Style"
2835
  msgstr "Kommentarformular und Kommentarliste Style"
2836
 
2837
- #: options/class.WpdiscuzOptions.php:2383
2838
  msgid ""
2839
- "Starting from wpDiscuz 7 you can choose the Off option of comment style. "
2840
  "It'll remove most of wpDiscuz CSS code and allow you write your own CSS for "
2841
  "custom comment styling."
2842
  msgstr ""
2843
 
2844
- #: options/class.WpdiscuzOptions.php:2388
2845
- msgid "Colors"
2846
- msgstr "Farben"
 
 
 
 
 
 
 
 
 
 
2847
 
2848
- #: options/class.WpdiscuzOptions.php:2395
2849
  msgid "Comment Text Size"
2850
  msgstr ""
2851
 
2852
- #: options/class.WpdiscuzOptions.php:2402
2853
  msgid "Load Font Awesome css lib"
2854
  msgstr ""
2855
 
2856
- #: options/class.WpdiscuzOptions.php:2404
2857
  msgid ""
2858
  "IMPORTANT: In case your theme uses old versions of Font-Awesome lib, you "
2859
  "should not disable this this option. The theme old version doesn't support "
2860
  "new version icons, thus some wpDiscuz icons might be lost."
2861
  msgstr ""
2862
 
2863
- #: options/class.WpdiscuzOptions.php:2409
2864
  msgid "Custom CSS Code"
2865
  msgstr "Eigenes CSS"
2866
 
2867
- #: options/class.WpdiscuzOptions.php:2418
2868
  msgid "Subscription and User Following"
2869
  msgstr ""
2870
 
2871
- #: options/class.WpdiscuzOptions.php:2426
2872
  msgid "Enable User Mentioning"
2873
  msgstr ""
2874
 
2875
- #: options/class.WpdiscuzOptions.php:2428
2876
  #, php-format
2877
  msgid ""
2878
  "This option allows mentioning users in comments using @nickname method. "
@@ -2881,32 +3132,32 @@ msgid ""
2881
  "comments by #CommentID, we recommend the %s addon."
2882
  msgstr ""
2883
 
2884
- #: options/class.WpdiscuzOptions.php:2433
2885
  msgid "Send E-Mail Notification to Mentioned Users"
2886
  msgstr ""
2887
 
2888
- #: options/class.WpdiscuzOptions.php:2440
2889
  msgid "Notify comment author once comment is approved"
2890
  msgstr "Kommentarautor benachrichtigen, sobald der Kommentar genehmigt wurde"
2891
 
2892
- #: options/class.WpdiscuzOptions.php:2447
2893
  msgid "Enable subscription confirmation for registered users"
2894
  msgstr ""
2895
 
2896
- #: options/class.WpdiscuzOptions.php:2454
2897
  msgid "Enable subscription confirmation for guests"
2898
  msgstr ""
2899
 
2900
- #: options/class.WpdiscuzOptions.php:2461
2901
  msgid "Subscription types in Subscription Bar drop-down"
2902
  msgstr ""
2903
 
2904
- #: options/class.WpdiscuzOptions.php:2468
2905
  msgid ""
2906
  "Display \"Notify of new replies to this comment\" option in comment form"
2907
  msgstr ""
2908
 
2909
- #: options/class.WpdiscuzOptions.php:2470
2910
  msgid ""
2911
  "wpDiscuz is the only comment plugin which allows you to subscribe to certain "
2912
  "comment replies. This option is located above [Post Comment] button in "
@@ -2918,17 +3169,17 @@ msgstr ""
2918
  "der [Kommentar veröffentlichen] Schaltfläche im Kommentar-Formular. Um die "
2919
  "Funktion zu deaktivieren kannst du hier den Options-Haken entfernen."
2920
 
2921
- #: options/class.WpdiscuzOptions.php:2475
2922
  msgid ""
2923
  "Keep checked the \"Notify of new replies to this comment\" option by default"
2924
  msgstr ""
2925
 
2926
- #: options/class.WpdiscuzOptions.php:2482
2927
  msgid "Use Postmatic for subscriptions and commenting by email"
2928
  msgstr ""
2929
  "Verwenden Sie Postmatic zu Benachrichtigungen bei neuen Kommentare per E-Mail"
2930
 
2931
- #: options/class.WpdiscuzOptions.php:2484
2932
  msgid ""
2933
  "Postmatic allows your users subscribe to comments. Instead of just being "
2934
  "notified, they add a reply right from their inbox."
@@ -2937,70 +3188,70 @@ msgstr ""
2937
  "benachrichtigen zu lassen. Zusätzlich können diese direkt im Posteingang "
2938
  "beantwortet werden."
2939
 
2940
- #: options/class.WpdiscuzOptions.php:2489
2941
  msgid "Enable User Following Feature"
2942
  msgstr ""
2943
 
2944
- #: options/class.WpdiscuzOptions.php:2496
2945
  msgid "Follow users without email confirmation"
2946
  msgstr ""
2947
 
2948
- #: options/class.WpdiscuzOptions.php:2505
2949
  msgid "User Labels and Badges"
2950
  msgstr ""
2951
 
2952
- #: options/class.WpdiscuzOptions.php:2513
2953
  msgid "Display Comment Author Labels"
2954
  msgstr ""
2955
 
2956
- #: options/class.WpdiscuzOptions.php:2520
2957
  msgid "Comment Author Label Colors by User Role"
2958
  msgstr ""
2959
 
2960
- #: options/class.WpdiscuzOptions.php:2529
2961
  msgid "Comment Moderation"
2962
  msgstr ""
2963
 
2964
- #: options/class.WpdiscuzOptions.php:2537
2965
  msgid "Edit Button - Allow comment editing for"
2966
  msgstr ""
2967
 
2968
- #: options/class.WpdiscuzOptions.php:2544
2969
  msgid "Enable editing for replied comments"
2970
  msgstr ""
2971
 
2972
- #: options/class.WpdiscuzOptions.php:2551
2973
  msgid "Display comment editing Information"
2974
  msgstr ""
2975
 
2976
- #: options/class.WpdiscuzOptions.php:2558
2977
  msgid "Stick Button - Stick a comment thread"
2978
  msgstr ""
2979
 
2980
- #: options/class.WpdiscuzOptions.php:2565
2981
  msgid "Close Button - Close a comment thread"
2982
  msgstr ""
2983
 
2984
- #: options/class.WpdiscuzOptions.php:2572
2985
  msgid "Limit Comments per User"
2986
  msgstr ""
2987
 
2988
- #: options/class.WpdiscuzOptions.php:2574
2989
  msgid ""
2990
  "This option allows control commenting activity per user. You can set maximum "
2991
  "number of comments users can leave per post or sitewide. It also allow to "
2992
  "set restriction for comments or for replies only."
2993
  msgstr ""
2994
 
2995
- #: options/class.WpdiscuzOptions.php:2581
2996
  msgid "Comment Content and Media"
2997
  msgstr ""
2998
 
2999
- #: options/class.WpdiscuzOptions.php:2589
3000
  msgid "Comment Text Length"
3001
  msgstr ""
3002
 
3003
- #: options/class.WpdiscuzOptions.php:2591
3004
  msgid ""
3005
  "Allows to set minimum and maximum number of chars can be inserted in comment "
3006
  "textarea. Leave the max value empty to remove the limit."
@@ -3009,64 +3260,75 @@ msgstr ""
3009
  "die in das Kommentar Textfeld eingefügt werden können. Lassen Sie den "
3010
  "Maximalwert leer, um das Limit zu entfernen."
3011
 
3012
- #: options/class.WpdiscuzOptions.php:2596
3013
  msgid "Image Source URL to Image Conversion"
3014
  msgstr ""
3015
 
3016
- #: options/class.WpdiscuzOptions.php:2603
 
 
 
 
 
 
 
 
 
 
 
3017
  msgid "The number of words before breaking comment text (Read more)"
3018
  msgstr ""
3019
 
3020
- #: options/class.WpdiscuzOptions.php:2605
3021
  msgid "Set this option value 0, to turn off comment text breaking function."
3022
  msgstr ""
3023
  "Legen Sie diesen Optionswert auf 0 fest, um die "
3024
  "Kommentartextunterbrechungsfunktion zu deaktivieren."
3025
 
3026
- #: options/class.WpdiscuzOptions.php:2610
3027
  msgid "Enable Media Uploading"
3028
  msgstr ""
3029
 
3030
- #: options/class.WpdiscuzOptions.php:2612
3031
  msgid "This option allows commenters to attach an image with comments."
3032
  msgstr ""
3033
 
3034
- #: options/class.WpdiscuzOptions.php:2617
3035
  msgid "Allow Media Uploading for Guests"
3036
  msgstr ""
3037
 
3038
- #: options/class.WpdiscuzOptions.php:2624
3039
  msgid "Enable Lightbox for Attached Images"
3040
  msgstr ""
3041
 
3042
- #: options/class.WpdiscuzOptions.php:2631
3043
  msgid "Allowed File Types"
3044
  msgstr ""
3045
 
3046
- #: options/class.WpdiscuzOptions.php:2638
3047
  msgid "Max Uploaded Size"
3048
  msgstr ""
3049
 
3050
- #: options/class.WpdiscuzOptions.php:2640
3051
  msgid ""
3052
  "You can not set this value more than 'upload_max_filesize' and "
3053
  "'post_max_size'. If you want to increase server parameters please contact to "
3054
  "your hosting service support."
3055
  msgstr ""
3056
 
3057
- #: options/class.WpdiscuzOptions.php:2645
3058
  msgid "Show Comments Media in Dashboard"
3059
  msgstr ""
3060
 
3061
- #: options/class.WpdiscuzOptions.php:2652
3062
  msgid "Single Image Sizes in Comments"
3063
  msgstr ""
3064
 
3065
- #: options/class.WpdiscuzOptions.php:2659
3066
  msgid "Generate Thumbnail Sizes"
3067
  msgstr ""
3068
 
3069
- #: options/class.WpdiscuzOptions.php:2661
3070
  msgid ""
3071
  "Once image is uploaded, it'll generate thumbnails according to your selected "
3072
  "sizes. When you set up a new WordPress website, the platform gives you three "
@@ -3075,46 +3337,46 @@ msgid ""
3075
  "registered by current active theme and by other plugins."
3076
  msgstr ""
3077
 
3078
- #: options/class.WpdiscuzOptions.php:2668
3079
  msgid "Live Commenting and Notifications"
3080
  msgstr ""
3081
 
3082
- #: options/class.WpdiscuzOptions.php:2676 options/html-options.php:254
3083
  #: options/html-options.php:263
3084
  msgid "Comment Bubble"
3085
  msgstr ""
3086
 
3087
- #: options/class.WpdiscuzOptions.php:2678
3088
  msgid ""
3089
  "Comment Bubble is a real-time updating sticky comment icon on your web "
3090
  "pages. It invites people to comment, displays current comments information "
3091
  "and notifies current page viewers about new comments."
3092
  msgstr ""
3093
 
3094
- #: options/class.WpdiscuzOptions.php:2683
3095
  msgid "Comment Bubble Live Update"
3096
  msgstr ""
3097
 
3098
- #: options/class.WpdiscuzOptions.php:2690 options/html-options.php:289
3099
  msgid "Comment Bubble Location"
3100
  msgstr ""
3101
 
3102
- #: options/class.WpdiscuzOptions.php:2697
3103
  msgid "Bubble - Notify on New Comments"
3104
  msgstr ""
3105
 
3106
- #: options/class.WpdiscuzOptions.php:2699
3107
  msgid ""
3108
  "If the Bubble live update is enabled, it shows new comments excerpts as a "
3109
  "pop-up information to article reads in real-time. This keeps website "
3110
  "visitors up to date and engages them join to the discussion."
3111
  msgstr ""
3112
 
3113
- #: options/class.WpdiscuzOptions.php:2704
3114
  msgid "Bubble - Invite to comment in X seconds"
3115
  msgstr ""
3116
 
3117
- #: options/class.WpdiscuzOptions.php:2706
3118
  msgid ""
3119
  "In most cases article readers don't even think about leaving some comment. "
3120
  "Using this option you can enable Bubble &laquo;Invite to Comment&raquo; "
@@ -3122,15 +3384,15 @@ msgid ""
3122
  "about comments and calls to leave a reply."
3123
  msgstr ""
3124
 
3125
- #: options/class.WpdiscuzOptions.php:2711
3126
  msgid "Bubble - Hide the invitation message in X seconds"
3127
  msgstr ""
3128
 
3129
- #: options/class.WpdiscuzOptions.php:2718
3130
  msgid "Live Update"
3131
  msgstr "LiveUpdate"
3132
 
3133
- #: options/class.WpdiscuzOptions.php:2720
3134
  msgid ""
3135
  "wpDiscuz live update is very light and doesn't overload your server. However "
3136
  "we recommend to monitor your server resources if you're on a Shared hosting "
@@ -3145,34 +3407,34 @@ msgstr ""
3145
  "durchzuführen. Wenn Sie ein Ergebnis vorliegen haben, können Sie die Option "
3146
  "unter 30 Sekunden oder länger einstellen."
3147
 
3148
- #: options/class.WpdiscuzOptions.php:2725
3149
  msgid "Enable Live Update for Guests"
3150
  msgstr ""
3151
 
3152
- #: options/class.WpdiscuzOptions.php:2732
3153
  msgid "Update Comment List Every"
3154
  msgstr ""
3155
 
3156
- #: options/class.WpdiscuzOptions.php:2741
3157
  msgid "Inline Commenting"
3158
  msgstr ""
3159
 
3160
- #: options/class.WpdiscuzOptions.php:2749
3161
  msgid "Display filter button to load inline feedbacks"
3162
  msgstr ""
3163
 
3164
- #: options/class.WpdiscuzOptions.php:2751
3165
  msgid ""
3166
  "This filter button appears next to all filter buttons and comment sorting "
3167
  "options. It allows to filter and display article inline feedbacks (comments "
3168
  "made while reading current article)."
3169
  msgstr ""
3170
 
3171
- #: options/class.WpdiscuzOptions.php:2756
3172
  msgid "Animation for \"Leave a Feedback\" button in article content"
3173
  msgstr ""
3174
 
3175
- #: options/class.WpdiscuzOptions.php:2758
3176
  msgid ""
3177
  "Once a question is added in article editor (backend), readers will see a "
3178
  "small comment icon (call to leave a feedback) next to the text part you've "
@@ -3183,38 +3445,38 @@ msgid ""
3183
  "size and color changes attracting readers attention."
3184
  msgstr ""
3185
 
3186
- #: options/class.WpdiscuzOptions.php:2765
3187
  msgid "General Settings"
3188
  msgstr "Allgemeine Einstellungen"
3189
 
3190
- #: options/class.WpdiscuzOptions.php:2773
3191
  msgid "Enable wpDiscuz on Home Page"
3192
  msgstr ""
3193
 
3194
- #: options/class.WpdiscuzOptions.php:2780
3195
  msgid "Use WordPress native AJAX functions"
3196
  msgstr ""
3197
 
3198
- #: options/class.WpdiscuzOptions.php:2782
3199
  msgid ""
3200
  "By disabling this option you're automatically enabling wpDiscuz custom AJAX "
3201
  "functions, which are many times faster that the default WordPress functions. "
3202
  "Just make sure it doesn't conflict with your plugins."
3203
  msgstr ""
3204
 
3205
- #: options/class.WpdiscuzOptions.php:2787
3206
- msgid "Load Scripts in Footer"
3207
  msgstr ""
3208
 
3209
- #: options/class.WpdiscuzOptions.php:2794
3210
- msgid "Load Min Versions"
3211
  msgstr ""
3212
 
3213
- #: options/class.WpdiscuzOptions.php:2801
3214
  msgid "Secure comment content in HTTPS protocol."
3215
  msgstr "Sichern Sie den Kommentarinhalt im HTTPS-Protokoll."
3216
 
3217
- #: options/class.WpdiscuzOptions.php:2803
3218
  msgid ""
3219
  "This option detects images and other contents with non-https source URLs and "
3220
  "fix according to your selected logic."
@@ -3222,15 +3484,15 @@ msgstr ""
3222
  "Diese Option erkennt Bilder und andere Inhalte einer nicht-https Quellen URL "
3223
  "um sie dann nach Ihrer ausgewählten Logik zu beheben."
3224
 
3225
- #: options/class.WpdiscuzOptions.php:2808
3226
  msgid "Redirect First Comment to"
3227
  msgstr ""
3228
 
3229
- #: options/class.WpdiscuzOptions.php:2815
3230
  msgid "Use WordPress Date/Time Format"
3231
  msgstr ""
3232
 
3233
- #: options/class.WpdiscuzOptions.php:2817
3234
  msgid ""
3235
  "wpDiscuz shows Human Readable date format. If you check this option it'll "
3236
  "show the date/time format set in WordPress General Settings."
@@ -3239,11 +3501,11 @@ msgstr ""
3239
  "diese Option aktiviert werden, wird das von Wordpress vorgegebene Format "
3240
  "verwendet."
3241
 
3242
- #: options/class.WpdiscuzOptions.php:2822
3243
  msgid "Structure of Human Readable Date Format"
3244
  msgstr ""
3245
 
3246
- #: options/class.WpdiscuzOptions.php:2824
3247
  msgid ""
3248
  "By default, comment date is displayed with the human readable format, such "
3249
  "as [X days ago]. For some languages, you may need to change the sequence of "
@@ -3252,11 +3514,11 @@ msgid ""
3252
  "[adjective] is the 'ago'."
3253
  msgstr ""
3254
 
3255
- #: options/class.WpdiscuzOptions.php:2829
3256
  msgid "Use Plugin .PO/.MO Files"
3257
  msgstr ""
3258
 
3259
- #: options/class.WpdiscuzOptions.php:2831
3260
  msgid ""
3261
  "wpDiscuz phrase system allows you to translate all front-end phrases. "
3262
  "However if you have a multi-language website it'll not allow you to add more "
@@ -3269,7 +3531,7 @@ msgstr ""
3269
  "Sollte jedoch eine mehrsprachiges System (Multisite) installiert sein, so "
3270
  "kann nur eine Sprache verwendet werden."
3271
 
3272
- #: options/class.WpdiscuzOptions.php:2836
3273
  msgid ""
3274
  "Help wpDiscuz to grow allowing people to recognize which comment plugin you "
3275
  "use"
@@ -3277,7 +3539,7 @@ msgstr ""
3277
  "Helfen Sie mit, dass wpDiscuz weiter wächst und sich Menschen daran "
3278
  "erinnern, welches Kommentar-Plugin Sie verwenden"
3279
 
3280
- #: options/class.WpdiscuzOptions.php:2838
3281
  msgid ""
3282
  "Please check this option on to help wpDiscuz get more popularity as your "
3283
  "thank to the hard work we do for you totally free. This option adds a very "
@@ -3290,32 +3552,27 @@ msgstr ""
3290
  "- über das der Besucher Ihrer Website den Namen des Kommentar-Lösung "
3291
  "kennenlernen, die Sie verwenden."
3292
 
3293
- #: options/class.WpdiscuzOptions.php:2843
3294
  msgid "Enable Gravatar caching"
3295
  msgstr ""
3296
 
3297
- #: options/class.WpdiscuzOptions.php:2850
3298
  msgid "Caching Method"
3299
  msgstr ""
3300
 
3301
- #: options/class.WpdiscuzOptions.php:2857
3302
  msgid "Reset Avatar Cache Frequency"
3303
  msgstr ""
3304
 
3305
- #: options/class.WpdiscuzOptions.php:2864
3306
- #: options/options-layouts/html-general.php:271
3307
- msgid "Reset All Options"
3308
- msgstr ""
3309
-
3310
- #: options/class.WpdiscuzOptions.php:2871
3311
  msgid "Remove Vote Data"
3312
  msgstr ""
3313
 
3314
- #: options/class.WpdiscuzOptions.php:2878
3315
  msgid "Purge Expired Avatar Caches"
3316
  msgstr ""
3317
 
3318
- #: options/class.WpdiscuzOptions.php:2885
3319
  msgid "Purge All Avatar Caches"
3320
  msgstr ""
3321
 
@@ -3546,10 +3803,6 @@ msgstr ""
3546
  msgid "All Comments"
3547
  msgstr ""
3548
 
3549
- #: options/html-dashboard.php:127
3550
- msgid "Inline Feedbacks"
3551
- msgstr ""
3552
-
3553
  #: options/html-dashboard.php:131
3554
  msgid "Comment Threads"
3555
  msgstr ""
@@ -4010,7 +4263,7 @@ msgstr ""
4010
  msgid "Open Settings"
4011
  msgstr ""
4012
 
4013
- #: options/html-options.php:445 options/html-options.php:518
4014
  msgid "Addons Settings"
4015
  msgstr ""
4016
 
@@ -4018,11 +4271,15 @@ msgstr ""
4018
  msgid "Back"
4019
  msgstr ""
4020
 
4021
- #: options/html-options.php:495
4022
- msgid "Reset Options"
4023
- msgstr "Optionen zurücksetzen"
 
 
 
 
4024
 
4025
- #: options/html-options.php:496 options/html-phrases.php:77
4026
  msgid "Save Changes"
4027
  msgstr "Änderungen speichern"
4028
 
@@ -4067,38 +4324,10 @@ msgstr ""
4067
  msgid "Reset Phrases"
4068
  msgstr "Phrasen zurücksetzen"
4069
 
4070
- #: options/html-tools.php:10
4071
  msgid "wpDiscuz Tools"
4072
  msgstr "wpDiscuz Werkzeuge"
4073
 
4074
- #: options/html-tools.php:15 options/tools-layouts/options-export.php:7
4075
- msgid "Export options"
4076
- msgstr "Export-Optionen"
4077
-
4078
- #: options/html-tools.php:16 options/tools-layouts/options-import.php:7
4079
- msgid "Import options"
4080
- msgstr "Import-Optionen"
4081
-
4082
- #: options/html-tools.php:17 options/tools-layouts/phrases-export.php:7
4083
- msgid "Export phrases"
4084
- msgstr ""
4085
-
4086
- #: options/html-tools.php:18 options/tools-layouts/phrases-import.php:7
4087
- msgid "Import phrases"
4088
- msgstr ""
4089
-
4090
- #: options/html-tools.php:19 options/tools-layouts/subscriptions-import.php:9
4091
- msgid "Import subscriptions"
4092
- msgstr "Abonnements importieren"
4093
-
4094
- #: options/html-tools.php:23
4095
- msgid "Synchronize Commenter Data"
4096
- msgstr ""
4097
-
4098
- #: options/html-tools.php:24 options/tools-layouts/rebuild-ratings.php:17
4099
- msgid "Rebuild Ratings"
4100
- msgstr ""
4101
-
4102
  #: options/options-layouts/html-content.php:10
4103
  #, php-format
4104
  msgid ""
@@ -4109,44 +4338,44 @@ msgid ""
4109
  msgstr ""
4110
 
4111
  #: options/options-layouts/html-content.php:25
4112
- #: options/options-layouts/html-form.php:43
4113
  msgid "Min"
4114
  msgstr "Min"
4115
 
4116
  #: options/options-layouts/html-content.php:26
4117
- #: options/options-layouts/html-form.php:44
4118
  msgid "Max"
4119
  msgstr "Max"
4120
 
4121
- #: options/options-layouts/html-content.php:68
4122
  msgid "File Attachment Settings"
4123
  msgstr ""
4124
 
4125
- #: options/options-layouts/html-content.php:149
4126
  msgid "Select All"
4127
  msgstr ""
4128
 
4129
- #: options/options-layouts/html-content.php:150
4130
  msgid "Unselect All"
4131
  msgstr ""
4132
 
4133
- #: options/options-layouts/html-content.php:151
4134
  msgid "Invert Selection"
4135
  msgstr ""
4136
 
4137
- #: options/options-layouts/html-content.php:172
4138
  msgid "Server 'upload_max_filesize' is "
4139
  msgstr ""
4140
 
4141
- #: options/options-layouts/html-content.php:173
4142
  msgid "Server 'post_max_size' is "
4143
  msgstr ""
4144
 
4145
- #: options/options-layouts/html-content.php:207
4146
  msgid "Width (px)"
4147
  msgstr ""
4148
 
4149
- #: options/options-layouts/html-content.php:208
4150
  msgid "Height (px)"
4151
  msgstr ""
4152
 
@@ -4163,6 +4392,80 @@ msgstr ""
4163
  msgid "Comment Form Manager"
4164
  msgstr ""
4165
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4166
  #: options/options-layouts/html-general.php:87
4167
  msgid "Replace non-https content to simple link URLs"
4168
  msgstr "Ersetzen Sie Nicht-https-Inhalte durch einfache Link-URLs"
@@ -4179,50 +4482,50 @@ msgstr ""
4179
  msgid "Ignore non-https content"
4180
  msgstr "Nicht-https Inhalte ignorieren"
4181
 
4182
- #: options/options-layouts/html-general.php:115
4183
  msgid "Do not redirect"
4184
  msgstr "Nicht weiterleiten"
4185
 
4186
- #: options/options-layouts/html-general.php:139
4187
  msgid "Current Wordpress date/time format"
4188
  msgstr "Aktuellea Wordpress-Datum/Uhrzeit-Format"
4189
 
4190
- #: options/options-layouts/html-general.php:190
4191
  msgid "Thank you!"
4192
  msgstr "Vielen Dank!"
4193
 
4194
- #: options/options-layouts/html-general.php:198
4195
  msgid "Gravatar Cache"
4196
  msgstr "Gravatar Cache"
4197
 
4198
- #: options/options-layouts/html-general.php:207
4199
  msgid ""
4200
  "It seems file_get_contents() and file_put_contents() PHP functions don't "
4201
  "exist.<br/> Please enable these functions in your server settings to use "
4202
  "gravatar caching feature."
4203
  msgstr ""
4204
 
4205
- #: options/options-layouts/html-general.php:230
4206
  msgid "Runtime"
4207
  msgstr "Laufzeit"
4208
 
4209
- #: options/options-layouts/html-general.php:231
4210
  msgid "Cron job"
4211
  msgstr "Cron Job"
4212
 
4213
- #: options/options-layouts/html-general.php:257
4214
  msgid "Maintenance"
4215
  msgstr ""
4216
 
4217
- #: options/options-layouts/html-general.php:285
4218
  msgid "Remove vote data"
4219
  msgstr "Voting Daten entfernen"
4220
 
4221
- #: options/options-layouts/html-general.php:299
4222
  msgid "Purge expired caches"
4223
  msgstr "Abgelaufene Caches bereinigen"
4224
 
4225
- #: options/options-layouts/html-general.php:313
4226
  msgid "Purge all caches"
4227
  msgstr "Alle Caches bereinigen"
4228
 
@@ -4276,8 +4579,10 @@ msgstr "Label-Farbe"
4276
  #: options/options-layouts/html-rating.php:73
4277
  #: options/options-layouts/html-rating.php:77
4278
  #: options/options-layouts/html-rating.php:81
4279
- #: options/options-layouts/html-thread_styles.php:44
4280
- #: options/options-layouts/html-thread_styles.php:48
 
 
4281
  msgid "Example: #00FF00"
4282
  msgstr "Beispiel: #00FF00"
4283
 
@@ -4333,19 +4638,19 @@ msgid ""
4333
  "the %s addon."
4334
  msgstr ""
4335
 
4336
- #: options/options-layouts/html-login.php:67
4337
  msgid "Enable button"
4338
  msgstr ""
4339
 
4340
- #: options/options-layouts/html-login.php:76
4341
  msgid "Show Activity Tab"
4342
  msgstr ""
4343
 
4344
- #: options/options-layouts/html-login.php:85
4345
  msgid "Show Subscriptions Tab"
4346
  msgstr ""
4347
 
4348
- #: options/options-layouts/html-login.php:94
4349
  msgid "Show Followers Tab"
4350
  msgstr ""
4351
 
@@ -4517,7 +4822,7 @@ msgid ""
4517
  "you're logged-out before checking those."
4518
  msgstr ""
4519
 
4520
- #: options/options-layouts/html-social.php:58
4521
  msgid ""
4522
  "To start using Facebook Login and Share Buttons you should get Facebook "
4523
  "Application Key and Secret for your website. Please follow to this"
@@ -4526,32 +4831,40 @@ msgstr ""
4526
  "Facebook Application Key und das Secret für Ihre Website erhalten. Bitte "
4527
  "folgen Sie dieser"
4528
 
4529
- #: options/options-layouts/html-social.php:58
4530
- #: options/options-layouts/html-social.php:147
4531
- #: options/options-layouts/html-social.php:219
4532
- #: options/options-layouts/html-social.php:275
4533
- #: options/options-layouts/html-social.php:330
4534
- #: options/options-layouts/html-social.php:385
4535
- #: options/options-layouts/html-social.php:458
 
 
 
 
 
 
 
 
4536
  msgid "instruction &raquo;"
4537
  msgstr "Anweisung &raquo;"
4538
 
4539
- #: options/options-layouts/html-social.php:59
4540
  msgid "Valid OAuth Redirect URI"
4541
  msgstr ""
4542
 
4543
- #: options/options-layouts/html-social.php:119
4544
- #: options/options-layouts/html-social.php:429
4545
- #: options/options-layouts/html-social.php:502
4546
  msgid "Application ID"
4547
  msgstr "Application ID"
4548
 
4549
- #: options/options-layouts/html-social.php:134
4550
- #: options/options-layouts/html-social.php:532
4551
  msgid "Application Secret"
4552
  msgstr ""
4553
 
4554
- #: options/options-layouts/html-social.php:147
4555
  msgid ""
4556
  "To start using Twitter Login Button you should get Consumer Key and Secret "
4557
  "for your website. Please follow to this"
@@ -4559,67 +4872,116 @@ msgstr ""
4559
  "Um den Twitter Login Button zu verwenden, sollten Sie den Consumer Key und "
4560
  "das Secret für Ihre Website erhalten. Bitte folgen Sie dieser"
4561
 
4562
- #: options/options-layouts/html-social.php:148
4563
  msgid "Twitter Callback URL"
4564
  msgstr ""
4565
 
4566
- #: options/options-layouts/html-social.php:191
4567
  msgid "Consumer Key (API Key)"
4568
  msgstr "Consumer Key (API Key)"
4569
 
4570
- #: options/options-layouts/html-social.php:206
4571
  msgid "Consumer Secret (API Secret)"
4572
  msgstr "Consumer Secret (API Secret)"
4573
 
4574
- #: options/options-layouts/html-social.php:219
4575
  msgid ""
4576
  "To start using Google Login Button you should get Client ID and Client "
4577
  "Secret for your website. Please follow to this"
4578
  msgstr ""
4579
 
4580
- #: options/options-layouts/html-social.php:220
4581
  msgid "Permitted URI redirects"
4582
  msgstr ""
4583
 
4584
- #: options/options-layouts/html-social.php:246
4585
- #: options/options-layouts/html-social.php:357
 
4586
  msgid "Client ID"
4587
  msgstr "Client ID"
4588
 
4589
- #: options/options-layouts/html-social.php:261
4590
- #: options/options-layouts/html-social.php:372
 
4591
  msgid "Client Secret"
4592
  msgstr ""
4593
 
4594
- #: options/options-layouts/html-social.php:275
4595
  msgid ""
4596
  "To start using Disqus Login Button you should get Public Key and Secret Key. "
4597
  "Please follow to this "
4598
  msgstr ""
4599
 
4600
- #: options/options-layouts/html-social.php:276
4601
- #: options/options-layouts/html-social.php:331
4602
- #: options/options-layouts/html-social.php:386
4603
- #: options/options-layouts/html-social.php:459
 
 
 
 
 
 
 
 
4604
  msgid "Redirect URI"
4605
  msgstr ""
4606
 
4607
- #: options/options-layouts/html-social.php:302
4608
  msgid "Public Key"
4609
  msgstr ""
4610
 
4611
- #: options/options-layouts/html-social.php:317
4612
- #: options/options-layouts/html-social.php:444
4613
  msgid "Secure Key"
4614
  msgstr "Secure Key"
4615
 
4616
- #: options/options-layouts/html-social.php:330
4617
  msgid ""
4618
  "To start using Wordpress.com Login Button you should get Client ID and "
4619
  "Client Secret. Please follow to this "
4620
  msgstr ""
4621
 
4622
- #: options/options-layouts/html-social.php:385
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4623
  msgid ""
4624
  "To start using VK Login Button you should get Application ID and Secure Key. "
4625
  "Please follow to this "
@@ -4627,20 +4989,61 @@ msgstr ""
4627
  "Um VK Login Button zu verwenden, sollten Sie die Application ID und den "
4628
  "Secure Key erhalten. Bitte folgen Sie dieser "
4629
 
4630
- #: options/options-layouts/html-social.php:457
 
 
 
 
 
 
4631
  msgid "Getting started with"
4632
  msgstr "Anfangen mit"
4633
 
4634
- #: options/options-layouts/html-social.php:458
4635
  msgid ""
4636
  "To get the Application ID, Key and Secret, you should create an app using "
4637
  "one of the supported types (external, Android, iOS), use this"
4638
  msgstr ""
4639
 
4640
- #: options/options-layouts/html-social.php:517
4641
  msgid "Application Key"
4642
  msgstr ""
4643
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4644
  #: options/options-layouts/html-subscription.php:10
4645
  #, php-format
4646
  msgid ""
@@ -4755,7 +5158,7 @@ msgstr "Gesamtzahl"
4755
  msgid "separate count"
4756
  msgstr "Separate Zählung"
4757
 
4758
- #: options/options-layouts/html-thread_layouts.php:210
4759
  msgid "Layout Components"
4760
  msgstr ""
4761
 
@@ -4765,43 +5168,112 @@ msgid ""
4765
  "By default wpDiscuz comes with &laquo;Light&raquo; style. If your theme "
4766
  "style is dark, we recommend choose the &laquo;Dark&raquo; option for "
4767
  "comments too. In case you want to totally customize comment style or create "
4768
- "it from scratch, we recommend choose the &laquo;Off&raquo; option to "
4769
- "stop loading wpDiscuz core CSS. In this case only basic CSS code will be "
4770
- "loaded allowing you add your custom style easier."
4771
  msgstr ""
4772
 
4773
  #: options/options-layouts/html-thread_styles.php:26
4774
- msgid "Minimal"
4775
  msgstr ""
4776
 
4777
  #: options/options-layouts/html-thread_styles.php:27
4778
  msgid "Default"
4779
  msgstr "Standard"
4780
 
 
 
 
 
4781
  #: options/options-layouts/html-thread_styles.php:45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4782
  msgid "Primary Color"
4783
  msgstr "Primäre Farbe"
4784
 
4785
- #: options/options-layouts/html-thread_styles.php:49
4786
  msgid "Unread comments background"
4787
  msgstr "Hintergrundfarbe der ungelesenen Kommentare"
4788
 
4789
- #: options/options-layouts/html-thread_styles.php:52
4790
  msgid "Text Color"
4791
  msgstr "Textfarbe"
4792
 
4793
- #: options/options-layouts/html-thread_styles.php:53
4794
  msgid "Primary buttons text"
4795
  msgstr "Primärer Button Text"
4796
 
4797
- #: options/options-layouts/html-thread_styles.php:56
4798
  msgid "Background Color"
4799
  msgstr "Hintergrundfarbe"
4800
 
4801
- #: options/options-layouts/html-thread_styles.php:57
4802
  msgid "Primary buttons background"
4803
  msgstr "Primärer Button Hintergrund"
4804
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4805
  #: options/phrases-layouts/phrases-comment.php:7
4806
  msgid "Comment Template Phrases"
4807
  msgstr "Kommentarvorlagenphrasen"
@@ -4903,20 +5375,20 @@ msgid "Post comment notification subject"
4903
  msgstr "Kommentarbenachrichtigungs-Betreff senden"
4904
 
4905
  #: options/phrases-layouts/phrases-email.php:24
4906
- #: options/phrases-layouts/phrases-email.php:35
4907
- #: options/phrases-layouts/phrases-email.php:56
4908
- #: options/phrases-layouts/phrases-email.php:67
4909
- #: options/phrases-layouts/phrases-email.php:88
4910
- #: options/phrases-layouts/phrases-email.php:99
4911
- #: options/phrases-layouts/phrases-email.php:118
4912
- #: options/phrases-layouts/phrases-email.php:129
4913
- #: options/phrases-layouts/phrases-email.php:145
4914
- #: options/phrases-layouts/phrases-email.php:157
4915
- #: options/phrases-layouts/phrases-email.php:196
4916
  #: options/phrases-layouts/phrases-follow.php:57
4917
  #: options/phrases-layouts/phrases-follow.php:68
4918
  #: options/phrases-layouts/phrases-follow.php:84
4919
- #: options/phrases-layouts/phrases-follow.php:95
4920
  #: options/phrases-layouts/phrases-user-settings.php:61
4921
  #: options/phrases-layouts/phrases-user-settings.php:73
4922
  #: options/phrases-layouts/phrases-user-settings.php:86
@@ -4926,58 +5398,58 @@ msgstr "Kommentarbenachrichtigungs-Betreff senden"
4926
  msgid "Available shortcodes"
4927
  msgstr "Verfügbare Shortcodes"
4928
 
4929
- #: options/phrases-layouts/phrases-email.php:34
4930
  msgid "Post comment notification content"
4931
  msgstr "Inhalte für Kommentarbenachrichtigungen senden"
4932
 
4933
- #: options/phrases-layouts/phrases-email.php:42
4934
- #: options/phrases-layouts/phrases-email.php:74
4935
  msgid "Shortcode above will work for registered users only"
4936
  msgstr "Der obige Shortcode funktioniert nur für registrierte Benutzer"
4937
 
4938
- #: options/phrases-layouts/phrases-email.php:54
4939
  msgid "Subscription type: All my comments"
4940
  msgstr "Abonnementstyp: Alle meine Kommentare"
4941
 
4942
- #: options/phrases-layouts/phrases-email.php:55
4943
- #: options/phrases-layouts/phrases-email.php:87
4944
  msgid "New reply notification subject"
4945
  msgstr "Neuer Betreff zur Antwortbenachrichtigung"
4946
 
4947
- #: options/phrases-layouts/phrases-email.php:66
4948
- #: options/phrases-layouts/phrases-email.php:98
4949
  msgid "New Reply notification content"
4950
  msgstr "Neuer Inhalt zur Antwortbenachrichtigung"
4951
 
4952
- #: options/phrases-layouts/phrases-email.php:86
4953
  msgid "Subscription type: Single comment"
4954
  msgstr "Abonnement-Typ: Einzelner Kommentar"
4955
 
4956
- #: options/phrases-layouts/phrases-email.php:117
4957
  msgid "Subscription confirmation email subject"
4958
  msgstr "E-Mail-Betreff der Abonnementbestätigung"
4959
 
4960
- #: options/phrases-layouts/phrases-email.php:128
4961
  msgid "Subscription confirmation email content"
4962
  msgstr "E-Mail-Inhalt der Abonnementbestätigung"
4963
 
4964
- #: options/phrases-layouts/phrases-email.php:144
4965
  msgid "Comment approved subject"
4966
  msgstr "Kommentargenehmigter Betreff"
4967
 
4968
- #: options/phrases-layouts/phrases-email.php:155
4969
  msgid "Comment approved message"
4970
  msgstr "Kommentargenehmigte Nachricht"
4971
 
4972
- #: options/phrases-layouts/phrases-email.php:176
4973
  msgid "Ignore subscription"
4974
  msgstr "Abonnement ignorieren"
4975
 
4976
- #: options/phrases-layouts/phrases-email.php:189
4977
  msgid "Mentioned email subject"
4978
  msgstr ""
4979
 
4980
- #: options/phrases-layouts/phrases-email.php:195
4981
  msgid "Mentioned email content"
4982
  msgstr ""
4983
 
@@ -5078,7 +5550,7 @@ msgstr ""
5078
  msgid "Following email subject"
5079
  msgstr ""
5080
 
5081
- #: options/phrases-layouts/phrases-follow.php:94
5082
  msgid "Follow email content"
5083
  msgstr ""
5084
 
@@ -5142,6 +5614,10 @@ msgstr "Hinterlassen Sie einen ersten Kommentar"
5142
  msgid "Load More Button"
5143
  msgstr "Mehr anzeigen Taste"
5144
 
 
 
 
 
5145
  #: options/phrases-layouts/phrases-general.php:43
5146
  msgid "Thank you for your feedback"
5147
  msgstr ""
@@ -5248,23 +5724,66 @@ msgstr "Lösche den gesamten E-Mail-Text für Abonnements"
5248
  msgid "Delete all follows email text"
5249
  msgstr ""
5250
 
5251
- #: options/tools-layouts/options-export.php:9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5252
  msgid ""
5253
- "Using this tool you can migrate or backup/restore wpDiscuz options from one "
5254
  "WordPress to another."
5255
  msgstr ""
5256
- "Mit diesem Tool können Sie wpDiscuz Optionen von einem WordPress zum anderen "
5257
- "migrieren oder sichern / wiederherstellen."
5258
 
5259
- #: options/tools-layouts/options-export.php:20
5260
  msgid "Download Options"
5261
  msgstr "Download Optionen"
5262
 
5263
- #: options/tools-layouts/options-export.php:28
5264
  msgid "Backup Options"
5265
  msgstr "Backup-Optionen"
5266
 
5267
- #: options/tools-layouts/options-import.php:9
5268
  msgid ""
5269
  "Here you can import and restore wpDiscuz options. You just need to choose "
5270
  "backup file and click import options."
@@ -5272,143 +5791,181 @@ msgstr ""
5272
  "Hier können Sie wpDiscuz-Optionen importieren und wiederherstellen. Sie "
5273
  "müssen nur die Sicherungsdatei auswählen und auf Importoptionen klicken."
5274
 
5275
- #: options/tools-layouts/options-import.php:22
5276
  msgid "Import Options"
5277
  msgstr "Import-Optionen"
5278
 
5279
- #: options/tools-layouts/phrases-export.php:9
 
 
 
 
5280
  msgid ""
5281
- "Using this tool you can migrate or backup/restore wpDiscuz phrases from one "
5282
  "WordPress to another."
5283
  msgstr ""
5284
 
5285
- #: options/tools-layouts/phrases-export.php:20
5286
  msgid "Download Phrases"
5287
  msgstr ""
5288
 
5289
- #: options/tools-layouts/phrases-export.php:28
5290
  msgid "Backup Phrases"
5291
  msgstr ""
5292
 
5293
- #: options/tools-layouts/phrases-import.php:9
5294
  msgid ""
5295
  "Here you can import and restore wpDiscuz phrases. You just need to choose "
5296
  "backup file and click import phrases."
5297
  msgstr ""
5298
 
5299
- #: options/tools-layouts/phrases-import.php:22
5300
  msgid "Import Phrases"
5301
  msgstr ""
5302
 
5303
- #: options/tools-layouts/rebuild-ratings.php:9
5304
- msgid "Rebuid Ratings"
 
 
 
 
 
5305
  msgstr ""
5306
 
5307
- #: options/tools-layouts/rebuild-ratings.php:16
5308
  msgid "Start Rebuild"
5309
  msgstr ""
5310
 
5311
- #: options/tools-layouts/regenerate-closed-comments.php:17
5312
- #: options/tools-layouts/regenerate-vote-data.php:17
5313
- #: options/tools-layouts/regenerate-vote-metas.php:17
 
 
 
 
 
 
 
 
5314
  msgid "Start Regenerate"
5315
  msgstr ""
5316
 
5317
- #: options/tools-layouts/subscriptions-import.php:11
5318
- msgid ""
5319
- "Using this tool you can import subscriptions from other plugins to wpDiscuz."
5320
  msgstr ""
5321
- "Mit diesem Tool können Sie Abonnements von anderen Plugins in wpDiscuz "
5322
- "importieren."
5323
 
5324
- #: options/tools-layouts/subscriptions-import.php:19
5325
- msgid "Import subscriptions from Subscribe To Comments Reloaded"
5326
- msgstr "Abonnements von Abonnenten in neu geladene Kommentare importieren"
5327
 
5328
- #: options/tools-layouts/subscriptions-import.php:20
5329
- msgid "Import subscriptions from \"Subscribe To Comments Reloaded\" plugin"
5330
  msgstr ""
5331
- "Importiere Abonnements von dem \"Subscribe To Comments Reloaded\" -Plugin"
5332
 
5333
- #: options/tools-layouts/sync-commenter-data.php:15
5334
  msgid "Start Sync"
5335
  msgstr ""
5336
 
5337
- #: utils/class.WpdiscuzHelper.php:359
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5338
  msgid "Sticky"
5339
  msgstr "Sticky"
5340
 
5341
- #: utils/class.WpdiscuzHelper.php:920
5342
  msgid "Reset Ratings"
5343
  msgstr ""
5344
 
5345
- #: utils/class.WpdiscuzHelper.php:932
5346
  msgid "Are you sure you want to reset post rating?"
5347
  msgstr ""
5348
 
5349
- #: utils/class.WpdiscuzHelper.php:960
5350
  msgid "Reset Post Rating"
5351
  msgstr ""
5352
 
5353
- #: utils/class.WpdiscuzHelper.php:961 utils/class.WpdiscuzHelper.php:1000
5354
  msgid "Working..."
5355
  msgstr ""
5356
 
5357
- #: utils/class.WpdiscuzHelper.php:962 utils/class.WpdiscuzHelper.php:1001
5358
  msgid "Done"
5359
  msgstr ""
5360
 
5361
- #: utils/class.WpdiscuzHelper.php:971
5362
  msgid "Are you sure you want to reset fields ratings?"
5363
  msgstr ""
5364
 
5365
- #: utils/class.WpdiscuzHelper.php:999
5366
  msgid "Reset Fields Ratings"
5367
  msgstr ""
5368
 
5369
- #: utils/class.WpdiscuzHelperAjax.php:720
 
 
 
 
5370
  msgid "Read More"
5371
  msgstr ""
5372
 
5373
- #: utils/class.WpdiscuzHelperAjax.php:822
5374
  msgid "Subscribers"
5375
  msgstr ""
5376
 
5377
- #: utils/class.WpdiscuzHelperAjax.php:823
5378
  msgid "Subscription - posts"
5379
  msgstr ""
5380
 
5381
- #: utils/class.WpdiscuzHelperAjax.php:824
5382
  msgid "Subscription - all comments"
5383
  msgstr ""
5384
 
5385
- #: utils/class.WpdiscuzHelperAjax.php:825
5386
  msgid "Subscription - comment"
5387
  msgstr ""
5388
 
5389
- #: utils/class.WpdiscuzHelperAjax.php:826
5390
- #: utils/class.WpdiscuzHelperAjax.php:888
5391
  msgid "Followers"
5392
  msgstr "Follower"
5393
 
5394
- #: utils/class.WpdiscuzHelperAjax.php:827
5395
- #: utils/class.WpdiscuzHelperAjax.php:884
5396
  msgid "Following"
5397
  msgstr ""
5398
 
5399
- #: utils/class.WpdiscuzHelperAjax.php:892
5400
  msgid "Last Activity"
5401
  msgstr ""
5402
 
5403
- #: utils/class.WpdiscuzHelperAjax.php:926
5404
  msgid "Something is wrong"
5405
  msgstr ""
5406
 
5407
- #: utils/class.WpdiscuzHelperUpload.php:421
5408
  msgid "The attachment not exists"
5409
  msgstr ""
5410
 
5411
- #: utils/class.WpdiscuzHelperUpload.php:694
5412
  msgid "Attached Images"
5413
  msgstr ""
5414
 
@@ -5433,40 +5990,73 @@ msgstr "Ich reaktiviere es später"
5433
  msgid "The plugin is not working"
5434
  msgstr "Das PlugIn funktioniert nicht"
5435
 
5436
- #: utils/deactivation-reason-modal.php:24
5437
  msgid "What kind of problems do you have?"
5438
  msgstr "Welche Probleme haben Sie?"
5439
 
5440
- #: utils/deactivation-reason-modal.php:28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5441
  msgid "It's not what I was looking for"
5442
  msgstr "Es ist nicht das, was ich suchte"
5443
 
5444
- #: utils/deactivation-reason-modal.php:32
5445
  msgid "I couldn't understand how to make it work"
5446
  msgstr "Ich habe nicht verstanden, wie es funktioniert"
5447
 
5448
- #: utils/deactivation-reason-modal.php:33
5449
- #: utils/deactivation-reason-modal.php:38
5450
  msgid "What type of features you want to be in the plugin?"
5451
  msgstr "Welche Arten von Funktionen möchten Sie mit dem Plugin haben?"
5452
 
5453
- #: utils/deactivation-reason-modal.php:37
5454
  msgid "The plugin is great, but I need specific features"
5455
  msgstr "Das Plugin ist toll, aber ich brauche spezielle Funktionen"
5456
 
5457
- #: utils/deactivation-reason-modal.php:42
5458
  msgid "I didn't like plugin design"
5459
  msgstr "Mir gefiel das Plugin-Design nicht"
5460
 
5461
- #: utils/deactivation-reason-modal.php:43
5462
  msgid "What part of design you don't like or want to change?"
5463
  msgstr "Welcher Teil des Designs, das Ihnen nicht gefiel, möchten Sie ändern?"
5464
 
5465
- #: utils/deactivation-reason-modal.php:47
5466
  msgid "The plugin works very slow"
5467
  msgstr "Das Plugin arbeitet sehr langsam"
5468
 
5469
- #: utils/deactivation-reason-modal.php:48
5470
  msgid ""
5471
  "Could you please describe which features of the plugin slows down your "
5472
  "website?"
@@ -5474,23 +6064,23 @@ msgstr ""
5474
  "Beschreiben Sie bitte, welche Funktionen des Plugins Ihre Website "
5475
  "verlangsamte?"
5476
 
5477
- #: utils/deactivation-reason-modal.php:52
5478
  msgid "I found a better plugin"
5479
  msgstr "Ich fand ein besseres Plugin"
5480
 
5481
- #: utils/deactivation-reason-modal.php:53
5482
  msgid "Please provide a plugin name or URL"
5483
  msgstr "Bitte geben Sie einen Plugin-Namen oder die URL an"
5484
 
5485
- #: utils/deactivation-reason-modal.php:57
5486
  msgid "Other"
5487
  msgstr "Andere"
5488
 
5489
- #: utils/deactivation-reason-modal.php:62
5490
  msgid "Dismiss and never show again"
5491
  msgstr "Ausblenden und nicht wieder anzeigen"
5492
 
5493
- #: utils/deactivation-reason-modal.php:63
5494
  msgid "Submit &amp; Deactivate"
5495
  msgstr "Absenden &amp; deaktivieren"
5496
 
@@ -5519,8 +6109,8 @@ msgid "Cancel this subscription"
5519
  msgstr "Dieses Abonnement abbestellen"
5520
 
5521
  #. Plugin URI of the plugin/theme
5522
- msgid "http://wpdiscuz.com/"
5523
- msgstr "http://wpdiscuz.com/"
5524
 
5525
  #. Description of the plugin/theme
5526
  msgid ""
@@ -5529,13 +6119,97 @@ msgid ""
5529
  msgstr ""
5530
 
5531
  #. Author of the plugin/theme
5532
- msgid "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
5533
- msgstr "Team gVectors (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
5534
 
5535
  #. Author URI of the plugin/theme
5536
  msgid "https://gvectors.com/"
5537
  msgstr ""
5538
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5539
  #~ msgid "We are sorry, but this comment cannot be posted. Please try later."
5540
  #~ msgstr ""
5541
  #~ "Es tut uns leid, aber dieser Kommentar kann nicht gepostet werden. Bitte "
@@ -5996,18 +6670,6 @@ msgstr ""
5996
  #~ "steht. Der Notiztext kann in \"Kommentare > Phrasen > Formular-Tab\" "
5997
  #~ "verwaltet werden."
5998
 
5999
- #~ msgid "Enable Quicktags"
6000
- #~ msgstr "Quicktags ermöglichen"
6001
-
6002
- #~ msgid ""
6003
- #~ "Quicktag is a on-click button that inserts HTML in to comment textarea. "
6004
- #~ "For example the \"b\" Quicktag will insert the HTML bold tags < b > < /b "
6005
- #~ ">."
6006
- #~ msgstr ""
6007
- #~ "Quicktag ist ein OnClick Button, der HTML in den Kommentarbereich "
6008
- #~ "einfügt. Zum Beispiel fügt der \"b\"-Quicktag die HTML-Fett-Tags < b > "
6009
- #~ "< / b> ein."
6010
-
6011
  #~ msgid "Enable automatic image URL to image HTML conversion"
6012
  #~ msgstr "Automatische Bild-URL zur Bild-HTML Konvertierung aktivieren"
6013
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: wpDiscuz\n"
4
+ "POT-Creation-Date: 2020-12-06 21:22+0400\n"
5
+ "PO-Revision-Date: 2020-12-06 21:22+0400\n"
6
  "Last-Translator: scysys <scysys@outlook.com>\n"
7
  "Language-Team: \n"
8
  "Language: de_DE\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Poedit-SearchPathExcluded-0: *.js\n"
22
 
23
+ #: class.WpdiscuzCore.php:256
24
  msgid "Every 3 hours"
25
  msgstr "Alle 3 Stunden"
26
 
27
+ #: class.WpdiscuzCore.php:260
28
  msgid "Every 48 hours"
29
  msgstr "Alle 48 Stunden"
30
 
31
+ #: class.WpdiscuzCore.php:954 class.WpdiscuzCore.php:1461
32
  msgid "Dashboard"
33
  msgstr ""
34
 
35
+ #: class.WpdiscuzCore.php:958 class.WpdiscuzCore.php:1462
36
+ #: options/html-options.php:399 options/html-options.php:510
37
  msgid "Settings"
38
  msgstr "Einstellungen"
39
 
40
+ #: class.WpdiscuzCore.php:963 class.WpdiscuzCore.php:1464
41
  msgid "Phrases"
42
  msgstr "Übersetzungen"
43
 
44
+ #: class.WpdiscuzCore.php:968
45
  msgid "Tools"
46
  msgstr "Werkzeuge"
47
 
48
+ #: class.WpdiscuzCore.php:972 options/html-options.php:26
49
  msgid "Addons"
50
  msgstr "Erweiterungen"
51
 
52
+ #: class.WpdiscuzCore.php:996
53
  msgid "Do you really want to reset all options?"
54
  msgstr "Möchten Sie wirklich alle Optionen zurücksetzen?"
55
 
56
+ #: class.WpdiscuzCore.php:997
57
+ msgid "Do you really want to reset tab options?"
58
+ msgstr ""
59
+
60
+ #: class.WpdiscuzCore.php:998
61
  msgid "Do you really want to remove voting data?"
62
  msgstr "Möchten Sie wirklich die Voting-Daten entfernen?"
63
 
64
+ #: class.WpdiscuzCore.php:999
65
  msgid "Do you really want to reset phrases?"
66
  msgstr "Möchten Sie wirklich die Phrasen zurücksetzen?"
67
 
68
+ #: class.WpdiscuzCore.php:1000
69
  msgid "Do you really want to delet this attachment?"
70
  msgstr ""
71
 
72
+ #: class.WpdiscuzCore.php:1001
73
  msgid "Do you really want to delete gravatars cache?"
74
  msgstr "Möchten Sie den Gravatar-Cache wirklich löschen?"
75
 
76
+ #: class.WpdiscuzCore.php:1057
77
  msgid "Please check one of reasons before sending feedback!"
78
  msgstr "Bitte überprüfen Sie einen der Gründe, bevor Sie ein Feedback senden!"
79
 
80
+ #: class.WpdiscuzCore.php:1058 utils/deactivation-reason-modal.php:137
81
  msgid "Please provide more information"
82
  msgstr "Bitte geben Sie weitere Informationen an"
83
 
84
+ #: class.WpdiscuzCore.php:1080 class.WpdiscuzCore.php:1966
85
  msgid "No text is selected. Please select a part of text from post content."
86
  msgstr ""
87
 
88
+ #: class.WpdiscuzCore.php:1595 options/phrases-layouts/phrases-comment.php:56
89
  msgid "Admin"
90
  msgstr "Admin"
91
 
92
+ #: class.WpdiscuzCore.php:1598 class.WpdiscuzCore.php:1611
93
  #: options/phrases-layouts/phrases-comment.php:58
94
  msgid "Author"
95
  msgstr "Autor"
96
 
97
+ #: class.WpdiscuzCore.php:1601 options/phrases-layouts/phrases-comment.php:60
98
  msgid "Editor"
99
  msgstr ""
100
 
101
+ #: class.WpdiscuzCore.php:1604 options/phrases-layouts/phrases-comment.php:64
102
  msgid "Member"
103
  msgstr "Mitglied"
104
 
105
+ #: class.WpdiscuzCore.php:1612 options/phrases-layouts/phrases-comment.php:62
106
  msgid "Guest"
107
  msgstr "Gast"
108
 
109
+ #: class.WpdiscuzCore.php:1964
110
  msgid "Selected Text"
111
  msgstr ""
112
 
113
+ #: class.WpdiscuzCore.php:1971
114
  msgid "Your Question to Readers"
115
  msgstr ""
116
 
117
+ #: class.WpdiscuzCore.php:1973
118
  msgid ""
119
  "A simple question or a call to leave a feedback on the selected part of "
120
  "text. Something like &quot;By the way. Do you agree with this?&quot; or "
121
  "&quot;Would love your thoughts, please comment on this.&quot;"
122
  msgstr ""
123
 
124
+ #: class.WpdiscuzCore.php:1979
125
  msgid "e.g: Any thoughts on this?"
126
  msgstr ""
127
 
128
+ #: class.WpdiscuzCore.php:1984
129
  msgid "Feedback Button Display Type"
130
  msgstr ""
131
 
132
+ #: class.WpdiscuzCore.php:1986
133
  msgid ""
134
  "By default the inline feedback form is closed and only the button is "
135
  "displayed. Once reader scrolled and reached to the selected text part, this "
139
  "Readers can close it using [x] button."
140
  msgstr ""
141
 
142
+ #: class.WpdiscuzCore.php:1994
143
  msgid "CLOSED"
144
  msgstr ""
145
 
146
+ #: class.WpdiscuzCore.php:2004
147
  msgid "OPENED"
148
  msgstr ""
149
 
150
+ #: class.WpdiscuzCore.php:2015
151
  msgid "Add Inline Feedback Button"
152
  msgstr ""
153
 
154
+ #: forms/wpDiscuzForm.php:97
155
+ msgid "Not whitelisted value detected"
156
+ msgstr ""
157
+
158
+ #: forms/wpDiscuzForm.php:102
159
  msgid "Invalid Data !!!"
160
  msgstr "Ungültige Daten !!!"
161
 
162
+ #: forms/wpDiscuzForm.php:110 forms/wpDiscuzForm.php:159
163
  msgid "Forms"
164
  msgstr "Formulare"
165
 
166
+ #: forms/wpDiscuzForm.php:111 options/html-phrases.php:20
167
  msgid "Form"
168
  msgstr "Formular"
169
 
170
+ #: forms/wpDiscuzForm.php:112
171
  msgid "Add New"
172
  msgstr "Neu hinzufügen"
173
 
174
+ #: forms/wpDiscuzForm.php:113
175
  msgid "Add New Form"
176
  msgstr "Neues Formular hinzufügen"
177
 
178
+ #: forms/wpDiscuzForm.php:114
179
  msgid "Edit Form"
180
  msgstr "Formular bearbeiten"
181
 
182
+ #: forms/wpDiscuzForm.php:115
183
  msgid "You did not create any forms yet"
184
  msgstr "Sie haben bisher keine Formulare erstellt"
185
 
186
+ #: forms/wpDiscuzForm.php:116
187
  msgid "Nothing found in Trash"
188
  msgstr "Nichts im Papierkorb gefunden"
189
 
190
+ #: forms/wpDiscuzForm.php:117
191
  msgid "Search Forms"
192
  msgstr "Formulare suchen"
193
 
194
+ #: forms/wpDiscuzForm.php:174
195
  msgid "Title"
196
  msgstr "Titel"
197
 
198
+ #: forms/wpDiscuzForm.php:175
199
  msgid "Post Types"
200
  msgstr "Beitragstypen"
201
 
202
+ #: forms/wpDiscuzForm.php:176
203
  msgid "Post IDs"
204
  msgstr "Beitrags-ID"
205
 
206
+ #: forms/wpDiscuzForm.php:177 forms/wpdFormAttr/Form.php:991
207
  msgid "Language"
208
  msgstr "Sprache"
209
 
210
+ #: forms/wpDiscuzForm.php:178
211
+ #: options/options-layouts/html-thread_display.php:238
212
  msgid "Date"
213
  msgstr "Datum"
214
 
215
+ #: forms/wpDiscuzForm.php:223
216
  msgid "Field Types"
217
  msgstr "Feld-Typen"
218
 
219
+ #: forms/wpDiscuzForm.php:224 forms/wpdFormAttr/Row.php:23
220
  msgid "Two column"
221
  msgstr "2 Spalten"
222
 
223
+ #: forms/wpDiscuzForm.php:225 forms/wpdFormAttr/Field/Field.php:73
224
+ #: forms/wpdFormAttr/Row.php:24 utils/class.WpdiscuzHelperUpload.php:719
225
  msgid "Delete"
226
  msgstr "Löschen"
227
 
228
+ #: forms/wpDiscuzForm.php:226 forms/wpdFormAttr/Row.php:25
229
  msgid "Move"
230
  msgstr "Verschieben"
231
 
232
+ #: forms/wpDiscuzForm.php:227 forms/wpdFormAttr/Row.php:73
233
  msgid "Add Field"
234
  msgstr "Feld hinzufügen"
235
 
236
+ #: forms/wpDiscuzForm.php:228 forms/wpdFormAttr/Field/Field.php:70
237
+ #: options/class.WpdiscuzOptions.php:345
238
  #: options/phrases-layouts/phrases-comment.php:19
239
  msgid "Edit"
240
  msgstr "Bearbeiten"
241
 
242
+ #: forms/wpDiscuzForm.php:229
243
  msgid "You can not delete default field."
244
  msgstr "Das Standardpaket kann nicht gelöscht werden."
245
 
246
+ #: forms/wpDiscuzForm.php:230
247
  msgid "You really want to delete this item ?"
248
  msgstr "Wollen Sie dieses Objekt wirklich löschen?"
249
 
250
+ #: forms/wpDiscuzForm.php:237
251
  msgid "Permission Denied !!!"
252
  msgstr "Berechtigung verweigert !!!"
253
 
254
+ #: forms/wpDiscuzForm.php:258 forms/wpdFormAttr/Form.php:956
255
  #: forms/wpdFormAttr/html/admin-form-fields-list.php:18
256
  msgid "Custom Fields"
257
  msgstr "Benutzerdefinierte Felder"
258
 
259
+ #: forms/wpDiscuzForm.php:318
260
  msgid "Custom CSS"
261
  msgstr "Benutzerdefiniertes CSS"
262
 
263
+ #: forms/wpDiscuzForm.php:373
264
  msgid "Default Form"
265
  msgstr "Standardformular"
266
 
267
+ #: forms/wpDiscuzForm.php:406 forms/wpdFormAttr/Form.php:118
268
+ #: forms/wpdFormAttr/Form.php:1072 options/html-phrases.php:21
269
  #: options/options-layouts/html-moderation.php:133
270
  msgid "Comment"
271
  msgstr "Kommentar"
272
 
273
+ #: forms/wpDiscuzForm.php:407 forms/wpdFormAttr/Form.php:126
274
+ #: forms/wpdFormAttr/Form.php:1083
275
  #: forms/wpdFormAttr/Tools/PersonalDataExporter.php:82
276
+ #: utils/class.WpdiscuzHelperAjax.php:945
277
  msgid "Comments"
278
  msgstr ""
279
 
280
+ #: forms/wpDiscuzForm.php:414 forms/wpdFormAttr/Form.php:178
281
+ #: forms/wpdFormAttr/Form.php:621 forms/wpdFormAttr/Form.php:1195
282
+ msgid "Article Rating"
283
+ msgstr ""
284
+
285
+ #: forms/wpDiscuzForm.php:434 forms/wpdFormAttr/Field/AgreementCheckbox.php:12
286
  #: forms/wpdFormAttr/Field/CheckboxField.php:12
287
  #: forms/wpdFormAttr/Field/ColorField.php:12
288
  #: forms/wpdFormAttr/Field/CookiesConsent.php:14
289
  #: forms/wpdFormAttr/Field/DateField.php:12
290
  #: forms/wpdFormAttr/Field/DefaultField/Email.php:19
291
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:18
292
+ #: forms/wpdFormAttr/Field/DefaultField/Name.php:67
293
  #: forms/wpdFormAttr/Field/DefaultField/Submit.php:18
294
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:18
295
  #: forms/wpdFormAttr/Field/HTMLField.php:12
299
  #: forms/wpdFormAttr/Field/SelectField.php:12
300
  #: forms/wpdFormAttr/Field/TextAreaField.php:12
301
  #: forms/wpdFormAttr/Field/TextField.php:12
302
+ #: forms/wpdFormAttr/Field/UrlField.php:12 forms/wpdFormAttr/Form.php:1286
303
  msgid "Name"
304
  msgstr "Name"
305
 
306
+ #: forms/wpDiscuzForm.php:436 forms/wpdFormAttr/Field/DefaultField/Email.php:67
307
+ #: forms/wpdFormAttr/Form.php:1293 options/class.WpdiscuzOptions.php:331
308
  #: options/html-phrases.php:23
309
  msgid "Email"
310
  msgstr "E-Mail"
311
 
312
+ #: forms/wpDiscuzForm.php:438
313
  msgid "WebSite URL"
314
  msgstr "URL der Webseite"
315
 
316
+ #: forms/wpDiscuzForm.php:441
317
  #: forms/wpdFormAttr/Field/DefaultField/Submit.php:117
318
+ #: forms/wpdFormAttr/Form.php:1316
319
  msgid "Post Comment"
320
  msgstr "Kommentar absenden"
321
 
322
+ #: forms/wpDiscuzForm.php:450
323
  msgid "Clone Form"
324
  msgstr "Formular duplizieren"
325
 
326
+ #: forms/wpDiscuzForm.php:462
327
  msgid "Clone"
328
  msgstr "Duplizieren"
329
 
330
+ #: forms/wpDiscuzForm.php:496
331
  msgid ""
332
  "Comment Form is not detected, please navigate to form manager page to create "
333
  "it. "
335
  "Kommentar-Formular wird nicht erkannt, navigieren Sie bitte zur Formular-"
336
  "Manager-Seite, um sie zu erstellen. "
337
 
338
+ #: forms/wpDiscuzForm.php:497
339
  msgid "Add Comment Form"
340
  msgstr "Kommentar Formular hinzufügen"
341
 
349
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:23
350
  #: forms/wpdFormAttr/Field/NumberField.php:17
351
  #: forms/wpdFormAttr/Field/RadioField.php:17
352
+ #: forms/wpdFormAttr/Field/RatingField.php:21
353
  #: forms/wpdFormAttr/Field/SelectField.php:17
354
  #: forms/wpdFormAttr/Field/TextAreaField.php:17
355
  #: forms/wpdFormAttr/Field/TextField.php:17
369
  #: forms/wpdFormAttr/Field/NumberField.php:24
370
  #: forms/wpdFormAttr/Field/NumberField.php:29
371
  #: forms/wpdFormAttr/Field/RadioField.php:19
372
+ #: forms/wpdFormAttr/Field/RatingField.php:23
373
  #: forms/wpdFormAttr/Field/SelectField.php:19
374
  #: forms/wpdFormAttr/Field/TextAreaField.php:19
375
  #: forms/wpdFormAttr/Field/TextField.php:19
402
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:35
403
  #: forms/wpdFormAttr/Field/NumberField.php:39
404
  #: forms/wpdFormAttr/Field/RadioField.php:33
405
+ #: forms/wpdFormAttr/Field/RatingField.php:33
406
  #: forms/wpdFormAttr/Field/SelectField.php:33
407
  #: forms/wpdFormAttr/Field/TextAreaField.php:22
408
  #: forms/wpdFormAttr/Field/TextField.php:29
438
 
439
  #: forms/wpdFormAttr/Field/AgreementCheckbox.php:101
440
  #: forms/wpdFormAttr/Field/CheckboxField.php:150
441
+ #: forms/wpdFormAttr/Field/ColorField.php:113
442
+ #: forms/wpdFormAttr/Field/DateField.php:113
443
+ #: forms/wpdFormAttr/Field/NumberField.php:123
444
+ #: forms/wpdFormAttr/Field/RadioField.php:129
445
+ #: forms/wpdFormAttr/Field/RatingField.php:129
446
  #: forms/wpdFormAttr/Field/SelectField.php:122
447
+ #: forms/wpdFormAttr/Field/TextAreaField.php:95
448
+ #: forms/wpdFormAttr/Field/TextField.php:107
449
+ #: forms/wpdFormAttr/Field/UrlField.php:117
450
  msgid "field is required!"
451
  msgstr "Dieses Feld ist ein Pflichtfeld!"
452
 
480
  #: forms/wpdFormAttr/Field/DateField.php:37
481
  #: forms/wpdFormAttr/Field/NumberField.php:47
482
  #: forms/wpdFormAttr/Field/RadioField.php:41
483
+ #: forms/wpdFormAttr/Field/RatingField.php:37
484
  #: forms/wpdFormAttr/Field/SelectField.php:41
485
  #: forms/wpdFormAttr/Field/TextAreaField.php:30
486
  #: forms/wpdFormAttr/Field/TextField.php:37
493
  #: forms/wpdFormAttr/Field/DateField.php:41
494
  #: forms/wpdFormAttr/Field/NumberField.php:51
495
  #: forms/wpdFormAttr/Field/RadioField.php:45
496
+ #: forms/wpdFormAttr/Field/RatingField.php:41
497
  #: forms/wpdFormAttr/Field/SelectField.php:45
498
  #: forms/wpdFormAttr/Field/TextAreaField.php:34
499
  #: forms/wpdFormAttr/Field/TextField.php:41
506
  #: forms/wpdFormAttr/Field/DateField.php:44
507
  #: forms/wpdFormAttr/Field/NumberField.php:54
508
  #: forms/wpdFormAttr/Field/RadioField.php:48
509
+ #: forms/wpdFormAttr/Field/RatingField.php:44
510
  #: forms/wpdFormAttr/Field/SelectField.php:48
511
  #: forms/wpdFormAttr/Field/TextAreaField.php:37
512
  #: forms/wpdFormAttr/Field/TextField.php:44
519
  #: forms/wpdFormAttr/Field/DateField.php:48
520
  #: forms/wpdFormAttr/Field/NumberField.php:58
521
  #: forms/wpdFormAttr/Field/RadioField.php:52
522
+ #: forms/wpdFormAttr/Field/RatingField.php:48
523
  #: forms/wpdFormAttr/Field/SelectField.php:52
524
  #: forms/wpdFormAttr/Field/TextAreaField.php:41
525
  #: forms/wpdFormAttr/Field/TextField.php:48
533
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:29
534
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:29
535
  #: forms/wpdFormAttr/Field/NumberField.php:33
536
+ #: forms/wpdFormAttr/Field/RatingField.php:27
537
  #: forms/wpdFormAttr/Field/TextField.php:23
538
  #: forms/wpdFormAttr/Field/UrlField.php:23
539
  msgid "Field icon"
545
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:32
546
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:32
547
  #: forms/wpdFormAttr/Field/NumberField.php:36
548
+ #: forms/wpdFormAttr/Field/RatingField.php:30
549
  #: forms/wpdFormAttr/Field/TextField.php:26
550
  #: forms/wpdFormAttr/Field/UrlField.php:26
551
  msgid "Font-awesome icon library."
552
  msgstr "Schriftart-Awesome Icon-Bibliothek."
553
 
554
+ #: forms/wpdFormAttr/Field/CookiesConsent.php:93
555
  msgid "Save my data for the next time I comment"
556
  msgstr "Meine Daten für das nächste Mal speichern"
557
 
559
  msgid "reCAPTCHA Settings"
560
  msgstr ""
561
 
562
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:93
563
  msgid "reCAPTCHA verification failed."
564
  msgstr ""
565
 
566
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:98
567
  msgid "The secret parameter is missing."
568
  msgstr ""
569
 
570
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:99
571
  msgid "The secret parameter is invalid or malformed."
572
  msgstr ""
573
 
574
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:100
575
  msgid "The response parameter is missing."
576
  msgstr ""
577
 
578
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:101
579
  msgid "The response parameter is invalid or malformed."
580
  msgstr ""
581
 
582
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:102
583
  msgid "The request is invalid or malformed."
584
  msgstr ""
585
 
586
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:103
587
  msgid ""
588
  "The response is no longer valid: either is too old or has been used "
589
  "previously."
590
  msgstr ""
591
 
592
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:107
593
+ msgid "reCaptcha validation fails. "
594
+ msgstr ""
595
+
596
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:109
597
  msgid "reCaptcha validation fails. Error code: "
598
  msgstr ""
599
 
610
  msgid "Enable"
611
  msgstr "Aktivieren"
612
 
613
+ #: forms/wpdFormAttr/Field/DefaultField/Website.php:84
614
+ #: forms/wpdFormAttr/Form.php:1300
615
  msgid "Website"
616
  msgstr "Webseite"
617
 
619
  msgid " (Submit Button)"
620
  msgstr " (Submit Button)"
621
 
622
+ #: forms/wpdFormAttr/Field/Field.php:63 options/class.WpdiscuzOptions.php:3188
623
  msgid "Google reCAPTCHA"
624
  msgstr ""
625
 
639
  msgid "Max Value"
640
  msgstr "Max. Wert"
641
 
642
+ #: forms/wpdFormAttr/Field/NumberField.php:127
643
  msgid "value can not be less than"
644
  msgstr "Wert darf nicht weniger sein als"
645
 
646
+ #: forms/wpdFormAttr/Field/NumberField.php:130
647
  msgid "value can not be more than"
648
  msgstr "Wert darf nicht mehr sein als"
649
 
652
  msgid "New value new line"
653
  msgstr "Neuer Wert, neue Linie"
654
 
655
+ #: forms/wpdFormAttr/Field/RatingField.php:17
656
+ msgid "Name For Total"
657
+ msgstr ""
658
+
659
+ #: forms/wpdFormAttr/Form.php:211 forms/wpdFormAttr/Form.php:617
660
+ #: forms/wpdFormAttr/Form.php:1062
661
  msgid ""
662
  "I allow to use my email address and send notification about new comments and "
663
  "replies (you can unsubscribe at any time)."
664
  msgstr ""
665
 
666
+ #: forms/wpdFormAttr/Form.php:600
667
+ msgid "Average Rating"
668
+ msgstr ""
669
+
670
+ #: forms/wpdFormAttr/Form.php:996 forms/wpdFormAttr/Form.php:1018
671
+ #: forms/wpdFormAttr/Form.php:1030 forms/wpdFormAttr/Form.php:1042
672
+ #: forms/wpdFormAttr/Form.php:1054 forms/wpdFormAttr/Form.php:1074
673
+ #: forms/wpdFormAttr/Form.php:1085 forms/wpdFormAttr/Form.php:1114
674
+ #: forms/wpdFormAttr/Form.php:1124 forms/wpdFormAttr/Form.php:1170
675
+ #: forms/wpdFormAttr/Form.php:1186 forms/wpdFormAttr/Form.php:1208
676
+ #: forms/wpdFormAttr/Form.php:1215 options/options-layouts/html-content.php:13
 
 
 
 
677
  #: options/options-layouts/html-form.php:13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
678
  #: options/options-layouts/html-inline.php:21
 
 
679
  #: options/options-layouts/html-labels.php:13
 
 
680
  #: options/options-layouts/html-live.php:15
 
 
 
 
 
 
 
 
 
681
  #: options/options-layouts/html-login.php:13
 
 
 
 
 
682
  #: options/options-layouts/html-moderation.php:13
 
 
 
 
 
 
683
  #: options/options-layouts/html-rating.php:13
 
 
684
  #: options/options-layouts/html-recaptcha.php:14
 
 
 
 
 
 
 
 
685
  #: options/options-layouts/html-social.php:13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
686
  #: options/options-layouts/html-subscription.php:13
 
 
 
 
 
 
 
 
 
 
687
  #: options/options-layouts/html-thread_display.php:13
 
 
 
 
 
 
 
 
 
688
  #: options/options-layouts/html-thread_layouts.php:32
 
 
 
 
 
 
 
 
 
 
689
  #: options/options-layouts/html-thread_styles.php:13
 
 
 
 
690
  msgid "Read the documentation"
691
  msgstr ""
692
 
693
+ #: forms/wpdFormAttr/Form.php:1001
694
  msgid "Disable commenting for roles"
695
  msgstr "Deaktivieren Sie das Kommentieren von Rollen"
696
 
697
+ #: forms/wpdFormAttr/Form.php:1023
698
  msgid "Allow guests to comment"
699
  msgstr "Gästen erlauben zu kommentieren"
700
 
701
+ #: forms/wpdFormAttr/Form.php:1027 forms/wpdFormAttr/Form.php:1039
702
+ #: forms/wpdFormAttr/Form.php:1051 forms/wpdFormAttr/Form.php:1183
703
+ #: forms/wpdFormAttr/Form.php:1205
704
  msgid "Yes"
705
  msgstr "Ja"
706
 
707
+ #: forms/wpdFormAttr/Form.php:1029 forms/wpdFormAttr/Form.php:1041
708
+ #: forms/wpdFormAttr/Form.php:1053 forms/wpdFormAttr/Form.php:1185
709
+ #: forms/wpdFormAttr/Form.php:1207
710
  msgid "No"
711
  msgstr "Nein"
712
 
713
+ #: forms/wpdFormAttr/Form.php:1035
714
  msgid "Enable subscription bar"
715
  msgstr "Abonnement Leiste aktivieren"
716
 
717
+ #: forms/wpdFormAttr/Form.php:1047
718
  msgid "Display agreement checkbox in Comment Subscription bar"
719
  msgstr ""
720
 
721
+ #: forms/wpdFormAttr/Form.php:1059
722
  msgid "Comment Subscription bar agreement checkbox label"
723
  msgstr ""
724
 
725
+ #: forms/wpdFormAttr/Form.php:1068
726
  msgid "Comment form header text (singular)"
727
  msgstr ""
728
 
729
+ #: forms/wpdFormAttr/Form.php:1079
730
  msgid "Comment form header text (plural)"
731
  msgstr ""
732
 
733
+ #: forms/wpdFormAttr/Form.php:1089
734
  msgid "Display comment form for post types"
735
  msgstr "Zeige Kommentarformular für Beitrags Typen"
736
 
737
+ #: forms/wpdFormAttr/Form.php:1096
738
  msgid ""
739
  "The red marked post types are already attached to other comment form. If you "
740
  "set this form too, the old forms will not be used for them."
743
  "angehängt. Wenn Sie dieses Formular auch markieren, werden die alten "
744
  "Formulare für diese Post-Typen nicht verwendet werden."
745
 
746
+ #: forms/wpdFormAttr/Form.php:1119
747
  msgid "Display comment form for post IDs"
748
  msgstr "Zeige Kommentarformular für Beitrags IDs"
749
 
750
+ #: forms/wpdFormAttr/Form.php:1120
751
  msgid ""
752
  "You can use this form for certain posts/pages specified by comma separated "
753
  "IDs."
755
  "Sie können dieses Formular für bestimmte Beiträge/Seiten verwenden, die "
756
  "durch Komma getrennte IDs angegeben sind."
757
 
758
+ #: forms/wpdFormAttr/Form.php:1134
759
  msgid "Theme"
760
  msgstr ""
761
 
762
+ #: forms/wpdFormAttr/Form.php:1153
763
  msgid "Comment List Layout"
764
  msgstr ""
765
 
766
+ #: forms/wpdFormAttr/Form.php:1164
767
  msgid "Layout"
768
  msgstr ""
769
 
770
+ #: forms/wpdFormAttr/Form.php:1179
771
  msgid "Enable Post Rating"
772
  msgstr ""
773
 
774
+ #: forms/wpdFormAttr/Form.php:1191
775
+ msgid "Post Rating Title"
776
+ msgstr ""
777
+
778
+ #: forms/wpdFormAttr/Form.php:1201
779
  msgid "Allow Guests to Rate"
780
  msgstr ""
781
 
782
+ #: forms/wpdFormAttr/Form.php:1219
783
  msgid "Comment Text Field"
784
  msgstr "Kommentar Textfeld"
785
 
786
+ #: forms/wpdFormAttr/Form.php:1234
787
  msgid "ADD ROW"
788
  msgstr "REIHE HINZUFÜGEN"
789
 
790
+ #: forms/wpdFormAttr/Form.php:1271
791
  msgid ""
792
  "Only logged in customers who have purchased this product may leave a review."
793
  msgstr ""
794
  "Nur angemeldete Kunden, die dieses Produkt gekauft haben, dürfen eine "
795
  "Bewertung abgeben."
796
 
797
+ #: forms/wpdFormAttr/Login/SocialLogin.php:44
798
  msgid "Authentication failed."
799
  msgstr "Authentifizierung ist fehlgeschlagen."
800
 
801
+ #: forms/wpdFormAttr/Login/SocialLogin.php:129
802
  msgid "Facebook access token or user ID invalid."
803
  msgstr "Facebook Access Token oder Benutzer-ID ungültig."
804
 
805
+ #: forms/wpdFormAttr/Login/SocialLogin.php:133
806
  msgid "Facebook App Secret is required."
807
  msgstr "Facebook App Secret ist erforderlich."
808
 
809
+ #: forms/wpdFormAttr/Login/SocialLogin.php:167
810
  msgid "Facebook Application ID and Application Secret required."
811
  msgstr ""
812
 
813
+ #: forms/wpdFormAttr/Login/SocialLogin.php:194
814
+ msgid "Facebook authentication failed (OAuth state does not exist)."
 
815
  msgstr ""
816
 
817
+ #: forms/wpdFormAttr/Login/SocialLogin.php:197
818
+ msgid "Facebook authentication failed (OAuth code does not exist)."
 
819
  msgstr ""
820
 
821
+ #: forms/wpdFormAttr/Login/SocialLogin.php:240
822
+ msgid "Instagram Application ID and Application Secret required."
823
+ msgstr ""
824
+
825
+ #: forms/wpdFormAttr/Login/SocialLogin.php:269
826
+ msgid "Instagram authentication failed (OAuth state does not exist)."
827
+ msgstr ""
828
+
829
+ #: forms/wpdFormAttr/Login/SocialLogin.php:272
830
+ msgid "Instagram authentication failed (OAuth code does not exist)."
831
+ msgstr ""
832
+
833
+ #: forms/wpdFormAttr/Login/SocialLogin.php:317
834
  msgid "Google Client ID and Client Secret required."
835
  msgstr ""
836
 
837
+ #: forms/wpdFormAttr/Login/SocialLogin.php:346
838
+ msgid "Google authentication failed (OAuth state does not exist)."
839
+ msgstr ""
840
+
841
+ #: forms/wpdFormAttr/Login/SocialLogin.php:349
842
+ msgid "Google authentication failed (OAuth code does not exist)."
843
+ msgstr ""
844
+
845
+ #: forms/wpdFormAttr/Login/SocialLogin.php:387
846
+ msgid "Linkedin Client ID and Client Secret required."
847
  msgstr ""
848
 
849
+ #: forms/wpdFormAttr/Login/SocialLogin.php:416
850
+ msgid "Linkedin authentication failed (OAuth state does not exist)."
851
  msgstr ""
852
 
853
+ #: forms/wpdFormAttr/Login/SocialLogin.php:419
854
+ msgid "Linkedin authentication failed (OAuth code does not exist)."
855
+ msgstr ""
856
+
857
+ #: forms/wpdFormAttr/Login/SocialLogin.php:497
858
  msgid "Disqus Public Key and Secret Key required."
859
  msgstr ""
860
 
861
+ #: forms/wpdFormAttr/Login/SocialLogin.php:525
862
+ msgid "Disqus authentication failed (OAuth state does not exist)."
863
  msgstr ""
864
 
865
+ #: forms/wpdFormAttr/Login/SocialLogin.php:528
866
+ msgid "Disqus authentication failed (OAuth code does not exist)."
867
  msgstr ""
868
 
869
+ #: forms/wpdFormAttr/Login/SocialLogin.php:549
870
+ msgid "Disqus authentication failed (access_token does not exist)."
 
871
  msgstr ""
872
 
873
+ #: forms/wpdFormAttr/Login/SocialLogin.php:552
874
+ msgid "Disqus authentication failed (user_id does not exist)."
875
  msgstr ""
876
 
877
+ #: forms/wpdFormAttr/Login/SocialLogin.php:583
878
  msgid "Wordpress Client ID and Client Secret required."
879
  msgstr ""
880
 
881
+ #: forms/wpdFormAttr/Login/SocialLogin.php:611
882
+ msgid "Wordpress.com authentication failed (OAuth state does not exist)."
 
 
883
  msgstr ""
884
 
885
+ #: forms/wpdFormAttr/Login/SocialLogin.php:614
886
+ msgid "Wordpress.com authentication failed (OAuth code does not exist)."
 
887
  msgstr ""
888
 
889
+ #: forms/wpdFormAttr/Login/SocialLogin.php:635
890
+ msgid "Wordpress.com authentication failed (access_token does not exist)."
 
 
891
  msgstr ""
892
 
893
+ #: forms/wpdFormAttr/Login/SocialLogin.php:647
894
+ msgid "Wordpress.com authentication failed (user_id does not exist)."
 
895
  msgstr ""
896
 
897
+ #: forms/wpdFormAttr/Login/SocialLogin.php:686
898
  msgid "Twitter Consumer Key and Consumer Secret required."
899
  msgstr "Twitter Consumer Key und Consumer Secret sind erforderlich."
900
 
901
+ #: forms/wpdFormAttr/Login/SocialLogin.php:698
902
  msgid "Twitter authentication failed (OAuth secret does not exist)."
903
  msgstr ""
904
  "Twitter Authentifizierung ist fehlgeschlagen (OAuth secret existiert nicht)."
905
 
906
+ #: forms/wpdFormAttr/Login/SocialLogin.php:713
907
  msgid "Twitter connection failed."
908
  msgstr "Twitter Verbindung fehlgeschlagen."
909
 
910
+ #: forms/wpdFormAttr/Login/SocialLogin.php:723
911
  msgid "VK Client ID and Client Secret required."
912
  msgstr "VK-Client-ID und Client-Secret erforderlich."
913
 
914
+ #: forms/wpdFormAttr/Login/SocialLogin.php:751
915
+ msgid "VK authentication failed (OAuth state does not exist)."
916
  msgstr ""
 
 
917
 
918
+ #: forms/wpdFormAttr/Login/SocialLogin.php:754
919
+ msgid "VK authentication failed (OAuth code does not exist)."
920
  msgstr ""
 
 
921
 
922
+ #: forms/wpdFormAttr/Login/SocialLogin.php:772
923
+ msgid "VK authentication failed (user_id does not exist)."
924
  msgstr ""
 
 
925
 
926
+ #: forms/wpdFormAttr/Login/SocialLogin.php:802
927
  msgid "OK Application ID, Application Key and Application Secret required."
928
  msgstr ""
929
  "OK Application ID, Application Key und Application Secret erforderlich."
930
 
931
+ #: forms/wpdFormAttr/Login/SocialLogin.php:828
932
+ msgid "OK authentication failed (OAuth state does not exist)."
933
  msgstr ""
 
 
934
 
935
+ #: forms/wpdFormAttr/Login/SocialLogin.php:831
936
+ msgid "OK authentication failed (code does not exist)."
937
+ msgstr ""
938
+
939
+ #: forms/wpdFormAttr/Login/SocialLogin.php:850
940
+ msgid "OK authentication failed (access_token does not exist)."
941
  msgstr ""
 
 
942
 
943
+ #: forms/wpdFormAttr/Login/SocialLogin.php:880
944
+ msgid "Yandex ID and Password required."
945
+ msgstr ""
946
+
947
+ #: forms/wpdFormAttr/Login/SocialLogin.php:910
948
+ msgid "Yandex authentication failed (OAuth state does not exist)."
949
+ msgstr ""
950
+
951
+ #: forms/wpdFormAttr/Login/SocialLogin.php:913
952
+ msgid "Yandex authentication failed (code does not exist)."
953
+ msgstr ""
954
+
955
+ #: forms/wpdFormAttr/Login/SocialLogin.php:933
956
+ msgid "Yandex authentication failed (access_token does not exist)."
957
+ msgstr ""
958
+
959
+ #: forms/wpdFormAttr/Login/SocialLogin.php:966
960
+ msgid "Mail.ru Client ID and Client Secret required."
961
+ msgstr ""
962
+
963
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1000
964
+ msgid "Mail.ru authentication failed (OAuth state does not exist)."
965
+ msgstr ""
966
+
967
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1003
968
+ msgid "Mail.ru authentication failed (code does not exist)."
969
+ msgstr ""
970
+
971
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1035
972
+ msgid "Mail.ru authentication failed (access_token does not exist)."
973
+ msgstr ""
974
+
975
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1057
976
+ msgid "WeChat AppKey and AppSecret required."
977
+ msgstr ""
978
+
979
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1089
980
+ msgid "WeChat authentication failed (OAuth state does not exist)."
981
+ msgstr ""
982
+
983
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1092
984
+ msgid "WeChat authentication failed (code does not exist)."
985
+ msgstr ""
986
+
987
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1110
988
+ msgid "WeChat authentication failed (access_token does not exist)."
989
+ msgstr ""
990
+
991
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1142
992
+ msgid "QQ AppKey and AppSecret required."
993
+ msgstr ""
994
+
995
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1174
996
+ msgid "QQ authentication failed (OAuth state does not exist)."
997
+ msgstr ""
998
+
999
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1177
1000
+ msgid "QQ authentication failed (code does not exist)."
1001
+ msgstr ""
1002
+
1003
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1202
1004
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1241
1005
+ msgid "QQ authentication failed (access_token does not exist)."
1006
+ msgstr ""
1007
+
1008
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1249
1009
+ msgid "Weibo App Key and App Secret required."
1010
+ msgstr ""
1011
+
1012
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1280
1013
+ msgid "Weibo authentication failed (OAuth state does not exist)."
1014
+ msgstr ""
1015
+
1016
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1283
1017
+ msgid "Weibo authentication failed (code does not exist)."
1018
+ msgstr ""
1019
+
1020
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1303
1021
+ msgid "Weibo authentication failed (access_token does not exist)."
1022
+ msgstr ""
1023
+
1024
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1335
1025
+ msgid "Baidu Client ID and Client Secret required."
1026
+ msgstr ""
1027
+
1028
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1369
1029
+ msgid "Baidu authentication failed (OAuth state does not exist)."
1030
+ msgstr ""
1031
+
1032
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1372
1033
+ msgid "Baidu authentication failed (code does not exist)."
1034
+ msgstr ""
1035
+
1036
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1392
1037
+ msgid "Baidu authentication failed (access_token does not exist)."
1038
  msgstr ""
 
 
1039
 
1040
  #: forms/wpdFormAttr/Tools/PersonalDataExporter.php:36
1041
  msgid "wpDiscuz Fields Data"
1045
  msgid "Comment Form Fields"
1046
  msgstr "Kommentarformular Felder"
1047
 
1048
+ #: options/addons/al/title.php:7 options/class.WpdiscuzOptions.php:2045
1049
  msgid "Advanced Likers"
1050
  msgstr "Erweiterte Gefällt-mir-Klicker"
1051
 
1052
+ #: options/addons/cai/title.php:7 utils/class.WpdiscuzHelperAjax.php:942
1053
  msgid "Comment Author"
1054
  msgstr "Kommentar-Autor"
1055
 
1061
  msgid "More Addons..."
1062
  msgstr "Weitere Addons ..."
1063
 
1064
+ #: options/addons/mu/title.php:7 options/class.WpdiscuzOptions.php:2081
1065
  msgid "Media Uploader"
1066
  msgstr "Media Uploader"
1067
 
1068
+ #: options/addons/raf/title.php:7 options/class.WpdiscuzOptions.php:2051
1069
  msgid "Report and Flagging"
1070
  msgstr "Bericht und Kennzeichnung"
1071
 
1073
  msgid "Mentioning"
1074
  msgstr "Erwähnung"
1075
 
1076
+ #: options/class.WpdiscuzOptions.php:325
1077
  msgid "Be the First to Comment!"
1078
  msgstr "Hinterlassen Sie den ersten Kommentar!"
1079
 
1080
+ #: options/class.WpdiscuzOptions.php:326
1081
  msgid "Start the discussion"
1082
  msgstr "Starte die Diskussion"
1083
 
1084
+ #: options/class.WpdiscuzOptions.php:327
1085
  msgid "Join the discussion"
1086
  msgstr "An Diskussion beteiligen"
1087
 
1088
+ #: options/class.WpdiscuzOptions.php:328
1089
  #: options/phrases-layouts/phrases-form.php:19
1090
  msgid "Most reacted comment"
1091
  msgstr "Kommentar, auf das am meisten reagiert wurde"
1092
 
1093
+ #: options/class.WpdiscuzOptions.php:329
1094
  #: options/phrases-layouts/phrases-form.php:23
1095
  msgid "Hottest comment thread"
1096
  msgstr "Beliebtestes Kommentar Thema"
1097
 
1098
+ #: options/class.WpdiscuzOptions.php:330
1099
  #: options/phrases-layouts/phrases-form.php:27
1100
  msgid "Inline Comments"
1101
  msgstr ""
1102
 
1103
+ #: options/class.WpdiscuzOptions.php:332
1104
  #: options/phrases-layouts/phrases-form.php:35
1105
  msgid "Subscribe"
1106
  msgstr "Abonnieren"
1107
 
1108
+ #: options/class.WpdiscuzOptions.php:333
1109
  #: options/phrases-layouts/phrases-form.php:39
1110
  msgid "Notify of"
1111
  msgstr "Benachrichtige mich bei"
1112
 
1113
+ #: options/class.WpdiscuzOptions.php:334
1114
  msgid "new follow-up comments"
1115
  msgstr "allen neuen Kommentare"
1116
 
1117
+ #: options/class.WpdiscuzOptions.php:335
1118
  msgid "new replies to my comments"
1119
  msgstr "nur Antworten zu meinen Kommentar/en"
1120
 
1121
+ #: options/class.WpdiscuzOptions.php:336
1122
  msgid "Notify of new replies to this comment"
1123
  msgstr ""
1124
 
1125
+ #: options/class.WpdiscuzOptions.php:337
1126
  #: options/phrases-layouts/phrases-form.php:55
1127
  msgid "Sort by"
1128
  msgstr "Sortieren nach"
1129
 
1130
+ #: options/class.WpdiscuzOptions.php:338
1131
  #: options/phrases-layouts/phrases-form.php:59
1132
  msgid "Newest"
1133
  msgstr ""
1134
 
1135
+ #: options/class.WpdiscuzOptions.php:339
1136
  #: options/phrases-layouts/phrases-form.php:63
1137
  msgid "Oldest"
1138
  msgstr ""
1139
 
1140
+ #: options/class.WpdiscuzOptions.php:340
1141
  #: options/phrases-layouts/phrases-form.php:67
1142
  msgid "Most Voted"
1143
  msgstr ""
1144
 
1145
+ #: options/class.WpdiscuzOptions.php:341
1146
  msgid "Load More Comments"
1147
  msgstr "Weitere Kommentare anzeigen"
1148
 
1149
+ #: options/class.WpdiscuzOptions.php:342
1150
  #: options/phrases-layouts/phrases-general.php:19
1151
  msgid "Load Rest of Comments"
1152
  msgstr "Lade alle weiteren Kommentare"
1153
 
1154
+ #: options/class.WpdiscuzOptions.php:343
1155
  #: options/options-layouts/html-moderation.php:135
1156
  #: options/phrases-layouts/phrases-comment.php:11
1157
  msgid "Reply"
1158
  msgstr "Antworten"
1159
 
1160
+ #: options/class.WpdiscuzOptions.php:344
1161
  #: options/phrases-layouts/phrases-comment.php:15
1162
  msgid "Share"
1163
  msgstr "Teilen"
1164
 
1165
+ #: options/class.WpdiscuzOptions.php:346
1166
  #: options/phrases-layouts/phrases-comment.php:23
1167
  msgid "Share On Facebook"
1168
  msgstr "Auf Facebook teilen"
1169
 
1170
+ #: options/class.WpdiscuzOptions.php:347
1171
  #: options/phrases-layouts/phrases-comment.php:27
1172
  msgid "Share On Twitter"
1173
  msgstr "Auf Twitter teilen"
1174
 
1175
+ #: options/class.WpdiscuzOptions.php:348
1176
  #: options/phrases-layouts/phrases-comment.php:31
1177
+ msgid "Share On WhatsApp"
1178
+ msgstr ""
1179
 
1180
+ #: options/class.WpdiscuzOptions.php:349
1181
  #: options/phrases-layouts/phrases-comment.php:35
1182
  msgid "Share On VKontakte"
1183
  msgstr "Auf VKontakte teilen"
1184
 
1185
+ #: options/class.WpdiscuzOptions.php:350
1186
  #: options/phrases-layouts/phrases-comment.php:39
1187
  msgid "Share On Odnoklassniki"
1188
  msgstr "Auf Odnoklassniki teilen"
1189
 
1190
+ #: options/class.WpdiscuzOptions.php:351
1191
  #: options/phrases-layouts/phrases-comment.php:43
1192
  msgid "Hide Replies"
1193
  msgstr "Antworten verbergen"
1194
 
1195
+ #: options/class.WpdiscuzOptions.php:352
1196
  #: options/phrases-layouts/phrases-comment.php:47
1197
  msgid "View Replies"
1198
  msgstr "Antworten anzeigen"
1199
 
1200
+ #: options/class.WpdiscuzOptions.php:353 options/class.WpdiscuzOptions.php:473
1201
  msgid "New Comment"
1202
  msgstr "Neuer Kommentar"
1203
 
1204
+ #: options/class.WpdiscuzOptions.php:354
1205
  msgid ""
1206
+ "Hi [SUBSCRIBER_NAME],<br/><br/> new comment has been posted by the "
1207
  "<em><strong>[COMMENT_AUTHOR]</em></strong> on the discussion section you've "
1208
  "been interested in<br/><br/><a href='[COMMENT_URL]'>[COMMENT_URL]</a><br/"
1209
  "><br/>[COMMENT_CONTENT]<br/><br/><a href='[UNSUBSCRIBE_URL]'>Unsubscribe</a>"
1210
  msgstr ""
1211
 
1212
+ #: options/class.WpdiscuzOptions.php:355 options/class.WpdiscuzOptions.php:357
1213
  msgid "New Reply"
1214
  msgstr "Neue Antwort"
1215
 
1216
+ #: options/class.WpdiscuzOptions.php:356 options/class.WpdiscuzOptions.php:358
1217
  msgid ""
1218
+ "Hi [SUBSCRIBER_NAME],<br/><br/> new reply has been posted by the "
1219
  "<em><strong>[COMMENT_AUTHOR]</em></strong> on the discussion section you've "
1220
  "been interested in<br/><br/><a href='[COMMENT_URL]'>[COMMENT_URL]</a><br/"
1221
  "><br/>[COMMENT_CONTENT]<br/><br/><a href='[UNSUBSCRIBE_URL]'>Unsubscribe</a>"
1222
  msgstr ""
1223
 
1224
+ #: options/class.WpdiscuzOptions.php:359
1225
  msgid "You're subscribed for new replies on this comment"
1226
  msgstr ""
1227
  "Sie haben alle zukünftigen Antworten zu diesem Kommentar erfolgreich "
1228
  "abonniert"
1229
 
1230
+ #: options/class.WpdiscuzOptions.php:360
1231
  msgid "You're subscribed for new replies on all your comments"
1232
  msgstr ""
1233
  "Sie haben alle zukünftigen Antworten zu allen Kommentaren erfolgreich "
1234
  "abonniert"
1235
 
1236
+ #: options/class.WpdiscuzOptions.php:361
1237
  msgid "You're subscribed for new follow-up comments on this post"
1238
  msgstr ""
1239
  "Sie haben alle zukünftigen Kommentare zu diesem Beitrag erfolgreich abonniert"
1240
 
1241
+ #: options/class.WpdiscuzOptions.php:362
1242
+ #: options/phrases-layouts/phrases-email.php:176
1243
  msgid "Unsubscribe"
1244
  msgstr "Abmelden"
1245
 
1246
+ #: options/class.WpdiscuzOptions.php:363
1247
  msgid "Cancel subscription"
1248
  msgstr "Abrechnung kündigen"
1249
 
1250
+ #: options/class.WpdiscuzOptions.php:364
1251
  #: options/phrases-layouts/phrases-notification.php:19
1252
  msgid "You've successfully unsubscribed."
1253
  msgstr "Kommentar-Benachrichtigung erfolgreich de-abonniert."
1254
 
1255
+ #: options/class.WpdiscuzOptions.php:365
1256
  #: options/phrases-layouts/phrases-notification.php:15
1257
  msgid "You've successfully subscribed."
1258
  msgstr "Kommentar-Benachrichtigung erfolgreich abonniert."
1259
 
1260
+ #: options/class.WpdiscuzOptions.php:366
1261
+ #: options/phrases-layouts/phrases-email.php:184
1262
  msgid "Confirm your subscription"
1263
  msgstr "Benachrichtigung bestätigen"
1264
 
1265
+ #: options/class.WpdiscuzOptions.php:367
1266
+ #: options/phrases-layouts/phrases-email.php:188
1267
  msgid "You've successfully confirmed your subscription."
1268
  msgstr "Sie haben Ihre Kommentar-Benachrichtigung/en erfolgreich abonniert."
1269
 
1270
+ #: options/class.WpdiscuzOptions.php:368
1271
  msgid "Subscription Confirmation"
1272
  msgstr "Anmeldungsbestätigung"
1273
 
1274
+ #: options/class.WpdiscuzOptions.php:369
1275
  msgid ""
1276
  "Hi, <br/> You just subscribed for new comments on our website. This means "
1277
  "you will receive an email when new comments are posted according to "
1282
  "href='[CANCEL_URL]'>Cancel Subscription</a>"
1283
  msgstr ""
1284
 
1285
+ #: options/class.WpdiscuzOptions.php:370
1286
  msgid "please fill out this field to comment"
1287
  msgstr "Bitte füllen Sie dieses Feld aus"
1288
 
1289
+ #: options/class.WpdiscuzOptions.php:371
1290
  msgid "email address is invalid"
1291
  msgstr "Bitte überprüfen Sie Ihre angegebene Email-Adresse"
1292
 
1293
+ #: options/class.WpdiscuzOptions.php:372
1294
  msgid "url is invalid"
1295
  msgstr "Bitte überprüfen Sie Ihre angegebene URL"
1296
 
1297
+ #: options/class.WpdiscuzOptions.php:373
1298
  msgid "year"
1299
  msgstr "Jahr"
1300
 
1301
+ #: options/class.WpdiscuzOptions.php:374
1302
  msgid "years"
1303
  msgstr "Jahre"
1304
 
1305
+ #: options/class.WpdiscuzOptions.php:375
1306
  msgid "month"
1307
  msgstr "Monat"
1308
 
1309
+ #: options/class.WpdiscuzOptions.php:376
1310
  msgid "months"
1311
  msgstr "Monate"
1312
 
1313
+ #: options/class.WpdiscuzOptions.php:377
1314
  msgid "day"
1315
  msgstr "Tag"
1316
 
1317
+ #: options/class.WpdiscuzOptions.php:378
1318
+ #: options/options-layouts/html-general.php:252
1319
  msgid "days"
1320
  msgstr "Tage"
1321
 
1322
+ #: options/class.WpdiscuzOptions.php:379
1323
  msgid "hour"
1324
  msgstr "Stunde"
1325
 
1326
+ #: options/class.WpdiscuzOptions.php:380
1327
  msgid "hours"
1328
  msgstr "Stunden"
1329
 
1330
+ #: options/class.WpdiscuzOptions.php:381
1331
  msgid "minute"
1332
  msgstr "Minute"
1333
 
1334
+ #: options/class.WpdiscuzOptions.php:382
1335
  msgid "minutes"
1336
  msgstr "Minuten"
1337
 
1338
+ #: options/class.WpdiscuzOptions.php:383
1339
  msgid "second"
1340
  msgstr "Sekunde"
1341
 
1342
+ #: options/class.WpdiscuzOptions.php:384
1343
  #: options/options-layouts/html-live.php:111
1344
  #: options/options-layouts/html-live.php:126
1345
  msgid "seconds"
1346
  msgstr "Sekunden"
1347
 
1348
+ #: options/class.WpdiscuzOptions.php:385
1349
  msgid "right now"
1350
  msgstr "gerade eben"
1351
 
1352
+ #: options/class.WpdiscuzOptions.php:386
1353
  msgid "ago"
1354
  msgstr "zuvor"
1355
 
1356
+ #: options/class.WpdiscuzOptions.php:387
1357
  #: options/phrases-layouts/phrases-notification.php:38
1358
  msgid "You must be"
1359
  msgstr "Du musst"
1360
 
1361
+ #: options/class.WpdiscuzOptions.php:388
1362
  msgid "You are logged in as"
1363
  msgstr "Sie sind angemeldet als"
1364
 
1365
+ #: options/class.WpdiscuzOptions.php:389
1366
  #: options/phrases-layouts/phrases-notification.php:29
1367
  msgid "Login"
1368
  msgstr "Anmelden"
1369
 
1370
+ #: options/class.WpdiscuzOptions.php:390
1371
  #: options/phrases-layouts/phrases-notification.php:33
1372
  #, php-format
1373
  msgid "Please %s to comment"
1374
  msgstr "Bitte %s um zu kommentieren"
1375
 
1376
+ #: options/class.WpdiscuzOptions.php:391
1377
  #: options/phrases-layouts/phrases-notification.php:54
1378
  msgid "Log out"
1379
  msgstr "Abmelden"
1380
 
1381
+ #: options/class.WpdiscuzOptions.php:392
1382
  msgid "logged in"
1383
  msgstr "eingeloggt"
1384
 
1385
+ #: options/class.WpdiscuzOptions.php:393
1386
  msgid "to post a comment."
1387
  msgstr "um ein Kommentar oder eine Antwort schreiben zu können."
1388
 
1389
+ #: options/class.WpdiscuzOptions.php:394
1390
  #: options/phrases-layouts/phrases-comment.php:75
1391
  msgid "Vote Up"
1392
  msgstr "Gefällt mir"
1393
 
1394
+ #: options/class.WpdiscuzOptions.php:395
1395
  #: options/phrases-layouts/phrases-comment.php:79
1396
  msgid "Vote Down"
1397
  msgstr "Ablehnen"
1398
 
1399
+ #: options/class.WpdiscuzOptions.php:396
1400
  #: options/phrases-layouts/phrases-notification.php:58
1401
  msgid "Vote Counted"
1402
  msgstr "Gezählte Stimmen"
1403
 
1404
+ #: options/class.WpdiscuzOptions.php:397
1405
  msgid "You've already voted for this comment"
1406
  msgstr "Es ist immer nur eine Bewertung erlaubt"
1407
 
1408
+ #: options/class.WpdiscuzOptions.php:398
1409
  #: options/phrases-layouts/phrases-error.php:27
1410
  msgid "Voting Error"
1411
  msgstr "Bewertungs-Fehler"
1412
 
1413
+ #: options/class.WpdiscuzOptions.php:399
1414
  msgid "You Must Be Logged In To Vote"
1415
  msgstr "Um Ihre Stimme abgeben zu können müssen Sie angemeldet sein"
1416
 
1417
+ #: options/class.WpdiscuzOptions.php:400
1418
  msgid "You cannot vote for your comment"
1419
  msgstr "Eigene Kommentare können nicht bewertet werden"
1420
 
1421
+ #: options/class.WpdiscuzOptions.php:401
1422
  msgid "You are not allowed to vote for this comment"
1423
  msgstr "Es ist nur eine Stimmvergabe möglich"
1424
 
1425
+ #: options/class.WpdiscuzOptions.php:402
1426
  #: options/phrases-layouts/phrases-error.php:39
1427
  msgid "Invalid Captcha Code"
1428
  msgstr "Captcha Code ist falsch"
1429
 
1430
+ #: options/class.WpdiscuzOptions.php:403
1431
  #: options/phrases-layouts/phrases-error.php:43
1432
  msgid "Some of field value is invalid"
1433
  msgstr "Nicht alle von Ihnen ausgefüllten Felder sind richtig"
1434
 
1435
+ #: options/class.WpdiscuzOptions.php:404
1436
  #: options/phrases-layouts/phrases-notification.php:66
1437
  msgid "Awaiting for approval"
1438
  msgstr ""
1439
 
1440
+ #: options/class.WpdiscuzOptions.php:405
1441
  msgid "Sorry, the comment was not updated"
1442
  msgstr ""
1443
  "Tut uns leid, aber dieser Kommentar konnte leider nicht aktualisiert werden"
1444
 
1445
+ #: options/class.WpdiscuzOptions.php:406
1446
+ msgid "Sorry, this comment is no longer possible to edit"
1447
  msgstr ""
 
 
1448
 
1449
+ #: options/class.WpdiscuzOptions.php:407
1450
  msgid "You've not made any changes"
1451
  msgstr "Es wurden keine Änderungen von Ihnen vorgenommen"
1452
 
1453
+ #: options/class.WpdiscuzOptions.php:408 utils/class.WpdiscuzHelper.php:1213
1454
  msgid "Save"
1455
  msgstr "Speichern"
1456
 
1457
+ #: options/class.WpdiscuzOptions.php:409
1458
  msgid "Cancel"
1459
  msgstr "Abbrechen"
1460
 
1461
+ #: options/class.WpdiscuzOptions.php:410
1462
  msgid "Input is too short"
1463
  msgstr "Diese Eingabe ist zu kurz"
1464
 
1465
+ #: options/class.WpdiscuzOptions.php:411
1466
  msgid "Input is too long"
1467
  msgstr "Diese Eingabe ist zu lang"
1468
 
1469
+ #: options/class.WpdiscuzOptions.php:412
1470
  msgid "Read more &raquo;"
1471
  msgstr "Weiterlesen &raquo;"
1472
 
1473
+ #: options/class.WpdiscuzOptions.php:413
1474
  msgid "Anonymous"
1475
  msgstr "Anonym"
1476
 
1477
+ #: options/class.WpdiscuzOptions.php:414
1478
  #: options/phrases-layouts/phrases-error.php:67
1479
  msgid "Please fill out required fields"
1480
  msgstr "Bitte füllen Sie die erforderlichen Felder aus"
1481
 
1482
+ #: options/class.WpdiscuzOptions.php:415
1483
  #: options/phrases-layouts/phrases-social-login.php:11
1484
  msgid "Connect with"
1485
  msgstr "Anmelden mit"
1486
 
1487
+ #: options/class.WpdiscuzOptions.php:416
1488
  #: options/phrases-layouts/phrases-notification.php:11
1489
  msgid "You're subscribed to"
1490
  msgstr "Sie sind angemeldet für"
1491
 
1492
+ #: options/class.WpdiscuzOptions.php:417
1493
  msgid "Participate in this discussion via email"
1494
  msgstr "Folge dieser Diskussion per E-Mail"
1495
 
1496
+ #: options/class.WpdiscuzOptions.php:418 utils/layouts/pagination.php:45
1497
  msgid "&rsaquo;"
1498
  msgstr "&rsaquo;"
1499
 
1500
+ #: options/class.WpdiscuzOptions.php:419
1501
  msgid "Your comment is approved!"
1502
  msgstr "Ihr Kommentar wurde genehmigt!"
1503
 
1504
+ #: options/class.WpdiscuzOptions.php:420
1505
  msgid ""
1506
  "Hi [COMMENT_AUTHOR],<br/><br/>your comment was approved.<br/><br/><a href="
1507
  "\"[COMMENT_URL]\">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]"
1509
  "Hallo [COMMENT_AUTHOR],<br/><br/>>Ihr Kommentar wurde genehmigt.<br/><br/><a "
1510
  "href=\"[COMMENT_URL]\">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]"
1511
 
1512
+ #: options/class.WpdiscuzOptions.php:421
1513
  msgid "Comments are closed."
1514
  msgstr "Kommentare sind geschlossen."
1515
 
1516
+ #: options/class.WpdiscuzOptions.php:422
1517
  msgid "Stick this comment"
1518
  msgstr ""
1519
 
1520
+ #: options/class.WpdiscuzOptions.php:423
1521
  #: options/phrases-layouts/phrases-comment.php:103
1522
  msgid "Stick"
1523
  msgstr "Anheften"
1524
 
1525
+ #: options/class.WpdiscuzOptions.php:424
1526
  #: options/phrases-layouts/phrases-comment.php:107
1527
  msgid "Unstick"
1528
  msgstr "Abheften"
1529
 
1530
+ #: options/class.WpdiscuzOptions.php:425
1531
  msgid "Sticky Comment Thread"
1532
  msgstr ""
1533
 
1534
+ #: options/class.WpdiscuzOptions.php:426
1535
  msgid "Close this thread"
1536
  msgstr ""
1537
 
1538
+ #: options/class.WpdiscuzOptions.php:427 options/html-dashboard.php:34
1539
  #: options/phrases-layouts/phrases-comment.php:119
1540
  msgid "Close"
1541
  msgstr "Schließen"
1542
 
1543
+ #: options/class.WpdiscuzOptions.php:428
1544
  #: options/phrases-layouts/phrases-comment.php:123
1545
  msgid "Open"
1546
  msgstr "Offen"
1547
 
1548
+ #: options/class.WpdiscuzOptions.php:429
1549
  msgid "Closed Comment Thread"
1550
  msgstr ""
1551
 
1552
+ #: options/class.WpdiscuzOptions.php:430
1553
  msgid "I allow to create an account"
1554
  msgstr "Ich erlaube ein Konto zu erstellen"
1555
 
1556
+ #: options/class.WpdiscuzOptions.php:431
1557
  msgid ""
1558
  "When you login first time using a Social Login button, we collect your "
1559
  "account public profile information shared by Social Login provider, based on "
1568
  "automatisch ein Konto für Sie auf unserer Website zu erstellen. Sobald Ihr "
1569
  "Konto erstellt wurde, werden Sie bei diesem Konto angemeldet."
1570
 
1571
+ #: options/class.WpdiscuzOptions.php:432
1572
  #: options/phrases-layouts/phrases-social-login.php:23
1573
  msgid "Disagree"
1574
  msgstr "Ablehnen"
1575
 
1576
+ #: options/class.WpdiscuzOptions.php:433
1577
  #: options/phrases-layouts/phrases-social-login.php:27
1578
  msgid "Agree"
1579
  msgstr "Ich stimme zu"
1580
 
1581
+ #: options/class.WpdiscuzOptions.php:434
1582
  #: options/phrases-layouts/phrases-user-settings.php:11
1583
  msgid "My content and settings"
1584
  msgstr "Meine Inhalte und Einstellungen"
1585
 
1586
+ #: options/class.WpdiscuzOptions.php:435
1587
  #: options/phrases-layouts/phrases-user-settings.php:15
1588
  msgid "Activity"
1589
  msgstr "Aktivität"
1590
 
1591
+ #: options/class.WpdiscuzOptions.php:436 options/html-dashboard.php:201
1592
  #: options/phrases-layouts/phrases-user-settings.php:19
1593
+ #: utils/class.WpdiscuzHelperAjax.php:949
1594
  msgid "Subscriptions"
1595
  msgstr "Abonnements"
1596
 
1597
+ #: options/class.WpdiscuzOptions.php:437
1598
  #: options/phrases-layouts/phrases-user-settings.php:23
1599
  msgid "Follows"
1600
  msgstr ""
1601
 
1602
+ #: options/class.WpdiscuzOptions.php:438
1603
  #: options/phrases-layouts/phrases-user-settings.php:27
1604
  msgid "In response to:"
1605
  msgstr "Als Antwort auf:"
1606
 
1607
+ #: options/class.WpdiscuzOptions.php:439 options/class.WpdiscuzOptions.php:445
1608
  #: options/phrases-layouts/phrases-user-settings.php:31
1609
  #: options/phrases-layouts/phrases-user-settings.php:55
1610
  msgid "Bulk management via email"
1611
  msgstr "Massen-Management per E-Mail"
1612
 
1613
+ #: options/class.WpdiscuzOptions.php:440
1614
  msgid ""
1615
  "Click the button above to get an email with bulk delete and unsubscribe "
1616
  "links."
1618
  "Klicken Sie auf die Schaltfläche oben, um eine E-Mail mit Links zum Löschen "
1619
  "und zur Massen-Abbestellung zu erhalten."
1620
 
1621
+ #: options/class.WpdiscuzOptions.php:441
1622
  #: options/phrases-layouts/phrases-user-settings.php:39
1623
  msgid "No data found!"
1624
  msgstr "Keine Daten gefunden!"
1625
 
1626
+ #: options/class.WpdiscuzOptions.php:442 options/class.WpdiscuzOptions.php:446
1627
  #: options/phrases-layouts/phrases-user-settings.php:43
1628
  #: options/phrases-layouts/phrases-user-settings.php:60
1629
  msgid "Delete all my comments"
1630
  msgstr "Löschen Sie alle meine Kommentare"
1631
 
1632
+ #: options/class.WpdiscuzOptions.php:443
1633
  #: options/phrases-layouts/phrases-user-settings.php:47
1634
  msgid "Cancel all comment subscriptions"
1635
  msgstr "Brechen Sie alle Kommentarabonnements ab"
1636
 
1637
+ #: options/class.WpdiscuzOptions.php:444
1638
  #: options/phrases-layouts/phrases-user-settings.php:51
1639
  msgid "Clear cookies with my personal data"
1640
  msgstr "Löschen Sie Cookies mit meinen persönlichen Daten"
1641
 
1642
+ #: options/class.WpdiscuzOptions.php:447
1643
  msgid ""
1644
  "Please use this link to delete all your comments. Please note, that this "
1645
  "action cannot be undone.<br/><br/><a href=\"[DELETE_COMMENTS_URL]\" target="
1646
  "\"_blank\">Delete all my comments</a><br/><br/>"
1647
  msgstr ""
1648
 
1649
+ #: options/class.WpdiscuzOptions.php:448
1650
  #: options/phrases-layouts/phrases-user-settings.php:85
1651
  msgid "Delete all my subscriptions"
1652
  msgstr "Alle meine Abonnements löschen"
1653
 
1654
+ #: options/class.WpdiscuzOptions.php:449
1655
  msgid ""
1656
  "Please use this link to cancel all subscriptions for new comments. Please "
1657
  "note, that this action cannot be undone.<br/><br/><a href="
1659
  "subscriptions</a><br/><br/>"
1660
  msgstr ""
1661
 
1662
+ #: options/class.WpdiscuzOptions.php:450
1663
  #: options/phrases-layouts/phrases-user-settings.php:110
1664
  msgid "Delete all my follows"
1665
  msgstr ""
1666
 
1667
+ #: options/class.WpdiscuzOptions.php:451
1668
  msgid ""
1669
  "Please use this link to cancel all follows for new comments. Please note, "
1670
  "that this action cannot be undone.<br/><br/><a href=\"[DELETE_FOLLOWS_URL]\" "
1671
  "target=\"_blank\">Delete all my follows</a><br/><br/>"
1672
  msgstr ""
1673
 
1674
+ #: options/class.WpdiscuzOptions.php:452
1675
  #: options/phrases-layouts/phrases-user-settings.php:134
1676
  msgid "subscribed to this comment"
1677
  msgstr "abonnierte diesen Kommentar"
1678
 
1679
+ #: options/class.WpdiscuzOptions.php:453
1680
  #: options/phrases-layouts/phrases-user-settings.php:138
1681
  msgid "subscribed to my comments"
1682
  msgstr "abonnierte meine Kommentare"
1683
 
1684
+ #: options/class.WpdiscuzOptions.php:454
1685
  #: options/phrases-layouts/phrases-user-settings.php:142
1686
  msgid "subscribed to all follow-up comments of this post"
1687
  msgstr "abonnierte alle Follow-up-Kommentare dieses Beitrags"
1688
 
1689
+ #: options/class.WpdiscuzOptions.php:455
1690
  #: options/phrases-layouts/phrases-user-settings.php:146
1691
  msgid "Please check your email."
1692
  msgstr "Bitte überprüfen Sie Ihre E-Mail."
1693
 
1694
+ #: options/class.WpdiscuzOptions.php:456
1695
  #: options/phrases-layouts/phrases-user-settings.php:150
1696
  msgid "Error : Can't send email."
1697
  msgstr "Fehler: E-Mail kann nicht gesendet werden."
1698
 
1699
+ #: options/class.WpdiscuzOptions.php:457
1700
  #: options/phrases-layouts/phrases-user-settings.php:154
1701
  msgid "Are you sure you want to delete this comment?"
1702
  msgstr "Sind Sie sicher, dass Sie diesen Kommentar löschen wollen?"
1703
 
1704
+ #: options/class.WpdiscuzOptions.php:458
1705
  #: options/phrases-layouts/phrases-user-settings.php:158
1706
  msgid "Are you sure you want to cancel this subscription?"
1707
  msgstr "Sind Sie sicher, dass Sie Ihr Abo kündigen wollen?"
1708
 
1709
+ #: options/class.WpdiscuzOptions.php:459
1710
  #: options/phrases-layouts/phrases-user-settings.php:162
1711
  msgid "Are you sure you want to cancel this follow?"
1712
  msgstr ""
1713
 
1714
+ #: options/class.WpdiscuzOptions.php:460
1715
  #: options/phrases-layouts/phrases-follow.php:11
1716
  msgid "Follow this user"
1717
  msgstr ""
1718
 
1719
+ #: options/class.WpdiscuzOptions.php:461
1720
  #: options/phrases-layouts/phrases-follow.php:15
1721
  msgid "Unfollow this user"
1722
  msgstr ""
1723
 
1724
+ #: options/class.WpdiscuzOptions.php:462
1725
  #: options/phrases-layouts/phrases-follow.php:19
1726
  msgid "You started following this comment author"
1727
  msgstr ""
1728
 
1729
+ #: options/class.WpdiscuzOptions.php:463
1730
  msgid "You stopped following this comment author."
1731
  msgstr ""
1732
 
1733
+ #: options/class.WpdiscuzOptions.php:464
1734
  msgid "Please check your email and confirm the user following request."
1735
  msgstr ""
1736
 
1737
+ #: options/class.WpdiscuzOptions.php:465
1738
  msgid "Sorry, we couldn't send confirmation email."
1739
  msgstr ""
1740
 
1741
+ #: options/class.WpdiscuzOptions.php:466
1742
  msgid "Please login to follow users."
1743
  msgstr ""
1744
 
1745
+ #: options/class.WpdiscuzOptions.php:467
1746
  msgid "We are sorry, but you can't follow this user."
1747
  msgstr ""
1748
 
1749
+ #: options/class.WpdiscuzOptions.php:468
1750
  msgid "Following failed. Please try again later."
1751
  msgstr ""
1752
 
1753
+ #: options/class.WpdiscuzOptions.php:469
1754
  msgid "Confirm user following request"
1755
  msgstr ""
1756
 
1757
+ #: options/class.WpdiscuzOptions.php:470
1758
  msgid "Cancel user following request"
1759
  msgstr ""
1760
 
1761
+ #: options/class.WpdiscuzOptions.php:471
1762
  msgid "User Following Confirmation"
1763
  msgstr ""
1764
 
1765
+ #: options/class.WpdiscuzOptions.php:472
1766
  msgid "Confirm Follow"
1767
  msgstr ""
1768
 
1769
+ #: options/class.WpdiscuzOptions.php:472 options/class.WpdiscuzOptions.php:474
1770
+ #: utils/class.WpdiscuzHelperEmail.php:426
1771
  msgid "Unfollow"
1772
  msgstr ""
1773
 
1774
+ #: options/class.WpdiscuzOptions.php:472
1775
  msgid ""
1776
  "Hi, <br/> You just started following a new user. You'll get email "
1777
  "notification once new comment is posted by this user. <br/> Please click on "
1781
  "\"[CONFIRM_URL]\">"
1782
  msgstr ""
1783
 
1784
+ #: options/class.WpdiscuzOptions.php:474
1785
  msgid ""
1786
+ "Hi [FOLLOWER_NAME],<br/><br/> new comment has been posted by the "
1787
  "<em><strong>[COMMENT_AUTHOR]</em></strong> you are following<br/><br/><a "
1788
  "href=\"[COMMENT_URL]\">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]<br/><br/"
1789
  "><a href=\"[CANCEL_URL]\">"
1790
  msgstr ""
1791
 
1792
+ #: options/class.WpdiscuzOptions.php:475
1793
  msgid "You have been mentioned in comment"
1794
  msgstr ""
1795
 
1796
+ #: options/class.WpdiscuzOptions.php:476
1797
  msgid ""
1798
  "Hi [MENTIONED_USER_NAME]!<br/>You have been mentioned in a comment posted on "
1799
  "\"[POST_TITLE]\" post by [COMMENT_AUTHOR].<br/><br/>Comment URL: <a href="
1800
  "\"[COMMENT_URL]\">[COMMENT_URL]</a>"
1801
  msgstr ""
1802
 
1803
+ #: options/class.WpdiscuzOptions.php:477
1804
  #: options/phrases-layouts/phrases-general.php:23
1805
  msgid "Copied to clipboard!"
1806
  msgstr ""
1807
 
1808
+ #: options/class.WpdiscuzOptions.php:478
1809
  #: options/phrases-layouts/phrases-general.php:27
1810
  msgid "Select a part of text and ask readers for feedback (inline commenting)"
1811
  msgstr ""
1812
 
1813
+ #: options/class.WpdiscuzOptions.php:479
1814
  #: options/phrases-layouts/phrases-general.php:31
1815
  msgid "Ask for Feedback"
1816
  msgstr ""
1817
 
1818
+ #: options/class.WpdiscuzOptions.php:480
1819
  #: options/phrases-layouts/phrases-general.php:35
1820
  msgid "Please leave a feedback on this"
1821
  msgstr ""
1822
 
1823
+ #: options/class.WpdiscuzOptions.php:482
1824
+ #: utils/deactivation-reason-modal.php:157
 
 
 
 
1825
  msgid "Thank you for your feedback!"
1826
  msgstr "Vielen Dank für Ihr Feedback!"
1827
 
1828
+ #: options/class.WpdiscuzOptions.php:483
1829
  msgid "Commenting is closed!"
1830
  msgstr ""
1831
 
1832
+ #: options/class.WpdiscuzOptions.php:484
1833
  #: options/phrases-layouts/phrases-general.php:51
1834
  msgid "This is closed comment thread"
1835
  msgstr "Dies ist ein geschlossenes Kommentar Thema"
1836
 
1837
+ #: options/class.WpdiscuzOptions.php:485
1838
  msgid "Would love your thoughts, please comment."
1839
  msgstr ""
1840
 
1841
+ #: options/class.WpdiscuzOptions.php:486
1842
  #: options/phrases-layouts/phrases-general.php:59
1843
  msgid "vote"
1844
  msgstr ""
1845
 
1846
+ #: options/class.WpdiscuzOptions.php:487
1847
  #: options/phrases-layouts/phrases-general.php:63
1848
  msgid "votes"
1849
  msgstr ""
1850
 
1851
+ #: options/class.WpdiscuzOptions.php:488
1852
  #: options/phrases-layouts/phrases-general.php:67
1853
  msgid "Comment Link"
1854
  msgstr ""
1855
 
1856
+ #: options/class.WpdiscuzOptions.php:489 options/class.WpdiscuzOptions.php:490
1857
  #, php-format
1858
  msgid "We are sorry, you are not allowed to comment more than %d time(s)!"
1859
  msgstr ""
1860
 
1861
+ #: options/class.WpdiscuzOptions.php:491
1862
  #, php-format
1863
  msgid "We are sorry, you are not allowed to reply more than %d time(s)!"
1864
  msgstr ""
1865
 
1866
+ #: options/class.WpdiscuzOptions.php:492
1867
  #: options/phrases-layouts/phrases-general.php:83
1868
  msgid "Your comment here..."
1869
  msgstr ""
1870
 
1871
+ #: options/class.WpdiscuzOptions.php:493
1872
  #: options/phrases-layouts/phrases-general.php:87
1873
  msgid "Notify me via email when a new reply is posted"
1874
  msgstr ""
1875
 
1876
+ #: options/class.WpdiscuzOptions.php:494
1877
  #: options/phrases-layouts/phrases-general.php:91
1878
  msgid "Your Name*"
1879
  msgstr ""
1880
 
1881
+ #: options/class.WpdiscuzOptions.php:495
1882
  #: options/phrases-layouts/phrases-general.php:95
1883
  msgid "Your Email"
1884
  msgstr ""
1885
 
1886
+ #: options/class.WpdiscuzOptions.php:496
1887
  #: options/phrases-layouts/phrases-general.php:99
1888
+ msgid "COMMENT"
1889
  msgstr ""
1890
 
1891
+ #: options/class.WpdiscuzOptions.php:497
1892
  #: options/phrases-layouts/phrases-general.php:103
1893
+ msgid "View all comments"
1894
+ msgstr ""
1895
+
1896
+ #: options/class.WpdiscuzOptions.php:498 options/html-dashboard.php:127
1897
+ #: options/phrases-layouts/phrases-general.php:107
1898
+ msgid "Inline Feedbacks"
1899
+ msgstr ""
1900
+
1901
+ #: options/class.WpdiscuzOptions.php:499
1902
+ #: options/phrases-layouts/phrases-general.php:111
1903
  msgid "Unable to send an email"
1904
  msgstr "Leider kann aktuell keine E-Mail versendet werden"
1905
 
1906
+ #: options/class.WpdiscuzOptions.php:500
1907
+ #: options/phrases-layouts/phrases-general.php:115
1908
  msgid "Subscription Fault"
1909
  msgstr "Abonnementfehler"
1910
 
1911
+ #: options/class.WpdiscuzOptions.php:501
1912
+ #: options/phrases-layouts/phrases-general.php:119
1913
  msgid "Your comments have been deleted from database"
1914
  msgstr "Ihre Kommentare wurden aus der Datenbank gelöscht"
1915
 
1916
+ #: options/class.WpdiscuzOptions.php:502
1917
+ #: options/phrases-layouts/phrases-general.php:123
1918
  msgid "You cancel all your subscriptions successfully"
1919
  msgstr "Sie haben alle Ihre Abonnements erfolgreich storniert"
1920
 
1921
+ #: options/class.WpdiscuzOptions.php:503
1922
+ #: options/phrases-layouts/phrases-general.php:127
1923
  msgid "You cancel all your follows successfully"
1924
  msgstr ""
1925
 
1926
+ #: options/class.WpdiscuzOptions.php:504
1927
+ #: options/phrases-layouts/phrases-general.php:131
1928
  msgid "Follow has been confirmed successfully"
1929
  msgstr ""
1930
 
1931
+ #: options/class.WpdiscuzOptions.php:505
1932
+ #: options/phrases-layouts/phrases-general.php:135
1933
  msgid "Follow has been canceled successfully"
1934
  msgstr ""
1935
 
1936
+ #: options/class.WpdiscuzOptions.php:506
1937
+ #: options/phrases-layouts/phrases-general.php:139
1938
  msgid "Please login to comment"
1939
  msgstr ""
1940
 
1941
+ #: options/class.WpdiscuzOptions.php:507
1942
+ #: options/phrases-layouts/phrases-general.php:143
1943
  msgid "View Comments"
1944
  msgstr ""
1945
 
1946
+ #: options/class.WpdiscuzOptions.php:508
1947
+ #: options/options-layouts/html-form.php:111
1948
+ #: options/phrases-layouts/phrases-general.php:147
1949
  msgid "Spoiler"
1950
  msgstr "Spoiler"
1951
 
1952
+ #: options/class.WpdiscuzOptions.php:509
1953
+ #: options/phrases-layouts/phrases-general.php:151
1954
  #, php-format
1955
  msgid "Last edited %1$s by %2$s"
1956
  msgstr ""
1957
 
1958
+ #: options/class.WpdiscuzOptions.php:510
1959
+ #: options/phrases-layouts/phrases-general.php:155
1960
  msgid "Reply to"
1961
  msgstr ""
1962
 
1963
+ #: options/class.WpdiscuzOptions.php:511
1964
+ #: options/phrases-layouts/phrases-general.php:159
1965
  msgid "Manage Comment"
1966
  msgstr ""
1967
 
1968
+ #: options/class.WpdiscuzOptions.php:512
1969
+ #: options/phrases-layouts/phrases-general.php:163
1970
+ msgid "Spoiler Title"
1971
  msgstr ""
1972
 
1973
+ #: options/class.WpdiscuzOptions.php:513
1974
+ #: options/phrases-layouts/phrases-general.php:167
1975
+ msgid "You cannot rate again"
1976
+ msgstr ""
1977
+
1978
+ #: options/class.WpdiscuzOptions.php:514
1979
+ #: options/phrases-layouts/phrases-general.php:171
1980
+ msgid "You're not allowed to rate here"
1981
+ msgstr ""
1982
+
1983
+ #: options/class.WpdiscuzOptions.php:516
1984
  msgid "Are you sure you want to delete this attachment?"
1985
  msgstr ""
1986
 
1987
+ #: options/class.WpdiscuzOptions.php:517
1988
  msgid "Not allowed file type"
1989
  msgstr ""
1990
 
1991
+ #: options/class.WpdiscuzOptions.php:518
1992
  msgid "Maximum number of uploaded files is"
1993
  msgstr ""
1994
 
1995
+ #: options/class.WpdiscuzOptions.php:519
1996
  msgid "Maximum upload file size is"
1997
  msgstr ""
1998
 
1999
+ #: options/class.WpdiscuzOptions.php:520
2000
  msgid "Maximum post size is"
2001
  msgstr ""
2002
 
2003
+ #: options/class.WpdiscuzOptions.php:521
2004
  #: options/phrases-layouts/phrases-media.php:31
2005
  msgid "Attach an image to this comment"
2006
  msgstr ""
2007
 
2008
+ #: options/class.WpdiscuzOptions.php:522
2009
  #: options/phrases-layouts/phrases-media.php:35
2010
  msgid "Change the attached image"
2011
  msgstr ""
2012
 
2013
+ #: options/class.WpdiscuzOptions.php:1136
2014
  msgid ""
2015
  "File is empty. Please upload something more substantial. This error could "
2016
  "also be caused by uploads being disabled in your php.ini or by post_max_size "
2017
  "being defined as smaller than upload_max_filesize in php.ini."
2018
  msgstr ""
2019
 
2020
+ #: options/class.WpdiscuzOptions.php:1137
2021
  msgid "Post ID not exists"
2022
  msgstr ""
2023
 
2024
+ #: options/class.WpdiscuzOptions.php:1138
2025
  msgid "Sorry, uploading not allowed for this post"
2026
  msgstr ""
2027
 
2028
+ #: options/class.WpdiscuzOptions.php:1139
2029
  msgid "You do not have sufficient permissions to perform this action"
2030
  msgstr ""
2031
 
2032
+ #: options/class.WpdiscuzOptions.php:1223
2033
+ #: options/class.WpdiscuzOptions.php:1482
2034
+ #: options/class.WpdiscuzOptions.php:1833
2035
  msgid "Hacker?"
2036
  msgstr "Hacker?"
2037
 
2038
+ #: options/class.WpdiscuzOptions.php:1746
2039
  msgid "Settings updated"
2040
  msgstr "Einstellungen aktualisiert"
2041
 
2042
+ #: options/class.WpdiscuzOptions.php:1753
2043
  msgid "Phrases updated"
2044
  msgstr "Phrasen aktualisiert"
2045
 
2046
+ #: options/class.WpdiscuzOptions.php:1777
2047
  msgid "Options were backed up!"
2048
  msgstr "Optionen wurden gesichert!"
2049
 
2050
+ #: options/class.WpdiscuzOptions.php:1779
2051
  msgid "Cannot back up the options!"
2052
  msgstr "Kann die Optionen nicht sichern!"
2053
 
2054
+ #: options/class.WpdiscuzOptions.php:1790
2055
  msgid "Options Imported Successfully!"
2056
  msgstr "Optionen erfolgreich importiert!"
2057
 
2058
+ #: options/class.WpdiscuzOptions.php:1792
2059
+ #: options/class.WpdiscuzOptions.php:1822
2060
  msgid "Error occured! File content is empty or data is not valid!"
2061
  msgstr "Fehler aufgetreten! Dateiinhalt ist leer oder Daten sind nicht gültig!"
2062
 
2063
+ #: options/class.WpdiscuzOptions.php:1795
2064
+ #: options/class.WpdiscuzOptions.php:1825
2065
  msgid "Error occured! Can not get file content!"
2066
  msgstr "Fehler aufgetreten! Dateiinhalte können nicht abgerufen werden!"
2067
 
2068
+ #: options/class.WpdiscuzOptions.php:1798
2069
+ #: options/class.WpdiscuzOptions.php:1828
2070
  msgid "Error occured! Please choose file!"
2071
  msgstr "Fehler aufgetreten! Bitte Datei auswählen!"
2072
 
2073
+ #: options/class.WpdiscuzOptions.php:1807
2074
  msgid "Phrases were backed up!"
2075
  msgstr ""
2076
 
2077
+ #: options/class.WpdiscuzOptions.php:1809
2078
  msgid "Cannot back up the phrases!"
2079
  msgstr ""
2080
 
2081
+ #: options/class.WpdiscuzOptions.php:1820
2082
  msgid "Phrases Imported Successfully!"
2083
  msgstr ""
2084
 
2085
+ #: options/class.WpdiscuzOptions.php:1850
2086
  msgid ""
2087
  "All 16 addons in one bundle. Save 90% and get Unlimited Site License with "
2088
  "one year premium support."
2089
  msgstr ""
2090
 
2091
+ #: options/class.WpdiscuzOptions.php:1859
2092
+ msgid ""
2093
+ "Extended comment attachment system. Allows to upload images, videos, audios "
2094
+ "and other file types."
2095
+ msgstr ""
2096
+ "Erweitertes Kommentar-Anhangsystem. Ermöglicht das Hochladen von Bildern, "
2097
+ "Videos, Audios und anderen Dateitypen."
2098
+
2099
+ #: options/class.WpdiscuzOptions.php:1868
2100
+ msgid ""
2101
+ "Allows to embed lots of video, social network, audio and photo content "
2102
+ "providers URLs in comment content."
2103
+ msgstr ""
2104
+
2105
+ #: options/class.WpdiscuzOptions.php:1877
2106
+ msgid ""
2107
+ "Syntax highlighting for comments, automatic language detection and multi-"
2108
+ "language code highlighting."
2109
+ msgstr ""
2110
+
2111
+ #: options/class.WpdiscuzOptions.php:1886
2112
+ msgid ""
2113
+ "All in one powerful yet simple admin toolkit to moderate comments on front-"
2114
+ "end."
2115
+ msgstr ""
2116
+ "Alles in einem leistungsstarken und doch einfachen Admin-Toolkit zur "
2117
+ "Moderation von Kommentaren im Frontend."
2118
+
2119
+ #: options/class.WpdiscuzOptions.php:1895
2120
  msgid ""
2121
  "Brings an ocean of emotions to your comments. It comes with an awesome smile "
2122
  "package."
2124
  "Bringt ein Meer an Emotionen für Ihre Kommentare. Es kommt mit einem tollen "
2125
  "lächelnden Paket."
2126
 
2127
+ #: options/class.WpdiscuzOptions.php:1904
2128
+ msgid ""
2129
+ "Adds Invisible reCAPTCHA on all comment forms. Stops spam and bot comments "
2130
+ "with reCAPTCHA version 3"
2131
+ msgstr ""
2132
+
2133
+ #: options/class.WpdiscuzOptions.php:1913
2134
  msgid ""
2135
  "Extended information about comment author with Profile, Activity, Votes and "
2136
  "Subscriptions Tabs on pop-up window."
2138
  "Erweiterte Informationen zum Kommentarautor mit den Registerkarten Profil, "
2139
  "Aktivität, Abstimmungen und Abonnements im Popup-Fenster."
2140
 
2141
+ #: options/class.WpdiscuzOptions.php:1922
2142
+ msgid ""
2143
+ "Comment reporting tools. Auto-moderates comments based on number of flags "
2144
+ "and dislikes."
2145
+ msgstr ""
2146
+ "Kommentarberichtswerkzeuge. Automatische Moderation von Kommentaren, "
2147
+ "basierend auf der Anzahl von Markierungen (Flags) und Abneigungen (Dislikes)."
2148
+
2149
+ #: options/class.WpdiscuzOptions.php:1931
2150
  msgid ""
2151
  "Real-time online user checking, pop-up notification of new online users and "
2152
  "online/offline badges."
2154
  "Echtzeit-Online-Benutzerprüfung, Popup-Benachrichtigung für neue Online-"
2155
  "Benutzer und Online- / Offline-Badges."
2156
 
2157
+ #: options/class.WpdiscuzOptions.php:1940
2158
  msgid ""
2159
  "Allows to create private comment threads. Rich management options in "
2160
  "dashboard by user roles."
2162
  "Ermöglicht das Erstellen privater Kommentar-Threads. Umfangreiche "
2163
  "Verwaltungsoptionen im Dashboard nach Benutzerrollen."
2164
 
2165
+ #: options/class.WpdiscuzOptions.php:1949
2166
  msgid ""
2167
  "Total control over comment subscriptions. Full list, monitor, manage, "
2168
  "filter, unsubscribe, confirm..."
2170
  "Gesamtsteuerung über Kommentarabonnements. Vollständige Liste, überwachen, "
2171
  "verwalten, filtern, abbestellen, bestätigen ..."
2172
 
2173
+ #: options/class.WpdiscuzOptions.php:1958
2174
  msgid ""
2175
  "A full-fledged tool-kit for advertising in comment section of your website. "
2176
  "Separate banner and ad managment."
2178
  "Ein vollwertiges Tool-Kit für die Werbung im Kommentarbereich Ihrer Website. "
2179
  "Separates Banner und Anzeigenmanagement."
2180
 
2181
+ #: options/class.WpdiscuzOptions.php:1967
2182
  msgid ""
2183
  "Allows to mention comments and users in comment text using #comment-id and "
2184
  "@username tags."
2186
  "Ermöglicht es, Kommentare und Benutzer in Kommentartext mit #comment-id und "
2187
  "@username-Tags zu erwähnen."
2188
 
2189
+ #: options/class.WpdiscuzOptions.php:1976
2190
  msgid ""
2191
  "See comment likers and voters of each comment. Adds user reputation and "
2192
  "badges based on received likes."
2194
  "Siehe Kommentar Likers und Wähler von jedem Kommentar. Fügt basierend auf "
2195
  "empfangenen Likes Nutzer-Reputation und -Ausweise hinzu."
2196
 
2197
+ #: options/class.WpdiscuzOptions.php:1985
 
 
 
 
 
 
 
 
2198
  msgid ""
2199
  "Adds a smart and intuitive AJAX \"Translate\" button with 60 language "
2200
  "options. Uses free translation API."
2202
  "Fügt eine intelligente und intuitive AJAX-Schaltfläche \"Übersetzen\" mit 60 "
2203
  "Sprachoptionen hinzu. Verwendet kostenlose Übersetzungs-API."
2204
 
2205
+ #: options/class.WpdiscuzOptions.php:1994
2206
  msgid ""
2207
  "AJAX powered front-end comment search. It starts searching while you type "
2208
  "search words. "
2210
  "AJAX-basierte Front-End-Kommentarsuche. Sie beginnt zu suchen, während Sie "
2211
  "die Suchbegriffe eingeben. "
2212
 
2213
+ #: options/class.WpdiscuzOptions.php:2003
2214
  msgid ""
2215
  "Most voted comments, Active comment threads, Most commented posts, Active "
2216
  "comment authors"
2218
  "Die am häufigsten bewerteten Kommentare, Aktive Kommentarthemen, Meist "
2219
  "kommentierte Beiträge, Aktive Kommentarautoren"
2220
 
2221
+ #: options/class.WpdiscuzOptions.php:2012
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2222
  msgid ""
2223
  "Integrates myCRED Badges and Ranks. Converts wpDiscuz comment votes/likes to "
2224
  "myCRED points. "
2226
  "Integriert myCRED Badges und Ränge. Konvertiert wpDiscuz Kommentar-Votes / "
2227
  "Likes zu myCRED-Punkten. "
2228
 
2229
+ #: options/class.WpdiscuzOptions.php:2021
2230
  msgid "Custom Comment Forms"
2231
  msgstr "Benutzerdefinierte Kommentar Formulare"
2232
 
2233
+ #: options/class.WpdiscuzOptions.php:2022
2234
  msgid ""
2235
  "You can create custom comment forms with wpDiscuz. wpDiscuz 4 comes with "
2236
  "custom comment forms and fields. You can create custom comment forms for "
2243
  "erstellen, jedes Formular kann mit verschiedenen Formularfeldern gefüllt "
2244
  "werden, zum Beispiel: Text, Dropdown, Bewertung, Checkboxen, etc ..."
2245
 
2246
+ #: options/class.WpdiscuzOptions.php:2027
2247
  msgid "Emoticons"
2248
  msgstr "Emoticons"
2249
 
2250
+ #: options/class.WpdiscuzOptions.php:2028
2251
  msgid ""
2252
  "You can add more emotions to your comments using wpDiscuz Emoticons addon."
2253
  msgstr ""
2254
  "Sie können mit dem wpDiscuz-Emoticons-Addon den Kommentaren mehr Emotionen "
2255
  "hinzufügen."
2256
 
2257
+ #: options/class.WpdiscuzOptions.php:2033
2258
  msgid "Ads Manager"
2259
  msgstr "Werbe-Manager"
2260
 
2261
+ #: options/class.WpdiscuzOptions.php:2034
2262
  msgid ""
2263
  "Increase your income using ad banners. Comment area is the most active "
2264
  "sections for advertising. wpDiscuz Ads Manager addon is designed to help you "
2269
  "um Ihnen zu helfen, Banner hinzuzufügen und Anzeigen in diesem Bereich zu "
2270
  "steuern."
2271
 
2272
+ #: options/class.WpdiscuzOptions.php:2039
2273
  msgid "User and Comment Mentioning"
2274
  msgstr "Benutzer- und Kommentarbenennung"
2275
 
2276
+ #: options/class.WpdiscuzOptions.php:2040
2277
  msgid ""
2278
  "Using wpDiscuz User &amp; Comment Mentioning addon you can allow commenters "
2279
  "mention comments and users in comment text using #comment-id and @username "
2283
  "ist es den Kommentatoren erlaubt, Kommentare und Benutzer im Kommentartext "
2284
  "mit den Tags #comment-id und @username zu erwähnen."
2285
 
2286
+ #: options/class.WpdiscuzOptions.php:2046
2287
  msgid ""
2288
  "wpDiscuz Advanced Likers addon displays likers and voters of each comment. "
2289
  "Adds user reputation and badges based on received likes."
2292
  "an. Fügt, basierend auf empfangenen Likes, Nutzer-Reputation und -Badges "
2293
  "hinzu."
2294
 
2295
+ #: options/class.WpdiscuzOptions.php:2052
2296
  msgid ""
2297
  "Let your commenters help you to determine and remove spam comments. wpDiscuz "
2298
  "Report and Flagging addon comes with comment reporting tools. Automaticaly "
2303
  "Kommentierung von Kommentaren. Automatische Moderation von Kommentaren "
2304
  "basierend auf der Anzahl von Flags und Dislikes."
2305
 
2306
+ #: options/class.WpdiscuzOptions.php:2057
2307
  msgid "Comment Translate"
2308
  msgstr "Kommentar übersetzen"
2309
 
2310
+ #: options/class.WpdiscuzOptions.php:2058
2311
  msgid ""
2312
  "In most cases the big part of your visitors are not a native speakers of "
2313
  "your language. Make your comments comprehensible for all visitors using "
2316
  "translation API."
2317
  msgstr ""
2318
 
2319
+ #: options/class.WpdiscuzOptions.php:2063
2320
  msgid "Comment Search"
2321
  msgstr "Kommentarsuche"
2322
 
2323
+ #: options/class.WpdiscuzOptions.php:2064
2324
  msgid ""
2325
  "You can let website visitor search in comments. It's always more attractive "
2326
  "to find a comment about something that interest you. Using wpDiscuz Comment "
2332
  "wpDiscuz Comment Search Addon erhalten Sie ein nettes, AJAX-gestütztes "
2333
  "Frontend-Kommentar-Suchformular über der Kommentarliste."
2334
 
2335
+ #: options/class.WpdiscuzOptions.php:2069
2336
  msgid "wpDiscuz Widgets"
2337
  msgstr "wpDiscuz Widgets"
2338
 
2339
+ #: options/class.WpdiscuzOptions.php:2070
2340
  msgid ""
2341
  "More Comment Widgets! Most voted comments, Active comment threads, Most "
2342
  "commented posts, Active comment authors widgets are available in wpDiscuz "
2346
  "Kommentarthemen\", \"Meist kommentierte Beiträge\", \"Aktive Kommentarautoren"
2347
  "\" Widgets sind in wpDiscuz Widgets Addon verfügbar"
2348
 
2349
+ #: options/class.WpdiscuzOptions.php:2075
2350
  msgid "Front-end Moderation"
2351
  msgstr "Frontend-Moderation"
2352
 
2353
+ #: options/class.WpdiscuzOptions.php:2076
2354
  msgid ""
2355
  "You can moderate comments on front-end using all in one powerful yet simple "
2356
  "wpDiscuz Frontend Moderation addon."
2358
  "Sie können Kommentare am Front-End moderieren, indem Sie das alles-in-einem "
2359
  "leistungsstarke und einfache wpDiscuz-Frontend-Moderation-Addon verwenden."
2360
 
2361
+ #: options/class.WpdiscuzOptions.php:2082
2362
  msgid ""
2363
  "You can let website visitors attach images and files to comments and embed "
2364
  "video/audio content using wpDiscuz Media Uploader addon."
2367
  "Kommentare und das Einbetten von Video- / Audioinhalten mithilfe des Add-Ins "
2368
  "wpDiscuz Media Uploader ermöglichen."
2369
 
2370
+ #: options/class.WpdiscuzOptions.php:2087
2371
  msgid "Google ReCaptcha"
2372
  msgstr "Google ReCaptcha"
2373
 
2374
+ #: options/class.WpdiscuzOptions.php:2088
2375
  msgid ""
2376
  "Advanced spam protection with wpDiscuz Google reCAPTCHA addon. This addon "
2377
  "adds No-CAPTCHA reCAPTCHA on all comment forms. Stops spam and bot comments."
2380
  "fügt No-CAPTCHA reCAPTCHA für alle Kommentarformen hinzu. Stoppt Spam- und "
2381
  "Bot-Kommentare."
2382
 
2383
+ #: options/class.WpdiscuzOptions.php:2111
2384
  msgid "Finally wpDiscuz Addons Bundle is ready for You!"
2385
  msgstr ""
2386
 
2387
+ #: options/class.WpdiscuzOptions.php:2128
2388
  msgid "View Addons Bundle"
2389
  msgstr ""
2390
 
2391
+ #: options/class.WpdiscuzOptions.php:2136
2392
  msgid "Go to wpDiscuz Addons subMenu"
2393
  msgstr "Gehen Sie zum WpDiscuz Addons Untermenü"
2394
 
2395
+ #: options/class.WpdiscuzOptions.php:2220
2396
  msgid "Please complete required steps to start using wpDiscuz 7"
2397
  msgstr ""
2398
 
2399
+ #: options/class.WpdiscuzOptions.php:2222
2400
  msgid "Go to Update Wizard &raquo;"
2401
  msgstr ""
2402
 
2403
+ #: options/class.WpdiscuzOptions.php:2222
2404
  msgid "Go to Installation Wizard &raquo;"
2405
  msgstr ""
2406
 
2407
+ #: options/class.WpdiscuzOptions.php:2231
2408
  msgid "Jetpack Comments are active."
2409
  msgstr ""
2410
 
2411
+ #: options/class.WpdiscuzOptions.php:2240
2412
  msgid "Comment votes meta data need to be regenerated"
2413
  msgstr ""
2414
 
2415
+ #: options/class.WpdiscuzOptions.php:2242
2416
+ #: options/tools-layouts/tool-regenerate.php:74
 
2417
  msgid "Regenerate Vote Metas"
2418
  msgstr ""
2419
 
2420
+ #: options/class.WpdiscuzOptions.php:2251
2421
  msgid "Closed Comments data need be regenerated"
2422
  msgstr ""
2423
 
2424
+ #: options/class.WpdiscuzOptions.php:2253
2425
+ #: options/tools-layouts/tool-regenerate.php:38
 
2426
  msgid "Regenerate Closed Comments"
2427
  msgstr ""
2428
 
2429
+ #: options/class.WpdiscuzOptions.php:2262
2430
  msgid "Comments votes data need to be regenerated"
2431
  msgstr ""
2432
 
2433
+ #: options/class.WpdiscuzOptions.php:2264
2434
+ #: options/tools-layouts/tool-regenerate.php:56
 
2435
  msgid "Regenerate Vote Data"
2436
  msgstr ""
2437
 
2438
+ #: options/class.WpdiscuzOptions.php:2273
2439
  msgid ""
2440
  "Please synchronize comment data for the best performance and fastest "
2441
  "experience"
2442
  msgstr ""
2443
 
2444
+ #: options/class.WpdiscuzOptions.php:2276
2445
+ #: options/tools-layouts/tool-regenerate.php:92
 
2446
  msgid "Synchronize Commenters Data"
2447
  msgstr ""
2448
 
2449
+ #: options/class.WpdiscuzOptions.php:3055
2450
+ msgid " is hacked."
2451
+ msgstr ""
2452
+
2453
+ #: options/class.WpdiscuzOptions.php:3073
2454
+ #: options/class.WpdiscuzOptions.php:3082
2455
+ msgid " addon was deactivated, because your license isn't valid."
2456
+ msgstr ""
2457
+
2458
+ #: options/class.WpdiscuzOptions.php:3129
2459
  msgid "Comment Form Settings"
2460
  msgstr "Kommentarformular Einstellungen"
2461
 
2462
+ #: options/class.WpdiscuzOptions.php:3137
2463
  msgid "Keep guest commenter credentials in browser cookies for X days"
2464
  msgstr ""
2465
 
2466
+ #: options/class.WpdiscuzOptions.php:3139
2467
  msgid ""
2468
  "wpDiscuz uses WordPress functions to keep guest Name, Email and Website "
2469
  "information in cookies. Those are used to fill according fields of comment "
2471
  "Set this option value 0 to clear those data when user closes browser."
2472
  msgstr ""
2473
 
2474
+ #: options/class.WpdiscuzOptions.php:3144
2475
  msgid "Comment author name length (for guests only)"
2476
  msgstr "Länge des Kommentar Autorennamens (nur für Gäste)"
2477
 
2478
+ #: options/class.WpdiscuzOptions.php:3151
2479
+ msgid "Comment Form View"
2480
+ msgstr ""
2481
+
2482
+ #: options/class.WpdiscuzOptions.php:3153
2483
+ msgid ""
2484
+ "By default, only the comment text field is visible. When you click on the "
2485
+ "comment text field it opens all other fields (Name, Email, Website, etc...). "
2486
+ "If you want to keep all fields open, please set this option \"expended\"."
2487
+ msgstr ""
2488
+
2489
+ #: options/class.WpdiscuzOptions.php:3158
2490
  msgid "Enable drop animation for comment form and subscription bar"
2491
  msgstr ""
2492
 
2493
+ #: options/class.WpdiscuzOptions.php:3165
2494
+ msgid "Load Rich Editor"
2495
+ msgstr ""
2496
+
2497
+ #: options/class.WpdiscuzOptions.php:3167
2498
+ msgid ""
2499
+ "Search engines rank web pages for mobile devices totally different. For the "
2500
+ "mobile devices, there are more restrictions for JS and CSS files loading. "
2501
+ "This is the main reason why wpDiscuz disables the Rich Editor for mobile "
2502
+ "devices by default. It's only enabled for desktop. If you have good cache "
2503
+ "and website optimizer plugins you can enable the rich editor for mobile "
2504
+ "devices as well."
2505
+ msgstr ""
2506
+
2507
+ #: options/class.WpdiscuzOptions.php:3172
2508
+ msgid "Rich Editor Toolbar Buttons"
2509
+ msgstr ""
2510
+
2511
+ #: options/class.WpdiscuzOptions.php:3174
2512
+ msgid ""
2513
+ "Please click on buttons to disable or enable. The enabled buttons are "
2514
+ "colored green, the disabled buttons are gray. If you want to disable the "
2515
+ "whole formatting toolbar, please click on the [Disable formatting buttons] "
2516
+ "button. Options to manage Image Attachment button are located in 'Comment "
2517
+ "Content and Media' setting page."
2518
+ msgstr ""
2519
+
2520
+ #: options/class.WpdiscuzOptions.php:3179
2521
+ msgid "Enable Quicktags"
2522
+ msgstr "Quicktags ermöglichen"
2523
+
2524
+ #: options/class.WpdiscuzOptions.php:3181
2525
+ msgid ""
2526
+ "Quicktag is a on-click button that inserts HTML in to comment textarea. For "
2527
+ "example the \"b\" Quicktag will insert the HTML bold tags < b > < /b >."
2528
+ msgstr ""
2529
+ "Quicktag ist ein OnClick Button, der HTML in den Kommentarbereich einfügt. "
2530
+ "Zum Beispiel fügt der \"b\"-Quicktag die HTML-Fett-Tags < b > < / b> ein."
2531
+
2532
+ #: options/class.WpdiscuzOptions.php:3196
2533
  msgid "Site Key"
2534
  msgstr ""
2535
 
2536
+ #: options/class.WpdiscuzOptions.php:3203
2537
+ #: options/options-layouts/html-social.php:726
2538
  msgid "Secret Key"
2539
  msgstr ""
2540
 
2541
+ #: options/class.WpdiscuzOptions.php:3210
2542
  msgid "reCAPTCHA Theme"
2543
  msgstr ""
2544
 
2545
+ #: options/class.WpdiscuzOptions.php:3217
2546
  msgid "reCAPTCHA Language"
2547
  msgstr ""
2548
 
2549
+ #: options/class.WpdiscuzOptions.php:3224
2550
  msgid "Request Method"
2551
  msgstr ""
2552
 
2553
+ #: options/class.WpdiscuzOptions.php:3231
2554
  msgid "Enable for Guests"
2555
  msgstr ""
2556
 
2557
+ #: options/class.WpdiscuzOptions.php:3238
2558
  msgid "Enable for Logged-in Users"
2559
  msgstr ""
2560
 
2561
+ #: options/class.WpdiscuzOptions.php:3245
2562
  msgid "Display on Subscription Form"
2563
  msgstr ""
2564
 
2565
+ #: options/class.WpdiscuzOptions.php:3255
2566
  msgid "User Authorization and Profile Data"
2567
  msgstr ""
2568
 
2569
+ #: options/class.WpdiscuzOptions.php:3263
2570
  msgid "Display logged-in user name and logout link on comment form"
2571
  msgstr ""
2572
 
2573
+ #: options/class.WpdiscuzOptions.php:3270
2574
  msgid "Show \"Login\" link on comment form"
2575
  msgstr ""
2576
 
2577
+ #: options/class.WpdiscuzOptions.php:3277
2578
  msgid "\"My Content and Settings\" button"
2579
  msgstr ""
2580
 
2581
+ #: options/class.WpdiscuzOptions.php:3279
2582
  msgid ""
2583
  "The \"My Content & Settings\" button is located in comment filter panel on "
2584
  "top of all comments, right after the [X Comments] phrase. This button opens "
2585
  "a pop-up window allowing commenters manage their content and settings."
2586
  msgstr ""
2587
 
2588
+ #: options/class.WpdiscuzOptions.php:3284
2589
  msgid "Enable Profiles URL"
2590
  msgstr ""
2591
 
2592
+ #: options/class.WpdiscuzOptions.php:3286
2593
  #, php-format
2594
  msgid ""
2595
  "By default wpDiscuz adds a link with comment author avatar to the author "
2599
  "profile builder plugins."
2600
  msgstr ""
2601
 
2602
+ #: options/class.WpdiscuzOptions.php:3291
2603
+ msgid "Use Website URL as Profile URL"
2604
+ msgstr ""
2605
+
2606
+ #: options/class.WpdiscuzOptions.php:3298
2607
  msgid "Use guest email to detect registered account"
2608
  msgstr ""
2609
  "Benutzen Sie die E-Mail Adresse des Gastes, um einen registrierten Account "
2610
  "zu erkennen"
2611
 
2612
+ #: options/class.WpdiscuzOptions.php:3300
2613
  msgid ""
2614
  "Sometimes registered users comment as guest using the same email address. "
2615
  "wpDiscuz can detect the account role using guest email and display commenter "
2619
  "Adresse an. wpDiscuz kann die Kontorolle mithilfe der Gast E-Mail erkennen "
2620
  "und das Kommentar Label korrekt anzeigen."
2621
 
2622
+ #: options/class.WpdiscuzOptions.php:3305
2623
+ msgid "Login URL"
2624
+ msgstr ""
2625
+
2626
+ #: options/class.WpdiscuzOptions.php:3314
2627
  msgid "Social Login and Share"
2628
  msgstr ""
2629
 
2630
+ #: options/class.WpdiscuzOptions.php:3322
2631
  msgid "User agreement prior to a social login action"
2632
  msgstr "Benutzervereinbarung vor einer Social Login Aktion"
2633
 
2634
+ #: options/class.WpdiscuzOptions.php:3324
2635
  msgid ""
2636
  "If this option is enabled, all Social Login buttons become not-clickable "
2637
  "until user accept automatic account creation process based on his/her Social "
2648
  "Anmeldevorgang auf eine Schaltfläche für die Social-Anmeldung klickt. Dieser "
2649
  "zusätzliche Schritt wird hinzugefügt, um der DSGVO zu entsprechen"
2650
 
2651
+ #: options/class.WpdiscuzOptions.php:3324
2652
  msgid ""
2653
  "The note text and the label of this checkbox can be managed in Comments > "
2654
  "Phrases > Social Login tab."
2656
  "Der Notizentext und die Beschriftung dieses Kontrollkästchens können in den "
2657
  "\"Kommentaren > Phrasen > Social-Login-Tab\" verwaltet werden."
2658
 
2659
+ #: options/class.WpdiscuzOptions.php:3329
2660
  msgid "Display social login buttons on reply forms"
2661
  msgstr "Social Login Buttons in Antwortformularen anzeigen"
2662
 
2663
+ #: options/class.WpdiscuzOptions.php:3336
2664
+ msgid "Display Social Network Icon on User Avatars"
2665
+ msgstr ""
2666
+
2667
+ #: options/class.WpdiscuzOptions.php:3343
2668
  msgid "Facebook Login Button"
2669
  msgstr ""
2670
 
2671
+ #: options/class.WpdiscuzOptions.php:3350
2672
  msgid "Use Facebook OAuth2"
2673
  msgstr ""
2674
 
2675
+ #: options/class.WpdiscuzOptions.php:3352
2676
  msgid ""
2677
  "If you enable this option, please make sure you've inserted the Valid OAuth "
2678
  "Redirect URI in according field when you create Facebook Login App. Your "
2679
  "website OAuth Redirect URI is displayed above."
2680
  msgstr ""
2681
 
2682
+ #: options/class.WpdiscuzOptions.php:3357
2683
  msgid "Facebook Share Button"
2684
  msgstr ""
2685
 
2686
+ #: options/class.WpdiscuzOptions.php:3364
2687
  msgid "Facebook Application ID"
2688
  msgstr ""
2689
 
2690
+ #: options/class.WpdiscuzOptions.php:3371
2691
  msgid "Facebook Application Secret"
2692
  msgstr ""
2693
 
2694
+ #: options/class.WpdiscuzOptions.php:3378
2695
  msgid "Twitter Login Button"
2696
  msgstr ""
2697
 
2698
+ #: options/class.WpdiscuzOptions.php:3385
2699
  msgid "Twitter Share Button"
2700
  msgstr ""
2701
 
2702
+ #: options/class.WpdiscuzOptions.php:3392
2703
  msgid "Twitter - Consumer Key (API Key)"
2704
  msgstr ""
2705
 
2706
+ #: options/class.WpdiscuzOptions.php:3399
2707
  msgid "Twitter - Consumer Secret (API Secret)"
2708
  msgstr ""
2709
 
2710
+ #: options/class.WpdiscuzOptions.php:3406
2711
  msgid "Google Login Button"
2712
  msgstr ""
2713
 
2714
+ #: options/class.WpdiscuzOptions.php:3413
2715
  msgid "Google Client ID"
2716
  msgstr ""
2717
 
2718
+ #: options/class.WpdiscuzOptions.php:3420
2719
  msgid "Google Client Secret"
2720
  msgstr ""
2721
 
2722
+ #: options/class.WpdiscuzOptions.php:3427
2723
  msgid "Disqus Login Button"
2724
  msgstr ""
2725
 
2726
+ #: options/class.WpdiscuzOptions.php:3434
2727
  msgid "Disqus Public Key"
2728
  msgstr ""
2729
 
2730
+ #: options/class.WpdiscuzOptions.php:3441
2731
  msgid "Disqus Secret Key"
2732
  msgstr ""
2733
 
2734
+ #: options/class.WpdiscuzOptions.php:3448
2735
  msgid "WordPress Login Button"
2736
  msgstr ""
2737
 
2738
+ #: options/class.WpdiscuzOptions.php:3455
2739
  msgid "WordPress Client ID"
2740
  msgstr ""
2741
 
2742
+ #: options/class.WpdiscuzOptions.php:3462
2743
  msgid "WordPress Client Secret"
2744
  msgstr ""
2745
 
2746
+ #: options/class.WpdiscuzOptions.php:3469
2747
+ msgid "Instagram Login Button"
2748
+ msgstr ""
2749
+
2750
+ #: options/class.WpdiscuzOptions.php:3476
2751
+ msgid "Instagram App ID"
2752
+ msgstr ""
2753
+
2754
+ #: options/class.WpdiscuzOptions.php:3483
2755
+ msgid "Instagram App Secret"
2756
+ msgstr ""
2757
+
2758
+ #: options/class.WpdiscuzOptions.php:3490
2759
+ msgid "LinkedIn Login Button"
2760
+ msgstr ""
2761
+
2762
+ #: options/class.WpdiscuzOptions.php:3497
2763
+ msgid "LinkedIn Client ID"
2764
+ msgstr ""
2765
+
2766
+ #: options/class.WpdiscuzOptions.php:3504
2767
+ msgid "LinkedIn Client Secret"
2768
+ msgstr ""
2769
+
2770
+ #: options/class.WpdiscuzOptions.php:3511
2771
+ msgid "WhatsApp Share Button"
2772
+ msgstr ""
2773
+
2774
+ #: options/class.WpdiscuzOptions.php:3518
2775
+ msgid "Yandex Login Button"
2776
+ msgstr ""
2777
+
2778
+ #: options/class.WpdiscuzOptions.php:3525
2779
+ msgid "Yandex ID"
2780
+ msgstr ""
2781
+
2782
+ #: options/class.WpdiscuzOptions.php:3532
2783
+ msgid "Yandex Password"
2784
+ msgstr ""
2785
+
2786
+ #: options/class.WpdiscuzOptions.php:3539
2787
+ msgid "Mail.ru Login Button"
2788
+ msgstr ""
2789
+
2790
+ #: options/class.WpdiscuzOptions.php:3546
2791
+ msgid "Mail.ru Client ID"
2792
+ msgstr ""
2793
+
2794
+ #: options/class.WpdiscuzOptions.php:3553
2795
+ msgid "Mail.ru Client Secret"
2796
+ msgstr ""
2797
+
2798
+ #: options/class.WpdiscuzOptions.php:3560
2799
+ msgid "Weibo Login Button"
2800
+ msgstr ""
2801
+
2802
+ #: options/class.WpdiscuzOptions.php:3567
2803
+ msgid "Weibo App Key"
2804
+ msgstr ""
2805
+
2806
+ #: options/class.WpdiscuzOptions.php:3574
2807
+ msgid "Weibo App Secret"
2808
+ msgstr ""
2809
+
2810
+ #: options/class.WpdiscuzOptions.php:3581
2811
+ msgid "WeChat Login Button"
2812
+ msgstr ""
2813
+
2814
+ #: options/class.WpdiscuzOptions.php:3588
2815
+ msgid "WeChat App ID"
2816
+ msgstr ""
2817
+
2818
+ #: options/class.WpdiscuzOptions.php:3595
2819
+ msgid "WeChat Secret"
2820
+ msgstr ""
2821
+
2822
+ #: options/class.WpdiscuzOptions.php:3602
2823
+ msgid "QQ Login Button"
2824
+ msgstr ""
2825
+
2826
+ #: options/class.WpdiscuzOptions.php:3609
2827
+ msgid "QQ AppID"
2828
+ msgstr ""
2829
+
2830
+ #: options/class.WpdiscuzOptions.php:3616
2831
+ msgid "QQ AppKey"
2832
+ msgstr ""
2833
+
2834
+ #: options/class.WpdiscuzOptions.php:3623
2835
+ msgid "Baidu Login Button"
2836
+ msgstr ""
2837
+
2838
+ #: options/class.WpdiscuzOptions.php:3630
2839
+ msgid "Baidu Client ID"
2840
+ msgstr ""
2841
+
2842
+ #: options/class.WpdiscuzOptions.php:3637
2843
+ msgid "Baidu Client Secret"
2844
+ msgstr ""
2845
+
2846
+ #: options/class.WpdiscuzOptions.php:3644
2847
  msgid "VK Login Button"
2848
  msgstr ""
2849
 
2850
+ #: options/class.WpdiscuzOptions.php:3651
2851
  msgid "VK Share Button"
2852
  msgstr ""
2853
 
2854
+ #: options/class.WpdiscuzOptions.php:3658
2855
  msgid "VK Application ID"
2856
  msgstr ""
2857
 
2858
+ #: options/class.WpdiscuzOptions.php:3665
2859
  msgid "VK Secure Key"
2860
  msgstr ""
2861
 
2862
+ #: options/class.WpdiscuzOptions.php:3672
2863
  msgid "OK Login Button"
2864
  msgstr ""
2865
 
2866
+ #: options/class.WpdiscuzOptions.php:3679
2867
  msgid "OK Share Button"
2868
  msgstr ""
2869
 
2870
+ #: options/class.WpdiscuzOptions.php:3686
2871
  msgid "OK Application ID"
2872
  msgstr ""
2873
 
2874
+ #: options/class.WpdiscuzOptions.php:3693
2875
  msgid "OK Application Key"
2876
  msgstr ""
2877
 
2878
+ #: options/class.WpdiscuzOptions.php:3700
2879
  msgid "OK Application Secret"
2880
  msgstr ""
2881
 
2882
+ #: options/class.WpdiscuzOptions.php:3709
2883
  msgid "Article and Comment Rating"
2884
  msgstr ""
2885
 
2886
+ #: options/class.WpdiscuzOptions.php:3717
2887
  msgid "Enable Aggregate Rating Schema"
2888
  msgstr ""
2889
 
2890
+ #: options/class.WpdiscuzOptions.php:3719
2891
  msgid ""
2892
  "Aggregate rating schema is a code integrated with post rating HTML. This "
2893
  "enables Google to feature your post ratings and attract customers with it. "
2896
  "results page, those sites caught people attention first."
2897
  msgstr ""
2898
 
2899
+ #: options/class.WpdiscuzOptions.php:3720
2900
+ #, php-format
2901
+ msgid ""
2902
+ "Aggregate rating schema is a code integrated with post rating HTML. This "
2903
+ "enables Google to feature your post ratings and attract customers with it. "
2904
+ "When searching the internet, people will see your posts search results with "
2905
+ "star ratings. Even though those results are not at the top of search engine "
2906
+ "results page, those sites caught people attention first. If your website "
2907
+ "does not sell Products, we do not recommend activating this option. For more "
2908
+ "details, please %s."
2909
+ msgstr ""
2910
+
2911
+ #: options/class.WpdiscuzOptions.php:3725
2912
  msgid "Display Ratings"
2913
  msgstr "Bewertungen anzeigen"
2914
 
2915
+ #: options/class.WpdiscuzOptions.php:3732
2916
  msgid "Rating Star Colors"
2917
  msgstr "Farben der Bewertungssterne"
2918
 
2919
+ #: options/class.WpdiscuzOptions.php:3741
2920
  msgid "Comment Thread Displaying"
2921
  msgstr ""
2922
 
2923
+ #: options/class.WpdiscuzOptions.php:3749
2924
  msgid "Comment List Loading Type"
2925
  msgstr ""
2926
 
2927
+ #: options/class.WpdiscuzOptions.php:3751
2928
  msgid ""
2929
  "Keep your page loading speed high by disabling comments loading. Once the "
2930
  "page loading is complete, this option will initiate AJAX request and load "
2933
  "whenever they want."
2934
  msgstr ""
2935
 
2936
+ #: options/class.WpdiscuzOptions.php:3756
2937
  msgid "Display only parent comments and <u>view replies &or;</u> button"
2938
  msgstr ""
2939
  "Zeigen Sie nur übergeordnete Kommentare und <u>Antworten anzeigen &or;</u> an"
2940
 
2941
+ #: options/class.WpdiscuzOptions.php:3758
2942
  msgid ""
2943
  "If this option is enabled only parent comments will be displayed. This "
2944
  "increases page load speed and keeps pages light. If visitor wants to read "
2946
  "all parent comments which have replies."
2947
  msgstr ""
2948
 
2949
+ #: options/class.WpdiscuzOptions.php:3763
2950
  msgid "Display \"Most Reacted Comments\" filter button"
2951
  msgstr ""
2952
 
2953
+ #: options/class.WpdiscuzOptions.php:3770
2954
  msgid "Display \"Hottest Comment Threads\" filter button"
2955
  msgstr ""
2956
 
2957
+ #: options/class.WpdiscuzOptions.php:3777
2958
  msgid "Display Comment Sorting Options"
2959
  msgstr ""
2960
 
2961
+ #: options/class.WpdiscuzOptions.php:3779
2962
  msgid ""
2963
  "This option enables comment sorting buttons (newest | oldest | most voted). "
2964
  "Sorting buttons are not available for the default comments pagination type "
2966
  "types."
2967
  msgstr ""
2968
 
2969
+ #: options/class.WpdiscuzOptions.php:3784
2970
  msgid "Set comments order to \"Most voted\" by default"
2971
  msgstr ""
2972
 
2973
+ #: options/class.WpdiscuzOptions.php:3791
2974
  msgid "Reverse Child Comments Order"
2975
  msgstr ""
2976
 
2977
+ #: options/class.WpdiscuzOptions.php:3793
2978
  msgid ""
2979
  "By default child comments are sorted by oldest on top. Using this option you "
2980
  "can revers child comments order and sort them by newest on top."
2981
  msgstr ""
2982
 
2983
+ #: options/class.WpdiscuzOptions.php:3798
2984
  msgid "Comments Pagination Type"
2985
  msgstr ""
2986
 
2987
+ #: options/class.WpdiscuzOptions.php:3800
2988
  msgid ""
2989
  "You can manage the number of comments for [Load more] option in Settings > "
2990
  "Discussion page, using \"Break comments into pages with [X] top level "
2992
  "you should enable the checkbox on beginning of the same option."
2993
  msgstr ""
2994
 
2995
+ #: options/class.WpdiscuzOptions.php:3805
2996
  msgid "Highlight Unread Comments"
2997
  msgstr ""
2998
 
2999
+ #: options/class.WpdiscuzOptions.php:3812
3000
+ msgid "Scroll to the comment after posting"
3001
+ msgstr ""
3002
+
3003
+ #: options/class.WpdiscuzOptions.php:3819
3004
+ msgid "Newest and oldest comment ordering by"
3005
+ msgstr ""
3006
+
3007
+ #: options/class.WpdiscuzOptions.php:3828
3008
  msgid "Comment Thread Features"
3009
  msgstr ""
3010
 
3011
+ #: options/class.WpdiscuzOptions.php:3836
3012
  msgid "Show Comment Link"
3013
  msgstr ""
3014
 
3015
+ #: options/class.WpdiscuzOptions.php:3843
3016
  msgid "Show Comment Date"
3017
  msgstr ""
3018
 
3019
+ #: options/class.WpdiscuzOptions.php:3850
3020
  msgid "Show Voting Buttons"
3021
  msgstr ""
3022
 
3023
+ #: options/class.WpdiscuzOptions.php:3857
3024
  msgid "Voting Buttons Icon"
3025
  msgstr ""
3026
 
3027
+ #: options/class.WpdiscuzOptions.php:3864
3028
  msgid "Comment Voting Result Mode"
3029
  msgstr ""
3030
 
3031
+ #: options/class.WpdiscuzOptions.php:3871
3032
+ msgid "Enable down vote button (dislike)"
3033
+ msgstr ""
3034
+
3035
+ #: options/class.WpdiscuzOptions.php:3878
3036
  msgid "Allow Guests to Vote for Comments"
3037
  msgstr ""
3038
 
3039
+ #: options/class.WpdiscuzOptions.php:3885
3040
  msgid "Highlight Voting Buttons for Voters"
3041
  msgstr ""
3042
 
3043
+ #: options/class.WpdiscuzOptions.php:3887
3044
  msgid "This allows users to see own voted comments."
3045
  msgstr ""
3046
 
3047
+ #: options/class.WpdiscuzOptions.php:3892
3048
  msgid "Display Avatars"
3049
  msgstr ""
3050
 
3051
+ #: options/class.WpdiscuzOptions.php:3894
3052
  msgid ""
3053
  "This option only related to avatars in comment system. For sitewide avatar "
3054
  "control, please use WordPress native avatar settings in Dashboard > Settings "
3055
  "> Discussions admin page."
3056
  msgstr ""
3057
 
3058
+ #: options/class.WpdiscuzOptions.php:3899
3059
  msgid "Default Avatar Source URL for Users"
3060
  msgstr ""
3061
 
3062
+ #: options/class.WpdiscuzOptions.php:3906
3063
  msgid "Default Avatar Source URL for Guests"
3064
  msgstr ""
3065
 
3066
+ #: options/class.WpdiscuzOptions.php:3913
3067
  msgid "Enable Sitewide Usage of Default Avatars"
3068
  msgstr ""
3069
 
3070
+ #: options/class.WpdiscuzOptions.php:3922
3071
  msgid "Styles and Colors"
3072
  msgstr ""
3073
 
3074
+ #: options/class.WpdiscuzOptions.php:3930
3075
  msgid "Comment Form and Comment List Style"
3076
  msgstr "Kommentarformular und Kommentarliste Style"
3077
 
3078
+ #: options/class.WpdiscuzOptions.php:3932
3079
  msgid ""
3080
+ "Starting from wpDiscuz 7 you can choose the [ Off ] option of comment style. "
3081
  "It'll remove most of wpDiscuz CSS code and allow you write your own CSS for "
3082
  "custom comment styling."
3083
  msgstr ""
3084
 
3085
+ #: options/class.WpdiscuzOptions.php:3937
3086
+ msgid "Style Specific Colors"
3087
+ msgstr ""
3088
+
3089
+ #: options/class.WpdiscuzOptions.php:3939
3090
+ msgid ""
3091
+ "These options allows you manage comment section colors individaly for the "
3092
+ "Default and Dark Styles"
3093
+ msgstr ""
3094
+
3095
+ #: options/class.WpdiscuzOptions.php:3944
3096
+ msgid "General Colors"
3097
+ msgstr ""
3098
 
3099
+ #: options/class.WpdiscuzOptions.php:3951
3100
  msgid "Comment Text Size"
3101
  msgstr ""
3102
 
3103
+ #: options/class.WpdiscuzOptions.php:3958
3104
  msgid "Load Font Awesome css lib"
3105
  msgstr ""
3106
 
3107
+ #: options/class.WpdiscuzOptions.php:3960
3108
  msgid ""
3109
  "IMPORTANT: In case your theme uses old versions of Font-Awesome lib, you "
3110
  "should not disable this this option. The theme old version doesn't support "
3111
  "new version icons, thus some wpDiscuz icons might be lost."
3112
  msgstr ""
3113
 
3114
+ #: options/class.WpdiscuzOptions.php:3965
3115
  msgid "Custom CSS Code"
3116
  msgstr "Eigenes CSS"
3117
 
3118
+ #: options/class.WpdiscuzOptions.php:3974
3119
  msgid "Subscription and User Following"
3120
  msgstr ""
3121
 
3122
+ #: options/class.WpdiscuzOptions.php:3982
3123
  msgid "Enable User Mentioning"
3124
  msgstr ""
3125
 
3126
+ #: options/class.WpdiscuzOptions.php:3984
3127
  #, php-format
3128
  msgid ""
3129
  "This option allows mentioning users in comments using @nickname method. "
3132
  "comments by #CommentID, we recommend the %s addon."
3133
  msgstr ""
3134
 
3135
+ #: options/class.WpdiscuzOptions.php:3989
3136
  msgid "Send E-Mail Notification to Mentioned Users"
3137
  msgstr ""
3138
 
3139
+ #: options/class.WpdiscuzOptions.php:3996
3140
  msgid "Notify comment author once comment is approved"
3141
  msgstr "Kommentarautor benachrichtigen, sobald der Kommentar genehmigt wurde"
3142
 
3143
+ #: options/class.WpdiscuzOptions.php:4003
3144
  msgid "Enable subscription confirmation for registered users"
3145
  msgstr ""
3146
 
3147
+ #: options/class.WpdiscuzOptions.php:4010
3148
  msgid "Enable subscription confirmation for guests"
3149
  msgstr ""
3150
 
3151
+ #: options/class.WpdiscuzOptions.php:4017
3152
  msgid "Subscription types in Subscription Bar drop-down"
3153
  msgstr ""
3154
 
3155
+ #: options/class.WpdiscuzOptions.php:4024
3156
  msgid ""
3157
  "Display \"Notify of new replies to this comment\" option in comment form"
3158
  msgstr ""
3159
 
3160
+ #: options/class.WpdiscuzOptions.php:4026
3161
  msgid ""
3162
  "wpDiscuz is the only comment plugin which allows you to subscribe to certain "
3163
  "comment replies. This option is located above [Post Comment] button in "
3169
  "der [Kommentar veröffentlichen] Schaltfläche im Kommentar-Formular. Um die "
3170
  "Funktion zu deaktivieren kannst du hier den Options-Haken entfernen."
3171
 
3172
+ #: options/class.WpdiscuzOptions.php:4031
3173
  msgid ""
3174
  "Keep checked the \"Notify of new replies to this comment\" option by default"
3175
  msgstr ""
3176
 
3177
+ #: options/class.WpdiscuzOptions.php:4038
3178
  msgid "Use Postmatic for subscriptions and commenting by email"
3179
  msgstr ""
3180
  "Verwenden Sie Postmatic zu Benachrichtigungen bei neuen Kommentare per E-Mail"
3181
 
3182
+ #: options/class.WpdiscuzOptions.php:4040
3183
  msgid ""
3184
  "Postmatic allows your users subscribe to comments. Instead of just being "
3185
  "notified, they add a reply right from their inbox."
3188
  "benachrichtigen zu lassen. Zusätzlich können diese direkt im Posteingang "
3189
  "beantwortet werden."
3190
 
3191
+ #: options/class.WpdiscuzOptions.php:4045
3192
  msgid "Enable User Following Feature"
3193
  msgstr ""
3194
 
3195
+ #: options/class.WpdiscuzOptions.php:4052
3196
  msgid "Follow users without email confirmation"
3197
  msgstr ""
3198
 
3199
+ #: options/class.WpdiscuzOptions.php:4061
3200
  msgid "User Labels and Badges"
3201
  msgstr ""
3202
 
3203
+ #: options/class.WpdiscuzOptions.php:4069
3204
  msgid "Display Comment Author Labels"
3205
  msgstr ""
3206
 
3207
+ #: options/class.WpdiscuzOptions.php:4076
3208
  msgid "Comment Author Label Colors by User Role"
3209
  msgstr ""
3210
 
3211
+ #: options/class.WpdiscuzOptions.php:4085
3212
  msgid "Comment Moderation"
3213
  msgstr ""
3214
 
3215
+ #: options/class.WpdiscuzOptions.php:4093
3216
  msgid "Edit Button - Allow comment editing for"
3217
  msgstr ""
3218
 
3219
+ #: options/class.WpdiscuzOptions.php:4100
3220
  msgid "Enable editing for replied comments"
3221
  msgstr ""
3222
 
3223
+ #: options/class.WpdiscuzOptions.php:4107
3224
  msgid "Display comment editing Information"
3225
  msgstr ""
3226
 
3227
+ #: options/class.WpdiscuzOptions.php:4114
3228
  msgid "Stick Button - Stick a comment thread"
3229
  msgstr ""
3230
 
3231
+ #: options/class.WpdiscuzOptions.php:4121
3232
  msgid "Close Button - Close a comment thread"
3233
  msgstr ""
3234
 
3235
+ #: options/class.WpdiscuzOptions.php:4128
3236
  msgid "Limit Comments per User"
3237
  msgstr ""
3238
 
3239
+ #: options/class.WpdiscuzOptions.php:4130
3240
  msgid ""
3241
  "This option allows control commenting activity per user. You can set maximum "
3242
  "number of comments users can leave per post or sitewide. It also allow to "
3243
  "set restriction for comments or for replies only."
3244
  msgstr ""
3245
 
3246
+ #: options/class.WpdiscuzOptions.php:4137
3247
  msgid "Comment Content and Media"
3248
  msgstr ""
3249
 
3250
+ #: options/class.WpdiscuzOptions.php:4145
3251
  msgid "Comment Text Length"
3252
  msgstr ""
3253
 
3254
+ #: options/class.WpdiscuzOptions.php:4147
3255
  msgid ""
3256
  "Allows to set minimum and maximum number of chars can be inserted in comment "
3257
  "textarea. Leave the max value empty to remove the limit."
3260
  "die in das Kommentar Textfeld eingefügt werden können. Lassen Sie den "
3261
  "Maximalwert leer, um das Limit zu entfernen."
3262
 
3263
+ #: options/class.WpdiscuzOptions.php:4152
3264
  msgid "Image Source URL to Image Conversion"
3265
  msgstr ""
3266
 
3267
+ #: options/class.WpdiscuzOptions.php:4159
3268
+ msgid "Enable WordPress Shortcodes in Comment Content"
3269
+ msgstr ""
3270
+
3271
+ #: options/class.WpdiscuzOptions.php:4161
3272
+ msgid ""
3273
+ "This option allows embedding other plugins shortcodes in comment content. "
3274
+ "Some plugin shortcodes work very slow, so this may affect your page load "
3275
+ "speed if the shortcode provider plugin is not well optimized."
3276
+ msgstr ""
3277
+
3278
+ #: options/class.WpdiscuzOptions.php:4166
3279
  msgid "The number of words before breaking comment text (Read more)"
3280
  msgstr ""
3281
 
3282
+ #: options/class.WpdiscuzOptions.php:4168
3283
  msgid "Set this option value 0, to turn off comment text breaking function."
3284
  msgstr ""
3285
  "Legen Sie diesen Optionswert auf 0 fest, um die "
3286
  "Kommentartextunterbrechungsfunktion zu deaktivieren."
3287
 
3288
+ #: options/class.WpdiscuzOptions.php:4173
3289
  msgid "Enable Media Uploading"
3290
  msgstr ""
3291
 
3292
+ #: options/class.WpdiscuzOptions.php:4175
3293
  msgid "This option allows commenters to attach an image with comments."
3294
  msgstr ""
3295
 
3296
+ #: options/class.WpdiscuzOptions.php:4180
3297
  msgid "Allow Media Uploading for Guests"
3298
  msgstr ""
3299
 
3300
+ #: options/class.WpdiscuzOptions.php:4187
3301
  msgid "Enable Lightbox for Attached Images"
3302
  msgstr ""
3303
 
3304
+ #: options/class.WpdiscuzOptions.php:4194
3305
  msgid "Allowed File Types"
3306
  msgstr ""
3307
 
3308
+ #: options/class.WpdiscuzOptions.php:4201
3309
  msgid "Max Uploaded Size"
3310
  msgstr ""
3311
 
3312
+ #: options/class.WpdiscuzOptions.php:4203
3313
  msgid ""
3314
  "You can not set this value more than 'upload_max_filesize' and "
3315
  "'post_max_size'. If you want to increase server parameters please contact to "
3316
  "your hosting service support."
3317
  msgstr ""
3318
 
3319
+ #: options/class.WpdiscuzOptions.php:4208
3320
  msgid "Show Comments Media in Dashboard"
3321
  msgstr ""
3322
 
3323
+ #: options/class.WpdiscuzOptions.php:4215
3324
  msgid "Single Image Sizes in Comments"
3325
  msgstr ""
3326
 
3327
+ #: options/class.WpdiscuzOptions.php:4222
3328
  msgid "Generate Thumbnail Sizes"
3329
  msgstr ""
3330
 
3331
+ #: options/class.WpdiscuzOptions.php:4224
3332
  msgid ""
3333
  "Once image is uploaded, it'll generate thumbnails according to your selected "
3334
  "sizes. When you set up a new WordPress website, the platform gives you three "
3337
  "registered by current active theme and by other plugins."
3338
  msgstr ""
3339
 
3340
+ #: options/class.WpdiscuzOptions.php:4231
3341
  msgid "Live Commenting and Notifications"
3342
  msgstr ""
3343
 
3344
+ #: options/class.WpdiscuzOptions.php:4239 options/html-options.php:254
3345
  #: options/html-options.php:263
3346
  msgid "Comment Bubble"
3347
  msgstr ""
3348
 
3349
+ #: options/class.WpdiscuzOptions.php:4241
3350
  msgid ""
3351
  "Comment Bubble is a real-time updating sticky comment icon on your web "
3352
  "pages. It invites people to comment, displays current comments information "
3353
  "and notifies current page viewers about new comments."
3354
  msgstr ""
3355
 
3356
+ #: options/class.WpdiscuzOptions.php:4246
3357
  msgid "Comment Bubble Live Update"
3358
  msgstr ""
3359
 
3360
+ #: options/class.WpdiscuzOptions.php:4253 options/html-options.php:289
3361
  msgid "Comment Bubble Location"
3362
  msgstr ""
3363
 
3364
+ #: options/class.WpdiscuzOptions.php:4260
3365
  msgid "Bubble - Notify on New Comments"
3366
  msgstr ""
3367
 
3368
+ #: options/class.WpdiscuzOptions.php:4262
3369
  msgid ""
3370
  "If the Bubble live update is enabled, it shows new comments excerpts as a "
3371
  "pop-up information to article reads in real-time. This keeps website "
3372
  "visitors up to date and engages them join to the discussion."
3373
  msgstr ""
3374
 
3375
+ #: options/class.WpdiscuzOptions.php:4267
3376
  msgid "Bubble - Invite to comment in X seconds"
3377
  msgstr ""
3378
 
3379
+ #: options/class.WpdiscuzOptions.php:4269
3380
  msgid ""
3381
  "In most cases article readers don't even think about leaving some comment. "
3382
  "Using this option you can enable Bubble &laquo;Invite to Comment&raquo; "
3384
  "about comments and calls to leave a reply."
3385
  msgstr ""
3386
 
3387
+ #: options/class.WpdiscuzOptions.php:4274
3388
  msgid "Bubble - Hide the invitation message in X seconds"
3389
  msgstr ""
3390
 
3391
+ #: options/class.WpdiscuzOptions.php:4281
3392
  msgid "Live Update"
3393
  msgstr "LiveUpdate"
3394
 
3395
+ #: options/class.WpdiscuzOptions.php:4283
3396
  msgid ""
3397
  "wpDiscuz live update is very light and doesn't overload your server. However "
3398
  "we recommend to monitor your server resources if you're on a Shared hosting "
3407
  "durchzuführen. Wenn Sie ein Ergebnis vorliegen haben, können Sie die Option "
3408
  "unter 30 Sekunden oder länger einstellen."
3409
 
3410
+ #: options/class.WpdiscuzOptions.php:4288
3411
  msgid "Enable Live Update for Guests"
3412
  msgstr ""
3413
 
3414
+ #: options/class.WpdiscuzOptions.php:4295
3415
  msgid "Update Comment List Every"
3416
  msgstr ""
3417
 
3418
+ #: options/class.WpdiscuzOptions.php:4304
3419
  msgid "Inline Commenting"
3420
  msgstr ""
3421
 
3422
+ #: options/class.WpdiscuzOptions.php:4312
3423
  msgid "Display filter button to load inline feedbacks"
3424
  msgstr ""
3425
 
3426
+ #: options/class.WpdiscuzOptions.php:4314
3427
  msgid ""
3428
  "This filter button appears next to all filter buttons and comment sorting "
3429
  "options. It allows to filter and display article inline feedbacks (comments "
3430
  "made while reading current article)."
3431
  msgstr ""
3432
 
3433
+ #: options/class.WpdiscuzOptions.php:4319
3434
  msgid "Animation for \"Leave a Feedback\" button in article content"
3435
  msgstr ""
3436
 
3437
+ #: options/class.WpdiscuzOptions.php:4321
3438
  msgid ""
3439
  "Once a question is added in article editor (backend), readers will see a "
3440
  "small comment icon (call to leave a feedback) next to the text part you've "
3445
  "size and color changes attracting readers attention."
3446
  msgstr ""
3447
 
3448
+ #: options/class.WpdiscuzOptions.php:4328
3449
  msgid "General Settings"
3450
  msgstr "Allgemeine Einstellungen"
3451
 
3452
+ #: options/class.WpdiscuzOptions.php:4336
3453
  msgid "Enable wpDiscuz on Home Page"
3454
  msgstr ""
3455
 
3456
+ #: options/class.WpdiscuzOptions.php:4343
3457
  msgid "Use WordPress native AJAX functions"
3458
  msgstr ""
3459
 
3460
+ #: options/class.WpdiscuzOptions.php:4345
3461
  msgid ""
3462
  "By disabling this option you're automatically enabling wpDiscuz custom AJAX "
3463
  "functions, which are many times faster that the default WordPress functions. "
3464
  "Just make sure it doesn't conflict with your plugins."
3465
  msgstr ""
3466
 
3467
+ #: options/class.WpdiscuzOptions.php:4350
3468
+ msgid "Combine JS and CSS Files to Optimize Page Loading Speed"
3469
  msgstr ""
3470
 
3471
+ #: options/class.WpdiscuzOptions.php:4357
3472
+ msgid "Minify JS and CSS Files to Optimize Page Loading Speed"
3473
  msgstr ""
3474
 
3475
+ #: options/class.WpdiscuzOptions.php:4364
3476
  msgid "Secure comment content in HTTPS protocol."
3477
  msgstr "Sichern Sie den Kommentarinhalt im HTTPS-Protokoll."
3478
 
3479
+ #: options/class.WpdiscuzOptions.php:4366
3480
  msgid ""
3481
  "This option detects images and other contents with non-https source URLs and "
3482
  "fix according to your selected logic."
3484
  "Diese Option erkennt Bilder und andere Inhalte einer nicht-https Quellen URL "
3485
  "um sie dann nach Ihrer ausgewählten Logik zu beheben."
3486
 
3487
+ #: options/class.WpdiscuzOptions.php:4371
3488
  msgid "Redirect First Comment to"
3489
  msgstr ""
3490
 
3491
+ #: options/class.WpdiscuzOptions.php:4378
3492
  msgid "Use WordPress Date/Time Format"
3493
  msgstr ""
3494
 
3495
+ #: options/class.WpdiscuzOptions.php:4380
3496
  msgid ""
3497
  "wpDiscuz shows Human Readable date format. If you check this option it'll "
3498
  "show the date/time format set in WordPress General Settings."
3501
  "diese Option aktiviert werden, wird das von Wordpress vorgegebene Format "
3502
  "verwendet."
3503
 
3504
+ #: options/class.WpdiscuzOptions.php:4385
3505
  msgid "Structure of Human Readable Date Format"
3506
  msgstr ""
3507
 
3508
+ #: options/class.WpdiscuzOptions.php:4387
3509
  msgid ""
3510
  "By default, comment date is displayed with the human readable format, such "
3511
  "as [X days ago]. For some languages, you may need to change the sequence of "
3514
  "[adjective] is the 'ago'."
3515
  msgstr ""
3516
 
3517
+ #: options/class.WpdiscuzOptions.php:4392
3518
  msgid "Use Plugin .PO/.MO Files"
3519
  msgstr ""
3520
 
3521
+ #: options/class.WpdiscuzOptions.php:4394
3522
  msgid ""
3523
  "wpDiscuz phrase system allows you to translate all front-end phrases. "
3524
  "However if you have a multi-language website it'll not allow you to add more "
3531
  "Sollte jedoch eine mehrsprachiges System (Multisite) installiert sein, so "
3532
  "kann nur eine Sprache verwendet werden."
3533
 
3534
+ #: options/class.WpdiscuzOptions.php:4399
3535
  msgid ""
3536
  "Help wpDiscuz to grow allowing people to recognize which comment plugin you "
3537
  "use"
3539
  "Helfen Sie mit, dass wpDiscuz weiter wächst und sich Menschen daran "
3540
  "erinnern, welches Kommentar-Plugin Sie verwenden"
3541
 
3542
+ #: options/class.WpdiscuzOptions.php:4401
3543
  msgid ""
3544
  "Please check this option on to help wpDiscuz get more popularity as your "
3545
  "thank to the hard work we do for you totally free. This option adds a very "
3552
  "- über das der Besucher Ihrer Website den Namen des Kommentar-Lösung "
3553
  "kennenlernen, die Sie verwenden."
3554
 
3555
+ #: options/class.WpdiscuzOptions.php:4406
3556
  msgid "Enable Gravatar caching"
3557
  msgstr ""
3558
 
3559
+ #: options/class.WpdiscuzOptions.php:4413
3560
  msgid "Caching Method"
3561
  msgstr ""
3562
 
3563
+ #: options/class.WpdiscuzOptions.php:4420
3564
  msgid "Reset Avatar Cache Frequency"
3565
  msgstr ""
3566
 
3567
+ #: options/class.WpdiscuzOptions.php:4427
 
 
 
 
 
3568
  msgid "Remove Vote Data"
3569
  msgstr ""
3570
 
3571
+ #: options/class.WpdiscuzOptions.php:4434
3572
  msgid "Purge Expired Avatar Caches"
3573
  msgstr ""
3574
 
3575
+ #: options/class.WpdiscuzOptions.php:4441
3576
  msgid "Purge All Avatar Caches"
3577
  msgstr ""
3578
 
3803
  msgid "All Comments"
3804
  msgstr ""
3805
 
 
 
 
 
3806
  #: options/html-dashboard.php:131
3807
  msgid "Comment Threads"
3808
  msgstr ""
4263
  msgid "Open Settings"
4264
  msgstr ""
4265
 
4266
+ #: options/html-options.php:445 options/html-options.php:523
4267
  msgid "Addons Settings"
4268
  msgstr ""
4269
 
4271
  msgid "Back"
4272
  msgstr ""
4273
 
4274
+ #: options/html-options.php:498
4275
+ msgid "Reset Tab Options"
4276
+ msgstr ""
4277
+
4278
+ #: options/html-options.php:499
4279
+ msgid "Reset All Options"
4280
+ msgstr ""
4281
 
4282
+ #: options/html-options.php:501 options/html-phrases.php:77
4283
  msgid "Save Changes"
4284
  msgstr "Änderungen speichern"
4285
 
4324
  msgid "Reset Phrases"
4325
  msgstr "Phrasen zurücksetzen"
4326
 
4327
+ #: options/html-tools.php:21
4328
  msgid "wpDiscuz Tools"
4329
  msgstr "wpDiscuz Werkzeuge"
4330
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4331
  #: options/options-layouts/html-content.php:10
4332
  #, php-format
4333
  msgid ""
4338
  msgstr ""
4339
 
4340
  #: options/options-layouts/html-content.php:25
4341
+ #: options/options-layouts/html-form.php:152
4342
  msgid "Min"
4343
  msgstr "Min"
4344
 
4345
  #: options/options-layouts/html-content.php:26
4346
+ #: options/options-layouts/html-form.php:153
4347
  msgid "Max"
4348
  msgstr "Max"
4349
 
4350
+ #: options/options-layouts/html-content.php:86
4351
  msgid "File Attachment Settings"
4352
  msgstr ""
4353
 
4354
+ #: options/options-layouts/html-content.php:169
4355
  msgid "Select All"
4356
  msgstr ""
4357
 
4358
+ #: options/options-layouts/html-content.php:170
4359
  msgid "Unselect All"
4360
  msgstr ""
4361
 
4362
+ #: options/options-layouts/html-content.php:171
4363
  msgid "Invert Selection"
4364
  msgstr ""
4365
 
4366
+ #: options/options-layouts/html-content.php:194
4367
  msgid "Server 'upload_max_filesize' is "
4368
  msgstr ""
4369
 
4370
+ #: options/options-layouts/html-content.php:195
4371
  msgid "Server 'post_max_size' is "
4372
  msgstr ""
4373
 
4374
+ #: options/options-layouts/html-content.php:229
4375
  msgid "Width (px)"
4376
  msgstr ""
4377
 
4378
+ #: options/options-layouts/html-content.php:230
4379
  msgid "Height (px)"
4380
  msgstr ""
4381
 
4392
  msgid "Comment Form Manager"
4393
  msgstr ""
4394
 
4395
+ #: options/options-layouts/html-form.php:27
4396
+ msgid "collapsed"
4397
+ msgstr ""
4398
+
4399
+ #: options/options-layouts/html-form.php:29
4400
+ msgid "expanded"
4401
+ msgstr ""
4402
+
4403
+ #: options/options-layouts/html-form.php:66
4404
+ msgid "Mobile and Desktop"
4405
+ msgstr ""
4406
+
4407
+ #: options/options-layouts/html-form.php:71
4408
+ msgid "Only Desktop"
4409
+ msgstr ""
4410
+
4411
+ #: options/options-layouts/html-form.php:76
4412
+ msgid "None"
4413
+ msgstr ""
4414
+
4415
+ #: options/options-layouts/html-form.php:91
4416
+ msgid "Bold"
4417
+ msgstr ""
4418
+
4419
+ #: options/options-layouts/html-form.php:93
4420
+ msgid "Italic"
4421
+ msgstr ""
4422
+
4423
+ #: options/options-layouts/html-form.php:95
4424
+ msgid "Underline"
4425
+ msgstr ""
4426
+
4427
+ #: options/options-layouts/html-form.php:97
4428
+ msgid "Strike"
4429
+ msgstr ""
4430
+
4431
+ #: options/options-layouts/html-form.php:99
4432
+ msgid "Ordered List"
4433
+ msgstr ""
4434
+
4435
+ #: options/options-layouts/html-form.php:101
4436
+ msgid "Unordered List"
4437
+ msgstr ""
4438
+
4439
+ #: options/options-layouts/html-form.php:103
4440
+ msgid "Blockquote"
4441
+ msgstr ""
4442
+
4443
+ #: options/options-layouts/html-form.php:105
4444
+ msgid "Code Block"
4445
+ msgstr ""
4446
+
4447
+ #: options/options-layouts/html-form.php:107
4448
+ msgid "Link"
4449
+ msgstr ""
4450
+
4451
+ #: options/options-layouts/html-form.php:109
4452
+ msgid "Source Code"
4453
+ msgstr ""
4454
+
4455
+ #: options/options-layouts/html-form.php:114
4456
+ msgid "Disable formatting toolbar"
4457
+ msgstr ""
4458
+
4459
+ #: options/options-layouts/html-form.php:115
4460
+ msgid "Enable formatting toolbar"
4461
+ msgstr ""
4462
+
4463
+ #: options/options-layouts/html-form.php:118
4464
+ msgid ""
4465
+ "Go to \"Comment Content and Media\" admin page to manage image attachment "
4466
+ "settings"
4467
+ msgstr ""
4468
+
4469
  #: options/options-layouts/html-general.php:87
4470
  msgid "Replace non-https content to simple link URLs"
4471
  msgstr "Ersetzen Sie Nicht-https-Inhalte durch einfache Link-URLs"
4482
  msgid "Ignore non-https content"
4483
  msgstr "Nicht-https Inhalte ignorieren"
4484
 
4485
+ #: options/options-layouts/html-general.php:117
4486
  msgid "Do not redirect"
4487
  msgstr "Nicht weiterleiten"
4488
 
4489
+ #: options/options-layouts/html-general.php:141
4490
  msgid "Current Wordpress date/time format"
4491
  msgstr "Aktuellea Wordpress-Datum/Uhrzeit-Format"
4492
 
4493
+ #: options/options-layouts/html-general.php:192
4494
  msgid "Thank you!"
4495
  msgstr "Vielen Dank!"
4496
 
4497
+ #: options/options-layouts/html-general.php:202
4498
  msgid "Gravatar Cache"
4499
  msgstr "Gravatar Cache"
4500
 
4501
+ #: options/options-layouts/html-general.php:211
4502
  msgid ""
4503
  "It seems file_get_contents() and file_put_contents() PHP functions don't "
4504
  "exist.<br/> Please enable these functions in your server settings to use "
4505
  "gravatar caching feature."
4506
  msgstr ""
4507
 
4508
+ #: options/options-layouts/html-general.php:234
4509
  msgid "Runtime"
4510
  msgstr "Laufzeit"
4511
 
4512
+ #: options/options-layouts/html-general.php:235
4513
  msgid "Cron job"
4514
  msgstr "Cron Job"
4515
 
4516
+ #: options/options-layouts/html-general.php:261
4517
  msgid "Maintenance"
4518
  msgstr ""
4519
 
4520
+ #: options/options-layouts/html-general.php:272
4521
  msgid "Remove vote data"
4522
  msgstr "Voting Daten entfernen"
4523
 
4524
+ #: options/options-layouts/html-general.php:288
4525
  msgid "Purge expired caches"
4526
  msgstr "Abgelaufene Caches bereinigen"
4527
 
4528
+ #: options/options-layouts/html-general.php:304
4529
  msgid "Purge all caches"
4530
  msgstr "Alle Caches bereinigen"
4531
 
4579
  #: options/options-layouts/html-rating.php:73
4580
  #: options/options-layouts/html-rating.php:77
4581
  #: options/options-layouts/html-rating.php:81
4582
+ #: options/options-layouts/html-thread_styles.php:111
4583
+ #: options/options-layouts/html-thread_styles.php:115
4584
+ #: options/options-layouts/html-thread_styles.php:127
4585
+ #: options/options-layouts/html-thread_styles.php:131
4586
  msgid "Example: #00FF00"
4587
  msgstr "Beispiel: #00FF00"
4588
 
4638
  "the %s addon."
4639
  msgstr ""
4640
 
4641
+ #: options/options-layouts/html-login.php:82
4642
  msgid "Enable button"
4643
  msgstr ""
4644
 
4645
+ #: options/options-layouts/html-login.php:91
4646
  msgid "Show Activity Tab"
4647
  msgstr ""
4648
 
4649
+ #: options/options-layouts/html-login.php:100
4650
  msgid "Show Subscriptions Tab"
4651
  msgstr ""
4652
 
4653
+ #: options/options-layouts/html-login.php:109
4654
  msgid "Show Followers Tab"
4655
  msgstr ""
4656
 
4822
  "you're logged-out before checking those."
4823
  msgstr ""
4824
 
4825
+ #: options/options-layouts/html-social.php:76
4826
  msgid ""
4827
  "To start using Facebook Login and Share Buttons you should get Facebook "
4828
  "Application Key and Secret for your website. Please follow to this"
4831
  "Facebook Application Key und das Secret für Ihre Website erhalten. Bitte "
4832
  "folgen Sie dieser"
4833
 
4834
+ #: options/options-layouts/html-social.php:76
4835
+ #: options/options-layouts/html-social.php:171
4836
+ #: options/options-layouts/html-social.php:247
4837
+ #: options/options-layouts/html-social.php:305
4838
+ #: options/options-layouts/html-social.php:362
4839
+ #: options/options-layouts/html-social.php:417
4840
+ #: options/options-layouts/html-social.php:473
4841
+ #: options/options-layouts/html-social.php:551
4842
+ #: options/options-layouts/html-social.php:607
4843
+ #: options/options-layouts/html-social.php:682
4844
+ #: options/options-layouts/html-social.php:739
4845
+ #: options/options-layouts/html-social.php:828
4846
+ #: options/options-layouts/html-social.php:884
4847
+ #: options/options-layouts/html-social.php:940
4848
+ #: options/options-layouts/html-social.php:996
4849
  msgid "instruction &raquo;"
4850
  msgstr "Anweisung &raquo;"
4851
 
4852
+ #: options/options-layouts/html-social.php:77
4853
  msgid "Valid OAuth Redirect URI"
4854
  msgstr ""
4855
 
4856
+ #: options/options-layouts/html-social.php:143
4857
+ #: options/options-layouts/html-social.php:655
4858
+ #: options/options-layouts/html-social.php:787
4859
  msgid "Application ID"
4860
  msgstr "Application ID"
4861
 
4862
+ #: options/options-layouts/html-social.php:158
4863
+ #: options/options-layouts/html-social.php:817
4864
  msgid "Application Secret"
4865
  msgstr ""
4866
 
4867
+ #: options/options-layouts/html-social.php:171
4868
  msgid ""
4869
  "To start using Twitter Login Button you should get Consumer Key and Secret "
4870
  "for your website. Please follow to this"
4872
  "Um den Twitter Login Button zu verwenden, sollten Sie den Consumer Key und "
4873
  "das Secret für Ihre Website erhalten. Bitte folgen Sie dieser"
4874
 
4875
+ #: options/options-layouts/html-social.php:172
4876
  msgid "Twitter Callback URL"
4877
  msgstr ""
4878
 
4879
+ #: options/options-layouts/html-social.php:219
4880
  msgid "Consumer Key (API Key)"
4881
  msgstr "Consumer Key (API Key)"
4882
 
4883
+ #: options/options-layouts/html-social.php:234
4884
  msgid "Consumer Secret (API Secret)"
4885
  msgstr "Consumer Secret (API Secret)"
4886
 
4887
+ #: options/options-layouts/html-social.php:247
4888
  msgid ""
4889
  "To start using Google Login Button you should get Client ID and Client "
4890
  "Secret for your website. Please follow to this"
4891
  msgstr ""
4892
 
4893
+ #: options/options-layouts/html-social.php:248
4894
  msgid "Permitted URI redirects"
4895
  msgstr ""
4896
 
4897
+ #: options/options-layouts/html-social.php:276
4898
+ #: options/options-layouts/html-social.php:391
4899
+ #: options/options-layouts/html-social.php:502
4900
  msgid "Client ID"
4901
  msgstr "Client ID"
4902
 
4903
+ #: options/options-layouts/html-social.php:291
4904
+ #: options/options-layouts/html-social.php:406
4905
+ #: options/options-layouts/html-social.php:517
4906
  msgid "Client Secret"
4907
  msgstr ""
4908
 
4909
+ #: options/options-layouts/html-social.php:305
4910
  msgid ""
4911
  "To start using Disqus Login Button you should get Public Key and Secret Key. "
4912
  "Please follow to this "
4913
  msgstr ""
4914
 
4915
+ #: options/options-layouts/html-social.php:306
4916
+ #: options/options-layouts/html-social.php:363
4917
+ #: options/options-layouts/html-social.php:418
4918
+ #: options/options-layouts/html-social.php:474
4919
+ #: options/options-layouts/html-social.php:552
4920
+ #: options/options-layouts/html-social.php:608
4921
+ #: options/options-layouts/html-social.php:683
4922
+ #: options/options-layouts/html-social.php:740
4923
+ #: options/options-layouts/html-social.php:829
4924
+ #: options/options-layouts/html-social.php:885
4925
+ #: options/options-layouts/html-social.php:941
4926
+ #: options/options-layouts/html-social.php:997
4927
  msgid "Redirect URI"
4928
  msgstr ""
4929
 
4930
+ #: options/options-layouts/html-social.php:334
4931
  msgid "Public Key"
4932
  msgstr ""
4933
 
4934
+ #: options/options-layouts/html-social.php:349
4935
+ #: options/options-layouts/html-social.php:670
4936
  msgid "Secure Key"
4937
  msgstr "Secure Key"
4938
 
4939
+ #: options/options-layouts/html-social.php:362
4940
  msgid ""
4941
  "To start using Wordpress.com Login Button you should get Client ID and "
4942
  "Client Secret. Please follow to this "
4943
  msgstr ""
4944
 
4945
+ #: options/options-layouts/html-social.php:417
4946
+ msgid ""
4947
+ "To start using Instagram Login Button you should get Client ID and Client "
4948
+ "Secret. Please follow to this "
4949
+ msgstr ""
4950
+
4951
+ #: options/options-layouts/html-social.php:446
4952
+ #: options/options-layouts/html-social.php:857
4953
+ #: options/options-layouts/html-social.php:969
4954
+ #: options/options-layouts/html-social.php:1025
4955
+ msgid "App ID"
4956
+ msgstr ""
4957
+
4958
+ #: options/options-layouts/html-social.php:461
4959
+ msgid "App Secret"
4960
+ msgstr ""
4961
+
4962
+ #: options/options-layouts/html-social.php:473
4963
+ msgid ""
4964
+ "To start using Linkedin Login Button you should get Client ID and Client "
4965
+ "Secret. Please follow to this "
4966
+ msgstr ""
4967
+
4968
+ #: options/options-layouts/html-social.php:551
4969
+ msgid ""
4970
+ "To start using Yandex Login Button you should get Client ID and Client "
4971
+ "Secret. Please follow to this "
4972
+ msgstr ""
4973
+
4974
+ #: options/options-layouts/html-social.php:580
4975
+ #: options/options-layouts/html-social.php:711
4976
+ #: options/options-layouts/html-thread_display.php:236
4977
+ msgid "ID"
4978
+ msgstr ""
4979
+
4980
+ #: options/options-layouts/html-social.php:595
4981
+ msgid "Password"
4982
+ msgstr ""
4983
+
4984
+ #: options/options-layouts/html-social.php:607
4985
  msgid ""
4986
  "To start using VK Login Button you should get Application ID and Secure Key. "
4987
  "Please follow to this "
4989
  "Um VK Login Button zu verwenden, sollten Sie die Application ID und den "
4990
  "Secure Key erhalten. Bitte folgen Sie dieser "
4991
 
4992
+ #: options/options-layouts/html-social.php:682
4993
+ msgid ""
4994
+ "To start using Mail.ru Login Button you should get Client ID and Client "
4995
+ "Secret. Please follow to this "
4996
+ msgstr ""
4997
+
4998
+ #: options/options-layouts/html-social.php:738
4999
  msgid "Getting started with"
5000
  msgstr "Anfangen mit"
5001
 
5002
+ #: options/options-layouts/html-social.php:739
5003
  msgid ""
5004
  "To get the Application ID, Key and Secret, you should create an app using "
5005
  "one of the supported types (external, Android, iOS), use this"
5006
  msgstr ""
5007
 
5008
+ #: options/options-layouts/html-social.php:802
5009
  msgid "Application Key"
5010
  msgstr ""
5011
 
5012
+ #: options/options-layouts/html-social.php:828
5013
+ msgid ""
5014
+ "To start using WeChat Login Button you should get AppID and Secret. Please "
5015
+ "follow to this "
5016
+ msgstr ""
5017
+
5018
+ #: options/options-layouts/html-social.php:872
5019
+ #: options/options-layouts/html-social.php:928
5020
+ #: options/options-layouts/html-social.php:984
5021
+ #: options/options-layouts/html-social.php:1040
5022
+ msgid "Secret"
5023
+ msgstr ""
5024
+
5025
+ #: options/options-layouts/html-social.php:884
5026
+ msgid ""
5027
+ "To start using Weibo Login Button you should get App Key and App Secret. "
5028
+ "Please follow to this "
5029
+ msgstr ""
5030
+
5031
+ #: options/options-layouts/html-social.php:913
5032
+ msgid "Key"
5033
+ msgstr ""
5034
+
5035
+ #: options/options-layouts/html-social.php:940
5036
+ msgid ""
5037
+ "To start using Tencent QQ Login Button you should get AppID and AppKey. "
5038
+ "Please follow to this "
5039
+ msgstr ""
5040
+
5041
+ #: options/options-layouts/html-social.php:996
5042
+ msgid ""
5043
+ "To start using Baidu Login Button you should get Client Id and Client "
5044
+ "Secret. Please follow to this "
5045
+ msgstr ""
5046
+
5047
  #: options/options-layouts/html-subscription.php:10
5048
  #, php-format
5049
  msgid ""
5158
  msgid "separate count"
5159
  msgstr "Separate Zählung"
5160
 
5161
+ #: options/options-layouts/html-thread_layouts.php:228
5162
  msgid "Layout Components"
5163
  msgstr ""
5164
 
5168
  "By default wpDiscuz comes with &laquo;Light&raquo; style. If your theme "
5169
  "style is dark, we recommend choose the &laquo;Dark&raquo; option for "
5170
  "comments too. In case you want to totally customize comment style or create "
5171
+ "it from scratch, we recommend choose the &laquo;Off&raquo; option to stop "
5172
+ "loading wpDiscuz core CSS. In this case only basic CSS code will be loaded "
5173
+ "allowing you add your custom style easier."
5174
  msgstr ""
5175
 
5176
  #: options/options-layouts/html-thread_styles.php:26
5177
+ msgid "Off"
5178
  msgstr ""
5179
 
5180
  #: options/options-layouts/html-thread_styles.php:27
5181
  msgid "Default"
5182
  msgstr "Standard"
5183
 
5184
+ #: options/options-layouts/html-thread_styles.php:43
5185
+ msgid "Default Style"
5186
+ msgstr ""
5187
+
5188
  #: options/options-layouts/html-thread_styles.php:45
5189
+ #: options/options-layouts/html-thread_styles.php:49
5190
+ #: options/options-layouts/html-thread_styles.php:53
5191
+ #: options/options-layouts/html-thread_styles.php:57
5192
+ #: options/options-layouts/html-thread_styles.php:61
5193
+ #: options/options-layouts/html-thread_styles.php:65
5194
+ #: options/options-layouts/html-thread_styles.php:72
5195
+ #: options/options-layouts/html-thread_styles.php:76
5196
+ #: options/options-layouts/html-thread_styles.php:80
5197
+ #: options/options-layouts/html-thread_styles.php:84
5198
+ #: options/options-layouts/html-thread_styles.php:88
5199
+ #: options/options-layouts/html-thread_styles.php:92
5200
+ msgid "default"
5201
+ msgstr ""
5202
+
5203
+ #: options/options-layouts/html-thread_styles.php:46
5204
+ #: options/options-layouts/html-thread_styles.php:73
5205
+ msgid "Comment Area Background"
5206
+ msgstr ""
5207
+
5208
+ #: options/options-layouts/html-thread_styles.php:50
5209
+ #: options/options-layouts/html-thread_styles.php:77
5210
+ msgid "Comment Text"
5211
+ msgstr ""
5212
+
5213
+ #: options/options-layouts/html-thread_styles.php:54
5214
+ #: options/options-layouts/html-thread_styles.php:81
5215
+ msgid "Comment Fields Background"
5216
+ msgstr ""
5217
+
5218
+ #: options/options-layouts/html-thread_styles.php:58
5219
+ #: options/options-layouts/html-thread_styles.php:85
5220
+ msgid "Comment Fields Border"
5221
+ msgstr ""
5222
+
5223
+ #: options/options-layouts/html-thread_styles.php:62
5224
+ #: options/options-layouts/html-thread_styles.php:89
5225
+ msgid "Comment Fields Text"
5226
+ msgstr ""
5227
+
5228
+ #: options/options-layouts/html-thread_styles.php:66
5229
+ #: options/options-layouts/html-thread_styles.php:93
5230
+ msgid "Comment Fields Placeholder"
5231
+ msgstr ""
5232
+
5233
+ #: options/options-layouts/html-thread_styles.php:70
5234
+ msgid "Dark Style"
5235
+ msgstr ""
5236
+
5237
+ #: options/options-layouts/html-thread_styles.php:112
5238
  msgid "Primary Color"
5239
  msgstr "Primäre Farbe"
5240
 
5241
+ #: options/options-layouts/html-thread_styles.php:116
5242
  msgid "Unread comments background"
5243
  msgstr "Hintergrundfarbe der ungelesenen Kommentare"
5244
 
5245
+ #: options/options-layouts/html-thread_styles.php:119
5246
  msgid "Text Color"
5247
  msgstr "Textfarbe"
5248
 
5249
+ #: options/options-layouts/html-thread_styles.php:120
5250
  msgid "Primary buttons text"
5251
  msgstr "Primärer Button Text"
5252
 
5253
+ #: options/options-layouts/html-thread_styles.php:123
5254
  msgid "Background Color"
5255
  msgstr "Hintergrundfarbe"
5256
 
5257
+ #: options/options-layouts/html-thread_styles.php:124
5258
  msgid "Primary buttons background"
5259
  msgstr "Primärer Button Hintergrund"
5260
 
5261
+ #: options/options-layouts/html-thread_styles.php:128
5262
+ msgid "Comment Bubble Colors"
5263
+ msgstr ""
5264
+
5265
+ #: options/options-layouts/html-thread_styles.php:132
5266
+ msgid "Inline Feedback Icon Colors"
5267
+ msgstr ""
5268
+
5269
+ #: options/options-layouts/html-thread_styles.php:143
5270
+ msgid "Comment Rating Colors"
5271
+ msgstr ""
5272
+
5273
+ #: options/options-layouts/html-thread_styles.php:143
5274
+ msgid "Comment Author Label Colors"
5275
+ msgstr ""
5276
+
5277
  #: options/phrases-layouts/phrases-comment.php:7
5278
  msgid "Comment Template Phrases"
5279
  msgstr "Kommentarvorlagenphrasen"
5375
  msgstr "Kommentarbenachrichtigungs-Betreff senden"
5376
 
5377
  #: options/phrases-layouts/phrases-email.php:24
5378
+ #: options/phrases-layouts/phrases-email.php:36
5379
+ #: options/phrases-layouts/phrases-email.php:57
5380
+ #: options/phrases-layouts/phrases-email.php:69
5381
+ #: options/phrases-layouts/phrases-email.php:90
5382
+ #: options/phrases-layouts/phrases-email.php:102
5383
+ #: options/phrases-layouts/phrases-email.php:121
5384
+ #: options/phrases-layouts/phrases-email.php:132
5385
+ #: options/phrases-layouts/phrases-email.php:148
5386
+ #: options/phrases-layouts/phrases-email.php:161
5387
+ #: options/phrases-layouts/phrases-email.php:200
5388
  #: options/phrases-layouts/phrases-follow.php:57
5389
  #: options/phrases-layouts/phrases-follow.php:68
5390
  #: options/phrases-layouts/phrases-follow.php:84
5391
+ #: options/phrases-layouts/phrases-follow.php:96
5392
  #: options/phrases-layouts/phrases-user-settings.php:61
5393
  #: options/phrases-layouts/phrases-user-settings.php:73
5394
  #: options/phrases-layouts/phrases-user-settings.php:86
5398
  msgid "Available shortcodes"
5399
  msgstr "Verfügbare Shortcodes"
5400
 
5401
+ #: options/phrases-layouts/phrases-email.php:35
5402
  msgid "Post comment notification content"
5403
  msgstr "Inhalte für Kommentarbenachrichtigungen senden"
5404
 
5405
+ #: options/phrases-layouts/phrases-email.php:43
5406
+ #: options/phrases-layouts/phrases-email.php:76
5407
  msgid "Shortcode above will work for registered users only"
5408
  msgstr "Der obige Shortcode funktioniert nur für registrierte Benutzer"
5409
 
5410
+ #: options/phrases-layouts/phrases-email.php:55
5411
  msgid "Subscription type: All my comments"
5412
  msgstr "Abonnementstyp: Alle meine Kommentare"
5413
 
5414
+ #: options/phrases-layouts/phrases-email.php:56
5415
+ #: options/phrases-layouts/phrases-email.php:89
5416
  msgid "New reply notification subject"
5417
  msgstr "Neuer Betreff zur Antwortbenachrichtigung"
5418
 
5419
+ #: options/phrases-layouts/phrases-email.php:68
5420
+ #: options/phrases-layouts/phrases-email.php:101
5421
  msgid "New Reply notification content"
5422
  msgstr "Neuer Inhalt zur Antwortbenachrichtigung"
5423
 
5424
+ #: options/phrases-layouts/phrases-email.php:88
5425
  msgid "Subscription type: Single comment"
5426
  msgstr "Abonnement-Typ: Einzelner Kommentar"
5427
 
5428
+ #: options/phrases-layouts/phrases-email.php:120
5429
  msgid "Subscription confirmation email subject"
5430
  msgstr "E-Mail-Betreff der Abonnementbestätigung"
5431
 
5432
+ #: options/phrases-layouts/phrases-email.php:131
5433
  msgid "Subscription confirmation email content"
5434
  msgstr "E-Mail-Inhalt der Abonnementbestätigung"
5435
 
5436
+ #: options/phrases-layouts/phrases-email.php:147
5437
  msgid "Comment approved subject"
5438
  msgstr "Kommentargenehmigter Betreff"
5439
 
5440
+ #: options/phrases-layouts/phrases-email.php:159
5441
  msgid "Comment approved message"
5442
  msgstr "Kommentargenehmigte Nachricht"
5443
 
5444
+ #: options/phrases-layouts/phrases-email.php:180
5445
  msgid "Ignore subscription"
5446
  msgstr "Abonnement ignorieren"
5447
 
5448
+ #: options/phrases-layouts/phrases-email.php:193
5449
  msgid "Mentioned email subject"
5450
  msgstr ""
5451
 
5452
+ #: options/phrases-layouts/phrases-email.php:199
5453
  msgid "Mentioned email content"
5454
  msgstr ""
5455
 
5550
  msgid "Following email subject"
5551
  msgstr ""
5552
 
5553
+ #: options/phrases-layouts/phrases-follow.php:95
5554
  msgid "Follow email content"
5555
  msgstr ""
5556
 
5614
  msgid "Load More Button"
5615
  msgstr "Mehr anzeigen Taste"
5616
 
5617
+ #: options/phrases-layouts/phrases-general.php:39
5618
+ msgid "Feedback on post content"
5619
+ msgstr ""
5620
+
5621
  #: options/phrases-layouts/phrases-general.php:43
5622
  msgid "Thank you for your feedback"
5623
  msgstr ""
5724
  msgid "Delete all follows email text"
5725
  msgstr ""
5726
 
5727
+ #: options/tools-layouts/tool-database.php:9
5728
+ msgid "Database Operations"
5729
+ msgstr ""
5730
+
5731
+ #: options/tools-layouts/tool-database.php:16
5732
+ msgid "Using this tool you can fix database tables."
5733
+ msgstr ""
5734
+
5735
+ #: options/tools-layouts/tool-database.php:20
5736
+ #: options/tools-layouts/tool-database.php:21
5737
+ msgid "Fix Tables"
5738
+ msgstr ""
5739
+
5740
+ #: options/tools-layouts/tool-images.php:53
5741
+ msgid "Import Comment Images"
5742
+ msgstr ""
5743
+
5744
+ #: options/tools-layouts/tool-images.php:59
5745
+ msgid ""
5746
+ "These tools are available only in <a href='https://gvectors.com/product/"
5747
+ "wpdiscuz-media-uploader/'><strong><i>wpDiscuz Media Uploader</i></strong></"
5748
+ "a> addon! Please install and activate it to use importer!"
5749
+ msgstr ""
5750
+
5751
+ #: options/tools-layouts/tool-images.php:64
5752
+ msgid ""
5753
+ "Here you can import comments' images from <strong><i>Comment Images "
5754
+ "Reloaded</i></strong> plugin to wpDiscuz."
5755
+ msgstr ""
5756
+
5757
+ #: options/tools-layouts/tool-images.php:69
5758
+ #: options/tools-layouts/tool-images.php:85
5759
+ msgid "Import images"
5760
+ msgstr ""
5761
+
5762
+ #: options/tools-layouts/tool-images.php:80
5763
+ msgid ""
5764
+ "Here you can import comments' images from <strong><i>DCO Comment Attachment</"
5765
+ "i></strong> plugin to wpDiscuz."
5766
+ msgstr ""
5767
+
5768
+ #: options/tools-layouts/tool-options.php:8
5769
+ msgid "Export / Import options"
5770
+ msgstr ""
5771
+
5772
+ #: options/tools-layouts/tool-options.php:14
5773
  msgid ""
5774
+ "Using this tool you can backup wpDiscuz options or migrate them from one "
5775
  "WordPress to another."
5776
  msgstr ""
 
 
5777
 
5778
+ #: options/tools-layouts/tool-options.php:21
5779
  msgid "Download Options"
5780
  msgstr "Download Optionen"
5781
 
5782
+ #: options/tools-layouts/tool-options.php:26
5783
  msgid "Backup Options"
5784
  msgstr "Backup-Optionen"
5785
 
5786
+ #: options/tools-layouts/tool-options.php:35
5787
  msgid ""
5788
  "Here you can import and restore wpDiscuz options. You just need to choose "
5789
  "backup file and click import options."
5791
  "Hier können Sie wpDiscuz-Optionen importieren und wiederherstellen. Sie "
5792
  "müssen nur die Sicherungsdatei auswählen und auf Importoptionen klicken."
5793
 
5794
+ #: options/tools-layouts/tool-options.php:43
5795
  msgid "Import Options"
5796
  msgstr "Import-Optionen"
5797
 
5798
+ #: options/tools-layouts/tool-phrases.php:8
5799
+ msgid "Export / Import phrases"
5800
+ msgstr ""
5801
+
5802
+ #: options/tools-layouts/tool-phrases.php:15
5803
  msgid ""
5804
+ "Using this tool you can backup wpDiscuz phrases or migrate them from one "
5805
  "WordPress to another."
5806
  msgstr ""
5807
 
5808
+ #: options/tools-layouts/tool-phrases.php:22
5809
  msgid "Download Phrases"
5810
  msgstr ""
5811
 
5812
+ #: options/tools-layouts/tool-phrases.php:27
5813
  msgid "Backup Phrases"
5814
  msgstr ""
5815
 
5816
+ #: options/tools-layouts/tool-phrases.php:36
5817
  msgid ""
5818
  "Here you can import and restore wpDiscuz phrases. You just need to choose "
5819
  "backup file and click import phrases."
5820
  msgstr ""
5821
 
5822
+ #: options/tools-layouts/tool-phrases.php:44
5823
  msgid "Import Phrases"
5824
  msgstr ""
5825
 
5826
+ #: options/tools-layouts/tool-ratings.php:11
5827
+ #: options/tools-layouts/tool-ratings.php:22
5828
+ msgid "Rebuild Ratings"
5829
+ msgstr ""
5830
+
5831
+ #: options/tools-layouts/tool-ratings.php:17
5832
+ msgid "Using this tool you can rebuild ratings."
5833
  msgstr ""
5834
 
5835
+ #: options/tools-layouts/tool-ratings.php:21
5836
  msgid "Start Rebuild"
5837
  msgstr ""
5838
 
5839
+ #: options/tools-layouts/tool-regenerate.php:27
5840
+ msgid "Regenerate Comments' Data"
5841
+ msgstr ""
5842
+
5843
+ #: options/tools-layouts/tool-regenerate.php:33
5844
+ msgid "Using this tool you can regenerate closed comments."
5845
+ msgstr ""
5846
+
5847
+ #: options/tools-layouts/tool-regenerate.php:37
5848
+ #: options/tools-layouts/tool-regenerate.php:55
5849
+ #: options/tools-layouts/tool-regenerate.php:73
5850
  msgid "Start Regenerate"
5851
  msgstr ""
5852
 
5853
+ #: options/tools-layouts/tool-regenerate.php:51
5854
+ msgid "Using this tool you can regenerate comment vote data."
 
5855
  msgstr ""
 
 
5856
 
5857
+ #: options/tools-layouts/tool-regenerate.php:69
5858
+ msgid "Using this tool you can regenerate comment vote metas."
5859
+ msgstr ""
5860
 
5861
+ #: options/tools-layouts/tool-regenerate.php:87
5862
+ msgid "Using this tool you can synchronize comment author data."
5863
  msgstr ""
 
5864
 
5865
+ #: options/tools-layouts/tool-regenerate.php:91
5866
  msgid "Start Sync"
5867
  msgstr ""
5868
 
5869
+ #: options/tools-layouts/tool-subscriptions.php:15
5870
+ msgid "Import Subscriptions"
5871
+ msgstr ""
5872
+
5873
+ #: options/tools-layouts/tool-subscriptions.php:21
5874
+ msgid ""
5875
+ "Here you can import subscriptions from <strong><i>Subscribe To Comments "
5876
+ "Reloaded</i></strong> plugin to wpDiscuz."
5877
+ msgstr ""
5878
+
5879
+ #: options/tools-layouts/tool-subscriptions.php:26
5880
+ #: options/tools-layouts/tool-subscriptions.php:42
5881
+ msgid "Import subscriptions"
5882
+ msgstr "Abonnements importieren"
5883
+
5884
+ #: options/tools-layouts/tool-subscriptions.php:37
5885
+ msgid ""
5886
+ "Here you can import subscriptions from <strong><i>Lightweight Subscribe To "
5887
+ "Comments</i></strong> plugin to wpDiscuz."
5888
+ msgstr ""
5889
+
5890
+ #: utils/class.WpdiscuzHelper.php:374
5891
  msgid "Sticky"
5892
  msgstr "Sticky"
5893
 
5894
+ #: utils/class.WpdiscuzHelper.php:990
5895
  msgid "Reset Ratings"
5896
  msgstr ""
5897
 
5898
+ #: utils/class.WpdiscuzHelper.php:1002
5899
  msgid "Are you sure you want to reset post rating?"
5900
  msgstr ""
5901
 
5902
+ #: utils/class.WpdiscuzHelper.php:1030
5903
  msgid "Reset Post Rating"
5904
  msgstr ""
5905
 
5906
+ #: utils/class.WpdiscuzHelper.php:1031 utils/class.WpdiscuzHelper.php:1070
5907
  msgid "Working..."
5908
  msgstr ""
5909
 
5910
+ #: utils/class.WpdiscuzHelper.php:1032 utils/class.WpdiscuzHelper.php:1071
5911
  msgid "Done"
5912
  msgstr ""
5913
 
5914
+ #: utils/class.WpdiscuzHelper.php:1041
5915
  msgid "Are you sure you want to reset fields ratings?"
5916
  msgstr ""
5917
 
5918
+ #: utils/class.WpdiscuzHelper.php:1069
5919
  msgid "Reset Fields Ratings"
5920
  msgstr ""
5921
 
5922
+ #: utils/class.WpdiscuzHelper.php:1212
5923
+ msgid "Enter link:"
5924
+ msgstr ""
5925
+
5926
+ #: utils/class.WpdiscuzHelperAjax.php:787
5927
  msgid "Read More"
5928
  msgstr ""
5929
 
5930
+ #: utils/class.WpdiscuzHelperAjax.php:891
5931
  msgid "Subscribers"
5932
  msgstr ""
5933
 
5934
+ #: utils/class.WpdiscuzHelperAjax.php:892
5935
  msgid "Subscription - posts"
5936
  msgstr ""
5937
 
5938
+ #: utils/class.WpdiscuzHelperAjax.php:893
5939
  msgid "Subscription - all comments"
5940
  msgstr ""
5941
 
5942
+ #: utils/class.WpdiscuzHelperAjax.php:894
5943
  msgid "Subscription - comment"
5944
  msgstr ""
5945
 
5946
+ #: utils/class.WpdiscuzHelperAjax.php:895
5947
+ #: utils/class.WpdiscuzHelperAjax.php:957
5948
  msgid "Followers"
5949
  msgstr "Follower"
5950
 
5951
+ #: utils/class.WpdiscuzHelperAjax.php:896
5952
+ #: utils/class.WpdiscuzHelperAjax.php:953
5953
  msgid "Following"
5954
  msgstr ""
5955
 
5956
+ #: utils/class.WpdiscuzHelperAjax.php:961
5957
  msgid "Last Activity"
5958
  msgstr ""
5959
 
5960
+ #: utils/class.WpdiscuzHelperAjax.php:995
5961
  msgid "Something is wrong"
5962
  msgstr ""
5963
 
5964
+ #: utils/class.WpdiscuzHelperUpload.php:488
5965
  msgid "The attachment not exists"
5966
  msgstr ""
5967
 
5968
+ #: utils/class.WpdiscuzHelperUpload.php:779
5969
  msgid "Attached Images"
5970
  msgstr ""
5971
 
5990
  msgid "The plugin is not working"
5991
  msgstr "Das PlugIn funktioniert nicht"
5992
 
5993
+ #: utils/deactivation-reason-modal.php:25
5994
  msgid "What kind of problems do you have?"
5995
  msgstr "Welche Probleme haben Sie?"
5996
 
5997
+ #: utils/deactivation-reason-modal.php:27
5998
+ #: utils/deactivation-reason-modal.php:49
5999
+ #: utils/deactivation-reason-modal.php:67
6000
+ #: utils/deactivation-reason-modal.php:85
6001
+ #: utils/deactivation-reason-modal.php:103
6002
+ #: utils/deactivation-reason-modal.php:121
6003
+ #: utils/deactivation-reason-modal.php:139
6004
+ msgid ""
6005
+ "If you want us to contact you please click on \"I agree to receive email\" "
6006
+ "checkbox, then fill out your email. We'll try to do our best to help you "
6007
+ "with problems."
6008
+ msgstr ""
6009
+
6010
+ #: utils/deactivation-reason-modal.php:29
6011
+ #: utils/deactivation-reason-modal.php:51
6012
+ #: utils/deactivation-reason-modal.php:69
6013
+ #: utils/deactivation-reason-modal.php:87
6014
+ #: utils/deactivation-reason-modal.php:105
6015
+ #: utils/deactivation-reason-modal.php:123
6016
+ #: utils/deactivation-reason-modal.php:141
6017
+ msgid "I agree to receive email"
6018
+ msgstr ""
6019
+
6020
+ #: utils/deactivation-reason-modal.php:34
6021
+ #: utils/deactivation-reason-modal.php:56
6022
+ #: utils/deactivation-reason-modal.php:74
6023
+ #: utils/deactivation-reason-modal.php:92
6024
+ #: utils/deactivation-reason-modal.php:110
6025
+ #: utils/deactivation-reason-modal.php:128
6026
+ #: utils/deactivation-reason-modal.php:146
6027
+ msgid "email for feedback"
6028
+ msgstr ""
6029
+
6030
+ #: utils/deactivation-reason-modal.php:41
6031
  msgid "It's not what I was looking for"
6032
  msgstr "Es ist nicht das, was ich suchte"
6033
 
6034
+ #: utils/deactivation-reason-modal.php:45
6035
  msgid "I couldn't understand how to make it work"
6036
  msgstr "Ich habe nicht verstanden, wie es funktioniert"
6037
 
6038
+ #: utils/deactivation-reason-modal.php:47
6039
+ #: utils/deactivation-reason-modal.php:65
6040
  msgid "What type of features you want to be in the plugin?"
6041
  msgstr "Welche Arten von Funktionen möchten Sie mit dem Plugin haben?"
6042
 
6043
+ #: utils/deactivation-reason-modal.php:63
6044
  msgid "The plugin is great, but I need specific features"
6045
  msgstr "Das Plugin ist toll, aber ich brauche spezielle Funktionen"
6046
 
6047
+ #: utils/deactivation-reason-modal.php:81
6048
  msgid "I didn't like plugin design"
6049
  msgstr "Mir gefiel das Plugin-Design nicht"
6050
 
6051
+ #: utils/deactivation-reason-modal.php:83
6052
  msgid "What part of design you don't like or want to change?"
6053
  msgstr "Welcher Teil des Designs, das Ihnen nicht gefiel, möchten Sie ändern?"
6054
 
6055
+ #: utils/deactivation-reason-modal.php:99
6056
  msgid "The plugin works very slow"
6057
  msgstr "Das Plugin arbeitet sehr langsam"
6058
 
6059
+ #: utils/deactivation-reason-modal.php:101
6060
  msgid ""
6061
  "Could you please describe which features of the plugin slows down your "
6062
  "website?"
6064
  "Beschreiben Sie bitte, welche Funktionen des Plugins Ihre Website "
6065
  "verlangsamte?"
6066
 
6067
+ #: utils/deactivation-reason-modal.php:117
6068
  msgid "I found a better plugin"
6069
  msgstr "Ich fand ein besseres Plugin"
6070
 
6071
+ #: utils/deactivation-reason-modal.php:119
6072
  msgid "Please provide a plugin name or URL"
6073
  msgstr "Bitte geben Sie einen Plugin-Namen oder die URL an"
6074
 
6075
+ #: utils/deactivation-reason-modal.php:135
6076
  msgid "Other"
6077
  msgstr "Andere"
6078
 
6079
+ #: utils/deactivation-reason-modal.php:153
6080
  msgid "Dismiss and never show again"
6081
  msgstr "Ausblenden und nicht wieder anzeigen"
6082
 
6083
+ #: utils/deactivation-reason-modal.php:154
6084
  msgid "Submit &amp; Deactivate"
6085
  msgstr "Absenden &amp; deaktivieren"
6086
 
6109
  msgstr "Dieses Abonnement abbestellen"
6110
 
6111
  #. Plugin URI of the plugin/theme
6112
+ msgid "https://wpdiscuz.com/"
6113
+ msgstr ""
6114
 
6115
  #. Description of the plugin/theme
6116
  msgid ""
6119
  msgstr ""
6120
 
6121
  #. Author of the plugin/theme
6122
+ msgid "gVectors Team"
6123
+ msgstr ""
6124
 
6125
  #. Author URI of the plugin/theme
6126
  msgid "https://gvectors.com/"
6127
  msgstr ""
6128
 
6129
+ #~ msgid "VK authentication failed (OAuth <code>state</code> does not exist)."
6130
+ #~ msgstr ""
6131
+ #~ "Die VK-Authentifizierung ist fehlgeschlagen (OAuth <code>state</code> ist "
6132
+ #~ "nicht vorhanden)."
6133
+
6134
+ #~ msgid "VK authentication failed (OAuth <code>code</code> does not exist)."
6135
+ #~ msgstr ""
6136
+ #~ "Die VK-Authentifizierung ist fehlgeschlagen (OAuth <code>code</code> ist "
6137
+ #~ "nicht vorhanden)."
6138
+
6139
+ #~ msgid "VK authentication failed (<code>user_id</code> does not exist)."
6140
+ #~ msgstr ""
6141
+ #~ "Die VK-Authentifizierung ist fehlgeschlagen (<code>user_id</code> "
6142
+ #~ "existiert nicht)."
6143
+
6144
+ #~ msgid "OK authentication failed (OAuth <code>state</code> does not exist)."
6145
+ #~ msgstr ""
6146
+ #~ "Die OK-Authentifizierung ist fehlgeschlagen (OAuth <code>state</code> ist "
6147
+ #~ "nicht vorhanden)."
6148
+
6149
+ #~ msgid "OK authentication failed (<code>code</code> does not exist)."
6150
+ #~ msgstr ""
6151
+ #~ "Die OK-Authentifizierung ist fehlgeschlagen (<code>code</code> ist nicht "
6152
+ #~ "vorhanden)."
6153
+
6154
+ #~ msgid "OK authentication failed (<code>access_token</code> does not exist)."
6155
+ #~ msgstr ""
6156
+ #~ "Die OK-Authentifizierung ist fehlgeschlagen (<code>access_token</code> "
6157
+ #~ "ist nicht vorhanden)."
6158
+
6159
+ #~ msgid "Share On Google"
6160
+ #~ msgstr "Auf Google teilen"
6161
+
6162
+ #~ msgid "Sorry, this comment no longer possible to edit"
6163
+ #~ msgstr ""
6164
+ #~ "Tut uns leid, aber dieser Kommentar kann leider nicht mehr aktualisiert "
6165
+ #~ "werden"
6166
+
6167
+ #~ msgid ""
6168
+ #~ "Adds No CAPTCHA on all comment forms. Stops spam and bot comments with "
6169
+ #~ "Google reCAPTCHA"
6170
+ #~ msgstr ""
6171
+ #~ "Fügt allen Kommentarfeldern kein CAPTCHA hinzu. Stoppt Spam- und Bot-"
6172
+ #~ "Kommentare mit Google reCAPTCHA"
6173
+
6174
+ #~ msgid "Colors"
6175
+ #~ msgstr "Farben"
6176
+
6177
+ #~ msgid "Reset Options"
6178
+ #~ msgstr "Optionen zurücksetzen"
6179
+
6180
+ #~ msgid "Export options"
6181
+ #~ msgstr "Export-Optionen"
6182
+
6183
+ #~ msgid "Import options"
6184
+ #~ msgstr "Import-Optionen"
6185
+
6186
+ #~ msgid ""
6187
+ #~ "Using this tool you can migrate or backup/restore wpDiscuz options from "
6188
+ #~ "one WordPress to another."
6189
+ #~ msgstr ""
6190
+ #~ "Mit diesem Tool können Sie wpDiscuz Optionen von einem WordPress zum "
6191
+ #~ "anderen migrieren oder sichern / wiederherstellen."
6192
+
6193
+ #~ msgid ""
6194
+ #~ "Using this tool you can import subscriptions from other plugins to "
6195
+ #~ "wpDiscuz."
6196
+ #~ msgstr ""
6197
+ #~ "Mit diesem Tool können Sie Abonnements von anderen Plugins in wpDiscuz "
6198
+ #~ "importieren."
6199
+
6200
+ #~ msgid "Import subscriptions from Subscribe To Comments Reloaded"
6201
+ #~ msgstr "Abonnements von Abonnenten in neu geladene Kommentare importieren"
6202
+
6203
+ #~ msgid "Import subscriptions from \"Subscribe To Comments Reloaded\" plugin"
6204
+ #~ msgstr ""
6205
+ #~ "Importiere Abonnements von dem \"Subscribe To Comments Reloaded\" -Plugin"
6206
+
6207
+ #~ msgid "http://wpdiscuz.com/"
6208
+ #~ msgstr "http://wpdiscuz.com/"
6209
+
6210
+ #~ msgid "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
6211
+ #~ msgstr "Team gVectors (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
6212
+
6213
  #~ msgid "We are sorry, but this comment cannot be posted. Please try later."
6214
  #~ msgstr ""
6215
  #~ "Es tut uns leid, aber dieser Kommentar kann nicht gepostet werden. Bitte "
6670
  #~ "steht. Der Notiztext kann in \"Kommentare > Phrasen > Formular-Tab\" "
6671
  #~ "verwaltet werden."
6672
 
 
 
 
 
 
 
 
 
 
 
 
 
6673
  #~ msgid "Enable automatic image URL to image HTML conversion"
6674
  #~ msgstr "Automatische Bild-URL zur Bild-HTML Konvertierung aktivieren"
6675
 
languages/wpdiscuz-fr_FR.mo CHANGED
Binary file
languages/wpdiscuz-fr_FR.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - Comments &#8211; wpDiscuz - Development "
6
  "(trunk)\n"
7
- "POT-Creation-Date: 2020-01-20 23:34+0400\n"
8
- "PO-Revision-Date: 2020-01-20 23:34+0400\n"
9
  "Last-Translator: \n"
10
  "Language-Team: \n"
11
  "Language: fr\n"
@@ -15,112 +15,116 @@ msgstr ""
15
  "Plural-Forms: nplurals=2; plural=n > 1;\n"
16
  "X-Generator: Poedit 1.8.6\n"
17
 
18
- #: class.WpdiscuzCore.php:222
19
  msgid "Every 3 hours"
20
  msgstr "Chaque 3 heures"
21
 
22
- #: class.WpdiscuzCore.php:226
23
  msgid "Every 48 hours"
24
  msgstr "Chaque 48 heures"
25
 
26
- #: class.WpdiscuzCore.php:879 class.WpdiscuzCore.php:1397
27
  msgid "Dashboard"
28
  msgstr ""
29
 
30
- #: class.WpdiscuzCore.php:880 class.WpdiscuzCore.php:1398
31
- #: options/html-options.php:399 options/html-options.php:505
32
  msgid "Settings"
33
  msgstr "Réglages"
34
 
35
- #: class.WpdiscuzCore.php:882 class.WpdiscuzCore.php:1400
36
  msgid "Phrases"
37
  msgstr "Phrases"
38
 
39
- #: class.WpdiscuzCore.php:884
40
  msgid "Tools"
41
  msgstr "Outils"
42
 
43
- #: class.WpdiscuzCore.php:885 options/html-options.php:26
44
  msgid "Addons"
45
  msgstr "Modules"
46
 
47
- #: class.WpdiscuzCore.php:900
48
  msgid "Do you really want to reset all options?"
49
  msgstr "Voulez-vous vraiment réinitialiser toutes les options ?"
50
 
51
- #: class.WpdiscuzCore.php:901
 
 
 
 
52
  msgid "Do you really want to remove voting data?"
53
  msgstr "Voulez-vous vraiment retirer les données de vote ?"
54
 
55
- #: class.WpdiscuzCore.php:902
56
  msgid "Do you really want to reset phrases?"
57
  msgstr "Voulez-vous vraiment réinitialiser les phrases ?"
58
 
59
- #: class.WpdiscuzCore.php:903
60
  msgid "Do you really want to delet this attachment?"
61
  msgstr ""
62
 
63
- #: class.WpdiscuzCore.php:904
64
  msgid "Do you really want to delete gravatars cache?"
65
  msgstr "Voulez-vous vraiment supprimer le cache Gravatar ?"
66
 
67
- #: class.WpdiscuzCore.php:957
68
  msgid "Please check one of reasons before sending feedback!"
69
  msgstr "Veuillez vérifier l'une des raisons avant d'envoyer un retour !"
70
 
71
- #: class.WpdiscuzCore.php:958 utils/deactivation-reason-modal.php:58
72
  msgid "Please provide more information"
73
  msgstr "Veuillez fournir plus d’information"
74
 
75
- #: class.WpdiscuzCore.php:973 class.WpdiscuzCore.php:1796
76
  msgid "No text is selected. Please select a part of text from post content."
77
  msgstr ""
78
 
79
- #: class.WpdiscuzCore.php:1520 options/phrases-layouts/phrases-comment.php:56
80
  msgid "Admin"
81
  msgstr "Administrateur"
82
 
83
- #: class.WpdiscuzCore.php:1523 class.WpdiscuzCore.php:1536
84
  #: options/phrases-layouts/phrases-comment.php:58
85
  msgid "Author"
86
  msgstr "Auteur"
87
 
88
- #: class.WpdiscuzCore.php:1526 options/phrases-layouts/phrases-comment.php:60
89
  msgid "Editor"
90
  msgstr "Éditeur "
91
 
92
- #: class.WpdiscuzCore.php:1529 options/phrases-layouts/phrases-comment.php:64
93
  msgid "Member"
94
  msgstr "Membre"
95
 
96
- #: class.WpdiscuzCore.php:1537 options/phrases-layouts/phrases-comment.php:62
97
  msgid "Guest"
98
  msgstr "Invité"
99
 
100
- #: class.WpdiscuzCore.php:1794
101
  msgid "Selected Text"
102
  msgstr ""
103
 
104
- #: class.WpdiscuzCore.php:1801
105
  msgid "Your Question to Readers"
106
  msgstr ""
107
 
108
- #: class.WpdiscuzCore.php:1802
109
  msgid ""
110
  "A simple question or a call to leave a feedback on the selected part of "
111
  "text. Something like &quot;By the way. Do you agree with this?&quot; or "
112
  "&quot;Would love your thoughts, please comment on this.&quot;"
113
  msgstr ""
114
 
115
- #: class.WpdiscuzCore.php:1807
116
  msgid "e.g: Any thoughts on this?"
117
  msgstr ""
118
 
119
- #: class.WpdiscuzCore.php:1812
120
  msgid "Feedback Button Display Type"
121
  msgstr ""
122
 
123
- #: class.WpdiscuzCore.php:1813
124
  msgid ""
125
  "By default the inline feedback form is closed and only the button is "
126
  "displayed. Once reader scrolled and reached to the selected text part, this "
@@ -130,147 +134,157 @@ msgid ""
130
  "Readers can close it using [x] button."
131
  msgstr ""
132
 
133
- #: class.WpdiscuzCore.php:1821
134
  msgid "CLOSED"
135
  msgstr ""
136
 
137
- #: class.WpdiscuzCore.php:1830
138
  msgid "OPENED"
139
  msgstr ""
140
 
141
- #: class.WpdiscuzCore.php:1839
142
  msgid "Add Inline Feedback Button"
143
  msgstr ""
144
 
145
- #: forms/wpDiscuzForm.php:101
 
 
 
 
146
  msgid "Invalid Data !!!"
147
  msgstr "Donnée non valide !"
148
 
149
- #: forms/wpDiscuzForm.php:109 forms/wpDiscuzForm.php:158
150
  msgid "Forms"
151
  msgstr "Formulaires"
152
 
153
- #: forms/wpDiscuzForm.php:110 options/html-phrases.php:20
154
  msgid "Form"
155
  msgstr "Formulaire"
156
 
157
- #: forms/wpDiscuzForm.php:111
158
  msgid "Add New"
159
  msgstr "Ajouter un nouveau"
160
 
161
- #: forms/wpDiscuzForm.php:112
162
  msgid "Add New Form"
163
  msgstr "Ajouter un nouveau formulaire"
164
 
165
- #: forms/wpDiscuzForm.php:113
166
  msgid "Edit Form"
167
  msgstr "Modifier le formulaire"
168
 
169
- #: forms/wpDiscuzForm.php:114
170
  msgid "You did not create any forms yet"
171
  msgstr "Vous n’avez pas encore créé de formulaire."
172
 
173
- #: forms/wpDiscuzForm.php:115
174
  msgid "Nothing found in Trash"
175
  msgstr "Rien trouvé dans la corbeille"
176
 
177
- #: forms/wpDiscuzForm.php:116
178
  msgid "Search Forms"
179
  msgstr "Formulaires de recherche"
180
 
181
- #: forms/wpDiscuzForm.php:173
182
  msgid "Title"
183
  msgstr "Titre"
184
 
185
- #: forms/wpDiscuzForm.php:174
186
  msgid "Post Types"
187
  msgstr "Types de publication"
188
 
189
- #: forms/wpDiscuzForm.php:175
190
  msgid "Post IDs"
191
  msgstr "IDs de publication"
192
 
193
- #: forms/wpDiscuzForm.php:176 forms/wpdFormAttr/Form.php:854
194
  msgid "Language"
195
  msgstr "Langage"
196
 
197
- #: forms/wpDiscuzForm.php:177
 
198
  msgid "Date"
199
  msgstr "Date"
200
 
201
- #: forms/wpDiscuzForm.php:222
202
  msgid "Field Types"
203
  msgstr "Types de champ"
204
 
205
- #: forms/wpDiscuzForm.php:223 forms/wpdFormAttr/Row.php:23
206
  msgid "Two column"
207
  msgstr "Deux colonnes"
208
 
209
- #: forms/wpDiscuzForm.php:224 forms/wpdFormAttr/Field/Field.php:73
210
- #: forms/wpdFormAttr/Row.php:24 utils/class.WpdiscuzHelperUpload.php:640
211
  msgid "Delete"
212
  msgstr "Supprimer"
213
 
214
- #: forms/wpDiscuzForm.php:225 forms/wpdFormAttr/Row.php:25
215
  msgid "Move"
216
  msgstr "Déplacer"
217
 
218
- #: forms/wpDiscuzForm.php:226 forms/wpdFormAttr/Row.php:73
219
  msgid "Add Field"
220
  msgstr "Ajouter un champ"
221
 
222
- #: forms/wpDiscuzForm.php:227 forms/wpdFormAttr/Field/Field.php:70
223
- #: options/class.WpdiscuzOptions.php:273
224
  #: options/phrases-layouts/phrases-comment.php:19
225
  msgid "Edit"
226
  msgstr "Modifier"
227
 
228
- #: forms/wpDiscuzForm.php:228
229
  msgid "You can not delete default field."
230
  msgstr "Vous ne pouvez supprimer le champ par défaut."
231
 
232
- #: forms/wpDiscuzForm.php:229
233
  msgid "You really want to delete this item ?"
234
  msgstr "Voulez-vous vraiment supprimer cet élément ?"
235
 
236
- #: forms/wpDiscuzForm.php:236
237
  msgid "Permission Denied !!!"
238
  msgstr "Autorisation refusée !"
239
 
240
- #: forms/wpDiscuzForm.php:257 forms/wpdFormAttr/Form.php:819
241
  #: forms/wpdFormAttr/html/admin-form-fields-list.php:18
242
  msgid "Custom Fields"
243
  msgstr "Champs personnalisés"
244
 
245
- #: forms/wpDiscuzForm.php:315
246
  msgid "Custom CSS"
247
  msgstr "CSS personnalisé"
248
 
249
- #: forms/wpDiscuzForm.php:370
250
  msgid "Default Form"
251
  msgstr "Formulaire par défaut"
252
 
253
- #: forms/wpDiscuzForm.php:403 forms/wpdFormAttr/Form.php:114
254
- #: forms/wpdFormAttr/Form.php:935 options/html-phrases.php:21
255
  #: options/options-layouts/html-moderation.php:133
256
  msgid "Comment"
257
  msgstr "Commentaire"
258
 
259
- #: forms/wpDiscuzForm.php:404 forms/wpdFormAttr/Form.php:122
260
- #: forms/wpdFormAttr/Form.php:945
261
  #: forms/wpdFormAttr/Tools/PersonalDataExporter.php:82
262
- #: utils/class.WpdiscuzHelperAjax.php:876
263
  msgid "Comments"
264
  msgstr "Commentaires"
265
 
266
- #: forms/wpDiscuzForm.php:430 forms/wpdFormAttr/Field/AgreementCheckbox.php:12
 
 
 
 
 
267
  #: forms/wpdFormAttr/Field/CheckboxField.php:12
268
  #: forms/wpdFormAttr/Field/ColorField.php:12
269
  #: forms/wpdFormAttr/Field/CookiesConsent.php:14
270
  #: forms/wpdFormAttr/Field/DateField.php:12
271
  #: forms/wpdFormAttr/Field/DefaultField/Email.php:19
272
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:18
273
- #: forms/wpdFormAttr/Field/DefaultField/Name.php:66
274
  #: forms/wpdFormAttr/Field/DefaultField/Submit.php:18
275
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:18
276
  #: forms/wpdFormAttr/Field/HTMLField.php:12
@@ -280,35 +294,35 @@ msgstr "Commentaires"
280
  #: forms/wpdFormAttr/Field/SelectField.php:12
281
  #: forms/wpdFormAttr/Field/TextAreaField.php:12
282
  #: forms/wpdFormAttr/Field/TextField.php:12
283
- #: forms/wpdFormAttr/Field/UrlField.php:12 forms/wpdFormAttr/Form.php:1134
284
  msgid "Name"
285
  msgstr "Nom"
286
 
287
- #: forms/wpDiscuzForm.php:432 forms/wpdFormAttr/Field/DefaultField/Email.php:66
288
- #: forms/wpdFormAttr/Form.php:1141 options/class.WpdiscuzOptions.php:259
289
  #: options/html-phrases.php:23
290
  msgid "Email"
291
  msgstr "E-mail"
292
 
293
- #: forms/wpDiscuzForm.php:434
294
  msgid "WebSite URL"
295
  msgstr "URL du site Web"
296
 
297
- #: forms/wpDiscuzForm.php:437
298
  #: forms/wpdFormAttr/Field/DefaultField/Submit.php:117
299
- #: forms/wpdFormAttr/Form.php:1164
300
  msgid "Post Comment"
301
  msgstr "Publier le commentaire"
302
 
303
- #: forms/wpDiscuzForm.php:446
304
  msgid "Clone Form"
305
  msgstr "Formulaire de clonage"
306
 
307
- #: forms/wpDiscuzForm.php:458
308
  msgid "Clone"
309
  msgstr "Cloner"
310
 
311
- #: forms/wpDiscuzForm.php:491
312
  msgid ""
313
  "Comment Form is not detected, please navigate to form manager page to create "
314
  "it. "
@@ -316,7 +330,7 @@ msgstr ""
316
  "Le formulaire de commentaire n’est pas détecté. Veuillez vous rendre sur la "
317
  "page du gestionnaire de formulaire pour le créer. "
318
 
319
- #: forms/wpDiscuzForm.php:492
320
  msgid "Add Comment Form"
321
  msgstr "Ajouter un formulaire de commentaire"
322
 
@@ -330,7 +344,7 @@ msgstr "Ajouter un formulaire de commentaire"
330
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:23
331
  #: forms/wpdFormAttr/Field/NumberField.php:17
332
  #: forms/wpdFormAttr/Field/RadioField.php:17
333
- #: forms/wpdFormAttr/Field/RatingField.php:16
334
  #: forms/wpdFormAttr/Field/SelectField.php:17
335
  #: forms/wpdFormAttr/Field/TextAreaField.php:17
336
  #: forms/wpdFormAttr/Field/TextField.php:17
@@ -350,7 +364,7 @@ msgstr "Description"
350
  #: forms/wpdFormAttr/Field/NumberField.php:24
351
  #: forms/wpdFormAttr/Field/NumberField.php:29
352
  #: forms/wpdFormAttr/Field/RadioField.php:19
353
- #: forms/wpdFormAttr/Field/RatingField.php:18
354
  #: forms/wpdFormAttr/Field/SelectField.php:19
355
  #: forms/wpdFormAttr/Field/TextAreaField.php:19
356
  #: forms/wpdFormAttr/Field/TextField.php:19
@@ -383,7 +397,7 @@ msgstr ""
383
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:35
384
  #: forms/wpdFormAttr/Field/NumberField.php:39
385
  #: forms/wpdFormAttr/Field/RadioField.php:33
386
- #: forms/wpdFormAttr/Field/RatingField.php:28
387
  #: forms/wpdFormAttr/Field/SelectField.php:33
388
  #: forms/wpdFormAttr/Field/TextAreaField.php:22
389
  #: forms/wpdFormAttr/Field/TextField.php:29
@@ -419,15 +433,15 @@ msgstr "Ne plus afficher si l’accord est accepté une fois"
419
 
420
  #: forms/wpdFormAttr/Field/AgreementCheckbox.php:101
421
  #: forms/wpdFormAttr/Field/CheckboxField.php:150
422
- #: forms/wpdFormAttr/Field/ColorField.php:112
423
- #: forms/wpdFormAttr/Field/DateField.php:112
424
- #: forms/wpdFormAttr/Field/NumberField.php:122
425
- #: forms/wpdFormAttr/Field/RadioField.php:128
426
- #: forms/wpdFormAttr/Field/RatingField.php:124
427
  #: forms/wpdFormAttr/Field/SelectField.php:122
428
- #: forms/wpdFormAttr/Field/TextAreaField.php:94
429
- #: forms/wpdFormAttr/Field/TextField.php:106
430
- #: forms/wpdFormAttr/Field/UrlField.php:116
431
  msgid "field is required!"
432
  msgstr "champ obligatoire !"
433
 
@@ -461,7 +475,7 @@ msgstr "Veuillez insérer une valeur par ligne"
461
  #: forms/wpdFormAttr/Field/DateField.php:37
462
  #: forms/wpdFormAttr/Field/NumberField.php:47
463
  #: forms/wpdFormAttr/Field/RadioField.php:41
464
- #: forms/wpdFormAttr/Field/RatingField.php:32
465
  #: forms/wpdFormAttr/Field/SelectField.php:41
466
  #: forms/wpdFormAttr/Field/TextAreaField.php:30
467
  #: forms/wpdFormAttr/Field/TextField.php:37
@@ -474,7 +488,7 @@ msgstr "Afficher dans les commentaires"
474
  #: forms/wpdFormAttr/Field/DateField.php:41
475
  #: forms/wpdFormAttr/Field/NumberField.php:51
476
  #: forms/wpdFormAttr/Field/RadioField.php:45
477
- #: forms/wpdFormAttr/Field/RatingField.php:36
478
  #: forms/wpdFormAttr/Field/SelectField.php:45
479
  #: forms/wpdFormAttr/Field/TextAreaField.php:34
480
  #: forms/wpdFormAttr/Field/TextField.php:41
@@ -487,7 +501,7 @@ msgstr "Options avancées"
487
  #: forms/wpdFormAttr/Field/DateField.php:44
488
  #: forms/wpdFormAttr/Field/NumberField.php:54
489
  #: forms/wpdFormAttr/Field/RadioField.php:48
490
- #: forms/wpdFormAttr/Field/RatingField.php:39
491
  #: forms/wpdFormAttr/Field/SelectField.php:48
492
  #: forms/wpdFormAttr/Field/TextAreaField.php:37
493
  #: forms/wpdFormAttr/Field/TextField.php:44
@@ -500,7 +514,7 @@ msgstr "Clé méta"
500
  #: forms/wpdFormAttr/Field/DateField.php:48
501
  #: forms/wpdFormAttr/Field/NumberField.php:58
502
  #: forms/wpdFormAttr/Field/RadioField.php:52
503
- #: forms/wpdFormAttr/Field/RatingField.php:43
504
  #: forms/wpdFormAttr/Field/SelectField.php:52
505
  #: forms/wpdFormAttr/Field/TextAreaField.php:41
506
  #: forms/wpdFormAttr/Field/TextField.php:48
@@ -514,7 +528,7 @@ msgstr "Remplacer la veille clé méta"
514
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:29
515
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:29
516
  #: forms/wpdFormAttr/Field/NumberField.php:33
517
- #: forms/wpdFormAttr/Field/RatingField.php:22
518
  #: forms/wpdFormAttr/Field/TextField.php:23
519
  #: forms/wpdFormAttr/Field/UrlField.php:23
520
  msgid "Field icon"
@@ -526,13 +540,13 @@ msgstr "Icône de champ"
526
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:32
527
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:32
528
  #: forms/wpdFormAttr/Field/NumberField.php:36
529
- #: forms/wpdFormAttr/Field/RatingField.php:25
530
  #: forms/wpdFormAttr/Field/TextField.php:26
531
  #: forms/wpdFormAttr/Field/UrlField.php:26
532
  msgid "Font-awesome icon library."
533
  msgstr "Bibliothèque d’icônes Font Awesome."
534
 
535
- #: forms/wpdFormAttr/Field/CookiesConsent.php:92
536
  msgid "Save my data for the next time I comment"
537
  msgstr "Enregistrer mes données pour la prochaine fois que je commente"
538
 
@@ -540,37 +554,41 @@ msgstr "Enregistrer mes données pour la prochaine fois que je commente"
540
  msgid "reCAPTCHA Settings"
541
  msgstr ""
542
 
543
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:97
544
  msgid "reCAPTCHA verification failed."
545
  msgstr ""
546
 
547
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:102
548
  msgid "The secret parameter is missing."
549
  msgstr ""
550
 
551
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:103
552
  msgid "The secret parameter is invalid or malformed."
553
  msgstr ""
554
 
555
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:104
556
  msgid "The response parameter is missing."
557
  msgstr ""
558
 
559
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:105
560
  msgid "The response parameter is invalid or malformed."
561
  msgstr ""
562
 
563
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:106
564
  msgid "The request is invalid or malformed."
565
  msgstr ""
566
 
567
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:107
568
  msgid ""
569
  "The response is no longer valid: either is too old or has been used "
570
  "previously."
571
  msgstr ""
572
 
573
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:113
 
 
 
 
574
  msgid "reCaptcha validation fails. Error code: "
575
  msgstr ""
576
 
@@ -587,8 +605,8 @@ msgstr "Texte du bouton"
587
  msgid "Enable"
588
  msgstr "Activer"
589
 
590
- #: forms/wpdFormAttr/Field/DefaultField/Website.php:83
591
- #: forms/wpdFormAttr/Form.php:1148
592
  msgid "Website"
593
  msgstr "Site web"
594
 
@@ -596,7 +614,7 @@ msgstr "Site web"
596
  msgid " (Submit Button)"
597
  msgstr " (Bouton envoyer)"
598
 
599
- #: forms/wpdFormAttr/Field/Field.php:63 options/class.WpdiscuzOptions.php:1857
600
  msgid "Google reCAPTCHA"
601
  msgstr ""
602
 
@@ -616,11 +634,11 @@ msgstr "Valeur min"
616
  msgid "Max Value"
617
  msgstr "Valeur max"
618
 
619
- #: forms/wpdFormAttr/Field/NumberField.php:126
620
  msgid "value can not be less than"
621
  msgstr "la valeur ne peut être inférieure à"
622
 
623
- #: forms/wpdFormAttr/Field/NumberField.php:129
624
  msgid "value can not be more than"
625
  msgstr "la valeur ne peut être supérieure à"
626
 
@@ -629,8 +647,12 @@ msgstr "la valeur ne peut être supérieure à"
629
  msgid "New value new line"
630
  msgstr "Nouvelle valeur nouvelle ligne"
631
 
632
- #: forms/wpdFormAttr/Form.php:179 forms/wpdFormAttr/Form.php:525
633
- #: forms/wpdFormAttr/Form.php:925
 
 
 
 
634
  msgid ""
635
  "I allow to use my email address and send notification about new comments and "
636
  "replies (you can unsubscribe at any time)."
@@ -639,184 +661,82 @@ msgstr ""
639
  "à propos des nouveaux commentaires et réponses (vous pouvez vous désabonner "
640
  "à tout moment)."
641
 
642
- #: forms/wpdFormAttr/Form.php:859 forms/wpdFormAttr/Form.php:881
643
- #: forms/wpdFormAttr/Form.php:893 forms/wpdFormAttr/Form.php:905
644
- #: forms/wpdFormAttr/Form.php:917 forms/wpdFormAttr/Form.php:975
645
- #: forms/wpdFormAttr/Form.php:985 forms/wpdFormAttr/Form.php:1063
646
- #: options/options-layouts/html-content.php:13
647
- #: options/options-layouts/html-content.php:29
648
- #: options/options-layouts/html-content.php:47
649
- #: options/options-layouts/html-content.php:62
650
- #: options/options-layouts/html-content.php:84
651
- #: options/options-layouts/html-content.php:118
652
- #: options/options-layouts/html-content.php:131
653
- #: options/options-layouts/html-content.php:177
654
- #: options/options-layouts/html-content.php:195
655
- #: options/options-layouts/html-content.php:211
656
- #: options/options-layouts/html-content.php:243
657
  #: options/options-layouts/html-form.php:13
658
- #: options/options-layouts/html-form.php:31
659
- #: options/options-layouts/html-form.php:47
660
- #: options/options-layouts/html-form.php:62
661
- #: options/options-layouts/html-general.php:20
662
- #: options/options-layouts/html-general.php:38
663
- #: options/options-layouts/html-general.php:55
664
- #: options/options-layouts/html-general.php:72
665
- #: options/options-layouts/html-general.php:121
666
- #: options/options-layouts/html-general.php:143
667
- #: options/options-layouts/html-general.php:158
668
- #: options/options-layouts/html-general.php:176
669
- #: options/options-layouts/html-general.php:217
670
- #: options/options-layouts/html-general.php:235
671
- #: options/options-layouts/html-general.php:251
672
  #: options/options-layouts/html-inline.php:21
673
- #: options/options-layouts/html-inline.php:39
674
- #: options/options-layouts/html-inline.php:69
675
  #: options/options-layouts/html-labels.php:13
676
- #: options/options-layouts/html-labels.php:39
677
- #: options/options-layouts/html-labels.php:63
678
  #: options/options-layouts/html-live.php:15
679
- #: options/options-layouts/html-live.php:35
680
- #: options/options-layouts/html-live.php:57
681
- #: options/options-layouts/html-live.php:77
682
- #: options/options-layouts/html-live.php:98
683
- #: options/options-layouts/html-live.php:114
684
- #: options/options-layouts/html-live.php:129
685
- #: options/options-layouts/html-live.php:149
686
- #: options/options-layouts/html-live.php:167
687
- #: options/options-layouts/html-live.php:190
688
  #: options/options-layouts/html-login.php:13
689
- #: options/options-layouts/html-login.php:31
690
- #: options/options-layouts/html-login.php:49
691
- #: options/options-layouts/html-login.php:99
692
- #: options/options-layouts/html-login.php:117
693
- #: options/options-layouts/html-login.php:135
694
  #: options/options-layouts/html-moderation.php:13
695
- #: options/options-layouts/html-moderation.php:36
696
- #: options/options-layouts/html-moderation.php:54
697
- #: options/options-layouts/html-moderation.php:72
698
- #: options/options-layouts/html-moderation.php:90
699
- #: options/options-layouts/html-moderation.php:108
700
- #: options/options-layouts/html-moderation.php:143
701
  #: options/options-layouts/html-rating.php:13
702
- #: options/options-layouts/html-rating.php:31
703
- #: options/options-layouts/html-rating.php:61
704
  #: options/options-layouts/html-recaptcha.php:14
705
- #: options/options-layouts/html-recaptcha.php:38
706
- #: options/options-layouts/html-recaptcha.php:56
707
- #: options/options-layouts/html-recaptcha.php:74
708
- #: options/options-layouts/html-recaptcha.php:92
709
- #: options/options-layouts/html-recaptcha.php:111
710
- #: options/options-layouts/html-recaptcha.php:126
711
- #: options/options-layouts/html-recaptcha.php:144
712
- #: options/options-layouts/html-recaptcha.php:160
713
  #: options/options-layouts/html-social.php:13
714
- #: options/options-layouts/html-social.php:31
715
- #: options/options-layouts/html-social.php:49
716
- #: options/options-layouts/html-social.php:122
717
- #: options/options-layouts/html-social.php:137
718
- #: options/options-layouts/html-social.php:194
719
- #: options/options-layouts/html-social.php:209
720
- #: options/options-layouts/html-social.php:249
721
- #: options/options-layouts/html-social.php:264
722
- #: options/options-layouts/html-social.php:305
723
- #: options/options-layouts/html-social.php:320
724
- #: options/options-layouts/html-social.php:360
725
- #: options/options-layouts/html-social.php:375
726
- #: options/options-layouts/html-social.php:432
727
- #: options/options-layouts/html-social.php:447
728
- #: options/options-layouts/html-social.php:505
729
- #: options/options-layouts/html-social.php:520
730
- #: options/options-layouts/html-social.php:535
731
  #: options/options-layouts/html-subscription.php:13
732
- #: options/options-layouts/html-subscription.php:31
733
- #: options/options-layouts/html-subscription.php:49
734
- #: options/options-layouts/html-subscription.php:67
735
- #: options/options-layouts/html-subscription.php:85
736
- #: options/options-layouts/html-subscription.php:103
737
- #: options/options-layouts/html-subscription.php:132
738
- #: options/options-layouts/html-subscription.php:150
739
- #: options/options-layouts/html-subscription.php:185
740
- #: options/options-layouts/html-subscription.php:204
741
- #: options/options-layouts/html-subscription.php:222
742
  #: options/options-layouts/html-thread_display.php:13
743
- #: options/options-layouts/html-thread_display.php:42
744
- #: options/options-layouts/html-thread_display.php:78
745
- #: options/options-layouts/html-thread_display.php:96
746
- #: options/options-layouts/html-thread_display.php:114
747
- #: options/options-layouts/html-thread_display.php:132
748
- #: options/options-layouts/html-thread_display.php:150
749
- #: options/options-layouts/html-thread_display.php:168
750
- #: options/options-layouts/html-thread_display.php:186
751
- #: options/options-layouts/html-thread_display.php:204
752
  #: options/options-layouts/html-thread_layouts.php:32
753
- #: options/options-layouts/html-thread_layouts.php:55
754
- #: options/options-layouts/html-thread_layouts.php:70
755
- #: options/options-layouts/html-thread_layouts.php:85
756
- #: options/options-layouts/html-thread_layouts.php:103
757
- #: options/options-layouts/html-thread_layouts.php:125
758
- #: options/options-layouts/html-thread_layouts.php:149
759
- #: options/options-layouts/html-thread_layouts.php:167
760
- #: options/options-layouts/html-thread_layouts.php:185
761
- #: options/options-layouts/html-thread_layouts.php:203
762
- #: options/options-layouts/html-thread_layouts.php:226
763
  #: options/options-layouts/html-thread_styles.php:13
764
- #: options/options-layouts/html-thread_styles.php:32
765
- #: options/options-layouts/html-thread_styles.php:62
766
- #: options/options-layouts/html-thread_styles.php:103
767
- #: options/options-layouts/html-thread_styles.php:118
768
  msgid "Read the documentation"
769
  msgstr "Lire la documentation"
770
 
771
- #: forms/wpdFormAttr/Form.php:864
772
  msgid "Disable commenting for roles"
773
  msgstr "Désactiver les commentaires pour les rôles"
774
 
775
- #: forms/wpdFormAttr/Form.php:886
776
  msgid "Allow guests to comment"
777
  msgstr "Autoriser les invités à commenter"
778
 
779
- #: forms/wpdFormAttr/Form.php:890 forms/wpdFormAttr/Form.php:902
780
- #: forms/wpdFormAttr/Form.php:914 forms/wpdFormAttr/Form.php:1043
781
- #: forms/wpdFormAttr/Form.php:1054
782
  msgid "Yes"
783
  msgstr "Oui"
784
 
785
- #: forms/wpdFormAttr/Form.php:892 forms/wpdFormAttr/Form.php:904
786
- #: forms/wpdFormAttr/Form.php:916 forms/wpdFormAttr/Form.php:1045
787
- #: forms/wpdFormAttr/Form.php:1056
788
  msgid "No"
789
  msgstr "Non"
790
 
791
- #: forms/wpdFormAttr/Form.php:898
792
  msgid "Enable subscription bar"
793
  msgstr "Activer la barre d’abonnement"
794
 
795
- #: forms/wpdFormAttr/Form.php:910
796
  msgid "Display agreement checkbox in Comment Subscription bar"
797
  msgstr ""
798
  "Afficher la case à cocher d’accord dans la barre d’abonnement aux "
799
  "commentaires"
800
 
801
- #: forms/wpdFormAttr/Form.php:922
802
  msgid "Comment Subscription bar agreement checkbox label"
803
  msgstr ""
804
  "Libellé de la case à cocher de la barre d’accord d’abonnement aux "
805
  "commentaires"
806
 
807
- #: forms/wpdFormAttr/Form.php:931
808
  msgid "Comment form header text (singular)"
809
  msgstr ""
810
 
811
- #: forms/wpdFormAttr/Form.php:941
812
  msgid "Comment form header text (plural)"
813
  msgstr ""
814
 
815
- #: forms/wpdFormAttr/Form.php:950
816
  msgid "Display comment form for post types"
817
  msgstr "Afficher le formulaire de commentaires pour ces types de publication"
818
 
819
- #: forms/wpdFormAttr/Form.php:957
820
  msgid ""
821
  "The red marked post types are already attached to other comment form. If you "
822
  "set this form too, the old forms will not be used for them."
@@ -825,11 +745,11 @@ msgstr ""
825
  "formulaire de commentaire. Si vous définissez également ce formulaire, les "
826
  "anciens formulaires ne leur seront plus utilisés."
827
 
828
- #: forms/wpdFormAttr/Form.php:980
829
  msgid "Display comment form for post IDs"
830
  msgstr "Afficher le formulaire de commentaire pour les publications avec l’ID "
831
 
832
- #: forms/wpdFormAttr/Form.php:981
833
  msgid ""
834
  "You can use this form for certain posts/pages specified by comma separated "
835
  "IDs."
@@ -837,179 +757,287 @@ msgstr ""
837
  "Vous pouvez utiliser ce champ pour des publications / pages spécifiés par "
838
  "leur identifiant séparés par des virgules."
839
 
840
- #: forms/wpdFormAttr/Form.php:995
841
  msgid "Theme"
842
  msgstr ""
843
 
844
- #: forms/wpdFormAttr/Form.php:1014
845
  msgid "Comment List Layout"
846
  msgstr ""
847
 
848
- #: forms/wpdFormAttr/Form.php:1025
849
  msgid "Layout"
850
  msgstr ""
851
 
852
- #: forms/wpdFormAttr/Form.php:1039
853
  msgid "Enable Post Rating"
854
  msgstr ""
855
 
856
- #: forms/wpdFormAttr/Form.php:1050
 
 
 
 
857
  msgid "Allow Guests to Rate"
858
  msgstr ""
859
 
860
- #: forms/wpdFormAttr/Form.php:1067
861
  msgid "Comment Text Field"
862
  msgstr "Champ de texte de commentaire"
863
 
864
- #: forms/wpdFormAttr/Form.php:1082
865
  msgid "ADD ROW"
866
  msgstr "AJOUTER UNE RANGÉE"
867
 
868
- #: forms/wpdFormAttr/Form.php:1119
869
  msgid ""
870
  "Only logged in customers who have purchased this product may leave a review."
871
  msgstr ""
872
  "Uniquement les clients connectés ayant acheté ce produit peuvent laisser un "
873
  "avis."
874
 
875
- #: forms/wpdFormAttr/Login/SocialLogin.php:34
876
  msgid "Authentication failed."
877
  msgstr "Authentification échouée."
878
 
879
- #: forms/wpdFormAttr/Login/SocialLogin.php:91
880
  msgid "Facebook access token or user ID invalid."
881
  msgstr "Jeton d’accès à Facebook ou identifiant d’utilisateur non valide."
882
 
883
- #: forms/wpdFormAttr/Login/SocialLogin.php:95
884
  msgid "Facebook App Secret is required."
885
  msgstr "Facebook Secret App est nécessaire."
886
 
887
- #: forms/wpdFormAttr/Login/SocialLogin.php:124
888
  msgid "Facebook Application ID and Application Secret required."
889
  msgstr ""
890
  "Identifiant d’application Facebook et secret d’application obligatoire."
891
 
892
- #: forms/wpdFormAttr/Login/SocialLogin.php:152
893
- msgid ""
894
- "Facebook authentication failed (OAuth <code>state</code> does not exist)."
895
  msgstr ""
896
- "L’authentification Facebook a échoué (l’OAuth <code>state</code> n’existe "
897
- "pas)."
898
 
899
- #: forms/wpdFormAttr/Login/SocialLogin.php:155
900
- msgid ""
901
- "Facebook authentication failed (OAuth <code>code</code> does not exist)."
902
  msgstr ""
903
- "L’authentification Facebook a échoué (l’OAuth <code>code</code> n’existe "
904
- "pas)."
905
 
906
- #: forms/wpdFormAttr/Login/SocialLogin.php:194
 
 
 
 
 
 
 
 
 
 
 
 
907
  msgid "Google Client ID and Client Secret required."
908
  msgstr ""
909
 
910
- #: forms/wpdFormAttr/Login/SocialLogin.php:224
911
- msgid "Google authentication failed (OAuth <code>state</code> does not exist)."
 
 
 
 
912
  msgstr ""
913
 
914
- #: forms/wpdFormAttr/Login/SocialLogin.php:227
915
- msgid "Google authentication failed (OAuth <code>code</code> does not exist)."
916
  msgstr ""
917
 
918
- #: forms/wpdFormAttr/Login/SocialLogin.php:260
 
 
 
 
 
 
 
 
919
  msgid "Disqus Public Key and Secret Key required."
920
  msgstr ""
921
 
922
- #: forms/wpdFormAttr/Login/SocialLogin.php:289
923
- msgid "Disqus authentication failed (OAuth <code>state</code> does not exist)."
924
  msgstr ""
925
 
926
- #: forms/wpdFormAttr/Login/SocialLogin.php:292
927
- msgid "Disqus authentication failed (OAuth <code>code</code> does not exist)."
928
  msgstr ""
929
 
930
- #: forms/wpdFormAttr/Login/SocialLogin.php:313
931
- msgid ""
932
- "Disqus authentication failed (<code>access_token</code> does not exist)."
933
  msgstr ""
934
 
935
- #: forms/wpdFormAttr/Login/SocialLogin.php:316
936
- msgid "Disqus authentication failed (<code>user_id</code> does not exist)."
937
  msgstr ""
938
 
939
- #: forms/wpdFormAttr/Login/SocialLogin.php:343
940
  msgid "Wordpress Client ID and Client Secret required."
941
  msgstr ""
942
 
943
- #: forms/wpdFormAttr/Login/SocialLogin.php:372
944
- msgid ""
945
- "Wordpress.com authentication failed (OAuth <code>state</code> does not "
946
- "exist)."
947
  msgstr ""
948
 
949
- #: forms/wpdFormAttr/Login/SocialLogin.php:375
950
- msgid ""
951
- "Wordpress.com authentication failed (OAuth <code>code</code> does not exist)."
952
  msgstr ""
953
 
954
- #: forms/wpdFormAttr/Login/SocialLogin.php:396
955
- msgid ""
956
- "Wordpress.com authentication failed (<code>access_token</code> does not "
957
- "exist)."
958
  msgstr ""
959
 
960
- #: forms/wpdFormAttr/Login/SocialLogin.php:408
961
- msgid ""
962
- "Wordpress.com authentication failed (<code>user_id</code> does not exist)."
963
  msgstr ""
964
 
965
- #: forms/wpdFormAttr/Login/SocialLogin.php:443
966
  msgid "Twitter Consumer Key and Consumer Secret required."
967
  msgstr "Twitter Clé Consommateur et Secret Consommateur nécessaire."
968
 
969
- #: forms/wpdFormAttr/Login/SocialLogin.php:456
970
  msgid "Twitter authentication failed (OAuth secret does not exist)."
971
  msgstr "L’authentification Twitter a échoué (le secret OAuth n’existe pas)."
972
 
973
- #: forms/wpdFormAttr/Login/SocialLogin.php:467
974
  msgid "Twitter connection failed."
975
  msgstr "La connexion Twitter a échoué."
976
 
977
- #: forms/wpdFormAttr/Login/SocialLogin.php:477
978
  msgid "VK Client ID and Client Secret required."
979
  msgstr "VK Client ID et Client Secret obligatoire."
980
 
981
- #: forms/wpdFormAttr/Login/SocialLogin.php:506
982
- msgid "VK authentication failed (OAuth <code>state</code> does not exist)."
983
  msgstr ""
984
- "L’authentification VK a échoué (l’OAuth <code>state</code> n’existe pas)."
985
 
986
- #: forms/wpdFormAttr/Login/SocialLogin.php:509
987
- msgid "VK authentication failed (OAuth <code>code</code> does not exist)."
988
  msgstr ""
989
- "L’authentification VK a échoué (l’OAuth <code>code</code> n’existe pas)."
990
 
991
- #: forms/wpdFormAttr/Login/SocialLogin.php:527
992
- msgid "VK authentication failed (<code>user_id</code> does not exist)."
993
- msgstr "L’authentification VK a échoué (<code>user_id</code> n’existe pas)."
994
 
995
- #: forms/wpdFormAttr/Login/SocialLogin.php:553
996
  msgid "OK Application ID, Application Key and Application Secret required."
997
  msgstr ""
998
  "OK ID d’application, clé d’application et secret d’application obligatoires."
999
 
1000
- #: forms/wpdFormAttr/Login/SocialLogin.php:580
1001
- msgid "OK authentication failed (OAuth <code>state</code> does not exist)."
1002
  msgstr ""
1003
- "L’authentification OK a échoué (l’OAuth <code>state</code> n’existe pas)."
1004
 
1005
- #: forms/wpdFormAttr/Login/SocialLogin.php:583
1006
- msgid "OK authentication failed (<code>code</code> does not exist)."
1007
- msgstr "L’authentification OK a échoué (<code>code</code> n’existe pas)."
 
 
 
 
 
 
 
 
 
 
 
 
1008
 
1009
- #: forms/wpdFormAttr/Login/SocialLogin.php:602
1010
- msgid "OK authentication failed (<code>access_token</code> does not exist)."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1011
  msgstr ""
1012
- "L’authentification OK a échoué (<code>access_token</code> n’existe pas)."
1013
 
1014
  #: forms/wpdFormAttr/Tools/PersonalDataExporter.php:36
1015
  msgid "wpDiscuz Fields Data"
@@ -1019,11 +1047,11 @@ msgstr "Données de champs wpDiscuz"
1019
  msgid "Comment Form Fields"
1020
  msgstr "Champs de formulaire de commentaire"
1021
 
1022
- #: options/addons/al/title.php:7 options/class.WpdiscuzOptions.php:1588
1023
  msgid "Advanced Likers"
1024
  msgstr "Fans avancés"
1025
 
1026
- #: options/addons/cai/title.php:7 utils/class.WpdiscuzHelperAjax.php:873
1027
  msgid "Comment Author"
1028
  msgstr "Auteur du commentaire"
1029
 
@@ -1035,11 +1063,11 @@ msgstr "Modération Front-end"
1035
  msgid "More Addons..."
1036
  msgstr "Plus de modules&hellip;"
1037
 
1038
- #: options/addons/mu/title.php:7 options/class.WpdiscuzOptions.php:1612
1039
  msgid "Media Uploader"
1040
  msgstr "Outil de téléversement des médias"
1041
 
1042
- #: options/addons/raf/title.php:7 options/class.WpdiscuzOptions.php:1592
1043
  msgid "Report and Flagging"
1044
  msgstr "Rapport et marquage"
1045
 
@@ -1047,200 +1075,200 @@ msgstr "Rapport et marquage"
1047
  msgid "Mentioning"
1048
  msgstr "Citation"
1049
 
1050
- #: options/class.WpdiscuzOptions.php:253
1051
  msgid "Be the First to Comment!"
1052
  msgstr "Soyez le premier à commenter !"
1053
 
1054
- #: options/class.WpdiscuzOptions.php:254
1055
  msgid "Start the discussion"
1056
  msgstr "Démarrer la discussion"
1057
 
1058
- #: options/class.WpdiscuzOptions.php:255
1059
  msgid "Join the discussion"
1060
  msgstr "Rejoindre la discussion"
1061
 
1062
- #: options/class.WpdiscuzOptions.php:256
1063
  #: options/phrases-layouts/phrases-form.php:19
1064
  msgid "Most reacted comment"
1065
  msgstr "Commentaire avec le plus de réactions"
1066
 
1067
- #: options/class.WpdiscuzOptions.php:257
1068
  #: options/phrases-layouts/phrases-form.php:23
1069
  msgid "Hottest comment thread"
1070
  msgstr "Le plus populaire des commentaires"
1071
 
1072
- #: options/class.WpdiscuzOptions.php:258
1073
  #: options/phrases-layouts/phrases-form.php:27
1074
  msgid "Inline Comments"
1075
  msgstr ""
1076
 
1077
- #: options/class.WpdiscuzOptions.php:260
1078
  #: options/phrases-layouts/phrases-form.php:35
1079
  msgid "Subscribe"
1080
  msgstr "S’abonner"
1081
 
1082
- #: options/class.WpdiscuzOptions.php:261
1083
  #: options/phrases-layouts/phrases-form.php:39
1084
  msgid "Notify of"
1085
  msgstr "Notifier de"
1086
 
1087
- #: options/class.WpdiscuzOptions.php:262
1088
  msgid "new follow-up comments"
1089
  msgstr "nouveaux commentaires de suivi"
1090
 
1091
- #: options/class.WpdiscuzOptions.php:263
1092
  msgid "new replies to my comments"
1093
  msgstr "nouvelles réponses à mes commentaires"
1094
 
1095
- #: options/class.WpdiscuzOptions.php:264
1096
  msgid "Notify of new replies to this comment"
1097
  msgstr "Notifier des nouvelles réponses à tous mes commentaires"
1098
 
1099
- #: options/class.WpdiscuzOptions.php:265
1100
  #: options/phrases-layouts/phrases-form.php:55
1101
  msgid "Sort by"
1102
  msgstr "Trier par "
1103
 
1104
- #: options/class.WpdiscuzOptions.php:266
1105
  #: options/phrases-layouts/phrases-form.php:59
1106
  msgid "Newest"
1107
  msgstr ""
1108
 
1109
- #: options/class.WpdiscuzOptions.php:267
1110
  #: options/phrases-layouts/phrases-form.php:63
1111
  msgid "Oldest"
1112
  msgstr ""
1113
 
1114
- #: options/class.WpdiscuzOptions.php:268
1115
  #: options/phrases-layouts/phrases-form.php:67
1116
  msgid "Most Voted"
1117
  msgstr ""
1118
 
1119
- #: options/class.WpdiscuzOptions.php:269
1120
  msgid "Load More Comments"
1121
  msgstr "Afficher plus de commentaires"
1122
 
1123
- #: options/class.WpdiscuzOptions.php:270
1124
  #: options/phrases-layouts/phrases-general.php:19
1125
  msgid "Load Rest of Comments"
1126
  msgstr "Afficher le reste des commentaires"
1127
 
1128
- #: options/class.WpdiscuzOptions.php:271
1129
  #: options/options-layouts/html-moderation.php:135
1130
  #: options/phrases-layouts/phrases-comment.php:11
1131
  msgid "Reply"
1132
  msgstr "Répondre"
1133
 
1134
- #: options/class.WpdiscuzOptions.php:272
1135
  #: options/phrases-layouts/phrases-comment.php:15
1136
  msgid "Share"
1137
  msgstr "Partager"
1138
 
1139
- #: options/class.WpdiscuzOptions.php:274
1140
  #: options/phrases-layouts/phrases-comment.php:23
1141
  msgid "Share On Facebook"
1142
  msgstr "Partager sur Facebook"
1143
 
1144
- #: options/class.WpdiscuzOptions.php:275
1145
  #: options/phrases-layouts/phrases-comment.php:27
1146
  msgid "Share On Twitter"
1147
  msgstr "Partager sur Twitter"
1148
 
1149
- #: options/class.WpdiscuzOptions.php:276
1150
  #: options/phrases-layouts/phrases-comment.php:31
1151
- msgid "Share On Google"
1152
- msgstr "Partager sur Google"
1153
 
1154
- #: options/class.WpdiscuzOptions.php:277
1155
  #: options/phrases-layouts/phrases-comment.php:35
1156
  msgid "Share On VKontakte"
1157
  msgstr "Partager sur VKontakte"
1158
 
1159
- #: options/class.WpdiscuzOptions.php:278
1160
  #: options/phrases-layouts/phrases-comment.php:39
1161
  msgid "Share On Odnoklassniki"
1162
  msgstr "Partager sur Odnoklassniki"
1163
 
1164
- #: options/class.WpdiscuzOptions.php:279
1165
  #: options/phrases-layouts/phrases-comment.php:43
1166
  msgid "Hide Replies"
1167
  msgstr "Masquer les réponses"
1168
 
1169
- #: options/class.WpdiscuzOptions.php:280
1170
  #: options/phrases-layouts/phrases-comment.php:47
1171
  msgid "View Replies"
1172
  msgstr "Voir les réponses"
1173
 
1174
- #: options/class.WpdiscuzOptions.php:281 options/class.WpdiscuzOptions.php:401
1175
  msgid "New Comment"
1176
  msgstr "Nouveau Commentaire"
1177
 
1178
- #: options/class.WpdiscuzOptions.php:282
1179
  msgid ""
1180
- "Hi [SUBSCRIBER_NAME],<br/><br/> new comment have been posted by the "
1181
  "<em><strong>[COMMENT_AUTHOR]</em></strong> on the discussion section you've "
1182
  "been interested in<br/><br/><a href='[COMMENT_URL]'>[COMMENT_URL]</a><br/"
1183
  "><br/>[COMMENT_CONTENT]<br/><br/><a href='[UNSUBSCRIBE_URL]'>Unsubscribe</a>"
1184
  msgstr ""
1185
 
1186
- #: options/class.WpdiscuzOptions.php:283 options/class.WpdiscuzOptions.php:285
1187
  msgid "New Reply"
1188
  msgstr "Nouvelle réponse"
1189
 
1190
- #: options/class.WpdiscuzOptions.php:284 options/class.WpdiscuzOptions.php:286
1191
  msgid ""
1192
- "Hi [SUBSCRIBER_NAME],<br/><br/> new reply have been posted by the "
1193
  "<em><strong>[COMMENT_AUTHOR]</em></strong> on the discussion section you've "
1194
  "been interested in<br/><br/><a href='[COMMENT_URL]'>[COMMENT_URL]</a><br/"
1195
  "><br/>[COMMENT_CONTENT]<br/><br/><a href='[UNSUBSCRIBE_URL]'>Unsubscribe</a>"
1196
  msgstr ""
1197
 
1198
- #: options/class.WpdiscuzOptions.php:287
1199
  msgid "You're subscribed for new replies on this comment"
1200
  msgstr "Vous êtes abonné aux nouvelles réponses sur ce commentaire"
1201
 
1202
- #: options/class.WpdiscuzOptions.php:288
1203
  msgid "You're subscribed for new replies on all your comments"
1204
  msgstr "Vous êtes abonné aux nouvelles réponses à tous vos commentaires"
1205
 
1206
- #: options/class.WpdiscuzOptions.php:289
1207
  msgid "You're subscribed for new follow-up comments on this post"
1208
  msgstr "Vous êtes abonné à tous les commentaires de cet article"
1209
 
1210
- #: options/class.WpdiscuzOptions.php:290
1211
- #: options/phrases-layouts/phrases-email.php:172
1212
  msgid "Unsubscribe"
1213
  msgstr "Désabonner"
1214
 
1215
- #: options/class.WpdiscuzOptions.php:291
1216
  msgid "Cancel subscription"
1217
  msgstr "Annuler l’abonnement"
1218
 
1219
- #: options/class.WpdiscuzOptions.php:292
1220
  #: options/phrases-layouts/phrases-notification.php:19
1221
  msgid "You've successfully unsubscribed."
1222
  msgstr "Vous vous êtes désabonné avec succès."
1223
 
1224
- #: options/class.WpdiscuzOptions.php:293
1225
  #: options/phrases-layouts/phrases-notification.php:15
1226
  msgid "You've successfully subscribed."
1227
  msgstr "Vous êtes bien abonné."
1228
 
1229
- #: options/class.WpdiscuzOptions.php:294
1230
- #: options/phrases-layouts/phrases-email.php:180
1231
  msgid "Confirm your subscription"
1232
  msgstr "Confirmer votre abonnement"
1233
 
1234
- #: options/class.WpdiscuzOptions.php:295
1235
- #: options/phrases-layouts/phrases-email.php:184
1236
  msgid "You've successfully confirmed your subscription."
1237
  msgstr "Vous avez confirmé votre abonnement avec succès."
1238
 
1239
- #: options/class.WpdiscuzOptions.php:296
1240
  msgid "Subscription Confirmation"
1241
  msgstr "Confirmation d’abonnement"
1242
 
1243
- #: options/class.WpdiscuzOptions.php:297
1244
  msgid ""
1245
  "Hi, <br/> You just subscribed for new comments on our website. This means "
1246
  "you will receive an email when new comments are posted according to "
@@ -1251,225 +1279,225 @@ msgid ""
1251
  "href='[CANCEL_URL]'>Cancel Subscription</a>"
1252
  msgstr ""
1253
 
1254
- #: options/class.WpdiscuzOptions.php:298
1255
  msgid "please fill out this field to comment"
1256
  msgstr "Merci de compléter ce champ pour commenter"
1257
 
1258
- #: options/class.WpdiscuzOptions.php:299
1259
  msgid "email address is invalid"
1260
  msgstr "Adresse email invalide"
1261
 
1262
- #: options/class.WpdiscuzOptions.php:300
1263
  msgid "url is invalid"
1264
  msgstr "URL invalide"
1265
 
1266
- #: options/class.WpdiscuzOptions.php:301
1267
  msgid "year"
1268
  msgstr "année"
1269
 
1270
- #: options/class.WpdiscuzOptions.php:302
1271
  msgid "years"
1272
  msgstr "années"
1273
 
1274
- #: options/class.WpdiscuzOptions.php:303
1275
  msgid "month"
1276
  msgstr "mois"
1277
 
1278
- #: options/class.WpdiscuzOptions.php:304
1279
  msgid "months"
1280
  msgstr "mois"
1281
 
1282
- #: options/class.WpdiscuzOptions.php:305
1283
  msgid "day"
1284
  msgstr "jour"
1285
 
1286
- #: options/class.WpdiscuzOptions.php:306
1287
- #: options/options-layouts/html-general.php:248
1288
  msgid "days"
1289
  msgstr "jours"
1290
 
1291
- #: options/class.WpdiscuzOptions.php:307
1292
  msgid "hour"
1293
  msgstr "heure"
1294
 
1295
- #: options/class.WpdiscuzOptions.php:308
1296
  msgid "hours"
1297
  msgstr "heures"
1298
 
1299
- #: options/class.WpdiscuzOptions.php:309
1300
  msgid "minute"
1301
  msgstr "minute"
1302
 
1303
- #: options/class.WpdiscuzOptions.php:310
1304
  msgid "minutes"
1305
  msgstr "minutes"
1306
 
1307
- #: options/class.WpdiscuzOptions.php:311
1308
  msgid "second"
1309
  msgstr "seconde"
1310
 
1311
- #: options/class.WpdiscuzOptions.php:312
1312
  #: options/options-layouts/html-live.php:111
1313
  #: options/options-layouts/html-live.php:126
1314
  msgid "seconds"
1315
  msgstr "secondes"
1316
 
1317
- #: options/class.WpdiscuzOptions.php:313
1318
  msgid "right now"
1319
  msgstr "à l’instant"
1320
 
1321
- #: options/class.WpdiscuzOptions.php:314
1322
  msgid "ago"
1323
  msgstr "il y a"
1324
 
1325
- #: options/class.WpdiscuzOptions.php:315
1326
  #: options/phrases-layouts/phrases-notification.php:38
1327
  msgid "You must be"
1328
  msgstr "Vous devez"
1329
 
1330
- #: options/class.WpdiscuzOptions.php:316
1331
  msgid "You are logged in as"
1332
  msgstr "Vous êtes connecté en tant que"
1333
 
1334
- #: options/class.WpdiscuzOptions.php:317
1335
  #: options/phrases-layouts/phrases-notification.php:29
1336
  msgid "Login"
1337
  msgstr "Connexion"
1338
 
1339
- #: options/class.WpdiscuzOptions.php:318
1340
  #: options/phrases-layouts/phrases-notification.php:33
1341
  #, php-format
1342
  msgid "Please %s to comment"
1343
  msgstr "Veuillez %s pour commenter"
1344
 
1345
- #: options/class.WpdiscuzOptions.php:319
1346
  #: options/phrases-layouts/phrases-notification.php:54
1347
  msgid "Log out"
1348
  msgstr "Se déconnecter"
1349
 
1350
- #: options/class.WpdiscuzOptions.php:320
1351
  msgid "logged in"
1352
  msgstr "vous connecter"
1353
 
1354
- #: options/class.WpdiscuzOptions.php:321
1355
  msgid "to post a comment."
1356
  msgstr "pour publier un commentaire."
1357
 
1358
- #: options/class.WpdiscuzOptions.php:322
1359
  #: options/phrases-layouts/phrases-comment.php:75
1360
  msgid "Vote Up"
1361
  msgstr "Vote Pour"
1362
 
1363
- #: options/class.WpdiscuzOptions.php:323
1364
  #: options/phrases-layouts/phrases-comment.php:79
1365
  msgid "Vote Down"
1366
  msgstr "Vote Contre"
1367
 
1368
- #: options/class.WpdiscuzOptions.php:324
1369
  #: options/phrases-layouts/phrases-notification.php:58
1370
  msgid "Vote Counted"
1371
  msgstr "Votes comptabilisés"
1372
 
1373
- #: options/class.WpdiscuzOptions.php:325
1374
  msgid "You've already voted for this comment"
1375
  msgstr "Vous avez déjà voté pour ce commentaire"
1376
 
1377
- #: options/class.WpdiscuzOptions.php:326
1378
  #: options/phrases-layouts/phrases-error.php:27
1379
  msgid "Voting Error"
1380
  msgstr "Erreur sur vote"
1381
 
1382
- #: options/class.WpdiscuzOptions.php:327
1383
  msgid "You Must Be Logged In To Vote"
1384
  msgstr "Vous devez être connecté pour voter"
1385
 
1386
- #: options/class.WpdiscuzOptions.php:328
1387
  msgid "You cannot vote for your comment"
1388
  msgstr "Vous ne pouvez pas voter pour vos propres commentaires"
1389
 
1390
- #: options/class.WpdiscuzOptions.php:329
1391
  msgid "You are not allowed to vote for this comment"
1392
  msgstr "Vous n’êtes pas autorisé à voter pour ce commentaire"
1393
 
1394
- #: options/class.WpdiscuzOptions.php:330
1395
  #: options/phrases-layouts/phrases-error.php:39
1396
  msgid "Invalid Captcha Code"
1397
  msgstr "Code Captcha invalide"
1398
 
1399
- #: options/class.WpdiscuzOptions.php:331
1400
  #: options/phrases-layouts/phrases-error.php:43
1401
  msgid "Some of field value is invalid"
1402
  msgstr "Une partie du champ est invalide"
1403
 
1404
- #: options/class.WpdiscuzOptions.php:332
1405
  #: options/phrases-layouts/phrases-notification.php:66
1406
  msgid "Awaiting for approval"
1407
  msgstr ""
1408
 
1409
- #: options/class.WpdiscuzOptions.php:333
1410
  msgid "Sorry, the comment was not updated"
1411
  msgstr "Désolé, le commentaire n’a pas été mis à jour"
1412
 
1413
- #: options/class.WpdiscuzOptions.php:334
1414
- msgid "Sorry, this comment no longer possible to edit"
1415
- msgstr "Désolé, il n’est plus possible d’éditer ce commentaire"
1416
 
1417
- #: options/class.WpdiscuzOptions.php:335
1418
  msgid "You've not made any changes"
1419
  msgstr "Vous n’avez fait aucune modification"
1420
 
1421
- #: options/class.WpdiscuzOptions.php:336
1422
  msgid "Save"
1423
  msgstr "Enregistrer"
1424
 
1425
- #: options/class.WpdiscuzOptions.php:337
1426
  msgid "Cancel"
1427
  msgstr "Annuler"
1428
 
1429
- #: options/class.WpdiscuzOptions.php:338
1430
  msgid "Input is too short"
1431
  msgstr "L’entrée est trop courte"
1432
 
1433
- #: options/class.WpdiscuzOptions.php:339
1434
  msgid "Input is too long"
1435
  msgstr "L’entrée est trop longue"
1436
 
1437
- #: options/class.WpdiscuzOptions.php:340
1438
  msgid "Read more &raquo;"
1439
  msgstr "Lire la suite &raquo;"
1440
 
1441
- #: options/class.WpdiscuzOptions.php:341
1442
  msgid "Anonymous"
1443
  msgstr "Anonyme"
1444
 
1445
- #: options/class.WpdiscuzOptions.php:342
1446
  #: options/phrases-layouts/phrases-error.php:67
1447
  msgid "Please fill out required fields"
1448
  msgstr "Veuillez remplir les champs obligatoires"
1449
 
1450
- #: options/class.WpdiscuzOptions.php:343
1451
  #: options/phrases-layouts/phrases-social-login.php:11
1452
  msgid "Connect with"
1453
  msgstr "Se connecter avec :"
1454
 
1455
- #: options/class.WpdiscuzOptions.php:344
1456
  #: options/phrases-layouts/phrases-notification.php:11
1457
  msgid "You're subscribed to"
1458
  msgstr "Vous êtes abonné à "
1459
 
1460
- #: options/class.WpdiscuzOptions.php:345
1461
  msgid "Participate in this discussion via email"
1462
  msgstr "Participer à cette discussion par e-mail"
1463
 
1464
- #: options/class.WpdiscuzOptions.php:346 utils/layouts/pagination.php:45
1465
  msgid "&rsaquo;"
1466
  msgstr "&rsaquo;"
1467
 
1468
- #: options/class.WpdiscuzOptions.php:347
1469
  msgid "Your comment is approved!"
1470
  msgstr "Votre commentaire est approuvé !"
1471
 
1472
- #: options/class.WpdiscuzOptions.php:348
1473
  msgid ""
1474
  "Hi [COMMENT_AUTHOR],<br/><br/>your comment was approved.<br/><br/><a href="
1475
  "\"[COMMENT_URL]\">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]"
@@ -1477,51 +1505,51 @@ msgstr ""
1477
  "Bonjour [COMMENT_AUTHOR],<br/><br/>Votre commentaire a été approuvé.<br/><br/"
1478
  "><a href=\"[COMMENT_URL]\">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]"
1479
 
1480
- #: options/class.WpdiscuzOptions.php:349
1481
  msgid "Comments are closed."
1482
  msgstr "Les commentaires sont fermés."
1483
 
1484
- #: options/class.WpdiscuzOptions.php:350
1485
  msgid "Stick this comment"
1486
  msgstr "Épingler ce commentaire"
1487
 
1488
- #: options/class.WpdiscuzOptions.php:351
1489
  #: options/phrases-layouts/phrases-comment.php:103
1490
  msgid "Stick"
1491
  msgstr "Épingler"
1492
 
1493
- #: options/class.WpdiscuzOptions.php:352
1494
  #: options/phrases-layouts/phrases-comment.php:107
1495
  msgid "Unstick"
1496
  msgstr "Ne plus épingler"
1497
 
1498
- #: options/class.WpdiscuzOptions.php:353
1499
  msgid "Sticky Comment Thread"
1500
  msgstr ""
1501
 
1502
- #: options/class.WpdiscuzOptions.php:354
1503
  msgid "Close this thread"
1504
  msgstr "Fermer ce fil"
1505
 
1506
- #: options/class.WpdiscuzOptions.php:355 options/html-dashboard.php:34
1507
  #: options/phrases-layouts/phrases-comment.php:119
1508
  msgid "Close"
1509
  msgstr "Fermer"
1510
 
1511
- #: options/class.WpdiscuzOptions.php:356
1512
  #: options/phrases-layouts/phrases-comment.php:123
1513
  msgid "Open"
1514
  msgstr "Ouvert"
1515
 
1516
- #: options/class.WpdiscuzOptions.php:357
1517
  msgid "Closed Comment Thread"
1518
  msgstr ""
1519
 
1520
- #: options/class.WpdiscuzOptions.php:358
1521
  msgid "I allow to create an account"
1522
  msgstr "J’autorise à créer un compte"
1523
 
1524
- #: options/class.WpdiscuzOptions.php:359
1525
  msgid ""
1526
  "When you login first time using a Social Login button, we collect your "
1527
  "account public profile information shared by Social Login provider, based on "
@@ -1536,49 +1564,49 @@ msgstr ""
1536
  "mail pour créer automatiquement un compte pour vous sur notre site Web. Une "
1537
  "fois votre compte créé, vous serez connecté à ce compte."
1538
 
1539
- #: options/class.WpdiscuzOptions.php:360
1540
  #: options/phrases-layouts/phrases-social-login.php:23
1541
  msgid "Disagree"
1542
  msgstr "Désapprouver"
1543
 
1544
- #: options/class.WpdiscuzOptions.php:361
1545
  #: options/phrases-layouts/phrases-social-login.php:27
1546
  msgid "Agree"
1547
  msgstr "Approuver"
1548
 
1549
- #: options/class.WpdiscuzOptions.php:362
1550
  #: options/phrases-layouts/phrases-user-settings.php:11
1551
  msgid "My content and settings"
1552
  msgstr "Mon contenu et mes réglages"
1553
 
1554
- #: options/class.WpdiscuzOptions.php:363
1555
  #: options/phrases-layouts/phrases-user-settings.php:15
1556
  msgid "Activity"
1557
  msgstr "Activité"
1558
 
1559
- #: options/class.WpdiscuzOptions.php:364 options/html-dashboard.php:201
1560
  #: options/phrases-layouts/phrases-user-settings.php:19
1561
- #: utils/class.WpdiscuzHelperAjax.php:880
1562
  msgid "Subscriptions"
1563
  msgstr "Abonnement"
1564
 
1565
- #: options/class.WpdiscuzOptions.php:365
1566
  #: options/phrases-layouts/phrases-user-settings.php:23
1567
  msgid "Follows"
1568
  msgstr "Suivis"
1569
 
1570
- #: options/class.WpdiscuzOptions.php:366
1571
  #: options/phrases-layouts/phrases-user-settings.php:27
1572
  msgid "In response to:"
1573
  msgstr "En réponse à :"
1574
 
1575
- #: options/class.WpdiscuzOptions.php:367 options/class.WpdiscuzOptions.php:373
1576
  #: options/phrases-layouts/phrases-user-settings.php:31
1577
  #: options/phrases-layouts/phrases-user-settings.php:55
1578
  msgid "Bulk management via email"
1579
  msgstr "Gestion en masse par e-mail"
1580
 
1581
- #: options/class.WpdiscuzOptions.php:368
1582
  msgid ""
1583
  "Click the button above to get an email with bulk delete and unsubscribe "
1584
  "links."
@@ -1586,28 +1614,28 @@ msgstr ""
1586
  "Cliquez sur le bouton ci-dessus pour recevoir un e-mail contenant des liens "
1587
  "de suppression et de désabonnement en masse."
1588
 
1589
- #: options/class.WpdiscuzOptions.php:369
1590
  #: options/phrases-layouts/phrases-user-settings.php:39
1591
  msgid "No data found!"
1592
  msgstr "Aucune donnée disponible !"
1593
 
1594
- #: options/class.WpdiscuzOptions.php:370 options/class.WpdiscuzOptions.php:374
1595
  #: options/phrases-layouts/phrases-user-settings.php:43
1596
  #: options/phrases-layouts/phrases-user-settings.php:60
1597
  msgid "Delete all my comments"
1598
  msgstr "Supprimer tous mes commentaires"
1599
 
1600
- #: options/class.WpdiscuzOptions.php:371
1601
  #: options/phrases-layouts/phrases-user-settings.php:47
1602
  msgid "Cancel all comment subscriptions"
1603
  msgstr "Annuler tous les abonnements aux commentaires"
1604
 
1605
- #: options/class.WpdiscuzOptions.php:372
1606
  #: options/phrases-layouts/phrases-user-settings.php:51
1607
  msgid "Clear cookies with my personal data"
1608
  msgstr "Effacer les cookies avec mes données personnelles"
1609
 
1610
- #: options/class.WpdiscuzOptions.php:375
1611
  msgid ""
1612
  "Please use this link to delete all your comments. Please note, that this "
1613
  "action cannot be undone.<br/><br/><a href=\"[DELETE_COMMENTS_URL]\" target="
@@ -1618,12 +1646,12 @@ msgstr ""
1618
  "\"[DELETE_COMMENTS_URL]\" target=\"_blank\">Supprimer tous mes commentaires</"
1619
  "a>.<br/><br/>"
1620
 
1621
- #: options/class.WpdiscuzOptions.php:376
1622
  #: options/phrases-layouts/phrases-user-settings.php:85
1623
  msgid "Delete all my subscriptions"
1624
  msgstr "Supprimer tous mes abonnements"
1625
 
1626
- #: options/class.WpdiscuzOptions.php:377
1627
  msgid ""
1628
  "Please use this link to cancel all subscriptions for new comments. Please "
1629
  "note, that this action cannot be undone.<br/><br/><a href="
@@ -1635,12 +1663,12 @@ msgstr ""
1635
  "><br/><a href=\"[DELETE_SUBSCRIPTIONS_URL]\" target=\"_blank\">Supprimer "
1636
  "tous mes abonnements</a><br/><br/>"
1637
 
1638
- #: options/class.WpdiscuzOptions.php:378
1639
  #: options/phrases-layouts/phrases-user-settings.php:110
1640
  msgid "Delete all my follows"
1641
  msgstr "Supprimer tous mes suivis"
1642
 
1643
- #: options/class.WpdiscuzOptions.php:379
1644
  msgid ""
1645
  "Please use this link to cancel all follows for new comments. Please note, "
1646
  "that this action cannot be undone.<br/><br/><a href=\"[DELETE_FOLLOWS_URL]\" "
@@ -1651,107 +1679,107 @@ msgstr ""
1651
  "\"[DELETE_FOLLOWS_URL]\" target=\"_blank\">Supprimer tous mes suivis</a><br/"
1652
  "><br/>"
1653
 
1654
- #: options/class.WpdiscuzOptions.php:380
1655
  #: options/phrases-layouts/phrases-user-settings.php:134
1656
  msgid "subscribed to this comment"
1657
  msgstr "abonné à ce commentaire"
1658
 
1659
- #: options/class.WpdiscuzOptions.php:381
1660
  #: options/phrases-layouts/phrases-user-settings.php:138
1661
  msgid "subscribed to my comments"
1662
  msgstr "abonné à mes commentaires"
1663
 
1664
- #: options/class.WpdiscuzOptions.php:382
1665
  #: options/phrases-layouts/phrases-user-settings.php:142
1666
  msgid "subscribed to all follow-up comments of this post"
1667
  msgstr "abonné à tous les commentaires de suivi de ce article"
1668
 
1669
- #: options/class.WpdiscuzOptions.php:383
1670
  #: options/phrases-layouts/phrases-user-settings.php:146
1671
  msgid "Please check your email."
1672
  msgstr "Veuillez consulter vos e-mails."
1673
 
1674
- #: options/class.WpdiscuzOptions.php:384
1675
  #: options/phrases-layouts/phrases-user-settings.php:150
1676
  msgid "Error : Can't send email."
1677
  msgstr "Erreur : impossible d’envoyer un e-mail."
1678
 
1679
- #: options/class.WpdiscuzOptions.php:385
1680
  #: options/phrases-layouts/phrases-user-settings.php:154
1681
  msgid "Are you sure you want to delete this comment?"
1682
  msgstr "Êtes-vous sûr de vouloir supprimer ce commentaire ?"
1683
 
1684
- #: options/class.WpdiscuzOptions.php:386
1685
  #: options/phrases-layouts/phrases-user-settings.php:158
1686
  msgid "Are you sure you want to cancel this subscription?"
1687
  msgstr "Êtes-vous sûr de vouloir annuler cet abonnement ?"
1688
 
1689
- #: options/class.WpdiscuzOptions.php:387
1690
  #: options/phrases-layouts/phrases-user-settings.php:162
1691
  msgid "Are you sure you want to cancel this follow?"
1692
  msgstr "Confirmez-vous vouloir annuler ce suivi ?"
1693
 
1694
- #: options/class.WpdiscuzOptions.php:388
1695
  #: options/phrases-layouts/phrases-follow.php:11
1696
  msgid "Follow this user"
1697
  msgstr "Suivre cet utilisateur"
1698
 
1699
- #: options/class.WpdiscuzOptions.php:389
1700
  #: options/phrases-layouts/phrases-follow.php:15
1701
  msgid "Unfollow this user"
1702
  msgstr "Ne plus suivre cet utilisateur"
1703
 
1704
- #: options/class.WpdiscuzOptions.php:390
1705
  #: options/phrases-layouts/phrases-follow.php:19
1706
  msgid "You started following this comment author"
1707
  msgstr "Vous avez commencé à suivre cet auteur de commentaires"
1708
 
1709
- #: options/class.WpdiscuzOptions.php:391
1710
  msgid "You stopped following this comment author."
1711
  msgstr "Vous avez cessé de suivre cet auteur de commentaire."
1712
 
1713
- #: options/class.WpdiscuzOptions.php:392
1714
  msgid "Please check your email and confirm the user following request."
1715
  msgstr "Veuillez vérifier vos e-mail et confirmer la demande de l’utilisateur."
1716
 
1717
- #: options/class.WpdiscuzOptions.php:393
1718
  msgid "Sorry, we couldn't send confirmation email."
1719
  msgstr "Désolé, nous n’avons pas pu envoyer l’e-mail de confirmation."
1720
 
1721
- #: options/class.WpdiscuzOptions.php:394
1722
  msgid "Please login to follow users."
1723
  msgstr "Veuillez vous connecter pour suivre les utilisateurs."
1724
 
1725
- #: options/class.WpdiscuzOptions.php:395
1726
  msgid "We are sorry, but you can't follow this user."
1727
  msgstr "Nous sommes désolés, mais vous ne pouvez pas suivre cet utilisateur."
1728
 
1729
- #: options/class.WpdiscuzOptions.php:396
1730
  msgid "Following failed. Please try again later."
1731
  msgstr "Le suivi a échoué. Veuillez réessayer plus tard."
1732
 
1733
- #: options/class.WpdiscuzOptions.php:397
1734
  msgid "Confirm user following request"
1735
  msgstr "Confirmer la demande de suivi utilisateur"
1736
 
1737
- #: options/class.WpdiscuzOptions.php:398
1738
  msgid "Cancel user following request"
1739
  msgstr "Annuler la demande de suivi utilisateur"
1740
 
1741
- #: options/class.WpdiscuzOptions.php:399
1742
  msgid "User Following Confirmation"
1743
  msgstr "Confirmation de suivi d’utilisateur"
1744
 
1745
- #: options/class.WpdiscuzOptions.php:400
1746
  msgid "Confirm Follow"
1747
  msgstr "Confirmer l’abonnement"
1748
 
1749
- #: options/class.WpdiscuzOptions.php:400 options/class.WpdiscuzOptions.php:402
1750
- #: utils/class.WpdiscuzHelperEmail.php:419
1751
  msgid "Unfollow"
1752
  msgstr ""
1753
 
1754
- #: options/class.WpdiscuzOptions.php:400
1755
  msgid ""
1756
  "Hi, <br/> You just started following a new user. You'll get email "
1757
  "notification once new comment is posted by this user. <br/> Please click on "
@@ -1761,293 +1789,310 @@ msgid ""
1761
  "\"[CONFIRM_URL]\">"
1762
  msgstr ""
1763
 
1764
- #: options/class.WpdiscuzOptions.php:402
1765
  msgid ""
1766
- "Hi [FOLLOWER_NAME],<br/><br/> new comment have been posted by the "
1767
  "<em><strong>[COMMENT_AUTHOR]</em></strong> you are following<br/><br/><a "
1768
  "href=\"[COMMENT_URL]\">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]<br/><br/"
1769
  "><a href=\"[CANCEL_URL]\">"
1770
  msgstr ""
1771
 
1772
- #: options/class.WpdiscuzOptions.php:403
1773
  msgid "You have been mentioned in comment"
1774
  msgstr ""
1775
 
1776
- #: options/class.WpdiscuzOptions.php:404
1777
  msgid ""
1778
  "Hi [MENTIONED_USER_NAME]!<br/>You have been mentioned in a comment posted on "
1779
  "\"[POST_TITLE]\" post by [COMMENT_AUTHOR].<br/><br/>Comment URL: <a href="
1780
  "\"[COMMENT_URL]\">[COMMENT_URL]</a>"
1781
  msgstr ""
1782
 
1783
- #: options/class.WpdiscuzOptions.php:405
1784
  #: options/phrases-layouts/phrases-general.php:23
1785
  msgid "Copied to clipboard!"
1786
  msgstr ""
1787
 
1788
- #: options/class.WpdiscuzOptions.php:406
1789
  #: options/phrases-layouts/phrases-general.php:27
1790
  msgid "Select a part of text and ask readers for feedback (inline commenting)"
1791
  msgstr ""
1792
 
1793
- #: options/class.WpdiscuzOptions.php:407
1794
  #: options/phrases-layouts/phrases-general.php:31
1795
  msgid "Ask for Feedback"
1796
  msgstr ""
1797
 
1798
- #: options/class.WpdiscuzOptions.php:408
1799
  #: options/phrases-layouts/phrases-general.php:35
1800
  msgid "Please leave a feedback on this"
1801
  msgstr ""
1802
 
1803
- #: options/class.WpdiscuzOptions.php:409
1804
- #: options/phrases-layouts/phrases-general.php:39
1805
- msgid "Feedback on post content"
1806
- msgstr ""
1807
-
1808
- #: options/class.WpdiscuzOptions.php:410 utils/deactivation-reason-modal.php:66
1809
  msgid "Thank you for your feedback!"
1810
  msgstr "Merci pour votre retour !"
1811
 
1812
- #: options/class.WpdiscuzOptions.php:411
1813
  msgid "Commenting is closed!"
1814
  msgstr ""
1815
 
1816
- #: options/class.WpdiscuzOptions.php:412
1817
  #: options/phrases-layouts/phrases-general.php:51
1818
  msgid "This is closed comment thread"
1819
  msgstr "Ceci est un fil de commentaire fermé"
1820
 
1821
- #: options/class.WpdiscuzOptions.php:413
1822
  msgid "Would love your thoughts, please comment."
1823
  msgstr ""
1824
 
1825
- #: options/class.WpdiscuzOptions.php:414
1826
  #: options/phrases-layouts/phrases-general.php:59
1827
  msgid "vote"
1828
  msgstr ""
1829
 
1830
- #: options/class.WpdiscuzOptions.php:415
1831
  #: options/phrases-layouts/phrases-general.php:63
1832
  msgid "votes"
1833
  msgstr ""
1834
 
1835
- #: options/class.WpdiscuzOptions.php:416
1836
  #: options/phrases-layouts/phrases-general.php:67
1837
  msgid "Comment Link"
1838
  msgstr ""
1839
 
1840
- #: options/class.WpdiscuzOptions.php:417 options/class.WpdiscuzOptions.php:418
1841
  #, php-format
1842
  msgid "We are sorry, you are not allowed to comment more than %d time(s)!"
1843
  msgstr ""
1844
 
1845
- #: options/class.WpdiscuzOptions.php:419
1846
  #, php-format
1847
  msgid "We are sorry, you are not allowed to reply more than %d time(s)!"
1848
  msgstr ""
1849
 
1850
- #: options/class.WpdiscuzOptions.php:420
1851
  #: options/phrases-layouts/phrases-general.php:83
1852
  msgid "Your comment here..."
1853
  msgstr ""
1854
 
1855
- #: options/class.WpdiscuzOptions.php:421
1856
  #: options/phrases-layouts/phrases-general.php:87
1857
  msgid "Notify me via email when a new reply is posted"
1858
  msgstr ""
1859
 
1860
- #: options/class.WpdiscuzOptions.php:422
1861
  #: options/phrases-layouts/phrases-general.php:91
1862
  msgid "Your Name*"
1863
  msgstr ""
1864
 
1865
- #: options/class.WpdiscuzOptions.php:423
1866
  #: options/phrases-layouts/phrases-general.php:95
1867
  msgid "Your Email"
1868
  msgstr ""
1869
 
1870
- #: options/class.WpdiscuzOptions.php:424
1871
  #: options/phrases-layouts/phrases-general.php:99
1872
- msgid "View all comments"
1873
  msgstr ""
1874
 
1875
- #: options/class.WpdiscuzOptions.php:425
1876
  #: options/phrases-layouts/phrases-general.php:103
 
 
 
 
 
 
 
 
 
 
1877
  msgid "Unable to send an email"
1878
  msgstr "Impossible d’envoyer un e-mail"
1879
 
1880
- #: options/class.WpdiscuzOptions.php:426
1881
- #: options/phrases-layouts/phrases-general.php:107
1882
  msgid "Subscription Fault"
1883
  msgstr "Défaut d’abonnement"
1884
 
1885
- #: options/class.WpdiscuzOptions.php:427
1886
- #: options/phrases-layouts/phrases-general.php:111
1887
  msgid "Your comments have been deleted from database"
1888
  msgstr "Vos commentaires ont été supprimés de la base de données"
1889
 
1890
- #: options/class.WpdiscuzOptions.php:428
1891
- #: options/phrases-layouts/phrases-general.php:115
1892
  msgid "You cancel all your subscriptions successfully"
1893
  msgstr "Vous avez bien annulé tous vos abonnements"
1894
 
1895
- #: options/class.WpdiscuzOptions.php:429
1896
- #: options/phrases-layouts/phrases-general.php:119
1897
  msgid "You cancel all your follows successfully"
1898
  msgstr "Vous avez bien annulé tous vos suivis"
1899
 
1900
- #: options/class.WpdiscuzOptions.php:430
1901
- #: options/phrases-layouts/phrases-general.php:123
1902
  msgid "Follow has been confirmed successfully"
1903
  msgstr "Le suivi a bien été confirmé"
1904
 
1905
- #: options/class.WpdiscuzOptions.php:431
1906
- #: options/phrases-layouts/phrases-general.php:127
1907
  msgid "Follow has been canceled successfully"
1908
  msgstr "Le suivi a bien été annulé"
1909
 
1910
- #: options/class.WpdiscuzOptions.php:432
1911
- #: options/phrases-layouts/phrases-general.php:131
1912
  msgid "Please login to comment"
1913
  msgstr ""
1914
 
1915
- #: options/class.WpdiscuzOptions.php:433
1916
- #: options/phrases-layouts/phrases-general.php:135
1917
  msgid "View Comments"
1918
  msgstr ""
1919
 
1920
- #: options/class.WpdiscuzOptions.php:434
1921
- #: options/phrases-layouts/phrases-general.php:139
 
1922
  msgid "Spoiler"
1923
  msgstr "Onglet"
1924
 
1925
- #: options/class.WpdiscuzOptions.php:435
1926
- #: options/phrases-layouts/phrases-general.php:143
1927
  #, php-format
1928
  msgid "Last edited %1$s by %2$s"
1929
  msgstr ""
1930
 
1931
- #: options/class.WpdiscuzOptions.php:436
1932
- #: options/phrases-layouts/phrases-general.php:147
1933
  msgid "Reply to"
1934
  msgstr ""
1935
 
1936
- #: options/class.WpdiscuzOptions.php:437
1937
- #: options/phrases-layouts/phrases-general.php:151
1938
  msgid "Manage Comment"
1939
  msgstr ""
1940
 
1941
- #: options/class.WpdiscuzOptions.php:438
1942
- #: options/phrases-layouts/phrases-general.php:155
1943
- msgid "Insert Title"
1944
  msgstr ""
1945
 
1946
- #: options/class.WpdiscuzOptions.php:440
 
 
 
 
 
 
 
 
 
 
1947
  msgid "Are you sure you want to delete this attachment?"
1948
  msgstr ""
1949
 
1950
- #: options/class.WpdiscuzOptions.php:441
1951
  msgid "Not allowed file type"
1952
  msgstr ""
1953
 
1954
- #: options/class.WpdiscuzOptions.php:442
1955
  msgid "Maximum number of uploaded files is"
1956
  msgstr ""
1957
 
1958
- #: options/class.WpdiscuzOptions.php:443
1959
  msgid "Maximum upload file size is"
1960
  msgstr ""
1961
 
1962
- #: options/class.WpdiscuzOptions.php:444
1963
  msgid "Maximum post size is"
1964
  msgstr ""
1965
 
1966
- #: options/class.WpdiscuzOptions.php:445
1967
  #: options/phrases-layouts/phrases-media.php:31
1968
  msgid "Attach an image to this comment"
1969
  msgstr ""
1970
 
1971
- #: options/class.WpdiscuzOptions.php:446
1972
  #: options/phrases-layouts/phrases-media.php:35
1973
  msgid "Change the attached image"
1974
  msgstr ""
1975
 
1976
- #: options/class.WpdiscuzOptions.php:932
1977
  msgid ""
1978
  "File is empty. Please upload something more substantial. This error could "
1979
  "also be caused by uploads being disabled in your php.ini or by post_max_size "
1980
  "being defined as smaller than upload_max_filesize in php.ini."
1981
  msgstr ""
1982
 
1983
- #: options/class.WpdiscuzOptions.php:933
1984
  msgid "Post ID not exists"
1985
  msgstr ""
1986
 
1987
- #: options/class.WpdiscuzOptions.php:934
1988
  msgid "Sorry, uploading not allowed for this post"
1989
  msgstr ""
1990
 
1991
- #: options/class.WpdiscuzOptions.php:935
1992
  msgid "You do not have sufficient permissions to perform this action"
1993
  msgstr ""
1994
 
1995
- #: options/class.WpdiscuzOptions.php:1014
1996
- #: options/class.WpdiscuzOptions.php:1201
1997
- #: options/class.WpdiscuzOptions.php:1539
1998
  msgid "Hacker?"
1999
  msgstr "Pirate ?"
2000
 
2001
- #: options/class.WpdiscuzOptions.php:1452
2002
  msgid "Settings updated"
2003
  msgstr "
4
  msgstr ""
5
  "Project-Id-Version: Plugins - Comments &#8211; wpDiscuz - Development "
6
  "(trunk)\n"
7
+ "POT-Creation-Date: 2020-12-06 21:27+0400\n"
8
+ "PO-Revision-Date: 2020-12-06 21:27+0400\n"
9
  "Last-Translator: \n"
10
  "Language-Team: \n"
11
  "Language: fr\n"
15
  "Plural-Forms: nplurals=2; plural=n > 1;\n"
16
  "X-Generator: Poedit 1.8.6\n"
17
 
18
+ #: class.WpdiscuzCore.php:256
19
  msgid "Every 3 hours"
20
  msgstr "Chaque 3 heures"
21
 
22
+ #: class.WpdiscuzCore.php:260
23
  msgid "Every 48 hours"
24
  msgstr "Chaque 48 heures"
25
 
26
+ #: class.WpdiscuzCore.php:954 class.WpdiscuzCore.php:1461
27
  msgid "Dashboard"
28
  msgstr ""
29
 
30
+ #: class.WpdiscuzCore.php:958 class.WpdiscuzCore.php:1462
31
+ #: options/html-options.php:399 options/html-options.php:510
32
  msgid "Settings"
33
  msgstr "Réglages"
34
 
35
+ #: class.WpdiscuzCore.php:963 class.WpdiscuzCore.php:1464
36
  msgid "Phrases"
37
  msgstr "Phrases"
38
 
39
+ #: class.WpdiscuzCore.php:968
40
  msgid "Tools"
41
  msgstr "Outils"
42
 
43
+ #: class.WpdiscuzCore.php:972 options/html-options.php:26
44
  msgid "Addons"
45
  msgstr "Modules"
46
 
47
+ #: class.WpdiscuzCore.php:996
48
  msgid "Do you really want to reset all options?"
49
  msgstr "Voulez-vous vraiment réinitialiser toutes les options ?"
50
 
51
+ #: class.WpdiscuzCore.php:997
52
+ msgid "Do you really want to reset tab options?"
53
+ msgstr ""
54
+
55
+ #: class.WpdiscuzCore.php:998
56
  msgid "Do you really want to remove voting data?"
57
  msgstr "Voulez-vous vraiment retirer les données de vote ?"
58
 
59
+ #: class.WpdiscuzCore.php:999
60
  msgid "Do you really want to reset phrases?"
61
  msgstr "Voulez-vous vraiment réinitialiser les phrases ?"
62
 
63
+ #: class.WpdiscuzCore.php:1000
64
  msgid "Do you really want to delet this attachment?"
65
  msgstr ""
66
 
67
+ #: class.WpdiscuzCore.php:1001
68
  msgid "Do you really want to delete gravatars cache?"
69
  msgstr "Voulez-vous vraiment supprimer le cache Gravatar ?"
70
 
71
+ #: class.WpdiscuzCore.php:1057
72
  msgid "Please check one of reasons before sending feedback!"
73
  msgstr "Veuillez vérifier l'une des raisons avant d'envoyer un retour !"
74
 
75
+ #: class.WpdiscuzCore.php:1058 utils/deactivation-reason-modal.php:137
76
  msgid "Please provide more information"
77
  msgstr "Veuillez fournir plus d’information"
78
 
79
+ #: class.WpdiscuzCore.php:1080 class.WpdiscuzCore.php:1966
80
  msgid "No text is selected. Please select a part of text from post content."
81
  msgstr ""
82
 
83
+ #: class.WpdiscuzCore.php:1595 options/phrases-layouts/phrases-comment.php:56
84
  msgid "Admin"
85
  msgstr "Administrateur"
86
 
87
+ #: class.WpdiscuzCore.php:1598 class.WpdiscuzCore.php:1611
88
  #: options/phrases-layouts/phrases-comment.php:58
89
  msgid "Author"
90
  msgstr "Auteur"
91
 
92
+ #: class.WpdiscuzCore.php:1601 options/phrases-layouts/phrases-comment.php:60
93
  msgid "Editor"
94
  msgstr "Éditeur "
95
 
96
+ #: class.WpdiscuzCore.php:1604 options/phrases-layouts/phrases-comment.php:64
97
  msgid "Member"
98
  msgstr "Membre"
99
 
100
+ #: class.WpdiscuzCore.php:1612 options/phrases-layouts/phrases-comment.php:62
101
  msgid "Guest"
102
  msgstr "Invité"
103
 
104
+ #: class.WpdiscuzCore.php:1964
105
  msgid "Selected Text"
106
  msgstr ""
107
 
108
+ #: class.WpdiscuzCore.php:1971
109
  msgid "Your Question to Readers"
110
  msgstr ""
111
 
112
+ #: class.WpdiscuzCore.php:1973
113
  msgid ""
114
  "A simple question or a call to leave a feedback on the selected part of "
115
  "text. Something like &quot;By the way. Do you agree with this?&quot; or "
116
  "&quot;Would love your thoughts, please comment on this.&quot;"
117
  msgstr ""
118
 
119
+ #: class.WpdiscuzCore.php:1979
120
  msgid "e.g: Any thoughts on this?"
121
  msgstr ""
122
 
123
+ #: class.WpdiscuzCore.php:1984
124
  msgid "Feedback Button Display Type"
125
  msgstr ""
126
 
127
+ #: class.WpdiscuzCore.php:1986
128
  msgid ""
129
  "By default the inline feedback form is closed and only the button is "
130
  "displayed. Once reader scrolled and reached to the selected text part, this "
134
  "Readers can close it using [x] button."
135
  msgstr ""
136
 
137
+ #: class.WpdiscuzCore.php:1994
138
  msgid "CLOSED"
139
  msgstr ""
140
 
141
+ #: class.WpdiscuzCore.php:2004
142
  msgid "OPENED"
143
  msgstr ""
144
 
145
+ #: class.WpdiscuzCore.php:2015
146
  msgid "Add Inline Feedback Button"
147
  msgstr ""
148
 
149
+ #: forms/wpDiscuzForm.php:97
150
+ msgid "Not whitelisted value detected"
151
+ msgstr ""
152
+
153
+ #: forms/wpDiscuzForm.php:102
154
  msgid "Invalid Data !!!"
155
  msgstr "Donnée non valide !"
156
 
157
+ #: forms/wpDiscuzForm.php:110 forms/wpDiscuzForm.php:159
158
  msgid "Forms"
159
  msgstr "Formulaires"
160
 
161
+ #: forms/wpDiscuzForm.php:111 options/html-phrases.php:20
162
  msgid "Form"
163
  msgstr "Formulaire"
164
 
165
+ #: forms/wpDiscuzForm.php:112
166
  msgid "Add New"
167
  msgstr "Ajouter un nouveau"
168
 
169
+ #: forms/wpDiscuzForm.php:113
170
  msgid "Add New Form"
171
  msgstr "Ajouter un nouveau formulaire"
172
 
173
+ #: forms/wpDiscuzForm.php:114
174
  msgid "Edit Form"
175
  msgstr "Modifier le formulaire"
176
 
177
+ #: forms/wpDiscuzForm.php:115
178
  msgid "You did not create any forms yet"
179
  msgstr "Vous n’avez pas encore créé de formulaire."
180
 
181
+ #: forms/wpDiscuzForm.php:116
182
  msgid "Nothing found in Trash"
183
  msgstr "Rien trouvé dans la corbeille"
184
 
185
+ #: forms/wpDiscuzForm.php:117
186
  msgid "Search Forms"
187
  msgstr "Formulaires de recherche"
188
 
189
+ #: forms/wpDiscuzForm.php:174
190
  msgid "Title"
191
  msgstr "Titre"
192
 
193
+ #: forms/wpDiscuzForm.php:175
194
  msgid "Post Types"
195
  msgstr "Types de publication"
196
 
197
+ #: forms/wpDiscuzForm.php:176
198
  msgid "Post IDs"
199
  msgstr "IDs de publication"
200
 
201
+ #: forms/wpDiscuzForm.php:177 forms/wpdFormAttr/Form.php:991
202
  msgid "Language"
203
  msgstr "Langage"
204
 
205
+ #: forms/wpDiscuzForm.php:178
206
+ #: options/options-layouts/html-thread_display.php:238
207
  msgid "Date"
208
  msgstr "Date"
209
 
210
+ #: forms/wpDiscuzForm.php:223
211
  msgid "Field Types"
212
  msgstr "Types de champ"
213
 
214
+ #: forms/wpDiscuzForm.php:224 forms/wpdFormAttr/Row.php:23
215
  msgid "Two column"
216
  msgstr "Deux colonnes"
217
 
218
+ #: forms/wpDiscuzForm.php:225 forms/wpdFormAttr/Field/Field.php:73
219
+ #: forms/wpdFormAttr/Row.php:24 utils/class.WpdiscuzHelperUpload.php:719
220
  msgid "Delete"
221
  msgstr "Supprimer"
222
 
223
+ #: forms/wpDiscuzForm.php:226 forms/wpdFormAttr/Row.php:25
224
  msgid "Move"
225
  msgstr "Déplacer"
226
 
227
+ #: forms/wpDiscuzForm.php:227 forms/wpdFormAttr/Row.php:73
228
  msgid "Add Field"
229
  msgstr "Ajouter un champ"
230
 
231
+ #: forms/wpDiscuzForm.php:228 forms/wpdFormAttr/Field/Field.php:70
232
+ #: options/class.WpdiscuzOptions.php:345
233
  #: options/phrases-layouts/phrases-comment.php:19
234
  msgid "Edit"
235
  msgstr "Modifier"
236
 
237
+ #: forms/wpDiscuzForm.php:229
238
  msgid "You can not delete default field."
239
  msgstr "Vous ne pouvez supprimer le champ par défaut."
240
 
241
+ #: forms/wpDiscuzForm.php:230
242
  msgid "You really want to delete this item ?"
243
  msgstr "Voulez-vous vraiment supprimer cet élément ?"
244
 
245
+ #: forms/wpDiscuzForm.php:237
246
  msgid "Permission Denied !!!"
247
  msgstr "Autorisation refusée !"
248
 
249
+ #: forms/wpDiscuzForm.php:258 forms/wpdFormAttr/Form.php:956
250
  #: forms/wpdFormAttr/html/admin-form-fields-list.php:18
251
  msgid "Custom Fields"
252
  msgstr "Champs personnalisés"
253
 
254
+ #: forms/wpDiscuzForm.php:318
255
  msgid "Custom CSS"
256
  msgstr "CSS personnalisé"
257
 
258
+ #: forms/wpDiscuzForm.php:373
259
  msgid "Default Form"
260
  msgstr "Formulaire par défaut"
261
 
262
+ #: forms/wpDiscuzForm.php:406 forms/wpdFormAttr/Form.php:118
263
+ #: forms/wpdFormAttr/Form.php:1072 options/html-phrases.php:21
264
  #: options/options-layouts/html-moderation.php:133
265
  msgid "Comment"
266
  msgstr "Commentaire"
267
 
268
+ #: forms/wpDiscuzForm.php:407 forms/wpdFormAttr/Form.php:126
269
+ #: forms/wpdFormAttr/Form.php:1083
270
  #: forms/wpdFormAttr/Tools/PersonalDataExporter.php:82
271
+ #: utils/class.WpdiscuzHelperAjax.php:945
272
  msgid "Comments"
273
  msgstr "Commentaires"
274
 
275
+ #: forms/wpDiscuzForm.php:414 forms/wpdFormAttr/Form.php:178
276
+ #: forms/wpdFormAttr/Form.php:621 forms/wpdFormAttr/Form.php:1195
277
+ msgid "Article Rating"
278
+ msgstr ""
279
+
280
+ #: forms/wpDiscuzForm.php:434 forms/wpdFormAttr/Field/AgreementCheckbox.php:12
281
  #: forms/wpdFormAttr/Field/CheckboxField.php:12
282
  #: forms/wpdFormAttr/Field/ColorField.php:12
283
  #: forms/wpdFormAttr/Field/CookiesConsent.php:14
284
  #: forms/wpdFormAttr/Field/DateField.php:12
285
  #: forms/wpdFormAttr/Field/DefaultField/Email.php:19
286
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:18
287
+ #: forms/wpdFormAttr/Field/DefaultField/Name.php:67
288
  #: forms/wpdFormAttr/Field/DefaultField/Submit.php:18
289
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:18
290
  #: forms/wpdFormAttr/Field/HTMLField.php:12
294
  #: forms/wpdFormAttr/Field/SelectField.php:12
295
  #: forms/wpdFormAttr/Field/TextAreaField.php:12
296
  #: forms/wpdFormAttr/Field/TextField.php:12
297
+ #: forms/wpdFormAttr/Field/UrlField.php:12 forms/wpdFormAttr/Form.php:1286
298
  msgid "Name"
299
  msgstr "Nom"
300
 
301
+ #: forms/wpDiscuzForm.php:436 forms/wpdFormAttr/Field/DefaultField/Email.php:67
302
+ #: forms/wpdFormAttr/Form.php:1293 options/class.WpdiscuzOptions.php:331
303
  #: options/html-phrases.php:23
304
  msgid "Email"
305
  msgstr "E-mail"
306
 
307
+ #: forms/wpDiscuzForm.php:438
308
  msgid "WebSite URL"
309
  msgstr "URL du site Web"
310
 
311
+ #: forms/wpDiscuzForm.php:441
312
  #: forms/wpdFormAttr/Field/DefaultField/Submit.php:117
313
+ #: forms/wpdFormAttr/Form.php:1316
314
  msgid "Post Comment"
315
  msgstr "Publier le commentaire"
316
 
317
+ #: forms/wpDiscuzForm.php:450
318
  msgid "Clone Form"
319
  msgstr "Formulaire de clonage"
320
 
321
+ #: forms/wpDiscuzForm.php:462
322
  msgid "Clone"
323
  msgstr "Cloner"
324
 
325
+ #: forms/wpDiscuzForm.php:496
326
  msgid ""
327
  "Comment Form is not detected, please navigate to form manager page to create "
328
  "it. "
330
  "Le formulaire de commentaire n’est pas détecté. Veuillez vous rendre sur la "
331
  "page du gestionnaire de formulaire pour le créer. "
332
 
333
+ #: forms/wpDiscuzForm.php:497
334
  msgid "Add Comment Form"
335
  msgstr "Ajouter un formulaire de commentaire"
336
 
344
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:23
345
  #: forms/wpdFormAttr/Field/NumberField.php:17
346
  #: forms/wpdFormAttr/Field/RadioField.php:17
347
+ #: forms/wpdFormAttr/Field/RatingField.php:21
348
  #: forms/wpdFormAttr/Field/SelectField.php:17
349
  #: forms/wpdFormAttr/Field/TextAreaField.php:17
350
  #: forms/wpdFormAttr/Field/TextField.php:17
364
  #: forms/wpdFormAttr/Field/NumberField.php:24
365
  #: forms/wpdFormAttr/Field/NumberField.php:29
366
  #: forms/wpdFormAttr/Field/RadioField.php:19
367
+ #: forms/wpdFormAttr/Field/RatingField.php:23
368
  #: forms/wpdFormAttr/Field/SelectField.php:19
369
  #: forms/wpdFormAttr/Field/TextAreaField.php:19
370
  #: forms/wpdFormAttr/Field/TextField.php:19
397
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:35
398
  #: forms/wpdFormAttr/Field/NumberField.php:39
399
  #: forms/wpdFormAttr/Field/RadioField.php:33
400
+ #: forms/wpdFormAttr/Field/RatingField.php:33
401
  #: forms/wpdFormAttr/Field/SelectField.php:33
402
  #: forms/wpdFormAttr/Field/TextAreaField.php:22
403
  #: forms/wpdFormAttr/Field/TextField.php:29
433
 
434
  #: forms/wpdFormAttr/Field/AgreementCheckbox.php:101
435
  #: forms/wpdFormAttr/Field/CheckboxField.php:150
436
+ #: forms/wpdFormAttr/Field/ColorField.php:113
437
+ #: forms/wpdFormAttr/Field/DateField.php:113
438
+ #: forms/wpdFormAttr/Field/NumberField.php:123
439
+ #: forms/wpdFormAttr/Field/RadioField.php:129
440
+ #: forms/wpdFormAttr/Field/RatingField.php:129
441
  #: forms/wpdFormAttr/Field/SelectField.php:122
442
+ #: forms/wpdFormAttr/Field/TextAreaField.php:95
443
+ #: forms/wpdFormAttr/Field/TextField.php:107
444
+ #: forms/wpdFormAttr/Field/UrlField.php:117
445
  msgid "field is required!"
446
  msgstr "champ obligatoire !"
447
 
475
  #: forms/wpdFormAttr/Field/DateField.php:37
476
  #: forms/wpdFormAttr/Field/NumberField.php:47
477
  #: forms/wpdFormAttr/Field/RadioField.php:41
478
+ #: forms/wpdFormAttr/Field/RatingField.php:37
479
  #: forms/wpdFormAttr/Field/SelectField.php:41
480
  #: forms/wpdFormAttr/Field/TextAreaField.php:30
481
  #: forms/wpdFormAttr/Field/TextField.php:37
488
  #: forms/wpdFormAttr/Field/DateField.php:41
489
  #: forms/wpdFormAttr/Field/NumberField.php:51
490
  #: forms/wpdFormAttr/Field/RadioField.php:45
491
+ #: forms/wpdFormAttr/Field/RatingField.php:41
492
  #: forms/wpdFormAttr/Field/SelectField.php:45
493
  #: forms/wpdFormAttr/Field/TextAreaField.php:34
494
  #: forms/wpdFormAttr/Field/TextField.php:41
501
  #: forms/wpdFormAttr/Field/DateField.php:44
502
  #: forms/wpdFormAttr/Field/NumberField.php:54
503
  #: forms/wpdFormAttr/Field/RadioField.php:48
504
+ #: forms/wpdFormAttr/Field/RatingField.php:44
505
  #: forms/wpdFormAttr/Field/SelectField.php:48
506
  #: forms/wpdFormAttr/Field/TextAreaField.php:37
507
  #: forms/wpdFormAttr/Field/TextField.php:44
514
  #: forms/wpdFormAttr/Field/DateField.php:48
515
  #: forms/wpdFormAttr/Field/NumberField.php:58
516
  #: forms/wpdFormAttr/Field/RadioField.php:52
517
+ #: forms/wpdFormAttr/Field/RatingField.php:48
518
  #: forms/wpdFormAttr/Field/SelectField.php:52
519
  #: forms/wpdFormAttr/Field/TextAreaField.php:41
520
  #: forms/wpdFormAttr/Field/TextField.php:48
528
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:29
529
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:29
530
  #: forms/wpdFormAttr/Field/NumberField.php:33
531
+ #: forms/wpdFormAttr/Field/RatingField.php:27
532
  #: forms/wpdFormAttr/Field/TextField.php:23
533
  #: forms/wpdFormAttr/Field/UrlField.php:23
534
  msgid "Field icon"
540
  #: forms/wpdFormAttr/Field/DefaultField/Name.php:32
541
  #: forms/wpdFormAttr/Field/DefaultField/Website.php:32
542
  #: forms/wpdFormAttr/Field/NumberField.php:36
543
+ #: forms/wpdFormAttr/Field/RatingField.php:30
544
  #: forms/wpdFormAttr/Field/TextField.php:26
545
  #: forms/wpdFormAttr/Field/UrlField.php:26
546
  msgid "Font-awesome icon library."
547
  msgstr "Bibliothèque d’icônes Font Awesome."
548
 
549
+ #: forms/wpdFormAttr/Field/CookiesConsent.php:93
550
  msgid "Save my data for the next time I comment"
551
  msgstr "Enregistrer mes données pour la prochaine fois que je commente"
552
 
554
  msgid "reCAPTCHA Settings"
555
  msgstr ""
556
 
557
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:93
558
  msgid "reCAPTCHA verification failed."
559
  msgstr ""
560
 
561
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:98
562
  msgid "The secret parameter is missing."
563
  msgstr ""
564
 
565
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:99
566
  msgid "The secret parameter is invalid or malformed."
567
  msgstr ""
568
 
569
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:100
570
  msgid "The response parameter is missing."
571
  msgstr ""
572
 
573
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:101
574
  msgid "The response parameter is invalid or malformed."
575
  msgstr ""
576
 
577
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:102
578
  msgid "The request is invalid or malformed."
579
  msgstr ""
580
 
581
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:103
582
  msgid ""
583
  "The response is no longer valid: either is too old or has been used "
584
  "previously."
585
  msgstr ""
586
 
587
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:107
588
+ msgid "reCaptcha validation fails. "
589
+ msgstr ""
590
+
591
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:109
592
  msgid "reCaptcha validation fails. Error code: "
593
  msgstr ""
594
 
605
  msgid "Enable"
606
  msgstr "Activer"
607
 
608
+ #: forms/wpdFormAttr/Field/DefaultField/Website.php:84
609
+ #: forms/wpdFormAttr/Form.php:1300
610
  msgid "Website"
611
  msgstr "Site web"
612
 
614
  msgid " (Submit Button)"
615
  msgstr " (Bouton envoyer)"
616
 
617
+ #: forms/wpdFormAttr/Field/Field.php:63 options/class.WpdiscuzOptions.php:3188
618
  msgid "Google reCAPTCHA"
619
  msgstr ""
620
 
634
  msgid "Max Value"
635
  msgstr "Valeur max"
636
 
637
+ #: forms/wpdFormAttr/Field/NumberField.php:127
638
  msgid "value can not be less than"
639
  msgstr "la valeur ne peut être inférieure à"
640
 
641
+ #: forms/wpdFormAttr/Field/NumberField.php:130
642
  msgid "value can not be more than"
643
  msgstr "la valeur ne peut être supérieure à"
644
 
647
  msgid "New value new line"
648
  msgstr "Nouvelle valeur nouvelle ligne"
649
 
650
+ #: forms/wpdFormAttr/Field/RatingField.php:17
651
+ msgid "Name For Total"
652
+ msgstr ""
653
+
654
+ #: forms/wpdFormAttr/Form.php:211 forms/wpdFormAttr/Form.php:617
655
+ #: forms/wpdFormAttr/Form.php:1062
656
  msgid ""
657
  "I allow to use my email address and send notification about new comments and "
658
  "replies (you can unsubscribe at any time)."
661
  "à propos des nouveaux commentaires et réponses (vous pouvez vous désabonner "
662
  "à tout moment)."
663
 
664
+ #: forms/wpdFormAttr/Form.php:600
665
+ msgid "Average Rating"
666
+ msgstr ""
667
+
668
+ #: forms/wpdFormAttr/Form.php:996 forms/wpdFormAttr/Form.php:1018
669
+ #: forms/wpdFormAttr/Form.php:1030 forms/wpdFormAttr/Form.php:1042
670
+ #: forms/wpdFormAttr/Form.php:1054 forms/wpdFormAttr/Form.php:1074
671
+ #: forms/wpdFormAttr/Form.php:1085 forms/wpdFormAttr/Form.php:1114
672
+ #: forms/wpdFormAttr/Form.php:1124 forms/wpdFormAttr/Form.php:1170
673
+ #: forms/wpdFormAttr/Form.php:1186 forms/wpdFormAttr/Form.php:1208
674
+ #: forms/wpdFormAttr/Form.php:1215 options/options-layouts/html-content.php:13
 
 
 
 
675
  #: options/options-layouts/html-form.php:13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
676
  #: options/options-layouts/html-inline.php:21
 
 
677
  #: options/options-layouts/html-labels.php:13
 
 
678
  #: options/options-layouts/html-live.php:15
 
 
 
 
 
 
 
 
 
679
  #: options/options-layouts/html-login.php:13
 
 
 
 
 
680
  #: options/options-layouts/html-moderation.php:13
 
 
 
 
 
 
681
  #: options/options-layouts/html-rating.php:13
 
 
682
  #: options/options-layouts/html-recaptcha.php:14
 
 
 
 
 
 
 
 
683
  #: options/options-layouts/html-social.php:13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
684
  #: options/options-layouts/html-subscription.php:13
 
 
 
 
 
 
 
 
 
 
685
  #: options/options-layouts/html-thread_display.php:13
 
 
 
 
 
 
 
 
 
686
  #: options/options-layouts/html-thread_layouts.php:32
 
 
 
 
 
 
 
 
 
 
687
  #: options/options-layouts/html-thread_styles.php:13
 
 
 
 
688
  msgid "Read the documentation"
689
  msgstr "Lire la documentation"
690
 
691
+ #: forms/wpdFormAttr/Form.php:1001
692
  msgid "Disable commenting for roles"
693
  msgstr "Désactiver les commentaires pour les rôles"
694
 
695
+ #: forms/wpdFormAttr/Form.php:1023
696
  msgid "Allow guests to comment"
697
  msgstr "Autoriser les invités à commenter"
698
 
699
+ #: forms/wpdFormAttr/Form.php:1027 forms/wpdFormAttr/Form.php:1039
700
+ #: forms/wpdFormAttr/Form.php:1051 forms/wpdFormAttr/Form.php:1183
701
+ #: forms/wpdFormAttr/Form.php:1205
702
  msgid "Yes"
703
  msgstr "Oui"
704
 
705
+ #: forms/wpdFormAttr/Form.php:1029 forms/wpdFormAttr/Form.php:1041
706
+ #: forms/wpdFormAttr/Form.php:1053 forms/wpdFormAttr/Form.php:1185
707
+ #: forms/wpdFormAttr/Form.php:1207
708
  msgid "No"
709
  msgstr "Non"
710
 
711
+ #: forms/wpdFormAttr/Form.php:1035
712
  msgid "Enable subscription bar"
713
  msgstr "Activer la barre d’abonnement"
714
 
715
+ #: forms/wpdFormAttr/Form.php:1047
716
  msgid "Display agreement checkbox in Comment Subscription bar"
717
  msgstr ""
718
  "Afficher la case à cocher d’accord dans la barre d’abonnement aux "
719
  "commentaires"
720
 
721
+ #: forms/wpdFormAttr/Form.php:1059
722
  msgid "Comment Subscription bar agreement checkbox label"
723
  msgstr ""
724
  "Libellé de la case à cocher de la barre d’accord d’abonnement aux "
725
  "commentaires"
726
 
727
+ #: forms/wpdFormAttr/Form.php:1068
728
  msgid "Comment form header text (singular)"
729
  msgstr ""
730
 
731
+ #: forms/wpdFormAttr/Form.php:1079
732
  msgid "Comment form header text (plural)"
733
  msgstr ""
734
 
735
+ #: forms/wpdFormAttr/Form.php:1089
736
  msgid "Display comment form for post types"
737
  msgstr "Afficher le formulaire de commentaires pour ces types de publication"
738
 
739
+ #: forms/wpdFormAttr/Form.php:1096
740
  msgid ""
741
  "The red marked post types are already attached to other comment form. If you "
742
  "set this form too, the old forms will not be used for them."
745
  "formulaire de commentaire. Si vous définissez également ce formulaire, les "
746
  "anciens formulaires ne leur seront plus utilisés."
747
 
748
+ #: forms/wpdFormAttr/Form.php:1119
749
  msgid "Display comment form for post IDs"
750
  msgstr "Afficher le formulaire de commentaire pour les publications avec l’ID "
751
 
752
+ #: forms/wpdFormAttr/Form.php:1120
753
  msgid ""
754
  "You can use this form for certain posts/pages specified by comma separated "
755
  "IDs."
757
  "Vous pouvez utiliser ce champ pour des publications / pages spécifiés par "
758
  "leur identifiant séparés par des virgules."
759
 
760
+ #: forms/wpdFormAttr/Form.php:1134
761
  msgid "Theme"
762
  msgstr ""
763
 
764
+ #: forms/wpdFormAttr/Form.php:1153
765
  msgid "Comment List Layout"
766
  msgstr ""
767
 
768
+ #: forms/wpdFormAttr/Form.php:1164
769
  msgid "Layout"
770
  msgstr ""
771
 
772
+ #: forms/wpdFormAttr/Form.php:1179
773
  msgid "Enable Post Rating"
774
  msgstr ""
775
 
776
+ #: forms/wpdFormAttr/Form.php:1191
777
+ msgid "Post Rating Title"
778
+ msgstr ""
779
+
780
+ #: forms/wpdFormAttr/Form.php:1201
781
  msgid "Allow Guests to Rate"
782
  msgstr ""
783
 
784
+ #: forms/wpdFormAttr/Form.php:1219
785
  msgid "Comment Text Field"
786
  msgstr "Champ de texte de commentaire"
787
 
788
+ #: forms/wpdFormAttr/Form.php:1234
789
  msgid "ADD ROW"
790
  msgstr "AJOUTER UNE RANGÉE"
791
 
792
+ #: forms/wpdFormAttr/Form.php:1271
793
  msgid ""
794
  "Only logged in customers who have purchased this product may leave a review."
795
  msgstr ""
796
  "Uniquement les clients connectés ayant acheté ce produit peuvent laisser un "
797
  "avis."
798
 
799
+ #: forms/wpdFormAttr/Login/SocialLogin.php:44
800
  msgid "Authentication failed."
801
  msgstr "Authentification échouée."
802
 
803
+ #: forms/wpdFormAttr/Login/SocialLogin.php:129
804
  msgid "Facebook access token or user ID invalid."
805
  msgstr "Jeton d’accès à Facebook ou identifiant d’utilisateur non valide."
806
 
807
+ #: forms/wpdFormAttr/Login/SocialLogin.php:133
808
  msgid "Facebook App Secret is required."
809
  msgstr "Facebook Secret App est nécessaire."
810
 
811
+ #: forms/wpdFormAttr/Login/SocialLogin.php:167
812
  msgid "Facebook Application ID and Application Secret required."
813
  msgstr ""
814
  "Identifiant d’application Facebook et secret d’application obligatoire."
815
 
816
+ #: forms/wpdFormAttr/Login/SocialLogin.php:194
817
+ msgid "Facebook authentication failed (OAuth state does not exist)."
 
818
  msgstr ""
 
 
819
 
820
+ #: forms/wpdFormAttr/Login/SocialLogin.php:197
821
+ msgid "Facebook authentication failed (OAuth code does not exist)."
 
822
  msgstr ""
 
 
823
 
824
+ #: forms/wpdFormAttr/Login/SocialLogin.php:240
825
+ msgid "Instagram Application ID and Application Secret required."
826
+ msgstr ""
827
+
828
+ #: forms/wpdFormAttr/Login/SocialLogin.php:269
829
+ msgid "Instagram authentication failed (OAuth state does not exist)."
830
+ msgstr ""
831
+
832
+ #: forms/wpdFormAttr/Login/SocialLogin.php:272
833
+ msgid "Instagram authentication failed (OAuth code does not exist)."
834
+ msgstr ""
835
+
836
+ #: forms/wpdFormAttr/Login/SocialLogin.php:317
837
  msgid "Google Client ID and Client Secret required."
838
  msgstr ""
839
 
840
+ #: forms/wpdFormAttr/Login/SocialLogin.php:346
841
+ msgid "Google authentication failed (OAuth state does not exist)."
842
+ msgstr ""
843
+
844
+ #: forms/wpdFormAttr/Login/SocialLogin.php:349
845
+ msgid "Google authentication failed (OAuth code does not exist)."
846
  msgstr ""
847
 
848
+ #: forms/wpdFormAttr/Login/SocialLogin.php:387
849
+ msgid "Linkedin Client ID and Client Secret required."
850
  msgstr ""
851
 
852
+ #: forms/wpdFormAttr/Login/SocialLogin.php:416
853
+ msgid "Linkedin authentication failed (OAuth state does not exist)."
854
+ msgstr ""
855
+
856
+ #: forms/wpdFormAttr/Login/SocialLogin.php:419
857
+ msgid "Linkedin authentication failed (OAuth code does not exist)."
858
+ msgstr ""
859
+
860
+ #: forms/wpdFormAttr/Login/SocialLogin.php:497
861
  msgid "Disqus Public Key and Secret Key required."
862
  msgstr ""
863
 
864
+ #: forms/wpdFormAttr/Login/SocialLogin.php:525
865
+ msgid "Disqus authentication failed (OAuth state does not exist)."
866
  msgstr ""
867
 
868
+ #: forms/wpdFormAttr/Login/SocialLogin.php:528
869
+ msgid "Disqus authentication failed (OAuth code does not exist)."
870
  msgstr ""
871
 
872
+ #: forms/wpdFormAttr/Login/SocialLogin.php:549
873
+ msgid "Disqus authentication failed (access_token does not exist)."
 
874
  msgstr ""
875
 
876
+ #: forms/wpdFormAttr/Login/SocialLogin.php:552
877
+ msgid "Disqus authentication failed (user_id does not exist)."
878
  msgstr ""
879
 
880
+ #: forms/wpdFormAttr/Login/SocialLogin.php:583
881
  msgid "Wordpress Client ID and Client Secret required."
882
  msgstr ""
883
 
884
+ #: forms/wpdFormAttr/Login/SocialLogin.php:611
885
+ msgid "Wordpress.com authentication failed (OAuth state does not exist)."
 
 
886
  msgstr ""
887
 
888
+ #: forms/wpdFormAttr/Login/SocialLogin.php:614
889
+ msgid "Wordpress.com authentication failed (OAuth code does not exist)."
 
890
  msgstr ""
891
 
892
+ #: forms/wpdFormAttr/Login/SocialLogin.php:635
893
+ msgid "Wordpress.com authentication failed (access_token does not exist)."
 
 
894
  msgstr ""
895
 
896
+ #: forms/wpdFormAttr/Login/SocialLogin.php:647
897
+ msgid "Wordpress.com authentication failed (user_id does not exist)."
 
898
  msgstr ""
899
 
900
+ #: forms/wpdFormAttr/Login/SocialLogin.php:686
901
  msgid "Twitter Consumer Key and Consumer Secret required."
902
  msgstr "Twitter Clé Consommateur et Secret Consommateur nécessaire."
903
 
904
+ #: forms/wpdFormAttr/Login/SocialLogin.php:698
905
  msgid "Twitter authentication failed (OAuth secret does not exist)."
906
  msgstr "L’authentification Twitter a échoué (le secret OAuth n’existe pas)."
907
 
908
+ #: forms/wpdFormAttr/Login/SocialLogin.php:713
909
  msgid "Twitter connection failed."
910
  msgstr "La connexion Twitter a échoué."
911
 
912
+ #: forms/wpdFormAttr/Login/SocialLogin.php:723
913
  msgid "VK Client ID and Client Secret required."
914
  msgstr "VK Client ID et Client Secret obligatoire."
915
 
916
+ #: forms/wpdFormAttr/Login/SocialLogin.php:751
917
+ msgid "VK authentication failed (OAuth state does not exist)."
918
  msgstr ""
 
919
 
920
+ #: forms/wpdFormAttr/Login/SocialLogin.php:754
921
+ msgid "VK authentication failed (OAuth code does not exist)."
922
  msgstr ""
 
923
 
924
+ #: forms/wpdFormAttr/Login/SocialLogin.php:772
925
+ msgid "VK authentication failed (user_id does not exist)."
926
+ msgstr ""
927
 
928
+ #: forms/wpdFormAttr/Login/SocialLogin.php:802
929
  msgid "OK Application ID, Application Key and Application Secret required."
930
  msgstr ""
931
  "OK ID d’application, clé d’application et secret d’application obligatoires."
932
 
933
+ #: forms/wpdFormAttr/Login/SocialLogin.php:828
934
+ msgid "OK authentication failed (OAuth state does not exist)."
935
  msgstr ""
 
936
 
937
+ #: forms/wpdFormAttr/Login/SocialLogin.php:831
938
+ msgid "OK authentication failed (code does not exist)."
939
+ msgstr ""
940
+
941
+ #: forms/wpdFormAttr/Login/SocialLogin.php:850
942
+ msgid "OK authentication failed (access_token does not exist)."
943
+ msgstr ""
944
+
945
+ #: forms/wpdFormAttr/Login/SocialLogin.php:880
946
+ msgid "Yandex ID and Password required."
947
+ msgstr ""
948
+
949
+ #: forms/wpdFormAttr/Login/SocialLogin.php:910
950
+ msgid "Yandex authentication failed (OAuth state does not exist)."
951
+ msgstr ""
952
 
953
+ #: forms/wpdFormAttr/Login/SocialLogin.php:913
954
+ msgid "Yandex authentication failed (code does not exist)."
955
+ msgstr ""
956
+
957
+ #: forms/wpdFormAttr/Login/SocialLogin.php:933
958
+ msgid "Yandex authentication failed (access_token does not exist)."
959
+ msgstr ""
960
+
961
+ #: forms/wpdFormAttr/Login/SocialLogin.php:966
962
+ msgid "Mail.ru Client ID and Client Secret required."
963
+ msgstr ""
964
+
965
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1000
966
+ msgid "Mail.ru authentication failed (OAuth state does not exist)."
967
+ msgstr ""
968
+
969
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1003
970
+ msgid "Mail.ru authentication failed (code does not exist)."
971
+ msgstr ""
972
+
973
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1035
974
+ msgid "Mail.ru authentication failed (access_token does not exist)."
975
+ msgstr ""
976
+
977
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1057
978
+ msgid "WeChat AppKey and AppSecret required."
979
+ msgstr ""
980
+
981
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1089
982
+ msgid "WeChat authentication failed (OAuth state does not exist)."
983
+ msgstr ""
984
+
985
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1092
986
+ msgid "WeChat authentication failed (code does not exist)."
987
+ msgstr ""
988
+
989
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1110
990
+ msgid "WeChat authentication failed (access_token does not exist)."
991
+ msgstr ""
992
+
993
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1142
994
+ msgid "QQ AppKey and AppSecret required."
995
+ msgstr ""
996
+
997
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1174
998
+ msgid "QQ authentication failed (OAuth state does not exist)."
999
+ msgstr ""
1000
+
1001
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1177
1002
+ msgid "QQ authentication failed (code does not exist)."
1003
+ msgstr ""
1004
+
1005
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1202
1006
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1241
1007
+ msgid "QQ authentication failed (access_token does not exist)."
1008
+ msgstr ""
1009
+
1010
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1249
1011
+ msgid "Weibo App Key and App Secret required."
1012
+ msgstr ""
1013
+
1014
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1280
1015
+ msgid "Weibo authentication failed (OAuth state does not exist)."
1016
+ msgstr ""
1017
+
1018
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1283
1019
+ msgid "Weibo authentication failed (code does not exist)."
1020
+ msgstr ""
1021
+
1022
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1303
1023
+ msgid "Weibo authentication failed (access_token does not exist)."
1024
+ msgstr ""
1025
+
1026
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1335
1027
+ msgid "Baidu Client ID and Client Secret required."
1028
+ msgstr ""
1029
+
1030
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1369
1031
+ msgid "Baidu authentication failed (OAuth state does not exist)."
1032
+ msgstr ""
1033
+
1034
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1372
1035
+ msgid "Baidu authentication failed (code does not exist)."
1036
+ msgstr ""
1037
+
1038
+ #: forms/wpdFormAttr/Login/SocialLogin.php:1392
1039
+ msgid "Baidu authentication failed (access_token does not exist)."
1040
  msgstr ""
 
1041
 
1042
  #: forms/wpdFormAttr/Tools/PersonalDataExporter.php:36
1043
  msgid "wpDiscuz Fields Data"
1047
  msgid "Comment Form Fields"
1048
  msgstr "Champs de formulaire de commentaire"
1049
 
1050
+ #: options/addons/al/title.php:7 options/class.WpdiscuzOptions.php:2045
1051
  msgid "Advanced Likers"
1052
  msgstr "Fans avancés"
1053
 
1054
+ #: options/addons/cai/title.php:7 utils/class.WpdiscuzHelperAjax.php:942
1055
  msgid "Comment Author"
1056
  msgstr "Auteur du commentaire"
1057
 
1063
  msgid "More Addons..."
1064
  msgstr "Plus de modules&hellip;"
1065
 
1066
+ #: options/addons/mu/title.php:7 options/class.WpdiscuzOptions.php:2081
1067
  msgid "Media Uploader"
1068
  msgstr "Outil de téléversement des médias"
1069
 
1070
+ #: options/addons/raf/title.php:7 options/class.WpdiscuzOptions.php:2051
1071
  msgid "Report and Flagging"
1072
  msgstr "Rapport et marquage"
1073
 
1075
  msgid "Mentioning"
1076
  msgstr "Citation"
1077
 
1078
+ #: options/class.WpdiscuzOptions.php:325
1079
  msgid "Be the First to Comment!"
1080
  msgstr "Soyez le premier à commenter !"
1081
 
1082
+ #: options/class.WpdiscuzOptions.php:326
1083
  msgid "Start the discussion"
1084
  msgstr "Démarrer la discussion"
1085
 
1086
+ #: options/class.WpdiscuzOptions.php:327
1087
  msgid "Join the discussion"
1088
  msgstr "Rejoindre la discussion"
1089
 
1090
+ #: options/class.WpdiscuzOptions.php:328
1091
  #: options/phrases-layouts/phrases-form.php:19
1092
  msgid "Most reacted comment"
1093
  msgstr "Commentaire avec le plus de réactions"
1094
 
1095
+ #: options/class.WpdiscuzOptions.php:329
1096
  #: options/phrases-layouts/phrases-form.php:23
1097
  msgid "Hottest comment thread"
1098
  msgstr "Le plus populaire des commentaires"
1099
 
1100
+ #: options/class.WpdiscuzOptions.php:330
1101
  #: options/phrases-layouts/phrases-form.php:27
1102
  msgid "Inline Comments"
1103
  msgstr ""
1104
 
1105
+ #: options/class.WpdiscuzOptions.php:332
1106
  #: options/phrases-layouts/phrases-form.php:35
1107
  msgid "Subscribe"
1108
  msgstr "S’abonner"
1109
 
1110
+ #: options/class.WpdiscuzOptions.php:333
1111
  #: options/phrases-layouts/phrases-form.php:39
1112
  msgid "Notify of"
1113
  msgstr "Notifier de"
1114
 
1115
+ #: options/class.WpdiscuzOptions.php:334
1116
  msgid "new follow-up comments"
1117
  msgstr "nouveaux commentaires de suivi"
1118
 
1119
+ #: options/class.WpdiscuzOptions.php:335
1120
  msgid "new replies to my comments"
1121
  msgstr "nouvelles réponses à mes commentaires"
1122
 
1123
+ #: options/class.WpdiscuzOptions.php:336
1124
  msgid "Notify of new replies to this comment"
1125
  msgstr "Notifier des nouvelles réponses à tous mes commentaires"
1126
 
1127
+ #: options/class.WpdiscuzOptions.php:337
1128
  #: options/phrases-layouts/phrases-form.php:55
1129
  msgid "Sort by"
1130
  msgstr "Trier par "
1131
 
1132
+ #: options/class.WpdiscuzOptions.php:338
1133
  #: options/phrases-layouts/phrases-form.php:59
1134
  msgid "Newest"
1135
  msgstr ""
1136
 
1137
+ #: options/class.WpdiscuzOptions.php:339
1138
  #: options/phrases-layouts/phrases-form.php:63
1139
  msgid "Oldest"
1140
  msgstr ""
1141
 
1142
+ #: options/class.WpdiscuzOptions.php:340
1143
  #: options/phrases-layouts/phrases-form.php:67
1144
  msgid "Most Voted"
1145
  msgstr ""
1146
 
1147
+ #: options/class.WpdiscuzOptions.php:341
1148
  msgid "Load More Comments"
1149
  msgstr "Afficher plus de commentaires"
1150
 
1151
+ #: options/class.WpdiscuzOptions.php:342
1152
  #: options/phrases-layouts/phrases-general.php:19
1153
  msgid "Load Rest of Comments"
1154
  msgstr "Afficher le reste des commentaires"
1155
 
1156
+ #: options/class.WpdiscuzOptions.php:343
1157
  #: options/options-layouts/html-moderation.php:135
1158
  #: options/phrases-layouts/phrases-comment.php:11
1159
  msgid "Reply"
1160
  msgstr "Répondre"
1161
 
1162
+ #: options/class.WpdiscuzOptions.php:344
1163
  #: options/phrases-layouts/phrases-comment.php:15
1164
  msgid "Share"
1165
  msgstr "Partager"
1166
 
1167
+ #: options/class.WpdiscuzOptions.php:346
1168
  #: options/phrases-layouts/phrases-comment.php:23
1169
  msgid "Share On Facebook"
1170
  msgstr "Partager sur Facebook"
1171
 
1172
+ #: options/class.WpdiscuzOptions.php:347
1173
  #: options/phrases-layouts/phrases-comment.php:27
1174
  msgid "Share On Twitter"
1175
  msgstr "Partager sur Twitter"
1176
 
1177
+ #: options/class.WpdiscuzOptions.php:348
1178
  #: options/phrases-layouts/phrases-comment.php:31
1179
+ msgid "Share On WhatsApp"
1180
+ msgstr ""
1181
 
1182
+ #: options/class.WpdiscuzOptions.php:349
1183
  #: options/phrases-layouts/phrases-comment.php:35
1184
  msgid "Share On VKontakte"
1185
  msgstr "Partager sur VKontakte"
1186
 
1187
+ #: options/class.WpdiscuzOptions.php:350
1188
  #: options/phrases-layouts/phrases-comment.php:39
1189
  msgid "Share On Odnoklassniki"
1190
  msgstr "Partager sur Odnoklassniki"
1191
 
1192
+ #: options/class.WpdiscuzOptions.php:351
1193
  #: options/phrases-layouts/phrases-comment.php:43
1194
  msgid "Hide Replies"
1195
  msgstr "Masquer les réponses"
1196
 
1197
+ #: options/class.WpdiscuzOptions.php:352
1198
  #: options/phrases-layouts/phrases-comment.php:47
1199
  msgid "View Replies"
1200
  msgstr "Voir les réponses"
1201
 
1202
+ #: options/class.WpdiscuzOptions.php:353 options/class.WpdiscuzOptions.php:473
1203
  msgid "New Comment"
1204
  msgstr "Nouveau Commentaire"
1205
 
1206
+ #: options/class.WpdiscuzOptions.php:354
1207
  msgid ""
1208
+ "Hi [SUBSCRIBER_NAME],<br/><br/> new comment has been posted by the "
1209
  "<em><strong>[COMMENT_AUTHOR]</em></strong> on the discussion section you've "
1210
  "been interested in<br/><br/><a href='[COMMENT_URL]'>[COMMENT_URL]</a><br/"
1211
  "><br/>[COMMENT_CONTENT]<br/><br/><a href='[UNSUBSCRIBE_URL]'>Unsubscribe</a>"
1212
  msgstr ""
1213
 
1214
+ #: options/class.WpdiscuzOptions.php:355 options/class.WpdiscuzOptions.php:357
1215
  msgid "New Reply"
1216
  msgstr "Nouvelle réponse"
1217
 
1218
+ #: options/class.WpdiscuzOptions.php:356 options/class.WpdiscuzOptions.php:358
1219
  msgid ""
1220
+ "Hi [SUBSCRIBER_NAME],<br/><br/> new reply has been posted by the "
1221
  "<em><strong>[COMMENT_AUTHOR]</em></strong> on the discussion section you've "
1222
  "been interested in<br/><br/><a href='[COMMENT_URL]'>[COMMENT_URL]</a><br/"
1223
  "><br/>[COMMENT_CONTENT]<br/><br/><a href='[UNSUBSCRIBE_URL]'>Unsubscribe</a>"
1224
  msgstr ""
1225
 
1226
+ #: options/class.WpdiscuzOptions.php:359
1227
  msgid "You're subscribed for new replies on this comment"
1228
  msgstr "Vous êtes abonné aux nouvelles réponses sur ce commentaire"
1229
 
1230
+ #: options/class.WpdiscuzOptions.php:360
1231
  msgid "You're subscribed for new replies on all your comments"
1232
  msgstr "Vous êtes abonné aux nouvelles réponses à tous vos commentaires"
1233
 
1234
+ #: options/class.WpdiscuzOptions.php:361
1235
  msgid "You're subscribed for new follow-up comments on this post"
1236
  msgstr "Vous êtes abonné à tous les commentaires de cet article"
1237
 
1238
+ #: options/class.WpdiscuzOptions.php:362
1239
+ #: options/phrases-layouts/phrases-email.php:176
1240
  msgid "Unsubscribe"
1241
  msgstr "Désabonner"
1242
 
1243
+ #: options/class.WpdiscuzOptions.php:363
1244
  msgid "Cancel subscription"
1245
  msgstr "Annuler l’abonnement"
1246
 
1247
+ #: options/class.WpdiscuzOptions.php:364
1248
  #: options/phrases-layouts/phrases-notification.php:19
1249
  msgid "You've successfully unsubscribed."
1250
  msgstr "Vous vous êtes désabonné avec succès."
1251
 
1252
+ #: options/class.WpdiscuzOptions.php:365
1253
  #: options/phrases-layouts/phrases-notification.php:15
1254
  msgid "You've successfully subscribed."
1255
  msgstr "Vous êtes bien abonné."
1256
 
1257
+ #: options/class.WpdiscuzOptions.php:366
1258
+ #: options/phrases-layouts/phrases-email.php:184
1259
  msgid "Confirm your subscription"
1260
  msgstr "Confirmer votre abonnement"
1261
 
1262
+ #: options/class.WpdiscuzOptions.php:367
1263
+ #: options/phrases-layouts/phrases-email.php:188
1264
  msgid "You've successfully confirmed your subscription."
1265
  msgstr "Vous avez confirmé votre abonnement avec succès."
1266
 
1267
+ #: options/class.WpdiscuzOptions.php:368
1268
  msgid "Subscription Confirmation"
1269
  msgstr "Confirmation d’abonnement"
1270
 
1271
+ #: options/class.WpdiscuzOptions.php:369
1272
  msgid ""
1273
  "Hi, <br/> You just subscribed for new comments on our website. This means "
1274
  "you will receive an email when new comments are posted according to "
1279
  "href='[CANCEL_URL]'>Cancel Subscription</a>"
1280
  msgstr ""
1281
 
1282
+ #: options/class.WpdiscuzOptions.php:370
1283
  msgid "please fill out this field to comment"
1284
  msgstr "Merci de compléter ce champ pour commenter"
1285
 
1286
+ #: options/class.WpdiscuzOptions.php:371
1287
  msgid "email address is invalid"
1288
  msgstr "Adresse email invalide"
1289
 
1290
+ #: options/class.WpdiscuzOptions.php:372
1291
  msgid "url is invalid"
1292
  msgstr "URL invalide"
1293
 
1294
+ #: options/class.WpdiscuzOptions.php:373
1295
  msgid "year"
1296
  msgstr "année"
1297
 
1298
+ #: options/class.WpdiscuzOptions.php:374
1299
  msgid "years"
1300
  msgstr "années"
1301
 
1302
+ #: options/class.WpdiscuzOptions.php:375
1303
  msgid "month"
1304
  msgstr "mois"
1305
 
1306
+ #: options/class.WpdiscuzOptions.php:376
1307
  msgid "months"
1308
  msgstr "mois"
1309
 
1310
+ #: options/class.WpdiscuzOptions.php:377
1311
  msgid "day"
1312
  msgstr "jour"
1313
 
1314
+ #: options/class.WpdiscuzOptions.php:378
1315
+ #: options/options-layouts/html-general.php:252
1316
  msgid "days"
1317
  msgstr "jours"
1318
 
1319
+ #: options/class.WpdiscuzOptions.php:379
1320
  msgid "hour"
1321
  msgstr "heure"
1322
 
1323
+ #: options/class.WpdiscuzOptions.php:380
1324
  msgid "hours"
1325
  msgstr "heures"
1326
 
1327
+ #: options/class.WpdiscuzOptions.php:381
1328
  msgid "minute"
1329
  msgstr "minute"
1330
 
1331
+ #: options/class.WpdiscuzOptions.php:382
1332
  msgid "minutes"
1333
  msgstr "minutes"
1334
 
1335
+ #: options/class.WpdiscuzOptions.php:383
1336
  msgid "second"
1337
  msgstr "seconde"
1338
 
1339
+ #: options/class.WpdiscuzOptions.php:384
1340
  #: options/options-layouts/html-live.php:111
1341
  #: options/options-layouts/html-live.php:126
1342
  msgid "seconds"
1343
  msgstr "secondes"
1344
 
1345
+ #: options/class.WpdiscuzOptions.php:385
1346
  msgid "right now"
1347
  msgstr "à l’instant"
1348
 
1349
+ #: options/class.WpdiscuzOptions.php:386
1350
  msgid "ago"
1351
  msgstr "il y a"
1352
 
1353
+ #: options/class.WpdiscuzOptions.php:387
1354
  #: options/phrases-layouts/phrases-notification.php:38
1355
  msgid "You must be"
1356
  msgstr "Vous devez"
1357
 
1358
+ #: options/class.WpdiscuzOptions.php:388
1359
  msgid "You are logged in as"
1360
  msgstr "Vous êtes connecté en tant que"
1361
 
1362
+ #: options/class.WpdiscuzOptions.php:389
1363
  #: options/phrases-layouts/phrases-notification.php:29
1364
  msgid "Login"
1365
  msgstr "Connexion"
1366
 
1367
+ #: options/class.WpdiscuzOptions.php:390
1368
  #: options/phrases-layouts/phrases-notification.php:33
1369
  #, php-format
1370
  msgid "Please %s to comment"
1371
  msgstr "Veuillez %s pour commenter"
1372
 
1373
+ #: options/class.WpdiscuzOptions.php:391
1374
  #: options/phrases-layouts/phrases-notification.php:54
1375
  msgid "Log out"
1376
  msgstr "Se déconnecter"
1377
 
1378
+ #: options/class.WpdiscuzOptions.php:392
1379
  msgid "logged in"
1380
  msgstr "vous connecter"
1381
 
1382
+ #: options/class.WpdiscuzOptions.php:393
1383
  msgid "to post a comment."
1384
  msgstr "pour publier un commentaire."
1385
 
1386
+ #: options/class.WpdiscuzOptions.php:394
1387
  #: options/phrases-layouts/phrases-comment.php:75
1388
  msgid "Vote Up"
1389
  msgstr "Vote Pour"
1390
 
1391
+ #: options/class.WpdiscuzOptions.php:395
1392
  #: options/phrases-layouts/phrases-comment.php:79
1393
  msgid "Vote Down"
1394
  msgstr "Vote Contre"
1395
 
1396
+ #: options/class.WpdiscuzOptions.php:396
1397
  #: options/phrases-layouts/phrases-notification.php:58
1398
  msgid "Vote Counted"
1399
  msgstr "Votes comptabilisés"
1400
 
1401
+ #: options/class.WpdiscuzOptions.php:397
1402
  msgid "You've already voted for this comment"
1403
  msgstr "Vous avez déjà voté pour ce commentaire"
1404
 
1405
+ #: options/class.WpdiscuzOptions.php:398
1406
  #: options/phrases-layouts/phrases-error.php:27
1407
  msgid "Voting Error"
1408
  msgstr "Erreur sur vote"
1409
 
1410
+ #: options/class.WpdiscuzOptions.php:399
1411
  msgid "You Must Be Logged In To Vote"
1412
  msgstr "Vous devez être connecté pour voter"
1413
 
1414
+ #: options/class.WpdiscuzOptions.php:400
1415
  msgid "You cannot vote for your comment"
1416
  msgstr "Vous ne pouvez pas voter pour vos propres commentaires"
1417
 
1418
+ #: options/class.WpdiscuzOptions.php:401
1419
  msgid "You are not allowed to vote for this comment"
1420
  msgstr "Vous n’êtes pas autorisé à voter pour ce commentaire"
1421
 
1422
+ #: options/class.WpdiscuzOptions.php:402
1423
  #: options/phrases-layouts/phrases-error.php:39
1424
  msgid "Invalid Captcha Code"
1425
  msgstr "Code Captcha invalide"
1426
 
1427
+ #: options/class.WpdiscuzOptions.php:403
1428
  #: options/phrases-layouts/phrases-error.php:43
1429
  msgid "Some of field value is invalid"
1430
  msgstr "Une partie du champ est invalide"
1431
 
1432
+ #: options/class.WpdiscuzOptions.php:404
1433
  #: options/phrases-layouts/phrases-notification.php:66
1434
  msgid "Awaiting for approval"
1435
  msgstr ""
1436
 
1437
+ #: options/class.WpdiscuzOptions.php:405
1438
  msgid "Sorry, the comment was not updated"
1439
  msgstr "Désolé, le commentaire n’a pas été mis à jour"
1440
 
1441
+ #: options/class.WpdiscuzOptions.php:406
1442
+ msgid "Sorry, this comment is no longer possible to edit"
1443
+ msgstr ""
1444
 
1445
+ #: options/class.WpdiscuzOptions.php:407
1446
  msgid "You've not made any changes"
1447
  msgstr "Vous n’avez fait aucune modification"
1448
 
1449
+ #: options/class.WpdiscuzOptions.php:408 utils/class.WpdiscuzHelper.php:1213
1450
  msgid "Save"
1451
  msgstr "Enregistrer"
1452
 
1453
+ #: options/class.WpdiscuzOptions.php:409
1454
  msgid "Cancel"
1455
  msgstr "Annuler"
1456
 
1457
+ #: options/class.WpdiscuzOptions.php:410
1458
  msgid "Input is too short"
1459
  msgstr "L’entrée est trop courte"
1460
 
1461
+ #: options/class.WpdiscuzOptions.php:411
1462
  msgid "Input is too long"
1463
  msgstr "L’entrée est trop longue"
1464
 
1465
+ #: options/class.WpdiscuzOptions.php:412
1466
  msgid "Read more &raquo;"
1467
  msgstr "Lire la suite &raquo;"
1468
 
1469
+ #: options/class.WpdiscuzOptions.php:413
1470
  msgid "Anonymous"
1471
  msgstr "Anonyme"
1472
 
1473
+ #: options/class.WpdiscuzOptions.php:414
1474
  #: options/phrases-layouts/phrases-error.php:67
1475
  msgid "Please fill out required fields"
1476
  msgstr "Veuillez remplir les champs obligatoires"
1477
 
1478
+ #: options/class.WpdiscuzOptions.php:415
1479
  #: options/phrases-layouts/phrases-social-login.php:11
1480
  msgid "Connect with"
1481
  msgstr "Se connecter avec :"
1482
 
1483
+ #: options/class.WpdiscuzOptions.php:416
1484
  #: options/phrases-layouts/phrases-notification.php:11
1485
  msgid "You're subscribed to"
1486
  msgstr "Vous êtes abonné à "
1487
 
1488
+ #: options/class.WpdiscuzOptions.php:417
1489
  msgid "Participate in this discussion via email"
1490
  msgstr "Participer à cette discussion par e-mail"
1491
 
1492
+ #: options/class.WpdiscuzOptions.php:418 utils/layouts/pagination.php:45
1493
  msgid "&rsaquo;"
1494
  msgstr "&rsaquo;"
1495
 
1496
+ #: options/class.WpdiscuzOptions.php:419
1497
  msgid "Your comment is approved!"
1498
  msgstr "Votre commentaire est approuvé !"
1499
 
1500
+ #: options/class.WpdiscuzOptions.php:420
1501
  msgid ""
1502
  "Hi [COMMENT_AUTHOR],<br/><br/>your comment was approved.<br/><br/><a href="
1503
  "\"[COMMENT_URL]\">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]"
1505
  "Bonjour [COMMENT_AUTHOR],<br/><br/>Votre commentaire a été approuvé.<br/><br/"
1506
  "><a href=\"[COMMENT_URL]\">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]"
1507
 
1508
+ #: options/class.WpdiscuzOptions.php:421
1509
  msgid "Comments are closed."
1510
  msgstr "Les commentaires sont fermés."
1511
 
1512
+ #: options/class.WpdiscuzOptions.php:422
1513
  msgid "Stick this comment"
1514
  msgstr "Épingler ce commentaire"
1515
 
1516
+ #: options/class.WpdiscuzOptions.php:423
1517
  #: options/phrases-layouts/phrases-comment.php:103
1518
  msgid "Stick"
1519
  msgstr "Épingler"
1520
 
1521
+ #: options/class.WpdiscuzOptions.php:424
1522
  #: options/phrases-layouts/phrases-comment.php:107
1523
  msgid "Unstick"
1524
  msgstr "Ne plus épingler"
1525
 
1526
+ #: options/class.WpdiscuzOptions.php:425
1527
  msgid "Sticky Comment Thread"
1528
  msgstr ""
1529
 
1530
+ #: options/class.WpdiscuzOptions.php:426
1531
  msgid "Close this thread"
1532
  msgstr "Fermer ce fil"
1533
 
1534
+ #: options/class.WpdiscuzOptions.php:427 options/html-dashboard.php:34
1535
  #: options/phrases-layouts/phrases-comment.php:119
1536
  msgid "Close"
1537
  msgstr "Fermer"
1538
 
1539
+ #: options/class.WpdiscuzOptions.php:428
1540
  #: options/phrases-layouts/phrases-comment.php:123
1541
  msgid "Open"
1542
  msgstr "Ouvert"
1543
 
1544
+ #: options/class.WpdiscuzOptions.php:429
1545
  msgid "Closed Comment Thread"
1546
  msgstr ""
1547
 
1548
+ #: options/class.WpdiscuzOptions.php:430
1549
  msgid "I allow to create an account"
1550
  msgstr "J’autorise à créer un compte"
1551
 
1552
+ #: options/class.WpdiscuzOptions.php:431
1553
  msgid ""
1554
  "When you login first time using a Social Login button, we collect your "
1555
  "account public profile information shared by Social Login provider, based on "
1564
  "mail pour créer automatiquement un compte pour vous sur notre site Web. Une "
1565
  "fois votre compte créé, vous serez connecté à ce compte."
1566
 
1567
+ #: options/class.WpdiscuzOptions.php:432
1568
  #: options/phrases-layouts/phrases-social-login.php:23
1569
  msgid "Disagree"
1570
  msgstr "Désapprouver"
1571
 
1572
+ #: options/class.WpdiscuzOptions.php:433
1573
  #: options/phrases-layouts/phrases-social-login.php:27
1574
  msgid "Agree"
1575
  msgstr "Approuver"
1576
 
1577
+ #: options/class.WpdiscuzOptions.php:434
1578
  #: options/phrases-layouts/phrases-user-settings.php:11
1579
  msgid "My content and settings"
1580
  msgstr "Mon contenu et mes réglages"
1581
 
1582
+ #: options/class.WpdiscuzOptions.php:435
1583
  #: options/phrases-layouts/phrases-user-settings.php:15
1584
  msgid "Activity"
1585
  msgstr "Activité"
1586
 
1587
+ #: options/class.WpdiscuzOptions.php:436 options/html-dashboard.php:201
1588
  #: options/phrases-layouts/phrases-user-settings.php:19
1589
+ #: utils/class.WpdiscuzHelperAjax.php:949
1590
  msgid "Subscriptions"
1591
  msgstr "Abonnement"
1592
 
1593
+ #: options/class.WpdiscuzOptions.php:437
1594
  #: options/phrases-layouts/phrases-user-settings.php:23
1595
  msgid "Follows"
1596
  msgstr "Suivis"
1597
 
1598
+ #: options/class.WpdiscuzOptions.php:438
1599
  #: options/phrases-layouts/phrases-user-settings.php:27
1600
  msgid "In response to:"
1601
  msgstr "En réponse à :"
1602
 
1603
+ #: options/class.WpdiscuzOptions.php:439 options/class.WpdiscuzOptions.php:445
1604
  #: options/phrases-layouts/phrases-user-settings.php:31
1605
  #: options/phrases-layouts/phrases-user-settings.php:55
1606
  msgid "Bulk management via email"
1607
  msgstr "Gestion en masse par e-mail"
1608
 
1609
+ #: options/class.WpdiscuzOptions.php:440
1610
  msgid ""
1611
  "Click the button above to get an email with bulk delete and unsubscribe "
1612
  "links."
1614
  "Cliquez sur le bouton ci-dessus pour recevoir un e-mail contenant des liens "
1615
  "de suppression et de désabonnement en masse."
1616
 
1617
+ #: options/class.WpdiscuzOptions.php:441
1618
  #: options/phrases-layouts/phrases-user-settings.php:39
1619
  msgid "No data found!"
1620
  msgstr "Aucune donnée disponible !"
1621
 
1622
+ #: options/class.WpdiscuzOptions.php:442 options/class.WpdiscuzOptions.php:446
1623
  #: options/phrases-layouts/phrases-user-settings.php:43
1624
  #: options/phrases-layouts/phrases-user-settings.php:60
1625
  msgid "Delete all my comments"
1626
  msgstr "Supprimer tous mes commentaires"
1627
 
1628
+ #: options/class.WpdiscuzOptions.php:443
1629
  #: options/phrases-layouts/phrases-user-settings.php:47
1630
  msgid "Cancel all comment subscriptions"
1631
  msgstr "Annuler tous les abonnements aux commentaires"
1632
 
1633
+ #: options/class.WpdiscuzOptions.php:444
1634
  #: options/phrases-layouts/phrases-user-settings.php:51
1635
  msgid "Clear cookies with my personal data"
1636
  msgstr "Effacer les cookies avec mes données personnelles"
1637
 
1638
+ #: options/class.WpdiscuzOptions.php:447
1639
  msgid ""
1640
  "Please use this link to delete all your comments. Please note, that this "
1641
  "action cannot be undone.<br/><br/><a href=\"[DELETE_COMMENTS_URL]\" target="
1646
  "\"[DELETE_COMMENTS_URL]\" target=\"_blank\">Supprimer tous mes commentaires</"
1647
  "a>.<br/><br/>"
1648
 
1649
+ #: options/class.WpdiscuzOptions.php:448
1650
  #: options/phrases-layouts/phrases-user-settings.php:85
1651
  msgid "Delete all my subscriptions"
1652
  msgstr "Supprimer tous mes abonnements"
1653
 
1654
+ #: options/class.WpdiscuzOptions.php:449
1655
  msgid ""
1656
  "Please use this link to cancel all subscriptions for new comments. Please "
1657
  "note, that this action cannot be undone.<br/><br/><a href="
1663
  "><br/><a href=\"[DELETE_SUBSCRIPTIONS_URL]\" target=\"_blank\">Supprimer "
1664
  "tous mes abonnements</a><br/><br/>"
1665
 
1666
+ #: options/class.WpdiscuzOptions.php:450
1667
  #: options/phrases-layouts/phrases-user-settings.php:110
1668
  msgid "Delete all my follows"
1669
  msgstr "Supprimer tous mes suivis"
1670
 
1671
+ #: options/class.WpdiscuzOptions.php:451
1672
  msgid ""
1673
  "Please use this link to cancel all follows for new comments. Please note, "
1674
  "that this action cannot be undone.<br/><br/><a href=\"[DELETE_FOLLOWS_URL]\" "
1679
  "\"[DELETE_FOLLOWS_URL]\" target=\"_blank\">Supprimer tous mes suivis</a><br/"
1680
  "><br/>"
1681
 
1682
+ #: options/class.WpdiscuzOptions.php:452
1683
  #: options/phrases-layouts/phrases-user-settings.php:134
1684
  msgid "subscribed to this comment"
1685
  msgstr "abonné à ce commentaire"
1686
 
1687
+ #: options/class.WpdiscuzOptions.php:453
1688
  #: options/phrases-layouts/phrases-user-settings.php:138
1689
  msgid "subscribed to my comments"
1690
  msgstr "abonné à mes commentaires"
1691
 
1692
+ #: options/class.WpdiscuzOptions.php:454
1693
  #: options/phrases-layouts/phrases-user-settings.php:142
1694
  msgid "subscribed to all follow-up comments of this post"
1695
  msgstr "abonné à tous les commentaires de suivi de ce article"
1696
 
1697
+ #: options/class.WpdiscuzOptions.php:455
1698
  #: options/phrases-layouts/phrases-user-settings.php:146
1699
  msgid "Please check your email."
1700
  msgstr "Veuillez consulter vos e-mails."
1701
 
1702
+ #: options/class.WpdiscuzOptions.php:456
1703
  #: options/phrases-layouts/phrases-user-settings.php:150
1704
  msgid "Error : Can't send email."
1705
  msgstr "Erreur : impossible d’envoyer un e-mail."
1706
 
1707
+ #: options/class.WpdiscuzOptions.php:457
1708
  #: options/phrases-layouts/phrases-user-settings.php:154
1709
  msgid "Are you sure you want to delete this comment?"
1710
  msgstr "Êtes-vous sûr de vouloir supprimer ce commentaire ?"
1711
 
1712
+ #: options/class.WpdiscuzOptions.php:458
1713
  #: options/phrases-layouts/phrases-user-settings.php:158
1714
  msgid "Are you sure you want to cancel this subscription?"
1715
  msgstr "Êtes-vous sûr de vouloir annuler cet abonnement ?"
1716
 
1717
+ #: options/class.WpdiscuzOptions.php:459
1718
  #: options/phrases-layouts/phrases-user-settings.php:162
1719
  msgid "Are you sure you want to cancel this follow?"
1720
  msgstr "Confirmez-vous vouloir annuler ce suivi ?"
1721
 
1722
+ #: options/class.WpdiscuzOptions.php:460
1723
  #: options/phrases-layouts/phrases-follow.php:11
1724
  msgid "Follow this user"
1725
  msgstr "Suivre cet utilisateur"
1726
 
1727
+ #: options/class.WpdiscuzOptions.php:461
1728
  #: options/phrases-layouts/phrases-follow.php:15
1729
  msgid "Unfollow this user"
1730
  msgstr "Ne plus suivre cet utilisateur"
1731
 
1732
+ #: options/class.WpdiscuzOptions.php:462
1733
  #: options/phrases-layouts/phrases-follow.php:19
1734
  msgid "You started following this comment author"
1735
  msgstr "Vous avez commencé à suivre cet auteur de commentaires"
1736
 
1737
+ #: options/class.WpdiscuzOptions.php:463
1738
  msgid "You stopped following this comment author."
1739
  msgstr "Vous avez cessé de suivre cet auteur de commentaire."
1740
 
1741
+ #: options/class.WpdiscuzOptions.php:464
1742
  msgid "Please check your email and confirm the user following request."
1743
  msgstr "Veuillez vérifier vos e-mail et confirmer la demande de l’utilisateur."
1744
 
1745
+ #: options/class.WpdiscuzOptions.php:465
1746
  msgid "Sorry, we couldn't send confirmation email."
1747
  msgstr "Désolé, nous n’avons pas pu envoyer l’e-mail de confirmation."
1748
 
1749
+ #: options/class.WpdiscuzOptions.php:466
1750
  msgid "Please login to follow users."
1751
  msgstr "Veuillez vous connecter pour suivre les utilisateurs."
1752
 
1753
+ #: options/class.WpdiscuzOptions.php:467
1754
  msgid "We are sorry, but you can't follow this user."
1755
  msgstr "Nous sommes désolés, mais vous ne pouvez pas suivre cet utilisateur."
1756
 
1757
+ #: options/class.WpdiscuzOptions.php:468
1758
  msgid "Following failed. Please try again later."
1759
  msgstr "Le suivi a échoué. Veuillez réessayer plus tard."
1760
 
1761
+ #: options/class.WpdiscuzOptions.php:469
1762
  msgid "Confirm user following request"
1763
  msgstr "Confirmer la demande de suivi utilisateur"
1764
 
1765
+ #: options/class.WpdiscuzOptions.php:470
1766
  msgid "Cancel user following request"
1767
  msgstr "Annuler la demande de suivi utilisateur"
1768
 
1769
+ #: options/class.WpdiscuzOptions.php:471
1770
  msgid "User Following Confirmation"
1771
  msgstr "Confirmation de suivi d’utilisateur"
1772
 
1773
+ #: options/class.WpdiscuzOptions.php:472
1774
  msgid "Confirm Follow"
1775
  msgstr "Confirmer l’abonnement"
1776
 
1777
+ #: options/class.WpdiscuzOptions.php:472 options/class.WpdiscuzOptions.php:474
1778
+ #: utils/class.WpdiscuzHelperEmail.php:426
1779
  msgid "Unfollow"
1780
  msgstr ""
1781
 
1782
+ #: options/class.WpdiscuzOptions.php:472
1783
  msgid ""
1784
  "Hi, <br/> You just started following a new user. You'll get email "
1785
  "notification once new comment is posted by this user. <br/> Please click on "
1789
  "\"[CONFIRM_URL]\">"
1790
  msgstr ""
1791
 
1792
+ #: options/class.WpdiscuzOptions.php:474
1793
  msgid ""
1794
+ "Hi [FOLLOWER_NAME],<br/><br/> new comment has been posted by the "
1795
  "<em><strong>[COMMENT_AUTHOR]</em></strong> you are following<br/><br/><a "
1796
  "href=\"[COMMENT_URL]\">[COMMENT_URL]</a><br/><br/>[COMMENT_CONTENT]<br/><br/"
1797
  "><a href=\"[CANCEL_URL]\">"
1798
  msgstr ""
1799
 
1800
+ #: options/class.WpdiscuzOptions.php:475
1801
  msgid "You have been mentioned in comment"
1802
  msgstr ""
1803
 
1804
+ #: options/class.WpdiscuzOptions.php:476
1805
  msgid ""
1806
  "Hi [MENTIONED_USER_NAME]!<br/>You have been mentioned in a comment posted on "
1807
  "\"[POST_TITLE]\" post by [COMMENT_AUTHOR].<br/><br/>Comment URL: <a href="
1808
  "\"[COMMENT_URL]\">[COMMENT_URL]</a>"
1809
  msgstr ""
1810
 
1811
+ #: options/class.WpdiscuzOptions.php:477
1812
  #: options/phrases-layouts/phrases-general.php:23
1813
  msgid "Copied to clipboard!"
1814
  msgstr ""
1815
 
1816
+ #: options/class.WpdiscuzOptions.php:478
1817
  #: options/phrases-layouts/phrases-general.php:27
1818
  msgid "Select a part of text and ask readers for feedback (inline commenting)"
1819
  msgstr ""
1820
 
1821
+ #: options/class.WpdiscuzOptions.php:479
1822
  #: options/phrases-layouts/phrases-general.php:31
1823
  msgid "Ask for Feedback"
1824
  msgstr ""
1825
 
1826
+ #: options/class.WpdiscuzOptions.php:480
1827
  #: options/phrases-layouts/phrases-general.php:35
1828
  msgid "Please leave a feedback on this"
1829
  msgstr ""
1830
 
1831
+ #: options/class.WpdiscuzOptions.php:482
1832
+ #: utils/deactivation-reason-modal.php:157
 
 
 
 
1833
  msgid "Thank you for your feedback!"
1834
  msgstr "Merci pour votre retour !"
1835
 
1836
+ #: options/class.WpdiscuzOptions.php:483
1837
  msgid "Commenting is closed!"
1838
  msgstr ""
1839
 
1840
+ #: options/class.WpdiscuzOptions.php:484
1841
  #: options/phrases-layouts/phrases-general.php:51
1842
  msgid "This is closed comment thread"
1843
  msgstr "Ceci est un fil de commentaire fermé"
1844
 
1845
+ #: options/class.WpdiscuzOptions.php:485
1846
  msgid "Would love your thoughts, please comment."
1847
  msgstr ""
1848
 
1849
+ #: options/class.WpdiscuzOptions.php:486
1850
  #: options/phrases-layouts/phrases-general.php:59
1851
  msgid "vote"
1852
  msgstr ""
1853
 
1854
+ #: options/class.WpdiscuzOptions.php:487
1855
  #: options/phrases-layouts/phrases-general.php:63
1856
  msgid "votes"
1857
  msgstr ""
1858
 
1859
+ #: options/class.WpdiscuzOptions.php:488
1860
  #: options/phrases-layouts/phrases-general.php:67
1861
  msgid "Comment Link"
1862
  msgstr ""
1863
 
1864
+ #: options/class.WpdiscuzOptions.php:489 options/class.WpdiscuzOptions.php:490
1865
  #, php-format
1866
  msgid "We are sorry, you are not allowed to comment more than %d time(s)!"
1867
  msgstr ""
1868
 
1869
+ #: options/class.WpdiscuzOptions.php:491
1870
  #, php-format
1871
  msgid "We are sorry, you are not allowed to reply more than %d time(s)!"
1872
  msgstr ""
1873
 
1874
+ #: options/class.WpdiscuzOptions.php:492
1875
  #: options/phrases-layouts/phrases-general.php:83
1876
  msgid "Your comment here..."
1877
  msgstr ""
1878
 
1879
+ #: options/class.WpdiscuzOptions.php:493
1880
  #: options/phrases-layouts/phrases-general.php:87
1881
  msgid "Notify me via email when a new reply is posted"
1882
  msgstr ""
1883
 
1884
+ #: options/class.WpdiscuzOptions.php:494
1885
  #: options/phrases-layouts/phrases-general.php:91
1886
  msgid "Your Name*"
1887
  msgstr ""
1888
 
1889
+ #: options/class.WpdiscuzOptions.php:495
1890
  #: options/phrases-layouts/phrases-general.php:95
1891
  msgid "Your Email"
1892
  msgstr ""
1893
 
1894
+ #: options/class.WpdiscuzOptions.php:496
1895
  #: options/phrases-layouts/phrases-general.php:99
1896
+ msgid "COMMENT"
1897
  msgstr ""
1898
 
1899
+ #: options/class.WpdiscuzOptions.php:497
1900
  #: options/phrases-layouts/phrases-general.php:103
1901
+ msgid "View all comments"
1902
+ msgstr ""
1903
+
1904
+ #: options/class.WpdiscuzOptions.php:498 options/html-dashboard.php:127
1905
+ #: options/phrases-layouts/phrases-general.php:107
1906
+ msgid "Inline Feedbacks"
1907
+ msgstr ""
1908
+
1909
+ #: options/class.WpdiscuzOptions.php:499
1910
+ #: options/phrases-layouts/phrases-general.php:111
1911
  msgid "Unable to send an email"
1912
  msgstr "Impossible d’envoyer un e-mail"
1913
 
1914
+ #: options/class.WpdiscuzOptions.php:500
1915
+ #: options/phrases-layouts/phrases-general.php:115
1916
  msgid "Subscription Fault"
1917
  msgstr "Défaut d’abonnement"
1918
 
1919
+ #: options/class.WpdiscuzOptions.php:501
1920
+ #: options/phrases-layouts/phrases-general.php:119
1921
  msgid "Your comments have been deleted from database"
1922
  msgstr "Vos commentaires ont été supprimés de la base de données"
1923
 
1924
+ #: options/class.WpdiscuzOptions.php:502
1925
+ #: options/phrases-layouts/phrases-general.php:123
1926
  msgid "You cancel all your subscriptions successfully"
1927
  msgstr "Vous avez bien annulé tous vos abonnements"
1928
 
1929
+ #: options/class.WpdiscuzOptions.php:503
1930
+ #: options/phrases-layouts/phrases-general.php:127
1931
  msgid "You cancel all your follows successfully"
1932
  msgstr "Vous avez bien annulé tous vos suivis"
1933
 
1934
+ #: options/class.WpdiscuzOptions.php:504
1935
+ #: options/phrases-layouts/phrases-general.php:131
1936
  msgid "Follow has been confirmed successfully"
1937
  msgstr "Le suivi a bien été confirmé"
1938
 
1939
+ #: options/class.WpdiscuzOptions.php:505
1940
+ #: options/phrases-layouts/phrases-general.php:135
1941
  msgid "Follow has been canceled successfully"
1942
  msgstr "Le suivi a bien été annulé"
1943
 
1944
+ #: options/class.WpdiscuzOptions.php:506
1945
+ #: options/phrases-layouts/phrases-general.php:139
1946
  msgid "Please login to comment"
1947
  msgstr ""
1948
 
1949
+ #: options/class.WpdiscuzOptions.php:507
1950
+ #: options/phrases-layouts/phrases-general.php:143
1951
  msgid "View Comments"
1952
  msgstr ""
1953
 
1954
+ #: options/class.WpdiscuzOptions.php:508
1955
+ #: options/options-layouts/html-form.php:111
1956
+ #: options/phrases-layouts/phrases-general.php:147
1957
  msgid "Spoiler"
1958
  msgstr "Onglet"
1959
 
1960
+ #: options/class.WpdiscuzOptions.php:509
1961
+ #: options/phrases-layouts/phrases-general.php:151
1962
  #, php-format
1963
  msgid "Last edited %1$s by %2$s"
1964
  msgstr ""
1965
 
1966
+ #: options/class.WpdiscuzOptions.php:510
1967
+ #: options/phrases-layouts/phrases-general.php:155
1968
  msgid "Reply to"
1969
  msgstr ""
1970
 
1971
+ #: options/class.WpdiscuzOptions.php:511
1972
+ #: options/phrases-layouts/phrases-general.php:159
1973
  msgid "Manage Comment"
1974
  msgstr ""
1975
 
1976
+ #: options/class.WpdiscuzOptions.php:512
1977
+ #: options/phrases-layouts/phrases-general.php:163
1978
+ msgid "Spoiler Title"
1979
  msgstr ""
1980
 
1981
+ #: options/class.WpdiscuzOptions.php:513
1982
+ #: options/phrases-layouts/phrases-general.php:167
1983
+ msgid "You cannot rate again"
1984
+ msgstr ""
1985
+
1986
+ #: options/class.WpdiscuzOptions.php:514
1987
+ #: options/phrases-layouts/phrases-general.php:171
1988
+ msgid "You're not allowed to rate here"
1989
+ msgstr ""
1990
+
1991
+ #: options/class.WpdiscuzOptions.php:516
1992
  msgid "Are you sure you want to delete this attachment?"
1993
  msgstr ""
1994
 
1995
+ #: options/class.WpdiscuzOptions.php:517
1996
  msgid "Not allowed file type"
1997
  msgstr ""
1998
 
1999
+ #: options/class.WpdiscuzOptions.php:518
2000
  msgid "Maximum number of uploaded files is"
2001
  msgstr ""
2002
 
2003
+ #: options/class.WpdiscuzOptions.php:519
2004
  msgid "Maximum upload file size is"
2005
  msgstr ""
2006
 
2007
+ #: options/class.WpdiscuzOptions.php:520
2008
  msgid "Maximum post size is"
2009
  msgstr ""
2010
 
2011
+ #: options/class.WpdiscuzOptions.php:521
2012
  #: options/phrases-layouts/phrases-media.php:31
2013
  msgid "Attach an image to this comment"
2014
  msgstr ""
2015
 
2016
+ #: options/class.WpdiscuzOptions.php:522
2017
  #: options/phrases-layouts/phrases-media.php:35
2018
  msgid "Change the attached image"
2019
  msgstr ""
2020
 
2021
+ #: options/class.WpdiscuzOptions.php:1136
2022
  msgid ""
2023
  "File is empty. Please upload something more substantial. This error could "
2024
  "also be caused by uploads being disabled in your php.ini or by post_max_size "
2025
  "being defined as smaller than upload_max_filesize in php.ini."
2026
  msgstr ""
2027
 
2028
+ #: options/class.WpdiscuzOptions.php:1137
2029
  msgid "Post ID not exists"
2030
  msgstr ""
2031
 
2032
+ #: options/class.WpdiscuzOptions.php:1138
2033
  msgid "Sorry, uploading not allowed for this post"
2034
  msgstr ""
2035
 
2036
+ #: options/class.WpdiscuzOptions.php:1139
2037
  msgid "You do not have sufficient permissions to perform this action"
2038
  msgstr ""
2039
 
2040
+ #: options/class.WpdiscuzOptions.php:1223
2041
+ #: options/class.WpdiscuzOptions.php:1482
2042
+ #: options/class.WpdiscuzOptions.php:1833
2043
  msgid "Hacker?"
2044
  msgstr "Pirate ?"
2045
 
2046
+ #: options/class.WpdiscuzOptions.php:1746
2047
  msgid "Settings updated"
2048
  msgstr "