/*! For license information please see npm.vfile.cac866e8828cdd62362a.chunk.js.LICENSE.txt */
(self.webpackChunk_studyhub_co_react_comments_django_client=self.webpackChunk_studyhub_co_react_comments_django_client||[]).push([[4548],{10939:(t,e,n)=>{"use strict";t.exports=n(65905)},45442:(t,e,n)=>{"use strict";var r=n(28064),i=n(54228),s=n(70529);t.exports=h;var o={}.hasOwnProperty,a=["history","path","basename","stem","extname","dirname"];function h(t){var e,n;if(t){if("string"===typeof t||s(t))t={contents:t};else if("message"in t&&"messages"in t)return t}else t={};if(!(this instanceof h))return new h(t);for(this.data={},this.messages=[],this.history=[],this.cwd=i.cwd(),n=-1;++n<a.length;)e=a[n],o.call(t,e)&&(this[e]=t[e]);for(e in t)a.indexOf(e)<0&&(this[e]=t[e])}function f(t,e){if(t&&t.indexOf(r.sep)>-1)throw new Error("`"+e+"` cannot be a path: did not expect `"+r.sep+"`")}function c(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function u(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}h.prototype.toString=function(t){return(this.contents||"").toString(t)},Object.defineProperty(h.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(t){c(t,"path"),this.path!==t&&this.history.push(t)}}),Object.defineProperty(h.prototype,"dirname",{get:function(){return"string"===typeof this.path?r.dirname(this.path):void 0},set:function(t){u(this.path,"dirname"),this.path=r.join(t||"",this.basename)}}),Object.defineProperty(h.prototype,"basename",{get:function(){return"string"===typeof this.path?r.basename(this.path):void 0},set:function(t){c(t,"basename"),f(t,"basename"),this.path=r.join(this.dirname||"",t)}}),Object.defineProperty(h.prototype,"extname",{get:function(){return"string"===typeof this.path?r.extname(this.path):void 0},set:function(t){if(f(t,"extname"),u(this.path,"extname"),t){if(46!==t.charCodeAt(0))throw new Error("`extname` must start with `.`");if(t.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(t||""))}}),Object.defineProperty(h.prototype,"stem",{get:function(){return"string"===typeof this.path?r.basename(this.path,this.extname):void 0},set:function(t){c(t,"stem"),f(t,"stem"),this.path=r.join(this.dirname||"",t+(this.extname||""))}})},65905:(t,e,n)=>{"use strict";var r=n(80734),i=n(45442);t.exports=i,i.prototype.message=function(t,e,n){var i=new r(t,e,n);this.path&&(i.name=this.path+":"+i.name,i.file=this.path);return i.fatal=!1,this.messages.push(i),i},i.prototype.info=function(){var t=this.message.apply(this,arguments);return t.fatal=null,t},i.prototype.fail=function(){var t=this.message.apply(this,arguments);throw t.fatal=!0,t}},28064:(t,e)=>{"use strict";function n(t){var e,n;return r(t),e=47===t.charCodeAt(0),(n=function(t,e){var n,r,i="",s=0,o=-1,a=0,h=-1;for(;++h<=t.length;){if(h<t.length)n=t.charCodeAt(h);else{if(47===n)break;n=47}if(47===n){if(o===h-1||1===a);else if(o!==h-1&&2===a){if(i.length<2||2!==s||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",s=0):s=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),o=h,a=0;continue}}else if(i.length){i="",s=0,o=h,a=0;continue}e&&(i=i.length?i+"/..":"..",s=2)}else i.length?i+="/"+t.slice(o+1,h):i=t.slice(o+1,h),s=h-o-1;o=h,a=0}else 46===n&&a>-1?a++:a=-1}return i}(t,!e)).length||e||(n="."),n.length&&47===t.charCodeAt(t.length-1)&&(n+="/"),e?"/"+n:n}function r(t){if("string"!==typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}e.basename=function(t,e){var n,i,s,o,a=0,h=-1;if(void 0!==e&&"string"!==typeof e)throw new TypeError('"ext" argument must be a string');if(r(t),n=t.length,void 0===e||!e.length||e.length>t.length){for(;n--;)if(47===t.charCodeAt(n)){if(s){a=n+1;break}}else h<0&&(s=!0,h=n+1);return h<0?"":t.slice(a,h)}if(e===t)return"";i=-1,o=e.length-1;for(;n--;)if(47===t.charCodeAt(n)){if(s){a=n+1;break}}else i<0&&(s=!0,i=n+1),o>-1&&(t.charCodeAt(n)===e.charCodeAt(o--)?o<0&&(h=n):(o=-1,h=i));a===h?h=i:h<0&&(h=t.length);return t.slice(a,h)},e.dirname=function(t){var e,n,i;if(r(t),!t.length)return".";e=-1,i=t.length;for(;--i;)if(47===t.charCodeAt(i)){if(n){e=i;break}}else n||(n=!0);return e<0?47===t.charCodeAt(0)?"/":".":1===e&&47===t.charCodeAt(0)?"//":t.slice(0,e)},e.extname=function(t){var e,n,i,s=-1,o=0,a=-1,h=0;r(t),i=t.length;for(;i--;)if(47!==(n=t.charCodeAt(i)))a<0&&(e=!0,a=i+1),46===n?s<0?s=i:1!==h&&(h=1):s>-1&&(h=-1);else if(e){o=i+1;break}if(s<0||a<0||0===h||1===h&&s===a-1&&s===o+1)return"";return t.slice(s,a)},e.join=function(){var t,e=-1;for(;++e<arguments.length;)r(arguments[e]),arguments[e]&&(t=void 0===t?arguments[e]:t+"/"+arguments[e]);return void 0===t?".":n(t)},e.sep="/"},54228:(t,e)=>{"use strict";e.cwd=function(){return"/"}},70529:t=>{t.exports=function(t){return null!=t&&null!=t.constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}}}]);