text: /**
   * almond 0.2.4 Copyright (c) 2011-2012, The Dojo Foundation All Rights Reserved.
   * Available via the MIT or new BSD license.
   * see: http://github.com/jrburke/almond for details
   */
  
  /**
   * Emily https://github.com/flams/emily
   * Copyright(c) 2012-2013 Olivier Scherrer <pode.fr@gmail.com>
   * MIT Licensed
   */
  
  /**
   * Olives http://flams.github.com/olives
   * The MIT License (MIT)
   * Copyright (c) 2012-2013 Olivier Scherrer <pode.fr@gmail.com> - Olivier Wietrich <olivier.wietrich@gmail.com>
   */
  
  /**
   * NucleusJS https://github.com/podefr/nucleus
   * The MIT License (MIT)
   * Copyright (c) 2013 Olivier Scherrer <pode.fr@gmail.com>
   */
  
  var requirejs,require,define;(function(e){function c(e,t){return f.call(e,t)}function h(e,t){var n,r,i,s,o,a,f,l,c,h,p=t&&t.split("/"),d=u.map,v=d&&d["*"]||{};if(e&&e.charAt(0)===".")if(t){p=p.slice(0,p.length-1),e=p.concat(e.split("/"));for(l=0;l<e.length;l+=1){h=e[l];if(h===".")e.splice(l,1),l-=1;else if(h===".."){if(l===1&&(e[2]===".."||e[0]===".."))break;l>0&&(e.splice(l-1,2),l-=2)}}e=e.join("/")}else e.indexOf("./")===0&&(e=e.substring(2));if((p||v)&&d){n=e.split("/");for(l=n.length;l>0;l-=1){r=n.slice(0,l).join("/");if(p)for(c=p.length;c>0;c-=1){i=d[p.slice(0,c).join("/")];if(i){i=i[r];if(i){s=i,o=l;break}}}if(s)break;!a&&v&&v[r]&&(a=v[r],f=l)}!s&&a&&(s=a,o=f),s&&(n.splice(0,o,s),e=n.join("/"))}return e}function p(t,r){return function(){return n.apply(e,l.call(arguments,0).concat([t,r]))}}function d(e){return function(t){return h(t,e)}}function v(e){return function(t){s[e]=t}}function m(n){if(c(o,n)){var r=o[n];delete o[n],a[n]=!0,t.apply(e,r)}if(!c(s,n)&&!c(a,n))throw new Error("No "+n);return s[n]}function g(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function y(e){return function(){return u&&u.config&&u.config[e]||{}}}var t,n,r,i,s={},o={},u={},a={},f=Object.prototype.hasOwnProperty,l=[].slice;r=function(e,t){var n,r=g(e),i=r[0];return e=r[1],i&&(i=h(i,t),n=m(i)),i?n&&n.normalize?e=n.normalize(e,d(t)):e=h(e,t):(e=h(e,t),r=g(e),i=r[0],e=r[1],i&&(n=m(i))),{f:i?i+"!"+e:e,n:e,pr:i,p:n}},i={require:function(e){return p(e)},exports:function(e){var t=s[e];return typeof t!="undefined"?t:s[e]={}},module:function(e){return{id:e,uri:"",exports:s[e],config:y(e)}}},t=function(t,n,u,f){var l,h,d,g,y,b=[],w;f=f||t;if(typeof u=="function"){n=!n.length&&u.length?["require","exports","module"]:n;for(y=0;y<n.length;y+=1){g=r(n[y],f),h=g.f;if(h==="require")b[y]=i.require(t);else if(h==="exports")b[y]=i.exports(t),w=!0;else if(h==="module")l=b[y]=i.module(t);else if(c(s,h)||c(o,h)||c(a,h))b[y]=m(h);else{if(!g.p)throw new Error(t+" missing "+h);g.p.load(g.n,p(f,!0),v(h),{}),b[y]=s[h]}}d=u.apply(s[t],b);if(t)if(l&&l.exports!==e&&l.exports!==s[t])s[t]=l.exports;else if(d!==e||!w)s[t]=d}else t&&(s[t]=u)},requirejs=require=n=function(s,o,a,f,l){return typeof s=="string"?i[s]?i[s](o):m(r(s,o).f):(s.splice||(u=s,o.splice?(s=o,o=a,a=null):s=e),o=o||function(){},typeof a=="function"&&(a=f,f=l),f?t(e,s,o,a):setTimeout(function(){t(e,s,o,a)},4),n)},n.config=function(e){return u=e,n},define=function(e,t,n){t.splice||(n=t,t=[]),!c(s,e)&&!c(o,e)&&(o[e]=[e,t,n])},define.amd={jQuery:!0}})(),define("../build-directives/almond",function(){}),define("Tools",[],function(){return{getGlobal:function(){var t=function(){return this};return t.call(null)},mixin:function(t,n,r){return this.loop(t,function(e,i){if(!n[i]||!r)n[i]=t[i]}),n},count:function(t){var n=0;return this.loop(t,function(){n++}),n},compareObjects:function(t,n){var r=function(e){return Object.getOwnPropertyNames(e).sort().join("")};return r(t)==r(n)},compareNumbers:function(t,n){return t>n?1:t<n?-1:0},toArray:function(t){return Array.prototype.slice.call(t)},loop:function(t,n,r){var i,s;if(t instanceof Object&&n instanceof Function){if(t instanceof Array)for(i=0;i<t.length;i++)n.call(r,t[i],i,t);else for(i in t)t.hasOwnProperty(i)&&n.call(r,t[i],i,t);return!0}return!1},objectsDiffs:function(t,n){if(t instanceof Object&&n instanceof Object){var r=[],i=[],s=[],o=[];return this.loop(n,function(e,n){typeof t[n]=="undefined"?o.push(n):e!==t[n]?i.push(n):e===t[n]&&r.push(n)}),this.loop(t,function(e,t){typeof n[t]=="undefined"&&s.push(t)}),{updated:i,unchanged:r,added:o,deleted:s}}return!1},jsonify:function(t){return t instanceof Object?JSON.parse(JSON.stringify(t)):!1},clone:function(t){return t instanceof Array?t.slice(0):typeof t!="object"||t===null||t instanceof RegExp?!1:this.mixin(t,{})},getNestedProperty:function(t,n){if(t&&t instanceof Object){if(typeof n=="string"&&n!=""){var r=n.split(".");return r.reduce(function(e,t){return e&&e[t]},t)}return typeof n=="number"?t[n]:t}return t},setNestedProperty:function(t,n,r){if(t&&t instanceof Object){if(typeof n=="string"&&n!=""){var i=n.split(".");return i.reduce(function(e,t,n){return e[t]=e[t]||{},i.length==n+1&&(e[t]=r),e[t]},t)}return typeof n=="number"?(t[n]=r,t[n]):t}return t}}}),define("DomUtils",["Tools"],function(e){return{getNodes:function(t,n){return this.isAcceptedType(t)?(t.parentNode||document.createDocumentFragment().appendChild(t),t.parentNode.querySelectorAll(n||"*")):!1},getDataset:function(t){var n=0,r,i={},s,o;if(this.isAcceptedType(t)){if(t.hasOwnProperty("dataset"))return t.dataset;for(r=t.attributes.length;n<r;n++)s=t.attributes[n].name.split("-"),s.shift()=="data"&&(i[o=s.join("-")]=t.getAttribute("data-"+o));return i}return!1},isAcceptedType:function(t){return t instanceof HTMLElement||t instanceof SVGElement?!0:!1},setAttribute:function(t,n,r){return t instanceof HTMLElement?(t[n]=r,!0):t instanceof SVGElement?(t.setAttribute(n,r),!0):!1},matches:function(n,r,i){return e.toArray(this.getNodes(i,r)).indexOf(n)>-1}}}),define("Nucleus",["Tools","DomUtils"],function(t,n){return function(){var r={},i=function(t){return t.trim()},s=function(t,n,s){n.split(";").forEach(function(e){var n=e.split(":"),o=n[0].trim(),u=n[1]?n[1].split(",").map(i):[];u.unshift(t),r[s]&&r[s][o]&&r[s][o].apply(r[s],u)})};this.add=function(t,n){var i=this,s="plugins";return typeof t=="string"&&typeof n=="object"&&n?(r[t]=n,n[s]={name:t,apply:function(){return i.apply.apply(i,arguments)}},!0):!1},this.addAll=function(n){return t.loop(n,function(e,t){this.add(t,e)},this)},this.get=function(t){return r[t]},this.del=function(t){return delete r[t]},this.apply=function(r){var i;return n.isAcceptedType(r)?(i=n.getNodes(r),t.loop(t.toArray(i),function(e){t.loop(n.getDataset(e),function(t,n){s(e,t,n)})}),r):!1}}}),require(["Nucleus"]);