function UpdraftCentral_Queue(){var n=[],e=0,t=!1;this.get_length=function(){return n.length-e},this.is_empty=function(){return 0==n.length},this.enqueue=function(t){n.push(t)},this.is_locked=function(){return t},this.get_lock=function(){return!t&&(this.lock(),!0)},this.dequeue=function(){var t;if(0!=n.length)return t=n[e],2*++e>=n.length&&(n=n.slice(e),e=0),t},this.lock=function(){t=!0},this.unlock=function(){t=!1},this.peek=function(){return 0