"use strict";(self.webpackChunk_cocalc_static=self.webpackChunk_cocalc_static||[]).push([[1128],{81128:(t,o,n)=>{n.r(o),n.d(o,{TaskStore:()=>u});var r,e=n(26131),c=n(83798),s=(r=function(t,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])},r(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=t}r(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}),u=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return s(o,t),o.prototype.get_positions=function(){var t,o=[];return null===(t=this.get("tasks"))||void 0===t||t.forEach((function(t){var n=t.get("position");null!=n&&o.push(n)})),o.sort(e.cmp)},o}(c.Store)}}]);