").attr({id:i,role:"tooltip"}).addClass=
("ui-tooltip ui-widget ui-corner-all ui-widget-content =
"+(this.options.tooltipClass||""));return =
t("
").addClass("ui-tooltip-content").appendTo(n),n.appendTo(this.doc=
ument[0].body),this.tooltips[i]=3De,n},_find:function(e){var =
i=3De.data("ui-tooltip-id");return =
i?t("#"+i):t()},_removeTooltip:function(t){t.remove(),delete =
this.tooltips[t.attr("id")]},_destroy:function(){var =
e=3Dthis;t.each(this.tooltips,function(i,s){var =
n=3Dt.Event("blur");n.target=3Dn.currentTarget=3Ds[0],e.close(n,!0),t("#"=
+i).remove(),s.data("ui-tooltip-title")&&(s.attr("title",s.data("ui-toolt=
ip-title")),s.removeData("ui-tooltip-title"))})}})})(jQuery);(function(t,=
e){var i=3D"ui-effects-";t.effects=3D{effect:{}},function(t,e){function =
i(t,e,i){var s=3Du[e.type]||{};return =
null=3D=3Dt?i||!e.def?null:e.def:(t=3Ds.floor?~~t:parseFloat(t),isNaN(t)?=
e.def:s.mod?(t+s.mod)%s.mod:0>t?0:t>s.max?s.max:t)}function s(i){var =
s=3Dl(),n=3Ds._rgba=3D[];return =
i=3Di.toLowerCase(),f(h,function(t,a){var =
o,r=3Da.re.exec(i),h=3Dr&&a.parse(r),l=3Da.space||"rgba";return =
h?(o=3Ds[l](h),s[c[l].cache]=3Do[c[l].cache],n=3Ds._rgba=3Do._rgba,!1):e}=
),n.length?("0,0,0,0"=3D=3D=3Dn.join()&&t.extend(n,a.transparent),s):a[i]=
}function n(t,e,i){return =
i=3D(i+1)%1,1>6*i?t+6*(e-t)*i:1>2*i?e:2>3*i?t+6*(e-t)*(2/3-i):t}var =
a,o=3D"backgroundColor borderBottomColor borderLeftColor =
borderRightColor borderTopColor color columnRuleColor outlineColor =
textDecorationColor =
textEmphasisColor",r=3D/^([\-+])=3D\s*(\d+\.?\d*)/,h=3D[{re:/rgba?\(\s*(\=
d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,=
parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\=
d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\=
.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[=
4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){re=
turn[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f=
0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16=
),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:=
\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:=
\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]=
/100,t[4]]}}],l=3Dt.Color=3Dfunction(e,i,s,n){return new =
t.Color.fn.parse(e,i,s,n)},c=3D{rgba:{props:{red:{idx:0,type:"byte"},gree=
n:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,=
type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"=
percent"}}}},u=3D{"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:=
360,floor:!0}},d=3Dl.support=3D{},p=3Dt("
")[0],f=3Dt.each;p.style.cssT=
ext=3D"background-color:rgba(1,1,1,.5)",d.rgba=3Dp.style.backgroundColor.=
indexOf("rgba")>-1,f(c,function(t,e){e.cache=3D"_"+t,e.props.alpha=3D{idx=
:3,type:"percent",def:1}}),l.fn=3Dt.extend(l.prototype,{parse:function(n,=
o,r,h){if(n=3D=3D=3De)return =
this._rgba=3D[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=3Dt(n)=
.css(o),o=3De);var u=3Dthis,d=3Dt.type(n),p=3Dthis._rgba=3D[];return =
o!=3D=3De&&(n=3D[n,o,r,h],d=3D"array"),"string"=3D=3D=3Dd?this.parse(s(n)=
||a._default):"array"=3D=3D=3Dd?(f(c.rgba.props,function(t,e){p[e.idx]=3D=
i(n[e.idx],e)}),this):"object"=3D=3D=3Dd?(n instanceof =
l?f(c,function(t,e){n[e.cache]&&(u[e.cache]=3Dn[e.cache].slice())}):f(c,f=
unction(e,s){var =
a=3Ds.cache;f(s.props,function(t,e){if(!u[a]&&s.to){if("alpha"=3D=3D=3Dt|=
|null=3D=3Dn[t])return;u[a]=3Ds.to(u._rgba)}u[a][e.idx]=3Di(n[t],e,!0)}),=
u[a]&&0>t.inArray(null,u[a].slice(0,3))&&(u[a][3]=3D1,s.from&&(u._rgba=3D=
s.from(u[a])))}),this):e},is:function(t){var =
i=3Dl(t),s=3D!0,n=3Dthis;return f(c,function(t,a){var =
o,r=3Di[a.cache];return =
r&&(o=3Dn[a.cache]||a.to&&a.to(n._rgba)||[],f(a.props,function(t,i){retur=
n =
null!=3Dr[i.idx]?s=3Dr[i.idx]=3D=3D=3Do[i.idx]:e})),s}),s},_space:functio=
n(){var t=3D[],e=3Dthis;return =
f(c,function(i,s){e[s.cache]&&t.push(i)}),t.pop()},transition:function(t,=
e){var =
s=3Dl(t),n=3Ds._space(),a=3Dc[n],o=3D0=3D=3D=3Dthis.alpha()?l("transparen=
t"):this,r=3Do[a.cache]||a.to(o._rgba),h=3Dr.slice();return =
s=3Ds[a.cache],f(a.props,function(t,n){var =
a=3Dn.idx,o=3Dr[a],l=3Ds[a],c=3Du[n.type]||{};null!=3D=3Dl&&(null=3D=3D=3D=
o?h[a]=3Dl:(c.mod&&(l-o>c.mod/2?o+=3Dc.mod:o-l>c.mod/2&&(o-=3Dc.mod)),h[a=
]=3Di((l-o)*e+o,n)))}),this[n](h)},blend:function(e){if(1=3D=3D=3Dthis._r=
gba[3])return this;var =
i=3Dthis._rgba.slice(),s=3Di.pop(),n=3Dl(e)._rgba;return =
l(t.map(i,function(t,e){return(1-s)*n[e]+s*t}))},toRgbaString:function(){=
var e=3D"rgba(",i=3Dt.map(this._rgba,function(t,e){return =
null=3D=3Dt?e>2?1:0:t});return =
1=3D=3D=3Di[3]&&(i.pop(),e=3D"rgb("),e+i.join()+")"},toHslaString:functio=
n(){var e=3D"hsla(",i=3Dt.map(this.hsla(),function(t,e){return =
null=3D=3Dt&&(t=3De>2?1:0),e&&3>e&&(t=3DMath.round(100*t)+"%"),t});return=
=
1=3D=3D=3Di[3]&&(i.pop(),e=3D"hsl("),e+i.join()+")"},toHexString:function=
(e){var i=3Dthis._rgba.slice(),s=3Di.pop();return =
e&&i.push(~~(255*s)),"#"+t.map(i,function(t){return =
t=3D(t||0).toString(16),1=3D=3D=3Dt.length?"0"+t:t}).join("")},toString:f=
unction(){return =
0=3D=3D=3Dthis._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.p=
rototype=3Dl.fn,c.hsla.to=3Dfunction(t){if(null=3D=3Dt[0]||null=3D=3Dt[1]=
||null=3D=3Dt[2])return[null,null,null,t[3]];var =
e,i,s=3Dt[0]/255,n=3Dt[1]/255,a=3Dt[2]/255,o=3Dt[3],r=3DMath.max(s,n,a),h=
=3DMath.min(s,n,a),l=3Dr-h,c=3Dr+h,u=3D.5*c;return =
e=3Dh=3D=3D=3Dr?0:s=3D=3D=3Dr?60*(n-a)/l+360:n=3D=3D=3Dr?60*(a-s)/l+120:6=
0*(s-n)/l+240,i=3D0=3D=3D=3Dl?0:.5>=3Du?l/c:l/(2-c),[Math.round(e)%360,i,=
u,null=3D=3Do?1:o]},c.hsla.from=3Dfunction(t){if(null=3D=3Dt[0]||null=3D=3D=
t[1]||null=3D=3Dt[2])return[null,null,null,t[3]];var =
e=3Dt[0]/360,i=3Dt[1],s=3Dt[2],a=3Dt[3],o=3D.5>=3Ds?s*(1+i):s+i-s*i,r=3D2=
*s-o;return[Math.round(255*n(r,o,e+1/3)),Math.round(255*n(r,o,e)),Math.ro=
und(255*n(r,o,e-1/3)),a]},f(c,function(s,n){var =
a=3Dn.props,o=3Dn.cache,h=3Dn.to,c=3Dn.from;l.fn[s]=3Dfunction(s){if(h&&!=
this[o]&&(this[o]=3Dh(this._rgba)),s=3D=3D=3De)return =
this[o].slice();var =
n,r=3Dt.type(s),u=3D"array"=3D=3D=3Dr||"object"=3D=3D=3Dr?s:arguments,d=3D=
this[o].slice();return f(a,function(t,e){var =
s=3Du["object"=3D=3D=3Dr?t:e.idx];null=3D=3Ds&&(s=3Dd[e.idx]),d[e.idx]=3D=
i(s,e)}),c?(n=3Dl(c(d)),n[o]=3Dd,n):l(d)},f(a,function(e,i){l.fn[e]||(l.f=
n[e]=3Dfunction(n){var =
a,o=3Dt.type(n),h=3D"alpha"=3D=3D=3De?this._hsla?"hsla":"rgba":s,l=3Dthis=
[h](),c=3Dl[i.idx];return"undefined"=3D=3D=3Do?c:("function"=3D=3D=3Do&&(=
n=3Dn.call(this,c),o=3Dt.type(n)),null=3D=3Dn&&i.empty?this:("string"=3D=3D=
=3Do&&(a=3Dr.exec(n),a&&(n=3Dc+parseFloat(a[2])*("+"=3D=3D=3Da[1]?1:-1)))=
,l[i.idx]=3Dn,this[h](l)))})})}),l.hook=3Dfunction(e){var i=3De.split(" =
");f(i,function(e,i){t.cssHooks[i]=3D{set:function(e,n){var =
a,o,r=3D"";if("transparent"!=3D=3Dn&&("string"!=3D=3Dt.type(n)||(a=3Ds(n)=
))){if(n=3Dl(a||n),!d.rgba&&1!=3D=3Dn._rgba[3]){for(o=3D"backgroundColor"=
=3D=3D=3Di?e.parentNode:e;(""=3D=3D=3Dr||"transparent"=3D=3D=3Dr)&&o&&o.s=
tyle;)try{r=3Dt.css(o,"backgroundColor"),o=3Do.parentNode}catch(h){}n=3Dn=
.blend(r&&"transparent"!=3D=3Dr?r:"_default")}n=3Dn.toRgbaString()}try{e.=
style[i]=3Dn}catch(h){}}},t.fx.step[i]=3Dfunction(e){e.colorInit||(e.star=
t=3Dl(e.elem,i),e.end=3Dl(e.end),e.colorInit=3D!0),t.cssHooks[i].set(e.el=
em,e.start.transition(e.end,e.pos))}})},l.hook(o),t.cssHooks.borderColor=3D=
{expand:function(t){var e=3D{};return =
f(["Top","Right","Bottom","Left"],function(i,s){e["border"+s+"Color"]=3Dt=
}),e}},a=3Dt.Color.names=3D{aqua:"#00ffff",black:"#000000",blue:"#0000ff"=
,fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"=
#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",si=
lver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparen=
t:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function =
i(e){var =
i,s,n=3De.ownerDocument.defaultView?e.ownerDocument.defaultView.getComput=
edStyle(e,null):e.currentStyle,a=3D{};if(n&&n.length&&n[0]&&n[n[0]])for(s=
=3Dn.length;s--;)i=3Dn[s],"string"=3D=3Dtypeof =
n[i]&&(a[t.camelCase(i)]=3Dn[i]);else for(i in n)"string"=3D=3Dtypeof =
n[i]&&(a[i]=3Dn[i]);return a}function s(e,i){var s,n,o=3D{};for(s in =
i)n=3Di[s],e[s]!=3D=3Dn&&(a[s]||(t.fx.step[s]||!isNaN(parseFloat(n)))&&(o=
[s]=3Dn));return o}var =
n=3D["add","remove","toggle"],a=3D{border:1,borderBottom:1,borderColor:1,=
borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};=
t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderT=
opStyle"],function(e,i){t.fx.step[i]=3Dfunction(t){("none"!=3D=3Dt.end&&!=
t.setAttr||1=3D=3D=3Dt.pos&&!t.setAttr)&&(jQuery.style(t.elem,i,t.end),t.=
setAttr=3D!0)}}),t.fn.addBack||(t.fn.addBack=3Dfunction(t){return =
this.add(null=3D=3Dt?this.prevObject:this.prevObject.filter(t))}),t.effec=
ts.animateClass=3Dfunction(e,a,o,r){var h=3Dt.speed(a,o,r);return =
this.queue(function(){var =
a,o=3Dt(this),r=3Do.attr("class")||"",l=3Dh.children?o.find("*").addBack(=
):o;l=3Dl.map(function(){var =
e=3Dt(this);return{el:e,start:i(this)}}),a=3Dfunction(){t.each(n,function=
(t,i){e[i]&&o[i+"Class"](e[i])})},a(),l=3Dl.map(function(){return =
this.end=3Di(this.el[0]),this.diff=3Ds(this.start,this.end),this}),o.attr=
("class",r),l=3Dl.map(function(){var =
e=3Dthis,i=3Dt.Deferred(),s=3Dt.extend({},h,{queue:!1,complete:function()=
{i.resolve(e)}});return =
this.el.animate(this.diff,s),i.promise()}),t.when.apply(t,l.get()).done(f=
unction(){a(),t.each(arguments,function(){var =
e=3Dthis.el;t.each(this.diff,function(t){e.css(t,"")})}),h.complete.call(=
o[0])})})},t.fn.extend({addClass:function(e){return =
function(i,s,n,a){return =
s?t.effects.animateClass.call(this,{add:i},s,n,a):e.apply(this,arguments)=
}}(t.fn.addClass),removeClass:function(e){return =
function(i,s,n,a){return =
arguments.length>1?t.effects.animateClass.call(this,{remove:i},s,n,a):e.a=
pply(this,arguments)}}(t.fn.removeClass),toggleClass:function(i){return =
function(s,n,a,o,r){return"boolean"=3D=3Dtypeof =
n||n=3D=3D=3De?a?t.effects.animateClass.call(this,n?{add:s}:{remove:s},a,=
o,r):i.apply(this,arguments):t.effects.animateClass.call(this,{toggle:s},=
n,a,o)}}(t.fn.toggleClass),switchClass:function(e,i,s,n,a){return =
t.effects.animateClass.call(this,{add:i,remove:e},s,n,a)}})}(),function()=
{function s(e,i,s,n){return =
t.isPlainObject(e)&&(i=3De,e=3De.effect),e=3D{effect:e},null=3D=3Di&&(i=3D=
{}),t.isFunction(i)&&(n=3Di,s=3Dnull,i=3D{}),("number"=3D=3Dtypeof =
i||t.fx.speeds[i])&&(n=3Ds,s=3Di,i=3D{}),t.isFunction(s)&&(n=3Ds,s=3Dnull=
),i&&t.extend(e,i),s=3Ds||i.duration,e.duration=3Dt.fx.off?0:"number"=3D=3D=
typeof s?s:s in =
t.fx.speeds?t.fx.speeds[s]:t.fx.speeds._default,e.complete=3Dn||i.complet=
e,e}function n(e){return!e||"number"=3D=3Dtypeof =
e||t.fx.speeds[e]?!0:"string"!=3Dtypeof =
e||t.effects.effect[e]?t.isFunction(e)?!0:"object"!=3Dtypeof =
e||e.effect?!1:!0:!0}t.extend(t.effects,{version:"1.10.2",save:function(t=
,e){for(var =
s=3D0;e.length>s;s++)null!=3D=3De[s]&&t.data(i+e[s],t[0].style[e[s]])},re=
store:function(t,s){var =
n,a;for(a=3D0;s.length>a;a++)null!=3D=3Ds[a]&&(n=3Dt.data(i+s[a]),n=3D=3D=
=3De&&(n=3D""),t.css(s[a],n))},setMode:function(t,e){return"toggle"=3D=3D=
=3De&&(e=3Dt.is(":hidden")?"show":"hide"),e},getBaseline:function(t,e){va=
r =
i,s;switch(t[0]){case"top":i=3D0;break;case"middle":i=3D.5;break;case"bot=
tom":i=3D1;break;default:i=3Dt[0]/e.height}switch(t[1]){case"left":s=3D0;=
break;case"center":s=3D.5;break;case"right":s=3D1;break;default:s=3Dt[1]/=
e.width}return{x:s,y:i}},createWrapper:function(e){if(e.parent().is(".ui-=
effects-wrapper"))return e.parent();var =
i=3D{width:e.outerWidth(!0),height:e.outerHeight(!0),"float":e.css("float=
")},s=3Dt("
").addClass("ui-effects-wrapper").css({fontSize:"10=
0%",background:"transparent",border:"none",margin:0,padding:0}),n=3D{widt=
h:e.width(),height:e.height()},a=3Ddocument.activeElement;try{a.id}catch(=
o){a=3Ddocument.body}return =
e.wrap(s),(e[0]=3D=3D=3Da||t.contains(e[0],a))&&t(a).focus(),s=3De.parent=
(),"static"=3D=3D=3De.css("position")?(s.css({position:"relative"}),e.css=
({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e=
.css("z-index")}),t.each(["top","left","bottom","right"],function(t,s){i[=
s]=3De.css(s),isNaN(parseInt(i[s],10))&&(i[s]=3D"auto")}),e.css({position=
:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(n),s.css(i).=
show()},removeWrapper:function(e){var i=3Ddocument.activeElement;return =
e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]=3D=
=3D=3Di||t.contains(e[0],i))&&t(i).focus()),e},setTransition:function(e,i=
,s,n){return n=3Dn||{},t.each(i,function(t,i){var =
a=3De.cssUnit(i);a[0]>0&&(n[i]=3Da[0]*s+a[1])}),n}}),t.fn.extend({effect:=
function(){function e(e){function =
s(){t.isFunction(a)&&a.call(n[0]),t.isFunction(e)&&e()}var =
n=3Dt(this),a=3Di.complete,r=3Di.mode;(n.is(":hidden")?"hide"=3D=3D=3Dr:"=
show"=3D=3D=3Dr)?(n[r](),s()):o.call(n[0],i,s)}var =
i=3Ds.apply(this,arguments),n=3Di.mode,a=3Di.queue,o=3Dt.effects.effect[i=
.effect];return =
t.fx.off||!o?n?this[n](i.duration,i.complete):this.each(function(){i.comp=
lete&&i.complete.call(this)}):a=3D=3D=3D!1?this.each(e):this.queue(a||"fx=
",e)},show:function(t){return function(e){if(n(e))return =
t.apply(this,arguments);var i=3Ds.apply(this,arguments);return =
i.mode=3D"show",this.effect.call(this,i)}}(t.fn.show),hide:function(t){re=
turn function(e){if(n(e))return t.apply(this,arguments);var =
i=3Ds.apply(this,arguments);return =
i.mode=3D"hide",this.effect.call(this,i)}}(t.fn.hide),toggle:function(t){=
return function(e){if(n(e)||"boolean"=3D=3Dtypeof e)return =
t.apply(this,arguments);var i=3Ds.apply(this,arguments);return =
i.mode=3D"toggle",this.effect.call(this,i)}}(t.fn.toggle),cssUnit:functio=
n(e){var i=3Dthis.css(e),s=3D[];return =
t.each(["em","px","%","pt"],function(t,e){i.indexOf(e)>0&&(s=3D[parseFloa=
t(i),e])}),s}})}(),function(){var =
e=3D{};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,i){e[i]=3D=
function(e){return =
Math.pow(e,t+2)}}),t.extend(e,{Sine:function(t){return =
1-Math.cos(t*Math.PI/2)},Circ:function(t){return =
1-Math.sqrt(1-t*t)},Elastic:function(t){return =
0=3D=3D=3Dt||1=3D=3D=3Dt?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*M=
ath.PI/15)},Back:function(t){return =
t*t*(3*t-2)},Bounce:function(t){for(var =
e,i=3D4;((e=3DMath.pow(2,--i))-1)/11>t;);return =
1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,=
i){t.easing["easeIn"+e]=3Di,t.easing["easeOut"+e]=3Dfunction(t){return =
1-i(1-t)},t.easing["easeInOut"+e]=3Dfunction(t){return.5>t?i(2*t)/2:1-i(-=
2*t+2)/2}})}()})(jQuery);(function(t){var =
e=3D/up|down|vertical/,i=3D/up|left|vertical|horizontal/;t.effects.effect=
.blind=3Dfunction(s,n){var =
a,o,r,h=3Dt(this),l=3D["position","top","bottom","left","right","height",=
"width"],c=3Dt.effects.setMode(h,s.mode||"hide"),u=3Ds.direction||"up",d=3D=
e.test(u),p=3Dd?"height":"width",f=3Dd?"top":"left",m=3Di.test(u),g=3D{},=
v=3D"show"=3D=3D=3Dc;h.parent().is(".ui-effects-wrapper")?t.effects.save(=
h.parent(),l):t.effects.save(h,l),h.show(),a=3Dt.effects.createWrapper(h)=
.css({overflow:"hidden"}),o=3Da[p](),r=3DparseFloat(a.css(f))||0,g[p]=3Dv=
?o:0,m||(h.css(d?"bottom":"right",0).css(d?"top":"left","auto").css({posi=
tion:"absolute"}),g[f]=3Dv?r:o+r),v&&(a.css(p,0),m||a.css(f,r+o)),a.anima=
te(g,{duration:s.duration,easing:s.easing,queue:!1,complete:function(){"h=
ide"=3D=3D=3Dc&&h.hide(),t.effects.restore(h,l),t.effects.removeWrapper(h=
),n()}})}})(jQuery);(function(t){t.effects.effect.bounce=3Dfunction(e,i){=
var =
s,n,a,o=3Dt(this),r=3D["position","top","bottom","left","right","height",=
"width"],h=3Dt.effects.setMode(o,e.mode||"effect"),l=3D"hide"=3D=3D=3Dh,c=
=3D"show"=3D=3D=3Dh,u=3De.direction||"up",d=3De.distance,p=3De.times||5,f=
=3D2*p+(c||l?1:0),m=3De.duration/f,g=3De.easing,v=3D"up"=3D=3D=3Du||"down=
"=3D=3D=3Du?"top":"left",_=3D"up"=3D=3D=3Du||"left"=3D=3D=3Du,b=3Do.queue=
(),y=3Db.length;for((c||l)&&r.push("opacity"),t.effects.save(o,r),o.show(=
),t.effects.createWrapper(o),d||(d=3Do["top"=3D=3D=3Dv?"outerHeight":"out=
erWidth"]()/3),c&&(a=3D{opacity:1},a[v]=3D0,o.css("opacity",0).css(v,_?2*=
-d:2*d).animate(a,m,g)),l&&(d/=3DMath.pow(2,p-1)),a=3D{},a[v]=3D0,s=3D0;p=
>s;s++)n=3D{},n[v]=3D(_?"-=3D":"+=3D")+d,o.animate(n,m,g).animate(a,m,g),=
d=3Dl?2*d:d/2;l&&(n=3D{opacity:0},n[v]=3D(_?"-=3D":"+=3D")+d,o.animate(n,=
m,g)),o.queue(function(){l&&o.hide(),t.effects.restore(o,r),t.effects.rem=
oveWrapper(o),i()}),y>1&&b.splice.apply(b,[1,0].concat(b.splice(y,f+1))),=
o.dequeue()}})(jQuery);(function(t){t.effects.effect.clip=3Dfunction(e,i)=
{var =
s,n,a,o=3Dt(this),r=3D["position","top","bottom","left","right","height",=
"width"],h=3Dt.effects.setMode(o,e.mode||"hide"),l=3D"show"=3D=3D=3Dh,c=3D=
e.direction||"vertical",u=3D"vertical"=3D=3D=3Dc,d=3Du?"height":"width",p=
=3Du?"top":"left",f=3D{};t.effects.save(o,r),o.show(),s=3Dt.effects.creat=
eWrapper(o).css({overflow:"hidden"}),n=3D"IMG"=3D=3D=3Do[0].tagName?s:o,a=
=3Dn[d](),l&&(n.css(d,0),n.css(p,a/2)),f[d]=3Dl?a:0,f[p]=3Dl?0:a/2,n.anim=
ate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){l=
||o.hide(),t.effects.restore(o,r),t.effects.removeWrapper(o),i()}})}})(jQ=
uery);(function(t){t.effects.effect.drop=3Dfunction(e,i){var =
s,n=3Dt(this),a=3D["position","top","bottom","left","right","opacity","he=
ight","width"],o=3Dt.effects.setMode(n,e.mode||"hide"),r=3D"show"=3D=3D=3D=
o,h=3De.direction||"left",l=3D"up"=3D=3D=3Dh||"down"=3D=3D=3Dh?"top":"lef=
t",c=3D"up"=3D=3D=3Dh||"left"=3D=3D=3Dh?"pos":"neg",u=3D{opacity:r?1:0};t=
.effects.save(n,a),n.show(),t.effects.createWrapper(n),s=3De.distance||n[=
"top"=3D=3D=3Dl?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).c=
ss(l,"pos"=3D=3D=3Dc?-s:s),u[l]=3D(r?"pos"=3D=3D=3Dc?"+=3D":"-=3D":"pos"=3D=
=3D=3Dc?"-=3D":"+=3D")+s,n.animate(u,{queue:!1,duration:e.duration,easing=
:e.easing,complete:function(){"hide"=3D=3D=3Do&&n.hide(),t.effects.restor=
e(n,a),t.effects.removeWrapper(n),i()}})}})(jQuery);(function(t){t.effect=
s.effect.explode=3Dfunction(e,i){function =
s(){b.push(this),b.length=3D=3D=3Du*d&&n()}function =
n(){p.css({visibility:"visible"}),t(b).remove(),m||p.hide(),i()}var =
a,o,r,h,l,c,u=3De.pieces?Math.round(Math.sqrt(e.pieces)):3,d=3Du,p=3Dt(th=
is),f=3Dt.effects.setMode(p,e.mode||"hide"),m=3D"show"=3D=3D=3Df,g=3Dp.sh=
ow().css("visibility","hidden").offset(),v=3DMath.ceil(p.outerWidth()/d),=
_=3DMath.ceil(p.outerHeight()/u),b=3D[];for(a=3D0;u>a;a++)for(h=3Dg.top+a=
*_,c=3Da-(u-1)/2,o=3D0;d>o;o++)r=3Dg.left+o*v,l=3Do-(d-1)/2,p.clone().app=
endTo("body").wrap("
").css({position:"absolute",visibility:"vi=
sible",left:-o*v,top:-a*_}).parent().addClass("ui-effects-explode").css({=
position:"absolute",overflow:"hidden",width:v,height:_,left:r+(m?l*v:0),t=
op:h+(m?c*_:0),opacity:m?0:1}).animate({left:r+(m?0:l*v),top:h+(m?0:c*_),=
opacity:m?1:0},e.duration||500,e.easing,s)}})(jQuery);(function(t){t.effe=
cts.effect.fade=3Dfunction(e,i){var =
s=3Dt(this),n=3Dt.effects.setMode(s,e.mode||"toggle");s.animate({opacity:=
n},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}})(jQuery);=
(function(t){t.effects.effect.fold=3Dfunction(e,i){var =
s,n,a=3Dt(this),o=3D["position","top","bottom","left","right","height","w=
idth"],r=3Dt.effects.setMode(a,e.mode||"hide"),h=3D"show"=3D=3D=3Dr,l=3D"=
hide"=3D=3D=3Dr,c=3De.size||15,u=3D/([0-9]+)%/.exec(c),d=3D!!e.horizFirst=
,p=3Dh!=3D=3Dd,f=3Dp?["width","height"]:["height","width"],m=3De.duration=
/2,g=3D{},v=3D{};t.effects.save(a,o),a.show(),s=3Dt.effects.createWrapper=
(a).css({overflow:"hidden"}),n=3Dp?[s.width(),s.height()]:[s.height(),s.w=
idth()],u&&(c=3DparseInt(u[1],10)/100*n[l?0:1]),h&&s.css(d?{height:0,widt=
h:c}:{height:c,width:0}),g[f[0]]=3Dh?n[0]:c,v[f[1]]=3Dh?n[1]:0,s.animate(=
g,m,e.easing).animate(v,m,e.easing,function(){l&&a.hide(),t.effects.resto=
re(a,o),t.effects.removeWrapper(a),i()})}})(jQuery);(function(t){t.effect=
s.effect.highlight=3Dfunction(e,i){var =
s=3Dt(this),n=3D["backgroundImage","backgroundColor","opacity"],a=3Dt.eff=
ects.setMode(s,e.mode||"show"),o=3D{backgroundColor:s.css("backgroundColo=
r")};"hide"=3D=3D=3Da&&(o.opacity=3D0),t.effects.save(s,n),s.show().css({=
backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(o,{qu=
eue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"=3D=3D=
=3Da&&s.hide(),t.effects.restore(s,n),i()}})}})(jQuery);(function(t){t.ef=
fects.effect.pulsate=3Dfunction(e,i){var =
s,n=3Dt(this),a=3Dt.effects.setMode(n,e.mode||"show"),o=3D"show"=3D=3D=3D=
a,r=3D"hide"=3D=3D=3Da,h=3Do||"hide"=3D=3D=3Da,l=3D2*(e.times||5)+(h?1:0)=
,c=3De.duration/l,u=3D0,d=3Dn.queue(),p=3Dd.length;for((o||!n.is(":visibl=
e"))&&(n.css("opacity",0).show(),u=3D1),s=3D1;l>s;s++)n.animate({opacity:=
u},c,e.easing),u=3D1-u;n.animate({opacity:u},c,e.easing),n.queue(function=
(){r&&n.hide(),i()}),p>1&&d.splice.apply(d,[1,0].concat(d.splice(p,l+1)))=
,n.dequeue()}})(jQuery);(function(t){t.effects.effect.puff=3Dfunction(e,i=
){var =
s=3Dt(this),n=3Dt.effects.setMode(s,e.mode||"hide"),a=3D"hide"=3D=3D=3Dn,=
o=3DparseInt(e.percent,10)||150,r=3Do/100,h=3D{height:s.height(),width:s.=
width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()};t.extend(e=
,{effect:"scale",queue:!1,fade:!0,mode:n,complete:i,percent:a?o:100,from:=
a?h:{height:h.height*r,width:h.width*r,outerHeight:h.outerHeight*r,outerW=
idth:h.outerWidth*r}}),s.effect(e)},t.effects.effect.scale=3Dfunction(e,i=
){var =
s=3Dt(this),n=3Dt.extend(!0,{},e),a=3Dt.effects.setMode(s,e.mode||"effect=
"),o=3DparseInt(e.percent,10)||(0=3D=3D=3DparseInt(e.percent,10)?0:"hide"=
=3D=3D=3Da?0:100),r=3De.direction||"both",h=3De.origin,l=3D{height:s.heig=
ht(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth(=
)},c=3D{y:"horizontal"!=3D=3Dr?o/100:1,x:"vertical"!=3D=3Dr?o/100:1};n.ef=
fect=3D"size",n.queue=3D!1,n.complete=3Di,"effect"!=3D=3Da&&(n.origin=3Dh=
||["middle","center"],n.restore=3D!0),n.from=3De.from||("show"=3D=3D=3Da?=
{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to=3D{height:l.height*=
c.y,width:l.width*c.x,outerHeight:l.outerHeight*c.y,outerWidth:l.outerWid=
th*c.x},n.fade&&("show"=3D=3D=3Da&&(n.from.opacity=3D0,n.to.opacity=3D1),=
"hide"=3D=3D=3Da&&(n.from.opacity=3D1,n.to.opacity=3D0)),s.effect(n)},t.e=
ffects.effect.size=3Dfunction(e,i){var =
s,n,a,o=3Dt(this),r=3D["position","top","bottom","left","right","width","=
height","overflow","opacity"],h=3D["position","top","bottom","left","righ=
t","overflow","opacity"],l=3D["width","height","overflow"],c=3D["fontSize=
"],u=3D["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"=
],d=3D["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"]=
,p=3Dt.effects.setMode(o,e.mode||"effect"),f=3De.restore||"effect"!=3D=3D=
p,m=3De.scale||"both",g=3De.origin||["middle","center"],v=3Do.css("positi=
on"),_=3Df?r:h,b=3D{height:0,width:0,outerHeight:0,outerWidth:0};"show"=3D=
=3D=3Dp&&o.show(),s=3D{height:o.height(),width:o.width(),outerHeight:o.ou=
terHeight(),outerWidth:o.outerWidth()},"toggle"=3D=3D=3De.mode&&"show"=3D=
=3D=3Dp?(o.from=3De.to||b,o.to=3De.from||s):(o.from=3De.from||("show"=3D=3D=
=3Dp?b:s),o.to=3De.to||("hide"=3D=3D=3Dp?b:s)),a=3D{from:{y:o.from.height=
/s.height,x:o.from.width/s.width},to:{y:o.to.height/s.height,x:o.to.width=
/s.width}},("box"=3D=3D=3Dm||"both"=3D=3D=3Dm)&&(a.from.y!=3D=3Da.to.y&&(=
_=3D_.concat(u),o.from=3Dt.effects.setTransition(o,u,a.from.y,o.from),o.t=
o=3Dt.effects.setTransition(o,u,a.to.y,o.to)),a.from.x!=3D=3Da.to.x&&(_=3D=
_.concat(d),o.from=3Dt.effects.setTransition(o,d,a.from.x,o.from),o.to=3D=
t.effects.setTransition(o,d,a.to.x,o.to))),("content"=3D=3D=3Dm||"both"=3D=
=3D=3Dm)&&a.from.y!=3D=3Da.to.y&&(_=3D_.concat(c).concat(l),o.from=3Dt.ef=
fects.setTransition(o,c,a.from.y,o.from),o.to=3Dt.effects.setTransition(o=
,c,a.to.y,o.to)),t.effects.save(o,_),o.show(),t.effects.createWrapper(o),=
o.css("overflow","hidden").css(o.from),g&&(n=3Dt.effects.getBaseline(g,s)=
,o.from.top=3D(s.outerHeight-o.outerHeight())*n.y,o.from.left=3D(s.outerW=
idth-o.outerWidth())*n.x,o.to.top=3D(s.outerHeight-o.to.outerHeight)*n.y,=
o.to.left=3D(s.outerWidth-o.to.outerWidth)*n.x),o.css(o.from),("content"=3D=
=3D=3Dm||"both"=3D=3D=3Dm)&&(u=3Du.concat(["marginTop","marginBottom"]).c=
oncat(c),d=3Dd.concat(["marginLeft","marginRight"]),l=3Dr.concat(u).conca=
t(d),o.find("*[width]").each(function(){var =
i=3Dt(this),s=3D{height:i.height(),width:i.width(),outerHeight:i.outerHei=
ght(),outerWidth:i.outerWidth()};f&&t.effects.save(i,l),i.from=3D{height:=
s.height*a.from.y,width:s.width*a.from.x,outerHeight:s.outerHeight*a.from=
.y,outerWidth:s.outerWidth*a.from.x},i.to=3D{height:s.height*a.to.y,width=
:s.width*a.to.x,outerHeight:s.height*a.to.y,outerWidth:s.width*a.to.x},a.=
from.y!=3D=3Da.to.y&&(i.from=3Dt.effects.setTransition(i,u,a.from.y,i.fro=
m),i.to=3Dt.effects.setTransition(i,u,a.to.y,i.to)),a.from.x!=3D=3Da.to.x=
&&(i.from=3Dt.effects.setTransition(i,d,a.from.x,i.from),i.to=3Dt.effects=
.setTransition(i,d,a.to.x,i.to)),i.css(i.from),i.animate(i.to,e.duration,=
e.easing,function(){f&&t.effects.restore(i,l)})})),o.animate(o.to,{queue:=
!1,duration:e.duration,easing:e.easing,complete:function(){0=3D=3D=3Do.to=
.opacity&&o.css("opacity",o.from.opacity),"hide"=3D=3D=3Dp&&o.hide(),t.ef=
fects.restore(o,_),f||("static"=3D=3D=3Dv?o.css({position:"relative",top:=
o.to.top,left:o.to.left}):t.each(["top","left"],function(t,e){o.css(e,fun=
ction(e,i){var =
s=3DparseInt(i,10),n=3Dt?o.to.left:o.to.top;return"auto"=3D=3D=3Di?n+"px"=
:s+n+"px"})})),t.effects.removeWrapper(o),i()}})}})(jQuery);(function(t){=
t.effects.effect.shake=3Dfunction(e,i){var =
s,n=3Dt(this),a=3D["position","top","bottom","left","right","height","wid=
th"],o=3Dt.effects.setMode(n,e.mode||"effect"),r=3De.direction||"left",h=3D=
e.distance||20,l=3De.times||3,c=3D2*l+1,u=3DMath.round(e.duration/c),d=3D=
"up"=3D=3D=3Dr||"down"=3D=3D=3Dr?"top":"left",p=3D"up"=3D=3D=3Dr||"left"=3D=
=3D=3Dr,f=3D{},m=3D{},g=3D{},v=3Dn.queue(),_=3Dv.length;for(t.effects.sav=
e(n,a),n.show(),t.effects.createWrapper(n),f[d]=3D(p?"-=3D":"+=3D")+h,m[d=
]=3D(p?"+=3D":"-=3D")+2*h,g[d]=3D(p?"-=3D":"+=3D")+2*h,n.animate(f,u,e.ea=
sing),s=3D1;l>s;s++)n.animate(m,u,e.easing).animate(g,u,e.easing);n.anima=
te(m,u,e.easing).animate(f,u/2,e.easing).queue(function(){"hide"=3D=3D=3D=
o&&n.hide(),t.effects.restore(n,a),t.effects.removeWrapper(n),i()}),_>1&&=
v.splice.apply(v,[1,0].concat(v.splice(_,c+1))),n.dequeue()}})(jQuery);(f=
unction(t){t.effects.effect.slide=3Dfunction(e,i){var =
s,n=3Dt(this),a=3D["position","top","bottom","left","right","width","heig=
ht"],o=3Dt.effects.setMode(n,e.mode||"show"),r=3D"show"=3D=3D=3Do,h=3De.d=
irection||"left",l=3D"up"=3D=3D=3Dh||"down"=3D=3D=3Dh?"top":"left",c=3D"u=
p"=3D=3D=3Dh||"left"=3D=3D=3Dh,u=3D{};t.effects.save(n,a),n.show(),s=3De.=
distance||n["top"=3D=3D=3Dl?"outerHeight":"outerWidth"](!0),t.effects.cre=
ateWrapper(n).css({overflow:"hidden"}),r&&n.css(l,c?isNaN(s)?"-"+s:-s:s),=
u[l]=3D(r?c?"+=3D":"-=3D":c?"-=3D":"+=3D")+s,n.animate(u,{queue:!1,durati=
on:e.duration,easing:e.easing,complete:function(){"hide"=3D=3D=3Do&&n.hid=
e(),t.effects.restore(n,a),t.effects.removeWrapper(n),i()}})}})(jQuery);(=
function(t){t.effects.effect.transfer=3Dfunction(e,i){var =
s=3Dt(this),n=3Dt(e.to),a=3D"fixed"=3D=3D=3Dn.css("position"),o=3Dt("body=
"),r=3Da?o.scrollTop():0,h=3Da?o.scrollLeft():0,l=3Dn.offset(),c=3D{top:l=
.top-r,left:l.left-h,height:n.innerHeight(),width:n.innerWidth()},u=3Ds.o=
ffset(),d=3Dt("
").appendTo(document.body).addClass(e=
.className).css({top:u.top-r,left:u.left-h,height:s.innerHeight(),width:s=
.innerWidth(),position:a?"fixed":"absolute"}).animate(c,e.duration,e.easi=
ng,function(){d.remove(),i()})}})(jQuery);
------=_NextPart_000_0000_01D045FB.9478D8C0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: https://cdn.loc.gov/js/lib/jquery.livequery-1.1.1.js
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)=0A=
* Dual licensed under the MIT (MIT_LICENSE.txt)=0A=
* and GPL Version 2 (GPL_LICENSE.txt) licenses.=0A=
*=0A=
* Version: 1.1.1=0A=
* Requires jQuery 1.3+=0A=
* Docs: http://docs.jquery.com/Plugins/livequery=0A=
*/=0A=
=0A=
(function($) {=0A=
=0A=
$.extend($.fn, {=0A=
livequery: function(type, fn, fn2) {=0A=
var self =3D this, q;=0A=
=0A=
// Handle different call patterns=0A=
if ($.isFunction(type))=0A=
fn2 =3D fn, fn =3D type, type =3D undefined;=0A=
=0A=
// See if Live Query already exists=0A=
$.each( $.livequery.queries, function(i, query) {=0A=
if ( self.selector =3D=3D query.selector && self.context =3D=3D =
query.context &&=0A=
type =3D=3D query.type && (!fn || fn.$lqguid =3D=3D =
query.fn.$lqguid) && (!fn2 || fn2.$lqguid =3D=3D query.fn2.$lqguid) )=0A=
// Found the query, exit the each loop=0A=
return (q =3D query) && false;=0A=
});=0A=
=0A=
// Create new Live Query if it wasn't found=0A=
q =3D q || new $.livequery(this.selector, this.context, type, fn, fn2);=0A=
=0A=
// Make sure it is running=0A=
q.stopped =3D false;=0A=
=0A=
// Run it immediately for the first time=0A=
q.run();=0A=
=0A=
// Contnue the chain=0A=
return this;=0A=
},=0A=
=0A=
expire: function(type, fn, fn2) {=0A=
var self =3D this;=0A=
=0A=
// Handle different call patterns=0A=
if ($.isFunction(type))=0A=
fn2 =3D fn, fn =3D type, type =3D undefined;=0A=
=0A=
// Find the Live Query based on arguments and stop it=0A=
$.each( $.livequery.queries, function(i, query) {=0A=
if ( self.selector =3D=3D query.selector && self.context =3D=3D =
query.context &&=0A=
(!type || type =3D=3D query.type) && (!fn || fn.$lqguid =3D=3D =
query.fn.$lqguid) && (!fn2 || fn2.$lqguid =3D=3D query.fn2.$lqguid) && =
!this.stopped )=0A=
$.livequery.stop(query.id);=0A=
});=0A=
=0A=
// Continue the chain=0A=
return this;=0A=
}=0A=
});=0A=
=0A=
$.livequery =3D function(selector, context, type, fn, fn2) {=0A=
this.selector =3D selector;=0A=
this.context =3D context;=0A=
this.type =3D type;=0A=
this.fn =3D fn;=0A=
this.fn2 =3D fn2;=0A=
this.elements =3D [];=0A=
this.stopped =3D false;=0A=
=0A=
// The id is the index of the Live Query in $.livequery.queries=0A=
this.id =3D $.livequery.queries.push(this)-1;=0A=
=0A=
// Mark the functions for matching later on=0A=
fn.$lqguid =3D fn.$lqguid || $.livequery.guid++;=0A=
if (fn2) fn2.$lqguid =3D fn2.$lqguid || $.livequery.guid++;=0A=
=0A=
// Return the Live Query=0A=
return this;=0A=
};=0A=
=0A=
$.livequery.prototype =3D {=0A=
stop: function() {=0A=
var query =3D this;=0A=
=0A=
if ( this.type )=0A=
// Unbind all bound events=0A=
this.elements.unbind(this.type, this.fn);=0A=
else if (this.fn2)=0A=
// Call the second function for all matched elements=0A=
this.elements.each(function(i, el) {=0A=
query.fn2.apply(el);=0A=
});=0A=
=0A=
// Clear out matched elements=0A=
this.elements =3D [];=0A=
=0A=
// Stop the Live Query from running until restarted=0A=
this.stopped =3D true;=0A=
},=0A=
=0A=
run: function() {=0A=
// Short-circuit if stopped=0A=
if ( this.stopped ) return;=0A=
var query =3D this;=0A=
=0A=
var oEls =3D this.elements,=0A=
els =3D $(this.selector, this.context),=0A=
nEls =3D els.not(oEls);=0A=
=0A=
// Set elements to the latest set of matched elements=0A=
this.elements =3D els;=0A=
=0A=
if (this.type) {=0A=
// Bind events to newly matched elements=0A=
nEls.bind(this.type, this.fn);=0A=
=0A=
// Unbind events to elements no longer matched=0A=
if (oEls.length > 0)=0A=
$.each(oEls, function(i, el) {=0A=
if ( $.inArray(el, els) < 0 )=0A=
$.event.remove(el, query.type, query.fn);=0A=
});=0A=
}=0A=
else {=0A=
// Call the first function for newly matched elements=0A=
nEls.each(function() {=0A=
query.fn.apply(this);=0A=
});=0A=
=0A=
// Call the second function for elements no longer matched=0A=
if ( this.fn2 && oEls.length > 0 )=0A=
$.each(oEls, function(i, el) {=0A=
if ( $.inArray(el, els) < 0 )=0A=
query.fn2.apply(el);=0A=
});=0A=
}=0A=
}=0A=
};=0A=
=0A=
$.extend($.livequery, {=0A=
guid: 0,=0A=
queries: [],=0A=
queue: [],=0A=
running: false,=0A=
timeout: null,=0A=
=0A=
checkQueue: function() {=0A=
if ( $.livequery.running && $.livequery.queue.length ) {=0A=
var length =3D $.livequery.queue.length;=0A=
// Run each Live Query currently in the queue=0A=
while ( length-- )=0A=
$.livequery.queries[ $.livequery.queue.shift() ].run();=0A=
}=0A=
},=0A=
=0A=
pause: function() {=0A=
// Don't run anymore Live Queries until restarted=0A=
$.livequery.running =3D false;=0A=
},=0A=
=0A=
play: function() {=0A=
// Restart Live Queries=0A=
$.livequery.running =3D true;=0A=
// Request a run of the Live Queries=0A=
$.livequery.run();=0A=
},=0A=
=0A=
registerPlugin: function() {=0A=
$.each( arguments, function(i,n) {=0A=
// Short-circuit if the method doesn't exist=0A=
if (!$.fn[n]) return;=0A=
=0A=
// Save a reference to the original method=0A=
var old =3D $.fn[n];=0A=
=0A=
// Create a new method=0A=
$.fn[n] =3D function() {=0A=
// Call the original method=0A=
var r =3D old.apply(this, arguments);=0A=
=0A=
// Request a run of the Live Queries=0A=
$.livequery.run();=0A=
=0A=
// Return the original methods result=0A=
return r;=0A=
}=0A=
});=0A=
},=0A=
=0A=
run: function(id) {=0A=
if (id !=3D undefined) {=0A=
// Put the particular Live Query in the queue if it doesn't already =
exist=0A=
if ( $.inArray(id, $.livequery.queue) < 0 )=0A=
$.livequery.queue.push( id );=0A=
}=0A=
else=0A=
// Put each Live Query in the queue if it doesn't already exist=0A=
$.each( $.livequery.queries, function(id) {=0A=
if ( $.inArray(id, $.livequery.queue) < 0 )=0A=
$.livequery.queue.push( id );=0A=
});=0A=
=0A=
// Clear timeout if it already exists=0A=
if ($.livequery.timeout) clearTimeout($.livequery.timeout);=0A=
// Create a timeout to check the queue and actually run the Live =
Queries=0A=
$.livequery.timeout =3D setTimeout($.livequery.checkQueue, 20);=0A=
},=0A=
=0A=
stop: function(id) {=0A=
if (id !=3D undefined)=0A=
// Stop are particular Live Query=0A=
$.livequery.queries[ id ].stop();=0A=
else=0A=
// Stop all Live Queries=0A=
$.each( $.livequery.queries, function(id) {=0A=
$.livequery.queries[ id ].stop();=0A=
});=0A=
}=0A=
});=0A=
=0A=
// Register core DOM manipulation methods=0A=
$.livequery.registerPlugin('append', 'prepend', 'after', 'before', =
'wrap', 'attr', 'removeAttr', 'addClass', 'removeClass', 'toggleClass', =
'empty', 'remove', 'html');=0A=
=0A=
// Run Live Queries when the Document is ready=0A=
$(function() { $.livequery.play(); });=0A=
=0A=
})(jQuery);
------=_NextPart_000_0000_01D045FB.9478D8C0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: https://cdn.loc.gov/js/lib/jquery.claypool-1.2.8-lite.min.js
var =
Claypool=3D{Logging:{},extend:function(c,b,a){b.apply(c,a||[])}};(functio=
n(b,a){a.Logging.NullLogger=3Dfunction(){var c=3Dfunction(){return =
this};b.extend(this,{debug:c,info:c,warn:c,error:c,exception:c});return =
this};b.extend(a.Logging.NullLogger.prototype,{getLogger:function(){retur=
n new =
a.Logging.NullLogger()}})})(jQuery,Claypool);(function(b,a){a.Configurati=
on=3D{ioc:[],aop:[],logging:[],mvc:{"hijax:a":[],"hijax:form":[],"hijax:b=
utton":[],"hijax:event":[]},env:{dev:{},prod:{},test:{}}}})(jQuery,Claypo=
ol);(function(b,a){a.CachingStrategy$Interface=3D{cache:null,size:null,cl=
ear:function(){throw new =
a.MethodNotImplementedError()},add:function(d,c){throw new =
a.MethodNotImplementedError()},remove:function(c){throw new =
a.MethodNotImplementedError()},find:function(c){throw new =
a.MethodNotImplementedError()}}})(jQuery,Claypool);(function(b,a){a.Simpl=
eCachingStrategy=3Dfunction(c){b.extend(true,this,c);this.logger=3Dnew =
a.Logging.NullLogger();this.clear();return =
this};b.extend(a.SimpleCachingStrategy.prototype,a.CachingStrategy$Interf=
ace,{clear:function(){this.logger.debug("Clearing =
Cache.");this.cache=3Dnull;this.cache=3D{};this.size=3D0},add:function(d,=
c){this.logger.debug("Adding To Cache: =
%s",d);if(!this.cache[d]){this.cache[d]=3Dc;this.size++;return d}return =
null},remove:function(c){this.logger.debug("Removing From Cache id: =
%s",c);if(this.find(c)){return(delete =
this.cache[c])?--this.size:-1}return =
null},find:function(c){this.logger.debug("Searching Cache for id: =
%s",c);return =
this.cache[c]||null}})})(jQuery,Claypool);(function(b,a){a.Context=3Dfunc=
tion(c){a.extend(this,a.SimpleCachingStrategy);b.extend(true,this,c);this=
.logger=3Dnew =
a.Logging.NullLogger()};b.extend(a.Context.prototype,a.SimpleCachingStrat=
egy.prototype,{get:function(c){throw new =
a.MethodNotImplementedError()},put:function(d,c){throw new =
a.MethodNotImplementedError()}})})(jQuery,Claypool);(function(b,a){a.Cont=
extContributor=3Dfunction(c){a.extend(this,a.Context);b.extend(true,this,=
c);this.logger=3Db.logger("Claypool.ContextContributor")};b.extend(a.Cont=
extContributor.prototype,a.Context.prototype,{registerContext:function(c)=
{throw new =
a.MethodNotImplementedError()}})})(jQuery,Claypool);(function(b,a){a.Rout=
er=3Dfunction(c){a.extend(this,a.SimpleCachingStrategy);b.extend(true,thi=
s,c);this.logger=3Da.Logging.getLogger("Claypool.Router")};b.extend(a.Rou=
ter.prototype,a.SimpleCachingStrategy.prototype,{compile:function(g,d){th=
is.logger.debug("compiling patterns for match strategies");var f,k,h;var =
e,c;d=3Dd.split("|");for(e=3D0;e
/g,function(){var =
j,l=3Darguments[0].indexOf("(");j=3Darguments[0].substring(2,l);h.push(j)=
;return =
arguments[0].substring(l,arguments[0].length-2)});f=3Df.replace(/\|\:\w+\=
|/g,function(){var =
j;j=3Darguments[0].substring(2,arguments[0].length-1);h.push(j);return"([=
\\w\\-\\.]+)"});this.add(String(a.uuid()),{pattern:new =
RegExp(f),payload:g[e],params:h})}}}return =
this},first:function(d){this.logger.debug("Using strategy 'first'");var =
c,f,e=3D{};for(f in =
this.cache){c=3Dthis.find(f);this.logger.debug("checking pattern %s for =
string =
%s",c.pattern,d);if(c&&c.pattern&&c.pattern.test&&c.pattern.test(d)){this=
.logger.debug("found match for \n\tpattern: %s \n\ttarget : %s =
",c.pattern,c.payload.controller||c.payload.rewrite);if(c.params&&c.param=
s.length>0){d.replace(c.pattern,function(){var =
g;for(g=3D1;g0){d.repla=
ce(c.pattern,function(){var =
h;for(h=3D1;h has not been set explicitly or has been updated =
implicitly.",this.configurationId);try{this.logger.debug("$$.Configuratio=
n: \n =
%o",a.Configuration);if(a.Configuration[this.configurationId]){this.logge=
r.debug("Found =
Claypool.Configuration");this.configuration=3Da.Configuration[this.config=
urationId]}else{if(!a.Configuration){this.loadConfig()}}}catch(c){this.lo=
gger.exception(c);throw new a.ConfigurationError(c)}}return =
this.configuration},loadConfig:function(c){c=3Dc||{};this.configurationUr=
l=3Dc.url||this.configurationUrl;this.logger.debug("Attempting to load =
configuration from: %s",this.configurationUrl);var =
f=3Dthis;try{jQuery.ajax({type:"Get",url:this.configurationUrl,async:fals=
e,data:{},dataType:"json",success:function(e){if(f.configurationUrl=3D=3D=
"./app/configs/config.js"){a.Configuration=3Da.Configuration||{};b.extend=
(true,a.Configuration,e)}else{f.setConfig(f.configurationId,e?e:null)}if(=
c.callback){c.callback(a.Configuration)}}})}catch(d){this.logger.exceptio=
n(d);throw new =
a.ConfigurationError(d)}},setConfig:function(d,c){this.logger.debug("Sett=
ing =
configuration");this.configuration=3Dc;a.Configuration[d]=3Dc},updateConf=
ig:function(c){throw new =
a.MethodNotImplementedError()}})})(jQuery,Claypool);(function(b,a){a.Erro=
r=3Dfunction(d,c){b.extend(true,this,d||new =
Error());this.name=3D(c&&c.name?c.name:"Claypool.UnknownError")+" > =
Claypool.Error"+(this.name?(" > =
"+this.name):"");this.message=3D(c&&c.name?c.name:"No Message Provided =
\n Nested exception =
is:\n\t")+(this.message||"UnknownError")}})(jQuery,Claypool);(function(b,=
a){a.ConfigurationError=3Dfunction(f,c){var =
d=3D{name:"Claypool.ConfigurationError",message:"An error occured trying =
to locate or load the system configuration."};b.extend(this,new =
a.Error(f,c?{name:(c.name?(c.name+" > =
"):"")+d.name,message:(c.message?(c.message+" \n =
"):"")+d.message}:d))}})(jQuery,Claypool);(function(b,a){a.MethodNotImple=
mentedError=3Dfunction(f,c){var =
d=3D{name:"Claypool.MethodNotImplementedError",message:"Method not =
implemented."};b.extend(this,new a.Error(f,c?{name:(c.name?(c.name+" > =
"):"")+d.name,message:(c.message?(c.message+" \n =
"):"")+d.message}:d))}})(jQuery,Claypool);(function(b,a){a.NameResolution=
Error=3Dfunction(f,c){var =
d=3D{name:"Claypool.NameResolutionError",message:"Unexpected error =
resolving name."};b.extend(this,new a.Error(f,c?{name:(c.name?(c.name+" =
> "):"")+d.name,message:(c.message?(c.message+" \n =
"):"")+d.message}:d))}})(jQuery,Claypool);(function(f,b){var =
e=3D[],c=3D0,a=3D{},d;f.extend(a,{$:function(k,j){var =
g,h;if(j=3D=3D=3Dundefined){g=3Dnull;for(h=3D0;h(e.leng=
th-1)/2){if(g=3D=3D=3D0&&f.isFunction(h.getContext)){e[0]=3Dh.getContext}=
else{if(g!=3D=3D0){if(f.isFunction(h.getContext)){e.push(h.getContext)=0A=
}if(f.isFunction(h.getCachedContext)){e.unshift(h.getCachedContext)}}}}},=
resolve:function(g){var n;var j;var l;var h;try{n=3Dfunction(o){return =
this[o]};j=3Dg.split(".");l=3Dnull;for(h=3D0;h0))?g:[];var =
e=3D(g.length>0)?g[0]:null;if(typeof(e)!=3D"string"){g.unshift(d)}else{g[=
0]=3Dd+e}return =
g}})})(jQuery,Claypool,Claypool.Logging);(function(d,b,f){var =
e=3D/((^%|[^\\]%)(\d+)?(\.)([a-zA-Z]))|((^%|[^\\]%)([a-zA-Z]))/,a=3D/func=
tion ?(.*?)\(/,c=3D/\[object =
(.*?)\]/;f.DefaultFormatter=3Dfunction(g){d.extend(true,this,g)};d.extend=
(f.DefaultFormatter.prototype,f.Formatter$Interface,{getDateString:functi=
on(){return" ["+new Date().toUTCString()+"] =
"},format:function(g,h,q){var j=3D" "+g+": =
"+this.getDateString()+"{"+h+"} ";var k=3D[j?j:""];var p=3Dq[0];var =
l=3D0;if(typeof(p)!=3D"string"){p=3D"";l=3D-1}var =
n=3Dthis.parseFormat(p);var =
o;for(o=3D0;o")},appendNode:function(j,k){var g;var h;var =
l;if(j.nodeType=3D=3D1){k.push("<",j.nodeName.toLowerCase(),">");for(h=3D=
0;h")}else{k.push("/>")}}else{if(j.nodeTyp=
e=3D=3D3){k.push(j.nodeValue)}}}})})(jQuery,Claypool,Claypool.Logging);(f=
unction(b,a,c){c.Factory=3Dfunction(d){a.extend(this,a.BaseFactory);this.=
configurationId=3D"logging";b.extend(true,this,d);this.logger=3Dnew =
c.Logger({category:"Claypool.Logging.Factory",level:"INFO",appender:"Clay=
pool.Logging.ConsoleAppender"});this.attemptedConfigure=3Dfalse};b.extend=
(c.Factory.prototype,a.BaseFactory.prototype,{create:function(g){var =
d,h,e,f;if(!this.configuration){if(!this.attemptedConfigure){this.logger.=
warn("Claypool Logging was not initalized correctly. Logging will not =
occur unless initialized.")}this.attemptedConfigure=3Dtrue;return new =
c.NullLogger()}else{d=3Dg.split(".");for(i=3D0;i\s*\(/gm,"{anonymous}()@").split("\n")},firefox:functi=
on(a){return =
a.stack.replace(/(?:\n@:0)?\s+$/m,"").replace(/^\(/gm,"{anonymous}(").spl=
it("\n")},opera10:function(g){var k=3Dg.stacktrace;var =
n=3Dk.split("\n"),a=3D"{anonymous}",h=3D/.*line (\d+), column (\d+) in =
((/g,a);n[c++]=3Db+"@"+l}}n.splice(c,n.length-c);retur=
n n},opera:function(h){var =
c=3Dh.message.split("\n"),b=3D"{anonymous}",g=3D/Line\s+(\d+).*script\s+(=
http\S+)(?:.*in\s+function\s+(\S+))?/i,f,d,a;for(f=3D4,d=3D0,a=3Dc.length=
;f-1?[j.split("#")[0]=
,"#"+j.split("#")[1]]:["",j];if(!this.find(d[0])){this.add(d[0],new =
a.SimpleCachingStrategy())}this.logger.debug("Searching application =
context for object: =
%s",j);g=3Dnull;g=3Dthis.find(d[0]).find(d[1]);if(g!=3D=3Dnull){this.logg=
er.debug("Found object in global application context. Object id: =
%s",j);return g}else{this.logger.debug("Searching for object in =
contributed application context. Object id: %s",j);for(f in =
this.contextContributors){this.logger.debug("Checking Application =
Context Contributor =
%s.",f);g=3Dthis.contextContributors[f].get(j);if(g!=3D=3Dnull){this.logg=
er.debug("Found object in contributed application context. Object id: =
%s",j);return g}}}this.logger.debug("Cannot find object in any =
application context. Object id: %s",j);return null}catch(h){throw new =
b.ContextError(h)}},put:function(g,e){var =
f,d;f=3Dtypeof(g)=3D=3D"string"&&g.indexOf("#")>-1?[g.split("#")[0],"#"+g=
.split("#")[1]]:["",g];d=3Dthis.find(f[0]);if(!d){d=3Dnew =
a.SimpleCachingStrategy();this.add(f[0],d)}if(d.find(f[0])){d.remove(f[1]=
)}this.logger.debug("Adding object to global application context =
%s",g);d.add(f[1],e)}})})(jQuery,Claypool,Claypool.Application);(function=
(c,a,b){b.ContextContributor=3Dfunction(d){a.extend(this,a.ContextContrib=
utor);c.extend(true,this,d);this.logger=3Dc.logger("Claypool.Application.=
ContextContributor");return =
this};c.extend(b.ContextContributor.prototype,a.ContextContributor.protot=
ype,{registerContext:function(d){this.logger.info("Registering Context =
id: =
%s",d);b.getContext().contextContributors[d]=3Dthis}})})(jQuery,Claypool,=
Claypool.Application);(function(c,a,b){b.Aware=3Dfunction(d){c.extend(thi=
s,d);this.logger=3Dc.logger("Claypool.Application.Aware")};c.extend(b.Awa=
re.prototype,{$:function(){return =
b.getContext()}})})(jQuery,Claypool,Claypool.Application);(function(c,a,b=
){b.ContextError=3Dfunction(g,d){var =
f=3D{name:"Claypool.Application.ContextError",message:"An unexpected =
error occured while searching the application =
context."};c.extend(this,new a.Error(g,d?{name:(d.name?(d.name+" > =
"):"")+f.name,message:(d.message?(d.message+" \n =
"):"")+f.message}:f))}})(jQuery,Claypool,Claypool.Application);(function(=
c,a,b){c.extend(c,{app:function(){return =
b.getContext()},boot:function(d){b.Initialize(d);return =
this},reboot:function(d){b.Reinitialize(d);return =
this},manage:function(d,e,f){c(document).bind("claypool:initialize",funct=
ion(h,g){if(!g[e]){g[e]=3Dnew =
(c.resolve(d))();if(g.ContextContributor&&c.isFunction(g.ContextContribut=
or)){g[e].registerContext(d)}}else{g[e].factory.updateConfig()}if(f&&c.is=
Function(f)){f(g[e])}}).bind("claypool:reinitialize",function(h,g){g[e]=3D=
new =
(c.resolve(d))();if(g.ContextContributor&&c.isFunction(g.ContextContribut=
or)){g[e].registerContext(d)}if(f&&c.isFunction(f)){f(g[e])}});return =
this}})})(jQuery,Claypool,Claypool.Application);Claypool.AOP=3D{};(functi=
on(c,b,a){c.manage("Claypool.AOP.Container","claypool:AOP")})(jQuery,Clay=
pool,Claypool.AOP);(function(c,b,a){a.Aspect=3Dfunction(d){this.id=3Dnull=
;this.type=3Dnull;b.extend(this,b.SimpleCachingStrategy);c.extend(true,th=
is,d);this.logger=3Dc.logger("Claypool.AOP.Aspect");this.strategy=3Dthis.=
strategy||"all"};c.extend(a.Aspect.prototype,b.SimpleCachingStrategy.prot=
otype,{weave:function(){var j=3Dthis;var g;var =
d;if(!this.target){j.logger.warn("No pointcut was specified. Cant weave =
aspect.");return}var h=3Dfunction(f){var =
n,l,k;try{j.logger.debug("Weaving Advice %s for Aspect =
%s",f,j.id);j.hasPrototype=3Dtypeof(j.target.prototype)!=3D"undefined";l=3D=
j.hasPrototype?j.target.prototype[f]:j.target[f];n=3Dj.advise(l,j._target=
,f);if(!j.hasPrototype){j.target[f]=3Dn}else{j.target.prototype[f]=3Dn}k=3D=
{pointcut:n,cutline:l,method:f,target:j._target};return k}catch(o){throw =
new a.WeaveError(o,"Weave")}};if(this.size=3D=3D=3D0){g=3Dnew =
RegExp(this[this.type?this.type:"method"]);d=3Dthis.target.prototype?this=
.target.prototype:this.target;for(var e in =
d){if(c.isFunction(d[e])&&g.test(e)){this.logger.debug("Adding aspect to =
method =
%s",e);this.add(b.uuid(),h(e));if(this.strategy=3D=3D=3D"first"){break}}}=
}return this},unweave:function(){var d;try{for(var g in =
this.cache){d=3Dthis.find(g);if(!this.hasPrototype){this.target[this.meth=
od]=3Dd.cutline}else{this.target.prototype[this.method]=3Dd.cutline}this.=
hasPrototype=3Dnull}this.clear()}catch(f){throw new =
a.WeaveError(f,"Unweave")}return true},advise:function(d){throw new =
b.MethodNotImplementedError()}})})(jQuery,Claypool,Claypool.AOP);(functio=
n(c,b,a){a.After=3Dfunction(d){b.extend(this,a.Aspect);c.extend(true,this=
,d);this.logger=3Dc.logger("Claypool.AOP.After");this.type=3D"after"};c.e=
xtend(a.After.prototype,a.Aspect.prototype,{advise:function(d,g,j){var =
h=3Dthis;try{return function(){var e=3Dd.apply(this,arguments);return =
h.advice.apply(h,[e,g,j])}}catch(f){throw new =
a.AspectError(f,"After")}}})})(jQuery,Claypool,Claypool.AOP);(function(c,=
b,a){a.Before=3Dfunction(d){b.extend(this,a.Aspect);c.extend(true,this,d)=
;this.logger=3Dc.logger("Claypool.AOP.Before");this.type=3D"before"};c.ex=
tend(a.Before.prototype,a.Aspect.prototype,{advise:function(d,g,j){var =
h=3Dthis;try{return function(){var e=3D[];h.logger.debug("cutline =
arguments length %s",arguments.length);for(var =
k=3D0;k-1?[u.split("#")[0],"#"+u=
.split("#")[1]]:["",u];if(!s.find(r[0])){s.add(r[0],new =
b.SimpleCachingStrategy())}e=3Ds.find(r[0]).find(r[1]);l.literal=3D{scope=
:"global",object:u};l._target=3Dl.target;l.target=3De._this;n.add(l.id,l)=
;var =
q=3Dn.create(l.id);e._this=3Dq.target;s.find(r[0]).remove(r[1]);s.find(r[=
0]).add(r[1],e);n.logger.debug("Created aspect \n%s, =
\n%s")}).bind("claypool:predestroy:"+j,function(r,e){n.logger.debug("Dest=
roying aspect id %s for instance %s",l.id);var =
q=3Dn.aspectCache.find(l.id);if(q&&q.unweave){q.unweave()}})}else{if(l.ta=
rget.match(/\.\*$/)){this.logger.debug("Broad aspect target =
%s",l.target);if(!f||(f.clazz.match(l.target))){h=3Dc.resolve(l.target.su=
bstring(0,l.target.length-2));=0A=
for(d in =
h){if(c.isFunction(h[d])){p=3Dc.extend({},l,{id:l.id+b.uuid(),target:h[d]=
,_target:l.target.substring(0,l.target.length-1)+d});this.logger.debug("C=
reating aspect id %s [%s] =
(%s)",l.target,d,p.id);this.add(p.id,p);this.create(p.id)}}}}else{if(!f||=
(f.clazz.match(l.target))){this.logger.debug("Creating aspect id =
%s",l.id);l._target=3Dl.target;l.target=3Dc.resolve(l.target);this.add(l.=
id,l);this.create(l.id)}}}}catch(o){this.logger.exception(o)}}}}catch(o){=
this.logger.exception(o);throw new a.ConfigurationError(o)}return =
true},create:function(n,h){var l;var d;var =
f=3Dthis.aspectCache.find(n);var k=3Dthis;var g=3Dfunction(o){var =
e=3Dnull;if(o.after){e=3Dnew a.After(o)}else{if(o.before){e=3Dnew =
a.Before(o)}else{if(o.around){e=3Dnew a.Around(o)}}}return =
e.weave()};if(f){return f}else{try{this.logger.debug("Looking for =
configuration for aspect =
%s",n);l=3Dthis.find(n);if(l=3D=3D=3Dundefined||l=3D=3D=3Dnull){this.logg=
er.debug("%s is not an Aspect.",n);return =
null}else{this.logger.debug("Found configuration for instance =
%s",n);if(l.selector){this.logger.debug("Attaching contructor to an =
active =
selector");k=3Dthis;d=3Dfunction(){f=3Dg(l);k.aspectCache.add(l.id+"#"+th=
is.toString(),f);return =
f};if(l.active){c(l.selector).livequery(d)}else{c(l.selector).each(d)}}el=
se{f=3Dg(l);this.aspectCache.add(n,f)}return =
f}}catch(j){this.logger.exception(j);throw new =
a.FactoryError(j)}}}})})(jQuery,Claypool,Claypool.AOP);(function(c,b,a){a=
.Container=3Dfunction(d){b.extend(this,b.Application.ContextContributor);=
c.extend(true,this,d);this.factory=3Dnull;this.logger=3Dc.logger("Claypoo=
l.AOP.Container");this.logger.debug("Configuring Claypool AOP =
Container");this.factory=3Dnew =
a.Factory(d);this.factory.updateConfig()};c.extend(a.Container.prototype,=
b.Application.ContextContributor.prototype,{get:function(h){var =
d,f;try{f=3Dtypeof(h)=3D=3D"string"&&h.indexOf("#")>-1?[h.split("#")[0],"=
#"+h.split("#")[1]]:["",h];if(!this.find(f[0])){this.add(f[0],new =
b.SimpleCachingStrategy())}this.logger.debug("Search for a container =
managed aspect =
:%s",h);d=3Dthis.find(f[0]).find(f[1]);if(d=3D=3D=3Dundefined||d=3D=3D=3D=
null){this.logger.debug("Can't find a container managed aspect =
:%s",h);d=3Dthis.factory.create(f[1],f[0]);if(d!=3D=3Dnull){this.find(f[0=
]).add(f[1],d);return d}}else{this.logger.debug("Found container managed =
instance :%s",h);return d}}catch(g){this.logger.exception(g);throw new =
a.ContainerError(g)}return =
null}})})(jQuery,Claypool,Claypool.AOP);(function(c,b,a){a.ContainerError=
=3Dfunction(g,d){var f=3D{name:"Claypool.AOP.ContainerError",message:"An =
error occured inside the aop container."};c.extend(this,new =
b.Error(g,d?{name:(d.name?(d.name+" > =
"):"")+f.name,message:(d.message?(d.message+" \n =
"):"")+f.message}:f))}})(jQuery,Claypool,Claypool.AOP);(function(c,b,a){a=
.ConfigurationError=3Dfunction(g,d){var =
f=3D{name:"Claypool.AOP.ConfigurationError",message:"An error occured =
updating the aop container configuration."};c.extend(this,new =
b.ConfigurationError(g,d?{name:(d.name?(d.name+" > =
"):"")+f.name,message:(d.message?(d.message+" \n =
"):"")+f.message}:f))}})(jQuery,Claypool,Claypool.AOP);(function(c,b,a){a=
.FactoryError=3Dfunction(g,d){var =
f=3D{name:"Claypool.AOP.FactoryError",message:"An error occured creating =
the aspect from the configuration."};c.extend(this,new =
b.Error(g,d?{name:(d.name?(d.name+" > =
"):"")+f.name,message:(d.message?(d.message+" \n =
"):"")+f.message}:f))}})(jQuery,Claypool,Claypool.AOP);(function(c,b,a){a=
.WeaveError=3Dfunction(g,d){var =
f=3D{name:"Claypool.AOP.WeaveError",message:"An error occured weaving or =
unweaving the aspect."};c.extend(this,new =
b.Error(g,d?{name:(d.name?(d.name+" > =
"):"")+f.name,message:(d.message?(d.message+" \n =
"):"")+f.message}:f))}})(jQuery,Claypool,Claypool.AOP);(function(c,b,a){a=
.AspectError=3Dfunction(g,d){var =
f=3D{name:"Claypool.AOP.AspectError",message:"An error occured while =
applying an aspect."};c.extend(this,new =
b.Error(g,d?{name:(d.name?(d.name+" > =
"):"")+f.name,message:(d.message?(d.message+" \n =
"):"")+f.message}:f))}})(jQuery,Claypool,Claypool.AOP);(function(c,a,b){c=
.extend(c,{filters:function(){if(arguments.length=3D=3D=3D0){return =
c.config("aop")}else{return =
c.config("aop",arguments[0])}}})})(jQuery,Claypool,Claypool.AOP);Claypool=
.IoC=3D{};(function(c,a,b){c.manage("Claypool.IoC.Container","claypool:Io=
C")})(jQuery,Claypool,Claypool.IoC);(function(c,a,b){b.Instance=3Dfunctio=
n(e,d){c.extend(this,{_this:null,id:null,configuration:null,guid:a.uuid()=
,type:null,id:e,configuration:d||{},logger:c.logger("Claypool.IoC.Instanc=
e")});this.logger.category=3Dthis.logger.category+"."+this.id};c.extend(b=
.Instance.prototype,{precreate:function(){try{this._this=3D{claypoolId:th=
is.id};this.logger.debug("Precreating =
Instance");c(document).trigger("claypool:precreate",[this._this,this.id])=
;c(document).trigger("claypool:precreate:"+this.id,[this._this]);return =
this}catch(d){this.logger.error("An Error occured in the Pre-Create =
LifeCycle Phase");this.logger.exception(d);throw new =
b.LifeCycleError(d)}},create:function(){var j,r,f,g;var n,q,l,p;var =
d,k;try{this.logger.debug("Applying Selector to =
Instance");if(this.configuration.selector){this._this=3Dc(this.configurat=
ion.selector);this.logger.debug("Result for selector : =
",this._this)}else{this.logger.debug("Using default empty =
object");this._this=3D{}}if(this.configuration.factory){j=3D{};if(this.co=
nfiguration.factory.substring(6,0)=3D=3D"ref://"){this.logger.debug("Retr=
eiving Factory from Application =
Context");j=3Dc.$(this.configuration.factory)}else{this.logger.info("Crea=
ting Instance from =
Factory");r=3Dthis.resolveConstructor(this.configuration.factory);retval=3D=
r.apply(j,this.configuration.options);j=3Dretval||j}this.logger.debug("Ap=
plying factory creation =
method");f=3Dthis.configuration.factoryMethod||"create";n=3Dj[f].apply(j,=
this.configuration.options);this._this=3Dc.extend(true,n,this._this)}else=
{this.logger.info("Creating Instance simulating constructor: =
%s",this.configuration.clazz);l=3Dthis.resolveConstructor(this.configurat=
ion.clazz);p=3Dthis.configuration.options||[];n=3D{};switch(p.length){cas=
e 0:n=3Dnew l();break;case 1:n=3Dnew l(p[0]);break;case 2:n=3Dnew =
l(p[0],p[1]);break;case 3:n=3Dnew l(p[0],p[1],p[2]);break;case 4:n=3Dnew =
l(p[0],p[1],p[2],p[3]);break;case 5:n=3Dnew =
l(p[0],p[1],p[2],p[3],p[4]);break;case 6:n=3Dnew =
l(p[0],p[1],p[2],p[3],p[4],p[5]);break;case 7:n=3Dnew =
l(p[0],p[1],p[2],p[3],p[4],p[5],p[6]);break;case 8:n=3Dnew =
l(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7]);break;case 9:n=3Dnew =
l(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8]);break;default:q=3Dl.apply=
(n,p);n=3Dq||n}n.$ns=3Dthis.configuration.clazz;n.$log=3Dc.logger(n.$ns);=
n.$log.debug("Created new instance of =
%s",n.$ns);this._this=3Dc.extend(true,n,this._this)}d=3Dthis.configuratio=
n.inject||{};for(var h in =
d){k=3Dd[h];if(c.isFunction(k.substring)&&(k.substring(0,6)=3D=3D"ref://"=
)){d[h]=3Dc.$(k.substring(6,k.length))}}c.extend(this._this,d);c(document=
).trigger("claypool:create",[this._this,this.id]);c(document).trigger("cl=
aypool:create:"+this.id,[this._this]);return =
this._this}catch(o){this.logger.error("An Error occured in the Create =
LifeCycle Phase");this.logger.exception(o);throw new =
b.LifeCycleError(o)}},postcreate:function(){try{this.logger.debug("PostCr=
eate =
invoked");c(document).trigger("claypool:postcreate",[this._this,this.id])=
;c(document).trigger("claypool:postcreate:"+this.id,[this._this]);return =
this._this}catch(d){this.logger.error("An Error occured in the =
Post-Create LifeCycle Phase");this.logger.exception(d);throw new =
b.LifeCycleError(d)}},predestroy:function(){try{this.logger.debug("Predes=
tory =
invoked");c(document).trigger("claypool:predestroy",[this._this,this.id])=
;c(document).trigger("claypool:predestroy:"+this.id,[this._this]);return =
this._this}catch(d){this.logger.exception(d);throw new =
b.LifeCycleError(d)}},destroy:function(){try{this.logger.info("Destroy =
invoked");c(document).trigger("claypool:destroy",[this._this,this.id]);c(=
document).trigger("claypool:destroy:"+this.id,[this._this]);return =
delete this._this}catch(d){this.logger.exception(d);throw new =
b.LifeCycleError(d)}},postdestroy:function(){try{this.logger.debug("Postd=
estory invoked");c(document).trigger("claypool:postdestroy",[this.id]);=0A=
c(document).trigger("claypool:postdestroy:"+this.id);return =
this}catch(d){this.logger.exception(d);throw new =
b.LifeCycleError(d)}},resolveConstructor:function(d){var =
f;try{f=3Dc.resolve(d);if(c.isFunction(f)){this.logger.debug(" Resolved =
"+d+" to a function");return f}else{throw new Error("Constructor is not =
a function: "+d)}}catch(g){this.logger.exception(g);throw new =
b.ConstructorResolutionError(g)}}})})(jQuery,Claypool,Claypool.IoC);(func=
tion($,$$,$$IoC){$$IoC.Factory=3Dfunction(options){$$.extend(this,$$.Base=
Factory);$.extend(true,this,options);this.configurationId=3D"ioc";this.la=
zyLoadAttempts=3D{};this.logger=3D$.logger("Claypool.IoC.Factory")};$.ext=
end($$IoC.Factory.prototype,$$.BaseFactory.prototype,{createLifeCycle:fun=
ction(instance){try{instance.precreate();instance.create();instance.postc=
reate()}catch(e){this.logger.error("An Error occured in the Creation =
Lifecycle.");this.logger.exception(e);throw new =
$$IoC.LifeCycleError(e)}},destroyLifeCycle:function(instance){try{instanc=
e.predestroy();instance.destroy();instance.postdestroy()}catch(e){this.lo=
gger.error("An Error occured in the Destory =
Lifecycle.");this.logger.exception(e);throw new =
$$IoC.LifeCycleError(e)}},create:function(id,namespace){var =
configuration,instance,_this=3Dthis,remote,folder,file,appbase,literal;tr=
y{namespace=3Dnamespace||"";if(!this.find(namespace)){this.logger.debug("=
Adding cache for namespace %s",namespace);this.add(namespace,new =
$$.SimpleCachingStrategy())}this.logger.debug("Looking for configuration =
for instance =
%s%s",namespace,id);configuration=3Dthis.find(namespace).find(id);if(conf=
iguration=3D=3D=3Dnull){this.logger.warn("No known configuration for =
instance =
%s%s",namespace,id);remote=3Did.match(/#([a-z]+([A-Z]?[a-z]+)+)([A-Z][a-z=
]+)+/);if(remote){_this.logger.debug("resolving lazyload =
%s",id);literal=3D[$$.Namespaces[namespace]];folder=3Dnamespace||"";liter=
al[1]=3Dremote.pop();literal[1]=3Dliteral[1]+"s";appbase=3D$.env("appbase=
");appbase=3D(appbase=3D=3D=3Dnull)?"/":typeof(appbase)=3D=3D"string"?app=
base:appbase[namespace];folder=3Dappbase+folder+literal[1].toLowerCase()+=
"/";literal[2]=3Dremote[1].substring(0,1).toUpperCase()+remote[1].substri=
ng(1);file=3Dremote[1].toLowerCase()+".js";_this.logger.debug("attempting=
to lazyload %s from =
%s%s",id,folder,file);if(_this.lazyLoadAttempts[folder+file]){_this.logge=
r.debug("already attempted to load %s%s",folder,file);return =
null}else{_this.lazyLoadAttempts[folder+file]=3D1;$.ajax({async:false,url=
:folder+file,dataType:"text",timeout:3000,success:function(text){_this.lo=
gger.info("lazyloaded %s =
",literal.join("."));if(!$.env("debug")){jQuery.globalEval(text)}else{eva=
l(text)}var =
config=3D{id:id,namespace:namespace,clazz:literal.join(".")};if(literal[1=
]=3D=3D"Views"){config.selector=3D"#"+literal[2].substring(0,1).toLowerCa=
se()+literal[2].substring(1)}_this.find(namespace).add(id,config);try{$$.=
Application["claypool:AOP"].factory.updateConfig(config)}catch(e){_this.l=
ogger.error("Failed in late binding to aop =
configuration").exception(e)}},error:function(xhr,status,e){_this.logger.=
error("failed (%s) to load =
%s%s",xhr.status,folder,file).exception(e)}});_this.logger.info("complete=
d lazyloaded for %s%s ",id,namespace);return =
_this.create(id,namespace)}}else{_this.logger.warn("id requested did not =
match those applicable for late loading %s",id)}return =
null}else{this.logger.debug("Found configuration for instance =
%s%s",namespace,id);instance=3Dnew =
$$IoC.Instance(configuration.id,configuration);if(configuration.active&&c=
onfiguration.selector){this.logger.debug("Attaching contructor to an =
active =
selector");instance.precreate();instance._this["@claypool:activeobject"]=3D=
configuration.selector;instance._this["@claypool:id"]=3Dinstance.id;jQuer=
y(configuration.selector).livequery(function(){_this.logger.debug("Proces=
sing Creation =
Lifecycle.");_this.createLifeCycle(instance)},function(){_this.logger.deb=
ug("Processing Destruction =
Lifecycle.");_this.destroyLifeCycle(instance)})}else{this.logger.debug("P=
rocessing Creation Lifecycle.");this.createLifeCycle(instance)}return =
instance}}catch(e){this.logger.exception(e);throw new =
$$IoC.FactoryError(e)}},updateConfig:function(){var iocConfiguration;var =
iocconf;var i;try{this.logger.debug("Configuring Claypool IoC =
Factory");iocConfiguration=3Dthis.getConfig()||[];this.logger.debug("IoC =
Configurations: =
%d",iocConfiguration.length);for(i=3D0;i-1?[j.split(=
"#")[0],"#"+j.split("#")[1]]:["",j];if(!this.find(f[0])){this.add(f[0],ne=
w a.SimpleCachingStrategy())}this.logger.debug("Searching for a =
container managed instance =
:%s",j);d=3Dthis.find(f[0]).find(f[1]);if(!d){this.logger.debug("Can't =
find a container managed instance =
:%s",j);d=3Dthis.factory.create(f[1],f[0]);if(d){this.logger.debug("Stori=
ng managed instance %s in =
container",j);this.find(f[0]).add(f[1],d);if(d._this["@claypool:activeobj=
ect"]){c(document).bind("claypool:postcreate:"+d.id,function(k,e,l){h.log=
ger.info("Reattached Active Object Inside IoC =
Container");d._this=3De});c(document).bind("claypool:postdestroy:"+d.id,f=
unction(){h.logger.info("Removed Active Object Inside IoC =
Container");h.find(f[0]).remove(f[1])})}else{c(document).trigger("claypoo=
l:ioc",[j,this]);c(document).trigger("claypool:ioc:"+j,[j,this])}return =
this.find(f[0]).find(f[1])._this}}else{this.logger.debug("Found =
container managed instance :%s",j);return =
d._this}}catch(g){this.logger.exception(g);throw new =
b.ContainerError(g)}return =
null}})})(jQuery,Claypool,Claypool.IoC);(function(c,a,b){b.ContainerError=
=3Dfunction(d){c.extend(this,new =
a.Error(d,{name:"Claypool.IoC.ContainerError",message:"An error occured =
in the ioc instance =
factory."}))}})(jQuery,Claypool,Claypool.IoC);(function(c,a,b){b.FactoryE=
rror=3Dfunction(d){c.extend(this,new =
a.Error(d,{name:"Claypool.IoC.FactoryError",message:"An error occured in =
the ioc =
factory."}))}})(jQuery,Claypool,Claypool.IoC);(function(c,a,b){b.Configur=
ationError=3Dfunction(d){c.extend(this,new =
a.ConfigurationError(d,{name:"Claypool.IoC.ConfigurationError",message:"A=
n error occured updating the ioc container =
configuration."}))}})(jQuery,Claypool,Claypool.IoC);(function(c,a,b){b.Li=
feCycleError=3Dfunction(d){c.extend(this,new =
a.Error(d,{name:"Claypool.IoC.LifeCycleError",message:"An error occured =
during the lifecycle =
process."}))}})(jQuery,Claypool,Claypool.IoC);(function(c,a,b){b.Construc=
torResolutionError=3Dfunction(d){c.extend(this,new =
a.NameResolutionError(d,{name:"Claypool.IoC.ConstructorResolutionError",m=
essage:"An error occured trying to resolve the =
constructor."}))}})(jQuery,Claypool,Claypool.IoC);(function(c,a,b){a.Name=
spaces=3D{};c.extend(c,{scan:function(){var =
e,f;if(arguments.length=3D=3D=3D0){return =
c.config("ioc")}else{e=3D[];if(c.isPlainObject(arguments[0])){for(f in =
arguments[0]){d(arguments[0][f],f)}}else{if(c.isArray(arguments[0])){d(ar=
guments[0])}else{if(typeof =
arguments[0]=3D=3D"string"){d(arguments[0])}}}return c.config("ioc",e)=0A=
}function d(j,h){var g;h=3Dh||"";if(c.isArray(j)){if(!(h in =
a.Namespaces)){a.Namespaces[h]=3Dj[0].split(".")[0]}for(g=3D0;g0){this.logger.debug("normalizing event state params =
%s",e);if(c.isFunction(this.normalize)){g=3Dthis.normalize(e)}}return =
jQuery(this.forwardingList).each(function(){var =
p,n,l,k;try{j.logger.info("Forwaring to registered controller =
%s",this.payload.controller);p=3Dc.$(this.payload.controller);k=3Dthis.pa=
yload.controller;l=3Dthis.payload.controller.match("Controller")?this.pay=
load.controller.replace("Controller","View"):null;l=3Dthis.payload.contro=
ller.match("Service")?this.payload.controller.replace("Service","View"):l=
;this.map=3Dc.extend(g,this.map);(function(u){var =
q,r,w,s=3Dc.extend({},e,{m:function(){if(arguments.length=3D=3D=3D0){retu=
rn =
q}else{if(arguments.length=3D=3D=3D1){if(typeof(arguments[0])=3D=3D"strin=
g"){return q[arguments[0]]}else{if(arguments[0] instanceof =
Array){q.length+=3Darguments[0].length;Array.prototype.push.apply(q,argum=
ents[0])}else{if(arguments[0] instanceof =
Object){c.extend(true,q,arguments[0])}}}}else{if(arguments.length=3D=3D=3D=
2){if(arguments[1] instanceof =
Array){if(typeof(arguments[0])=3D=3D"string"&&!(arguments[0] in =
q)){q[arguments[0]]=3D[]}c.merge(q[arguments[0]],arguments[1])}else{if(ar=
guments[1] instanceof XML||arguments[1] instanceof =
XMLList){q[arguments[0]]=3Darguments[1]}else{if(arguments[1] instanceof =
Object){if(typeof(arguments[0])=3D=3D"string"&&!(arguments[0] in =
q)){q[arguments[0]]=3D{}}c.extend(true,q[arguments[0]],arguments[1])}}}}}=
}return this},v:function(t){if(!t){return =
r}if(t&&typeof(t)=3D=3D"string"){t=3Dt.split(".");if(t.length=3D=3D=3D1){=
r=3Dt}else{if(t.length=3D=3D=3D2){if(t[0]!=3D=3D""){r=3Dt.join(".")}else{=
r=3Dr.split(".")[0]+"."+t[1]}}}}return this},c:function(){var =
x,v,t;if(arguments.length=3D=3D=3D0){return =
w}else{if(arguments.length>0&&typeof(arguments[0])=3D=3D"string"){if(argu=
ments.length>1&&c.isPlainObject(arguments[1])){u.map=3Dc.extend(true,u.ma=
p||{},arguments[1])}x=3Darguments[0].split(".");r=3Dx[0].match("Controlle=
r")?x[0].replace("Controller","View"):null;r=3Dx[0].match("Service")?x[0]=
.replace("Service","View"):r;v=3D(x.length>1&&x[1].length>0)?x[1]:"handle=
";t=3Dj.find(x[0]);if(t=3D=3D=3Dnull){t=3Dc.$(x[0]);j.add(x[0],t)}t[v||"h=
andle"].apply(t,[this].concat(d))}}return =
this},render:j.renderer(),reset:function(){q=3D{flash:[],length:0};r=3Dl;=
w=3Dk;q.reset=3Dfunction x(){q=3D{flash:[],length:0};q.reset=3Dx;return =
s};r.reset=3Dfunction t(){r=3Dl;r.reset=3Dt;return s};w.reset=3Dfunction =
v(){w=3Dk;w.reset=3Dv;return s};return =
this},params:function(t){if(arguments.length=3D=3D=3D0){return =
u.map?u.map:{}}else{return(u.map&&(t in =
u.map))?u.map[t]:null}}});s.reset();p[u.payload.action||"handle"].apply(p=
,[s].concat(d))})(this)}catch(o){o=3Do?o:new =
Error();if(o.name&&o.name.indexOf("Claypool.Application.ContextError")>-1=
){j.logger.warn("No controller with id: =
%s",this.payload.controller)}else{j.logger.exception(o);throw =
o}}})},attach:function(){this.router.compile(this.hijaxMap,this.routerKey=
s);var =
d=3Dthis;if(this.active&&(this.selector!=3D=3D""||this.filter!=3D=3D"")){=
this.logger.debug("Actively Hijaxing %s's =
%s%s",this.hijaxKey,this.selector,this.filter);c(this.selector+this.filte=
r).livequery(function(){d.hijax(this)})}else{if(this.selector!=3D=3D""||t=
his.filter!=3D=3D""){this.logger.debug("Hijaxing Current =
%s's.",this.hijaxKey);c(this.selector+this.filter).each(function(){d.hija=
x(this)})}else{if(document!=3D=3Dundefined){this.logger.debug("Hijaxing =
Document For =
%s's.",this.hijaxKey);d.hijax(document)}else{this.logger.warn("Unable to =
attach controller: =
%s",options.id)}}}},hijax:function(e){this.logger.debug("Hijaxing %s: =
%s",this.hijaxKey,e);var f=3Dthis;var d=3Dfunction(g){var =
h=3Dtrue;f.logger.info("Hijaxing %s: =
",f.hijaxKey);if(f.stopPropagation){f.logger.debug("Stopping propogation =
of =
event");g.stopPropagation()}if(f.preventDefault){f.logger.debug("Preventi=
ng default event =
behaviour");g.preventDefault();h=3Dfalse}f.handle({pattern:f.target.apply=
(f,arguments),args:arguments,normalize:f.normalize?f.normalize:function()=
{return{}}});return =
h};if(this.event){c(this.event.split("|")).each(function(){c(e).bind(this=
+"."+f.eventNamespace,d);f.logger.debug("Binding event %s to hijax =
controller on =
target",this,e)})}else{c(this.hijaxMap).each(function(){if(this.event&&!f=
.bindCache.find(this.event)){f.bindCache.add(this.event,f);f.logger.debug=
("Binding event %s to controller %s on target =
%s",this.event,this.controller,e);c(e).bind(this.event+"."+f.eventNamespa=
ce,d)}})}return true},renderer:function(){var e=3Dthis;var d=3D[];return =
function(o){var =
n,g,k,f,h,j;if(o&&c.isFunction(o)){d.push(o)}e.logger.debug(" - =
Resolving Control - =
%s)",this.c());try{f=3Dthis.v();h=3Dc.isFunction(this.write)?(c.isFunctio=
n(c.render)?"write":"render"):"update";if(f.indexOf(".")>-1){h=3Df.split(=
".");f=3Dh[0];h=3Dh[h.length-1]}e.logger.debug("Calling View =
%s.%s",f,h);f=3Dc.$(f);if(f){if(c.isFunction(f[h])){switch(h){case"write"=
:case"writeln":this[h](f[h](this.m(),this));break;case"render":f.write=3D=
this.write;f.writeln=3Dthis.writeln;f[h](this.m(),this);break;default:f[h=
](this.m(),this)}e.logger.debug("Cascading =
callbacks");while(d.length>0){(d.pop())()}}else{if(f["@claypool:activeobj=
ect"]){j=3D"claypool:postcreate:"+f["@claypool:id"]+"."+a.uuid();c(docume=
nt).bind(j,function(p,q){e.logger.warn("The view is reattached to the =
dom.");c(document).unbind(j);q.update(this.m());e.logger.debug("Cascading=
callbacks");while(d.length>0){(d.pop())()}})}else{e.logger.debug("View =
method cannot be resolve",h)}}}else{e.logger.warn("Cant resolve view %s. =
",this.v())}}catch(l){e.logger.error("Error resolving flow %s =3D> =
%s",this.c(),this.v()).exception(l);throw l}return =
this}},target:function(d){throw new =
a.MethodNotImplementedError()}})})(jQuery,Claypool,Claypool.MVC);(functio=
n(c,a,b){b.Factory=3Dfunction(d){a.extend(this,a.IoC.Factory);c.extend(tr=
ue,this,d);this.configurationId=3D"mvc";this.logger=3Dc.logger("Claypool.=
MVC.Factory");this.add("",new =
a.SimpleCachingStrategy())};c.extend(b.Factory.prototype,a.IoC.Factory.pr=
ototype,{updateConfig:function(){var =
h,d,g,k,f;try{this.logger.debug("Configuring Claypool MVC Controller =
Factory");h=3Dthis.getConfig()||{};c(document).trigger("claypool:hijax",[=
this,this.initializeHijaxController,h])=0A=
}catch(j){this.logger.exception(j);throw new =
b.ConfigurationError(j)}},scan:function(g,j){var =
k=3Dthis.logger||c.logger("Claypool.MVC.Factory");var =
f,p,d=3D[],n,o=3Dfunction(e,q){return("#"+e.substring(0,1).toLowerCase()+=
e.substring(1)+q.substring(0,q.length-1))},h=3Dfunction(e){return("#"+e.s=
ubstring(0,1).toLowerCase()+e.substring(1))};j=3Dj||"";k.debug("Scanning =
%s%s",j,g);try{if(g.split(".").length=3D=3D1){p=3Dc.resolve(g);for(f in =
p){k.debug("Scan Checking =
%s.%s",g,f);if(c.isPlainObject(p[f])){k.debug("Scan Following =
%s.%s",g,f);d.push(this.scan(g+"."+f,j))}}}else{if(g.split(".").length=3D=
=3D2){p=3Dc.resolve(g);for(f in p){k.debug("Scan Checking =
%s.%s",g,f);if(c.isFunction(p[f])){k.debug("Configuring by Convention =
%s.%s",g,f);config=3D{id:o(f,g.split(".")[1]),clazz:g+"."+f,namespace:j};=
if(g.match(".Views")){config.selector=3Dh(f)}d.push(config)}}}else{if(g.s=
plit(".").length=3D=3D3){p=3Dc.resolve(g);if(c.isFunction(p)){k.debug("Ap=
pending to Configuration by Convention =
%s",g);config=3D{id:o(f,g.split(".")[2]),clazz:g,namespace:j};if(g.match(=
".Views")){config.selector=3Dh(f)}d.push(config)}}}}}catch(l){k.error("Er=
ror Scanning %s!!",g).exception(l)}return =
d},initializeHijaxController:function(h,g,e,d){var =
j,f;if(h[g]){for(f=3D0;f-1?[h.split("#")[0],"#=
"+h.split("#")[1]]:["",h];if(!this.find(f[0])){this.add(f[0],new =
a.SimpleCachingStrategy())}d=3Dthis.find(f[0]).find(f[1]);if(d=3D=3D=3Dun=
defined||d=3D=3D=3Dnull){this.logger.debug("Can't find a container =
managed controller : =
%s",h);d=3Dthis.factory.create(f[1],f[0]);if(d!=3D=3Dnull){this.find(f[0]=
).add(f[1],d);return d._this}else{return =
null}}else{this.logger.debug("Found container managed controller : =
%s",h);return d._this}}catch(g){this.logger.exception(g);throw new =
b.ContainerError()}throw new =
b.FactoryError(h)}})})(jQuery,Claypool,Claypool.MVC);(function(c,a,b){b.C=
ontainerError=3Dfunction(d){c.extend(this,new =
a.Error(d,{name:"Claypool.MVC.ContainerError",message:"An error occurred =
trying to retreive a container managed =
object."}))}})(jQuery,Claypool,Claypool.MVC);(function(c,a,b){b.FactoryEr=
ror=3Dfunction(d){c.extend(this,new =
a.Error(d,{name:"Claypool.MVC.FactoryError",message:"An error occured =
trying to create the factory =
object."}))}})(jQuery,Claypool,Claypool.MVC);(function(c,a,b){b.Configura=
tionError=3Dfunction(d){c.extend(this,new =
a.ConfigurationError(d,{name:"Claypool.MVC.ConfigurationError",message:"A=
n error occured during the =
configuration."}))}})(jQuery,Claypool,Claypool.MVC);(function(d,a,b){var =
c;d.extend(d,{router:function(f,e){d(document).bind("claypool:hijax",func=
tion(g,k,h,j){c=3Dc||d.logger("Claypool.MVC.Plugins");c.debug("registerin=
g router plugin: =
%s",f);h.apply(k,[j,f,"Claypool.MVC.HijaxController",e])});return =
this},mvc:function(){var f,e;if(arguments.length=3D=3D=3D0){return =
d.config("mvc")}else{e=3Dd.config("mvc");for(f in arguments[0]){if(f in =
e){d.merge(e[f],arguments[0][f])}else{e[f]=3Darguments[0][f]}}return =
this}}});d.routes=3Dd.mvc;d.router("hijax:a",{selector:"a",event:"click",=
strategy:"first",routerKeys:"urls",hijaxKey:"link",eventNamespace:"Claypo=
ol:MVC:HijaxLinkController",target:function(f){var =
e=3Df.target||f.currentTarget;while(e.tagName.toUpperCase()!=3D"A"){e=3Dd=
(e).parent()[0]}return d(e).attr("href")},normalize:function(g){var =
f=3Dg.target||g.currentTarget,h=3D{};while(f.tagName.toUpperCase()!=3D"A"=
){f=3Dd(f).parent()[0]}var e=3Dd(f).attr("href");var =
j=3De.split("?");j=3Dj&&j.length>1?j[1]:"";d(j.split("&")).each(function(=
n,q){var o=3Dq.split("=3D"),k=3Do[0],p=3Do[1],l;if(k in =
h){if(!d.isArray(h[k])){l=3Dh[k];h[k]=3D[l]}h[k].push(p)}else{h[k]=3Dp}})=
;return =
h}}).router("hijax:button",{selector:":button",event:"click",strategy:"al=
l",routerKeys:"ids",hijaxKey:"button",eventNamespace:"Claypool:MVC:HijaxB=
uttonController",target:function(e){return =
e.target.id},normalize:function(e){return{}}}).router("hijax:input",{sele=
ctor:"input",event:"blur|focus",strategy:"all",routerKeys:"ids",hijaxKey:=
"input",eventNamespace:"Claypool:MVC:HijaxInputController",target:functio=
n(e){return e.target.id},normalize:function(e){var =
f=3D{};f[e.target.name]=3De.target.value;return =
f}}).router("hijax:form",{selector:"form",event:"submit",strategy:"first"=
,routerKeys:"urls",hijaxKey:"form",eventNamespace:"Claypool:MVC:HijaxForm=
Controller",target:function(e){return =
e.target.action},normalize:function(e){var =
g=3D{},f=3Dd(e.target).serializeArray();d(f).each(function(k,h){var =
j;if(h.name in =
g){if(!d.isArray(g[h.name])){j=3Dg[h.name];g[h.name]=3D[]}g[h.name].push(=
h.value)}else{g[h.name]=3Dh.value}});return =
g}}).router("hijax:event",{strategy:"all",routerKeys:"event",hijaxKey:"ev=
ent",eventNamespace:"Claypool:MVC:HijaxEventController",target:function(e=
){return =
e.type},normalize:function(e){return{}}});d.mvc_scanner=3Db.Factory.proto=
type})(jQuery,Claypool,Claypool.MVC);
------=_NextPart_000_0000_01D045FB.9478D8C0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: https://cdn.loc.gov/js/plugins/jquery.utils-1.0.js
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)=0A=
* Licensed under the MIT License (LICENSE.txt).=0A=
*=0A=
* Version 2.1.3-pre=0A=
*/=0A=
=0A=
(function($){=0A=
=0A=
$.fn.bgiframe =3D ($.browser.msie && /msie =
6\.0/i.test(navigator.userAgent) ? function(s) {=0A=
s =3D $.extend({=0A=
top : 'auto', // auto =3D=3D .currentStyle.borderTopWidth=0A=
left : 'auto', // auto =3D=3D .currentStyle.borderLeftWidth=0A=
width : 'auto', // auto =3D=3D offsetWidth=0A=
height : 'auto', // auto =3D=3D offsetHeight=0A=
opacity : true,=0A=
src : 'javascript:false;'=0A=
}, s);=0A=
var html =3D '';=0A=
return this.each(function() {=0A=
if ( $(this).children('iframe.bgiframe').length =3D=3D=3D 0 )=0A=
this.insertBefore( document.createElement(html), =
this.firstChild );=0A=
});=0A=
} : function() { return this; });=0A=
=0A=
// old alias=0A=
$.fn.bgIframe =3D $.fn.bgiframe;=0A=
=0A=
function prop(n) {=0A=
return n && n.constructor =3D=3D=3D Number ? n + 'px' : n;=0A=
}=0A=
=0A=
})(jQuery);=0A=
/**=0A=
* <: jquery.json.1.0.rc0 :>=0A=
* =0A=
* Copyright (c) 2008-2009 Chris Thatcher (claypooljs.com)=0A=
* Dual licensed under the MIT (MIT-LICENSE.txt)=0A=
* and GPL (GPL-LICENSE.txt) licenses.=0A=
* =0A=
* jQuery.json =0A=
*=0A=
*/=0A=
(function($){=0A=
=0A=
=0A=
/**=0A=
* @param {Object} js =0A=
* @param {Object} filter=0A=
* @param {Object} indentValue=0A=
*/ =0A=
$.json =3D $.js2json =3D function(js, filter, indentValue){=0A=
return __JSON__.stringify(js, filter, indentValue||'');=0A=
};=0A=
=0A=
/**=0A=
* @param {Object} filter=0A=
* @param {Object} indentValue=0A=
*/=0A=
$.fn.json =3D $.fn.js2json =3D function( filter, indentValue){=0A=
var i, str=3D'[';=0A=
for(i=3D0;i\n';=0A=
ObjTree.prototype.attr_prefix =3D '$';=0A=
ObjTree.prototype.ns_colon =3D '$';=0A=
ObjTree.prototype.mixed_content_name =3D '$';=0A=
=0A=
=0A=
// method: parseXML( xmlsource )=0A=
ObjTree.prototype.parseXML =3D function ( xml ) {=0A=
var root;=0A=
if ( window.DOMParser ) {=0A=
var xmldom =3D new DOMParser();=0A=
// DOMParser is always sync-mode=0A=
var dom =3D xmldom.parseFromString( xml, "application/xml" );=0A=
if ( ! dom ) return;=0A=
root =3D dom.documentElement;=0A=
} else if ( window.ActiveXObject ) {=0A=
xmldom =3D new ActiveXObject('Microsoft.XMLDOM');=0A=
xmldom.async =3D false;=0A=
xmldom.loadXML( xml );=0A=
root =3D xmldom.documentElement;=0A=
}=0A=
if ( ! root ) return;=0A=
return this.parseDOM( root );=0A=
};=0A=
=0A=
// method: parseDOM( documentroot )=0A=
=0A=
ObjTree.prototype.parseDOM =3D function ( root ) {=0A=
if ( ! root ) return;=0A=
=0A=
this.__force_array =3D {};=0A=
if ( this.force_array ) {=0A=
for( var i=3D0; i ";=0A=
} else if ( typeof(val) =3D=3D "object" && val.length ) {=0A=
elem[elem.length] =3D this.array_to_xml( key, val );=0A=
} else if ( typeof(val) =3D=3D "object" ) {=0A=
elem[elem.length] =3D this.hash_to_xml( key, val );=0A=
} else {=0A=
elem[elem.length] =3D this.scalar_to_xml( key, val );=0A=
}=0A=
} else {=0A=
if (key =3D=3D this.mixed_content_name) {=0A=
//text node=0A=
if ( typeof(val) =3D=3D "undefined" || val =3D=3D =
null ) {=0A=
elem[elem.length] =3D " ";=0A=
} else if ( typeof(val) =3D=3D "object" && =
val.length ) {=0A=
elem[elem.length] =3D this.writeXML(val);=0A=
} else if ( typeof(val) =3D=3D "object" ) {=0A=
elem[elem.length] =3D this.hash_to_xml( key, val =
);=0A=
} else {=0A=
elem[elem.length] =3D this.scalar_to_xml( key, =
val );=0A=
}=0A=
} else {=0A=
attr[attr.length] =3D " " +=0A=
(this.replaceColon(key).substring(1)) + '=3D"' +=0A=
(this.xml_escape(val)) + '"';=0A=
}=0A=
}=0A=
}=0A=
var jattr =3D attr.join("");=0A=
var jelem =3D elem.join("");=0A=
if ( typeof(name) =3D=3D "undefined" || name =3D=3D null ) {=0A=
// no tag=0A=
} else if ( elem.length > 0 ) {=0A=
if ( jelem.match( /\n/ )) {=0A=
jelem =3D "<"+name+jattr+">\n"+jelem+""+name+">\n";=0A=
} else {=0A=
jelem =3D "<"+name+jattr+">" +jelem+""+name+">\n";=0A=
}=0A=
} else {=0A=
jelem =3D "<"+name+jattr+" />\n";=0A=
}=0A=
return jelem;=0A=
};=0A=
=0A=
// method: array_to_xml( tagName, array )=0A=
=0A=
ObjTree.prototype.array_to_xml =3D function ( name, array ) {=0A=
var out =3D [];=0A=
if(!(name =3D=3D this.mixed_content_name)){=0A=
name =3D this.replaceColon(name);=0A=
}=0A=
for( var i=3D0; i ";=0A=
} else if ( typeof(val) =3D=3D "object" && val.constructor =
=3D=3D Array =0A=
&& name!=3Dthis.mixed_content_name) {=0A=
out[out.length] =3D this.array_to_xml( name, val );=0A=
} else if ( typeof(val) =3D=3D "object" ) {=0A=
out[out.length] =3D this.hash_to_xml( name, val );=0A=
} else {=0A=
out[out.length] =3D this.scalar_to_xml( name, val );=0A=
}=0A=
} =0A=
return out.join("");=0A=
};=0A=
=0A=
// method: scalar_to_xml( tagName, text )=0A=
=0A=
ObjTree.prototype.scalar_to_xml =3D function ( name, text ) {=0A=
if ( name =3D=3D "$" ) {=0A=
return this.xml_escape(text);=0A=
} else {=0A=
name =3D this.replaceColon(name);=0A=
return "<"+name+">"+this.xml_escape(text)+""+name+">\n";=0A=
}=0A=
};=0A=
=0A=
// method: xml_escape( text )=0A=
=0A=
ObjTree.prototype.xml_escape =3D function ( text ) {=0A=
return =
String(text).replace(/&/g,'&').replace(//g,'>=
;').replace(/"/g,'"');=0A=
};=0A=
=0A=
=0A=
})(jQuery);/* =
=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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
*=0A=
* JQuery URL Parser=0A=
* Version 1.0=0A=
* Parses URLs and provides easy access to information within them.=0A=
*=0A=
* Author: Mark Perkins=0A=
* Author email: mark@allmarkedup.com=0A=
*=0A=
* For full documentation and more go to =
http://projects.allmarkedup.com/jquery_url_parser/=0A=
*=0A=
* =
-------------------------------------------------------------------------=
--=0A=
*=0A=
* CREDITS:=0A=
*=0A=
* Parser based on the Regex-based URI parser by Stephen Levithian.=0A=
* For more information (including a detailed explaination of the =
differences=0A=
* between the 'loose' and 'strict' pasing modes) visit =
http://blog.stevenlevithan.com/archives/parseuri=0A=
*=0A=
* =
-------------------------------------------------------------------------=
--=0A=
*=0A=
* LICENCE:=0A=
*=0A=
* Released under a MIT Licence. See licence.txt that should have been =
supplied with this file,=0A=
* or visit http://projects.allmarkedup.com/jquery_url_parser/licence.txt=0A=
*=0A=
* =
-------------------------------------------------------------------------=
--=0A=
* =0A=
* EXAMPLES OF USE:=0A=
*=0A=
* Get the domain name (host) from the current page URL=0A=
* jQuery.url.attr("host")=0A=
*=0A=
* Get the query string value for 'item' for the current page=0A=
* jQuery.url.param("item") // null if it doesn't exist=0A=
*=0A=
* Get the second segment of the URI of the current page=0A=
* jQuery.url.segment(2) // null if it doesn't exist=0A=
*=0A=
* Get the protocol of a manually passed in URL=0A=
* jQuery.url.setUrl("http://allmarkedup.com/").attr("protocol") // =
returns 'http'=0A=
*=0A=
*/=0A=
=0A=
jQuery.url =3D function()=0A=
{=0A=
var segments =3D {};=0A=
=0A=
var parsed =3D {};=0A=
=0A=
/**=0A=
* Options object. Only the URI and strictMode values can be changed =
via the setters below.=0A=
*/=0A=
var options =3D {=0A=
=0A=
url : window.location, // default URI is the page in which the script =
is running=0A=
=0A=
strictMode: false, // 'loose' parsing by default=0A=
=0A=
key: =
["source","protocol","authority","userInfo","user","password","host","por=
t","relative","path","directory","file","query","anchor"], // keys =
available to query =0A=
=0A=
q: {=0A=
name: "queryKey",=0A=
parser: /(?:^|&)([^&=3D]*)=3D?([^&]*)/g=0A=
},=0A=
=0A=
parser: {=0A=
strict: =
/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*=
))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/, // more =
intuitive, fails on relative paths and deviates from specs=0A=
loose: =
/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))=
?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$))=
)*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/ //less intuitive, more =
accurate to the specs=0A=
}=0A=
=0A=
};=0A=
=0A=
/**=0A=
* Deals with the parsing of the URI according to the regex above.=0A=
* Written by Steven Levithan - see credits at top.=0A=
*/ =0A=
var parseUri =3D function()=0A=
{=0A=
str =3D decodeURI( options.url );=0A=
=0A=
var m =3D options.parser[ options.strictMode ? "strict" : "loose" =
].exec( str );=0A=
var uri =3D {};=0A=
var i =3D 14;=0A=
=0A=
while ( i-- ) {=0A=
uri[ options.key[i] ] =3D m[i] || "";=0A=
}=0A=
=0A=
uri[ options.q.name ] =3D {};=0A=
uri[ options.key[12] ].replace( options.q.parser, function ( $0, $1, =
$2 ) {=0A=
if ($1) {=0A=
uri[options.q.name][$1] =3D $2;=0A=
}=0A=
});=0A=
=0A=
return uri;=0A=
};=0A=
=0A=
/**=0A=
* Returns the value of the passed in key from the parsed URI.=0A=
* =0A=
* @param string key The key whose value is required=0A=
*/ =0A=
var key =3D function( key )=0A=
{=0A=
if ( ! parsed.length )=0A=
{=0A=
setUp(); // if the URI has not been parsed yet then do this first... =0A=
} =0A=
if ( key =3D=3D "base" )=0A=
{=0A=
if ( parsed.port !=3D=3D null && parsed.port !=3D=3D "" )=0A=
{=0A=
return parsed.protocol+"://"+parsed.host+":"+parsed.port+"/"; =0A=
}=0A=
else=0A=
{=0A=
return parsed.protocol+"://"+parsed.host+"/";=0A=
}=0A=
}=0A=
=0A=
return ( parsed[key] =3D=3D=3D "" ) ? null : parsed[key];=0A=
};=0A=
=0A=
/**=0A=
* Returns the value of the required query string parameter.=0A=
* =0A=
* @param string item The parameter whose value is required=0A=
*/ =0A=
var param =3D function( item )=0A=
{=0A=
if ( ! parsed.length )=0A=
{=0A=
setUp(); // if the URI has not been parsed yet then do this first... =0A=
}=0A=
return ( parsed.queryKey[item] =3D=3D=3D null ) ? null : =
parsed.queryKey[item];=0A=
};=0A=
=0A=
/**=0A=
* 'Constructor' (not really!) function.=0A=
* Called whenever the URI changes to kick off re-parsing of the =
URI and splitting it up into segments. =0A=
*/ =0A=
var setUp =3D function()=0A=
{=0A=
parsed =3D parseUri();=0A=
=0A=
getSegments(); =0A=
};=0A=
=0A=
/**=0A=
* Splits up the body of the URI into segments (i.e. sections =
delimited by '/')=0A=
*/=0A=
var getSegments =3D function()=0A=
{=0A=
var p =3D parsed.path;=0A=
segments =3D []; // clear out segments array=0A=
segments =3D parsed.path.length =3D=3D 1 ? {} : ( p.charAt( p.length - =
1 ) =3D=3D "/" ? p.substring( 1, p.length - 1 ) : path =3D p.substring( =
1 ) ).split("/");=0A=
};=0A=
=0A=
return {=0A=
=0A=
/**=0A=
* Sets the parsing mode - either strict or loose. Set to loose by =
default.=0A=
*=0A=
* @param string mode The mode to set the parser to. Anything apart =
from a value of 'strict' will set it to loose!=0A=
*/=0A=
setMode : function( mode )=0A=
{=0A=
strictMode =3D mode =3D=3D "strict" ? true : false;=0A=
return this;=0A=
},=0A=
=0A=
/**=0A=
* Sets URI to parse if you don't want to to parse the current =
page's URI.=0A=
* Calling the function with no value for newUri resets it to the =
current page's URI.=0A=
*=0A=
* @param string newUri The URI to parse.=0A=
*/ =0A=
setUrl : function( newUri )=0A=
{=0A=
options.url =3D newUri =3D=3D=3D undefined ? window.location : newUri;=0A=
setUp();=0A=
return this;=0A=
}, =0A=
=0A=
/**=0A=
* Returns the value of the specified URI segment. Segments are =
numbered from 1 to the number of segments.=0A=
* For example the URI http://test.com/about/company/ segment(1) would =
return 'about'.=0A=
*=0A=
* If no integer is passed into the function it returns the number of =
segments in the URI.=0A=
*=0A=
* @param int pos The position of the segment to return. Can be =
empty.=0A=
*/ =0A=
segment : function( pos )=0A=
{=0A=
if ( ! parsed.length )=0A=
{=0A=
setUp(); // if the URI has not been parsed yet then do this first... =0A=
} =0A=
if ( pos =3D=3D=3D undefined )=0A=
{=0A=
return segments.length;=0A=
}=0A=
return ( segments[pos] =3D=3D=3D "" || segments[pos] =3D=3D=3D =
undefined ) ? null : segments[pos];=0A=
},=0A=
=0A=
attr : key, // provides public access to private 'key' function - see =
above=0A=
=0A=
param : param // provides public access to private 'param' function - =
see above=0A=
=0A=
};=0A=
=0A=
}();
------=_NextPart_000_0000_01D045FB.9478D8C0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: https://www.congress.gov/js/libs/jquery.cookie.js
/*!=0A=
* jQuery Cookie Plugin=0A=
* https://github.com/carhartl/jquery-cookie=0A=
*=0A=
* Copyright 2011, Klaus Hartl=0A=
* Dual licensed under the MIT or GPL Version 2 licenses.=0A=
* http://www.opensource.org/licenses/mit-license.php=0A=
* http://www.opensource.org/licenses/GPL-2.0=0A=
*/=0A=
(function($) {=0A=
$.cookie =3D function(key, value, options) {=0A=
=0A=
// key and at least value given, set cookie...=0A=
if (arguments.length > 1 && =
(!/Object/.test(Object.prototype.toString.call(value)) || value =
=3D=3D=3D null || value =3D=3D=3D undefined)) {=0A=
options =3D $.extend({}, options);=0A=
=0A=
if (value =3D=3D=3D null || value =3D=3D=3D undefined) {=0A=
options.expires =3D -1;=0A=
}=0A=
=0A=
if (typeof options.expires =3D=3D=3D 'number') {=0A=
var days =3D options.expires, t =3D options.expires =3D =
new Date();=0A=
t.setDate(t.getDate() + days);=0A=
}=0A=
=0A=
value =3D String(value);=0A=
=0A=
return (document.cookie =3D [=0A=
encodeURIComponent(key), '=3D', options.raw ? value : =
encodeURIComponent(value),=0A=
options.expires ? '; expires=3D' + =
options.expires.toUTCString() : '', // use expires attribute, max-age is =
not supported by IE=0A=
options.path ? '; path=3D' + options.path : '',=0A=
options.domain ? '; domain=3D' + options.domain : '',=0A=
options.secure ? '; secure' : ''=0A=
].join(''));=0A=
}=0A=
=0A=
// key and possibly options given, get cookie...=0A=
options =3D value || {};=0A=
var decode =3D options.raw ? function(s) { return s; } : =
decodeURIComponent;=0A=
=0A=
var pairs =3D document.cookie.split('; ');=0A=
for (var i =3D 0, pair; pair =3D pairs[i] && =
pairs[i].split('=3D'); i++) {=0A=
if (decode(pair[0]) =3D=3D=3D key) return decode(pair[1] || =
''); // IE saves cookies with empty string as "c; ", e.g. without "=3D" =
as opposed to EOMB, thus pair[1] may be undefined=0A=
}=0A=
return null;=0A=
};=0A=
})(jQuery);=0A=
------=_NextPart_000_0000_01D045FB.9478D8C0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: https://cdn.loc.gov/sites/congress-gov.js
(function (global, oDOC, handler) {
var AUTO_CDN_URL =3D 'http://cdn.loc.gov';
var CDN_URL =3D global.CDN_URL||AUTO_CDN_URL;
var LAB_URL =3D global.LAB_URL||CDN_URL+'/js/LAB-2.0.3.min.js';
var SHARE_URLS =3D global.SHARE_URLS||{
JQUERY: global.JQUERY||CDN_URL+'/js/lib/jquery-1.5.1.min.js',
JQUERY_UI: =
global.JQUERY_UI||CDN_URL+'/js/lib/jquery-ui-1.8.10.min.js',
JQUERY_UI_CSS: =
global.JQUERY_UI_CSS||CDN_URL+'/css/plugins/jquery-ui-themes/base/jquery.=
ui.all-min.css',
LIVEQUERY: =
global.LIVEQUERY||CDN_URL+'/js/lib/jquery.livequery-1.1.1.js',
CLAYPOOL: =
global.CLAYPOOL||CDN_URL+'/js/lib/jquery.claypool-1.2.8-lite.min.js',
JQUERY_UTILS: =
global.JQUERY_UTILS||CDN_URL+'/js/plugins/jquery.utils-1.0.js',
SHARE: global.SHARE||CDN_URL+'/share/share-1.9.14.min.js',
SHARE_CSS: =
global.SHARE_CSS||CDN_URL+'/share/share-1.9.14.min.css'
};
=20
var head =3D oDOC.head || oDOC.getElementsByTagName("head");
function LABjsLoaded() {
$LAB.setGlobalDefaults({
AllowDuplicates: false,
AlwaysPreserveOrder: true
})
.script(function(){
if(!global.jQuery){
return SHARE_URLS.JQUERY;
}
})
.script(function(){
if(!global.jQuery || !global.jQuery.ui){
loadCSS(SHARE_URLS.JQUERY_UI_CSS);
return SHARE_URLS.JQUERY_UI;
}
})
.script(function(){
if(!global.jQuery || !global.jQuery.livequery){
return SHARE_URLS.LIVEQUERY;
}
})
.script(function(){
if(!global.Claypool){
return SHARE_URLS.CLAYPOOL;
}
})
.script(function(){
if(!global.jQuery || !global.jQuery.json2js) {
return SHARE_URLS.JQUERY_UTILS;
}
})
.script(function(){
if(!global.LOCShare){
loadCSS(SHARE_URLS.SHARE_CSS);
return SHARE_URLS.SHARE;
}
})
.script(function(){
if(!global.LOCShare){
return SHARE_URLS.SITE;
}
}).wait(function(){
global.jQuery(document).trigger('locshare-boot');
});
}
=09
//don't load css in wait callback!! Wont work in IE8
//and you actually want the css for the widget=20
//to load early
function loadCSS(url){
var link =3D document.createElement("link");
link.setAttribute("rel","stylesheet");
link.setAttribute("type","text/css");
link.setAttribute("href",url);
if ("item" in head) {
// reassign from live node list ref to pure node ref --=20
// avoids nasty IE bug where changes to DOM invalidate live=20
// node lists
head =3D head[0];=20
}
head.appendChild(link);
}
=20
if (!global.$LAB) {
// loading code borrowed directly from LABjs itself
setTimeout(function(){
if ("item" in head) { // check if ref is still a live node =
list
if (!head[0]) { // append_to node not yet ready
setTimeout(arguments.callee, 25);
return;
}
// reassign from live node list ref to pure node ref --=20
// avoids nasty IE bug where changes to DOM invalidate =
live=20
// node lists
head =3D head[0];=20
}
var scriptElem =3D oDOC.createElement("script"), scriptdone =
=3D false;
scriptElem.onload =3D scriptElem.onreadystatechange =3D =
function(){
if ((scriptElem.readyState &&=20
scriptElem.readyState !=3D=3D "complete" &&=20
scriptElem.readyState !=3D=3D "loaded") || =
scriptdone) {
return false;
}
scriptElem.onload =3D scriptElem.onreadystatechange =3D =
null;
scriptdone =3D true;
LABjsLoaded();
};
scriptElem.src =3D LAB_URL;
head.insertBefore(scriptElem, head.firstChild);
}, 0);
=20
// required: shim for FF <=3D 3.5 not having document.readyState
if (oDOC.readyState =3D=3D null && oDOC.addEventListener) {
oDOC.readyState =3D "loading";
oDOC.addEventListener("DOMContentLoaded", handler =3D =
function(){
oDOC.removeEventListener("DOMContentLoaded", handler, =
false);
oDOC.readyState =3D "complete";
}, false);
}
} else {
LABjsLoaded();
}
=09
})(window, document);
=0A=
Site =3D { Plugins: {=0A=
share: function($){=0A=
$.env({=0A=
defaults:{ locshare:{=0A=
root:'https://www.loc.gov/share/',=0A=
imageroot:'https://cdn.loc.gov/share/images/',=0A=
app_id:'congress-gov',=0A=
site_name: 'Congress.gov',=0A=
subscribe_url: =
'https://www.loc.gov/share/sites/congress-gov/subscribe.php',=0A=
request_type: 'GET',=0A=
request_datatype: 'jsonp',=0A=
survey_url: '/survey?sharetool=3Dtrue'=0A=
}}=0A=
});=0A=
=0A=
// Hack to fix the issue short-term with overriding settings for =0A=
// apps and environments correctly - RG Oct 9, 2011=0A=
try{=0A=
Claypool.Configuration.env.prod.client.locshare.root =3D =
"https://www.loc.gov/share/";=0A=
Claypool.Configuration.env.prod.client.locshare.imageroot =
=3D "https://cdn.loc.gov/share/images/";=0A=
} catch(e){}=0A=
},=0A=
=0A=
sc: {=0A=
getAccount: function(){=0A=
var hostname =3D window.location.hostname;=0A=
if (hostname =3D=3D 'beta.congress.gov' || hostname =3D=3D =
'www.congress.gov' || hostname =3D=3D 'congress.gov'){=0A=
return 'loclegislative';=0A=
}else if (hostname =3D=3D 'test.congress.gov' || hostname =
=3D=3D 'dev.congress.gov'){=0A=
return 'loclegislativedev';=0A=
}=0A=
return 'locunfiltered';=0A=
},=0A=
setProperties: function(s){=0A=
// congress.gov has a separate tracking server=0A=
if ("https:" =3D=3D window.location.protocol) {=0A=
s.trackingServer=3D"smon.congress.gov";=0A=
} else {=0A=
s.trackingServer=3D"cmon.congress.gov";=0A=
}=0A=
=0A=
s.pageName=3Ddocument.title=0A=
s.channel=3D"Congress.gov"=0A=
s.server=3Dwindow.location.hostname;=0A=
=0A=
s.charSet =3D "ISO-8859-1";=0A=
s.currencyCode =3D "USD";=0A=
s.prop1 =3D window.location.href;=0A=
=0A=
s.prop46 =3D 'none';=0A=
=0A=
s.linkInternalFilters =3D =
"javascript:,beta.congress.gov,test.congress.gov";=0A=
s.linkLeaveQueryString =3D false;=0A=
s.linkTrackVars =3D "None";=0A=
=0A=
/** WDL, PPOC, MetaSearch **/=0A=
if(!s.prop24) s.prop24=3Ds.getQueryParam('pageSize');=0A=
=0A=
// congress.gov querystring now uses JSON so need to parse =
here =0A=
if (JSON){=0A=
var param=3DJSON.parse(s.getQueryParam('q')||"null")||{};=0A=
} else {=0A=
var param=3D$.parseJSON(s.getQueryParam('q'))||{};=0A=
}=0A=
s.prop2=3Dparam.search||"";=0A=
if(!s.prop21) s.prop21=3Dparam['action-by'] || ""; =0A=
if(!s.prop22) s.prop22=3Dparam.sponsor || ""; =0A=
if(!s.prop23) s.prop23=3Dparam.cosponsor || "";=0A=
if(!s.prop25) s.prop25=3Dparam.congress || "";=0A=
if(!s.prop26) s.prop26=3Dparam.source || "";=0A=
if(!s.prop27) s.prop27=3Dparam.chamber || "";=0A=
if(!s.prop28) s.prop28=3Dparam.type || "";=0A=
if(!s.prop29) s.prop29=3Dparam.party || "";=0A=
if(!s.prop30) s.prop30=3Dparam.subject || "";=0A=
if(!s.prop31) s.prop31=3Dparam['bill-status'] || "";=0A=
if(!s.prop32) s.prop32=3Dparam['house-sponsor'] || "";=0A=
if(!s.prop33) s.prop33=3Dparam['senate-sponsor'] || "";=0A=
if(!s.prop34) s.prop34=3Dparam['house-cosponsor'] || "";=0A=
if(!s.prop35) s.prop35=3Dparam['senate-cosponsor'] || "";=0A=
if(!s.prop37) s.prop37=3Dparam['house-committee'] || "";=0A=
if(!s.prop38) s.prop38=3Dparam['senate-committee'] || "";=0A=
if(!s.prop39) s.prop39=3Dparam['member-state'] || "";=0A=
if(!s.prop40) s.prop40=3Dparam['cosponsor-state'] || "";=0A=
if(!s.prop41) s.prop41=3Dparam.status; =0A=
if(!s.prop51) s.prop51=3Dparam['conference-report'] || "";=0A=
if(!s.prop52) s.prop52=3Dparam['report-type'] || "";=0A=
if(!s.prop53) s.prop53=3Dparam.committee || "";=0A=
if(!s.prop54) s.prop54=3Dparam.sponsorship || "";=0A=
// This holds the entire adv. search json string =0A=
if(!s.prop55) s.prop55=3Ds.getQueryParam('raw');=0A=
=0A=
if (this.isThisACongressBill(window.location.href)){=0A=
s.prop50=3Dthis.stripOffTabInfo(window.location.href);=0A=
}=0A=
if(!s.prop65) s.prop65=3Ds.getQueryParam('pageSort');=0A=
if (this.isAdvancedSearch(window.location.href)){=0A=
s.prop66=3D"advanced";=0A=
} else if (this.isSearch(window.location.href)){=0A=
s.prop66=3D"global";=0A=
}=0A=
},=0A=
isThisACongressBill: function (url){=0A=
var patt =3D /.+\.congress\.gov\/[a-z]+\/.+\/.+\/\d+[^\d]?/;=0A=
return patt.exec(url);=0A=
},=0A=
isAdvancedSearch: function (url){=0A=
var patt =3D /.+\.congress\.gov\/advanced-search/;=0A=
return patt.test(url);=0A=
},=0A=
isSearch: function (url){=0A=
var patt =3D /.+\.congress\.gov\/search/;=0A=
return patt.test(url);=0A=
},=0A=
stripOffTabInfo: function(url){=0A=
var patt =3D /.+\/\d+.*\/.+\/\d+/;=0A=
var match =3D patt.exec(url);=0A=
if (match && match.length > 0){=0A=
url =3D url.substring(0, match[0].length);=0A=
}=0A=
return url;=0A=
}=0A=
}=0A=
} };=0A=
------=_NextPart_000_0000_01D045FB.9478D8C0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: https://www.congress.gov/js/overview-cookie.js
//FOR IE=0A=
if (!Array.prototype.indexOf) {=0A=
Array.prototype.indexOf =3D function(obj, start) {=0A=
for (var i =3D (start || 0), j =3D this.length; i < j; i++) {=0A=
if (this[i] =3D=3D=3D obj) { return i; }=0A=
}=0A=
return -1;=0A=
}=0A=
}=0A=
=0A=
/**=0A=
* setOverviewCookie=0A=
*=0A=
* @param url=0A=
* @param collapsed=0A=
*=0A=
* @return null=0A=
*/=0A=
function setOverviewCookie(url, collapsed) {=0A=
var url =3D stripOverviewCookiePath(url),=0A=
cookieKey =3D 'overview_hidden',=0A=
cookieValue =3D $.cookie(cookieKey),=0A=
urls =3D [],=0A=
urlIndex =3D -1;=0A=
=0A=
if (cookieValue !=3D null) {=0A=
urls =3D $.parseJSON(cookieValue);=0A=
}=0A=
=0A=
urlIndex =3D urls.indexOf(url);=0A=
=0A=
if (urlIndex !=3D=3D -1) {=0A=
//overview was collapsed=0A=
if (!collapsed) {=0A=
//overview should not be collapsed anymore, remove it=0A=
urls.splice(urlIndex, 1);=0A=
}=0A=
} else {=0A=
//overview was not collapsed=0A=
if (collapsed) {=0A=
//over should be collapsed, add it=0A=
urls.push(url);=0A=
}=0A=
}=0A=
=0A=
if (urls.length > 0) {=0A=
cookieValue =3D JSON.stringify(urls);=0A=
} else {=0A=
cookieValue =3D null;=0A=
}=0A=
=0A=
$.cookie(cookieKey, cookieValue, {path: '/'});=0A=
}=0A=
=0A=
/**=0A=
* stripPath - ensures that the cookie for bills/amendments/etc. does not=0A=
* include the selected tab if there is one=0A=
*=0A=
* @param string pathname=0A=
*=0A=
* @return string=0A=
*/=0A=
function stripOverviewCookiePath(pathname) {=0A=
//find the last integer in the url, remove everything after it=0A=
var pattern =3D /[0-9]+(?!.*[0-9])/;=0A=
var match =3D pattern.exec(pathname);=0A=
=0A=
if (match && match[0].length > 0) {=0A=
pathname =3D pathname.substr(0, match.index + match[0].length);=0A=
}=0A=
=0A=
return pathname;=0A=
}=0A=
------=_NextPart_000_0000_01D045FB.9478D8C0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: https://www.congress.gov/js/overview.js
/*jslint vars: true, regexp: true*/
/*global jQuery, window, setOverviewCookie*/
/**
* this is the Overview control
*
* Overviews are open by default. This ensures the overviews will be =
displayed
* if javascript is disabled.
*
* This sets a cookie to maintain the open/closed state of the overview. =
The
* cookie is checked and handled on the server side in _overviewOpen and
* _overviewClose partial views
*/
(function ($) {
'use strict';
/**
* if the overview wrapper is visible once the page loads, reset the =
cookie
*/
$('.overview_wrapper').ready(function () {
$('.overview_toggle a').click(function (event) {
event.preventDefault();
var collapsed =3D false;
if ($('.overview_wrapper').css('display') =3D=3D=3D 'none') =
{
//the overview is currently hidden, show it
$('.overview_toggle').removeClass('off');
$('.overview_toggle a').text('Hide Overview');
} else {
//the overview is currently shown, hide it
$('.overview_toggle').addClass('off');
$('.overview_toggle a').text('Show Overview');
//set the collapsed value
collapsed =3D true;
}
//animate
$('.overview_wrapper').slideToggle();
setOverviewCookie(window.location.pathname, collapsed);
});
});
}(jQuery));
------=_NextPart_000_0000_01D045FB.9478D8C0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: https://www.congress.gov/js/alerts/alerts.js
/*jslint browser: true, eqeq: true, unparam: true, vars: true, debug: =
true, todo: true, white: true */=0A=
/*global jQuery */=0A=
/**=0A=
* alert.js=0A=
*=0A=
* @package alert=0A=
* @author aidan lydon =0A=
* @copyright 2013 The Library of Congress=0A=
* @version $Id:$=0A=
* @link TBD=0A=
* @since Mar 4, 2013 5:23pm=0A=
*/=0A=
(function ($) {=0A=
'use strict';=0A=
if (!$.congress) {=0A=
$.congress =3D {};=0A=
}=0A=
=0A=
$.congress.Alert =3D function (el, options) {=0A=
var base =3D this;=0A=
=0A=
base.$buttonContainer =3D $(el);=0A=
base.$button =3D null;=0A=
=0A=
base.$dialogDiv =3D null;=0A=
=0A=
base.dialogTopOffset =3D null;=0A=
base.dialogTitle =3D null;=0A=
=0A=
/**=0A=
* createAlert - makes the ajax call to create an alert for this =
user=0A=
*=0A=
* @param event event - jquery event object=0A=
*=0A=
* @return null=0A=
*/=0A=
base.createAlert =3D function (event) {=0A=
event.preventDefault();=0A=
=0A=
base.ajax(base.options.createAlertUrl, function (response, =
textStatus, jqXHR) {=0A=
base.hideDialog();=0A=
base.options.hasAlert =3D true;=0A=
base.reInit();=0A=
});=0A=
};=0A=
=0A=
/**=0A=
* deleteAlert - makes the ajax call to delete an alert for this =
user=0A=
*=0A=
* @param event event - jquery event object=0A=
*=0A=
* @return null=0A=
*/=0A=
base.deleteAlert =3D function (event) {=0A=
event.preventDefault();=0A=
=0A=
base.ajax(base.options.deleteAlertUrl, function (response, =
textStatus, jqXHR) {=0A=
base.hideDialog();=0A=
base.options.hasAlert =3D false;=0A=
base.reInit();=0A=
});=0A=
};=0A=
=0A=
/**=0A=
* ajax - jquery ajax wrapper=0A=
*=0A=
* @param string url - the url to make the ajax =
call to=0A=
* @param function successFunction - function to call if the =
ajax call=0A=
* succeeds=0A=
*=0A=
* @return null=0A=
*/=0A=
base.ajax =3D function (url, successFunction) {=0A=
$.ajax({=0A=
url: url,=0A=
cache: false,=0A=
data: {=0A=
type: base.options.type,=0A=
id: base.options.id=0A=
},=0A=
success: successFunction,=0A=
error: base.handleError=0A=
});=0A=
};=0A=
=0A=
/**=0A=
* handleError - handles errors from making ajax calls=0A=
*=0A=
* @param jqXHR jqXHR - the request object=0A=
* @param string textStatus - status code=0A=
* @param string errorThrown - the error thrown=0A=
*=0A=
* @return null=0A=
*/=0A=
base.handleError =3D function (jqXHR, textStatus, errorThrown) {=0A=
//console.log('handleError');=0A=
//console.log(jqXHR);=0A=
//console.log(textStatus);=0A=
//console.log(errorThrown);=0A=
};=0A=
=0A=
/**=0A=
* showDialog - shows the dialog box=0A=
*=0A=
* @param object event - jquery event object=0A=
*=0A=
* @return null=0A=
*/=0A=
base.showDialog =3D function (event) {=0A=
if (event !=3D undefined) {=0A=
event.preventDefault();=0A=
}=0A=
=0A=
base.$dialogDiv.dialog({=0A=
autoOpen: true,=0A=
draggable: false,=0A=
dialogClass: 'congress-default-modal',=0A=
modal: true,=0A=
open: function (event, ui) {=0A=
base.bind(=0A=
base.$dialogDiv.find('a.dialog-close'),=0A=
'click',=0A=
base.hideDialog=0A=
);=0A=
//close a modal dialog by clicking outside it=0A=
base.bind('.ui-widget-overlay', 'click', =
base.hideDialog);=0A=
},=0A=
close: function (event, ui) {=0A=
base.hideDialog(event);=0A=
},=0A=
title: base.dialogTitle=0A=
});=0A=
};=0A=
=0A=
/**=0A=
* hideDialog - hide the dialog box=0A=
*=0A=
* @param object event - jquery event object=0A=
*=0A=
* @return null=0A=
*/=0A=
base.hideDialog =3D function (event) {=0A=
if (event !=3D undefined) {=0A=
event.preventDefault();=0A=
}=0A=
base.$dialogDiv.dialog('close');=0A=
//for some reason the button has focus when the dialog is =
closed=0A=
base.$button.blur();=0A=
};=0A=
=0A=
/**=0A=
* bind - bind an event=0A=
*=0A=
* @param object/string $element - either jquery object or =
selector=0A=
* string=0A=
* @param string eventType - event=0A=
* @param function eventHandler - event handler=0A=
*=0A=
* @return null=0A=
*/=0A=
base.bind =3D function ($element, eventType, eventHandler) {=0A=
if (typeof $element =3D=3D 'string') {=0A=
$element =3D $($element);=0A=
}=0A=
$element.off(eventType).on(eventType, eventHandler);=0A=
};=0A=
=0A=
/**=0A=
* populateButtonDiv - populates the div that contains the =
button that=0A=
* will open the dialog box=0A=
*=0A=
* @return null=0A=
*/=0A=
base.populateButtonDiv =3D function () {=0A=
var buttonText =3D base.options.buttonText;=0A=
=0A=
if (base.options.loggedIn) {=0A=
if (base.options.hasAlert) {=0A=
buttonText =3D base.options.buttonTextIfHasAlert;=0A=
} else {=0A=
buttonText =3D base.options.buttonTextIfLoggedIn;=0A=
}=0A=
}=0A=
=0A=
if (base.options.useLink) {=0A=
//create the link=0A=
base.$button =3D $(' ');=0A=
} else {=0A=
//create the button=0A=
base.$button =3D $(' ');=0A=
}=0A=
=0A=
base.$button.html(buttonText);=0A=
=0A=
base.bind(base.$button, 'click', base.showDialog);=0A=
=0A=
base.$buttonContainer.html(base.$button);=0A=
base.$buttonContainer.append(' ' + base.options.infoText);=0A=
=0A=
base.$buttonContainer.css('display', 'inline');=0A=
};=0A=
=0A=
/**=0A=
* populateDialogDiv - populates the div that will be used as =
the dialog=0A=
* box=0A=
*=0A=
* @return null=0A=
*/=0A=
base.populateDialogDiv =3D function () {=0A=
var div =3D $('
'),=0A=
button;=0A=
=0A=
base.$dialogDiv =3D $('#' + base.options.dialogDivId);=0A=
=0A=
//add content to the div=0A=
if (base.options.loggedIn) {=0A=
if (base.options.hasAlert) {=0A=
=0A=
base.dialogTitle =3D =
base.options.titleTextIfHasAlert;=0A=
=0A=
//give the user the option to cancel the alert=0A=
div.addClass('button-wrapper');=0A=
//div.css('text-align', 'right');=0A=
div.append('No, =
keep it. ');=0A=
=0A=
button =3D $(' ');=0A=
button.html('Cancel it');=0A=
base.bind(button, 'click', base.deleteAlert);=0A=
=0A=
div.append(button);=0A=
=0A=
} else {=0A=
=0A=
base.dialogTitle =3D =
base.options.titleTextIfLoggedIn;=0A=
=0A=
//give the user the option to add the alert=0A=
div.addClass('button-wrapper');=0A=
//div.css('text-align', 'right');=0A=
=0A=
button =3D $(' ');=0A=
button.html('Confirm');=0A=
base.bind(button, 'click', base.createAlert);=0A=
=0A=
div.append(button);=0A=
}=0A=
} else {=0A=
=0A=
base.dialogTitle =3D base.options.titleText;=0A=
=0A=
//show the login and create account links=0A=
div.html('You must ');=0A=
=0A=
var loginLink =3D $(' ');=0A=
loginLink.attr('href', base.options.signInUrl);=0A=
loginLink.html('sign in');=0A=
=0A=
div.append(loginLink);=0A=
=0A=
div.append(' or ');=0A=
=0A=
var createLink =3D $(' ');=0A=
createLink.attr('href', base.options.newAccountUrl);=0A=
createLink.html('create an account');=0A=
=0A=
div.append(createLink);=0A=
}=0A=
=0A=
base.$dialogDiv.html(div);=0A=
=0A=
base.dialogTopOffset =3D base.$button.outerHeight() + 4;=0A=
};=0A=
=0A=
/**=0A=
* reInit - re-initialize after making ajax calls=0A=
*=0A=
* @return null=0A=
*/=0A=
base.reInit =3D function () {=0A=
base.populateButtonDiv();=0A=
base.populateDialogDiv();=0A=
};=0A=
=0A=
/**=0A=
* init - initialize=0A=
*=0A=
* @return null=0A=
*/=0A=
base.init =3D function () {=0A=
base.options =3D $.extend(=0A=
{},=0A=
$.congress.Alert.defaultOptions,=0A=
options=0A=
);=0A=
=0A=
base.populateButtonDiv();=0A=
base.populateDialogDiv();=0A=
=0A=
/*=0A=
* attempting to close the non-modal dialog by clicking =
outside of it=0A=
* doesn't work in IE 8=0A=
$(document).on('click', function (e) {=0A=
if (base.$dialogDiv.dialog('isOpen') =3D=3D=3D true=0A=
&& e.target.outerHTML !=3D =
$('').append(base.$button.clone()).html()=0A=
&& base.$dialogDiv.has(e.target).size() =3D=3D 0=0A=
) {=0A=
base.hideDialog(e);=0A=
}=0A=
});=0A=
*/=0A=
=0A=
//re-position the dialog on window resize=0A=
$(window).on('resize', function (event) {=0A=
if (base.$dialogDiv.dialog('isOpen') =3D=3D=3D true) {=0A=
//re-position=0A=
var pos =3D base.$button.offset();=0A=
base.$dialogDiv.dialog({=0A=
position: [=0A=
pos.left - $(document).scrollLeft(),=0A=
pos.top - $(document).scrollTop() + =
base.dialogTopOffset=0A=
]=0A=
});=0A=
}=0A=
});=0A=
};=0A=
=0A=
//call init=0A=
base.init();=0A=
};=0A=
=0A=
$.congress.Alert.defaultOptions =3D {=0A=
type: '',=0A=
id: '',=0A=
loggedIn: false,=0A=
hasAlert: false,=0A=
buttonDivId: '',=0A=
buttonText: '',=0A=
buttonTextIfLoggedIn: '',=0A=
buttonTextIfHasAlert: '',=0A=
infoText: '',=0A=
dialogDivId: '',=0A=
titleText: '',=0A=
titleTextIfLoggedIn: '',=0A=
titleTextIfHasAlert: '',=0A=
signInUrl: '',=0A=
newAccountUrl: '',=0A=
createAlertUrl: '',=0A=
deleteAlertUrl: '',=0A=
useLink: false//link instead of button - might be =
useful on=0A=
//the alerts page=0A=
};=0A=
=0A=
$.fn.congress_Alert =3D function (options) {=0A=
return this.each(function () {=0A=
var ft =3D new $.congress.Alert(this, options);=0A=
$(this).data("congress.Alert", ft);=0A=
});=0A=
};=0A=
=0A=
}(jQuery));=0A=
------=_NextPart_000_0000_01D045FB.9478D8C0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: https://cdn.loc.gov/js/global/metrics/foresee/foresee-trigger.js
var environment=3D'production';=0A=
=0A=
var FSR =3D {=0A=
'version': '7.0.0',=0A=
'date': '08/16/2011',=0A=
'enabled': true,=0A=
'auto' : true,=0A=
'encode' : true,=0A=
'files': window.location.protocol + =
'//cdn.loc.gov/js/global/metrics/foresee/',=0A=
'id': 'Zg8xEcQ4h9p0s15J1kVshg=3D=3D',=0A=
'sites': [{=0A=
path: /\w+-?\w+\.(com|org|edu|gov|net)/=0A=
}, {=0A=
path: '.',=0A=
domain: 'default'=0A=
}]=0A=
};=0A=
=0A=
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/=0A=
function fsr$setAlive(){var A=3Dnew =
Date().getTime();document.cookie=3D"fsr.a"+(FSR.site.cookie?"."+FSR.site.=
cookie:"")+"=3D"+A+";path=3D/"+((FSR.site.domain)?";domain=3D"+FSR.site.d=
omain+";":";")+(FSR.site.secure?"secure":"")=0A=
}(function(){if(window!=3Dwindow.top){return }function G(K){if(typeof =
K=3D=3D"object"){var J=3DK.constructor.toString().match(/array/i);=0A=
return(J!=3Dnull)}return false}var I=3DFSR.sites;for(var =
F=3D0,D=3DI.length;F-1:this.=
indexOf(A)>-1},fsr$trim:function(){return this.replace(/^\s+|\s+$/g,"")=0A=
},fsr$clean:function(){return this.replace(/\s+/g," =
").fsr$trim()},fsr$camelCase:function(){return =
this.replace(/-\D/g,function(A){return A.charAt(1).toUpperCase()=0A=
})},fsr$hyphenate:function(){return =
this.replace(/[A-Z]/g,function(A){return("-"+A.charAt(0).toLowerCase())=0A=
})},fsr$capitalize:function(){return =
this.replace(/\b[a-z]/g,function(A){return A.toUpperCase()})=0A=
},fsr$escapeRegExp:function(){return =
this.replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")},fsr$toInt:function(A){re=
turn parseInt(this,A||10)=0A=
},fsr$stripScripts:function(B){var A=3D"";var =
C=3Dthis.replace(/