[virtualcommons-svn] commit/vcweb: alllee: version bumps on JS libraries
Status: Beta
Brought to you by:
alllee
From: <com...@bi...> - 2013-07-17 19:14:29
|
1 new commit in vcweb: https://bitbucket.org/virtualcommons/vcweb/commits/8784e849cb30/ Changeset: 8784e849cb30 User: alllee Date: 2013-07-17 21:14:03 Summary: version bumps on JS libraries Affected #: 4 files diff -r 9aa770b95a35bb62e36f86c98a6a5e3ddd2e98bf -r 8784e849cb30c4921a55b23= 774219fda3670aa38 vcweb/static/js/bootbox.min.js --- a/vcweb/static/js/bootbox.min.js +++ b/vcweb/static/js/bootbox.min.js @@ -1,17 +1,6 @@ /** - * bootbox.js v3.2.0 + * bootbox.js v3.3.0 * * http://bootboxjs.com/license.txt */ -var bootbox=3Dwindow.bootbox||function(w,n){function k(b,a){"undefined"=3D= =3D=3Dtypeof a&&(a=3Dp);return"string"=3D=3D=3Dtypeof j[a][b]?j[a][b]:a!=3D= t?k(b,t):b}var p=3D"en",t=3D"en",u=3D!0,s=3D"static",v=3D"",l=3D{},g=3D{},m= =3D{setLocale:function(b){for(var a in j)if(a=3D=3Db){p=3Db;return}throw Er= ror("Invalid locale: "+b);},addLocale:function(b,a){"undefined"=3D=3D=3Dtyp= eof j[b]&&(j[b]=3D{});for(var c in a)j[b][c]=3Da[c]},setIcons:function(b){g= =3Db;if("object"!=3D=3Dtypeof g||null=3D=3D=3Dg)g=3D{}},setBtnClasses:funct= ion(b){l=3Db;if("object"!=3D=3Dtypeof l||null=3D=3D=3D -l)l=3D{}},alert:function(){var b=3D"",a=3Dk("OK"),c=3Dnull;switch(argument= s.length){case 1:b=3Darguments[0];break;case 2:b=3Darguments[0];"function"= =3D=3Dtypeof arguments[1]?c=3Darguments[1]:a=3Darguments[1];break;case 3:b= =3Darguments[0];a=3Darguments[1];c=3Darguments[2];break;default:throw Error= ("Incorrect number of arguments: expected 1-3");}return m.dialog(b,{label:a= ,icon:g.OK,"class":l.OK,callback:c},{onEscape:c||!0})},confirm:function(){v= ar b=3D"",a=3Dk("CANCEL"),c=3Dk("CONFIRM"),e=3Dnull;switch(arguments.length= ){case 1:b=3Darguments[0]; -break;case 2:b=3Darguments[0];"function"=3D=3Dtypeof arguments[1]?e=3Dargu= ments[1]:a=3Darguments[1];break;case 3:b=3Darguments[0];a=3Darguments[1];"f= unction"=3D=3Dtypeof arguments[2]?e=3Darguments[2]:c=3Darguments[2];break;c= ase 4:b=3Darguments[0];a=3Darguments[1];c=3Darguments[2];e=3Darguments[3];b= reak;default:throw Error("Incorrect number of arguments: expected 1-4");}va= r h=3Dfunction(){if("function"=3D=3D=3Dtypeof e)return e(!1)};return m.dial= og(b,[{label:a,icon:g.CANCEL,"class":l.CANCEL,callback:h},{label:c,icon:g.C= ONFIRM,"class":l.CONFIRM, -callback:function(){if("function"=3D=3D=3Dtypeof e)return e(!0)}}],{onEsca= pe:h})},prompt:function(){var b=3D"",a=3Dk("CANCEL"),c=3Dk("CONFIRM"),e=3Dn= ull,h=3D"";switch(arguments.length){case 1:b=3Darguments[0];break;case 2:b= =3Darguments[0];"function"=3D=3Dtypeof arguments[1]?e=3Darguments[1]:a=3Dar= guments[1];break;case 3:b=3Darguments[0];a=3Darguments[1];"function"=3D=3Dt= ypeof arguments[2]?e=3Darguments[2]:c=3Darguments[2];break;case 4:b=3Dargum= ents[0];a=3Darguments[1];c=3Darguments[2];e=3Darguments[3];break;case 5:b= =3Darguments[0];a=3Darguments[1]; -c=3Darguments[2];e=3Darguments[3];h=3Darguments[4];break;default:throw Err= or("Incorrect number of arguments: expected 1-5");}var q=3Dn("<form></form>= ");q.append("<input autocomplete=3Doff type=3Dtext value=3D'"+h+"' />");var= h=3Dfunction(){if("function"=3D=3D=3Dtypeof e)return e(null)},d=3Dm.dialog= (q,[{label:a,icon:g.CANCEL,"class":l.CANCEL,callback:h},{label:c,icon:g.CON= FIRM,"class":l.CONFIRM,callback:function(){if("function"=3D=3D=3Dtypeof e)r= eturn e(q.find("input[type=3Dtext]").val())}}],{header:b,show:!1,onEscape:h= });d.on("shown", -function(){q.find("input[type=3Dtext]").focus();q.on("submit",function(a){= a.preventDefault();d.find(".btn-primary").click()})});d.modal("show");retur= n d},dialog:function(b,a,c){function e(){var a=3Dnull;"function"=3D=3D=3Dty= peof c.onEscape&&(a=3Dc.onEscape());!1!=3D=3Da&&f.modal("hide")}var h=3D"",= l=3D[];c||(c=3D{});"undefined"=3D=3D=3Dtypeof a?a=3D[]:"undefined"=3D=3Dtyp= eof a.length&&(a=3D[a]);for(var d=3Da.length;d--;){var g=3Dnull,k=3Dnull,j= =3Dnull,m=3D"",p=3Dnull;if("undefined"=3D=3Dtypeof a[d].label&&"undefined"= =3D=3Dtypeof a[d]["class"]&&"undefined"=3D=3D -typeof a[d].callback){var g=3D0,k=3Dnull,r;for(r in a[d])if(k=3Dr,1<++g)br= eak;1=3D=3Dg&&"function"=3D=3Dtypeof a[d][r]&&(a[d].label=3Dk,a[d].callback= =3Da[d][r])}"function"=3D=3Dtypeof a[d].callback&&(p=3Da[d].callback);a[d][= "class"]?j=3Da[d]["class"]:d=3D=3Da.length-1&&2>=3Da.length&&(j=3D"btn-prim= ary");g=3Da[d].label?a[d].label:"Option "+(d+1);a[d].icon&&(m=3D"<i class= =3D'"+a[d].icon+"'></i> ");k=3Da[d].href?a[d].href:"javascript:;";h=3D"<a d= ata-handler=3D'"+d+"' class=3D'btn "+j+"' href=3D'"+k+"'>"+m+""+g+"</a>"+h;= l[d]=3Dp}d=3D["<div class=3D'bootbox modal' tabindex=3D'-1' style=3D'overfl= ow:hidden;'>"]; -if(c.header){j=3D"";if("undefined"=3D=3Dtypeof c.headerCloseButton||c.head= erCloseButton)j=3D"<a href=3D'javascript:;' class=3D'close'>×</a>";d.= push("<div class=3D'modal-header'>"+j+"<h3>"+c.header+"</h3></div>")}d.push= ("<div class=3D'modal-body'></div>");h&&d.push("<div class=3D'modal-footer'= >"+h+"</div>");d.push("</div>");var f=3Dn(d.join("\n"));("undefined"=3D=3D= =3Dtypeof c.animate?u:c.animate)&&f.addClass("fade");(h=3D"undefined"=3D=3D= =3Dtypeof c.classes?v:c.classes)&&f.addClass(h);f.find(".modal-body").html(= b);f.on("keyup.dismiss.modal", -function(a){27=3D=3D=3Da.which&&c.onEscape&&e("escape")});f.on("click","a.= close",function(a){a.preventDefault();e("close")});f.on("shown",function(){= f.find("a.btn-primary:first").focus()});f.on("hidden",function(){f.remove()= });f.on("click",".modal-footer a",function(b){var c=3Dn(this).data("handler= "),d=3Dl[c],e=3Dnull;"undefined"!=3D=3Dtypeof c&&"undefined"!=3D=3Dtypeof a= [c].href||(b.preventDefault(),"function"=3D=3D=3Dtypeof d&&(e=3Dd()),!1!=3D= =3De&&f.modal("hide"))});n("body").append(f);f.modal({backdrop:"undefined"= =3D=3D=3Dtypeof c.backdrop? -s:c.backdrop,keyboard:!1,show:!1});f.on("show",function(){n(w).off("focusi= n.modal")});("undefined"=3D=3D=3Dtypeof c.show||!0=3D=3D=3Dc.show)&&f.modal= ("show");return f},modal:function(){var b,a,c,e=3D{onEscape:null,keyboard:!= 0,backdrop:s};switch(arguments.length){case 1:b=3Darguments[0];break;case 2= :b=3Darguments[0];"object"=3D=3Dtypeof arguments[1]?c=3Darguments[1]:a=3Dar= guments[1];break;case 3:b=3Darguments[0];a=3Darguments[1];c=3Darguments[2];= break;default:throw Error("Incorrect number of arguments: expected 1-3");}e= .header=3Da; -c=3D"object"=3D=3Dtypeof c?n.extend(e,c):e;return m.dialog(b,[],c)},hideAl= l:function(){n(".bootbox").modal("hide")},animate:function(b){u=3Db},backdr= op:function(b){s=3Db},classes:function(b){v=3Db}},j=3D{en:{OK:"OK",CANCEL:"= Cancel",CONFIRM:"OK"},fr:{OK:"OK",CANCEL:"Annuler",CONFIRM:"D'accord"},de:{= OK:"OK",CANCEL:"Abbrechen",CONFIRM:"Akzeptieren"},es:{OK:"OK",CANCEL:"Cance= lar",CONFIRM:"Aceptar"},br:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Sim"},nl:{OK= :"OK",CANCEL:"Annuleren",CONFIRM:"Accepteren"},ru:{OK:"OK",CANCEL:"\u041e\u= 0442\u043c\u0435\u043d\u0430", -CONFIRM:"\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c"},it:{OK:"= OK",CANCEL:"Annulla",CONFIRM:"Conferma"}};return m}(document,window.jQuery)= ;window.bootbox=3Dbootbox; +var bootbox=3Dwindow.bootbox||function(a,b){function c(a,b){return"undefin= ed"=3D=3Dtypeof b&&(b=3Dd),"string"=3D=3Dtypeof m[b][a]?m[b][a]:b!=3De?c(a,= e):a}var d=3D"en",e=3D"en",f=3D!0,g=3D"static",h=3D"javascript:;",i=3D"",j= =3D{},k=3D{},l=3D{};l.setLocale=3Dfunction(a){for(var b in m)if(b=3D=3Da)re= turn d=3Da,void 0;throw new Error("Invalid locale: "+a)},l.addLocale=3Dfunc= tion(a,b){"undefined"=3D=3Dtypeof m[a]&&(m[a]=3D{});for(var c in b)m[a][c]= =3Db[c]},l.setIcons=3Dfunction(a){k=3Da,("object"!=3Dtypeof k||null=3D=3D= =3Dk)&&(k=3D{})},l.setBtnClasses=3Dfunction(a){j=3Da,("object"!=3Dtypeof j|= |null=3D=3D=3Dj)&&(j=3D{})},l.alert=3Dfunction(){var a=3D"",b=3Dc("OK"),d= =3Dnull;switch(arguments.length){case 1:a=3Darguments[0];break;case 2:a=3Da= rguments[0],"function"=3D=3Dtypeof arguments[1]?d=3Darguments[1]:b=3Dargume= nts[1];break;case 3:a=3Darguments[0],b=3Darguments[1],d=3Darguments[2];brea= k;default:throw new Error("Incorrect number of arguments: expected 1-3")}re= turn l.dialog(a,{label:b,icon:k.OK,"class":j.OK,callback:d},{onEscape:d||!0= })},l.confirm=3Dfunction(){var a=3D"",b=3Dc("CANCEL"),d=3Dc("CONFIRM"),e=3D= null;switch(arguments.length){case 1:a=3Darguments[0];break;case 2:a=3Dargu= ments[0],"function"=3D=3Dtypeof arguments[1]?e=3Darguments[1]:b=3Darguments= [1];break;case 3:a=3Darguments[0],b=3Darguments[1],"function"=3D=3Dtypeof a= rguments[2]?e=3Darguments[2]:d=3Darguments[2];break;case 4:a=3Darguments[0]= ,b=3Darguments[1],d=3Darguments[2],e=3Darguments[3];break;default:throw new= Error("Incorrect number of arguments: expected 1-4")}var f=3Dfunction(){re= turn"function"=3D=3Dtypeof e?e(!1):void 0},g=3Dfunction(){return"function"= =3D=3Dtypeof e?e(!0):void 0};return l.dialog(a,[{label:b,icon:k.CANCEL,"cla= ss":j.CANCEL,callback:f},{label:d,icon:k.CONFIRM,"class":j.CONFIRM,callback= :g}],{onEscape:f})},l.prompt=3Dfunction(){var a=3D"",d=3Dc("CANCEL"),e=3Dc(= "CONFIRM"),f=3Dnull,g=3D"";switch(arguments.length){case 1:a=3Darguments[0]= ;break;case 2:a=3Darguments[0],"function"=3D=3Dtypeof arguments[1]?f=3Dargu= ments[1]:d=3Darguments[1];break;case 3:a=3Darguments[0],d=3Darguments[1],"f= unction"=3D=3Dtypeof arguments[2]?f=3Darguments[2]:e=3Darguments[2];break;c= ase 4:a=3Darguments[0],d=3Darguments[1],e=3Darguments[2],f=3Darguments[3];b= reak;case 5:a=3Darguments[0],d=3Darguments[1],e=3Darguments[2],f=3Dargument= s[3],g=3Darguments[4];break;default:throw new Error("Incorrect number of ar= guments: expected 1-5")}var h=3Da,i=3Db("<form></form>");i.append("<input c= lass=3D'input-block-level' autocomplete=3Doff type=3Dtext value=3D'"+g+"' /= >");var m=3Dfunction(){return"function"=3D=3Dtypeof f?f(null):void 0},n=3Df= unction(){return"function"=3D=3Dtypeof f?f(i.find("input[type=3Dtext]").val= ()):void 0},o=3Dl.dialog(i,[{label:d,icon:k.CANCEL,"class":j.CANCEL,callbac= k:m},{label:e,icon:k.CONFIRM,"class":j.CONFIRM,callback:n}],{header:h,show:= !1,onEscape:m});return o.on("shown",function(){i.find("input[type=3Dtext]")= .focus(),i.on("submit",function(a){a.preventDefault(),o.find(".btn-primary"= ).click()})}),o.modal("show"),o},l.dialog=3Dfunction(c,d,e){function j(){va= r a=3Dnull;"function"=3D=3Dtypeof e.onEscape&&(a=3De.onEscape()),a!=3D=3D!1= &&x.modal("hide")}var k=3D"",l=3D[];e||(e=3D{}),"undefined"=3D=3Dtypeof d?d= =3D[]:"undefined"=3D=3Dtypeof d.length&&(d=3D[d]);for(var m=3Dd.length;m--;= ){var n=3Dnull,o=3Dnull,p=3Dnull,q=3D"",r=3Dnull;if("undefined"=3D=3Dtypeof= d[m].label&&"undefined"=3D=3Dtypeof d[m]["class"]&&"undefined"=3D=3Dtypeof= d[m].callback){var s=3D0,t=3Dnull;for(var u in d[m])if(t=3Du,++s>1)break;1= =3D=3Ds&&"function"=3D=3Dtypeof d[m][u]&&(d[m].label=3Dt,d[m].callback=3Dd[= m][u])}"function"=3D=3Dtypeof d[m].callback&&(r=3Dd[m].callback),d[m]["clas= s"]?p=3Dd[m]["class"]:m=3D=3Dd.length-1&&d.length<=3D2&&(p=3D"btn-primary")= ,d[m].link!=3D=3D!0&&(p=3D"btn "+p),n=3Dd[m].label?d[m].label:"Option "+(m+= 1),d[m].icon&&(q=3D"<i class=3D'"+d[m].icon+"'></i> "),o=3Dd[m].href?d[m].h= ref:h,k=3D"<a data-handler=3D'"+m+"' class=3D'"+p+"' href=3D'"+o+"'>"+q+n+"= </a>"+k,l[m]=3Dr}var v=3D["<div class=3D'bootbox modal' tabindex=3D'-1' sty= le=3D'overflow:hidden;'>"];if(e.header){var w=3D"";("undefined"=3D=3Dtypeof= e.headerCloseButton||e.headerCloseButton)&&(w=3D"<a href=3D'"+h+"' class= =3D'close'>×</a>"),v.push("<div class=3D'modal-header'>"+w+"<h3>"+e.h= eader+"</h3></div>")}v.push("<div class=3D'modal-body'></div>"),k&&v.push("= <div class=3D'modal-footer'>"+k+"</div>"),v.push("</div>");var x=3Db(v.join= ("\n")),y=3D"undefined"=3D=3Dtypeof e.animate?f:e.animate;y&&x.addClass("fa= de");var z=3D"undefined"=3D=3Dtypeof e.classes?i:e.classes;return z&&x.addC= lass(z),x.find(".modal-body").html(c),x.on("keyup.dismiss.modal",function(a= ){27=3D=3D=3Da.which&&e.onEscape&&j("escape")}),x.on("click","a.close",func= tion(a){a.preventDefault(),j("close")}),x.on("shown",function(){x.find("a.b= tn-primary:first").focus()}),x.on("hidden",function(a){a.target=3D=3D=3Dthi= s&&x.remove()}),x.on("click",".modal-footer a",function(a){var c=3Db(this).= data("handler"),e=3Dl[c],f=3Dnull;("undefined"=3D=3Dtypeof c||"undefined"= =3D=3Dtypeof d[c].href)&&(a.preventDefault(),"function"=3D=3Dtypeof e&&(f= =3De(a)),f!=3D=3D!1&&x.modal("hide"))}),b("body").append(x),x.modal({backdr= op:"undefined"=3D=3Dtypeof e.backdrop?g:e.backdrop,keyboard:!1,show:!1}),x.= on("show",function(){b(a).off("focusin.modal")}),("undefined"=3D=3Dtypeof e= .show||e.show=3D=3D=3D!0)&&x.modal("show"),x},l.modal=3Dfunction(){var a,c,= d,e=3D{onEscape:null,keyboard:!0,backdrop:g};switch(arguments.length){case = 1:a=3Darguments[0];break;case 2:a=3Darguments[0],"object"=3D=3Dtypeof argum= ents[1]?d=3Darguments[1]:c=3Darguments[1];break;case 3:a=3Darguments[0],c= =3Darguments[1],d=3Darguments[2];break;default:throw new Error("Incorrect n= umber of arguments: expected 1-3")}return e.header=3Dc,d=3D"object"=3D=3Dty= peof d?b.extend(e,d):e,l.dialog(a,[],d)},l.hideAll=3Dfunction(){b(".bootbox= ").modal("hide")},l.animate=3Dfunction(a){f=3Da},l.backdrop=3Dfunction(a){g= =3Da},l.classes=3Dfunction(a){i=3Da};var m=3D{br:{OK:"OK",CANCEL:"Cancelar"= ,CONFIRM:"Sim"},da:{OK:"OK",CANCEL:"Annuller",CONFIRM:"Accepter"},de:{OK:"O= K",CANCEL:"Abbrechen",CONFIRM:"Akzeptieren"},en:{OK:"OK",CANCEL:"Cancel",CO= NFIRM:"OK"},es:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Aceptar"},fr:{OK:"OK",CA= NCEL:"Annuler",CONFIRM:"D'accord"},it:{OK:"OK",CANCEL:"Annulla",CONFIRM:"Co= nferma"},nl:{OK:"OK",CANCEL:"Annuleren",CONFIRM:"Accepteren"},pl:{OK:"OK",C= ANCEL:"Anuluj",CONFIRM:"Potwierd=C5=BA"},ru:{OK:"OK",CANCEL:"=D0=9E=D1=82= =D0=BC=D0=B5=D0=BD=D0=B0",CONFIRM:"=D0=9F=D1=80=D0=B8=D0=BC=D0=B5=D0=BD=D0= =B8=D1=82=D1=8C"},zh_CN:{OK:"OK",CANCEL:"=E5=8F=96=E6=B6=88",CONFIRM:"=E7= =A1=AE=E8=AE=A4"},zh_TW:{OK:"OK",CANCEL:"=E5=8F=96=E6=B6=88",CONFIRM:"=E7= =A2=BA=E8=AA=8D"}};return l}(document,window.jQuery);window.bootbox=3Dbootb= ox; \ No newline at end of file diff -r 9aa770b95a35bb62e36f86c98a6a5e3ddd2e98bf -r 8784e849cb30c4921a55b23= 774219fda3670aa38 vcweb/static/js/bootstrap-tour.js --- a/vcweb/static/js/bootstrap-tour.js +++ b/vcweb/static/js/bootstrap-tour.js @@ -1,7 +1,6 @@ -// Generated by CoffeeScript 1.6.2 -/* =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -# bootstrap-tour.js v0.3.0 -# http://bootstraptour.com/ +/* =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +# bootstrap-tour - v0.5.0 +# http://bootstraptour.com # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 2012-2013 Ulrich Sossou # @@ -17,479 +16,4 @@ # See the License for the specific language governing permissions and # limitations under the License. */ - - -(function() { - (function($, window) { - var Tour, document; - - document =3D window.document; - Tour =3D (function() { - function Tour(options) { - this._options =3D $.extend({ - name: 'tour', - labels: { - end: 'End tour', - next: 'Next »', - prev: '« Prev' - }, - template: "<div class=3D'popover tour'><div class=3D'arrow'></di= v><h3 class=3D'popover-title'></h3><div class=3D'popover-content'></div></d= iv>", - container: 'body', - keyboard: true, - useLocalStorage: false, - debug: false, - backdrop: false, - afterSetState: function(key, value) {}, - afterGetState: function(key, value) {}, - afterRemoveState: function(key) {}, - onStart: function(tour) {}, - onEnd: function(tour) {}, - onShow: function(tour) {}, - onShown: function(tour) {}, - onHide: function(tour) {}, - onHidden: function(tour) {} - }, options); - this._steps =3D []; - this.setCurrentStep(); - this.backdrop =3D { - overlay: null, - step: null, - background: null - }; - } - - Tour.prototype.setState =3D function(key, value) { - key =3D "" + this._options.name + "_" + key; - if (this._options.useLocalStorage) { - window.localStorage.setItem(key, value); - } else { - $.cookie(key, value, { - expires: 36500, - path: '/' - }); - } - return this._options.afterSetState(key, value); - }; - - Tour.prototype.removeState =3D function(key) { - key =3D "" + this._options.name + "_" + key; - if (this._options.useLocalStorage) { - window.localStorage.removeItem(key); - } else { - $.removeCookie(key, { - path: '/' - }); - } - return this._options.afterRemoveState(key); - }; - - Tour.prototype.getState =3D function(key) { - var value; - - if (this._options.useLocalStorage) { - value =3D window.localStorage.getItem("" + this._options.name + = "_" + key); - } else { - value =3D $.cookie("" + this._options.name + "_" + key); - } - if (value =3D=3D=3D void 0 || value =3D=3D=3D "null") { - value =3D null; - } - this._options.afterGetState(key, value); - return value; - }; - - Tour.prototype.addStep =3D function(step) { - return this._steps.push(step); - }; - - Tour.prototype.getStep =3D function(i) { - if (this._steps[i] !=3D null) { - return $.extend({ - path: "", - placement: "right", - title: "", - content: "", - id: "step-" + i, - next: i =3D=3D=3D this._steps.length - 1 ? -1 : i + 1, - prev: i - 1, - animation: true, - onShow: this._options.onShow, - onShown: this._options.onShown, - onHide: this._options.onHide, - onHidden: this._options.onHidden, - template: this._options.template, - container: this._options.container - }, this._steps[i]); - } - }; - - Tour.prototype.start =3D function(force) { - var promise, - _this =3D this; - - if (force =3D=3D null) { - force =3D false; - } - if (this.ended() && !force) { - return this._debug("Tour ended, start prevented."); - } - $(document).off("click.bootstrap-tour", ".popover .next").on("clic= k.bootstrap-tour", ".popover .next", function(e) { - e.preventDefault(); - return _this.next(); - }); - $(document).off("click.bootstrap-tour", ".popover .prev").on("clic= k.bootstrap-tour", ".popover .prev", function(e) { - e.preventDefault(); - return _this.prev(); - }); - $(document).off("click.bootstrap-tour", ".popover .end").on("click= .bootstrap-tour", ".popover .end", function(e) { - e.preventDefault(); - return _this.end(); - }); - this._onresize(function() { - return _this.showStep(_this._current); - }); - this._setupKeyboardNavigation(); - promise =3D this._makePromise(this._options.onStart !=3D null ? th= is._options.onStart(this) : void 0); - return this._callOnPromiseDone(promise, this.showStep, this._curre= nt); - }; - - Tour.prototype.next =3D function() { - var promise; - - promise =3D this.hideStep(this._current); - return this._callOnPromiseDone(promise, this.showNextStep); - }; - - Tour.prototype.prev =3D function() { - var promise; - - promise =3D this.hideStep(this._current); - return this._callOnPromiseDone(promise, this.showPrevStep); - }; - - Tour.prototype.end =3D function() { - var endHelper, hidePromise, - _this =3D this; - - endHelper =3D function(e) { - $(document).off("click.bootstrap-tour"); - $(document).off("keyup.bootstrap-tour"); - $(window).off("resize.bootstrap-tour"); - _this.setState("end", "yes"); - _this._hideBackdrop(); - if (_this._options.onEnd !=3D null) { - return _this._options.onEnd(_this); - } - }; - hidePromise =3D this.hideStep(this._current); - return this._callOnPromiseDone(hidePromise, endHelper); - }; - - Tour.prototype.ended =3D function() { - return !!this.getState("end"); - }; - - Tour.prototype.restart =3D function() { - this.removeState("current_step"); - this.removeState("end"); - this.setCurrentStep(0); - return this.start(); - }; - - Tour.prototype.hideStep =3D function(i) { - var hideStepHelper, promise, step, - _this =3D this; - - step =3D this.getStep(i); - promise =3D this._makePromise((step.onHide !=3D null ? step.onHide= (this) : void 0)); - hideStepHelper =3D function(e) { - var $element; - - $element =3D $(step.element).popover("hide"); - if (step.reflex) { - $element.css("cursor", "").off("click.boostrap-tour"); - } - if (step.backdrop) { - _this._hideBackdrop(); - } - if (step.onHidden !=3D null) { - return step.onHidden(_this); - } - }; - this._callOnPromiseDone(promise, hideStepHelper); - return promise; - }; - - Tour.prototype.showStep =3D function(i) { - var promise, showStepHelper, step, - _this =3D this; - - step =3D this.getStep(i); - if (!step) { - return; - } - promise =3D this._makePromise((step.onShow !=3D null ? step.onShow= (this) : void 0)); - showStepHelper =3D function(e) { - var current_path, path; - - _this.setCurrentStep(i); - path =3D typeof step.path =3D=3D=3D "function" ? step.path.call(= ) : step.path; - current_path =3D [document.location.pathname, document.location.= hash].join(''); - if (_this._redirect(path, current_path)) { - _this._debug("Redirect to " + path); - document.location.href =3D path; - return; - } - if (!((step.element !=3D null) && $(step.element).length !=3D=3D= 0 && $(step.element).is(":visible"))) { - _this._debug("Skip the step " + (_this._current + 1) + ". The = element does not exist or is not visible."); - _this.showNextStep(); - return; - } - if (step.backdrop) { - _this._showBackdrop(step.element); - } - _this._showPopover(step, i); - if (step.onShown !=3D null) { - step.onShown(_this); - } - return _this._debug("Step " + (_this._current + 1) + " of " + _t= his._steps.length); - }; - return this._callOnPromiseDone(promise, showStepHelper); - }; - - Tour.prototype.setCurrentStep =3D function(value) { - if (value !=3D null) { - this._current =3D value; - return this.setState("current_step", value); - } else { - this._current =3D this.getState("current_step"); - if (this._current =3D=3D=3D null) { - return this._current =3D 0; - } else { - return this._current =3D parseInt(this._current); - } - } - }; - - Tour.prototype.showNextStep =3D function() { - var step; - - step =3D this.getStep(this._current); - return this.showStep(step.next); - }; - - Tour.prototype.showPrevStep =3D function() { - var step; - - step =3D this.getStep(this._current); - return this.showStep(step.prev); - }; - - Tour.prototype._debug =3D function(text) { - if (this._options.debug) { - return window.console.log("Bootstrap Tour '" + this._options.nam= e + "' | " + text); - } - }; - - Tour.prototype._redirect =3D function(path, currentPath) { - return (path !=3D null) && path !=3D=3D "" && path.replace(/\?.*$/= , "").replace(/\/?$/, "") !=3D=3D currentPath.replace(/\/?$/, ""); - }; - - Tour.prototype._showPopover =3D function(step, i) { - var $tip, content, nav, options, - _this =3D this; - - content =3D "" + step.content + "<br /><p>"; - options =3D $.extend({}, this._options); - if (step.options) { - $.extend(options, step.options); - } - if (step.reflex) { - $(step.element).css("cursor", "pointer").on("click.bootstrap-tou= r", function(e) { - return _this.next(); - }); - } - nav =3D []; - if (step.prev >=3D 0) { - nav.push("<a href=3D'#' class=3D'prev'>" + options.labels.prev += "</a>"); - } - if (step.next >=3D 0) { - nav.push("<a href=3D'#' class=3D'next'>" + options.labels.next += "</a>"); - } - content +=3D nav.join(" | "); - content +=3D "<a href=3D'#' class=3D'pull-right end'>" + options.l= abels.end + "</a>"; - $(step.element).popover('destroy').popover({ - placement: step.placement, - trigger: "manual", - title: step.title, - content: content, - html: true, - animation: step.animation, - container: step.container, - template: step.template - }).popover("show"); - $tip =3D $(step.element).data("popover").tip(); - $tip.attr("id", step.id); - this._reposition($tip, step); - return this._scrollIntoView($tip); - }; - - Tour.prototype._reposition =3D function(tip, step) { - var offsetBottom, offsetRight, original_left, original_offsetHeigh= t, original_offsetWidth, original_top, tipOffset; - - original_offsetWidth =3D tip[0].offsetWidth; - original_offsetHeight =3D tip[0].offsetHeight; - tipOffset =3D tip.offset(); - original_left =3D tipOffset.left; - original_top =3D tipOffset.top; - offsetBottom =3D $(document).outerHeight() - tipOffset.top - $(tip= ).outerHeight(); - if (offsetBottom < 0) { - tipOffset.top =3D tipOffset.top + offsetBottom; - } - offsetRight =3D $("html").outerWidth() - tipOffset.left - $(tip).o= uterWidth(); - if (offsetRight < 0) { - tipOffset.left =3D tipOffset.left + offsetRight; - } - if (tipOffset.top < 0) { - tipOffset.top =3D 0; - } - if (tipOffset.left < 0) { - tipOffset.left =3D 0; - } - tip.offset(tipOffset); - if (step.placement =3D=3D=3D 'bottom' || step.placement =3D=3D=3D = 'top') { - if (original_left !=3D=3D tipOffset.left) { - return this._replaceArrow(tip, (tipOffset.left - original_left= ) * 2, original_offsetWidth, 'left'); - } - } else { - if (original_top !=3D=3D tipOffset.top) { - return this._replaceArrow(tip, (tipOffset.top - original_top) = * 2, original_offsetHeight, 'top'); - } - } - }; - - Tour.prototype._replaceArrow =3D function(tip, delta, dimension, pos= ition) { - return tip.find(".arrow").css(position, delta ? 50 * (1 - delta / = dimension) + "%" : ''); - }; - - Tour.prototype._scrollIntoView =3D function(tip) { - var tipRect; - - tipRect =3D tip.get(0).getBoundingClientRect(); - if (!(tipRect.top >=3D 0 && tipRect.bottom < $(window).height() &&= tipRect.left >=3D 0 && tipRect.right < $(window).width())) { - return tip.get(0).scrollIntoView(true); - } - }; - - Tour.prototype._onresize =3D function(cb, timeout) { - return $(window).on("resize.bootstrap-tour", function() { - clearTimeout(timeout); - return timeout =3D setTimeout(cb, 100); - }); - }; - - Tour.prototype._setupKeyboardNavigation =3D function() { - var _this =3D this; - - if (this._options.keyboard) { - return $(document).on("keyup.bootstrap-tour", function(e) { - if (!e.which) { - return; - } - switch (e.which) { - case 39: - e.preventDefault(); - if (_this._current < _this._steps.length - 1) { - return _this.next(); - } else { - return _this.end(); - } - break; - case 37: - e.preventDefault(); - if (_this._current > 0) { - return _this.prev(); - } - } - }); - } - }; - - Tour.prototype._makePromise =3D function(result) { - if (result && $.isFunction(result.then)) { - return result; - } else { - return null; - } - }; - - Tour.prototype._callOnPromiseDone =3D function(promise, cb, arg) { - var _this =3D this; - - if (promise) { - return promise.then(function(e) { - return cb.call(_this, arg); - }); - } else { - return cb.call(this, arg); - } - }; - - Tour.prototype._showBackdrop =3D function(el) { - if (this.backdrop.overlay !=3D=3D null) { - return; - } - this._showOverlay(); - return this._showOverlayElement(el); - }; - - Tour.prototype._hideBackdrop =3D function() { - if (this.backdrop.overlay =3D=3D=3D null) { - return; - } - this._hideOverlayElement(); - return this._hideOverlay(); - }; - - Tour.prototype._showOverlay =3D function() { - this.backdrop =3D $('<div/>'); - this.backdrop.addClass('tour-backdrop'); - this.backdrop.height($(document).innerHeight()); - return $('body').append(this.backdrop); - }; - - Tour.prototype._hideOverlay =3D function() { - this.backdrop.remove(); - return this.backdrop.overlay =3D null; - }; - - Tour.prototype._showOverlayElement =3D function(el) { - var background, offset, padding, step; - - step =3D $(el); - padding =3D 5; - offset =3D step.offset(); - offset.top =3D offset.top - padding; - offset.left =3D offset.left - padding; - background =3D $('<div/>'); - background.width(step.innerWidth() + padding).height(step.innerHei= ght() + padding).addClass('tour-step-background').offset(offset); - step.addClass('tour-step-backdrop'); - $('body').append(background); - this.backdrop.step =3D step; - return this.backdrop.background =3D background; - }; - - Tour.prototype._hideOverlayElement =3D function() { - this.backdrop.step.removeClass('tour-step-backdrop'); - this.backdrop.background.remove(); - this.backdrop.step =3D null; - return this.backdrop.background =3D null; - }; - - return Tour; - - })(); - return window.Tour =3D Tour; - })(jQuery, window); - -}).call(this); +!function(){!function(a,b){var c,d;return d=3Db.document,c=3Dfunction(){fu= nction c(b){this._options=3Da.extend({name:"tour",container:"body",keyboard= :!0,useLocalStorage:!1,debug:!1,backdrop:!1,redirect:!0,basePath:"",templat= e:"<div class=3D'popover tour'><div class=3D'arrow'></div><h3 class=3D'popo= ver-title'></h3><div class=3D'popover-content'></div><div class=3D'popover-= navigation'><button class=3D'btn' data-role=3D'prev'>« Prev</button><= span data-role=3D'separator'>|</span><button class=3D'btn' data-role=3D'nex= t'>Next »</button><button class=3D'btn' data-role=3D'end'>End tour</b= utton></div></div>",afterSetState:function(){},afterGetState:function(){},a= fterRemoveState:function(){},onStart:function(){},onEnd:function(){},onShow= :function(){},onShown:function(){},onHide:function(){},onHidden:function(){= },onNext:function(){},onPrev:function(){}},b),this._options.useLocalStorage= ||a.cookie||this._debug("jQuery.cookie is not loaded."),this._steps=3D[],th= is.setCurrentStep(),this.backdrop=3D{overlay:null,step:null,background:null= }}return c.prototype.setState=3Dfunction(c,d){return c=3D""+this._options.n= ame+"_"+c,this._options.useLocalStorage?b.localStorage.setItem(c,d):a.cooki= e(c,d,{expires:36500,path:"/"}),this._options.afterSetState(c,d)},c.prototy= pe.removeState=3Dfunction(c){return c=3D""+this._options.name+"_"+c,this._o= ptions.useLocalStorage?b.localStorage.removeItem(c):a.removeCookie(c,{path:= "/"}),this._options.afterRemoveState(c)},c.prototype.getState=3Dfunction(c)= {var d;return d=3Dthis._options.useLocalStorage?b.localStorage.getItem(""+t= his._options.name+"_"+c):a.cookie(""+this._options.name+"_"+c),(void 0=3D= =3D=3Dd||"null"=3D=3D=3Dd)&&(d=3Dnull),this._options.afterGetState(c,d),d},= c.prototype.addSteps=3Dfunction(a){var b,c,d,e;for(e=3D[],c=3D0,d=3Da.lengt= h;d>c;c++)b=3Da[c],e.push(this.addStep(b));return e},c.prototype.addStep=3D= function(a){return this._steps.push(a)},c.prototype.getStep=3Dfunction(b){r= eturn null!=3Dthis._steps[b]?a.extend({id:"step-"+b,path:"",placement:"righ= t",title:"",content:"<p></p>",next:b=3D=3D=3Dthis._steps.length-1?-1:b+1,pr= ev:b-1,animation:!0,container:this._options.container,backdrop:this._option= s.backdrop,redirect:this._options.redirect,template:this._options.template,= onShow:this._options.onShow,onShown:this._options.onShown,onHide:this._opti= ons.onHide,onHidden:this._options.onHidden,onNext:this._options.onNext,onPr= ev:this._options.onPrev},this._steps[b]):void 0},c.prototype.start=3Dfuncti= on(b){var c,e=3Dthis;return null=3D=3Db&&(b=3D!1),this.ended()&&!b?this._de= bug("Tour ended, start prevented."):(a(d).off("click.bootstrap-tour",".popo= ver *[data-role=3Dnext]").on("click.bootstrap-tour",".popover *[data-role= =3Dnext]",function(a){return a.preventDefault(),e.next()}),a(d).off("click.= bootstrap-tour",".popover *[data-role=3Dprev]").on("click.bootstrap-tour","= .popover *[data-role=3Dprev]",function(a){return a.preventDefault(),e.prev(= )}),a(d).off("click.bootstrap-tour",".popover *[data-role=3Dend]").on("clic= k.bootstrap-tour",".popover *[data-role=3Dend]",function(a){return a.preven= tDefault(),e.end()}),this._onresize(function(){return e.showStep(e._current= )}),this._setupKeyboardNavigation(),c=3Dthis._makePromise(null!=3Dthis._opt= ions.onStart?this._options.onStart(this):void 0),this._callOnPromiseDone(c,= this.showStep,this._current))},c.prototype.next=3Dfunction(){var a;return a= =3Dthis.hideStep(this._current),this._callOnPromiseDone(a,this.showNextStep= )},c.prototype.prev=3Dfunction(){var a;return a=3Dthis.hideStep(this._curre= nt),this._callOnPromiseDone(a,this.showPrevStep)},c.prototype.end=3Dfunctio= n(){var c,e,f=3Dthis;return c=3Dfunction(){return a(d).off("click.bootstrap= -tour"),a(d).off("keyup.bootstrap-tour"),a(b).off("resize.bootstrap-tour"),= f.setState("end","yes"),f._hideBackdrop(),null!=3Df._options.onEnd?f._optio= ns.onEnd(f):void 0},e=3Dthis.hideStep(this._current),this._callOnPromiseDon= e(e,c)},c.prototype.ended=3Dfunction(){return!!this.getState("end")},c.prot= otype.restart=3Dfunction(){return this.removeState("current_step"),this.rem= oveState("end"),this.setCurrentStep(0),this.start()},c.prototype.hideStep= =3Dfunction(b){var c,d,e,f=3Dthis;return e=3Dthis.getStep(b),d=3Dthis._make= Promise(null!=3De.onHide?e.onHide(this):void 0),c=3Dfunction(){var b;return= b=3Da(e.element).popover("hide"),e.reflex&&b.css("cursor","").off("click.b= ootstrap-tour"),e.backdrop&&f._hideBackdrop(),null!=3De.onHidden?e.onHidden= (f):void 0},this._callOnPromiseDone(d,c),d},c.prototype.showStep=3Dfunction= (b){var c,e,f,g=3Dthis;return(f=3Dthis.getStep(b))?(c=3Dthis._makePromise(n= ull!=3Df.onShow?f.onShow(this):void 0),e=3Dfunction(){var c,e;return g.setC= urrentStep(b),e=3Da.isFunction(f.path)?f.path.call():g._options.basePath+f.= path,c=3D[d.location.pathname,d.location.hash].join(""),g._isRedirect(e,c)?= (g._redirect(f,e),void 0):null!=3Df.element&&0!=3D=3Da(f.element).length&&a= (f.element).is(":visible")?(f.backdrop&&g._showBackdrop(f.element),g._showP= opover(f,b),null!=3Df.onShown&&f.onShown(g),g._debug("Step "+(g._current+1)= +" of "+g._steps.length)):(g._debug("Skip the step "+(g._current+1)+". The = element does not exist or is not visible."),g.showNextStep(),void 0)},this.= _callOnPromiseDone(c,e)):void 0},c.prototype.setCurrentStep=3Dfunction(a){r= eturn null!=3Da?(this._current=3Da,this.setState("current_step",a)):(this._= current=3Dthis.getState("current_step"),this._current=3Dnull=3D=3D=3Dthis._= current?0:parseInt(this._current))},c.prototype.showNextStep=3Dfunction(){v= ar a,b,c,d=3Dthis;return c=3Dthis.getStep(this._current),b=3Dfunction(){ret= urn d.showStep(c.next)},a=3Dthis._makePromise(null!=3Dc.onNext?c.onNext(thi= s):void 0),this._callOnPromiseDone(a,b)},c.prototype.showPrevStep=3Dfunctio= n(){var a,b,c,d=3Dthis;return c=3Dthis.getStep(this._current),b=3Dfunction(= ){return d.showStep(c.prev)},a=3Dthis._makePromise(null!=3Dc.onPrev?c.onPre= v(this):void 0),this._callOnPromiseDone(a,b)},c.prototype._debug=3Dfunction= (a){return this._options.debug?b.console.log("Bootstrap Tour '"+this._optio= ns.name+"' | "+a):void 0},c.prototype._isRedirect=3Dfunction(a,b){return nu= ll!=3Da&&""!=3D=3Da&&a.replace(/\?.*$/,"").replace(/\/?$/,"")!=3D=3Db.repla= ce(/\/?$/,"")},c.prototype._redirect=3Dfunction(b,c){return a.isFunction(b.= redirect)?b.redirect.call(this,c):b.redirect=3D=3D=3D!0?(this._debug("Redir= ect to "+c),d.location.href=3Dc):void 0},c.prototype._renderNavigation=3Dfu= nction(b,c){var d;return d=3Da.isFunction(b.template)?a(b.template(c,b)):a(= b.template),b.prev>=3D0||d.find(".popover-navigation *[data-role=3Dprev]").= remove(),b.next>=3D0||d.find(".popover-navigation *[data-role=3Dnext]").rem= ove(),b.prev>=3D0&&b.next>=3D0||d.find(".popover-navigation *[data-role=3Ds= eparator]").remove(),d.clone().wrap("<div>").parent().html()},c.prototype._= showPopover=3Dfunction(b,c){var d,e,f,g,h=3Dthis;return f=3Da.extend({},thi= s._options),b.options&&a.extend(f,b.options),b.reflex&&a(b.element).css("cu= rsor","pointer").on("click.bootstrap-tour",function(){return h.next()}),g= =3Dthis._renderNavigation(b,c,f),d=3Da(b.element),d.data("popover")&&d.popo= ver("destroy"),d.popover({placement:b.placement,trigger:"manual",title:b.ti= tle,content:b.content,html:!0,animation:b.animation,container:b.container,t= emplate:g,selector:b.element}).popover("show"),e=3Da(b.element).data("popov= er").tip(),e.attr("id",b.id),this._reposition(e,b),this._scrollIntoView(e)}= ,c.prototype._reposition=3Dfunction(b,c){var e,f,g,h,i,j,k;if(i=3Db[0].offs= etWidth,h=3Db[0].offsetHeight,k=3Db.offset(),g=3Dk.left,j=3Dk.top,e=3Da(d).= outerHeight()-k.top-a(b).outerHeight(),0>e&&(k.top=3Dk.top+e),f=3Da("html")= .outerWidth()-k.left-a(b).outerWidth(),0>f&&(k.left=3Dk.left+f),k.top<0&&(k= .top=3D0),k.left<0&&(k.left=3D0),b.offset(k),"bottom"=3D=3D=3Dc.placement||= "top"=3D=3D=3Dc.placement){if(g!=3D=3Dk.left)return this._replaceArrow(b,2*= (k.left-g),i,"left")}else if(j!=3D=3Dk.top)return this._replaceArrow(b,2*(k= .top-j),h,"top")},c.prototype._replaceArrow=3Dfunction(a,b,c,d){return a.fi= nd(".arrow").css(d,b?50*(1-b/c)+"%":"")},c.prototype._scrollIntoView=3Dfunc= tion(c){var d;return d=3Dc.get(0).getBoundingClientRect(),d.top>=3D0&&d.bot= tom<a(b).height()&&d.left>=3D0&&d.right<a(b).width()?void 0:c.get(0).scroll= IntoView(!0)},c.prototype._onresize=3Dfunction(c,d){return a(b).on("resize.= bootstrap-tour",function(){return clearTimeout(d),d=3DsetTimeout(c,100)})},= c.prototype._setupKeyboardNavigation=3Dfunction(){var b=3Dthis;return this.= _options.keyboard?a(d).on("keyup.bootstrap-tour",function(a){if(a.which)swi= tch(a.which){case 39:return a.preventDefault(),b._current<b._steps.length-1= ?b.next():b.end();case 37:if(a.preventDefault(),b._current>0)return b.prev(= );break;case 27:return a.preventDefault(),b.end()}}):void 0},c.prototype._m= akePromise=3Dfunction(b){return b&&a.isFunction(b.then)?b:null},c.prototype= ._callOnPromiseDone=3Dfunction(a,b,c){var d=3Dthis;return a?a.then(function= (){return b.call(d,c)}):b.call(this,c)},c.prototype._showBackdrop=3Dfunctio= n(a){return null=3D=3D=3Dthis.backdrop.overlay?(this._showOverlay(),this._s= howOverlayElement(a)):void 0},c.prototype._hideBackdrop=3Dfunction(){return= null!=3D=3Dthis.backdrop.overlay?(this._hideOverlayElement(),this._hideOve= rlay()):void 0},c.prototype._showOverlay=3Dfunction(){return this.backdrop= =3Da("<div/>"),this.backdrop.addClass("tour-backdrop"),this.backdrop.height= (a(d).innerHeight()),a("body").append(this.backdrop)},c.prototype._hideOver= lay=3Dfunction(){return this.backdrop.remove(),this.backdrop.overlay=3Dnull= },c.prototype._showOverlayElement=3Dfunction(b){var c,d,e,f;return f=3Da(b)= ,e=3D5,d=3Df.offset(),d.top=3Dd.top-e,d.left=3Dd.left-e,c=3Da("<div/>"),c.w= idth(f.innerWidth()+e).height(f.innerHeight()+e).addClass("tour-step-backgr= ound").offset(d),f.addClass("tour-step-backdrop"),a("body").append(c),this.= backdrop.step=3Df,this.backdrop.background=3Dc},c.prototype._hideOverlayEle= ment=3Dfunction(){return this.backdrop.step.removeClass("tour-step-backdrop= "),this.backdrop.background.remove(),this.backdrop.step=3Dnull,this.backdro= p.background=3Dnull},c}(),b.Tour=3Dc}(jQuery,window)}.call(this); \ No newline at end of file diff -r 9aa770b95a35bb62e36f86c98a6a5e3ddd2e98bf -r 8784e849cb30c4921a55b23= 774219fda3670aa38 vcweb/static/js/ko/knockout.min.js --- a/vcweb/static/js/ko/knockout.min.js +++ b/vcweb/static/js/ko/knockout.min.js @@ -1,85 +1,88 @@ -// Knockout JavaScript library v2.2.1 +// Knockout JavaScript library v2.3.0 // (c) Steven Sanderson - http://knockoutjs.com/ // License: MIT (http://www.opensource.org/licenses/mit-license.php) =20 -(function() {function j(w){throw w;}var m=3D!0,p=3Dnull,r=3D!1;function u(= w){return function(){return w}};var x=3Dwindow,y=3Ddocument,ga=3Dnavigator,= F=3Dwindow.jQuery,I=3Dvoid 0; -function L(w){function ha(a,d,c,e,f){var g=3D[];a=3Db.j(function(){var a= =3Dd(c,f)||[];0<g.length&&(b.a.Ya(M(g),a),e&&b.r.K(e,p,[c,a,f]));g.splice(0= ,g.length);b.a.P(g,a)},p,{W:a,Ka:function(){return 0=3D=3Dg.length||!b.a.X(= g[0])}});return{M:g,j:a.pa()?a:I}}function M(a){for(;a.length&&!b.a.X(a[0])= ;)a.splice(0,1);if(1<a.length){for(var d=3Da[0],c=3Da[a.length-1],e=3D[d];d= !=3D=3Dc;){d=3Dd.nextSibling;if(!d)return;e.push(d)}Array.prototype.splice.= apply(a,[0,a.length].concat(e))}return a}function S(a,b,c,e,f){var g=3DMath= .min, -h=3DMath.max,k=3D[],l,n=3Da.length,q,s=3Db.length,v=3Ds-n||1,G=3Dn+s+1,J,A= ,z;for(l=3D0;l<=3Dn;l++){A=3DJ;k.push(J=3D[]);z=3Dg(s,l+v);for(q=3Dh(0,l-1)= ;q<=3Dz;q++)J[q]=3Dq?l?a[l-1]=3D=3D=3Db[q-1]?A[q-1]:g(A[q]||G,J[q-1]||G)+1:= q+1:l+1}g=3D[];h=3D[];v=3D[];l=3Dn;for(q=3Ds;l||q;)s=3Dk[l][q]-1,q&&s=3D=3D= =3Dk[l][q-1]?h.push(g[g.length]=3D{status:c,value:b[--q],index:q}):l&&s=3D= =3D=3Dk[l-1][q]?v.push(g[g.length]=3D{status:e,value:a[--l],index:l}):(g.pu= sh({status:"retained",value:b[--q]}),--l);if(h.length&&v.length){a=3D10*n;v= ar t;for(b=3Dc=3D0;(f||b<a)&&(t=3Dh[c]);c++){for(e=3D -0;k=3Dv[e];e++)if(t.value=3D=3D=3Dk.value){t.moved=3Dk.index;k.moved=3Dt.i= ndex;v.splice(e,1);b=3De=3D0;break}b+=3De}}return g.reverse()}function T(a,= d,c,e,f){f=3Df||{};var g=3Da&&N(a),g=3Dg&&g.ownerDocument,h=3Df.templateEng= ine||O;b.za.vb(c,h,g);c=3Dh.renderTemplate(c,e,f,g);("number"!=3Dtypeof c.l= ength||0<c.length&&"number"!=3Dtypeof c[0].nodeType)&&j(Error("Template eng= ine must return an array of DOM nodes"));g=3Dr;switch(d){case "replaceChild= ren":b.e.N(a,c);g=3Dm;break;case "replaceNode":b.a.Ya(a,c);g=3Dm;break;case= "ignoreTargetNode":break; -default:j(Error("Unknown renderMode: "+d))}g&&(U(c,e),f.afterRender&&b.r.K= (f.afterRender,p,[c,e.$data]));return c}function N(a){return a.nodeType?a:0= <a.length?a[0]:p}function U(a,d){if(a.length){var c=3Da[0],e=3Da[a.length-1= ];V(c,e,function(a){b.Da(d,a)});V(c,e,function(a){b.s.ib(a,[d])})}}function= V(a,d,c){var e;for(d=3Db.e.nextSibling(d);a&&(e=3Da)!=3D=3Dd;)a=3Db.e.next= Sibling(e),(1=3D=3D=3De.nodeType||8=3D=3D=3De.nodeType)&&c(e)}function W(a,= d,c){a=3Db.g.aa(a);for(var e=3Db.g.Q,f=3D0;f<a.length;f++){var g=3Da[f].key= ;if(e.hasOwnProperty(g)){var h=3D -e[g];"function"=3D=3D=3Dtypeof h?(g=3Dh(a[f].value))&&j(Error(g)):h||j(Err= or("This template engine does not support the '"+g+"' binding within its te= mplates"))}}a=3D"ko.__tr_ambtns(function($context,$element){return(function= (){return{ "+b.g.ba(a)+" } })()})";return c.createJavaScriptEvaluatorBlock(= a)+d}function X(a,d,c,e){function f(a){return function(){return k[a]}}funct= ion g(){return k}var h=3D0,k,l;b.j(function(){var n=3Dc&&c instanceof b.z?c= :new b.z(b.a.d(c)),q=3Dn.$data;e&&b.eb(a,n);if(k=3D("function"=3D=3Dtypeof = d? -d(n,a):d)||b.J.instance.getBindings(a,n)){if(0=3D=3D=3Dh){h=3D1;for(var s = in k){var v=3Db.c[s];v&&8=3D=3D=3Da.nodeType&&!b.e.I[s]&&j(Error("The bindi= ng '"+s+"' cannot be used with virtual elements"));if(v&&"function"=3D=3Dty= peof v.init&&(v=3D(0,v.init)(a,f(s),g,q,n))&&v.controlsDescendantBindings)l= !=3D=3DI&&j(Error("Multiple bindings ("+l+" and "+s+") are trying to contro= l descendant bindings of the same element. You cannot use these bindings to= gether on the same element.")),l=3Ds}h=3D2}if(2=3D=3D=3Dh)for(s in k)(v=3Db= .c[s])&&"function"=3D=3D -typeof v.update&&(0,v.update)(a,f(s),g,q,n)}},p,{W:a});return{Nb:l=3D=3D= =3DI}}function Y(a,d,c){var e=3Dm,f=3D1=3D=3D=3Dd.nodeType;f&&b.e.Ta(d);if(= f&&c||b.J.instance.nodeHasBindings(d))e=3DX(d,p,a,c).Nb;e&&Z(a,d,!f)}functi= on Z(a,d,c){for(var e=3Db.e.firstChild(d);d=3De;)e=3Db.e.nextSibling(d),Y(a= ,d,c)}function $(a,b){var c=3Daa(a,b);return c?0<c.length?c[c.length-1].nex= tSibling:a.nextSibling:p}function aa(a,b){for(var c=3Da,e=3D1,f=3D[];c=3Dc.= nextSibling;){if(H(c)&&(e--,0=3D=3D=3De))return f;f.push(c);B(c)&&e++}b||j(= Error("Cannot find closing comment tag to match: "+ -a.nodeValue));return p}function H(a){return 8=3D=3Da.nodeType&&(K?a.text:a= .nodeValue).match(ia)}function B(a){return 8=3D=3Da.nodeType&&(K?a.text:a.n= odeValue).match(ja)}function P(a,b){for(var c=3Dp;a!=3Dc;)c=3Da,a=3Da.repla= ce(ka,function(a,c){return b[c]});return a}function la(){var a=3D[],d=3D[];= this.save=3Dfunction(c,e){var f=3Db.a.i(a,c);0<=3Df?d[f]=3De:(a.push(c),d.p= ush(e))};this.get=3Dfunction(c){c=3Db.a.i(a,c);return 0<=3Dc?d[c]:I}}functi= on ba(a,b,c){function e(e){var g=3Db(a[e]);switch(typeof g){case "boolean":= case "number":case "string":case "function":f[e]=3D -g;break;case "object":case "undefined":var h=3Dc.get(g);f[e]=3Dh!=3D=3DI?h= :ba(g,b,c)}}c=3Dc||new la;a=3Db(a);if(!("object"=3D=3Dtypeof a&&a!=3D=3Dp&&= a!=3D=3DI&&!(a instanceof Date)))return a;var f=3Da instanceof Array?[]:{};= c.save(a,f);var g=3Da;if(g instanceof Array){for(var h=3D0;h<g.length;h++)e= (h);"function"=3D=3Dtypeof g.toJSON&&e("toJSON")}else for(h in g)e(h);retur= n f}function ca(a,d){if(a)if(8=3D=3Da.nodeType){var c=3Db.s.Ua(a.nodeValue)= ;c!=3Dp&&d.push({sb:a,Fb:c})}else if(1=3D=3Da.nodeType)for(var c=3D0,e=3Da.= childNodes,f=3De.length;c<f;c++)ca(e[c], -d)}function Q(a,d,c,e){b.c[a]=3D{init:function(a){b.a.f.set(a,da,{});retur= n{controlsDescendantBindings:m}},update:function(a,g,h,k,l){h=3Db.a.f.get(a= ,da);g=3Db.a.d(g());k=3D!c!=3D=3D!g;var n=3D!h.Za;if(n||d||k!=3D=3Dh.qb)n&&= (h.Za=3Db.a.Ia(b.e.childNodes(a),m)),k?(n||b.e.N(a,b.a.Ia(h.Za)),b.Ea(e?e(l= ,g):l,a)):b.e.Y(a),h.qb=3Dk}};b.g.Q[a]=3Dr;b.e.I[a]=3Dm}function ea(a,d,c){= c&&d!=3D=3Db.k.q(a)&&b.k.T(a,d);d!=3D=3Db.k.q(a)&&b.r.K(b.a.Ba,p,[a,"change= "])}var b=3D"undefined"!=3D=3Dtypeof w?w:{};b.b=3Dfunction(a,d){for(var c= =3Da.split("."),e=3Db,f=3D0;f< -c.length-1;f++)e=3De[c[f]];e[c[c.length-1]]=3Dd};b.p=3Dfunction(a,b,c){a[b= ]=3Dc};b.version=3D"2.2.1";b.b("version",b.version);b.a=3Dnew function(){fu= nction a(a,d){if("input"!=3D=3Db.a.u(a)||!a.type||"click"!=3Dd.toLowerCase(= ))return r;var c=3Da.type;return"checkbox"=3D=3Dc||"radio"=3D=3Dc}var d=3D/= ^(\s|\u00A0)+|(\s|\u00A0)+$/g,c=3D{},e=3D{};c[/Firefox\/2/i.test(ga.userAge= nt)?"KeyboardEvent":"UIEvents"]=3D["keyup","keydown","keypress"];c.MouseEve= nts=3D"click dblclick mousedown mouseup mousemove mouseover mouseout mousee= nter mouseleave".split(" "); -for(var f in c){var g=3Dc[f];if(g.length)for(var h=3D0,k=3Dg.length;h<k;h+= +)e[g[h]]=3Df}var l=3D{propertychange:m},n,c=3D3;f=3Dy.createElement("div")= ;for(g=3Df.getElementsByTagName("i");f.innerHTML=3D"\x3c!--[if gt IE "+ ++c= +"]><i></i><![endif]--\x3e",g[0];);n=3D4<c?c:I;return{Na:["authenticity_tok= en",/^__RequestVerificationToken(_.*)?$/],o:function(a,b){for(var d=3D0,c= =3Da.length;d<c;d++)b(a[d])},i:function(a,b){if("function"=3D=3Dtypeof Arra= y.prototype.indexOf)return Array.prototype.indexOf.call(a,b);for(var d=3D0,= c=3Da.length;d< -c;d++)if(a[d]=3D=3D=3Db)return d;return-1},lb:function(a,b,d){for(var c=3D= 0,e=3Da.length;c<e;c++)if(b.call(d,a[c]))return a[c];return p},ga:function(= a,d){var c=3Db.a.i(a,d);0<=3Dc&&a.splice(c,1)},Ga:function(a){a=3Da||[];for= (var d=3D[],c=3D0,e=3Da.length;c<e;c++)0>b.a.i(d,a[c])&&d.push(a[c]);return= d},V:function(a,b){a=3Da||[];for(var d=3D[],c=3D0,e=3Da.length;c<e;c++)d.p= ush(b(a[c]));return d},fa:function(a,b){a=3Da||[];for(var d=3D[],c=3D0,e=3D= a.length;c<e;c++)b(a[c])&&d.push(a[c]);return d},P:function(a,b){if(b insta= nceof Array)a.push.apply(a, -b);else for(var d=3D0,c=3Db.length;d<c;d++)a.push(b[d]);return a},extend:f= unction(a,b){if(b)for(var d in b)b.hasOwnProperty(d)&&(a[d]=3Db[d]);return = a},ka:function(a){for(;a.firstChild;)b.removeNode(a.firstChild)},Hb:functio= n(a){a=3Db.a.L(a);for(var d=3Dy.createElement("div"),c=3D0,e=3Da.length;c<e= ;c++)d.appendChild(b.A(a[c]));return d},Ia:function(a,d){for(var c=3D0,e=3D= a.length,g=3D[];c<e;c++){var f=3Da[c].cloneNode(m);g.push(d?b.A(f):f)}retur= n g},N:function(a,d){b.a.ka(a);if(d)for(var c=3D0,e=3Dd.length;c<e;c++)a.ap= pendChild(d[c])}, -Ya:function(a,d){var c=3Da.nodeType?[a]:a;if(0<c.length){for(var e=3Dc[0],= g=3De.parentNode,f=3D0,h=3Dd.length;f<h;f++)g.insertBefore(d[f],e);f=3D0;fo= r(h=3Dc.length;f<h;f++)b.removeNode(c[f])}},bb:function(a,b){7>n?a.setAttri= bute("selected",b):a.selected=3Db},D:function(a){return(a||"").replace(d,""= )},Rb:function(a,d){for(var c=3D[],e=3D(a||"").split(d),f=3D0,g=3De.length;= f<g;f++){var h=3Db.a.D(e[f]);""!=3D=3Dh&&c.push(h)}return c},Ob:function(a,= b){a=3Da||"";return b.length>a.length?r:a.substring(0,b.length)=3D=3D=3Db},= tb:function(a,b){if(b.compareDocumentPosition)return 16=3D=3D -(b.compareDocumentPosition(a)&16);for(;a!=3Dp;){if(a=3D=3Db)return m;a=3Da= .parentNode}return r},X:function(a){return b.a.tb(a,a.ownerDocument)},u:fun= ction(a){return a&&a.tagName&&a.tagName.toLowerCase()},n:function(b,d,c){va= r e=3Dn&&l[d];if(!e&&"undefined"!=3Dtypeof F){if(a(b,d)){var f=3Dc;c=3Dfunc= tion(a,b){var d=3Dthis.checked;b&&(this.checked=3Db.nb!=3D=3Dm);f.call(this= ,a);this.checked=3Dd}}F(b).bind(d,c)}else!e&&"function"=3D=3Dtypeof b.addEv= entListener?b.addEventListener(d,c,r):"undefined"!=3Dtypeof b.attachEvent?b= .attachEvent("on"+ -d,function(a){c.call(b,a)}):j(Error("Browser doesn't support addEventListe= ner or attachEvent"))},Ba:function(b,d){(!b||!b.nodeType)&&j(Error("element= must be a DOM node when calling triggerEvent"));if("undefined"!=3Dtypeof F= ){var c=3D[];a(b,d)&&c.push({nb:b.checked});F(b).trigger(d,c)}else"function= "=3D=3Dtypeof y.createEvent?"function"=3D=3Dtypeof b.dispatchEvent?(c=3Dy.c= reateEvent(e[d]||"HTMLEvents"),c.initEvent(d,m,m,x,0,0,0,0,0,r,r,r,r,0,b),b= .dispatchEvent(c)):j(Error("The supplied element doesn't support dispatchEv= ent")): -"undefined"!=3Dtypeof b.fireEvent?(a(b,d)&&(b.checked=3Db.checked!=3D=3Dm)= ,b.fireEvent("on"+d)):j(Error("Browser doesn't support triggering events"))= },d:function(a){return b.$(a)?a():a},ua:function(a){return b.$(a)?a.t():a},= da:function(a,d,c){if(d){var e=3D/[\w-]+/g,f=3Da.className.match(e)||[];b.a= .o(d.match(e),function(a){var d=3Db.a.i(f,a);0<=3Dd?c||f.splice(d,1):c&&f.p= ush(a)});a.className=3Df.join(" ")}},cb:function(a,d){var c=3Db.a.d(d);if(c= =3D=3D=3Dp||c=3D=3D=3DI)c=3D"";if(3=3D=3D=3Da.nodeType)a.data=3Dc;else{var = e=3Db.e.firstChild(a); -!e||3!=3De.nodeType||b.e.nextSibling(e)?b.e.N(a,[y.createTextNode(c)]):e.d= ata=3Dc;b.a.wb(a)}},ab:function(a,b){a.name=3Db;if(7>=3Dn)try{a.mergeAttrib= utes(y.createElement("<input name=3D'"+a.name+"'/>"),r)}catch(d){}},wb:func= tion(a){9<=3Dn&&(a=3D1=3D=3Da.nodeType?a:a.parentNode,a.style&&(a.style.zoo= m=3Da.style.zoom))},ub:function(a){if(9<=3Dn){var b=3Da.style.width;a.style= .width=3D0;a.style.width=3Db}},Lb:function(a,d){a=3Db.a.d(a);d=3Db.a.d(d);f= or(var c=3D[],e=3Da;e<=3Dd;e++)c.push(e);return c},L:function(a){for(var b= =3D[],d=3D0,c=3Da.length;d< -c;d++)b.push(a[d]);return b},Pb:6=3D=3D=3Dn,Qb:7=3D=3D=3Dn,Z:n,Oa:function= (a,d){for(var c=3Db.a.L(a.getElementsByTagName("input")).concat(b.a.L(a.get= ElementsByTagName("textarea"))),e=3D"string"=3D=3Dtypeof d?function(a){retu= rn a.name=3D=3D=3Dd}:function(a){return d.test(a.name)},f=3D[],g=3Dc.length= -1;0<=3Dg;g--)e(c[g])&&f.push(c[g]);return f},Ib:function(a){return"string"= =3D=3Dtypeof a&&(a=3Db.a.D(a))?x.JSON&&x.JSON.parse?x.JSON.parse(a):(new Fu= nction("return "+a))():p},xa:function(a,d,c){("undefined"=3D=3Dtypeof JSON|= |"undefined"=3D=3Dtypeof JSON.stringify)&& -j(Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't = support it natively, but you can overcome this by adding a script reference= to json2.js, downloadable from http://www.json.org/json2.js"));return JSON= .stringify(b.a.d(a),d,c)},Jb:function(a,d,c){c=3Dc||{};var e=3Dc.params||{}= ,f=3Dc.includeFields||this.Na,g=3Da;if("object"=3D=3Dtypeof a&&"form"=3D=3D= =3Db.a.u(a))for(var g=3Da.action,h=3Df.length-1;0<=3Dh;h--)for(var k=3Db.a.= Oa(a,f[h]),l=3Dk.length-1;0<=3Dl;l--)e[k[l].name]=3Dk[l].value;d=3Db.a.d(d)= ;var n=3Dy.createElement("form"); -n.style.display=3D"none";n.action=3Dg;n.method=3D"post";for(var w in d)a= =3Dy.createElement("input"),a.name=3Dw,a.value=3Db.a.xa(b.a.d(d[w])),n.appe= ndChild(a);for(w in e)a=3Dy.createElement("input"),a.name=3Dw,a.value=3De[w= ],n.appendChild(a);y.body.appendChild(n);c.submitter?c.submitter(n):n.submi= t();setTimeout(function(){n.parentNode.removeChild(n)},0)}}};b.b("utils",b.= a);b.b("utils.arrayForEach",b.a.o);b.b("utils.arrayFirst",b.a.lb);b.b("util= s.arrayFilter",b.a.fa);b.b("utils.arrayGetDistinctValues",b.a.Ga);b.b("util= s.arrayIndexOf", -b.a.i);b.b("utils.arrayMap",b.a.V);b.b("utils.arrayPushAll",b.a.P);b.b("ut= ils.arrayRemoveItem",b.a.ga);b.b("utils.extend",b.a.extend);b.b("utils.fiel= dsIncludedWithJsonPost",b.a.Na);b.b("utils.getFormFields",b.a.Oa);b.b("util= s.peekObservable",b.a.ua);b.b("utils.postJson",b.a.Jb);b.b("utils.parseJson= ",b.a.Ib);b.b("utils.registerEventHandler",b.a.n);b.b("utils.stringifyJson"= ,b.a.xa);b.b("utils.range",b.a.Lb);b.b("utils.toggleDomNodeCssClass",b.a.da= );b.b("utils.triggerEvent",b.a.Ba);b.b("utils.unwrapObservable", -b.a.d);Function.prototype.bind||(Function.prototype.bind=3Dfunction(a){var= b=3Dthis,c=3DArray.prototype.slice.call(arguments);a=3Dc.shift();return fu= nction(){return b.apply(a,c.concat(Array.prototype.slice.call(arguments)))}= });b.a.f=3Dnew function(){var a=3D0,d=3D"__ko__"+(new Date).getTime(),c=3D{= };return{get:function(a,d){var c=3Db.a.f.la(a,r);return c=3D=3D=3DI?I:c[d]}= ,set:function(a,d,c){c=3D=3D=3DI&&b.a.f.la(a,r)=3D=3D=3DI||(b.a.f.la(a,m)[d= ]=3Dc)},la:function(b,f){var g=3Db[d];if(!g||!("null"!=3D=3Dg&&c[g])){if(!f= )return I;g=3Db[d]=3D"ko"+ -a++;c[g]=3D{}}return c[g]},clear:function(a){var b=3Da[d];return b?(delete= c[b],a[d]=3Dp,m):r}}};b.b("utils.domData",b.a.f);b.b("utils.domData.clear"= ,b.a.f.clear);b.a.F=3Dnew function(){function a(a,d){var e=3Db.a.f.get(a,c)= ;e=3D=3D=3DI&&d&&(e=3D[],b.a.f.set(a,c,e));return e}function d(c){var e=3Da= (c,r);if(e)for(var e=3De.slice(0),k=3D0;k<e.length;k++)e[k](c);b.a.f.clear(= c);"function"=3D=3Dtypeof F&&"function"=3D=3Dtypeof F.cleanData&&F.cleanDat= a([c]);if(f[c.nodeType])for(e=3Dc.firstChild;c=3De;)e=3Dc.nextSibling,8=3D= =3D=3Dc.nodeType&&d(c)} -var c=3D"__ko_domNodeDisposal__"+(new Date).getTime(),e=3D{1:m,8:m,9:m},f= =3D{1:m,9:m};return{Ca:function(b,d){"function"!=3Dtypeof d&&j(Error("Callb= ack must be a function"));a(b,m).push(d)},Xa:function(d,e){var f=3Da(d,r);f= &&(b.a.ga(f,e),0=3D=3Df.length&&b.a.f.set(d,c,I))},A:function(a){if(e[a.nod= eType]&&(d(a),f[a.nodeType])){var c=3D[];b.a.P(c,a.getElementsByTagName("*"= ));for(var k=3D0,l=3Dc.length;k<l;k++)d(c[k])}return a},removeNode:function= (a){b.A(a);a.parentNode&&a.parentNode.removeChild(a)}}};b.A=3Db.a.F.A;b.rem= oveNode=3D -b.a.F.removeNode;b.b("cleanNode",b.A);b.b("removeNode",b.removeNode);b.b("= utils.domNodeDisposal",b.a.F);b.b("utils.domNodeDisposal.addDisposeCallback= ",b.a.F.Ca);b.b("utils.domNodeDisposal.removeDisposeCallback",b.a.F.Xa);b.a= .ta=3Dfunction(a){var d;if("undefined"!=3Dtypeof F)if(F.parseHTML)d=3DF.par= seHTML(a);else{if((d=3DF.clean([a]))&&d[0]){for(a=3Dd[0];a.parentNode&&11!= =3D=3Da.parentNode.nodeType;)a=3Da.parentNode;a.parentNode&&a.parentNode.re= moveChild(a)}}else{var c=3Db.a.D(a).toLowerCase();d=3Dy.createElement("div"= ); -c=3Dc.match(/^<(thead|tbody|tfoot)/)&&[1,"<table>","</table>"]||!c.indexOf= ("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!c.indexOf("<td")||!c.in= dexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||[0,"",""];= a=3D"ignored<div>"+c[1]+a+c[2]+"</div>";for("function"=3D=3Dtypeof x.innerS= hiv?d.appendChild(x.innerShiv(a)):d.innerHTML=3Da;c[0]--;)d=3Dd.lastChild;d= =3Db.a.L(d.lastChild.childNodes)}return d};b.a.ca=3Dfunction(a,d){b.a.ka(a)= ;d=3Db.a.d(d);if(d!=3D=3Dp&&d!=3D=3DI)if("string"!=3Dtypeof d&&(d=3Dd.toStr= ing()), -"undefined"!=3Dtypeof F)F(a).html(d);else for(var c=3Db.a.ta(d),e=3D0;e<c.= length;e++)a.appendChild(c[e])};b.b("utils.parseHtmlFragment",b.a.ta);b.b("= utils.setHtml",b.a.ca);var R=3D{};b.s=3D{ra:function(a){"function"!=3Dtypeo= f a&&j(Error("You can only pass a function to ko.memoization.memoize()"));v= ar b=3D(4294967296*(1+Math.random())|0).toString(16).substring(1)+(42949672= 96*(1+Math.random())|0).toString(16).substring(1);R[b]=3Da;return"\x3c!--[k= o_memo:"+b+"]--\x3e"},hb:function(a,b){var c=3DR[a];c=3D=3D=3DI&&j(Error("C= ouldn't find any memo with ID "+ -a+". Perhaps it's already been unmemoized."));try{return c.apply(p,b||[]),= m}finally{delete R[a]}},ib:function(a,d){var c=3D[];ca(a,c);for(var e=3D0,f= =3Dc.length;e<f;e++){var g=3Dc[e].sb,h=3D[g];d&&b.a.P(h,d);b.s.hb(c[e].Fb,h= );g.nodeValue=3D"";g.parentNode&&g.parentNode.removeChild(g)}},Ua:function(= a){return(a=3Da.match(/^\[ko_memo\:(.*?)\]$/))?a[1]:p}};b.b("memoization",b= .s);b.b("memoization.memoize",b.s.ra);b.b("memoization.unmemoize",b.s.hb);b= .b("memoization.parseMemoText",b.s.Ua);b.b("memoization.unmemoizeDomNodeAnd= Descendants", -b.s.ib);b.Ma=3D{throttle:function(a,d){a.throttleEvaluation=3Dd;var c=3Dp;= return b.j({read:a,write:function(b){clearTimeout(c);c=3DsetTimeout(functio= n(){a(b)},d)}})},notify:function(a,d){a.equalityComparer=3D"always"=3D=3Dd?= u(r):b.m.fn.equalityComparer;return a}};b.b("extenders",b.Ma);b.fb=3Dfuncti= on(a,d,c){this.target=3Da;this.ha=3Dd;this.rb=3Dc;b.p(this,"dispose",this.B= )};b.fb.prototype.B=3Dfunction(){this.Cb=3Dm;this.rb()};b.S=3Dfunction(){th= is.w=3D{};b.a.extend(this,b.S.fn);b.p(this,"subscribe",this.ya);b.p(this,"e= xtend", -this.extend);b.p(this,"getSubscriptionsCount",this.yb)};b.S.fn=3D{ya:funct= ion(a,d,c){c=3Dc||"change";var e=3Dnew b.fb(this,d?a.bind(d):a,function(){b= .a.ga(this.w[c],e)}.bind(this));this.w[c]||(this.w[c]=3D[]);this.w[c].push(= e);return e},notifySubscribers:function(a,d){d=3Dd||"change";this.w[d]&&b.r= .K(function(){b.a.o(this.w[d].slice(0),function(b){b&&b.Cb!=3D=3Dm&&b.ha(a)= })},this)},yb:function(){var a=3D0,b;for(b in this.w)this.w.hasOwnProperty(= b)&&(a+=3Dthis.w[b].length);return a},extend:function(a){var d=3Dthis;if(a)= for(var c in a){var e=3D -b.Ma[c];"function"=3D=3Dtypeof e&&(d=3De(d,a[c]))}return d}};b.Qa=3Dfuncti= on(a){return"function"=3D=3Dtypeof a.ya&&"function"=3D=3Dtypeof a.notifySub= scribers};b.b("subscribable",b.S);b.b("isSubscribable",b.Qa);var C=3D[];b.r= =3D{mb:function(a){C.push({ha:a,La:[]})},end:function(){C.pop()},Wa:fun... [truncated message content] |