JAL-2255 Bug fix
[jalview.git] / examples / example_biojs.html
1 <html>
2 <!--
3  * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
4  * Copyright (C) $$Year-Rel$$ The Jalview Authors
5  * 
6  * This file is part of Jalview.
7  * 
8  * Jalview is free software: you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License 
10  * as published by the Free Software Foundation, either version 3
11  * of the License, or (at your option) any later version.
12  *  
13  * Jalview is distributed in the hope that it will be useful, but 
14  * WITHOUT ANY WARRANTY; without even the implied warranty 
15  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
16  * PURPOSE.  See the GNU General Public License for more details.
17  * 
18  * You should have received a copy of the GNU General Public License
19  * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
20  * The Jalview Authors are detailed in the 'AUTHORS' file.
21  -->
22 <header><title>BioJS viewer</title></header>
23
24 <body>
25
26 <!-- include MSA js + css -->
27 <!-- <script src="https://s3-eu-west-1.amazonaws.com/biojs/msa/latest/msa.js"></script> -->
28 <!-- <link type=text/css rel=stylesheet href=https://s3-eu-west-1.amazonaws.com/biojs/msa/latest/msa.css /> -->
29  
30  <img src="http://www.jalview.org/help/html/Jalview_Logo.png" alt="Jalview Logo" title="This html page was generated from Jalview, to import the data back to Jalview, please drag the generated html file and drop it unto the Jalview workbench.
31  
32  Alternatively, you could copy the url from the address bar and use Jalview's url importer (main menu-> File-> Input Alignment-> from URL) to import back the alignment jalview." >
33
34 </br>
35 </br>
36
37 <input type="button" name="divToggleButton" id="divToggleButton" onclick="javascipt:toggleMenuVisibility();" value="Show Menu"></input>
38 <button onclick="javascipt:openJalviewUsingCurrentUrl();">Launch in Jalview</button>
39
40 </br>
41 </br> 
42   
43 <div id="yourDiv">press "Run with JS"</div>
44 <input type='hidden' id='seqData' name='seqData' value='{"globalColorScheme":"zappo","seqs":[{"id":"1","start":1,"name":"FER_CAPAA/1-97","seq":"----------------------------------------------------------ASYKVKLITPDGPIEFDCPDDVYILDQAEEAGHDLPYSCRAGSCSSCAGKIAGGAVDQTDGNFLDDDQLEEGWVLTCVAYPQSDVTIETHKEAELVG-","features":[],"end":97},{"id":"2","start":1,"name":"FER_CAPAN/1-144","seq":"------MASVSATMISTSFMPRKPAVTSLKPIP-NVG-EALFGLKS---ANGGKVTCMASYKVKLITPDGPIEFDCPDNVYILDQAEEAGHDLPYSCRAGSCSSCAGKIAGGAVDQTDGNFLDDDQLEEGWVLTCVAYPQSDVTIETHKEAELVG-","features":[{"text":"feature_1","xEnd":46,"fillColor":"#8c25cd","xStart":16}],"end":144},{"id":"3","start":1,"name":"FER1_SOLLC/1-144","seq":"------MASISGTMISTSFLPRKPAVTSLKAIS-NVG-EALFGLKS---GRNGRITCMASYKVKLITPEGPIEFECPDDVYILDQAEEEGHDLPYSCRAGSCSSCAGKVTAGSVDQSDGNFLDEDQEAAGFVLTCVAYPKGDVTIETHKEEELTA-","features":[],"end":144},{"id":"4","start":1,"name":"Q93XJ9_SOLTU/1-144","seq":"------MASISGTMISTSFLPRKPVVTSLKAIS-NVG-EALFGLKS---GRNGRITCMASYKVKLITPDGPIEFECPDDVYILDQAEEEGHDLPYSCRAGSCSSCAGKVTAGTVDQSDGKFLDDDQEAAGFVLTCVAYPKCDVTIETHKEEELTA-","features":[],"end":144},{"id":"5","start":1,"name":"FER1_PEA/1-149","seq":"---MATTPALYGTAVSTSFLRTQPMPMSVTTTKAFSN--GFLGLKT-SLKRGDLAVAMASYKVKLVTPDGTQEFECPSDVYILDHAEEVGIDLPYSCRAGSCSSCAGKVVGGEVDQSDGSFLDDEQIEAGFVLTCVAYPTSDVVIETHKEEDLTA-","features":[],"end":149},{"id":"6","start":1,"name":"Q7XA98_TRIPR/1-152","seq":"---MATTPALYGTAVSTSFMRRQPVPMSVATTTTTKAFPSGFGLKSVSTKRGDLAVAMATYKVKLITPEGPQEFDCPDDVYILDHAEEVGIELPYSCRAGSCSSCAGKVVNGNVNQEDGSFLDDEQIEGGWVLTCVAFPTSDVTIETHKEEELTA-","features":[{"text":"feature_2","xEnd":24,"fillColor":"#0000cc","xStart":8}],"end":152},{"id":"7","start":1,"name":"FER1_MESCR/1-148","seq":"--MAATTAALSGATMSTAFAPKT--PPMTAALPTNVG-RALFGLKS--SASRGRVTAMAAYKVTLVTPEGKQELECPDDVYILDAAEEAGIDLPYSCRAGSCSSCAGKVTSGSVNQDDGSFLDDDQIKEGWVLTCVAYPTGDVTIETHKEEELTA-","features":[],"end":148},{"id":"8","start":1,"name":"FER1_SPIOL/1-147","seq":"----MAATTTTMMGMATTFVPKPQAPPMMAALPSNTG-RSLFGLKT--GSRGGRMT-MAAYKVTLVTPTGNVEFQCPDDVYILDAAEEEGIDLPYSCRAGSCSSCAGKLKTGSLNQDDQSFLDDDQIDEGWVLTCAAYPVSDVTIETHKEEELTA-","features":[],"end":147},{"id":"9","start":1,"name":"FER3_RAPSA/1-96","seq":"----------------------------------------------------------ATYKVKFITPEGEQEVECDDDVYVLDAAEEAGIDLPYSCRAGSCSSCAGKVVSGSVDQSDQSFLDDDQIAEGFVLTCAAYPTSDVTIETHREEDMV--","features":[],"end":96},{"id":"10","start":1,"name":"FER1_ARATH/1-148","seq":"----MASTALSSAIVGTSFIRRSPAPISLRSLPSANT-QSLFGLKS-GTARGGRVTAMATYKVKFITPEGELEVECDDDVYVLDAAEEAGIDLPYSCRAGSCSSCAGKVVSGSVDQSDQSFLDDEQIGEGFVLTCAAYPTSDVTIETHKEEDIV--","features":[],"end":148},{"id":"11","start":1,"name":"FER_BRANA/1-96","seq":"----------------------------------------------------------ATYKVKFITPEGEQEVECDDDVYVLDAAEEAGIDLPYSCRAGSCSSCAGKVVSGFVDQSDESFLDDDQIAEGFVLTCAAYPTSDVTIETHKEEELV--","features":[],"end":96},{"id":"12","start":1,"name":"FER2_ARATH/1-148","seq":"----MASTALSSAIVSTSFLRRQQTPISLRSLPFANT-QSLFGLKS-STARGGRVTAMATYKVKFITPEGEQEVECEEDVYVLDAAEEAGLDLPYSCRAGSCSSCAGKVVSGSIDQSDQSFLDDEQMSEGYVLTCVAYPTSDVVIETHKEEAIM--","features":[{"text":"feature_3","xEnd":32,"fillColor":"#ffff00","xStart":4}],"end":148},{"id":"13","start":1,"name":"Q93Z60_ARATH/1-118","seq":"----MASTALSSAIVSTSFLRRQQTPISLRSLPFANT-QSLFGLKS-STARGGRVTAMATYKVKFITPEGEQEVECEEDVYVLDAAEEAGLDLPYSCRAGSCSSCAGKVVSGSIDQSDQSFLDD--------------------------------","features":[],"end":118},{"id":"14","start":1,"name":"FER1_MAIZE/1-150","seq":"MATVLGSPRAPAFFFSSSSLRAAPAPTAVALPAAKVG---IMGRSA---SSRRRLRAQATYNVKLITPEGEVELQVPDDVYILDQAEEDGIDLPYSCRAGSCSSCAGKVVSGSVDQSDQSYLDDGQIADGWVLTCHAYPTSDVVIETHKEEELTGA","features":[],"end":150},{"id":"15","start":1,"name":"O80429_MAIZE/1-140","seq":"---------MAATALSMSILRAPP-PCFSSPLRLRVAVAKPLAAPM----RRQLLRAQATYNVKLITPEGEVELQVPDDVYILDFAEEEGIDLPFSCRAGSCSSCAGKVVSGSVDQSDQSFLNDNQVADGWVLTCAAYPTSDVVIETHKEDDLL--","features":[],"end":140}],"webStartUrl":"http://www.jalview.org/services/launchApp","jalviewVersion":"Test"}'/>
45
46 </body>
47 </html>
48
49
50
51 <script>
52
53 function toggleMenuVisibility(){
54         var menu = document.getElementsByClassName("biojs_msa_menubar");
55         var divToggleButton = document.getElementById("divToggleButton");
56         if(menu[0].style.display == 'block'){
57           menu[0].style.display = 'none';
58           divToggleButton.value="Show Menu";
59        }else{
60           menu[0].style.display = 'block'; 
61           divToggleButton.value="Hide Menu";
62           }
63 }
64
65
66 function openJalviewUsingCurrentUrl(){
67         var jalviewData = JSON.parse(document.getElementById("seqData").value)
68     var jalviewVersion = jalviewData['jalviewVersion'];
69     var url = jalviewData['webStartUrl'];
70         var myForm = document.createElement("form");
71         myForm.action = url;
72         
73     var heap = document.createElement("input") ;
74     heap.setAttribute("name", "jvm-max-heap") ;
75     heap.setAttribute("value", "2G");
76     myForm.appendChild(heap) ;
77     
78     var target = document.createElement("input") ;
79     target.setAttribute("name", "open") ;
80     target.setAttribute("value", document.URL);
81     myForm.appendChild(target) ;
82     
83     var jvVersion = document.createElement("input") ;
84     jvVersion.setAttribute("name", "version") ;
85     jvVersion.setAttribute("value", jalviewVersion);
86     myForm.appendChild(jvVersion) ;
87     
88         document.body.appendChild(myForm) ;
89         myForm.submit() ;
90         document.body.removeChild(myForm) ;
91 }
92
93
94 require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
95 var css = ".biojs_msa_stage {\n  cursor: default;\n  line-height: normal; }\n\n.biojs_msa_labels {\n  color: black;\n  display: inline-block;\n  white-space: nowrap;\n  cursor: pointer;\n  vertical-align: top; }\n\n.biojs_msa_seqblock {\n  cursor: move; }\n\n.biojs_msa_layer {\n  display: block;\n  white-space: nowrap; }\n\n.biojs_msa_labelblock::-webkit-scrollbar, .biojs_msa_header::-webkit-scrollbar {\n  -webkit-appearance: none;\n  width: 7px;\n  height: 7px; }\n\n.biojs_msa_labelblock::-webkit-scrollbar-thumb, .biojs_msa_header::-webkit-scrollbar-thumb {\n  border-radius: 4px;\n  background-color: rgba(0, 0, 0, 0.5);\n  box-shadow: 0 0 1px rgba(255, 255, 255, 0.5); }\n\n.biojs_msa_marker {\n  color: grey;\n  white-space: nowrap;\n  cursor: pointer; }\n\n.biojs_msa_marker span {\n  text-align: center; }\n\n.biojs_msa_menubar .biojs_msa_menubar_alink {\n  background: #3498db;\n  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);\n  background-image: -moz-linear-gradient(top, #3498db, #2980b9);\n  background-image: -ms-linear-gradient(top, #3498db, #2980b9);\n  background-image: -o-linear-gradient(top, #3498db, #2980b9);\n  background-image: linear-gradient(to bottom, #3498db, #2980b9);\n  -webkit-border-radius: 28;\n  -moz-border-radius: 28;\n  border-radius: 28px;\n  font-family: Arial;\n  color: #ffffff;\n  padding: 3px 10px 3px 10px;\n  margin-left: 10px;\n  text-decoration: none; }\n\n.biojs_msa_menubar .biojs_msa_menubar_alink:hover {\n  cursor: pointer; }\n\n/* jquery dropdown CSS */\n.dropdown {\n  position: absolute;\n  z-index: 9999999;\n  display: none; }\n\n.dropdown .dropdown-menu,\n.dropdown .dropdown-panel {\n  min-width: 160px;\n  max-width: 360px;\n  list-style: none;\n  background: #FFF;\n  border: solid 1px #DDD;\n  border: solid 1px rgba(0, 0, 0, 0.2);\n  border-radius: 6px;\n  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n  overflow: visible;\n  padding: 4px 0;\n  margin: 0; }\n\n.dropdown .dropdown-panel {\n  padding: 10px; }\n\n.dropdown.dropdown-scroll .dropdown-menu,\n.dropdown.dropdown-scroll .dropdown-panel {\n  max-height: 358px;\n  overflow: auto; }\n\n.dropdown .dropdown-menu LI {\n  list-style: none;\n  padding: 0 0;\n  margin: 0;\n  line-height: 18px; }\n\n.dropdown .dropdown-menu LI,\n.dropdown .dropdown-menu LABEL {\n  display: block;\n  color: #555;\n  text-decoration: none;\n  line-height: 18px;\n  padding: 3px 15px;\n  white-space: nowrap; }\n\n.dropdown .dropdown-menu LI:hover,\n.dropdown .dropdown-menu LABEL:hover {\n  background-color: #08C;\n  color: #FFF;\n  cursor: pointer; }\n\n.dropdown .dropdown-menu .dropdown-divider {\n  font-size: 1px;\n  border-top: solid 1px #E5E5E5;\n  padding: 0;\n  margin: 5px 0; }\n"; (require("/home/travis/build/greenify/biojs-vis-msa/node_modules/cssify"))(css); module.exports = css;
96 },{"/home/travis/build/greenify/biojs-vis-msa/node_modules/cssify":48}],2:[function(require,module,exports){
97 module.exports = require("./src/index");
98
99 },{"./src/index":72}],3:[function(require,module,exports){
100 var _ = require('underscore');
101 var viewType = require("backbone-viewj");
102 var pluginator;
103
104 module.exports = pluginator = viewType.extend({
105   renderSubviews: function() {
106     var oldEl = this.el;
107     var el = document.createElement("div");
108     this.setElement(el);
109     var frag = document.createDocumentFragment();
110     if (oldEl.parentNode != null) {
111       oldEl.parentNode.replaceChild(this.el, oldEl);
112     }
113     var views = this._views();
114     var viewsSorted = _.sortBy(views, function(el) {
115       return el.ordering;
116     });
117     var view, node;
118     for (var i = 0; i <  viewsSorted.length; i++) {
119       view = viewsSorted[i];
120       view.render();
121       node = view.el;
122       if (node != null) {
123         frag.appendChild(node);
124       }
125     }
126     el.appendChild(frag);
127     return el;
128   },
129   addView: function(key, view) {
130     var views = this._views();
131     if (view == null) {
132       throw "Invalid plugin. ";
133     }
134     if (view.ordering == null) {
135       view.ordering = key;
136     }
137     return views[key] = view;
138   },
139   removeViews: function() {
140     var el, key;
141     var views = this._views();
142     for (key in views) {
143       el = views[key];
144       el.undelegateEvents();
145       el.unbind();
146       if (el.removeViews != null) {
147         el.removeViews();
148       }
149       el.remove();
150     }
151     return this.views = {};
152   },
153   removeView: function(key) {
154     var views = this._views();
155     views[key].remove();
156     return delete views[key];
157   },
158   getView: function(key) {
159     var views = this._views();
160     return views[key];
161   },
162   remove: function() {
163     this.removeViews();
164     return viewType.prototype.remove.apply(this);
165   },
166   _views: function() {
167     if (this.views == null) {
168       this.views = {};
169     }
170     return this.views;
171   }
172 });
173
174 },{"backbone-viewj":10,"underscore":59}],4:[function(require,module,exports){
175 //     Backbone.js 1.1.2
176
177 //     (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
178 //     Backbone may be freely distributed under the MIT license.
179 //     For all details and documentation:
180 //     http://backbonejs.org
181
182 var Events = require("backbone-events-standalone");
183 var extend = require("backbone-extend-standalone");
184 var _ = require("underscore");
185 var Model = require("./model");
186
187 // Create local references to array methods we'll want to use later.
188 var array = [];
189 var slice = array.slice;
190
191 // Backbone.Collection
192 // -------------------
193
194 // If models tend to represent a single row of data, a Backbone Collection is
195 // more analogous to a table full of data ... or a small slice or page of that
196 // table, or a collection of rows that belong together for a particular reason
197 // -- all of the messages in this particular folder, all of the documents
198 // belonging to this particular author, and so on. Collections maintain
199 // indexes of their models, both in order, and for lookup by `id`.
200
201 // Create a new **Collection**, perhaps to contain a specific type of `model`.
202 // If a `comparator` is specified, the Collection will maintain
203 // its models in sort order, as they're added and removed.
204 var Collection = function(models, options) {
205   options || (options = {});
206   if (options.model) this.model = options.model;
207   if (options.comparator !== void 0) this.comparator = options.comparator;
208   this._reset();
209   this.initialize.apply(this, arguments);
210   if (models) this.reset(models, _.extend({silent: true}, options));
211 };
212
213 // Default options for `Collection#set`.
214 var setOptions = {add: true, remove: true, merge: true};
215 var addOptions = {add: true, remove: false};
216
217 // Define the Collection's inheritable methods.
218 _.extend(Collection.prototype, Events, {
219
220   // The default model for a collection is just a **Backbone.Model**.
221   // This should be overridden in most cases.
222   model: Model,
223
224   // Initialize is an empty function by default. Override it with your own
225   // initialization logic.
226   initialize: function(){},
227
228     // The JSON representation of a Collection is an array of the
229     // models' attributes.
230   toJSON: function(options) {
231     return this.map(function(model){ return model.toJSON(options); });
232   },
233
234     // Proxy `Backbone.sync` by default.
235   sync: function() {
236     return Backbone.sync.apply(this, arguments);
237   },
238
239     // Add a model, or list of models to the set.
240   add: function(models, options) {
241     return this.set(models, _.extend({merge: false}, options, addOptions));
242   },
243
244     // Remove a model, or a list of models from the set.
245   remove: function(models, options) {
246     var singular = !_.isArray(models);
247     models = singular ? [models] : _.clone(models);
248     options || (options = {});
249     for (var i = 0, length = models.length; i < length; i++) {
250       var model = models[i] = this.get(models[i]);
251       if (!model) continue;
252       var id = this.modelId(model.attributes);
253       if (id != null) delete this._byId[id];
254       delete this._byId[model.cid];
255       var index = this.indexOf(model);
256       this.models.splice(index, 1);
257       this.length--;
258       if (!options.silent) {
259         options.index = index;
260         model.trigger('remove', model, this, options);
261       }
262       this._removeReference(model, options);
263     }
264     return singular ? models[0] : models;
265   },
266
267     // Update a collection by `set`-ing a new list of models, adding new ones,
268     // removing models that are no longer present, and merging models that
269     // already exist in the collection, as necessary. Similar to **Model#set**,
270     // the core operation for updating the data contained by the collection.
271   set: function(models, options) {
272     options = _.defaults({}, options, setOptions);
273     if (options.parse) models = this.parse(models, options);
274     var singular = !_.isArray(models);
275     models = singular ? (models ? [models] : []) : models.slice();
276     var id, model, attrs, existing, sort;
277     var at = options.at;
278     var sortable = this.comparator && (at == null) && options.sort !== false;
279     var sortAttr = _.isString(this.comparator) ? this.comparator : null;
280     var toAdd = [], toRemove = [], modelMap = {};
281     var add = options.add, merge = options.merge, remove = options.remove;
282     var order = !sortable && add && remove ? [] : false;
283
284     // Turn bare objects into model references, and prevent invalid models
285     // from being added.
286     for (var i = 0, length = models.length; i < length; i++) {
287       attrs = models[i];
288
289       // If a duplicate is found, prevent it from being added and
290       // optionally merge it into the existing model.
291       if (existing = this.get(attrs)) {
292         if (remove) modelMap[existing.cid] = true;
293         if (merge && attrs !== existing) {
294           attrs = this._isModel(attrs) ? attrs.attributes : attrs;
295           if (options.parse) attrs = existing.parse(attrs, options);
296           existing.set(attrs, options);
297           if (sortable && !sort && existing.hasChanged(sortAttr)) sort = true;
298         }
299         models[i] = existing;
300
301         // If this is a new, valid model, push it to the `toAdd` list.
302       } else if (add) {
303         model = models[i] = this._prepareModel(attrs, options);
304         if (!model) continue;
305         toAdd.push(model);
306         this._addReference(model, options);
307       }
308
309       // Do not add multiple models with the same `id`.
310       model = existing || model;
311       if (!model) continue;
312       id = this.modelId(model.attributes);
313       if (order && (model.isNew() || !modelMap[id])) order.push(model);
314       modelMap[id] = true;
315     }
316
317     // Remove nonexistent models if appropriate.
318     if (remove) {
319       for (var i = 0, length = this.length; i < length; i++) {
320         if (!modelMap[(model = this.models[i]).cid]) toRemove.push(model);
321       }
322       if (toRemove.length) this.remove(toRemove, options);
323     }
324
325     // See if sorting is needed, update `length` and splice in new models.
326     if (toAdd.length || (order && order.length)) {
327       if (sortable) sort = true;
328       this.length += toAdd.length;
329       if (at != null) {
330         for (var i = 0, length = toAdd.length; i < length; i++) {
331           this.models.splice(at + i, 0, toAdd[i]);
332         }
333       } else {
334         if (order) this.models.length = 0;
335         var orderedModels = order || toAdd;
336         for (var i = 0, length = orderedModels.length; i < length; i++) {
337           this.models.push(orderedModels[i]);
338         }
339       }
340     }
341
342     // Silently sort the collection if appropriate.
343     if (sort) this.sort({silent: true});
344
345     // Unless silenced, it's time to fire all appropriate add/sort events.
346     if (!options.silent) {
347       var addOpts = at != null ? _.clone(options) : options;
348       for (var i = 0, length = toAdd.length; i < length; i++) {
349         if (at != null) addOpts.index = at + i;
350         (model = toAdd[i]).trigger('add', model, this, addOpts);
351       }
352       if (sort || (order && order.length)) this.trigger('sort', this, options);
353     }
354
355     // Return the added (or merged) model (or models).
356     return singular ? models[0] : models;
357   },
358
359     // When you have more items than you want to add or remove individually,
360     // you can reset the entire set with a new list of models, without firing
361     // any granular `add` or `remove` events. Fires `reset` when finished.
362     // Useful for bulk operations and optimizations.
363   reset: function(models, options) {
364     options || (options = {});
365     for (var i = 0, length = this.models.length; i < length; i++) {
366       this._removeReference(this.models[i], options);
367     }
368     options.previousModels = this.models;
369     this._reset();
370     models = this.add(models, _.extend({silent: true}, options));
371     if (!options.silent) this.trigger('reset', this, options);
372     return models;
373   },
374
375     // Add a model to the end of the collection.
376   push: function(model, options) {
377     return this.add(model, _.extend({at: this.length}, options));
378   },
379
380     // Remove a model from the end of the collection.
381   pop: function(options) {
382     var model = this.at(this.length - 1);
383     this.remove(model, options);
384     return model;
385   },
386
387     // Add a model to the beginning of the collection.
388   unshift: function(model, options) {
389     return this.add(model, _.extend({at: 0}, options));
390   },
391
392     // Remove a model from the beginning of the collection.
393   shift: function(options) {
394     var model = this.at(0);
395     this.remove(model, options);
396     return model;
397   },
398
399     // Slice out a sub-array of models from the collection.
400   slice: function() {
401     return slice.apply(this.models, arguments);
402   },
403
404     // Get a model from the set by id.
405   get: function(obj) {
406     if (obj == null) return void 0;
407     var id = this.modelId(this._isModel(obj) ? obj.attributes : obj);
408     return this._byId[obj] || this._byId[id] || this._byId[obj.cid];
409   },
410
411     // Get the model at the given index.
412   at: function(index) {
413     if (index < 0) index += this.length;
414     return this.models[index];
415   },
416
417     // Return models with matching attributes. Useful for simple cases of
418     // `filter`.
419   where: function(attrs, first) {
420     if (_.isEmpty(attrs)) return first ? void 0 : [];
421     return this[first ? 'find' : 'filter'](function(model) {
422       for (var key in attrs) {
423         if (attrs[key] !== model.get(key)) return false;
424       }
425       return true;
426     });
427   },
428
429     // Return the first model with matching attributes. Useful for simple cases
430     // of `find`.
431   findWhere: function(attrs) {
432     return this.where(attrs, true);
433   },
434
435     // Force the collection to re-sort itself. You don't need to call this under
436     // normal circumstances, as the set will maintain sort order as each item
437     // is added.
438   sort: function(options) {
439     if (!this.comparator) throw new Error('Cannot sort a set without a comparator');
440     options || (options = {});
441
442     // Run sort based on type of `comparator`.
443     if (_.isString(this.comparator) || this.comparator.length === 1) {
444       this.models = this.sortBy(this.comparator, this);
445     } else {
446       this.models.sort(_.bind(this.comparator, this));
447     }
448
449     if (!options.silent) this.trigger('sort', this, options);
450     return this;
451   },
452
453     // Pluck an attribute from each model in the collection.
454   pluck: function(attr) {
455     return _.invoke(this.models, 'get', attr);
456   },
457
458     // Fetch the default set of models for this collection, resetting the
459     // collection when they arrive. If `reset: true` is passed, the response
460     // data will be passed through the `reset` method instead of `set`.
461   fetch: function(options) {
462     options = options ? _.clone(options) : {};
463     if (options.parse === void 0) options.parse = true;
464     var success = options.success;
465     var collection = this;
466     options.success = function(resp) {
467       var method = options.reset ? 'reset' : 'set';
468       collection[method](resp, options);
469       if (success) success(collection, resp, options);
470       collection.trigger('sync', collection, resp, options);
471     };
472     wrapError(this, options);
473     return this.sync('read', this, options);
474   },
475
476     // Create a new instance of a model in this collection. Add the model to the
477     // collection immediately, unless `wait: true` is passed, in which case we
478     // wait for the server to agree.
479   create: function(model, options) {
480     options = options ? _.clone(options) : {};
481     if (!(model = this._prepareModel(model, options))) return false;
482     if (!options.wait) this.add(model, options);
483     var collection = this;
484     var success = options.success;
485     options.success = function(model, resp) {
486       if (options.wait) collection.add(model, options);
487       if (success) success(model, resp, options);
488     };
489     model.save(null, options);
490     return model;
491   },
492
493     // **parse** converts a response into a list of models to be added to the
494     // collection. The default implementation is just to pass it through.
495   parse: function(resp, options) {
496     return resp;
497   },
498
499     // Create a new collection with an identical list of models as this one.
500   clone: function() {
501     return new this.constructor(this.models, {
502       model: this.model,
503       comparator: this.comparator
504     });
505   },
506
507     // Define how to uniquely identify models in the collection.
508   modelId: function (attrs) {
509     return attrs[this.model.prototype.idAttribute || 'id'];
510   },
511
512     // Private method to reset all internal state. Called when the collection
513     // is first initialized or reset.
514   _reset: function() {
515     this.length = 0;
516     this.models = [];
517     this._byId  = {};
518   },
519
520     // Prepare a hash of attributes (or other model) to be added to this
521     // collection.
522   _prepareModel: function(attrs, options) {
523     if (this._isModel(attrs)) {
524       if (!attrs.collection) attrs.collection = this;
525       return attrs;
526     }
527     options = options ? _.clone(options) : {};
528     options.collection = this;
529     var model = new this.model(attrs, options);
530     if (!model.validationError) return model;
531     this.trigger('invalid', this, model.validationError, options);
532     return false;
533   },
534
535     // Method for checking whether an object should be considered a model for
536     // the purposes of adding to the collection.
537   _isModel: function (model) {
538     return model instanceof Model;
539   },
540
541     // Internal method to create a model's ties to a collection.
542   _addReference: function(model, options) {
543     this._byId[model.cid] = model;
544     var id = this.modelId(model.attributes);
545     if (id != null) this._byId[id] = model;
546     model.on('all', this._onModelEvent, this);
547   },
548
549     // Internal method to sever a model's ties to a collection.
550   _removeReference: function(model, options) {
551     if (this === model.collection) delete model.collection;
552     model.off('all', this._onModelEvent, this);
553   },
554
555     // Internal method called every time a model in the set fires an event.
556     // Sets need to update their indexes when models change ids. All other
557     // events simply proxy through. "add" and "remove" events that originate
558     // in other collections are ignored.
559   _onModelEvent: function(event, model, collection, options) {
560     if ((event === 'add' || event === 'remove') && collection !== this) return;
561     if (event === 'destroy') this.remove(model, options);
562     if (event === 'change') {
563       var prevId = this.modelId(model.previousAttributes());
564       var id = this.modelId(model.attributes);
565       if (prevId !== id) {
566         if (prevId != null) delete this._byId[prevId];
567         if (id != null) this._byId[id] = model;
568       }
569     }
570     this.trigger.apply(this, arguments);
571   }
572
573 });
574
575 // Underscore methods that we want to implement on the Collection.
576 // 90% of the core usefulness of Backbone Collections is actually implemented
577 // right here:
578 var methods = ['forEach', 'each', 'map', 'collect', 'reduce', 'foldl',
579     'inject', 'reduceRight', 'foldr', 'find', 'detect', 'filter', 'select',
580     'reject', 'every', 'all', 'some', 'any', 'include', 'contains', 'invoke',
581     'max', 'min', 'toArray', 'size', 'first', 'head', 'take', 'initial', 'rest',
582     'tail', 'drop', 'last', 'without', 'difference', 'indexOf', 'shuffle',
583     'lastIndexOf', 'isEmpty', 'chain', 'sample', 'partition'];
584
585 // Mix in each Underscore method as a proxy to `Collection#models`.
586 _.each(methods, function(method) {
587   if (!_[method]) return;
588   Collection.prototype[method] = function() {
589     var args = slice.call(arguments);
590     args.unshift(this.models);
591     return _[method].apply(_, args);
592   };
593 });
594
595 // Underscore methods that take a property name as an argument.
596 var attributeMethods = ['groupBy', 'countBy', 'sortBy', 'indexBy'];
597
598 // Use attributes instead of properties.
599 _.each(attributeMethods, function(method) {
600   if (!_[method]) return;
601   Collection.prototype[method] = function(value, context) {
602     var iterator = _.isFunction(value) ? value : function(model) {
603       return model.get(value);
604     };
605     return _[method](this.models, iterator, context);
606   };
607 });
608
609 // setup inheritance
610 Collection.extend = extend;
611 module.exports = Collection;
612
613 },{"./model":6,"backbone-events-standalone":8,"backbone-extend-standalone":9,"underscore":59}],5:[function(require,module,exports){
614 module.exports.Model = require("./model");
615 module.exports.Collection = require("./collection");
616 module.exports.Events = require("backbone-events-standalone");
617 module.exports.extend = require("backbone-extend-standalone");
618
619 },{"./collection":4,"./model":6,"backbone-events-standalone":8,"backbone-extend-standalone":9}],6:[function(require,module,exports){
620 //     Backbone.js 1.1.2
621
622 //     (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
623 //     Backbone may be freely distributed under the MIT license.
624 //     For all details and documentation:
625 //     http://backbonejs.org
626
627 var Events = require("backbone-events-standalone");
628 var extend = require("backbone-extend-standalone");
629 var _ = require("underscore");
630
631 // Backbone.Model
632 // --------------
633
634 // Backbone **Models** are the basic data object in the framework --
635 // frequently representing a row in a table in a database on your server.
636 // A discrete chunk of data and a bunch of useful, related methods for
637 // performing computations and transformations on that data.
638
639 // Create a new model with the specified attributes. A client id (`cid`)
640 // is automatically generated and assigned for you.
641 var Model = function(attributes, options) {
642   var attrs = attributes || {};
643   options || (options = {});
644   this.cid = _.uniqueId('c');
645   this.attributes = {};
646   if (options.collection) this.collection = options.collection;
647   if (options.parse) attrs = this.parse(attrs, options) || {};
648   attrs = _.defaults({}, attrs, _.result(this, 'defaults'));
649   this.set(attrs, options);
650   this.changed = {};
651   this.initialize.apply(this, arguments);
652 };
653
654 // Attach all inheritable methods to the Model prototype.
655 _.extend(Model.prototype, Events, {
656
657   // A hash of attributes whose current and previous value differ.
658   changed: null,
659
660   // The value returned during the last failed validation.
661   validationError: null,
662
663     // The default name for the JSON `id` attribute is `"id"`. MongoDB and
664     // CouchDB users may want to set this to `"_id"`.
665   idAttribute: 'id',
666
667     // Initialize is an empty function by default. Override it with your own
668     // initialization logic.
669   initialize: function(){},
670
671     // Return a copy of the model's `attributes` object.
672   toJSON: function(options) {
673     return _.clone(this.attributes);
674   },
675
676     // Proxy `Backbone.sync` by default -- but override this if you need
677     // custom syncing semantics for *this* particular model.
678   sync: function() {
679     return Backbone.sync.apply(this, arguments);
680   },
681
682     // Get the value of an attribute.
683   get: function(attr) {
684     return this.attributes[attr];
685   },
686
687     // Get the HTML-escaped value of an attribute.
688   escape: function(attr) {
689     return _.escape(this.get(attr));
690   },
691
692     // Returns `true` if the attribute contains a value that is not null
693     // or undefined.
694   has: function(attr) {
695     return this.get(attr) != null;
696   },
697
698     // Set a hash of model attributes on the object, firing `"change"`. This is
699     // the core primitive operation of a model, updating the data and notifying
700     // anyone who needs to know about the change in state. The heart of the beast.
701   set: function(key, val, options) {
702     var attr, attrs, unset, changes, silent, changing, prev, current;
703     if (key == null) return this;
704
705     // Handle both `"key", value` and `{key: value}` -style arguments.
706     if (typeof key === 'object') {
707       attrs = key;
708       options = val;
709     } else {
710       (attrs = {})[key] = val;
711     }
712
713     options || (options = {});
714
715     // Run validation.
716     if (!this._validate(attrs, options)) return false;
717
718     // Extract attributes and options.
719     unset           = options.unset;
720     silent          = options.silent;
721     changes         = [];
722     changing        = this._changing;
723     this._changing  = true;
724
725     if (!changing) {
726       this._previousAttributes = _.clone(this.attributes);
727       this.changed = {};
728     }
729     current = this.attributes, prev = this._previousAttributes;
730
731     // Check for changes of `id`.
732     if (this.idAttribute in attrs) this.id = attrs[this.idAttribute];
733
734     // For each `set` attribute, update or delete the current value.
735     for (attr in attrs) {
736       val = attrs[attr];
737       if (!_.isEqual(current[attr], val)) changes.push(attr);
738       if (!_.isEqual(prev[attr], val)) {
739         this.changed[attr] = val;
740       } else {
741         delete this.changed[attr];
742       }
743       unset ? delete current[attr] : current[attr] = val;
744     }
745
746     // Trigger all relevant attribute changes.
747     if (!silent) {
748       if (changes.length) this._pending = options;
749       for (var i = 0, length = changes.length; i < length; i++) {
750         this.trigger('change:' + changes[i], this, current[changes[i]], options);
751       }
752     }
753
754     // You might be wondering why there's a `while` loop here. Changes can
755     // be recursively nested within `"change"` events.
756     if (changing) return this;
757     if (!silent) {
758       while (this._pending) {
759         options = this._pending;
760         this._pending = false;
761         this.trigger('change', this, options);
762       }
763     }
764     this._pending = false;
765     this._changing = false;
766     return this;
767   },
768
769     // Remove an attribute from the model, firing `"change"`. `unset` is a noop
770     // if the attribute doesn't exist.
771   unset: function(attr, options) {
772     return this.set(attr, void 0, _.extend({}, options, {unset: true}));
773   },
774
775     // Clear all attributes on the model, firing `"change"`.
776   clear: function(options) {
777     var attrs = {};
778     for (var key in this.attributes) attrs[key] = void 0;
779     return this.set(attrs, _.extend({}, options, {unset: true}));
780   },
781
782     // Determine if the model has changed since the last `"change"` event.
783     // If you specify an attribute name, determine if that attribute has changed.
784   hasChanged: function(attr) {
785     if (attr == null) return !_.isEmpty(this.changed);
786     return _.has(this.changed, attr);
787   },
788
789     // Return an object containing all the attributes that have changed, or
790     // false if there are no changed attributes. Useful for determining what
791     // parts of a view need to be updated and/or what attributes need to be
792     // persisted to the server. Unset attributes will be set to undefined.
793     // You can also pass an attributes object to diff against the model,
794     // determining if there *would be* a change.
795   changedAttributes: function(diff) {
796     if (!diff) return this.hasChanged() ? _.clone(this.changed) : false;
797     var val, changed = false;
798     var old = this._changing ? this._previousAttributes : this.attributes;
799     for (var attr in diff) {
800       if (_.isEqual(old[attr], (val = diff[attr]))) continue;
801       (changed || (changed = {}))[attr] = val;
802     }
803     return changed;
804   },
805
806     // Get the previous value of an attribute, recorded at the time the last
807     // `"change"` event was fired.
808   previous: function(attr) {
809     if (attr == null || !this._previousAttributes) return null;
810     return this._previousAttributes[attr];
811   },
812
813     // Get all of the attributes of the model at the time of the previous
814     // `"change"` event.
815   previousAttributes: function() {
816     return _.clone(this._previousAttributes);
817   },
818
819     // Fetch the model from the server. If the server's representation of the
820     // model differs from its current attributes, they will be overridden,
821     // triggering a `"change"` event.
822   fetch: function(options) {
823     options = options ? _.clone(options) : {};
824     if (options.parse === void 0) options.parse = true;
825     var model = this;
826     var success = options.success;
827     options.success = function(resp) {
828       if (!model.set(model.parse(resp, options), options)) return false;
829       if (success) success(model, resp, options);
830       model.trigger('sync', model, resp, options);
831     };
832     wrapError(this, options);
833     return this.sync('read', this, options);
834   },
835
836     // Set a hash of model attributes, and sync the model to the server.
837     // If the server returns an attributes hash that differs, the model's
838     // state will be `set` again.
839   save: function(key, val, options) {
840     var attrs, method, xhr, attributes = this.attributes;
841
842     // Handle both `"key", value` and `{key: value}` -style arguments.
843     if (key == null || typeof key === 'object') {
844       attrs = key;
845       options = val;
846     } else {
847       (attrs = {})[key] = val;
848     }
849
850     options = _.extend({validate: true}, options);
851
852     // If we're not waiting and attributes exist, save acts as
853     // `set(attr).save(null, opts)` with validation. Otherwise, check if
854     // the model will be valid when the attributes, if any, are set.
855     if (attrs && !options.wait) {
856       if (!this.set(attrs, options)) return false;
857     } else {
858       if (!this._validate(attrs, options)) return false;
859     }
860
861     // Set temporary attributes if `{wait: true}`.
862     if (attrs && options.wait) {
863       this.attributes = _.extend({}, attributes, attrs);
864     }
865
866     // After a successful server-side save, the client is (optionally)
867     // updated with the server-side state.
868     if (options.parse === void 0) options.parse = true;
869     var model = this;
870     var success = options.success;
871     options.success = function(resp) {
872       // Ensure attributes are restored during synchronous saves.
873       model.attributes = attributes;
874       var serverAttrs = model.parse(resp, options);
875       if (options.wait) serverAttrs = _.extend(attrs || {}, serverAttrs);
876       if (_.isObject(serverAttrs) && !model.set(serverAttrs, options)) {
877         return false;
878       }
879       if (success) success(model, resp, options);
880       model.trigger('sync', model, resp, options);
881     };
882     wrapError(this, options);
883
884     method = this.isNew() ? 'create' : (options.patch ? 'patch' : 'update');
885     if (method === 'patch' && !options.attrs) options.attrs = attrs;
886     xhr = this.sync(method, this, options);
887
888     // Restore attributes.
889     if (attrs && options.wait) this.attributes = attributes;
890
891     return xhr;
892   },
893
894     // Destroy this model on the server if it was already persisted.
895     // Optimistically removes the model from its collection, if it has one.
896     // If `wait: true` is passed, waits for the server to respond before removal.
897   destroy: function(options) {
898     options = options ? _.clone(options) : {};
899     var model = this;
900     var success = options.success;
901
902     var destroy = function() {
903       model.stopListening();
904       model.trigger('destroy', model, model.collection, options);
905     };
906
907     options.success = function(resp) {
908       if (options.wait || model.isNew()) destroy();
909       if (success) success(model, resp, options);
910       if (!model.isNew()) model.trigger('sync', model, resp, options);
911     };
912
913     if (this.isNew()) {
914       options.success();
915       return false;
916     }
917     wrapError(this, options);
918
919     var xhr = this.sync('delete', this, options);
920     if (!options.wait) destroy();
921     return xhr;
922   },
923
924     // Default URL for the model's representation on the server -- if you're
925     // using Backbone's restful methods, override this to change the endpoint
926     // that will be called.
927   url: function() {
928     var base =
929       _.result(this, 'urlRoot') ||
930       _.result(this.collection, 'url') ||
931       urlError();
932     if (this.isNew()) return base;
933     return base.replace(/([^\/])$/, '$1/') + encodeURIComponent(this.id);
934   },
935
936     // **parse** converts a response into the hash of attributes to be `set` on
937     // the model. The default implementation is just to pass the response along.
938   parse: function(resp, options) {
939     return resp;
940   },
941
942     // Create a new model with identical attributes to this one.
943   clone: function() {
944     return new this.constructor(this.attributes);
945   },
946
947     // A model is new if it has never been saved to the server, and lacks an id.
948   isNew: function() {
949     return !this.has(this.idAttribute);
950   },
951
952     // Check if the model is currently in a valid state.
953   isValid: function(options) {
954     return this._validate({}, _.extend(options || {}, { validate: true }));
955   },
956
957     // Run validation against the next complete set of model attributes,
958     // returning `true` if all is well. Otherwise, fire an `"invalid"` event.
959   _validate: function(attrs, options) {
960     if (!options.validate || !this.validate) return true;
961     attrs = _.extend({}, this.attributes, attrs);
962     var error = this.validationError = this.validate(attrs, options) || null;
963     if (!error) return true;
964     this.trigger('invalid', this, error, _.extend(options, {validationError: error}));
965     return false;
966   }
967
968 });
969
970 // Underscore methods that we want to implement on the Model.
971 var modelMethods = ['keys', 'values', 'pairs', 'invert', 'pick', 'omit', 'chain', 'isEmpty'];
972
973 // Mix in each Underscore method as a proxy to `Model#attributes`.
974 _.each(modelMethods, function(method) {
975   if (!_[method]) return;
976   Model.prototype[method] = function() {
977     var args = slice.call(arguments);
978     args.unshift(this.attributes);
979     return _[method].apply(_, args);
980   };
981 });
982
983 // setup inheritance
984 Model.extend = extend;
985 module.exports = Model;
986
987 },{"backbone-events-standalone":8,"backbone-extend-standalone":9,"underscore":59}],7:[function(require,module,exports){
988 /**
989  * Standalone extraction of Backbone.Events, no external dependency required.
990  * Degrades nicely when Backone/underscore are already available in the current
991  * global context.
992  *
993  * Note that docs suggest to use underscore's `_.extend()` method to add Events
994  * support to some given object. A `mixin()` method has been added to the Events
995  * prototype to avoid using underscore for that sole purpose:
996  *
997  *     var myEventEmitter = BackboneEvents.mixin({});
998  *
999  * Or for a function constructor:
1000  *
1001  *     function MyConstructor(){}
1002  *     MyConstructor.prototype.foo = function(){}
1003  *     BackboneEvents.mixin(MyConstructor.prototype);
1004  *
1005  * (c) 2009-2013 Jeremy Ashkenas, DocumentCloud Inc.
1006  * (c) 2013 Nicolas Perriault
1007  */
1008 /* global exports:true, define, module */
1009 (function() {
1010   var root = this,
1011       breaker = {},
1012       nativeForEach = Array.prototype.forEach,
1013       hasOwnProperty = Object.prototype.hasOwnProperty,
1014       slice = Array.prototype.slice,
1015       idCounter = 0;
1016
1017   // Returns a partial implementation matching the minimal API subset required
1018   // by Backbone.Events
1019   function miniscore() {
1020     return {
1021       keys: Object.keys || function (obj) {
1022         if (typeof obj !== "object" && typeof obj !== "function" || obj === null) {
1023           throw new TypeError("keys() called on a non-object");
1024         }
1025         var key, keys = [];
1026         for (key in obj) {
1027           if (obj.hasOwnProperty(key)) {
1028             keys[keys.length] = key;
1029           }
1030         }
1031         return keys;
1032       },
1033
1034       uniqueId: function(prefix) {
1035         var id = ++idCounter + '';
1036         return prefix ? prefix + id : id;
1037       },
1038
1039       has: function(obj, key) {
1040         return hasOwnProperty.call(obj, key);
1041       },
1042
1043       each: function(obj, iterator, context) {
1044         if (obj == null) return;
1045         if (nativeForEach && obj.forEach === nativeForEach) {
1046           obj.forEach(iterator, context);
1047         } else if (obj.length === +obj.length) {
1048           for (var i = 0, l = obj.length; i < l; i++) {
1049             if (iterator.call(context, obj[i], i, obj) === breaker) return;
1050           }
1051         } else {
1052           for (var key in obj) {
1053             if (this.has(obj, key)) {
1054               if (iterator.call(context, obj[key], key, obj) === breaker) return;
1055             }
1056           }
1057         }
1058       },
1059
1060       once: function(func) {
1061         var ran = false, memo;
1062         return function() {
1063           if (ran) return memo;
1064           ran = true;
1065           memo = func.apply(this, arguments);
1066           func = null;
1067           return memo;
1068         };
1069       }
1070     };
1071   }
1072
1073   var _ = miniscore(), Events;
1074
1075   // Backbone.Events
1076   // ---------------
1077
1078   // A module that can be mixed in to *any object* in order to provide it with
1079   // custom events. You may bind with `on` or remove with `off` callback
1080   // functions to an event; `trigger`-ing an event fires all callbacks in
1081   // succession.
1082   //
1083   //     var object = {};
1084   //     _.extend(object, Backbone.Events);
1085   //     object.on('expand', function(){ alert('expanded'); });
1086   //     object.trigger('expand');
1087   //
1088   Events = {
1089
1090     // Bind an event to a `callback` function. Passing `"all"` will bind
1091     // the callback to all events fired.
1092     on: function(name, callback, context) {
1093       if (!eventsApi(this, 'on', name, [callback, context]) || !callback) return this;
1094       this._events || (this._events = {});
1095       var events = this._events[name] || (this._events[name] = []);
1096       events.push({callback: callback, context: context, ctx: context || this});
1097       return this;
1098     },
1099
1100     // Bind an event to only be triggered a single time. After the first time
1101     // the callback is invoked, it will be removed.
1102     once: function(name, callback, context) {
1103       if (!eventsApi(this, 'once', name, [callback, context]) || !callback) return this;
1104       var self = this;
1105       var once = _.once(function() {
1106         self.off(name, once);
1107         callback.apply(this, arguments);
1108       });
1109       once._callback = callback;
1110       return this.on(name, once, context);
1111     },
1112
1113     // Remove one or many callbacks. If `context` is null, removes all
1114     // callbacks with that function. If `callback` is null, removes all
1115     // callbacks for the event. If `name` is null, removes all bound
1116     // callbacks for all events.
1117     off: function(name, callback, context) {
1118       var retain, ev, events, names, i, l, j, k;
1119       if (!this._events || !eventsApi(this, 'off', name, [callback, context])) return this;
1120       if (!name && !callback && !context) {
1121         this._events = {};
1122         return this;
1123       }
1124
1125       names = name ? [name] : _.keys(this._events);
1126       for (i = 0, l = names.length; i < l; i++) {
1127         name = names[i];
1128         if (events = this._events[name]) {
1129           this._events[name] = retain = [];
1130           if (callback || context) {
1131             for (j = 0, k = events.length; j < k; j++) {
1132               ev = events[j];
1133               if ((callback && callback !== ev.callback && callback !== ev.callback._callback) ||
1134                   (context && context !== ev.context)) {
1135                 retain.push(ev);
1136               }
1137             }
1138           }
1139           if (!retain.length) delete this._events[name];
1140         }
1141       }
1142
1143       return this;
1144     },
1145
1146     // Trigger one or many events, firing all bound callbacks. Callbacks are
1147     // passed the same arguments as `trigger` is, apart from the event name
1148     // (unless you're listening on `"all"`, which will cause your callback to
1149     // receive the true name of the event as the first argument).
1150     trigger: function(name) {
1151       if (!this._events) return this;
1152       var args = slice.call(arguments, 1);
1153       if (!eventsApi(this, 'trigger', name, args)) return this;
1154       var events = this._events[name];
1155       var allEvents = this._events.all;
1156       if (events) triggerEvents(events, args);
1157       if (allEvents) triggerEvents(allEvents, arguments);
1158       return this;
1159     },
1160
1161     // Tell this object to stop listening to either specific events ... or
1162     // to every object it's currently listening to.
1163     stopListening: function(obj, name, callback) {
1164       var listeners = this._listeners;
1165       if (!listeners) return this;
1166       var deleteListener = !name && !callback;
1167       if (typeof name === 'object') callback = this;
1168       if (obj) (listeners = {})[obj._listenerId] = obj;
1169       for (var id in listeners) {
1170         listeners[id].off(name, callback, this);
1171         if (deleteListener) delete this._listeners[id];
1172       }
1173       return this;
1174     }
1175
1176   };
1177
1178   // Regular expression used to split event strings.
1179   var eventSplitter = /\s+/;
1180
1181   // Implement fancy features of the Events API such as multiple event
1182   // names `"change blur"` and jQuery-style event maps `{change: action}`
1183   // in terms of the existing API.
1184   var eventsApi = function(obj, action, name, rest) {
1185     if (!name) return true;
1186
1187     // Handle event maps.
1188     if (typeof name === 'object') {
1189       for (var key in name) {
1190         obj[action].apply(obj, [key, name[key]].concat(rest));
1191       }
1192       return false;
1193     }
1194
1195     // Handle space separated event names.
1196     if (eventSplitter.test(name)) {
1197       var names = name.split(eventSplitter);
1198       for (var i = 0, l = names.length; i < l; i++) {
1199         obj[action].apply(obj, [names[i]].concat(rest));
1200       }
1201       return false;
1202     }
1203
1204     return true;
1205   };
1206
1207   // A difficult-to-believe, but optimized internal dispatch function for
1208   // triggering events. Tries to keep the usual cases speedy (most internal
1209   // Backbone events have 3 arguments).
1210   var triggerEvents = function(events, args) {
1211     var ev, i = -1, l = events.length, a1 = args[0], a2 = args[1], a3 = args[2];
1212     switch (args.length) {
1213       case 0: while (++i < l) (ev = events[i]).callback.call(ev.ctx); return;
1214       case 1: while (++i < l) (ev = events[i]).callback.call(ev.ctx, a1); return;
1215       case 2: while (++i < l) (ev = events[i]).callback.call(ev.ctx, a1, a2); return;
1216       case 3: while (++i < l) (ev = events[i]).callback.call(ev.ctx, a1, a2, a3); return;
1217       default: while (++i < l) (ev = events[i]).callback.apply(ev.ctx, args);
1218     }
1219   };
1220
1221   var listenMethods = {listenTo: 'on', listenToOnce: 'once'};
1222
1223   // Inversion-of-control versions of `on` and `once`. Tell *this* object to
1224   // listen to an event in another object ... keeping track of what it's
1225   // listening to.
1226   _.each(listenMethods, function(implementation, method) {
1227     Events[method] = function(obj, name, callback) {
1228       var listeners = this._listeners || (this._listeners = {});
1229       var id = obj._listenerId || (obj._listenerId = _.uniqueId('l'));
1230       listeners[id] = obj;
1231       if (typeof name === 'object') callback = this;
1232       obj[implementation](name, callback, this);
1233       return this;
1234     };
1235   });
1236
1237   // Aliases for backwards compatibility.
1238   Events.bind   = Events.on;
1239   Events.unbind = Events.off;
1240
1241   // Mixin utility
1242   Events.mixin = function(proto) {
1243     var exports = ['on', 'once', 'off', 'trigger', 'stopListening', 'listenTo',
1244                    'listenToOnce', 'bind', 'unbind'];
1245     _.each(exports, function(name) {
1246       proto[name] = this[name];
1247     }, this);
1248     return proto;
1249   };
1250
1251   // Export Events as BackboneEvents depending on current context
1252   if (typeof define === "function") {
1253     define(function() {
1254       return Events;
1255     });
1256   } else if (typeof exports !== 'undefined') {
1257     if (typeof module !== 'undefined' && module.exports) {
1258       exports = module.exports = Events;
1259     }
1260     exports.BackboneEvents = Events;
1261   } else {
1262     root.BackboneEvents = Events;
1263   }
1264 })(this);
1265
1266 },{}],8:[function(require,module,exports){
1267 module.exports = require('./backbone-events-standalone');
1268
1269 },{"./backbone-events-standalone":7}],9:[function(require,module,exports){
1270 (function (definition) {
1271   if (typeof exports === "object") {
1272     module.exports = definition();
1273   }
1274   else if (typeof define === 'function' && define.amd) {
1275     define(definition);
1276   }
1277   else {
1278     window.BackboneExtend = definition();
1279   }
1280 })(function () {
1281   "use strict";
1282   
1283   // mini-underscore
1284   var _ = {
1285     has: function (obj, key) {
1286       return Object.prototype.hasOwnProperty.call(obj, key);
1287     },
1288   
1289     extend: function(obj) {
1290       for (var i=1; i<arguments.length; ++i) {
1291         var source = arguments[i];
1292         if (source) {
1293           for (var prop in source) {
1294             obj[prop] = source[prop];
1295           }
1296         }
1297       }
1298       return obj;
1299     }
1300   };
1301
1302   /// Following code is pasted from Backbone.js ///
1303
1304   // Helper function to correctly set up the prototype chain, for subclasses.
1305   // Similar to `goog.inherits`, but uses a hash of prototype properties and
1306   // class properties to be extended.
1307   var extend = function(protoProps, staticProps) {
1308     var parent = this;
1309     var child;
1310
1311     // The constructor function for the new subclass is either defined by you
1312     // (the "constructor" property in your `extend` definition), or defaulted
1313     // by us to simply call the parent's constructor.
1314     if (protoProps && _.has(protoProps, 'constructor')) {
1315       child = protoProps.constructor;
1316     } else {
1317       child = function(){ return parent.apply(this, arguments); };
1318     }
1319
1320     // Add static properties to the constructor function, if supplied.
1321     _.extend(child, parent, staticProps);
1322
1323     // Set the prototype chain to inherit from `parent`, without calling
1324     // `parent`'s constructor function.
1325     var Surrogate = function(){ this.constructor = child; };
1326     Surrogate.prototype = parent.prototype;
1327     child.prototype = new Surrogate();
1328
1329     // Add prototype properties (instance properties) to the subclass,
1330     // if supplied.
1331     if (protoProps) _.extend(child.prototype, protoProps);
1332
1333     // Set a convenience property in case the parent's prototype is needed
1334     // later.
1335     child.__super__ = parent.prototype;
1336
1337     return child;
1338   };
1339
1340   // Expose the extend function
1341   return extend;
1342 });
1343
1344 },{}],10:[function(require,module,exports){
1345 // this is the extracted view model from backbone
1346 // note that we inject jbone as jquery replacment
1347 // (and underscore directly)
1348 //
1349 // Views are almost more convention than they are actual code.
1350 //  MVC pattern
1351 // Backbone.View
1352 // -------------
1353
1354 var _ = require("underscore");
1355 var Events = require("backbone-events-standalone");
1356 var extend = require("backbone-extend-standalone");
1357 var $ = require('jbone');
1358
1359 // Backbone Views are almost more convention than they are actual code. A View
1360 // is simply a JavaScript object that represents a logical chunk of UI in the
1361 // DOM. This might be a single item, an entire list, a sidebar or panel, or
1362 // even the surrounding frame which wraps your whole app. Defining a chunk of
1363 // UI as a **View** allows you to define your DOM events declaratively, without
1364 // having to worry about render order ... and makes it easy for the view to
1365 // react to specific changes in the state of your models.
1366
1367 // Creating a Backbone.View creates its initial element outside of the DOM,
1368 // if an existing element is not provided...
1369 var View =  function(options) {
1370   this.cid = _.uniqueId('view');
1371   options || (options = {});
1372   _.extend(this, _.pick(options, viewOptions));
1373   this._ensureElement();
1374   this.initialize.apply(this, arguments);
1375 };
1376
1377 // Cached regex to split keys for `delegate`.
1378 var delegateEventSplitter = /^(\S+)\s*(.*)$/;
1379
1380 // List of view options to be merged as properties.
1381 var viewOptions = ['model', 'collection', 'el', 'id', 'attributes', 'className', 'tagName', 'events'];
1382
1383 // Set up all inheritable **Backbone.View** properties and methods.
1384 _.extend(View.prototype, Events, {
1385
1386   // The default `tagName` of a View's element is `"div"`.
1387   tagName: 'div',
1388
1389   // jQuery delegate for element lookup, scoped to DOM elements within the
1390   // current view. This should be preferred to global lookups where possible.
1391   $: function(selector) {
1392     return this.$el.find(selector);
1393   },
1394
1395     // Initialize is an empty function by default. Override it with your own
1396     // initialization logic.
1397   initialize: function(){},
1398
1399     // **render** is the core function that your view should override, in order
1400     // to populate its element (`this.el`), with the appropriate HTML. The
1401     // convention is for **render** to always return `this`.
1402   render: function() {
1403     return this;
1404   },
1405
1406     // Remove this view by taking the element out of the DOM, and removing any
1407     // applicable Backbone.Events listeners.
1408   remove: function() {
1409     this._removeElement();
1410     this.stopListening();
1411     return this;
1412   },
1413
1414     // Remove this view's element from the document and all event listeners
1415     // attached to it. Exposed for subclasses using an alternative DOM
1416     // manipulation API.
1417   _removeElement: function() {
1418     this.$el.remove();
1419   },
1420
1421     // Change the view's element (`this.el` property) and re-delegate the
1422     // view's events on the new element.
1423   setElement: function(element) {
1424     this.undelegateEvents();
1425     this._setElement(element);
1426     this.delegateEvents();
1427     return this;
1428   },
1429
1430     // Creates the `this.el` and `this.$el` references for this view using the
1431     // given `el`. `el` can be a CSS selector or an HTML string, a jQuery
1432     // context or an element. Subclasses can override this to utilize an
1433     // alternative DOM manipulation API and are only required to set the
1434     // `this.el` property.
1435   _setElement: function(el) {
1436     this.$el = el instanceof $ ? el : $(el);
1437     this.el = this.$el[0];
1438   },
1439
1440     // Set callbacks, where `this.events` is a hash of
1441     //
1442     // *{"event selector": "callback"}*
1443     //
1444     //     {
1445     //       'mousedown .title':  'edit',
1446     //       'click .button':     'save',
1447     //       'click .open':       function(e) { ... }
1448     //     }
1449     //
1450     // pairs. Callbacks will be bound to the view, with `this` set properly.
1451     // Uses event delegation for efficiency.
1452     // Omitting the selector binds the event to `this.el`.
1453   delegateEvents: function(events) {
1454     if (!(events || (events = _.result(this, 'events')))) return this;
1455     this.undelegateEvents();
1456     for (var key in events) {
1457       var method = events[key];
1458       if (!_.isFunction(method)) method = this[events[key]];
1459       if (!method) continue;
1460       var match = key.match(delegateEventSplitter);
1461       this.delegate(match[1], match[2], _.bind(method, this));
1462     }
1463     return this;
1464   },
1465
1466     // Add a single event listener to the view's element (or a child element
1467     // using `selector`). This only works for delegate-able events: not `focus`,
1468     // `blur`, and not `change`, `submit`, and `reset` in Internet Explorer.
1469   delegate: function(eventName, selector, listener) {
1470     this.$el.on(eventName + '.delegateEvents' + this.cid, selector, listener);
1471   },
1472
1473     // Clears all callbacks previously bound to the view by `delegateEvents`.
1474     // You usually don't need to use this, but may wish to if you have multiple
1475     // Backbone views attached to the same DOM element.
1476   undelegateEvents: function() {
1477     if (this.$el) this.$el.off('.delegateEvents' + this.cid);
1478     return this;
1479   },
1480
1481     // A finer-grained `undelegateEvents` for removing a single delegated event.
1482     // `selector` and `listener` are both optional.
1483   undelegate: function(eventName, selector, listener) {
1484     this.$el.off(eventName + '.delegateEvents' + this.cid, selector, listener);
1485   },
1486
1487     // Produces a DOM element to be assigned to your view. Exposed for
1488     // subclasses using an alternative DOM manipulation API.
1489   _createElement: function(tagName) {
1490     return document.createElement(tagName);
1491   },
1492
1493     // Ensure that the View has a DOM element to render into.
1494     // If `this.el` is a string, pass it through `$()`, take the first
1495     // matching element, and re-assign it to `el`. Otherwise, create
1496     // an element from the `id`, `className` and `tagName` properties.
1497   _ensureElement: function() {
1498     if (!this.el) {
1499       var attrs = _.extend({}, _.result(this, 'attributes'));
1500       if (this.id) attrs.id = _.result(this, 'id');
1501       if (this.className) attrs['class'] = _.result(this, 'className');
1502       this.setElement(this._createElement(_.result(this, 'tagName')));
1503       this._setAttributes(attrs);
1504     } else {
1505       this.setElement(_.result(this, 'el'));
1506     }
1507   },
1508
1509     // Set attributes from a hash on this view's element.  Exposed for
1510     // subclasses using an alternative DOM manipulation API.
1511   _setAttributes: function(attributes) {
1512     this.$el.attr(attributes);
1513   }
1514
1515 });
1516
1517 // setup inheritance
1518 View.extend = extend;
1519 module.exports = View;
1520
1521 },{"backbone-events-standalone":12,"backbone-extend-standalone":13,"jbone":50,"underscore":59}],11:[function(require,module,exports){
1522 module.exports=require(7)
1523 },{"/home/travis/build/greenify/biojs-vis-msa/node_modules/backbone-thin/node_modules/backbone-events-standalone/backbone-events-standalone.js":7}],12:[function(require,module,exports){
1524 module.exports=require(8)
1525 },{"./backbone-events-standalone":11,"/home/travis/build/greenify/biojs-vis-msa/node_modules/backbone-thin/node_modules/backbone-events-standalone/index.js":8}],13:[function(require,module,exports){
1526 module.exports=require(9)
1527 },{"/home/travis/build/greenify/biojs-vis-msa/node_modules/backbone-thin/node_modules/backbone-extend-standalone/backbone-extend-standalone.js":9}],14:[function(require,module,exports){
1528 var events = require("backbone-events-standalone");
1529
1530 events.onAll = function(callback,context){
1531   this.on("all", callback,context);
1532   return this;
1533 };
1534
1535 // Mixin utility
1536 events.oldMixin = events.mixin;
1537 events.mixin = function(proto) {
1538   events.oldMixin(proto);
1539   // add custom onAll
1540   var exports = ['onAll'];
1541   for(var i=0; i < exports.length;i++){
1542     var name = exports[i];
1543     proto[name] = this[name];
1544   }
1545   return proto;
1546 };
1547
1548 module.exports = events;
1549
1550 },{"backbone-events-standalone":16}],15:[function(require,module,exports){
1551 module.exports=require(7)
1552 },{"/home/travis/build/greenify/biojs-vis-msa/node_modules/backbone-thin/node_modules/backbone-events-standalone/backbone-events-standalone.js":7}],16:[function(require,module,exports){
1553 module.exports=require(8)
1554 },{"./backbone-events-standalone":15,"/home/travis/build/greenify/biojs-vis-msa/node_modules/backbone-thin/node_modules/backbone-events-standalone/index.js":8}],17:[function(require,module,exports){
1555 // Generated by CoffeeScript 1.8.0
1556 var GenericReader, xhr;
1557
1558 xhr = require('nets');
1559
1560 module.exports = GenericReader = (function() {
1561   function GenericReader() {}
1562
1563   GenericReader.read = function(url, callback) {
1564     var onret;
1565     onret = (function(_this) {
1566       return function(err, response, text) {
1567         return _this._onRetrieval(text, callback);
1568       };
1569     })(this);
1570     return xhr(url, onret);
1571   };
1572
1573   GenericReader._onRetrieval = function(text, callback) {
1574     var rText;
1575     rText = this.parse(text);
1576     return callback(rText);
1577   };
1578
1579   return GenericReader;
1580
1581 })();
1582
1583 },{"nets":undefined}],18:[function(require,module,exports){
1584 // Generated by CoffeeScript 1.8.0
1585 var Seq;
1586
1587 module.exports = Seq = (function() {
1588   function Seq(seq, name, id) {
1589     var meta;
1590     this.seq = seq;
1591     this.name = name;
1592     this.id = id;
1593     meta = {};
1594   }
1595
1596   return Seq;
1597
1598 })();
1599
1600 },{}],19:[function(require,module,exports){
1601 // Generated by CoffeeScript 1.8.0
1602 var strings;
1603
1604 strings = {
1605   contains: function(text, search) {
1606     return ''.indexOf.call(text, search, 0) !== -1;
1607   }
1608 };
1609
1610 module.exports = strings;
1611
1612 },{}],20:[function(require,module,exports){
1613 module.exports=require(17)
1614 },{"/home/travis/build/greenify/biojs-vis-msa/node_modules/biojs-io-clustal/lib/generic_reader.js":17,"nets":undefined}],21:[function(require,module,exports){
1615 // Generated by CoffeeScript 1.8.0
1616 var Fasta, GenericReader, Seq, Str,
1617   __hasProp = {}.hasOwnProperty,
1618   __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
1619
1620 Str = require("./strings");
1621
1622 GenericReader = require("./generic_reader");
1623
1624 Seq = require("biojs-model").seq;
1625
1626 module.exports = Fasta = (function(_super) {
1627   __extends(Fasta, _super);
1628
1629   function Fasta() {
1630     return Fasta.__super__.constructor.apply(this, arguments);
1631   }
1632
1633   Fasta.parse = function(text) {
1634     var currentSeq, database, databaseID, identifiers, k, label, line, seqs, _i, _len;
1635     seqs = [];
1636     if (Object.prototype.toString.call(text) !== '[object Array]') {
1637       text = text.split("\n");
1638     }
1639     for (_i = 0, _len = text.length; _i < _len; _i++) {
1640       line = text[_i];
1641       if (line[0] === ">" || line[0] === ";") {
1642         label = line.slice(1);
1643         currentSeq = new Seq("", label, seqs.length);
1644         seqs.push(currentSeq);
1645         if (Str.contains("|", line)) {
1646           identifiers = label.split("|");
1647           k = 1;
1648           while (k < identifiers.length) {
1649             database = identifiers[k];
1650             databaseID = identifiers[k + 1];
1651             currentSeq.meta[database] = databaseID;
1652             k += 2;
1653           }
1654           currentSeq.name = identifiers[identifiers.length - 1];
1655         }
1656       } else {
1657         currentSeq.seq += line;
1658       }
1659     }
1660     return seqs;
1661   };
1662
1663   return Fasta;
1664
1665 })(GenericReader);
1666
1667 },{"./generic_reader":20,"./strings":22,"biojs-model":25}],22:[function(require,module,exports){
1668 module.exports=require(19)
1669 },{"/home/travis/build/greenify/biojs-vis-msa/node_modules/biojs-io-clustal/lib/strings.js":19}],23:[function(require,module,exports){
1670 // Generated by CoffeeScript 1.8.0
1671 var Utils;
1672
1673 Utils = {};
1674
1675 Utils.splitNChars = function(txt, num) {
1676   var i, result, _i, _ref;
1677   result = [];
1678   for (i = _i = 0, _ref = txt.length - 1; num > 0 ? _i <= _ref : _i >= _ref; i = _i += num) {
1679     result.push(txt.substr(i, num));
1680   }
1681   return result;
1682 };
1683
1684 module.exports = Utils;
1685
1686 },{}],24:[function(require,module,exports){
1687 // Generated by CoffeeScript 1.8.0
1688 var FastaExporter, Utils;
1689
1690 Utils = require("./utils");
1691
1692 module.exports = FastaExporter = (function() {
1693   function FastaExporter() {}
1694
1695   FastaExporter["export"] = function(seqs, access) {
1696     var seq, text, _i, _len;
1697     text = "";
1698     for (_i = 0, _len = seqs.length; _i < _len; _i++) {
1699       seq = seqs[_i];
1700       if (access != null) {
1701         seq = access(seq);
1702       }
1703       text += ">" + seq.name + "\n";
1704       text += (Utils.splitNChars(seq.seq, 80)).join("\n");
1705       text += "\n";
1706     }
1707     return text;
1708   };
1709
1710   return FastaExporter;
1711
1712 })();
1713
1714 },{"./utils":23}],25:[function(require,module,exports){
1715 module.exports.seq = require("./seq");
1716
1717 },{"./seq":26}],26:[function(require,module,exports){
1718 module.exports = function(seq, name, id) {
1719     this.seq = seq;
1720     this.name = name;
1721     this.id = id;
1722     this.meta = {};
1723 };
1724
1725 },{}],27:[function(require,module,exports){
1726 module.exports=require(25)
1727 },{"./seq":28,"/home/travis/build/greenify/biojs-vis-msa/node_modules/biojs-io-fasta/node_modules/biojs-model/src/index.js":25}],28:[function(require,module,exports){
1728 module.exports=require(26)
1729 },{"/home/travis/build/greenify/biojs-vis-msa/node_modules/biojs-io-fasta/node_modules/biojs-model/src/seq.js":26}],29:[function(require,module,exports){
1730 module.exports = require('./src/index.js')
1731
1732 },{"./src/index.js":36}],30:[function(require,module,exports){
1733 module.exports = {
1734   A: "#00a35c",
1735   R: "#00fc03",
1736   N: "#00eb14",
1737   D: "#00eb14",
1738   C: "#0000ff",
1739   Q: "#00f10e",
1740   E: "#00f10e",
1741   G: "#009d62",
1742   H: "#00d52a",
1743   I: "#0054ab",
1744   L: "#007b84",
1745   K: "#00ff00",
1746   M: "#009768",
1747   F: "#008778",
1748   P: "#00e01f",
1749   S: "#00d52a",
1750   T: "#00db24",
1751   W: "#00a857",
1752   Y: "#00e619",
1753   V: "#005fa0",
1754   B: "#00eb14",
1755   X: "#00b649",
1756   Z: "#00f10e"
1757 };
1758
1759 },{}],31:[function(require,module,exports){
1760 module.exports = {
1761   A: "#BBBBBB",
1762   B: "grey",
1763   C: "yellow",
1764   D: "red",
1765   E: "red",
1766   F: "magenta",
1767   G: "brown",
1768   H: "#00FFFF",
1769   I: "#BBBBBB",
1770   J: "#fff",
1771   K: "#00FFFF",
1772   L: "#BBBBBB",
1773   M: "#BBBBBB",
1774   N: "green",
1775   O: "#fff",
1776   P: "brown",
1777   Q: "green",
1778   R: "#00FFFF",
1779   S: "green",
1780   T: "green",
1781   U: "#fff",
1782   V: "#BBBBBB",
1783   W: "magenta",
1784   X: "grey",
1785   Y: "magenta",
1786   Z: "grey",
1787   Gap: "grey"
1788 };
1789
1790 },{}],32:[function(require,module,exports){
1791 module.exports = {
1792   A: "orange",
1793   B: "#fff",
1794   C: "green",
1795   D: "red",
1796   E: "red",
1797   F: "blue",
1798   G: "orange",
1799   H: "red",
1800   I: "green",
1801   J: "#fff",
1802   K: "red",
1803   L: "green",
1804   M: "green",
1805   N: "#fff",
1806   O: "#fff",
1807   P: "orange",
1808   Q: "#fff",
1809   R: "red",
1810   S: "orange",
1811   T: "orange",
1812   U: "#fff",
1813   V: "green",
1814   W: "blue",
1815   X: "#fff",
1816   Y: "blue",
1817   Z: "#fff",
1818   Gap: "#fff"
1819 };
1820
1821 },{}],33:[function(require,module,exports){
1822 module.exports = {
1823   A: "#80a0f0",
1824   R: "#f01505",
1825   N: "#00ff00",
1826   D: "#c048c0",
1827   C: "#f08080",
1828   Q: "#00ff00",
1829   E: "#c048c0",
1830   G: "#f09048",
1831   H: "#15a4a4",
1832   I: "#80a0f0",
1833   L: "#80a0f0",
1834   K: "#f01505",
1835   M: "#80a0f0",
1836   F: "#80a0f0",
1837   P: "#ffff00",
1838   S: "#00ff00",
1839   T: "#00ff00",
1840   W: "#80a0f0",
1841   Y: "#15a4a4",
1842   V: "#80a0f0",
1843   B: "#fff",
1844   X: "#fff",
1845   Z: "#fff"
1846 };
1847
1848 },{}],34:[function(require,module,exports){
1849 module.exports = {
1850   A: "#e718e7",
1851   R: "#6f906f",
1852   N: "#1be41b",
1853   D: "#778877",
1854   C: "#23dc23",
1855   Q: "#926d92",
1856   E: "#ff00ff",
1857   G: "#00ff00",
1858   H: "#758a75",
1859   I: "#8a758a",
1860   L: "#ae51ae",
1861   K: "#a05fa0",
1862   M: "#ef10ef",
1863   F: "#986798",
1864   P: "#00ff00",
1865   S: "#36c936",
1866   T: "#47b847",
1867   W: "#8a758a",
1868   Y: "#21de21",
1869   V: "#857a85",
1870   B: "#49b649",
1871   X: "#758a75",
1872   Z: "#c936c9"
1873 };
1874
1875 },{}],35:[function(require,module,exports){
1876 module.exports = {
1877   A: "#ad0052",
1878   B: "#0c00f3",
1879   C: "#c2003d",
1880   D: "#0c00f3",
1881   E: "#0c00f3",
1882   F: "#cb0034",
1883   G: "#6a0095",
1884   H: "#1500ea",
1885   I: "#ff0000",
1886   J: "#fff",
1887   K: "#0000ff",
1888   L: "#ea0015",
1889   M: "#b0004f",
1890   N: "#0c00f3",
1891   O: "#fff",
1892   P: "#4600b9",
1893   Q: "#0c00f3",
1894   R: "#0000ff",
1895   S: "#5e00a1",
1896   T: "#61009e",
1897   U: "#fff",
1898   V: "#f60009",
1899   W: "#5b00a4",
1900   X: "#680097",
1901   Y: "#4f00b0",
1902   Z: "#0c00f3"
1903 };
1904
1905 },{}],36:[function(require,module,exports){
1906 module.exports.selector = require("./selector");
1907
1908 // basics
1909 module.exports.taylor = require("./taylor");
1910 module.exports.zappo= require("./zappo");
1911 module.exports.hydro= require("./hydrophobicity");
1912
1913 module.exports.clustal = require("./clustal");
1914 module.exports.clustal2 = require("./clustal2");
1915
1916 module.exports.curied = require("./buried");
1917 module.exports.cinema = require("./cinema");
1918 module.exports.nucleotide  = require("./nucleotide");
1919 module.exports.helix  = require("./helix");
1920 module.exports.lesk  = require("./lesk");
1921 module.exports.mae = require("./mae");
1922 module.exports.purine = require("./purine");
1923 module.exports.strand = require("./strand");
1924 module.exports.turn = require("./turn");
1925
1926 },{"./buried":30,"./cinema":31,"./clustal":32,"./clustal2":33,"./helix":34,"./hydrophobicity":35,"./lesk":37,"./mae":38,"./nucleotide":39,"./purine":40,"./selector":41,"./strand":42,"./taylor":43,"./turn":44,"./zappo":45}],37:[function(require,module,exports){
1927 module.exports = {
1928   A: " orange",
1929   B: " #fff",
1930   C: " green",
1931   D: " red",
1932   E: " red",
1933   F: " green",
1934   G: " orange",
1935   H: " magenta",
1936   I: " green",
1937   J: " #fff",
1938   K: " red",
1939   L: " green",
1940   M: " green",
1941   N: " magenta",
1942   O: " #fff",
1943   P: " green",
1944   Q: " magenta",
1945   R: " red",
1946   S: " orange",
1947   T: " orange",
1948   U: " #fff",
1949   V: " green",
1950   W: " green",
1951   X: " #fff",
1952   Y: " green",
1953   Z: " #fff",
1954   Gap: " #fff"
1955 };
1956
1957 },{}],38:[function(require,module,exports){
1958 module.exports = {
1959   A: " #77dd88",
1960   B: " #fff",
1961   C: " #99ee66",
1962   D: " #55bb33",
1963   E: " #55bb33",
1964   F: " #9999ff",
1965   G: " #77dd88",
1966   H: " #5555ff",
1967   I: " #66bbff",
1968   J: " #fff",
1969   K: " #ffcc77",
1970   L: " #66bbff",
1971   M: " #66bbff",
1972   N: " #55bb33",
1973   O: " #fff",
1974   P: " #eeaaaa",
1975   Q: " #55bb33",
1976   R: " #ffcc77",
1977   S: " #ff4455",
1978   T: " #ff4455",
1979   U: " #fff",
1980   V: " #66bbff",
1981   W: " #9999ff",
1982   X: " #fff",
1983   Y: " #9999ff",
1984   Z: " #fff",
1985   Gap: " #fff"
1986 };
1987
1988 },{}],39:[function(require,module,exports){
1989 module.exports = {
1990   A: " #64F73F",
1991   C: " #FFB340",
1992   G: " #EB413C",
1993   T: " #3C88EE",
1994   U: " #3C88EE"
1995 };
1996
1997 },{}],40:[function(require,module,exports){
1998 module.exports = {
1999   A: " #FF83FA",
2000   C: " #40E0D0",
2001   G: " #FF83FA",
2002   R: " #FF83FA",
2003   T: " #40E0D0",
2004   U: " #40E0D0",
2005   Y: " #40E0D0"
2006 };
2007
2008 },{}],41:[function(require,module,exports){
2009 var Buried = require("./buried");
2010 var Cinema = require("./cinema");
2011 var Clustal = require("./clustal");
2012 var Clustal2 = require("./clustal2");
2013 var Helix = require("./helix");
2014 var Hydro = require("./hydrophobicity");
2015 var Lesk = require("./lesk");
2016 var Mae = require("./mae");
2017 var Nucleotide = require("./nucleotide");
2018 var Purine = require("./purine");
2019 var Strand = require("./strand");
2020 var Taylor = require("./taylor");
2021 var Turn = require("./turn");
2022 var Zappo = require("./zappo");
2023
2024 module.exports = Colors = {
2025   mapping: {
2026     buried: Buried,
2027     buried_index: Buried,
2028     cinema: Cinema,
2029     clustal2: Clustal2,
2030     clustal: Clustal,
2031     helix: Helix,
2032     helix_propensity: Helix,
2033     hydro: Hydro,
2034     lesk: Lesk,
2035     mae: Mae,
2036     nucleotide: Nucleotide,
2037     purine: Purine,
2038     purine_pyrimidine: Purine,
2039     strand: Strand,
2040     strand_propensity: Strand,
2041     taylor: Taylor,
2042     turn: Turn,
2043     turn_propensity: Turn,
2044     zappo: Zappo,
2045   },
2046   getColor: function(scheme) {
2047     var color = Colors.mapping[scheme];
2048     if (color === undefined) {
2049       color = {};
2050     }
2051     return color;
2052   }
2053 };
2054
2055 },{"./buried":30,"./cinema":31,"./clustal":32,"./clustal2":33,"./helix":34,"./hydrophobicity":35,"./lesk":37,"./mae":38,"./nucleotide":39,"./purine":40,"./strand":42,"./taylor":43,"./turn":44,"./zappo":45}],42:[function(require,module,exports){
2056 module.exports = {
2057   A: "#5858a7",
2058   R: "#6b6b94",
2059   N: "#64649b",
2060   D: "#2121de",
2061   C: "#9d9d62",
2062   Q: "#8c8c73",
2063   E: "#0000ff",
2064   G: "#4949b6",
2065   H: "#60609f",
2066   I: "#ecec13",
2067   L: "#b2b24d",
2068   K: "#4747b8",
2069   M: "#82827d",
2070   F: "#c2c23d",
2071   P: "#2323dc",
2072   S: "#4949b6",
2073   T: "#9d9d62",
2074   W: "#c0c03f",
2075   Y: "#d3d32c",
2076   V: "#ffff00",
2077   B: "#4343bc",
2078   X: "#797986",
2079   Z: "#4747b8"
2080 };
2081
2082 },{}],43:[function(require,module,exports){
2083 module.exports = {
2084   A: "#ccff00",
2085   R: "#0000ff",
2086   N: "#cc00ff",
2087   D: "#ff0000",
2088   C: "#ffff00",
2089   Q: "#ff00cc",
2090   E: "#ff0066",
2091   G: "#ff9900",
2092   H: "#0066ff",
2093   I: "#66ff00",
2094   L: "#33ff00",
2095   K: "#6600ff",
2096   M: "#00ff00",
2097   F: "#00ff66",
2098   P: "#ffcc00",
2099   S: "#ff3300",
2100   T: "#ff6600",
2101   W: "#00ccff",
2102   Y: "#00ffcc",
2103   V: "#99ff00",
2104   B: "#fff",
2105   X: "#fff",
2106   Z: "#fff"
2107 };
2108
2109 },{}],44:[function(require,module,exports){
2110 module.exports = {
2111   A: "#2cd3d3",
2112   R: "#708f8f",
2113   N: "#ff0000",
2114   D: "#e81717",
2115   C: "#a85757",
2116   Q: "#3fc0c0",
2117   E: "#778888",
2118   G: "#ff0000",
2119   H: "#708f8f",
2120   I: "#00ffff",
2121   L: "#1ce3e3",
2122   K: "#7e8181",
2123   M: "#1ee1e1",
2124   F: "#1ee1e1",
2125   P: "#f60909",
2126   S: "#e11e1e",
2127   T: "#738c8c",
2128   W: "#738c8c",
2129   Y: "#9d6262",
2130   V: "#07f8f8",
2131   B: "#f30c0c",
2132   X: "#7c8383",
2133   Z: "#5ba4a4"
2134 };
2135
2136 },{}],45:[function(require,module,exports){
2137 module.exports = {
2138   A: "#ffafaf",
2139   R: "#6464ff",
2140   N: "#00ff00",
2141   D: "#ff0000",
2142   C: "#ffff00",
2143   Q: "#00ff00",
2144   E: "#ff0000",
2145   G: "#ff00ff",
2146   H: "#6464ff",
2147   I: "#ffafaf",
2148   L: "#ffafaf",
2149   K: "#6464ff",
2150   M: "#ffafaf",
2151   F: "#ffc800",
2152   P: "#ff00ff",
2153   S: "#00ff00",
2154   T: "#00ff00",
2155   W: "#ffc800",
2156   Y: "#ffc800",
2157   V: "#ffafaf",
2158   B: "#fff",
2159   X: "#fff",
2160   Z: "#fff"
2161 };
2162
2163 },{}],46:[function(require,module,exports){
2164 /*
2165  * JavaScript Canvas to Blob 2.0.5
2166  * https://github.com/blueimp/JavaScript-Canvas-to-Blob
2167  *
2168  * Copyright 2012, Sebastian Tschan
2169  * https://blueimp.net
2170  *
2171  * Licensed under the MIT license:
2172  * http://www.opensource.org/licenses/MIT
2173  *
2174  * Based on stackoverflow user Stoive's code snippet:
2175  * http://stackoverflow.com/q/4998908
2176  */
2177 var CanvasPrototype = window.HTMLCanvasElement &&
2178 window.HTMLCanvasElement.prototype,
2179   hasBlobConstructor = window.Blob && (function () {
2180     try {
2181       return Boolean(new Blob());
2182     } catch (e) {
2183       return false;
2184     }
2185   }()),
2186   hasArrayBufferViewSupport = hasBlobConstructor && window.Uint8Array &&
2187   (function () {
2188     try {
2189       return new Blob([new Uint8Array(100)]).size === 100;
2190     } catch (e) {
2191       return false;
2192     }
2193   }()),
2194   BlobBuilder = window.BlobBuilder || window.WebKitBlobBuilder ||
2195   window.MozBlobBuilder || window.MSBlobBuilder,
2196   dataURLtoBlob = (hasBlobConstructor || BlobBuilder) && window.atob &&
2197   window.ArrayBuffer && window.Uint8Array && function (dataURI) {
2198     var byteString,
2199     arrayBuffer,
2200     intArray,
2201       i,
2202       mimeString,
2203         bb;
2204     if (dataURI.split(',')[0].indexOf('base64') >= 0) {
2205       // Convert base64 to raw binary data held in a string:
2206       byteString = atob(dataURI.split(',')[1]);
2207     } else {
2208       // Convert base64/URLEncoded data component to raw binary data:
2209       byteString = decodeURIComponent(dataURI.split(',')[1]);
2210     }
2211     // Write the bytes of the string to an ArrayBuffer:
2212     arrayBuffer = new ArrayBuffer(byteString.length);
2213     intArray = new Uint8Array(arrayBuffer);
2214     for (i = 0; i < byteString.length; i += 1) {
2215       intArray[i] = byteString.charCodeAt(i);
2216     }
2217     // Separate out the mime component:
2218     mimeString = dataURI.split(',')[0].split(':')[1].split(';')[0];
2219     // Write the ArrayBuffer (or ArrayBufferView) to a blob:
2220     if (hasBlobConstructor) {
2221       return new Blob(
2222           [hasArrayBufferViewSupport ? intArray : arrayBuffer],
2223           {type: mimeString}
2224           );
2225     }
2226     bb = new BlobBuilder();
2227     bb.append(arrayBuffer);
2228     return bb.getBlob(mimeString);
2229   };
2230 if (window.HTMLCanvasElement && !CanvasPrototype.toBlob) {
2231   if (CanvasPrototype.mozGetAsFile) {
2232     CanvasPrototype.toBlob = function (callback, type, quality) {
2233       if (quality && CanvasPrototype.toDataURL && dataURLtoBlob) {
2234         callback(dataURLtoBlob(this.toDataURL(type, quality)));
2235       } else {
2236         callback(this.mozGetAsFile('blob', type));
2237       }
2238     };
2239   } else if (CanvasPrototype.toDataURL && dataURLtoBlob) {
2240     CanvasPrototype.toBlob = function (callback, type, quality) {
2241       callback(dataURLtoBlob(this.toDataURL(type, quality)));
2242     };
2243   }
2244 }
2245
2246 module.exports = dataURLtoBlob;
2247
2248 },{}],47:[function(require,module,exports){
2249 /* FileSaver.js
2250  *  A saveAs() FileSaver implementation.
2251  *  2014-05-27
2252  *
2253  *  By Eli Grey, http://eligrey.com
2254  *  License: X11/MIT
2255  *    See https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md
2256  */
2257
2258 /*global self */
2259 /*jslint bitwise: true, indent: 4, laxbreak: true, laxcomma: true, smarttabs: true, plusplus: true */
2260
2261 /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
2262
2263 var saveAs = saveAs
2264   // IE 10+ (native saveAs)
2265   || (typeof navigator !== "undefined" &&
2266       navigator.msSaveOrOpenBlob && navigator.msSaveOrOpenBlob.bind(navigator))
2267   // Everyone else
2268   || (function(view) {
2269         "use strict";
2270         // IE <10 is explicitly unsupported
2271         if (typeof navigator !== "undefined" &&
2272             /MSIE [1-9]\./.test(navigator.userAgent)) {
2273                 return;
2274         }
2275         var
2276                   doc = view.document
2277                   // only get URL when necessary in case Blob.js hasn't overridden it yet
2278                 , get_URL = function() {
2279                         return view.URL || view.webkitURL || view;
2280                 }
2281                 , save_link = doc.createElementNS("http://www.w3.org/1999/xhtml", "a")
2282                 , can_use_save_link = !view.externalHost && "download" in save_link
2283                 , click = function(node) {
2284                         var event = doc.createEvent("MouseEvents");
2285                         event.initMouseEvent(
2286                                 "click", true, false, view, 0, 0, 0, 0, 0
2287                                 , false, false, false, false, 0, null
2288                         );
2289                         node.dispatchEvent(event);
2290                 }
2291                 , webkit_req_fs = view.webkitRequestFileSystem
2292                 , req_fs = view.requestFileSystem || webkit_req_fs || view.mozRequestFileSystem
2293                 , throw_outside = function(ex) {
2294                         (view.setImmediate || view.setTimeout)(function() {
2295                                 throw ex;
2296                         }, 0);
2297                 }
2298                 , force_saveable_type = "application/octet-stream"
2299                 , fs_min_size = 0
2300                 , deletion_queue = []
2301                 , process_deletion_queue = function() {
2302                         var i = deletion_queue.length;
2303                         while (i--) {
2304                                 var file = deletion_queue[i];
2305                                 if (typeof file === "string") { // file is an object URL
2306                                         get_URL().revokeObjectURL(file);
2307                                 } else { // file is a File
2308                                         file.remove();
2309                                 }
2310                         }
2311                         deletion_queue.length = 0; // clear queue
2312                 }
2313                 , dispatch = function(filesaver, event_types, event) {
2314                         event_types = [].concat(event_types);
2315                         var i = event_types.length;
2316                         while (i--) {
2317                                 var listener = filesaver["on" + event_types[i]];
2318                                 if (typeof listener === "function") {
2319                                         try {
2320                                                 listener.call(filesaver, event || filesaver);
2321                                         } catch (ex) {
2322                                                 throw_outside(ex);
2323                                         }
2324                                 }
2325                         }
2326                 }
2327                 , FileSaver = function(blob, name) {
2328                         // First try a.download, then web filesystem, then object URLs
2329                         var
2330                                   filesaver = this
2331                                 , type = blob.type
2332                                 , blob_changed = false
2333                                 , object_url
2334                                 , target_view
2335                                 , get_object_url = function() {
2336                                         var object_url = get_URL().createObjectURL(blob);
2337                                         deletion_queue.push(object_url);
2338                                         return object_url;
2339                                 }
2340                                 , dispatch_all = function() {
2341                                         dispatch(filesaver, "writestart progress write writeend".split(" "));
2342                                 }
2343                                 // on any filesys errors revert to saving with object URLs
2344                                 , fs_error = function() {
2345                                         // don't create more object URLs than needed
2346                                         if (blob_changed || !object_url) {
2347                                                 object_url = get_object_url(blob);
2348                                         }
2349                                         if (target_view) {
2350                                                 target_view.location.href = object_url;
2351                                         } else {
2352                                                 window.open(object_url, "_blank");
2353                                         }
2354                                         filesaver.readyState = filesaver.DONE;
2355                                         dispatch_all();
2356                                 }
2357                                 , abortable = function(func) {
2358                                         return function() {
2359                                                 if (filesaver.readyState !== filesaver.DONE) {
2360                                                         return func.apply(this, arguments);
2361                                                 }
2362                                         };
2363                                 }
2364                                 , create_if_not_found = {create: true, exclusive: false}
2365                                 , slice
2366                         ;
2367                         filesaver.readyState = filesaver.INIT;
2368                         if (!name) {
2369                                 name = "download";
2370                         }
2371                         if (can_use_save_link) {
2372                                 object_url = get_object_url(blob);
2373                                 save_link.href = object_url;
2374                                 save_link.download = name;
2375                                 click(save_link);
2376                                 filesaver.readyState = filesaver.DONE;
2377                                 dispatch_all();
2378                                 return;
2379                         }
2380                         // Object and web filesystem URLs have a problem saving in Google Chrome when
2381                         // viewed in a tab, so I force save with application/octet-stream
2382                         // http://code.google.com/p/chromium/issues/detail?id=91158
2383                         if (view.chrome && type && type !== force_saveable_type) {
2384                                 slice = blob.slice || blob.webkitSlice;
2385                                 blob = slice.call(blob, 0, blob.size, force_saveable_type);
2386                                 blob_changed = true;
2387                         }
2388                         // Since I can't be sure that the guessed media type will trigger a download
2389                         // in WebKit, I append .download to the filename.
2390                         // https://bugs.webkit.org/show_bug.cgi?id=65440
2391                         if (webkit_req_fs && name !== "download") {
2392                                 name += ".download";
2393                         }
2394                         if (type === force_saveable_type || webkit_req_fs) {
2395                                 target_view = view;
2396                         }
2397                         if (!req_fs) {
2398                                 fs_error();
2399                                 return;
2400                         }
2401                         fs_min_size += blob.size;
2402                         req_fs(view.TEMPORARY, fs_min_size, abortable(function(fs) {
2403                                 fs.root.getDirectory("saved", create_if_not_found, abortable(function(dir) {
2404                                         var save = function() {
2405                                                 dir.getFile(name, create_if_not_found, abortable(function(file) {
2406                                                         file.createWriter(abortable(function(writer) {
2407                                                                 writer.onwriteend = function(event) {
2408                                                                         target_view.location.href = file.toURL();
2409                                                                         deletion_queue.push(file);
2410                                                                         filesaver.readyState = filesaver.DONE;
2411                                                                         dispatch(filesaver, "writeend", event);
2412                                                                 };
2413                                                                 writer.onerror = function() {
2414                                                                         var error = writer.error;
2415                                                                         if (error.code !== error.ABORT_ERR) {
2416                                                                                 fs_error();
2417                                                                         }
2418                                                                 };
2419                                                                 "writestart progress write abort".split(" ").forEach(function(event) {
2420                                                                         writer["on" + event] = filesaver["on" + event];
2421                                                                 });
2422                                                                 writer.write(blob);
2423                                                                 filesaver.abort = function() {
2424                                                                         writer.abort();
2425                                                                         filesaver.readyState = filesaver.DONE;
2426                                                                 };
2427                                                                 filesaver.readyState = filesaver.WRITING;
2428                                                         }), fs_error);
2429                                                 }), fs_error);
2430                                         };
2431                                         dir.getFile(name, {create: false}, abortable(function(file) {
2432                                                 // delete file if it already exists
2433                                                 file.remove();
2434                                                 save();
2435                                         }), abortable(function(ex) {
2436                                                 if (ex.code === ex.NOT_FOUND_ERR) {
2437                                                         save();
2438                                                 } else {
2439                                                         fs_error();
2440                                                 }
2441                                         }));
2442                                 }), fs_error);
2443                         }), fs_error);
2444                 }
2445                 , FS_proto = FileSaver.prototype
2446                 , saveAs = function(blob, name) {
2447                         return new FileSaver(blob, name);
2448                 }
2449         ;
2450         FS_proto.abort = function() {
2451                 var filesaver = this;
2452                 filesaver.readyState = filesaver.DONE;
2453                 dispatch(filesaver, "abort");
2454         };
2455         FS_proto.readyState = FS_proto.INIT = 0;
2456         FS_proto.WRITING = 1;
2457         FS_proto.DONE = 2;
2458
2459         FS_proto.error =
2460         FS_proto.onwritestart =
2461         FS_proto.onprogress =
2462         FS_proto.onwrite =
2463         FS_proto.onabort =
2464         FS_proto.onerror =
2465         FS_proto.onwriteend =
2466                 null;
2467
2468         view.addEventListener("unload", process_deletion_queue, false);
2469         saveAs.unload = function() {
2470                 process_deletion_queue();
2471                 view.removeEventListener("unload", process_deletion_queue, false);
2472         };
2473         return saveAs;
2474 }(
2475            typeof self !== "undefined" && self
2476         || typeof window !== "undefined" && window
2477         || this.content
2478 ));
2479 // `self` is undefined in Firefox for Android content script context
2480 // while `this` is nsIContentFrameMessageManager
2481 // with an attribute `content` that corresponds to the window
2482
2483 amdDefine = window.define;
2484 if( typeof amdDefine === "undefined" && (typeof window.almond !== "undefined" 
2485     && "define" in window.almond )){
2486   amdDefine = window.almond.define;
2487 }
2488
2489 if (typeof module !== "undefined" && module !== null) {
2490   module.exports = saveAs;
2491 } else if ((typeof amdDefine !== "undefined" && amdDefine !== null) && (amdDefine.amd != null)) {
2492   amdDefine("saveAs",[], function() {
2493     return saveAs;
2494   });
2495 }
2496
2497 },{}],48:[function(require,module,exports){
2498 module.exports = function (css, customDocument) {
2499   var doc = customDocument || document;
2500   if (doc.createStyleSheet) {
2501     var sheet = doc.createStyleSheet()
2502     sheet.cssText = css;
2503     return sheet.ownerNode;
2504   } else {
2505     var head = doc.getElementsByTagName('head')[0],
2506         style = doc.createElement('style');
2507
2508     style.type = 'text/css';
2509
2510     if (style.styleSheet) {
2511       style.styleSheet.cssText = css;
2512     } else {
2513       style.appendChild(doc.createTextNode(css));
2514     }
2515
2516     head.appendChild(style);
2517     return style;
2518   }
2519 };
2520
2521 module.exports.byUrl = function(url) {
2522   if (document.createStyleSheet) {
2523     return document.createStyleSheet(url).ownerNode;
2524   } else {
2525     var head = document.getElementsByTagName('head')[0],
2526         link = document.createElement('link');
2527
2528     link.rel = 'stylesheet';
2529     link.href = url;
2530
2531     head.appendChild(link);
2532     return link;
2533   }
2534 };
2535
2536 },{}],49:[function(require,module,exports){
2537 var Utils = {};
2538
2539
2540 /*
2541 Remove an element and provide a function that inserts it into its original position
2542 https://developers.google.com/speed/articles/javascript-dom
2543 @param element {Element} The element to be temporarily removed
2544 @return {Function} A function that inserts the element into its original position
2545  */
2546
2547 Utils.removeToInsertLater = function(element) {
2548   var nextSibling, parentNode;
2549   parentNode = element.parentNode;
2550   nextSibling = element.nextSibling;
2551   parentNode.removeChild(element);
2552   return function() {
2553     if (nextSibling) {
2554       parentNode.insertBefore(element, nextSibling);
2555     } else {
2556       parentNode.appendChild(element);
2557     }
2558   };
2559 };
2560
2561
2562 /*
2563 fastest possible way to destroy all sub nodes (aka childs)
2564 http://jsperf.com/innerhtml-vs-removechild/15
2565 @param element {Element} The element for which all childs should be removed
2566  */
2567
2568 Utils.removeAllChilds = function(element) {
2569   var count;
2570   count = 0;
2571   while (element.firstChild) {
2572     count++;
2573     element.removeChild(element.firstChild);
2574   }
2575 };
2576
2577 module.exports = Utils;
2578
2579 },{}],50:[function(require,module,exports){
2580 /*!
2581  * jBone v1.0.19 - 2014-10-12 - Library for DOM manipulation
2582  *
2583  * https://github.com/kupriyanenko/jbone
2584  *
2585  * Copyright 2014 Alexey Kupriyanenko
2586  * Released under the MIT license.
2587  */
2588
2589 (function (win) {
2590
2591 var
2592 // cache previous versions
2593 _$ = win.$,
2594 _jBone = win.jBone,
2595
2596 // Quick match a standalone tag
2597 rquickSingleTag = /^<(\w+)\s*\/?>$/,
2598
2599 // A simple way to check for HTML strings
2600 // Prioritize #id over <tag> to avoid XSS via location.hash
2601 rquickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
2602
2603 // Alias for function
2604 slice = [].slice,
2605 splice = [].splice,
2606 keys = Object.keys,
2607
2608 // Alias for global variables
2609 doc = document,
2610
2611 isString = function(el) {
2612     return typeof el === "string";
2613 },
2614 isObject = function(el) {
2615     return el instanceof Object;
2616 },
2617 isFunction = function(el) {
2618     var getType = {};
2619     return el && getType.toString.call(el) === "[object Function]";
2620 },
2621 isArray = function(el) {
2622     return Array.isArray(el);
2623 },
2624 jBone = function(element, data) {
2625     return new fn.init(element, data);
2626 },
2627 fn;
2628
2629 // set previous values and return the instance upon calling the no-conflict mode
2630 jBone.noConflict = function() {
2631     win.$ = _$;
2632     win.jBone = _jBone;
2633
2634     return jBone;
2635 };
2636
2637 fn = jBone.fn = jBone.prototype = {
2638     init: function(element, data) {
2639         var elements, tag, wraper, fragment;
2640
2641         if (!element) {
2642             return this;
2643         }
2644         if (isString(element)) {
2645             // Create single DOM element
2646             if (tag = rquickSingleTag.exec(element)) {
2647                 this[0] = doc.createElement(tag[1]);
2648                 this.length = 1;
2649
2650                 if (isObject(data)) {
2651                     this.attr(data);
2652                 }
2653
2654                 return this;
2655             }
2656             // Create DOM collection
2657             if ((tag = rquickExpr.exec(element)) && tag[1]) {
2658                 fragment = doc.createDocumentFragment();
2659                 wraper = doc.createElement("div");
2660                 wraper.innerHTML = element;
2661                 while (wraper.lastChild) {
2662                     fragment.appendChild(wraper.firstChild);
2663                 }
2664                 elements = slice.call(fragment.childNodes);
2665
2666                 return jBone.merge(this, elements);
2667             }
2668             // Find DOM elements with querySelectorAll
2669             if (jBone.isElement(data)) {
2670                 return jBone(data).find(element);
2671             }
2672
2673             try {
2674                 elements = doc.querySelectorAll(element);
2675
2676                 return jBone.merge(this, elements);
2677             } catch (e) {
2678                 return this;
2679             }
2680         }
2681         // Wrap DOMElement
2682         if (element.nodeType) {
2683             this[0] = element;
2684             this.length = 1;
2685
2686             return this;
2687         }
2688         // Run function
2689         if (isFunction(element)) {
2690             return element();
2691         }
2692         // Return jBone element as is
2693         if (element instanceof jBone) {
2694             return element;
2695         }
2696
2697         // Return element wrapped by jBone
2698         return jBone.makeArray(element, this);
2699     },
2700
2701     pop: [].pop,
2702     push: [].push,
2703     reverse: [].reverse,
2704     shift: [].shift,
2705     sort: [].sort,
2706     splice: [].splice,
2707     slice: [].slice,
2708     indexOf: [].indexOf,
2709     forEach: [].forEach,
2710     unshift: [].unshift,
2711     concat: [].concat,
2712     join: [].join,
2713     every: [].every,
2714     some: [].some,
2715     filter: [].filter,
2716     map: [].map,
2717     reduce: [].reduce,
2718     reduceRight: [].reduceRight,
2719     length: 0
2720 };
2721
2722 fn.constructor = jBone;
2723
2724 fn.init.prototype = fn;
2725
2726 jBone.setId = function(el) {
2727     var jid = el.jid;
2728
2729     if (el === win) {
2730         jid = "window";
2731     } else if (el.jid === undefined) {
2732         el.jid = jid = ++jBone._cache.jid;
2733     }
2734
2735     if (!jBone._cache.events[jid]) {
2736         jBone._cache.events[jid] = {};
2737     }
2738 };
2739
2740 jBone.getData = function(el) {
2741     el = el instanceof jBone ? el[0] : el;
2742
2743     var jid = el === win ? "window" : el.jid;
2744
2745     return {
2746         jid: jid,
2747         events: jBone._cache.events[jid]
2748     };
2749 };
2750
2751 jBone.isElement = function(el) {
2752     return el && el instanceof jBone || el instanceof HTMLElement || isString(el);
2753 };
2754
2755 jBone._cache = {
2756     events: {},
2757     jid: 0
2758 };
2759
2760 function isArraylike(obj) {
2761     var length = obj.length,
2762         type = typeof obj;
2763
2764     if (isFunction(type) || obj === win) {
2765         return false;
2766     }
2767
2768     if (obj.nodeType === 1 && length) {
2769         return true;
2770     }
2771
2772     return isArray(type) || length === 0 ||
2773         typeof length === "number" && length > 0 && (length - 1) in obj;
2774 }
2775
2776 jBone.merge = function(first, second) {
2777     var l = second.length,
2778         i = first.length,
2779         j = 0;
2780
2781     while (j < l) {
2782         first[i++] = second[j++];
2783     }
2784
2785     first.length = i;
2786
2787     return first;
2788 };
2789
2790 jBone.contains = function(container, contained) {
2791     var result;
2792
2793     container.reverse().some(function(el) {
2794         if (el.contains(contained)) {
2795             return result = el;
2796         }
2797     });
2798
2799     return result;
2800 };
2801
2802 jBone.extend = function(target) {
2803     var k, kl, i, tg;
2804
2805     splice.call(arguments, 1).forEach(function(object) {
2806         if (!object) {
2807             return;
2808         }
2809
2810         k = keys(object);
2811         kl = k.length;
2812         i = 0;
2813         tg = target; //caching target for perf improvement
2814
2815         for (; i < kl; i++) {
2816             tg[k[i]] = object[k[i]];
2817         }
2818     });
2819
2820     return target;
2821 };
2822
2823 jBone.makeArray = function(arr, results) {
2824     var ret = results || [];
2825
2826     if (arr !== null) {
2827         if (isArraylike(arr)) {
2828             jBone.merge(ret, isString(arr) ? [arr] : arr);
2829         } else {
2830             ret.push(arr);
2831         }
2832     }
2833
2834     return ret;
2835 };
2836
2837 function BoneEvent(e, data) {
2838     var key, setter;
2839
2840     this.originalEvent = e;
2841
2842     setter = function(key, e) {
2843         if (key === "preventDefault") {
2844             this[key] = function() {
2845                 this.defaultPrevented = true;
2846                 return e[key]();
2847             };
2848         } else if (isFunction(e[key])) {
2849             this[key] = function() {
2850                 return e[key]();
2851             };
2852         } else {
2853             this[key] = e[key];
2854         }
2855     };
2856
2857     for (key in e) {
2858         if (e[key] || typeof e[key] === "function") {
2859             setter.call(this, key, e);
2860         }
2861     }
2862
2863     jBone.extend(this, data);
2864 }
2865
2866 jBone.Event = function(event, data) {
2867     var namespace, eventType;
2868
2869     if (event.type && !data) {
2870         data = event;
2871         event = event.type;
2872     }
2873
2874     namespace = event.split(".").splice(1).join(".");
2875     eventType = event.split(".")[0];
2876
2877     event = doc.createEvent("Event");
2878     event.initEvent(eventType, true, true);
2879
2880     return jBone.extend(event, {
2881         namespace: namespace,
2882         isDefaultPrevented: function() {
2883             return event.defaultPrevented;
2884         }
2885     }, data);
2886 };
2887
2888 fn.on = function(event) {
2889     var args = arguments,
2890         length = this.length,
2891         i = 0,
2892         callback, target, namespace, fn, events, eventType, expectedTarget, addListener;
2893
2894     if (args.length === 2) {
2895         callback = args[1];
2896     } else {
2897         target = args[1];
2898         callback = args[2];
2899     }
2900
2901     addListener = function(el) {
2902         jBone.setId(el);
2903         events = jBone.getData(el).events;
2904         event.split(" ").forEach(function(event) {
2905             eventType = event.split(".")[0];
2906             namespace = event.split(".").splice(1).join(".");
2907             events[eventType] = events[eventType] || [];
2908
2909             fn = function(e) {
2910                 if (e.namespace && e.namespace !== namespace) {
2911                     return;
2912                 }
2913
2914                 expectedTarget = null;
2915                 if (!target) {
2916                     callback.call(el, e);
2917                 } else if (~jBone(el).find(target).indexOf(e.target) || (expectedTarget = jBone.contains(jBone(el).find(target), e.target))) {
2918                     expectedTarget = expectedTarget || e.target;
2919                     e = new BoneEvent(e, {
2920                         currentTarget: expectedTarget
2921                     });
2922
2923                     callback.call(expectedTarget, e);
2924                 }
2925             };
2926
2927             events[eventType].push({
2928                 namespace: namespace,
2929                 fn: fn,
2930                 originfn: callback
2931             });
2932
2933             el.addEventListener && el.addEventListener(eventType, fn, false);
2934         });
2935     };
2936
2937     for (; i < length; i++) {
2938         addListener(this[i]);
2939     }
2940
2941     return this;
2942 };
2943
2944 fn.one = function(event) {
2945     var args = arguments,
2946         i = 0,
2947         length = this.length,
2948         callback, target, addListener;
2949
2950     if (args.length === 2) {
2951         callback = args[1];
2952     } else {
2953         target = args[1], callback = args[2];
2954     }
2955
2956     addListener = function(el) {
2957         event.split(" ").forEach(function(event) {
2958             var fn = function(e) {
2959                 jBone(el).off(event, fn);
2960                 callback.call(el, e);
2961             };
2962
2963             if (!target) {
2964                 jBone(el).on(event, fn);
2965             } else {
2966                 jBone(el).on(event, target, fn);
2967             }
2968         });
2969     };
2970
2971     for (; i < length; i++) {
2972         addListener(this[i]);
2973     }
2974
2975     return this;
2976 };
2977
2978 fn.trigger = function(event) {
2979     var events = [],
2980         i = 0,
2981         length = this.length,
2982         dispatchEvents;
2983
2984     if (!event) {
2985         return this;
2986     }
2987
2988     if (isString(event)) {
2989         events = event.split(" ").map(function(event) {
2990             return jBone.Event(event);
2991         });
2992     } else {
2993         event = event instanceof Event ? event : jBone.Event(event);
2994         events = [event];
2995     }
2996
2997     dispatchEvents = function(el) {
2998         events.forEach(function(event) {
2999             if (!event.type) {
3000                 return;
3001             }
3002
3003             el.dispatchEvent && el.dispatchEvent(event);
3004         });
3005     };
3006
3007     for (; i < length; i++) {
3008         dispatchEvents(this[i]);
3009     }
3010
3011     return this;
3012 };
3013
3014 fn.off = function(event, fn) {
3015     var i = 0,
3016         length = this.length,
3017         removeListener = function(events, eventType, index, el, e) {
3018             var callback;
3019
3020             // get callback
3021             if ((fn && e.originfn === fn) || !fn) {
3022                 callback = e.fn;
3023             }
3024
3025             if (events[eventType][index].fn === callback) {
3026                 el.removeEventListener(eventType, callback);
3027
3028                 // remove handler from cache
3029                 jBone._cache.events[jBone.getData(el).jid][eventType].splice(index, 1);
3030             }
3031         },
3032         events, namespace, removeListeners, eventType;
3033
3034     removeListeners = function(el) {
3035         var l, eventsByType, e;
3036
3037         events = jBone.getData(el).events;
3038
3039         if (!events) {
3040             return;
3041         }
3042
3043         // remove all events
3044         if (!event && events) {
3045             return keys(events).forEach(function(eventType) {
3046                 eventsByType = events[eventType];
3047                 l = eventsByType.length;
3048
3049                 while(l--) {
3050                     removeListener(events, eventType, l, el, eventsByType[l]);
3051                 }
3052             });
3053         }
3054
3055         event.split(" ").forEach(function(event) {
3056             eventType = event.split(".")[0];
3057             namespace = event.split(".").splice(1).join(".");
3058
3059             // remove named events
3060             if (events[eventType]) {
3061                 eventsByType = events[eventType];
3062                 l = eventsByType.length;
3063
3064                 while(l--) {
3065                     e = eventsByType[l];
3066                     if (!namespace || (namespace && e.namespace === namespace)) {
3067                         removeListener(events, eventType, l, el, e);
3068                     }
3069                 }
3070             }
3071             // remove all namespaced events
3072             else if (namespace) {
3073                 keys(events).forEach(function(eventType) {
3074                     eventsByType = events[eventType];
3075                     l = eventsByType.length;
3076
3077                     while(l--) {
3078                         e = eventsByType[l];
3079                         if (e.namespace.split(".")[0] === namespace.split(".")[0]) {
3080                             removeListener(events, eventType, l, el, e);
3081                         }
3082                     }
3083                 });
3084             }
3085         });
3086     };
3087
3088     for (; i < length; i++) {
3089         removeListeners(this[i]);
3090     }
3091
3092     return this;
3093 };
3094
3095 fn.find = function(selector) {
3096     var results = [],
3097         i = 0,
3098         length = this.length,
3099         finder = function(el) {
3100             if (isFunction(el.querySelectorAll)) {
3101                 [].forEach.call(el.querySelectorAll(selector), function(found) {
3102                     results.push(found);
3103                 });
3104             }
3105         };
3106
3107     for (; i < length; i++) {
3108         finder(this[i]);
3109     }
3110
3111     return jBone(results);
3112 };
3113
3114 fn.get = function(index) {
3115     return this[index];
3116 };
3117
3118 fn.eq = function(index) {
3119     return jBone(this[index]);
3120 };
3121
3122 fn.parent = function() {
3123     var results = [],
3124         parent,
3125         i = 0,
3126         length = this.length;
3127
3128     for (; i < length; i++) {
3129         if (!~results.indexOf(parent = this[i].parentElement) && parent) {
3130             results.push(parent);
3131         }
3132     }
3133
3134     return jBone(results);
3135 };
3136
3137 fn.toArray = function() {
3138     return slice.call(this);
3139 };
3140
3141 fn.is = function() {
3142     var args = arguments;
3143
3144     return this.some(function(el) {
3145         return el.tagName.toLowerCase() === args[0];
3146     });
3147 };
3148
3149 fn.has = function() {
3150     var args = arguments;
3151
3152     return this.some(function(el) {
3153         return el.querySelectorAll(args[0]).length;
3154     });
3155 };
3156
3157 fn.attr = function(key, value) {
3158     var args = arguments,
3159         i = 0,
3160         length = this.length,
3161         setter;
3162
3163     if (isString(key) && args.length === 1) {
3164         return this[0] && this[0].getAttribute(key);
3165     }
3166
3167     if (args.length === 2) {
3168         setter = function(el) {
3169             el.setAttribute(key, value);
3170         };
3171     } else if (isObject(key)) {
3172         setter = function(el) {
3173             keys(key).forEach(function(name) {
3174                 el.setAttribute(name, key[name]);
3175             });
3176         };
3177     }
3178
3179     for (; i < length; i++) {
3180         setter(this[i]);
3181     }
3182
3183     return this;
3184 };
3185
3186 fn.removeAttr = function(key) {
3187     var i = 0,
3188         length = this.length;
3189
3190     for (; i < length; i++) {
3191         this[i].removeAttribute(key);
3192     }
3193
3194     return this;
3195 };
3196
3197 fn.val = function(value) {
3198     var i = 0,
3199         length = this.length;
3200
3201     if (arguments.length === 0) {
3202         return this[0] && this[0].value;
3203     }
3204
3205     for (; i < length; i++) {
3206         this[i].value = value;
3207     }
3208
3209     return this;
3210 };
3211
3212 fn.css = function(key, value) {
3213     var args = arguments,
3214         i = 0,
3215         length = this.length,
3216         setter;
3217
3218     // Get attribute
3219     if (isString(key) && args.length === 1) {
3220         return this[0] && win.getComputedStyle(this[0])[key];
3221     }
3222
3223     // Set attributes
3224     if (args.length === 2) {
3225         setter = function(el) {
3226             el.style[key] = value;
3227         };
3228     } else if (isObject(key)) {
3229         setter = function(el) {
3230             keys(key).forEach(function(name) {
3231                 el.style[name] = key[name];
3232             });
3233         };
3234     }
3235
3236     for (; i < length; i++) {
3237         setter(this[i]);
3238     }
3239
3240     return this;
3241 };
3242
3243 fn.data = function(key, value) {
3244     var args = arguments, data = {},
3245         i = 0,
3246         length = this.length,
3247         setter,
3248         setValue = function(el, key, value) {
3249             if (isObject(value)) {
3250                 el.jdata = el.jdata || {};
3251                 el.jdata[key] = value;
3252             } else {
3253                 el.dataset[key] = value;
3254             }
3255         },
3256         getValue = function(value) {
3257             if (value === "true") {
3258                 return true;
3259             } else if (value === "false") {
3260                 return false;
3261             } else {
3262                 return value;
3263             }
3264         };
3265
3266     // Get all data
3267     if (args.length === 0) {
3268         this[0].jdata && (data = this[0].jdata);
3269
3270         keys(this[0].dataset).forEach(function(key) {
3271             data[key] = getValue(this[0].dataset[key]);
3272         }, this);
3273
3274         return data;
3275     }
3276     // Get data by name
3277     if (args.length === 1 && isString(key)) {
3278         return this[0] && getValue(this[0].dataset[key] || this[0].jdata && this[0].jdata[key]);
3279     }
3280
3281     // Set data
3282     if (args.length === 1 && isObject(key)) {
3283         setter = function(el) {
3284             keys(key).forEach(function(name) {
3285                 setValue(el, name, key[name]);
3286             });
3287         };
3288     } else if (args.length === 2) {
3289         setter = function(el) {
3290             setValue(el, key, value);
3291         };
3292     }
3293
3294     for (; i < length; i++) {
3295         setter(this[i]);
3296     }
3297
3298     return this;
3299 };
3300
3301 fn.removeData = function(key) {
3302     var i = 0,
3303         length = this.length,
3304         jdata, dataset;
3305
3306     for (; i < length; i++) {
3307         jdata = this[i].jdata;
3308         dataset = this[i].dataset;
3309
3310         if (key) {
3311             jdata && jdata[key] && delete jdata[key];
3312             delete dataset[key];
3313         } else {
3314             for (key in jdata) {
3315                 delete jdata[key];
3316             }
3317
3318             for (key in dataset) {
3319                 delete dataset[key];
3320             }
3321         }
3322     }
3323
3324     return this;
3325 };
3326
3327 fn.html = function(value) {
3328     var args = arguments,
3329         el;
3330
3331     // add HTML into elements
3332     if (args.length === 1 && value !== undefined) {
3333         return this.empty().append(value);
3334     }
3335     // get HTML from element
3336     else if (args.length === 0 && (el = this[0])) {
3337         return el.innerHTML;
3338     }
3339
3340     return this;
3341 };
3342
3343 fn.append = function(appended) {
3344     var i = 0,
3345         length = this.length,
3346         setter;
3347
3348     // create jBone object and then append
3349     if (isString(appended) && rquickExpr.exec(appended)) {
3350         appended = jBone(appended);
3351     }
3352     // create text node for inserting
3353     else if (!isObject(appended)) {
3354         appended = document.createTextNode(appended);
3355     }
3356
3357     appended = appended instanceof jBone ? appended : jBone(appended);
3358
3359     setter = function(el, i) {
3360         appended.forEach(function(node) {
3361             if (i) {
3362                 el.appendChild(node.cloneNode());
3363             } else {
3364                 el.appendChild(node);
3365             }
3366         });
3367     };
3368
3369     for (; i < length; i++) {
3370         setter(this[i], i);
3371     }
3372
3373     return this;
3374 };
3375
3376 fn.appendTo = function(to) {
3377     jBone(to).append(this);
3378
3379     return this;
3380 };
3381
3382 fn.empty = function() {
3383     var i = 0,
3384         length = this.length,
3385         el;
3386
3387     for (; i < length; i++) {
3388         el = this[i];
3389
3390         while (el.lastChild) {
3391             el.removeChild(el.lastChild);
3392         }
3393     }
3394
3395     return this;
3396 };
3397
3398 fn.remove = function() {
3399     var i = 0,
3400         length = this.length,
3401         el;
3402
3403     // remove all listners
3404     this.off();
3405
3406     for (; i < length; i++) {
3407         el = this[i];
3408
3409         // remove data and nodes
3410         delete el.jdata;
3411         el.parentNode && el.parentNode.removeChild(el);
3412     }
3413
3414     return this;
3415 };
3416
3417 if (typeof module === "object" && module && typeof module.exports === "object") {
3418     // Expose jBone as module.exports in loaders that implement the Node
3419     // module pattern (including browserify). Do not create the global, since
3420     // the user will be storing it themselves locally, and globals are frowned
3421     // upon in the Node module world.
3422     module.exports = jBone;
3423 }
3424 // Register as a AMD module
3425 else if (typeof define === "function" && define.amd) {
3426     define(function() {
3427         return jBone;
3428     });
3429
3430     win.jBone = win.$ = jBone;
3431 } else if (typeof win === "object" && typeof win.document === "object") {
3432     win.jBone = win.$ = jBone;
3433 }
3434
3435 }(window));
3436
3437 },{}],51:[function(require,module,exports){
3438 var Mouse;
3439
3440 module.exports = Mouse = {
3441   rel: function(e) {
3442     var mouseX, mouseY, rect, target;
3443     mouseX = e.offsetX;
3444     mouseY = e.offsetY;
3445     if (mouseX == null) {
3446       rect = target.getBoundingClientRect();
3447       target = e.target || e.srcElement;
3448       if (mouseX == null) {
3449         mouseX = e.clientX - rect.left;
3450         mouseY = e.clientY - rect.top;
3451       }
3452       if (mouseX == null) {
3453         mouseX = e.pageX - target.offsetLeft;
3454         mouseY = e.pageY - target.offsetTop;
3455       }
3456       if (mouseX == null) {
3457         console.log(e, "no mouse event defined. your browser sucks");
3458         return;
3459       }
3460     }
3461     return [mouseX, mouseY];
3462   },
3463   abs: function(e) {
3464     var mouseX, mouseY;
3465     mouseX = e.pageX;
3466     mouseY = e.pageY;
3467     if (mouseX == null) {
3468       mouseX = e.layerX;
3469       mouseY = e.layerY;
3470     }
3471     if (mouseX == null) {
3472       mouseX = e.clientX;
3473       mouseY = e.clientY;
3474     }
3475     if (mouseX == null) {
3476       mouseX = e.x;
3477       mouseY = e.y;
3478     }
3479     return [mouseX, mouseY];
3480   },
3481   wheelDelta: function(e) {
3482     var delta, dir;
3483     delta = [e.deltaX, e.deltaY];
3484     if (delta[0] == null) {
3485       dir = Math.floor(e.detail / 3);
3486       delta = [0, e.mozMovementX * dir];
3487     }
3488     return delta;
3489   }
3490 };
3491
3492 },{}],52:[function(require,module,exports){
3493 var window = require("global/window")
3494 var once = require("once")
3495 var parseHeaders = require('parse-headers')
3496
3497 var messages = {
3498     "0": "Internal XMLHttpRequest Error",
3499     "4": "4xx Client Error",
3500     "5": "5xx Server Error"
3501 }
3502
3503 var XHR = window.XMLHttpRequest || noop
3504 var XDR = "withCredentials" in (new XHR()) ? XHR : window.XDomainRequest
3505
3506 module.exports = createXHR
3507
3508 function createXHR(options, callback) {
3509     if (typeof options === "string") {
3510         options = { uri: options }
3511     }
3512
3513     options = options || {}
3514     callback = once(callback)
3515
3516     var xhr = options.xhr || null
3517
3518     if (!xhr) {
3519         if (options.cors || options.useXDR) {
3520             xhr = new XDR()
3521         }else{
3522             xhr = new XHR()
3523         }
3524     }
3525
3526     var uri = xhr.url = options.uri || options.url
3527     var method = xhr.method = options.method || "GET"
3528     var body = options.body || options.data
3529     var headers = xhr.headers = options.headers || {}
3530     var sync = !!options.sync
3531     var isJson = false
3532     var key
3533     var load = options.response ? loadResponse : loadXhr
3534
3535     if ("json" in options) {
3536         isJson = true
3537         headers["Accept"] = "application/json"
3538         if (method !== "GET" && method !== "HEAD") {
3539             headers["Content-Type"] = "application/json"
3540             body = JSON.stringify(options.json)
3541         }
3542     }
3543
3544     xhr.onreadystatechange = readystatechange
3545     xhr.onload = load
3546     xhr.onerror = error
3547     // IE9 must have onprogress be set to a unique function.
3548     xhr.onprogress = function () {
3549         // IE must die
3550     }
3551     // hate IE
3552     xhr.ontimeout = noop
3553     xhr.open(method, uri, !sync)
3554                                     //backward compatibility
3555     if (options.withCredentials || (options.cors && options.withCredentials !== false)) {
3556         xhr.withCredentials = true
3557     }
3558
3559     // Cannot set timeout with sync request
3560     if (!sync) {
3561         xhr.timeout = "timeout" in options ? options.timeout : 5000
3562     }
3563
3564     if (xhr.setRequestHeader) {
3565         for(key in headers){
3566             if(headers.hasOwnProperty(key)){
3567                 xhr.setRequestHeader(key, headers[key])
3568             }
3569         }
3570     } else if (options.headers) {
3571         throw new Error("Headers cannot be set on an XDomainRequest object")
3572     }
3573
3574     if ("responseType" in options) {
3575         xhr.responseType = options.responseType
3576     }
3577     
3578     if ("beforeSend" in options && 
3579         typeof options.beforeSend === "function"
3580     ) {
3581         options.beforeSend(xhr)
3582     }
3583
3584     xhr.send(body)
3585
3586     return xhr
3587
3588     function readystatechange() {
3589         if (xhr.readyState === 4) {
3590             load()
3591         }
3592     }
3593
3594     function getBody() {
3595         // Chrome with requestType=blob throws errors arround when even testing access to responseText
3596         var body = null
3597
3598         if (xhr.response) {
3599             body = xhr.response
3600         } else if (xhr.responseType === 'text' || !xhr.responseType) {
3601             body = xhr.responseText || xhr.responseXML
3602         }
3603
3604         if (isJson) {
3605             try {
3606                 body = JSON.parse(body)
3607             } catch (e) {}
3608         }
3609
3610         return body
3611     }
3612
3613     function getStatusCode() {
3614         return xhr.status === 1223 ? 204 : xhr.status
3615     }
3616
3617     // if we're getting a none-ok statusCode, build & return an error
3618     function errorFromStatusCode(status) {
3619         var error = null
3620         if (status === 0 || (status >= 400 && status < 600)) {
3621             var message = (typeof body === "string" ? body : false) ||
3622                 messages[String(status).charAt(0)]
3623             error = new Error(message)
3624             error.statusCode = status
3625         }
3626
3627         return error
3628     }
3629
3630     // will load the data & process the response in a special response object
3631     function loadResponse() {
3632         var status = getStatusCode()
3633         var error = errorFromStatusCode(status)
3634         var response = {
3635             body: getBody(),
3636             statusCode: status,
3637             statusText: xhr.statusText,
3638             raw: xhr
3639         }
3640         if(xhr.getAllResponseHeaders){ //remember xhr can in fact be XDR for CORS in IE
3641             response.headers = parseHeaders(xhr.getAllResponseHeaders())
3642         } else {
3643             response.headers = {}
3644         }
3645
3646         callback(error, response, response.body)
3647     }
3648
3649     // will load the data and add some response properties to the source xhr
3650     // and then respond with that
3651     function loadXhr() {
3652         var status = getStatusCode()
3653         var error = errorFromStatusCode(status)
3654
3655         xhr.status = xhr.statusCode = status
3656         xhr.body = getBody()
3657         xhr.headers = parseHeaders(xhr.getAllResponseHeaders())
3658
3659         callback(error, xhr, xhr.body)
3660     }
3661
3662     function error(evt) {
3663         callback(evt, xhr)
3664     }
3665 }
3666
3667
3668 function noop() {}
3669
3670 },{"global/window":53,"once":54,"parse-headers":58}],53:[function(require,module,exports){
3671 (function (global){
3672 if (typeof window !== "undefined") {
3673     module.exports = window;
3674 } else if (typeof global !== "undefined") {
3675     module.exports = global;
3676 } else if (typeof self !== "undefined"){
3677     module.exports = self;
3678 } else {
3679     module.exports = {};
3680 }
3681
3682 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
3683 },{}],54:[function(require,module,exports){
3684 module.exports = once
3685
3686 once.proto = once(function () {
3687   Object.defineProperty(Function.prototype, 'once', {
3688     value: function () {
3689       return once(this)
3690     },
3691     configurable: true
3692   })
3693 })
3694
3695 function once (fn) {
3696   var called = false
3697   return function () {
3698     if (called) return
3699     called = true
3700     return fn.apply(this, arguments)
3701   }
3702 }
3703
3704 },{}],55:[function(require,module,exports){
3705 var isFunction = require('is-function')
3706
3707 module.exports = forEach
3708
3709 var toString = Object.prototype.toString
3710 var hasOwnProperty = Object.prototype.hasOwnProperty
3711
3712 function forEach(list, iterator, context) {
3713     if (!isFunction(iterator)) {
3714         throw new TypeError('iterator must be a function')
3715     }
3716
3717     if (arguments.length < 3) {
3718         context = this
3719     }
3720     
3721     if (toString.call(list) === '[object Array]')
3722         forEachArray(list, iterator, context)
3723     else if (typeof list === 'string')
3724         forEachString(list, iterator, context)
3725     else
3726         forEachObject(list, iterator, context)
3727 }
3728
3729 function forEachArray(array, iterator, context) {
3730     for (var i = 0, len = array.length; i < len; i++) {
3731         if (hasOwnProperty.call(array, i)) {
3732             iterator.call(context, array[i], i, array)
3733         }
3734     }
3735 }
3736
3737 function forEachString(string, iterator, context) {
3738     for (var i = 0, len = string.length; i < len; i++) {
3739         // no such thing as a sparse string.
3740         iterator.call(context, string.charAt(i), i, string)
3741     }
3742 }
3743
3744 function forEachObject(object, iterator, context) {
3745     for (var k in object) {
3746         if (hasOwnProperty.call(object, k)) {
3747             iterator.call(context, object[k], k, object)
3748         }
3749     }
3750 }
3751
3752 },{"is-function":56}],56:[function(require,module,exports){
3753 module.exports = isFunction
3754
3755 var toString = Object.prototype.toString
3756
3757 function isFunction (fn) {
3758   var string = toString.call(fn)
3759   return string === '[object Function]' ||
3760     (typeof fn === 'function' && string !== '[object RegExp]') ||
3761     (typeof window !== 'undefined' &&
3762      // IE8 and below
3763      (fn === window.setTimeout ||
3764       fn === window.alert ||
3765       fn === window.confirm ||
3766       fn === window.prompt))
3767 };
3768
3769 },{}],57:[function(require,module,exports){
3770
3771 exports = module.exports = trim;
3772
3773 function trim(str){
3774   return str.replace(/^\s*|\s*$/g, '');
3775 }
3776
3777 exports.left = function(str){
3778   return str.replace(/^\s*/, '');
3779 };
3780
3781 exports.right = function(str){
3782   return str.replace(/\s*$/, '');
3783 };
3784
3785 },{}],58:[function(require,module,exports){
3786 var trim = require('trim')
3787   , forEach = require('for-each')
3788   , isArray = function(arg) {
3789       return Object.prototype.toString.call(arg) === '[object Array]';
3790     }
3791
3792 module.exports = function (headers) {
3793   if (!headers)
3794     return {}
3795
3796   var result = {}
3797
3798   forEach(
3799       trim(headers).split('\n')
3800     , function (row) {
3801         var index = row.indexOf(':')
3802           , key = trim(row.slice(0, index)).toLowerCase()
3803           , value = trim(row.slice(index + 1))
3804
3805         if (typeof(result[key]) === 'undefined') {
3806           result[key] = value
3807         } else if (isArray(result[key])) {
3808           result[key].push(value)
3809         } else {
3810           result[key] = [ result[key], value ]
3811         }
3812       }
3813   )
3814
3815   return result
3816 }
3817 },{"for-each":55,"trim":57}],59:[function(require,module,exports){
3818 //     Underscore.js 1.7.0
3819 //     http://underscorejs.org
3820 //     (c) 2009-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
3821 //     Underscore may be freely distributed under the MIT license.
3822
3823 (function() {
3824
3825   // Baseline setup
3826   // --------------
3827
3828   // Establish the root object, `window` in the browser, or `exports` on the server.
3829   var root = this;
3830
3831   // Save the previous value of the `_` variable.
3832   var previousUnderscore = root._;
3833
3834   // Save bytes in the minified (but not gzipped) version:
3835   var ArrayProto = Array.prototype, ObjProto = Object.prototype, FuncProto = Function.prototype;
3836
3837   // Create quick reference variables for speed access to core prototypes.
3838   var
3839     push             = ArrayProto.push,
3840     slice            = ArrayProto.slice,
3841     concat           = ArrayProto.concat,
3842     toString         = ObjProto.toString,
3843     hasOwnProperty   = ObjProto.hasOwnProperty;
3844
3845   // All **ECMAScript 5** native function implementations that we hope to use
3846   // are declared here.
3847   var
3848     nativeIsArray      = Array.isArray,
3849     nativeKeys         = Object.keys,
3850     nativeBind         = FuncProto.bind;
3851
3852   // Create a safe reference to the Underscore object for use below.
3853   var _ = function(obj) {
3854     if (obj instanceof _) return obj;
3855     if (!(this instanceof _)) return new _(obj);
3856     this._wrapped = obj;
3857   };
3858
3859   // Export the Underscore object for **Node.js**, with
3860   // backwards-compatibility for the old `require()` API. If we're in
3861   // the browser, add `_` as a global object.
3862   if (typeof exports !== 'undefined') {
3863     if (typeof module !== 'undefined' && module.exports) {
3864       exports = module.exports = _;
3865     }
3866     exports._ = _;
3867   } else {
3868     root._ = _;
3869   }
3870
3871   // Current version.
3872   _.VERSION = '1.7.0';
3873
3874   // Internal function that returns an efficient (for current engines) version
3875   // of the passed-in callback, to be repeatedly applied in other Underscore
3876   // functions.
3877   var createCallback = function(func, context, argCount) {
3878     if (context === void 0) return func;
3879     switch (argCount == null ? 3 : argCount) {
3880       case 1: return function(value) {
3881         return func.call(context, value);
3882       };
3883       case 2: return function(value, other) {
3884         return func.call(context, value, other);
3885       };
3886       case 3: return function(value, index, collection) {
3887         return func.call(context, value, index, collection);
3888       };
3889       case 4: return function(accumulator, value, index, collection) {
3890         return func.call(context, accumulator, value, index, collection);
3891       };
3892     }
3893     return function() {
3894       return func.apply(context, arguments);
3895     };
3896   };
3897
3898   // A mostly-internal function to generate callbacks that can be applied
3899   // to each element in a collection, returning the desired result â€” either
3900   // identity, an arbitrary callback, a property matcher, or a property accessor.
3901   _.iteratee = function(value, context, argCount) {
3902     if (value == null) return _.identity;
3903     if (_.isFunction(value)) return createCallback(value, context, argCount);
3904     if (_.isObject(value)) return _.matches(value);
3905     return _.property(value);
3906   };
3907
3908   // Collection Functions
3909   // --------------------
3910
3911   // The cornerstone, an `each` implementation, aka `forEach`.
3912   // Handles raw objects in addition to array-likes. Treats all
3913   // sparse array-likes as if they were dense.
3914   _.each = _.forEach = function(obj, iteratee, context) {
3915     if (obj == null) return obj;
3916     iteratee = createCallback(iteratee, context);
3917     var i, length = obj.length;
3918     if (length === +length) {
3919       for (i = 0; i < length; i++) {
3920         iteratee(obj[i], i, obj);
3921       }
3922     } else {
3923       var keys = _.keys(obj);
3924       for (i = 0, length = keys.length; i < length; i++) {
3925         iteratee(obj[keys[i]], keys[i], obj);
3926       }
3927     }
3928     return obj;
3929   };
3930
3931   // Return the results of applying the iteratee to each element.
3932   _.map = _.collect = function(obj, iteratee, context) {
3933     if (obj == null) return [];
3934     iteratee = _.iteratee(iteratee, context);
3935     var keys = obj.length !== +obj.length && _.keys(obj),
3936         length = (keys || obj).length,
3937         results = Array(length),
3938         currentKey;
3939     for (var index = 0; index < length; index++) {
3940       currentKey = keys ? keys[index] : index;
3941       results[index] = iteratee(obj[currentKey], currentKey, obj);
3942     }
3943     return results;
3944   };
3945
3946   var reduceError = 'Reduce of empty array with no initial value';
3947
3948   // **Reduce** builds up a single result from a list of values, aka `inject`,
3949   // or `foldl`.
3950   _.reduce = _.foldl = _.inject = function(obj, iteratee, memo, context) {
3951     if (obj == null) obj = [];
3952     iteratee = createCallback(iteratee, context, 4);
3953     var keys = obj.length !== +obj.length && _.keys(obj),
3954         length = (keys || obj).length,
3955         index = 0, currentKey;
3956     if (arguments.length < 3) {
3957       if (!length) throw new TypeError(reduceError);
3958       memo = obj[keys ? keys[index++] : index++];
3959     }
3960     for (; index < length; index++) {
3961       currentKey = keys ? keys[index] : index;
3962       memo = iteratee(memo, obj[currentKey], currentKey, obj);
3963     }
3964     return memo;
3965   };
3966
3967   // The right-associative version of reduce, also known as `foldr`.
3968   _.reduceRight = _.foldr = function(obj, iteratee, memo, context) {
3969     if (obj == null) obj = [];
3970     iteratee = createCallback(iteratee, context, 4);
3971     var keys = obj.length !== + obj.length && _.keys(obj),
3972         index = (keys || obj).length,
3973         currentKey;
3974     if (arguments.length < 3) {
3975       if (!index) throw new TypeError(reduceError);
3976       memo = obj[keys ? keys[--index] : --index];
3977     }
3978     while (index--) {
3979       currentKey = keys ? keys[index] : index;
3980       memo = iteratee(memo, obj[currentKey], currentKey, obj);
3981     }
3982     return memo;
3983   };
3984
3985   // Return the first value which passes a truth test. Aliased as `detect`.
3986   _.find = _.detect = function(obj, predicate, context) {
3987     var result;
3988     predicate = _.iteratee(predicate, context);
3989     _.some(obj, function(value, index, list) {
3990       if (predicate(value, index, list)) {
3991         result = value;
3992         return true;
3993       }
3994     });
3995     return result;
3996   };
3997
3998   // Return all the elements that pass a truth test.
3999   // Aliased as `select`.
4000   _.filter = _.select = function(obj, predicate, context) {
4001     var results = [];
4002     if (obj == null) return results;
4003     predicate = _.iteratee(predicate, context);
4004     _.each(obj, function(value, index, list) {
4005       if (predicate(value, index, list)) results.push(value);
4006     });
4007     return results;
4008   };
4009
4010   // Return all the elements for which a truth test fails.
4011   _.reject = function(obj, predicate, context) {
4012     return _.filter(obj, _.negate(_.iteratee(predicate)), context);
4013   };
4014
4015   // Determine whether all of the elements match a truth test.
4016   // Aliased as `all`.
4017   _.every = _.all = function(obj, predicate, context) {
4018     if (obj == null) return true;
4019     predicate = _.iteratee(predicate, context);
4020     var keys = obj.length !== +obj.length && _.keys(obj),
4021         length = (keys || obj).length,
4022         index, currentKey;
4023     for (index = 0; index < length; index++) {
4024       currentKey = keys ? keys[index] : index;
4025       if (!predicate(obj[currentKey], currentKey, obj)) return false;
4026     }
4027     return true;
4028   };
4029
4030   // Determine if at least one element in the object matches a truth test.
4031   // Aliased as `any`.
4032   _.some = _.any = function(obj, predicate, context) {
4033     if (obj == null) return false;
4034     predicate = _.iteratee(predicate, context);
4035     var keys = obj.length !== +obj.length && _.keys(obj),
4036         length = (keys || obj).length,
4037         index, currentKey;
4038     for (index = 0; index < length; index++) {
4039       currentKey = keys ? keys[index] : index;
4040       if (predicate(obj[currentKey], currentKey, obj)) return true;
4041     }
4042     return false;
4043   };
4044
4045   // Determine if the array or object contains a given value (using `===`).
4046   // Aliased as `include`.
4047   _.contains = _.include = function(obj, target) {
4048     if (obj == null) return false;
4049     if (obj.length !== +obj.length) obj = _.values(obj);
4050     return _.indexOf(obj, target) >= 0;
4051   };
4052
4053   // Invoke a method (with arguments) on every item in a collection.
4054   _.invoke = function(obj, method) {
4055     var args = slice.call(arguments, 2);
4056     var isFunc = _.isFunction(method);
4057     return _.map(obj, function(value) {
4058       return (isFunc ? method : value[method]).apply(value, args);
4059     });
4060   };
4061
4062   // Convenience version of a common use case of `map`: fetching a property.
4063   _.pluck = function(obj, key) {
4064     return _.map(obj, _.property(key));
4065   };
4066
4067   // Convenience version of a common use case of `filter`: selecting only objects
4068   // containing specific `key:value` pairs.
4069   _.where = function(obj, attrs) {
4070     return _.filter(obj, _.matches(attrs));
4071   };
4072
4073   // Convenience version of a common use case of `find`: getting the first object
4074   // containing specific `key:value` pairs.
4075   _.findWhere = function(obj, attrs) {
4076     return _.find(obj, _.matches(attrs));
4077   };
4078
4079   // Return the maximum element (or element-based computation).
4080   _.max = function(obj, iteratee, context) {
4081     var result = -Infinity, lastComputed = -Infinity,
4082         value, computed;
4083     if (iteratee == null && obj != null) {
4084       obj = obj.length === +obj.length ? obj : _.values(obj);
4085       for (var i = 0, length = obj.length; i < length; i++) {
4086         value = obj[i];
4087         if (value > result) {
4088           result = value;
4089         }
4090       }
4091     } else {
4092       iteratee = _.iteratee(iteratee, context);
4093       _.each(obj, function(value, index, list) {
4094         computed = iteratee(value, index, list);
4095         if (computed > lastComputed || computed === -Infinity && result === -Infinity) {
4096           result = value;
4097           lastComputed = computed;
4098         }
4099       });
4100     }
4101     return result;
4102   };
4103
4104   // Return the minimum element (or element-based computation).
4105   _.min = function(obj, iteratee, context) {
4106     var result = Infinity, lastComputed = Infinity,
4107         value, computed;
4108     if (iteratee == null && obj != null) {
4109       obj = obj.length === +obj.length ? obj : _.values(obj);
4110       for (var i = 0, length = obj.length; i < length; i++) {
4111         value = obj[i];
4112         if (value < result) {
4113           result = value;
4114         }
4115       }
4116     } else {
4117       iteratee = _.iteratee(iteratee, context);
4118       _.each(obj, function(value, index, list) {
4119         computed = iteratee(value, index, list);
4120         if (computed < lastComputed || computed === Infinity && result === Infinity) {
4121           result = value;
4122           lastComputed = computed;
4123         }
4124       });
4125     }
4126     return result;
4127   };
4128
4129   // Shuffle a collection, using the modern version of the
4130   // [Fisher-Yates shuffle](http://en.wikipedia.org/wiki/Fisher–Yates_shuffle).
4131   _.shuffle = function(obj) {
4132     var set = obj && obj.length === +obj.length ? obj : _.values(obj);
4133     var length = set.length;
4134     var shuffled = Array(length);
4135     for (var index = 0, rand; index < length; index++) {
4136       rand = _.random(0, index);
4137       if (rand !== index) shuffled[index] = shuffled[rand];
4138       shuffled[rand] = set[index];
4139     }
4140     return shuffled;
4141   };
4142
4143   // Sample **n** random values from a collection.
4144   // If **n** is not specified, returns a single random element.
4145   // The internal `guard` argument allows it to work with `map`.
4146   _.sample = function(obj, n, guard) {
4147     if (n == null || guard) {
4148       if (obj.length !== +obj.length) obj = _.values(obj);
4149       return obj[_.random(obj.length - 1)];
4150     }
4151     return _.shuffle(obj).slice(0, Math.max(0, n));
4152   };
4153
4154   // Sort the object's values by a criterion produced by an iteratee.
4155   _.sortBy = function(obj, iteratee, context) {
4156     iteratee = _.iteratee(iteratee, context);
4157     return _.pluck(_.map(obj, function(value, index, list) {
4158       return {
4159         value: value,
4160         index: index,
4161         criteria: iteratee(value, index, list)
4162       };
4163     }).sort(function(left, right) {
4164       var a = left.criteria;
4165       var b = right.criteria;
4166       if (a !== b) {
4167         if (a > b || a === void 0) return 1;
4168         if (a < b || b === void 0) return -1;
4169       }
4170       return left.index - right.index;
4171     }), 'value');
4172   };
4173
4174   // An internal function used for aggregate "group by" operations.
4175   var group = function(behavior) {
4176     return function(obj, iteratee, context) {
4177       var result = {};
4178       iteratee = _.iteratee(iteratee, context);
4179       _.each(obj, function(value, index) {
4180         var key = iteratee(value, index, obj);
4181         behavior(result, value, key);
4182       });
4183       return result;
4184     };
4185   };
4186
4187   // Groups the object's values by a criterion. Pass either a string attribute
4188   // to group by, or a function that returns the criterion.
4189   _.groupBy = group(function(result, value, key) {
4190     if (_.has(result, key)) result[key].push(value); else result[key] = [value];
4191   });
4192
4193   // Indexes the object's values by a criterion, similar to `groupBy`, but for
4194   // when you know that your index values will be unique.
4195   _.indexBy = group(function(result, value, key) {
4196     result[key] = value;
4197   });
4198
4199   // Counts instances of an object that group by a certain criterion. Pass
4200   // either a string attribute to count by, or a function that returns the
4201   // criterion.
4202   _.countBy = group(function(result, value, key) {
4203     if (_.has(result, key)) result[key]++; else result[key] = 1;
4204   });
4205
4206   // Use a comparator function to figure out the smallest index at which
4207   // an object should be inserted so as to maintain order. Uses binary search.
4208   _.sortedIndex = function(array, obj, iteratee, context) {
4209     iteratee = _.iteratee(iteratee, context, 1);
4210     var value = iteratee(obj);
4211     var low = 0, high = array.length;
4212     while (low < high) {
4213       var mid = low + high >>> 1;
4214       if (iteratee(array[mid]) < value) low = mid + 1; else high = mid;
4215     }
4216     return low;
4217   };
4218
4219   // Safely create a real, live array from anything iterable.
4220   _.toArray = function(obj) {
4221     if (!obj) return [];
4222     if (_.isArray(obj)) return slice.call(obj);
4223     if (obj.length === +obj.length) return _.map(obj, _.identity);
4224     return _.values(obj);
4225   };
4226
4227   // Return the number of elements in an object.
4228   _.size = function(obj) {
4229     if (obj == null) return 0;
4230     return obj.length === +obj.length ? obj.length : _.keys(obj).length;
4231   };
4232
4233   // Split a collection into two arrays: one whose elements all satisfy the given
4234   // predicate, and one whose elements all do not satisfy the predicate.
4235   _.partition = function(obj, predicate, context) {
4236     predicate = _.iteratee(predicate, context);
4237     var pass = [], fail = [];
4238     _.each(obj, function(value, key, obj) {
4239       (predicate(value, key, obj) ? pass : fail).push(value);
4240     });
4241     return [pass, fail];
4242   };
4243
4244   // Array Functions
4245   // ---------------
4246
4247   // Get the first element of an array. Passing **n** will return the first N
4248   // values in the array. Aliased as `head` and `take`. The **guard** check
4249   // allows it to work with `_.map`.
4250   _.first = _.head = _.take = function(array, n, guard) {
4251     if (array == null) return void 0;
4252     if (n == null || guard) return array[0];
4253     if (n < 0) return [];
4254     return slice.call(array, 0, n);
4255   };
4256
4257   // Returns everything but the last entry of the array. Especially useful on
4258   // the arguments object. Passing **n** will return all the values in
4259   // the array, excluding the last N. The **guard** check allows it to work with
4260   // `_.map`.
4261   _.initial = function(array, n, guard) {
4262     return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n)));
4263   };
4264
4265   // Get the last element of an array. Passing **n** will return the last N
4266   // values in the array. The **guard** check allows it to work with `_.map`.
4267   _.last = function(array, n, guard) {
4268     if (array == null) return void 0;
4269     if (n == null || guard) return array[array.length - 1];
4270     return slice.call(array, Math.max(array.length - n, 0));
4271   };
4272
4273   // Returns everything but the first entry of the array. Aliased as `tail` and `drop`.
4274   // Especially useful on the arguments object. Passing an **n** will return
4275   // the rest N values in the array. The **guard**
4276   // check allows it to work with `_.map`.
4277   _.rest = _.tail = _.drop = function(array, n, guard) {
4278     return slice.call(array, n == null || guard ? 1 : n);
4279   };
4280
4281   // Trim out all falsy values from an array.
4282   _.compact = function(array) {
4283     return _.filter(array, _.identity);
4284   };
4285
4286   // Internal implementation of a recursive `flatten` function.
4287   var flatten = function(input, shallow, strict, output) {
4288     if (shallow && _.every(input, _.isArray)) {
4289       return concat.apply(output, input);
4290     }
4291     for (var i = 0, length = input.length; i < length; i++) {
4292       var value = input[i];
4293       if (!_.isArray(value) && !_.isArguments(value)) {
4294         if (!strict) output.push(value);
4295       } else if (shallow) {
4296         push.apply(output, value);
4297       } else {
4298         flatten(value, shallow, strict, output);
4299       }
4300     }
4301     return output;
4302   };
4303
4304   // Flatten out an array, either recursively (by default), or just one level.
4305   _.flatten = function(array, shallow) {
4306     return flatten(array, shallow, false, []);
4307   };
4308
4309   // Return a version of the array that does not contain the specified value(s).
4310   _.without = function(array) {
4311     return _.difference(array, slice.call(arguments, 1));
4312   };
4313
4314   // Produce a duplicate-free version of the array. If the array has already
4315   // been sorted, you have the option of using a faster algorithm.
4316   // Aliased as `unique`.
4317   _.uniq = _.unique = function(array, isSorted, iteratee, context) {
4318     if (array == null) return [];
4319     if (!_.isBoolean(isSorted)) {
4320       context = iteratee;
4321       iteratee = isSorted;
4322       isSorted = false;
4323     }
4324     if (iteratee != null) iteratee = _.iteratee(iteratee, context);
4325     var result = [];
4326     var seen = [];
4327     for (var i = 0, length = array.length; i < length; i++) {
4328       var value = array[i];
4329       if (isSorted) {
4330         if (!i || seen !== value) result.push(value);
4331         seen = value;
4332       } else if (iteratee) {
4333         var computed = iteratee(value, i, array);
4334         if (_.indexOf(seen, computed) < 0) {
4335           seen.push(computed);
4336           result.push(value);
4337         }
4338       } else if (_.indexOf(result, value) < 0) {
4339         result.push(value);
4340       }
4341     }
4342     return result;
4343   };
4344
4345   // Produce an array that contains the union: each distinct element from all of
4346   // the passed-in arrays.
4347   _.union = function() {
4348     return _.uniq(flatten(arguments, true, true, []));
4349   };
4350
4351   // Produce an array that contains every item shared between all the
4352   // passed-in arrays.
4353   _.intersection = function(array) {
4354     if (array == null) return [];
4355     var result = [];
4356     var argsLength = arguments.length;
4357     for (var i = 0, length = array.length; i < length; i++) {
4358       var item = array[i];
4359       if (_.contains(result, item)) continue;
4360       for (var j = 1; j < argsLength; j++) {
4361         if (!_.contains(arguments[j], item)) break;
4362       }
4363       if (j === argsLength) result.push(item);
4364     }
4365     return result;
4366   };
4367
4368   // Take the difference between one array and a number of other arrays.
4369   // Only the elements present in just the first array will remain.
4370   _.difference = function(array) {
4371     var rest = flatten(slice.call(arguments, 1), true, true, []);
4372     return _.filter(array, function(value){
4373       return !_.contains(rest, value);
4374     });
4375   };
4376
4377   // Zip together multiple lists into a single array -- elements that share
4378   // an index go together.
4379   _.zip = function(array) {
4380     if (array == null) return [];
4381     var length = _.max(arguments, 'length').length;
4382     var results = Array(length);
4383     for (var i = 0; i < length; i++) {
4384       results[i] = _.pluck(arguments, i);
4385     }
4386     return results;
4387   };
4388
4389   // Converts lists into objects. Pass either a single array of `[key, value]`
4390   // pairs, or two parallel arrays of the same length -- one of keys, and one of
4391   // the corresponding values.
4392   _.object = function(list, values) {
4393     if (list == null) return {};
4394     var result = {};
4395     for (var i = 0, length = list.length; i < length; i++) {
4396       if (values) {
4397         result[list[i]] = values[i];
4398       } else {
4399         result[list[i][0]] = list[i][1];
4400       }
4401     }
4402     return result;
4403   };
4404
4405   // Return the position of the first occurrence of an item in an array,
4406   // or -1 if the item is not included in the array.
4407   // If the array is large and already in sort order, pass `true`
4408   // for **isSorted** to use binary search.
4409   _.indexOf = function(array, item, isSorted) {
4410     if (array == null) return -1;
4411     var i = 0, length = array.length;
4412     if (isSorted) {
4413       if (typeof isSorted == 'number') {
4414         i = isSorted < 0 ? Math.max(0, length + isSorted) : isSorted;
4415       } else {
4416         i = _.sortedIndex(array, item);
4417         return array[i] === item ? i : -1;
4418       }
4419     }
4420     for (; i < length; i++) if (array[i] === item) return i;
4421     return -1;
4422   };
4423
4424   _.lastIndexOf = function(array, item, from) {
4425     if (array == null) return -1;
4426     var idx = array.length;
4427     if (typeof from == 'number') {
4428       idx = from < 0 ? idx + from + 1 : Math.min(idx, from + 1);
4429     }
4430     while (--idx >= 0) if (array[idx] === item) return idx;
4431     return -1;
4432   };
4433
4434   // Generate an integer Array containing an arithmetic progression. A port of
4435   // the native Python `range()` function. See
4436   // [the Python documentation](http://docs.python.org/library/functions.html#range).
4437   _.range = function(start, stop, step) {
4438     if (arguments.length <= 1) {
4439       stop = start || 0;
4440       start = 0;
4441     }
4442     step = step || 1;
4443
4444     var length = Math.max(Math.ceil((stop - start) / step), 0);
4445     var range = Array(length);
4446
4447     for (var idx = 0; idx < length; idx++, start += step) {
4448       range[idx] = start;
4449     }
4450
4451     return range;
4452   };
4453
4454   // Function (ahem) Functions
4455   // ------------------
4456
4457   // Reusable constructor function for prototype setting.
4458   var Ctor = function(){};
4459
4460   // Create a function bound to a given object (assigning `this`, and arguments,
4461   // optionally). Delegates to **ECMAScript 5**'s native `Function.bind` if
4462   // available.
4463   _.bind = function(func, context) {
4464     var args, bound;
4465     if (nativeBind && func.bind === nativeBind) return nativeBind.apply(func, slice.call(arguments, 1));
4466     if (!_.isFunction(func)) throw new TypeError('Bind must be called on a function');
4467     args = slice.call(arguments, 2);
4468     bound = function() {
4469       if (!(this instanceof bound)) return func.apply(context, args.concat(slice.call(arguments)));
4470       Ctor.prototype = func.prototype;
4471       var self = new Ctor;
4472       Ctor.prototype = null;
4473       var result = func.apply(self, args.concat(slice.call(arguments)));
4474       if (_.isObject(result)) return result;
4475       return self;
4476     };
4477     return bound;
4478   };
4479
4480   // Partially apply a function by creating a version that has had some of its
4481   // arguments pre-filled, without changing its dynamic `this` context. _ acts
4482   // as a placeholder, allowing any combination of arguments to be pre-filled.
4483   _.partial = function(func) {
4484     var boundArgs = slice.call(arguments, 1);
4485     return function() {
4486       var position = 0;
4487       var args = boundArgs.slice();
4488       for (var i = 0, length = args.length; i < length; i++) {
4489         if (args[i] === _) args[i] = arguments[position++];
4490       }
4491       while (position < arguments.length) args.push(arguments[position++]);
4492       return func.apply(this, args);
4493     };
4494   };
4495
4496   // Bind a number of an object's methods to that object. Remaining arguments
4497   // are the method names to be bound. Useful for ensuring that all callbacks
4498   // defined on an object belong to it.
4499   _.bindAll = function(obj) {
4500     var i, length = arguments.length, key;
4501     if (length <= 1) throw new Error('bindAll must be passed function names');
4502     for (i = 1; i < length; i++) {
4503       key = arguments[i];
4504       obj[key] = _.bind(obj[key], obj);
4505     }
4506     return obj;
4507   };
4508
4509   // Memoize an expensive function by storing its results.
4510   _.memoize = function(func, hasher) {
4511     var memoize = function(key) {
4512       var cache = memoize.cache;
4513       var address = hasher ? hasher.apply(this, arguments) : key;
4514       if (!_.has(cache, address)) cache[address] = func.apply(this, arguments);
4515       return cache[address];
4516     };
4517     memoize.cache = {};
4518     return memoize;
4519   };
4520
4521   // Delays a function for the given number of milliseconds, and then calls
4522   // it with the arguments supplied.
4523   _.delay = function(func, wait) {
4524     var args = slice.call(arguments, 2);
4525     return setTimeout(function(){
4526       return func.apply(null, args);
4527     }, wait);
4528   };
4529
4530   // Defers a function, scheduling it to run after the current call stack has
4531   // cleared.
4532   _.defer = function(func) {
4533     return _.delay.apply(_, [func, 1].concat(slice.call(arguments, 1)));
4534   };
4535
4536   // Returns a function, that, when invoked, will only be triggered at most once
4537   // during a given window of time. Normally, the throttled function will run
4538   // as much as it can, without ever going more than once per `wait` duration;
4539   // but if you'd like to disable the execution on the leading edge, pass
4540   // `{leading: false}`. To disable execution on the trailing edge, ditto.
4541   _.throttle = function(func, wait, options) {
4542     var context, args, result;
4543     var timeout = null;
4544     var previous = 0;
4545     if (!options) options = {};
4546     var later = function() {
4547       previous = options.leading === false ? 0 : _.now();
4548       timeout = null;
4549       result = func.apply(context, args);
4550       if (!timeout) context = args = null;
4551     };
4552     return function() {
4553       var now = _.now();
4554       if (!previous && options.leading === false) previous = now;
4555       var remaining = wait - (now - previous);
4556       context = this;
4557       args = arguments;
4558       if (remaining <= 0 || remaining > wait) {
4559         clearTimeout(timeout);
4560         timeout = null;
4561         previous = now;
4562         result = func.apply(context, args);
4563         if (!timeout) context = args = null;
4564       } else if (!timeout && options.trailing !== false) {
4565         timeout = setTimeout(later, remaining);
4566       }
4567       return result;
4568     };
4569   };
4570
4571   // Returns a function, that, as long as it continues to be invoked, will not
4572   // be triggered. The function will be called after it stops being called for
4573   // N milliseconds. If `immediate` is passed, trigger the function on the
4574   // leading edge, instead of the trailing.
4575   _.debounce = function(func, wait, immediate) {
4576     var timeout, args, context, timestamp, result;
4577
4578     var later = function() {
4579       var last = _.now() - timestamp;
4580
4581       if (last < wait && last > 0) {
4582         timeout = setTimeout(later, wait - last);
4583       } else {
4584         timeout = null;
4585         if (!immediate) {
4586           result = func.apply(context, args);
4587           if (!timeout) context = args = null;
4588         }
4589       }
4590     };
4591
4592     return function() {
4593       context = this;
4594       args = arguments;
4595       timestamp = _.now();
4596       var callNow = immediate && !timeout;
4597       if (!timeout) timeout = setTimeout(later, wait);
4598       if (callNow) {
4599         result = func.apply(context, args);
4600         context = args = null;
4601       }
4602
4603       return result;
4604     };
4605   };
4606
4607   // Returns the first function passed as an argument to the second,
4608   // allowing you to adjust arguments, run code before and after, and
4609   // conditionally execute the original function.
4610   _.wrap = function(func, wrapper) {
4611     return _.partial(wrapper, func);
4612   };
4613
4614   // Returns a negated version of the passed-in predicate.
4615   _.negate = function(predicate) {
4616     return function() {
4617       return !predicate.apply(this, arguments);
4618     };
4619   };
4620
4621   // Returns a function that is the composition of a list of functions, each
4622   // consuming the return value of the function that follows.
4623   _.compose = function() {
4624     var args = arguments;
4625     var start = args.length - 1;
4626     return function() {
4627       var i = start;
4628       var result = args[start].apply(this, arguments);
4629       while (i--) result = args[i].call(this, result);
4630       return result;
4631     };
4632   };
4633
4634   // Returns a function that will only be executed after being called N times.
4635   _.after = function(times, func) {
4636     return function() {
4637       if (--times < 1) {
4638         return func.apply(this, arguments);
4639       }
4640     };
4641   };
4642
4643   // Returns a function that will only be executed before being called N times.
4644   _.before = function(times, func) {
4645     var memo;
4646     return function() {
4647       if (--times > 0) {
4648         memo = func.apply(this, arguments);
4649       } else {
4650         func = null;
4651       }
4652       return memo;
4653     };
4654   };
4655
4656   // Returns a function that will be executed at most one time, no matter how
4657   // often you call it. Useful for lazy initialization.
4658   _.once = _.partial(_.before, 2);
4659
4660   // Object Functions
4661   // ----------------
4662
4663   // Retrieve the names of an object's properties.
4664   // Delegates to **ECMAScript 5**'s native `Object.keys`
4665   _.keys = function(obj) {
4666     if (!_.isObject(obj)) return [];
4667     if (nativeKeys) return nativeKeys(obj);
4668     var keys = [];
4669     for (var key in obj) if (_.has(obj, key)) keys.push(key);
4670     return keys;
4671   };
4672
4673   // Retrieve the values of an object's properties.
4674   _.values = function(obj) {
4675     var keys = _.keys(obj);
4676     var length = keys.length;
4677     var values = Array(length);
4678     for (var i = 0; i < length; i++) {
4679       values[i] = obj[keys[i]];
4680     }
4681     return values;
4682   };
4683
4684   // Convert an object into a list of `[key, value]` pairs.
4685   _.pairs = function(obj) {
4686     var keys = _.keys(obj);
4687     var length = keys.length;
4688     var pairs = Array(length);
4689     for (var i = 0; i < length; i++) {
4690       pairs[i] = [keys[i], obj[keys[i]]];
4691     }
4692     return pairs;
4693   };
4694
4695   // Invert the keys and values of an object. The values must be serializable.
4696   _.invert = function(obj) {
4697     var result = {};
4698     var keys = _.keys(obj);
4699     for (var i = 0, length = keys.length; i < length; i++) {
4700       result[obj[keys[i]]] = keys[i];
4701     }
4702     return result;
4703   };
4704
4705   // Return a sorted list of the function names available on the object.
4706   // Aliased as `methods`
4707   _.functions = _.methods = function(obj) {
4708     var names = [];
4709     for (var key in obj) {
4710       if (_.isFunction(obj[key])) names.push(key);
4711     }
4712     return names.sort();
4713   };
4714
4715   // Extend a given object with all the properties in passed-in object(s).
4716   _.extend = function(obj) {
4717     if (!_.isObject(obj)) return obj;
4718     var source, prop;
4719     for (var i = 1, length = arguments.length; i < length; i++) {
4720       source = arguments[i];
4721       for (prop in source) {
4722         if (hasOwnProperty.call(source, prop)) {
4723             obj[prop] = source[prop];
4724         }
4725       }
4726     }
4727     return obj;
4728   };
4729
4730   // Return a copy of the object only containing the whitelisted properties.
4731   _.pick = function(obj, iteratee, context) {
4732     var result = {}, key;
4733     if (obj == null) return result;
4734     if (_.isFunction(iteratee)) {
4735       iteratee = createCallback(iteratee, context);
4736       for (key in obj) {
4737         var value = obj[key];
4738         if (iteratee(value, key, obj)) result[key] = value;
4739       }
4740     } else {
4741       var keys = concat.apply([], slice.call(arguments, 1));
4742       obj = new Object(obj);
4743       for (var i = 0, length = keys.length; i < length; i++) {
4744         key = keys[i];
4745         if (key in obj) result[key] = obj[key];
4746       }
4747     }
4748     return result;
4749   };
4750
4751    // Return a copy of the object without the blacklisted properties.
4752   _.omit = function(obj, iteratee, context) {
4753     if (_.isFunction(iteratee)) {
4754       iteratee = _.negate(iteratee);
4755     } else {
4756       var keys = _.map(concat.apply([], slice.call(arguments, 1)), String);
4757       iteratee = function(value, key) {
4758         return !_.contains(keys, key);
4759       };
4760     }
4761     return _.pick(obj, iteratee, context);
4762   };
4763
4764   // Fill in a given object with default properties.
4765   _.defaults = function(obj) {
4766     if (!_.isObject(obj)) return obj;
4767     for (var i = 1, length = arguments.length; i < length; i++) {
4768       var source = arguments[i];
4769       for (var prop in source) {
4770         if (obj[prop] === void 0) obj[prop] = source[prop];
4771       }
4772     }
4773     return obj;
4774   };
4775
4776   // Create a (shallow-cloned) duplicate of an object.
4777   _.clone = function(obj) {
4778     if (!_.isObject(obj)) return obj;
4779     return _.isArray(obj) ? obj.slice() : _.extend({}, obj);
4780   };
4781
4782   // Invokes interceptor with the obj, and then returns obj.
4783   // The primary purpose of this method is to "tap into" a method chain, in
4784   // order to perform operations on intermediate results within the chain.
4785   _.tap = function(obj, interceptor) {
4786     interceptor(obj);
4787     return obj;
4788   };
4789
4790   // Internal recursive comparison function for `isEqual`.
4791   var eq = function(a, b, aStack, bStack) {
4792     // Identical objects are equal. `0 === -0`, but they aren't identical.
4793     // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).
4794     if (a === b) return a !== 0 || 1 / a === 1 / b;
4795     // A strict comparison is necessary because `null == undefined`.
4796     if (a == null || b == null) return a === b;
4797     // Unwrap any wrapped objects.
4798     if (a instanceof _) a = a._wrapped;
4799     if (b instanceof _) b = b._wrapped;
4800     // Compare `[[Class]]` names.
4801     var className = toString.call(a);
4802     if (className !== toString.call(b)) return false;
4803     switch (className) {
4804       // Strings, numbers, regular expressions, dates, and booleans are compared by value.
4805       case '[object RegExp]':
4806       // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')
4807       case '[object String]':
4808         // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is
4809         // equivalent to `new String("5")`.
4810         return '' + a === '' + b;
4811       case '[object Number]':
4812         // `NaN`s are equivalent, but non-reflexive.
4813         // Object(NaN) is equivalent to NaN
4814         if (+a !== +a) return +b !== +b;
4815         // An `egal` comparison is performed for other numeric values.
4816         return +a === 0 ? 1 / +a === 1 / b : +a === +b;
4817       case '[object Date]':
4818       case '[object Boolean]':
4819         // Coerce dates and booleans to numeric primitive values. Dates are compared by their
4820         // millisecond representations. Note that invalid dates with millisecond representations
4821         // of `NaN` are not equivalent.
4822         return +a === +b;
4823     }
4824     if (typeof a != 'object' || typeof b != 'object') return false;
4825     // Assume equality for cyclic structures. The algorithm for detecting cyclic
4826     // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.
4827     var length = aStack.length;
4828     while (length--) {
4829       // Linear search. Performance is inversely proportional to the number of
4830       // unique nested structures.
4831       if (aStack[length] === a) return bStack[length] === b;
4832     }
4833     // Objects with different constructors are not equivalent, but `Object`s
4834     // from different frames are.
4835     var aCtor = a.constructor, bCtor = b.constructor;
4836     if (
4837       aCtor !== bCtor &&
4838       // Handle Object.create(x) cases
4839       'constructor' in a && 'constructor' in b &&
4840       !(_.isFunction(aCtor) && aCtor instanceof aCtor &&
4841         _.isFunction(bCtor) && bCtor instanceof bCtor)
4842     ) {
4843       return false;
4844     }
4845     // Add the first object to the stack of traversed objects.
4846     aStack.push(a);
4847     bStack.push(b);
4848     var size, result;
4849     // Recursively compare objects and arrays.
4850     if (className === '[object Array]') {
4851       // Compare array lengths to determine if a deep comparison is necessary.
4852       size = a.length;
4853       result = size === b.length;
4854       if (result) {
4855         // Deep compare the contents, ignoring non-numeric properties.
4856         while (size--) {
4857           if (!(result = eq(a[size], b[size], aStack, bStack))) break;
4858         }
4859       }
4860     } else {
4861       // Deep compare objects.
4862       var keys = _.keys(a), key;
4863       size = keys.length;
4864       // Ensure that both objects contain the same number of properties before comparing deep equality.
4865       result = _.keys(b).length === size;
4866       if (result) {
4867         while (size--) {
4868           // Deep compare each member
4869           key = keys[size];
4870           if (!(result = _.has(b, key) && eq(a[key], b[key], aStack, bStack))) break;
4871         }
4872       }
4873     }
4874     // Remove the first object from the stack of traversed objects.
4875     aStack.pop();
4876     bStack.pop();
4877     return result;
4878   };
4879
4880   // Perform a deep comparison to check if two objects are equal.
4881   _.isEqual = function(a, b) {
4882     return eq(a, b, [], []);
4883   };
4884
4885   // Is a given array, string, or object empty?
4886   // An "empty" object has no enumerable own-properties.
4887   _.isEmpty = function(obj) {
4888     if (obj == null) return true;
4889     if (_.isArray(obj) || _.isString(obj) || _.isArguments(obj)) return obj.length === 0;
4890     for (var key in obj) if (_.has(obj, key)) return false;
4891     return true;
4892   };
4893
4894   // Is a given value a DOM element?
4895   _.isElement = function(obj) {
4896     return !!(obj && obj.nodeType === 1);
4897   };
4898
4899   // Is a given value an array?
4900   // Delegates to ECMA5's native Array.isArray
4901   _.isArray = nativeIsArray || function(obj) {
4902     return toString.call(obj) === '[object Array]';
4903   };
4904
4905   // Is a given variable an object?
4906   _.isObject = function(obj) {
4907     var type = typeof obj;
4908     return type === 'function' || type === 'object' && !!obj;
4909   };
4910
4911   // Add some isType methods: isArguments, isFunction, isString, isNumber, isDate, isRegExp.
4912   _.each(['Arguments', 'Function', 'String', 'Number', 'Date', 'RegExp'], function(name) {
4913     _['is' + name] = function(obj) {
4914       return toString.call(obj) === '[object ' + name + ']';
4915     };
4916   });
4917
4918   // Define a fallback version of the method in browsers (ahem, IE), where
4919   // there isn't any inspectable "Arguments" type.
4920   if (!_.isArguments(arguments)) {
4921     _.isArguments = function(obj) {
4922       return _.has(obj, 'callee');
4923     };
4924   }
4925
4926   // Optimize `isFunction` if appropriate. Work around an IE 11 bug.
4927   if (typeof /./ !== 'function') {
4928     _.isFunction = function(obj) {
4929       return typeof obj == 'function' || false;
4930     };
4931   }
4932
4933   // Is a given object a finite number?
4934   _.isFinite = function(obj) {
4935     return isFinite(obj) && !isNaN(parseFloat(obj));
4936   };
4937
4938   // Is the given value `NaN`? (NaN is the only number which does not equal itself).
4939   _.isNaN = function(obj) {
4940     return _.isNumber(obj) && obj !== +obj;
4941   };
4942
4943   // Is a given value a boolean?
4944   _.isBoolean = function(obj) {
4945     return obj === true || obj === false || toString.call(obj) === '[object Boolean]';
4946   };
4947
4948   // Is a given value equal to null?
4949   _.isNull = function(obj) {
4950     return obj === null;
4951   };
4952
4953   // Is a given variable undefined?
4954   _.isUndefined = function(obj) {
4955     return obj === void 0;
4956   };
4957
4958   // Shortcut function for checking if an object has a given property directly
4959   // on itself (in other words, not on a prototype).
4960   _.has = function(obj, key) {
4961     return obj != null && hasOwnProperty.call(obj, key);
4962   };
4963
4964   // Utility Functions
4965   // -----------------
4966
4967   // Run Underscore.js in *noConflict* mode, returning the `_` variable to its
4968   // previous owner. Returns a reference to the Underscore object.
4969   _.noConflict = function() {
4970     root._ = previousUnderscore;
4971     return this;
4972   };
4973
4974   // Keep the identity function around for default iteratees.
4975   _.identity = function(value) {
4976     return value;
4977   };
4978
4979   _.constant = function(value) {
4980     return function() {
4981       return value;
4982     };
4983   };
4984
4985   _.noop = function(){};
4986
4987   _.property = function(key) {
4988     return function(obj) {
4989       return obj[key];
4990     };
4991   };
4992
4993   // Returns a predicate for checking whether an object has a given set of `key:value` pairs.
4994   _.matches = function(attrs) {
4995     var pairs = _.pairs(attrs), length = pairs.length;
4996     return function(obj) {
4997       if (obj == null) return !length;
4998       obj = new Object(obj);
4999       for (var i = 0; i < length; i++) {
5000         var pair = pairs[i], key = pair[0];
5001         if (pair[1] !== obj[key] || !(key in obj)) return false;
5002       }
5003       return true;
5004     };
5005   };
5006
5007   // Run a function **n** times.
5008   _.times = function(n, iteratee, context) {
5009     var accum = Array(Math.max(0, n));
5010     iteratee = createCallback(iteratee, context, 1);
5011     for (var i = 0; i < n; i++) accum[i] = iteratee(i);
5012     return accum;
5013   };
5014
5015   // Return a random integer between min and max (inclusive).
5016   _.random = function(min, max) {
5017     if (max == null) {
5018       max = min;
5019       min = 0;
5020     }
5021     return min + Math.floor(Math.random() * (max - min + 1));
5022   };
5023
5024   // A (possibly faster) way to get the current timestamp as an integer.
5025   _.now = Date.now || function() {
5026     return new Date().getTime();
5027   };
5028
5029    // List of HTML entities for escaping.
5030   var escapeMap = {
5031     '&': '&amp;',
5032     '<': '&lt;',
5033     '>': '&gt;',
5034     '"': '&quot;',
5035     "'": '&#x27;',
5036     '`': '&#x60;'
5037   };
5038   var unescapeMap = _.invert(escapeMap);
5039
5040   // Functions for escaping and unescaping strings to/from HTML interpolation.
5041   var createEscaper = function(map) {
5042     var escaper = function(match) {
5043       return map[match];
5044     };
5045     // Regexes for identifying a key that needs to be escaped
5046     var source = '(?:' + _.keys(map).join('|') + ')';
5047     var testRegexp = RegExp(source);
5048     var replaceRegexp = RegExp(source, 'g');
5049     return function(string) {
5050       string = string == null ? '' : '' + string;
5051       return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string;
5052     };
5053   };
5054   _.escape = createEscaper(escapeMap);
5055   _.unescape = createEscaper(unescapeMap);
5056
5057   // If the value of the named `property` is a function then invoke it with the
5058   // `object` as context; otherwise, return it.
5059   _.result = function(object, property) {
5060     if (object == null) return void 0;
5061     var value = object[property];
5062     return _.isFunction(value) ? object[property]() : value;
5063   };
5064
5065   // Generate a unique integer id (unique within the entire client session).
5066   // Useful for temporary DOM ids.
5067   var idCounter = 0;
5068   _.uniqueId = function(prefix) {
5069     var id = ++idCounter + '';
5070     return prefix ? prefix + id : id;
5071   };
5072
5073   // By default, Underscore uses ERB-style template delimiters, change the
5074   // following template settings to use alternative delimiters.
5075   _.templateSettings = {
5076     evaluate    : /<%([\s\S]+?)%>/g,
5077     interpolate : /<%=([\s\S]+?)%>/g,
5078     escape      : /<%-([\s\S]+?)%>/g
5079   };
5080
5081   // When customizing `templateSettings`, if you don't want to define an
5082   // interpolation, evaluation or escaping regex, we need one that is
5083   // guaranteed not to match.
5084   var noMatch = /(.)^/;
5085
5086   // Certain characters need to be escaped so that they can be put into a
5087   // string literal.
5088   var escapes = {
5089     "'":      "'",
5090     '\\':     '\\',
5091     '\r':     'r',
5092     '\n':     'n',
5093     '\u2028': 'u2028',
5094     '\u2029': 'u2029'
5095   };
5096
5097   var escaper = /\\|'|\r|\n|\u2028|\u2029/g;
5098
5099   var escapeChar = function(match) {
5100     return '\\' + escapes[match];
5101   };
5102
5103   // JavaScript micro-templating, similar to John Resig's implementation.
5104   // Underscore templating handles arbitrary delimiters, preserves whitespace,
5105   // and correctly escapes quotes within interpolated code.
5106   // NB: `oldSettings` only exists for backwards compatibility.
5107   _.template = function(text, settings, oldSettings) {
5108     if (!settings && oldSettings) settings = oldSettings;
5109     settings = _.defaults({}, settings, _.templateSettings);
5110
5111     // Combine delimiters into one regular expression via alternation.
5112     var matcher = RegExp([
5113       (settings.escape || noMatch).source,
5114       (settings.interpolate || noMatch).source,
5115       (settings.evaluate || noMatch).source
5116     ].join('|') + '|$', 'g');
5117
5118     // Compile the template source, escaping string literals appropriately.
5119     var index = 0;
5120     var source = "__p+='";
5121     text.replace(matcher, function(match, escape, interpolate, evaluate, offset) {
5122       source += text.slice(index, offset).replace(escaper, escapeChar);
5123       index = offset + match.length;
5124
5125       if (escape) {
5126         source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'";
5127       } else if (interpolate) {
5128         source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'";
5129       } else if (evaluate) {
5130         source += "';\n" + evaluate + "\n__p+='";
5131       }
5132
5133       // Adobe VMs need the match returned to produce the correct offest.
5134       return match;
5135     });
5136     source += "';\n";
5137
5138     // If a variable is not specified, place data values in local scope.
5139     if (!settings.variable) source = 'with(obj||{}){\n' + source + '}\n';
5140
5141     source = "var __t,__p='',__j=Array.prototype.join," +
5142       "print=function(){__p+=__j.call(arguments,'');};\n" +
5143       source + 'return __p;\n';
5144
5145     try {
5146       var render = new Function(settings.variable || 'obj', '_', source);
5147     } catch (e) {
5148       e.source = source;
5149       throw e;
5150     }
5151
5152     var template = function(data) {
5153       return render.call(this, data, _);
5154     };
5155
5156     // Provide the compiled source as a convenience for precompilation.
5157     var argument = settings.variable || 'obj';
5158     template.source = 'function(' + argument + '){\n' + source + '}';
5159
5160     return template;
5161   };
5162
5163   // Add a "chain" function. Start chaining a wrapped Underscore object.
5164   _.chain = function(obj) {
5165     var instance = _(obj);
5166     instance._chain = true;
5167     return instance;
5168   };
5169
5170   // OOP
5171   // ---------------
5172   // If Underscore is called as a function, it returns a wrapped object that
5173   // can be used OO-style. This wrapper holds altered versions of all the
5174   // underscore functions. Wrapped objects may be chained.
5175
5176   // Helper function to continue chaining intermediate results.
5177   var result = function(obj) {
5178     return this._chain ? _(obj).chain() : obj;
5179   };
5180
5181   // Add your own custom functions to the Underscore object.
5182   _.mixin = function(obj) {
5183     _.each(_.functions(obj), function(name) {
5184       var func = _[name] = obj[name];
5185       _.prototype[name] = function() {
5186         var args = [this._wrapped];
5187         push.apply(args, arguments);
5188         return result.call(this, func.apply(_, args));
5189       };
5190     });
5191   };
5192
5193   // Add all of the Underscore functions to the wrapper object.
5194   _.mixin(_);
5195
5196   // Add all mutator Array functions to the wrapper.
5197   _.each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) {
5198     var method = ArrayProto[name];
5199     _.prototype[name] = function() {
5200       var obj = this._wrapped;
5201       method.apply(obj, arguments);
5202       if ((name === 'shift' || name === 'splice') && obj.length === 0) delete obj[0];
5203       return result.call(this, obj);
5204     };
5205   });
5206
5207   // Add all accessor Array functions to the wrapper.
5208   _.each(['concat', 'join', 'slice'], function(name) {
5209     var method = ArrayProto[name];
5210     _.prototype[name] = function() {
5211       return result.call(this, method.apply(this._wrapped, arguments));
5212     };
5213   });
5214
5215   // Extracts the result from a wrapped and chained object.
5216   _.prototype.value = function() {
5217     return this._wrapped;
5218   };
5219
5220   // AMD registration happens at the end for compatibility with AMD loaders
5221   // that may not enforce next-turn semantics on modules. Even though general
5222   // practice for AMD registration is to be anonymous, underscore registers
5223   // as a named module because, like jQuery, it is a base library that is
5224   // popular enough to be bundled in a third party lib, but not be part of
5225   // an AMD load request. Those cases could generate an error when an
5226   // anonymous define() is called outside of a loader request.
5227   if (typeof define === 'function' && define.amd) {
5228     define('underscore', [], function() {
5229       return _;
5230     });
5231   }
5232 }.call(this));
5233
5234 },{}],60:[function(require,module,exports){
5235 var _;
5236
5237 _ = require("underscore");
5238
5239 module.exports = function(seqs) {
5240   var occs;
5241   seqs = seqs.map(function(el) {
5242     return el.get("seq");
5243   });
5244   occs = new Array(seqs.length);
5245   _.each(seqs, function(el, i) {
5246     return _.each(el, function(char, pos) {
5247       if (occs[pos] == null) {
5248         occs[pos] = {};
5249       }
5250       if (occs[pos][char] == null) {
5251         occs[pos][char] = 0;
5252       }
5253       return occs[pos][char]++;
5254     });
5255   });
5256   return _.reduce(occs, function(memo, occ) {
5257     var keys;
5258     keys = _.keys(occ);
5259     return memo += _.max(keys, function(key) {
5260       return occ[key];
5261     });
5262   }, "");
5263 };
5264
5265
5266
5267 },{"underscore":59}],61:[function(require,module,exports){
5268 var identitiyCalc;
5269
5270 module.exports = identitiyCalc = function(seqs, consensus) {
5271   if (consensus === void 0) {
5272     console.warn("bug on consenus calc");
5273     return;
5274   }
5275   return seqs.each(function(seqObj) {
5276     var i, matches, seq, total, _i, _ref;
5277     seq = seqObj.get("seq");
5278     matches = 0;
5279     total = 0;
5280     for (i = _i = 0, _ref = seq.length - 1; 0 <= _ref ? _i <= _ref : _i >= _ref; i = 0 <= _ref ? ++_i : --_i) {
5281       if (seq[i] !== "-" && consensus[i] !== "-") {
5282         total++;
5283         if (seq[i] === consensus[i]) {
5284           matches++;
5285         }
5286       }
5287     }
5288     return seqObj.set("identity", matches / total);
5289   });
5290 };
5291
5292
5293
5294 },{}],62:[function(require,module,exports){
5295 module.exports.consensus = require("./ConsensusCalc");
5296
5297
5298
5299 },{"./ConsensusCalc":60}],63:[function(require,module,exports){
5300 var Colorator, Model;
5301
5302 Model = require("backbone-thin").Model;
5303
5304 module.exports = Colorator = Model.extend({
5305   defaults: {
5306     scheme: "taylor",
5307     colorBackground: true,
5308     showLowerCase: true,
5309     opacity: 0.6
5310   }
5311 });
5312
5313
5314
5315 },{"backbone-thin":5}],64:[function(require,module,exports){
5316 var Columns, Model, consenus, _;
5317
5318 Model = require("backbone-thin").Model;
5319
5320 consenus = require("../algo/ConsensusCalc");
5321
5322 _ = require("underscore");
5323
5324 module.exports = Columns = Model.extend({
5325   defaults: {
5326     scaling: "lin"
5327   },
5328   initialize: function() {
5329     if (this.get("hidden") == null) {
5330       return this.set("hidden", []);
5331     }
5332   },
5333   calcHiddenColumns: function(n) {
5334     var hidden, i, newX, _i, _len;
5335     hidden = this.get("hidden");
5336     newX = n;
5337     for (_i = 0, _len = hidden.length; _i < _len; _i++) {
5338       i = hidden[_i];
5339       if (i <= newX) {
5340         newX++;
5341       }
5342     }
5343     return newX - n;
5344   },
5345   _calcConservationPre: function(seqs) {
5346     var cons, matches, nMax, total;
5347     console.log(seqs.length);
5348     if (seqs.length > 1000) {
5349       return;
5350     }
5351     cons = consenus(seqs);
5352     seqs = seqs.map(function(el) {
5353       return el.get("seq");
5354     });
5355     nMax = (_.max(seqs, function(el) {
5356       return el.length;
5357     })).length;
5358     total = new Array(nMax);
5359     matches = new Array(nMax);
5360     _.each(seqs, function(el, i) {
5361       return _.each(el, function(char, pos) {
5362         total[pos] = total[pos] + 1 || 1;
5363         if (cons[pos] === char) {
5364           return matches[pos] = matches[pos] + 1 || 1;
5365         }
5366       });
5367     });
5368     return [matches, total, nMax];
5369   },
5370   calcConservation: function(seqs) {
5371     if (this.attributes.scaling === "exp") {
5372       return this.calcConservationExp(seqs);
5373     } else if (this.attributes.scaling === "log") {
5374       return this.calcConservationLog(seqs);
5375     } else if (this.attributes.scaling === "lin") {
5376       return this.calcConservationLin(seqs);
5377     }
5378   },
5379   calcConservationLin: function(seqs) {
5380     var i, matches, nMax, total, _i, _ref, _ref1;
5381     _ref = this._calcConservationPre(seqs), matches = _ref[0], total = _ref[1], nMax = _ref[2];
5382     for (i = _i = 0, _ref1 = nMax - 1; 0 <= _ref1 ? _i <= _ref1 : _i >= _ref1; i = 0 <= _ref1 ? ++_i : --_i) {
5383       matches[i] = matches[i] / total[i];
5384     }
5385     this.set("conserv", matches);
5386     return matches;
5387   },
5388   calcConservationLog: function(seqs) {
5389     var i, matches, nMax, total, _i, _ref, _ref1;
5390     _ref = this._calcConservationPre(seqs), matches = _ref[0], total = _ref[1], nMax = _ref[2];
5391     for (i = _i = 0, _ref1 = nMax - 1; 0 <= _ref1 ? _i <= _ref1 : _i >= _ref1; i = 0 <= _ref1 ? ++_i : --_i) {
5392       matches[i] = Math.log(matches[i] + 1) / Math.log(total[i] + 1);
5393     }
5394     this.set("conserv", matches);
5395     return matches;
5396   },
5397   calcConservationExp: function(seqs) {
5398     var i, matches, nMax, total, _i, _ref, _ref1;
5399     _ref = this._calcConservationPre(seqs), matches = _ref[0], total = _ref[1], nMax = _ref[2];
5400     for (i = _i = 0, _ref1 = nMax - 1; 0 <= _ref1 ? _i <= _ref1 : _i >= _ref1; i = 0 <= _ref1 ? ++_i : --_i) {
5401       matches[i] = Math.exp(matches[i] + 1) / Math.exp(total[i] + 1);
5402     }
5403     this.set("conserv", matches);
5404     return matches;
5405   }
5406 });
5407
5408
5409
5410 },{"../algo/ConsensusCalc":60,"backbone-thin":5,"underscore":59}],65:[function(require,module,exports){
5411 var Config, Model;
5412
5413 Model = require("backbone-thin").Model;
5414
5415 module.exports = Config = Model.extend({
5416   defaults: {
5417     registerMouseHover: false,
5418     registerMouseClicks: true,
5419     importProxy: "https://cors-anywhere.herokuapp.com/",
5420     eventBus: true
5421   }
5422 });
5423
5424
5425
5426 },{"backbone-thin":5}],66:[function(require,module,exports){
5427 var Consenus, Model, consenusCalc;
5428
5429 Model = require("backbone-thin").Model;
5430
5431 consenusCalc = require("../algo/ConsensusCalc");
5432
5433 module.exports = Consenus = Model.extend({
5434   defaults: {
5435     consenus: ""
5436   },
5437   getConsensus: function(seqs) {
5438     var cons;
5439     if (seqs.length > 1000) {
5440       return;
5441     }
5442     cons = consenusCalc(seqs);
5443     this.set("consenus", cons);
5444     return cons;
5445   }
5446 });
5447
5448
5449
5450 },{"../algo/ConsensusCalc":60,"backbone-thin":5}],67:[function(require,module,exports){
5451 var ColumnSelection, Model, PosSelection, RowSelection, Selection, _;
5452
5453 _ = require("underscore");
5454
5455 Model = require("backbone-thin").Model;
5456
5457 Selection = Model.extend({
5458   defaults: {
5459     type: "super"
5460   }
5461 });
5462
5463 RowSelection = Selection.extend({
5464   defaults: _.extend({}, Selection.prototype.defaults, {
5465     type: "row",
5466     seqId: ""
5467   }),
5468   inRow: function(seqId) {
5469     return seqId === this.get("seqId");
5470   },
5471   inColumn: function(rowPos) {
5472     return true;
5473   },
5474   getLength: function() {
5475     return 1;
5476   }
5477 });
5478
5479 ColumnSelection = Selection.extend({
5480   defaults: _.extend({}, Selection.prototype.defaults, {
5481     type: "column",
5482     xStart: -1,
5483     xEnd: -1
5484   }),
5485   inRow: function() {
5486     return true;
5487   },
5488   inColumn: function(rowPos) {
5489     return xStart <= rowPos && rowPos <= xEnd;
5490   },
5491   getLength: function() {
5492     return xEnd - xStart;
5493   }
5494 });
5495
5496 PosSelection = RowSelection.extend(_.extend({}, _.pick(ColumnSelection, "inColumn"), _.pick(ColumnSelection, "getLength"), {
5497   defaults: _.extend({}, ColumnSelection.prototype.defaults, RowSelection.prototype.defaults, {
5498     type: "pos"
5499   })
5500 }));
5501
5502 module.exports.sel = Selection;
5503
5504 module.exports.possel = PosSelection;
5505
5506 module.exports.rowsel = RowSelection;
5507
5508 module.exports.columnsel = ColumnSelection;
5509
5510
5511
5512 },{"backbone-thin":5,"underscore":59}],68:[function(require,module,exports){
5513 var Collection, SelectionManager, sel, _;
5514
5515 sel = require("./Selection");
5516
5517 _ = require("underscore");
5518
5519 Collection = require("backbone-thin").Collection;
5520
5521 module.exports = SelectionManager = Collection.extend({
5522   model: sel.sel,
5523   initialize: function(data, opts) {
5524     this.g = opts.g;
5525     this.listenTo(this.g, "residue:click", function(e) {
5526       return this._handleE(e.evt, new sel.possel({
5527         xStart: e.rowPos,
5528         xEnd: e.rowPos,
5529         seqId: e.seqId
5530       }));
5531     });
5532     this.listenTo(this.g, "row:click", function(e) {
5533       return this._handleE(e.evt, new sel.rowsel({
5534         xStart: e.rowPos,
5535         xEnd: e.rowPos,
5536         seqId: e.seqId
5537       }));
5538     });
5539     return this.listenTo(this.g, "column:click", function(e) {
5540       return this._handleE(e.evt, new sel.columnsel({
5541         xStart: e.rowPos,
5542         xEnd: e.rowPos + e.stepSize - 1
5543       }));
5544     });
5545   },
5546   getSelForRow: function(seqId) {
5547     return this.filter(function(el) {
5548       return el.inRow(seqId);
5549     });
5550   },
5551   getSelForColumns: function(rowPos) {
5552     return this.filter(function(el) {
5553       return el.inColumn(rowPos);
5554     });
5555   },
5556   getBlocksForRow: function(seqId, maxLen) {
5557     var blocks, seli, selis, _i, _j, _k, _len, _ref, _ref1, _results, _results1;
5558     selis = this.filter(function(el) {
5559       return el.inRow(seqId);
5560     });
5561     blocks = [];
5562     for (_i = 0, _len = selis.length; _i < _len; _i++) {
5563       seli = selis[_i];
5564       if (seli.attributes.type === "row") {
5565         blocks = (function() {
5566           _results = [];
5567           for (var _j = 0; 0 <= maxLen ? _j <= maxLen : _j >= maxLen; 0 <= maxLen ? _j++ : _j--){ _results.push(_j); }
5568           return _results;
5569         }).apply(this);
5570         break;
5571       } else {
5572         blocks = blocks.concat((function() {
5573           _results1 = [];
5574           for (var _k = _ref = seli.attributes.xStart, _ref1 = seli.attributes.xEnd; _ref <= _ref1 ? _k <= _ref1 : _k >= _ref1; _ref <= _ref1 ? _k++ : _k--){ _results1.push(_k); }
5575           return _results1;
5576         }).apply(this));
5577       }
5578     }
5579     return blocks;
5580   },
5581   getAllColumnBlocks: function(conf) {
5582     var blocks, filtered, maxLen, seli, withPos, _i, _j, _len, _ref, _ref1, _results;
5583     maxLen = conf.maxLen;
5584     withPos = conf.withPos;
5585     blocks = [];
5586     if (conf.withPos) {
5587       filtered = this.filter(function(el) {
5588         return el.get('xStart') != null;
5589       });
5590     } else {
5591       filtered = this.filter(function(el) {
5592         return el.get('type') === "column";
5593       });
5594     }
5595     for (_i = 0, _len = filtered.length; _i < _len; _i++) {
5596       seli = filtered[_i];
5597       blocks = blocks.concat((function() {
5598         _results = [];
5599         for (var _j = _ref = seli.attributes.xStart, _ref1 = seli.attributes.xEnd; _ref <= _ref1 ? _j <= _ref1 : _j >= _ref1; _ref <= _ref1 ? _j++ : _j--){ _results.push(_j); }
5600         return _results;
5601       }).apply(this));
5602     }
5603     blocks = _.uniq(blocks);
5604     return blocks;
5605   },
5606   invertRow: function(rows) {
5607     var el, inverted, s, selRows, _i, _len;
5608     selRows = this.where({
5609       type: "row"
5610     });
5611     selRows = _.map(selRows, function(el) {
5612       return el.attributes.seqId;
5613     });
5614     inverted = _.filter(rows, function(el) {
5615       if (selRows.indexOf(el) >= 0) {
5616         return false;
5617       }
5618       return true;
5619     });
5620     s = [];
5621     for (_i = 0, _len = inverted.length; _i < _len; _i++) {
5622       el = inverted[_i];
5623       s.push(new sel.rowsel({
5624         seqId: el
5625       }));
5626     }
5627     console.log(s);
5628     return this.reset(s);
5629   },
5630   invertCol: function(columns) {
5631     var el, inverted, s, selColumns, xEnd, xStart, _i, _len;
5632     selColumns = this.where({
5633       type: "column"
5634     });
5635     selColumns = _.reduce(selColumns, function(memo, el) {
5636       var _i, _ref, _ref1, _results;
5637       return memo.concat((function() {
5638         _results = [];
5639         for (var _i = _ref = el.attributes.xStart, _ref1 = el.attributes.xEnd; _ref <= _ref1 ? _i <= _ref1 : _i >= _ref1; _ref <= _ref1 ? _i++ : _i--){ _results.push(_i); }
5640         return _results;
5641       }).apply(this));
5642     }, []);
5643     inverted = _.filter(columns, function(el) {
5644       if (selColumns.indexOf(el) >= 0) {
5645         return false;
5646       }
5647       return true;
5648     });
5649     if (inverted.length === 0) {
5650       return;
5651     }
5652     s = [];
5653     console.log(inverted);
5654     xStart = xEnd = inverted[0];
5655     for (_i = 0, _len = inverted.length; _i < _len; _i++) {
5656       el = inverted[_i];
5657       if (xEnd + 1 === el) {
5658         xEnd = el;
5659       } else {
5660         s.push(new sel.columnsel({
5661           xStart: xStart,
5662           xEnd: xEnd
5663         }));
5664         xStart = xEnd = el;
5665       }
5666     }
5667     if (xStart !== xEnd) {
5668       s.push(new sel.columnsel({
5669         xStart: xStart,
5670         xEnd: inverted[inverted.length - 1]
5671       }));
5672     }
5673     return this.reset(s);
5674   },
5675   _handleE: function(e, selection) {
5676     if (e.ctrlKey || e.metaKey) {
5677       return this.add(selection);
5678     } else {
5679       return this.reset([selection]);
5680     }
5681   },
5682   _reduceColumns: function() {
5683     return this.each(function(el, index, arr) {
5684       var cols, left, lefts, right, rights, xEnd, xStart, _i, _j, _len, _len1;
5685       cols = _.filter(arr, function(el) {
5686         return el.get('type') === 'column';
5687       });
5688       xStart = el.get('xStart');
5689       xEnd = el.get('xEnd');
5690       lefts = _.filter(cols, function(el) {
5691         return el.get('xEnd') === (xStart - 1);
5692       });
5693       for (_i = 0, _len = lefts.length; _i < _len; _i++) {
5694         left = lefts[_i];
5695         left.set('xEnd', xStart);
5696       }
5697       rights = _.filter(cols, function(el) {
5698         return el.get('xStart') === (xEnd + 1);
5699       });
5700       for (_j = 0, _len1 = rights.length; _j < _len1; _j++) {
5701         right = rights[_j];
5702         right.set('xStart', xEnd);
5703       }
5704       if (lefts.length > 0 || rights.length > 0) {
5705         console.log("removed el");
5706         return el.collection.remove(el);
5707       }
5708     });
5709   }
5710 });
5711
5712
5713
5714 },{"./Selection":67,"backbone-thin":5,"underscore":59}],69:[function(require,module,exports){
5715 var Model, Visibility;
5716
5717 Model = require("backbone-thin").Model;
5718
5719 module.exports = Visibility = Model.extend({
5720   defaults: {
5721     overviewBox: 30,
5722     headerBox: -1,
5723     alignmentBody: 0
5724   }
5725 });
5726
5727
5728
5729 },{"backbone-thin":5}],70:[function(require,module,exports){
5730 var Model, Visibility;
5731
5732 Model = require("backbone-thin").Model;
5733
5734 module.exports = Visibility = Model.extend({
5735   defaults: {
5736     sequences: true,
5737     markers: true,
5738     metacell: false,
5739     conserv: true,
5740     overviewbox: false,
5741     labels: true,
5742     labelName: true,
5743     labelId: true,
5744     labelPartition: false,
5745     labelCheckbox: false
5746   }
5747 });
5748
5749
5750
5751 },{"backbone-thin":5}],71:[function(require,module,exports){
5752 var Model, Zoomer;
5753
5754 Model = require("backbone-thin").Model;
5755
5756 module.exports = Zoomer = Model.extend({
5757   constructor: function(attributes, options) {
5758     Model.apply(this, arguments);
5759     this.g = options.g;
5760     return this;
5761   },
5762   defaults: {
5763     alignmentWidth: "auto",
5764     alignmentHeight: 195,
5765     columnWidth: 15,
5766     rowHeight: 15,
5767     labelWidth: 100,
5768     metaWidth: 100,
5769     textVisible: true,
5770     labelIdLength: 30,
5771     labelFontsize: "13px",
5772     labelLineHeight: "13px",
5773     markerFontsize: "10px",
5774     stepSize: 1,
5775     markerStepSize: 2,
5776     residueFont: "13px mono",
5777     canvasEventScale: 1,
5778     boxRectHeight: 5,
5779     boxRectWidth: 5,
5780     menuFontsize: "20px",
5781     menuItemFontsize: "18px",
5782     menuItemLineHeight: "18px",
5783     menuMarginLeft: "5px",
5784     menuPadding: "3px 5px 3px 5px",
5785     _alignmentScrollLeft: 0,
5786     _alignmentScrollTop: 0
5787   },
5788   getAlignmentWidth: function(n) {
5789     if (this.get("alignmentWidth") === "auto") {
5790       return this.get("columnWidth") * n;
5791     } else {
5792       return this.get("alignmentWidth");
5793     }
5794   },
5795   setLeftOffset: function(n) {
5796     var val;
5797     val = (n - 1) * this.get('columnWidth');
5798     val = Math.max(0, val);
5799     return this.set("_alignmentScrollLeft", val);
5800   },
5801   setTopOffset: function(n) {
5802     var val;
5803     val = (n - 1) * this.get('rowHeight');
5804     val = Math.max(0, val);
5805     return this.set("_alignmentScrollTop", val);
5806   },
5807   getLabelWidth: function() {
5808     var paddingLeft;
5809     paddingLeft = 0;
5810     if (this.g.vis.get("labels")) {
5811       paddingLeft += this.get("labelWidth");
5812     }
5813     if (this.g.vis.get("metacell")) {
5814       paddingLeft += this.get("metaWidth");
5815     }
5816     return paddingLeft;
5817   },
5818   _adjustWidth: function(el, model) {
5819     var calcWidth, maxWidth, parentWidth, val;
5820     if ((el.parentNode != null) && el.parentNode.offsetWidth !== 0) {
5821       parentWidth = el.parentNode.offsetWidth;
5822     } else {
5823       parentWidth = document.body.clientWidth - 35;
5824     }
5825     maxWidth = parentWidth - this.getLabelWidth();
5826     calcWidth = this.getAlignmentWidth(model.getMaxLength() - this.g.columns.get('hidden').length);
5827     val = Math.min(maxWidth, calcWidth);
5828     val = Math.floor(val / this.get("columnWidth")) * this.get("columnWidth");
5829     return this.set("alignmentWidth", val);
5830   },
5831   _checkScrolling: function(scrollObj, opts) {
5832     var xScroll, yScroll;
5833     xScroll = scrollObj[0];
5834     yScroll = scrollObj[1];
5835     this.set("_alignmentScrollLeft", xScroll, opts);
5836     return this.set("_alignmentScrollTop", yScroll, opts);
5837   }
5838 });
5839
5840
5841
5842 },{"backbone-thin":5}],72:[function(require,module,exports){
5843 module.exports.msa = require("./msa");
5844
5845 module.exports.model = require("./model");
5846
5847 module.exports.algo = require("./algo");
5848
5849 module.exports.menu = require("./menu");
5850
5851 module.exports.utils = require("./utils");
5852
5853 module.exports.selection = require("./g/selection/Selection");
5854
5855 module.exports.view = require("backbone-viewj");
5856
5857 module.exports.boneView = require("backbone-childs");
5858
5859 module.exports._ = require('underscore');
5860
5861 module.exports.$ = require('jbone');
5862
5863 module.exports.version = "0.1.0";
5864
5865
5866
5867 },{"./algo":62,"./g/selection/Selection":67,"./menu":74,"./model":89,"./msa":90,"./utils":92,"backbone-childs":3,"backbone-viewj":10,"jbone":50,"underscore":59}],73:[function(require,module,exports){
5868 var ColorMenu, ExportMenu, ExtraMenu, FilterMenu, HelpMenu, ImportMenu, MenuView, OrderingMenu, SelectionMenu, VisMenu, boneView;
5869
5870 boneView = require("backbone-childs");
5871
5872 ImportMenu = require("./views/ImportMenu");
5873
5874 FilterMenu = require("./views/FilterMenu");
5875
5876 SelectionMenu = require("./views/SelectionMenu");
5877
5878 VisMenu = require("./views/VisMenu");
5879
5880 ColorMenu = require("./views/ColorMenu");
5881
5882 OrderingMenu = require("./views/OrderingMenu");
5883
5884 ExtraMenu = require("./views/ExtraMenu");
5885
5886 ExportMenu = require("./views/ExportMenu");
5887
5888 HelpMenu = require("./views/HelpMenu");
5889
5890 module.exports = MenuView = boneView.extend({
5891   initialize: function(data) {
5892     this.msa = data.msa;
5893     this.addView("10_import", new ImportMenu({
5894       model: this.msa.seqs,
5895       g: this.msa.g
5896     }));
5897     this.addView("20_filter", new FilterMenu({
5898       model: this.msa.seqs,
5899       g: this.msa.g
5900     }));
5901     this.addView("30_selection", new SelectionMenu({
5902       model: this.msa.seqs,
5903       g: this.msa.g
5904     }));
5905     this.addView("40_vis", new VisMenu({
5906       model: this.msa.seqs,
5907       g: this.msa.g
5908     }));
5909     this.addView("50_color", new ColorMenu({
5910       model: this.msa.seqs,
5911       g: this.msa.g
5912     }));
5913     this.addView("60_ordering", new OrderingMenu({
5914       model: this.msa.seqs,
5915       g: this.msa.g
5916     }));
5917     this.addView("70_extra", new ExtraMenu({
5918       model: this.msa.seqs,
5919       g: this.msa.g
5920     }));
5921     this.addView("80_export", new ExportMenu({
5922       model: this.msa.seqs,
5923       g: this.msa.g,
5924       msa: this.msa
5925     }));
5926     return this.addView("90_help", new HelpMenu({
5927       g: this.msa.g
5928     }));
5929   },
5930   render: function() {
5931     this.renderSubviews();
5932     this.el.setAttribute("class", "biojs_msa_menubar");
5933     return this.el.appendChild(document.createElement("p"));
5934   }
5935 });
5936
5937
5938
5939 },{"./views/ColorMenu":76,"./views/ExportMenu":77,"./views/ExtraMenu":78,"./views/FilterMenu":79,"./views/HelpMenu":80,"./views/ImportMenu":81,"./views/OrderingMenu":82,"./views/SelectionMenu":83,"./views/VisMenu":84,"backbone-childs":3}],74:[function(require,module,exports){
5940 module.exports.defaultmenu = require("./defaultmenu");
5941
5942 module.exports.menubuilder = require("./menubuilder");
5943
5944
5945
5946 },{"./defaultmenu":73,"./menubuilder":75}],75:[function(require,module,exports){
5947 var BMath, MenuBuilder, jbone, view;
5948
5949 BMath = require("../utils/bmath");
5950
5951 jbone = require("jbone");
5952
5953 view = require("backbone-viewj");
5954
5955 module.exports = MenuBuilder = view.extend({
5956   setName: function(name) {
5957     this.name = name;
5958     return this._nodes = [];
5959   },
5960   addNode: function(label, callback, data) {
5961     var style;
5962     if (data != null) {
5963       style = data.style;
5964     }
5965     if (this._nodes == null) {
5966       this._nodes = [];
5967     }
5968     return this._nodes.push({
5969       label: label,
5970       callback: callback,
5971       style: style
5972     });
5973   },
5974   buildDOM: function() {
5975     return this._buildM({
5976       nodes: this._nodes,
5977       name: this.name
5978     });
5979   },
5980   _buildM: function(data) {
5981     var displayedButton, frag, key, li, menu, menuUl, name, node, nodes, style, _i, _len, _ref;
5982     nodes = data.nodes;
5983     name = data.name;
5984     menu = document.createElement("div");
5985     menu.className = "dropdown dropdown-tip";
5986     menu.id = "adrop-" + BMath.uniqueId();
5987     menu.style.display = "none";
5988     menuUl = document.createElement("ul");
5989     menuUl.className = "dropdown-menu";
5990     for (_i = 0, _len = nodes.length; _i < _len; _i++) {
5991       node = nodes[_i];
5992       li = document.createElement("li");
5993       li.textContent = node.label;
5994       _ref = node.style;
5995       for (key in _ref) {
5996         style = _ref[key];
5997         li.style[key] = style;
5998       }
5999       li.addEventListener("click", node.callback);
6000       if (this.g != null) {
6001         li.style.lineHeight = this.g.zoomer.get("menuItemLineHeight");
6002       }
6003       menuUl.appendChild(li);
6004     }
6005     menu.appendChild(menuUl);
6006     frag = document.createDocumentFragment();
6007     displayedButton = document.createElement("a");
6008     displayedButton.textContent = name;
6009     displayedButton.className = "biojs_msa_menubar_alink";
6010     if (this.g != null) {
6011       menuUl.style.fontSize = this.g.zoomer.get("menuItemFontsize");
6012       displayedButton.style.fontSize = this.g.zoomer.get("menuFontsize");
6013       displayedButton.style.marginLeft = this.g.zoomer.get("menuMarginLeft");
6014       displayedButton.style.padding = this.g.zoomer.get("menuPadding");
6015     }
6016     jbone(displayedButton).on("click", (function(_this) {
6017       return function(e) {
6018         _this._showMenu(e, menu, displayedButton);
6019         return window.setTimeout(function() {
6020           return jbone(document.body).one("click", function(e) {
6021             console.log("next click");
6022             return menu.style.display = "none";
6023           });
6024         }, 5);
6025       };
6026     })(this));
6027     frag.appendChild(menu);
6028     frag.appendChild(displayedButton);
6029     return frag;
6030   },
6031   _showMenu: function(e, menu, target) {
6032     var rect;
6033     menu.style.display = "block";
6034     menu.style.position = "absolute";
6035     rect = target.getBoundingClientRect();
6036     menu.style.left = rect.left + "px";
6037     return menu.style.top = (rect.top + target.offsetHeight) + "px";
6038   }
6039 });
6040
6041
6042
6043 },{"../utils/bmath":91,"backbone-viewj":10,"jbone":50}],76:[function(require,module,exports){
6044 var ColorMenu, MenuBuilder, dom, _;
6045
6046 MenuBuilder = require("../menubuilder");
6047
6048 _ = require("underscore");
6049
6050 dom = require("dom-helper");
6051
6052 module.exports = ColorMenu = MenuBuilder.extend({
6053   initialize: function(data) {
6054     this.g = data.g;
6055     this.el.style.display = "inline-block";
6056     return this.listenTo(this.g.colorscheme, "change", function() {
6057       return this.render();
6058     });
6059   },
6060   render: function() {
6061     var colorschemes, menuColor, scheme, text, _i, _len;
6062     menuColor = this.setName("Color scheme");
6063     colorschemes = this.getColorschemes();
6064     for (_i = 0, _len = colorschemes.length; _i < _len; _i++) {
6065       scheme = colorschemes[_i];
6066       this.addScheme(menuColor, scheme);
6067     }
6068     text = "Background";
6069     if (this.g.colorscheme.get("colorBackground")) {
6070       text = "Hide " + text;
6071     } else {
6072       text = "Show " + text;
6073     }
6074     this.addNode(text, (function(_this) {
6075       return function() {
6076         return _this.g.colorscheme.set("colorBackground", !_this.g.colorscheme.get("colorBackground"));
6077       };
6078     })(this));
6079     this.grey(menuColor);
6080     dom.removeAllChilds(this.el);
6081     this.el.appendChild(this.buildDOM());
6082     return this;
6083   },
6084   addScheme: function(menuColor, scheme) {
6085     var current, style;
6086     style = {};
6087     current = this.g.colorscheme.get("scheme");
6088     if (current === scheme.id) {
6089       style.backgroundColor = "#77ED80";
6090     }
6091     return this.addNode(scheme.name, (function(_this) {
6092       return function() {
6093         return _this.g.colorscheme.set("scheme", scheme.id);
6094       };
6095     })(this), {
6096       style: style
6097     });
6098   },
6099   getColorschemes: function() {
6100     var schemes;
6101     schemes = [];
6102     schemes.push({
6103       name: "Zappo",
6104       id: "zappo"
6105     });
6106     schemes.push({
6107       name: "Taylor",
6108       id: "taylor"
6109     });
6110     schemes.push({
6111       name: "Hydrophobicity",
6112       id: "hydro"
6113     });
6114     schemes.push({
6115       name: "Lesk",
6116       id: "lesk"
6117     });
6118     schemes.push({
6119       name: "Cinema",
6120       id: "cinema"
6121     });
6122     schemes.push({
6123       name: "MAE",
6124       id: "mae"
6125     });
6126     schemes.push({
6127       name: "Clustal",
6128       id: "clustal"
6129     });
6130     schemes.push({
6131       name: "Clustal2",
6132       id: "clustal2"
6133     });
6134     schemes.push({
6135       name: "Turn",
6136       id: "turn"
6137     });
6138     schemes.push({
6139       name: "Strand",
6140       id: "strand"
6141     });
6142     schemes.push({
6143       name: "Buried",
6144       id: "buried"
6145     });
6146     schemes.push({
6147       name: "Helix",
6148       id: "helix"
6149     });
6150     schemes.push({
6151       name: "Nucleotide",
6152       id: "nucleotide"
6153     });
6154     schemes.push({
6155       name: "Purine",
6156       id: "purine"
6157     });
6158     schemes.push({
6159       name: "PID",
6160       id: "pid"
6161     });
6162     schemes.push({
6163       name: "No color",
6164       id: "foo"
6165     });
6166     return schemes;
6167   },
6168   grey: function(menuColor) {
6169     this.addNode("Grey", (function(_this) {
6170       return function() {
6171         _this.g.colorscheme.set("showLowerCase", false);
6172         return _this.model.each(function(seq) {
6173           var grey, residues;
6174           residues = seq.get("seq");
6175           grey = [];
6176           _.each(residues, function(el, index) {
6177             if (el === el.toLowerCase()) {
6178               return grey.push(index);
6179             }
6180           });
6181           return seq.set("grey", grey);
6182         });
6183       };
6184     })(this));
6185     this.addNode("Grey by threshold", (function(_this) {
6186       return function() {
6187         var conserv, grey, i, maxLen, threshold, _i, _ref;
6188         threshold = prompt("Enter threshold (in percent)", 20);
6189         threshold = threshold / 100;
6190         maxLen = _this.model.getMaxLength();
6191         conserv = _this.g.columns.get("conserv");
6192         grey = [];
6193         for (i = _i = 0, _ref = maxLen - 1; 0 <= _ref ? _i <= _ref : _i >= _ref; i = 0 <= _ref ? ++_i : --_i) {
6194           console.log(conserv[i]);
6195           if (conserv[i] < threshold) {
6196             grey.push(i);
6197           }
6198         }
6199         return _this.model.each(function(seq) {
6200           return seq.set("grey", grey);
6201         });
6202       };
6203     })(this));
6204     this.addNode("Grey selection", (function(_this) {
6205       return function() {
6206         var maxLen;
6207         maxLen = _this.model.getMaxLength();
6208         return _this.model.each(function(seq) {
6209           var blocks;
6210           blocks = _this.g.selcol.getBlocksForRow(seq.get("id"), maxLen);
6211           return seq.set("grey", blocks);
6212         });
6213       };
6214     })(this));
6215     return this.addNode("Reset grey", (function(_this) {
6216       return function() {
6217         _this.g.colorscheme.set("showLowerCase", true);
6218         return _this.model.each(function(seq) {
6219           return seq.set("grey", []);
6220         });
6221       };
6222     })(this));
6223   }
6224 });
6225
6226
6227
6228 },{"../menubuilder":75,"dom-helper":49,"underscore":59}],77:[function(require,module,exports){
6229 var ExportMenu, FastaExporter, MenuBuilder, blobURL, saveAs, _;
6230
6231 MenuBuilder = require("../menubuilder");
6232
6233 saveAs = require("browser-saveas");
6234
6235 FastaExporter = require("biojs-io-fasta").writer;
6236
6237 _ = require("underscore");
6238
6239 blobURL = require("blueimp_canvastoblob");
6240
6241 module.exports = ExportMenu = MenuBuilder.extend({
6242   initialize: function(data) {
6243     this.g = data.g;
6244     this.msa = data.msa;
6245     return this.el.style.display = "inline-block";
6246   },
6247   render: function() {
6248     this.setName("Export");
6249     this.addNode("Export sequences", (function(_this) {
6250       return function() {
6251         var blob, text;
6252         text = FastaExporter["export"](_this.model.toJSON());
6253         blob = new Blob([text], {
6254           type: 'text/plain'
6255         });
6256         return saveAs(blob, "all.fasta");
6257       };
6258     })(this));
6259     this.addNode("Export selection", (function(_this) {
6260       return function() {
6261         var blob, i, selection, text, _i, _ref;
6262         selection = _this.g.selcol.pluck("seqId");
6263         if (selection != null) {
6264           selection = _this.model.filter(function(el) {
6265             return _.contains(selection, el.get("id"));
6266           });
6267           for (i = _i = 0, _ref = selection.length - 1; _i <= _ref; i = _i += 1) {
6268             selection[i] = selection[i].toJSON();
6269           }
6270         } else {
6271           selection = _this.model.toJSON();
6272           console.log("no selection found");
6273         }
6274         text = FastaExporter["export"](selection);
6275         blob = new Blob([text], {
6276           type: 'text/plain'
6277         });
6278         return saveAs(blob, "selection.fasta");
6279       };
6280     })(this));
6281     this.addNode("Export image", (function(_this) {
6282       return function() {
6283         var canvas, url;
6284         canvas = _this.msa.getView('stage').getView('body').getView('seqblock').el;
6285         if (canvas != null) {
6286           url = canvas.toDataURL('image/png');
6287           return saveAs(blobURL(url), "biojs-msa.png", "image/png");
6288         }
6289       };
6290     })(this));
6291     this.el.appendChild(this.buildDOM());
6292     return this;
6293   }
6294 });
6295
6296
6297
6298 },{"../menubuilder":75,"biojs-io-fasta":undefined,"blueimp_canvastoblob":46,"browser-saveas":47,"underscore":59}],78:[function(require,module,exports){
6299 var ExtraMenu, MenuBuilder, Seq, consenus;
6300
6301 MenuBuilder = require("../menubuilder");
6302
6303 consenus = require("../../algo/ConsensusCalc");
6304
6305 Seq = require("../../model/Sequence");
6306
6307 module.exports = ExtraMenu = MenuBuilder.extend({
6308   initialize: function(data) {
6309     this.g = data.g;
6310     return this.el.style.display = "inline-block";
6311   },
6312   render: function() {
6313     this.setName("Extras");
6314     this.addNode("Add consensus seq", (function(_this) {
6315       return function() {
6316         var con, seq;
6317         con = consenus(_this.model);
6318         console.log(con);
6319         seq = new Seq({
6320           seq: con,
6321           id: "0c",
6322           name: "consenus"
6323         });
6324         _this.model.add(seq);
6325         _this.model.comparator = function(seq) {
6326           return seq.get("id");
6327         };
6328         return _this.model.sort();
6329       };
6330     })(this));
6331     this.addNode("Increase font size", (function(_this) {
6332       return function() {
6333         _this.g.zoomer.set("columnWidth", _this.g.zoomer.get("columnWidth") + 2);
6334         _this.g.zoomer.set("labelWidth", _this.g.zoomer.get("columnWidth") + 5);
6335         _this.g.zoomer.set("rowHeight", _this.g.zoomer.get("rowHeight") + 2);
6336         return _this.g.zoomer.set("labelFontSize", _this.g.zoomer.get("labelFontSize") + 2);
6337       };
6338     })(this));
6339     this.addNode("Decrease font size", (function(_this) {
6340       return function() {
6341         _this.g.zoomer.set("columnWidth", _this.g.zoomer.get("columnWidth") - 2);
6342         _this.g.zoomer.set("rowHeight", _this.g.zoomer.get("rowHeight") - 2);
6343         _this.g.zoomer.set("labelFontSize", _this.g.zoomer.get("labelFontSize") - 2);
6344         if (_this.g.zoomer.get("columnWidth") < 8) {
6345           return _this.g.zoomer.set("textVisible", false);
6346         }
6347       };
6348     })(this));
6349     this.addNode("Bar chart exp scaling", (function(_this) {
6350       return function() {
6351         return _this.g.columns.set("scaling", "exp");
6352       };
6353     })(this));
6354     this.addNode("Bar chart linear scaling", (function(_this) {
6355       return function() {
6356         return _this.g.columns.set("scaling", "lin");
6357       };
6358     })(this));
6359     this.addNode("Bar chart log scaling", (function(_this) {
6360       return function() {
6361         return _this.g.columns.set("scaling", "log");
6362       };
6363     })(this));
6364     this.addNode("Minimized width", (function(_this) {
6365       return function() {
6366         return _this.g.zoomer.set("alignmentWidth", 600);
6367       };
6368     })(this));
6369     this.addNode("Minimized height", (function(_this) {
6370       return function() {
6371         return _this.g.zoomer.set("alignmentHeight", 120);
6372       };
6373     })(this));
6374     this.addNode("Jump to a column", (function(_this) {
6375       return function() {
6376         var offset;
6377         offset = prompt("Column", "20");
6378         if (offset < 0 || offset > _this.model.getMaxLength() || isNaN(offset)) {
6379           alert("invalid column");
6380           return;
6381         }
6382         return _this.g.zoomer.setLeftOffset(offset);
6383       };
6384     })(this));
6385     this.el.appendChild(this.buildDOM());
6386     return this;
6387   }
6388 });
6389
6390
6391
6392 },{"../../algo/ConsensusCalc":60,"../../model/Sequence":88,"../menubuilder":75}],79:[function(require,module,exports){
6393 var FilterMenu, MenuBuilder, _;
6394
6395 MenuBuilder = require("../menubuilder");
6396
6397 _ = require("underscore");
6398
6399 module.exports = FilterMenu = MenuBuilder.extend({
6400   initialize: function(data) {
6401     this.g = data.g;
6402     return this.el.style.display = "inline-block";
6403   },
6404   render: function() {
6405     this.setName("Filter");
6406     this.addNode("Hide columns by threshold", (function(_this) {
6407       return function(e) {
6408         var conserv, hidden, i, maxLen, threshold, _i, _ref;
6409         threshold = prompt("Enter threshold (in percent)", 20);
6410         threshold = threshold / 100;
6411         maxLen = _this.model.getMaxLength();
6412         hidden = [];
6413         conserv = _this.g.columns.get("conserv");
6414         for (i = _i = 0, _ref = maxLen - 1; 0 <= _ref ? _i <= _ref : _i >= _ref; i = 0 <= _ref ? ++_i : --_i) {
6415           if (conserv[i] < threshold) {
6416             hidden.push(i);
6417           }
6418         }
6419         return _this.g.columns.set("hidden", hidden);
6420       };
6421     })(this));
6422     this.addNode("Hide columns by selection", (function(_this) {
6423       return function() {
6424         var hidden, hiddenOld;
6425         hiddenOld = _this.g.columns.get("hidden");
6426         hidden = hiddenOld.concat(_this.g.selcol.getAllColumnBlocks({
6427           maxLen: _this.model.getMaxLength(),
6428           withPos: true
6429         }));
6430         _this.g.selcol.reset([]);
6431         return _this.g.columns.set("hidden", hidden);
6432       };
6433     })(this));
6434     this.addNode("Hide columns by gaps", (function(_this) {
6435       return function() {
6436         var gapContent, gaps, hidden, i, maxLen, threshold, total, _i, _ref;
6437         threshold = prompt("Enter threshold (in percent)", 20);
6438         threshold = threshold / 100;
6439         maxLen = _this.model.getMaxLength();
6440         hidden = [];
6441         for (i = _i = 0, _ref = maxLen - 1; 0 <= _ref ? _i <= _ref : _i >= _ref; i = 0 <= _ref ? ++_i : --_i) {
6442           gaps = 0;
6443           total = 0;
6444           _this.model.each(function(el) {
6445             if (el.get('seq')[i] === "-") {
6446               gaps++;
6447             }
6448             return total++;
6449           });
6450           gapContent = gaps / total;
6451           if (gapContent > threshold) {
6452             hidden.push(i);
6453           }
6454         }
6455         return _this.g.columns.set("hidden", hidden);
6456       };
6457     })(this));
6458     this.addNode("Hide seqs by identity", (function(_this) {
6459       return function() {
6460         var threshold;
6461         threshold = prompt("Enter threshold (in percent)", 20);
6462         threshold = threshold / 100;
6463         return _this.model.each(function(el) {
6464           if (el.get('identity') < threshold) {
6465             return el.set('hidden', true);
6466           }
6467         });
6468       };
6469     })(this));
6470     this.addNode("Hide seqs by selection", (function(_this) {
6471       return function() {
6472         var hidden, ids;
6473         hidden = _this.g.selcol.where({
6474           type: "row"
6475         });
6476         ids = _.map(hidden, function(el) {
6477           return el.get('seqId');
6478         });
6479         _this.g.selcol.reset([]);
6480         return _this.model.each(function(el) {
6481           if (ids.indexOf(el.get('id')) >= 0) {
6482             return el.set('hidden', true);
6483           }
6484         });
6485       };
6486     })(this));
6487     this.addNode("Hide seqs by gaps", (function(_this) {
6488       return function() {
6489         var threshold;
6490         threshold = prompt("Enter threshold (in percent)", 40);
6491         return _this.model.each(function(el, i) {
6492           var gaps, seq;
6493           seq = el.get('seq');
6494           gaps = _.reduce(seq, (function(memo, c) {
6495             if (c === '-') {
6496               memo++;
6497             }
6498             return memo;
6499           }), 0);
6500           console.log(gaps);
6501           if (gaps > threshold) {
6502             return el.set('hidden', true);
6503           }
6504         });
6505       };
6506     })(this));
6507     this.addNode("Reset", (function(_this) {
6508       return function() {
6509         _this.g.columns.set("hidden", []);
6510         return _this.model.each(function(el) {
6511           if (el.get('hidden')) {
6512             return el.set('hidden', false);
6513           }
6514         });
6515       };
6516     })(this));
6517     this.el.appendChild(this.buildDOM());
6518     return this;
6519   }
6520 });
6521
6522
6523
6524 },{"../menubuilder":75,"underscore":59}],80:[function(require,module,exports){
6525 var HelpMenu, MenuBuilder;
6526
6527 MenuBuilder = require("../menubuilder");
6528
6529 module.exports = HelpMenu = MenuBuilder.extend({
6530   initialize: function(data) {
6531     return this.g = data.g;
6532   },
6533   render: function() {
6534     this.setName("Help");
6535     this.addNode("About the project", (function(_this) {
6536       return function() {
6537         return window.open("https://github.com/greenify/biojs-vis-msa");
6538       };
6539     })(this));
6540     this.addNode("Report issues", (function(_this) {
6541       return function() {
6542         return window.open("https://github.com/greenify/biojs-vis-msa/issues");
6543       };
6544     })(this));
6545     this.addNode("User manual", (function(_this) {
6546       return function() {
6547         return window.open("https://github.com/greenify/biojs-vis-msa/wiki");
6548       };
6549     })(this));
6550     this.el.style.display = "inline-block";
6551     this.el.appendChild(this.buildDOM());
6552     return this;
6553   }
6554 });
6555
6556
6557
6558 },{"../menubuilder":75}],81:[function(require,module,exports){
6559 var Clustal, FastaReader, ImportMenu, MenuBuilder, corsURL;
6560
6561 Clustal = require("biojs-io-clustal");
6562
6563 FastaReader = require("biojs-io-fasta").parse;
6564
6565 MenuBuilder = require("../menubuilder");
6566
6567 corsURL = require("../../utils/proxy").corsURL;
6568
6569 module.exports = ImportMenu = MenuBuilder.extend({
6570   initialize: function(data) {
6571     this.g = data.g;
6572     return this.el.style.display = "inline-block";
6573   },
6574   render: function() {
6575     this.setName("Import");
6576     this.addNode("FASTA", (function(_this) {
6577       return function(e) {
6578         var url;
6579         url = prompt("URL", "/test/dummy/samples/p53.clustalo.fasta");
6580         url = corsURL(url, _this.g);
6581         return FastaReader.read(url, function(seqs) {
6582           var zoomer;
6583           zoomer = _this.g.zoomer.toJSON();
6584           zoomer.labelWidth = 200;
6585           zoomer.boxRectHeight = 2;
6586           zoomer.boxRectWidth = 2;
6587           _this.model.reset([]);
6588           _this.g.zoomer.set(zoomer);
6589           _this.model.reset(seqs);
6590           return _this.g.columns.calcConservation(_this.model);
6591         });
6592       };
6593     })(this));
6594     this.addNode("CLUSTAL", (function(_this) {
6595       return function() {
6596         var url;
6597         url = prompt("URL", "/test/dummy/samples/p53.clustalo.clustal");
6598         url = corsURL(url, _this.g);
6599         return Clustal.read(url, function(seqs) {
6600           var zoomer;
6601           zoomer = _this.g.zoomer.toJSON();
6602           zoomer.labelWidth = 200;
6603           zoomer.boxRectHeight = 2;
6604           zoomer.boxRectWidth = 2;
6605           _this.model.reset([]);
6606           _this.g.zoomer.set(zoomer);
6607           _this.model.reset(seqs);
6608           return _this.g.columns.calcConservation(_this.model);
6609         });
6610       };
6611     })(this));
6612     this.addNode("add your own Parser", (function(_this) {
6613       return function() {
6614         return window.open("https://github.com/biojs/biojs2");
6615       };
6616     })(this));
6617     this.el.appendChild(this.buildDOM());
6618     return this;
6619   }
6620 });
6621
6622
6623
6624 },{"../../utils/proxy":93,"../menubuilder":75,"biojs-io-clustal":undefined,"biojs-io-fasta":undefined}],82:[function(require,module,exports){
6625 var MenuBuilder, OrderingMenu, dom, _;
6626
6627 MenuBuilder = require("../menubuilder");
6628
6629 dom = require("dom-helper");
6630
6631 _ = require('underscore');
6632
6633 module.exports = OrderingMenu = MenuBuilder.extend({
6634   initialize: function(data) {
6635     this.g = data.g;
6636     this.order = "ID";
6637     return this.el.style.display = "inline-block";
6638   },
6639   setOrder: function(order) {
6640     this.order = order;
6641     return this.render();
6642   },
6643   render: function() {
6644     var comps, el, m, _i, _len;
6645     this.setName("Ordering");
6646     comps = this.getComparators();
6647     for (_i = 0, _len = comps.length; _i < _len; _i++) {
6648       m = comps[_i];
6649       this._addNode(m);
6650     }
6651     el = this.buildDOM();
6652     dom.removeAllChilds(this.el);
6653     this.el.appendChild(el);
6654     return this;
6655   },
6656   _addNode: function(m) {
6657     var style, text;
6658     text = m.text;
6659     style = {};
6660     if (text === this.order) {
6661       style.backgroundColor = "#77ED80";
6662     }
6663     return this.addNode(text, (function(_this) {
6664       return function() {
6665         if (m.precode != null) {
6666           m.precode();
6667         }
6668         _this.model.comparator = m.comparator;
6669         _this.model.sort();
6670         return _this.setOrder(m.text);
6671       };
6672     })(this), {
6673       style: style
6674     });
6675   },
6676   getComparators: function() {
6677     var models;
6678     models = [];
6679     models.push({
6680       text: "ID",
6681       comparator: "id"
6682     });
6683     models.push({
6684       text: "ID Desc",
6685       comparator: function(a, b) {
6686         return -a.get("id").localeCompare(b.get("id"));
6687       }
6688     });
6689     models.push({
6690       text: "Label",
6691       comparator: "name"
6692     });
6693     models.push({
6694       text: "Label Desc",
6695       comparator: function(a, b) {
6696         return -a.get("name").localeCompare(b.get("name"));
6697       }
6698     });
6699     models.push({
6700       text: "Seq",
6701       comparator: "seq"
6702     });
6703     models.push({
6704       text: "Seq Desc",
6705       comparator: function(a, b) {
6706         return -a.get("seq").localeCompare(b.get("seq"));
6707       }
6708     });
6709     models.push({
6710       text: "Identity",
6711       comparator: "identity"
6712     });
6713     models.push({
6714       text: "Identity Desc",
6715       comparator: function(seq) {
6716         return -seq.get("identity");
6717       }
6718     });
6719     models.push({
6720       text: "Partition codes",
6721       comparator: "partition",
6722       precode: (function(_this) {
6723         return function() {
6724           _this.g.vis.set('labelPartition', true);
6725           return _this.model.each(function(el) {
6726             return el.set('partition', _.random(1, 3));
6727           });
6728         };
6729       })(this)
6730     });
6731     return models;
6732   }
6733 });
6734
6735
6736
6737 },{"../menubuilder":75,"dom-helper":49,"underscore":59}],83:[function(require,module,exports){
6738 var MenuBuilder, SelectionMenu, sel;
6739
6740 sel = require("../../g/selection/Selection");
6741
6742 MenuBuilder = require("../menubuilder");
6743
6744 module.exports = SelectionMenu = MenuBuilder.extend({
6745   initialize: function(data) {
6746     this.g = data.g;
6747     return this.el.style.display = "inline-block";
6748   },
6749   render: function() {
6750     this.setName("Selection");
6751     this.addNode("Find Motif (supports RegEx)", (function(_this) {
6752       return function() {
6753         var leftestIndex, newSeli, origIndex, search, selcol;
6754         search = prompt("your search", "D");
6755         search = new RegExp(search, "gi");
6756         selcol = _this.g.selcol;
6757         newSeli = [];
6758         leftestIndex = origIndex = 100042;
6759         _this.model.each(function(seq) {
6760           var args, index, match, strSeq, _results;
6761           strSeq = seq.get("seq");
6762           _results = [];
6763           while (match = search.exec(strSeq)) {
6764             index = match.index;
6765             args = {
6766               xStart: index,
6767               xEnd: index + match[0].length - 1,
6768               seqId: seq.get("id")
6769             };
6770             newSeli.push(new sel.possel(args));
6771             _results.push(leftestIndex = Math.min(index, leftestIndex));
6772           }
6773           return _results;
6774         });
6775         if (newSeli.length === 0) {
6776           alert("no selection found");
6777         }
6778         selcol.reset(newSeli);
6779         if (leftestIndex === origIndex) {
6780           leftestIndex = 0;
6781         }
6782         return _this.g.zoomer.setLeftOffset(leftestIndex);
6783       };
6784     })(this));
6785     this.addNode("Invert columns", (function(_this) {
6786       return function() {
6787         var _i, _ref, _results;
6788         return _this.g.selcol.invertCol((function() {
6789           _results = [];
6790           for (var _i = 0, _ref = _this.model.getMaxLength(); 0 <= _ref ? _i <= _ref : _i >= _ref; 0 <= _ref ? _i++ : _i--){ _results.push(_i); }
6791           return _results;
6792         }).apply(this));
6793       };
6794     })(this));
6795     this.addNode("Invert rows", (function(_this) {
6796       return function() {
6797         return _this.g.selcol.invertRow(_this.model.pluck("id"));
6798       };
6799     })(this));
6800     this.addNode("Reset", (function(_this) {
6801       return function() {
6802         return _this.g.selcol.reset();
6803       };
6804     })(this));
6805     this.el.appendChild(this.buildDOM());
6806     return this;
6807   }
6808 });
6809
6810
6811
6812 },{"../../g/selection/Selection":67,"../menubuilder":75}],84:[function(require,module,exports){
6813 var ImportMenu, MenuBuilder, dom;
6814
6815 MenuBuilder = require("../menubuilder");
6816
6817 dom = require("dom-helper");
6818
6819 module.exports = ImportMenu = MenuBuilder.extend({
6820   initialize: function(data) {
6821     this.g = data.g;
6822     this.el.style.display = "inline-block";
6823     return this.listenTo(this.g.vis, "change", this.render);
6824   },
6825   render: function() {
6826     var visEl, visElements, _i, _len;
6827     this.setName("Vis. elements");
6828     visElements = this.getVisElements();
6829     for (_i = 0, _len = visElements.length; _i < _len; _i++) {
6830       visEl = visElements[_i];
6831       this._addVisEl(visEl);
6832     }
6833     this.addNode("Reset", (function(_this) {
6834       return function() {
6835         _this.g.vis.set("labels", true);
6836         _this.g.vis.set("sequences", true);
6837         _this.g.vis.set("metacell", true);
6838         _this.g.vis.set("conserv", true);
6839         _this.g.vis.set("labelId", true);
6840         _this.g.vis.set("labelName", true);
6841         return _this.g.vis.set("labelCheckbox", false);
6842       };
6843     })(this));
6844     this.addNode("Toggle mouseover events", (function(_this) {
6845       return function() {
6846         return _this.g.config.set("registerMouseHover", !_this.g.config.get("registerMouseHover"));
6847       };
6848     })(this));
6849     dom.removeAllChilds(this.el);
6850     this.el.appendChild(this.buildDOM());
6851     return this;
6852   },
6853   _addVisEl: function(visEl) {
6854     var pre, style;
6855     style = {};
6856     if (this.g.vis.get(visEl.id)) {
6857       pre = "Hide ";
6858       style.color = "red";
6859     } else {
6860       pre = "Show ";
6861       style.color = "green";
6862     }
6863     return this.addNode(pre + visEl.name, (function(_this) {
6864       return function() {
6865         return _this.g.vis.set(visEl.id, !_this.g.vis.get(visEl.id));
6866       };
6867     })(this), {
6868       style: style
6869     });
6870   },
6871   getVisElements: function() {
6872     var vis;
6873     vis = [];
6874     vis.push({
6875       name: "Markers",
6876       id: "markers"
6877     });
6878     vis.push({
6879       name: "Labels",
6880       id: "labels"
6881     });
6882     vis.push({
6883       name: "Sequences",
6884       id: "sequences"
6885     });
6886     vis.push({
6887       name: "Meta info",
6888       id: "metacell"
6889     });
6890     vis.push({
6891       name: "Overviewbox",
6892       id: "overviewbox"
6893     });
6894     vis.push({
6895       name: "conserv",
6896       id: "conserv"
6897     });
6898     vis.push({
6899       name: "LabelName",
6900       id: "labelName"
6901     });
6902     vis.push({
6903       name: "LabelId",
6904       id: "labelId"
6905     });
6906     vis.push({
6907       name: "LabelCheckbox",
6908       id: "labelCheckbox"
6909     });
6910     return vis;
6911   }
6912 });
6913
6914
6915
6916 },{"../menubuilder":75,"dom-helper":49}],85:[function(require,module,exports){
6917 var Feature, Model;
6918
6919 Feature = require("./Feature");
6920
6921 Model = require("backbone-thin").Model;
6922
6923 module.exports = Feature = Model.extend({
6924   defaults: {
6925     xStart: -1,
6926     xEnd: -1,
6927     height: -1,
6928     text: "",
6929     fillColor: "red",
6930     fillOpacity: 0.5,
6931     type: "rectangle",
6932     borderSize: 1,
6933     borderColor: "black",
6934     borderOpacity: 0.5,
6935     validate: true
6936   },
6937   validate: function() {
6938     if (isNaN(this.attributes.xStart || isNaN(this.attributes.xEnd))) {
6939       return "features need integer start and end.";
6940     }
6941   },
6942   contains: function(index) {
6943     return this.attributes.xStart <= index && index <= this.attributes.xEnd;
6944   }
6945 });
6946
6947
6948
6949 },{"./Feature":85,"backbone-thin":5}],86:[function(require,module,exports){
6950 var Collection, Feature, FeatureCol, _;
6951
6952 Feature = require("./Feature");
6953
6954 Collection = require("backbone-thin").Collection;
6955
6956 _ = require("underscore");
6957
6958 module.exports = FeatureCol = Collection.extend({
6959   model: Feature,
6960   constructor: function() {
6961     this.startOnCache = [];
6962     this.on("all", function() {
6963       return this.startOnCache = [];
6964     }, this);
6965     return Collection.apply(this, arguments);
6966   },
6967   startOn: function(index) {
6968     if (this.startOnCache[index] == null) {
6969       this.startOnCache[index] = this.where({
6970         xStart: index
6971       });
6972     }
6973     return this.startOnCache[index];
6974   },
6975   contains: function(index) {
6976     return this.reduce(function(el, memo) {
6977       return memo || el.contains(index);
6978     }, false);
6979   },
6980   getMinRows: function() {
6981     var len, rows, x;
6982     len = this.max(function(el) {
6983       return el.get("xEnd");
6984     });
6985     rows = (function() {
6986       var _i, _results;
6987       _results = [];
6988       for (x = _i = 1; 1 <= len ? _i <= len : _i >= len; x = 1 <= len ? ++_i : --_i) {
6989         _results.push(0);
6990       }
6991       return _results;
6992     })();
6993     this.each(function(el) {
6994       var _i, _ref, _ref1, _results;
6995       _results = [];
6996       for (x = _i = _ref = el.get("xStart"), _ref1 = feature.get("xEnd"); _i <= _ref1; x = _i += 1) {
6997         _results.push(rows[x]++);
6998       }
6999       return _results;
7000     });
7001     return _.max(rows);
7002   }
7003 });
7004
7005
7006
7007 },{"./Feature":85,"backbone-thin":5,"underscore":59}],87:[function(require,module,exports){
7008 var Collection, SeqManager, Sequence;
7009
7010 Sequence = require("./Sequence");
7011
7012 Collection = require("backbone-thin").Collection;
7013
7014 module.exports = SeqManager = Collection.extend({
7015   model: Sequence,
7016   constructor: function() {
7017     Collection.apply(this, arguments);
7018     this.on("all", function() {
7019       return this.lengthCache = null;
7020     }, this);
7021     this.lengthCache = null;
7022     return this;
7023   },
7024   getMaxLength: function() {
7025     if (this.models.length === 0) {
7026       return 0;
7027     }
7028     if (this.lengthCache === null) {
7029       this.lengthCache = this.max(function(seq) {
7030         return seq.get("seq").length;
7031       }).get("seq").length;
7032     }
7033     return this.lengthCache;
7034   },
7035   prev: function(model, endless) {
7036     var index;
7037     index = this.indexOf(model) - 1;
7038     if (index < 0 && endless) {
7039       index = this.length - 1;
7040     }
7041     return this.at(index);
7042   },
7043   next: function(model, endless) {
7044     var index;
7045     index = this.indexOf(model) + 1;
7046     if (index === this.length && endless) {
7047       index = 0;
7048     }
7049     return this.at(index);
7050   },
7051   calcHiddenSeqs: function(n) {
7052     var i, nNew, _i;
7053     nNew = n;
7054     for (i = _i = 0; 0 <= nNew ? _i <= nNew : _i >= nNew; i = 0 <= nNew ? ++_i : --_i) {
7055       if (this.at(i).get("hidden")) {
7056         nNew++;
7057       }
7058     }
7059     return nNew - n;
7060   }
7061 });
7062
7063
7064
7065 },{"./Sequence":88,"backbone-thin":5}],88:[function(require,module,exports){
7066 var FeatureCol, Model, Sequence;
7067
7068 Model = require("backbone-thin").Model;
7069
7070 FeatureCol = require("./FeatureCol");
7071
7072 module.exports = Sequence = Model.extend({
7073   defaults: {
7074     name: "",
7075     id: "",
7076     seq: ""
7077   },
7078   initialize: function() {
7079     this.set("grey", []);
7080     return this.set("features", new FeatureCol());
7081   }
7082 });
7083
7084
7085
7086 },{"./FeatureCol":86,"backbone-thin":5}],89:[function(require,module,exports){
7087 module.exports.seq = require("./Sequence");
7088
7089 module.exports.seqcol = require("./SeqCollection");
7090
7091 module.exports.feature = require("./Feature");
7092
7093 module.exports.featurecol = require("./FeatureCol");
7094
7095
7096
7097 },{"./Feature":85,"./FeatureCol":86,"./SeqCollection":87,"./Sequence":88}],90:[function(require,module,exports){
7098 var Colorator, Columns, Config, Consensus, Eventhandler, SelCol, SeqCollection, Stage, VisOrdering, Visibility, Zoomer, boneView;
7099
7100 SeqCollection = require("./model/SeqCollection");
7101
7102 Colorator = require("./g/colorator");
7103
7104 Consensus = require("./g/consensus");
7105
7106 Columns = require("./g/columns");
7107
7108 Config = require("./g/config");
7109
7110 SelCol = require("./g/selection/SelectionCol");
7111
7112 Visibility = require("./g/visibility");
7113
7114 VisOrdering = require("./g/visOrdering");
7115
7116 Zoomer = require("./g/zoomer");
7117
7118 boneView = require("backbone-childs");
7119
7120 Eventhandler = require("biojs-events");
7121
7122 Stage = require("./views/Stage");
7123
7124 module.exports = boneView.extend({
7125   initialize: function(data) {
7126     var _ref;
7127     if (data.columns == null) {
7128       data.columns = {};
7129     }
7130     if (data.conf == null) {
7131       data.conf = {};
7132     }
7133     if (data.vis == null) {
7134       data.vis = {};
7135     }
7136     if (data.zoomer == null) {
7137       if (!((_ref = data.visorder) != null ? _ref : data.zoomer = {})) {
7138         data.visorder = {};
7139       }
7140     }
7141     this.g = Eventhandler.mixin({});
7142     if (data.seqs === void 0 || data.seqs.length === 0) {
7143       console.log("warning. empty seqs.");
7144     }
7145     this.seqs = new SeqCollection(data.seqs);
7146     this.g.config = new Config(data.conf);
7147     this.g.consensus = new Consensus();
7148     this.g.columns = new Columns(data.columns);
7149     this.g.colorscheme = new Colorator();
7150     this.g.selcol = new SelCol([], {
7151       g: this.g
7152     });
7153     this.g.vis = new Visibility(data.vis);
7154     this.g.visorder = new VisOrdering(data.visorder);
7155     this.g.zoomer = new Zoomer(data.zoomer, {
7156       g: this.g
7157     });
7158     this.addView("stage", new Stage({
7159       model: this.seqs,
7160       g: this.g
7161     }));
7162     this.el.setAttribute("class", "biojs_msa_div");
7163     if (this.g.config.get("eventBus") === true) {
7164       return this.startEventBus();
7165     }
7166   },
7167   startEventBus: function() {
7168     var busObjs, key, _i, _len, _results;
7169     busObjs = ["config", "consensus", "columns", "colorscheme", "selcol", "vis", "visorder", "zoomer"];
7170     _results = [];
7171     for (_i = 0, _len = busObjs.length; _i < _len; _i++) {
7172       key = busObjs[_i];
7173       _results.push(this._proxyToG(key));
7174     }
7175     return _results;
7176   },
7177   _proxyToG: function(key) {
7178     return this.listenTo(this.g[key], "all", function(name, prev, now) {
7179       if (name === "change") {
7180         return;
7181       }
7182       return this.g.trigger(key + ":" + name, now);
7183     });
7184   },
7185   render: function() {
7186     this.renderSubviews();
7187     this.g.vis.set("loaded", true);
7188     return this;
7189   }
7190 });
7191
7192
7193
7194 },{"./g/colorator":63,"./g/columns":64,"./g/config":65,"./g/consensus":66,"./g/selection/SelectionCol":68,"./g/visOrdering":69,"./g/visibility":70,"./g/zoomer":71,"./model/SeqCollection":87,"./views/Stage":100,"backbone-childs":3,"biojs-events":14}],91:[function(require,module,exports){
7195 var BMath;
7196
7197 module.exports = BMath = (function() {
7198   function BMath() {}
7199
7200   BMath.randomInt = function(lower, upper) {
7201     var _ref, _ref1;
7202     if (upper == null) {
7203       _ref = [0, lower], lower = _ref[0], upper = _ref[1];
7204     }
7205     if (lower > upper) {
7206       _ref1 = [upper, lower], lower = _ref1[0], upper = _ref1[1];
7207     }
7208     return Math.floor(Math.random() * (upper - lower + 1) + lower);
7209   };
7210
7211   BMath.uniqueId = function(length) {
7212     var id;
7213     if (length == null) {
7214       length = 8;
7215     }
7216     id = "";
7217     while (id.length < length) {
7218       id += Math.random().toString(36).substr(2);
7219     }
7220     return id.substr(0, length);
7221   };
7222
7223   BMath.getRandomInt = function(min, max) {
7224     return Math.floor(Math.random() * (max - min + 1)) + min;
7225   };
7226
7227   return BMath;
7228
7229 })();
7230
7231
7232
7233 },{}],92:[function(require,module,exports){
7234 module.exports.bmath = require("./bmath");
7235
7236 module.exports.proxy = require("./proxy");
7237
7238 module.exports.seqgen = require("./seqgen");
7239
7240
7241
7242 },{"./bmath":91,"./proxy":93,"./seqgen":94}],93:[function(require,module,exports){
7243 var proxy;
7244
7245 module.exports = proxy = {
7246   corsURL: (function(_this) {
7247     return function(url, g) {
7248       _this.g = g;
7249       if (document.URL.indexOf('localhost') >= 0 && url[0] === "/") {
7250         return url;
7251       }
7252       url = url.replace("www\.", "");
7253       url = url.replace("http://", "");
7254       url = _this.g.config.get('importProxy') + url;
7255       return url;
7256     };
7257   })(this)
7258 };
7259
7260
7261
7262 },{}],94:[function(require,module,exports){
7263 var BMath, Sequence, seqgen;
7264
7265 Sequence = require("biojs-model").seq;
7266
7267 BMath = require("./bmath");
7268
7269 seqgen = module.exports = {
7270   _generateSequence: function(len) {
7271     var i, possible, text, _i, _ref;
7272     text = "";
7273     possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
7274     for (i = _i = 0, _ref = len - 1; _i <= _ref; i = _i += 1) {
7275       text += possible.charAt(Math.floor(Math.random() * possible.length));
7276     }
7277     return text;
7278   },
7279   getDummySequences: function(len, seqLen) {
7280     var i, seqs, _i;
7281     seqs = [];
7282     if (len == null) {
7283       len = BMath.getRandomInt(3, 5);
7284     }
7285     if (seqLen == null) {
7286       seqLen = BMath.getRandomInt(50, 200);
7287     }
7288     for (i = _i = 1; _i <= len; i = _i += 1) {
7289       seqs.push(new Sequence(seqgen._generateSequence(seqLen), "seq" + i, "r" + i));
7290     }
7291     return seqs;
7292   }
7293 };
7294
7295
7296
7297 },{"./bmath":91,"biojs-model":27}],95:[function(require,module,exports){
7298 var Base, Line, Polygon, Rect, setAttr, svgns;
7299
7300 svgns = "http://www.w3.org/2000/svg";
7301
7302 setAttr = function(obj, opts) {
7303   var name, value;
7304   for (name in opts) {
7305     value = opts[name];
7306     obj.setAttributeNS(null, name, value);
7307   }
7308   return obj;
7309 };
7310
7311 Base = function(opts) {
7312   var svg;
7313   svg = document.createElementNS(svgns, 'svg');
7314   svg.setAttribute("width", opts.width);
7315   svg.setAttribute("height", opts.height);
7316   return svg;
7317 };
7318
7319 Rect = function(opts) {
7320   var rect;
7321   rect = document.createElementNS(svgns, 'rect');
7322   return setAttr(rect, opts);
7323 };
7324
7325 Line = function(opts) {
7326   var line;
7327   line = document.createElementNS(svgns, 'line');
7328   return setAttr(line, opts);
7329 };
7330
7331 Polygon = function(opts) {
7332   var line;
7333   line = document.createElementNS(svgns, 'polygon');
7334   return setAttr(line, opts);
7335 };
7336
7337 module.exports.rect = Rect;
7338
7339 module.exports.line = Line;
7340
7341 module.exports.polygon = Polygon;
7342
7343 module.exports.base = Base;
7344
7345
7346
7347 },{}],96:[function(require,module,exports){
7348 var LabelBlock, SeqBlock, boneView;
7349
7350 boneView = require("backbone-childs");
7351
7352 SeqBlock = require("./CanvasSeqBlock");
7353
7354 LabelBlock = require("./labels/LabelBlock");
7355
7356 module.exports = boneView.extend({
7357   initialize: function(data) {
7358     var labelblock, seqblock;
7359     this.g = data.g;
7360     if (true) {
7361       labelblock = new LabelBlock({
7362         model: this.model,
7363         g: this.g
7364       });
7365       labelblock.ordering = -1;
7366       this.addView("labelblock", labelblock);
7367     }
7368     if (this.g.vis.get("sequences")) {
7369       seqblock = new SeqBlock({
7370         model: this.model,
7371         g: this.g
7372       });
7373       seqblock.ordering = 0;
7374       this.addView("seqblock", seqblock);
7375     }
7376     this.listenTo(this.g.zoomer, "change:alignmentHeight", this.adjustHeight);
7377     return this.listenTo(this.g.columns, "change:hidden", this.adjustHeight);
7378   },
7379   render: function() {
7380     this.renderSubviews();
7381     this.el.className = "biojs_msa_albody";
7382     this.el.style.whiteSpace = "nowrap";
7383     this.adjustHeight();
7384     return this;
7385   },
7386   adjustHeight: function() {
7387     if (this.g.zoomer.get("alignmentHeight") === "auto") {
7388       this.el.style.height = (this.g.zoomer.get("rowHeight") * this.model.length) + 5;
7389     } else {
7390       this.el.style.height = this.g.zoomer.get("alignmentHeight");
7391     }
7392     return this.el.style.width = this.getWidth() + 15;
7393   },
7394   getWidth: function() {
7395     var width;
7396     width = 0;
7397     if (this.g.vis.get("labels")) {
7398       width += this.g.zoomer.get("labelWidth");
7399     }
7400     if (this.g.vis.get("metacell")) {
7401       width += this.g.zoomer.get("metaWidth");
7402     }
7403     if (this.g.vis.get("sequences")) {
7404       width += this.g.zoomer.get("alignmentWidth");
7405     }
7406     return width;
7407   }
7408 });
7409
7410
7411
7412 },{"./CanvasSeqBlock":98,"./labels/LabelBlock":104,"backbone-childs":3}],97:[function(require,module,exports){
7413 var CanvasCharCache, Events;
7414
7415 Events = require("biojs-events");
7416
7417 module.exports = CanvasCharCache = (function() {
7418   function CanvasCharCache(g) {
7419     this.g = g;
7420     this.cache = {};
7421     this.cacheHeight = 0;
7422     this.cacheWidth = 0;
7423   }
7424
7425   CanvasCharCache.prototype.getFontTile = function(letter, width, height) {
7426     if (width !== this.cacheWidth || height !== this.cacheHeight) {
7427       this.cacheHeight = height;
7428       this.cacheWidth = width;
7429       this.cache = {};
7430     }
7431     if (this.cache[letter] === void 0) {
7432       this.createTile(letter, width, height);
7433     }
7434     return this.cache[letter];
7435   };
7436
7437   CanvasCharCache.prototype.createTile = function(letter, width, height) {
7438     var canvas;
7439     canvas = this.cache[letter] = document.createElement("canvas");
7440     canvas.width = width;
7441     canvas.height = height;
7442     this.ctx = canvas.getContext('2d');
7443     this.ctx.font = this.g.zoomer.get("residueFont");
7444     this.ctx.textBaseline = 'middle';
7445     this.ctx.textAlign = "center";
7446     return this.ctx.fillText(letter, width / 2, height / 2, width);
7447   };
7448
7449   return CanvasCharCache;
7450
7451 })();
7452
7453
7454
7455 },{"biojs-events":14}],98:[function(require,module,exports){
7456 var CharCache, boneView, colorSelector, jbone, mouse, _;
7457
7458 boneView = require("backbone-childs");
7459
7460 mouse = require("mouse-pos");
7461
7462 colorSelector = require("biojs-util-colorschemes").selector;
7463
7464 _ = require("underscore");
7465
7466 jbone = require("jbone");
7467
7468 CharCache = require("./CanvasCharCache");
7469
7470 module.exports = boneView.extend({
7471   tagName: "canvas",
7472   initialize: function(data) {
7473     this.g = data.g;
7474     this.listenTo(this.g.zoomer, "change:_alignmentScrollLeft change:_alignmentScrollTop", function(model, value, options) {
7475       if (((options != null ? options.origin : void 0) == null) || options.origin !== "canvasseq") {
7476         return this.render();
7477       }
7478     });
7479     this.listenTo(this.g.columns, "change:hidden", this.render);
7480     this.listenTo(this.g.zoomer, "change:alignmentWidth", this.render);
7481     this.listenTo(this.g.colorscheme, "change", this.render);
7482     this.listenTo(this.g.selcol, "reset add", this.render);
7483     this.el.style.display = "inline-block";
7484     this.el.style.overflowX = "hidden";
7485     this.el.style.overflowY = "hidden";
7486     this.el.className = "biojs_msa_seqblock";
7487     this.ctx = this.el.getContext('2d');
7488     this.cache = new CharCache(this.g);
7489     this.throttleTime = 0;
7490     this.throttleCounts = 0;
7491     if (document.documentElement.style.webkitAppearance != null) {
7492       this.throttledDraw = function() {
7493         var start, tTime;
7494         start = +new Date();
7495         this.draw();
7496         this.throttleTime += +new Date() - start;
7497         this.throttleCounts++;
7498         if (this.throttleCounts > 15) {
7499           tTime = Math.ceil(this.throttleTime / this.throttleCounts);
7500           console.log("avgDrawTime/WebKit", tTime);
7501           return this.throttledDraw = this.draw;
7502         }
7503       };
7504     } else {
7505       this.throttledDraw = _.throttle(this.throttledDraw, 30);
7506     }
7507     return this.manageEvents();
7508   },
7509   throttledDraw: function() {
7510     var start, tTime;
7511     start = +new Date();
7512     this.draw();
7513     this.throttleTime += +new Date() - start;
7514     this.throttleCounts++;
7515     if (this.throttleCounts > 15) {
7516       tTime = Math.ceil(this.throttleTime / this.throttleCounts);
7517       console.log("avgDrawTime", tTime);
7518       tTime *= 1.2;
7519       tTime = Math.max(20, tTime);
7520       return this.throttledDraw = _.throttle(this.draw, tTime);
7521     }
7522   },
7523   manageEvents: function() {
7524     var events;
7525     events = {};
7526     events.mousedown = "_onmousedown";
7527     events.touchstart = "_ontouchstart";
7528     if (this.g.config.get("registerMouseClicks")) {
7529       events.dblclick = "_onclick";
7530     }
7531     if (this.g.config.get("registerMouseHover")) {
7532       events.mousein = "_onmousein";
7533       events.mouseout = "_onmouseout";
7534     }
7535     events.mousewheel = "_onmousewheel";
7536     events.DOMMouseScroll = "_onmousewheel";
7537     this.delegateEvents(events);
7538     this.listenTo(this.g.config, "change:registerMouseHover", this.manageEvents);
7539     this.listenTo(this.g.config, "change:registerMouseClick", this.manageEvents);
7540     return this.dragStart = [];
7541   },
7542   draw: function() {
7543     var rectHeight;
7544     this.el.width = this.el.width;
7545     rectHeight = this.g.zoomer.get("rowHeight");
7546     this.ctx.globalAlpha = this.g.colorscheme.get("opacity");
7547     this.drawSeqs(function(data) {
7548       return this.drawSeq(data, this._drawRect);
7549     });
7550     this.ctx.globalAlpha = 1;
7551     this.drawSeqs(function(data) {
7552       return this.drawSeq(data, this._drawLetter);
7553     });
7554     return this.drawSeqs(this.drawSeqExtended);
7555   },
7556   drawSeqs: function(callback) {
7557     var hidden, i, rectHeight, start, y, _i, _ref, _results;
7558     rectHeight = this.g.zoomer.get("rowHeight");
7559     hidden = this.g.columns.get("hidden");
7560     start = Math.max(0, Math.abs(Math.ceil(-this.g.zoomer.get('_alignmentScrollTop') / rectHeight)));
7561     y = -Math.abs(-this.g.zoomer.get('_alignmentScrollTop') % rectHeight);
7562     _results = [];
7563     for (i = _i = start, _ref = this.model.length - 1; _i <= _ref; i = _i += 1) {
7564       if (this.model.at(i).get('hidden')) {
7565         continue;
7566       }
7567       callback.call(this, {
7568         model: this.model.at(i),
7569         y: y,
7570         hidden: hidden
7571       });
7572       y = y + rectHeight;
7573       if (y > this.el.height) {
7574         break;
7575       } else {
7576         _results.push(void 0);
7577       }
7578     }
7579     return _results;
7580   },
7581   drawSeq: function(data, callback) {
7582     var c, elWidth, j, rectHeight, rectWidth, res, seq, start, x, y, _i, _ref, _results;
7583     seq = data.model.get("seq");
7584     y = data.y;
7585     rectWidth = this.g.zoomer.get("columnWidth");
7586     rectHeight = this.g.zoomer.get("rowHeight");
7587     start = Math.max(0, Math.abs(Math.ceil(-this.g.zoomer.get('_alignmentScrollLeft') / rectWidth)));
7588     x = -Math.abs(-this.g.zoomer.get('_alignmentScrollLeft') % rectWidth);
7589     res = {
7590       rectWidth: rectWidth,
7591       rectHeight: rectHeight,
7592       y: y
7593     };
7594     elWidth = this.el.width;
7595     _results = [];
7596     for (j = _i = start, _ref = seq.length - 1; _i <= _ref; j = _i += 1) {
7597       c = seq[j];
7598       c = c.toUpperCase();
7599       res.x = x;
7600       res.c = c;
7601       if (data.hidden.indexOf(j) < 0) {
7602         callback(this, res);
7603       } else {
7604         continue;
7605       }
7606       x = x + rectWidth;
7607       if (x > elWidth) {
7608         break;
7609       } else {
7610         _results.push(void 0);
7611       }
7612     }
7613     return _results;
7614   },
7615   _drawRect: function(that, data) {
7616     var color;
7617     color = that.color[data.c];
7618     if (color != null) {
7619       that.ctx.fillStyle = color;
7620       return that.ctx.fillRect(data.x, data.y, data.rectWidth, data.rectHeight);
7621     }
7622   },
7623   _drawLetter: function(that, data) {
7624     return that.ctx.drawImage(that.cache.getFontTile(data.c, data.rectWidth, data.rectHeight), data.x, data.y, data.rectWidth, data.rectHeight);
7625   },
7626   drawSeqExtended: function(data) {
7627     var f, features, j, mNextSel, mPrevSel, rectHeight, rectWidth, selection, seq, start, starts, x, xZero, yZero, _i, _j, _len, _ref, _ref1;
7628     seq = data.model.get("seq");
7629     rectWidth = this.g.zoomer.get("columnWidth");
7630     rectHeight = this.g.zoomer.get("rowHeight");
7631     start = Math.max(0, Math.abs(Math.ceil(-this.g.zoomer.get('_alignmentScrollLeft') / rectWidth)));
7632     x = -Math.abs(-this.g.zoomer.get('_alignmentScrollLeft') % rectWidth);
7633     xZero = x - start * rectWidth;
7634     selection = this._getSelection(data.model);
7635     _ref = this._getPrevNextSelection(data.model), mPrevSel = _ref[0], mNextSel = _ref[1];
7636     features = data.model.get("features");
7637     yZero = data.y;
7638     for (j = _i = start, _ref1 = seq.length - 1; _i <= _ref1; j = _i += 1) {
7639       starts = features.startOn(j);
7640       if (data.hidden.indexOf(j) >= 0) {
7641         continue;
7642       }
7643       if (starts.length > 0) {
7644         for (_j = 0, _len = starts.length; _j < _len; _j++) {
7645           f = starts[_j];
7646           this.appendFeature({
7647             f: f,
7648             xZero: x,
7649             yZero: yZero
7650           });
7651         }
7652       }
7653       x = x + rectWidth;
7654       if (x > this.el.width) {
7655         break;
7656       }
7657     }
7658     return this._appendSelection({
7659       model: data.model,
7660       xZero: xZero,
7661       yZero: yZero,
7662       hidden: data.hidden
7663     });
7664   },
7665   render: function() {
7666     this.el.setAttribute('height', this.g.zoomer.get("alignmentHeight"));
7667     this.el.setAttribute('width', this.g.zoomer.get("alignmentWidth"));
7668     this.g.zoomer._adjustWidth(this.el, this.model);
7669     this.g.zoomer._checkScrolling(this._checkScrolling([this.g.zoomer.get('_alignmentScrollLeft'), this.g.zoomer.get('_alignmentScrollTop')]), {
7670       header: "canvasseq"
7671     });
7672     this.color = colorSelector.getColor(this.g.colorscheme.get("scheme"));
7673     this.throttledDraw();
7674     return this;
7675   },
7676   _onmousemove: function(e, reversed) {
7677     var dragEnd, i, relDist, relEnd, scaleFactor, scrollCorrected, _i, _j, _k;
7678     if (this.dragStart.length === 0) {
7679       return;
7680     }
7681     dragEnd = mouse.abs(e);
7682     relEnd = [dragEnd[0] - this.dragStart[0], dragEnd[1] - this.dragStart[1]];
7683     scaleFactor = this.g.zoomer.get("canvasEventScale");
7684     if (reversed) {
7685       scaleFactor = 3;
7686     }
7687     for (i = _i = 0; _i <= 1; i = _i += 1) {
7688       relEnd[i] = relEnd[i] * scaleFactor;
7689     }
7690     relDist = [this.dragStartScroll[0] - relEnd[0], this.dragStartScroll[1] - relEnd[1]];
7691     for (i = _j = 0; _j <= 1; i = _j += 1) {
7692       relDist[i] = Math.round(relDist[i]);
7693     }
7694     scrollCorrected = this._checkScrolling(relDist);
7695     this.g.zoomer._checkScrolling(scrollCorrected, {
7696       origin: "canvasseq"
7697     });
7698     for (i = _k = 0; _k <= 1; i = _k += 1) {
7699       if (scrollCorrected[i] !== relDist[i]) {
7700         if (scrollCorrected[i] === 0) {
7701           this.dragStart[i] = dragEnd[i];
7702           this.dragStartScroll[i] = 0;
7703         } else {
7704           this.dragStart[i] = dragEnd[i] - scrollCorrected[i];
7705         }
7706       }
7707     }
7708     this.throttledDraw();
7709     if (e.preventDefault != null) {
7710       e.preventDefault();
7711       return e.stopPropagation();
7712     }
7713   },
7714   _ontouchmove: function(e) {
7715     this._onmousemove(e.changedTouches[0], true);
7716     e.preventDefault();
7717     return e.stopPropagation();
7718   },
7719   _onmousedown: function(e) {
7720     this.dragStart = mouse.abs(e);
7721     this.dragStartScroll = [this.g.zoomer.get('_alignmentScrollLeft'), this.g.zoomer.get('_alignmentScrollTop')];
7722     jbone(document.body).on('mousemove.overmove', (function(_this) {
7723       return function(e) {
7724         return _this._onmousemove(e);
7725       };
7726     })(this));
7727     jbone(document.body).on('mouseup.overup', (function(_this) {
7728       return function() {
7729         return _this._cleanup();
7730       };
7731     })(this));
7732     return e.preventDefault();
7733   },
7734   _ontouchstart: function(e) {
7735     this.dragStart = mouse.abs(e.changedTouches[0]);
7736     this.dragStartScroll = [this.g.zoomer.get('_alignmentScrollLeft'), this.g.zoomer.get('_alignmentScrollTop')];
7737     jbone(document.body).on('touchmove.overtmove', (function(_this) {
7738       return function(e) {
7739         return _this._ontouchmove(e);
7740       };
7741     })(this));
7742     return jbone(document.body).on('touchend.overtend touchleave.overtleave touchcancel.overtcanel', (function(_this) {
7743       return function(e) {
7744         return _this._touchCleanup(e);
7745       };
7746     })(this));
7747   },
7748   _onmousewinout: function(e) {
7749     if (e.toElement === document.body.parentNode) {
7750       return this._cleanup();
7751     }
7752   },
7753   _cleanup: function() {
7754     this.dragStart = [];
7755     jbone(document.body).off('.overmove');
7756     jbone(document.body).off('.overup');
7757     return jbone(document.body).off('.overout');
7758   },
7759   _touchCleanup: function(e) {
7760     if (e.changedTouches.length > 0) {
7761       this._onmousemove(e.changedTouches[0], true);
7762     }
7763     this.dragStart = [];
7764     jbone(document.body).off('.overtmove');
7765     jbone(document.body).off('.overtend');
7766     jbone(document.body).off('.overtleave');
7767     return jbone(document.body).off('.overtcancel');
7768   },
7769   _onmousewheel: function(e) {
7770     var delta;
7771     delta = mouse.wheelDelta(e);
7772     this.g.zoomer.set('_alignmentScrollLeft', this.g.zoomer.get('_alignmentScrollLeft') + delta[0]);
7773     this.g.zoomer.set('_alignmentScrollTop', this.g.zoomer.get('_alignmentScrollTop') + delta[1]);
7774     return e.preventDefault();
7775   },
7776   _onclick: function(e) {
7777     this.g.trigger("residue:click", this._getClickPos(e));
7778     return this.throttledDraw();
7779   },
7780   _onmousein: function(e) {
7781     this.g.trigger("residue:click", this._getClickPos(e));
7782     return this.throttledDraw();
7783   },
7784   _onmouseout: function(e) {
7785     this.g.trigger("residue:click", this._getClickPos(e));
7786     return this.throttledDraw();
7787   },
7788   _getClickPos: function(e) {
7789     var coords, seqId, x, y;
7790     coords = mouse.rel(e);
7791     coords[0] += this.g.zoomer.get("_alignmentScrollLeft");
7792     coords[1] += this.g.zoomer.get("_alignmentScrollTop");
7793     x = Math.floor(coords[0] / this.g.zoomer.get("columnWidth"));
7794     y = Math.floor(coords[1] / this.g.zoomer.get("rowHeight"));
7795     x += this.g.columns.calcHiddenColumns(x);
7796     y += this.model.calcHiddenSeqs(y);
7797     x = Math.max(0, x);
7798     y = Math.max(0, y);
7799     seqId = this.model.at(y).get("id");
7800     return {
7801       seqId: seqId,
7802       rowPos: x,
7803       evt: e
7804     };
7805   },
7806   _checkScrolling: function(scrollObj) {
7807     var i, max, _i;
7808     max = [this.model.getMaxLength() * this.g.zoomer.get("columnWidth") - this.g.zoomer.get('alignmentWidth'), this.model.length * this.g.zoomer.get("rowHeight") - this.g.zoomer.get('alignmentHeight')];
7809     for (i = _i = 0; _i <= 1; i = _i += 1) {
7810       if (scrollObj[i] > max[i]) {
7811         scrollObj[i] = max[i];
7812       }
7813       if (scrollObj[i] < 0) {
7814         scrollObj[i] = 0;
7815       }
7816     }
7817     return scrollObj;
7818   },
7819   _getSelection: function(model) {
7820     var maxLen, n, rows, sel, selection, sels, _i, _j, _k, _len, _ref, _ref1, _ref2;
7821     maxLen = model.get("seq").length;
7822     selection = [];
7823     sels = this.g.selcol.getSelForRow(model.get("id"));
7824     rows = _.find(sels, function(el) {
7825       return el.get("type") === "row";
7826     });
7827     if (rows != null) {
7828       for (n = _i = 0, _ref = maxLen - 1; _i <= _ref; n = _i += 1) {
7829         selection.push(n);
7830       }
7831     } else if (sels.length > 0) {
7832       for (_j = 0, _len = sels.length; _j < _len; _j++) {
7833         sel = sels[_j];
7834         for (n = _k = _ref1 = sel.get("xStart"), _ref2 = sel.get("xEnd"); _k <= _ref2; n = _k += 1) {
7835           selection.push(n);
7836         }
7837       }
7838     }
7839     return selection;
7840   },
7841   appendFeature: function(data) {
7842     var beforeStyle, beforeWidth, boxHeight, boxWidth, f, width;
7843     f = data.f;
7844     boxWidth = this.g.zoomer.get("columnWidth");
7845     boxHeight = this.g.zoomer.get("rowHeight");
7846     width = (f.get("xEnd") - f.get("xStart")) * boxWidth;
7847     beforeWidth = this.ctx.lineWidth;
7848     this.ctx.lineWidth = 3;
7849     beforeStyle = this.ctx.strokeStyle;
7850     this.ctx.strokeStyle = f.get("fillColor");
7851     this.ctx.strokeRect(data.xZero, data.yZero, width, boxHeight);
7852     this.ctx.strokeStyle = beforeStyle;
7853     return this.ctx.lineWidth = beforeWidth;
7854   },
7855   _appendSelection: function(data) {
7856     var boxHeight, boxWidth, hiddenOffset, k, mNextSel, mPrevSel, n, selection, seq, _i, _ref, _ref1, _results;
7857     seq = data.model.get("seq");
7858     selection = this._getSelection(data.model);
7859     _ref = this._getPrevNextSelection(data.model), mPrevSel = _ref[0], mNextSel = _ref[1];
7860     boxWidth = this.g.zoomer.get("columnWidth");
7861     boxHeight = this.g.zoomer.get("rowHeight");
7862     if (selection.length === 0) {
7863       return;
7864     }
7865     hiddenOffset = 0;
7866     _results = [];
7867     for (n = _i = 0, _ref1 = seq.length - 1; _i <= _ref1; n = _i += 1) {
7868       if (data.hidden.indexOf(n) >= 0) {
7869         _results.push(hiddenOffset++);
7870       } else {
7871         k = n - hiddenOffset;
7872         if (selection.indexOf(n) >= 0 && (k === 0 || selection.indexOf(n - 1) < 0)) {
7873           _results.push(this._renderSelection({
7874             n: n,
7875             k: k,
7876             selection: selection,
7877             mPrevSel: mPrevSel,
7878             mNextSel: mNextSel,
7879             xZero: data.xZero,
7880             yZero: data.yZero,
7881             model: data.model
7882           }));
7883         } else {
7884           _results.push(void 0);
7885         }
7886       }
7887     }
7888     return _results;
7889   },
7890   _renderSelection: function(data) {
7891     var beforeStyle, beforeWidth, boxHeight, boxWidth, hidden, i, k, mNextSel, mPrevSel, n, selection, selectionLength, totalWidth, xPart, xPos, xZero, yZero, _i, _j, _ref, _ref1;
7892     xZero = data.xZero;
7893     yZero = data.yZero;
7894     n = data.n;
7895     k = data.k;
7896     selection = data.selection;
7897     mPrevSel = data.mPrevSel;
7898     mNextSel = data.mNextSel;
7899     selectionLength = 0;
7900     for (i = _i = n, _ref = data.model.get("seq").length - 1; _i <= _ref; i = _i += 1) {
7901       if (selection.indexOf(i) >= 0) {
7902         selectionLength++;
7903       } else {
7904         break;
7905       }
7906     }
7907     boxWidth = this.g.zoomer.get("columnWidth");
7908     boxHeight = this.g.zoomer.get("rowHeight");
7909     totalWidth = (boxWidth * selectionLength) + 1;
7910     hidden = this.g.columns.get('hidden');
7911     this.ctx.beginPath();
7912     beforeWidth = this.ctx.lineWidth;
7913     this.ctx.lineWidth = 3;
7914     beforeStyle = this.ctx.strokeStyle;
7915     this.ctx.strokeStyle = "#FF0000";
7916     xZero += k * boxWidth;
7917     xPart = 0;
7918     for (i = _j = 0, _ref1 = selectionLength - 1; 0 <= _ref1 ? _j <= _ref1 : _j >= _ref1; i = 0 <= _ref1 ? ++_j : --_j) {
7919       xPos = n + i;
7920       if (hidden.indexOf(xPos) >= 0) {
7921         continue;
7922       }
7923       if (!((mPrevSel != null) && mPrevSel.indexOf(xPos) >= 0)) {
7924         this.ctx.moveTo(xZero + xPart, yZero);
7925         this.ctx.lineTo(xPart + boxWidth + xZero, yZero);
7926       }
7927       if (!((mNextSel != null) && mNextSel.indexOf(xPos) >= 0)) {
7928         this.ctx.moveTo(xPart + xZero, boxHeight + yZero);
7929         this.ctx.lineTo(xPart + boxWidth + xZero, boxHeight + yZero);
7930       }
7931       xPart += boxWidth;
7932     }
7933     this.ctx.moveTo(xZero, yZero);
7934     this.ctx.lineTo(xZero, boxHeight + yZero);
7935     this.ctx.moveTo(xZero + totalWidth, yZero);
7936     this.ctx.lineTo(xZero + totalWidth, boxHeight + yZero);
7937     this.ctx.stroke();
7938     this.ctx.strokeStyle = beforeStyle;
7939     return this.ctx.lineWidth = beforeWidth;
7940   },
7941   _getPrevNextSelection: function(model) {
7942     var mNextSel, mPrevSel, modelNext, modelPrev;
7943     modelPrev = model.collection.prev(model);
7944     modelNext = model.collection.next(model);
7945     if (modelPrev != null) {
7946       mPrevSel = this._getSelection(modelPrev);
7947     }
7948     if (modelNext != null) {
7949       mNextSel = this._getSelection(modelNext);
7950     }
7951     return [mPrevSel, mNextSel];
7952   }
7953 });
7954
7955
7956
7957 },{"./CanvasCharCache":97,"backbone-childs":3,"biojs-util-colorschemes":29,"jbone":50,"mouse-pos":51,"underscore":59}],99:[function(require,module,exports){
7958 var OverviewBox, colorSelector, jbone, mouse, selection, view, _;
7959
7960 view = require("backbone-viewj");
7961
7962 mouse = require("mouse-pos");
7963
7964 selection = require("../g/selection/Selection");
7965
7966 colorSelector = require("biojs-util-colorschemes").selector;
7967
7968 jbone = require("jbone");
7969
7970 _ = require("underscore");
7971
7972 module.exports = OverviewBox = view.extend({
7973   className: "biojs_msa_overviewbox",
7974   tagName: "canvas",
7975   initialize: function(data) {
7976     this.g = data.g;
7977     this.listenTo(this.g.zoomer, "change:boxRectWidth change:boxRectHeight", this.render);
7978     this.listenTo(this.g.selcol, "add reset change", this.render);
7979     this.listenTo(this.g.columns, "change:hidden", this.render);
7980     this.listenTo(this.g.colorscheme, "change:showLowerCase", this.render);
7981     this.listenTo(this.model, "change", _.debounce(this.render, 5));
7982     this.color = colorSelector.getColor(this.g.colorscheme.get("scheme"));
7983     this.listenTo(this.g.colorscheme, "change:scheme", function() {
7984       this.color = colorSelector.getColor(this.g.colorscheme.get("scheme"));
7985       return this.render();
7986     });
7987     return this.dragStart = [];
7988   },
7989   events: {
7990     click: "_onclick",
7991     mousedown: "_onmousedown"
7992   },
7993   render: function() {
7994     var c, color, hidden, i, j, rectHeight, rectWidth, seq, showLowerCase, x, y, _i, _j, _ref, _ref1;
7995     this._createCanvas();
7996     this.el.textContent = "overview";
7997     this.ctx.fillStyle = "#999999";
7998     this.ctx.fillRect(0, 0, this.el.width, this.el.height);
7999     rectWidth = this.g.zoomer.get("boxRectWidth");
8000     rectHeight = this.g.zoomer.get("boxRectHeight");
8001     hidden = this.g.columns.get("hidden");
8002     showLowerCase = this.g.colorscheme.get("showLowerCase");
8003     y = -rectHeight;
8004     for (i = _i = 0, _ref = this.model.length - 1; _i <= _ref; i = _i += 1) {
8005       seq = this.model.at(i).get("seq");
8006       x = 0;
8007       y = y + rectHeight;
8008       if (this.model.at(i).get("hidden")) {
8009         console.log(this.model.at(i).get("hidden"));
8010         this.ctx.fillStyle = "grey";
8011         this.ctx.fillRect(0, y, seq.length * rectWidth, rectHeight);
8012         continue;
8013       }
8014       for (j = _j = 0, _ref1 = seq.length - 1; _j <= _ref1; j = _j += 1) {
8015         c = seq[j];
8016         if (showLowerCase) {
8017           c = c.toUpperCase();
8018         }
8019         color = this.color[c];
8020         if (hidden.indexOf(j) >= 0) {
8021           color = "grey";
8022         }
8023         if (color != null) {
8024           this.ctx.fillStyle = color;
8025           this.ctx.fillRect(x, y, rectWidth, rectHeight);
8026         }
8027         x = x + rectWidth;
8028       }
8029     }
8030     return this._drawSelection();
8031   },
8032   _drawSelection: function() {
8033     var i, maxHeight, pos, rectHeight, rectWidth, sel, seq, _i, _ref;
8034     if (this.dragStart.length > 0 && !this.prolongSelection) {
8035       return;
8036     }
8037     rectWidth = this.g.zoomer.get("boxRectWidth");
8038     rectHeight = this.g.zoomer.get("boxRectHeight");
8039     maxHeight = rectHeight * this.model.length;
8040     this.ctx.fillStyle = "#ffff00";
8041     this.ctx.globalAlpha = 0.9;
8042     for (i = _i = 0, _ref = this.g.selcol.length - 1; _i <= _ref; i = _i += 1) {
8043       sel = this.g.selcol.at(i);
8044       if (sel.get('type') === 'column') {
8045         this.ctx.fillRect(rectWidth * sel.get('xStart'), 0, rectWidth * (sel.get('xEnd') - sel.get('xStart') + 1), maxHeight);
8046       } else if (sel.get('type') === 'row') {
8047         seq = (this.model.filter(function(el) {
8048           return el.get('id') === sel.get('seqId');
8049         }))[0];
8050         pos = this.model.indexOf(seq);
8051         this.ctx.fillRect(0, rectHeight * pos, rectWidth * seq.get('seq').length, rectHeight);
8052       } else if (sel.get('type') === 'pos') {
8053         seq = (this.model.filter(function(el) {
8054           return el.get('id') === sel.get('seqId');
8055         }))[0];
8056         pos = this.model.indexOf(seq);
8057         this.ctx.fillRect(rectWidth * sel.get('xStart'), rectHeight * pos, rectWidth * (sel.get('xEnd') - sel.get('xStart') + 1), rectHeight);
8058       }
8059     }
8060     return this.ctx.globalAlpha = 1;
8061   },
8062   _onclick: function(evt) {
8063     return this.g.trigger("meta:click", {
8064       seqId: this.model.get("id", {
8065         evt: evt
8066       })
8067     });
8068   },
8069   _onmousemove: function(e) {
8070     var rect;
8071     if (this.dragStart.length === 0) {
8072       return;
8073     }
8074     this.render();
8075     this.ctx.fillStyle = "#ffff00";
8076     this.ctx.globalAlpha = 0.9;
8077     rect = this._calcSelection(mouse.abs(e));
8078     this.ctx.fillRect(rect[0][0], rect[1][0], rect[0][1] - rect[0][0], rect[1][1] - rect[1][0]);
8079     e.preventDefault();
8080     return e.stopPropagation();
8081   },
8082   _onmousedown: function(e) {
8083     this.dragStart = mouse.abs(e);
8084     this.dragStartRel = mouse.rel(e);
8085     if (e.ctrlKey || e.metaKey) {
8086       this.prolongSelection = true;
8087     } else {
8088       this.prolongSelection = false;
8089     }
8090     jbone(document.body).on('mousemove.overmove', (function(_this) {
8091       return function(e) {
8092         return _this._onmousemove(e);
8093       };
8094     })(this));
8095     jbone(document.body).on('mouseup.overup', (function(_this) {
8096       return function(e) {
8097         return _this._onmouseup(e);
8098       };
8099     })(this));
8100     return this.dragStart;
8101   },
8102   _calcSelection: function(dragMove) {
8103     var dragRel, i, rect, _i, _j;
8104     dragRel = [dragMove[0] - this.dragStart[0], dragMove[1] - this.dragStart[1]];
8105     for (i = _i = 0; _i <= 1; i = _i += 1) {
8106       dragRel[i] = this.dragStartRel[i] + dragRel[i];
8107     }
8108     rect = [[this.dragStartRel[0], dragRel[0]], [this.dragStartRel[1], dragRel[1]]];
8109     for (i = _j = 0; _j <= 1; i = _j += 1) {
8110       if (rect[i][1] < rect[i][0]) {
8111         rect[i] = [rect[i][1], rect[i][0]];
8112       }
8113       rect[i][0] = Math.max(rect[i][0], 0);
8114     }
8115     return rect;
8116   },
8117   _endSelection: function(dragEnd) {
8118     var args, i, j, rect, selis, _i, _j, _k, _ref, _ref1;
8119     jbone(document.body).off('.overmove');
8120     jbone(document.body).off('.overup');
8121     if (this.dragStart.length === 0) {
8122       return;
8123     }
8124     rect = this._calcSelection(dragEnd);
8125     for (i = _i = 0; _i <= 1; i = ++_i) {
8126       rect[0][i] = Math.floor(rect[0][i] / this.g.zoomer.get("boxRectWidth"));
8127     }
8128     for (i = _j = 0; _j <= 1; i = ++_j) {
8129       rect[1][i] = Math.floor(rect[1][i] / this.g.zoomer.get("boxRectHeight"));
8130     }
8131     rect[0][1] = Math.min(this.model.getMaxLength() - 1, rect[0][1]);
8132     rect[1][1] = Math.min(this.model.length - 1, rect[1][1]);
8133     selis = [];
8134     for (j = _k = _ref = rect[1][0], _ref1 = rect[1][1]; _k <= _ref1; j = _k += 1) {
8135       args = {
8136         seqId: this.model.at(j).get('id'),
8137         xStart: rect[0][0],
8138         xEnd: rect[0][1]
8139       };
8140       selis.push(new selection.possel(args));
8141     }
8142     this.dragStart = [];
8143     if (this.prolongSelection) {
8144       this.g.selcol.add(selis);
8145     } else {
8146       this.g.selcol.reset(selis);
8147     }
8148     this.g.zoomer.setLeftOffset(rect[0][0]);
8149     return this.g.zoomer.setTopOffset(rect[1][0]);
8150   },
8151   _onmouseup: function(e) {
8152     return this._endSelection(mouse.abs(e));
8153   },
8154   _onmouseout: function(e) {
8155     return this._endSelection(mouse.abs(e));
8156   },
8157   _createCanvas: function() {
8158     var rectHeight, rectWidth;
8159     rectWidth = this.g.zoomer.get("boxRectWidth");
8160     rectHeight = this.g.zoomer.get("boxRectHeight");
8161     this.el.height = this.model.length * rectHeight;
8162     this.el.width = this.model.getMaxLength() * rectWidth;
8163     this.ctx = this.el.getContext("2d");
8164     this.el.style.overflow = "scroll";
8165     return this.el.style.cursor = "crosshair";
8166   }
8167 });
8168
8169
8170
8171 },{"../g/selection/Selection":67,"backbone-viewj":10,"biojs-util-colorschemes":29,"jbone":50,"mouse-pos":51,"underscore":59}],100:[function(require,module,exports){
8172 var AlignmentBody, HeaderBlock, OverviewBox, boneView, identityCalc, _;
8173
8174 boneView = require("backbone-childs");
8175
8176 AlignmentBody = require("./AlignmentBody");
8177
8178 HeaderBlock = require("./header/HeaderBlock");
8179
8180 OverviewBox = require("./OverviewBox");
8181
8182 identityCalc = require("../algo/identityCalc");
8183
8184 _ = require('underscore');
8185
8186 module.exports = boneView.extend({
8187   initialize: function(data) {
8188     this.g = data.g;
8189     this.draw();
8190     this.listenTo(this.model, "reset", function() {
8191       this.isNotDirty = false;
8192       return this.rerender();
8193     });
8194     this.listenTo(this.model, "change:hidden", _.debounce(this.rerender, 10));
8195     this.listenTo(this.model, "sort", this.rerender);
8196     this.listenTo(this.model, "add", function() {
8197       return console.log("seq add");
8198     });
8199     this.listenTo(this.g.vis, "change:sequences", this.rerender);
8200     this.listenTo(this.g.vis, "change:overviewbox", this.rerender);
8201     return this.listenTo(this.g.visorder, "change", this.rerender);
8202   },
8203   draw: function() {
8204     var body, consensus, headerblock, overviewbox;
8205     this.removeViews();
8206     if (!this.isNotDirty) {
8207       consensus = this.g.consensus.getConsensus(this.model);
8208       identityCalc(this.model, consensus);
8209       this.isNotDirty = true;
8210     }
8211     if (this.g.vis.get("overviewbox")) {
8212       overviewbox = new OverviewBox({
8213         model: this.model,
8214         g: this.g
8215       });
8216       overviewbox.ordering = this.g.visorder.get('overviewBox');
8217       this.addView("overviewbox", overviewbox);
8218     }
8219     if (true) {
8220       headerblock = new HeaderBlock({
8221         model: this.model,
8222         g: this.g
8223       });
8224       headerblock.ordering = this.g.visorder.get('headerBox');
8225       this.addView("headerblock", headerblock);
8226     }
8227     body = new AlignmentBody({
8228       model: this.model,
8229       g: this.g
8230     });
8231     body.ordering = this.g.visorder.get('alignmentBody');
8232     return this.addView("body", body);
8233   },
8234   render: function() {
8235     this.renderSubviews();
8236     this.el.className = "biojs_msa_stage";
8237     return this;
8238   },
8239   rerender: function() {
8240     this.draw();
8241     return this.render();
8242   }
8243 });
8244
8245
8246
8247 },{"../algo/identityCalc":61,"./AlignmentBody":96,"./OverviewBox":99,"./header/HeaderBlock":102,"backbone-childs":3,"underscore":59}],101:[function(require,module,exports){
8248 var ConservationView, dom, svg, view;
8249
8250 view = require("backbone-viewj");
8251
8252 dom = require("dom-helper");
8253
8254 svg = require("../../utils/svg");
8255
8256 ConservationView = view.extend({
8257   className: "biojs_msa_conserv",
8258   initialize: function(data) {
8259     this.g = data.g;
8260     this.listenTo(this.g.zoomer, "change:stepSize change:labelWidth change:columnWidth", this.render);
8261     this.listenTo(this.g.vis, "change:labels change:metacell", this.render);
8262     this.listenTo(this.g.columns, "change:scaling", this.render);
8263     this.listenTo(this.model, "reset", this.render);
8264     return this.manageEvents();
8265   },
8266   render: function() {
8267     var avgHeight, cellWidth, height, hidden, i, maxHeight, n, nMax, rect, s, stepSize, width, x, _i, _ref;
8268     this.g.columns.calcConservation(this.model);
8269     dom.removeAllChilds(this.el);
8270     nMax = this.model.getMaxLength();
8271     cellWidth = this.g.zoomer.get("columnWidth");
8272     maxHeight = 20;
8273     width = cellWidth * (nMax - this.g.columns.get('hidden').length);
8274     console.log(this.g.columns.get('hidden'));
8275     s = svg.base({
8276       height: maxHeight,
8277       width: width
8278     });
8279     s.style.display = "inline-block";
8280     s.style.cursor = "pointer";
8281     stepSize = this.g.zoomer.get("stepSize");
8282     hidden = this.g.columns.get("hidden");
8283     x = 0;
8284     n = 0;
8285     while (n < nMax) {
8286       if (hidden.indexOf(n) >= 0) {
8287         n += stepSize;
8288         continue;
8289       }
8290       width = cellWidth * stepSize;
8291       avgHeight = 0;
8292       for (i = _i = 0, _ref = stepSize - 1; 0 <= _ref ? _i <= _ref : _i >= _ref; i = 0 <= _ref ? ++_i : --_i) {
8293         avgHeight += this.g.columns.get("conserv")[n];
8294       }
8295       height = maxHeight * (avgHeight / stepSize);
8296       rect = svg.rect({
8297         x: x,
8298         y: maxHeight - height,
8299         width: width - cellWidth / 4,
8300         height: height,
8301         style: "stroke:red;stroke-width:1;"
8302       });
8303       rect.rowPos = n;
8304       s.appendChild(rect);
8305       x += width;
8306       n += stepSize;
8307     }
8308     this.el.appendChild(s);
8309     return this;
8310   },
8311   _onclick: function(evt) {
8312     var i, rowPos, stepSize, _i, _ref, _results;
8313     rowPos = evt.target.rowPos;
8314     stepSize = this.g.zoomer.get("stepSize");
8315     _results = [];
8316     for (i = _i = 0, _ref = stepSize - 1; _i <= _ref; i = _i += 1) {
8317       _results.push(this.g.trigger("bar:click", {
8318         rowPos: rowPos + i,
8319         evt: evt
8320       }));
8321     }
8322     return _results;
8323   },
8324   manageEvents: function() {
8325     var events;
8326     events = {};
8327     if (this.g.config.get("registerMouseClicks")) {
8328       events.click = "_onclick";
8329     }
8330     if (this.g.config.get("registerMouseHover")) {
8331       events.mousein = "_onmousein";
8332       events.mouseout = "_onmouseout";
8333     }
8334     this.delegateEvents(events);
8335     this.listenTo(this.g.config, "change:registerMouseHover", this.manageEvents);
8336     return this.listenTo(this.g.config, "change:registerMouseClick", this.manageEvents);
8337   },
8338   _onmousein: function(evt) {
8339     var rowPos;
8340     rowPos = this.g.zoomer.get("stepSize" * evt.rowPos);
8341     return this.g.trigger("bar:mousein", {
8342       rowPos: rowPos,
8343       evt: evt
8344     });
8345   },
8346   _onmouseout: function(evt) {
8347     var rowPos;
8348     rowPos = this.g.zoomer.get("stepSize" * evt.rowPos);
8349     return this.g.trigger("bar:mouseout", {
8350       rowPos: rowPos,
8351       evt: evt
8352     });
8353   }
8354 });
8355
8356 module.exports = ConservationView;
8357
8358
8359
8360 },{"../../utils/svg":95,"backbone-viewj":10,"dom-helper":49}],102:[function(require,module,exports){
8361 var ConservationView, MarkerView, boneView, identityCalc, _;
8362
8363 MarkerView = require("./MarkerView");
8364
8365 ConservationView = require("./ConservationView");
8366
8367 identityCalc = require("../../algo/identityCalc");
8368
8369 boneView = require("backbone-childs");
8370
8371 _ = require('underscore');
8372
8373 module.exports = boneView.extend({
8374   initialize: function(data) {
8375     this.g = data.g;
8376     this.blockEvents = false;
8377     this.listenTo(this.g.vis, "change:markers change:conserv", function() {
8378       this.draw();
8379       return this.render();
8380     });
8381     this.listenTo(this.g.vis, "change", this._setSpacer);
8382     this.listenTo(this.g.zoomer, "change:alignmentWidth", function() {
8383       return this._adjustWidth();
8384     });
8385     this.listenTo(this.g.zoomer, "change:_alignmentScrollLeft", this._adjustScrollingLeft);
8386     this.listenTo(this.g.columns, "change:hidden", function() {
8387       this.draw();
8388       return this.render();
8389     });
8390     this.draw();
8391     this._onscroll = this._sendScrollEvent;
8392     return this.g.vis.once('change:loaded', this._adjustScrollingLeft, this);
8393   },
8394   events: {
8395     "scroll": "_onscroll"
8396   },
8397   draw: function() {
8398     var consensus, conserv, marker;
8399     this.removeViews();
8400     if (!this.isNotDirty) {
8401       consensus = this.g.consensus.getConsensus(this.model);
8402       identityCalc(this.model, consensus);
8403       this.isNotDirty = true;
8404     }
8405     if (this.g.vis.get("conserv")) {
8406       conserv = new ConservationView({
8407         model: this.model,
8408         g: this.g
8409       });
8410       conserv.ordering = -20;
8411       this.addView("conserv", conserv);
8412     }
8413     if (this.g.vis.get("markers")) {
8414       marker = new MarkerView({
8415         model: this.model,
8416         g: this.g
8417       });
8418       marker.ordering = -10;
8419       return this.addView("marker", marker);
8420     }
8421   },
8422   render: function() {
8423     this.renderSubviews();
8424     this._setSpacer();
8425     this.el.className = "biojs_msa_header";
8426     this.el.style.overflowX = "auto";
8427     this._adjustWidth();
8428     this._adjustScrollingLeft();
8429     return this;
8430   },
8431   _sendScrollEvent: function() {
8432     if (!this.blockEvents) {
8433       this.g.zoomer.set("_alignmentScrollLeft", this.el.scrollLeft, {
8434         origin: "header"
8435       });
8436     }
8437     return this.blockEvents = false;
8438   },
8439   _adjustScrollingLeft: function(model, value, options) {
8440     var scrollLeft;
8441     if (((options != null ? options.origin : void 0) == null) || options.origin !== "header") {
8442       scrollLeft = this.g.zoomer.get("_alignmentScrollLeft");
8443       this.blockEvents = true;
8444       return this.el.scrollLeft = scrollLeft;
8445     }
8446   },
8447   _setSpacer: function() {
8448     return this.el.style.marginLeft = this._getLabelWidth() + "px";
8449   },
8450   _getLabelWidth: function() {
8451     var paddingLeft;
8452     paddingLeft = 0;
8453     if (this.g.vis.get("labels")) {
8454       paddingLeft += this.g.zoomer.get("labelWidth");
8455     }
8456     if (this.g.vis.get("metacell")) {
8457       paddingLeft += this.g.zoomer.get("metaWidth");
8458     }
8459     return paddingLeft;
8460   },
8461   _adjustWidth: function() {
8462     return this.el.style.width = this.g.zoomer.get("alignmentWidth") + "px";
8463   }
8464 });
8465
8466
8467
8468 },{"../../algo/identityCalc":61,"./ConservationView":101,"./MarkerView":103,"backbone-childs":3,"underscore":59}],103:[function(require,module,exports){
8469 var HeaderView, dom, jbone, svg, view;
8470
8471 view = require("backbone-viewj");
8472
8473 dom = require("dom-helper");
8474
8475 svg = require("../../utils/svg");
8476
8477 jbone = require("jbone");
8478
8479 HeaderView = view.extend({
8480   className: "biojs_msa_marker",
8481   initialize: function(data) {
8482     this.g = data.g;
8483     this.listenTo(this.g.zoomer, "change:stepSize change:labelWidth change:columnWidth change:markerStepSize change:markerFontsize", this.render);
8484     this.listenTo(this.g.vis, "change:labels change:metacell", this.render);
8485     return this.manageEvents();
8486   },
8487   render: function() {
8488     var cellWidth, container, hidden, n, nMax, span, stepSize;
8489     dom.removeAllChilds(this.el);
8490     this.el.style.fontSize = this.g.zoomer.get("markerFontsize");
8491     container = document.createElement("span");
8492     n = 0;
8493     cellWidth = this.g.zoomer.get("columnWidth");
8494     nMax = this.model.getMaxLength();
8495     stepSize = this.g.zoomer.get("stepSize");
8496     hidden = this.g.columns.get("hidden");
8497     while (n < nMax) {
8498       if (hidden.indexOf(n) >= 0) {
8499         this.markerHidden(span, n, stepSize);
8500         n += stepSize;
8501         continue;
8502       }
8503       span = document.createElement("span");
8504       span.style.width = (cellWidth * stepSize) + "px";
8505       span.style.display = "inline-block";
8506       if ((n + 1) % this.g.zoomer.get('markerStepSize') === 0) {
8507         span.textContent = n + 1;
8508       } else {
8509         span.textContent = ".";
8510       }
8511       span.rowPos = n;
8512       n += stepSize;
8513       container.appendChild(span);
8514     }
8515     this.el.appendChild(container);
8516     return this;
8517   },
8518   markerHidden: function(span, n, stepSize) {
8519     var hidden, index, j, length, min, nMax, prevHidden, s, triangle, _i, _j;
8520     hidden = this.g.columns.get("hidden").slice(0);
8521     min = Math.max(0, n - stepSize);
8522     prevHidden = true;
8523     for (j = _i = min; _i <= n; j = _i += 1) {
8524       prevHidden &= hidden.indexOf(j) >= 0;
8525     }
8526     if (prevHidden) {
8527       return;
8528     }
8529     nMax = this.model.getMaxLength();
8530     length = 0;
8531     index = -1;
8532     for (n = _j = n; _j <= nMax; n = _j += 1) {
8533       if (!(index >= 0)) {
8534         index = hidden.indexOf(n);
8535       }
8536       if (hidden.indexOf(n) >= 0) {
8537         length++;
8538       } else {
8539         break;
8540       }
8541     }
8542     s = svg.base({
8543       height: 10,
8544       width: 10
8545     });
8546     s.style.position = "relative";
8547     triangle = svg.polygon({
8548       points: "0,0 5,5 10,0",
8549       style: "fill:lime;stroke:purple;stroke-width:1"
8550     });
8551     jbone(triangle).on("click", (function(_this) {
8552       return function(evt) {
8553         hidden.splice(index, length);
8554         return _this.g.columns.set("hidden", hidden);
8555       };
8556     })(this));
8557     s.appendChild(triangle);
8558     span.appendChild(s);
8559     return s;
8560   },
8561   manageEvents: function() {
8562     var events;
8563     events = {};
8564     if (this.g.config.get("registerMouseClicks")) {
8565       events.click = "_onclick";
8566     }
8567     if (this.g.config.get("registerMouseHover")) {
8568       events.mousein = "_onmousein";
8569       events.mouseout = "_onmouseout";
8570     }
8571     this.delegateEvents(events);
8572     this.listenTo(this.g.config, "change:registerMouseHover", this.manageEvents);
8573     return this.listenTo(this.g.config, "change:registerMouseClick", this.manageEvents);
8574   },
8575   _onclick: function(evt) {
8576     var rowPos, stepSize;
8577     rowPos = evt.target.rowPos;
8578     stepSize = this.g.zoomer.get("stepSize");
8579     return this.g.trigger("column:click", {
8580       rowPos: rowPos,
8581       stepSize: stepSize,
8582       evt: evt
8583     });
8584   },
8585   _onmousein: function(evt) {
8586     var rowPos, stepSize;
8587     rowPos = this.g.zoomer.get("stepSize" * evt.rowPos);
8588     stepSize = this.g.zoomer.get("stepSize");
8589     return this.g.trigger("column:mousein", {
8590       rowPos: rowPos,
8591       stepSize: stepSize,
8592       evt: evt
8593     });
8594   },
8595   _onmouseout: function(evt) {
8596     var rowPos, stepSize;
8597     rowPos = this.g.zoomer.get("stepSize" * evt.rowPos);
8598     stepSize = this.g.zoomer.get("stepSize");
8599     return this.g.trigger("column:mouseout", {
8600       rowPos: rowPos,
8601       stepSize: stepSize,
8602       evt: evt
8603     });
8604   }
8605 });
8606
8607 module.exports = HeaderView;
8608
8609
8610
8611 },{"../../utils/svg":95,"backbone-viewj":10,"dom-helper":49,"jbone":50}],104:[function(require,module,exports){
8612 var LabelRowView, boneView;
8613
8614 LabelRowView = require("./LabelRowView");
8615
8616 boneView = require("backbone-childs");
8617
8618 module.exports = boneView.extend({
8619   initialize: function(data) {
8620     this.g = data.g;
8621     this.draw();
8622     this.listenTo(this.g.zoomer, "change:_alignmentScrollTop", this._adjustScrollingTop);
8623     return this.g.vis.once('change:loaded', this._adjustScrollingTop, this);
8624   },
8625   draw: function() {
8626     var i, view, _i, _ref, _results;
8627     this.removeViews();
8628     _results = [];
8629     for (i = _i = 0, _ref = this.model.length - 1; _i <= _ref; i = _i += 1) {
8630       if (this.model.at(i).get('hidden')) {
8631         continue;
8632       }
8633       view = new LabelRowView({
8634         model: this.model.at(i),
8635         g: this.g
8636       });
8637       view.ordering = i;
8638       _results.push(this.addView("row_" + i, view));
8639     }
8640     return _results;
8641   },
8642   events: {
8643     "scroll": "_sendScrollEvent"
8644   },
8645   _sendScrollEvent: function() {
8646     return this.g.zoomer.set("_alignmentScrollTop", this.el.scrollTop, {
8647       origin: "label"
8648     });
8649   },
8650   _adjustScrollingTop: function() {
8651     return this.el.scrollTop = this.g.zoomer.get("_alignmentScrollTop");
8652   },
8653   render: function() {
8654     this.renderSubviews();
8655     this.el.className = "biojs_msa_labelblock";
8656     this.el.style.display = "inline-block";
8657     this.el.style.verticalAlign = "top";
8658     this.el.style.height = this.g.zoomer.get("alignmentHeight") + "px";
8659     this.el.style.overflowY = "auto";
8660     this.el.style.overflowX = "hidden";
8661     this.el.style.fontSize = "" + (this.g.zoomer.get("labelFontsize"));
8662     this.el.style.lineHeight = "" + (this.g.zoomer.get("labelLineHeight"));
8663     return this;
8664   }
8665 });
8666
8667
8668
8669 },{"./LabelRowView":105,"backbone-childs":3}],105:[function(require,module,exports){
8670 var LabelView, MetaView, boneView;
8671
8672 boneView = require("backbone-childs");
8673
8674 LabelView = require("./LabelView");
8675
8676 MetaView = require("./MetaView");
8677
8678 module.exports = boneView.extend({
8679   initialize: function(data) {
8680     this.g = data.g;
8681     this.draw();
8682     this.listenTo(this.g.vis, "change:labels", this.drawR);
8683     return this.listenTo(this.g.vis, "change:metacell", this.drawR);
8684   },
8685   draw: function() {
8686     this.removeViews();
8687     if (this.g.vis.get("labels")) {
8688       this.addView("labels", new LabelView({
8689         model: this.model,
8690         g: this.g
8691       }));
8692     }
8693     if (this.g.vis.get("metacell")) {
8694       return this.addView("metacell", new MetaView({
8695         model: this.model,
8696         g: this.g
8697       }));
8698     }
8699   },
8700   drawR: function() {
8701     this.draw();
8702     return this.render();
8703   },
8704   render: function() {
8705     this.renderSubviews();
8706     this.el.setAttribute("class", "biojs_msa_labelrow");
8707     this.el.style.height = this.g.zoomer.get("rowHeight");
8708     return this;
8709   }
8710 });
8711
8712
8713
8714 },{"./LabelView":106,"./MetaView":107,"backbone-childs":3}],106:[function(require,module,exports){
8715 var LabelView, dom, view;
8716
8717 view = require("backbone-viewj");
8718
8719 dom = require("dom-helper");
8720
8721 LabelView = view.extend({
8722   initialize: function(data) {
8723     this.seq = data.seq;
8724     this.g = data.g;
8725     return this.manageEvents();
8726   },
8727   manageEvents: function() {
8728     var events;
8729     events = {};
8730     if (this.g.config.get("registerMouseClicks")) {
8731       events.click = "_onclick";
8732     }
8733     if (this.g.config.get("registerMouseHover")) {
8734       events.mousein = "_onmousein";
8735       events.mouseout = "_onmouseout";
8736     }
8737     this.delegateEvents(events);
8738     this.listenTo(this.g.config, "change:registerMouseHover", this.manageEvents);
8739     this.listenTo(this.g.config, "change:registerMouseClick", this.manageEvents);
8740     this.listenTo(this.g.vis, "change:labelName", this.render);
8741     this.listenTo(this.g.vis, "change:labelId", this.render);
8742     this.listenTo(this.g.vis, "change:labelPartition", this.render);
8743     return this.listenTo(this.g.vis, "change:labelCheckbox", this.render);
8744   },
8745   render: function() {
8746     var checkBox, id, name, part;
8747     dom.removeAllChilds(this.el);
8748     this.el.style.width = "" + (this.g.zoomer.get("labelWidth")) + "px";
8749     this.el.style.height = "" + (this.g.zoomer.get("rowHeight")) + "px";
8750     this.el.setAttribute("class", "biojs_msa_labels");
8751     if (this.g.vis.get("labelCheckbox")) {
8752       checkBox = document.createElement("input");
8753       checkBox.setAttribute("type", "checkbox");
8754       checkBox.value = this.model.get('id');
8755       checkBox.name = "seq";
8756       this.el.appendChild(checkBox);
8757     }
8758     if (this.g.vis.get("labelId")) {
8759       id = document.createElement("span");
8760       id.textContent = this.model.get("id");
8761       id.style.width = this.g.zoomer.get("labelIdLength");
8762       id.style.display = "inline-block";
8763       this.el.appendChild(id);
8764     }
8765     if (this.g.vis.get("labelPartition")) {
8766       part = document.createElement("span");
8767       part.style.width = 15;
8768       part.textContent = this.model.get("partition");
8769       part.style.display = "inline-block";
8770       this.el.appendChild(id);
8771       this.el.appendChild(part);
8772     }
8773     if (this.g.vis.get("labelName")) {
8774       name = document.createElement("span");
8775       name.textContent = this.model.get("name");
8776       this.el.appendChild(name);
8777     }
8778     this.el.style.overflow = scroll;
8779     return this;
8780   },
8781   _onclick: function(evt) {
8782     var seqId;
8783     seqId = this.model.get("id");
8784     return this.g.trigger("row:click", {
8785       seqId: seqId,
8786       evt: evt
8787     });
8788   },
8789   _onmousein: function(evt) {
8790     var seqId;
8791     seqId = this.model.get("id");
8792     return this.g.trigger("row:mouseout", {
8793       seqId: seqId,
8794       evt: evt
8795     });
8796   },
8797   _onmouseout: function(evt) {
8798     var seqId;
8799     seqId = this.model.get("id");
8800     return this.g.trigger("row:mouseout", {
8801       seqId: seqId,
8802       evt: evt
8803     });
8804   }
8805 });
8806
8807 module.exports = LabelView;
8808
8809
8810
8811 },{"backbone-viewj":10,"dom-helper":49}],107:[function(require,module,exports){
8812 var MenuBuilder, MetaView, dom, view, _;
8813
8814 view = require("backbone-viewj");
8815
8816 MenuBuilder = require("../../menu/menubuilder");
8817
8818 _ = require('underscore');
8819
8820 dom = require("dom-helper");
8821
8822 module.exports = MetaView = view.extend({
8823   className: "biojs_msa_metaview",
8824   initialize: function(data) {
8825     return this.g = data.g;
8826   },
8827   events: {
8828     click: "_onclick",
8829     mousein: "_onmousein",
8830     mouseout: "_onmouseout"
8831   },
8832   render: function() {
8833     var gapSpan, gaps, ident, identSpan, menu, seq, width;
8834     dom.removeAllChilds(this.el);
8835     this.el.style.display = "inline-block";
8836     width = this.g.zoomer.get("metaWidth");
8837     this.el.style.width = width - 5;
8838     this.el.style.paddingRight = 5;
8839     seq = this.model.get('seq');
8840     gaps = _.reduce(seq, (function(memo, c) {
8841       if (c === '-') {
8842         memo++;
8843       }
8844       return memo;
8845     }), 0);
8846     gaps = (gaps / seq.length).toFixed(1);
8847     gapSpan = document.createElement('span');
8848     gapSpan.textContent = gaps;
8849     gapSpan.style.display = "inline-block";
8850     gapSpan.style.width = 35;
8851     this.el.appendChild(gapSpan);
8852     ident = this.model.get('identity');
8853     identSpan = document.createElement('span');
8854     identSpan.textContent = ident.toFixed(2);
8855     identSpan.style.display = "inline-block";
8856     identSpan.style.width = 40;
8857     this.el.appendChild(identSpan);
8858     menu = new MenuBuilder("↗");
8859     menu.addNode("Uniprot", (function(_this) {
8860       return function(e) {
8861         return window.open("http://beta.uniprot.org/uniprot/Q7T2N8");
8862       };
8863     })(this));
8864     this.el.appendChild(menu.buildDOM());
8865     this.el.width = 10;
8866     this.el.style.height = "" + (this.g.zoomer.get("rowHeight")) + "px";
8867     return this.el.style.cursor = "pointer";
8868   },
8869   _onclick: function(evt) {
8870     return this.g.trigger("meta:click", {
8871       seqId: this.model.get("id", {
8872         evt: evt
8873       })
8874     });
8875   },
8876   _onmousein: function(evt) {
8877     return this.g.trigger("meta:mousein", {
8878       seqId: this.model.get("id", {
8879         evt: evt
8880       })
8881     });
8882   },
8883   _onmouseout: function(evt) {
8884     return this.g.trigger("meta:mouseout", {
8885       seqId: this.model.get("id", {
8886         evt: evt
8887       })
8888     });
8889   }
8890 });
8891
8892
8893
8894 },{"../../menu/menubuilder":75,"backbone-viewj":10,"dom-helper":49,"underscore":59}],"biojs-io-clustal":[function(require,module,exports){
8895 // Generated by CoffeeScript 1.8.0
8896 var Clustal, GenericReader, Seq, Str,
8897   __hasProp = {}.hasOwnProperty,
8898   __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
8899
8900 Str = require("./strings");
8901
8902 GenericReader = require("./generic_reader");
8903
8904 Seq = require("./seq");
8905
8906 module.exports = Clustal = (function(_super) {
8907   __extends(Clustal, _super);
8908
8909   function Clustal() {
8910     return Clustal.__super__.constructor.apply(this, arguments);
8911   }
8912
8913   Clustal.parse = function(text) {
8914     var blockstate, k, label, line, lines, match, regex, seqCounter, seqs, sequence;
8915     seqs = [];
8916     if (Object.prototype.toString.call(text) === '[object Array]') {
8917       lines = text;
8918     } else {
8919       lines = text.split("\n");
8920     }
8921     if (lines[0].slice(0, 6) === !"CLUSTAL") {
8922       throw new Error("Invalid CLUSTAL Header");
8923     }
8924     k = 0;
8925     blockstate = 1;
8926     seqCounter = 0;
8927     while (k < lines.length) {
8928       k++;
8929       line = lines[k];
8930       if ((line == null) || line.length === 0) {
8931         blockstate = 1;
8932         continue;
8933       }
8934       if (line.trim().length === 0) {
8935         blockstate = 1;
8936         continue;
8937       } else {
8938         if (Str.contains(line, "*")) {
8939           continue;
8940         }
8941         if (blockstate === 1) {
8942           seqCounter = 0;
8943           blockstate = 0;
8944         }
8945         regex = /^(?:\s*)(\S+)(?:\s+)(\S+)(?:\s*)(\d*)(?:\s*|$)/g;
8946         match = regex.exec(line);
8947         if (match != null) {
8948           label = match[1];
8949           sequence = match[2];
8950           if (seqCounter >= seqs.length) {
8951             seqs.push(new Seq(sequence, label, seqCounter));
8952           } else {
8953             seqs[seqCounter].seq += sequence;
8954           }
8955           seqCounter++;
8956         } else {
8957           console.log(line);
8958         }
8959       }
8960     }
8961     return seqs;
8962   };
8963
8964   return Clustal;
8965
8966 })(GenericReader);
8967
8968 },{"./generic_reader":17,"./seq":18,"./strings":19}],"biojs-io-fasta":[function(require,module,exports){
8969 // Generated by CoffeeScript 1.8.0
8970 module.exports.parse = require("./parser");
8971
8972 module.exports.writer = require("./writer");
8973
8974 },{"./parser":21,"./writer":24}],"biojs-vis-msa":[function(require,module,exports){
8975 if (typeof biojs === 'undefined') {
8976   biojs = {};
8977 }
8978 if (typeof biojs.vis === 'undefined') {
8979   biojs.vis = {};
8980 }
8981 // use two namespaces
8982 window.msa = biojs.vis.msa = module.exports = require('./index');
8983
8984 // TODO: how should this be bundled
8985
8986 if (typeof biojs.io === 'undefined') {
8987   biojs.io = {};
8988 }
8989 // just bundle the two parsers
8990 window.biojs.io.fasta = require("biojs-io-fasta");
8991 window.biojs.io.clustal = require("biojs-io-clustal");
8992 window.biojs.xhr = require("nets");
8993
8994 // simulate standalone flag
8995 window.biojsVisMsa = window.msa;
8996
8997 require('./build/msa.css');
8998
8999 },{"./build/msa.css":1,"./index":2,"biojs-io-clustal":undefined,"biojs-io-fasta":undefined,"nets":undefined}],"nets":[function(require,module,exports){
9000 var req = require('request')
9001
9002 module.exports = Nets
9003
9004 function Nets(uri, opts, cb) {
9005   req(uri, opts,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Aoa2V5IGluIG9iaikge1xuICAgICAgICAgIGlmIChvYmouaGFzT3duUHJvcGVydHkoa2V5KSkge1xuICAgICAgICAgICAga2V5c1trZXlzLmxlbmd0aF0gPSBrZXk7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBrZXlzO1xuICAgICAgfSxcblxuICAgICAgdW5pcXVlSWQ6IGZ1bmN0aW9uKHByZWZpeCkge1xuICAgICAgICB2YXIgaWQgPSArK2lkQ291bnRlciArICcnO1xuICAgICAgICByZXR1cm4gcHJlZml4ID8gcHJlZml4ICsgaWQgOiBpZDtcbiAgICAgIH0sXG5cbiAgICAgIGhhczogZnVuY3Rpb24ob2JqLCBrZXkpIHtcbiAgICAgICAgcmV0dXJuIGhhc093blByb3BlcnR5LmNhbGwob2JqLCBrZXkpO1xuICAgICAgfSxcblxuICAgICAgZWFjaDogZnVuY3Rpb24ob2JqLCBpdGVyYXRvciwgY29udGV4dCkge1xuICAgICAgICBpZiAob2JqID09IG51bGwpIHJldHVybjtcbiAgICAgICAgaWYgKG5hdGl2ZUZvckVhY2ggJiYgb2JqLmZvckVhY2ggPT09IG5hdGl2ZUZvckVhY2gpIHtcbiAgICAgICAgICBvYmouZm9yRWFjaChpdGVyYXRvciwgY29udGV4dCk7XG4gICAgICAgIH0gZWxzZSBpZiAob2JqLmxlbmd0aCA9PT0gK29iai5sZW5ndGgpIHtcbiAgICAgICAgICBmb3IgKHZhciBpID0gMCwgbCA9IG9iai5sZW5ndGg7IGkgPCBsOyBpKyspIHtcbiAgICAgICAgICAgIGlmIChpdGVyYXRvci5jYWxsKGNvbnRleHQsIG9ialtpXSwgaSwgb2JqKSA9PT0gYnJlYWtlcikgcmV0dXJuO1xuICAgICAgICAgIH1cbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICBmb3IgKHZhciBrZXkgaW4gb2JqKSB7XG4gICAgICAgICAgICBpZiAodGhpcy5oYXMob2JqLCBrZXkpKSB7XG4gICAgICAgICAgICAgI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bbmFtZV0gOiBfLmtleXModGhpcy5fZXZlbnRzKTtcbiAgICAgIGZvciAoaSA9IDAsIGwgPSBuYW1lcy5sZW5ndGg7IGkgPCBsOyBpKyspIHtcbiAgICAgICAgbmFtZSA9IG5hbWVzW2ldO1xuICAgICAgICBpZiAoZXZlbnRzID0gdGhpcy5fZXZlbnRzW25hbWVdKSB7XG4gICAgICAgICAgdGhpcy5fZXZlbnRzW25hbWVdID0gcmV0YWluID0gW107XG4gICAgICAgICAgaWYgKGNhbGxiYWNrIHx8IGNvbnRleHQpIHtcbiAgICAgICAgICAgIGZvciAoaiA9IDAsIGsgPSBldmVudHMubGVuZ3RoOyBqIDwgazsgaisrKSB7XG4gICAgICAgICAgICAgIGV2ID0gZXZlbnRzW2pdO1xuICAgICAgICAgICAgICBpZiAoKGNhbGxiYWNrICYmIGNhbGxiYWNrICE9PSBldi5jYWxsYmFjayAmJiBjYWxsYmFjayAhPT0gZXYuY2FsbGJhY2suX2NhbGxiYWNrKSB8fFxuICAgICAgICAgICAgICAgICAgKGNvbnRleHQgJiYgY29udGV4dCAhPT0gZXYuY29udGV4dCkpIHtcbiAgICAgICAgICAgICAgICByZXRhaW4ucHVzaChldik7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgICAgaWYgKCFyZXRhaW4ubGVuZ3RoKSBkZWxldGUgdGhpcy5fZXZlbnRzW25hbWVdO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIHJldHVybiB0aGlzO1xuICAgIH0sXG5cbiAgICAvLyBUcmlnZ2VyIG9uZSBvciBtYW55IGV2ZW50cywgZmlyaW5nIGFsbCBib3VuZCBjYWxsYmFja3MuIENhbGxiYWNrcyBhcmVcbiAgICAvLyBwYXNzZWQgdGhlIHNhbWUgYXJndW1lbnRzIGFzIGB0cmlnZ2VyYCBpcywgYXBhcnQgZnJvbSB0aGUgZXZlbnQgbmFtZVxuICAgIC8vICh1bmxlc3MgeW91J3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V3IGZuLmluaXQoZWxlbWVudCwgZGF0YSk7XG59LFxuZm47XG5cbi8vIHNldCBwcmV2aW91cyB2YWx1ZXMgYW5kIHJldHVybiB0aGUgaW5zdGFuY2UgdXBvbiBjYWxsaW5nIHRoZSBuby1jb25mbGljdCBtb2RlXG5qQm9uZS5ub0NvbmZsaWN0ID0gZnVuY3Rpb24oKSB7XG4gICAgd2luLiQgPSBfJDtcbiAgICB3aW4uakJvbmUgPSBfakJvbmU7XG5cbiAgICByZXR1cm4gakJvbmU7XG59O1xuXG5mbiA9IGpCb25lLmZuID0gakJvbmUucHJvdG90eXBlID0ge1xuICAgIGluaXQ6IGZ1bmN0aW9uKGVsZW1lbnQsIGRhdGEpIHtcbiAgICAgICAgdmFyIGVsZW1lbnRzLCB0YWcsIHdyYXBlciwgZnJhZ21lbnQ7XG5cbiAgICAgICAgaWYgKCFlbGVtZW50KSB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcztcbiAgICAgICAgfVxuICAgICAgICBpZiAoaXNTdHJpbmcoZWxlbWVudCkpIHtcbiAgICAgICAgICAgIC8vIENyZWF0ZSBzaW5nbGUgRE9NIGVsZW1lbnRcbiAgICAgICAgICAgIGlmICh0YWcgPSBycXVpY2tTaW5nbGVUYWcuZXhlYyhlbGVtZW50KSkge1xuICAgICAgICAgICAgICAgIHRoaXNbMF0gPSBkb2MuY3JlYXRlRWxlbWVudCh0YWdbMV0pO1xuICAgICAgICAgICAgICAgIHRoaXMubGVuZ3RoID0gMTtcblxuICAgICAgICAgICAgICAgIGlmIChpc09iamVjdChkYXRhKSkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmF0dHIoZGF0YSk7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXM7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAvLyBDcmVhdGUgRE9NIGNvbGxlY3Rpb25cbiAgICAgICAgICAgIGlmICgodGFnID0gcnF1aWNrRXhwci5leGVjKGVsZW1lbnQpKSAmJiB0YWdbMV0pIHtcbiAgICAgICAgICAgICAgICBmcmFnbWVudCA9IGRvYy5jcmVhdGVEb2N1bWVudEZyYWdtZW50KCk7XG4gICAgICAgICAgICAgICAgd3JhcGVyID0gZG9jLmNyZWF0ZUVsZW1lbnQoXCJkaXZcIik7XG4gICAgICAgICAgICAgICAgd3JhcGVyLmlubmVySFRNTCA9IGVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgd2hpbGUgKHdyYXBlci5sYXN0Q2hpbGQpIHtcbiAgICAgICAgICAgICAgICAgICAgZnJhZ21lbnQuYXBwZW5kQ2hpbGQod3JhcGVyLmZpcnN0Q2hpbGQpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBlbGVtZW50cyA9IHNsaWNlLmNhbGwoZnJhZ21lbnQuY2hpbGROb2Rlcyk7XG5cbiAgICAgICAgICAgICAgICByZXR1cm4gakJvbmUubWVyZ2UodGhpcywgZWxlbWVudHMpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgLy8gRmluZCBET00gZWxlbWVudHMgd2l0aCBxdWVyeVNlbGVjdG9yQWxsXG4gICAgICAgICAgICBpZiAoakJvbmUuaXNFbGVtZW50KGRhdGEpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGpCb25lKGRhdGEpLmZpbmQoZWxlbWVudCk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgZWxlbWVudHMgPSBkb2MucXVlcnlTZWxlY3RvckFsbChlbGVtZW50KTtcblxuICAgICAgICAgICAgICAgIHJldHVybiBqQm9uZS5tZXJnZSh0aGlzLCBlbGVtZW50cyk7XG4gICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXM7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgLy8gV3JhcCBET01FbGVtZW50XG4gICAgICAgIGlmIChlbGVt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d0aCA9IG9iai5sZW5ndGgsXG4gICAgICAgIHR5cGUgPSB0eXBlb2Ygb2JqO1xuXG4gICAgaWYgKGlzRnVuY3Rpb24odHlwZSkgfHwgb2JqID09PSB3aW4pIHtcbiAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cblxuICAgIGlmIChvYmoubm9kZVR5cGUgPT09IDEgJiYgbGVuZ3RoKSB7XG4gICAgICAgIHJldHVybiB0cnVlO1xuICAgIH1cblxuICAgIHJldHVybiBpc0FycmF5KHR5cGUpIHx8IGxlbmd0aCA9PT0gMCB8fFxuICAgICAgICB0eXBlb2YgbGVuZ3RoID09PSBcIm51bWJlclwiICYmIGxlbmd0aCA+IDAgJiYgKGxlbmd0aCAtIDEpIGluIG9iajtcbn1cblxuakJvbmUubWVyZ2UgPSBmdW5jdGlvbihmaXJzdCwgc2Vjb25kKSB7XG4gICAgdmFyIGwgPSBzZWNvbmQubGVuZ3RoLFxuICAgICAgICBpID0gZmlyc3QubGVuZ3RoLFxuICAgICAgICBqID0gMDtcblxuICAgIHdoaWxlIChqIDwgbCkge1xuICAgICAgICBmaXJzdFtpKytdID0gc2Vjb25kW2orK107XG4gICAgfVxuXG4gICAgZmlyc3QubGVuZ3RoID0gaTtcblxuICAgIHJldHVybiBmaXJzdDtcbn07XG5cbmpCb25lLmNvbnRhaW5zID0gZnVuY3Rpb24oY29udGFpbmVyLCBjb250YWluZWQpIHtcbiAgICB2YXIgcmVzdWx0O1xuXG4gICAgY29udGFpbmVyLnJldmVyc2UoKS5zb21lKGZ1bmN0aW9uKGVsKSB7XG4gICAgICAgIGlmIChlbC5jb250YWlucyhjb250YWluZWQpKSB7XG4gICAgICAgICAgICByZXR1cm4gcmVzdWx0ID0gZWw7XG4gICAgICAgIH1cbiAgICB9KTtcblxuICAgIHJldHVybiByZXN1bHQ7XG59O1xuXG5qQm9uZS5leHRlbmQgPSBmdW5jdGlvbih0YXJnZXQpIHtcbiAgICB2YXIgaywga2wsIGksIHRnO1xuXG4gICAgc3BsaWNlLmNhbGwoYXJndW1lbnRzLCAxKS5mb3JFYWNoKGZ1bmN0aW9uKG9iamVjdCkge1xuICAgICAgICBpZiAoIW9iamVjdCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgayA9IGtleXMob2JqZWN0KTtcbiAgICAgICAga2wgPSBrLmxlbmd0aDtcbiAgICAgICAgaSA9IDA7XG4gICAgICAgIHRnID0gdGFyZ2V0OyAvL2NhY2hpbmcgdGFyZ2V0IGZvciBwZXJmIGltcHJvdmVtZW50XG5cbiAgICAgICAgZm9yICg7IGkgPCBrbDsgaSsrKSB7XG4gICAgICAgICAgICB0Z1trW2ldXSA9IG9iamVjdFtrW2ldXTtcbiAgICAgICAgfVxuICAgIH0pO1xuXG4gICAgcmV0dXJuIHRhcmdldDtcbn07XG5cbmpCb25lLm1ha2VBcnJheSA9IGZ1bmN0aW9uKGFyciwgcmVzdWx0cykge1xuICAgIHZhciByZXQgPSByZXN1bHRzIHx8IFtdO1xuXG4gICAgaWYgKGFyciAhPT0gbnVsbCkge1xuICAgICAgICBpZiAoaXNBcnJheWxpa2UoYXJyKSkge1xuICAgICAgICAgICAgakJvbmUubWVyZ2UocmV0LCBpc1N0cmluZyhhcnIpID8gW2Fycl0gOiBhcnIpO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgcmV0LnB1c2goYXJyKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiByZXQ7XG59O1xuXG5mdW5jdGlvbiBCb25lRXZlbnQoZSwgZGF0YSkge1xuICAgIHZhciBrZXksIHNldHRlcjtcblxuICAgIHRoaXMub3JpZ2luYWxFdmVudCA9IGU7XG5cbiAgICBzZXR0ZXIgPSBmdW5jdGlvbihrZXksIGUpIHtcbiAgICAgICAgaWYgKGtleSA9PT0gXCJwcmV2ZW50RGVmYXVsdFwiKSB7XG4gICAgICAgICAgICB0aGlzW2tleV0gPSBmdW5jdGlvbigpIHtcbi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dIHx8IFtdO1xuXG4gICAgICAgICAgICBmbiA9IGZ1bmN0aW9uKGUpIHtcbiAgICAgICAgICAgICAgICBpZiAoZS5uYW1lc3BhY2UgJiYgZS5uYW1lc3BhY2UgIT09IG5hbWVzcGFjZSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgZXhwZWN0ZWRUYXJnZXQgPSBudWxsO1xuICAgICAgICAgICAgICAgIGlmICghdGFyZ2V0KSB7XG4gICAgICAgICAgICAgICAgICAgIGNhbGxiYWNrLmNhbGwoZWwsIGUpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAofmpCb25lKGVsKS5maW5kKHRhcmdldCkuaW5kZXhPZihlLnRhcmdldCkgfHwgKGV4cGVjdGVkVGFyZ2V0ID0gakJvbmUuY29udGFpbnMoakJvbmUoZWwpLmZpbmQodGFyZ2V0KSwgZS50YXJnZXQpKSkge1xuICAgICAgICAgICAgICAgICAgICBleHBlY3RlZFRhcmdldCA9IGV4cGVjdGVkVGFyZ2V0IHx8IGUudGFyZ2V0O1xuICAgICAgICAgICAgICAgICAgICBlID0gbmV3IEJvbmVFdmVudChlLCB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjdXJyZW50VGFyZ2V0OiBleHBlY3RlZFRhcmdldFxuICAgICAgICAgICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgICAgICAgICBjYWxsYmFjay5jYWxsKGV4cGVjdGVkVGFyZ2V0LCBlKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICBldmVudHNbZXZlbnRUeXBlXS5wdXNoKHtcbiAgICAgICAgICAgICAgICBuYW1lc3BhY2U6IG5hbWVzcGFjZSxcbiAgICAgICAgICAgICAgICBmbjogZm4sXG4gICAgICAgICAgICAgICAgb3JpZ2luZm46IGNhbGxiYWNrXG4gICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgZWwuYWRkRXZlbnRMaXN0ZW5lciAmJiBlbC5hZGRFdmVudExpc3RlbmVyKGV2ZW50VHlwZSwgZm4sIGZhbHNlKTtcbiAgICAgICAgfSk7XG4gICAgfTtcblxuICAgIGZvciAoOyBpIDwgbGVuZ3RoOyBpKyspIHtcbiAgICAgICAgYWRkTGlzdGVuZXIodGhpc1tpXSk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHRoaXM7XG59O1xuXG5mbi5vbmUgPSBmdW5jdGlvbihldmVudCkge1xuICAgIHZhciBhcmdzID0gYXJndW1lbnRzLFxuICAgICAgICBpID0gMCxcbiAgICAgICAgbGVuZ3RoID0gdGhpcy5sZW5ndGgsXG4gICAgICAgIGNhbGxiYWNrLCB0YXJnZXQsIGFkZExpc3RlbmVyO1xuXG4gICAgaWYgKGFyZ3MubGVuZ3RoID09PSAyKSB7XG4gICAgICAgIGNhbGxiYWNrID0gYXJnc1sxXTtcbiAgICB9IGVsc2Uge1xuICAgICAgICB0YXJnZXQgPSBhcmdzWzFdLCBjYWxsYmFjayA9IGFyZ3NbMl07XG4gICAgfVxuXG4gICAgYWRkTGlzdGVuZXIgPSBmdW5jdGlvbihlbCkge1xuICAgICAgICBldmVudC5zcGxpdChcIiBcIikuZm9yRWFjaChmdW5jdGlvbihldmVudCkge1xuICAgICAgICAgICAgdmFyIGZuID0gZnVuY3Rpb24oZSkge1xuICAgICAgICAgICAgICAgIGpCb25lKGVsKS5vZmYoZXZlbnQsIGZuKTtcbiAgICAgICAgICAgICAgICBjYWxsYmFjay5jYWxsKGVsLCBlKTtcbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIGlmICghdGFyZ2V0KSB7XG4gICAgICAgICAgICAgICAgakJvbmUoZWwpLm9uKGV2ZW50LCBmbik7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIGpCb25lKGVsKS5vbihldmVudCwgdGFyZ2V0LCBmbik7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuIC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4gICAgfVxuXG4gICAgcmV0dXJuIHRoaXM7XG59O1xuXG5mbi5vZmYgPSBmdW5jdGlvbihldmVudCwgZm4pIHtcbiAgICB2YXIgaSA9IDAsXG4gICAgICAgIGxlbmd0aCA9IHRoaXMubGVuZ3RoLFxuICAgICAgICByZW1vdmVMaXN0ZW5lciA9IGZ1bmN0aW9uKGV2ZW50cywgZXZlbnRUeXBlLCBpbmRleCwgZWwsIGUpIHtcbiAgICAgICAgICAgIHZhciBjYWxsYmFjaztcblxuICAgICAgICAgICAgLy8gZ2V0IGNhbGxiYWNrXG4gICAgICAgICAgICBpZiAoKGZuICYmIGUub3JpZ2luZm4gPT09IGZuKSB8fCAhZm4pIHtcbiAgICAgICAgICAgICAgICBjYWxsYmFjayA9IGUuZm47XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmIChldmVudHNbZXZlbnRUeXBlXVtpbmRleF0uZm4gPT09IGNhbGxiYWNrKSB7XG4gICAgICAgICAgICAgICAgZWwucmVtb3ZlRXZlbnRMaXN0ZW5lcihldmVudFR5cGUsIGNhbGxiYWNrKTtcblxuICAgICAgICAgICAgICAgIC8vIHJlbW92ZSBoYW5kbGVyIGZyb20gY2FjaGVcbiAgICAgICAgICAgICAgICBqQm9uZS5fY2FjaGUuZXZlbnRzW2pCb25lLmdldERhdGEoZWwpLmppZF1bZXZlbnRUeXBlXS5zcGxpY2UoaW5kZXgsIDEpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBldmVudHMsIG5hbWVzcGFjZSwgcmVtb3ZlTGlzdGVuZXJzLCBldmVudFR5cGU7XG5cbiAgICByZW1vdmVMaXN0ZW5lcnMgPSBmdW5jdGlvbihlbCkge1xuICAgICAgICB2YXIgbCwgZXZlbnRzQnlUeXBlLCBlO1xuXG4gICAgICAgIGV2ZW50cyA9IGpCb25lLmdldERhdGEoZWwpLmV2ZW50cztcblxuICAgICAgICBpZiAoIWV2ZW50cykge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gcmVtb3ZlIGFsbCBldmVudHNcbiAgICAgICAgaWYgKCFldmVudCAmJiBldmVudHMpIHtcbiAgICAgICAgICAgIHJldHVybiBrZXlzKGV2ZW50cykuZm9yRWFjaChmdW5jdGlvbihldmVudFR5cGUpIHtcbiAgICAgICAgICAgICAgICBldmVudHNCeVR5cGUgPSBldmVudHNbZXZlbnRUeXBlXTtcbiAgICAgICAgICAgICAgICBsID0gZXZlbnRzQnlUeXBlLmxlbmd0aDtcblxuICAgICAgICAgICAgICAgIHdoaWxlKGwtLSkge1xuICAgICAgICAgICAgICAgICAgICByZW1vdmVMaXN0ZW5lcihldmVudHMsIGV2ZW50VHlwZSwgbCwgZWwsIGV2ZW50c0J5VHlwZVtsXSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cblxuICAgICAgICBldmVudC5zcGxpdChcIiBcIikuZm9yRWFjaChmdW5jdGlvbihldmVudCkge1xuICAgICAgICAgICAgZXZlbnRUeXBlID0gZXZlbnQuc3BsaXQoXCIuXCIpWzBdO1xuICAgICAgICAgICAgbmFtZXNwYWNlID0gZXZlbnQuc3BsaXQoXCIuXCIpLnNwbGljZSgxKS5qb2luKFwiLlwiKTtcblxuICAgICAgICAgICAgLy8gcmVtb3ZlIG5hbWVkIGV2ZW50c1xuICAgICAgICAgICAgaWYgKGV2ZW50c1tldmVudFR5cGVdKSB7XG4gICAgICAgICAgICAgICAgZXZlbnRzQnlUeXBlID0gZXZlbnRzW2V2ZW50VHlwZV07XG4gICAgICAgICAgICAgICAgbCA9IGV2ZW50c0J5VHlwZS5sZW5ndGg7XG5cbiAgICAgICAgICAgICAgICB3aGlsZShsLS0pIHtcbiAgICAgICAgICAgICAgICAgICAgZSA9IGV2ZW50c0J5VHlwZVtsXTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCFuYW1lc3BhY2UgfHwgKG5hbWVzcGFjZSAmJiBlLm5hbWVzcGFjZSA9PT0gbmFtZXNwYWNlKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmVtb3ZlTGlzdGVuZXIoZXZlbnRzLCBldmVudFR5cGUsIGwsIGVsLCBlKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIC8vIHJlbW92ZSBhbGwgbmFtZXNwYWNlZCBldmVudHNcbiAgICAgICAgICAgIGVsc2UgaWYgKG5hbWVzcGFjZSkge1xuICAgICAgICAgICAgICAgIGtleXMoZXZlbnRzKS5mb3JFYWNoKGZ1bmN0aW9uKGV2ZW50VHlwZSkge1xuICAgICAgICAgICAgICAgICAgICBldmVudHNCeVR5cGUgPSBldmVudHNbZXZlbnRUeXBlXTtcbiAgICAgICAgICAgICAgICAgICAgbCA9IGV2ZW50c0J5VHlwZS5sZW5ndGg7XG5cbiAgICAgICAgICAgICAgICAgICAgd2hpbGUobC0tKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBlID0gZXZlbnRzQnlUeXBlW2xdO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGUubmFtZXNwYWNlLnNwbGl0KFwiLlwiKVswXSA9PT0gbmFtZXNwYWNlLnNwbGl0KFwiLlwiKVswXSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlbW92ZUxpc3RlbmVyKGV2ZW50cywgZXZlbnRUeXBlLCBsLCBlbCwgZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgfTtcblxuICAgIGZvciAoOyBpIDwgbGVuZ3RoOyBpKyspIHtcbiAgICAgICAgcmVtb3ZlTGlzdGVuZXJzKHRoaXNbaV0pO1xuICAgIH1cblxuICAgIHJldHVybiB0aGlzO1xufTtcblxuZm4uZmluZCA9IGZ1bmN0a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T09IDEgJiYgaXNPYmplY3Qoa2V5KSkge1xuICAgICAgICBzZXR0ZXIgPSBmdW5jdGlvbihlbCkge1xuICAgICAgICAgICAga2V5cyhrZXkpLmZvckVhY2goZnVuY3Rpb24obmFtZSkge1xuICAgICAgICAgICAgICAgIHNldFZhbHVlKGVsLCBuYW1lLCBrZXlbbmFtZV0pO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH07XG4gICAgfSBlbHNlIGlmIChhcmdzLmxlbmd0aCA9PT0gMikge1xuICAgICAgICBzZXR0ZXIgPSBmdW5jdGlvbihlbCkge1xuICAgICAgICAgICAgc2V0VmFsdWUoZWwsIGtleSwgdmFsdWUpO1xuICAgICAgICB9O1xuICAgIH1cblxuICAgIGZvciAoOyBpIDwgbGVuZ3RoOyBpKyspIHtcbiAgICAgICAgc2V0dGVyKHRoaXNbaV0pO1xuICAgIH1cblxuICAgIHJldHVybiB0aGlzO1xufTtcblxuZm4ucmVtb3ZlRGF0YSA9IGZ1bmN0aW9uKGtleSkge1xuICAgIHZhciBpID0gMCxcbiAgICAgICAgbGVuZ3RoID0gdGhpcy5sZW5ndGgsXG4gICAgICAgIGpkYXRhLCBkYXRhc2V0O1xuXG4gICAgZm9yICg7IGkgPCBsZW5ndGg7IGkrKykge1xuICAgICAgICBqZGF0YSA9IHRoaXNbaV0uamRhdGE7XG4gICAgICAgIGRhdGFzZXQgPSB0aGlzW2ldLmRhdGFzZXQ7XG5cbiAgICAgICAgaWYgKGtleSkge1xuICAgICAgICAgICAgamRhdGEgJiYgamRhdGFba2V5XSAmJiBkZWxldGUgamRhdGFba2V5XTtcbiAgICAgICAgICAgIGRlbGV0ZSBkYXRhc2V0W2tleV07XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBmb3IgKGtleSBpbiBqZGF0YSkge1xuICAgICAgICAgICAgICAgIGRlbGV0ZSBqZGF0YVtrZXldO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBmb3IgKGtleSBpbiBkYX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pdHRvLlxuICBfLnRocm90dGxlID0gZnVuY3Rpb24oZnVuYywgd2FpdCwgb3B0aW9ucykge1xuICAgIHZhciBjb250ZXh0LCBhcmdzLCByZXN1bHQ7XG4gICAgdmFyIHRpbWVvdXQgPSBudWxsO1xuICAgIHZhciBwcmV2aW91cyA9IDA7XG4gICAgaWYgKCFvcHRpb25zKSBvcHRpb25zID0ge307XG4gICAgdmFyIGxhdGVyID0gZnVuY3Rpb24oKSB7XG4gICAgICBwcmV2aW91cyA9IG9wdGlvbnMubGVhZGluZyA9PT0gZmFsc2UgPyAwIDogXy5ub3coKTtcbiAgICAgIHRpbWVvdXQgPSBudWxsO1xuICAgICAgcmVzdWx0ID0gZnVuYy5hcHBseShjb250ZXh0LCBhcmdzKTtcbiAgICAgIGlmICghdGltZW91dCkgY29udGV4dCA9IGFyZ3MgPSBudWxsO1xuICAgIH07XG4gICAgcmV0dXJuIGZ1bmN0aW9uKCkge1xuICAgICAgdmFyIG5vdyA9IF8ubm93KCk7XG4gICAgICBpZiAoIXByZXZpb3VzICYmIG9wdGlvbnMubGVhZGluZyA9PT0gZmFsc2UpIHByZXZpb3VzID0gbm93O1xuICAgICAgdmFyIHJlbWFpbmluZyA9IHdhaXQgLSAobm93IC0gcHJldmlvdXMpO1xuICAgICAgY29udGV4dCA9IHRoaXM7XG4gICAgICBhcmdzID0gYXJndW1lbnRzO1xuICAgICAgaWYgKHJlbWFpbmluZyA8PSAwIHx8IHJlbWFpbmluZyA+IHdhaXQpIHtcbiAgICAgICAgY2xlYXJUaW1lb3V0KHRpbWVvdXQpO1xuICAgICAgICB0aW1lb3V0ID0gbnVsbDtcbiAgICAgICAgcHJldmlvdXMgPSBub3c7XG4gICAgICAgIHJlc3VsdCA9IGZ1bmMuYXBwbHkoY29udGV4dCwgYXJncyk7XG4gICAgICAgIGlmICghdGltZW91dCkgY29udGV4dCA9IGFyZ3MgPSBudWxsO1xuICAgICAgfSBlbHNlIGlmICghdGltZW91dCAmJiBvcHRpb25z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nNvbGUubG9nIGNvblxuICAgICAgc2VxID0gbmV3IFNlcVxuICAgICAgICBzZXE6IGNvblxuICAgICAgICBpZDogXCIwY1wiXG4gICAgICAgIG5hbWU6IFwiY29uc2VudXNcIlxuICAgICAgQG1vZGVsLmFkZCBzZXFcbiAgICAgIEBtb2RlbC5jb21wYXJhdG9yID0gKHNlcSkgLT5cbiAgICAgICAgc2VxLmdldCBcImlkXCJcbiAgICAgIEBtb2RlbC5zb3J0KClcbiAgICBAYWRkTm9kZSBcIkluY3JlYXNlIGZvbnQgc2l6ZVwiLCA9PlxuICAgICAgQGcuem9vbWVyLnNldCBcImNvbHVtbldpZHRoXCIsIEBnLnpvb21lci5nZXQoXCJjb2x1bW5XaWR0aFwiKSArIDJcbiAgICAgIEBnLnpvb21lci5zZXQgXCJsYWJlbFdpZHRoXCIsIEBnLnpvb21lci5nZXQoXCJjb2x1bW5XaWR0aFwiKSArIDVcbiAgICAgIEBnLnpvb21lci5zZXQgXCJyb3dIZWlnaHRcIiwgQGcuem9vbWVyLmdldChcInJvd0hlaWdodFwiKSArIDJcbiAgICAgIEBnLnpvb21lci5zZXQgXCJsYWJlbEZvbnRTaXplXCIsIEBnLnpvb21lci5nZXQoXCJsYWJlbEZvbnRTaXplXCIpICsgMlxuICAgIEBhZGROb2RlIFwiRGVjcmVhc2UgZm9udCBzaXplXCIsID0+XG4gICAgICBAZy56b29tZXIuc2V0IFwiY29sdW1uV2lkdGhcIiwgQGcuem9vbWVyLmdldChcImNvbHVtbldpZHRoXCIpIC0gMlxuICAgICAgQGcuem9vbWVyLnNldCBcInJvd0hlaWdodFwiLCBAZy56b29tZXIuZ2V0KFwicm93SGVpZ2h0XCIpIC0gMlxuICAgICAgQGcuem9vbWVyLnNldCBcImxhYmVsRm9udFNpemVcIiwgQGcuem9vbWVyLmdldChcImxhYmVsRm9udFNpemVcIikgLSAyXG4gICAgICBpZiBAZy56b29tZXIuZ2V0KFwiY29sdW1uV2lkdGhcIikgPCA4XG4gICAgIC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Ly8ganVzdCBidW5kbGUgdGhlIHR3byBwYXJzZXJzXG53aW5kb3cuYmlvanMuaW8uZmFzdGEgPSByZXF1aXJlKFwiYmlvanMtaW8tZmFzdGFcIik7XG53aW5kb3cuYmlvanMuaW8uY2x1c3RhbCA9IHJlcXVpcmUoXCJiaW9qcy1pby1jbHVzdGFsXCIpO1xud2luZG93LmJpb2pzLnhociA9IHJlcXVpcmUoXCJuZXRzXCIpO1xuXG4vLyBzaW11bGF0ZSBzdGFuZGFsb25lIGZsYWdcbndpbmRvdy5iaW9qc1Zpc01zYSA9IHdpbmRvdy5tc2E7XG5cbnJlcXVpcmUoJy4vYnVpbGQvbXNhLmNzcycpO1xuIiwidmFyIHJlcSA9IHJlcXVpcmUoJ3JlcXVlc3QnKVxuXG5tb2R1bGUuZXhwb3J0cyA9IE5ldHNcblxuZnVuY3Rpb24gTmV0cyh1cmksIG9wdHMsIGNiKSB7XG4gIHJlcSh1cmksIG9wdHMsIGNiKVxufSJdfQ==
9009
9010
9011
9012 // this is a way how you use a bundled file parser
9013 biojs.io.clustal.read("#", function(seqs){
9014 var opts = {};
9015
9016 // set your custom properties
9017 // @see: https://github.com/greenify/biojs-vis-msa/tree/master/src/g 
9018
9019 var jalviewData = JSON.parse(document.getElementById("seqData").value); 
9020 opts.seqs = jalviewData['seqs'];
9021
9022 opts.el = document.getElementById("yourDiv");
9023 opts.vis = {conserv: false, overviewbox: false, labelId: false};
9024 opts.zoomer = {alignmentHeight: 225, labelWidth: 130,labelFontsize: "13px",labelIdLength: 20,   menuFontsize: "12px",menuMarginLeft: "3px", menuPadding: "3px 4px 3px 4px", menuItemFontsize: "14px", menuItemLineHeight: "14px"};
9025
9026
9027
9028 // init msa
9029 var m = new msa.msa(opts);
9030
9031 m.g.colorscheme.set("scheme", jalviewData['globalColorScheme']);
9032
9033 var x = 0;
9034 jalviewData.seqs.forEach( function (seq)
9035 {
9036 m.seqs.at(x++).set("features", new msa.model.featurecol(seq.features));
9037 });
9038
9039 // the menu is independent to the MSA container
9040 var menuOpts = {};
9041 menuOpts.el = document.getElementById('div');
9042 menuOpts.msa = m;
9043 var defMenu = new msa.menu.defaultmenu(menuOpts);
9044 m.addView("menu", defMenu);
9045
9046 // call render at the end to display the whole MSA
9047 m.render();
9048 toggleMenuVisibility(); 
9049 toggleMenuVisibility(); 
9050 });
9051 </script>