tcRequire.define("tc/lib/text",["module"],function(e){"use strict";function n(e,n){return void 0===e||""===e?n:e}function t(e,t,r,o){if(t===o)return!0;if(e===r){if("http"===e)return n(t,"80")===n(o,"80");if("https"===e)return n(t,"443")===n(o,"443")}return!1}var r,o,i,a,s,u=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],c=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,l=/
]*>\s*([\s\S]+)\s*<\/body>/im,f="undefined"!=typeof location&&location.href,p=f&&location.protocol&&location.protocol.replace(/\:/,""),d=f&&location.hostname,v=f&&(location.port||void 0),m={},g=e.config&&e.config()||{};return r={"version":"2.0.15","strip":function(e){if(e){e=e.replace(c,"");var n=e.match(l);n&&(e=n[1])}else e="";return e},"jsEscape":function(e){return e.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},"createXhr":g.createXhr||function(){var e,n,t;if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;if("undefined"!=typeof ActiveXObject)for(n=0;n<3;n+=1){t=u[n];try{e=new ActiveXObject(t)}catch(e){}if(e){u=[t];break}}return e},"parseName":function(e){var n,t,r,o=!1,i=e.lastIndexOf("."),a=0===e.indexOf("./")||0===e.indexOf("../");return-1!==i&&(!a||i>1)?(n=e.substring(0,i),t=e.substring(i+1)):n=e,r=t||n,i=r.indexOf("!"),-1!==i&&(o="strip"===r.substring(i+1),r=r.substring(0,i),t?t=r:n=r),{"moduleName":n,"ext":t,"strip":o}},"xdRegExp":/^((\w+)\:)?\/\/([^\/\\]+)/,"useXhr":function(e,n,o,i){var a,s,u,c=r.xdRegExp.exec(e);return!c||(a=c[2],s=c[3],s=s.split(":"),u=s[1],s=s[0],(!a||a===n)&&(!s||s.toLowerCase()===o.toLowerCase())&&(!u&&!s||t(a,u,n,i)))},"finishLoad":function(e,n,t,o){t=n?r.strip(t):t,g.isBuild&&(m[e]=t),o(t)},"load":function(e,n,t,o){if(o&&o.isBuild&&!o.inlineText)return void t();g.isBuild=o&&o.isBuild;var i=r.parseName(e),a=i.moduleName+(i.ext?"."+i.ext:""),s=n.toUrl(a),u=g.useXhr||r.useXhr;if(0===s.indexOf("empty:"))return void t();!f||u(s,p,d,v)?r.get(s,function(n){r.finishLoad(e,i.strip,n,t)},function(e){t.error&&t.error(e)}):n([a],function(e){r.finishLoad(i.moduleName+"."+i.ext,i.strip,e,t)})},"write":function(e,n,t,o){if(m.hasOwnProperty(n)){var i=r.jsEscape(m[n]);t.asModule(e+"!"+n,"define(function () { return '"+i+"';});\n")}},"writeFile":function(e,n,t,o,i){var a=r.parseName(n),s=a.ext?"."+a.ext:"",u=a.moduleName+s,c=t.toUrl(a.moduleName+s)+".js";r.load(u,t,function(n){var t=function(e){return o(c,e)};t.asModule=function(e,n){return o.asModule(e,c,n)},r.write(e,u,t,i)},i)}},"node"===g.env||!g.env&&"undefined"!=typeof process&&process.versions&&process.versions.node&&!process.versions["node-webkit"]&&!process.versions["atom-shell"]?(o=require.nodeRequire("fs"),r.get=function(e,n,t){try{var r=o.readFileSync(e,"utf8");"\ufeff"===r[0]&&(r=r.substring(1)),n(r)}catch(e){t&&t(e)}}):"xhr"===g.env||!g.env&&r.createXhr()?r.get=function(e,n,t,o){var i,a=r.createXhr();if(a.open("GET",e,!0),o)for(i in o)o.hasOwnProperty(i)&&a.setRequestHeader(i.toLowerCase(),o[i]);g.onXhr&&g.onXhr(a,e),a.onreadystatechange=function(r){var o,i;4===a.readyState&&(o=a.status||0,o>399&&o<600?(i=new Error(e+" HTTP status: "+o),i.xhr=a,t&&t(i)):n(a.responseText),g.onXhrComplete&&g.onXhrComplete(a,e))},a.send(null)}:"rhino"===g.env||!g.env&&"undefined"!=typeof Packages&&"undefined"!=typeof java?r.get=function(e,n){var t,r,o=new java.io.File(e),i=java.lang.System.getProperty("line.separator"),a=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(o),"utf-8")),s="";try{for(t=new java.lang.StringBuffer,r=a.readLine(),r&&r.length()&&65279===r.charAt(0)&&(r=r.substring(1)),null!==r&&t.append(r);null!==(r=a.readLine());)t.append(i),t.append(r);s=String(t.toString())}finally{a.close()}n(s)}:("xpconnect"===g.env||!g.env&&"undefined"!=typeof Components&&Components.classes&&Components.interfaces)&&(i=Components.classes,a=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),s="@mozilla.org/windows-registry-key;1"in i,r.get=function(e,n){var t,r,o,u={};s&&(e=e.replace(/\//g,"\\")),o=new FileUtils.File(e);try{t=i["@mozilla.org/network/file-input-stream;1"].createInstance(a.nsIFileInputStream),t.init(o,1,0,!1),r=i["@mozilla.org/intl/converter-input-stream;1"].createInstance(a.nsIConverterInputStream),r.init(t,"utf-8",t.available(),a.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),r.readString(t.available(),u),r.close(),t.close(),n(u.value)}catch(e){throw new Error((o&&o.path||"")+": "+e)}}),r});
tcRequire.define("tc/lib/lodash",[],function(){function n(n,t){if(n!==t){var r=null===n,e=n===x,u=n===n,i=null===t,o=t===x,f=t===t;if(n>t&&!i||!u||r&&!o&&f||e&&f)return 1;if(n-1;);return r}function o(n,t){for(var r=n.length;r--&&t.indexOf(n.charAt(r))>-1;);return r}function f(t,r){return n(t.criteria,r.criteria)||t.index-r.index}function a(t,r,e){for(var u=-1,i=t.criteria,o=r.criteria,f=i.length,a=e.length;++u=a)return c;var l=e[u];return c*("asc"===l||!0===l?1:-1)}}return t.index-r.index}function c(n){return Bn[n]}function l(n){return zn[n]}function s(n,t,r){return t?n=Mn[n]:r&&(n=Pn[n]),"\\"+n}function p(n){return"\\"+Pn[n]}function h(n,t,r){for(var e=n.length,u=t+(r?0:-1);r?u--:++u=9&&n<=13||32==n||160==n||5760==n||6158==n||n>=8192&&(n<=8202||8232==n||8233==n||8239==n||8287==n||12288==n||65279==n)}function g(n,t){for(var r=-1,e=n.length,u=-1,i=[];++r=T?_r(t):null,c=t.length;a&&(o=nt,f=!1,t=a);n:for(;++iu?0:u+r),e=e===x||e>u?u:+e||0,e<0&&(e+=u),u=r>e?0:e>>>0,r>>>=0;ru?0:u+t),r=r===x||r>u?u:+r||0,r<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=zi(u);++e=T,a=f?_r():null,c=[];a?(u=nt,o=!1):(f=!1,a=t?[]:c);n:for(;++e>>1,o=n[i];(r?o<=t:o2?r[u-2]:x,o=u>2?r[2]:x,f=u>1?r[u-1]:x;for("function"==typeof i?(i=or(i,f,5),u-=2):(i="function"==typeof f?f:x,u-=i?1:0),o&&Qr(r[0],r[1],o)&&(i=u<3?x:i,u=1);++e-1?e[o]:x}return Et(e,u,n)}}function xr(n){return function(r,e,u){return r&&r.length?(e=qr(e,u,3),t(r,e,n)):-1}}function Ar(n){return function(t,r,e){return r=qr(r,e,3),Et(t,r,n,!0)}}function jr(n){return function(){for(var t,r=arguments.length,e=n?r:-1,u=0,i=zi(r);n?e--:++e=T)return t.plant(e).value();for(var u=0,o=r?i[u].apply(this,n):e;++u=t||!bo(t))return"";var u=t-e;return r=null==r?" ":r+"",gi(r,_o(u/r.length)).slice(0,u)}function $r(n,t,r,e){function u(){for(var t=-1,f=arguments.length,a=-1,c=e.length,l=zi(c+f);++aa))return!1;for(;++f-1&&n%1==0&&n-1&&n%1==0&&n<=Uo}function ee(n){return n===n&&!$u(n)}function ue(n,t){var r=n[1],e=t[1],u=r|e,i=u-1;)po.call(t,i,1);return t}function Ee(n,t,r){var e=[];if(!n||!n.length)return e;var u=-1,i=[],o=n.length;for(t=qr(t,r,3);++u-1:!!u&&Mr(n,t,r)>-1}function nu(n,t,r){var e=Cf(n)?ct:Bt;return t=qr(t,r,3),e(n,t)}function tu(n,t){return nu(n,Wi(t))}function ru(n,t,r){var e=Cf(n)?at:Ot;return t=qr(t,r,3),e(n,function(n,r,e){return!t(n,r,e)})}function eu(n,t,r){if(r?Qr(n,t,r):null==t){n=le(n);var e=n.length;return e>0?n[Yt(0,e-1)]:x}var u=-1,i=Yu(n),e=i.length,o=e-1;for(t=Ao(t<0?0:+t||0,e);++u0&&(r=t.apply(this,arguments)),n<=1&&(t=x),r}}function hu(n,t,r){function e(){h&&oo(h),c&&oo(c),_=0,c=h=v=x}function u(t,r){r&&oo(r),c=h=v=x,t&&(_=gf(),l=n.apply(p,a),h||c||(a=p=x))}function i(){var n=t-(gf()-s);n<=0||n>t?u(v,c):h=so(i,n)}function o(){u(y,h)}function f(){if(a=arguments,s=gf(),p=this,v=y&&(h||!d),!1===g)var r=d&&!h;else{c||d||(_=s);var e=g-(s-_),u=e<=0||e>g;u?(c&&(c=oo(c)),_=s,l=n.apply(p,a)):c||(c=so(o,e))}return u&&h?h=oo(h):h||t===g||(h=so(i,t)),r&&(u=!0,l=n.apply(p,a)),!u||h||c||(a=p=x),l}var a,c,l,s,p,h,v,_=0,g=!1,y=!0;if("function"!=typeof n)throw new Ji(z);if(t=t<0?0:+t||0,!0===r){var d=!0;y=!1}else $u(r)&&(d=!!r.leading,g="maxWait"in r&&xo(+r.maxWait||0,t),y="trailing"in r?!!r.trailing:y);return f.cancel=e,f}function vu(n,t){if("function"!=typeof n||t&&"function"!=typeof t)throw new Ji(z);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o),o};return r.cache=new vu.Cache,r}function _u(n){if("function"!=typeof n)throw new Ji(z);return function(){return!n.apply(this,arguments)}}function gu(n){return pu(2,n)}function yu(n,t){if("function"!=typeof n)throw new Ji(z);return t=xo(t===x?n.length-1:+t||0,0),function(){for(var r=arguments,e=-1,u=xo(r.length-t,0),i=zi(u);++et}function ju(n,t){return n>=t}function ku(n){return v(n)&&Zr(n)&&no.call(n,"callee")&&!co.call(n,"callee")}function Ru(n){return!0===n||!1===n||v(n)&&ro.call(n)==P}function Iu(n){return v(n)&&ro.call(n)==K}function Ou(n){return!!n&&1===n.nodeType&&v(n)&&!zu(n)}function Eu(n){return null==n||(Zr(n)&&(Cf(n)||Du(n)||ku(n)||v(n)&&Wu(n.splice))?!n.length:!qf(n).length)}function Cu(n,t,r,e){r="function"==typeof r?or(r,e,3):x;var u=r?r(n,t):x;return u===x?Nt(n,t,r):!!u}function Su(n){return v(n)&&"string"==typeof n.message&&ro.call(n)==V}function Uu(n){return"number"==typeof n&&bo(n)}function Wu(n){return $u(n)&&ro.call(n)==Y}function $u(n){var t=typeof n;return!!n&&("object"==t||"function"==t)}function Fu(n,t,r,e){return r="function"==typeof r?or(r,e,3):x,Lt(n,Pr(t),r)}function Nu(n){return Bu(n)&&n!=+n}function Tu(n){return null!=n&&(Wu(n)?uo.test(Qi.call(n)):v(n)&&En.test(n))}function Lu(n){return null===n}function Bu(n){return"number"==typeof n||v(n)&&ro.call(n)==G}function zu(n){var t;if(!v(n)||ro.call(n)!=J||ku(n)||!no.call(n,"constructor")&&"function"==typeof(t=n.constructor)&&!(t instanceof t))return!1;var r;return St(n,function(n,t){r=t}),r===x||no.call(n,r)}function qu(n){return $u(n)&&ro.call(n)==X}function Du(n){return"string"==typeof n||v(n)&&ro.call(n)==Z}function Mu(n){return v(n)&&re(n.length)&&!!Tn[ro.call(n)]}function Pu(n){return n===x}function Ku(n,t){return n0;++e=Ao(t,r)&&n=0&&n.indexOf(t,r)==r}function pi(n){return n=u(n),n&&_n.test(n)?n.replace(hn,l):n}function hi(n){return n=u(n),n&&An.test(n)?n.replace(xn,s):n||"(?:)"}function vi(n,t,r){n=u(n),t=+t;var e=n.length;if(e>=t||!bo(t))return n;var i=(t-e)/2,o=yo(i);return r=Wr("",_o(i),r),r.slice(0,o)+n+r}function _i(n,t,r){return(r?Qr(n,t,r):null==t)?t=0:t&&(t=+t),n=wi(n),ko(n,t||(On.test(n)?16:10))}function gi(n,t){var r="";if(n=u(n),(t=+t)<1||!n||!bo(t))return r;do{t%2&&(r+=n),t=yo(t/2),n+=n}while(t);return r}function yi(n,t,r){return n=u(n),r=null==r?0:Ao(r<0?0:+r||0,n.length),n.lastIndexOf(t,r)==r}function di(n,t,r){var e=Bn.templateSettings;r&&Qr(n,t,r)&&(t=r=x),n=u(n),t=yt(dt({},r||t),e,gt);var i,o,f=yt(dt({},t.imports),e.imports,gt),a=qf(f),c=tr(f,a),l=0,s=t.interpolate||Un,h="__p += '",v=Yi((t.escape||Un).source+"|"+s.source+"|"+(s===dn?Rn:Un).source+"|"+(t.evaluate||Un).source+"|$","g"),_="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Nn+"]")+"\n";n.replace(v,function(t,r,e,u,f,a){return e||(e=u),h+=n.slice(l,a).replace(Wn,p),r&&(i=!0,h+="' +\n__e("+r+") +\n'"),f&&(o=!0,h+="';\n"+f+";\n__p += '"),e&&(h+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),l=a+t.length,t}),h+="';\n";var g=t.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(o?h.replace(cn,""):h).replace(ln,"$1").replace(sn,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var y=Hf(function(){return Mi(a,_+"return "+h).apply(x,c)});if(y.source=h,Su(y))throw y;return y}function wi(n,t,r){var e=n;return(n=u(n))?(r?Qr(e,t,r):null==t)?n.slice(d(n),w(n)+1):(t+="",n.slice(i(n,t),o(n,t)+1)):n}function bi(n,t,r){var e=n;return n=u(n),n?(r?Qr(e,t,r):null==t)?n.slice(d(n)):n.slice(i(n,t+"")):n}function mi(n,t,r){var e=n;return n=u(n),n?(r?Qr(e,t,r):null==t)?n.slice(0,w(n)+1):n.slice(0,o(n,t+"")+1):n}function xi(n,t,r){r&&Qr(n,t,r)&&(t=x);var e=W,i=$;if(null!=t)if($u(t)){var o="separator"in t?t.separator:o;e="length"in t?+t.length||0:e,i="omission"in t?u(t.omission):i}else e=+t||0;if(n=u(n),e>=n.length)return n;var f=e-i.length;if(f<1)return i;var a=n.slice(0,f);if(null==o)return a+i;if(qu(o)){if(n.slice(f).search(o)){var c,l,s=n.slice(0,f);for(o.global||(o=Yi(o.source,(In.exec(o)||"")+"g")),o.lastIndex=0;c=o.exec(s);)l=c.index;a=a.slice(0,null==l?f:l)}}else if(n.indexOf(o,f)!=f){var p=a.lastIndexOf(o);p>-1&&(a=a.slice(0,p))}return a+i}function Ai(n){return n=u(n),n&&vn.test(n)?n.replace(pn,b):n}function ji(n,t,r){return r&&Qr(n,t,r)&&(t=x),n=u(n),n.match(t||$n)||[]}function ki(n,t,r){return r&&Qr(n,t,r)&&(t=x),v(n)?Oi(n):mt(n,t)}function Ri(n){return function(){return n}}function Ii(n){return n}function Oi(n){return zt(xt(n,!0))}function Ei(n,t){return qt(n,xt(t,!0))}function Ci(n,t,r){if(null==r){var e=$u(t),u=e?qf(t):x,i=u&&u.length?$t(t,u):x;(i?i.length:e)||(i=!1,r=t,t=n,n=this)}i||(i=$t(t,qf(t)));var o=!0,f=-1,a=Wu(n),c=i.length;!1===r?o=!1:$u(r)&&"chain"in r&&(o=r.chain);for(;++f>>1,Uo=9007199254740991,Wo=vo&&new vo,$o={};Bn.support={};Bn.templateSettings={"escape":gn,"evaluate":yn,"interpolate":dn,"variable":"","imports":{"_":Bn}};var Fo=function(){function n(){}return function(t){if($u(t)){n.prototype=t;var r=new n;n.prototype=x}return r||{}}}(),No=pr(Ut),To=pr(Wt,!0),Lo=hr(),Bo=hr(!0),zo=Wo?function(n,t){return Wo.set(n,t),n}:Ii,qo=Wo?function(n){return Wo.get(n)}:Ui,Do=Pt("length"),Mo=function(){var n=0,t=0;return function(r,e){var u=gf(),i=N-(u-t);if(t=u,i>0){if(++n>=F)return r}else n=0;return zo(r,e)}}(),Po=yu(function(n,t){return v(n)&&Zr(n)?jt(n,Ct(t,!1,!0)):[]}),Ko=xr(),Vo=xr(!0),Yo=yu(function(n){for(var t=n.length,e=t,u=zi(s),i=Mr(),o=i===r,f=[];e--;){var a=n[e]=Zr(a=n[e])?a:[];u[e]=o&&a.length>=120?_r(e&&a):null}var c=n[0],l=-1,s=c?c.length:0,p=u[0];n:for(;++l2?n[t-2]:x,e=t>1?n[t-1]:x;return t>2&&"function"==typeof r?t-=2:(r=t>1&&"function"==typeof e?(--t,e):x,e=x),n.length=t,Le(n,r,e)}),tf=yu(function(n){return n=Ct(n),this.thru(function(t){return rt(Cf(t)?t:[se(t)],n)})}),rf=yu(function(n,t){return wt(n,Ct(t))}),ef=lr(function(n,t,r){no.call(n,r)?++n[r]:n[r]=1}),uf=mr(No),of=mr(To,!0),ff=kr(ut,No),af=kr(it,To),cf=lr(function(n,t,r){no.call(n,r)?n[r].push(t):n[r]=[t]}),lf=lr(function(n,t,r){n[r]=t}),sf=yu(function(n,t,r){var e=-1,u="function"==typeof t,i=ne(t),o=Zr(n)?zi(n.length):[];return No(n,function(n){var f=u?t:i&&null!=n?n[t]:x;o[++e]=f?f.apply(n,r):Xr(n,t,r)}),o}),pf=lr(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]}),hf=Sr(st,No),vf=Sr(pt,To),_f=yu(function(n,t){if(null==n)return[];var r=t[2];return r&&Qr(t[0],t[1],r)&&(t.length=1),Ht(n,Ct(t),[])}),gf=jo||function(){return(new qi).getTime()},yf=yu(function(n,t,r){var e=j;if(r.length){var u=g(r,yf.placeholder);e|=E}return Tr(n,e,t,r,u)}),df=yu(function(n,t){t=t.length?Ct(t):Xu(n);for(var r=-1,e=t.length;++r0||t<0)?new Dn(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==x&&(t=+t||0,r=t<0?r.dropRight(-t):r.take(t-n)),r)},Dn.prototype.takeRightWhile=function(n,t){return this.reverse().takeWhile(n,t).reverse()},Dn.prototype.toArray=function(){return this.take(Oo)},Ut(Dn.prototype,function(n,t){var r=/^(?:filter|map|reject)|While$/.test(t),e=/^(?:first|last)$/.test(t),u=Bn[e?"take"+("last"==t?"Right":""):t];u&&(Bn.prototype[t]=function(){var t=e?[1]:arguments,i=this.__chain__,o=this.__wrapped__,f=!!this.__actions__.length,a=o instanceof Dn,c=t[0],l=a||Cf(o);l&&r&&"function"==typeof c&&1!=c.length&&(a=l=!1);var s=function(n){return e&&i?u(n,1)[0]:u.apply(x,lt([n],t))},p={"func":Me,"args":[s],"thisArg":x},h=a&&!f;if(e&&!i)return h?(o=o.clone(),o.__actions__.push(p),n.call(o)):u.call(x,this.value())[0];if(!e&&l){o=h?o:new Dn(this);var v=n.apply(o,t);return v.__actions__.push(p),new qn(v,i)}return this.thru(s)})}),ut(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(n){var t=(/^(?:replace|split)$/.test(n)?Hi:Xi)[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:join|pop|replace|shift)$/.test(n);Bn.prototype[n]=function(){var n=arguments;return e&&!this.__chain__?t.apply(this.value(),n):this[r](function(r){return t.apply(r,n)})}}),Ut(Dn.prototype,function(n,t){var r=Bn[t];if(r){var e=r.name+"";($o[e]||($o[e]=[])).push({"name":t,"func":r})}}),$o[Ur(x,k).name]=[{"name":"wrapper","func":x}],Dn.prototype.clone=Mn,Dn.prototype.reverse=Pn,Dn.prototype.value=Kn,Bn.prototype.chain=Pe,Bn.prototype.commit=Ke,Bn.prototype.concat=tf,Bn.prototype.plant=Ve,Bn.prototype.reverse=Ye,Bn.prototype.toString=Ge,Bn.prototype.run=Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=Je,Bn.prototype.collect=Bn.prototype.map,Bn.prototype.head=Bn.prototype.first,Bn.prototype.select=Bn.prototype.filter,Bn.prototype.tail=Bn.prototype.rest,Bn}var x,A="3.10.1",j=1,k=2,R=4,I=8,O=16,E=32,C=64,S=128,U=256,W=30,$="...",F=150,N=16,T=200,L=1,B=2,z="Expected a function",q="__lodash_placeholder__",D="[object Arguments]",M="[object Array]",P="[object Boolean]",K="[object Date]",V="[object Error]",Y="[object Function]",G="[object Number]",J="[object Object]",X="[object RegExp]",Z="[object String]",H="[object ArrayBuffer]",Q="[object Float32Array]",nn="[object Float64Array]",tn="[object Int8Array]",rn="[object Int16Array]",en="[object Int32Array]",un="[object Uint8Array]",on="[object Uint8ClampedArray]",fn="[object Uint16Array]",an="[object Uint32Array]",cn=/\b__p \+= '';/g,ln=/\b(__p \+=) '' \+/g,sn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pn=/&(?:amp|lt|gt|quot|#39|#96);/g,hn=/[&<>"'`]/g,vn=RegExp(pn.source),_n=RegExp(hn.source),gn=/<%-([\s\S]+?)%>/g,yn=/<%([\s\S]+?)%>/g,dn=/<%=([\s\S]+?)%>/g,wn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,bn=/^\w*$/,mn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,xn=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,An=RegExp(xn.source),jn=/[\u0300-\u036f\ufe20-\ufe23]/g,kn=/\\(\\)?/g,Rn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,In=/\w*$/,On=/^0[xX]/,En=/^\[object .+?Constructor\]$/,Cn=/^\d+$/,Sn=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Un=/($^)/,Wn=/['\n\r\u2028\u2029\\]/g,$n=function(){var n="[A-Z\\xc0-\\xd6\\xd8-\\xde]",t="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(n+"+(?="+n+t+")|"+n+"?"+t+"|"+n+"+|[0-9]+","g")}(),Fn=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],Nn=-1,Tn={};Tn[Q]=Tn[nn]=Tn[tn]=Tn[rn]=Tn[en]=Tn[un]=Tn[on]=Tn[fn]=Tn[an]=!0,Tn[D]=Tn[M]=Tn[H]=Tn[P]=Tn[K]=Tn[V]=Tn[Y]=Tn["[object Map]"]=Tn[G]=Tn[J]=Tn[X]=Tn["[object Set]"]=Tn[Z]=Tn["[object WeakMap]"]=!1;var Ln={};Ln[D]=Ln[M]=Ln[H]=Ln[P]=Ln[K]=Ln[Q]=Ln[nn]=Ln[tn]=Ln[rn]=Ln[en]=Ln[G]=Ln[J]=Ln[X]=Ln[Z]=Ln[un]=Ln[on]=Ln[fn]=Ln[an]=!0,Ln[V]=Ln[Y]=Ln["[object Map]"]=Ln["[object Set]"]=Ln["[object WeakMap]"]=!1;var Bn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},zn={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},qn={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Dn={"function":!0,"object":!0},Mn={"0":"x30","1":"x31","2":"x32","3":"x33","4":"x34","5":"x35","6":"x36","7":"x37","8":"x38","9":"x39","A":"x41","B":"x42","C":"x43","D":"x44","E":"x45","F":"x46","a":"x61","b":"x62","c":"x63","d":"x64","e":"x65","f":"x66","n":"x6e","r":"x72","t":"x74","u":"x75","v":"x76","x":"x78"},Pn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Kn=Dn[typeof exports]&&exports&&!exports.nodeType&&exports,Vn=Dn[typeof module]&&module&&!module.nodeType&&module,Yn=Kn&&Vn&&"object"==typeof global&&global&&global.Object&&global,Gn=Dn[typeof self]&&self&&self.Object&&self,Jn=Dn[typeof window]&&window&&window.Object&&window,Xn=(Vn&&Vn.exports,Yn||Jn!==(this&&this.window)&&Jn||Gn||this),Zn=m();return Zn});
tcRequire.define("tc/window-events",["tc/lib/jquery"],function(t){function e(t){w[t]++}function o(t){var e=t+".throttle",o=t+".debounce";w[t]===w.last[t]?(a.trigger(o,[b[t]()]),w[t]=0,T[t]=!1):(a.trigger(e,[b[t]()]),n(t,!0)),w.last[t]=w[t]}function n(t,e){e?(T[t]=!0,v[t]=setTimeout(function(){o(t)},_)):v[t]&&(T[t]=!1,clearTimeout(v[t]))}function i(t){var o=t.type;e(o),T[o]||n(o,!0)}function r(t,e){e?d.on(t,i):(d.off(t,i),n(t,!1))}function c(t,e,o){var n=t+"."+o;a.on(n,e),z[t]||(z[t]=0),z[t]+=1,1===z[t]&&r(t,!0)}function l(t,e,o){var n,i=t+"."+o;a.off(i,e),n=z[t]-=1,z[t]=n<0?0:n,0===z[t]&&r(t,!1)}function u(t,e){c("scroll",t,e||"throttle")}function f(t,e){l("scroll",t,e||"throttle")}function s(t,e){c("resize",t,e||"debounce")}function g(t,e){l("resize",t,e||"debounce")}function h(t){"resize"===t?a.trigger("resize.debounce",[b["resize"]()]):"scroll"===t&&a.trigger("scroll.throttle",[b["scroll"]()])}var a=t({}),d=t(window),z={},w={"resize":0,"scroll":0,"last":{}},v={},b={},T={},_=300;return b={"scroll":function(){return{"scrollTop":d.scrollTop(),"height":d.height()}},"resize":function(){return{"orientation":window.orientation,"width":d.width(),"height":d.height()}}},{"onResize":s,"offResize":g,"onScroll":u,"offScroll":f,"__unit_test_mockTrigger":h}});
tcRequire.define("tc/feature-detection",["tc/lib/jquery"],function(e){function t(){return"function"!=typeof document.createElement?document.createElement(arguments[0]):document.createElement.apply(document,arguments)}return{"video":function(){var n=t("video"),c=!1;try{c=!!n.canPlayType}catch(e){}return c&&e("html").addClass("video"),c}(),"svg":function(){var e=t("div");return e.innerHTML="","http://www.w3.org/2000/svg"===("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)}()}});
tcRequire.define("tc/alert/count-days",[],function(){return function(t){var e=parseInt(1e3*t),a=new Date,c=Math.round((e-a.getTime())/864e5);return 0===c&&(c=1),c}}),tcRequire.define("tc/lib/text!tc/alert/bar.html",[],function(){return'\n
\n
\n\n \n\n \n
<%=title%>\n
<%=label%>\n
\x3c!---\n\n --\x3e
\n
\n'}),tcRequire.define("tc/alert-bar",["tc/lib/jquery","tc/lib/lodash","tc/store","tc/data-service","tc/alert/count-days","tc/lib/text!tc/alert/bar.html"],function(t,e,a,c,n,r){function l(t){i(t)}var i=function(t){function l(t){var a=t.title||"",c=t.text||"",n=e.template(r),l={"title":a,"message":c,"label":f.readmoreLabel,"path":f.readmorePath};m.append(n(l))}function i(){m.addClass(v),m.find("div").first().focus()}function s(){m.removeClass(v),setTimeout(function(){m.empty()},1e3)}function o(t){var e=!1;if(n(t.expiry)>=0){var a=p.getItem(b);(""===a||""!==a&&a