(self.webpackChunk_studyhub_co_react_comments_django_client=self.webpackChunk_studyhub_co_react_comments_django_client||[]).push([[2751],{50444:(e,t,n)=>{e.exports=n(92349)},92349:(e,t,n)=>{"use strict";t.flow={36:n(13857)},t.text={36:n(27141)}},13857:(e,t,n)=>{"use strict";t.tokenize=function(e,t,n){var u=this,c=r(this.events,"linePrefix"),o=0;return function(t){if(36!==t)throw new Error("expected `$`");return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),a(t)};function a(t){return 36===t?(e.consume(t),o++,a):(e.exit("mathFlowFenceSequence"),o<2?n(t):i(e,l,"whitespace")(t))}function l(t){return null===t||-5===t||-4===t||-3===t?s(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||-5===t||-4===t||-3===t?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),s(t)):36===t?n(t):(e.consume(t),h)}function s(n){return e.exit("mathFlowFence"),u.interrupt?t(n):m(n)}function m(t){return null===t?f(t):-5===t||-4===t||-3===t?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),e.attempt({tokenize:p,partial:!0},f,c?i(e,m,"linePrefix",c+1):m)):(e.enter("mathFlowValue"),x(t))}function x(t){return null===t||-5===t||-4===t||-3===t?(e.exit("mathFlowValue"),m(t)):(e.consume(t),x)}function f(n){return e.exit("mathFlow"),t(n)}function p(e,t,n){var r=0;return i(e,(function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(t)}),"linePrefix",4);function u(t){return 36===t?(e.consume(t),r++,u):r<o?n(t):(e.exit("mathFlowFenceSequence"),i(e,c,"whitespace")(t))}function c(r){return null===r||-5===r||-4===r||-3===r?(e.exit("mathFlowFence"),t(r)):n(r)}}},t.concrete=!0;var r=n(15096),i=n(52928)},27141:(e,t)=>{"use strict";function n(e){return 36!==e||"characterEscape"===this.events[this.events.length-1][1].type}t.tokenize=function(e,t,r){var i,u,c=this,o=0;return function(t){if(36!==t)throw new Error("expected `$`");if(!n.call(c,c.previous))throw new Error("expected correct previous");return e.enter("mathText"),e.enter("mathTextSequence"),a(t)};function a(t){return 36===t?(e.consume(t),o++,a):(e.exit("mathTextSequence"),l(t))}function l(t){return null===t?r(t):36===t?(u=e.enter("mathTextSequence"),i=0,s(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):-5===t||-4===t||-3===t?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("mathTextData"),h(t))}function h(t){return null===t||32===t||36===t||-5===t||-4===t||-3===t?(e.exit("mathTextData"),l(t)):(e.consume(t),h)}function s(n){return 36===n?(e.consume(n),i++,s):i===o?(e.exit("mathTextSequence"),e.exit("mathText"),t(n)):(u.type="mathTextData",h(n))}},t.resolve=function(e){var t,n,r=e.length-4,i=3;if(("lineEnding"===e[i][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type))for(t=i;++t<r;)if("mathTextData"===e[t][1].type){e[r][1].type="mathTextPadding",e[i][1].type="mathTextPadding",i+=2,r-=2;break}t=i-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="mathTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},t.previous=n}}]);