collect-your-stuff 2.1.2 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/README.md +32 -3926
  2. package/browser/collect-your-stuff.js +912 -549
  3. package/browser/collect-your-stuff.min.js +1 -1
  4. package/dist/collections/arrayable/ArrayElement.d.ts +6 -11
  5. package/dist/collections/arrayable/ArrayElement.js +5 -7
  6. package/dist/collections/arrayable/Arrayable.d.ts +22 -37
  7. package/dist/collections/arrayable/Arrayable.js +208 -223
  8. package/dist/collections/doubly-linked-list/DoubleLinker.d.ts +9 -14
  9. package/dist/collections/doubly-linked-list/DoubleLinker.js +71 -73
  10. package/dist/collections/doubly-linked-list/DoublyLinkedList.d.ts +19 -36
  11. package/dist/collections/doubly-linked-list/DoublyLinkedList.js +310 -327
  12. package/dist/collections/linked-list/LinkedList.d.ts +20 -36
  13. package/dist/collections/linked-list/LinkedList.js +283 -296
  14. package/dist/collections/linked-list/Linker.d.ts +8 -13
  15. package/dist/collections/linked-list/Linker.js +82 -84
  16. package/dist/collections/linked-tree-list/LinkedTreeList.d.ts +24 -43
  17. package/dist/collections/linked-tree-list/LinkedTreeList.js +274 -294
  18. package/dist/collections/linked-tree-list/TreeLinker.d.ts +14 -20
  19. package/dist/collections/linked-tree-list/TreeLinker.js +91 -94
  20. package/dist/collections/queue/Queue.d.ts +10 -14
  21. package/dist/collections/queue/Queue.js +114 -121
  22. package/dist/collections/queue/Queueable.d.ts +13 -22
  23. package/dist/collections/queue/Queueable.js +142 -148
  24. package/dist/collections/queue/TaskQueue.d.ts +8 -17
  25. package/dist/collections/queue/TaskQueue.js +128 -137
  26. package/dist/collections/scoped-collection/ScopedCollection.d.ts +42 -0
  27. package/dist/collections/scoped-collection/ScopedCollection.js +81 -0
  28. package/dist/collections/scoped-collection/ScopedCollection.min.js +1 -0
  29. package/dist/collections/stack/Stack.d.ts +11 -15
  30. package/dist/collections/stack/Stack.js +122 -129
  31. package/dist/collections/stack/Stackable.d.ts +9 -16
  32. package/dist/collections/stack/Stackable.js +81 -85
  33. package/dist/collections/stack/TaskStack.d.ts +8 -17
  34. package/dist/collections/stack/TaskStack.js +98 -107
  35. package/dist/main.d.ts +67 -68
  36. package/dist/main.js +8 -4
  37. package/dist/main.min.js +1 -1
  38. package/dist/recipes/ArrayIterator.d.ts +4 -4
  39. package/dist/recipes/ArrayIterator.js +4 -4
  40. package/dist/recipes/DoubleLinkerIterator.d.ts +3 -3
  41. package/dist/recipes/DoubleLinkerIterator.js +3 -3
  42. package/dist/recipes/IsArrayable.d.ts +13 -33
  43. package/dist/recipes/IsQueue.d.ts +4 -9
  44. package/dist/recipes/IsScopedCollection.d.ts +27 -0
  45. package/dist/recipes/IsScopedCollection.js +5 -0
  46. package/dist/recipes/IsScopedCollection.min.js +1 -0
  47. package/dist/recipes/IsStack.d.ts +4 -9
  48. package/dist/recipes/IsTreeNode.d.ts +1 -1
  49. package/dist/recipes/LinkerIterator.d.ts +3 -3
  50. package/dist/recipes/LinkerIterator.js +3 -3
  51. package/dist/recipes/Runnable.d.ts +3 -16
  52. package/dist/recipes/Runnable.js +3 -9
  53. package/dist/recipes/TreeLinkerIterator.d.ts +4 -4
  54. package/dist/recipes/TreeLinkerIterator.js +36 -36
  55. package/dist/recipes/recipes.d.ts +1 -4
  56. package/dist/recipes/recipes.js +19 -22
  57. package/dist/services/parseTree.d.ts +2 -3
  58. package/dist/services/parseTree.js +23 -24
  59. package/dist/services/parseTreeNext.d.ts +2 -3
  60. package/dist/services/parseTreeNext.js +2 -3
  61. package/dist/services/services.d.ts +1 -4
  62. package/dist/services/services.js +19 -22
  63. package/package.json +4 -4
@@ -1 +1 @@
1
- !function e(t,n,r){function i(o,l){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!l&&a)return a(o,!0);if(s)return s(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[o]={exports:{}};t[o][0].call(c.exports,(function(e){return i(t[o][1][e]||e)}),c,c.exports,e,t,n,r)}return n[o].exports}for(var s="function"==typeof require&&require,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ArrayElement=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.reduce.js");class r{constructor(e=null){this.classType=r,this.data=null,this.data=e}}n.ArrayElement=r,r.make=(e,t=r)=>null===e||"object"!=typeof e?new t(e):e.classType?e:new t(e),r.fromArray=(e=[],t=r)=>e.reduce(((e,n)=>{const r=t.make(n,t);return e.head.length?(e.head.push(r),e.tail=r,e):{head:[r],tail:r}}),{head:[],tail:null})},{"core-js/modules/esnext.iterator.constructor.js":122,"core-js/modules/esnext.iterator.reduce.js":125}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Arrayable=void 0;const r=e("./ArrayElement"),i=e("../../recipes/ArrayIterator");class s{constructor(e=r.ArrayElement){this.classType=s,this.innerList=[],this.initialized=!1,this.elementClass=e}indexOfElement(e){const t=this.innerList.indexOf(e);if(t<0)throw new Error("The reference element is not in this list.");return t}initialize(e){return this.initialized?(console.warn("Attempt to initialize non-empty list."),this):(this.initialized=!0,this.innerList=e,this)}get list(){return this.innerList}get first(){return this.length?this.innerList[0]:null}get last(){return this.length?this.innerList[this.length-1]:null}get length(){return this.innerList.length}insertAfter(e,t){const n=null==e?-1:this.indexOfElement(e);return this.innerList.splice(n+1,0,this.elementClass.make(t,this.elementClass)),this}insertBefore(e,t){const n=null==e?this.length:this.indexOfElement(e);return this.innerList.splice(n,0,this.elementClass.make(t,this.elementClass)),this}append(e,t=this.last){return t===this.last?(this.innerList.push(this.elementClass.make(e,this.elementClass)),this):this.insertAfter(t,e)}prepend(e,t=this.first){return t===this.first?(this.innerList.unshift(this.elementClass.make(e,this.elementClass)),this):this.insertBefore(t,e)}remove(e){const t=this.innerList.indexOf(e);return t<0?null:(this.innerList.splice(t,1),e)}item(e){if(e>=this.length)return null;if(e>=0)return this.innerList[e];const t=this.length+e;return t<0?null:this.innerList[t]}forEach(e,t=this){for(let n=0;n<t.length;++n)e(t.item(n),n,t);return t}[Symbol.iterator](){return new i.ArrayIterator(this.innerList,0)}}n.Arrayable=s,s.fromArray=(e=[],t=r.ArrayElement,n=s)=>new n(t).initialize(t.fromArray(e).head)},{"../../recipes/ArrayIterator":16,"./ArrayElement":1}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DoubleLinker=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.reduce.js");const r=e("../linked-list/Linker");class i{constructor({data:e=null,next:t=null,prev:n=null}={}){this.classType=i,this.data=null,this.next=null,this.prev=null,this.data=e,this.next=t,this.prev=n}}n.DoubleLinker=i,i.make=(e,t=i)=>r.Linker.make(e,t),i.fromArray=(e=[],t=i)=>e.reduce(((e,n)=>{const r=t.make(n,t);return null===e.head?{head:r,tail:r}:(r.prev=e.tail,e.tail.next=r,e.tail=r,e)}),{head:null,tail:null})},{"../linked-list/Linker":6,"core-js/modules/esnext.iterator.constructor.js":122,"core-js/modules/esnext.iterator.reduce.js":125}],4:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DoublyLinkedList=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.for-each.js");const r=e("./DoubleLinker"),i=e("../../recipes/DoubleLinkerIterator"),s=e("../linked-list/LinkedList");class o{constructor(e=r.DoubleLinker){this.classType=o,this.innerList=null,this.initialized=!1,this.tailCache=null,this.countCache=null,this.linkerClass=e}initialize(e){return s.LinkedList.prototype.initialize.call(this,e)}get list(){return this.innerList}get first(){let e=this.innerList;if(null===e)return null;for(;null!==e.prev;)e=e.prev;return this.innerList=e,e}get last(){if(null===this.innerList)return null;let e=null!==this.tailCache?this.tailCache:this.innerList;for(;null!==e.next;)e=e.next;return this.tailCache=e,e}get length(){return null===this.countCache&&this.reset(),this.countCache}insertAfter(e,t){if(t=this.linkerClass.make(t,this.linkerClass),null==e){const e=this.first;t.prev=null,t.next=e,e?e.prev=t:this.tailCache=t,this.innerList=t}else t.next=e.next,t.prev=e,e.next=t,t.next?t.next.prev=t:this.tailCache=t;return null!==this.countCache&&++this.countCache,this}insertBefore(e,t){if(t=this.linkerClass.make(t,this.linkerClass),null==e){const e=this.last;t.next=null,t.prev=e,null===e?this.innerList=t:e.next=t,this.tailCache=t}else t.prev=e.prev,t.next=e,e.prev=t,t.prev?t.prev.next=t:this.innerList=t;return null!==this.countCache&&++this.countCache,this}append(e,t=this.last){return this.insertAfter(t,e)}prepend(e,t=this.first){return this.insertBefore(t,e)}remove(e){return null==e?null:(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),this.innerList===e&&(this.innerList=e.next||e.prev||null),this.tailCache===e&&(this.tailCache=e.prev),null===this.innerList&&(this.tailCache=null),null!==this.countCache&&--this.countCache,e)}reset(){let e=this.innerList;if(null===e)return this.countCache=0,this.tailCache=null,null;for(;null!==e.prev;)e=e.prev;this.innerList=e;let t=0,n=e,r=e;for(;null!==r;)++t,n=r,r=r.next;return this.countCache=t,this.tailCache=n,e}item(e){if(e>=0){let t=this.first,n=-1;for(;++n<e&&null!==t;)t=t.next;return n===e?t:null}let t=this.last,n=this.length;const r=this.length+e;if(r<0)return null;for(;--n>r&&null!==t;)t=t.prev;return n===r?t:null}forEach(e,t=this){return s.LinkedList.prototype.forEach.call(this,e,t)}[Symbol.iterator](){const e=this.first;return new i.DoubleLinkerIterator(e)}}n.DoublyLinkedList=o,o.fromArray=(e=[],t=r.DoubleLinker,n=o)=>s.LinkedList.fromArray(e,t,n)},{"../../recipes/DoubleLinkerIterator":17,"../linked-list/LinkedList":5,"./DoubleLinker":3,"core-js/modules/esnext.iterator.constructor.js":122,"core-js/modules/esnext.iterator.for-each.js":123}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LinkedList=void 0;const r=e("./Linker"),i=e("../../recipes/LinkerIterator"),s=e("../arrayable/Arrayable");class o{constructor(e=r.Linker){this.classType=o,this.innerList=null,this.initialized=!1,this.tailCache=null,this.countCache=null,this.linkerClass=e}initialize(e){return s.Arrayable.prototype.initialize.call(this,e)}get list(){return this.innerList}get first(){return this.innerList}get last(){if(null===this.innerList)return null;let e=null!==this.tailCache?this.tailCache:this.innerList;for(;null!==e.next;)e=e.next;return this.tailCache=e,e}get length(){return null===this.countCache&&this.reset(),this.countCache}insertAfter(e,t){return t=this.linkerClass.make(t,this.linkerClass),null==e?(t.next=this.innerList,null===this.innerList&&(this.tailCache=t),this.innerList=t):(t.next=e.next,e.next=t,null===t.next&&(this.tailCache=t)),null!==this.countCache&&++this.countCache,this}insertBefore(e,t){if(t=this.linkerClass.make(t,this.linkerClass),null==e){const e=this.last;t.next=null,null===e?this.innerList=t:e.next=t,this.tailCache=t}else{let n=null,r=this.first;for(;null!==r&&r!==e;)n=r,r=r.next;if(null===r)throw new Error("The reference node is not in this list.");t.next=e,n?n.next=t:this.innerList=t}return null!==this.countCache&&++this.countCache,this}append(e,t=this.last){return this.insertAfter(t,e)}prepend(e,t=this.first){return this.insertBefore(t,e)}remove(e){if(null==e)return null;let t=null,n=this.first;for(;null!==n&&n!==e;)t=n,n=n.next;return null===n?null:(t?t.next=e.next:this.innerList=e.next,this.tailCache===e&&(this.tailCache=t),null===this.innerList&&(this.tailCache=null),null!==this.countCache&&--this.countCache,e)}reset(){let e=0,t=null,n=this.innerList;for(;null!==n;)++e,t=n,n=n.next;return this.countCache=e,this.tailCache=t,this.innerList}item(e){if(e>=0){let t=this.first,n=-1;for(;++n<e&&null!==t;)t=t.next;return n===e?t:null}let t=this.first,n=0;const r=this.length+e;if(r<0)return null;for(;n<r&&null!==t;)t=t.next,++n;return n===r?t:null}forEach(e,t=this){let n=0,r=t.first;for(;null!==r;)e(r,n,t),r=r.next,++n;return t}[Symbol.iterator](){return new i.LinkerIterator(this.first)}}n.LinkedList=o,o.fromArray=(e=[],t=r.Linker,n=o)=>new n(t).initialize(t.fromArray(e).head)},{"../../recipes/LinkerIterator":18,"../arrayable/Arrayable":2,"./Linker":6}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Linker=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.reduce.js");const r=e("../arrayable/ArrayElement");class i{constructor({data:e=null,next:t=null}={}){this.classType=i,this.data=null,this.next=null,this.data=e,this.next=t}}n.Linker=i,i.make=(e,t=i)=>null===e||"object"!=typeof e?new t({data:e}):e.classType?e:("data"in e||(e={data:e}),r.ArrayElement.make(e,t)),i.fromArray=(e=[],t=i)=>e.reduce(((e,n)=>{const r=t.make(n,t);return null===e.head?{head:r,tail:r}:(e.tail.next=r,e.tail=r,e)}),{head:null,tail:null})},{"../arrayable/ArrayElement":1,"core-js/modules/esnext.iterator.constructor.js":122,"core-js/modules/esnext.iterator.reduce.js":125}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LinkedTreeList=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.for-each.js");const r=e("./TreeLinker"),i=e("../../recipes/TreeLinkerIterator"),s=e("../doubly-linked-list/DoublyLinkedList"),o=(e,t)=>Object.getOwnPropertyDescriptor(s.DoublyLinkedList.prototype,e).get.call(t);class l{constructor(e=r.TreeLinker){this.classType=l,this.innerList=null,this.initialized=!1,this.tailCache=null,this.countCache=null,this.ownerNode=void 0,this.linkerClass=e}initialize(e){return this.initialized?(console.warn("Attempt to initialize LinkedTreeList which is not empty."),this):(this.initialized=!0,this.innerList=e,this)}get list(){return this.innerList}get first(){return o("first",this)}get last(){return o("last",this)}get length(){return o("length",this)}get parent(){if(void 0!==this.ownerNode)return this.ownerNode;const e=this.first;return null===e?null:e.parent}set parent(e){this.ownerNode=e;let t=this.first;for(;null!==t;)t.parent=e,t=t.next;e&&(e.children=this)}get rootParent(){let e=this.first;if(!e)return null;let t=this.first.parent;for(;null!==t;)e=t,t=e.parent;return e}setChildren(e,t=null){let n=!1;if(this.forEach((t=>{t===e&&(n=!0)})),!n)throw new Error("The item is not one of the linkers of this list.");null!=t?t.parent=e:e.children=null}adopt(e){const t=this.linkerClass.make(e,this.linkerClass);return t.parent=this.parent,t}insertAfter(e,t){return s.DoublyLinkedList.prototype.insertAfter.call(this,e,this.adopt(t))}insertBefore(e,t){return s.DoublyLinkedList.prototype.insertBefore.call(this,e,this.adopt(t))}append(e,t=this.last){return s.DoublyLinkedList.prototype.append.call(this,e,t)}prepend(e,t=this.first){return s.DoublyLinkedList.prototype.prepend.call(this,e,t)}remove(e){const t=this.parent,n=s.DoublyLinkedList.prototype.remove.call(this,e);return n&&n.parent===t&&(this.ownerNode=t,n.parent=null),n}reset(){return s.DoublyLinkedList.prototype.reset.call(this)}item(e){return s.DoublyLinkedList.prototype.item.call(this,e)}forEach(e,t=this){let n=0,r=t.first;for(;null!==r;)e(r,n,t),r=r.next,++n;return t}[Symbol.iterator](){return new i.TreeLinkerIterator(this.first,this.parent)}}n.LinkedTreeList=l,l.fromArray=(e=[],t=r.TreeLinker,n=l)=>new n(t).initialize(t.fromArray(e).head)},{"../../recipes/TreeLinkerIterator":20,"../doubly-linked-list/DoublyLinkedList":4,"./TreeLinker":8,"core-js/modules/esnext.iterator.constructor.js":122,"core-js/modules/esnext.iterator.for-each.js":123}],8:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TreeLinker=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.map.js");const r=e("../doubly-linked-list/DoubleLinker"),i=e("./LinkedTreeList");class s{constructor({data:e=null,next:t=null,prev:n=null,children:r=null,parent:o=null,listClass:l=i.LinkedTreeList}={}){this.classType=s,this.data=null,this.next=null,this.prev=null,this.parent=null,this.children=null,this.data=e,this.next=t,this.prev=n,this.parent=o,this.children=this.childrenFromArray(r,l)}childrenFromArray(e=null,t=i.LinkedTreeList){if(null===e)return null;const n=e.map((e=>{const t=this.classType.make(e,this.classType);return t.parent=this,t})),r=t.fromArray(n,this.classType);return r.parent=this,r}}n.TreeLinker=s,s.make=(e,t=s)=>r.DoubleLinker.make(e,t),s.fromArray=(e=[],t=s)=>r.DoubleLinker.fromArray(e,t)},{"../doubly-linked-list/DoubleLinker":3,"./LinkedTreeList":7,"core-js/modules/esnext.iterator.constructor.js":122,"core-js/modules/esnext.iterator.map.js":124}],9:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Queue=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.for-each.js");const r=e("../linked-list/LinkedList"),i=e("../linked-list/Linker");class s{constructor(e=null,t=r.LinkedList,n=i.Linker){this.linkerClass=n,this.queuedList=null===e?new t(n):e}dequeue(){const e=this.queuedList.first;return null==e?null:(this.queuedList.remove(e),e.data)}empty(){return this.size()<=0}enqueue(e){return this.queuedList.append(new this.linkerClass({data:e})),this}peek(){const e=this.queuedList.first;return null==e?null:e.data}size(){return this.queuedList.length}[Symbol.iterator](){const e=this.queuedList[Symbol.iterator]();return{next:()=>{const t=e.next();return t.done?{done:!0,value:void 0}:{done:!1,value:t.value.data}}}}}n.Queue=s,s.fromArray=(e=[],t=r.LinkedList,n=i.Linker)=>{const o=new s(null,t,n);return e.forEach((e=>o.enqueue(e))),o}},{"../linked-list/LinkedList":5,"../linked-list/Linker":6,"core-js/modules/esnext.iterator.constructor.js":122,"core-js/modules/esnext.iterator.for-each.js":123}],10:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Queueable=void 0;const r=e("../linked-list/Linker");class i{constructor({task:e=null,next:t=null,ready:n=!1}={}){this.data=null,this.next=null,this.complete=!1,this.ready=!1,this.running=!1,this.classType=i,this.data=e,this.next=t,this.complete=!1,this.ready=n,this.running=!1}get isReady(){return"function"==typeof this.ready?this.ready():this.ready}get task(){return"function"==typeof this.data?this.data:e=>"function"==typeof e?e({context:this.data}).context:this.data}markCompleted({success:e=!0,error:t=!1,context:n=null}={}){return this.complete=!0,this.running=!1,{success:e,error:t,context:n}}run(){return this.isReady?this.running?{success:!1,error:"Queued task is already running, possible missing 'complete' callback",context:this.data}:(this.running=!0,this.task(this.markCompleted.bind(this))):{success:!1,error:"Task is not ready",context:this.data}}}n.Queueable=i,i.make=(e,t=i)=>null===e||"object"!=typeof e?new t({task:e,ready:!0}):e.classType?e:("task"in e||(e={task:e,ready:!0}),new t(e)),i.fromArray=(e=[],t=i)=>r.Linker.fromArray(e,t)},{"../linked-list/Linker":6}],11:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TaskQueue=void 0;const r=e("./Queueable"),i=e("../linked-list/LinkedList");class s{constructor(e=null,t=i.LinkedList,n=r.Queueable){this.listClass=t,this.queueableClass=n,null===e&&(e=new t(n)),this.queuedList=e}dequeue(){let e=this.remove();for(;e&&e.complete;)e=this.remove();return e?e.running?{success:!1,error:"The queue has been blocked by an unfinished task.",context:e}:e.isReady?(this.empty()||this.enqueue(e),e.run.call(e)):(this.enqueue(e),{success:!1,error:"Unable to find ready task.",context:e}):{success:"No more queueable tasks in the queue",error:!1,context:this.queuedList}}empty(){return this.size()<=0}enqueue(e){this.queuedList.append(e)}peek(){return this.queuedList.first}remove(){return this.empty()?null:this.queuedList.remove(this.queuedList.first)}size(){return this.queuedList.length}}n.TaskQueue=s,s.fromArray=(e=[],t=r.Queueable,n=i.LinkedList)=>{const o=new n(t);return o.initialize(t.fromArray(e,t).head),new s(o,n,t)}},{"../linked-list/LinkedList":5,"./Queueable":10}],12:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Stack=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.for-each.js");const r=e("../linked-list/LinkedList"),i=e("../linked-list/Linker");class s{constructor(e=null,t=r.LinkedList,n=i.Linker){this.linkerClass=n,this.stackedList=null===e?new t(n):e}empty(){return this.size()<=0}peek(){const e=this.stackedList.first;return null==e?null:e.data}pop(){const e=this.stackedList.first;return null==e?null:(this.stackedList.remove(e),e.data)}push(e){return this.stackedList.prepend(new this.linkerClass({data:e})),this}size(){return this.stackedList.length}top(){return this.peek()}[Symbol.iterator](){const e=this.stackedList[Symbol.iterator]();return{next:()=>{const t=e.next();return t.done?{done:!0,value:void 0}:{done:!1,value:t.value.data}}}}}n.Stack=s,s.fromArray=(e=[],t=r.LinkedList,n=i.Linker)=>{const o=new s(null,t,n);return e.forEach((e=>o.push(e))),o}},{"../linked-list/LinkedList":5,"../linked-list/Linker":6,"core-js/modules/esnext.iterator.constructor.js":122,"core-js/modules/esnext.iterator.for-each.js":123}],13:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Stackable=void 0;const r=e("../linked-list/Linker");class i{constructor({task:e=null,next:t=null,ready:n=!1}={}){this.data=null,this.next=null,this.classType=i,this.data=e,this.next=t}get task(){return"function"==typeof this.data?this.data:()=>this.data}run(){return this.task()}}n.Stackable=i,i.make=(e,t=i)=>null===e||"object"!=typeof e?new t({task:e}):e.classType?e:("task"in e||(e={task:e}),new t(e)),i.fromArray=(e=[],t=i)=>r.Linker.fromArray(e,t)},{"../linked-list/Linker":6}],14:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TaskStack=void 0;const r=e("./Stackable"),i=e("../linked-list/LinkedList");class s{constructor(e=null,t=i.LinkedList,n=r.Stackable){this.listClass=t,this.stackableClass=n,null===e&&(e=new t(n)),this.stackedList=e}empty(){return this.size()<=0}top(){return this.stackedList.first}pop(){const e=this.remove();return e?e.run():{success:"No more stackable tasks in the stack",error:!1,context:this.stackedList}}push(e){this.stackedList.prepend(e)}remove(){return this.empty()?null:this.stackedList.remove(this.stackedList.first)}size(){return this.stackedList.length}}n.TaskStack=s,s.fromArray=(e=[],t=r.Stackable,n=i.LinkedList)=>{const o=new n(t);return o.initialize(t.fromArray(e,t).head),new s(o,n,t)}},{"../linked-list/LinkedList":5,"./Stackable":13}],15:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ArrayElement",{enumerable:!0,get:function(){return r.ArrayElement}}),Object.defineProperty(n,"Arrayable",{enumerable:!0,get:function(){return i.Arrayable}}),Object.defineProperty(n,"DoubleLinker",{enumerable:!0,get:function(){return s.DoubleLinker}}),Object.defineProperty(n,"DoublyLinkedList",{enumerable:!0,get:function(){return o.DoublyLinkedList}}),Object.defineProperty(n,"LinkedList",{enumerable:!0,get:function(){return a.LinkedList}}),Object.defineProperty(n,"LinkedTreeList",{enumerable:!0,get:function(){return c.LinkedTreeList}}),Object.defineProperty(n,"Linker",{enumerable:!0,get:function(){return l.Linker}}),Object.defineProperty(n,"Queue",{enumerable:!0,get:function(){return h.Queue}}),Object.defineProperty(n,"Queueable",{enumerable:!0,get:function(){return f.Queueable}}),Object.defineProperty(n,"Stack",{enumerable:!0,get:function(){return y.Stack}}),Object.defineProperty(n,"Stackable",{enumerable:!0,get:function(){return d.Stackable}}),Object.defineProperty(n,"TaskQueue",{enumerable:!0,get:function(){return p.TaskQueue}}),Object.defineProperty(n,"TaskStack",{enumerable:!0,get:function(){return b.TaskStack}}),Object.defineProperty(n,"TreeLinker",{enumerable:!0,get:function(){return u.TreeLinker}}),n.default=void 0,Object.defineProperty(n,"recipes",{enumerable:!0,get:function(){return k.recipes}}),Object.defineProperty(n,"services",{enumerable:!0,get:function(){return m.services}});var r=e("./collections/arrayable/ArrayElement"),i=e("./collections/arrayable/Arrayable"),s=e("./collections/doubly-linked-list/DoubleLinker"),o=e("./collections/doubly-linked-list/DoublyLinkedList"),l=e("./collections/linked-list/Linker"),a=e("./collections/linked-list/LinkedList"),u=e("./collections/linked-tree-list/TreeLinker"),c=e("./collections/linked-tree-list/LinkedTreeList"),f=e("./collections/queue/Queueable"),h=e("./collections/queue/Queue"),p=e("./collections/queue/TaskQueue"),d=e("./collections/stack/Stackable"),y=e("./collections/stack/Stack"),b=e("./collections/stack/TaskStack"),k=e("./recipes/recipes"),m=e("./services/services");const v={ArrayElement:r.ArrayElement,Arrayable:i.Arrayable,DoubleLinker:s.DoubleLinker,DoublyLinkedList:o.DoublyLinkedList,Linker:l.Linker,LinkedList:a.LinkedList,TreeLinker:u.TreeLinker,LinkedTreeList:c.LinkedTreeList,Queueable:f.Queueable,Queue:h.Queue,TaskQueue:p.TaskQueue,Stackable:d.Stackable,Stack:y.Stack,TaskStack:b.TaskStack,recipes:k.recipes,services:m.services};n.default=v;"undefined"!=typeof window&&(window.collectYourStuff=v)},{"./collections/arrayable/ArrayElement":1,"./collections/arrayable/Arrayable":2,"./collections/doubly-linked-list/DoubleLinker":3,"./collections/doubly-linked-list/DoublyLinkedList":4,"./collections/linked-list/LinkedList":5,"./collections/linked-list/Linker":6,"./collections/linked-tree-list/LinkedTreeList":7,"./collections/linked-tree-list/TreeLinker":8,"./collections/queue/Queue":9,"./collections/queue/Queueable":10,"./collections/queue/TaskQueue":11,"./collections/stack/Stack":12,"./collections/stack/Stackable":13,"./collections/stack/TaskStack":14,"./recipes/recipes":21,"./services/services":24}],16:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ArrayIterator=void 0;n.ArrayIterator=class{constructor(e,t=0){this.innerList=e,this.index=t}next(e){return this.index<this.innerList.length?{value:this.innerList[this.index++],done:!1}:{value:void 0,done:!0}}}},{}],17:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DoubleLinkerIterator=void 0;n.DoubleLinkerIterator=class{constructor(e){this.current=e}next(e){const t={value:this.current,done:!this.current};return this.current=this.current?this.current.next:null,t}}},{}],18:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LinkerIterator=void 0;n.LinkerIterator=class{constructor(e){this.current=e}next(e){const t={value:this.current,done:!this.current};return this.current=this.current?this.current.next:null,t}}},{}],19:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Runnable=void 0;class r{constructor(e=null){this.data=null,this.data=e}get task(){return"function"==typeof this.data?this.data:()=>this.data}run(){return this.task()}static isRunnable(e){return void 0===e?this instanceof r:"object"==typeof e&&("function"==typeof e.task&&"function"==typeof e.run)}}n.Runnable=r},{}],20:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TreeLinkerIterator=void 0;const r=e("../services/parseTreeNext");n.TreeLinkerIterator=class{constructor(e,t){this.current=e,this.boundaryParent=t}next(e){const t={value:this.current,done:!this.current};return this.current=(0,r.parseTreeNext)(this.current,this.boundaryParent),t}}},{"../services/parseTreeNext":23}],21:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.recipes=void 0;const r=e("./ArrayIterator"),i=e("./Runnable");n.recipes={ArrayIterator:r.ArrayIterator,Runnable:i.Runnable}},{"./ArrayIterator":16,"./Runnable":19}],22:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.parseTree=void 0;const r=e("./parseTreeNext");n.parseTree=(e,t)=>{let n=0,i=e.rootParent;for(;null!==i;)t(i,n,e),i=(0,r.parseTreeNext)(i),++n;return e}},{"./parseTreeNext":23}],23:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.parseTreeNext=void 0;n.parseTreeNext=(e,t)=>{if(!e)return null;if(e.children&&e.children.length)return e.children.first;if(e.next)return e.next;let n=e.parent;for(;n&&n!==t;){if(n.next)return n.next;n=n.parent}return null}},{}],24:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.services=void 0;const r=e("./parseTree"),i=e("./parseTreeNext");n.services={parseTree:r.parseTree,parseTreeNext:i.parseTreeNext}},{"./parseTree":22,"./parseTreeNext":23}],25:[function(e,t,n){"use strict";var r=e("../internals/is-callable"),i=e("../internals/try-to-string"),s=TypeError;t.exports=function(e){if(r(e))return e;throw new s(i(e)+" is not a function")}},{"../internals/is-callable":69,"../internals/try-to-string":112}],26:[function(e,t,n){"use strict";var r=e("../internals/object-is-prototype-of"),i=TypeError;t.exports=function(e,t){if(r(t,e))return e;throw new i("Incorrect invocation")}},{"../internals/object-is-prototype-of":94}],27:[function(e,t,n){"use strict";var r=e("../internals/is-object"),i=String,s=TypeError;t.exports=function(e){if(r(e))return e;throw new s(i(e)+" is not an object")}},{"../internals/is-object":72}],28:[function(e,t,n){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/to-absolute-index"),s=e("../internals/length-of-array-like"),o=function(e){return function(t,n,o){var l=r(t),a=s(l);if(0===a)return!e&&-1;var u,c=i(o,a);if(e&&n!=n){for(;a>c;)if((u=l[c++])!=u)return!0}else for(;a>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},{"../internals/length-of-array-like":84,"../internals/to-absolute-index":105,"../internals/to-indexed-object":106}],29:[function(e,t,n){"use strict";var r=e("../internals/an-object"),i=e("../internals/iterator-close");t.exports=function(e,t,n,s){try{return s?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},{"../internals/an-object":27,"../internals/iterator-close":78}],30:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=r({}.toString),s=r("".slice);t.exports=function(e){return s(i(e),8,-1)}},{"../internals/function-uncurry-this":54}],31:[function(e,t,n){"use strict";var r=e("../internals/has-own-property"),i=e("../internals/own-keys"),s=e("../internals/object-get-own-property-descriptor"),o=e("../internals/object-define-property");t.exports=function(e,t,n){for(var l=i(t),a=o.f,u=s.f,c=0;c<l.length;c++){var f=l[c];r(e,f)||n&&r(n,f)||a(e,f,u(t,f))}}},{"../internals/has-own-property":61,"../internals/object-define-property":89,"../internals/object-get-own-property-descriptor":90,"../internals/own-keys":99}],32:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},{"../internals/fails":47}],33:[function(e,t,n){"use strict";t.exports=function(e,t){return{value:e,done:t}}},{}],34:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");t.exports=r?function(e,t,n){return i.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},{"../internals/create-property-descriptor":35,"../internals/descriptors":41,"../internals/object-define-property":89}],35:[function(e,t,n){"use strict";t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],36:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");t.exports=function(e,t,n){r?i.f(e,t,s(0,n)):e[t]=n}},{"../internals/create-property-descriptor":35,"../internals/descriptors":41,"../internals/object-define-property":89}],37:[function(e,t,n){"use strict";var r=e("../internals/make-built-in"),i=e("../internals/object-define-property");t.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},{"../internals/make-built-in":85,"../internals/object-define-property":89}],38:[function(e,t,n){"use strict";var r=e("../internals/is-callable"),i=e("../internals/object-define-property"),s=e("../internals/make-built-in"),o=e("../internals/define-global-property");t.exports=function(e,t,n,l){l||(l={});var a=l.enumerable,u=void 0!==l.name?l.name:t;if(r(n)&&s(n,u,l),l.global)a?e[t]=n:o(t,n);else{try{l.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},{"../internals/define-global-property":40,"../internals/is-callable":69,"../internals/make-built-in":85,"../internals/object-define-property":89}],39:[function(e,t,n){"use strict";var r=e("../internals/define-built-in");t.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},{"../internals/define-built-in":38}],40:[function(e,t,n){"use strict";var r=e("../internals/global-this"),i=Object.defineProperty;t.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},{"../internals/global-this":60}],41:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":47}],42:[function(e,t,n){"use strict";var r=e("../internals/global-this"),i=e("../internals/is-object"),s=r.document,o=i(s)&&i(s.createElement);t.exports=function(e){return o?s.createElement(e):{}}},{"../internals/global-this":60,"../internals/is-object":72}],43:[function(e,t,n){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],44:[function(e,t,n){"use strict";var r=e("../internals/global-this").navigator,i=r&&r.userAgent;t.exports=i?String(i):""},{"../internals/global-this":60}],45:[function(e,t,n){"use strict";var r,i,s=e("../internals/global-this"),o=e("../internals/environment-user-agent"),l=s.process,a=s.Deno,u=l&&l.versions||a&&a.version,c=u&&u.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},{"../internals/environment-user-agent":44,"../internals/global-this":60}],46:[function(e,t,n){"use strict";var r=e("../internals/global-this"),i=e("../internals/object-get-own-property-descriptor").f,s=e("../internals/create-non-enumerable-property"),o=e("../internals/define-built-in"),l=e("../internals/define-global-property"),a=e("../internals/copy-constructor-properties"),u=e("../internals/is-forced");t.exports=function(e,t){var n,c,f,h,p,d=e.target,y=e.global,b=e.stat;if(n=y?r:b?r[d]||l(d,{}):r[d]&&r[d].prototype)for(c in t){if(h=t[c],f=e.dontCallGetSet?(p=i(n,c))&&p.value:n[c],!u(y?c:d+(b?".":"#")+c,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;a(h,f)}(e.sham||f&&f.sham)&&s(h,"sham",!0),o(n,c,h,e)}}},{"../internals/copy-constructor-properties":31,"../internals/create-non-enumerable-property":34,"../internals/define-built-in":38,"../internals/define-global-property":40,"../internals/global-this":60,"../internals/is-forced":70,"../internals/object-get-own-property-descriptor":90}],47:[function(e,t,n){"use strict";t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],48:[function(e,t,n){"use strict";var r=e("../internals/function-bind-native"),i=Function.prototype,s=i.apply,o=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(s):function(){return o.apply(s,arguments)})},{"../internals/function-bind-native":50}],49:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this-clause"),i=e("../internals/a-callable"),s=e("../internals/function-bind-native"),o=r(r.bind);t.exports=function(e,t){return i(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments)}}},{"../internals/a-callable":25,"../internals/function-bind-native":50,"../internals/function-uncurry-this-clause":53}],50:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},{"../internals/fails":47}],51:[function(e,t,n){"use strict";var r=e("../internals/function-bind-native"),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},{"../internals/function-bind-native":50}],52:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/has-own-property"),s=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,l=i(s,"name"),a=l&&"something"===function(){}.name,u=l&&(!r||r&&o(s,"name").configurable);t.exports={EXISTS:l,PROPER:a,CONFIGURABLE:u}},{"../internals/descriptors":41,"../internals/has-own-property":61}],53:[function(e,t,n){"use strict";var r=e("../internals/classof-raw"),i=e("../internals/function-uncurry-this");t.exports=function(e){if("Function"===r(e))return i(e)}},{"../internals/classof-raw":30,"../internals/function-uncurry-this":54}],54:[function(e,t,n){"use strict";var r=e("../internals/function-bind-native"),i=Function.prototype,s=i.call,o=r&&i.bind.bind(s,s);t.exports=r?o:function(e){return function(){return s.apply(e,arguments)}}},{"../internals/function-bind-native":50}],55:[function(e,t,n){"use strict";var r=e("../internals/global-this"),i=e("../internals/is-callable");t.exports=function(e,t){return arguments.length<2?(n=r[e],i(n)?n:void 0):r[e]&&r[e][t];var n}},{"../internals/global-this":60,"../internals/is-callable":69}],56:[function(e,t,n){"use strict";t.exports=function(e){return{iterator:e,next:e.next,done:!1}}},{}],57:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/is-callable"),s=e("../internals/an-object"),o=e("../internals/try-to-string"),l=e("../internals/get-iterator-method-internal"),a=TypeError;t.exports=function(e,t){var n=arguments.length<2?l(e):t;if(i(n))return s(r(n,e));throw new a(o(e)+" is not iterable")}},{"../internals/an-object":27,"../internals/function-call":51,"../internals/get-iterator-method-internal":58,"../internals/is-callable":69,"../internals/try-to-string":112}],58:[function(e,t,n){"use strict";var r=e("../internals/classof-raw"),i=e("../internals/is-null-or-undefined"),s=e("../internals/get-method"),o=e("../internals/well-known-symbol")("iterator"),l=Array.prototype;t.exports=function(e){if(!i(e))return s(e,o)||s(e,"@@iterator")||("Arguments"===r(e)?l[o]:void 0)}},{"../internals/classof-raw":30,"../internals/get-method":59,"../internals/is-null-or-undefined":71,"../internals/well-known-symbol":117}],59:[function(e,t,n){"use strict";var r=e("../internals/a-callable"),i=e("../internals/is-null-or-undefined");t.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},{"../internals/a-callable":25,"../internals/is-null-or-undefined":71}],60:[function(e,t,n){(function(e){(function(){"use strict";var n=function(e){return e&&e.Math===Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],61:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/to-object"),s=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return s(i(e),t)}},{"../internals/function-uncurry-this":54,"../internals/to-object":109}],62:[function(e,t,n){"use strict";t.exports={}},{}],63:[function(e,t,n){"use strict";var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},{"../internals/get-built-in":55}],64:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/fails"),s=e("../internals/document-create-element");t.exports=!r&&!i((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":41,"../internals/document-create-element":42,"../internals/fails":47}],65:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/fails"),s=e("../internals/classof-raw"),o=Object,l=r("".split);t.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===s(e)?l(e,""):o(e)}:o},{"../internals/classof-raw":30,"../internals/fails":47,"../internals/function-uncurry-this":54}],66:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/is-callable"),s=e("../internals/shared-store"),o=r(Function.toString);i(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),t.exports=s.inspectSource},{"../internals/function-uncurry-this":54,"../internals/is-callable":69,"../internals/shared-store":102}],67:[function(e,t,n){"use strict";var r,i,s,o=e("../internals/weak-map-basic-detection"),l=e("../internals/global-this"),a=e("../internals/is-object"),u=e("../internals/create-non-enumerable-property"),c=e("../internals/has-own-property"),f=e("../internals/shared-store"),h=e("../internals/shared-key"),p=e("../internals/hidden-keys"),d="Object already initialized",y=l.TypeError,b=l.WeakMap;if(o||f.state){var k=f.state||(f.state=new b);k.get=k.get,k.has=k.has,k.set=k.set,r=function(e,t){if(k.has(e))throw new y(d);return t.facade=e,k.set(e,t),t},i=function(e){return k.get(e)||{}},s=function(e){return k.has(e)}}else{var m=h("state");p[m]=!0,r=function(e,t){if(c(e,m))throw new y(d);return t.facade=e,u(e,m,t),t},i=function(e){return c(e,m)?e[m]:{}},s=function(e){return c(e,m)}}t.exports={set:r,get:i,has:s,enforce:function(e){return s(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!a(t)||(n=i(t)).type!==e)throw new y("Incompatible receiver, "+e+" required");return n}}}},{"../internals/create-non-enumerable-property":34,"../internals/global-this":60,"../internals/has-own-property":61,"../internals/hidden-keys":62,"../internals/is-object":72,"../internals/shared-key":101,"../internals/shared-store":102,"../internals/weak-map-basic-detection":116}],68:[function(e,t,n){"use strict";var r=e("../internals/well-known-symbol"),i=e("../internals/iterators"),s=r("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(i.Array===e||o[s]===e)}},{"../internals/iterators":83,"../internals/well-known-symbol":117}],69:[function(e,t,n){"use strict";var r="object"==typeof document&&document.all;t.exports=void 0===r&&void 0!==r?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},{}],70:[function(e,t,n){"use strict";var r=e("../internals/fails"),i=e("../internals/is-callable"),s=/#|\.prototype\./,o=function(e,t){var n=a[l(e)];return n===c||n!==u&&(i(t)?r(t):!!t)},l=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},{"../internals/fails":47,"../internals/is-callable":69}],71:[function(e,t,n){"use strict";t.exports=function(e){return null==e}},{}],72:[function(e,t,n){"use strict";var r=e("../internals/is-callable");t.exports=function(e){return"object"==typeof e?null!==e:r(e)}},{"../internals/is-callable":69}],73:[function(e,t,n){"use strict";t.exports=!1},{}],74:[function(e,t,n){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/is-callable"),s=e("../internals/object-is-prototype-of"),o=e("../internals/use-symbol-as-uid"),l=Object;t.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&s(t.prototype,l(e))}},{"../internals/get-built-in":55,"../internals/is-callable":69,"../internals/object-is-prototype-of":94,"../internals/use-symbol-as-uid":114}],75:[function(e,t,n){"use strict";var r=e("../internals/function-bind-context"),i=e("../internals/function-call"),s=e("../internals/an-object"),o=e("../internals/try-to-string"),l=e("../internals/is-array-iterator-method"),a=e("../internals/length-of-array-like"),u=e("../internals/object-is-prototype-of"),c=e("../internals/get-iterator-internal"),f=e("../internals/get-iterator-method-internal"),h=e("../internals/iterator-close"),p=TypeError,d=function(e,t){this.stopped=e,this.result=t},y=d.prototype;t.exports=function(e,t,n){var b,k,m,v,g,L,x,j=n&&n.that,w=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_RECORD),T=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),S=r(t,j),A=function(e){var t=b;return b=void 0,t&&h(t,"normal"),new d(!0,e)},P=function(e){return w?(s(e),C?S(e[0],e[1],A):S(e[0],e[1])):C?S(e,A):S(e)};if(O)b=e.iterator;else if(T)b=e;else{if(!(k=f(e)))throw new p(o(e)+" is not iterable");if(l(k)){for(m=0,v=a(e);v>m;m++)if((g=P(e[m]))&&u(y,g))return g;return new d(!1)}b=c(e,k)}for(L=O?e.next:b.next;!(x=i(L,b)).done;){var E=x.value;try{g=P(E)}catch(e){if(!b)throw e;h(b,"throw",e)}if("object"==typeof g&&g&&u(y,g))return g}return new d(!1)}},{"../internals/an-object":27,"../internals/function-bind-context":49,"../internals/function-call":51,"../internals/get-iterator-internal":57,"../internals/get-iterator-method-internal":58,"../internals/is-array-iterator-method":68,"../internals/iterator-close":78,"../internals/length-of-array-like":84,"../internals/object-is-prototype-of":94,"../internals/try-to-string":112}],76:[function(e,t,n){"use strict";t.exports=function(e){e.iterator=e.next=e.nextHandler=e.mapper=e.predicate=e.inner=e.iterables=e.iters=e.openIters=e.padding=e.finishResults=e.buffer=null}},{}],77:[function(e,t,n){"use strict";var r=e("../internals/iterator-close");t.exports=function(e,t,n){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{n=r(e[i].iterator,t,n)}catch(e){t="throw",n=e}if("throw"===t)throw n;return n}},{"../internals/iterator-close":78}],78:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/an-object"),s=e("../internals/get-method");t.exports=function(e,t,n){var o,l;i(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){l=!0,o=e}if("throw"===t)throw n;if(l)throw o;return i(o),n}},{"../internals/an-object":27,"../internals/function-call":51,"../internals/get-method":59}],79:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/object-create"),s=e("../internals/create-non-enumerable-property"),o=e("../internals/define-built-ins"),l=e("../internals/well-known-symbol"),a=e("../internals/internal-state"),u=e("../internals/get-method"),c=e("../internals/iterators-core").IteratorPrototype,f=e("../internals/create-iter-result-object"),h=e("../internals/iterator-close"),p=e("../internals/iterator-close-all"),d=e("../internals/iterator-cleanup-state"),y=l("toStringTag"),b="IteratorHelper",k="WrapForValidIterator",m="normal",v="throw",g=a.set,L=function(e){var t=a.getterFor(e?k:b);return o(i(c),{next:function(){var n=t(this);if(e)return n.nextHandler();if(n.done)return f(void 0,!0);try{var r=n.nextHandler();return n.done&&d(n),n.returnHandlerResult?r:f(r,n.done)}catch(e){throw n.done=!0,d(n),e}},return:function(){var n=t(this),i=n.iterator,s=n.inner,o=n.openIters,l=n.done;if(n.done=!0,e){var a=u(i,"return");return a?r(a,i):f(void 0,!0)}if(d(n),l)return f(void 0,!0);if(s)try{h(s.iterator,m)}catch(e){return h(i,v,e)}if(o)try{p(o,m)}catch(e){if(i)return h(i,v,e);throw e}return i&&h(i,m),f(void 0,!0)}})},x=L(!0),j=L(!1);s(j,y,"Iterator Helper"),t.exports=function(e,t,n){var r=function(r,i){i?(i.iterator=r.iterator,i.next=r.next):i=r,i.type=t?k:b,i.returnHandlerResult=!!n,i.nextHandler=e,i.counter=0,i.done=!1,g(this,i)};return r.prototype=t?x:j,r}},{"../internals/create-iter-result-object":33,"../internals/create-non-enumerable-property":34,"../internals/define-built-ins":39,"../internals/function-call":51,"../internals/get-method":59,"../internals/internal-state":67,"../internals/iterator-cleanup-state":76,"../internals/iterator-close":78,"../internals/iterator-close-all":77,"../internals/iterators-core":82,"../internals/object-create":87,"../internals/well-known-symbol":117}],80:[function(e,t,n){"use strict";t.exports=function(e,t){var n="function"==typeof Iterator&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(e){return!0}}},{}],81:[function(e,t,n){"use strict";var r=e("../internals/global-this");t.exports=function(e,t){var n=r.Iterator,i=n&&n.prototype,s=i&&i[e],o=!1;if(s)try{s.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return s}},{"../internals/global-this":60}],82:[function(e,t,n){"use strict";var r,i,s,o=e("../internals/fails"),l=e("../internals/is-callable"),a=e("../internals/is-object"),u=e("../internals/object-create"),c=e("../internals/object-get-prototype-of"),f=e("../internals/define-built-in"),h=e("../internals/well-known-symbol"),p=e("../internals/is-pure"),d=h("iterator"),y=!1;[].keys&&("next"in(s=[].keys())?(i=c(c(s)))!==Object.prototype&&(r=i):y=!0),!a(r)||o((function(){var e={};return r[d].call(e)!==e}))?r={}:p&&(r=u(r)),l(r[d])||f(r,d,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:y}},{"../internals/define-built-in":38,"../internals/fails":47,"../internals/is-callable":69,"../internals/is-object":72,"../internals/is-pure":73,"../internals/object-create":87,"../internals/object-get-prototype-of":93,"../internals/well-known-symbol":117}],83:[function(e,t,n){"use strict";t.exports=Object.create?Object.create(null):{}},{}],84:[function(e,t,n){"use strict";var r=e("../internals/to-length");t.exports=function(e){return r(e.length)}},{"../internals/to-length":108}],85:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/fails"),s=e("../internals/is-callable"),o=e("../internals/has-own-property"),l=e("../internals/descriptors"),a=e("../internals/function-name").CONFIGURABLE,u=e("../internals/inspect-source"),c=e("../internals/internal-state"),f=c.enforce,h=c.get,p=String,d=Object.defineProperty,y=r("".slice),b=r("".replace),k=r([].join),m=l&&!i((function(){return 8!==d((function(){}),"length",{value:8}).length})),v=String(String).split("String"),g=t.exports=function(e,t,n){"Symbol("===y(p(t),0,7)&&(t="["+b(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||a&&e.name!==t)&&(l?d(e,"name",{value:t,configurable:!0}):e.name=t),m&&n&&o(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?l&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return o(r,"source")||(r.source=k(v,"string"==typeof t?t:"")),e};Function.prototype.toString=g((function(){return s(this)&&h(this).source||u(this)}),"toString")},{"../internals/descriptors":41,"../internals/fails":47,"../internals/function-name":52,"../internals/function-uncurry-this":54,"../internals/has-own-property":61,"../internals/inspect-source":66,"../internals/internal-state":67,"../internals/is-callable":69}],86:[function(e,t,n){"use strict";var r=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?i:r)(t)}},{}],87:[function(e,t,n){"use strict";var r,i=e("../internals/an-object"),s=e("../internals/object-define-properties"),o=e("../internals/enum-bug-keys"),l=e("../internals/hidden-keys"),a=e("../internals/html"),u=e("../internals/document-create-element"),c=e("../internals/shared-key"),f="prototype",h="script",p=c("IE_PROTO"),d=function(){},y=function(e){return"<"+h+">"+e+"</"+h+">"},b=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},k=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;k="undefined"!=typeof document?document.domain&&r?b(r):(t=u("iframe"),n="java"+h+":",t.style.display="none",a.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(y("document.F=Object")),e.close(),e.F):b(r);for(var i=o.length;i--;)delete k[f][o[i]];return k()};l[p]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(d[f]=i(e),n=new d,d[f]=null,n[p]=e):n=k(),void 0===t?n:s.f(n,t)}},{"../internals/an-object":27,"../internals/document-create-element":42,"../internals/enum-bug-keys":43,"../internals/hidden-keys":62,"../internals/html":63,"../internals/object-define-properties":88,"../internals/shared-key":101}],88:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/v8-prototype-define-bug"),s=e("../internals/object-define-property"),o=e("../internals/an-object"),l=e("../internals/to-indexed-object"),a=e("../internals/object-keys");n.f=r&&!i?Object.defineProperties:function(e,t){o(e);for(var n,r=l(t),i=a(t),u=i.length,c=0;u>c;)s.f(e,n=i[c++],r[n]);return e}},{"../internals/an-object":27,"../internals/descriptors":41,"../internals/object-define-property":89,"../internals/object-keys":96,"../internals/to-indexed-object":106,"../internals/v8-prototype-define-bug":115}],89:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/ie8-dom-define"),s=e("../internals/v8-prototype-define-bug"),o=e("../internals/an-object"),l=e("../internals/to-property-key"),a=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";n.f=r?s?function(e,t,n){if(o(e),t=l(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=c(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:f in n?n[f]:r[f],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=l(t),o(n),i)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},{"../internals/an-object":27,"../internals/descriptors":41,"../internals/ie8-dom-define":64,"../internals/to-property-key":111,"../internals/v8-prototype-define-bug":115}],90:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/function-call"),s=e("../internals/object-property-is-enumerable"),o=e("../internals/create-property-descriptor"),l=e("../internals/to-indexed-object"),a=e("../internals/to-property-key"),u=e("../internals/has-own-property"),c=e("../internals/ie8-dom-define"),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,t){if(e=l(e),t=a(t),c)try{return f(e,t)}catch(e){}if(u(e,t))return o(!i(s.f,e,t),e[t])}},{"../internals/create-property-descriptor":35,"../internals/descriptors":41,"../internals/function-call":51,"../internals/has-own-property":61,"../internals/ie8-dom-define":64,"../internals/object-property-is-enumerable":97,"../internals/to-indexed-object":106,"../internals/to-property-key":111}],91:[function(e,t,n){"use strict";var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},{"../internals/enum-bug-keys":43,"../internals/object-keys-internal":95}],92:[function(e,t,n){"use strict";n.f=Object.getOwnPropertySymbols},{}],93:[function(e,t,n){"use strict";var r=e("../internals/has-own-property"),i=e("../internals/is-callable"),s=e("../internals/to-object"),o=e("../internals/shared-key"),l=e("../internals/correct-prototype-getter"),a=o("IE_PROTO"),u=Object,c=u.prototype;t.exports=l?u.getPrototypeOf:function(e){var t=s(e);if(r(t,a))return t[a];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof u?c:null}},{"../internals/correct-prototype-getter":32,"../internals/has-own-property":61,"../internals/is-callable":69,"../internals/shared-key":101,"../internals/to-object":109}],94:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this");t.exports=r({}.isPrototypeOf)},{"../internals/function-uncurry-this":54}],95:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/has-own-property"),s=e("../internals/to-indexed-object"),o=e("../internals/array-includes").indexOf,l=e("../internals/hidden-keys"),a=r([].push);t.exports=function(e,t){var n,r=s(e),u=0,c=[];for(n in r)!i(l,n)&&i(r,n)&&a(c,n);for(;t.length>u;)i(r,n=t[u++])&&(~o(c,n)||a(c,n));return c}},{"../internals/array-includes":28,"../internals/function-uncurry-this":54,"../internals/has-own-property":61,"../internals/hidden-keys":62,"../internals/to-indexed-object":106}],96:[function(e,t,n){"use strict";var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys");t.exports=Object.keys||function(e){return r(e,i)}},{"../internals/enum-bug-keys":43,"../internals/object-keys-internal":95}],97:[function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,s=i&&!r.call({1:2},1);n.f=s?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},{}],98:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/is-callable"),s=e("../internals/is-object"),o=TypeError;t.exports=function(e,t){var n,l;if("string"===t&&i(n=e.toString)&&!s(l=r(n,e)))return l;if(i(n=e.valueOf)&&!s(l=r(n,e)))return l;if("string"!==t&&i(n=e.toString)&&!s(l=r(n,e)))return l;throw new o("Can't convert object to primitive value")}},{"../internals/function-call":51,"../internals/is-callable":69,"../internals/is-object":72}],99:[function(e,t,n){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/function-uncurry-this"),s=e("../internals/object-get-own-property-names"),o=e("../internals/object-get-own-property-symbols"),l=e("../internals/an-object"),a=i([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=s.f(l(e)),n=o.f;return n?a(t,n(e)):t}},{"../internals/an-object":27,"../internals/function-uncurry-this":54,"../internals/get-built-in":55,"../internals/object-get-own-property-names":91,"../internals/object-get-own-property-symbols":92}],100:[function(e,t,n){"use strict";var r=e("../internals/is-null-or-undefined"),i=TypeError;t.exports=function(e){if(r(e))throw new i("Can't call method on "+e);return e}},{"../internals/is-null-or-undefined":71}],101:[function(e,t,n){"use strict";var r=e("../internals/shared"),i=e("../internals/uid"),s=r("keys");t.exports=function(e){return s[e]||(s[e]=i(e))}},{"../internals/shared":103,"../internals/uid":113}],102:[function(e,t,n){"use strict";var r=e("../internals/is-pure"),i=e("../internals/global-this"),s=e("../internals/define-global-property"),o="__core-js_shared__",l=t.exports=i[o]||s(o,{});(l.versions||(l.versions=[])).push({version:"3.50.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.50.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/define-global-property":40,"../internals/global-this":60,"../internals/is-pure":73}],103:[function(e,t,n){"use strict";var r=e("../internals/shared-store"),i=Object.create||Object;t.exports=function(e,t){return r[e]||(r[e]=t||i(null))}},{"../internals/shared-store":102}],104:[function(e,t,n){"use strict";var r=e("../internals/environment-v8-version"),i=e("../internals/fails"),s=e("../internals/global-this").String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},{"../internals/environment-v8-version":45,"../internals/fails":47,"../internals/global-this":60}],105:[function(e,t,n){"use strict";var r=e("../internals/to-integer-or-infinity"),i=Math.max,s=Math.min;t.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):s(n,t)}},{"../internals/to-integer-or-infinity":107}],106:[function(e,t,n){"use strict";var r=e("../internals/indexed-object"),i=e("../internals/require-object-coercible");t.exports=function(e){return r(i(e))}},{"../internals/indexed-object":65,"../internals/require-object-coercible":100}],107:[function(e,t,n){"use strict";var r=e("../internals/math-trunc");t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},{"../internals/math-trunc":86}],108:[function(e,t,n){"use strict";var r=e("../internals/to-integer-or-infinity"),i=Math.min;t.exports=function(e){var t=r(e);return t>0?i(t,9007199254740991):0}},{"../internals/to-integer-or-infinity":107}],109:[function(e,t,n){"use strict";var r=e("../internals/require-object-coercible"),i=Object;t.exports=function(e){return i(r(e))}},{"../internals/require-object-coercible":100}],110:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/is-object"),s=e("../internals/is-symbol"),o=e("../internals/get-method"),l=e("../internals/ordinary-to-primitive"),a=e("../internals/well-known-symbol"),u=TypeError,c=a("toPrimitive");t.exports=function(e,t){if(!i(e)||s(e))return e;var n,a=o(e,c);if(a){if(void 0===t&&(t="default"),n=r(a,e,t),!i(n)||s(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},{"../internals/function-call":51,"../internals/get-method":59,"../internals/is-object":72,"../internals/is-symbol":74,"../internals/ordinary-to-primitive":98,"../internals/well-known-symbol":117}],111:[function(e,t,n){"use strict";var r=e("../internals/to-primitive"),i=e("../internals/is-symbol");t.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},{"../internals/is-symbol":74,"../internals/to-primitive":110}],112:[function(e,t,n){"use strict";var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}},{}],113:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=0,s=Math.random(),o=r(1.1.toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+s,36)}},{"../internals/function-uncurry-this":54}],114:[function(e,t,n){"use strict";var r=e("../internals/symbol-constructor-detection");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/symbol-constructor-detection":104}],115:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/fails");t.exports=r&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},{"../internals/descriptors":41,"../internals/fails":47}],116:[function(e,t,n){"use strict";var r=e("../internals/global-this"),i=e("../internals/is-callable"),s=r.WeakMap;t.exports=i(s)&&/native code/.test(String(s))},{"../internals/global-this":60,"../internals/is-callable":69}],117:[function(e,t,n){"use strict";var r=e("../internals/global-this"),i=e("../internals/shared"),s=e("../internals/has-own-property"),o=e("../internals/uid"),l=e("../internals/symbol-constructor-detection"),a=e("../internals/use-symbol-as-uid"),u=r.Symbol,c=i("wks"),f=a?u.for||u:u&&u.withoutSetter||o;t.exports=function(e){return s(c,e)||(c[e]=l&&s(u,e)?u[e]:f("Symbol."+e)),c[e]}},{"../internals/global-this":60,"../internals/has-own-property":61,"../internals/shared":103,"../internals/symbol-constructor-detection":104,"../internals/uid":113,"../internals/use-symbol-as-uid":114}],118:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global-this"),s=e("../internals/an-instance"),o=e("../internals/an-object"),l=e("../internals/is-callable"),a=e("../internals/object-get-prototype-of"),u=e("../internals/define-built-in-accessor"),c=e("../internals/create-property"),f=e("../internals/fails"),h=e("../internals/has-own-property"),p=e("../internals/well-known-symbol"),d=e("../internals/iterators-core").IteratorPrototype,y=e("../internals/descriptors"),b=e("../internals/is-pure"),k="constructor",m="Iterator",v=p("toStringTag"),g=TypeError,L=i[m],x=b||!l(L)||L.prototype!==d||!f((function(){L({})})),j=function(){if(s(this,d),a(this)===d)throw new g("Abstract class Iterator not directly constructable")},w=function(e,t){y?u(d,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===d)throw new g("You can't redefine this property");h(this,e)?this[e]=t:c(this,e,t)}}):d[e]=t};h(d,v)||w(v,m),!x&&h(d,k)&&d[k]!==Object||w(k,j),j.prototype=d,r({global:!0,constructor:!0,forced:x},{Iterator:j})},{"../internals/an-instance":26,"../internals/an-object":27,"../internals/create-property":36,"../internals/define-built-in-accessor":37,"../internals/descriptors":41,"../internals/export":46,"../internals/fails":47,"../internals/global-this":60,"../internals/has-own-property":61,"../internals/is-callable":69,"../internals/is-pure":73,"../internals/iterators-core":82,"../internals/object-get-prototype-of":93,"../internals/well-known-symbol":117}],119:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),s=e("../internals/iterate"),o=e("../internals/a-callable"),l=e("../internals/an-object"),a=e("../internals/get-iterator-direct"),u=e("../internals/iterator-close"),c=e("../internals/iterator-helper-without-closing-on-early-error")("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:c},{forEach:function(e){l(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=a(this),n=0;s(t,(function(t){e(t,n++)}),{IS_RECORD:!0})}})},{"../internals/a-callable":25,"../internals/an-object":27,"../internals/export":46,"../internals/function-call":51,"../internals/get-iterator-direct":56,"../internals/iterate":75,"../internals/iterator-close":78,"../internals/iterator-helper-without-closing-on-early-error":81}],120:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),s=e("../internals/a-callable"),o=e("../internals/an-object"),l=e("../internals/get-iterator-direct"),a=e("../internals/iterator-create-proxy"),u=e("../internals/call-with-safe-iteration-closing"),c=e("../internals/iterator-close"),f=e("../internals/iterator-helper-throws-on-invalid-iterator"),h=e("../internals/iterator-helper-without-closing-on-early-error"),p=e("../internals/is-pure"),d=!p&&!f("map",(function(){})),y=!p&&!d&&h("map",TypeError),b=p||d||y,k=a((function(){var e=this.iterator,t=o(i(this.next,e));if(!(this.done=!!t.done))return u(e,this.mapper,[t.value,this.counter++],!0)}));r({target:"Iterator",proto:!0,real:!0,forced:b},{map:function(e){o(this);try{s(e)}catch(e){c(this,"throw",e)}return y?i(y,this,e):new k(l(this),{mapper:e})}})},{"../internals/a-callable":25,"../internals/an-object":27,"../internals/call-with-safe-iteration-closing":29,"../internals/export":46,"../internals/function-call":51,"../internals/get-iterator-direct":56,"../internals/is-pure":73,"../internals/iterator-close":78,"../internals/iterator-create-proxy":79,"../internals/iterator-helper-throws-on-invalid-iterator":80,"../internals/iterator-helper-without-closing-on-early-error":81}],121:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/iterate"),s=e("../internals/a-callable"),o=e("../internals/an-object"),l=e("../internals/get-iterator-direct"),a=e("../internals/iterator-close"),u=e("../internals/iterator-helper-without-closing-on-early-error"),c=e("../internals/function-apply"),f=e("../internals/fails"),h=TypeError,p=f((function(){[].keys().reduce((function(){}),void 0)})),d=!p&&u("reduce",h);r({target:"Iterator",proto:!0,real:!0,forced:p||d},{reduce:function(e){o(this);try{s(e)}catch(e){a(this,"throw",e)}var t=arguments.length<2,n=t?void 0:arguments[1];if(d)return c(d,this,t?[e]:[e,n]);var r=l(this),u=0;if(i(r,(function(r){t?(t=!1,n=r):n=e(n,r,u),u++}),{IS_RECORD:!0}),t)throw new h("Reduce of empty iterator with no initial value");return n}})},{"../internals/a-callable":25,"../internals/an-object":27,"../internals/export":46,"../internals/fails":47,"../internals/function-apply":48,"../internals/get-iterator-direct":56,"../internals/iterate":75,"../internals/iterator-close":78,"../internals/iterator-helper-without-closing-on-early-error":81}],122:[function(e,t,n){"use strict";e("../modules/es.iterator.constructor")},{"../modules/es.iterator.constructor":118}],123:[function(e,t,n){"use strict";e("../modules/es.iterator.for-each")},{"../modules/es.iterator.for-each":119}],124:[function(e,t,n){"use strict";e("../modules/es.iterator.map")},{"../modules/es.iterator.map":120}],125:[function(e,t,n){"use strict";e("../modules/es.iterator.reduce")},{"../modules/es.iterator.reduce":121}]},{},[15]);
1
+ !function e(t,n,r){function i(a,o){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!o&&l)return l(a,!0);if(s)return s(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){return i(t[a][1][e]||e)}),u,u.exports,e,t,n,r)}return n[a].exports}for(var s="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ArrayElement=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.reduce.js");class r{constructor(e=null){this.classType=r,this.data=null,this.data=e}}n.ArrayElement=r,r.make=(e,t=r)=>null===e||"object"!=typeof e?new t(e):e.classType?e:new t(e),r.fromArray=(e=[],t=r)=>e.reduce(((e,n)=>{const r=t.make(n,t);return e.head.length?(e.head.push(r),e.tail=r,e):{head:[r],tail:r}}),{head:[],tail:null})},{"core-js/modules/esnext.iterator.constructor.js":130,"core-js/modules/esnext.iterator.reduce.js":133}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Arrayable=void 0;const r=e("./ArrayElement"),i=e("../../recipes/ArrayIterator");class s{constructor(e=r.ArrayElement){this.classType=s,this.innerList=[],this.initialized=!1,this.elementClass=e}indexOfElement(e){const t=this.innerList.indexOf(e);if(t<0)throw new Error("The reference element is not in this list.");return t}initialize(e){return this.initialized?(console.warn("Attempt to initialize non-empty list."),this):(this.initialized=!0,this.innerList=e,this)}get list(){return this.innerList}get first(){return this.length?this.innerList[0]:null}get last(){return this.length?this.innerList[this.length-1]:null}get length(){return this.innerList.length}insertAfter(e,t){const n=null==e?-1:this.indexOfElement(e);return this.innerList.splice(n+1,0,this.elementClass.make(t,this.elementClass)),this}insertBefore(e,t){const n=null==e?this.length:this.indexOfElement(e);return this.innerList.splice(n,0,this.elementClass.make(t,this.elementClass)),this}append(e,t=this.last){return t===this.last?(this.innerList.push(this.elementClass.make(e,this.elementClass)),this):this.insertAfter(t,e)}prepend(e,t=this.first){return t===this.first?(this.innerList.unshift(this.elementClass.make(e,this.elementClass)),this):this.insertBefore(t,e)}remove(e){const t=this.innerList.indexOf(e);return t<0?null:(this.innerList.splice(t,1),e)}item(e){if(e>=this.length)return null;if(e>=0)return this.innerList[e];const t=this.length+e;return t<0?null:this.innerList[t]}forEach(e,t=this){for(let n=0;n<t.length;++n)e(t.item(n),n,t);return t}[Symbol.iterator](){return new i.ArrayIterator(this.innerList,0)}}n.Arrayable=s,s.fromArray=(e=[],t=r.ArrayElement,n=s)=>new n(t).initialize(t.fromArray(e).head)},{"../../recipes/ArrayIterator":17,"./ArrayElement":1}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DoubleLinker=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.reduce.js");const r=e("../linked-list/Linker");class i{constructor({data:e=null,next:t=null,prev:n=null}={}){this.classType=i,this.data=null,this.next=null,this.prev=null,this.data=e,this.next=t,this.prev=n}}n.DoubleLinker=i,i.make=(e,t=i)=>r.Linker.make(e,t),i.fromArray=(e=[],t=i)=>e.reduce(((e,n)=>{const r=t.make(n,t);return null===e.head?{head:r,tail:r}:(r.prev=e.tail,e.tail.next=r,e.tail=r,e)}),{head:null,tail:null})},{"../linked-list/Linker":6,"core-js/modules/esnext.iterator.constructor.js":130,"core-js/modules/esnext.iterator.reduce.js":133}],4:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DoublyLinkedList=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.for-each.js");const r=e("./DoubleLinker"),i=e("../../recipes/DoubleLinkerIterator"),s=e("../linked-list/LinkedList");class a{constructor(e=r.DoubleLinker){this.classType=a,this.innerList=null,this.initialized=!1,this.tailCache=null,this.countCache=null,this.linkerClass=e}initialize(e){return s.LinkedList.prototype.initialize.call(this,e)}get list(){return this.innerList}get first(){let e=this.innerList;if(null===e)return null;for(;null!==e.prev;)e=e.prev;return this.innerList=e,e}get last(){if(null===this.innerList)return null;let e=null!==this.tailCache?this.tailCache:this.innerList;for(;null!==e.next;)e=e.next;return this.tailCache=e,e}get length(){return null===this.countCache&&this.reset(),this.countCache}insertAfter(e,t){if(t=this.linkerClass.make(t,this.linkerClass),null==e){const e=this.first;t.prev=null,t.next=e,e?e.prev=t:this.tailCache=t,this.innerList=t}else t.next=e.next,t.prev=e,e.next=t,t.next?t.next.prev=t:this.tailCache=t;return null!==this.countCache&&++this.countCache,this}insertBefore(e,t){if(t=this.linkerClass.make(t,this.linkerClass),null==e){const e=this.last;t.next=null,t.prev=e,null===e?this.innerList=t:e.next=t,this.tailCache=t}else t.prev=e.prev,t.next=e,e.prev=t,t.prev?t.prev.next=t:this.innerList=t;return null!==this.countCache&&++this.countCache,this}append(e,t=this.last){return this.insertAfter(t,e)}prepend(e,t=this.first){return this.insertBefore(t,e)}remove(e){return null==e?null:(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),this.innerList===e&&(this.innerList=e.next||e.prev||null),this.tailCache===e&&(this.tailCache=e.prev),null===this.innerList&&(this.tailCache=null),null!==this.countCache&&--this.countCache,e)}reset(){let e=this.innerList;if(null===e)return this.countCache=0,this.tailCache=null,null;for(;null!==e.prev;)e=e.prev;this.innerList=e;let t=0,n=e,r=e;for(;null!==r;)++t,n=r,r=r.next;return this.countCache=t,this.tailCache=n,e}item(e){if(e>=0){let t=this.first,n=-1;for(;++n<e&&null!==t;)t=t.next;return n===e?t:null}let t=this.last,n=this.length;const r=this.length+e;if(r<0)return null;for(;--n>r&&null!==t;)t=t.prev;return n===r?t:null}forEach(e,t=this){return s.LinkedList.prototype.forEach.call(this,e,t)}[Symbol.iterator](){const e=this.first;return new i.DoubleLinkerIterator(e)}}n.DoublyLinkedList=a,a.fromArray=(e=[],t=r.DoubleLinker,n=a)=>s.LinkedList.fromArray(e,t,n)},{"../../recipes/DoubleLinkerIterator":18,"../linked-list/LinkedList":5,"./DoubleLinker":3,"core-js/modules/esnext.iterator.constructor.js":130,"core-js/modules/esnext.iterator.for-each.js":131}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LinkedList=void 0;const r=e("./Linker"),i=e("../../recipes/LinkerIterator"),s=e("../arrayable/Arrayable");class a{constructor(e=r.Linker){this.classType=a,this.innerList=null,this.initialized=!1,this.tailCache=null,this.countCache=null,this.linkerClass=e}initialize(e){return s.Arrayable.prototype.initialize.call(this,e)}get list(){return this.innerList}get first(){return this.innerList}get last(){if(null===this.innerList)return null;let e=null!==this.tailCache?this.tailCache:this.innerList;for(;null!==e.next;)e=e.next;return this.tailCache=e,e}get length(){return null===this.countCache&&this.reset(),this.countCache}insertAfter(e,t){return t=this.linkerClass.make(t,this.linkerClass),null==e?(t.next=this.innerList,null===this.innerList&&(this.tailCache=t),this.innerList=t):(t.next=e.next,e.next=t,null===t.next&&(this.tailCache=t)),null!==this.countCache&&++this.countCache,this}insertBefore(e,t){if(t=this.linkerClass.make(t,this.linkerClass),null==e){const e=this.last;t.next=null,null===e?this.innerList=t:e.next=t,this.tailCache=t}else{let n=null,r=this.first;for(;null!==r&&r!==e;)n=r,r=r.next;if(null===r)throw new Error("The reference node is not in this list.");t.next=e,n?n.next=t:this.innerList=t}return null!==this.countCache&&++this.countCache,this}append(e,t=this.last){return this.insertAfter(t,e)}prepend(e,t=this.first){return this.insertBefore(t,e)}remove(e){if(null==e)return null;let t=null,n=this.first;for(;null!==n&&n!==e;)t=n,n=n.next;return null===n?null:(t?t.next=e.next:this.innerList=e.next,this.tailCache===e&&(this.tailCache=t),null===this.innerList&&(this.tailCache=null),null!==this.countCache&&--this.countCache,e)}reset(){let e=0,t=null,n=this.innerList;for(;null!==n;)++e,t=n,n=n.next;return this.countCache=e,this.tailCache=t,this.innerList}item(e){if(e>=0){let t=this.first,n=-1;for(;++n<e&&null!==t;)t=t.next;return n===e?t:null}let t=this.first,n=0;const r=this.length+e;if(r<0)return null;for(;n<r&&null!==t;)t=t.next,++n;return n===r?t:null}forEach(e,t=this){let n=0,r=t.first;for(;null!==r;)e(r,n,t),r=r.next,++n;return t}[Symbol.iterator](){return new i.LinkerIterator(this.first)}}n.LinkedList=a,a.fromArray=(e=[],t=r.Linker,n=a)=>new n(t).initialize(t.fromArray(e).head)},{"../../recipes/LinkerIterator":19,"../arrayable/Arrayable":2,"./Linker":6}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Linker=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.reduce.js");const r=e("../arrayable/ArrayElement");class i{constructor({data:e=null,next:t=null}={}){this.classType=i,this.data=null,this.next=null,this.data=e,this.next=t}}n.Linker=i,i.make=(e,t=i)=>null===e||"object"!=typeof e?new t({data:e}):e.classType?e:("data"in e||(e={data:e}),r.ArrayElement.make(e,t)),i.fromArray=(e=[],t=i)=>e.reduce(((e,n)=>{const r=t.make(n,t);return null===e.head?{head:r,tail:r}:(e.tail.next=r,e.tail=r,e)}),{head:null,tail:null})},{"../arrayable/ArrayElement":1,"core-js/modules/esnext.iterator.constructor.js":130,"core-js/modules/esnext.iterator.reduce.js":133}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LinkedTreeList=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.for-each.js");const r=e("./TreeLinker"),i=e("../../recipes/TreeLinkerIterator"),s=e("../doubly-linked-list/DoublyLinkedList"),a=(e,t)=>Object.getOwnPropertyDescriptor(s.DoublyLinkedList.prototype,e).get.call(t);class o{constructor(e=r.TreeLinker){this.classType=o,this.innerList=null,this.initialized=!1,this.tailCache=null,this.countCache=null,this.ownerNode=void 0,this.linkerClass=e}initialize(e){return this.initialized?(console.warn("Attempt to initialize LinkedTreeList which is not empty."),this):(this.initialized=!0,this.innerList=e,this)}get list(){return this.innerList}get first(){return a("first",this)}get last(){return a("last",this)}get length(){return a("length",this)}get parent(){if(void 0!==this.ownerNode)return this.ownerNode;const e=this.first;return null===e?null:e.parent}set parent(e){this.ownerNode=e;let t=this.first;for(;null!==t;)t.parent=e,t=t.next;e&&(e.children=this)}get rootParent(){let e=this.first;if(!e)return null;let t=this.first.parent;for(;null!==t;)e=t,t=e.parent;return e}setChildren(e,t=null){let n=!1;if(this.forEach((t=>{t===e&&(n=!0)})),!n)throw new Error("The item is not one of the linkers of this list.");null!=t?t.parent=e:e.children=null}adopt(e){const t=this.linkerClass.make(e,this.linkerClass);return t.parent=this.parent,t}insertAfter(e,t){return s.DoublyLinkedList.prototype.insertAfter.call(this,e,this.adopt(t))}insertBefore(e,t){return s.DoublyLinkedList.prototype.insertBefore.call(this,e,this.adopt(t))}append(e,t=this.last){return s.DoublyLinkedList.prototype.append.call(this,e,t)}prepend(e,t=this.first){return s.DoublyLinkedList.prototype.prepend.call(this,e,t)}remove(e){const t=this.parent,n=s.DoublyLinkedList.prototype.remove.call(this,e);return n&&n.parent===t&&(this.ownerNode=t,n.parent=null),n}reset(){return s.DoublyLinkedList.prototype.reset.call(this)}item(e){return s.DoublyLinkedList.prototype.item.call(this,e)}forEach(e,t=this){let n=0,r=t.first;for(;null!==r;)e(r,n,t),r=r.next,++n;return t}[Symbol.iterator](){return new i.TreeLinkerIterator(this.first,this.parent)}}n.LinkedTreeList=o,o.fromArray=(e=[],t=r.TreeLinker,n=o)=>new n(t).initialize(t.fromArray(e).head)},{"../../recipes/TreeLinkerIterator":21,"../doubly-linked-list/DoublyLinkedList":4,"./TreeLinker":8,"core-js/modules/esnext.iterator.constructor.js":130,"core-js/modules/esnext.iterator.for-each.js":131}],8:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TreeLinker=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.map.js");const r=e("../doubly-linked-list/DoubleLinker"),i=e("./LinkedTreeList");class s{constructor({data:e=null,next:t=null,prev:n=null,children:r=null,parent:a=null,listClass:o=i.LinkedTreeList}={}){this.classType=s,this.data=null,this.next=null,this.prev=null,this.parent=null,this.children=null,this.data=e,this.next=t,this.prev=n,this.parent=a,this.children=this.childrenFromArray(r,o)}childrenFromArray(e=null,t=i.LinkedTreeList){if(null===e)return null;const n=e.map((e=>{const t=this.classType.make(e,this.classType);return t.parent=this,t})),r=t.fromArray(n,this.classType);return r.parent=this,r}}n.TreeLinker=s,s.make=(e,t=s)=>r.DoubleLinker.make(e,t),s.fromArray=(e=[],t=s)=>r.DoubleLinker.fromArray(e,t)},{"../doubly-linked-list/DoubleLinker":3,"./LinkedTreeList":7,"core-js/modules/esnext.iterator.constructor.js":130,"core-js/modules/esnext.iterator.map.js":132}],9:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Queue=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.for-each.js");const r=e("../linked-list/LinkedList"),i=e("../linked-list/Linker");class s{constructor(e=null,t=r.LinkedList,n=i.Linker){this.linkerClass=n,this.queuedList=null===e?new t(n):e}dequeue(){const e=this.queuedList.first;return null==e?null:(this.queuedList.remove(e),e.data)}empty(){return this.size()<=0}enqueue(e){return this.queuedList.append(new this.linkerClass({data:e})),this}peek(){const e=this.queuedList.first;return null==e?null:e.data}size(){return this.queuedList.length}[Symbol.iterator](){const e=this.queuedList[Symbol.iterator]();return{next:()=>{const t=e.next();return t.done?{done:!0,value:void 0}:{done:!1,value:t.value.data}}}}}n.Queue=s,s.fromArray=(e=[],t=r.LinkedList,n=i.Linker)=>{const a=new s(null,t,n);return e.forEach((e=>a.enqueue(e))),a}},{"../linked-list/LinkedList":5,"../linked-list/Linker":6,"core-js/modules/esnext.iterator.constructor.js":130,"core-js/modules/esnext.iterator.for-each.js":131}],10:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Queueable=void 0;const r=e("../linked-list/Linker");class i{constructor({task:e=null,next:t=null,ready:n=!1}={}){this.data=null,this.next=null,this.complete=!1,this.ready=!1,this.running=!1,this.classType=i,this.data=e,this.next=t,this.complete=!1,this.ready=n,this.running=!1}get isReady(){return"function"==typeof this.ready?this.ready():this.ready}get task(){return"function"==typeof this.data?this.data:e=>"function"==typeof e?e({context:this.data}).context:this.data}markCompleted({success:e=!0,error:t=!1,context:n=null}={}){return this.complete=!0,this.running=!1,{success:e,error:t,context:n}}run(){return this.isReady?this.running?{success:!1,error:"Queued task is already running, possible missing 'complete' callback",context:this.data}:(this.running=!0,this.task(this.markCompleted.bind(this))):{success:!1,error:"Task is not ready",context:this.data}}}n.Queueable=i,i.make=(e,t=i)=>null===e||"object"!=typeof e?new t({task:e,ready:!0}):e.classType?e:("task"in e||(e={task:e,ready:!0}),new t(e)),i.fromArray=(e=[],t=i)=>r.Linker.fromArray(e,t)},{"../linked-list/Linker":6}],11:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TaskQueue=void 0;const r=e("./Queueable"),i=e("../linked-list/LinkedList");class s{constructor(e=null,t=i.LinkedList,n=r.Queueable){this.listClass=t,this.queueableClass=n,null===e&&(e=new t(n)),this.queuedList=e}dequeue(){let e=this.remove();for(;e&&e.complete;)e=this.remove();return e?e.running?{success:!1,error:"The queue has been blocked by an unfinished task.",context:e}:e.isReady?(this.empty()||this.enqueue(e),e.run.call(e)):(this.enqueue(e),{success:!1,error:"Unable to find ready task.",context:e}):{success:"No more queueable tasks in the queue",error:!1,context:this.queuedList}}empty(){return this.size()<=0}enqueue(e){this.queuedList.append(e)}peek(){return this.queuedList.first}remove(){return this.empty()?null:this.queuedList.remove(this.queuedList.first)}size(){return this.queuedList.length}}n.TaskQueue=s,s.fromArray=(e=[],t=r.Queueable,n=i.LinkedList)=>{const a=new n(t);return a.initialize(t.fromArray(e,t).head),new s(a,n,t)}},{"../linked-list/LinkedList":5,"./Queueable":10}],12:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ScopedCollection=void 0,e("core-js/modules/esnext.map.delete-all.js"),e("core-js/modules/esnext.map.every.js"),e("core-js/modules/esnext.map.filter.js"),e("core-js/modules/esnext.map.find.js"),e("core-js/modules/esnext.map.find-key.js"),e("core-js/modules/esnext.map.includes.js"),e("core-js/modules/esnext.map.key-of.js"),e("core-js/modules/esnext.map.map-keys.js"),e("core-js/modules/esnext.map.map-values.js"),e("core-js/modules/esnext.map.merge.js"),e("core-js/modules/esnext.map.reduce.js"),e("core-js/modules/esnext.map.some.js"),e("core-js/modules/esnext.map.update.js"),e("core-js/modules/esnext.weak-map.delete-all.js");n.ScopedCollection=class{constructor(){this.scopes=new WeakMap}delete(e,t){const n=this.scopes.get(e);return void 0!==n&&n.delete(t)}get(e,t){let n;return null===(n=this.scopes.get(e))||void 0===n?void 0:n.get(t)}has(e,t){let n,r;return null!==(r=null===(n=this.scopes.get(e))||void 0===n?void 0:n.has(t))&&void 0!==r&&r}set(e,t,n){let r=this.scopes.get(e);return void 0===r&&(r=new Map,this.scopes.set(e,r)),r.set(t,n),this}}},{"core-js/modules/esnext.map.delete-all.js":134,"core-js/modules/esnext.map.every.js":135,"core-js/modules/esnext.map.filter.js":136,"core-js/modules/esnext.map.find-key.js":137,"core-js/modules/esnext.map.find.js":138,"core-js/modules/esnext.map.includes.js":139,"core-js/modules/esnext.map.key-of.js":140,"core-js/modules/esnext.map.map-keys.js":141,"core-js/modules/esnext.map.map-values.js":142,"core-js/modules/esnext.map.merge.js":143,"core-js/modules/esnext.map.reduce.js":144,"core-js/modules/esnext.map.some.js":145,"core-js/modules/esnext.map.update.js":146,"core-js/modules/esnext.weak-map.delete-all.js":147}],13:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Stack=void 0,e("core-js/modules/esnext.iterator.constructor.js"),e("core-js/modules/esnext.iterator.for-each.js");const r=e("../linked-list/LinkedList"),i=e("../linked-list/Linker");class s{constructor(e=null,t=r.LinkedList,n=i.Linker){this.linkerClass=n,this.stackedList=null===e?new t(n):e}empty(){return this.size()<=0}peek(){const e=this.stackedList.first;return null==e?null:e.data}pop(){const e=this.stackedList.first;return null==e?null:(this.stackedList.remove(e),e.data)}push(e){return this.stackedList.prepend(new this.linkerClass({data:e})),this}size(){return this.stackedList.length}top(){return this.peek()}[Symbol.iterator](){const e=this.stackedList[Symbol.iterator]();return{next:()=>{const t=e.next();return t.done?{done:!0,value:void 0}:{done:!1,value:t.value.data}}}}}n.Stack=s,s.fromArray=(e=[],t=r.LinkedList,n=i.Linker)=>{const a=new s(null,t,n);return e.forEach((e=>a.push(e))),a}},{"../linked-list/LinkedList":5,"../linked-list/Linker":6,"core-js/modules/esnext.iterator.constructor.js":130,"core-js/modules/esnext.iterator.for-each.js":131}],14:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Stackable=void 0;const r=e("../linked-list/Linker");class i{constructor({task:e=null,next:t=null,ready:n=!1}={}){this.data=null,this.next=null,this.classType=i,this.data=e,this.next=t}get task(){return"function"==typeof this.data?this.data:()=>this.data}run(){return this.task()}}n.Stackable=i,i.make=(e,t=i)=>null===e||"object"!=typeof e?new t({task:e}):e.classType?e:("task"in e||(e={task:e}),new t(e)),i.fromArray=(e=[],t=i)=>r.Linker.fromArray(e,t)},{"../linked-list/Linker":6}],15:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TaskStack=void 0;const r=e("./Stackable"),i=e("../linked-list/LinkedList");class s{constructor(e=null,t=i.LinkedList,n=r.Stackable){this.listClass=t,this.stackableClass=n,null===e&&(e=new t(n)),this.stackedList=e}empty(){return this.size()<=0}top(){return this.stackedList.first}pop(){const e=this.remove();return e?e.run():{success:"No more stackable tasks in the stack",error:!1,context:this.stackedList}}push(e){this.stackedList.prepend(e)}remove(){return this.empty()?null:this.stackedList.remove(this.stackedList.first)}size(){return this.stackedList.length}}n.TaskStack=s,s.fromArray=(e=[],t=r.Stackable,n=i.LinkedList)=>{const a=new n(t);return a.initialize(t.fromArray(e,t).head),new s(a,n,t)}},{"../linked-list/LinkedList":5,"./Stackable":14}],16:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ArrayElement",{enumerable:!0,get:function(){return r.ArrayElement}}),Object.defineProperty(n,"Arrayable",{enumerable:!0,get:function(){return i.Arrayable}}),Object.defineProperty(n,"DoubleLinker",{enumerable:!0,get:function(){return s.DoubleLinker}}),Object.defineProperty(n,"DoublyLinkedList",{enumerable:!0,get:function(){return a.DoublyLinkedList}}),Object.defineProperty(n,"LinkedList",{enumerable:!0,get:function(){return l.LinkedList}}),Object.defineProperty(n,"LinkedTreeList",{enumerable:!0,get:function(){return u.LinkedTreeList}}),Object.defineProperty(n,"Linker",{enumerable:!0,get:function(){return o.Linker}}),Object.defineProperty(n,"Queue",{enumerable:!0,get:function(){return f.Queue}}),Object.defineProperty(n,"Queueable",{enumerable:!0,get:function(){return p.Queueable}}),Object.defineProperty(n,"ScopedCollection",{enumerable:!0,get:function(){return d.ScopedCollection}}),Object.defineProperty(n,"Stack",{enumerable:!0,get:function(){return b.Stack}}),Object.defineProperty(n,"Stackable",{enumerable:!0,get:function(){return y.Stackable}}),Object.defineProperty(n,"TaskQueue",{enumerable:!0,get:function(){return h.TaskQueue}}),Object.defineProperty(n,"TaskStack",{enumerable:!0,get:function(){return m.TaskStack}}),Object.defineProperty(n,"TreeLinker",{enumerable:!0,get:function(){return c.TreeLinker}}),n.default=void 0,Object.defineProperty(n,"recipes",{enumerable:!0,get:function(){return v.recipes}}),Object.defineProperty(n,"services",{enumerable:!0,get:function(){return k.services}});var r=e("./collections/arrayable/ArrayElement"),i=e("./collections/arrayable/Arrayable"),s=e("./collections/doubly-linked-list/DoubleLinker"),a=e("./collections/doubly-linked-list/DoublyLinkedList"),o=e("./collections/linked-list/Linker"),l=e("./collections/linked-list/LinkedList"),c=e("./collections/linked-tree-list/TreeLinker"),u=e("./collections/linked-tree-list/LinkedTreeList"),p=e("./collections/queue/Queueable"),f=e("./collections/queue/Queue"),h=e("./collections/queue/TaskQueue"),d=e("./collections/scoped-collection/ScopedCollection"),y=e("./collections/stack/Stackable"),b=e("./collections/stack/Stack"),m=e("./collections/stack/TaskStack"),v=e("./recipes/recipes"),k=e("./services/services");const x={ArrayElement:r.ArrayElement,Arrayable:i.Arrayable,DoubleLinker:s.DoubleLinker,DoublyLinkedList:a.DoublyLinkedList,Linker:o.Linker,LinkedList:l.LinkedList,TreeLinker:c.TreeLinker,LinkedTreeList:u.LinkedTreeList,Queueable:p.Queueable,Queue:f.Queue,TaskQueue:h.TaskQueue,ScopedCollection:d.ScopedCollection,Stackable:y.Stackable,Stack:b.Stack,TaskStack:m.TaskStack,recipes:v.recipes,services:k.services};n.default=x;"undefined"!=typeof window&&(window.collectYourStuff=x)},{"./collections/arrayable/ArrayElement":1,"./collections/arrayable/Arrayable":2,"./collections/doubly-linked-list/DoubleLinker":3,"./collections/doubly-linked-list/DoublyLinkedList":4,"./collections/linked-list/LinkedList":5,"./collections/linked-list/Linker":6,"./collections/linked-tree-list/LinkedTreeList":7,"./collections/linked-tree-list/TreeLinker":8,"./collections/queue/Queue":9,"./collections/queue/Queueable":10,"./collections/queue/TaskQueue":11,"./collections/scoped-collection/ScopedCollection":12,"./collections/stack/Stack":13,"./collections/stack/Stackable":14,"./collections/stack/TaskStack":15,"./recipes/recipes":22,"./services/services":25}],17:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ArrayIterator=void 0;n.ArrayIterator=class{constructor(e,t=0){this.innerList=e,this.index=t}next(e){return this.index<this.innerList.length?{value:this.innerList[this.index++],done:!1}:{value:void 0,done:!0}}}},{}],18:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DoubleLinkerIterator=void 0;n.DoubleLinkerIterator=class{constructor(e){this.current=e}next(e){const t={value:this.current,done:!this.current};return this.current=this.current?this.current.next:null,t}}},{}],19:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LinkerIterator=void 0;n.LinkerIterator=class{constructor(e){this.current=e}next(e){const t={value:this.current,done:!this.current};return this.current=this.current?this.current.next:null,t}}},{}],20:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Runnable=void 0;class r{constructor(e=null){this.data=null,this.data=e}get task(){return"function"==typeof this.data?this.data:()=>this.data}run(){return this.task()}static isRunnable(e){return void 0===e?this instanceof r:"object"==typeof e&&("function"==typeof e.task&&"function"==typeof e.run)}}n.Runnable=r},{}],21:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TreeLinkerIterator=void 0;const r=e("../services/parseTreeNext");n.TreeLinkerIterator=class{constructor(e,t){this.current=e,this.boundaryParent=t}next(e){const t={value:this.current,done:!this.current};return this.current=(0,r.parseTreeNext)(this.current,this.boundaryParent),t}}},{"../services/parseTreeNext":24}],22:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.recipes=void 0;const r=e("./ArrayIterator"),i=e("./Runnable");n.recipes={ArrayIterator:r.ArrayIterator,Runnable:i.Runnable}},{"./ArrayIterator":17,"./Runnable":20}],23:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.parseTree=void 0;const r=e("./parseTreeNext");n.parseTree=(e,t)=>{let n=0,i=e.rootParent;for(;null!==i;)t(i,n,e),i=(0,r.parseTreeNext)(i),++n;return e}},{"./parseTreeNext":24}],24:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.parseTreeNext=void 0;n.parseTreeNext=(e,t)=>{if(!e)return null;if(e.children&&e.children.length)return e.children.first;if(e.next)return e.next;let n=e.parent;for(;n&&n!==t;){if(n.next)return n.next;n=n.parent}return null}},{}],25:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.services=void 0;const r=e("./parseTree"),i=e("./parseTreeNext");n.services={parseTree:r.parseTree,parseTreeNext:i.parseTreeNext}},{"./parseTree":23,"./parseTreeNext":24}],26:[function(e,t,n){"use strict";var r=e("../internals/is-callable"),i=e("../internals/try-to-string"),s=TypeError;t.exports=function(e){if(r(e))return e;throw new s(i(e)+" is not a function")}},{"../internals/is-callable":72,"../internals/try-to-string":119}],27:[function(e,t,n){"use strict";var r=e("../internals/map-helpers").has;t.exports=function(e){return r(e),e}},{"../internals/map-helpers":90}],28:[function(e,t,n){"use strict";var r=e("../internals/weak-map-helpers").has;t.exports=function(e){return r(e),e}},{"../internals/weak-map-helpers":124}],29:[function(e,t,n){"use strict";var r=e("../internals/object-is-prototype-of"),i=TypeError;t.exports=function(e,t){if(r(t,e))return e;throw new i("Incorrect invocation")}},{"../internals/object-is-prototype-of":100}],30:[function(e,t,n){"use strict";var r=e("../internals/is-object"),i=String,s=TypeError;t.exports=function(e){if(r(e))return e;throw new s(i(e)+" is not an object")}},{"../internals/is-object":75}],31:[function(e,t,n){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/to-absolute-index"),s=e("../internals/length-of-array-like"),a=function(e){return function(t,n,a){var o=r(t),l=s(o);if(0===l)return!e&&-1;var c,u=i(a,l);if(e&&n!=n){for(;l>u;)if((c=o[u++])!=c)return!0}else for(;l>u;u++)if((e||u in o)&&o[u]===n)return e||u||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},{"../internals/length-of-array-like":88,"../internals/to-absolute-index":112,"../internals/to-indexed-object":113}],32:[function(e,t,n){"use strict";var r=e("../internals/an-object"),i=e("../internals/iterator-close");t.exports=function(e,t,n,s){try{return s?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},{"../internals/an-object":30,"../internals/iterator-close":82}],33:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=r({}.toString),s=r("".slice);t.exports=function(e){return s(i(e),8,-1)}},{"../internals/function-uncurry-this":57}],34:[function(e,t,n){"use strict";var r=e("../internals/has-own-property"),i=e("../internals/own-keys"),s=e("../internals/object-get-own-property-descriptor"),a=e("../internals/object-define-property");t.exports=function(e,t,n){for(var o=i(t),l=a.f,c=s.f,u=0;u<o.length;u++){var p=o[u];r(e,p)||n&&r(n,p)||l(e,p,c(t,p))}}},{"../internals/has-own-property":64,"../internals/object-define-property":95,"../internals/object-get-own-property-descriptor":96,"../internals/own-keys":105}],35:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},{"../internals/fails":50}],36:[function(e,t,n){"use strict";t.exports=function(e,t){return{value:e,done:t}}},{}],37:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");t.exports=r?function(e,t,n){return i.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},{"../internals/create-property-descriptor":38,"../internals/descriptors":44,"../internals/object-define-property":95}],38:[function(e,t,n){"use strict";t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],39:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");t.exports=function(e,t,n){r?i.f(e,t,s(0,n)):e[t]=n}},{"../internals/create-property-descriptor":38,"../internals/descriptors":44,"../internals/object-define-property":95}],40:[function(e,t,n){"use strict";var r=e("../internals/make-built-in"),i=e("../internals/object-define-property");t.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},{"../internals/make-built-in":89,"../internals/object-define-property":95}],41:[function(e,t,n){"use strict";var r=e("../internals/is-callable"),i=e("../internals/object-define-property"),s=e("../internals/make-built-in"),a=e("../internals/define-global-property");t.exports=function(e,t,n,o){o||(o={});var l=o.enumerable,c=void 0!==o.name?o.name:t;if(r(n)&&s(n,c,o),o.global)l?e[t]=n:a(t,n);else{try{o.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}},{"../internals/define-global-property":43,"../internals/is-callable":72,"../internals/make-built-in":89,"../internals/object-define-property":95}],42:[function(e,t,n){"use strict";var r=e("../internals/define-built-in");t.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},{"../internals/define-built-in":41}],43:[function(e,t,n){"use strict";var r=e("../internals/global-this"),i=Object.defineProperty;t.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},{"../internals/global-this":63}],44:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":50}],45:[function(e,t,n){"use strict";var r=e("../internals/global-this"),i=e("../internals/is-object"),s=r.document,a=i(s)&&i(s.createElement);t.exports=function(e){return a?s.createElement(e):{}}},{"../internals/global-this":63,"../internals/is-object":75}],46:[function(e,t,n){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],47:[function(e,t,n){"use strict";var r=e("../internals/global-this").navigator,i=r&&r.userAgent;t.exports=i?String(i):""},{"../internals/global-this":63}],48:[function(e,t,n){"use strict";var r,i,s=e("../internals/global-this"),a=e("../internals/environment-user-agent"),o=s.process,l=s.Deno,c=o&&o.versions||l&&l.version,u=c&&c.v8;u&&(i=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},{"../internals/environment-user-agent":47,"../internals/global-this":63}],49:[function(e,t,n){"use strict";var r=e("../internals/global-this"),i=e("../internals/object-get-own-property-descriptor").f,s=e("../internals/create-non-enumerable-property"),a=e("../internals/define-built-in"),o=e("../internals/define-global-property"),l=e("../internals/copy-constructor-properties"),c=e("../internals/is-forced");t.exports=function(e,t){var n,u,p,f,h,d=e.target,y=e.global,b=e.stat;if(n=y?r:b?r[d]||o(d,{}):r[d]&&r[d].prototype)for(u in t){if(f=t[u],p=e.dontCallGetSet?(h=i(n,u))&&h.value:n[u],!c(y?u:d+(b?".":"#")+u,e.forced)&&void 0!==p){if(typeof f==typeof p)continue;l(f,p)}(e.sham||p&&p.sham)&&s(f,"sham",!0),a(n,u,f,e)}}},{"../internals/copy-constructor-properties":34,"../internals/create-non-enumerable-property":37,"../internals/define-built-in":41,"../internals/define-global-property":43,"../internals/global-this":63,"../internals/is-forced":73,"../internals/object-get-own-property-descriptor":96}],50:[function(e,t,n){"use strict";t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],51:[function(e,t,n){"use strict";var r=e("../internals/function-bind-native"),i=Function.prototype,s=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(s):function(){return a.apply(s,arguments)})},{"../internals/function-bind-native":53}],52:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this-clause"),i=e("../internals/a-callable"),s=e("../internals/function-bind-native"),a=r(r.bind);t.exports=function(e,t){return i(e),void 0===t?e:s?a(e,t):function(){return e.apply(t,arguments)}}},{"../internals/a-callable":26,"../internals/function-bind-native":53,"../internals/function-uncurry-this-clause":56}],53:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},{"../internals/fails":50}],54:[function(e,t,n){"use strict";var r=e("../internals/function-bind-native"),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},{"../internals/function-bind-native":53}],55:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/has-own-property"),s=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,o=i(s,"name"),l=o&&"something"===function(){}.name,c=o&&(!r||r&&a(s,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:c}},{"../internals/descriptors":44,"../internals/has-own-property":64}],56:[function(e,t,n){"use strict";var r=e("../internals/classof-raw"),i=e("../internals/function-uncurry-this");t.exports=function(e){if("Function"===r(e))return i(e)}},{"../internals/classof-raw":33,"../internals/function-uncurry-this":57}],57:[function(e,t,n){"use strict";var r=e("../internals/function-bind-native"),i=Function.prototype,s=i.call,a=r&&i.bind.bind(s,s);t.exports=r?a:function(e){return function(){return s.apply(e,arguments)}}},{"../internals/function-bind-native":53}],58:[function(e,t,n){"use strict";var r=e("../internals/global-this"),i=e("../internals/is-callable");t.exports=function(e,t){return arguments.length<2?(n=r[e],i(n)?n:void 0):r[e]&&r[e][t];var n}},{"../internals/global-this":63,"../internals/is-callable":72}],59:[function(e,t,n){"use strict";t.exports=function(e){return{iterator:e,next:e.next,done:!1}}},{}],60:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/is-callable"),s=e("../internals/an-object"),a=e("../internals/try-to-string"),o=e("../internals/get-iterator-method-internal"),l=TypeError;t.exports=function(e,t){var n=arguments.length<2?o(e):t;if(i(n))return s(r(n,e));throw new l(a(e)+" is not iterable")}},{"../internals/an-object":30,"../internals/function-call":54,"../internals/get-iterator-method-internal":61,"../internals/is-callable":72,"../internals/try-to-string":119}],61:[function(e,t,n){"use strict";var r=e("../internals/classof-raw"),i=e("../internals/is-null-or-undefined"),s=e("../internals/get-method"),a=e("../internals/well-known-symbol")("iterator"),o=Array.prototype;t.exports=function(e){if(!i(e))return s(e,a)||s(e,"@@iterator")||("Arguments"===r(e)?o[a]:void 0)}},{"../internals/classof-raw":33,"../internals/get-method":62,"../internals/is-null-or-undefined":74,"../internals/well-known-symbol":125}],62:[function(e,t,n){"use strict";var r=e("../internals/a-callable"),i=e("../internals/is-null-or-undefined");t.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},{"../internals/a-callable":26,"../internals/is-null-or-undefined":74}],63:[function(e,t,n){(function(e){(function(){"use strict";var n=function(e){return e&&e.Math===Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],64:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/to-object"),s=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return s(i(e),t)}},{"../internals/function-uncurry-this":57,"../internals/to-object":116}],65:[function(e,t,n){"use strict";t.exports={}},{}],66:[function(e,t,n){"use strict";var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},{"../internals/get-built-in":58}],67:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/fails"),s=e("../internals/document-create-element");t.exports=!r&&!i((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":44,"../internals/document-create-element":45,"../internals/fails":50}],68:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/fails"),s=e("../internals/classof-raw"),a=Object,o=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===s(e)?o(e,""):a(e)}:a},{"../internals/classof-raw":33,"../internals/fails":50,"../internals/function-uncurry-this":57}],69:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/is-callable"),s=e("../internals/shared-store"),a=r(Function.toString);i(s.inspectSource)||(s.inspectSource=function(e){return a(e)}),t.exports=s.inspectSource},{"../internals/function-uncurry-this":57,"../internals/is-callable":72,"../internals/shared-store":109}],70:[function(e,t,n){"use strict";var r,i,s,a=e("../internals/weak-map-basic-detection"),o=e("../internals/global-this"),l=e("../internals/is-object"),c=e("../internals/create-non-enumerable-property"),u=e("../internals/has-own-property"),p=e("../internals/shared-store"),f=e("../internals/shared-key"),h=e("../internals/hidden-keys"),d="Object already initialized",y=o.TypeError,b=o.WeakMap;if(a||p.state){var m=p.state||(p.state=new b);m.get=m.get,m.has=m.has,m.set=m.set,r=function(e,t){if(m.has(e))throw new y(d);return t.facade=e,m.set(e,t),t},i=function(e){return m.get(e)||{}},s=function(e){return m.has(e)}}else{var v=f("state");h[v]=!0,r=function(e,t){if(u(e,v))throw new y(d);return t.facade=e,c(e,v,t),t},i=function(e){return u(e,v)?e[v]:{}},s=function(e){return u(e,v)}}t.exports={set:r,get:i,has:s,enforce:function(e){return s(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw new y("Incompatible receiver, "+e+" required");return n}}}},{"../internals/create-non-enumerable-property":37,"../internals/global-this":63,"../internals/has-own-property":64,"../internals/hidden-keys":65,"../internals/is-object":75,"../internals/shared-key":108,"../internals/shared-store":109,"../internals/weak-map-basic-detection":123}],71:[function(e,t,n){"use strict";var r=e("../internals/well-known-symbol"),i=e("../internals/iterators"),s=r("iterator"),a=Array.prototype;t.exports=function(e){return void 0!==e&&(i.Array===e||a[s]===e)}},{"../internals/iterators":87,"../internals/well-known-symbol":125}],72:[function(e,t,n){"use strict";var r="object"==typeof document&&document.all;t.exports=void 0===r&&void 0!==r?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},{}],73:[function(e,t,n){"use strict";var r=e("../internals/fails"),i=e("../internals/is-callable"),s=/#|\.prototype\./,a=function(e,t){var n=l[o(e)];return n===u||n!==c&&(i(t)?r(t):!!t)},o=a.normalize=function(e){return String(e).replace(s,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";t.exports=a},{"../internals/fails":50,"../internals/is-callable":72}],74:[function(e,t,n){"use strict";t.exports=function(e){return null==e}},{}],75:[function(e,t,n){"use strict";var r=e("../internals/is-callable");t.exports=function(e){return"object"==typeof e?null!==e:r(e)}},{"../internals/is-callable":72}],76:[function(e,t,n){"use strict";t.exports=!1},{}],77:[function(e,t,n){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/is-callable"),s=e("../internals/object-is-prototype-of"),a=e("../internals/use-symbol-as-uid"),o=Object;t.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&s(t.prototype,o(e))}},{"../internals/get-built-in":58,"../internals/is-callable":72,"../internals/object-is-prototype-of":100,"../internals/use-symbol-as-uid":121}],78:[function(e,t,n){"use strict";var r=e("../internals/function-call");t.exports=function(e,t,n){for(var i,s,a=n?e:e.iterator,o=e.next;!(i=r(o,a)).done;)if(void 0!==(s=t(i.value)))return s}},{"../internals/function-call":54}],79:[function(e,t,n){"use strict";var r=e("../internals/function-bind-context"),i=e("../internals/function-call"),s=e("../internals/an-object"),a=e("../internals/try-to-string"),o=e("../internals/is-array-iterator-method"),l=e("../internals/length-of-array-like"),c=e("../internals/object-is-prototype-of"),u=e("../internals/get-iterator-internal"),p=e("../internals/get-iterator-method-internal"),f=e("../internals/iterator-close"),h=TypeError,d=function(e,t){this.stopped=e,this.result=t},y=d.prototype;t.exports=function(e,t,n){var b,m,v,k,x,g,j,L=n&&n.that,w=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_RECORD),T=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),S=r(t,L),A=function(e){var t=b;return b=void 0,t&&f(t,"normal"),new d(!0,e)},P=function(e){return w?(s(e),C?S(e[0],e[1],A):S(e[0],e[1])):C?S(e,A):S(e)};if(O)b=e.iterator;else if(T)b=e;else{if(!(m=p(e)))throw new h(a(e)+" is not iterable");if(o(m)){for(v=0,k=l(e);k>v;v++)if((x=P(e[v]))&&c(y,x))return x;return new d(!1)}b=u(e,m)}for(g=O?e.next:b.next;!(j=i(g,b)).done;){var E=j.value;try{x=P(E)}catch(e){if(!b)throw e;f(b,"throw",e)}if("object"==typeof x&&x&&c(y,x))return x}return new d(!1)}},{"../internals/an-object":30,"../internals/function-bind-context":52,"../internals/function-call":54,"../internals/get-iterator-internal":60,"../internals/get-iterator-method-internal":61,"../internals/is-array-iterator-method":71,"../internals/iterator-close":82,"../internals/length-of-array-like":88,"../internals/object-is-prototype-of":100,"../internals/try-to-string":119}],80:[function(e,t,n){"use strict";t.exports=function(e){e.iterator=e.next=e.nextHandler=e.mapper=e.predicate=e.inner=e.iterables=e.iters=e.openIters=e.padding=e.finishResults=e.buffer=null}},{}],81:[function(e,t,n){"use strict";var r=e("../internals/iterator-close");t.exports=function(e,t,n){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{n=r(e[i].iterator,t,n)}catch(e){t="throw",n=e}if("throw"===t)throw n;return n}},{"../internals/iterator-close":82}],82:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/an-object"),s=e("../internals/get-method");t.exports=function(e,t,n){var a,o;i(e);try{if(!(a=s(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){o=!0,a=e}if("throw"===t)throw n;if(o)throw a;return i(a),n}},{"../internals/an-object":30,"../internals/function-call":54,"../internals/get-method":62}],83:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/object-create"),s=e("../internals/create-non-enumerable-property"),a=e("../internals/define-built-ins"),o=e("../internals/well-known-symbol"),l=e("../internals/internal-state"),c=e("../internals/get-method"),u=e("../internals/iterators-core").IteratorPrototype,p=e("../internals/create-iter-result-object"),f=e("../internals/iterator-close"),h=e("../internals/iterator-close-all"),d=e("../internals/iterator-cleanup-state"),y=o("toStringTag"),b="IteratorHelper",m="WrapForValidIterator",v="normal",k="throw",x=l.set,g=function(e){var t=l.getterFor(e?m:b);return a(i(u),{next:function(){var n=t(this);if(e)return n.nextHandler();if(n.done)return p(void 0,!0);try{var r=n.nextHandler();return n.done&&d(n),n.returnHandlerResult?r:p(r,n.done)}catch(e){throw n.done=!0,d(n),e}},return:function(){var n=t(this),i=n.iterator,s=n.inner,a=n.openIters,o=n.done;if(n.done=!0,e){var l=c(i,"return");return l?r(l,i):p(void 0,!0)}if(d(n),o)return p(void 0,!0);if(s)try{f(s.iterator,v)}catch(e){return f(i,k,e)}if(a)try{h(a,v)}catch(e){if(i)return f(i,k,e);throw e}return i&&f(i,v),p(void 0,!0)}})},j=g(!0),L=g(!1);s(L,y,"Iterator Helper"),t.exports=function(e,t,n){var r=function(r,i){i?(i.iterator=r.iterator,i.next=r.next):i=r,i.type=t?m:b,i.returnHandlerResult=!!n,i.nextHandler=e,i.counter=0,i.done=!1,x(this,i)};return r.prototype=t?j:L,r}},{"../internals/create-iter-result-object":36,"../internals/create-non-enumerable-property":37,"../internals/define-built-ins":42,"../internals/function-call":54,"../internals/get-method":62,"../internals/internal-state":70,"../internals/iterator-cleanup-state":80,"../internals/iterator-close":82,"../internals/iterator-close-all":81,"../internals/iterators-core":86,"../internals/object-create":93,"../internals/well-known-symbol":125}],84:[function(e,t,n){"use strict";t.exports=function(e,t){var n="function"==typeof Iterator&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(e){return!0}}},{}],85:[function(e,t,n){"use strict";var r=e("../internals/global-this");t.exports=function(e,t){var n=r.Iterator,i=n&&n.prototype,s=i&&i[e],a=!1;if(s)try{s.call({next:function(){return{done:!0}},return:function(){a=!0}},-1)}catch(e){e instanceof t||(a=!1)}if(!a)return s}},{"../internals/global-this":63}],86:[function(e,t,n){"use strict";var r,i,s,a=e("../internals/fails"),o=e("../internals/is-callable"),l=e("../internals/is-object"),c=e("../internals/object-create"),u=e("../internals/object-get-prototype-of"),p=e("../internals/define-built-in"),f=e("../internals/well-known-symbol"),h=e("../internals/is-pure"),d=f("iterator"),y=!1;[].keys&&("next"in(s=[].keys())?(i=u(u(s)))!==Object.prototype&&(r=i):y=!0),!l(r)||a((function(){var e={};return r[d].call(e)!==e}))?r={}:h&&(r=c(r)),o(r[d])||p(r,d,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:y}},{"../internals/define-built-in":41,"../internals/fails":50,"../internals/is-callable":72,"../internals/is-object":75,"../internals/is-pure":76,"../internals/object-create":93,"../internals/object-get-prototype-of":99,"../internals/well-known-symbol":125}],87:[function(e,t,n){"use strict";t.exports=Object.create?Object.create(null):{}},{}],88:[function(e,t,n){"use strict";var r=e("../internals/to-length");t.exports=function(e){return r(e.length)}},{"../internals/to-length":115}],89:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/fails"),s=e("../internals/is-callable"),a=e("../internals/has-own-property"),o=e("../internals/descriptors"),l=e("../internals/function-name").CONFIGURABLE,c=e("../internals/inspect-source"),u=e("../internals/internal-state"),p=u.enforce,f=u.get,h=String,d=Object.defineProperty,y=r("".slice),b=r("".replace),m=r([].join),v=o&&!i((function(){return 8!==d((function(){}),"length",{value:8}).length})),k=String(String).split("String"),x=t.exports=function(e,t,n){"Symbol("===y(h(t),0,7)&&(t="["+b(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(o?d(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&a(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?o&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=p(e);return a(r,"source")||(r.source=m(k,"string"==typeof t?t:"")),e};Function.prototype.toString=x((function(){return s(this)&&f(this).source||c(this)}),"toString")},{"../internals/descriptors":44,"../internals/fails":50,"../internals/function-name":55,"../internals/function-uncurry-this":57,"../internals/has-own-property":64,"../internals/inspect-source":69,"../internals/internal-state":70,"../internals/is-callable":72}],90:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=Map.prototype;t.exports={Map:Map,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete),proto:i}},{"../internals/function-uncurry-this":57}],91:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/iterate-simple"),s=e("../internals/map-helpers"),a=s.Map,o=s.proto,l=r(o.forEach),c=r(o.entries),u=c(new a).next;t.exports=function(e,t,n){return n?i({iterator:c(e),next:u},(function(e){return t(e[1],e[0])})):l(e,t)}},{"../internals/function-uncurry-this":57,"../internals/iterate-simple":78,"../internals/map-helpers":90}],92:[function(e,t,n){"use strict";var r=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?i:r)(t)}},{}],93:[function(e,t,n){"use strict";var r,i=e("../internals/an-object"),s=e("../internals/object-define-properties"),a=e("../internals/enum-bug-keys"),o=e("../internals/hidden-keys"),l=e("../internals/html"),c=e("../internals/document-create-element"),u=e("../internals/shared-key"),p="prototype",f="script",h=u("IE_PROTO"),d=function(){},y=function(e){return"<"+f+">"+e+"</"+f+">"},b=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;m="undefined"!=typeof document?document.domain&&r?b(r):(t=c("iframe"),n="java"+f+":",t.style.display="none",l.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(y("document.F=Object")),e.close(),e.F):b(r);for(var i=a.length;i--;)delete m[p][a[i]];return m()};o[h]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(d[p]=i(e),n=new d,d[p]=null,n[h]=e):n=m(),void 0===t?n:s.f(n,t)}},{"../internals/an-object":30,"../internals/document-create-element":45,"../internals/enum-bug-keys":46,"../internals/hidden-keys":65,"../internals/html":66,"../internals/object-define-properties":94,"../internals/shared-key":108}],94:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/v8-prototype-define-bug"),s=e("../internals/object-define-property"),a=e("../internals/an-object"),o=e("../internals/to-indexed-object"),l=e("../internals/object-keys");n.f=r&&!i?Object.defineProperties:function(e,t){a(e);for(var n,r=o(t),i=l(t),c=i.length,u=0;c>u;)s.f(e,n=i[u++],r[n]);return e}},{"../internals/an-object":30,"../internals/descriptors":44,"../internals/object-define-property":95,"../internals/object-keys":102,"../internals/to-indexed-object":113,"../internals/v8-prototype-define-bug":122}],95:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/ie8-dom-define"),s=e("../internals/v8-prototype-define-bug"),a=e("../internals/an-object"),o=e("../internals/to-property-key"),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",h="writable";n.f=r?s?function(e,t,n){if(a(e),t=o(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=u(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:p in n?n[p]:r[p],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=o(t),a(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},{"../internals/an-object":30,"../internals/descriptors":44,"../internals/ie8-dom-define":67,"../internals/to-property-key":118,"../internals/v8-prototype-define-bug":122}],96:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/function-call"),s=e("../internals/object-property-is-enumerable"),a=e("../internals/create-property-descriptor"),o=e("../internals/to-indexed-object"),l=e("../internals/to-property-key"),c=e("../internals/has-own-property"),u=e("../internals/ie8-dom-define"),p=Object.getOwnPropertyDescriptor;n.f=r?p:function(e,t){if(e=o(e),t=l(t),u)try{return p(e,t)}catch(e){}if(c(e,t))return a(!i(s.f,e,t),e[t])}},{"../internals/create-property-descriptor":38,"../internals/descriptors":44,"../internals/function-call":54,"../internals/has-own-property":64,"../internals/ie8-dom-define":67,"../internals/object-property-is-enumerable":103,"../internals/to-indexed-object":113,"../internals/to-property-key":118}],97:[function(e,t,n){"use strict";var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},{"../internals/enum-bug-keys":46,"../internals/object-keys-internal":101}],98:[function(e,t,n){"use strict";n.f=Object.getOwnPropertySymbols},{}],99:[function(e,t,n){"use strict";var r=e("../internals/has-own-property"),i=e("../internals/is-callable"),s=e("../internals/to-object"),a=e("../internals/shared-key"),o=e("../internals/correct-prototype-getter"),l=a("IE_PROTO"),c=Object,u=c.prototype;t.exports=o?c.getPrototypeOf:function(e){var t=s(e);if(r(t,l))return t[l];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof c?u:null}},{"../internals/correct-prototype-getter":35,"../internals/has-own-property":64,"../internals/is-callable":72,"../internals/shared-key":108,"../internals/to-object":116}],100:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this");t.exports=r({}.isPrototypeOf)},{"../internals/function-uncurry-this":57}],101:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/has-own-property"),s=e("../internals/to-indexed-object"),a=e("../internals/array-includes").indexOf,o=e("../internals/hidden-keys"),l=r([].push);t.exports=function(e,t){var n,r=s(e),c=0,u=[];for(n in r)!i(o,n)&&i(r,n)&&l(u,n);for(;t.length>c;)i(r,n=t[c++])&&(~a(u,n)||l(u,n));return u}},{"../internals/array-includes":31,"../internals/function-uncurry-this":57,"../internals/has-own-property":64,"../internals/hidden-keys":65,"../internals/to-indexed-object":113}],102:[function(e,t,n){"use strict";var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys");t.exports=Object.keys||function(e){return r(e,i)}},{"../internals/enum-bug-keys":46,"../internals/object-keys-internal":101}],103:[function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,s=i&&!r.call({1:2},1);n.f=s?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},{}],104:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/is-callable"),s=e("../internals/is-object"),a=TypeError;t.exports=function(e,t){var n,o;if("string"===t&&i(n=e.toString)&&!s(o=r(n,e)))return o;if(i(n=e.valueOf)&&!s(o=r(n,e)))return o;if("string"!==t&&i(n=e.toString)&&!s(o=r(n,e)))return o;throw new a("Can't convert object to primitive value")}},{"../internals/function-call":54,"../internals/is-callable":72,"../internals/is-object":75}],105:[function(e,t,n){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/function-uncurry-this"),s=e("../internals/object-get-own-property-names"),a=e("../internals/object-get-own-property-symbols"),o=e("../internals/an-object"),l=i([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=s.f(o(e)),n=a.f;return n?l(t,n(e)):t}},{"../internals/an-object":30,"../internals/function-uncurry-this":57,"../internals/get-built-in":58,"../internals/object-get-own-property-names":97,"../internals/object-get-own-property-symbols":98}],106:[function(e,t,n){"use strict";var r=e("../internals/is-null-or-undefined"),i=TypeError;t.exports=function(e){if(r(e))throw new i("Can't call method on "+e);return e}},{"../internals/is-null-or-undefined":74}],107:[function(e,t,n){"use strict";t.exports=function(e,t){return e===t||e!=e&&t!=t}},{}],108:[function(e,t,n){"use strict";var r=e("../internals/shared"),i=e("../internals/uid"),s=r("keys");t.exports=function(e){return s[e]||(s[e]=i(e))}},{"../internals/shared":110,"../internals/uid":120}],109:[function(e,t,n){"use strict";var r=e("../internals/is-pure"),i=e("../internals/global-this"),s=e("../internals/define-global-property"),a="__core-js_shared__",o=t.exports=i[a]||s(a,{});(o.versions||(o.versions=[])).push({version:"3.50.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.50.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/define-global-property":43,"../internals/global-this":63,"../internals/is-pure":76}],110:[function(e,t,n){"use strict";var r=e("../internals/shared-store"),i=Object.create||Object;t.exports=function(e,t){return r[e]||(r[e]=t||i(null))}},{"../internals/shared-store":109}],111:[function(e,t,n){"use strict";var r=e("../internals/environment-v8-version"),i=e("../internals/fails"),s=e("../internals/global-this").String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},{"../internals/environment-v8-version":48,"../internals/fails":50,"../internals/global-this":63}],112:[function(e,t,n){"use strict";var r=e("../internals/to-integer-or-infinity"),i=Math.max,s=Math.min;t.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):s(n,t)}},{"../internals/to-integer-or-infinity":114}],113:[function(e,t,n){"use strict";var r=e("../internals/indexed-object"),i=e("../internals/require-object-coercible");t.exports=function(e){return r(i(e))}},{"../internals/indexed-object":68,"../internals/require-object-coercible":106}],114:[function(e,t,n){"use strict";var r=e("../internals/math-trunc");t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},{"../internals/math-trunc":92}],115:[function(e,t,n){"use strict";var r=e("../internals/to-integer-or-infinity"),i=Math.min;t.exports=function(e){var t=r(e);return t>0?i(t,9007199254740991):0}},{"../internals/to-integer-or-infinity":114}],116:[function(e,t,n){"use strict";var r=e("../internals/require-object-coercible"),i=Object;t.exports=function(e){return i(r(e))}},{"../internals/require-object-coercible":106}],117:[function(e,t,n){"use strict";var r=e("../internals/function-call"),i=e("../internals/is-object"),s=e("../internals/is-symbol"),a=e("../internals/get-method"),o=e("../internals/ordinary-to-primitive"),l=e("../internals/well-known-symbol"),c=TypeError,u=l("toPrimitive");t.exports=function(e,t){if(!i(e)||s(e))return e;var n,l=a(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!i(n)||s(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}},{"../internals/function-call":54,"../internals/get-method":62,"../internals/is-object":75,"../internals/is-symbol":77,"../internals/ordinary-to-primitive":104,"../internals/well-known-symbol":125}],118:[function(e,t,n){"use strict";var r=e("../internals/to-primitive"),i=e("../internals/is-symbol");t.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},{"../internals/is-symbol":77,"../internals/to-primitive":117}],119:[function(e,t,n){"use strict";var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}},{}],120:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=0,s=Math.random(),a=r(1.1.toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+s,36)}},{"../internals/function-uncurry-this":57}],121:[function(e,t,n){"use strict";var r=e("../internals/symbol-constructor-detection");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/symbol-constructor-detection":111}],122:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/fails");t.exports=r&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},{"../internals/descriptors":44,"../internals/fails":50}],123:[function(e,t,n){"use strict";var r=e("../internals/global-this"),i=e("../internals/is-callable"),s=r.WeakMap;t.exports=i(s)&&/native code/.test(String(s))},{"../internals/global-this":63,"../internals/is-callable":72}],124:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=WeakMap.prototype;t.exports={WeakMap:WeakMap,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete)}},{"../internals/function-uncurry-this":57}],125:[function(e,t,n){"use strict";var r=e("../internals/global-this"),i=e("../internals/shared"),s=e("../internals/has-own-property"),a=e("../internals/uid"),o=e("../internals/symbol-constructor-detection"),l=e("../internals/use-symbol-as-uid"),c=r.Symbol,u=i("wks"),p=l?c.for||c:c&&c.withoutSetter||a;t.exports=function(e){return s(u,e)||(u[e]=o&&s(c,e)?c[e]:p("Symbol."+e)),u[e]}},{"../internals/global-this":63,"../internals/has-own-property":64,"../internals/shared":110,"../internals/symbol-constructor-detection":111,"../internals/uid":120,"../internals/use-symbol-as-uid":121}],126:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global-this"),s=e("../internals/an-instance"),a=e("../internals/an-object"),o=e("../internals/is-callable"),l=e("../internals/object-get-prototype-of"),c=e("../internals/define-built-in-accessor"),u=e("../internals/create-property"),p=e("../internals/fails"),f=e("../internals/has-own-property"),h=e("../internals/well-known-symbol"),d=e("../internals/iterators-core").IteratorPrototype,y=e("../internals/descriptors"),b=e("../internals/is-pure"),m="constructor",v="Iterator",k=h("toStringTag"),x=TypeError,g=i[v],j=b||!o(g)||g.prototype!==d||!p((function(){g({})})),L=function(){if(s(this,d),l(this)===d)throw new x("Abstract class Iterator not directly constructable")},w=function(e,t){y?c(d,e,{configurable:!0,get:function(){return t},set:function(t){if(a(this),this===d)throw new x("You can't redefine this property");f(this,e)?this[e]=t:u(this,e,t)}}):d[e]=t};f(d,k)||w(k,v),!j&&f(d,m)&&d[m]!==Object||w(m,L),L.prototype=d,r({global:!0,constructor:!0,forced:j},{Iterator:L})},{"../internals/an-instance":29,"../internals/an-object":30,"../internals/create-property":39,"../internals/define-built-in-accessor":40,"../internals/descriptors":44,"../internals/export":49,"../internals/fails":50,"../internals/global-this":63,"../internals/has-own-property":64,"../internals/is-callable":72,"../internals/is-pure":76,"../internals/iterators-core":86,"../internals/object-get-prototype-of":99,"../internals/well-known-symbol":125}],127:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),s=e("../internals/iterate"),a=e("../internals/a-callable"),o=e("../internals/an-object"),l=e("../internals/get-iterator-direct"),c=e("../internals/iterator-close"),u=e("../internals/iterator-helper-without-closing-on-early-error")("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function(e){o(this);try{a(e)}catch(e){c(this,"throw",e)}if(u)return i(u,this,e);var t=l(this),n=0;s(t,(function(t){e(t,n++)}),{IS_RECORD:!0})}})},{"../internals/a-callable":26,"../internals/an-object":30,"../internals/export":49,"../internals/function-call":54,"../internals/get-iterator-direct":59,"../internals/iterate":79,"../internals/iterator-close":82,"../internals/iterator-helper-without-closing-on-early-error":85}],128:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),s=e("../internals/a-callable"),a=e("../internals/an-object"),o=e("../internals/get-iterator-direct"),l=e("../internals/iterator-create-proxy"),c=e("../internals/call-with-safe-iteration-closing"),u=e("../internals/iterator-close"),p=e("../internals/iterator-helper-throws-on-invalid-iterator"),f=e("../internals/iterator-helper-without-closing-on-early-error"),h=e("../internals/is-pure"),d=!h&&!p("map",(function(){})),y=!h&&!d&&f("map",TypeError),b=h||d||y,m=l((function(){var e=this.iterator,t=a(i(this.next,e));if(!(this.done=!!t.done))return c(e,this.mapper,[t.value,this.counter++],!0)}));r({target:"Iterator",proto:!0,real:!0,forced:b},{map:function(e){a(this);try{s(e)}catch(e){u(this,"throw",e)}return y?i(y,this,e):new m(o(this),{mapper:e})}})},{"../internals/a-callable":26,"../internals/an-object":30,"../internals/call-with-safe-iteration-closing":32,"../internals/export":49,"../internals/function-call":54,"../internals/get-iterator-direct":59,"../internals/is-pure":76,"../internals/iterator-close":82,"../internals/iterator-create-proxy":83,"../internals/iterator-helper-throws-on-invalid-iterator":84,"../internals/iterator-helper-without-closing-on-early-error":85}],129:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/iterate"),s=e("../internals/a-callable"),a=e("../internals/an-object"),o=e("../internals/get-iterator-direct"),l=e("../internals/iterator-close"),c=e("../internals/iterator-helper-without-closing-on-early-error"),u=e("../internals/function-apply"),p=e("../internals/fails"),f=TypeError,h=p((function(){[].keys().reduce((function(){}),void 0)})),d=!h&&c("reduce",f);r({target:"Iterator",proto:!0,real:!0,forced:h||d},{reduce:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}var t=arguments.length<2,n=t?void 0:arguments[1];if(d)return u(d,this,t?[e]:[e,n]);var r=o(this),c=0;if(i(r,(function(r){t?(t=!1,n=r):n=e(n,r,c),c++}),{IS_RECORD:!0}),t)throw new f("Reduce of empty iterator with no initial value");return n}})},{"../internals/a-callable":26,"../internals/an-object":30,"../internals/export":49,"../internals/fails":50,"../internals/function-apply":51,"../internals/get-iterator-direct":59,"../internals/iterate":79,"../internals/iterator-close":82,"../internals/iterator-helper-without-closing-on-early-error":85}],130:[function(e,t,n){"use strict";e("../modules/es.iterator.constructor")},{"../modules/es.iterator.constructor":126}],131:[function(e,t,n){"use strict";e("../modules/es.iterator.for-each")},{"../modules/es.iterator.for-each":127}],132:[function(e,t,n){"use strict";e("../modules/es.iterator.map")},{"../modules/es.iterator.map":128}],133:[function(e,t,n){"use strict";e("../modules/es.iterator.reduce")},{"../modules/es.iterator.reduce":129}],134:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/a-map"),s=e("../internals/map-helpers").remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=i(this),n=!0,r=0,a=arguments.length;r<a;r++)e=s(t,arguments[r]),n=n&&e;return!!n}})},{"../internals/a-map":27,"../internals/export":49,"../internals/map-helpers":90}],135:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-bind-context"),s=e("../internals/a-map"),a=e("../internals/map-iterate");r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=s(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!1!==a(t,(function(e,r){if(!n(e,r,t))return!1}),!0)}})},{"../internals/a-map":27,"../internals/export":49,"../internals/function-bind-context":52,"../internals/map-iterate":91}],136:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-bind-context"),s=e("../internals/a-map"),a=e("../internals/map-helpers"),o=e("../internals/map-iterate"),l=a.Map,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=s(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new l;return o(t,(function(e,i){n(e,i,t)&&c(r,i,e)})),r}})},{"../internals/a-map":27,"../internals/export":49,"../internals/function-bind-context":52,"../internals/map-helpers":90,"../internals/map-iterate":91}],137:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-bind-context"),s=e("../internals/a-map"),a=e("../internals/map-iterate");r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=s(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e,r){if(n(e,r,t))return{key:r}}),!0);return r&&r.key}})},{"../internals/a-map":27,"../internals/export":49,"../internals/function-bind-context":52,"../internals/map-iterate":91}],138:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-bind-context"),s=e("../internals/a-map"),a=e("../internals/map-iterate");r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=s(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e,r){if(n(e,r,t))return{value:e}}),!0);return r&&r.value}})},{"../internals/a-map":27,"../internals/export":49,"../internals/function-bind-context":52,"../internals/map-iterate":91}],139:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/same-value-zero"),s=e("../internals/a-map"),a=e("../internals/map-iterate");r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return!0===a(s(this),(function(t){if(i(t,e))return!0}),!0)}})},{"../internals/a-map":27,"../internals/export":49,"../internals/map-iterate":91,"../internals/same-value-zero":107}],140:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/a-map"),s=e("../internals/map-iterate");r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var t=s(i(this),(function(t,n){if(t===e)return{key:n}}),!0);return t&&t.key}})},{"../internals/a-map":27,"../internals/export":49,"../internals/map-iterate":91}],141:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-bind-context"),s=e("../internals/a-map"),a=e("../internals/map-helpers"),o=e("../internals/map-iterate"),l=a.Map,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=s(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new l;return o(t,(function(e,i){c(r,n(e,i,t),e)})),r}})},{"../internals/a-map":27,"../internals/export":49,"../internals/function-bind-context":52,"../internals/map-helpers":90,"../internals/map-iterate":91}],142:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-bind-context"),s=e("../internals/a-map"),a=e("../internals/map-helpers"),o=e("../internals/map-iterate"),l=a.Map,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=s(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new l;return o(t,(function(e,i){c(r,i,n(e,i,t))})),r}})},{"../internals/a-map":27,"../internals/export":49,"../internals/function-bind-context":52,"../internals/map-helpers":90,"../internals/map-iterate":91}],143:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/a-map"),s=e("../internals/iterate"),a=e("../internals/map-helpers").set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=i(this),n=arguments.length,r=0;r<n;)s(arguments[r++],(function(e,n){a(t,e,n)}),{AS_ENTRIES:!0});return t}})},{"../internals/a-map":27,"../internals/export":49,"../internals/iterate":79,"../internals/map-helpers":90}],144:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/a-callable"),s=e("../internals/a-map"),a=e("../internals/map-iterate"),o=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=s(this),n=arguments.length<2,r=n?void 0:arguments[1];if(i(e),a(t,(function(i,s){n?(n=!1,r=i):r=e(r,i,s,t)})),n)throw new o("Reduce of empty map with no initial value");return r}})},{"../internals/a-callable":26,"../internals/a-map":27,"../internals/export":49,"../internals/map-iterate":91}],145:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-bind-context"),s=e("../internals/a-map"),a=e("../internals/map-iterate");r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=s(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!0===a(t,(function(e,r){if(n(e,r,t))return!0}),!0)}})},{"../internals/a-map":27,"../internals/export":49,"../internals/function-bind-context":52,"../internals/map-iterate":91}],146:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/a-callable"),s=e("../internals/a-map"),a=e("../internals/map-helpers"),o=TypeError,l=a.get,c=a.has,u=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var n=s(this),r=arguments.length;i(t);var a=c(n,e);if(!a&&r<3)throw new o("Updating absent value");var p=a?l(n,e):i(r>2?arguments[2]:void 0)(e,n);return u(n,e,t(p,e,n)),n}})},{"../internals/a-callable":26,"../internals/a-map":27,"../internals/export":49,"../internals/map-helpers":90}],147:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/a-weak-map"),s=e("../internals/weak-map-helpers").remove;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=i(this),n=!0,r=0,a=arguments.length;r<a;r++)e=s(t,arguments[r]),n=n&&e;return!!n}})},{"../internals/a-weak-map":28,"../internals/export":49,"../internals/weak-map-helpers":124}]},{},[16]);
@@ -1,8 +1,5 @@
1
1
  /**
2
- * @file linked list item.
3
- * @author Joshua Heagle <joshuaheagle@gmail.com>
4
- * @version 1.1.0
5
- * @memberOf module:collect-your-stuff
2
+ * linked list item.
6
3
  */
7
4
  import { IsElement } from '../../recipes/IsElement';
8
5
  /**
@@ -15,21 +12,19 @@ export declare class ArrayElement implements IsElement {
15
12
  data: any;
16
13
  /**
17
14
  * Create the new Element instance, provide the data and optionally configure the type of Element.
18
- * @param {*} [data=null] The data to be stored in this element.
15
+ * @param data The data to be stored in this element.
19
16
  */
20
17
  constructor(data?: any);
21
18
  /**
22
19
  * Make a new Element from the data given if it is not already a valid Element.
23
- * @param {ArrayElement|*} element Return a valid ArrayElement instance from given data, or even an already valid one.
24
- * @param {IsElement} [classType=ArrayElement] Provide the type of IsElement to use.
25
- * @return {ArrayElement}
20
+ * @param element Return a valid ArrayElement instance from given data, or even an already valid one.
21
+ * @param classType Provide the type of IsElement to use.
26
22
  */
27
23
  static make: (element: ArrayElement | any, classType?: any) => IsElement | any;
28
24
  /**
29
25
  * Convert an array into Element instances, return the head and tail Elements.
30
- * @param {Array<IsElement>} [values=[]] Provide an array of data that will be converted to array of elements.
31
- * @param {IsElement} [classType=ArrayElement] Provide the type of IsElement to use.
32
- * @returns {{head: ArrayElement[], tail: ArrayElement}}
26
+ * @param values Provide an array of data that will be converted to array of elements.
27
+ * @param classType Provide the type of IsElement to use.
33
28
  */
34
29
  static fromArray: (values?: Array<IsElement>, classType?: any) => {
35
30
  head: Array<ArrayElement>;
@@ -12,7 +12,7 @@ require('core-js/modules/esnext.iterator.reduce.js')
12
12
  class ArrayElement {
13
13
  /**
14
14
  * Create the new Element instance, provide the data and optionally configure the type of Element.
15
- * @param {*} [data=null] The data to be stored in this element.
15
+ * @param data The data to be stored in this element.
16
16
  */
17
17
  constructor (data = null) {
18
18
  /** The class used to create this instance, so that it can be recognized as valid without an instanceof check. */
@@ -24,9 +24,8 @@ class ArrayElement {
24
24
  }
25
25
  /**
26
26
  * Make a new Element from the data given if it is not already a valid Element.
27
- * @param {ArrayElement|*} element Return a valid ArrayElement instance from given data, or even an already valid one.
28
- * @param {IsElement} [classType=ArrayElement] Provide the type of IsElement to use.
29
- * @return {ArrayElement}
27
+ * @param element Return a valid ArrayElement instance from given data, or even an already valid one.
28
+ * @param classType Provide the type of IsElement to use.
30
29
  */
31
30
  exports.ArrayElement = ArrayElement
32
31
  ArrayElement.make = (element, classType = ArrayElement) => {
@@ -43,9 +42,8 @@ ArrayElement.make = (element, classType = ArrayElement) => {
43
42
  }
44
43
  /**
45
44
  * Convert an array into Element instances, return the head and tail Elements.
46
- * @param {Array<IsElement>} [values=[]] Provide an array of data that will be converted to array of elements.
47
- * @param {IsElement} [classType=ArrayElement] Provide the type of IsElement to use.
48
- * @returns {{head: ArrayElement[], tail: ArrayElement}}
45
+ * @param values Provide an array of data that will be converted to array of elements.
46
+ * @param classType Provide the type of IsElement to use.
49
47
  */
50
48
  ArrayElement.fromArray = (values = [], classType = ArrayElement) => values.reduce((references, element) => {
51
49
  const newElement = classType.make(element, classType)