(self.webpackChunk_studyhub_co_react_comments_django_client=self.webpackChunk_studyhub_co_react_comments_django_client||[]).push([[1659],{62854:(n,t,r)=>{"use strict";n.exports=i;var e=r(49858),u=e.CONTINUE,o=e.SKIP,f=e.EXIT;function i(n,t,r,u){"function"===typeof t&&"function"!==typeof r&&(u=r,r=t,t=null),e(n,t,(function(n,t){var e=t[t.length-1],u=e?e.children.indexOf(n):null;return r(n,u,e)}),u)}i.CONTINUE=u,i.SKIP=o,i.EXIT=f},40350:n=>{"use strict";function t(n){if("string"===typeof n)return function(n){return t;function t(t){return Boolean(t&&t.type===n)}}(n);if(null===n||void 0===n)return u;if("object"===typeof n)return("length"in n?e:r)(n);if("function"===typeof n)return n;throw new Error("Expected function, string, or object as test")}function r(n){return function(t){var r;for(r in n)if(t[r]!==n[r])return!1;return!0}}function e(n){var r=function(n){for(var r=[],e=n.length,u=-1;++u<e;)r[u]=t(n[u]);return r}(n),e=r.length;return function(){var n=-1;for(;++n<e;)if(r[n].apply(this,arguments))return!0;return!1}}function u(){return!0}n.exports=t},49858:(n,t,r)=>{"use strict";n.exports=f;var e=r(40350),u="skip",o=!1;function f(n,t,r,f){var c;function l(n,e,s){var p,a=[];return(t&&!c(n,e,s[s.length-1]||null)||(a=i(r(n,s)))[0]!==o)&&n.children&&a[0]!==u&&(p=i(function(n,t){var r,e=-1,u=f?-1:1,i=(f?n.length:e)+u;for(;i>e&&i<n.length;){if((r=l(n[i],i,t))[0]===o)return r;i="number"===typeof r[1]?r[1]:i+u}}(n.children,s.concat(n))))[0]===o?p:a}"function"===typeof t&&"function"!==typeof r&&(f=r,r=t,t=null),c=e(t),l(n,null,[])}function i(n){return null!==n&&"object"===typeof n&&"length"in n?n:"number"===typeof n?[true,n]:[n]}f.CONTINUE=true,f.SKIP=u,f.EXIT=o}}]);