Skip to content
This repository
Browse code

Merge branch 'master' of github.com:concerto/concerto

* 'master' of github.com:concerto/concerto:
  Bumping to 0.0.2.alphamoose.
  Make frontend#setup url relative.  Closes #252.
  • Loading branch information...
commit 36477ef38cdfa991253c0e1944641031185d7ef3 2 parents 1c35569 + 0dc71df
August augustf authored
4 lib/concerto/version.rb
@@ -2,8 +2,8 @@ module Concerto
2 2 module VERSION
3 3 MAJOR = 0
4 4 MINOR = 0
5   - TINY = 1
6   - PRE = 'alpha'
  5 + TINY = 2
  6 + PRE = 'alphamoose'
7 7
8 8 STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9 9 end
102 public/frontend_js/frontend.js
... ... @@ -0,0 +1,102 @@
  1 +function f(a){throw a;}var i=void 0,j=!0,k=null,m=!1;function aa(a){return function(){return this[a]}}var n,ba=ba||{},o=this;function ca(a){for(var a=a.split("."),b=o,c;c=a.shift();)if(b[c]!=k)b=b[c];else return k;return b}function da(){}
  2 +function ea(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
  3 +else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function p(a){return a!==i}function q(a){return"array"==ea(a)}function fa(a){var b=ea(a);return"array"==b||"object"==b&&"number"==typeof a.length}function v(a){return"string"==typeof a}function ga(a){return"number"==typeof a}function ha(a){return"function"==ea(a)}function ia(a){var b=typeof a;return"object"==b&&a!=k||"function"==b}function w(a){return a[ja]||(a[ja]=++ka)}
  4 +var ja="closure_uid_"+Math.floor(2147483648*Math.random()).toString(36),ka=0;function la(a,b,c){return a.call.apply(a.bind,arguments)}function ma(a,b,c){a||f(Error());if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}
  5 +function x(a,b,c){x=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?la:ma;return x.apply(k,arguments)}function na(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=Array.prototype.slice.call(arguments);b.unshift.apply(b,c);return a.apply(this,b)}}var oa=Date.now||function(){return+new Date};function y(a,b){function c(){}c.prototype=b.prototype;a.i=b.prototype;a.prototype=new c};function pa(a){Error.captureStackTrace?Error.captureStackTrace(this,pa):this.stack=Error().stack||"";a&&(this.message=String(a))}y(pa,Error);pa.prototype.name="CustomError";function qa(a,b){for(var c=1;c<arguments.length;c++)var d=String(arguments[c]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,d);return a}function ra(a){if(!sa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(ta,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(ua,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(va,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(wa,"&quot;"));return a}var ta=/&/g,ua=/</g,va=/>/g,wa=/\"/g,sa=/[&<>\"]/;
  6 +function z(a,b){var c=p(i)?a.toFixed(i):String(a),d=c.indexOf(".");-1==d&&(d=c.length);d=Math.max(0,b-d);return Array(d+1).join("0")+c}function xa(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};function ya(a,b){b.unshift(a);pa.call(this,qa.apply(k,b));b.shift();this.xd=a}y(ya,pa);ya.prototype.name="AssertionError";function za(a,b){f(new ya("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1)))};var A=Array.prototype,B=A.indexOf?function(a,b,c){return A.indexOf.call(a,b,c)}:function(a,b,c){c=c==k?0:0>c?Math.max(0,a.length+c):c;if(v(a))return!v(b)||1!=b.length?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},C=A.forEach?function(a,b,c){A.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,g=v(a)?a.split(""):a,e=0;e<d;e++)e in g&&b.call(c,g[e],e,a)},Aa=A.filter?function(a,b,c){return A.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,g=[],e=0,h=v(a)?a.split(""):
  7 +a,l=0;l<d;l++)if(l in h){var r=h[l];b.call(c,r,l,a)&&(g[e++]=r)}return g},Ba=A.some?function(a,b,c){return A.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,g=v(a)?a.split(""):a,e=0;e<d;e++)if(e in g&&b.call(c,g[e],e,a))return j;return m};function Ca(a){if(!q(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function Da(a){return A.concat.apply(A,arguments)}function Ea(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}
  8 +function Fa(a,b,c){return 2>=arguments.length?A.slice.call(a,b):A.slice.call(a,b,c)};var Ga;function Ha(a,b){var c;c=a.className;c=v(c)&&c.match(/\S+/g)||[];for(var d=Fa(arguments,1),g=c.length+d.length,e=c,h=0;h<d.length;h++)0<=B(e,d[h])||e.push(d[h]);a.className=c.join(" ");return c.length==g};function Ia(a,b){for(var c in a)b.call(i,a[c],c,a)}function Ja(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Ka(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function La(a){for(var b in a)return m;return j}var Ma="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
  9 +function Na(a,b){for(var c,d,g=1;g<arguments.length;g++){d=arguments[g];for(c in d)a[c]=d[c];for(var e=0;e<Ma.length;e++)c=Ma[e],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Oa,Qa,Ra,Sa,Ta;function Ua(){return o.navigator?o.navigator.userAgent:k}function Va(){return o.navigator}Sa=Ra=Qa=Oa=m;var Wa;if(Wa=Ua()){var Xa=Va();Oa=0==Wa.indexOf("Opera");Qa=!Oa&&-1!=Wa.indexOf("MSIE");Ra=!Oa&&-1!=Wa.indexOf("WebKit");Sa=!Oa&&!Ra&&"Gecko"==Xa.product}var Ya=Oa,D=Qa,F=Sa,G=Ra,Za=Va();Ta=-1!=(Za&&Za.platform||"").indexOf("Mac");var $a=!!Va()&&-1!=(Va().appVersion||"").indexOf("X11"),ab;
  10 +a:{var bb="",cb;if(Ya&&o.opera)var db=o.opera.version,bb="function"==typeof db?db():db;else if(F?cb=/rv\:([^\);]+)(\)|;)/:D?cb=/MSIE\s+([^\);]+)(\)|;)/:G&&(cb=/WebKit\/(\S+)/),cb)var eb=cb.exec(Ua()),bb=eb?eb[1]:"";if(D){var fb,gb=o.document;fb=gb?gb.documentMode:i;if(fb>parseFloat(bb)){ab=String(fb);break a}}ab=bb}var hb={};
  11 +function H(a){var b;if(!(b=hb[a])){b=0;for(var c=String(ab).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),d=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),g=Math.max(c.length,d.length),e=0;0==b&&e<g;e++){var h=c[e]||"",l=d[e]||"",r=RegExp("(\\d*)(\\D*)","g"),s=RegExp("(\\d*)(\\D*)","g");do{var t=r.exec(h)||["","",""],u=s.exec(l)||["","",""];if(0==t[0].length&&0==u[0].length)break;b=((0==t[1].length?0:parseInt(t[1],10))<(0==u[1].length?0:parseInt(u[1],10))?-1:(0==t[1].length?0:parseInt(t[1],
  12 +10))>(0==u[1].length?0:parseInt(u[1],10))?1:0)||((0==t[2].length)<(0==u[2].length)?-1:(0==t[2].length)>(0==u[2].length)?1:0)||(t[2]<u[2]?-1:t[2]>u[2]?1:0)}while(0==b)}b=hb[a]=0<=b}return b}var ib={};function jb(){return ib[9]||(ib[9]=D&&!!document.documentMode&&9<=document.documentMode)};function kb(a,b){this.width=a;this.height=b}n=kb.prototype;n.n=function(){return new kb(this.width,this.height)};n.toString=function(){return"("+this.width+" x "+this.height+")"};n.p=function(){return!(this.width*this.height)};n.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};n.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var lb=!D||jb(),mb=!F&&!D||D&&jb()||F&&H("1.9.1");D&&H("9");function nb(a,b){Ia(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in ob?a.setAttribute(ob[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}var ob={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};
  13 +function pb(a,b,c){return qb(document,arguments)}
  14 +function qb(a,b){var c=b[0],d=b[1];if(!lb&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',ra(d.name),'"');if(d.type){c.push(' type="',ra(d.type),'"');var g={};Na(g,d);delete g.type;d=g}c.push(">");c=c.join("")}var e=a.createElement(c);d&&(v(d)?e.className=d:q(d)?Ha.apply(k,[e].concat(d)):nb(e,d));if(2<b.length){d=function(b){b&&e.appendChild(v(b)?a.createTextNode(b):b)};for(c=2;c<b.length;c++)if(g=b[c],fa(g)&&!(ia(g)&&0<g.nodeType)){var h=C,l;a:{if((l=g)&&"number"==typeof l.length){if(ia(l)){l=
  15 +"function"==typeof l.item||"string"==typeof l.item;break a}if(ha(l)){l="function"==typeof l.item;break a}}l=m}h(l?Ea(g):g,d)}else d(g)}return e}function rb(a){for(var b;b=a.firstChild;)a.removeChild(b)}function sb(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function tb(a,b){if("textContent"in a)a.textContent=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else rb(a),a.appendChild(sb(a).createTextNode(b))}
  16 +function ub(a){this.ta=a||o.document||document}n=ub.prototype;n.$b=nb;n.Fc=function(a,b,c){return qb(this.ta,arguments)};n.createElement=function(a){return this.ta.createElement(a)};n.createTextNode=function(a){return this.ta.createTextNode(a)};n.appendChild=function(a,b){a.appendChild(b)};n.Hb=function(a){return mb&&a.children!=i?a.children:Aa(a.childNodes,function(a){return 1==a.nodeType})};function I(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}I.prototype.n=function(){return new I(this.top,this.right,this.bottom,this.left)};I.prototype.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};function J(a,b,c){v(b)?vb(a,c,b):Ia(b,na(vb,a))}function vb(a,b,c){a.style[xa(c)]=b}function K(a,b){var c=sb(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,k))?c[b]||c.getPropertyValue(b)||"":""}function wb(a,b){return a.currentStyle?a.currentStyle[b]:k}function xb(a,b,c){b instanceof kb?(c=b.height,b=b.width):c==i&&f(Error("missing height argument"));a.style.width=yb(b,j);a.style.height=yb(c,j)}
  17 +function yb(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function zb(a){if("none"!=(K(a,"display")||wb(a,"display")||a.style&&a.style.display))return Ab(a);var b=a.style,c=b.display,d=b.visibility,g=b.position;b.visibility="hidden";b.position="absolute";b.display="inline";a=Ab(a);b.display=c;b.position=g;b.visibility=d;return a}
  18 +function Ab(a){var b=a.offsetWidth,c=a.offsetHeight,d=G&&!b&&!c;return(!p(b)||d)&&a.getBoundingClientRect?(b=a.getBoundingClientRect(),D&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop),new kb(b.right-b.left,b.bottom-b.top)):new kb(b,c)}
  19 +function Bb(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;var g=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return g}var Cb={thin:2,medium:4,thick:6};function Db(a,b){if("none"==wb(a,b+"Style"))return 0;var c=wb(a,b+"Width");return c in Cb?Cb[c]:Bb(a,c)};var Eb=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function Fb(a){if("function"==typeof a.l)return a.l();if(v(a))return a.split("");if(fa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Ja(a)}function Gb(a,b,c){if("function"==typeof a.forEach)a.forEach(b,c);else if(fa(a)||v(a))C(a,b,c);else{var d;if("function"==typeof a.J)d=a.J();else if("function"!=typeof a.l)if(fa(a)||v(a)){d=[];for(var g=a.length,e=0;e<g;e++)d.push(e)}else d=Ka(a);else d=i;for(var g=Fb(a),e=g.length,h=0;h<e;h++)b.call(c,g[h],d&&d[h],a)}};function Hb(a,b){this.k={};this.h=[];var c=arguments.length;if(1<c){c%2&&f(Error("Uneven number of arguments"));for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.Ua(a)}n=Hb.prototype;n.b=0;n.rb=0;n.j=aa("b");n.l=function(){Ib(this);for(var a=[],b=0;b<this.h.length;b++)a.push(this.k[this.h[b]]);return a};n.J=function(){Ib(this);return this.h.concat()};n.O=function(a){return Jb(this.k,a)};n.p=function(){return 0==this.b};
  20 +n.clear=function(){this.k={};this.rb=this.b=this.h.length=0};n.remove=function(a){return Jb(this.k,a)?(delete this.k[a],this.b--,this.rb++,this.h.length>2*this.b&&Ib(this),j):m};function Ib(a){if(a.b!=a.h.length){for(var b=0,c=0;b<a.h.length;){var d=a.h[b];Jb(a.k,d)&&(a.h[c++]=d);b++}a.h.length=c}if(a.b!=a.h.length){for(var g={},c=b=0;b<a.h.length;)d=a.h[b],Jb(g,d)||(a.h[c++]=d,g[d]=1),b++;a.h.length=c}}n.get=function(a,b){return Jb(this.k,a)?this.k[a]:b};
  21 +n.set=function(a,b){Jb(this.k,a)||(this.b++,this.h.push(a),this.rb++);this.k[a]=b};n.Ua=function(a){var b;a instanceof Hb?(b=a.J(),a=a.l()):(b=Ka(a),a=Ja(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};n.n=function(){return new Hb(this)};function Jb(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Kb(a,b){var c;if(a instanceof Kb)this.o=p(b)?b:a.o,Lb(this,a.ba),c=a.Pa,L(this),this.Pa=c,c=a.ga,L(this),this.ga=c,Mb(this,a.Ha),c=a.$,L(this),this.$=c,Nb(this,a.u.n()),c=a.wa,L(this),this.wa=c;else if(a&&(c=String(a).match(Eb))){this.o=!!b;Lb(this,c[1]||"",j);var d=c[2]||"";L(this);this.Pa=d?decodeURIComponent(d):"";d=c[3]||"";L(this);this.ga=d?decodeURIComponent(d):"";Mb(this,c[4]);d=c[5]||"";L(this);this.$=d?decodeURIComponent(d):"";Nb(this,c[6]||"",j);c=c[7]||"";L(this);this.wa=c?decodeURIComponent(c):
  22 +""}else this.o=!!b,this.u=new Ob(k,0,this.o)}n=Kb.prototype;n.ba="";n.Pa="";n.ga="";n.Ha=k;n.$="";n.wa="";n.Tc=m;n.o=m;n.toString=function(){var a=[],b=this.ba;b&&a.push(Pb(b,Qb),":");if(b=this.ga){a.push("//");var c=this.Pa;c&&a.push(Pb(c,Qb),"@");a.push(encodeURIComponent(String(b)));b=this.Ha;b!=k&&a.push(":",String(b))}if(b=this.$)this.ga&&"/"!=b.charAt(0)&&a.push("/"),a.push(Pb(b,"/"==b.charAt(0)?Rb:Sb));(b=this.u.toString())&&a.push("?",b);(b=this.wa)&&a.push("#",Pb(b,Tb));return a.join("")};
  23 +n.n=function(){return new Kb(this)};function Lb(a,b,c){L(a);a.ba=c?b?decodeURIComponent(b):"":b;a.ba&&(a.ba=a.ba.replace(/:$/,""))}function Mb(a,b){L(a);b?(b=Number(b),(isNaN(b)||0>b)&&f(Error("Bad port number "+b)),a.Ha=b):a.Ha=k}function Nb(a,b,c){L(a);b instanceof Ob?(a.u=b,a.u.pb(a.o)):(c||(b=Pb(b,Ub)),a.u=new Ob(b,0,a.o))}function L(a){a.Tc&&f(Error("Tried to modify a read-only Uri"))}n.pb=function(a){this.o=a;this.u&&this.u.pb(a);return this};
  24 +function Pb(a,b){return v(a)?encodeURI(a).replace(b,Vb):k}function Vb(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Qb=/[#\/\?@]/g,Sb=/[\#\?:]/g,Rb=/[\#\?]/g,Ub=/[\#\?@]/g,Tb=/#/g;function Ob(a,b,c){this.m=a||k;this.o=!!c}
  25 +function M(a){if(!a.g&&(a.g=new Hb,a.b=0,a.m))for(var b=a.m.split("&"),c=0;c<b.length;c++){var d=b[c].indexOf("="),g=k,e=k;0<=d?(g=b[c].substring(0,d),e=b[c].substring(d+1)):g=b[c];g=decodeURIComponent(g.replace(/\+/g," "));g=Wb(a,g);a.add(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}n=Ob.prototype;n.g=k;n.b=k;n.j=function(){M(this);return this.b};n.add=function(a,b){M(this);this.m=k;var a=Wb(this,a),c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.b++;return this};
  26 +n.remove=function(a){M(this);a=Wb(this,a);return this.g.O(a)?(this.m=k,this.b-=this.g.get(a).length,this.g.remove(a)):m};n.clear=function(){this.g=this.m=k;this.b=0};n.p=function(){M(this);return 0==this.b};n.O=function(a){M(this);a=Wb(this,a);return this.g.O(a)};n.J=function(){M(this);for(var a=this.g.l(),b=this.g.J(),c=[],d=0;d<b.length;d++)for(var g=a[d],e=0;e<g.length;e++)c.push(b[d]);return c};
  27 +n.l=function(a){M(this);var b=[];if(a)this.O(a)&&(b=Da(b,this.g.get(Wb(this,a))));else for(var a=this.g.l(),c=0;c<a.length;c++)b=Da(b,a[c]);return b};n.set=function(a,b){M(this);this.m=k;a=Wb(this,a);this.O(a)&&(this.b-=this.g.get(a).length);this.g.set(a,[b]);this.b++;return this};n.get=function(a,b){var c=a?this.l(a):[];return 0<c.length?String(c[0]):b};
  28 +n.toString=function(){if(this.m)return this.m;if(!this.g)return"";for(var a=[],b=this.g.J(),c=0;c<b.length;c++)for(var d=b[c],g=encodeURIComponent(String(d)),d=this.l(d),e=0;e<d.length;e++){var h=g;""!==d[e]&&(h+="="+encodeURIComponent(String(d[e])));a.push(h)}return this.m=a.join("&")};n.n=function(){var a=new Ob;a.m=this.m;this.g&&(a.g=this.g.n());return a};function Wb(a,b){var c=String(b);a.o&&(c=c.toLowerCase());return c}
  29 +n.pb=function(a){a&&!this.o&&(M(this),this.m=k,Gb(this.g,function(a,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.remove(d),0<a.length&&(this.m=k,this.g.set(Wb(this,d),Ea(a)),this.b+=a.length))},this));this.o=a};function Xb(a){this.k=new Hb;a&&this.Ua(a)}function Yb(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+w(a):b.substr(0,1)+a}n=Xb.prototype;n.j=function(){return this.k.j()};n.add=function(a){this.k.set(Yb(a),a)};n.Ua=function(a){for(var a=Fb(a),b=a.length,c=0;c<b;c++)this.add(a[c])};n.Xb=function(a){for(var a=Fb(a),b=a.length,c=0;c<b;c++)this.remove(a[c])};n.remove=function(a){return this.k.remove(Yb(a))};n.clear=function(){this.k.clear()};n.p=function(){return this.k.p()};n.l=function(){return this.k.l()};
  30 +n.n=function(){return new Xb(this)};function Zb(a){return $b(a||arguments.callee.caller,[])}
  31 +function $b(a,b){var c=[];if(0<=B(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(ac(a)+"(");for(var d=a.arguments,g=0;g<d.length;g++){0<g&&c.push(", ");var e;e=d[g];switch(typeof e){case "object":e=e?"object":"null";break;case "string":break;case "number":e=String(e);break;case "boolean":e=e?"true":"false";break;case "function":e=(e=ac(e))?e:"[fn]";break;default:e=typeof e}40<e.length&&(e=e.substr(0,40)+"...");c.push(e)}b.push(a);c.push(")\n");try{c.push($b(a.caller,b))}catch(h){c.push("[exception trying to get caller]\n")}}else a?
  32 +c.push("[...long stack...]"):c.push("[end]");return c.join("")}function ac(a){if(bc[a])return bc[a];a=String(a);if(!bc[a]){var b=/function ([^\(]+)/.exec(a);bc[a]=b?b[1]:"[Anonymous]"}return bc[a]}var bc={};function cc(a,b,c,d,g){this.reset(a,b,c,d,g)}cc.prototype.ed=0;cc.prototype.Db=k;cc.prototype.Cb=k;var dc=0;cc.prototype.reset=function(a,b,c,d,g){this.ed="number"==typeof g?g:dc++;this.Ad=d||oa();this.na=a;this.Yc=b;this.wd=c;delete this.Db;delete this.Cb};cc.prototype.Zb=function(a){this.na=a};function ec(a){this.Zc=a}ec.prototype.L=k;ec.prototype.na=k;ec.prototype.Xa=k;ec.prototype.Ib=k;function fc(a,b){this.name=a;this.value=b}fc.prototype.toString=aa("name");var gc=new fc("SEVERE",1E3),hc=new fc("WARNING",900),ic=new fc("INFO",800),jc=new fc("CONFIG",700),kc=new fc("FINE",500);n=ec.prototype;n.getParent=aa("L");n.Hb=function(){this.Xa||(this.Xa={});return this.Xa};n.Zb=function(a){this.na=a};
  33 +function lc(a){if(a.na)return a.na;if(a.L)return lc(a.L);za("Root logger has no level set.");return k}n.log=function(a,b,c){if(a.value>=lc(this).value){a=this.Oc(a,b,c);b="log:"+a.Yc;o.console&&(o.console.timeStamp?o.console.timeStamp(b):o.console.markTimeline&&o.console.markTimeline(b));o.msWriteProfilerMark&&o.msWriteProfilerMark(b);for(b=this;b;){var c=b,d=a;if(c.Ib)for(var g=0,e=i;e=c.Ib[g];g++)e(d);b=b.getParent()}}};
  34 +n.Oc=function(a,b,c){var d=new cc(a,String(b),this.Zc);if(c){d.Db=c;var g;var e=arguments.callee.caller;try{var h;var l=ca("window.location.href");if(v(c))h={message:c,name:"Unknown error",lineNumber:"Not available",fileName:l,stack:"Not available"};else{var r,s,t=m;try{r=c.lineNumber||c.vd||"Not available"}catch(u){r="Not available",t=j}try{s=c.fileName||c.filename||c.sourceURL||l}catch(Pa){s="Not available",t=j}h=t||!c.lineNumber||!c.fileName||!c.stack?{message:c.message,name:c.name,lineNumber:r,
  35 +fileName:s,stack:c.stack||"Not available"}:c}g="Message: "+ra(h.message)+'\nUrl: <a href="view-source:'+h.fileName+'" target="_new">'+h.fileName+"</a>\nLine: "+h.lineNumber+"\n\nBrowser stack:\n"+ra(h.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+ra(Zb(e)+"-> ")}catch(E){g="Exception trying to expose exception! You win, we lose. "+E}d.Cb=g}return d};n.info=function(a,b){this.log(ic,a,b)};function N(a,b){a.log(kc,b,i)}var mc={},nc=k;
  36 +function oc(a){nc||(nc=new ec(""),mc[""]=nc,nc.Zb(jc));var b;if(!(b=mc[a])){b=new ec(a);var c=a.lastIndexOf("."),d=a.substr(c+1),c=oc(a.substr(0,c));c.Hb()[d]=b;b.L=c;mc[a]=b}return b};var pc={};function qc(){}var rc=0;n=qc.prototype;n.key=0;n.T=m;n.Wa=m;n.Ba=function(a,b,c,d,g,e){ha(a)?this.Lb=j:a&&a.handleEvent&&ha(a.handleEvent)?this.Lb=m:f(Error("Invalid listener argument"));this.X=a;this.Wb=b;this.src=c;this.type=d;this.capture=!!g;this.za=e;this.Wa=m;this.key=++rc;this.T=m};n.handleEvent=function(a){return this.Lb?this.X.call(this.za||this.src,a):this.X.handleEvent.call(this.X,a)};!D||jb();var sc=!D||jb(),tc=D&&!H("8");!G||H("528");F&&H("1.9b")||D&&H("8")||Ya&&H("9.5")||G&&H("528");F&&!H("8")||D&&H("9");function O(){}O.prototype.fa=m;O.prototype.H=function(){this.fa||(this.fa=j,this.f())};O.prototype.f=function(){this.Ic&&uc.apply(k,this.Ic);if(this.Rb)for(;this.Rb.length;)this.Rb.shift()()};function vc(a){a&&"function"==typeof a.H&&a.H()}function uc(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];fa(d)?uc.apply(k,d):vc(d)}};function P(a,b){this.type=a;this.currentTarget=this.target=b}n=P.prototype;n.f=function(){};n.H=function(){};n.aa=m;n.defaultPrevented=m;n.Ja=j;n.preventDefault=function(){this.defaultPrevented=j;this.Ja=m};function wc(a){wc[" "](a);return a}wc[" "]=da;function xc(a,b){a&&this.Ba(a,b)}y(xc,P);n=xc.prototype;n.target=k;n.relatedTarget=k;n.offsetX=0;n.offsetY=0;n.clientX=0;n.clientY=0;n.screenX=0;n.screenY=0;n.button=0;n.keyCode=0;n.charCode=0;n.ctrlKey=m;n.altKey=m;n.shiftKey=m;n.metaKey=m;n.ad=m;n.Bb=k;
  37 +n.Ba=function(a,b){var c=this.type=a.type;P.call(this,c);this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(F){var g;a:{try{wc(d.nodeName);g=j;break a}catch(e){}g=m}g||(d=k)}}else"mouseover"==c?d=a.fromElement:"mouseout"==c&&(d=a.toElement);this.relatedTarget=d;this.offsetX=G||a.offsetX!==i?a.offsetX:a.layerX;this.offsetY=G||a.offsetY!==i?a.offsetY:a.layerY;this.clientX=a.clientX!==i?a.clientX:a.pageX;this.clientY=a.clientY!==i?a.clientY:a.pageY;this.screenX=a.screenX||
  38 +0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.ad=Ta?a.metaKey:a.ctrlKey;this.state=a.state;this.Bb=a;a.defaultPrevented&&this.preventDefault();delete this.aa};
  39 +n.preventDefault=function(){xc.i.preventDefault.call(this);var a=this.Bb;if(a.preventDefault)a.preventDefault();else if(a.returnValue=m,tc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};n.f=function(){};var yc={},Q={},R={},zc={};
  40 +function S(a,b,c,d,g){if(b){if(q(b)){for(var e=0;e<b.length;e++)S(a,b[e],c,d,g);return k}var d=!!d,h=Q;b in h||(h[b]={b:0,s:0});h=h[b];d in h||(h[d]={b:0,s:0},h.b++);var h=h[d],l=w(a),r;h.s++;if(h[l]){r=h[l];for(e=0;e<r.length;e++)if(h=r[e],h.X==c&&h.za==g){if(h.T)break;return r[e].key}}else r=h[l]=[],h.b++;var s=Ac,t=sc?function(a){return s.call(t.src,t.key,a)}:function(a){a=s.call(t.src,t.key,a);if(!a)return a},e=t;e.src=a;h=new qc;h.Ba(c,e,a,b,d,g);c=h.key;e.key=c;r.push(h);yc[c]=h;R[l]||(R[l]=
  41 +[]);R[l].push(h);a.addEventListener?(a==o||!a.zb)&&a.addEventListener(b,e,d):a.attachEvent(b in zc?zc[b]:zc[b]="on"+b,e);return c}f(Error("Invalid event type"))}function Bc(a,b,c,d,g){if(q(b))for(var e=0;e<b.length;e++)Bc(a,b[e],c,d,g);else a=S(a,b,c,d,g),yc[a].Wa=j}function Cc(a,b,c,d,g){if(q(b))for(var e=0;e<b.length;e++)Cc(a,b[e],c,d,g);else if(d=!!d,a=Dc(a,b,d))for(e=0;e<a.length;e++)if(a[e].X==c&&a[e].capture==d&&a[e].za==g){Ec(a[e].key);break}}
  42 +function Ec(a){if(!yc[a])return m;var b=yc[a];if(b.T)return m;var c=b.src,d=b.type,g=b.Wb,e=b.capture;c.removeEventListener?(c==o||!c.zb)&&c.removeEventListener(d,g,e):c.detachEvent&&c.detachEvent(d in zc?zc[d]:zc[d]="on"+d,g);c=w(c);if(R[c]){var g=R[c],h=B(g,b);0<=h&&A.splice.call(g,h,1);0==g.length&&delete R[c]}b.T=j;if(b=Q[d][e][c])b.Qb=j,Fc(d,e,c,b);delete yc[a];return j}
  43 +function Fc(a,b,c,d){if(!d.Ea&&d.Qb){for(var g=0,e=0;g<d.length;g++)d[g].T?d[g].Wb.src=k:(g!=e&&(d[e]=d[g]),e++);d.length=e;d.Qb=m;0==e&&(delete Q[a][b][c],Q[a][b].b--,0==Q[a][b].b&&(delete Q[a][b],Q[a].b--),0==Q[a].b&&delete Q[a])}}function Dc(a,b,c){var d=Q;return b in d&&(d=d[b],c in d&&(d=d[c],a=w(a),d[a]))?d[a]:k}
  44 +function Gc(a,b,c,d,g){var e=1,b=w(b);if(a[b]){a.s--;a=a[b];a.Ea?a.Ea++:a.Ea=1;try{for(var h=a.length,l=0;l<h;l++){var r=a[l];r&&!r.T&&(e&=Hc(r,g)!==m)}}finally{a.Ea--,Fc(c,d,b,a)}}return Boolean(e)}function Hc(a,b){a.Wa&&Ec(a.key);return a.handleEvent(b)}
  45 +function Ac(a,b){if(!yc[a])return j;var c=yc[a],d=c.type,g=Q;if(!(d in g))return j;var g=g[d],e,h;if(!sc){e=b||ca("window.event");var l=j in g,r=m in g;if(l){if(0>e.keyCode||e.returnValue!=i)return j;a:{var s=m;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(t){s=j}if(s||e.returnValue==i)e.returnValue=j}}s=new xc;s.Ba(e,this);e=j;try{if(l){for(var u=[],Pa=s.currentTarget;Pa;Pa=Pa.parentNode)u.push(Pa);h=g[j];h.s=h.b;for(var E=u.length-1;!s.aa&&0<=E&&h.s;E--)s.currentTarget=u[E],e&=Gc(h,u[E],d,j,s);
  46 +if(r){h=g[m];h.s=h.b;for(E=0;!s.aa&&E<u.length&&h.s;E++)s.currentTarget=u[E],e&=Gc(h,u[E],d,m,s)}}else e=Hc(c,s)}finally{u&&(u.length=0)}return e}d=new xc(b,this);return e=Hc(c,d)}var Ic=0;var T={gc:["BC","AD"],fc:["Before Christ","Anno Domini"],kc:"JFMAMJJASOND".split(""),qc:"JFMAMJJASOND".split(""),jc:"January February March April May June July August September October November December".split(" "),pc:"January February March April May June July August September October November December".split(" "),mc:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),sc:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),vc:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
  47 +uc:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),oc:"Sun Mon Tue Wed Thu Fri Sat".split(" "),tc:"Sun Mon Tue Wed Thu Fri Sat".split(" "),rd:"SMTWTFS".split(""),rc:"SMTWTFS".split(""),nc:["Q1","Q2","Q3","Q4"],lc:["1st quarter","2nd quarter","3rd quarter","4th quarter"],ec:["AM","PM"],sb:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],tb:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],hc:6,sd:[5,6],ic:5};function Jc(a,b,c){ga(a)?(this.a=new Date(a,b||0,c||1),Kc(this,c||1)):ia(a)?(this.a=new Date(a.getFullYear(),a.getMonth(),a.getDate()),Kc(this,a.getDate())):(this.a=new Date(oa()),this.a.setHours(0),this.a.setMinutes(0),this.a.setSeconds(0),this.a.setMilliseconds(0))}n=Jc.prototype;n.ua=T.hc;n.va=T.ic;n.n=function(){var a=new Jc(this.a);a.ua=this.ua;a.va=this.va;return a};n.getFullYear=function(){return this.a.getFullYear()};n.getYear=function(){return this.getFullYear()};n.getMonth=function(){return this.a.getMonth()};
  48 +n.getDate=function(){return this.a.getDate()};n.getTime=function(){return this.a.getTime()};n.getDay=function(){return this.a.getDay()};n.getUTCFullYear=function(){return this.a.getUTCFullYear()};n.getUTCMonth=function(){return this.a.getUTCMonth()};n.getUTCDate=function(){return this.a.getUTCDate()};n.getUTCHours=function(){return this.a.getUTCHours()};n.getUTCMinutes=function(){return this.a.getUTCMinutes()};n.getTimezoneOffset=function(){return this.a.getTimezoneOffset()};
  49 +function Lc(a){a=a.getTimezoneOffset();if(0==a)a="Z";else var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c),a=(0<a?"-":"+")+z(c,2)+":"+z(b,2);return a}n.set=function(a){this.a=new Date(a.getFullYear(),a.getMonth(),a.getDate())};n.setFullYear=function(a){this.a.setFullYear(a)};n.setMonth=function(a){this.a.setMonth(a)};n.setDate=function(a){this.a.setDate(a)};
  50 +n.add=function(a){if(a.qd||a.Xc){var b=this.getMonth()+a.Xc+12*a.qd,c=this.getYear()+Math.floor(b/12),b=b%12;0>b&&(b+=12);var d;a:{switch(b){case 1:d=0==c%4&&(0!=c%100||0==c%400)?29:28;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.Gc&&(a=new Date((new Date(this.getYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.Gc),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),
  51 +this.setDate(a.getDate()),Kc(this,a.getDate()))};n.Ma=function(a,b){return[this.getFullYear(),z(this.getMonth()+1,2),z(this.getDate(),2)].join(a?"-":"")+(b?Lc(this):"")};n.toString=function(){return this.Ma()};function Kc(a,b){a.getDate()!=b&&a.a.setUTCHours(a.a.getUTCHours()+(a.getDate()<b?1:-1))}n.valueOf=function(){return this.a.valueOf()};function Mc(a,b,c,d,g,e,h){this.a=ga(a)?new Date(a,b||0,c||1,d||0,g||0,e||0,h||0):new Date(a?a.getTime():oa())}y(Mc,Jc);n=Mc.prototype;n.getHours=function(){return this.a.getHours()};
  52 +n.getMinutes=function(){return this.a.getMinutes()};n.getSeconds=function(){return this.a.getSeconds()};n.getMilliseconds=function(){return this.a.getMilliseconds()};n.getUTCHours=function(){return this.a.getUTCHours()};n.getUTCMinutes=function(){return this.a.getUTCMinutes()};n.setHours=function(a){this.a.setHours(a)};n.setMinutes=function(a){this.a.setMinutes(a)};n.setSeconds=function(a){this.a.setSeconds(a)};n.setMilliseconds=function(a){this.a.setMilliseconds(a)};n.setUTCHours=function(a){this.a.setUTCHours(a)};
  53 +n.add=function(a){Jc.prototype.add.call(this,a);a.Rc&&this.setHours(this.a.getHours()+a.Rc);a.Wc&&this.setMinutes(this.a.getMinutes()+a.Wc);a.dd&&this.setSeconds(this.a.getSeconds()+a.dd)};n.Ma=function(a,b){var c=Jc.prototype.Ma.call(this,a);return a?c+" "+z(this.getHours(),2)+":"+z(this.getMinutes(),2)+":"+z(this.getSeconds(),2)+(b?Lc(this):""):c+"T"+z(this.getHours(),2)+z(this.getMinutes(),2)+z(this.getSeconds(),2)+(b?Lc(this):"")};n.toString=function(){return this.Ma()};
  54 +n.n=function(){var a=new Mc(this.a);a.ua=this.ua;a.va=this.va;return a};function U(){}y(U,O);n=U.prototype;n.zb=j;n.nb=k;n.addEventListener=function(a,b,c,d){S(this,a,b,c,d)};n.removeEventListener=function(a,b,c,d){Cc(this,a,b,c,d)};
  55 +n.dispatchEvent=function(a){var b=a.type||a,c=Q;if(b in c){if(v(a))a=new P(a,this);else if(a instanceof P)a.target=a.target||this;else{var d=a,a=new P(b,this);Na(a,d)}var d=1,g,c=c[b],b=j in c,e;if(b){g=[];for(e=this;e;e=e.nb)g.push(e);e=c[j];e.s=e.b;for(var h=g.length-1;!a.aa&&0<=h&&e.s;h--)a.currentTarget=g[h],d&=Gc(e,g[h],a.type,j,a)&&a.Ja!=m}if(m in c)if(e=c[m],e.s=e.b,b)for(h=0;!a.aa&&h<g.length&&e.s;h++)a.currentTarget=g[h],d&=Gc(e,g[h],a.type,m,a)&&a.Ja!=m;else for(g=this;!a.aa&&g&&e.s;g=g.nb)a.currentTarget=
  56 +g,d&=Gc(e,g,a.type,m,a)&&a.Ja!=m;a=Boolean(d)}else a=j;return a};n.f=function(){U.i.f.call(this);var a,b=0,c=a==k;a=!!a;if(this==k)Ia(R,function(d){for(var e=d.length-1;0<=e;e--){var g=d[e];if(c||a==g.capture)Ec(g.key),b++}});else{var d=w(this);if(R[d])for(var d=R[d],g=d.length-1;0<=g;g--){var e=d[g];if(c||a==e.capture)Ec(e.key),b++}}this.nb=k};var Nc=o.window;function Oc(a,b,c){this.jb=a;this.Sc=b||0;this.C=c;this.Ac=x(this.Jc,this)}y(Oc,O);n=Oc.prototype;n.ja=0;n.f=function(){Oc.i.f.call(this);this.stop();delete this.jb;delete this.C};n.start=function(a){this.stop();var b=this.Ac,a=p(a)?a:this.Sc;ha(b)||(b&&"function"==typeof b.handleEvent?b=x(b.handleEvent,b):f(Error("Invalid listener argument")));this.ja=2147483647<a?-1:Nc.setTimeout(b,a||0)};n.stop=function(){this.Ca()&&Nc.clearTimeout(this.ja);this.ja=0};n.Ca=function(){return 0!=this.ja};
  57 +n.Jc=function(){this.ja=0;this.jb&&this.jb.call(this.C)};function V(a){a=a||{};this.id=a.id||k;this.duration=a.duration||10;this.d=pb("div")}y(V,U);n=V.prototype;n.c=oc("concerto.frontend.Content");function Pc(a){a.c.info("Content "+a.id+" is starting to load.");a.hd=new Mc;a.ld=new Oc(a.Nc,1E3*a.duration,a);S(a,Qc,a.gd,m,a);a.dispatchEvent(Rc);a.Da()}n.Va=function(a){J(this.d,a)};n.Da=function(){Sc(this)};
  58 +function Sc(a){a.Lc=new Mc;a.c.info("Content "+a.id+" is done loading. Took: "+(a.Lc.getMilliseconds()-a.hd.getMilliseconds())+"ms.");a.dispatchEvent(Tc)}n.gd=function(){this.ld.start()};n.Nc=function(){this.dispatchEvent(Uc)};var Rc="start_load_"+Ic++,Tc="finish_load_"+Ic++,Vc="start_render_"+Ic++,Qc="complete_render_"+Ic++,Wc="stop_render_"+Ic++,Xc="finish_render_"+Ic++,Uc="display_end_"+Ic++;function Yc(a){V.call(this,a);this.text=a.render_details.data}y(Yc,V);pc.Ticker=Yc;Yc.prototype.Da=function(){tb(this.d,this.text);Sc(this)};function Zc(a){this.C=a;this.h=[]}y(Zc,O);var $c=[];function ad(a,b,c,d){q(c)||($c[0]=c,c=$c);for(var g=0;g<c.length;g++){var e=S(b,c[g],d||a,m,a.C||a);a.h.push(e)}}function bd(a,b,c,d,g,e){if(q(c))for(var h=0;h<c.length;h++)bd(a,b,c[h],d,g,e);else{a:{d=d||a;e=e||a.C||a;g=!!g;if(b=Dc(b,c,g))for(c=0;c<b.length;c++)if(!b[c].T&&b[c].X==d&&b[c].capture==g&&b[c].za==e){b=b[c];break a}b=k}b&&(b=b.key,Ec(b),a=a.h,b=B(a,b),0<=b&&A.splice.call(a,b,1))}}
  59 +Zc.prototype.Xb=function(){C(this.h,Ec);this.h.length=0};Zc.prototype.f=function(){Zc.i.f.call(this);this.Xb()};Zc.prototype.handleEvent=function(){f(Error("EventHandler.handleEvent not implemented"))};function cd(a){this.la={};this.ka={};this.C=new Zc(this);this.L=a}y(cd,U);var dd=[D?"readystatechange":"load","abort","error"];cd.prototype.start=function(){var a=this.la;C(Ka(a),function(b){var c=a[b];if(c&&(delete a[b],!this.fa)){var d;d=this.L?(this.L?new ub(sb(this.L)):Ga||(Ga=new ub)).Fc("img"):new Image;ad(this.C,d,dd,this.Sb);this.ka[b]=d;d.id=b;d.src=c}},this)};
  60 +cd.prototype.Sb=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});if(!this.fa&&(a=b.id,delete this.la[a],b=this.ka[a]))delete this.ka[a],bd(this.C,b,dd,this.Sb),La(this.ka)&&La(this.la)&&this.dispatchEvent("complete")}};
  61 +cd.prototype.f=function(){delete this.la;delete this.ka;vc(this.C);cd.i.f.call(this)};function ed(a){V.call(this,a);this.kb=new cd;S(this.kb,"load",this.Uc,m,this);this.Eb=a.field.size.height;this.Fb=a.field.size.width;this.Q=k;var a=new Kb(a.render_details.path),b=this.Eb;L(a);a.u.set("height",b);b=this.Fb;L(a);a.u.set("width",b);a=a.toString();(a=v(a)?a:a.src)&&(this.kb.la.graphic=a)}y(ed,V);pc.Graphic=ed;ed.prototype.Da=function(){this.kb.start()};
  62 +ed.prototype.Uc=function(a){this.Q=a.target;this.d.appendChild(this.Q);J(this.d,"margin",(this.Eb-this.Q.height)/2+"px "+(this.Fb-this.Q.width)/2+"px");xb(this.Q,"100%","100%");Sc(this)};
  63 +ed.prototype.Va=function(a){ed.i.Va.call(this,a);var b=this.d,a=this.Q.width,c=this.Q.height,d;d="CSS1Compat"==(sb(b)?new ub(sb(sb(b))):Ga||(Ga=new ub)).ta.compatMode;if(D&&(!d||!H("8"))){var g=b.style;if(d){if(D){d=Bb(b,wb(b,"paddingLeft"));var e=Bb(b,wb(b,"paddingRight")),h=Bb(b,wb(b,"paddingTop")),l=Bb(b,wb(b,"paddingBottom"));d=new I(h,e,l,d)}else d=K(b,"paddingLeft"),e=K(b,"paddingRight"),h=K(b,"paddingTop"),l=K(b,"paddingBottom"),d=new I(parseFloat(h),parseFloat(e),parseFloat(l),parseFloat(d));
  64 +D?(e=Db(b,"borderLeft"),h=Db(b,"borderRight"),l=Db(b,"borderTop"),b=Db(b,"borderBottom"),b=new I(l,h,b,e)):(e=K(b,"borderLeftWidth"),h=K(b,"borderRightWidth"),l=K(b,"borderTopWidth"),b=K(b,"borderBottomWidth"),b=new I(parseFloat(l),parseFloat(h),parseFloat(b),parseFloat(e)));g.pixelWidth=a-b.left-d.left-d.right-b.right;g.pixelHeight=c-b.top-d.top-d.bottom-b.bottom}else g.pixelWidth=a,g.pixelHeight=c}else g=b.style,F?g.MozBoxSizing="border-box":G?g.WebkitBoxSizing="border-box":g.boxSizing="border-box",
  65 +g.width=Math.max(a,0)+"px",g.height=Math.max(c,0)+"px"};function fd(){}function gd(a){if("number"==typeof a){var b=new fd;b.Ka=a;var c;c=a;if(0==c)c="Etc/GMT";else{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",z(c,2));c=d.join("")}b.bc=c;0==a?a="UTC":(c=["UTC",0>a?"+":"-"],a=Math.abs(a),c.push(Math.floor(a/60)%100),a%=60,0!=a&&c.push(":",a),a=c.join(""));b.qb=[a,a];b.Na=[];return b}b=new fd;b.bc=a.id;b.Ka=-a.std_offset;b.qb=a.names;b.Na=a.transitions;return b}
  66 +function hd(a,b){for(var c=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5,d=0;d<a.Na.length&&c>=a.Na[d];)d+=2;return 0==d?0:a.Na[d-1]};function id(a){this.Ga=[];"number"==typeof a?jd(this,a):kd(this,a)}var ld=[/^\'(?:[^\']|\'\')*\'/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvzZ]+/];function kd(a,b){for(;b;)for(var c=0;c<ld.length;++c){var d=b.match(ld[c]);if(d){d=d[0];b=b.substring(d.length);0==c&&("''"==d?d="'":(d=d.substring(1,d.length-1),d=d.replace(/\'\'/,"'")));a.Ga.push({text:d,type:c});break}}}
  67 +function md(a,b,c){var d=c?6E4*(b.getTimezoneOffset()-(c.Ka-hd(c,b))):0,g=d?new Date(b.getTime()+d):b,e=g;c&&g.getTimezoneOffset()!=b.getTimezoneOffset()&&(e=new Date(b.getTime()+(d+(0<d?-864E5:864E5))));for(var d=[],h=0;h<a.Ga.length;++h){var l=a.Ga[h].text;1==a.Ga[h].type?d.push(nd(l,b,g,e,c)):d.push(l)}return d.join("")}function jd(a,b){var c;if(4>b)c=T.sb[b];else if(8>b)c=T.tb[b-4];else if(12>b)c=T.sb[b-8]+" "+T.tb[b-8];else{jd(a,10);return}kd(a,c)}
  68 +function W(a){if(T.wc===i)return a;for(var b=[],c=0;c<a.length;c++){var d=a.charCodeAt(c);b.push(48<=d&&57>=d?String.fromCharCode(T.wc+d-48):a.charAt(c))}return b.join("")}
  69 +function nd(a,b,c,d,g){var e=a.length;switch(a.charAt(0)){case "G":return b=0<c.getFullYear()?1:0,4<=e?T.fc[b]:T.gc[b];case "y":return b=c.getFullYear(),0>b&&(b=-b),W(2==e?z(b%100,2):String(b));case "M":a:switch(b=c.getMonth(),e){case 5:e=T.kc[b];break a;case 4:e=T.jc[b];break a;case 3:e=T.mc[b];break a;default:e=W(z(b+1,e))}return e;case "k":return W(z(d.getHours()||24,e));case "S":return W((d.getTime()%1E3/1E3).toFixed(Math.min(3,e)).substr(2)+(3<e?z(0,e-3):""));case "E":return b=c.getDay(),4<=
  70 +e?T.vc[b]:T.oc[b];case "a":return e=d.getHours(),T.ec[12<=e&&24>e?1:0];case "h":return W(z(d.getHours()%12||12,e));case "K":return W(z(d.getHours()%12,e));case "H":return W(z(d.getHours(),e));case "c":a:switch(b=c.getDay(),e){case 5:e=T.rc[b];break a;case 4:e=T.uc[b];break a;case 3:e=T.tc[b];break a;default:e=W(z(b,1))}return e;case "L":a:switch(b=c.getMonth(),e){case 5:e=T.qc[b];break a;case 4:e=T.pc[b];break a;case 3:e=T.sc[b];break a;default:e=W(z(b+1,e))}return e;case "Q":return b=Math.floor(c.getMonth()/
  71 +3),4>e?T.nc[b]:T.lc[b];case "d":return W(z(c.getDate(),e));case "m":return W(z(d.getMinutes(),e));case "s":return W(z(d.getSeconds(),e));case "v":return e=g||gd(b.getTimezoneOffset()),e.bc;case "z":return a=g||gd(b.getTimezoneOffset()),4>e?a.qb[0<hd(a,b)?2:0]:a.qb[0<hd(a,b)?3:1];case "Z":return a=g||gd(b.getTimezoneOffset()),4>e?(e=-(a.Ka-hd(a,b)),b=[0>e?"-":"+"],e=Math.abs(e),b.push(z(Math.floor(e/60)%100,2),z(e%60,2)),e=b.join("")):(e=a.Ka-hd(a,b),b=["GMT"],b.push(0>=e?"+":"-"),e=Math.abs(e),b.push(z(Math.floor(e/
  72 +60)%100,2),":",z(e%60,2)),e=W(b.join(""))),e;default:return""}};function od(a){V.call(this,a);this.cc=a.timezone}y(od,V);pc.TimeDisplay=od;od.prototype.Da=function(){var a=new Mc,b=new id(2),c=new id(7),a=md(b,a,this.cc)+" "+md(c,a,this.cc);tb(this.d,a);Sc(this)};function pd(){this.I=[]}n=pd.prototype;n.t=0;n.M=0;n.ha=function(a){this.I[this.M++]=a};n.P=function(){if(this.t!=this.M){var a=this.I[this.t];delete this.I[this.t];this.t++;return a}};n.ob=function(){return this.t==this.M?i:this.I[this.t]};n.j=function(){return this.M-this.t};n.p=function(){return 0==this.M-this.t};n.clear=function(){this.M=this.t=this.I.length=0};n.remove=function(a){a=B(this.I,a);if(0>a)return m;a==this.t?this.P():(A.splice.call(this.I,a,1),this.M--);return j};
  73 +n.l=function(){return this.I.slice(this.t,this.M)};var qd={},rd=k;function sd(a){a=w(a);delete qd[a];La(qd)&&rd&&rd.stop()}function td(){rd||(rd=new Oc(function(){var a=oa();Ia(qd,function(c){ud(c,a)});La(qd)||td()},20));var a=rd;a.Ca()||a.start()};function vd(){this.z=wd;this.Ab=this.startTime=k}y(vd,U);var wd=0;vd.prototype.S=function(){this.A("begin")};vd.prototype.Z=function(){this.A("end")};vd.prototype.A=function(a){this.dispatchEvent(a)};function xd(a,b,c,d){vd.call(this);(!q(a)||!q(b))&&f(Error("Start and end parameters must be arrays"));a.length!=b.length&&f(Error("Start and end points must be the same length"));this.pa=a;this.Kc=b;this.duration=c;this.vb=d;this.coords=[];this.Bd=m}y(xd,vd);n=xd.prototype;n.Gb=0;n.r=0;n.hb=k;
  74 +n.play=function(a){if(a||this.z==wd)this.r=0,this.coords=this.pa;else if(1==this.z)return m;sd(this);this.startTime=a=oa();-1==this.z&&(this.startTime-=this.duration*this.r);this.Ab=this.startTime+this.duration;this.hb=this.startTime;this.r||this.S();this.A("play");-1==this.z&&this.A("resume");this.z=1;var b=w(this);b in qd||(qd[b]=this);td();ud(this,a);return j};n.stop=function(a){sd(this);this.z=wd;a&&(this.r=1);yd(this,this.r);this.A("stop");this.Z()};
  75 +n.f=function(){this.z==wd||this.stop(m);this.A("destroy");xd.i.f.call(this)};function ud(a,b){a.r=(b-a.startTime)/(a.Ab-a.startTime);1<=a.r&&(a.r=1);a.Gb=1E3/(b-a.hb);a.hb=b;yd(a,a.r);1==a.r?(a.z=wd,sd(a),a.A("finish"),a.Z()):1==a.z&&a.mb()}function yd(a,b){ha(a.vb)&&(b=a.vb(b));a.coords=Array(a.pa.length);for(var c=0;c<a.pa.length;c++)a.coords[c]=(a.Kc[c]-a.pa[c])*b+a.pa[c]}n.mb=function(){this.A("animate")};n.A=function(a){this.dispatchEvent(new zd(a,this))};
  76 +function zd(a,b){P.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.Cd=b.coords[2];this.duration=b.duration;this.r=b.r;this.ud=b.Gb;this.state=b.z;this.td=b}y(zd,P);function X(a,b,c,d,g){xd.call(this,b,c,d,g);this.element=a}y(X,xd);X.prototype.Oa=da;X.prototype.mb=function(){this.Oa();X.i.mb.call(this)};X.prototype.Z=function(){this.Oa();X.i.Z.call(this)};X.prototype.S=function(){this.Oa();X.i.S.call(this)};function Ad(a,b,c,d,g){ga(b)&&(b=[b]);ga(c)&&(c=[c]);X.call(this,a,b,c,d,g);(1!=b.length||1!=c.length)&&f(Error("Start and end points must be 1D"))}y(Ad,X);
  77 +Ad.prototype.Oa=function(){var a=this.coords[0],b=this.element.style;"opacity"in b?b.opacity=a:"MozOpacity"in b?b.MozOpacity=a:"filter"in b&&(b.filter=""===a?"":"alpha(opacity="+100*a+")")};Ad.prototype.show=function(){this.element.style.display=""};function Bd(a,b,c){Ad.call(this,a,1,0,b,c)}y(Bd,Ad);Bd.prototype.S=function(){this.show();Bd.i.S.call(this)};Bd.prototype.Z=function(){this.element.style.display="none";Bd.i.Z.call(this)};function Cd(a,b,c){Ad.call(this,a,0,1,b,c)}y(Cd,Ad);
  78 +Cd.prototype.S=function(){this.show();Cd.i.S.call(this)};function Dd(a,b,c){this.field=a;this.w=b||k;this.F=c||k}y(Dd,U);n=Dd.prototype;n.go=function(){this.w!=k?this.Vb():this.F!=k&&this.fb()};n.Vb=function(){this.w.dispatchEvent(Wc);this.Ub()};n.Ub=function(){var a=this.w.V;a&&a.parentNode&&a.parentNode.removeChild(a);this.w.dispatchEvent(Xc);this.F!=k&&this.fb()};n.fb=function(){this.F.dispatchEvent(Vc);this.field.K(this.F.V);this.Kb()};n.Kb=function(){this.F.dispatchEvent(Qc)};function Ed(a,b,c){this.duration=500;Dd.call(this,a,b,c)}y(Ed,Dd);Ed.prototype.Vb=function(){this.w.dispatchEvent(Wc);var a=new Bd(this.w.V,this.duration);S(a,"end",this.Ub,m,this);a.play()};Ed.prototype.fb=function(){this.F.dispatchEvent(Vc);this.F.V.style.display="none";this.field.K(this.F.V);var a=new Cd(this.F.V,this.duration);S(a,"end",this.Kb,m,this);a.play()};function Fd(a,b,c,d){this.position=a;this.id=b;this.Ec=c;this.w=this.zd=k;this.Y=new pd;this.yc=j;this.md=d||Ed;this.Cc=this.position.La.screen.xb;this.d==k&&(a=pb("div",{id:"field_"+this.id,"class":"field"}),xb(a,"100%","100%"),this.position.K(a),this.d=a);Gd(this)}y(Fd,U);Fd.prototype.c=oc("concerto.frontend.Field");Fd.prototype.K=function(a){this.d.appendChild(a)};
  79 +Fd.prototype.fd=function(){this.c.info("Field "+this.id+" is showing new content.");var a=this.Y.P();a.Va(Hd(this.position));a.c.info("Content "+a.id+" is being rendered.");a.V=a.d;(new this.md(this,this.w,a)).go();this.yd=this.w;this.w=a};
  80 +function Gd(a){a.c.info("Field "+a.id+" would like a new piece of content.");a.Y.p()?(a.c.info("Field "+a.id+" needs to look for more content."),a.c.info("Field "+a.id+" is looking for new content."),a.Cc.send("field"+a.id,a.Ec,"GET","",k,1,x(function(a){a=Id(a.target);C(a,x(function(a){a.field={size:zb(this.position.d)};a.type in pc?(a=new pc[a.type](a),this.Y.ha(a),S(a,Tc,this.fd,m,this),S(a,Uc,this.xc,m,this)):this.c.log(hc,"Unable to find "+a.type+" renderer for content "+a.id,i)},this));!this.Y.p()&&
  81 +Pc(this.Y.ob())},a))):Pc(a.Y.ob())}Fd.prototype.xc=function(){this.yc?(this.c.info("Field "+this.id+" is auto-advancing."),Gd(this)):this.c.info("Field "+this.id+" is not advancing.")};function Jd(a,b){this.id=k;this.La=a;this.d=b||this.Za()}n=Jd.prototype;n.c=oc("concerto.frontend.Position");n.Za=function(){var a=pb("div",{id:"position_"+this.id,"class":"position"});J(a,"position","absolute");this.La.K(a);return a};
  82 +n.load=function(a){this.id=a.id;this.zc=parseFloat(a.bottom);this.Ob=parseFloat(a.left);this.cd=parseFloat(a.right);this.dc=parseFloat(a.top);this.jd=a.style;this.Mc=a.field_id;var b=this.d,c=100*this.Ob+"%",d=100*this.dc+"%",g=F&&(Ta||$a)&&H("1.9");b.style.left=yb(c,g);b.style.top=yb(d,g);xb(this.d,100*(this.cd-this.Ob)+"%",100*(this.zc-this.dc)+"%");this.field=new Fd(this,this.Mc,a.field_contents_path);this.$b()};n.K=function(a){this.d.appendChild(a)};
  83 +n.$b=function(){nb(this.d,{id:"position_"+this.id,"class":"position"});J(this.d,Kd)};function Hd(a){function b(a,b){return!(0<=B(Ld,b.toLowerCase()))}var c={};C(a.jd.split(/\s*;\s*/),function(a){a=a.split(/\s*:\s*/);2==a.length&&(c[xa(a[0].toLowerCase())]=a[1])});var a={},d;for(d in c)b.call(i,0,d)&&(a[d]=c[d]);d={};Na(d,Md);Na(d,a);return d}var Ld="overflow width height top left bottom right".split(" "),Kd={overflow:"hidden"},Md={};function Nd(a,b){this.screen=a;this.path=this.id=k;this.bd=[];this.d=b||this.Za()}Nd.prototype.c=oc("concerto.frontend.Template");Nd.prototype.Za=function(){var a=pb("div",{id:"template","class":"template"});xb(a,"100%","100%");this.screen.K(a);return a};
  84 +Nd.prototype.load=function(a){this.id=a.id;this.$=a.path;nb(this.d,{id:"template_"+this.id});var b=zb(this.d),c=new Kb(this.$),d=b.height;L(c);c.u.set("height",d);b=b.width;L(c);c.u.set("width",b);J(this.d,"background-image","url("+c.toString()+")");J(this.d,"background-size","100% 100%");J(this.d,"background-repeat","no-repeat");a.positions!=k&&C(a.positions,x(function(a){var b=new Jd(this);b.load(a);a=this.bd;0<=B(a,b)||a.push(b)},this))};Nd.prototype.K=function(a){this.d.appendChild(a)};function Od(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x10-\x1f\x80-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}f(Error("Invalid JSON string: "+a))};function Pd(){}Pd.prototype.sa=k;var Qd;function Rd(){}y(Rd,Pd);function Sd(a){return(a=Td(a))?new ActiveXObject(a):new XMLHttpRequest}function Ud(a){var b={};Td(a)&&(b[0]=j,b[1]=j);return b}
  85 +function Td(a){if(!a.Jb&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.Jb=d}catch(g){}}f(Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed"))}return a.Jb}Qd=new Rd;function Vd(a){this.headers=new Hb;this.da=a||k}y(Vd,U);Vd.prototype.c=oc("goog.net.XhrIo");var Wd=/^https?$/i;n=Vd.prototype;n.G=m;n.e=k;n.Ta=k;n.ib="";n.Nb="";n.W=0;n.ma="";n.bb=m;n.Aa=m;n.eb=m;n.R=m;n.N=0;n.U=k;n.Yb="";n.od=m;n.ac=function(a){this.N=Math.max(0,a)};
  86 +n.send=function(a,b,c,d){this.e&&f(Error("[goog.net.XhrIo] Object is active with another request"));b=b?b.toUpperCase():"GET";this.ib=a;this.ma="";this.W=0;this.Nb=b;this.bb=m;this.G=j;this.e=this.da?Sd(this.da):Sd(Qd);this.Ta=this.da?this.da.sa||(this.da.sa=Ud(this.da)):Qd.sa||(Qd.sa=Ud(Qd));this.e.onreadystatechange=x(this.Tb,this);try{N(this.c,Y(this,"Opening Xhr")),this.eb=j,this.e.open(b,a,j),this.eb=m}catch(g){N(this.c,Y(this,"Error opening Xhr: "+g.message));Xd(this,g);return}var a=c||"",e=
  87 +this.headers.n();d&&Gb(d,function(a,b){e.set(b,a)});d=o.FormData&&a instanceof o.FormData;"POST"==b&&(!e.O("Content-Type")&&!d)&&e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");Gb(e,function(a,b){this.e.setRequestHeader(b,a)},this);this.Yb&&(this.e.responseType=this.Yb);"withCredentials"in this.e&&(this.e.withCredentials=this.od);try{this.U&&(Nc.clearTimeout(this.U),this.U=k),0<this.N&&(N(this.c,Y(this,"Will abort after "+this.N+"ms if incomplete")),this.U=Nc.setTimeout(x(this.kd,
  88 +this),this.N)),N(this.c,Y(this,"Sending request")),this.Aa=j,this.e.send(a),this.Aa=m}catch(h){N(this.c,Y(this,"Send error: "+h.message)),Xd(this,h)}};n.kd=function(){"undefined"!=typeof ba&&this.e&&(this.ma="Timed out after "+this.N+"ms, aborting",this.W=8,N(this.c,Y(this,this.ma)),this.dispatchEvent("timeout"),this.abort(8))};function Xd(a,b){a.G=m;a.e&&(a.R=j,a.e.abort(),a.R=m);a.ma=b;a.W=5;Yd(a);Zd(a)}function Yd(a){a.bb||(a.bb=j,a.dispatchEvent("complete"),a.dispatchEvent("error"))}
  89 +n.abort=function(a){this.e&&this.G&&(N(this.c,Y(this,"Aborting")),this.G=m,this.R=j,this.e.abort(),this.R=m,this.W=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Zd(this))};n.f=function(){this.e&&(this.G&&(this.G=m,this.R=j,this.e.abort(),this.R=m),Zd(this,j));Vd.i.f.call(this)};n.Tb=function(){!this.eb&&!this.Aa&&!this.R?this.$c():$d(this)};n.$c=function(){$d(this)};
  90 +function $d(a){if(a.G&&"undefined"!=typeof ba)if(a.Ta[1]&&4==ae(a)&&2==be(a))N(a.c,Y(a,"Local request error detected and ignored"));else if(a.Aa&&4==ae(a))Nc.setTimeout(x(a.Tb,a),0);else if(a.dispatchEvent("readystatechange"),4==ae(a)){N(a.c,Y(a,"Request complete"));a.G=m;try{if(ce(a))a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.W=6;var b;try{b=2<ae(a)?a.e.statusText:""}catch(c){N(a.c,"Can not get status: "+c.message),b=""}a.ma=b+" ["+be(a)+"]";Yd(a)}}finally{Zd(a)}}}
  91 +function Zd(a,b){if(a.e){var c=a.e,d=a.Ta[0]?da:k;a.e=k;a.Ta=k;a.U&&(Nc.clearTimeout(a.U),a.U=k);b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(g){a.c.log(gc,"Problem encountered resetting onreadystatechange: "+g.message,i)}}}n.Ca=function(){return!!this.e};
  92 +function ce(a){var b=be(a),c;a:switch(b){case 200:case 201:case 202:case 204:case 304:case 1223:c=j;break a;default:c=m}if(!c){if(b=0===b)a=String(a.ib).match(Eb)[1]||k,!a&&self.location&&(a=self.location.protocol,a=a.substr(0,a.length-1)),b=!Wd.test(a?a.toLowerCase():"");c=b}return c}function ae(a){return a.e?a.e.readyState:0}function be(a){try{return 2<ae(a)?a.e.status:-1}catch(b){return a.c.log(hc,"Can not get status: "+b.message,i),-1}}function Id(a){if(a.e)return Od(a.e.responseText)}
  93 +function Y(a,b){return b+" ["+a.Nb+" "+a.ib+" "+be(a)+"]"};function de(a,b){this.Pb=a||0;this.Fa=b||10;this.Pb>this.Fa&&f(Error(ee));this.B=new pd;this.D=new Xb;this.ab=0;this.gb=k;this.qa()}y(de,O);var ee="[goog.structs.Pool] Min can not be greater than max";n=de.prototype;n.xa=function(){var a=oa();if(!(this.gb!=k&&a-this.gb<this.ab)){for(var b;0<this.B.j()&&!(b=this.B.P(),this.lb(b));)this.qa();!b&&this.j()<this.Fa&&(b=this.$a());b&&(this.gb=a,this.D.add(b));return b}};n.ea=function(a){this.D.remove(a);this.lb(a)&&this.j()<this.Fa?this.B.ha(a):fe(a)};
  94 +n.qa=function(){for(var a=this.B;this.j()<this.Pb;)a.ha(this.$a());for(;this.j()>this.Fa&&0<this.B.j();)fe(a.P())};n.$a=function(){return{}};function fe(a){if("function"==typeof a.H)a.H();else for(var b in a)a[b]=k}n.lb=function(a){return"function"==typeof a.Bc?a.Bc():j};n.j=function(){return this.B.j()+this.D.j()};n.p=function(){return this.B.p()&&this.D.p()};
  95 +n.f=function(){de.i.f.call(this);0<this.D.j()&&f(Error("[goog.structs.Pool] Objects not released"));delete this.D;for(var a=this.B;!a.p();)fe(a.P());delete this.B};function ge(a,b){this.Mb=a;this.Qa=b}ge.prototype.getKey=aa("Mb");ge.prototype.n=function(){return new ge(this.Mb,this.Qa)};function he(a){this.q=[];if(a)a:{var b,c;if(a instanceof he){if(b=a.J(),c=a.l(),0>=a.j()){for(var a=this.q,d=0;d<b.length;d++)a.push(new ge(b[d],c[d]));break a}}else b=Ka(a),c=Ja(a);for(d=0;d<b.length;d++)ie(this,b[d],c[d])}}function ie(a,b,c){var d=a.q;d.push(new ge(b,c));b=d.length-1;a=a.q;for(c=a[b];0<b;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c}n=he.prototype;
  96 +n.remove=function(){var a=this.q,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Ca(a);else{a[0]=a.pop();for(var a=0,b=this.q,d=b.length,g=b[a];a<d>>1;){var e=2*a+1,h=2*a+2,e=h<d&&b[h].getKey()<b[e].getKey()?h:e;if(b[e].getKey()>g.getKey())break;b[a]=b[e];a=e}b[a]=g}return c.Qa}};n.ob=function(){var a=this.q;return 0==a.length?i:a[0].Qa};n.l=function(){for(var a=this.q,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Qa);return b};n.J=function(){for(var a=this.q,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
  97 +n.O=function(a){return Ba(this.q,function(b){return b.getKey()==a})};n.n=function(){return new he(this)};n.j=function(){return this.q.length};n.p=function(){return 0==this.q.length};n.clear=function(){Ca(this.q)};function je(){he.call(this)}y(je,he);je.prototype.ha=function(a,b){ie(this,a,b)};je.prototype.P=function(){return this.remove()};function Z(a,b){this.Ia=new je;de.call(this,a,b)}y(Z,de);n=Z.prototype;n.xa=function(a,b){if(!a){var c=Z.i.xa.call(this);c&&this.ab&&(this.Hc=o.setTimeout(x(this.ya,this),this.ab));return c}this.Ia.ha(b||100,a);this.ya()};n.ya=function(){for(var a=this.Ia;0<a.j();){var b=this.xa();if(b)a.P().apply(this,[b]);else break}};n.ea=function(a){Z.i.ea.call(this,a);this.ya()};n.qa=function(){Z.i.qa.call(this);this.ya()};n.f=function(){Z.i.f.call(this);o.clearTimeout(this.Hc);this.Ia.clear();this.Ia=k};function ke(a,b,c){Z.call(this,b,c);this.cb=a}y(ke,Z);ke.prototype.$a=function(){var a=new Vd,b=this.cb;b&&Gb(b,function(b,d){a.headers.set(d,b)});return a};ke.prototype.lb=function(a){return!a.fa&&!a.Ca()};function le(a,b,c,d,g){this.oa=p(a)?a:1;this.N=p(g)?Math.max(0,g):0;this.ca=new ke(b,c,d);this.v=new Hb;this.ia=new Zc(this)}y(le,U);var me="ready complete success error abort timeout".split(" ");n=le.prototype;n.ac=function(a){this.N=Math.max(0,a)};n.send=function(a,b,c,d,g,e,h,l){this.v.get(a)&&f(Error("[goog.net.XhrManager] ID in use"));b=new ne(b,x(this.Qc,this,a),c,d,g,h,p(l)?l:this.oa);this.v.set(a,b);a=x(this.Pc,this,a);this.ca.xa(a,e);return b};
  98 +n.abort=function(a,b){var c=this.v.get(a);if(c){var d=c.Sa;c.ub=j;b&&(d&&(bd(this.ia,d,me,c.Ra),Bc(d,"ready",function(){var a=this.ca;a.D.remove(d)&&a.ea(d)},m,this)),this.v.remove(a));d&&d.abort()}};n.Pc=function(a,b){var c=this.v.get(a);c&&!c.Sa?(ad(this.ia,b,me,c.Ra),b.ac(this.N),c.Sa=c.pd=b,this.dispatchEvent(new oe("ready",this,a,b)),pe(this,a,b),c.ub&&b.abort()):(c=this.ca,c.D.remove(b)&&c.ea(b))};
  99 +n.Qc=function(a,b){var c=b.target;switch(b.type){case "ready":pe(this,a,c);break;case "complete":a:{var d=this.v.get(a);if(7==c.W||ce(c)||d.ra>d.oa)if(this.dispatchEvent(new oe("complete",this,a,c)),d&&(d.wb=j,d.Ya)){c=d.Ya.call(c,b);break a}c=k}return c;case "success":this.dispatchEvent(new oe("success",this,a,c));break;case "timeout":case "error":d=this.v.get(a);d.ra>d.oa&&this.dispatchEvent(new oe("error",this,a,c));break;case "abort":this.dispatchEvent(new oe("abort",this,a,c))}return k};
  100 +function pe(a,b,c){var d=a.v.get(b);d&&!d.wb&&!(d.ra>d.oa)?(d.ra++,c.send(d.nd,d.Vc,d.Dc,d.cb)):(d&&(bd(a.ia,c,me,d.Ra),a.v.remove(b)),a=a.ca,a.D.remove(c)&&a.ea(c))}n.f=function(){le.i.f.call(this);this.ca.H();this.ca=k;this.ia.H();this.ia=k;var a=this.v;Gb(a,function(a){a.H()});a.clear();this.v=k};function oe(a,b,c,d){P.call(this,a,b);this.id=c;this.pd=this.Sa=d}y(oe,P);oe.prototype.f=function(){};
  101 +function ne(a,b,c,d,g,e,h){this.nd=a;this.Vc=c||"GET";this.Dc=d;this.cb=g||k;this.oa=p(h)?h:1;this.ra=0;this.ub=this.wb=m;this.Ra=b;this.Ya=e;this.Sa=k}y(ne,O);ne.prototype.f=function(){ne.i.f.call(this);delete this.Ra;delete this.Ya};function qe(a,b){this.xb=new le(2,k,0,2);this.id=a;this.name="New Screen";this.yb=b||document.body;var c=pb("div",{id:"screen_"+this.id,"class":"screen"});xb(c,"100%","100%");J(c,"position","relative");rb(this.yb);this.yb.appendChild(c);this.d=c;c=["../../frontend/",this.id,"/setup.json"].join("");this.c.info("Requesting screen config from "+c);this.xb.send("setup",c,"GET","",k,1,x(function(a){a=Id(a.target);this.name=a.name;a.template!=k&&(this.La=new Nd(this),this.La.load(a.template))},this))}
  102 +var re=["concerto","frontend","Screen"],$=o;!(re[0]in $)&&$.execScript&&$.execScript("var "+re[0]);for(var se;re.length&&(se=re.shift());)!re.length&&p(qe)?$[se]=qe:$=$[se]?$[se]:$[se]={};qe.prototype.c=oc("concerto.frontend.Screen");qe.prototype.K=function(a){this.d.appendChild(a)};
891 public/frontend_js/frontend_debug.js
891 additions, 0 deletions not shown
2  public/frontend_js/screen.js
@@ -64,7 +64,7 @@ concerto.frontend.Screen.prototype.logger_ = goog.debug.Logger.getLogger(
64 64 * @return {string} Screen setup URL.
65 65 */
66 66 concerto.frontend.Screen.prototype.configUrl = function() {
67   - var url = ['/frontend/', this.id, '/setup.json'];
  67 + var url = ['../../frontend/', this.id, '/setup.json'];
68 68 return url.join('');
69 69 };
70 70

0 comments on commit 36477ef

Please sign in to comment.
Something went wrong with that request. Please try again.