/*! For license information please see npm.unified.02bfa1da20689ab939d7.chunk.js.LICENSE.txt */
(self.webpackChunk_studyhub_co_react_comments_django_client=self.webpackChunk_studyhub_co_react_comments_django_client||[]).push([[1268],{18835:(n,t,e)=>{"use strict";var r=e(18869),o=e(73469),i=e(94470),u=e(48568),f=e(28281),c=e(10939);n.exports=function n(){var t,e=[],o=f(),d={},b=-1;return m.data=function(n,e){if("string"===typeof n)return 2===arguments.length?(h("data",t),d[n]=e,m):l.call(d,n)&&d[n]||null;if(n)return h("data",t),d=n,m;return d},m.freeze=E,m.attachers=e,m.use=function(n){var r;if(h("use",t),null===n||void 0===n);else if("function"===typeof n)l.apply(null,arguments);else{if("object"!==typeof n)throw new Error("Expected usable value, not `"+n+"`");"length"in n?c(n):o(n)}r&&(d.settings=i(d.settings||{},r));return m;function o(n){c(n.plugins),n.settings&&(r=i(r||{},n.settings))}function f(n){if("function"===typeof n)l(n);else{if("object"!==typeof n)throw new Error("Expected usable value, not `"+n+"`");"length"in n?l.apply(null,n):o(n)}}function c(n){var t=-1;if(null===n||void 0===n);else{if("object"!==typeof n||!("length"in n))throw new Error("Expected a list of plugins, not `"+n+"`");for(;++t<n.length;)f(n[t])}}function l(n,t){var r=_(n);r?(u(r[1])&&u(t)&&(t=i(!0,r[1],t)),r[1]=t):e.push(s.call(arguments))}},m.parse=function(n){var t,e=c(n);if(E(),y("parse",t=m.Parser),a(t,"parse"))return new t(String(e),e).parse();return t(String(e),e)},m.stringify=function(n,t){var e,r=c(t);if(E(),g("stringify",e=m.Compiler),w(n),a(e,"compile"))return new e(n,r).compile();return e(n,r)},m.run=j,m.runSync=function(n,t){var e,o;return j(n,t,i),v("runSync","run",o),e;function i(n,t){o=!0,e=t,r(n)}},m.process=C,m.processSync=function(n){var t,e;return E(),y("processSync",m.Parser),g("processSync",m.Compiler),C(t=c(n),o),v("processSync","process",e),t;function o(n){e=!0,r(n)}},m;function m(){for(var t=n(),r=-1;++r<e.length;)t.use.apply(null,e[r]);return t.data(i(!0,{},d)),t}function E(){var n,r;if(t)return m;for(;++b<e.length;)!1!==(n=e[b])[1]&&(!0===n[1]&&(n[1]=void 0),"function"===typeof(r=n[0].apply(m,n.slice(1)))&&o.use(r));return t=!0,b=1/0,m}function _(n){for(var t=-1;++t<e.length;)if(e[t][0]===n)return e[t]}function j(n,t,e){if(w(n),E(),e||"function"!==typeof t||(e=t,t=null),!e)return new Promise(r);function r(r,i){o.run(n,c(t),(function(t,o,u){o=o||n,t?i(t):r?r(o):e(null,o,u)}))}r(null,e)}function C(n,t){if(E(),y("process",m.Parser),g("process",m.Compiler),!t)return new Promise(e);function e(e,r){var o=c(n);p.run(m,{file:o},(function(n){n?r(n):e?e(o):t(null,o)}))}e(null,t)}}().freeze();var s=[].slice,l={}.hasOwnProperty,p=f().use((function(n,t){t.tree=n.parse(t.file)})).use((function(n,t,e){n.run(t.tree,t.file,(function(n,r,o){n?e(n):(t.tree=r,t.file=o,e())}))})).use((function(n,t){var e=n.stringify(t.tree,t.file);void 0===e||null===e||("string"===typeof e||o(e)?t.file.contents=e:t.file.result=e)}));function a(n,t){return"function"===typeof n&&n.prototype&&(function(n){var t;for(t in n)return!0;return!1}(n.prototype)||t in n.prototype)}function y(n,t){if("function"!==typeof t)throw new Error("Cannot `"+n+"` without `Parser`")}function g(n,t){if("function"!==typeof t)throw new Error("Cannot `"+n+"` without `Compiler`")}function h(n,t){if(t)throw new Error("Cannot invoke `"+n+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function w(n){if(!n||"string"!==typeof n.type)throw new Error("Expected node, got `"+n+"`")}function v(n,t,e){if(!e)throw new Error("`"+n+"` finished async. Use `"+t+"` instead")}},73469:n=>{n.exports=function(n){return null!=n&&null!=n.constructor&&"function"===typeof n.constructor.isBuffer&&n.constructor.isBuffer(n)}},48568:n=>{"use strict";n.exports=n=>{if("[object Object]"!==Object.prototype.toString.call(n))return!1;const t=Object.getPrototypeOf(n);return null===t||t===Object.prototype}}}]);