(self.webpackChunk_studyhub_co_react_comments_django_client=self.webpackChunk_studyhub_co_react_comments_django_client||[]).push([[4548],{63638:(t,e,n)=>{"use strict";var i=n(34155),s=n(62520),r=n(22612),a=n(48738);t.exports=p;var o={}.hasOwnProperty,h=p.prototype;h.toString=function(t){var e=this.contents||"";return a(e)?e.toString(t):String(e)};var f=["history","path","basename","stem","extname","dirname"];function p(t){var e,n,s;if(t){if("string"===typeof t||a(t))t={contents:t};else if("message"in t&&"messages"in t)return t}else t={};if(!(this instanceof p))return new p(t);for(this.data={},this.messages=[],this.history=[],this.cwd=i.cwd(),n=-1,s=f.length;++n<s;)e=f[n],o.call(t,e)&&(this[e]=t[e]);for(e in t)-1===f.indexOf(e)&&(this[e]=t[e])}function c(t,e){if(-1!==t.indexOf(s.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+s.sep+"`")}function u(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function m(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}Object.defineProperty(h,"path",{get:function(){return this.history[this.history.length-1]},set:function(t){u(t,"path"),t!==this.path&&this.history.push(t)}}),Object.defineProperty(h,"dirname",{get:function(){return"string"===typeof this.path?s.dirname(this.path):void 0},set:function(t){m(this.path,"dirname"),this.path=s.join(t||"",this.basename)}}),Object.defineProperty(h,"basename",{get:function(){return"string"===typeof this.path?s.basename(this.path):void 0},set:function(t){u(t,"basename"),c(t,"basename"),this.path=s.join(this.dirname||"",t)}}),Object.defineProperty(h,"extname",{get:function(){return"string"===typeof this.path?s.extname(this.path):void 0},set:function(t){var e=t||"";if(c(e,"extname"),m(this.path,"extname"),e){if("."!==e.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==e.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=r(this.path,e)}}),Object.defineProperty(h,"stem",{get:function(){return"string"===typeof this.path?s.basename(this.path,this.extname):void 0},set:function(t){u(t,"stem"),c(t,"stem"),this.path=s.join(this.dirname||"",t+(this.extname||""))}})},10939:(t,e,n)=>{"use strict";var i=n(80734),s=n(63638);t.exports=s;var r=s.prototype;function a(t,e,n){var s=this.path,r=new i(t,e,n);return s&&(r.name=s+":"+r.name,r.file=s),r.fatal=!1,this.messages.push(r),r}r.message=a,r.info=function(){var t=this.message.apply(this,arguments);return t.fatal=null,t},r.fail=function(){var t=this.message.apply(this,arguments);throw t.fatal=!0,t},r.warn=a},22612:(t,e,n)=>{"use strict";var i=n(62520);t.exports=function(t,e){if("string"!==typeof t)return t;if(0===t.length)return t;var n=i.basename(t,i.extname(t))+e;return i.join(i.dirname(t),n)}}}]);