var base64,rx,globalXhrHandler,globalDirtyCheck,coreHtml,injector,rxEncoder;if(function(n,t){typeof module=="object"&&typeof module.exports=="object"?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)}(typeof window!="undefined"?window:this,function(n,t){function ri(n){var t="length"in n&&n.length,r=i.type(n);return r==="function"||i.isWindow(n)?!1:n.nodeType===1&&t?!0:r==="array"||t===0||typeof t=="number"&&t>0&&t-1 in n}function ui(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if(typeof t=="string"){if(ef.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return ft.call(t,n)>=0!==r})}function ur(n,t){while((n=n[t])&&n.nodeType!==1);return n}function of(n){var t=fi[n]={};return i.each(n.match(c)||[],function(n,i){t[i]=!0}),t}function ht(){u.removeEventListener("DOMContentLoaded",ht,!1);n.removeEventListener("load",ht,!1);i.ready()}function v(){Object.defineProperty(this.cache={},0,{get:function(){return{}}});this.expando=i.expando+v.uid++}function fr(n,t,r){var u;if(r===undefined&&n.nodeType===1)if(u="data-"+t.replace(hf,"-$1").toLowerCase(),r=n.getAttribute(u),typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:sf.test(r)?i.parseJSON(r):r}catch(f){}e.set(n,t,r)}else r=undefined;return r}function lt(){return!0}function k(){return!1}function hr(){try{return u.activeElement}catch(n){}}function vr(n,t){return i.nodeName(n,"table")&&i.nodeName(t.nodeType!==11?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n.appendChild(n.ownerDocument.createElement("tbody")):n}function bf(n){return n.type=(n.getAttribute("type")!==null)+"/"+n.type,n}function kf(n){var t=pf.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function ei(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function yr(n,t){var f,c,o,s,h,l,a,u;if(t.nodeType===1){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),u=s.events,u)){delete h.handle;h.events={};for(o in u)for(f=0,c=u[o].length;f<c;f++)i.event.add(t,o,u[o][f])}e.hasData(n)&&(l=e.access(n),a=i.extend({},l),e.set(t,a))}}function o(n,t){var r=n.getElementsByTagName?n.getElementsByTagName(t||"*"):n.querySelectorAll?n.querySelectorAll(t||"*"):[];return t===undefined||t&&i.nodeName(n,t)?i.merge([n],r):r}function df(n,t){var i=t.nodeName.toLowerCase();i==="input"&&er.test(n.type)?t.checked=n.checked:(i==="input"||i==="textarea")&&(t.defaultValue=n.defaultValue)}function pr(t,r){var f,u=i(r.createElement(t)).appendTo(r.body),e=n.getDefaultComputedStyle&&(f=n.getDefaultComputedStyle(u[0]))?f.display:i.css(u[0],"display");return u.detach(),e}function si(n){var r=u,t=oi[n];return t||(t=pr(n,r),t!=="none"&&t||(at=(at||i("<iframe frameborder='0' width='0' height='0'/>")).appendTo(r.documentElement),r=at[0].contentDocument,r.write(),r.close(),t=pr(n,r),at.detach()),oi[n]=t),t}function it(n,t,r){var e,o,s,u,f=n.style;return r=r||vt(n),r&&(u=r.getPropertyValue(t)||r[t]),r&&(u!==""||i.contains(n.ownerDocument,n)||(u=i.style(n,t)),hi.test(u)&&wr.test(t)&&(e=f.width,o=f.minWidth,s=f.maxWidth,f.minWidth=f.maxWidth=f.width=u,u=r.width,f.width=e,f.minWidth=o,f.maxWidth=s)),u!==undefined?u+"":u}function br(n,t){return{get:function(){if(n()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function gr(n,t){if(t in n)return t;for(var r=t[0].toUpperCase()+t.slice(1),u=t,i=dr.length;i--;)if(t=dr[i]+r,t in n)return t;return u}function nu(n,t,i){var r=ne.exec(t);return r?Math.max(0,r[1]-(i||0))+(r[2]||"px"):t}function tu(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:t==="width"?1:0,o=0;e<4;e+=2)r==="margin"&&(o+=i.css(n,r+p[e],!0,f)),u?(r==="content"&&(o-=i.css(n,"padding"+p[e],!0,f)),r!=="margin"&&(o-=i.css(n,"border"+p[e]+"Width",!0,f))):(o+=i.css(n,"padding"+p[e],!0,f),r!=="padding"&&(o+=i.css(n,"border"+p[e]+"Width",!0,f)));return o}function iu(n,t,r){var o=!0,u=t==="width"?n.offsetWidth:n.offsetHeight,e=vt(n),s=i.css(n,"boxSizing",!1,e)==="border-box";if(u<=0||u==null){if(u=it(n,t,e),(u<0||u==null)&&(u=n.style[t]),hi.test(u))return u;o=s&&(f.boxSizingReliable()||u===n.style[t]);u=parseFloat(u)||0}return u+tu(n,t,r||(s?"border":"content"),o,e)+"px"}function ru(n,t){for(var e,u,s,o=[],f=0,h=n.length;f<h;f++)(u=n[f],u.style)&&(o[f]=r.get(u,"olddisplay"),e=u.style.display,t?(o[f]||e!=="none"||(u.style.display=""),u.style.display===""&&tt(u)&&(o[f]=r.access(u,"olddisplay",si(u.nodeName)))):(s=tt(u),e==="none"&&s||r.set(u,"olddisplay",s?e:i.css(u,"display"))));for(f=0;f<h;f++)(u=n[f],u.style)&&(t&&u.style.display!=="none"&&u.style.display!==""||(u.style.display=t?o[f]||"":"none"));return n}function s(n,t,i,r,u){return new s.prototype.init(n,t,i,r,u)}function fu(){return setTimeout(function(){d=undefined}),d=i.now()}function wt(n,t){var r,u=0,i={height:n};for(t=t?1:0;u<4;u+=2-t)r=p[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function eu(n,t,i){for(var u,f=(rt[t]||[]).concat(rt["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function fe(n,t,u){var f,a,p,v,o,w,h,b,l=this,y={},s=n.style,c=n.nodeType&&tt(n),e=r.get(n,"fxshow");u.queue||(o=i._queueHooks(n,"fx"),o.unqueued==null&&(o.unqueued=0,w=o.empty.fire,o.empty.fire=function(){o.unqueued||w()}),o.unqueued++,l.always(function(){l.always(function(){o.unqueued--;i.queue(n,"fx").length||o.empty.fire()})}));n.nodeType===1&&("height"in t||"width"in t)&&(u.overflow=[s.overflow,s.overflowX,s.overflowY],h=i.css(n,"display"),b=h==="none"?r.get(n,"olddisplay")||si(n.nodeName):h,b==="inline"&&i.css(n,"float")==="none"&&(s.display="inline-block"));u.overflow&&(s.overflow="hidden",l.always(function(){s.overflow=u.overflow[0];s.overflowX=u.overflow[1];s.overflowY=u.overflow[2]}));for(f in t)if(a=t[f],re.exec(a)){if(delete t[f],p=p||a==="toggle",a===(c?"hide":"show"))if(a==="show"&&e&&e[f]!==undefined)c=!0;else continue;y[f]=e&&e[f]||i.style(n,f)}else h=undefined;if(i.isEmptyObject(y))(h==="none"?si(n.nodeName):h)==="inline"&&(s.display=h);else{e?"hidden"in e&&(c=e.hidden):e=r.access(n,"fxshow",{});p&&(e.hidden=!c);c?i(n).show():l.done(function(){i(n).hide()});l.done(function(){var t;r.remove(n,"fxshow");for(t in y)i.style(n,t,y[t])});for(f in y)v=eu(c?e[f]:0,f,l),f in e||(e[f]=v.start,c&&(v.end=v.start,v.start=f==="width"||f==="height"?1:0))}}function ee(n,t){var r,f,e,u,o;for(r in n)if(f=i.camelCase(r),e=t[f],u=n[r],i.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function ou(n,t,r){var e,o,s=0,l=pt.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var s=d||fu(),t=Math.max(0,u.startTime+u.duration-s),h=t/u.duration||0,i=1-h,r=0,e=u.tweens.length;r<e;r++)u.tweens[r].run(i);return f.notifyWith(n,[u,i,t]),i<1&&e?t:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{}},r),originalProperties:t,originalOptions:r,startTime:d||fu(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;i<r;i++)u.tweens[i].run(1);return t?f.resolveWith(n,[u,t]):f.rejectWith(n,[u,t]),this}}),h=u.props;for(ee(h,u.opts.specialEasing);s<l;s++)if(e=pt[s].call(u,n,h,u.opts),e)return e;return i.map(h,eu,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function pu(n){return function(t,r){typeof t!="string"&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(c)||[];if(i.isFunction(r))while(u=e[f++])u[0]==="+"?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function wu(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);if(typeof s!="string"||o||f[s]){if(o)return!(h=s)}else return t.dataTypes.unshift(s),e(s),!1}),h}var f={},o=n===ci;return e(t.dataTypes[0])||!f["*"]&&e("*")}function ai(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)t[r]!==undefined&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function ae(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;r[0]==="*";)r.shift(),e===undefined&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return f!==r[0]&&r.unshift(f),i[f]}function ve(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift(),u)if(u==="*")u=e;else if(e!=="*"&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]],f)){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}function vi(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||pe.test(n)?u(n,i):vi(n+"["+(typeof i=="object"?t:"")+"]",i,r,u)});else if(r||i.type(t)!=="object")u(n,t);else for(f in t)vi(n+"["+f+"]",t[f],r,u)}function ku(n){return i.isWindow(n)?n:n.nodeType===9&&n.defaultView}var w=[],a=w.slice,bi=w.concat,ti=w.push,ft=w.indexOf,et={},nf=et.toString,ii=et.hasOwnProperty,f={},u=n.document,ki="2.1.4",i=function(n,t){return new i.fn.init(n,t)},tf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,rf=/^-ms-/,uf=/-([\da-z])/gi,ff=function(n,t){return t.toUpperCase()},y,ot,nr,tr,ir,rr,c,fi,st,l,b,at,oi,oe,su,g,hu,bt,cu,kt,dt,yi,ni,pi,wi,du,gu;i.fn=i.prototype={jquery:ki,constructor:i,selector:"",length:0,toArray:function(){return a.call(this)},get:function(n){return n!=null?n<0?this[n+this.length]:this[n]:a.call(this)},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t.context=this.context,t},each:function(n,t){return i.each(this,n,t)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(t>=0&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:ti,sort:w.sort,splice:w.splice};i.extend=i.fn.extend=function(){var e,f,r,t,o,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for(typeof n=="boolean"&&(h=n,n=arguments[u]||{},u++),typeof n=="object"||i.isFunction(n)||(n={}),u===c&&(n=this,u--);u<c;u++)if((e=arguments[u])!=null)for(f in e)(r=n[f],t=e[f],n!==t)&&(h&&t&&(i.isPlainObject(t)||(o=i.isArray(t)))?(o?(o=!1,s=r&&i.isArray(r)?r:[]):s=r&&i.isPlainObject(r)?r:{},n[f]=i.extend(h,s,t)):t!==undefined&&(n[f]=t));return n};i.extend({expando:"jQuery"+(ki+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isFunction:function(n){return i.type(n)==="function"},isArray:Array.isArray,isWindow:function(n){return n!=null&&n===n.window},isNumeric:function(n){return!i.isArray(n)&&n-parseFloat(n)+1>=0},isPlainObject:function(n){return i.type(n)!=="object"||n.nodeType||i.isWindow(n)?!1:n.constructor&&!ii.call(n.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},type:function(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?et[nf.call(n)]||"object":typeof n},globalEval:function(n){var t,r=eval;n=i.trim(n);n&&(n.indexOf("use strict")===1?(t=u.createElement("script"),t.text=n,u.head.appendChild(t).parentNode.removeChild(t)):r(n))},camelCase:function(n){return n.replace(rf,"ms-").replace(uf,ff)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t,i){var u,r=0,f=n.length,e=ri(n);if(i){if(e){for(;r<f;r++)if(u=t.apply(n[r],i),u===!1)break}else for(r in n)if(u=t.apply(n[r],i),u===!1)break}else if(e){for(;r<f;r++)if(u=t.call(n[r],r,n[r]),u===!1)break}else for(r in n)if(u=t.call(n[r],r,n[r]),u===!1)break;return n},trim:function(n){return n==null?"":(n+"").replace(tf,"")},makeArray:function(n,t){var r=t||[];return n!=null&&(ri(Object(n))?i.merge(r,typeof n=="string"?[n]:n):ti.call(r,n)),r},inArray:function(n,t,i){return t==null?-1:ft.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;i<u;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;r<e;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var u,r=0,e=n.length,o=ri(n),f=[];if(o)for(;r<e;r++)u=t(n[r],r,i),u!=null&&f.push(u);else for(r in n)u=t(n[r],r,i),u!=null&&f.push(u);return bi.apply([],f)},guid:1,proxy:function(n,t){var u,f,r;return(typeof t=="string"&&(u=n[t],t=n,n=u),!i.isFunction(n))?undefined:(f=a.call(arguments,2),r=function(){return n.apply(t||this,f.concat(a.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r)},now:Date.now,support:f});i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(n,t){et["[object "+t+"]"]=t.toLowerCase()});y=function(n){function r(n,t,i,r){var p,s,a,c,w,y,d,v,nt,g;if((t?t.ownerDocument||t:h)!==o&&k(t),t=t||o,i=i||[],c=t.nodeType,typeof n!="string"||!n||c!==1&&c!==9&&c!==11)return i;if(!r&&l){if(c!==11&&(p=hr.exec(n)))if(a=p[1]){if(c===9)if(s=t.getElementById(a),s&&s.parentNode){if(s.id===a)return i.push(s),i}else return i;else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(a))&&et(t,s)&&s.id===a)return i.push(s),i}else{if(p[2])return b.apply(i,t.getElementsByTagName(n)),i;if((a=p[3])&&u.getElementsByClassName)return b.apply(i,t.getElementsByClassName(a)),i}if(u.qsa&&(!e||!e.test(n))){if(v=d=f,nt=t,g=c!==1&&n,c===1&&t.nodeName.toLowerCase()!=="object"){for(y=ft(n),(d=t.getAttribute("id"))?v=d.replace(cr,"\\$&"):t.setAttribute("id",v),v="[id='"+v+"'] ",w=y.length;w--;)y[w]=v+vt(y[w]);nt=dt.test(n)&&ti(t.parentNode)||t;g=y.join(",")}if(g)try{return b.apply(i,nt.querySelectorAll(g)),i}catch(tt){}finally{d||t.removeAttribute("id")}}}return oi(n.replace(lt,"$1"),t,i,r)}function gt(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function c(n){return n[f]=!0,n}function v(n){var t=o.createElement("div");try{return!!n(t)}catch(i){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ni(n,i){for(var u=n.split("|"),r=n.length;r--;)t.attrHandle[u[r]]=i}function wi(n,t){var i=t&&n,r=i&&n.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||li)-(~n.sourceIndex||li);if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function lr(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function ar(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function tt(n){return c(function(t){return t=+t,c(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ti(n){return n&&typeof n.getElementsByTagName!="undefined"&&n}function bi(){}function vt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function ii(n,t,i){var r=t.dir,u=i&&r==="parentNode",e=ki++;return t.first?function(t,i,f){while(t=t[r])if(t.nodeType===1||u)return n(t,i,f)}:function(t,i,o){var s,h,c=[a,e];if(o){while(t=t[r])if((t.nodeType===1||u)&&n(t,i,o))return!0}else while(t=t[r])if(t.nodeType===1||u){if(h=t[f]||(t[f]={}),(s=h[r])&&s[0]===a&&s[1]===e)return c[2]=s[2];if(h[r]=c,c[2]=n(t,i,o))return!0}}}function ri(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function vr(n,t,i){for(var u=0,f=t.length;u<f;u++)r(n,t[u],i);return i}function yt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=t!=null;f<s;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function ui(n,t,i,r,u,e){return r&&!r[f]&&(r=ui(r)),u&&!u[f]&&(u=ui(u,e)),c(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,k=f||vr(t||"*",o.nodeType?[o]:o,[]),v=n&&(f||!t)?yt(k,p,n,o,s):k,h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=yt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=yt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):b.apply(e,h)})}function fi(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=ii(function(n){return n===o},c,!0),a=ii(function(n){return nt(o,n)>-1},c,!0),e=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];i<s;i++)if(u=t.relative[n[i].type])e=[ii(ri(e),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[f]){for(r=++i;r<s;r++)if(t.relative[n[r].type])break;return ui(i>1&&ri(e),i>1&&vt(n.slice(0,i-1).concat({value:n[i-2].type===" "?"*":""})).replace(lt,"$1"),u,i<r&&fi(n.slice(i,r)),r<s&&fi(n=n.slice(r)),r<s&&vt(n))}e.push(u)}return ri(e)}function yr(n,i){var u=i.length>0,f=n.length>0,e=function(e,s,h,c,l){var y,d,w,k=0,v="0",g=e&&[],p=[],nt=ht,tt=e||f&&t.find.TAG("*",l),it=a+=nt==null?1:Math.random()||.1,rt=tt.length;for(l&&(ht=s!==o&&s);v!==rt&&(y=tt[v])!=null;v++){if(f&&y){for(d=0;w=n[d++];)if(w(y,s,h)){c.push(y);break}l&&(a=it)}u&&((y=!w&&y)&&k--,e&&g.push(y))}if(k+=v,u&&v!==k){for(d=0;w=i[d++];)w(g,p,s,h);if(e){if(k>0)while(v--)g[v]||p[v]||(p[v]=gi.call(c));p=yt(p)}b.apply(c,p);l&&!e&&p.length>0&&k+i.length>1&&r.uniqueSort(c)}return l&&(a=it,ht=nt),g};return u?c(e):e}var it,u,t,st,ei,ft,pt,oi,ht,w,rt,k,o,s,l,e,d,ct,et,f="sizzle"+1*new Date,h=n.document,a=0,ki=0,si=gt(),hi=gt(),ci=gt(),wt=function(n,t){return n===t&&(rt=!0),0},li=-2147483648,di={}.hasOwnProperty,g=[],gi=g.pop,nr=g.push,b=g.push,ai=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},bt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",i="[\\x20\\t\\r\\n\\f]",ut="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",vi=ut.replace("w","w#"),yi="\\["+i+"*("+ut+")(?:"+i+"*([*^$|!~]?=)"+i+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+vi+"))|)"+i+"*\\]",kt=":("+ut+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+yi+")*)|.*)\\)|)",tr=new RegExp(i+"+","g"),lt=new RegExp("^"+i+"+|((?:^|[^\\\\])(?:\\\\.)*)"+i+"+$","g"),ir=new RegExp("^"+i+"*,"+i+"*"),rr=new RegExp("^"+i+"*([>+~]|"+i+")"+i+"*"),ur=new RegExp("="+i+"*([^\\]'\"]*?)"+i+"*\\]","g"),fr=new RegExp(kt),er=new RegExp("^"+vi+"$"),at={ID:new RegExp("^#("+ut+")"),CLASS:new RegExp("^\\.("+ut+")"),TAG:new RegExp("^("+ut.replace("w","w*")+")"),ATTR:new RegExp("^"+yi),PSEUDO:new RegExp("^"+kt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+i+"*(even|odd|(([+-]|)(\\d*)n|)"+i+"*(?:([+-]|)"+i+"*(\\d+)|))"+i+"*\\)|)","i"),bool:new RegExp("^(?:"+bt+")$","i"),needsContext:new RegExp("^"+i+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+i+"*((?:-\\d)?\\d*)"+i+"*\\)|)(?=[^-]|$)","i")},or=/^(?:input|select|textarea|button)$/i,sr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,hr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,dt=/[+~]/,cr=/'|\\/g,y=new RegExp("\\\\([\\da-f]{1,6}"+i+"?|("+i+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)},pi=function(){k()};try{b.apply(g=ai.call(h.childNodes),h.childNodes);g[h.childNodes.length].nodeType}catch(pr){b={apply:g.length?function(n,t){nr.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}u=r.support={};ei=r.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1};k=r.setDocument=function(n){var a,c,r=n?n.ownerDocument||n:h;return r===o||r.nodeType!==9||!r.documentElement?o:(o=r,s=r.documentElement,c=r.defaultView,c&&c!==c.top&&(c.addEventListener?c.addEventListener("unload",pi,!1):c.attachEvent&&c.attachEvent("onunload",pi)),l=!ei(r),u.attributes=v(function(n){return n.className="i",!n.getAttribute("className")}),u.getElementsByTagName=v(function(n){return n.appendChild(r.createComment("")),!n.getElementsByTagName("*").length}),u.getElementsByClassName=ot.test(r.getElementsByClassName),u.getById=v(function(n){return s.appendChild(n).id=f,!r.getElementsByName||!r.getElementsByName(f).length}),u.getById?(t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&l){var i=t.getElementById(n);return i&&i.parentNode?[i]:[]}},t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}}):(delete t.find.ID,t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i=typeof n.getAttributeNode!="undefined"&&n.getAttributeNode("id");return i&&i.value===t}}),t.find.TAG=u.getElementsByTagName?function(n,t){return typeof t.getElementsByTagName!="undefined"?t.getElementsByTagName(n):u.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if(n==="*"){while(i=u[f++])i.nodeType===1&&r.push(i);return r}return u},t.find.CLASS=u.getElementsByClassName&&function(n,t){if(l)return t.getElementsByClassName(n)},d=[],e=[],(u.qsa=ot.test(r.querySelectorAll))&&(v(function(n){s.appendChild(n).innerHTML="<a id='"+f+"'><\/a><select id='"+f+"-\f]' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&e.push("[*^$]="+i+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||e.push("\\["+i+"*(?:value|"+bt+")");n.querySelectorAll("[id~="+f+"-]").length||e.push("~=");n.querySelectorAll(":checked").length||e.push(":checked");n.querySelectorAll("a#"+f+"+*").length||e.push(".#.+[+~]")}),v(function(n){var t=r.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&e.push("name"+i+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length||e.push(":enabled",":disabled");n.querySelectorAll("*,:x");e.push(",.*:")})),(u.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&v(function(n){u.disconnectedMatch=ct.call(n,"div");ct.call(n,"[s!='']:x");d.push("!=",kt)}),e=e.length&&new RegExp(e.join("|")),d=d.length&&new RegExp(d.join("|")),a=ot.test(s.compareDocumentPosition),et=a||ot.test(s.contains)?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&(r.contains?r.contains(i):n.compareDocumentPosition&&n.compareDocumentPosition(i)&16))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},wt=a?function(n,t){if(n===t)return rt=!0,0;var i=!n.compareDocumentPosition-!t.compareDocumentPosition;return i?i:(i=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,i&1||!u.sortDetached&&t.compareDocumentPosition(n)===i)?n===r||n.ownerDocument===h&&et(h,n)?-1:t===r||t.ownerDocument===h&&et(h,t)?1:w?nt(w,n)-nt(w,t):0:i&4?-1:1}:function(n,t){if(n===t)return rt=!0,0;var i,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(o&&s){if(o===s)return wi(n,t)}else return n===r?-1:t===r?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;for(i=n;i=i.parentNode;)f.unshift(i);for(i=t;i=i.parentNode;)e.unshift(i);while(f[u]===e[u])u++;return u?wi(f[u],e[u]):f[u]===h?-1:e[u]===h?1:0},r)};r.matches=function(n,t){return r(n,null,null,t)};r.matchesSelector=function(n,t){if((n.ownerDocument||n)!==o&&k(n),t=t.replace(ur,"='$1']"),u.matchesSelector&&l&&(!d||!d.test(t))&&(!e||!e.test(t)))try{var i=ct.call(n,t);if(i||u.disconnectedMatch||n.document&&n.document.nodeType!==11)return i}catch(f){}return r(t,o,null,[n]).length>0};r.contains=function(n,t){return(n.ownerDocument||n)!==o&&k(n),et(n,t)};r.attr=function(n,i){(n.ownerDocument||n)!==o&&k(n);var f=t.attrHandle[i.toLowerCase()],r=f&&di.call(t.attrHandle,i.toLowerCase())?f(n,i,!l):undefined;return r!==undefined?r:u.attributes||!l?n.getAttribute(i):(r=n.getAttributeNode(i))&&r.specified?r.value:null};r.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};r.uniqueSort=function(n){var r,f=[],t=0,i=0;if(rt=!u.detectDuplicates,w=!u.sortStable&&n.slice(0),n.sort(wt),rt){while(r=n[i++])r===n[i]&&(t=f.push(i));while(t--)n.splice(f[t],1)}return w=null,n};st=r.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(t===3||t===4)return n.nodeValue}else while(r=n[u++])i+=st(r);return i};t=r.selectors={cacheLength:50,createPseudo:c,match:at,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1].slice(0,3)==="nth"?(n[3]||r.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*(n[3]==="even"||n[3]==="odd")),n[5]=+(n[7]+n[8]||n[3]==="odd")):n[3]&&r.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return at.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&fr.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return n==="*"?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=si[n+" "];return t||(t=new RegExp("(^|"+i+")"+n+"("+i+"|$)"))&&si(n,function(n){return t.test(typeof n.className=="string"&&n.className||typeof n.getAttribute!="undefined"&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(u){var f=r.attr(u,n);return f==null?t==="!=":t?(f+="",t==="="?f===i:t==="!="?f!==i:t==="^="?i&&f.indexOf(i)===0:t==="*="?i&&f.indexOf(i)>-1:t==="$="?i&&f.slice(-i.length)===i:t==="~="?(" "+f.replace(tr," ")+" ").indexOf(i)>-1:t==="|="?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s=n.slice(0,3)!=="nth",o=n.slice(-4)!=="last",e=t==="of-type";return r===1&&u===0?function(n){return!!n.parentNode}:function(t,i,h){var v,k,c,l,y,w,b=s!==o?"nextSibling":"previousSibling",p=t.parentNode,g=e&&t.nodeName.toLowerCase(),d=!h&&!e;if(p){if(s){while(b){for(c=t;c=c[b];)if(e?c.nodeName.toLowerCase()===g:c.nodeType===1)return!1;w=b=n==="only"&&!w&&"nextSibling"}return!0}if(w=[o?p.firstChild:p.lastChild],o&&d){for(k=p[f]||(p[f]={}),v=k[n]||[],y=v[0]===a&&v[1],l=v[0]===a&&v[2],c=y&&p.childNodes[y];c=++y&&c&&c[b]||(l=y=0)||w.pop();)if(c.nodeType===1&&++l&&c===t){k[n]=[a,y,l];break}}else if(d&&(v=(t[f]||(t[f]={}))[n])&&v[0]===a)l=v[1];else while(c=++y&&c&&c[b]||(l=y=0)||w.pop())if((e?c.nodeName.toLowerCase()===g:c.nodeType===1)&&++l&&(d&&((c[f]||(c[f]={}))[n]=[a,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var e,u=t.pseudos[n]||t.setFilters[n.toLowerCase()]||r.error("unsupported pseudo: "+n);return u[f]?u(i):u.length>1?(e=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?c(function(n,t){for(var r,f=u(n,i),e=f.length;e--;)r=nt(n,f[e]),n[r]=!(t[r]=f[e])}):function(n){return u(n,0,e)}):u}},pseudos:{not:c(function(n){var t=[],r=[],i=pt(n.replace(lt,"$1"));return i[f]?c(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:c(function(n){return function(t){return r(n,t).length>0}}),contains:c(function(n){return n=n.replace(y,p),function(t){return(t.textContent||t.innerText||st(t)).indexOf(n)>-1}}),lang:c(function(n){return er.test(n||"")||r.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=l?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||i.indexOf(n+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===o.activeElement&&(!o.hasFocus||o.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return sr.test(n.nodeName)},input:function(n){return or.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},text:function(n){var t;return n.nodeName.toLowerCase()==="input"&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()==="text")},first:tt(function(){return[0]}),last:tt(function(n,t){return[t-1]}),eq:tt(function(n,t,i){return[i<0?i+t:i]}),even:tt(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:tt(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:tt(function(n,t,i){for(var r=i<0?i+t:i;--r>=0;)n.push(r);return n}),gt:tt(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}};t.pseudos.nth=t.pseudos.eq;for(it in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[it]=lr(it);for(it in{submit:!0,reset:!0})t.pseudos[it]=ar(it);return bi.prototype=t.filters=t.pseudos,t.setFilters=new bi,ft=r.tokenize=function(n,i){var e,f,s,o,u,h,c,l=hi[n+" "];if(l)return i?0:l.slice(0);for(u=n,h=[],c=t.preFilter;u;){(!e||(f=ir.exec(u)))&&(f&&(u=u.slice(f[0].length)||u),h.push(s=[]));e=!1;(f=rr.exec(u))&&(e=f.shift(),s.push({value:e,type:f[0].replace(lt," ")}),u=u.slice(e.length));for(o in t.filter)(f=at[o].exec(u))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),u=u.slice(e.length));if(!e)break}return i?u.length:u?r.error(n):hi(n,h).slice(0)},pt=r.compile=function(n,t){var r,u=[],e=[],i=ci[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=fi(t[r]),i[f]?u.push(i):e.push(i);i=ci(n,yr(e,u));i.selector=n}return i},oi=r.select=function(n,i,r,f){var s,e,o,a,v,c=typeof n=="function"&&n,h=!f&&ft(n=c.selector||n);if(r=r||[],h.length===1){if(e=h[0]=h[0].slice(0),e.length>2&&(o=e[0]).type==="ID"&&u.getById&&i.nodeType===9&&l&&t.relative[e[1].type]){if(i=(t.find.ID(o.matches[0].replace(y,p),i)||[])[0],i)c&&(i=i.parentNode);else return r;n=n.slice(e.shift().value.length)}for(s=at.needsContext.test(n)?0:e.length;s--;){if(o=e[s],t.relative[a=o.type])break;if((v=t.find[a])&&(f=v(o.matches[0].replace(y,p),dt.test(e[0].type)&&ti(i.parentNode)||i))){if(e.splice(s,1),n=f.length&&vt(e),!n)return b.apply(r,f),r;break}}}return(c||pt(n,h))(f,i,!l,r,dt.test(n)&&ti(i.parentNode)||i),r},u.sortStable=f.split("").sort(wt).join("")===f,u.detectDuplicates=!!rt,k(),u.sortDetached=v(function(n){return n.compareDocumentPosition(o.createElement("div"))&1}),v(function(n){return n.innerHTML="<a href='#'><\/a>",n.firstChild.getAttribute("href")==="#"})||ni("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,t.toLowerCase()==="type"?1:2)}),u.attributes&&v(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),n.firstChild.getAttribute("value")===""})||ni("value",function(n,t,i){if(!i&&n.nodeName.toLowerCase()==="input")return n.defaultValue}),v(function(n){return n.getAttribute("disabled")==null})||ni(bt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),r}(n);i.find=y;i.expr=y.selectors;i.expr[":"]=i.expr.pseudos;i.unique=y.uniqueSort;i.text=y.getText;i.isXMLDoc=y.isXML;i.contains=y.contains;var di=i.expr.match.needsContext,gi=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ef=/^.[^:#\[\.,]*$/;i.filter=function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),t.length===1&&u.nodeType===1?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return n.nodeType===1}))};i.fn.extend({find:function(n){var t,u=this.length,r=[],f=this;if(typeof n!="string")return this.pushStack(i(n).filter(function(){for(t=0;t<u;t++)if(i.contains(f[t],this))return!0}));for(t=0;t<u;t++)i.find(n,f[t],r);return r=this.pushStack(u>1?i.unique(r):r),r.selector=this.selector?this.selector+" "+n:n,r},filter:function(n){return this.pushStack(ui(this,n||[],!1))},not:function(n){return this.pushStack(ui(this,n||[],!0))},is:function(n){return!!ui(this,typeof n=="string"&&di.test(n)?i(n):n||[],!1).length}});nr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;tr=i.fn.init=function(n,t){var r,f;if(!n)return this;if(typeof n=="string"){if(r=n[0]==="<"&&n[n.length-1]===">"&&n.length>=3?[null,n,null]:nr.exec(n),r&&(r[1]||!t)){if(r[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),gi.test(r[1])&&i.isPlainObject(t))for(r in t)i.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return f=u.getElementById(r[2]),f&&f.parentNode&&(this.length=1,this[0]=f),this.context=u,this.selector=n,this}return!t||t.jquery?(t||ot).find(n):this.constructor(t).find(n)}return n.nodeType?(this.context=this[0]=n,this.length=1,this):i.isFunction(n)?typeof ot.ready!="undefined"?ot.ready(n):n(i):(n.selector!==undefined&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))};tr.prototype=i.fn;ot=i(u);ir=/^(?:parents|prev(?:Until|All))/;rr={children:!0,contents:!0,next:!0,prev:!0};i.extend({dir:function(n,t,r){for(var u=[],f=r!==undefined;(n=n[t])&&n.nodeType!==9;)if(n.nodeType===1){if(f&&i(n).is(r))break;u.push(n)}return u},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i}});i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;n<r;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=di.test(n)||typeof n!="string"?i(n,t||this.context):0;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:r.nodeType===1&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.unique(u):u)},index:function(n){return n?typeof n=="string"?ft.call(i(n),this[0]):ft.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.unique(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return ur(n,"nextSibling")},prev:function(n){return ur(n,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling((n.parentNode||{}).firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return n.contentDocument||i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return n.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),this.length>1&&(rr[n]||i.unique(f),ir.test(n)&&f.reverse()),this.pushStack(f)}});c=/\S+/g;fi={};i.Callbacks=function(n){n=typeof n=="string"?fi[n]||of(n):i.extend({},n);var u,h,o,c,f,e,t=[],r=!n.once&&[],l=function(i){for(u=n.memory&&i,h=!0,e=c||0,c=0,f=t.length,o=!0;t&&e<f;e++)if(t[e].apply(i[0],i[1])===!1&&n.stopOnFalse){u=!1;break}o=!1;t&&(r?r.length&&l(r.shift()):u?t=[]:s.disable())},s={add:function(){if(t){var r=t.length;(function e(r){i.each(r,function(r,u){var f=i.type(u);f==="function"?n.unique&&s.has(u)||t.push(u):u&&u.length&&f!=="string"&&e(u)})})(arguments);o?f=t.length:u&&(c=r,l(u))}return this},remove:function(){return t&&i.each(arguments,function(n,r){for(var u;(u=i.inArray(r,t,u))>-1;)t.splice(u,1),o&&(u<=f&&f--,u<=e&&e--)}),this},has:function(n){return n?i.inArray(n,t)>-1:!!(t&&t.length)},empty:function(){return t=[],f=0,this},disable:function(){return t=r=u=undefined,this},disabled:function(){return!t},lock:function(){return r=undefined,u||s.disable(),this},locked:function(){return!r},fireWith:function(n,i){return t&&(!h||r)&&(i=i||[],i=[n,i.slice?i.slice():i],o?r.push(i):l(i)),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!h}};return s};i.extend({Deferred:function(n){var u=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],f="pending",r={state:function(){return f},always:function(){return t.done(arguments).fail(arguments),this},then:function(){var n=arguments;return i.Deferred(function(f){i.each(u,function(u,e){var o=i.isFunction(n[u])&&n[u];t[e[1]](function(){var n=o&&o.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().done(f.resolve).fail(f.reject).progress(f.notify):f[e[0]+"With"](this===r?f.promise():this,o?[n]:arguments)})});n=null}).promise()},promise:function(n){return n!=null?i.extend(n,r):r}},t={};return r.pipe=r.then,i.each(u,function(n,i){var e=i[2],o=i[3];r[i[1]]=e.add;o&&e.add(function(){f=o},u[n^1][2].disable,u[2][2].lock);t[i[0]]=function(){return t[i[0]+"With"](this===t?r:this,arguments),this};t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var t=0,u=a.call(arguments),r=u.length,e=r!==1||n&&i.isFunction(n.promise)?r:0,f=e===1?n:i.Deferred(),h=function(n,t,i){return function(r){t[n]=this;i[n]=arguments.length>1?a.call(arguments):r;i===o?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},o,c,s;if(r>1)for(o=new Array(r),c=new Array(r),s=new Array(r);t<r;t++)u[t]&&i.isFunction(u[t].promise)?u[t].promise().done(h(t,s,u)).fail(f.reject).progress(h(t,c,o)):--e;return e||f.resolveWith(s,u),f.promise()}});i.fn.ready=function(n){return i.ready.promise().done(n),this};i.extend({isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){(n===!0?--i.readyWait:i.isReady)||(i.isReady=!0,n!==!0&&--i.readyWait>0)||(st.resolveWith(u,[i]),i.fn.triggerHandler&&(i(u).triggerHandler("ready"),i(u).off("ready")))}});i.ready.promise=function(t){return st||(st=i.Deferred(),u.readyState==="complete"?setTimeout(i.ready):(u.addEventListener("DOMContentLoaded",ht,!1),n.addEventListener("load",ht,!1))),st.promise(t)};i.ready.promise();l=i.access=function(n,t,r,u,f,e,o){var s=0,c=n.length,h=r==null;if(i.type(r)==="object"){f=!0;for(s in r)i.access(n,t,s,r[s],!0,e,o)}else if(u!==undefined&&(f=!0,i.isFunction(u)||(o=!0),h&&(o?(t.call(n,u),t=null):(h=t,t=function(n,t,r){return h.call(i(n),r)})),t))for(;s<c;s++)t(n[s],r,o?u:u.call(n[s],s,t(n[s],r)));return f?n:h?t.call(n):c?t(n[0],r):e};i.acceptData=function(n){return n.nodeType===1||n.nodeType===9||!+n.nodeType};v.uid=1;v.accepts=i.acceptData;v.prototype={key:function(n){if(!v.accepts(n))return 0;var r={},t=n[this.expando];if(!t){t=v.uid++;try{r[this.expando]={value:t};Object.defineProperties(n,r)}catch(u){r[this.expando]=t;i.extend(n,r)}}return this.cache[t]||(this.cache[t]={}),t},set:function(n,t,r){var f,e=this.key(n),u=this.cache[e];if(typeof t=="string")u[t]=r;else if(i.isEmptyObject(u))i.extend(this.cache[e],t);else for(f in t)u[f]=t[f];return u},get:function(n,t){var i=this.cache[this.key(n)];return t===undefined?i:i[t]},access:function(n,t,r){var u;return t===undefined||t&&typeof t=="string"&&r===undefined?(u=this.get(n,t),u!==undefined?u:this.get(n,i.camelCase(t))):(this.set(n,t,r),r!==undefined?r:t)},remove:function(n,t){var u,r,f,o=this.key(n),e=this.cache[o];if(t===undefined)this.cache[o]={};else for(i.isArray(t)?r=t.concat(t.map(i.camelCase)):(f=i.camelCase(t),t in e?r=[t,f]:(r=f,r=r in e?[r]:r.match(c)||[])),u=r.length;u--;)delete e[r[u]]},hasData:function(n){return!i.isEmptyObject(this.cache[n[this.expando]]||{})},discard:function(n){n[this.expando]&&delete this.cache[n[this.expando]]}};var r=new v,e=new v,sf=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,hf=/([A-Z])/g;i.extend({hasData:function(n){return e.hasData(n)||r.hasData(n)},data:function(n,t,i){return e.access(n,t,i)},removeData:function(n,t){e.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var o,f,s,u=this[0],h=u&&u.attributes;if(n===undefined){if(this.length&&(s=e.get(u),u.nodeType===1&&!r.get(u,"hasDataAttrs"))){for(o=h.length;o--;)h[o]&&(f=h[o].name,f.indexOf("data-")===0&&(f=i.camelCase(f.slice(5)),fr(u,f,s[f])));r.set(u,"hasDataAttrs",!0)}return s}return typeof n=="object"?this.each(function(){e.set(this,n)}):l(this,function(t){var r,f=i.camelCase(n);if(u&&t===undefined)return(r=e.get(u,n),r!==undefined)?r:(r=e.get(u,f),r!==undefined)?r:(r=fr(u,f,undefined),r!==undefined)?r:void 0;this.each(function(){var i=e.get(this,f);e.set(this,f,t);n.indexOf("-")!==-1&&i!==undefined&&e.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){e.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||i.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};u==="inprogress"&&(u=r.shift(),e--);u&&(t==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return(typeof n!="string"&&(t=n,n="fx",r--),arguments.length<r)?i.queue(this[0],n):t===undefined?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);n==="fx"&&r[0]!=="inprogress"&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for(typeof n!="string"&&(t=n,n=undefined),n=n||"fx";s--;)u=r.get(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var ct=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,p=["Top","Right","Bottom","Left"],tt=function(n,t){return n=t||n,i.css(n,"display")==="none"||!i.contains(n.ownerDocument,n)},er=/^(?:checkbox|radio)$/i;(function(){var i=u.createDocumentFragment(),n=i.appendChild(u.createElement("div")),t=u.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);f.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="<textarea>x<\/textarea>";f.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue})();b=typeof undefined;f.focusinBubbles="onfocusin"in n;var cf=/^key/,lf=/^(?:mouse|pointer|contextmenu)|click/,or=/^(?:focusinfocus|focusoutblur)$/,sr=/^([^.]*)(?:\.(.+)|)$/;i.event={global:{},add:function(n,t,u,f,e){var v,y,w,p,k,h,s,l,o,d,g,a=r.get(n);if(a)for(u.handler&&(v=u,u=v.handler,e=v.selector),u.guid||(u.guid=i.guid++),(p=a.events)||(p=a.events={}),(y=a.handle)||(y=a.handle=function(t){return typeof i!==b&&i.event.triggered!==t.type?i.event.dispatch.apply(n,arguments):undefined}),t=(t||"").match(c)||[""],k=t.length;k--;)(w=sr.exec(t[k])||[],o=g=w[1],d=(w[2]||"").split(".").sort(),o)&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},h=i.extend({type:o,origType:g,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:d.join(".")},v),(l=p[o])||(l=p[o]=[],l.delegateCount=0,s.setup&&s.setup.call(n,f,d,y)!==!1||n.addEventListener&&n.addEventListener(o,y,!1)),s.add&&(s.add.call(n,h),h.handler.guid||(h.handler.guid=u.guid)),e?l.splice(l.delegateCount++,0,h):l.push(h),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var p,k,h,v,w,s,l,a,o,b,d,y=r.hasData(n)&&r.get(n);if(y&&(v=y.events)){for(t=(t||"").match(c)||[""],w=t.length;w--;){if(h=sr.exec(t[w])||[],o=d=h[1],b=(h[2]||"").split(".").sort(),!o){for(o in v)i.event.remove(n,o+t[w],u,f,!0);continue}for(l=i.event.special[o]||{},o=(f?l.delegateType:l.bindType)||o,a=v[o]||[],h=h[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=p=a.length;p--;)s=a[p],(e||d===s.origType)&&(!u||u.guid===s.guid)&&(!h||h.test(s.namespace))&&(!f||f===s.selector||f==="**"&&s.selector)&&(a.splice(p,1),s.selector&&a.delegateCount--,l.remove&&l.remove.call(n,s));k&&!a.length&&(l.teardown&&l.teardown.call(n,b,y.handle)!==!1||i.removeEvent(n,o,y.handle),delete v[o])}i.isEmptyObject(v)&&(delete y.handle,r.remove(n,"events"))}},trigger:function(t,f,e,o){var w,s,c,b,a,v,l,p=[e||u],h=ii.call(t,"type")?t.type:t,y=ii.call(t,"namespace")?t.namespace.split("."):[];if((s=c=e=e||u,e.nodeType!==3&&e.nodeType!==8)&&!or.test(h+i.event.triggered)&&(h.indexOf(".")>=0&&(y=h.split("."),h=y.shift(),y.sort()),a=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,typeof t=="object"&&t),t.isTrigger=o?2:3,t.namespace=y.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=e),f=f==null?[t]:i.makeArray(f,[t]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(b=l.delegateType||h,or.test(b+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||u)&&p.push(c.defaultView||c.parentWindow||n)}for(w=0;(s=p[w++])&&!t.isPropagationStopped();)t.type=w>1?b:l.bindType||h,v=(r.get(s,"events")||{})[t.type]&&r.get(s,"handle"),v&&v.apply(s,f),v=a&&s[a],v&&v.apply&&i.acceptData(s)&&(t.result=v.apply(s,f),t.result===!1&&t.preventDefault());return t.type=h,o||t.isDefaultPrevented()||(!l._default||l._default.apply(p.pop(),f)===!1)&&i.acceptData(e)&&a&&i.isFunction(e[h])&&!i.isWindow(e)&&(c=e[a],c&&(e[a]=null),i.event.triggered=h,e[h](),i.event.triggered=undefined,c&&(e[a]=c)),t.result}},dispatch:function(n){n=i.event.fix(n);var o,s,e,u,t,h=[],c=a.call(arguments),l=(r.get(this,"events")||{})[n.type]||[],f=i.event.special[n.type]||{};if(c[0]=n,n.delegateTarget=this,!f.preDispatch||f.preDispatch.call(this,n)!==!1){for(h=i.event.handlers.call(this,n,l),o=0;(u=h[o++])&&!n.isPropagationStopped();)for(n.currentTarget=u.elem,s=0;(t=u.handlers[s++])&&!n.isImmediatePropagationStopped();)(!n.namespace_re||n.namespace_re.test(t.namespace))&&(n.handleObj=t,n.data=t.data,e=((i.event.special[t.origType]||{}).handle||t.handler).apply(u.elem,c),e!==undefined&&(n.result=e)===!1&&(n.preventDefault(),n.stopPropagation()));return f.postDispatch&&f.postDispatch.call(this,n),n.result}},handlers:function(n,t){var e,u,f,o,h=[],s=t.delegateCount,r=n.target;if(s&&r.nodeType&&(!n.button||n.type!=="click"))for(;r!==this;r=r.parentNode||this)if(r.disabled!==!0||n.type!=="click"){for(u=[],e=0;e<s;e++)o=t[e],f=o.selector+" ",u[f]===undefined&&(u[f]=o.needsContext?i(f,this).index(r)>=0:i.find(f,this,null,[r]).length),u[f]&&u.push(o);u.length&&h.push({elem:r,handlers:u})}return s<t.length&&h.push({elem:this,handlers:t.slice(s)}),h},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return n.which==null&&(n.which=t.charCode!=null?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,t){var e,i,r,f=t.button;return n.pageX==null&&t.clientX!=null&&(e=n.target.ownerDocument||u,i=e.documentElement,r=e.body,n.pageX=t.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),n.pageY=t.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),n.which||f===undefined||(n.which=f&1?1:f&2?3:f&4?2:0),n}},fix:function(n){if(n[i.expando])return n;var f,e,o,r=n.type,s=n,t=this.fixHooks[r];for(t||(this.fixHooks[r]=t=lf.test(r)?this.mouseHooks:cf.test(r)?this.keyHooks:{}),o=t.props?this.props.concat(t.props):this.props,n=new i.Event(s),f=o.length;f--;)e=o[f],n[e]=s[e];return n.target||(n.target=u),n.target.nodeType===3&&(n.target=n.target.parentNode),t.filter?t.filter(n,s):n},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==hr()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===hr()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(this.type==="checkbox"&&this.click&&i.nodeName(this,"input"))return this.click(),!1},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){n.result!==undefined&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}},simulate:function(n,t,r,u){var f=i.extend(new i.Event,r,{type:n,isSimulated:!0,originalEvent:{}});u?i.event.trigger(f,null,t):i.event.dispatch.call(t,f);f.isDefaultPrevented()&&r.preventDefault()}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i,!1)};i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.defaultPrevented===undefined&&n.returnValue===!1?lt:k):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||i.now();this[i.expando]=!0};i.Event.prototype={isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=lt;n&&n.preventDefault&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=lt;n&&n.stopPropagation&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=lt;n&&n.stopImmediatePropagation&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});f.focusinBubbles||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n),!0)};i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});i.fn.extend({on:function(n,t,r,u,f){var e,o;if(typeof n=="object"){typeof t!="string"&&(r=r||t,t=undefined);for(o in n)this.on(o,t,r,n[o],f);return this}if(r==null&&u==null?(u=t,r=t=undefined):u==null&&(typeof t=="string"?(u=r,r=undefined):(u=r,r=t,t=undefined)),u===!1)u=k;else if(!u)return this;return f===1&&(e=u,u=function(n){return i().off(n),e.apply(this,arguments)},u.guid=e.guid||(e.guid=i.guid++)),this.each(function(){i.event.add(this,n,u,r,t)})},one:function(n,t,i,r){return this.on(n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if(typeof n=="object"){for(f in n)this.off(f,t,n[f]);return this}return(t===!1||typeof t=="function")&&(r=t,t=undefined),r===!1&&(r=k),this.each(function(){i.event.remove(this,n,r,t)})},trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});var cr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,lr=/<([\w:]+)/,af=/<|&#?\w+;/,vf=/<(?:script|style|link)/i,yf=/checked\s*(?:[^=]|=\s*.checked.)/i,ar=/^$|\/(?:java|ecma)script/i,pf=/^true\/(.*)/,wf=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,h={option:[1,"<select multiple='multiple'>","<\/select>"],thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};h.optgroup=h.option;h.tbody=h.tfoot=h.colgroup=h.caption=h.thead;h.th=h.td;i.extend({clone:function(n,t,r){var u,c,s,e,h=n.cloneNode(!0),l=i.contains(n.ownerDocument,n);if(!f.noCloneChecked&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(e=o(h),s=o(n),u=0,c=s.length;u<c;u++)df(s[u],e[u]);if(t)if(r)for(s=s||o(n),e=e||o(h),u=0,c=s.length;u<c;u++)yr(s[u],e[u]);else yr(n,h);return e=o(h,"script"),e.length>0&&ei(e,!l&&o(n,"script")),h},buildFragment:function(n,t,r,u){for(var f,e,y,l,p,a,s=t.createDocumentFragment(),v=[],c=0,w=n.length;c<w;c++)if(f=n[c],f||f===0)if(i.type(f)==="object")i.merge(v,f.nodeType?[f]:f);else if(af.test(f)){for(e=e||s.appendChild(t.createElement("div")),y=(lr.exec(f)||["",""])[1].toLowerCase(),l=h[y]||h._default,e.innerHTML=l[1]+f.replace(cr,"<$1><\/$2>")+l[2],a=l[0];a--;)e=e.lastChild;i.merge(v,e.childNodes);e=s.firstChild;e.textContent=""}else v.push(t.createTextNode(f));for(s.textContent="",c=0;f=v[c++];)if((!u||i.inArray(f,u)===-1)&&(p=i.contains(f.ownerDocument,f),e=o(s.appendChild(f),"script"),p&&ei(e),r))for(a=0;f=e[a++];)ar.test(f.type||"")&&r.push(f);return s},cleanData:function(n){for(var f,t,o,u,h=i.event.special,s=0;(t=n[s])!==undefined;s++){if(i.acceptData(t)&&(u=t[r.expando],u&&(f=r.cache[u]))){if(f.events)for(o in f.events)h[o]?i.event.remove(t,o):i.removeEvent(t,o,f.handle);r.cache[u]&&delete r.cache[u]}delete e.cache[t[e.expando]]}}});i.fn.extend({text:function(n){return l(this,function(n){return n===undefined?i.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,n,arguments.length)},append:function(){return this.domManip(arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=vr(this,n);t.appendChild(n)}})},prepend:function(){return this.domManip(arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=vr(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},remove:function(n,t){for(var r,f=n?i.filter(n,this):this,u=0;(r=f[u])!=null;u++)t||r.nodeType!==1||i.cleanData(o(r)),r.parentNode&&(t&&i.contains(r.ownerDocument,r)&&ei(o(r,"script")),r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;(n=this[t])!=null;t++)n.nodeType===1&&(i.cleanData(o(n,!1)),n.textContent="");return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return l(this,function(n){var t=this[0]||{},r=0,u=this.length;if(n===undefined&&t.nodeType===1)return t.innerHTML;if(typeof n=="string"&&!vf.test(n)&&!h[(lr.exec(n)||["",""])[1].toLowerCase()]){n=n.replace(cr,"<$1><\/$2>");try{for(;r<u;r++)t=this[r]||{},t.nodeType===1&&(i.cleanData(o(t,!1)),t.innerHTML=n);t=0}catch(f){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=arguments[0];return this.domManip(arguments,function(t){n=this.parentNode;i.cleanData(o(this));n&&n.replaceChild(t,this)}),n&&(n.length||n.nodeType)?this:this.remove()},detach:function(n){return this.remove(n,!0)},domManip:function(n,t){n=bi.apply([],n);var h,v,s,c,u,y,e=0,l=this.length,w=this,b=l-1,a=n[0],p=i.isFunction(a);if(p||l>1&&typeof a=="string"&&!f.checkClone&&yf.test(a))return this.each(function(i){var r=w.eq(i);p&&(n[0]=a.call(this,i,r.html()));r.domManip(n,t)});if(l&&(h=i.buildFragment(n,this[0].ownerDocument,!1,this),v=h.firstChild,h.childNodes.length===1&&(h=v),v)){for(s=i.map(o(h,"script"),bf),c=s.length;e<l;e++)u=h,e!==b&&(u=i.clone(u,!0,!0),c&&i.merge(s,o(u,"script"))),t.call(this[e],u,e);if(c)for(y=s[s.length-1].ownerDocument,i.map(s,kf),e=0;e<c;e++)u=s[e],ar.test(u.type||"")&&!r.access(u,"globalEval")&&i.contains(y,u)&&(u.src?i._evalUrl&&i._evalUrl(u.src):i.globalEval(u.textContent.replace(wf,"")))}return this}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),ti.apply(f,u.get());return this.pushStack(f)}});oi={};var wr=/^margin/,hi=new RegExp("^("+ct+")(?!px)[a-z%]+$","i"),vt=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):n.getComputedStyle(t,null)};(function(){function h(){t.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute";t.innerHTML="";e.appendChild(r);var i=n.getComputedStyle(t,null);s=i.top!=="1%";o=i.width==="4px";e.removeChild(r)}var s,o,e=u.documentElement,r=u.createElement("div"),t=u.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle=t.style.backgroundClip==="content-box",r.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",r.appendChild(t),n.getComputedStyle&&i.extend(f,{pixelPosition:function(){return h(),s},boxSizingReliable:function(){return o==null&&h(),o},reliableMarginRight:function(){var f,i=t.appendChild(u.createElement("div"));return i.style.cssText=t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",t.style.width="1px",e.appendChild(r),f=!parseFloat(n.getComputedStyle(i,null).marginRight),e.removeChild(r),t.removeChild(i),f}}))})();i.swap=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f};var gf=/^(none|table(?!-c[ea]).+)/,ne=new RegExp("^("+ct+")(.*)$","i"),te=new RegExp("^([+-])=("+ct+")","i"),ie={position:"absolute",visibility:"hidden",display:"block"},kr={letterSpacing:"0",fontWeight:"400"},dr=["Webkit","O","Moz","ms"];i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=it(n,"opacity");return i===""?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(n,t,r,u){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var o,h,e,s=i.camelCase(t),c=n.style;if(t=i.cssProps[s]||(i.cssProps[s]=gr(c,s)),e=i.cssHooks[t]||i.cssHooks[s],r!==undefined){if(h=typeof r,h==="string"&&(o=te.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(i.css(n,t)),h="number"),r==null||r!==r)return;h!=="number"||i.cssNumber[s]||(r+="px");f.clearCloneStyle||r!==""||t.indexOf("background")!==0||(c[t]="inherit");e&&"set"in e&&(r=e.set(n,r,u))===undefined||(c[t]=r)}else return e&&"get"in e&&(o=e.get(n,!1,u))!==undefined?o:c[t]}},css:function(n,t,r,u){var f,s,e,o=i.camelCase(t);return(t=i.cssProps[o]||(i.cssProps[o]=gr(n.style,o)),e=i.cssHooks[t]||i.cssHooks[o],e&&"get"in e&&(f=e.get(n,!0,r)),f===undefined&&(f=it(n,t,u)),f==="normal"&&t in kr&&(f=kr[t]),r===""||r)?(s=parseFloat(f),r===!0||i.isNumeric(s)?s||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return gf.test(i.css(n,"display"))&&n.offsetWidth===0?i.swap(n,ie,function(){return iu(n,t,u)}):iu(n,t,u)},set:function(n,r,u){var f=u&&vt(n);return nu(n,r,u?tu(n,t,u,i.css(n,"boxSizing",!1,f)==="border-box",f):0)}}});i.cssHooks.marginRight=br(f.reliableMarginRight,function(n,t){if(t)return i.swap(n,{display:"inline-block"},it,[n,"marginRight"])});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u=typeof i=="string"?i.split(" "):[i];r<4;r++)f[n+p[r]+t]=u[r]||u[r-2]||u[0];return f}};wr.test(n)||(i.cssHooks[n+t].set=nu)});i.fn.extend({css:function(n,t){return l(this,function(n,t,r){var f,e,o={},u=0;if(i.isArray(t)){for(f=vt(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return r!==undefined?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)},show:function(){return ru(this,!0)},hide:function(){return ru(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){tt(this)?i(this).show():i(this).hide()})}});i.Tween=s;s.prototype={constructor:s,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||"swing";this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=s.propHooks[this.prop];return n&&n.get?n.get(this):s.propHooks._default.get(this)},run:function(n){var t,r=s.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):s.propHooks._default.set(this),this}};s.prototype.init.prototype=s.prototype;s.propHooks={_default:{get:function(n){var t;return n.elem[n.prop]!=null&&(!n.elem.style||n.elem.style[n.prop]==null)?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),!t||t==="auto"?0:t)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.style&&(n.elem.style[i.cssProps[n.prop]]!=null||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};s.propHooks.scrollTop=s.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2}};i.fx=s.prototype.init;i.fx.step={};var d,yt,re=/^(?:toggle|show|hide)$/,uu=new RegExp("^(?:([+-])=|)("+ct+")([a-z%]*)$","i"),ue=/queueHooks$/,pt=[fe],rt={"*":[function(n,t){var f=this.createTween(n,t),s=f.cur(),u=uu.exec(t),e=u&&u[3]||(i.cssNumber[n]?"":"px"),r=(i.cssNumber[n]||e!=="px"&&+s)&&uu.exec(i.css(f.elem,n)),o=1,h=20;if(r&&r[3]!==e){e=e||r[3];u=u||[];r=+s||1;do o=o||".5",r=r/o,i.style(f.elem,n,r+e);while(o!==(o=f.cur()/s)&&o!==1&&--h)}return u&&(r=f.start=+r||+s||0,f.unit=e,f.end=u[1]?r+(u[1]+1)*u[2]:+u[2]),f}]};i.Animation=i.extend(ou,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;u<f;u++)r=n[u],rt[r]=rt[r]||[],rt[r].unshift(t)},prefilter:function(n,t){t?pt.unshift(n):pt.push(n)}});i.speed=function(n,t,r){var u=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:typeof u.duration=="number"?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,(u.queue==null||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this);u.queue&&i.dequeue(this,u.queue)},u};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(tt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=ou(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||o.queue===!1?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return typeof n!="string"&&(u=t,t=n,n=undefined),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=n!=null&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&ue.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem===this&&(n==null||o[t].queue===n)&&(o[t].anim.stop(u),s=!1,o.splice(t,1));(s||!u)&&i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;t<s;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return n==null||typeof n=="boolean"?r.apply(this,arguments):this.animate(wt(t,!0),n,i,u)}});i.each({slideDown:wt("show"),slideUp:wt("hide"),slideToggle:wt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(d=i.now();n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();d=undefined};i.fx.timer=function(n){i.timers.push(n);n()?i.fx.start():i.timers.pop()};i.fx.interval=13;i.fx.start=function(){yt||(yt=setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){clearInterval(yt);yt=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(n,t){return n=i.fx?i.fx.speeds[n]||n:n,t=t||"fx",this.queue(t,function(t,i){var r=setTimeout(t,n);i.stop=function(){clearTimeout(r)}})},function(){var n=u.createElement("input"),t=u.createElement("select"),i=t.appendChild(u.createElement("option"));n.type="checkbox";f.checkOn=n.value!=="";f.optSelected=i.selected;t.disabled=!0;f.optDisabled=!i.disabled;n=u.createElement("input");n.value="t";n.type="radio";f.radioValue=n.value==="t"}();g=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return l(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(n&&e!==3&&e!==8&&e!==2){if(typeof n.getAttribute===b)return i.prop(n,t,r);if(e===1&&i.isXMLDoc(n)||(t=t.toLowerCase(),u=i.attrHooks[t]||(i.expr.match.bool.test(t)?su:oe)),r!==undefined)if(r===null)i.removeAttr(n,t);else return u&&"set"in u&&(f=u.set(n,r,t))!==undefined?f:(n.setAttribute(t,r+""),r);else return u&&"get"in u&&(f=u.get(n,t))!==null?f:(f=i.find.attr(n,t),f==null?undefined:f)}},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(c);if(f&&n.nodeType===1)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)&&(n[u]=!1),n.removeAttribute(r)},attrHooks:{type:{set:function(n,t){if(!f.radioValue&&t==="radio"&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}}});su={set:function(n,t,r){return t===!1?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=g[t]||i.find.attr;g[t]=function(n,t,i){var u,f;return i||(f=g[t],g[t]=u,u=r(n,t,i)!=null?t.toLowerCase():null,g[t]=f),u}});hu=/^(?:input|select|textarea|button)$/i;i.fn.extend({prop:function(n,t){return l(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(n,t,r){var f,u,o,e=n.nodeType;if(n&&e!==3&&e!==8&&e!==2)return o=e!==1||!i.isXMLDoc(n),o&&(t=i.propFix[t]||t,u=i.propHooks[t]),r!==undefined?u&&"set"in u&&(f=u.set(n,r,t))!==undefined?f:n[t]=r:u&&"get"in u&&(f=u.get(n,t))!==null?f:n[t]},propHooks:{tabIndex:{get:function(n){return n.hasAttribute("tabindex")||hu.test(n.nodeName)||n.href?n.tabIndex:-1}}}});f.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});bt=/[\t\r\n\f]/g;i.fn.extend({addClass:function(n){var o,t,r,u,s,f,h=typeof n=="string"&&n,e=0,l=this.length;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(h)for(o=(n||"").match(c)||[];e<l;e++)if(t=this[e],r=t.nodeType===1&&(t.className?(" "+t.className+" ").replace(bt," "):" "),r){for(s=0;u=o[s++];)r.indexOf(" "+u+" ")<0&&(r+=u+" ");f=i.trim(r);t.className!==f&&(t.className=f)}return this},removeClass:function(n){var o,t,r,u,s,f,h=arguments.length===0||typeof n=="string"&&n,e=0,l=this.length;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,this.className))});if(h)for(o=(n||"").match(c)||[];e<l;e++)if(t=this[e],r=t.nodeType===1&&(t.className?(" "+t.className+" ").replace(bt," "):""),r){for(s=0;u=o[s++];)while(r.indexOf(" "+u+" ")>=0)r=r.replace(" "+u+" "," ");f=n?i.trim(r):"";t.className!==f&&(t.className=f)}return this},toggleClass:function(n,t){var u=typeof n;return typeof t=="boolean"&&u==="string"?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if(u==="string")for(var t,e=0,f=i(this),o=n.match(c)||[];t=o[e++];)f.hasClass(t)?f.removeClass(t):f.addClass(t);else(u===b||u==="boolean")&&(this.className&&r.set(this,"__className__",this.className),this.className=this.className||n===!1?"":r.get(this,"__className__")||"")})},hasClass:function(n){for(var i=" "+n+" ",t=0,r=this.length;t<r;t++)if(this[t].nodeType===1&&(" "+this[t].className+" ").replace(bt," ").indexOf(i)>=0)return!0;return!1}});cu=/\r/g;i.fn.extend({val:function(n){var t,r,f,u=this[0];return arguments.length?(f=i.isFunction(n),this.each(function(r){var u;this.nodeType===1&&(u=f?n.call(this,r,i(this).val()):n,u==null?u="":typeof u=="number"?u+="":i.isArray(u)&&(u=i.map(u,function(n){return n==null?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,u,"value")!==undefined||(this.value=u))})):u?(t=i.valHooks[u.type]||i.valHooks[u.nodeName.toLowerCase()],t&&"get"in t&&(r=t.get(u,"value"))!==undefined)?r:(r=u.value,typeof r=="string"?r.replace(cu,""):r==null?"":r):void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return t!=null?t:i.trim(i.text(n))}},select:{get:function(n){for(var o,t,s=n.options,r=n.selectedIndex,u=n.type==="select-one"||r<0,h=u?null:[],c=u?r+1:s.length,e=r<0?c:u?r:0;e<c;e++)if(t=s[e],(t.selected||e===r)&&(f.optDisabled?!t.disabled:t.getAttribute("disabled")===null)&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(o=i(t).val(),u)return o;h.push(o)}return h},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(r.value,e)>=0)&&(u=!0);return u||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>=0}};f.checkOn||(i.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});i.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)}});kt=i.now();dt=/\?/;i.parseJSON=function(n){return JSON.parse(n+"")};i.parseXML=function(n){var t,r;if(!n||typeof n!="string")return null;try{r=new DOMParser;t=r.parseFromString(n,"text/xml")}catch(u){t=undefined}return(!t||t.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+n),t};var se=/#.*$/,lu=/([?&])_=[^&]*/,he=/^(.*?):[ \t]*([^\r\n]*)$/mg,ce=/^(?:GET|HEAD)$/,le=/^\/\//,au=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,vu={},ci={},yu="*/".concat("*"),li=n.location.href,nt=au.exec(li.toLowerCase())||[];i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:li,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(nt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":yu,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?ai(ai(n,i.ajaxSettings),t):ai(i.ajaxSettings,n)},ajaxPrefilter:pu(vu),ajaxTransport:pu(ci),ajax:function(n,t){function p(n,t,h,c){var v,it,tt,p,nt,l=t;e!==2&&(e=2,b&&clearTimeout(b),s=undefined,w=c||"",u.readyState=n>0?4:0,v=n>=200&&n<300||n===304,h&&(p=ae(r,u,h)),p=ve(r,p,u,v),v?(r.ifModified&&(nt=u.getResponseHeader("Last-Modified"),nt&&(i.lastModified[f]=nt),nt=u.getResponseHeader("etag"),nt&&(i.etag[f]=nt)),n===204||r.type==="HEAD"?l="nocontent":n===304?l="notmodified":(l=p.state,it=p.data,tt=p.error,v=!tt)):(tt=l,(n||!l)&&(l="error",n<0&&(n=0))),u.status=n,u.statusText=(t||l)+"",v?d.resolveWith(o,[it,l,u]):d.rejectWith(o,[u,l,tt]),u.statusCode(y),y=undefined,a&&k.trigger(v?"ajaxSuccess":"ajaxError",[u,r,v?it:tt]),g.fireWith(o,[u,l]),a&&(k.trigger("ajaxComplete",[u,r]),--i.active||i.event.trigger("ajaxStop")))}typeof n=="object"&&(t=n,n=undefined);t=t||{};var s,f,w,v,b,h,a,l,r=i.ajaxSetup({},t),o=r.context||r,k=r.context&&(o.nodeType||o.jquery)?i(o):i.event,d=i.Deferred(),g=i.Callbacks("once memory"),y=r.statusCode||{},tt={},it={},e=0,rt="canceled",u={readyState:0,getResponseHeader:function(n){var t;if(e===2){if(!v)for(v={};t=he.exec(w);)v[t[1].toLowerCase()]=t[2];t=v[n.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return e===2?w:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return e||(n=it[i]=it[i]||n,tt[n]=t),this},overrideMimeType:function(n){return e||(r.mimeType=n),this},statusCode:function(n){var t;if(n)if(e<2)for(t in n)y[t]=[y[t],n[t]];else u.always(n[u.status]);return this},abort:function(n){var t=n||rt;return s&&s.abort(t),p(0,t),this}};if(d.promise(u).complete=g.add,u.success=u.done,u.error=u.fail,r.url=((n||r.url||li)+"").replace(se,"").replace(le,nt[1]+"//"),r.type=t.method||t.type||r.method||r.type,r.dataTypes=i.trim(r.dataType||"*").toLowerCase().match(c)||[""],r.crossDomain==null&&(h=au.exec(r.url.toLowerCase()),r.crossDomain=!!(h&&(h[1]!==nt[1]||h[2]!==nt[2]||(h[3]||(h[1]==="http:"?"80":"443"))!==(nt[3]||(nt[1]==="http:"?"80":"443"))))),r.data&&r.processData&&typeof r.data!="string"&&(r.data=i.param(r.data,r.traditional)),wu(vu,r,t,u),e===2)return u;a=i.event&&r.global;a&&i.active++==0&&i.event.trigger("ajaxStart");r.type=r.type.toUpperCase();r.hasContent=!ce.test(r.type);f=r.url;r.hasContent||(r.data&&(f=r.url+=(dt.test(f)?"&":"?")+r.data,delete r.data),r.cache===!1&&(r.url=lu.test(f)?f.replace(lu,"$1_="+kt++):f+(dt.test(f)?"&":"?")+"_="+kt++));r.ifModified&&(i.lastModified[f]&&u.setRequestHeader("If-Modified-Since",i.lastModified[f]),i.etag[f]&&u.setRequestHeader("If-None-Match",i.etag[f]));(r.data&&r.hasContent&&r.contentType!==!1||t.contentType)&&u.setRequestHeader("Content-Type",r.contentType);u.setRequestHeader("Accept",r.dataTypes[0]&&r.accepts[r.dataTypes[0]]?r.accepts[r.dataTypes[0]]+(r.dataTypes[0]!=="*"?", "+yu+"; q=0.01":""):r.accepts["*"]);for(l in r.headers)u.setRequestHeader(l,r.headers[l]);if(r.beforeSend&&(r.beforeSend.call(o,u,r)===!1||e===2))return u.abort();rt="abort";for(l in{success:1,error:1,complete:1})u[l](r[l]);if(s=wu(ci,r,t,u),s){u.readyState=1;a&&k.trigger("ajaxSend",[u,r]);r.async&&r.timeout>0&&(b=setTimeout(function(){u.abort("timeout")},r.timeout));try{e=1;s.send(tt,p)}catch(ut){if(e<2)p(-1,ut);else throw ut;}}else p(-1,"No Transport");return u},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,undefined,t,"script")}});i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return i.isFunction(r)&&(f=f||u,u=r,r=undefined),i.ajax({url:n,type:t,dataType:f,data:r,success:u})}});i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})};i.fn.extend({wrapAll:function(n){var t;return i.isFunction(n)?this.each(function(t){i(this).wrapAll(n.call(this,t))}):(this[0]&&(t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this)},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()}});i.expr.filters.hidden=function(n){return n.offsetWidth<=0&&n.offsetHeight<=0};i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)};var ye=/%20/g,pe=/\[\]$/,bu=/\r?\n/g,we=/^(?:submit|button|image|reset|file)$/i,be=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,u=[],f=function(n,t){t=i.isFunction(t)?t():t==null?"":t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(t===undefined&&(t=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(r in n)vi(r,n[r],t,f);return u.join("&").replace(ye,"+")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&be.test(this.nodeName)&&!we.test(n)&&(this.checked||!er.test(n))}).map(function(n,t){var r=i(this).val();return r==null?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(bu,"\r\n")}}):{name:t.name,value:r.replace(bu,"\r\n")}}).get()}});i.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(n){}};var ke=0,gt={},de={0:200,1223:204},ut=i.ajaxSettings.xhr();return n.attachEvent&&n.attachEvent("onunload",function(){for(var n in gt)gt[n]()}),f.cors=!!ut&&"withCredentials"in ut,f.ajax=ut=!!ut,i.ajaxTransport(function(n){var t;if(f.cors||ut&&!n.crossDomain)return{send:function(i,r){var f,u=n.xhr(),e=++ke;if(u.open(n.type,n.url,n.async,n.username,n.password),n.xhrFields)for(f in n.xhrFields)u[f]=n.xhrFields[f];n.mimeType&&u.overrideMimeType&&u.overrideMimeType(n.mimeType);n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(f in i)u.setRequestHeader(f,i[f]);t=function(n){return function(){t&&(delete gt[e],t=u.onload=u.onerror=null,n==="abort"?u.abort():n==="error"?r(u.status,u.statusText):r(de[u.status]||u.status,u.statusText,typeof u.responseText=="string"?{text:u.responseText}:undefined,u.getAllResponseHeaders()))}};u.onload=t();u.onerror=t("error");t=gt[e]=t("abort");try{u.send(n.hasContent&&n.data||null)}catch(o){if(t)throw o;}},abort:function(){t&&t()}}}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===undefined&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(n.crossDomain){var r,t;return{send:function(f,e){r=i("<script>").prop({async:!0,charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e(n.type==="error"?404:200,n.type)});u.head.appendChild(r[0])},abort:function(){t&&t()}}}}),yi=[],ni=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=yi.pop()||i.expando+"_"+kt++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,o,e,s=t.jsonp!==!1&&(ni.test(t.url)?"url":typeof t.data=="string"&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ni.test(t.data)&&"data");if(s||t.dataTypes[0]==="jsonp")return f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ni,"$1"+f):t.jsonp!==!1&&(t.url+=(dt.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return e||i.error(f+" was not called"),e[0]},t.dataTypes[0]="json",o=n[f],n[f]=function(){e=arguments},u.always(function(){n[f]=o;t[f]&&(t.jsonpCallback=r.jsonpCallback,yi.push(f));e&&i.isFunction(o)&&o(e[0]);e=o=undefined}),"script"}),i.parseHTML=function(n,t,r){if(!n||typeof n!="string")return null;typeof t=="boolean"&&(r=t,t=!1);t=t||u;var f=gi.exec(n),e=!r&&[];return f?[t.createElement(f[1])]:(f=i.buildFragment([n],t,e),e&&e.length&&i(e).remove(),i.merge([],f.childNodes))},pi=i.fn.load,i.fn.load=function(n,t,r){if(typeof n!="string"&&pi)return pi.apply(this,arguments);var u,o,s,f=this,e=n.indexOf(" ");return e>=0&&(u=i.trim(n.slice(e)),n=n.slice(0,e)),i.isFunction(t)?(r=t,t=undefined):t&&typeof t=="object"&&(o="POST"),f.length>0&&i.ajax({url:n,type:o,dataType:"html",data:t}).done(function(n){s=arguments;f.html(u?i("<div>").append(i.parseHTML(n)).find(u):n)}).complete(r&&function(n,t){f.each(r,s||[n.responseText,t,n])}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},wi=n.document.documentElement,i.offset={setOffset:function(n,t,r){var e,o,s,h,u,c,v,l=i.css(n,"position"),a=i(n),f={};l==="static"&&(n.style.position="relative");u=a.offset();s=i.css(n,"top");c=i.css(n,"left");v=(l==="absolute"||l==="fixed")&&(s+c).indexOf("auto")>-1;v?(e=a.position(),h=e.top,o=e.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);i.isFunction(t)&&(t=t.call(n,r,u));t.top!=null&&(f.top=t.top-u.top+h);t.left!=null&&(f.left=t.left-u.left+o);"using"in t?t.using.call(n,f):a.css(f)}},i.fn.extend({offset:function(n){if(arguments.length)return n===undefined?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,f,t=this[0],u={top:0,left:0},e=t&&t.ownerDocument;if(e)return(r=e.documentElement,!i.contains(r,t))?u:(typeof t.getBoundingClientRect!==b&&(u=t.getBoundingClientRect()),f=ku(e),{top:u.top+f.pageYOffset-r.clientTop,left:u.left+f.pageXOffset-r.clientLeft})},position:function(){if(this[0]){var n,r,u=this[0],t={top:0,left:0};return i.css(u,"position")==="fixed"?r=u.getBoundingClientRect():(n=this.offsetParent(),r=this.offset(),i.nodeName(n[0],"html")||(t=n.offset()),t.top+=i.css(n[0],"borderTopWidth",!0),t.left+=i.css(n[0],"borderLeftWidth",!0)),{top:r.top-t.top-i.css(u,"marginTop",!0),left:r.left-t.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||wi;n&&!i.nodeName(n,"html")&&i.css(n,"position")==="static";)n=n.offsetParent;return n||wi})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var u="pageYOffset"===r;i.fn[t]=function(i){return l(this,function(t,i,f){var e=ku(t);if(f===undefined)return e?e[r]:t[i];e?e.scrollTo(u?n.pageXOffset:f,u?f:n.pageYOffset):t[i]=f},t,i,arguments.length,null)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=br(f.pixelPosition,function(n,r){if(r)return r=it(n,t),hi.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(u,f){var e=arguments.length&&(r||typeof u!="boolean"),o=r||(u===!0||f===!0?"margin":"border");return l(this,function(t,r,u){var f;return i.isWindow(t)?t.document.documentElement["client"+n]:t.nodeType===9?(f=t.documentElement,Math.max(t.body["scroll"+n],f["scroll"+n],t.body["offset"+n],f["offset"+n],f["client"+n])):u===undefined?i.css(t,r,o):i.style(t,r,u,o)},t,e?u:undefined,e,null)}})}),i.fn.size=function(){return this.length},i.fn.andSelf=i.fn.addBack,typeof define=="function"&&define.amd&&define("jquery",[],function(){return i}),du=n.jQuery,gu=n.$,i.noConflict=function(t){return n.$===i&&(n.$=gu),t&&n.jQuery===i&&(n.jQuery=du),i},typeof t===b&&(n.jQuery=n.$=i),i}),function(n,t){function i(t,i){var u,f,e,o=t.nodeName.toLowerCase();return"area"===o?(u=t.parentNode,f=u.name,t.href&&f&&"map"===u.nodeName.toLowerCase()?(e=n("img[usemap=#"+f+"]")[0],!!e&&r(e)):!1):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o?t.href||i:i)&&r(t)}function r(t){return n.expr.filters.visible(t)&&!n(t).parents().addBack().filter(function(){return"hidden"===n.css(this,"visibility")}).length}var u=0,f=/^ui-id-\d+$/;n.ui=n.ui||{};n.extend(n.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});n.fn.extend({focus:function(t){return function(i,r){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){n(t).focus();r&&r.call(t)},i)}):t.apply(this,arguments)}}(n.fn.focus),scrollParent:function(){var t;return t=n.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(n.css(this,"position"))&&/(auto|scroll)/.test(n.css(this,"overflow")+n.css(this,"overflow-y")+n.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(n.css(this,"overflow")+n.css(this,"overflow-y")+n.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?n(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var u,f,r=n(this[0]);r.length&&r[0]!==document;){if(u=r.css("position"),("absolute"===u||"relative"===u||"fixed"===u)&&(f=parseInt(r.css("zIndex"),10),!isNaN(f)&&0!==f))return f;r=r.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})},removeUniqueId:function(){return this.each(function(){f.test(this.id)&&n(this).removeAttr("id")})}});n.extend(n.expr[":"],{data:n.expr.createPseudo?n.expr.createPseudo(function(t){return function(i){return!!n.data(i,t)}}):function(t,i,r){return!!n.data(t,r[3])},focusable:function(t){return i(t,!isNaN(n.attr(t,"tabindex")))},tabbable:function(t){var r=n.attr(t,"tabindex"),u=isNaN(r);return(u||r>=0)&&i(t,!u)}});n("<a>").outerWidth(1).jquery||n.each(["Width","Height"],function(i,r){function u(t,i,r,u){return n.each(o,function(){i-=parseFloat(n.css(t,"padding"+this))||0;r&&(i-=parseFloat(n.css(t,"border"+this+"Width"))||0);u&&(i-=parseFloat(n.css(t,"margin"+this))||0)}),i}var o="Width"===r?["Left","Right"]:["Top","Bottom"],f=r.toLowerCase(),e={innerWidth:n.fn.innerWidth,innerHeight:n.fn.innerHeight,outerWidth:n.fn.outerWidth,outerHeight:n.fn.outerHeight};n.fn["inner"+r]=function(i){return i===t?e["inner"+r].call(this):this.each(function(){n(this).css(f,u(this,i)+"px")})};n.fn["outer"+r]=function(t,i){return"number"!=typeof t?e["outer"+r].call(this,t):this.each(function(){n(this).css(f,u(this,t,!0,i)+"px")})}});n.fn.addBack||(n.fn.addBack=function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))});n("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(n.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,n.camelCase(i)):t.call(this)}}(n.fn.removeData));n.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());n.support.selectstart="onselectstart"in document.createElement("div");n.fn.extend({disableSelection:function(){return this.bind((n.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(n){n.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});n.extend(n.ui,{plugin:{add:function(t,i,r){var u,f=n.ui[t].prototype;for(u in r)f.plugins[u]=f.plugins[u]||[],f.plugins[u].push([i,r[u]])},call:function(n,t,i){var r,u=n.plugins[t];if(u&&n.element[0].parentNode&&11!==n.element[0].parentNode.nodeType)for(r=0;u.length>r;r++)n.options[u[r][0]]&&u[r][1].apply(n.element,i)}},hasScroll:function(t,i){if("hidden"===n(t).css("overflow"))return!1;var r=i&&"left"===i?"scrollLeft":"scrollTop",u=!1;return t[r]>0?!0:(t[r]=1,u=t[r]>0,t[r]=0,u)}})}(jQuery),function(n,t){var r=0,i=Array.prototype.slice,u=n.cleanData;n.cleanData=function(t){for(var i,r=0;null!=(i=t[r]);r++)try{n(i).triggerHandler("remove")}catch(f){}u(t)};n.widget=function(i,r,u){var h,e,f,s,c={},o=i.split(".")[0];i=i.split(".")[1];h=o+"-"+i;u||(u=r,r=n.Widget);n.expr[":"][h.toLowerCase()]=function(t){return!!n.data(t,h)};n[o]=n[o]||{};e=n[o][i];f=n[o][i]=function(n,i){return this._createWidget?(arguments.length&&this._createWidget(n,i),t):new f(n,i)};n.extend(f,e,{version:u.version,_proto:n.extend({},u),_childConstructors:[]});s=new r;s.options=n.widget.extend({},s.options);n.each(u,function(i,u){return n.isFunction(u)?(c[i]=function(){var n=function(){return r.prototype[i].apply(this,arguments)},t=function(n){return r.prototype[i].apply(this,n)};return function(){var i,r=this._super,f=this._superApply;return this._super=n,this._superApply=t,i=u.apply(this,arguments),this._super=r,this._superApply=f,i}}(),t):(c[i]=u,t)});f.prototype=n.widget.extend(s,{widgetEventPrefix:e?s.widgetEventPrefix:i},c,{constructor:f,namespace:o,widgetName:i,widgetFullName:h});e?(n.each(e._childConstructors,function(t,i){var r=i.prototype;n.widget(r.namespace+"."+r.widgetName,f,i._proto)}),delete e._childConstructors):r._childConstructors.push(f);n.widget.bridge(i,f)};n.widget.extend=function(r){for(var u,f,o=i.call(arguments,1),e=0,s=o.length;s>e;e++)for(u in o[e])f=o[e][u],o[e].hasOwnProperty(u)&&f!==t&&(r[u]=n.isPlainObject(f)?n.isPlainObject(r[u])?n.widget.extend({},r[u],f):n.widget.extend({},f):f);return r};n.widget.bridge=function(r,u){var f=u.prototype.widgetFullName||r;n.fn[r]=function(e){var h="string"==typeof e,o=i.call(arguments,1),s=this;return e=!h&&o.length?n.widget.extend.apply(null,[e].concat(o)):e,h?this.each(function(){var i,u=n.data(this,f);return u?n.isFunction(u[e])&&"_"!==e.charAt(0)?(i=u[e].apply(u,o),i!==u&&i!==t?(s=i&&i.jquery?s.pushStack(i.get()):i,!1):t):n.error("no such method '"+e+"' for "+r+" widget instance"):n.error("cannot call methods on "+r+" prior to initialization; attempted to call method '"+e+"'")}):this.each(function(){var t=n.data(this,f);t?t.option(e||{})._init():n.data(this,f,new u(e,this))}),s}};n.Widget=function(){};n.Widget._childConstructors=[];n.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,i){i=n(i||this.defaultElement||this)[0];this.element=n(i);this.uuid=r++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=n.widget.extend({},this.options,this._getCreateOptions(),t);this.bindings=n();this.hoverable=n();this.focusable=n();i!==this&&(n.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(n){n.target===i&&this.destroy()}}),this.document=n(i.style?i.ownerDocument:i.document||i),this.window=n(this.document[0].defaultView||this.document[0].parentWindow));this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:n.noop,_getCreateEventData:n.noop,_create:n.noop,_init:n.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(n.camelCase(this.widgetFullName));this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")},_destroy:n.noop,widget:function(){return this.element},option:function(i,r){var u,f,e,o=i;if(0===arguments.length)return n.widget.extend({},this.options);if("string"==typeof i)if(o={},u=i.split("."),i=u.shift(),u.length){for(f=o[i]=n.widget.extend({},this.options[i]),e=0;u.length-1>e;e++)f[u[e]]=f[u[e]]||{},f=f[u[e]];if(i=u.pop(),r===t)return f[i]===t?null:f[i];f[i]=r}else{if(r===t)return this.options[i]===t?null:this.options[i];o[i]=r}return this._setOptions(o),this},_setOptions:function(n){var t;for(t in n)this._setOption(t,n[t]);return this},_setOption:function(n,t){return this.options[n]=t,"disabled"===n&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,r,u){var e,f=this;"boolean"!=typeof i&&(u=r,r=i,i=!1);u?(r=e=n(r),this.bindings=this.bindings.add(r)):(u=r,r=this.element,e=this.widget());n.each(u,function(u,o){function s(){return i||f.options.disabled!==!0&&!n(this).hasClass("ui-state-disabled")?("string"==typeof o?f[o]:o).apply(f,arguments):t}"string"!=typeof o&&(s.guid=o.guid=o.guid||s.guid||n.guid++);var h=u.match(/^(\w+)\s*(.*)$/),c=h[1]+f.eventNamespace,l=h[2];l?e.delegate(l,c,s):r.bind(c,s)})},_off:function(n,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;n.unbind(t).undelegate(t)},_delay:function(n,t){function r(){return("string"==typeof n?i[n]:n).apply(i,arguments)}var i=this;return setTimeout(r,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t);this._on(t,{mouseenter:function(t){n(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){n(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t);this._on(t,{focusin:function(t){n(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){n(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,r){var u,f,e=this.options[t];if(r=r||{},i=n.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],f=i.originalEvent)for(u in f)u in i||(i[u]=f[u]);return this.element.trigger(i,r),!(n.isFunction(e)&&e.apply(this.element[0],[i].concat(r))===!1||i.isDefaultPrevented())}};n.each({show:"fadeIn",hide:"fadeOut"},function(t,i){n.Widget.prototype["_"+t]=function(r,u,f){"string"==typeof u&&(u={effect:u});var o,e=u?u===!0||"number"==typeof u?i:u.effect||i:t;u=u||{};"number"==typeof u&&(u={duration:u});o=!n.isEmptyObject(u);u.complete=f;u.delay&&r.delay(u.delay);o&&n.effects&&n.effects.effect[e]?r[t](u):e!==t&&r[e]?r[e](u.duration,u.easing,f):r.queue(function(i){n(this)[t]();f&&f.call(r[0]);i()})}})}(jQuery),function(n){var t=!1;n(document).mouseup(function(){t=!1});n.widget("ui.mouse",{version:"1.10.3",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(n){return t._mouseDown(n)}).bind("click."+this.widgetName,function(i){return!0===n.data(i.target,t.widgetName+".preventClickEvent")?(n.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined});this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);this._mouseMoveDelegate&&n(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!t){this._mouseStarted&&this._mouseUp(i);this._mouseDownEvent=i;var r=this,u=1===i.which,f="string"==typeof this.options.cancel&&i.target.nodeName?n(i.target).closest(this.options.cancel).length:!1;return u&&!f&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){r.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===n.data(i.target,this.widgetName+".preventClickEvent")&&n.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(n){return r._mouseMove(n)},this._mouseUpDelegate=function(n){return r._mouseUp(n)},n(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),t=!0,!0)):!0}},_mouseMove:function(t){return n.ui.ie&&(!document.documentMode||9>document.documentMode)&&!t.button?this._mouseUp(t):this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return n(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&n.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(n){return Math.max(Math.abs(this._mouseDownEvent.pageX-n.pageX),Math.abs(this._mouseDownEvent.pageY-n.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(n,t){function e(n,t,i){return[parseFloat(n[0])*(a.test(n[0])?t/100:1),parseFloat(n[1])*(a.test(n[1])?i/100:1)]}function r(t,i){return parseInt(n.css(t,i),10)||0}function v(t){var i=t[0];return 9===i.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:n.isWindow(i)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}n.ui=n.ui||{};var f,u=Math.max,i=Math.abs,o=Math.round,s=/left|center|right/,h=/top|center|bottom/,c=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,y=n.fn.position;n.position={scrollbarWidth:function(){if(f!==t)return f;var u,r,i=n("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'><\/div><\/div>"),e=i.children()[0];return n("body").append(i),u=e.offsetWidth,i.css("overflow","scroll"),r=e.offsetWidth,u===r&&(r=i[0].clientWidth),i.remove(),f=u-r},getScrollInfo:function(t){var i=t.isWindow?"":t.element.css("overflow-x"),r=t.isWindow?"":t.element.css("overflow-y"),u="scroll"===i||"auto"===i&&t.width<t.element[0].scrollWidth,f="scroll"===r||"auto"===r&&t.height<t.element[0].scrollHeight;return{width:f?n.position.scrollbarWidth():0,height:u?n.position.scrollbarWidth():0}},getWithinInfo:function(t){var i=n(t||window),r=n.isWindow(i[0]);return{element:i,isWindow:r,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:r?i.width():i.outerWidth(),height:r?i.height():i.outerHeight()}}};n.fn.position=function(t){if(!t||!t.of)return y.apply(this,arguments);t=n.extend({},t);var b,f,a,w,p,d,g=n(t.of),tt=n.position.getWithinInfo(t.within),it=n.position.getScrollInfo(tt),k=(t.collision||"flip").split(" "),nt={};return d=v(g),g[0].preventDefault&&(t.at="left top"),f=d.width,a=d.height,w=d.offset,p=n.extend({},w),n.each(["my","at"],function(){var i,r,n=(t[this]||"").split(" ");1===n.length&&(n=s.test(n[0])?n.concat(["center"]):h.test(n[0])?["center"].concat(n):["center","center"]);n[0]=s.test(n[0])?n[0]:"center";n[1]=h.test(n[1])?n[1]:"center";i=c.exec(n[0]);r=c.exec(n[1]);nt[this]=[i?i[0]:0,r?r[0]:0];t[this]=[l.exec(n[0])[0],l.exec(n[1])[0]]}),1===k.length&&(k[1]=k[0]),"right"===t.at[0]?p.left+=f:"center"===t.at[0]&&(p.left+=f/2),"bottom"===t.at[1]?p.top+=a:"center"===t.at[1]&&(p.top+=a/2),b=e(nt.at,f,a),p.left+=b[0],p.top+=b[1],this.each(function(){var y,d,h=n(this),c=h.outerWidth(),l=h.outerHeight(),rt=r(this,"marginLeft"),ut=r(this,"marginTop"),ft=c+rt+r(this,"marginRight")+it.width,et=l+ut+r(this,"marginBottom")+it.height,s=n.extend({},p),v=e(nt.my,h.outerWidth(),h.outerHeight());"right"===t.my[0]?s.left-=c:"center"===t.my[0]&&(s.left-=c/2);"bottom"===t.my[1]?s.top-=l:"center"===t.my[1]&&(s.top-=l/2);s.left+=v[0];s.top+=v[1];n.support.offsetFractions||(s.left=o(s.left),s.top=o(s.top));y={marginLeft:rt,marginTop:ut};n.each(["left","top"],function(i,r){n.ui.position[k[i]]&&n.ui.position[k[i]][r](s,{targetWidth:f,targetHeight:a,elemWidth:c,elemHeight:l,collisionPosition:y,collisionWidth:ft,collisionHeight:et,offset:[b[0]+v[0],b[1]+v[1]],my:t.my,at:t.at,within:tt,elem:h})});t.using&&(d=function(n){var r=w.left-s.left,v=r+f-c,e=w.top-s.top,y=e+a-l,o={target:{element:g,left:w.left,top:w.top,width:f,height:a},element:{element:h,left:s.left,top:s.top,width:c,height:l},horizontal:0>v?"left":r>0?"right":"center",vertical:0>y?"top":e>0?"bottom":"middle"};c>f&&f>i(r+v)&&(o.horizontal="center");l>a&&a>i(e+y)&&(o.vertical="middle");o.important=u(i(r),i(v))>u(i(e),i(y))?"horizontal":"vertical";t.using.call(this,n,o)});h.offset(n.extend(s,{using:d}))})};n.ui.position={fit:{left:function(n,t){var h,e=t.within,r=e.isWindow?e.scrollLeft:e.offset.left,o=e.width,s=n.left-t.collisionPosition.marginLeft,i=r-s,f=s+t.collisionWidth-o-r;t.collisionWidth>o?i>0&&0>=f?(h=n.left+i+t.collisionWidth-o-r,n.left+=i-h):n.left=f>0&&0>=i?r:i>f?r+o-t.collisionWidth:r:i>0?n.left+=i:f>0?n.left-=f:n.left=u(n.left-s,n.left)},top:function(n,t){var h,o=t.within,r=o.isWindow?o.scrollTop:o.offset.top,e=t.within.height,s=n.top-t.collisionPosition.marginTop,i=r-s,f=s+t.collisionHeight-e-r;t.collisionHeight>e?i>0&&0>=f?(h=n.top+i+t.collisionHeight-e-r,n.top+=i-h):n.top=f>0&&0>=i?r:i>f?r+e-t.collisionHeight:r:i>0?n.top+=i:f>0?n.top-=f:n.top=u(n.top-s,n.top)}},flip:{left:function(n,t){var o,s,r=t.within,y=r.offset.left+r.scrollLeft,c=r.width,h=r.isWindow?r.scrollLeft:r.offset.left,l=n.left-t.collisionPosition.marginLeft,a=l-h,v=l+t.collisionWidth-c-h,u="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,f="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,e=-2*t.offset[0];0>a?(o=n.left+u+f+e+t.collisionWidth-c-y,(0>o||i(a)>o)&&(n.left+=u+f+e)):v>0&&(s=n.left-t.collisionPosition.marginLeft+u+f+e-h,(s>0||v>i(s))&&(n.left+=u+f+e))},top:function(n,t){var o,s,r=t.within,y=r.offset.top+r.scrollTop,a=r.height,h=r.isWindow?r.scrollTop:r.offset.top,v=n.top-t.collisionPosition.marginTop,c=v-h,l=v+t.collisionHeight-a-h,p="top"===t.my[1],u=p?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,f="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,e=-2*t.offset[1];0>c?(s=n.top+u+f+e+t.collisionHeight-a-y,n.top+u+f+e>c&&(0>s||i(c)>s)&&(n.top+=u+f+e)):l>0&&(o=n.top-t.collisionPosition.marginTop+u+f+e-h,n.top+u+f+e>l&&(o>0||l>i(o))&&(n.top+=u+f+e))}},flipfit:{left:function(){n.ui.position.flip.left.apply(this,arguments);n.ui.position.fit.left.apply(this,arguments)},top:function(){n.ui.position.flip.top.apply(this,arguments);n.ui.position.fit.top.apply(this,arguments)}}},function(){var t,i,r,u,f,e=document.getElementsByTagName("body")[0],o=document.createElement("div");t=document.createElement(e?"div":"body");r={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};e&&n.extend(r,{position:"absolute",left:"-1000px",top:"-1000px"});for(f in r)t.style[f]=r[f];t.appendChild(o);i=e||document.documentElement;i.insertBefore(t,i.firstChild);o.style.cssText="position: absolute; left: 10.7432222px;";u=n(o).offset().left;n.support.offsetFractions=u>10&&11>u;t.innerHTML="";i.removeChild(t)}()}(jQuery),function(n){n.widget("ui.draggable",n.ui.mouse,{version:"1.10.3",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative");this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy()},_mouseCapture:function(t){var i=this.options;return this.helper||i.disabled||n(t.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(t),this.handle?(n(i.iframeFix===!0?"iframe":i.iframeFix).each(function(){n("<div class='ui-draggable-iframeFix' style='background: #fff;'><\/div>").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(n(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(t){var i=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),n.ui.ddmanager&&(n.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offsetParent=this.helper.offsetParent(),this.offsetParentCssPosition=this.offsetParent.css("position"),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.offset.scroll=!1,n.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),n.ui.ddmanager&&!i.dropBehaviour&&n.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),n.ui.ddmanager&&n.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,i){if("fixed"===this.offsetParentCssPosition&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),!i){var r=this._uiHash();if(this._trigger("drag",t,r)===!1)return this._mouseUp({}),!1;this.position=r.position}return this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),n.ui.ddmanager&&n.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var r=this,i=!1;return n.ui.ddmanager&&!this.options.dropBehaviour&&(i=n.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),"original"!==this.options.helper||n.contains(this.element[0].ownerDocument,this.element[0])?("invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||this.options.revert===!0||n.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?n(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){r._trigger("stop",t)!==!1&&r._clear()}):this._trigger("stop",t)!==!1&&this._clear(),!1):!1},_mouseUp:function(t){return n("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),n.ui.ddmanager&&n.ui.ddmanager.dragStop(this,t),n.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){return this.options.handle?!!n(t.target).closest(this.element.find(this.options.handle)).length:!0},_createHelper:function(t){var r=this.options,i=n.isFunction(r.helper)?n(r.helper.apply(this.element[0],[t])):"clone"===r.helper?this.element.clone().removeAttr("id"):this.element;return i.parents("body").length||i.appendTo("parent"===r.appendTo?this.element[0].parentNode:r.appendTo),i[0]===this.element[0]||/(fixed|absolute)/.test(i.css("position"))||i.css("position","absolute"),i},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" "));n.isArray(t)&&(t={left:+t[0],top:+t[1]||0});"left"in t&&(this.offset.click.left=t.left+this.margins.left);"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left);"top"in t&&(this.offset.click.top=t.top+this.margins.top);"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&n.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&n.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var n=this.element.position();return{top:n.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:n.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var u,t,i,r=this.options;return r.containment?"window"===r.containment?(this.containment=[n(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,n(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,n(window).scrollLeft()+n(window).width()-this.helperProportions.width-this.margins.left,n(window).scrollTop()+(n(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):"document"===r.containment?(this.containment=[0,0,n(document).width()-this.helperProportions.width-this.margins.left,(n(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):r.containment.constructor===Array?(this.containment=r.containment,undefined):("parent"===r.containment&&(r.containment=this.helper[0].parentNode),t=n(r.containment),i=t[0],i&&(u="hidden"!==t.css("overflow"),this.containment=[(parseInt(t.css("borderLeftWidth"),10)||0)+(parseInt(t.css("paddingLeft"),10)||0),(parseInt(t.css("borderTopWidth"),10)||0)+(parseInt(t.css("paddingTop"),10)||0),(u?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(t.css("borderRightWidth"),10)||0)-(parseInt(t.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(u?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(t.css("borderBottomWidth"),10)||0)-(parseInt(t.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=t),undefined):(this.containment=null,undefined)},_convertPositionTo:function(t,i){i||(i=this.position);var r="absolute"===t?1:-1,u="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&n.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent;return this.offset.scroll||(this.offset.scroll={top:u.scrollTop(),left:u.scrollLeft()}),{top:i.top+this.offset.relative.top*r+this.offset.parent.top*r-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top)*r,left:i.left+this.offset.relative.left*r+this.offset.parent.left*r-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)*r}},_generatePosition:function(t){var i,e,u,f,r=this.options,h="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&n.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=t.pageX,s=t.pageY;return this.offset.scroll||(this.offset.scroll={top:h.scrollTop(),left:h.scrollLeft()}),this.originalPosition&&(this.containment&&(this.relative_container?(e=this.relative_container.offset(),i=[this.containment[0]+e.left,this.containment[1]+e.top,this.containment[2]+e.left,this.containment[3]+e.top]):i=this.containment,t.pageX-this.offset.click.left<i[0]&&(o=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(s=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(o=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(s=i[3]+this.offset.click.top)),r.grid&&(u=r.grid[1]?this.originalPageY+Math.round((s-this.originalPageY)/r.grid[1])*r.grid[1]:this.originalPageY,s=i?u-this.offset.click.top>=i[1]||u-this.offset.click.top>i[3]?u:u-this.offset.click.top>=i[1]?u-r.grid[1]:u+r.grid[1]:u,f=r.grid[0]?this.originalPageX+Math.round((o-this.originalPageX)/r.grid[0])*r.grid[0]:this.originalPageX,o=i?f-this.offset.click.left>=i[0]||f-this.offset.click.left>i[2]?f:f-this.offset.click.left>=i[0]?f-r.grid[0]:f+r.grid[0]:f)),{top:s-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove();this.helper=null;this.cancelHelperRemoval=!1},_trigger:function(t,i,r){return r=r||this._uiHash(),n.ui.plugin.call(this,t,[i,r]),"drag"===t&&(this.positionAbs=this._convertPositionTo("absolute")),n.Widget.prototype._trigger.call(this,t,i,r)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});n.ui.plugin.add("draggable","connectToSortable",{start:function(t,i){var r=n(this).data("ui-draggable"),u=r.options,f=n.extend({},i,{item:r.element});r.sortables=[];n(u.connectToSortable).each(function(){var i=n.data(this,"ui-sortable");i&&!i.options.disabled&&(r.sortables.push({instance:i,shouldRevert:i.options.revert}),i.refreshPositions(),i._trigger("activate",t,f))})},stop:function(t,i){var r=n(this).data("ui-draggable"),u=n.extend({},i,{item:r.element});n.each(r.sortables,function(){this.instance.isOver?(this.instance.isOver=0,r.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(t),this.instance.options.helper=this.instance.options._helper,"original"===r.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",t,u))})},drag:function(t,i){var r=n(this).data("ui-draggable"),u=this;n.each(r.sortables,function(){var f=!1,e=this;this.instance.positionAbs=r.positionAbs;this.instance.helperProportions=r.helperProportions;this.instance.offset.click=r.offset.click;this.instance._intersectsWith(this.instance.containerCache)&&(f=!0,n.each(r.sortables,function(){return this.instance.positionAbs=r.positionAbs,this.instance.helperProportions=r.helperProportions,this.instance.offset.click=r.offset.click,this!==e&&this.instance._intersectsWith(this.instance.containerCache)&&n.contains(e.instance.element[0],this.instance.element[0])&&(f=!1),f}));f?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=n(u).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return i.helper[0]},t.target=this.instance.currentItem[0],this.instance._mouseCapture(t,!0),this.instance._mouseStart(t,!0,!0),this.instance.offset.click.top=r.offset.click.top,this.instance.offset.click.left=r.offset.click.left,this.instance.offset.parent.left-=r.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=r.offset.parent.top-this.instance.offset.parent.top,r._trigger("toSortable",t),r.dropped=this.instance.element,r.currentItem=r.element,this.instance.fromOutside=r),this.instance.currentItem&&this.instance._mouseDrag(t)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",t,this.instance._uiHash(this.instance)),this.instance._mouseStop(t,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),r._trigger("fromSortable",t),r.dropped=!1)})}});n.ui.plugin.add("draggable","cursor",{start:function(){var t=n("body"),i=n(this).data("ui-draggable").options;t.css("cursor")&&(i._cursor=t.css("cursor"));t.css("cursor",i.cursor)},stop:function(){var t=n(this).data("ui-draggable").options;t._cursor&&n("body").css("cursor",t._cursor)}});n.ui.plugin.add("draggable","opacity",{start:function(t,i){var r=n(i.helper),u=n(this).data("ui-draggable").options;r.css("opacity")&&(u._opacity=r.css("opacity"));r.css("opacity",u.opacity)},stop:function(t,i){var r=n(this).data("ui-draggable").options;r._opacity&&n(i.helper).css("opacity",r._opacity)}});n.ui.plugin.add("draggable","scroll",{start:function(){var t=n(this).data("ui-draggable");t.scrollParent[0]!==document&&"HTML"!==t.scrollParent[0].tagName&&(t.overflowOffset=t.scrollParent.offset())},drag:function(t){var r=n(this).data("ui-draggable"),i=r.options,u=!1;r.scrollParent[0]!==document&&"HTML"!==r.scrollParent[0].tagName?(i.axis&&"x"===i.axis||(r.overflowOffset.top+r.scrollParent[0].offsetHeight-t.pageY<i.scrollSensitivity?r.scrollParent[0].scrollTop=u=r.scrollParent[0].scrollTop+i.scrollSpeed:t.pageY-r.overflowOffset.top<i.scrollSensitivity&&(r.scrollParent[0].scrollTop=u=r.scrollParent[0].scrollTop-i.scrollSpeed)),i.axis&&"y"===i.axis||(r.overflowOffset.left+r.scrollParent[0].offsetWidth-t.pageX<i.scrollSensitivity?r.scrollParent[0].scrollLeft=u=r.scrollParent[0].scrollLeft+i.scrollSpeed:t.pageX-r.overflowOffset.left<i.scrollSensitivity&&(r.scrollParent[0].scrollLeft=u=r.scrollParent[0].scrollLeft-i.scrollSpeed))):(i.axis&&"x"===i.axis||(t.pageY-n(document).scrollTop()<i.scrollSensitivity?u=n(document).scrollTop(n(document).scrollTop()-i.scrollSpeed):n(window).height()-(t.pageY-n(document).scrollTop())<i.scrollSensitivity&&(u=n(document).scrollTop(n(document).scrollTop()+i.scrollSpeed))),i.axis&&"y"===i.axis||(t.pageX-n(document).scrollLeft()<i.scrollSensitivity?u=n(document).scrollLeft(n(document).scrollLeft()-i.scrollSpeed):n(window).width()-(t.pageX-n(document).scrollLeft())<i.scrollSensitivity&&(u=n(document).scrollLeft(n(document).scrollLeft()+i.scrollSpeed))));u!==!1&&n.ui.ddmanager&&!i.dropBehaviour&&n.ui.ddmanager.prepareOffsets(r,t)}});n.ui.plugin.add("draggable","snap",{start:function(){var t=n(this).data("ui-draggable"),i=t.options;t.snapElements=[];n(i.snap.constructor!==String?i.snap.items||":data(ui-draggable)":i.snap).each(function(){var i=n(this),r=i.offset();this!==t.element[0]&&t.snapElements.push({item:this,width:i.outerWidth(),height:i.outerHeight(),top:r.top,left:r.left})})},drag:function(t,i){for(var e,o,s,h,c,a,l,v,w,r=n(this).data("ui-draggable"),b=r.options,f=b.snapTolerance,y=i.offset.left,k=y+r.helperProportions.width,p=i.offset.top,d=p+r.helperProportions.height,u=r.snapElements.length-1;u>=0;u--)c=r.snapElements[u].left,a=c+r.snapElements[u].width,l=r.snapElements[u].top,v=l+r.snapElements[u].height,c-f>k||y>a+f||l-f>d||p>v+f||!n.contains(r.snapElements[u].item.ownerDocument,r.snapElements[u].item)?(r.snapElements[u].snapping&&r.options.snap.release&&r.options.snap.release.call(r.element,t,n.extend(r._uiHash(),{snapItem:r.snapElements[u].item})),r.snapElements[u].snapping=!1):("inner"!==b.snapMode&&(e=f>=Math.abs(l-d),o=f>=Math.abs(v-p),s=f>=Math.abs(c-k),h=f>=Math.abs(a-y),e&&(i.position.top=r._convertPositionTo("relative",{top:l-r.helperProportions.height,left:0}).top-r.margins.top),o&&(i.position.top=r._convertPositionTo("relative",{top:v,left:0}).top-r.margins.top),s&&(i.position.left=r._convertPositionTo("relative",{top:0,left:c-r.helperProportions.width}).left-r.margins.left),h&&(i.position.left=r._convertPositionTo("relative",{top:0,left:a}).left-r.margins.left)),w=e||o||s||h,"outer"!==b.snapMode&&(e=f>=Math.abs(l-p),o=f>=Math.abs(v-d),s=f>=Math.abs(c-y),h=f>=Math.abs(a-k),e&&(i.position.top=r._convertPositionTo("relative",{top:l,left:0}).top-r.margins.top),o&&(i.position.top=r._convertPositionTo("relative",{top:v-r.helperProportions.height,left:0}).top-r.margins.top),s&&(i.position.left=r._convertPositionTo("relative",{top:0,left:c}).left-r.margins.left),h&&(i.position.left=r._convertPositionTo("relative",{top:0,left:a-r.helperProportions.width}).left-r.margins.left)),!r.snapElements[u].snapping&&(e||o||s||h||w)&&r.options.snap.snap&&r.options.snap.snap.call(r.element,t,n.extend(r._uiHash(),{snapItem:r.snapElements[u].item})),r.snapElements[u].snapping=e||o||s||h||w)}});n.ui.plugin.add("draggable","stack",{start:function(){var i,r=this.data("ui-draggable").options,t=n.makeArray(n(r.stack)).sort(function(t,i){return(parseInt(n(t).css("zIndex"),10)||0)-(parseInt(n(i).css("zIndex"),10)||0)});t.length&&(i=parseInt(n(t[0]).css("zIndex"),10)||0,n(t).each(function(t){n(this).css("zIndex",i+t)}),this.css("zIndex",i+t.length))}});n.ui.plugin.add("draggable","zIndex",{start:function(t,i){var r=n(i.helper),u=n(this).data("ui-draggable").options;r.css("zIndex")&&(u._zIndex=r.css("zIndex"));r.css("zIndex",u.zIndex)},stop:function(t,i){var r=n(this).data("ui-draggable").options;r._zIndex&&n(i.helper).css("zIndex",r._zIndex)}})}(jQuery),function(n){function t(n,t,i){return n>t&&t+i>n}n.widget("ui.droppable",{version:"1.10.3",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t=this.options,i=t.accept;this.isover=!1;this.isout=!0;this.accept=n.isFunction(i)?i:function(n){return n.is(i)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};n.ui.ddmanager.droppables[t.scope]=n.ui.ddmanager.droppables[t.scope]||[];n.ui.ddmanager.droppables[t.scope].push(this);t.addClasses&&this.element.addClass("ui-droppable")},_destroy:function(){for(var t=0,i=n.ui.ddmanager.droppables[this.options.scope];i.length>t;t++)i[t]===this&&i.splice(t,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(t,i){"accept"===t&&(this.accept=n.isFunction(i)?i:function(n){return n.is(i)});n.Widget.prototype._setOption.apply(this,arguments)},_activate:function(t){var i=n.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass);i&&this._trigger("activate",t,this.ui(i))},_deactivate:function(t){var i=n.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass);i&&this._trigger("deactivate",t,this.ui(i))},_over:function(t){var i=n.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",t,this.ui(i)))},_out:function(t){var i=n.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",t,this.ui(i)))},_drop:function(t,i){var r=i||n.ui.ddmanager.current,u=!1;return r&&(r.currentItem||r.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var t=n.data(this,"ui-droppable");return t.options.greedy&&!t.options.disabled&&t.options.scope===r.options.scope&&t.accept.call(t.element[0],r.currentItem||r.element)&&n.ui.intersect(r,n.extend(t,{offset:t.element.offset()}),t.options.tolerance)?(u=!0,!1):undefined}),u?!1:this.accept.call(this.element[0],r.currentItem||r.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",t,this.ui(r)),this.element):!1):!1},ui:function(n){return{draggable:n.currentItem||n.element,helper:n.helper,position:n.position,offset:n.positionAbs}}});n.ui.intersect=function(n,i,r){if(!i.offset)return!1;var a,v,e=(n.positionAbs||n.position.absolute).left,s=e+n.helperProportions.width,o=(n.positionAbs||n.position.absolute).top,h=o+n.helperProportions.height,u=i.offset.left,c=u+i.proportions.width,f=i.offset.top,l=f+i.proportions.height;switch(r){case"fit":return e>=u&&c>=s&&o>=f&&l>=h;case"intersect":return e+n.helperProportions.width/2>u&&c>s-n.helperProportions.width/2&&o+n.helperProportions.height/2>f&&l>h-n.helperProportions.height/2;case"pointer":return a=(n.positionAbs||n.position.absolute).left+(n.clickOffset||n.offset.click).left,v=(n.positionAbs||n.position.absolute).top+(n.clickOffset||n.offset.click).top,t(v,f,i.proportions.height)&&t(a,u,i.proportions.width);case"touch":return(o>=f&&l>=o||h>=f&&l>=h||f>o&&h>l)&&(e>=u&&c>=e||s>=u&&c>=s||u>e&&s>c);default:return!1}};n.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,i){var r,f,u=n.ui.ddmanager.droppables[t.options.scope]||[],o=i?i.type:null,e=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();n:for(r=0;u.length>r;r++)if(!(u[r].options.disabled||t&&!u[r].accept.call(u[r].element[0],t.currentItem||t.element))){for(f=0;e.length>f;f++)if(e[f]===u[r].element[0]){u[r].proportions.height=0;continue n}u[r].visible="none"!==u[r].element.css("display");u[r].visible&&("mousedown"===o&&u[r]._activate.call(u[r],i),u[r].offset=u[r].element.offset(),u[r].proportions={width:u[r].element[0].offsetWidth,height:u[r].element[0].offsetHeight})}},drop:function(t,i){var r=!1;return n.each((n.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&n.ui.intersect(t,this,this.options.tolerance)&&(r=this._drop.call(this,i)||r),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),r},dragStart:function(t,i){t.element.parentsUntil("body").bind("scroll.droppable",function(){t.options.refreshPositions||n.ui.ddmanager.prepareOffsets(t,i)})},drag:function(t,i){t.options.refreshPositions&&n.ui.ddmanager.prepareOffsets(t,i);n.each(n.ui.ddmanager.droppables[t.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var r,e,f,o=n.ui.intersect(t,this,this.options.tolerance),u=!o&&this.isover?"isout":o&&!this.isover?"isover":null;u&&(this.options.greedy&&(e=this.options.scope,f=this.element.parents(":data(ui-droppable)").filter(function(){return n.data(this,"ui-droppable").options.scope===e}),f.length&&(r=n.data(f[0],"ui-droppable"),r.greedyChild="isover"===u)),r&&"isover"===u&&(r.isover=!1,r.isout=!0,r._out.call(r,i)),this[u]=!0,this["isout"===u?"isover":"isout"]=!1,this["isover"===u?"_over":"_out"].call(this,i),r&&"isout"===u&&(r.isout=!1,r.isover=!0,r._over.call(r,i)))}})},dragStop:function(t,i){t.element.parentsUntil("body").unbind("scroll.droppable");t.options.refreshPositions||n.ui.ddmanager.prepareOffsets(t,i)}}}(jQuery),function(n){function i(n){return parseInt(n,10)||0}function t(n){return!isNaN(parseInt(n,10))}n.widget("ui.resizable",n.ui.mouse,{version:"1.10.3",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var e,f,r,i,o,u=this,t=this.options;if(this.element.addClass("ui-resizable"),n.extend(this,{_aspectRatio:!!t.aspectRatio,aspectRatio:t.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:t.helper||t.ghost||t.animate?t.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(n("<div class='ui-wrapper' style='overflow: hidden;'><\/div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.data("ui-resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=t.handles||(n(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},f=0;e.length>f;f++)r=n.trim(e[f]),o="ui-resizable-"+r,i=n("<div class='ui-resizable-handle "+o+"'><\/div>"),i.css({zIndex:t.zIndex}),"se"===r&&i.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[r]=".ui-resizable-"+r,this.element.append(i);this._renderAxis=function(t){var i,r,u,f;t=t||this.element;for(i in this.handles)this.handles[i].constructor===String&&(this.handles[i]=n(this.handles[i],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(r=n(this.handles[i],this.element),f=/sw|ne|nw|se|n|s/.test(i)?r.outerHeight():r.outerWidth(),u=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),t.css(u,f),this._proportionallyResize()),n(this.handles[i]).length};this._renderAxis(this.element);this._handles=n(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){u.resizing||(this.className&&(i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),u.axis=i&&i[1]?i[1]:"se")});t.autoHide&&(this._handles.hide(),n(this.element).addClass("ui-resizable-autohide").mouseenter(function(){t.disabled||(n(this).removeClass("ui-resizable-autohide"),u._handles.show())}).mouseleave(function(){t.disabled||u.resizing||(n(this).addClass("ui-resizable-autohide"),u._handles.hide())}));this._mouseInit()},_destroy:function(){this._mouseDestroy();var t,i=function(t){n(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_mouseCapture:function(t){var r,i,u=!1;for(r in this.handles)i=n(this.handles[r])[0],(i===t.target||n.contains(i,t.target))&&(u=!0);return!this.options.disabled&&u},_mouseStart:function(t){var f,e,o,u=this.options,s=this.element.position(),r=this.element;return this.resizing=!0,/absolute/.test(r.css("position"))?r.css({position:"absolute",top:r.css("top"),left:r.css("left")}):r.is(".ui-draggable")&&r.css({position:"absolute",top:s.top,left:s.left}),this._renderProxy(),f=i(this.helper.css("left")),e=i(this.helper.css("top")),u.containment&&(f+=n(u.containment).scrollLeft()||0,e+=n(u.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:f,top:e},this.size=this._helper?{width:r.outerWidth(),height:r.outerHeight()}:{width:r.width(),height:r.height()},this.originalSize=this._helper?{width:r.outerWidth(),height:r.outerHeight()}:{width:r.width(),height:r.height()},this.originalPosition={left:f,top:e},this.sizeDiff={width:r.outerWidth()-r.width(),height:r.outerHeight()-r.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof u.aspectRatio?u.aspectRatio:this.originalSize.width/this.originalSize.height||1,o=n(".ui-resizable-"+this.axis).css("cursor"),n("body").css("cursor","auto"===o?this.axis+"-resize":o),r.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var i,e=this.helper,r={},u=this.originalMousePosition,o=this.axis,s=this.position.top,h=this.position.left,c=this.size.width,l=this.size.height,a=t.pageX-u.left||0,v=t.pageY-u.top||0,f=this._change[o];return f?(i=f.apply(this,[t,a,v]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(i=this._updateRatio(i,t)),i=this._respectSize(i,t),this._updateCache(i),this._propagate("resize",t),this.position.top!==s&&(r.top=this.position.top+"px"),this.position.left!==h&&(r.left=this.position.left+"px"),this.size.width!==c&&(r.width=this.size.width+"px"),this.size.height!==l&&(r.height=this.size.height+"px"),e.css(r),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),n.isEmptyObject(r)||this._trigger("resize",t,this.ui()),!1):!1},_mouseStop:function(t){this.resizing=!1;var r,u,f,e,o,s,h,c=this.options,i=this;return this._helper&&(r=this._proportionallyResizeElements,u=r.length&&/textarea/i.test(r[0].nodeName),f=u&&n.ui.hasScroll(r[0],"left")?0:i.sizeDiff.height,e=u?0:i.sizeDiff.width,o={width:i.helper.width()-e,height:i.helper.height()-f},s=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,h=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null,c.animate||this.element.css(n.extend(o,{top:h,left:s})),i.helper.height(i.size.height),i.helper.width(i.size.width),this._helper&&!c.animate&&this._proportionallyResize()),n("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(n){var u,f,e,o,i,r=this.options;i={minWidth:t(r.minWidth)?r.minWidth:0,maxWidth:t(r.maxWidth)?r.maxWidth:1/0,minHeight:t(r.minHeight)?r.minHeight:0,maxHeight:t(r.maxHeight)?r.maxHeight:1/0};(this._aspectRatio||n)&&(u=i.minHeight*this.aspectRatio,e=i.minWidth/this.aspectRatio,f=i.maxHeight*this.aspectRatio,o=i.maxWidth/this.aspectRatio,u>i.minWidth&&(i.minWidth=u),e>i.minHeight&&(i.minHeight=e),i.maxWidth>f&&(i.maxWidth=f),i.maxHeight>o&&(i.maxHeight=o));this._vBoundaries=i},_updateCache:function(n){this.offset=this.helper.offset();t(n.left)&&(this.position.left=n.left);t(n.top)&&(this.position.top=n.top);t(n.height)&&(this.size.height=n.height);t(n.width)&&(this.size.width=n.width)},_updateRatio:function(n){var i=this.position,r=this.size,u=this.axis;return t(n.height)?n.width=n.height*this.aspectRatio:t(n.width)&&(n.height=n.width/this.aspectRatio),"sw"===u&&(n.left=i.left+(r.width-n.width),n.top=null),"nw"===u&&(n.top=i.top+(r.height-n.height),n.left=i.left+(r.width-n.width)),n},_respectSize:function(n){var i=this._vBoundaries,r=this.axis,u=t(n.width)&&i.maxWidth&&i.maxWidth<n.width,f=t(n.height)&&i.maxHeight&&i.maxHeight<n.height,e=t(n.width)&&i.minWidth&&i.minWidth>n.width,o=t(n.height)&&i.minHeight&&i.minHeight>n.height,s=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,c=/sw|nw|w/.test(r),l=/nw|ne|n/.test(r);return e&&(n.width=i.minWidth),o&&(n.height=i.minHeight),u&&(n.width=i.maxWidth),f&&(n.height=i.maxHeight),e&&c&&(n.left=s-i.minWidth),u&&c&&(n.left=s-i.maxWidth),o&&l&&(n.top=h-i.minHeight),f&&l&&(n.top=h-i.maxHeight),n.width||n.height||n.left||!n.top?n.width||n.height||n.top||!n.left||(n.left=null):n.top=null,n},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,r,u,n,f=this.helper||this.element,i=0;this._proportionallyResizeElements.length>i;i++){if(n=this._proportionallyResizeElements[i],!this.borderDif)for(this.borderDif=[],r=[n.css("borderTopWidth"),n.css("borderRightWidth"),n.css("borderBottomWidth"),n.css("borderLeftWidth")],u=[n.css("paddingTop"),n.css("paddingRight"),n.css("paddingBottom"),n.css("paddingLeft")],t=0;r.length>t;t++)this.borderDif[t]=(parseInt(r[t],10)||0)+(parseInt(u[t],10)||0);n.css({height:f.height()-this.borderDif[0]-this.borderDif[2]||0,width:f.width()-this.borderDif[1]-this.borderDif[3]||0})}},_renderProxy:function(){var t=this.element,i=this.options;this.elementOffset=t.offset();this._helper?(this.helper=this.helper||n("<div style='overflow:hidden;'><\/div>"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(n,t){return{width:this.originalSize.width+t}},w:function(n,t){var i=this.originalSize,r=this.originalPosition;return{left:r.left+t,width:i.width-t}},n:function(n,t,i){var r=this.originalSize,u=this.originalPosition;return{top:u.top+i,height:r.height-i}},s:function(n,t,i){return{height:this.originalSize.height+i}},se:function(t,i,r){return n.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,i,r]))},sw:function(t,i,r){return n.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,i,r]))},ne:function(t,i,r){return n.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,i,r]))},nw:function(t,i,r){return n.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,i,r]))}},_propagate:function(t,i){n.ui.plugin.call(this,t,[i,this.ui()]);"resize"!==t&&this._trigger(t,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});n.ui.plugin.add("resizable","animate",{stop:function(t){var i=n(this).data("ui-resizable"),u=i.options,r=i._proportionallyResizeElements,f=r.length&&/textarea/i.test(r[0].nodeName),s=f&&n.ui.hasScroll(r[0],"left")?0:i.sizeDiff.height,h=f?0:i.sizeDiff.width,c={width:i.size.width-h,height:i.size.height-s},e=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,o=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(n.extend(c,o&&e?{top:o,left:e}:{}),{duration:u.animateDuration,easing:u.animateEasing,step:function(){var u={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};r&&r.length&&n(r[0]).css({width:u.width,height:u.height});i._updateCache(u);i._propagate("resize",t)}})}});n.ui.plugin.add("resizable","containment",{start:function(){var u,e,o,s,h,c,l,t=n(this).data("ui-resizable"),a=t.options,v=t.element,f=a.containment,r=f instanceof n?f.get(0):/parent/.test(f)?v.parent().get(0):f;r&&(t.containerElement=n(r),/document/.test(f)||f===document?(t.containerOffset={left:0,top:0},t.containerPosition={left:0,top:0},t.parentData={element:n(document),left:0,top:0,width:n(document).width(),height:n(document).height()||document.body.parentNode.scrollHeight}):(u=n(r),e=[],n(["Top","Right","Left","Bottom"]).each(function(n,t){e[n]=i(u.css("padding"+t))}),t.containerOffset=u.offset(),t.containerPosition=u.position(),t.containerSize={height:u.innerHeight()-e[3],width:u.innerWidth()-e[1]},o=t.containerOffset,s=t.containerSize.height,h=t.containerSize.width,c=n.ui.hasScroll(r,"left")?r.scrollWidth:h,l=n.ui.hasScroll(r)?r.scrollHeight:s,t.parentData={element:r,left:o.left,top:o.top,width:c,height:l}))},resize:function(t){var f,o,s,h,i=n(this).data("ui-resizable"),a=i.options,r=i.containerOffset,c=i.position,e=i._aspectRatio||t.shiftKey,u={top:0,left:0},l=i.containerElement;l[0]!==document&&/static/.test(l.css("position"))&&(u=r);c.left<(i._helper?r.left:0)&&(i.size.width=i.size.width+(i._helper?i.position.left-r.left:i.position.left-u.left),e&&(i.size.height=i.size.width/i.aspectRatio),i.position.left=a.helper?r.left:0);c.top<(i._helper?r.top:0)&&(i.size.height=i.size.height+(i._helper?i.position.top-r.top:i.position.top),e&&(i.size.width=i.size.height*i.aspectRatio),i.position.top=i._helper?r.top:0);i.offset.left=i.parentData.left+i.position.left;i.offset.top=i.parentData.top+i.position.top;f=Math.abs((i._helper?i.offset.left-u.left:i.offset.left-u.left)+i.sizeDiff.width);o=Math.abs((i._helper?i.offset.top-u.top:i.offset.top-r.top)+i.sizeDiff.height);s=i.containerElement.get(0)===i.element.parent().get(0);h=/relative|absolute/.test(i.containerElement.css("position"));s&&h&&(f-=i.parentData.left);f+i.size.width>=i.parentData.width&&(i.size.width=i.parentData.width-f,e&&(i.size.height=i.size.width/i.aspectRatio));o+i.size.height>=i.parentData.height&&(i.size.height=i.parentData.height-o,e&&(i.size.width=i.size.height*i.aspectRatio))},stop:function(){var t=n(this).data("ui-resizable"),r=t.options,u=t.containerOffset,f=t.containerPosition,e=t.containerElement,i=n(t.helper),o=i.offset(),s=i.outerWidth()-t.sizeDiff.width,h=i.outerHeight()-t.sizeDiff.height;t._helper&&!r.animate&&/relative/.test(e.css("position"))&&n(this).css({left:o.left-f.left-u.left,width:s,height:h});t._helper&&!r.animate&&/static/.test(e.css("position"))&&n(this).css({left:o.left-f.left-u.left,width:s,height:h})}});n.ui.plugin.add("resizable","alsoResize",{start:function(){var r=n(this).data("ui-resizable"),t=r.options,i=function(t){n(t).each(function(){var t=n(this);t.data("ui-resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})};"object"!=typeof t.alsoResize||t.alsoResize.parentNode?i(t.alsoResize):t.alsoResize.length?(t.alsoResize=t.alsoResize[0],i(t.alsoResize)):n.each(t.alsoResize,function(n){i(n)})},resize:function(t,i){var r=n(this).data("ui-resizable"),u=r.options,f=r.originalSize,e=r.originalPosition,s={height:r.size.height-f.height||0,width:r.size.width-f.width||0,top:r.position.top-e.top||0,left:r.position.left-e.left||0},o=function(t,r){n(t).each(function(){var t=n(this),f=n(this).data("ui-resizable-alsoresize"),u={},e=r&&r.length?r:t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];n.each(e,function(n,t){var i=(f[t]||0)+(s[t]||0);i&&i>=0&&(u[t]=i||null)});t.css(u)})};"object"!=typeof u.alsoResize||u.alsoResize.nodeType?o(u.alsoResize):n.each(u.alsoResize,function(n,t){o(n,t)})},stop:function(){n(this).removeData("resizable-alsoresize")}});n.ui.plugin.add("resizable","ghost",{start:function(){var t=n(this).data("ui-resizable"),i=t.options,r=t.size;t.ghost=t.originalElement.clone();t.ghost.css({opacity:.25,display:"block",position:"relative",height:r.height,width:r.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof i.ghost?i.ghost:"");t.ghost.appendTo(t.helper)},resize:function(){var t=n(this).data("ui-resizable");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=n(this).data("ui-resizable");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}});n.ui.plugin.add("resizable","grid",{resize:function(){var t=n(this).data("ui-resizable"),i=t.options,v=t.size,f=t.originalSize,e=t.originalPosition,h=t.axis,c="number"==typeof i.grid?[i.grid,i.grid]:i.grid,o=c[0]||1,s=c[1]||1,l=Math.round((v.width-f.width)/o)*o,a=Math.round((v.height-f.height)/s)*s,r=f.width+l,u=f.height+a,y=i.maxWidth&&r>i.maxWidth,p=i.maxHeight&&u>i.maxHeight,w=i.minWidth&&i.minWidth>r,b=i.minHeight&&i.minHeight>u;i.grid=c;w&&(r+=o);b&&(u+=s);y&&(r-=o);p&&(u-=s);/^(se|s|e)$/.test(h)?(t.size.width=r,t.size.height=u):/^(ne)$/.test(h)?(t.size.width=r,t.size.height=u,t.position.top=e.top-a):/^(sw)$/.test(h)?(t.size.width=r,t.size.height=u,t.position.left=e.left-l):(t.size.width=r,t.size.height=u,t.position.top=e.top-a,t.position.left=e.left-l)}})}(jQuery),function(n){n.widget("ui.selectable",n.ui.mouse,{version:"1.10.3",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var t,i=this;this.element.addClass("ui-selectable");this.dragged=!1;this.refresh=function(){t=n(i.options.filter,i.element[0]);t.addClass("ui-selectee");t.each(function(){var t=n(this),i=t.offset();n.data(this,"selectable-item",{element:this,$element:t,left:i.left,top:i.top,right:i.left+t.outerWidth(),bottom:i.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})};this.refresh();this.selectees=t.addClass("ui-selectee");this._mouseInit();this.helper=n("<div class='ui-selectable-helper'><\/div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled");this._mouseDestroy()},_mouseStart:function(t){var i=this,r=this.options;this.opos=[t.pageX,t.pageY];this.options.disabled||(this.selectees=n(r.filter,this.element[0]),this._trigger("start",t),n(r.appendTo).append(this.helper),this.helper.css({left:t.pageX,top:t.pageY,width:0,height:0}),r.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var r=n.data(this,"selectable-item");r.startselected=!0;t.metaKey||t.ctrlKey||(r.$element.removeClass("ui-selected"),r.selected=!1,r.$element.addClass("ui-unselecting"),r.unselecting=!0,i._trigger("unselecting",t,{unselecting:r.element}))}),n(t.target).parents().addBack().each(function(){var u,r=n.data(this,"selectable-item");return r?(u=!t.metaKey&&!t.ctrlKey||!r.$element.hasClass("ui-selected"),r.$element.removeClass(u?"ui-unselecting":"ui-selected").addClass(u?"ui-selecting":"ui-unselecting"),r.unselecting=!u,r.selecting=u,r.selected=u,u?i._trigger("selecting",t,{selecting:r.element}):i._trigger("unselecting",t,{unselecting:r.element}),!1):undefined}))},_mouseDrag:function(t){if(this.dragged=!0,!this.options.disabled){var e,o=this,s=this.options,i=this.opos[0],r=this.opos[1],u=t.pageX,f=t.pageY;return i>u&&(e=u,u=i,i=e),r>f&&(e=f,f=r,r=e),this.helper.css({left:i,top:r,width:u-i,height:f-r}),this.selectees.each(function(){var e=n.data(this,"selectable-item"),h=!1;e&&e.element!==o.element[0]&&("touch"===s.tolerance?h=!(e.left>u||i>e.right||e.top>f||r>e.bottom):"fit"===s.tolerance&&(h=e.left>i&&u>e.right&&e.top>r&&f>e.bottom),h?(e.selected&&(e.$element.removeClass("ui-selected"),e.selected=!1),e.unselecting&&(e.$element.removeClass("ui-unselecting"),e.unselecting=!1),e.selecting||(e.$element.addClass("ui-selecting"),e.selecting=!0,o._trigger("selecting",t,{selecting:e.element}))):(e.selecting&&((t.metaKey||t.ctrlKey)&&e.startselected?(e.$element.removeClass("ui-selecting"),e.selecting=!1,e.$element.addClass("ui-selected"),e.selected=!0):(e.$element.removeClass("ui-selecting"),e.selecting=!1,e.startselected&&(e.$element.addClass("ui-unselecting"),e.unselecting=!0),o._trigger("unselecting",t,{unselecting:e.element}))),e.selected&&(t.metaKey||t.ctrlKey||e.startselected||(e.$element.removeClass("ui-selected"),e.selected=!1,e.$element.addClass("ui-unselecting"),e.unselecting=!0,o._trigger("unselecting",t,{unselecting:e.element})))))}),!1}},_mouseStop:function(t){var i=this;return this.dragged=!1,n(".ui-unselecting",this.element[0]).each(function(){var r=n.data(this,"selectable-item");r.$element.removeClass("ui-unselecting");r.unselecting=!1;r.startselected=!1;i._trigger("unselected",t,{unselected:r.element})}),n(".ui-selecting",this.element[0]).each(function(){var r=n.data(this,"selectable-item");r.$element.removeClass("ui-selecting").addClass("ui-selected");r.selecting=!1;r.selected=!0;r.startselected=!0;i._trigger("selected",t,{selected:r.element})}),this._trigger("stop",t),this.helper.remove(),!1}})}(jQuery),function(n){function t(n,t,i){return n>t&&t+i>n}function i(n){return/left|right/.test(n.css("float"))||/inline|table-cell/.test(n.css("display"))}n.widget("ui.sortable",n.ui.mouse,{version:"1.10.3",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var n=this.options;this.containerCache={};this.element.addClass("ui-sortable");this.refresh();this.floating=this.items.length?"x"===n.axis||i(this.items[0].item):!1;this.offset=this.element.offset();this._mouseInit();this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled");this._mouseDestroy();for(var n=this.items.length-1;n>=0;n--)this.items[n].item.removeData(this.widgetName+"-item");return this},_setOption:function(t,i){"disabled"===t?(this.options[t]=i,this.widget().toggleClass("ui-sortable-disabled",!!i)):n.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,i){var r=null,f=!1,u=this;return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(t),n(t.target).parents().each(function(){return n.data(this,u.widgetName+"-item")===u?(r=n(this),!1):undefined}),n.data(t.target,u.widgetName+"-item")===u&&(r=n(t.target)),r?!this.options.handle||i||(n(this.options.handle,r).find("*").addBack().each(function(){this===t.target&&(f=!0)}),f)?(this.currentItem=r,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:function(t,i,r){var f,e,u=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},n.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,u.cursorAt&&this._adjustOffsetFromHelper(u.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),u.containment&&this._setContainment(),u.cursor&&"auto"!==u.cursor&&(e=this.document.find("body"),this.storedCursor=e.css("cursor"),e.css("cursor",u.cursor),this.storedStylesheet=n("<style>*{ cursor: "+u.cursor+" !important; }<\/style>").appendTo(e)),u.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",u.opacity)),u.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",u.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!r)for(f=this.containers.length-1;f>=0;f--)this.containers[f]._trigger("activate",t,this._uiHash(this));return n.ui.ddmanager&&(n.ui.ddmanager.current=this),n.ui.ddmanager&&!u.dropBehaviour&&n.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var e,u,f,o,i=this.options,r=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<i.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+i.scrollSpeed:t.pageY-this.overflowOffset.top<i.scrollSensitivity&&(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-i.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<i.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+i.scrollSpeed:t.pageX-this.overflowOffset.left<i.scrollSensitivity&&(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-i.scrollSpeed)):(t.pageY-n(document).scrollTop()<i.scrollSensitivity?r=n(document).scrollTop(n(document).scrollTop()-i.scrollSpeed):n(window).height()-(t.pageY-n(document).scrollTop())<i.scrollSensitivity&&(r=n(document).scrollTop(n(document).scrollTop()+i.scrollSpeed)),t.pageX-n(document).scrollLeft()<i.scrollSensitivity?r=n(document).scrollLeft(n(document).scrollLeft()-i.scrollSpeed):n(window).width()-(t.pageX-n(document).scrollLeft())<i.scrollSensitivity&&(r=n(document).scrollLeft(n(document).scrollLeft()+i.scrollSpeed))),r!==!1&&n.ui.ddmanager&&!i.dropBehaviour&&n.ui.ddmanager.prepareOffsets(this,t)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),e=this.items.length-1;e>=0;e--)if(u=this.items[e],f=u.item[0],o=this._intersectsWithPointer(u),o&&u.instance===this.currentContainer&&f!==this.currentItem[0]&&this.placeholder[1===o?"next":"prev"]()[0]!==f&&!n.contains(this.placeholder[0],f)&&("semi-dynamic"===this.options.type?!n.contains(this.element[0],f):!0)){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(u))break;this._rearrange(t,u);this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),n.ui.ddmanager&&n.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,i){if(t){if(n.ui.ddmanager&&!this.options.dropBehaviour&&n.ui.ddmanager.drop(this,t),this.options.revert){var e=this,f=this.placeholder.offset(),r=this.options.axis,u={};r&&"x"!==r||(u.left=f.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft));r&&"y"!==r||(u.top=f.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop));this.reverting=!0;n(this.helper).animate(u,parseInt(this.options.revert,10)||500,function(){e._clear(t)})}else this._clear(t,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null});"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),n.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?n(this.domPosition.prev).after(this.currentItem):n(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var r=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},n(r).each(function(){var r=(n(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);r&&i.push((t.key||r[1]+"[]")+"="+(t.key&&t.expression?r[1]:r[2]))}),!i.length&&t.key&&i.push(t.key+"="),i.join("&")},toArray:function(t){var r=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},r.each(function(){i.push(n(t.item||this).attr(t.attribute||"id")||"")}),i},_intersectsWith:function(n){var t=this.positionAbs.left,h=t+this.helperProportions.width,i=this.positionAbs.top,c=i+this.helperProportions.height,r=n.left,f=r+n.width,u=n.top,e=u+n.height,o=this.offset.click.top,s=this.offset.click.left,l="x"===this.options.axis||i+o>u&&e>i+o,a="y"===this.options.axis||t+s>r&&f>t+s,v=l&&a;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>n[this.floating?"width":"height"]?v:t+this.helperProportions.width/2>r&&f>h-this.helperProportions.width/2&&i+this.helperProportions.height/2>u&&e>c-this.helperProportions.height/2},_intersectsWithPointer:function(n){var u="x"===this.options.axis||t(this.positionAbs.top+this.offset.click.top,n.top,n.height),f="y"===this.options.axis||t(this.positionAbs.left+this.offset.click.left,n.left,n.width),e=u&&f,i=this._getDragVerticalDirection(),r=this._getDragHorizontalDirection();return e?this.floating?r&&"right"===r||"down"===i?2:1:i&&("down"===i?2:1):!1},_intersectsWithSides:function(n){var u=t(this.positionAbs.top+this.offset.click.top,n.top+n.height/2,n.height),f=t(this.positionAbs.left+this.offset.click.left,n.left+n.width/2,n.width),i=this._getDragVerticalDirection(),r=this._getDragHorizontalDirection();return this.floating&&r?"right"===r&&f||"left"===r&&!f:i&&("down"===i&&u||"up"===i&&!u)},_getDragVerticalDirection:function(){var n=this.positionAbs.top-this.lastPositionAbs.top;return 0!==n&&(n>0?"down":"up")},_getDragHorizontalDirection:function(){var n=this.positionAbs.left-this.lastPositionAbs.left;return 0!==n&&(n>0?"right":"left")},refresh:function(n){return this._refreshItems(n),this.refreshPositions(),this},_connectWith:function(){var n=this.options;return n.connectWith.constructor===String?[n.connectWith]:n.connectWith},_getItemsAsjQuery:function(t){var r,u,e,i,s=[],f=[],o=this._connectWith();if(o&&t)for(r=o.length-1;r>=0;r--)for(e=n(o[r]),u=e.length-1;u>=0;u--)i=n.data(e[u],this.widgetFullName),i&&i!==this&&!i.options.disabled&&f.push([n.isFunction(i.options.items)?i.options.items.call(i.element):n(i.options.items,i.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),i]);for(f.push([n.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):n(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),r=f.length-1;r>=0;r--)f[r][0].each(function(){s.push(this)});return n(s)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=n.grep(this.items,function(n){for(var i=0;t.length>i;i++)if(t[i]===n.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[];this.containers=[this];var r,u,e,i,o,s,h,l,a=this.items,f=[[n.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):n(this.options.items,this.element),this]],c=this._connectWith();if(c&&this.ready)for(r=c.length-1;r>=0;r--)for(e=n(c[r]),u=e.length-1;u>=0;u--)i=n.data(e[u],this.widgetFullName),i&&i!==this&&!i.options.disabled&&(f.push([n.isFunction(i.options.items)?i.options.items.call(i.element[0],t,{item:this.currentItem}):n(i.options.items,i.element),i]),this.containers.push(i));for(r=f.length-1;r>=0;r--)for(o=f[r][1],s=f[r][0],u=0,l=s.length;l>u;u++)h=n(s[u]),h.data(this.widgetName+"-item",o),a.push({item:h,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(t){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());for(var r,f,u,i=this.items.length-1;i>=0;i--)r=this.items[i],r.instance!==this.currentContainer&&this.currentContainer&&r.item[0]!==this.currentItem[0]||(f=this.options.toleranceElement?n(this.options.toleranceElement,r.item):r.item,t||(r.width=f.outerWidth(),r.height=f.outerHeight()),u=f.offset(),r.left=u.left,r.top=u.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)u=this.containers[i].element.offset(),this.containers[i].containerCache.left=u.left,this.containers[i].containerCache.top=u.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(t){t=t||this;var r,i=t.options;i.placeholder&&i.placeholder.constructor!==String||(r=i.placeholder,i.placeholder={element:function(){var u=t.currentItem[0].nodeName.toLowerCase(),i=n("<"+u+">",t.document[0]).addClass(r||t.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===u?t.currentItem.children().each(function(){n("<td>&#160;<\/td>",t.document[0]).attr("colspan",n(this).attr("colspan")||1).appendTo(i)}):"img"===u&&i.attr("src",t.currentItem.attr("src")),r||i.css("visibility","hidden"),i},update:function(n,u){(!r||i.forcePlaceholderSize)&&(u.height()||u.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),u.width()||u.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}});t.placeholder=n(i.placeholder.element.call(t.element,t.currentItem));t.currentItem.after(t.placeholder);i.placeholder.update(t,t.placeholder)},_contactContainers:function(r){for(var f,v,s,l,y,h,o,p,a,c=null,e=null,u=this.containers.length-1;u>=0;u--)if(!n.contains(this.currentItem[0],this.containers[u].element[0]))if(this._intersectsWith(this.containers[u].containerCache)){if(c&&n.contains(this.containers[u].element[0],c.element[0]))continue;c=this.containers[u];e=u}else this.containers[u].containerCache.over&&(this.containers[u]._trigger("out",r,this._uiHash(this)),this.containers[u].containerCache.over=0);if(c)if(1===this.containers.length)this.containers[e].containerCache.over||(this.containers[e]._trigger("over",r,this._uiHash(this)),this.containers[e].containerCache.over=1);else{for(v=1e4,s=null,a=c.floating||i(this.currentItem),l=a?"left":"top",y=a?"width":"height",h=this.positionAbs[l]+this.offset.click[l],f=this.items.length-1;f>=0;f--)n.contains(this.containers[e].element[0],this.items[f].item[0])&&this.items[f].item[0]!==this.currentItem[0]&&(!a||t(this.positionAbs.top+this.offset.click.top,this.items[f].top,this.items[f].height))&&(o=this.items[f].item.offset()[l],p=!1,Math.abs(o-h)>Math.abs(o+this.items[f][y]-h)&&(p=!0,o+=this.items[f][y]),v>Math.abs(o-h)&&(v=Math.abs(o-h),s=this.items[f],this.direction=p?"up":"down"));if(!s&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[e])return;s?this._rearrange(r,s,null,!0):this._rearrange(r,null,this.containers[e].element,!0);this._trigger("change",r,this._uiHash());this.containers[e]._trigger("change",r,this._uiHash(this));this.currentContainer=this.containers[e];this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[e]._trigger("over",r,this._uiHash(this));this.containers[e].containerCache.over=1}},_createHelper:function(t){var r=this.options,i=n.isFunction(r.helper)?n(r.helper.apply(this.element[0],[t,this.currentItem])):"clone"===r.helper?this.currentItem.clone():this.currentItem;return i.parents("body").length||n("parent"!==r.appendTo?r.appendTo:this.currentItem[0].parentNode)[0].appendChild(i[0]),i[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!i[0].style.width||r.forceHelperSize)&&i.width(this.currentItem.width()),(!i[0].style.height||r.forceHelperSize)&&i.height(this.currentItem.height()),i},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" "));n.isArray(t)&&(t={left:+t[0],top:+t[1]||0});"left"in t&&(this.offset.click.left=t.left+this.margins.left);"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left);"top"in t&&(this.offset.click.top=t.top+this.margins.top);"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&n.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&n.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var n=this.currentItem.position();return{top:n.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:n.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,r,u,i=this.options;"parent"===i.containment&&(i.containment=this.helper[0].parentNode);("document"===i.containment||"window"===i.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,n("document"===i.containment?document:window).width()-this.helperProportions.width-this.margins.left,(n("document"===i.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]);/^(document|window|parent)$/.test(i.containment)||(t=n(i.containment)[0],r=n(i.containment).offset(),u="hidden"!==n(t).css("overflow"),this.containment=[r.left+(parseInt(n(t).css("borderLeftWidth"),10)||0)+(parseInt(n(t).css("paddingLeft"),10)||0)-this.margins.left,r.top+(parseInt(n(t).css("borderTopWidth"),10)||0)+(parseInt(n(t).css("paddingTop"),10)||0)-this.margins.top,r.left+(u?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(n(t).css("borderLeftWidth"),10)||0)-(parseInt(n(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,r.top+(u?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(n(t).css("borderTopWidth"),10)||0)-(parseInt(n(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,i){i||(i=this.position);var r="absolute"===t?1:-1,u="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&n.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,f=/(html|body)/i.test(u[0].tagName);return{top:i.top+this.offset.relative.top*r+this.offset.parent.top*r-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():f?0:u.scrollTop())*r,left:i.left+this.offset.relative.left*r+this.offset.parent.left*r-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():f?0:u.scrollLeft())*r}},_generatePosition:function(t){var r,u,i=this.options,f=t.pageX,e=t.pageY,o="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&n.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(o[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(f=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(e=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(f=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(e=this.containment[3]+this.offset.click.top)),i.grid&&(r=this.originalPageY+Math.round((e-this.originalPageY)/i.grid[1])*i.grid[1],e=this.containment?r-this.offset.click.top>=this.containment[1]&&r-this.offset.click.top<=this.containment[3]?r:r-this.offset.click.top>=this.containment[1]?r-i.grid[1]:r+i.grid[1]:r,u=this.originalPageX+Math.round((f-this.originalPageX)/i.grid[0])*i.grid[0],f=this.containment?u-this.offset.click.left>=this.containment[0]&&u-this.offset.click.left<=this.containment[2]?u:u-this.offset.click.left>=this.containment[0]?u-i.grid[0]:u+i.grid[0]:u)),{top:e-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:o.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:o.scrollLeft())}},_rearrange:function(n,t,i,r){i?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling);this.counter=this.counter?++this.counter:1;var u=this.counter;this._delay(function(){u===this.counter&&this.refreshPositions(!r)})},_clear:function(n,t){this.reverting=!1;var i,r=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)("auto"===this._storedCSS[i]||"static"===this._storedCSS[i])&&(this._storedCSS[i]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!t&&r.push(function(n){this._trigger("receive",n,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||r.push(function(n){this._trigger("update",n,this._uiHash())}),this!==this.currentContainer&&(t||(r.push(function(n){this._trigger("remove",n,this._uiHash())}),r.push(function(n){return function(t){n._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),r.push(function(n){return function(t){n._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)t||r.push(function(n){return function(t){n._trigger("deactivate",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(r.push(function(n){return function(t){n._trigger("out",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!t){for(this._trigger("beforeStop",n,this._uiHash()),i=0;r.length>i;i++)r[i].call(this,n);this._trigger("stop",n,this._uiHash())}return this.fromOutside=!1,!1}if(t||this._trigger("beforeStop",n,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!t){for(i=0;r.length>i;i++)r[i].call(this,n);this._trigger("stop",n,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){n.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(t){var i=t||this;return{helper:i.helper,placeholder:i.placeholder||n([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:t?t.element:null}}})}(jQuery),function(n){var r=0,t={},i={};t.height=t.paddingTop=t.paddingBottom=t.borderTopWidth=t.borderBottomWidth="hide";i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="show";n.widget("ui.accordion",{version:"1.10.3",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var t=this.options;this.prevShow=this.prevHide=n();this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist");t.collapsible||t.active!==!1&&null!=t.active||(t.active=0);this._processPanels();0>t.active&&(t.active+=this.headers.length);this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():n(),content:this.active.length?this.active.next():n()}},_createIcons:function(){var t=this.options.icons;t&&(n("<span>").addClass("ui-accordion-header-icon ui-icon "+t.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var n;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")});this._destroyIcons();n=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")});"content"!==this.options.heightStyle&&n.css("height","")},_setOption:function(n,t){return"active"===n?(this._activate(t),undefined):("event"===n&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(n,t),"collapsible"!==n||t||this.options.active!==!1||this._activate(0),"icons"===n&&(this._destroyIcons(),t&&this._createIcons()),"disabled"===n&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!t),undefined)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var i=n.ui.keyCode,u=this.headers.length,f=this.headers.index(t.target),r=!1;switch(t.keyCode){case i.RIGHT:case i.DOWN:r=this.headers[(f+1)%u];break;case i.LEFT:case i.UP:r=this.headers[(f-1+u)%u];break;case i.SPACE:case i.ENTER:this._eventHandler(t);break;case i.HOME:r=this.headers[0];break;case i.END:r=this.headers[u-1]}r&&(n(t.target).attr("tabIndex",-1),n(r).attr("tabIndex",0),r.focus(),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===n.ui.keyCode.UP&&t.ctrlKey&&n(t.currentTarget).prev().focus()},refresh:function(){var t=this.options;this._processPanels();t.active===!1&&t.collapsible===!0||!this.headers.length?(t.active=!1,this.active=n()):t.active===!1?this._activate(0):this.active.length&&!n.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=n()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active);this._destroyIcons();this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all");this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var t,i=this.options,u=i.heightStyle,e=this.element.parent(),f=this.accordionId="ui-accordion-"+(this.element.attr("id")||++r);this.active=this._findActive(i.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all");this.active.next().addClass("ui-accordion-content-active").show();this.headers.attr("role","tab").each(function(t){var i=n(this),r=i.attr("id"),e=i.next(),u=e.attr("id");r||(r=f+"-header-"+t,i.attr("id",r));u||(u=f+"-panel-"+t,e.attr("id",u));i.attr("aria-controls",u);e.attr("aria-labelledby",r)}).next().attr("role","tabpanel");this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide();this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0);this._createIcons();this._setupEvents(i.event);"fill"===u?(t=e.height(),this.element.siblings(":visible").each(function(){var i=n(this),r=i.css("position");"absolute"!==r&&"fixed"!==r&&(t-=i.outerHeight(!0))}),this.headers.each(function(){t-=n(this).outerHeight(!0)}),this.headers.next().each(function(){n(this).height(Math.max(0,t-n(this).innerHeight()+n(this).height()))}).css("overflow","auto")):"auto"===u&&(t=0,this.headers.next().each(function(){t=Math.max(t,n(this).css("height","").height())}).height(t))},_activate:function(t){var i=this._findActive(t)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:n.noop}))},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):n()},_setupEvents:function(t){var i={keydown:"_keydown"};t&&n.each(t.split(" "),function(n,t){i[t]="_eventHandler"});this._off(this.headers.add(this.headers.next()));this._on(this.headers,i);this._on(this.headers.next(),{keydown:"_panelKeyDown"});this._hoverable(this.headers);this._focusable(this.headers)},_eventHandler:function(t){var i=this.options,u=this.active,r=n(t.currentTarget),f=r[0]===u[0],e=f&&i.collapsible,s=e?n():r.next(),h=u.next(),o={oldHeader:u,oldPanel:h,newHeader:e?n():r,newPanel:s};t.preventDefault();f&&!i.collapsible||this._trigger("beforeActivate",t,o)===!1||(i.active=e?!1:this.headers.index(r),this.active=f?n():r,this._toggle(o),u.removeClass("ui-accordion-header-active ui-state-active"),i.icons&&u.children(".ui-accordion-header-icon").removeClass(i.icons.activeHeader).addClass(i.icons.header),f||(r.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),i.icons&&r.children(".ui-accordion-header-icon").removeClass(i.icons.header).addClass(i.icons.activeHeader),r.next().addClass("ui-accordion-content-active")))},_toggle:function(t){var r=t.newPanel,i=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0);this.prevShow=r;this.prevHide=i;this.options.animate?this._animate(r,i,t):(i.hide(),r.show(),this._toggleComplete(t));i.attr({"aria-expanded":"false","aria-hidden":"true"});i.prev().attr("aria-selected","false");r.length&&i.length?i.prev().attr("tabIndex",-1):r.length&&this.headers.filter(function(){return 0===n(this).attr("tabIndex")}).attr("tabIndex",-1);r.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(n,r,u){var l,f,e,a=this,h=0,v=n.length&&(!r.length||n.index()<r.index()),s=this.options.animate||{},o=v&&s.down||s,c=function(){a._toggleComplete(u)};return"number"==typeof o&&(e=o),"string"==typeof o&&(f=o),f=f||o.easing||s.easing,e=e||o.duration||s.duration,r.length?n.length?(l=n.show().outerHeight(),r.animate(t,{duration:e,easing:f,step:function(n,t){t.now=Math.round(n)}}),n.hide().animate(i,{duration:e,easing:f,complete:c,step:function(n,t){t.now=Math.round(n);"height"!==t.prop?h+=t.now:"content"!==a.options.heightStyle&&(t.now=Math.round(l-r.outerHeight()-h),h=0)}}),undefined):r.animate(t,e,f,c):n.animate(i,e,f,c)},_toggleComplete:function(n){var t=n.oldPanel;t.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all");t.length&&(t.parent()[0].className=t.parent()[0].className);this._trigger("activate",null,n)}})}(jQuery),function(n){var t=0;n.widget("ui.autocomplete",{version:"1.10.3",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var t,i,r,u=this.element[0].nodeName.toLowerCase(),f="textarea"===u,e="input"===u;this.isMultiLine=f?!0:e?!1:this.element.prop("isContentEditable");this.valueMethod=this.element[f||e?"val":"text"];this.isNewMenu=!0;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off");this._on(this.element,{keydown:function(u){if(this.element.prop("readOnly"))return t=!0,r=!0,i=!0,undefined;t=!1;r=!1;i=!1;var f=n.ui.keyCode;switch(u.keyCode){case f.PAGE_UP:t=!0;this._move("previousPage",u);break;case f.PAGE_DOWN:t=!0;this._move("nextPage",u);break;case f.UP:t=!0;this._keyEvent("previous",u);break;case f.DOWN:t=!0;this._keyEvent("next",u);break;case f.ENTER:case f.NUMPAD_ENTER:this.menu.active&&(t=!0,u.preventDefault(),this.menu.select(u));break;case f.TAB:this.menu.active&&this.menu.select(u);break;case f.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(u),u.preventDefault());break;default:i=!0;this._searchTimeout(u)}},keypress:function(r){if(t)return t=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&r.preventDefault(),undefined;if(!i){var u=n.ui.keyCode;switch(r.keyCode){case u.PAGE_UP:this._move("previousPage",r);break;case u.PAGE_DOWN:this._move("nextPage",r);break;case u.UP:this._keyEvent("previous",r);break;case u.DOWN:this._keyEvent("next",r)}}},input:function(n){return r?(r=!1,n.preventDefault(),undefined):(this._searchTimeout(n),undefined)},focus:function(){this.selectedItem=null;this.previous=this._value()},blur:function(n){return this.cancelBlur?(delete this.cancelBlur,undefined):(clearTimeout(this.searching),this.close(n),this._change(n),undefined)}});this._initSource();this.menu=n("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().data("ui-menu");this._on(this.menu.element,{mousedown:function(t){t.preventDefault();this.cancelBlur=!0;this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];n(t.target).closest(".ui-menu-item").length||this._delay(function(){var t=this;this.document.one("mousedown",function(r){r.target===t.element[0]||r.target===i||n.contains(i,r.target)||t.close()})})},menufocus:function(t,i){if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),this.document.one("mousemove",function(){n(t.target).trigger(t.originalEvent)}),undefined;var r=i.item.data("ui-autocomplete-item");!1!==this._trigger("focus",t,{item:r})?t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(r.value):this.liveRegion.text(r.value)},menuselect:function(n,t){var i=t.item.data("ui-autocomplete-item"),r=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=r,this._delay(function(){this.previous=r;this.selectedItem=i}));!1!==this._trigger("select",n,{item:i})&&this._value(i.value);this.term=this._value();this.close(n);this.selectedItem=i}});this.liveRegion=n("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertBefore(this.element);this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching);this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete");this.menu.element.remove();this.liveRegion.remove()},_setOption:function(n,t){this._super(n,t);"source"===n&&this._initSource();"appendTo"===n&&this.menu.element.appendTo(this._appendTo());"disabled"===n&&t&&this.xhr&&this.xhr.abort()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?n(t):this.document.find(t).eq(0)),t||(t=this.element.closest(".ui-front")),t.length||(t=this.document[0].body),t},_initSource:function(){var i,r,t=this;n.isArray(this.options.source)?(i=this.options.source,this.source=function(t,r){r(n.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(r=this.options.source,this.source=function(i,u){t.xhr&&t.xhr.abort();t.xhr=n.ajax({url:r,data:i,dataType:"json",success:function(n){u(n)},error:function(){u([])}})}):this.source=this.options.source},_searchTimeout:function(n){clearTimeout(this.searching);this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,n))},this.options.delay)},search:function(n,t){return n=null!=n?n:this._value(),this.term=this._value(),n.length<this.options.minLength?this.close(t):this._trigger("search",t)!==!1?this._search(n):undefined},_search:function(n){this.pending++;this.element.addClass("ui-autocomplete-loading");this.cancelSearch=!1;this.source({term:n},this._response())},_response:function(){var n=this,i=++t;return function(r){i===t&&n.__response(r);n.pending--;n.pending||n.element.removeClass("ui-autocomplete-loading")}},__response:function(n){n&&(n=this._normalize(n));this._trigger("response",null,{content:n});!this.options.disabled&&n&&n.length&&!this.cancelSearch?(this._suggest(n),this._trigger("open")):this._close()},close:function(n){this.cancelSearch=!0;this._close(n)},_close:function(n){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",n))},_change:function(n){this.previous!==this._value()&&this._trigger("change",n,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:n.map(t,function(t){return"string"==typeof t?{label:t,value:t}:n.extend({label:t.label||t.value,value:t.value||t.label},t)})},_suggest:function(t){var i=this.menu.element.empty();this._renderMenu(i,t);this.isNewMenu=!0;this.menu.refresh();i.show();this._resizeMenu();i.position(n.extend({of:this.element},this.options.position));this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var n=this.menu.element;n.outerWidth(Math.max(n.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,i){var r=this;n.each(i,function(n,i){r._renderItemData(t,i)})},_renderItemData:function(n,t){return this._renderItem(n,t).data("ui-autocomplete-item",t)},_renderItem:function(t,i){return n("<li>").append(n("<a>").text(i.label)).appendTo(t)},_move:function(n,t){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(n)||this.menu.isLastItem()&&/^next/.test(n)?(this._value(this.term),this.menu.blur(),undefined):(this.menu[n](t),undefined):(this.search(null,t),undefined)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(n,t){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(n,t),t.preventDefault())}});n.extend(n.ui.autocomplete,{escapeRegex:function(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,i){var r=RegExp(n.ui.autocomplete.escapeRegex(i),"i");return n.grep(t,function(n){return r.test(n.label||n.value||n)})}});n.widget("ui.autocomplete",n.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(n){return n+(n>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(n){var t;this._superApply(arguments);this.options.disabled||this.cancelSearch||(t=n&&n.length?this.options.messages.results(n.length):this.options.messages.noResults,this.liveRegion.text(t))}})}(jQuery),function(n){var i,r,u,t,f="ui-button ui-widget ui-state-default ui-corner-all",s="ui-state-hover ui-state-active ",e="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",h=function(){var t=n(this);setTimeout(function(){t.find(":ui-button").button("refresh")},1)},o=function(t){var i=t.name,r=t.form,u=n([]);return i&&(i=i.replace(/'/g,"\\'"),u=r?n(r).find("[name='"+i+"']"):n("[name='"+i+"']",t.ownerDocument).filter(function(){return!this.form})),u};n.widget("ui.button",{version:"1.10.3",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,h);"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled);this._determineButtonType();this.hasTitle=!!this.buttonElement.attr("title");var s=this,e=this.options,c="checkbox"===this.type||"radio"===this.type,a=c?"":"ui-state-active",l="ui-state-focus";null===e.label&&(e.label="input"===this.type?this.buttonElement.val():this.buttonElement.html());this._hoverable(this.buttonElement);this.buttonElement.addClass(f).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){e.disabled||this===i&&n(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){e.disabled||n(this).removeClass(a)}).bind("click"+this.eventNamespace,function(n){e.disabled&&(n.preventDefault(),n.stopImmediatePropagation())});this.element.bind("focus"+this.eventNamespace,function(){s.buttonElement.addClass(l)}).bind("blur"+this.eventNamespace,function(){s.buttonElement.removeClass(l)});c&&(this.element.bind("change"+this.eventNamespace,function(){t||s.refresh()}),this.buttonElement.bind("mousedown"+this.eventNamespace,function(n){e.disabled||(t=!1,r=n.pageX,u=n.pageY)}).bind("mouseup"+this.eventNamespace,function(n){e.disabled||(r!==n.pageX||u!==n.pageY)&&(t=!0)}));"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){return e.disabled||t?!1:undefined}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(e.disabled||t)return!1;n(this).addClass("ui-state-active");s.buttonElement.attr("aria-pressed","true");var i=s.element[0];o(i).not(i).map(function(){return n(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){return e.disabled?!1:(n(this).addClass("ui-state-active"),i=this,s.document.one("mouseup",function(){i=null}),undefined)}).bind("mouseup"+this.eventNamespace,function(){return e.disabled?!1:(n(this).removeClass("ui-state-active"),undefined)}).bind("keydown"+this.eventNamespace,function(t){return e.disabled?!1:((t.keyCode===n.ui.keyCode.SPACE||t.keyCode===n.ui.keyCode.ENTER)&&n(this).addClass("ui-state-active"),undefined)}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){n(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(t){t.keyCode===n.ui.keyCode.SPACE&&n(this).click()}));this._setOption("disabled",e.disabled);this._resetButton()},_determineButtonType:function(){var n,t,i;this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.is("[type=radio]")?"radio":this.element.is("input")?"input":"button";"checkbox"===this.type||"radio"===this.type?(n=this.element.parents().last(),t="label[for='"+this.element.attr("id")+"']",this.buttonElement=n.find(t),this.buttonElement.length||(n=n.length?n.siblings():this.element.siblings(),this.buttonElement=n.filter(t),this.buttonElement.length||(this.buttonElement=n.find(t))),this.element.addClass("ui-helper-hidden-accessible"),i=this.element.is(":checked"),i&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",i)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");this.buttonElement.removeClass(f+" "+s+" "+e).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(n,t){return this._super(n,t),"disabled"===n?(t?this.element.prop("disabled",!0):this.element.prop("disabled",!1),undefined):(this._resetButton(),undefined)},refresh:function(){var t=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOption("disabled",t);"radio"===this.type?o(this.element[0]).each(function(){n(this).is(":checked")?n(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):n(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if("input"===this.type)return this.options.label&&this.element.val(this.options.label),undefined;var i=this.buttonElement.removeClass(e),f=n("<span><\/span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(i.empty()).text(),t=this.options.icons,u=t.primary&&t.secondary,r=[];t.primary||t.secondary?(this.options.text&&r.push("ui-button-text-icon"+(u?"s":t.primary?"-primary":"-secondary")),t.primary&&i.prepend("<span class='ui-button-icon-primary ui-icon "+t.primary+"'><\/span>"),t.secondary&&i.append("<span class='ui-button-icon-secondary ui-icon "+t.secondary+"'><\/span>"),this.options.text||(r.push(u?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||i.attr("title",n.trim(f)))):r.push("ui-button-text-only");i.addClass(r.join(" "))}});n.widget("ui.buttonset",{version:"1.10.3",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(n,t){"disabled"===n&&this.buttons.button("option",n,t);this._super(n,t)},refresh:function(){var t="rtl"===this.element.css("direction");this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return n(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(t?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(t?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return n(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}})}(jQuery),function(n,t){function f(){this._curInst=null;this._keyEvent=!1;this._disabledInputs=[];this._datepickerShowing=!1;this._inDialog=!1;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass="ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1};n.extend(this._defaults,this.regional[""]);this.dpDiv=e(n("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'><\/div>"))}function e(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.delegate(i,"mouseout",function(){n(this).removeClass("ui-state-hover");-1!==this.className.indexOf("ui-datepicker-prev")&&n(this).removeClass("ui-datepicker-prev-hover");-1!==this.className.indexOf("ui-datepicker-next")&&n(this).removeClass("ui-datepicker-next-hover")}).delegate(i,"mouseover",function(){n.datepicker._isDisabledDatepicker(u.inline?t.parent()[0]:u.input[0])||(n(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),n(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&n(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&n(this).addClass("ui-datepicker-next-hover"))})}function r(t,i){n.extend(t,i);for(var r in i)null==i[r]&&(t[r]=i[r]);return t}n.extend(n.ui,{datepicker:{version:"1.10.3"}});var u,i="datepicker";n.extend(f.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(n){return r(this._defaults,n||{}),this},_attachDatepicker:function(t,i){var r,f,u;r=t.nodeName.toLowerCase();f="div"===r||"span"===r;t.id||(this.uuid+=1,t.id="dp"+this.uuid);u=this._newInst(n(t),f);u.settings=n.extend({},i||{});"input"===r?this._connectDatepicker(t,u):f&&this._inlineDatepicker(t,u)},_newInst:function(t,i){var r=t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:r,input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?e(n("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'><\/div>")):this.dpDiv}},_connectDatepicker:function(t,r){var u=n(t);r.append=n([]);r.trigger=n([]);u.hasClass(this.markerClassName)||(this._attachments(u,r),u.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(r),n.data(t,i,r),r.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var u,r,f,e=this._get(i,"appendText"),o=this._get(i,"isRTL");i.append&&i.append.remove();e&&(i.append=n("<span class='"+this._appendClass+"'>"+e+"<\/span>"),t[o?"before":"after"](i.append));t.unbind("focus",this._showDatepicker);i.trigger&&i.trigger.remove();u=this._get(i,"showOn");("focus"===u||"both"===u)&&t.focus(this._showDatepicker);("button"===u||"both"===u)&&(r=this._get(i,"buttonText"),f=this._get(i,"buttonImage"),i.trigger=n(this._get(i,"buttonImageOnly")?n("<img/>").addClass(this._triggerClass).attr({src:f,alt:r,title:r}):n("<button type='button'><\/button>").addClass(this._triggerClass).html(f?n("<img/>").attr({src:f,alt:r,title:r}):r)),t[o?"before":"after"](i.trigger),i.trigger.click(function(){return n.datepicker._datepickerShowing&&n.datepicker._lastInput===t[0]?n.datepicker._hideDatepicker():n.datepicker._datepickerShowing&&n.datepicker._lastInput!==t[0]?(n.datepicker._hideDatepicker(),n.datepicker._showDatepicker(t[0])):n.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(n){if(this._get(n,"autoSize")&&!n.inline){var r,u,f,t,i=new Date(2009,11,20),e=this._get(n,"dateFormat");e.match(/[DM]/)&&(r=function(n){for(u=0,f=0,t=0;n.length>t;t++)n[t].length>u&&(u=n[t].length,f=t);return f},i.setMonth(r(this._get(n,e.match(/MM/)?"monthNames":"monthNamesShort"))),i.setDate(r(this._get(n,e.match(/DD/)?"dayNames":"dayNamesShort"))+20-i.getDay()));n.input.attr("size",this._formatDate(n,i).length)}},_inlineDatepicker:function(t,r){var u=n(t);u.hasClass(this.markerClassName)||(u.addClass(this.markerClassName).append(r.dpDiv),n.data(t,i,r),this._setDate(r,this._getDefaultDate(r),!0),this._updateDatepicker(r),this._updateAlternate(r),r.settings.disabled&&this._disableDatepicker(t),r.dpDiv.css("display","block"))},_dialogDatepicker:function(t,u,f,e,o){var h,c,l,a,v,s=this._dialogInst;return s||(this.uuid+=1,h="dp"+this.uuid,this._dialogInput=n("<input type='text' id='"+h+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),n("body").append(this._dialogInput),s=this._dialogInst=this._newInst(this._dialogInput,!1),s.settings={},n.data(this._dialogInput[0],i,s)),r(s.settings,e||{}),u=u&&u.constructor===Date?this._formatDate(s,u):u,this._dialogInput.val(u),this._pos=o?o.length?o:[o.pageX,o.pageY]:null,this._pos||(c=document.documentElement.clientWidth,l=document.documentElement.clientHeight,a=document.documentElement.scrollLeft||document.body.scrollLeft,v=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[c/2-100+a,l/2-150+v]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),s.settings.onSelect=f,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),n.blockUI&&n.blockUI(this.dpDiv),n.data(this._dialogInput[0],i,s),this},_destroyDatepicker:function(t){var r,u=n(t),f=n.data(t,i);u.hasClass(this.markerClassName)&&(r=t.nodeName.toLowerCase(),n.removeData(t,i),"input"===r?(f.append.remove(),f.trigger.remove(),u.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===r||"span"===r)&&u.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var r,u,f=n(t),e=n.data(t,i);f.hasClass(this.markerClassName)&&(r=t.nodeName.toLowerCase(),"input"===r?(t.disabled=!1,e.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===r||"span"===r)&&(u=f.children("."+this._inlineClass),u.children().removeClass("ui-state-disabled"),u.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=n.map(this._disabledInputs,function(n){return n===t?null:n}))},_disableDatepicker:function(t){var r,u,f=n(t),e=n.data(t,i);f.hasClass(this.markerClassName)&&(r=t.nodeName.toLowerCase(),"input"===r?(t.disabled=!0,e.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===r||"span"===r)&&(u=f.children("."+this._inlineClass),u.children().addClass("ui-state-disabled"),u.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=n.map(this._disabledInputs,function(n){return n===t?null:n}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(n){if(!n)return!1;for(var t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===n)return!0;return!1},_getInst:function(t){try{return n.data(t,i)}catch(r){throw"Missing instance data for this datepicker";}},_optionDatepicker:function(i,u,f){var o,c,s,h,e=this._getInst(i);return 2===arguments.length&&"string"==typeof u?"defaults"===u?n.extend({},n.datepicker._defaults):e?"all"===u?n.extend({},e.settings):this._get(e,u):null:(o=u||{},"string"==typeof u&&(o={},o[u]=f),e&&(this._curInst===e&&this._hideDatepicker(),c=this._getDateDatepicker(i,!0),s=this._getMinMaxDate(e,"min"),h=this._getMinMaxDate(e,"max"),r(e.settings,o),null!==s&&o.dateFormat!==t&&o.minDate===t&&(e.settings.minDate=this._formatDate(e,s)),null!==h&&o.dateFormat!==t&&o.maxDate===t&&(e.settings.maxDate=this._formatDate(e,h)),"disabled"in o&&(o.disabled?this._disableDatepicker(i):this._enableDatepicker(i)),this._attachments(n(i),e),this._autoSize(e),this._setDate(e,c),this._updateAlternate(e),this._updateDatepicker(e)),t)},_changeDatepicker:function(n,t,i){this._optionDatepicker(n,t,i)},_refreshDatepicker:function(n){var t=this._getInst(n);t&&this._updateDatepicker(t)},_setDateDatepicker:function(n,t){var i=this._getInst(n);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(n,t){var i=this._getInst(n);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(t){var u,e,f,i=n.datepicker._getInst(t.target),r=!0,o=i.dpDiv.is(".ui-datepicker-rtl");if(i._keyEvent=!0,n.datepicker._datepickerShowing)switch(t.keyCode){case 9:n.datepicker._hideDatepicker();r=!1;break;case 13:return f=n("td."+n.datepicker._dayOverClass+":not(."+n.datepicker._currentClass+")",i.dpDiv),f[0]&&n.datepicker._selectDay(t.target,i.selectedMonth,i.selectedYear,f[0]),u=n.datepicker._get(i,"onSelect"),u?(e=n.datepicker._formatDate(i),u.apply(i.input?i.input[0]:null,[e,i])):n.datepicker._hideDatepicker(),!1;case 27:n.datepicker._hideDatepicker();break;case 33:n.datepicker._adjustDate(t.target,t.ctrlKey?-n.datepicker._get(i,"stepBigMonths"):-n.datepicker._get(i,"stepMonths"),"M");break;case 34:n.datepicker._adjustDate(t.target,t.ctrlKey?+n.datepicker._get(i,"stepBigMonths"):+n.datepicker._get(i,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&n.datepicker._clearDate(t.target);r=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&n.datepicker._gotoToday(t.target);r=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&n.datepicker._adjustDate(t.target,o?1:-1,"D");r=t.ctrlKey||t.metaKey;t.originalEvent.altKey&&n.datepicker._adjustDate(t.target,t.ctrlKey?-n.datepicker._get(i,"stepBigMonths"):-n.datepicker._get(i,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&n.datepicker._adjustDate(t.target,-7,"D");r=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&n.datepicker._adjustDate(t.target,o?-1:1,"D");r=t.ctrlKey||t.metaKey;t.originalEvent.altKey&&n.datepicker._adjustDate(t.target,t.ctrlKey?+n.datepicker._get(i,"stepBigMonths"):+n.datepicker._get(i,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&n.datepicker._adjustDate(t.target,7,"D");r=t.ctrlKey||t.metaKey;break;default:r=!1}else 36===t.keyCode&&t.ctrlKey?n.datepicker._showDatepicker(this):r=!1;r&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(i){var r,u,f=n.datepicker._getInst(i.target);return n.datepicker._get(f,"constrainInput")?(r=n.datepicker._possibleChars(n.datepicker._get(f,"dateFormat")),u=String.fromCharCode(null==i.charCode?i.keyCode:i.charCode),i.ctrlKey||i.metaKey||" ">u||!r||r.indexOf(u)>-1):t},_doKeyUp:function(t){var r,i=n.datepicker._getInst(t.target);if(i.input.val()!==i.lastVal)try{r=n.datepicker.parseDate(n.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,n.datepicker._getFormatConfig(i));r&&(n.datepicker._setDateFromField(i),n.datepicker._updateAlternate(i),n.datepicker._updateDatepicker(i))}catch(u){}return!0},_showDatepicker:function(t){if(t=t.target||t,"input"!==t.nodeName.toLowerCase()&&(t=n("input",t.parentNode)[0]),!n.datepicker._isDisabledDatepicker(t)&&n.datepicker._lastInput!==t){var i,o,s,u,f,e,h;i=n.datepicker._getInst(t);n.datepicker._curInst&&n.datepicker._curInst!==i&&(n.datepicker._curInst.dpDiv.stop(!0,!0),i&&n.datepicker._datepickerShowing&&n.datepicker._hideDatepicker(n.datepicker._curInst.input[0]));o=n.datepicker._get(i,"beforeShow");s=o?o.apply(t,[t,i]):{};s!==!1&&(r(i.settings,s),i.lastVal=null,n.datepicker._lastInput=t,n.datepicker._setDateFromField(i),n.datepicker._inDialog&&(t.value=""),n.datepicker._pos||(n.datepicker._pos=n.datepicker._findPos(t),n.datepicker._pos[1]+=t.offsetHeight),u=!1,n(t).parents().each(function(){return u|="fixed"===n(this).css("position"),!u}),f={left:n.datepicker._pos[0],top:n.datepicker._pos[1]},n.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),n.datepicker._updateDatepicker(i),f=n.datepicker._checkOffset(i,f,u),i.dpDiv.css({position:n.datepicker._inDialog&&n.blockUI?"static":u?"fixed":"absolute",display:"none",left:f.left+"px",top:f.top+"px"}),i.inline||(e=n.datepicker._get(i,"showAnim"),h=n.datepicker._get(i,"duration"),i.dpDiv.zIndex(n(t).zIndex()+1),n.datepicker._datepickerShowing=!0,n.effects&&n.effects.effect[e]?i.dpDiv.show(e,n.datepicker._get(i,"showOptions"),h):i.dpDiv[e||"show"](e?h:null),n.datepicker._shouldFocusInput(i)&&i.input.focus(),n.datepicker._curInst=i))}},_updateDatepicker:function(t){this.maxRows=4;u=t;t.dpDiv.empty().append(this._generateHTML(t));this._attachHandlers(t);t.dpDiv.find("."+this._dayOverClass+" a").mouseover();var i,r=this._getNumberOfMonths(t),f=r[1];t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");f>1&&t.dpDiv.addClass("ui-datepicker-multi-"+f).css("width",17*f+"em");t.dpDiv[(1!==r[0]||1!==r[1]?"add":"remove")+"Class"]("ui-datepicker-multi");t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");t===n.datepicker._curInst&&n.datepicker._datepickerShowing&&n.datepicker._shouldFocusInput(t)&&t.input.focus();t.yearshtml&&(i=t.yearshtml,setTimeout(function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml);i=t.yearshtml=null},0))},_shouldFocusInput:function(n){return n.input&&n.input.is(":visible")&&!n.input.is(":disabled")&&!n.input.is(":focus")},_checkOffset:function(t,i,r){var u=t.dpDiv.outerWidth(),f=t.dpDiv.outerHeight(),h=t.input?t.input.outerWidth():0,o=t.input?t.input.outerHeight():0,e=document.documentElement.clientWidth+(r?0:n(document).scrollLeft()),s=document.documentElement.clientHeight+(r?0:n(document).scrollTop());return i.left-=this._get(t,"isRTL")?u-h:0,i.left-=r&&i.left===t.input.offset().left?n(document).scrollLeft():0,i.top-=r&&i.top===t.input.offset().top+o?n(document).scrollTop():0,i.left-=Math.min(i.left,i.left+u>e&&e>u?Math.abs(i.left+u-e):0),i.top-=Math.min(i.top,i.top+f>s&&s>f?Math.abs(f+o):0),i},_findPos:function(t){for(var i,r=this._getInst(t),u=this._get(r,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||n.expr.filters.hidden(t));)t=t[u?"previousSibling":"nextSibling"];return i=n(t).offset(),[i.left,i.top]},_hideDatepicker:function(t){var u,e,f,o,r=this._curInst;!r||t&&r!==n.data(t,i)||this._datepickerShowing&&(u=this._get(r,"showAnim"),e=this._get(r,"duration"),f=function(){n.datepicker._tidyDialog(r)},n.effects&&(n.effects.effect[u]||n.effects[u])?r.dpDiv.hide(u,n.datepicker._get(r,"showOptions"),e,f):r.dpDiv["slideDown"===u?"slideUp":"fadeIn"===u?"fadeOut":"hide"](u?e:null,f),u||f(),this._datepickerShowing=!1,o=this._get(r,"onClose"),o&&o.apply(r.input?r.input[0]:null,[r.input?r.input.val():"",r]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),n.blockUI&&(n.unblockUI(),n("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(n){n.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(n.datepicker._curInst){var i=n(t.target),r=n.datepicker._getInst(i[0]);(i[0].id===n.datepicker._mainDivId||0!==i.parents("#"+n.datepicker._mainDivId).length||i.hasClass(n.datepicker.markerClassName)||i.closest("."+n.datepicker._triggerClass).length||!n.datepicker._datepickerShowing||n.datepicker._inDialog&&n.blockUI)&&(!i.hasClass(n.datepicker.markerClassName)||n.datepicker._curInst===r)||n.datepicker._hideDatepicker()}},_adjustDate:function(t,i,r){var f=n(t),u=this._getInst(f[0]);this._isDisabledDatepicker(f[0])||(this._adjustInstDate(u,i+("M"===r?this._get(u,"showCurrentAtPos"):0),r),this._updateDatepicker(u))},_gotoToday:function(t){var r,u=n(t),i=this._getInst(u[0]);this._get(i,"gotoCurrent")&&i.currentDay?(i.selectedDay=i.currentDay,i.drawMonth=i.selectedMonth=i.currentMonth,i.drawYear=i.selectedYear=i.currentYear):(r=new Date,i.selectedDay=r.getDate(),i.drawMonth=i.selectedMonth=r.getMonth(),i.drawYear=i.selectedYear=r.getFullYear());this._notifyChange(i);this._adjustDate(u)},_selectMonthYear:function(t,i,r){var f=n(t),u=this._getInst(f[0]);u["selected"+("M"===r?"Month":"Year")]=u["draw"+("M"===r?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10);this._notifyChange(u);this._adjustDate(f)},_selectDay:function(t,i,r,u){var f,e=n(t);n(u).hasClass(this._unselectableClass)||this._isDisabledDatepicker(e[0])||(f=this._getInst(e[0]),f.selectedDay=f.currentDay=n("a",u).html(),f.selectedMonth=f.currentMonth=i,f.selectedYear=f.currentYear=r,this._selectDate(t,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear)))},_clearDate:function(t){var i=n(t);this._selectDate(i,"")},_selectDate:function(t,i){var u,f=n(t),r=this._getInst(f[0]);i=null!=i?i:this._formatDate(r);r.input&&r.input.val(i);this._updateAlternate(r);u=this._get(r,"onSelect");u?u.apply(r.input?r.input[0]:null,[i,r]):r.input&&r.input.trigger("change");r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],"object"!=typeof r.input[0]&&r.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var i,r,u,f=this._get(t,"altField");f&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),r=this._getDate(t),u=this.formatDate(i,r,this._getFormatConfig(t)),n(f).each(function(){n(this).val(u)}))},noWeekends:function(n){var t=n.getDay();return[t>0&&6>t,""]},iso8601Week:function(n){var i,t=new Date(n.getTime());return t.setDate(t.getDate()+4-(t.getDay()||7)),i=t.getTime(),t.setMonth(0),t.setDate(1),Math.floor(Math.round((i-t)/864e5)/7)+1},parseDate:function(i,r,u){if(null==i||null==r)throw"Invalid arguments";if(r="object"==typeof r?""+r:r+"",""===r)return null;for(var v,y,f,e=0,p=(u?u.shortYearCutoff:null)||this._defaults.shortYearCutoff,g="string"!=typeof p?p:(new Date).getFullYear()%100+parseInt(p,10),nt=(u?u.dayNamesShort:null)||this._defaults.dayNamesShort,tt=(u?u.dayNames:null)||this._defaults.dayNames,it=(u?u.monthNamesShort:null)||this._defaults.monthNamesShort,rt=(u?u.monthNames:null)||this._defaults.monthNames,o=-1,h=-1,c=-1,w=-1,b=!1,a=function(n){var t=i.length>s+1&&i.charAt(s+1)===n;return t&&s++,t},l=function(n){var i=a(n),u="@"===n?14:"!"===n?20:"y"===n&&i?4:"o"===n?3:2,f=RegExp("^\\d{1,"+u+"}"),t=r.substring(e).match(f);if(!t)throw"Missing number at position "+e;return e+=t[0].length,parseInt(t[0],10)},d=function(i,u,f){var o=-1,s=n.map(a(i)?f:u,function(n,t){return[[t,n]]}).sort(function(n,t){return-(n[1].length-t[1].length)});if(n.each(s,function(n,i){var u=i[1];return r.substr(e,u.length).toLowerCase()===u.toLowerCase()?(o=i[0],e+=u.length,!1):t}),-1!==o)return o+1;throw"Unknown name at position "+e;},k=function(){if(r.charAt(e)!==i.charAt(s))throw"Unexpected literal at position "+e;e++},s=0;i.length>s;s++)if(b)"'"!==i.charAt(s)||a("'")?k():b=!1;else switch(i.charAt(s)){case"d":c=l("d");break;case"D":d("D",nt,tt);break;case"o":w=l("o");break;case"m":h=l("m");break;case"M":h=d("M",it,rt);break;case"y":o=l("y");break;case"@":f=new Date(l("@"));o=f.getFullYear();h=f.getMonth()+1;c=f.getDate();break;case"!":f=new Date((l("!")-this._ticksTo1970)/1e4);o=f.getFullYear();h=f.getMonth()+1;c=f.getDate();break;case"'":a("'")?k():b=!0;break;default:k()}if(r.length>e&&(y=r.substr(e),!/^\s+/.test(y)))throw"Extra/unparsed characters found in date: "+y;if(-1===o?o=(new Date).getFullYear():100>o&&(o+=(new Date).getFullYear()-(new Date).getFullYear()%100+(g>=o?0:-100)),w>-1)for(h=1,c=w;;){if(v=this._getDaysInMonth(o,h-1),v>=c)break;h++;c-=v}if(f=this._daylightSavingAdjust(new Date(o,h-1,c)),f.getFullYear()!==o||f.getMonth()+1!==h||f.getDate()!==c)throw"Invalid date";return f},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864e9*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(n,t,i){if(!t)return"";var u,h=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,c=(i?i.dayNames:null)||this._defaults.dayNames,l=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,a=(i?i.monthNames:null)||this._defaults.monthNames,f=function(t){var i=n.length>u+1&&n.charAt(u+1)===t;return i&&u++,i},e=function(n,t,i){var r=""+t;if(f(n))for(;i>r.length;)r="0"+r;return r},s=function(n,t,i,r){return f(n)?r[t]:i[t]},r="",o=!1;if(t)for(u=0;n.length>u;u++)if(o)"'"!==n.charAt(u)||f("'")?r+=n.charAt(u):o=!1;else switch(n.charAt(u)){case"d":r+=e("d",t.getDate(),2);break;case"D":r+=s("D",t.getDay(),h,c);break;case"o":r+=e("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":r+=e("m",t.getMonth()+1,2);break;case"M":r+=s("M",t.getMonth(),l,a);break;case"y":r+=f("y")?t.getFullYear():(10>t.getYear()%100?"0":"")+t.getYear()%100;break;case"@":r+=t.getTime();break;case"!":r+=1e4*t.getTime()+this._ticksTo1970;break;case"'":f("'")?r+="'":o=!0;break;default:r+=n.charAt(u)}return r},_possibleChars:function(n){for(var i="",r=!1,u=function(i){var r=n.length>t+1&&n.charAt(t+1)===i;return r&&t++,r},t=0;n.length>t;t++)if(r)"'"!==n.charAt(t)||u("'")?i+=n.charAt(t):r=!1;else switch(n.charAt(t)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":u("'")?i+="'":r=!0;break;default:i+=n.charAt(t)}return i},_get:function(n,i){return n.settings[i]!==t?n.settings[i]:this._defaults[i]},_setDateFromField:function(n,t){if(n.input.val()!==n.lastVal){var f=this._get(n,"dateFormat"),r=n.lastVal=n.input?n.input.val():null,u=this._getDefaultDate(n),i=u,e=this._getFormatConfig(n);try{i=this.parseDate(f,r,e)||u}catch(o){r=t?"":r}n.selectedDay=i.getDate();n.drawMonth=n.selectedMonth=i.getMonth();n.drawYear=n.selectedYear=i.getFullYear();n.currentDay=r?i.getDate():0;n.currentMonth=r?i.getMonth():0;n.currentYear=r?i.getFullYear():0;this._adjustInstDate(n)}},_getDefaultDate:function(n){return this._restrictMinMax(n,this._determineDate(n,this._get(n,"defaultDate"),new Date))},_determineDate:function(t,i,r){var f=function(n){var t=new Date;return t.setDate(t.getDate()+n),t},e=function(i){try{return n.datepicker.parseDate(n.datepicker._get(t,"dateFormat"),i,n.datepicker._getFormatConfig(t))}catch(h){}for(var o=(i.toLowerCase().match(/^c/)?n.datepicker._getDate(t):null)||new Date,f=o.getFullYear(),e=o.getMonth(),r=o.getDate(),s=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,u=s.exec(i);u;){switch(u[2]||"d"){case"d":case"D":r+=parseInt(u[1],10);break;case"w":case"W":r+=7*parseInt(u[1],10);break;case"m":case"M":e+=parseInt(u[1],10);r=Math.min(r,n.datepicker._getDaysInMonth(f,e));break;case"y":case"Y":f+=parseInt(u[1],10);r=Math.min(r,n.datepicker._getDaysInMonth(f,e))}u=s.exec(i)}return new Date(f,e,r)},u=null==i||""===i?r:"string"==typeof i?e(i):"number"==typeof i?isNaN(i)?r:f(i):new Date(i.getTime());return u=u&&"Invalid Date"==""+u?r:u,u&&(u.setHours(0),u.setMinutes(0),u.setSeconds(0),u.setMilliseconds(0)),this._daylightSavingAdjust(u)},_daylightSavingAdjust:function(n){return n?(n.setHours(n.getHours()>12?n.getHours()+2:0),n):null},_setDate:function(n,t,i){var u=!t,f=n.selectedMonth,e=n.selectedYear,r=this._restrictMinMax(n,this._determineDate(n,t,new Date));n.selectedDay=n.currentDay=r.getDate();n.drawMonth=n.selectedMonth=n.currentMonth=r.getMonth();n.drawYear=n.selectedYear=n.currentYear=r.getFullYear();f===n.selectedMonth&&e===n.selectedYear||i||this._notifyChange(n);this._adjustInstDate(n);n.input&&n.input.val(u?"":this._formatDate(n))},_getDate:function(n){return!n.currentYear||n.input&&""===n.input.val()?null:this._daylightSavingAdjust(new Date(n.currentYear,n.currentMonth,n.currentDay))},_attachHandlers:function(t){var r=this._get(t,"stepMonths"),i="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){n.datepicker._adjustDate(i,-r,"M")},next:function(){n.datepicker._adjustDate(i,+r,"M")},hide:function(){n.datepicker._hideDatepicker()},today:function(){n.datepicker._gotoToday(i)},selectDay:function(){return n.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return n.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return n.datepicker._selectMonthYear(i,this,"Y"),!1}};n(this).bind(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(n){var b,s,rt,h,ut,k,ft,et,ri,c,ot,ui,fi,ei,oi,st,g,si,ht,nt,o,y,ct,p,lt,l,u,at,vt,yt,pt,tt,wt,i,bt,kt,d,a,it,dt=new Date,gt=this._daylightSavingAdjust(new Date(dt.getFullYear(),dt.getMonth(),dt.getDate())),f=this._get(n,"isRTL"),li=this._get(n,"showButtonPanel"),hi=this._get(n,"hideIfNoPrevNext"),ni=this._get(n,"navigationAsDateFormat"),e=this._getNumberOfMonths(n),ai=this._get(n,"showCurrentAtPos"),ci=this._get(n,"stepMonths"),ti=1!==e[0]||1!==e[1],ii=this._daylightSavingAdjust(n.currentDay?new Date(n.currentYear,n.currentMonth,n.currentDay):new Date(9999,9,9)),w=this._getMinMaxDate(n,"min"),v=this._getMinMaxDate(n,"max"),t=n.drawMonth-ai,r=n.drawYear;if(0>t&&(t+=12,r--),v)for(b=this._daylightSavingAdjust(new Date(v.getFullYear(),v.getMonth()-e[0]*e[1]+1,v.getDate())),b=w&&w>b?w:b;this._daylightSavingAdjust(new Date(r,t,1))>b;)t--,0>t&&(t=11,r--);for(n.drawMonth=t,n.drawYear=r,s=this._get(n,"prevText"),s=ni?this.formatDate(s,this._daylightSavingAdjust(new Date(r,t-ci,1)),this._getFormatConfig(n)):s,rt=this._canAdjustMonth(n,-1,r,t)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(f?"e":"w")+"'>"+s+"<\/span><\/a>":hi?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(f?"e":"w")+"'>"+s+"<\/span><\/a>",h=this._get(n,"nextText"),h=ni?this.formatDate(h,this._daylightSavingAdjust(new Date(r,t+ci,1)),this._getFormatConfig(n)):h,ut=this._canAdjustMonth(n,1,r,t)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+h+"'><span class='ui-icon ui-icon-circle-triangle-"+(f?"w":"e")+"'>"+h+"<\/span><\/a>":hi?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+h+"'><span class='ui-icon ui-icon-circle-triangle-"+(f?"w":"e")+"'>"+h+"<\/span><\/a>",k=this._get(n,"currentText"),ft=this._get(n,"gotoCurrent")&&n.currentDay?ii:gt,k=ni?this.formatDate(k,ft,this._getFormatConfig(n)):k,et=n.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(n,"closeText")+"<\/button>",ri=li?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(f?et:"")+(this._isInRange(n,ft)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+k+"<\/button>":"")+(f?"":et)+"<\/div>":"",c=parseInt(this._get(n,"firstDay"),10),c=isNaN(c)?0:c,ot=this._get(n,"showWeek"),ui=this._get(n,"dayNames"),fi=this._get(n,"dayNamesMin"),ei=this._get(n,"monthNames"),oi=this._get(n,"monthNamesShort"),st=this._get(n,"beforeShowDay"),g=this._get(n,"showOtherMonths"),si=this._get(n,"selectOtherMonths"),ht=this._getDefaultDate(n),nt="",y=0;e[0]>y;y++){for(ct="",this.maxRows=4,p=0;e[1]>p;p++){if(lt=this._daylightSavingAdjust(new Date(r,t,n.selectedDay)),l=" ui-corner-all",u="",ti){if(u+="<div class='ui-datepicker-group",e[1]>1)switch(p){case 0:u+=" ui-datepicker-group-first";l=" ui-corner-"+(f?"right":"left");break;case e[1]-1:u+=" ui-datepicker-group-last";l=" ui-corner-"+(f?"left":"right");break;default:u+=" ui-datepicker-group-middle";l=""}u+="'>"}for(u+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+l+"'>"+(/all|left/.test(l)&&0===y?f?ut:rt:"")+(/all|right/.test(l)&&0===y?f?rt:ut:"")+this._generateMonthYearHeader(n,t,r,w,v,y>0||p>0,ei,oi)+"<\/div><table class='ui-datepicker-calendar'><thead><tr>",at=ot?"<th class='ui-datepicker-week-col'>"+this._get(n,"weekHeader")+"<\/th>":"",o=0;7>o;o++)vt=(o+c)%7,at+="<th"+((o+c+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+ui[vt]+"'>"+fi[vt]+"<\/span><\/th>";for(u+=at+"<\/tr><\/thead><tbody>",yt=this._getDaysInMonth(r,t),r===n.selectedYear&&t===n.selectedMonth&&(n.selectedDay=Math.min(n.selectedDay,yt)),pt=(this._getFirstDayOfMonth(r,t)-c+7)%7,tt=Math.ceil((pt+yt)/7),wt=ti?this.maxRows>tt?this.maxRows:tt:tt,this.maxRows=wt,i=this._daylightSavingAdjust(new Date(r,t,1-pt)),bt=0;wt>bt;bt++){for(u+="<tr>",kt=ot?"<td class='ui-datepicker-week-col'>"+this._get(n,"calculateWeek")(i)+"<\/td>":"",o=0;7>o;o++)d=st?st.apply(n.input?n.input[0]:null,[i]):[!0,""],a=i.getMonth()!==t,it=a&&!si||!d[0]||w&&w>i||v&&i>v,kt+="<td class='"+((o+c+6)%7>=5?" ui-datepicker-week-end":"")+(a?" ui-datepicker-other-month":"")+(i.getTime()===lt.getTime()&&t===n.selectedMonth&&n._keyEvent||ht.getTime()===i.getTime()&&ht.getTime()===lt.getTime()?" "+this._dayOverClass:"")+(it?" "+this._unselectableClass+" ui-state-disabled":"")+(a&&!g?"":" "+d[1]+(i.getTime()===ii.getTime()?" "+this._currentClass:"")+(i.getTime()===gt.getTime()?" ui-datepicker-today":""))+"'"+(a&&!g||!d[2]?"":" title='"+d[2].replace(/'/g,"&#39;")+"'")+(it?"":" data-handler='selectDay' data-event='click' data-month='"+i.getMonth()+"' data-year='"+i.getFullYear()+"'")+">"+(a&&!g?"&#xa0;":it?"<span class='ui-state-default'>"+i.getDate()+"<\/span>":"<a class='ui-state-default"+(i.getTime()===gt.getTime()?" ui-state-highlight":"")+(i.getTime()===ii.getTime()?" ui-state-active":"")+(a?" ui-priority-secondary":"")+"' href='#'>"+i.getDate()+"<\/a>")+"<\/td>",i.setDate(i.getDate()+1),i=this._daylightSavingAdjust(i);u+=kt+"<\/tr>"}t++;t>11&&(t=0,r++);u+="<\/tbody><\/table>"+(ti?"<\/div>"+(e[0]>0&&p===e[1]-1?"<div class='ui-datepicker-row-break'><\/div>":""):"");ct+=u}nt+=ct}return nt+=ri,n._keyEvent=!1,nt},_generateMonthYearHeader:function(n,t,i,r,u,f,e,o){var k,d,h,v,y,p,s,a,w=this._get(n,"changeMonth"),b=this._get(n,"changeYear"),g=this._get(n,"showMonthAfterYear"),c="<div class='ui-datepicker-title'>",l="";if(f||!w)l+="<span class='ui-datepicker-month'>"+e[t]+"<\/span>";else{for(k=r&&r.getFullYear()===i,d=u&&u.getFullYear()===i,l+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",h=0;12>h;h++)(!k||h>=r.getMonth())&&(!d||u.getMonth()>=h)&&(l+="<option value='"+h+"'"+(h===t?" selected='selected'":"")+">"+o[h]+"<\/option>");l+="<\/select>"}if(g||(c+=l+(!f&&w&&b?"":"&#xa0;")),!n.yearshtml)if(n.yearshtml="",f||!b)c+="<span class='ui-datepicker-year'>"+i+"<\/span>";else{for(v=this._get(n,"yearRange").split(":"),y=(new Date).getFullYear(),p=function(n){var t=n.match(/c[+\-].*/)?i+parseInt(n.substring(1),10):n.match(/[+\-].*/)?y+parseInt(n,10):parseInt(n,10);return isNaN(t)?y:t},s=p(v[0]),a=Math.max(s,p(v[1]||"")),s=r?Math.max(s,r.getFullYear()):s,a=u?Math.min(a,u.getFullYear()):a,n.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";a>=s;s++)n.yearshtml+="<option value='"+s+"'"+(s===i?" selected='selected'":"")+">"+s+"<\/option>";n.yearshtml+="<\/select>";c+=n.yearshtml;n.yearshtml=null}return c+=this._get(n,"yearSuffix"),g&&(c+=(!f&&w&&b?"":"&#xa0;")+l),c+"<\/div>"},_adjustInstDate:function(n,t,i){var u=n.drawYear+("Y"===i?t:0),f=n.drawMonth+("M"===i?t:0),e=Math.min(n.selectedDay,this._getDaysInMonth(u,f))+("D"===i?t:0),r=this._restrictMinMax(n,this._daylightSavingAdjust(new Date(u,f,e)));n.selectedDay=r.getDate();n.drawMonth=n.selectedMonth=r.getMonth();n.drawYear=n.selectedYear=r.getFullYear();("M"===i||"Y"===i)&&this._notifyChange(n)},_restrictMinMax:function(n,t){var i=this._getMinMaxDate(n,"min"),r=this._getMinMaxDate(n,"max"),u=i&&i>t?i:t;return r&&u>r?r:u},_notifyChange:function(n){var t=this._get(n,"onChangeMonthYear");t&&t.apply(n.input?n.input[0]:null,[n.selectedYear,n.selectedMonth+1,n])},_getNumberOfMonths:function(n){var t=this._get(n,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(n,t){return this._determineDate(n,this._get(n,t+"Date"),null)},_getDaysInMonth:function(n,t){return 32-this._daylightSavingAdjust(new Date(n,t,32)).getDate()},_getFirstDayOfMonth:function(n,t){return new Date(n,t,1).getDay()},_canAdjustMonth:function(n,t,i,r){var f=this._getNumberOfMonths(n),u=this._daylightSavingAdjust(new Date(i,r+(0>t?t:f[0]*f[1]),1));return 0>t&&u.setDate(this._getDaysInMonth(u.getFullYear(),u.getMonth())),this._isInRange(n,u)},_isInRange:function(n,t){var i,f,e=this._getMinMaxDate(n,"min"),o=this._getMinMaxDate(n,"max"),r=null,u=null,s=this._get(n,"yearRange");return s&&(i=s.split(":"),f=(new Date).getFullYear(),r=parseInt(i[0],10),u=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(r+=f),i[1].match(/[+\-].*/)&&(u+=f)),(!e||t.getTime()>=e.getTime())&&(!o||t.getTime()<=o.getTime())&&(!r||t.getFullYear()>=r)&&(!u||u>=t.getFullYear())},_getFormatConfig:function(n){var t=this._get(n,"shortYearCutoff");return t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(n,"dayNamesShort"),dayNames:this._get(n,"dayNames"),monthNamesShort:this._get(n,"monthNamesShort"),monthNames:this._get(n,"monthNames")}},_formatDate:function(n,t,i,r){t||(n.currentDay=n.selectedDay,n.currentMonth=n.selectedMonth,n.currentYear=n.selectedYear);var u=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(r,i,t)):this._daylightSavingAdjust(new Date(n.currentYear,n.currentMonth,n.currentDay));return this.formatDate(this._get(n,"dateFormat"),u,this._getFormatConfig(n))}});n.fn.datepicker=function(t){if(!this.length)return this;n.datepicker.initialized||(n(document).mousedown(n.datepicker._checkExternalClick),n.datepicker.initialized=!0);0===n("#"+n.datepicker._mainDivId).length&&n("body").append(n.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?n.datepicker["_"+t+"Datepicker"].apply(n.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof t?n.datepicker["_"+t+"Datepicker"].apply(n.datepicker,[this].concat(i)):n.datepicker._attachDatepicker(this,t)}):n.datepicker["_"+t+"Datepicker"].apply(n.datepicker,[this[0]].concat(i))};n.datepicker=new f;n.datepicker.initialized=!1;n.datepicker.uuid=(new Date).getTime();n.datepicker.version="1.10.3"}(jQuery),function(n){var t={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};n.widget("ui.dialog",{version:"1.10.3",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var i=n(this).css(t).offset().top;0>i&&n(this).css("top",t.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height};this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)};this.originalTitle=this.element.attr("title");this.options.title=this.options.title||this.originalTitle;this._createWrapper();this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog);this._createTitlebar();this._createButtonPane();this.options.draggable&&n.fn.draggable&&this._makeDraggable();this.options.resizable&&n.fn.resizable&&this._makeResizable();this._isOpen=!1},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?n(t):this.document.find(t||"body").eq(0)},_destroy:function(){var n,t=this.originalPosition;this._destroyOverlay();this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach();this.uiDialog.stop(!0,!0).remove();this.originalTitle&&this.element.attr("title",this.originalTitle);n=t.parent.children().eq(t.index);n.length&&n[0]!==this.element[0]?n.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:n.noop,enable:n.noop,close:function(t){var i=this;this._isOpen&&this._trigger("beforeClose",t)!==!1&&(this._isOpen=!1,this._destroyOverlay(),this.opener.filter(":focusable").focus().length||n(this.document[0].activeElement).blur(),this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",t)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(n,t){var i=!!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length;return i&&!t&&this._trigger("focus",n),i},open:function(){var t=this;return this._isOpen?(this._moveToTop()&&this._focusTabbable(),undefined):(this._isOpen=!0,this.opener=n(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){t._focusTabbable();t._trigger("focus")}),this._trigger("open"),undefined)},_focusTabbable:function(){var n=this.element.find("[autofocus]");n.length||(n=this.element.find(":tabbable"));n.length||(n=this.uiDialogButtonPane.find(":tabbable"));n.length||(n=this.uiDialogTitlebarClose.filter(":tabbable"));n.length||(n=this.uiDialog);n.eq(0).focus()},_keepFocus:function(t){function i(){var t=this.document[0].activeElement,i=this.uiDialog[0]===t||n.contains(this.uiDialog[0],t);i||this._focusTabbable()}t.preventDefault();i.call(this);this._delay(i)},_createWrapper:function(){this.uiDialog=n("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo());this._on(this.uiDialog,{keydown:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===n.ui.keyCode.ESCAPE)return t.preventDefault(),this.close(t),undefined;if(t.keyCode===n.ui.keyCode.TAB){var i=this.uiDialog.find(":tabbable"),r=i.filter(":first"),u=i.filter(":last");t.target!==u[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==r[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(u.focus(1),t.preventDefault()):(r.focus(1),t.preventDefault())}},mousedown:function(n){this._moveToTop(n)&&this._focusTabbable()}});this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=n("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog);this._on(this.uiDialogTitlebar,{mousedown:function(t){n(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}});this.uiDialogTitlebarClose=n("<button><\/button>").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar);this._on(this.uiDialogTitlebarClose,{click:function(n){n.preventDefault();this.close(n)}});t=n("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar);this._title(t);this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(n){this.options.title||n.html("&#160;");n.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=n("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix");this.uiButtonSet=n("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane);this._createButtons()},_createButtons:function(){var i=this,t=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),n.isEmptyObject(t)||n.isArray(t)&&!t.length?(this.uiDialog.removeClass("ui-dialog-buttons"),undefined):(n.each(t,function(t,r){var u,f;r=n.isFunction(r)?{click:r,text:t}:r;r=n.extend({type:"button"},r);u=r.click;r.click=function(){u.apply(i.element[0],arguments)};f={icons:r.icons,text:r.showText};delete r.icons;delete r.showText;n("<button><\/button>",r).button(f).appendTo(i.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),undefined)},_makeDraggable:function(){function i(n){return{position:n.position,offset:n.offset}}var t=this,r=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(r,u){n(this).addClass("ui-dialog-dragging");t._blockFrames();t._trigger("dragStart",r,i(u))},drag:function(n,r){t._trigger("drag",n,i(r))},stop:function(u,f){r.position=[f.position.left-t.document.scrollLeft(),f.position.top-t.document.scrollTop()];n(this).removeClass("ui-dialog-dragging");t._unblockFrames();t._trigger("dragStop",u,i(f))}})},_makeResizable:function(){function r(n){return{originalPosition:n.originalPosition,originalSize:n.originalSize,position:n.position,size:n.size}}var i=this,t=this.options,u=t.resizable,f=this.uiDialog.css("position"),e="string"==typeof u?u:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:t.maxWidth,maxHeight:t.maxHeight,minWidth:t.minWidth,minHeight:this._minHeight(),handles:e,start:function(t,u){n(this).addClass("ui-dialog-resizing");i._blockFrames();i._trigger("resizeStart",t,r(u))},resize:function(n,t){i._trigger("resize",n,r(t))},stop:function(u,f){t.height=n(this).height();t.width=n(this).width();n(this).removeClass("ui-dialog-resizing");i._unblockFrames();i._trigger("resizeStop",u,r(f))}}).css("position",f)},_minHeight:function(){var n=this.options;return"auto"===n.height?n.minHeight:Math.min(n.minHeight,n.height)},_position:function(){var n=this.uiDialog.is(":visible");n||this.uiDialog.show();this.uiDialog.position(this.options.position);n||this.uiDialog.hide()},_setOptions:function(r){var e=this,u=!1,f={};n.each(r,function(n,r){e._setOption(n,r);n in t&&(u=!0);n in i&&(f[n]=r)});u&&(this._size(),this._position());this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",f)},_setOption:function(n,t){var u,r,i=this.uiDialog;"dialogClass"===n&&i.removeClass(this.options.dialogClass).addClass(t);"disabled"!==n&&(this._super(n,t),"appendTo"===n&&this.uiDialog.appendTo(this._appendTo()),"buttons"===n&&this._createButtons(),"closeText"===n&&this.uiDialogTitlebarClose.button({label:""+t}),"draggable"===n&&(u=i.is(":data(ui-draggable)"),u&&!t&&i.draggable("destroy"),!u&&t&&this._makeDraggable()),"position"===n&&this._position(),"resizable"===n&&(r=i.is(":data(ui-resizable)"),r&&!t&&i.resizable("destroy"),r&&"string"==typeof t&&i.resizable("option","handles",t),r||t===!1||this._makeResizable()),"title"===n&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,i,r,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0});n.minWidth>n.width&&(n.width=n.minWidth);t=this.uiDialog.css({height:"auto",width:n.width}).outerHeight();i=Math.max(0,n.minHeight-t);r="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-t):"none";"auto"===n.height?this.element.css({minHeight:i,maxHeight:r,height:"auto"}):this.element.height(Math.max(0,n.height-t));this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var t=n(this);return n("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return n(t.target).closest(".ui-dialog").length?!0:!!n(t.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var t=this,i=this.widgetFullName;n.ui.dialog.overlayInstances||this._delay(function(){n.ui.dialog.overlayInstances&&this.document.bind("focusin.dialog",function(r){t._allowInteraction(r)||(r.preventDefault(),n(".ui-dialog:visible:last .ui-dialog-content").data(i)._focusTabbable())})});this.overlay=n("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo());this._on(this.overlay,{mousedown:"_keepFocus"});n.ui.dialog.overlayInstances++}},_destroyOverlay:function(){this.options.modal&&this.overlay&&(n.ui.dialog.overlayInstances--,n.ui.dialog.overlayInstances||this.document.unbind("focusin.dialog"),this.overlay.remove(),this.overlay=null)}});n.ui.dialog.overlayInstances=0;n.uiBackCompat!==!1&&n.widget("ui.dialog",n.ui.dialog,{_position:function(){var u,t=this.options.position,i=[],r=[0,0];t?(("string"==typeof t||"object"==typeof t&&"0"in t)&&(i=t.split?t.split(" "):[t[0],t[1]],1===i.length&&(i[1]=i[0]),n.each(["left","top"],function(n,t){+i[n]===i[n]&&(r[n]=i[n],i[n]=t)}),t={my:i[0]+(0>r[0]?r[0]:"+"+r[0])+" "+i[1]+(0>r[1]?r[1]:"+"+r[1]),at:i.join(" ")}),t=n.extend({},n.ui.dialog.prototype.options.position,t)):t=n.ui.dialog.prototype.options.position;u=this.uiDialog.is(":visible");u||this.uiDialog.show();this.uiDialog.position(t);u||this.uiDialog.hide()}})}(jQuery),function(n){n.widget("ui.menu",{version:"1.10.3",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element;this.mouseHandled=!1;this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,n.proxy(function(n){this.options.disabled&&n.preventDefault()},this));this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true");this._on({"mousedown .ui-menu-item > a":function(n){n.preventDefault()},"click .ui-state-disabled > a":function(n){n.preventDefault()},"click .ui-menu-item:has(a)":function(t){var i=n(t.target).closest(".ui-menu-item");!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.mouseHandled=!0,this.select(t),i.has(".ui-menu").length?this.expand(t):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var i=n(t.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active");this.focus(t,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(n,t){var i=this.active||this.element.children(".ui-menu-item").eq(0);t||this.focus(n,i)},blur:function(t){this._delay(function(){n.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"});this.refresh();this._on(this.document,{click:function(t){n(t.target).closest(".ui-menu").length||this.collapseAll(t);this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show();this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var t=n(this);t.data("ui-menu-submenu-carat")&&t.remove()});this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(t){function o(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var i,f,r,e,u,s=!0;switch(t.keyCode){case n.ui.keyCode.PAGE_UP:this.previousPage(t);break;case n.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case n.ui.keyCode.HOME:this._move("first","first",t);break;case n.ui.keyCode.END:this._move("last","last",t);break;case n.ui.keyCode.UP:this.previous(t);break;case n.ui.keyCode.DOWN:this.next(t);break;case n.ui.keyCode.LEFT:this.collapse(t);break;case n.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case n.ui.keyCode.ENTER:case n.ui.keyCode.SPACE:this._activate(t);break;case n.ui.keyCode.ESCAPE:this.collapse(t);break;default:s=!1;f=this.previousFilter||"";r=String.fromCharCode(t.keyCode);e=!1;clearTimeout(this.filterTimer);r===f?e=!0:r=f+r;u=RegExp("^"+o(r),"i");i=this.activeMenu.children(".ui-menu-item").filter(function(){return u.test(n(this).children("a").text())});i=e&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i;i.length||(r=String.fromCharCode(t.keyCode),u=RegExp("^"+o(r),"i"),i=this.activeMenu.children(".ui-menu-item").filter(function(){return u.test(n(this).children("a").text())}));i.length?(this.focus(t,i),i.length>1?(this.previousFilter=r,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}s&&t.preventDefault()},_activate:function(n){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(n):this.select(n))},refresh:function(){var t,r=this.options.icons.submenu,i=this.element.find(this.options.menus);i.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=n(this),i=t.prev("a"),u=n("<span>").addClass("ui-menu-icon ui-icon "+r).data("ui-menu-submenu-carat",!0);i.attr("aria-haspopup","true").prepend(u);t.attr("aria-labelledby",i.attr("id"))});t=i.add(this.element);t.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()});t.children(":not(.ui-menu-item)").each(function(){var t=n(this);/[^\-\u2014\u2013\s]/.test(t.text())||t.addClass("ui-widget-content ui-menu-divider")});t.children(".ui-state-disabled").attr("aria-disabled","true");this.active&&!n.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(n,t){"icons"===n&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(t.submenu);this._super(n,t)},focus:function(n,t){var i,r;this.blur(n,n&&"focus"===n.type);this._scrollIntoView(t);this.active=t.first();r=this.active.children("a").addClass("ui-state-focus");this.options.role&&this.element.attr("aria-activedescendant",r.attr("id"));this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active");n&&"keydown"===n.type?this._close():this.timer=this._delay(function(){this._close()},this.delay);i=t.children(".ui-menu");i.length&&/^mouse/.test(n.type)&&this._startOpening(i);this.activeMenu=t.parent();this._trigger("focus",n,{item:t})},_scrollIntoView:function(t){var e,o,i,r,u,f;this._hasScroll()&&(e=parseFloat(n.css(this.activeMenu[0],"borderTopWidth"))||0,o=parseFloat(n.css(this.activeMenu[0],"paddingTop"))||0,i=t.offset().top-this.activeMenu.offset().top-e-o,r=this.activeMenu.scrollTop(),u=this.activeMenu.height(),f=t.height(),0>i?this.activeMenu.scrollTop(r+i):i+f>u&&this.activeMenu.scrollTop(r+i-u+f))},blur:function(n,t){t||clearTimeout(this.timer);this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",n,{item:this.active}))},_startOpening:function(n){clearTimeout(this.timer);"true"===n.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close();this._open(n)},this.delay))},_open:function(t){var i=n.extend({of:this.active},this.options.position);clearTimeout(this.timer);this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true");t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(t,i){clearTimeout(this.timer);this.timer=this._delay(function(){var r=i?this.element:n(t&&t.target).closest(this.element.find(".ui-menu"));r.length||(r=this.element);this._close(r);this.blur(t);this.activeMenu=r},this.delay)},_close:function(n){n||(n=this.active?this.active.parent():this.element);n.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(n){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(n,t))},expand:function(n){var t=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(n,t)}))},next:function(n){this._move("next","first",n)},previous:function(n){this._move("prev","last",n)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(n,t,i){var r;this.active&&(r="first"===n||"last"===n?this.active["first"===n?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[n+"All"](".ui-menu-item").eq(0));r&&r.length&&this.active||(r=this.activeMenu.children(".ui-menu-item")[t]());this.focus(i,r)},nextPage:function(t){var i,r,u;return this.active?(this.isLastItem()||(this._hasScroll()?(r=this.active.offset().top,u=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=n(this),0>i.offset().top-r-u}),this.focus(t,i)):this.focus(t,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())),undefined):(this.next(t),undefined)},previousPage:function(t){var i,r,u;return this.active?(this.isFirstItem()||(this._hasScroll()?(r=this.active.offset().top,u=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=n(this),i.offset().top-r+u>0}),this.focus(t,i)):this.focus(t,this.activeMenu.children(".ui-menu-item").first())),undefined):(this.next(t),undefined)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||n(t.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0);this._trigger("select",t,i)}})}(jQuery),function(n,t){n.widget("ui.progressbar",{version:"1.10.3",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue();this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min});this.valueDiv=n("<div class='ui-progressbar-value ui-widget-header ui-corner-left'><\/div>").appendTo(this.element);this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");this.valueDiv.remove()},value:function(n){return n===t?this.options.value:(this.options.value=this._constrainedValue(n),this._refreshValue(),t)},_constrainedValue:function(n){return n===t&&(n=this.options.value),this.indeterminate=n===!1,"number"!=typeof n&&(n=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,n))},_setOptions:function(n){var t=n.value;delete n.value;this._super(n);this.options.value=this._constrainedValue(t);this._refreshValue()},_setOption:function(n,t){"max"===n&&(t=Math.max(this.min,t));this._super(n,t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(i.toFixed(0)+"%");this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate);this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=n("<div class='ui-progressbar-overlay'><\/div>").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null));this.oldValue!==t&&(this.oldValue=t,this._trigger("change"));t===this.options.max&&this._trigger("complete")}})}(jQuery),function(n){var t=5;n.widget("ui.slider",n.ui.mouse,{version:"1.10.3",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1;this._mouseSliding=!1;this._animateOff=!0;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");this._refresh();this._setOption("disabled",this.options.disabled);this._animateOff=!1},_refresh:function(){this._createRange();this._createHandles();this._setupEvents();this._refreshValue()},_createHandles:function(){var r,i,u=this.options,t=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),f=[];for(i=u.values&&u.values.length||1,t.length>i&&(t.slice(i).remove(),t=t.slice(0,i)),r=t.length;i>r;r++)f.push("<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'><\/a>");this.handles=t.add(n(f.join("")).appendTo(this.element));this.handle=this.handles.eq(0);this.handles.each(function(t){n(this).data("ui-slider-handle-index",t)})},_createRange:function(){var t=this.options,i="";t.range?(t.range===!0&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:n.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=n("<div><\/div>").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===t.range||"max"===t.range?" ui-slider-range-"+t.range:""))):this.range=n([])},_setupEvents:function(){var n=this.handles.add(this.range).filter("a");this._off(n);this._on(n,this._handleEvents);this._hoverable(n);this._focusable(n)},_destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all");this._mouseDestroy()},_mouseCapture:function(t){var s,f,r,i,u,h,e,c,o=this,l=this.options;return l.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),s={x:t.pageX,y:t.pageY},f=this._normValueFromMouse(s),r=this._valueMax()-this._valueMin()+1,this.handles.each(function(t){var e=Math.abs(f-o.values(t));(r>e||r===e&&(t===o._lastChangedValue||o.values(t)===l.min))&&(r=e,i=n(this),u=t)}),h=this._start(t,u),h===!1?!1:(this._mouseSliding=!0,this._handleIndex=u,i.addClass("ui-state-active").focus(),e=i.offset(),c=!n(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=c?{left:0,top:0}:{left:t.pageX-e.left-i.width()/2,top:t.pageY-e.top-i.height()/2-(parseInt(i.css("borderTopWidth"),10)||0)-(parseInt(i.css("borderBottomWidth"),10)||0)+(parseInt(i.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,u,f),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(n){var t={x:n.pageX,y:n.pageY},i=this._normValueFromMouse(t);return this._slide(n,this._handleIndex,i),!1},_mouseStop:function(n){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(n,this._handleIndex),this._change(n,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(n){var i,r,t,u,f;return"horizontal"===this.orientation?(i=this.elementSize.width,r=n.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(i=this.elementSize.height,r=n.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),t=r/i,t>1&&(t=1),0>t&&(t=0),"vertical"===this.orientation&&(t=1-t),u=this._valueMax()-this._valueMin(),f=this._valueMin()+t*u,this._trimAlignValue(f)},_start:function(n,t){var i={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("start",n,i)},_slide:function(n,t,i){var r,f,u;this.options.values&&this.options.values.length?(r=this.values(t?0:1),2===this.options.values.length&&this.options.range===!0&&(0===t&&i>r||1===t&&r>i)&&(i=r),i!==this.values(t)&&(f=this.values(),f[t]=i,u=this._trigger("slide",n,{handle:this.handles[t],value:i,values:f}),r=this.values(t?0:1),u!==!1&&this.values(t,i,!0))):i!==this.value()&&(u=this._trigger("slide",n,{handle:this.handles[t],value:i}),u!==!1&&this.value(i))},_stop:function(n,t){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values());this._trigger("stop",n,i)},_change:function(n,t){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values());this._lastChangedValue=t;this._trigger("change",n,i)}},value:function(n){return arguments.length?(this.options.value=this._trimAlignValue(n),this._refreshValue(),this._change(null,0),undefined):this._value()},values:function(t,i){var u,f,r;if(arguments.length>1)return this.options.values[t]=this._trimAlignValue(i),this._refreshValue(),this._change(null,t),undefined;if(!arguments.length)return this._values();if(!n.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(t):this.value();for(u=this.options.values,f=arguments[0],r=0;u.length>r;r+=1)u[r]=this._trimAlignValue(f[r]),this._change(null,r);this._refreshValue()},_setOption:function(t,i){var r,u=0;switch("range"===t&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),n.isArray(this.options.values)&&(u=this.options.values.length),n.Widget.prototype._setOption.apply(this,arguments),t){case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case"value":this._animateOff=!0;this._refreshValue();this._change(null,0);this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),r=0;u>r;r+=1)this._change(null,r);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0;this._refreshValue();this._animateOff=!1;break;case"range":this._animateOff=!0;this._refresh();this._animateOff=!1}},_value:function(){var n=this.options.value;return this._trimAlignValue(n)},_values:function(n){var r,t,i;if(arguments.length)return r=this.options.values[n],r=this._trimAlignValue(r);if(this.options.values&&this.options.values.length){for(t=this.options.values.slice(),i=0;t.length>i;i+=1)t[i]=this._trimAlignValue(t[i]);return t}return[]},_trimAlignValue:function(n){if(this._valueMin()>=n)return this._valueMin();if(n>=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,i=(n-this._valueMin())%t,r=n-i;return 2*Math.abs(i)>=t&&(r+=i>0?t:-t),parseFloat(r.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var s,t,c,f,h,e=this.options.range,i=this.options,r=this,u=this._animateOff?!1:i.animate,o={};this.options.values&&this.options.values.length?this.handles.each(function(f){t=100*((r.values(f)-r._valueMin())/(r._valueMax()-r._valueMin()));o["horizontal"===r.orientation?"left":"bottom"]=t+"%";n(this).stop(1,1)[u?"animate":"css"](o,i.animate);r.options.range===!0&&("horizontal"===r.orientation?(0===f&&r.range.stop(1,1)[u?"animate":"css"]({left:t+"%"},i.animate),1===f&&r.range[u?"animate":"css"]({width:t-s+"%"},{queue:!1,duration:i.animate})):(0===f&&r.range.stop(1,1)[u?"animate":"css"]({bottom:t+"%"},i.animate),1===f&&r.range[u?"animate":"css"]({height:t-s+"%"},{queue:!1,duration:i.animate})));s=t}):(c=this.value(),f=this._valueMin(),h=this._valueMax(),t=h!==f?100*((c-f)/(h-f)):0,o["horizontal"===this.orientation?"left":"bottom"]=t+"%",this.handle.stop(1,1)[u?"animate":"css"](o,i.animate),"min"===e&&"horizontal"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({width:t+"%"},i.animate),"max"===e&&"horizontal"===this.orientation&&this.range[u?"animate":"css"]({width:100-t+"%"},{queue:!1,duration:i.animate}),"min"===e&&"vertical"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({height:t+"%"},i.animate),"max"===e&&"vertical"===this.orientation&&this.range[u?"animate":"css"]({height:100-t+"%"},{queue:!1,duration:i.animate}))},_handleEvents:{keydown:function(i){var o,u,r,f,e=n(i.target).data("ui-slider-handle-index");switch(i.keyCode){case n.ui.keyCode.HOME:case n.ui.keyCode.END:case n.ui.keyCode.PAGE_UP:case n.ui.keyCode.PAGE_DOWN:case n.ui.keyCode.UP:case n.ui.keyCode.RIGHT:case n.ui.keyCode.DOWN:case n.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,n(i.target).addClass("ui-state-active"),o=this._start(i,e),o===!1))return}switch(f=this.options.step,u=r=this.options.values&&this.options.values.length?this.values(e):this.value(),i.keyCode){case n.ui.keyCode.HOME:r=this._valueMin();break;case n.ui.keyCode.END:r=this._valueMax();break;case n.ui.keyCode.PAGE_UP:r=this._trimAlignValue(u+(this._valueMax()-this._valueMin())/t);break;case n.ui.keyCode.PAGE_DOWN:r=this._trimAlignValue(u-(this._valueMax()-this._valueMin())/t);break;case n.ui.keyCode.UP:case n.ui.keyCode.RIGHT:if(u===this._valueMax())return;r=this._trimAlignValue(u+f);break;case n.ui.keyCode.DOWN:case n.ui.keyCode.LEFT:if(u===this._valueMin())return;r=this._trimAlignValue(u-f)}this._slide(i,e,r)},click:function(n){n.preventDefault()},keyup:function(t){var i=n(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,i),this._change(t,i),n(t.target).removeClass("ui-state-active"))}}})}(jQuery),function(n){function t(n){return function(){var t=this.element.val();n.apply(this,arguments);this._refresh();t!==this.element.val()&&this._trigger("change")}}n.widget("ui.spinner",{version:"1.10.3",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max);this._setOption("min",this.options.min);this._setOption("step",this.options.step);this._value(this.element.val(),!0);this._draw();this._on(this._events);this._refresh();this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var t={},i=this.element;return n.each(["min","max","step"],function(n,r){var u=i.attr(r);void 0!==u&&u.length&&(t[r]=u)}),t},_events:{keydown:function(n){this._start(n)&&this._keydown(n)&&n.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(n){return this.cancelBlur?(delete this.cancelBlur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",n),void 0)},mousewheel:function(n,t){if(t){if(!this.spinning&&!this._start(n))return!1;this._spin((t>0?1:-1)*this.options.step,n);clearTimeout(this.mousewheelTimer);this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(n)},100);n.preventDefault()}},"mousedown .ui-spinner-button":function(t){function r(){var n=this.element[0]===this.document[0].activeElement;n||(this.element.focus(),this.previous=i,this._delay(function(){this.previous=i}))}var i;i=this.element[0]===this.document[0].activeElement?this.previous:this.element.val();t.preventDefault();r.call(this);this.cancelBlur=!0;this._delay(function(){delete this.cancelBlur;r.call(this)});this._start(t)!==!1&&this._repeat(null,n(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(n(t.currentTarget).hasClass("ui-state-active"))return this._start(t)===!1?!1:(this._repeat(null,n(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t),void 0)},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var n=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton");this.buttons=n.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all");this.buttons.height()>Math.ceil(.5*n.height())&&n.height()>0&&n.height(n.height());this.options.disabled&&this.disable()},_keydown:function(t){var r=this.options,i=n.ui.keyCode;switch(t.keyCode){case i.UP:return this._repeat(null,1,t),!0;case i.DOWN:return this._repeat(null,-1,t),!0;case i.PAGE_UP:return this._repeat(null,r.page,t),!0;case i.PAGE_DOWN:return this._repeat(null,-r.page,t),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'><\/span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>&#9650;<\/span><\/a><a class='ui-spinner-button ui-spinner-down ui-corner-br'><span class='ui-icon "+this.options.icons.down+"'>&#9660;<\/span><\/a>"},_start:function(n){return this.spinning||this._trigger("start",n)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(n,t,i){n=n||500;clearTimeout(this.timer);this.timer=this._delay(function(){this._repeat(40,t,i)},n);this._spin(t*this.options.step,i)},_spin:function(n,t){var i=this.value()||0;this.counter||(this.counter=1);i=this._adjustValue(i+n*this._increment(this.counter));this.spinning&&this._trigger("spin",t,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(t){var i=this.options.incremental;return i?n.isFunction(i)?i(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var n=this._precisionOf(this.options.step);return null!==this.options.min&&(n=Math.max(n,this._precisionOf(this.options.min))),n},_precisionOf:function(n){var t=""+n,i=t.indexOf(".");return-1===i?0:t.length-i-1},_adjustValue:function(n){var r,i,t=this.options;return r=null!==t.min?t.min:0,i=n-r,i=Math.round(i/t.step)*t.step,n=r+i,n=parseFloat(n.toFixed(this._precision())),null!==t.max&&n>t.max?t.max:null!==t.min&&t.min>n?t.min:n},_stop:function(n){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",n))},_setOption:function(n,t){if("culture"===n||"numberFormat"===n){var i=this._parse(this.element.val());return this.options[n]=t,this.element.val(this._format(i)),void 0}("max"===n||"min"===n||"step"===n)&&"string"==typeof t&&(t=this._parse(t));"icons"===n&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(t.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(t.down));this._super(n,t);"disabled"===n&&(t?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable")))},_setOptions:t(function(n){this._super(n);this._value(this.element.val())}),_parse:function(n){return"string"==typeof n&&""!==n&&(n=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(n,10,this.options.culture):+n),""===n||isNaN(n)?null:n},_format:function(n){return""===n?"":window.Globalize&&this.options.numberFormat?Globalize.format(n,this.options.numberFormat,this.options.culture):n},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(n,t){var i;""!==n&&(i=this._parse(n),null!==i&&(t||(i=this._adjustValue(i)),n=this._format(i)));this.element.val(n);this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");this.uiSpinner.replaceWith(this.element)},stepUp:t(function(n){this._stepUp(n)}),_stepUp:function(n){this._start()&&(this._spin((n||1)*this.options.step),this._stop())},stepDown:t(function(n){this._stepDown(n)}),_stepDown:function(n){this._start()&&(this._spin((n||1)*-this.options.step),this._stop())},pageUp:t(function(n){this._stepUp((n||1)*this.options.page)}),pageDown:t(function(n){this._stepDown((n||1)*this.options.page)}),value:function(n){return arguments.length?(t(this._value).call(this,n),void 0):this._parse(this.element.val())},widget:function(){return this.uiSpinner}})}(jQuery),function(n,t){function u(){return++f}function i(n){return n.hash.length>1&&decodeURIComponent(n.href.replace(r,""))===decodeURIComponent(location.href.replace(r,""))}var f=0,r=/#.*$/;n.widget("ui.tabs",{version:"1.10.3",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var i=this,t=this.options;this.running=!1;this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",t.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(t){n(this).is(".ui-state-disabled")&&t.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){n(this).closest("li").is(".ui-state-disabled")&&this.blur()});this._processTabs();t.active=this._initialActive();n.isArray(t.disabled)&&(t.disabled=n.unique(t.disabled.concat(n.map(this.tabs.filter(".ui-state-disabled"),function(n){return i.tabs.index(n)}))).sort());this.active=this.options.active!==!1&&this.anchors.length?this._findActive(t.active):n();this._refresh();this.active.length&&this.load(t.active)},_initialActive:function(){var i=this.options.active,r=this.options.collapsible,u=location.hash.substring(1);return null===i&&(u&&this.tabs.each(function(r,f){return n(f).attr("aria-controls")===u?(i=r,!1):t}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===i||-1===i)&&(i=this.tabs.length?0:!1)),i!==!1&&(i=this.tabs.index(this.tabs.eq(i)),-1===i&&(i=r?!1:0)),!r&&i===!1&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):n()}},_tabKeydown:function(i){var u=n(this.document[0].activeElement).closest("li"),r=this.tabs.index(u),f=!0;if(!this._handlePageNav(i)){switch(i.keyCode){case n.ui.keyCode.RIGHT:case n.ui.keyCode.DOWN:r++;break;case n.ui.keyCode.UP:case n.ui.keyCode.LEFT:f=!1;r--;break;case n.ui.keyCode.END:r=this.anchors.length-1;break;case n.ui.keyCode.HOME:r=0;break;case n.ui.keyCode.SPACE:return i.preventDefault(),clearTimeout(this.activating),this._activate(r),t;case n.ui.keyCode.ENTER:return i.preventDefault(),clearTimeout(this.activating),this._activate(r===this.options.active?!1:r),t;default:return}i.preventDefault();clearTimeout(this.activating);r=this._focusNextTab(r,f);i.ctrlKey||(u.attr("aria-selected","false"),this.tabs.eq(r).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",r)},this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===n.ui.keyCode.UP&&(t.preventDefault(),this.active.focus())},_handlePageNav:function(i){return i.altKey&&i.keyCode===n.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):i.altKey&&i.keyCode===n.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):t},_findNextTab:function(t,i){function u(){return t>r&&(t=0),0>t&&(t=r),t}for(var r=this.tabs.length-1;-1!==n.inArray(u(),this.options.disabled);)t=i?t+1:t-1;return t},_focusNextTab:function(n,t){return n=this._findNextTab(n,t),this.tabs.eq(n).focus(),n},_setOption:function(n,i){return"active"===n?(this._activate(i),t):"disabled"===n?(this._setupDisabled(i),t):(this._super(n,i),"collapsible"===n&&(this.element.toggleClass("ui-tabs-collapsible",i),i||this.options.active!==!1||this._activate(0)),"event"===n&&this._setupEvents(i),"heightStyle"===n&&this._setupHeightStyle(i),t)},_tabId:function(n){return n.attr("aria-controls")||"ui-tabs-"+u()},_sanitizeSelector:function(n){return n?n.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,i=this.tablist.children(":has(a[href])");t.disabled=n.map(i.filter(".ui-state-disabled"),function(n){return i.index(n)});this._processTabs();t.active!==!1&&this.anchors.length?this.active.length&&!n.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=n()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=n());this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled);this._setupEvents(this.options.event);this._setupHeightStyle(this.options.heightStyle);this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1});this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"});this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var t=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist");this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1});this.anchors=this.tabs.map(function(){return n("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1});this.panels=n();this.anchors.each(function(r,u){var e,f,s,h=n(u).uniqueId().attr("id"),o=n(u).closest("li"),c=o.attr("aria-controls");i(u)?(e=u.hash,f=t.element.find(t._sanitizeSelector(e))):(s=t._tabId(o),e="#"+s,f=t.element.find(e),f.length||(f=t._createPanel(s),f.insertAfter(t.panels[r-1]||t.tablist)),f.attr("aria-live","polite"));f.length&&(t.panels=t.panels.add(f));c&&o.data("ui-tabs-aria-controls",c);o.attr({"aria-controls":e.substring(1),"aria-labelledby":h});f.attr("aria-labelledby",h)});this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(t){return n("<div>").attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(t){n.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1);for(var i,r=0;i=this.tabs[r];r++)t===!0||-1!==n.inArray(r,t)?n(i).addClass("ui-state-disabled").attr("aria-disabled","true"):n(i).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=t},_setupEvents:function(t){var i={click:function(n){n.preventDefault()}};t&&n.each(t.split(" "),function(n,t){i[t]="_eventHandler"});this._off(this.anchors.add(this.tabs).add(this.panels));this._on(this.anchors,i);this._on(this.tabs,{keydown:"_tabKeydown"});this._on(this.panels,{keydown:"_panelKeydown"});this._focusable(this.tabs);this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,r=this.element.parent();"fill"===t?(i=r.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var t=n(this),r=t.css("position");"absolute"!==r&&"fixed"!==r&&(i-=t.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=n(this).outerHeight(!0)}),this.panels.each(function(){n(this).height(Math.max(0,i-n(this).innerHeight()+n(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each(function(){i=Math.max(i,n(this).height("").height())}).height(i))},_eventHandler:function(t){var u=this.options,r=this.active,c=n(t.currentTarget),i=c.closest("li"),f=i[0]===r[0],e=f&&u.collapsible,o=e?n():this._getPanelForTab(i),s=r.length?this._getPanelForTab(r):n(),h={oldTab:r,oldPanel:s,newTab:e?n():i,newPanel:o};t.preventDefault();i.hasClass("ui-state-disabled")||i.hasClass("ui-tabs-loading")||this.running||f&&!u.collapsible||this._trigger("beforeActivate",t,h)===!1||(u.active=e?!1:this.tabs.index(i),this.active=f?n():i,this.xhr&&this.xhr.abort(),s.length||o.length||n.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(i),t),this._toggle(t,h))},_toggle:function(t,i){function e(){u.running=!1;u._trigger("activate",t,i)}function o(){i.newTab.closest("li").addClass("ui-tabs-active ui-state-active");r.length&&u.options.show?u._show(r,u.options.show,e):(r.show(),e())}var u=this,r=i.newPanel,f=i.oldPanel;this.running=!0;f.length&&this.options.hide?this._hide(f,this.options.hide,function(){i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active");o()}):(i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),f.hide(),o());f.attr({"aria-expanded":"false","aria-hidden":"true"});i.oldTab.attr("aria-selected","false");r.length&&f.length?i.oldTab.attr("tabIndex",-1):r.length&&this.tabs.filter(function(){return 0===n(this).attr("tabIndex")}).attr("tabIndex",-1);r.attr({"aria-expanded":"true","aria-hidden":"false"});i.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(t){var r,i=this._findActive(t);i[0]!==this.active[0]&&(i.length||(i=this.active),r=i.find(".ui-tabs-anchor")[0],this._eventHandler({target:r,currentTarget:r,preventDefault:n.noop}))},_findActive:function(t){return t===!1?n():this.tabs.eq(t)},_getIndex:function(n){return"string"==typeof n&&(n=this.anchors.index(this.anchors.filter("[href$='"+n+"']"))),n},_destroy:function(){this.xhr&&this.xhr.abort();this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible");this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role");this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId();this.tabs.add(this.panels).each(function(){n.data(this,"ui-tabs-destroy")?n(this).remove():n(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")});this.tabs.each(function(){var t=n(this),i=t.data("ui-tabs-aria-controls");i?t.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")});this.panels.show();"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var r=this.options.disabled;r!==!1&&(i===t?r=!1:(i=this._getIndex(i),r=n.isArray(r)?n.map(r,function(n){return n!==i?n:null}):n.map(this.tabs,function(n,t){return t!==i?t:null})),this._setupDisabled(r))},disable:function(i){var r=this.options.disabled;if(r!==!0){if(i===t)r=!0;else{if(i=this._getIndex(i),-1!==n.inArray(i,r))return;r=n.isArray(r)?n.merge([i],r).sort():[i]}this._setupDisabled(r)}},load:function(t,r){t=this._getIndex(t);var f=this,u=this.tabs.eq(t),o=u.find(".ui-tabs-anchor"),e=this._getPanelForTab(u),s={tab:u,panel:e};i(o[0])||(this.xhr=n.ajax(this._ajaxSettings(o,r,s)),this.xhr&&"canceled"!==this.xhr.statusText&&(u.addClass("ui-tabs-loading"),e.attr("aria-busy","true"),this.xhr.success(function(n){setTimeout(function(){e.html(n);f._trigger("load",r,s)},1)}).complete(function(n,t){setTimeout(function(){"abort"===t&&f.panels.stop(!1,!0);u.removeClass("ui-tabs-loading");e.removeAttr("aria-busy");n===f.xhr&&delete f.xhr},1)})))},_ajaxSettings:function(t,i,r){var u=this;return{url:t.attr("href"),beforeSend:function(t,f){return u._trigger("beforeLoad",i,n.extend({jqXHR:t,ajaxSettings:f},r))}}},_getPanelForTab:function(t){var i=n(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}})}(jQuery),function(n){function t(t,i){var r=(t.attr("aria-describedby")||"").split(/\s+/);r.push(i);t.data("ui-tooltip-id",i).attr("aria-describedby",n.trim(r.join(" ")))}function i(t){var u=t.data("ui-tooltip-id"),i=(t.attr("aria-describedby")||"").split(/\s+/),r=n.inArray(u,i);-1!==r&&i.splice(r,1);t.removeData("ui-tooltip-id");i=n.trim(i.join(" "));i?t.attr("aria-describedby",i):t.removeAttr("aria-describedby")}var r=0;n.widget("ui.tooltip",{version:"1.10.3",options:{content:function(){var t=n(this).attr("title")||"";return n("<a>").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"});this.tooltips={};this.parents={};this.options.disabled&&this._disable()},_setOption:function(t,i){var r=this;return"disabled"===t?(this[i?"_disable":"_enable"](),this.options[t]=i,void 0):(this._super(t,i),"content"===t&&n.each(this.tooltips,function(n,t){r._updateContent(t)}),void 0)},_disable:function(){var t=this;n.each(this.tooltips,function(i,r){var u=n.Event("blur");u.target=u.currentTarget=r[0];t.close(u,!0)});this.element.find(this.options.items).addBack().each(function(){var t=n(this);t.is("[title]")&&t.data("ui-tooltip-title",t.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var t=n(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var r=this,i=n(t?t.target:this.element).closest(this.options.items);i.length&&!i.data("ui-tooltip-id")&&(i.attr("title")&&i.data("ui-tooltip-title",i.attr("title")),i.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&i.parents().each(function(){var i,t=n(this);t.data("ui-tooltip-open")&&(i=n.Event("blur"),i.target=i.currentTarget=this,r.close(i,!0));t.attr("title")&&(t.uniqueId(),r.parents[this.id]={element:this,title:t.attr("title")},t.attr("title",""))}),this._updateContent(i,t))},_updateContent:function(n,t){var i,r=this.options.content,u=this,f=t?t.type:null;return"string"==typeof r?this._open(t,n,r):(i=r.call(n[0],function(i){n.data("ui-tooltip-open")&&u._delay(function(){t&&(t.type=f);this._open(t,n,i)})}),i&&this._open(t,n,i),void 0)},_open:function(i,r,u){function o(n){s.of=n;f.is(":hidden")||f.position(s)}var f,e,h,s=n.extend({},this.options.position);if(u){if(f=this._find(r),f.length)return f.find(".ui-tooltip-content").html(u),void 0;r.is("[title]")&&(i&&"mouseover"===i.type?r.attr("title",""):r.removeAttr("title"));f=this._tooltip(r);t(r,f.attr("id"));f.find(".ui-tooltip-content").html(u);this.options.track&&i&&/^mouse/.test(i.type)?(this._on(this.document,{mousemove:o}),o(i)):f.position(n.extend({of:r},this.options.position));f.hide();this._show(f,this.options.show);this.options.show&&this.options.show.delay&&(h=this.delayedShow=setInterval(function(){f.is(":visible")&&(o(s.of),clearInterval(h))},n.fx.interval));this._trigger("open",i,{tooltip:f});e={keyup:function(t){if(t.keyCode===n.ui.keyCode.ESCAPE){var i=n.Event(t);i.currentTarget=r[0];this.close(i,!0)}},remove:function(){this._removeTooltip(f)}};i&&"mouseover"!==i.type||(e.mouseleave="close");i&&"focusin"!==i.type||(e.focusout="close");this._on(!0,r,e)}},close:function(t){var f=this,r=n(t?t.currentTarget:this.element),u=this._find(r);this.closing||(clearInterval(this.delayedShow),r.data("ui-tooltip-title")&&r.attr("title",r.data("ui-tooltip-title")),i(r),u.stop(!0),this._hide(u,this.options.hide,function(){f._removeTooltip(n(this))}),r.removeData("ui-tooltip-open"),this._off(r,"mouseleave focusout keyup"),r[0]!==this.element[0]&&this._off(r,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&n.each(this.parents,function(t,i){n(i.element).attr("title",i.title);delete f.parents[t]}),this.closing=!0,this._trigger("close",t,{tooltip:u}),this.closing=!1)},_tooltip:function(t){var u="ui-tooltip-"+r++,i=n("<div>").attr({id:u,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return n("<div>").addClass("ui-tooltip-content").appendTo(i),i.appendTo(this.document[0].body),this.tooltips[u]=t,i},_find:function(t){var i=t.data("ui-tooltip-id");return i?n("#"+i):n()},_removeTooltip:function(n){n.remove();delete this.tooltips[n.attr("id")]},_destroy:function(){var t=this;n.each(this.tooltips,function(i,r){var u=n.Event("blur");u.target=u.currentTarget=r[0];t.close(u,!0);n("#"+i).remove();r.data("ui-tooltip-title")&&(r.attr("title",r.data("ui-tooltip-title")),r.removeData("ui-tooltip-title"))})}})}(jQuery),function(n,t){var i="ui-effects-";n.effects={effect:{}},function(n,t){function f(n,t,i){var r=h[t.type]||{};return null==n?i||!t.def?null:t.def:(n=r.floor?~~n:parseFloat(n),isNaN(n)?t.def:r.mod?(n+r.mod)%r.mod:0>n?0:n>r.max?r.max:n)}function s(f){var o=i(),s=o._rgba=[];return f=f.toLowerCase(),r(v,function(n,i){var r,h=i.re.exec(f),c=h&&i.parse(h),e=i.space||"rgba";return c?(r=o[e](c),o[u[e].cache]=r[u[e].cache],s=o._rgba=r._rgba,!1):t}),s.length?("0,0,0,0"===s.join()&&n.extend(s,e.transparent),o):e[f]}function o(n,t,i){return i=(i+1)%1,1>6*i?n+6*(t-n)*i:1>2*i?t:2>3*i?n+6*(t-n)*(2/3-i):n}var e,a=/^([\-+])=\s*(\d+\.?\d*)/,v=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(n){return[n[1],n[2],n[3],n[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(n){return[2.55*n[1],2.55*n[2],2.55*n[3],n[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(n){return[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(n){return[parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(n){return[n[1],n[2]/100,n[3]/100,n[4]]}}],i=n.Color=function(t,i,r,u){return new n.Color.fn.parse(t,i,r,u)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{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"}}}},h={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},c=i.support={},l=n("<p>")[0],r=n.each;l.style.cssText="background-color:rgba(1,1,1,.5)";c.rgba=l.style.backgroundColor.indexOf("rgba")>-1;r(u,function(n,t){t.cache="_"+n;t.props.alpha={idx:3,type:"percent",def:1}});i.fn=n.extend(i.prototype,{parse:function(o,h,c,l){if(o===t)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=n(o).css(h),h=t);var a=this,v=n.type(o),y=this._rgba=[];return h!==t&&(o=[o,h,c,l],v="array"),"string"===v?this.parse(s(o)||e._default):"array"===v?(r(u.rgba.props,function(n,t){y[t.idx]=f(o[t.idx],t)}),this):"object"===v?(o instanceof i?r(u,function(n,t){o[t.cache]&&(a[t.cache]=o[t.cache].slice())}):r(u,function(t,i){var u=i.cache;r(i.props,function(n,t){if(!a[u]&&i.to){if("alpha"===n||null==o[n])return;a[u]=i.to(a._rgba)}a[u][t.idx]=f(o[n],t,!0)});a[u]&&0>n.inArray(null,a[u].slice(0,3))&&(a[u][3]=1,i.from&&(a._rgba=i.from(a[u])))}),this):t},is:function(n){var o=i(n),f=!0,e=this;return r(u,function(n,i){var s,u=o[i.cache];return u&&(s=e[i.cache]||i.to&&i.to(e._rgba)||[],r(i.props,function(n,i){return null!=u[i.idx]?f=u[i.idx]===s[i.idx]:t})),f}),f},_space:function(){var n=[],t=this;return r(u,function(i,r){t[r.cache]&&n.push(i)}),n.pop()},transition:function(n,t){var e=i(n),c=e._space(),o=u[c],l=0===this.alpha()?i("transparent"):this,a=l[o.cache]||o.to(l._rgba),s=a.slice();return e=e[o.cache],r(o.props,function(n,i){var c=i.idx,r=a[c],u=e[c],o=h[i.type]||{};null!==u&&(null===r?s[c]=u:(o.mod&&(u-r>o.mod/2?r+=o.mod:r-u>o.mod/2&&(r-=o.mod)),s[c]=f((u-r)*t+r,i)))}),this[c](s)},blend:function(t){if(1===this._rgba[3])return this;var r=this._rgba.slice(),u=r.pop(),f=i(t)._rgba;return i(n.map(r,function(n,t){return(1-u)*f[t]+u*n}))},toRgbaString:function(){var i="rgba(",t=n.map(this._rgba,function(n,t){return null==n?t>2?1:0:n});return 1===t[3]&&(t.pop(),i="rgb("),i+t.join()+")"},toHslaString:function(){var i="hsla(",t=n.map(this.hsla(),function(n,t){return null==n&&(n=t>2?1:0),t&&3>t&&(n=Math.round(100*n)+"%"),n});return 1===t[3]&&(t.pop(),i="hsl("),i+t.join()+")"},toHexString:function(t){var i=this._rgba.slice(),r=i.pop();return t&&i.push(~~(255*r)),"#"+n.map(i,function(n){return n=(n||0).toString(16),1===n.length?"0"+n:n}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}});i.fn.parse.prototype=i.fn;u.hsla.to=function(n){if(null==n[0]||null==n[1]||null==n[2])return[null,null,null,n[3]];var s,h,i=n[0]/255,r=n[1]/255,f=n[2]/255,c=n[3],u=Math.max(i,r,f),e=Math.min(i,r,f),t=u-e,o=u+e,l=.5*o;return s=e===u?0:i===u?60*(r-f)/t+360:r===u?60*(f-i)/t+120:60*(i-r)/t+240,h=0===t?0:.5>=l?t/o:t/(2-o),[Math.round(s)%360,h,l,null==c?1:c]};u.hsla.from=function(n){if(null==n[0]||null==n[1]||null==n[2])return[null,null,null,n[3]];var r=n[0]/360,u=n[1],t=n[2],e=n[3],i=.5>=t?t*(1+u):t+u-t*u,f=2*t-i;return[Math.round(255*o(f,i,r+1/3)),Math.round(255*o(f,i,r)),Math.round(255*o(f,i,r-1/3)),e]};r(u,function(u,e){var s=e.props,o=e.cache,h=e.to,c=e.from;i.fn[u]=function(u){if(h&&!this[o]&&(this[o]=h(this._rgba)),u===t)return this[o].slice();var l,a=n.type(u),v="array"===a||"object"===a?u:arguments,e=this[o].slice();return r(s,function(n,t){var i=v["object"===a?n:t.idx];null==i&&(i=e[t.idx]);e[t.idx]=f(i,t)}),c?(l=i(c(e)),l[o]=e,l):i(e)};r(s,function(t,r){i.fn[t]||(i.fn[t]=function(i){var f,e=n.type(i),h="alpha"===t?this._hsla?"hsla":"rgba":u,o=this[h](),s=o[r.idx];return"undefined"===e?s:("function"===e&&(i=i.call(this,s),e=n.type(i)),null==i&&r.empty?this:("string"===e&&(f=a.exec(i),f&&(i=s+parseFloat(f[2])*("+"===f[1]?1:-1))),o[r.idx]=i,this[h](o)))})})});i.hook=function(t){var u=t.split(" ");r(u,function(t,r){n.cssHooks[r]={set:function(t,u){var o,f,e="";if("transparent"!==u&&("string"!==n.type(u)||(o=s(u)))){if(u=i(o||u),!c.rgba&&1!==u._rgba[3]){for(f="backgroundColor"===r?t.parentNode:t;(""===e||"transparent"===e)&&f&&f.style;)try{e=n.css(f,"backgroundColor");f=f.parentNode}catch(h){}u=u.blend(e&&"transparent"!==e?e:"_default")}u=u.toRgbaString()}try{t.style[r]=u}catch(h){}}};n.fx.step[r]=function(t){t.colorInit||(t.start=i(t.elem,r),t.end=i(t.end),t.colorInit=!0);n.cssHooks[r].set(t.elem,t.start.transition(t.end,t.pos))}})};i.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor");n.cssHooks.borderColor={expand:function(n){var t={};return r(["Top","Right","Bottom","Left"],function(i,r){t["border"+r+"Color"]=n}),t}};e=n.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(t){var r,u,i=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,f={};if(i&&i.length&&i[0]&&i[i[0]])for(u=i.length;u--;)r=i[u],"string"==typeof i[r]&&(f[n.camelCase(r)]=i[r]);else for(r in i)"string"==typeof i[r]&&(f[r]=i[r]);return f}function r(t,i){var r,u,e={};for(r in i)u=i[r],t[r]!==u&&(f[r]||(n.fx.step[r]||!isNaN(parseFloat(u)))&&(e[r]=u));return e}var u=["add","remove","toggle"],f={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};n.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,i){n.fx.step[i]=function(n){("none"===n.end||n.setAttr)&&(1!==n.pos||n.setAttr)||(jQuery.style(n.elem,i,n.end),n.setAttr=!0)}});n.fn.addBack||(n.fn.addBack=function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))});n.effects.animateClass=function(t,f,e,o){var s=n.speed(f,e,o);return this.queue(function(){var o,e=n(this),h=e.attr("class")||"",f=s.children?e.find("*").addBack():e;f=f.map(function(){var t=n(this);return{el:t,start:i(this)}});o=function(){n.each(u,function(n,i){t[i]&&e[i+"Class"](t[i])})};o();f=f.map(function(){return this.end=i(this.el[0]),this.diff=r(this.start,this.end),this});e.attr("class",h);f=f.map(function(){var i=this,t=n.Deferred(),r=n.extend({},s,{queue:!1,complete:function(){t.resolve(i)}});return this.el.animate(this.diff,r),t.promise()});n.when.apply(n,f.get()).done(function(){o();n.each(arguments,function(){var t=this.el;n.each(this.diff,function(n){t.css(n,"")})});s.complete.call(e[0])})})};n.fn.extend({addClass:function(t){return function(i,r,u,f){return r?n.effects.animateClass.call(this,{add:i},r,u,f):t.apply(this,arguments)}}(n.fn.addClass),removeClass:function(t){return function(i,r,u,f){return arguments.length>1?n.effects.animateClass.call(this,{remove:i},r,u,f):t.apply(this,arguments)}}(n.fn.removeClass),toggleClass:function(i){return function(r,u,f,e,o){return"boolean"==typeof u||u===t?f?n.effects.animateClass.call(this,u?{add:r}:{remove:r},f,e,o):i.apply(this,arguments):n.effects.animateClass.call(this,{toggle:r},u,f,e)}}(n.fn.toggleClass),switchClass:function(t,i,r,u,f){return n.effects.animateClass.call(this,{add:i,remove:t},r,u,f)}})}(),function(){function r(t,i,r,u){return n.isPlainObject(t)&&(i=t,t=t.effect),t={effect:t},null==i&&(i={}),n.isFunction(i)&&(u=i,r=null,i={}),("number"==typeof i||n.fx.speeds[i])&&(u=r,r=i,i={}),n.isFunction(r)&&(u=r,r=null),i&&n.extend(t,i),r=r||i.duration,t.duration=n.fx.off?0:"number"==typeof r?r:r in n.fx.speeds?n.fx.speeds[r]:n.fx.speeds._default,t.complete=u||i.complete,t}function u(t){return!t||"number"==typeof t||n.fx.speeds[t]?!0:"string"!=typeof t||n.effects.effect[t]?n.isFunction(t)?!0:"object"!=typeof t||t.effect?!1:!0:!0}n.extend(n.effects,{version:"1.10.3",save:function(n,t){for(var r=0;t.length>r;r++)null!==t[r]&&n.data(i+t[r],n[0].style[t[r]])},restore:function(n,r){for(var f,u=0;r.length>u;u++)null!==r[u]&&(f=n.data(i+r[u]),f===t&&(f=""),n.css(r[u],f))},setMode:function(n,t){return"toggle"===t&&(t=n.is(":hidden")?"show":"hide"),t},getBaseline:function(n,t){var i,r;switch(n[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=n[0]/t.height}switch(n[1]){case"left":r=0;break;case"center":r=.5;break;case"right":r=1;break;default:r=n[1]/t.width}return{x:r,y:i}},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var i={width:t.outerWidth(!0),height:t.outerHeight(!0),float:t.css("float")},u=n("<div><\/div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),f={width:t.width(),height:t.height()},r=document.activeElement;try{r.id}catch(e){r=document.body}return t.wrap(u),(t[0]===r||n.contains(t[0],r))&&n(r).focus(),u=t.parent(),"static"===t.css("position")?(u.css({position:"relative"}),t.css({position:"relative"})):(n.extend(i,{position:t.css("position"),zIndex:t.css("z-index")}),n.each(["top","left","bottom","right"],function(n,r){i[r]=t.css(r);isNaN(parseInt(i[r],10))&&(i[r]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(f),u.css(i).show()},removeWrapper:function(t){var i=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===i||n.contains(t[0],i))&&n(i).focus()),t},setTransition:function(t,i,r,u){return u=u||{},n.each(i,function(n,i){var f=t.cssUnit(i);f[0]>0&&(u[i]=f[0]*r+f[1])}),u}});n.fn.extend({effect:function(){function i(i){function f(){n.isFunction(o)&&o.call(r[0]);n.isFunction(i)&&i()}var r=n(this),o=t.complete,u=t.mode;(r.is(":hidden")?"hide"===u:"show"===u)?(r[u](),f()):e.call(r[0],t,f)}var t=r.apply(this,arguments),u=t.mode,f=t.queue,e=n.effects.effect[t.effect];return n.fx.off||!e?u?this[u](t.duration,t.complete):this.each(function(){t.complete&&t.complete.call(this)}):f===!1?this.each(i):this.queue(f||"fx",i)},show:function(n){return function(t){if(u(t))return n.apply(this,arguments);var i=r.apply(this,arguments);return i.mode="show",this.effect.call(this,i)}}(n.fn.show),hide:function(n){return function(t){if(u(t))return n.apply(this,arguments);var i=r.apply(this,arguments);return i.mode="hide",this.effect.call(this,i)}}(n.fn.hide),toggle:function(n){return function(t){if(u(t)||"boolean"==typeof t)return n.apply(this,arguments);var i=r.apply(this,arguments);return i.mode="toggle",this.effect.call(this,i)}}(n.fn.toggle),cssUnit:function(t){var i=this.css(t),r=[];return n.each(["em","px","%","pt"],function(n,t){i.indexOf(t)>0&&(r=[parseFloat(i),t])}),r}})}(),function(){var t={};n.each(["Quad","Cubic","Quart","Quint","Expo"],function(n,i){t[i]=function(t){return Math.pow(t,n+2)}});n.extend(t,{Sine:function(n){return 1-Math.cos(n*Math.PI/2)},Circ:function(n){return 1-Math.sqrt(1-n*n)},Elastic:function(n){return 0===n||1===n?n:-Math.pow(2,8*(n-1))*Math.sin((80*(n-1)-7.5)*Math.PI/15)},Back:function(n){return n*n*(3*n-2)},Bounce:function(n){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>n;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-n,2)}});n.each(t,function(t,i){n.easing["easeIn"+t]=i;n.easing["easeOut"+t]=function(n){return 1-i(1-n)};n.easing["easeInOut"+t]=function(n){return.5>n?i(2*n)/2:1-i(-2*n+2)/2}})}()}(jQuery),function(n){var t=/up|down|vertical/,i=/up|left|vertical|horizontal/;n.effects.effect.blind=function(r,u){var e,o,s,f=n(this),c=["position","top","bottom","left","right","height","width"],p=n.effects.setMode(f,r.mode||"hide"),w=r.direction||"up",h=t.test(w),l=h?"height":"width",a=h?"top":"left",b=i.test(w),v={},y="show"===p;f.parent().is(".ui-effects-wrapper")?n.effects.save(f.parent(),c):n.effects.save(f,c);f.show();e=n.effects.createWrapper(f).css({overflow:"hidden"});o=e[l]();s=parseFloat(e.css(a))||0;v[l]=y?o:0;b||(f.css(h?"bottom":"right",0).css(h?"top":"left","auto").css({position:"absolute"}),v[a]=y?s:o+s);y&&(e.css(l,0),b||e.css(a,s+o));e.animate(v,{duration:r.duration,easing:r.easing,queue:!1,complete:function(){"hide"===p&&f.hide();n.effects.restore(f,c);n.effects.removeWrapper(f);u()}})}}(jQuery),function(n){n.effects.effect.bounce=function(t,i){var v,f,e,r=n(this),y=["position","top","bottom","left","right","height","width"],k=n.effects.setMode(r,t.mode||"effect"),o="hide"===k,p="show"===k,h=t.direction||"up",u=t.distance,w=t.times||5,d=2*w+(p||o?1:0),c=t.duration/d,l=t.easing,s="up"===h||"down"===h?"top":"left",b="up"===h||"left"===h,a=r.queue(),g=a.length;for((p||o)&&y.push("opacity"),n.effects.save(r,y),r.show(),n.effects.createWrapper(r),u||(u=r["top"===s?"outerHeight":"outerWidth"]()/3),p&&(e={opacity:1},e[s]=0,r.css("opacity",0).css(s,b?2*-u:2*u).animate(e,c,l)),o&&(u/=Math.pow(2,w-1)),e={},e[s]=0,v=0;w>v;v++)f={},f[s]=(b?"-=":"+=")+u,r.animate(f,c,l).animate(e,c,l),u=o?2*u:u/2;o&&(f={opacity:0},f[s]=(b?"-=":"+=")+u,r.animate(f,c,l));r.queue(function(){o&&r.hide();n.effects.restore(r,y);n.effects.removeWrapper(r);i()});g>1&&a.splice.apply(a,[1,0].concat(a.splice(g,d+1)));r.dequeue()}}(jQuery),function(n){n.effects.effect.clip=function(t,i){var h,u,f,r=n(this),c=["position","top","bottom","left","right","height","width"],v=n.effects.setMode(r,t.mode||"hide"),e="show"===v,y=t.direction||"vertical",l="vertical"===y,o=l?"height":"width",a=l?"top":"left",s={};n.effects.save(r,c);r.show();h=n.effects.createWrapper(r).css({overflow:"hidden"});u="IMG"===r[0].tagName?h:r;f=u[o]();e&&(u.css(o,0),u.css(a,f/2));s[o]=e?f:0;s[a]=e?0:f/2;u.animate(s,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){e||r.hide();n.effects.restore(r,c);n.effects.removeWrapper(r);i()}})}}(jQuery),function(n){n.effects.effect.drop=function(t,i){var u,r=n(this),h=["position","top","bottom","left","right","opacity","height","width"],c=n.effects.setMode(r,t.mode||"hide"),e="show"===c,f=t.direction||"left",o="up"===f||"down"===f?"top":"left",s="up"===f||"left"===f?"pos":"neg",l={opacity:e?1:0};n.effects.save(r,h);r.show();n.effects.createWrapper(r);u=t.distance||r["top"===o?"outerHeight":"outerWidth"](!0)/2;e&&r.css("opacity",0).css(o,"pos"===s?-u:u);l[o]=(e?"pos"===s?"+=":"-=":"pos"===s?"-=":"+=")+u;r.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===c&&r.hide();n.effects.restore(r,h);n.effects.removeWrapper(r);i()}})}}(jQuery),function(n){n.effects.effect.explode=function(t,i){function b(){p.push(this);p.length===o*c&&k()}function k(){r.css({visibility:"visible"});n(p).remove();u||r.hide();i()}for(var e,l,a,v,y,o=t.pieces?Math.round(Math.sqrt(t.pieces)):3,c=o,r=n(this),d=n.effects.setMode(r,t.mode||"hide"),u="show"===d,w=r.show().css("visibility","hidden").offset(),s=Math.ceil(r.outerWidth()/c),h=Math.ceil(r.outerHeight()/o),p=[],f=0;o>f;f++)for(a=w.top+f*h,y=f-(o-1)/2,e=0;c>e;e++)l=w.left+e*s,v=e-(c-1)/2,r.clone().appendTo("body").wrap("<div><\/div>").css({position:"absolute",visibility:"visible",left:-e*s,top:-f*h}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:s,height:h,left:l+(u?v*s:0),top:a+(u?y*h:0),opacity:u?0:1}).animate({left:l+(u?0:v*s),top:a+(u?0:y*h),opacity:u?1:0},t.duration||500,t.easing,b)}}(jQuery),function(n){n.effects.effect.fade=function(t,i){var r=n(this),u=n.effects.setMode(r,t.mode||"toggle");r.animate({opacity:u},{queue:!1,duration:t.duration,easing:t.easing,complete:i})}}(jQuery),function(n){n.effects.effect.fold=function(t,i){var r,e,u=n(this),s=["position","top","bottom","left","right","height","width"],h=n.effects.setMode(u,t.mode||"hide"),o="show"===h,c="hide"===h,f=t.size||15,l=/([0-9]+)%/.exec(f),a=!!t.horizFirst,v=o!==a,y=v?["width","height"]:["height","width"],p=t.duration/2,w={},b={};n.effects.save(u,s);u.show();r=n.effects.createWrapper(u).css({overflow:"hidden"});e=v?[r.width(),r.height()]:[r.height(),r.width()];l&&(f=parseInt(l[1],10)/100*e[c?0:1]);o&&r.css(a?{height:0,width:f}:{height:f,width:0});w[y[0]]=o?e[0]:f;b[y[1]]=o?e[1]:0;r.animate(w,p,t.easing).animate(b,p,t.easing,function(){c&&u.hide();n.effects.restore(u,s);n.effects.removeWrapper(u);i()})}}(jQuery),function(n){n.effects.effect.highlight=function(t,i){var r=n(this),u=["backgroundImage","backgroundColor","opacity"],f=n.effects.setMode(r,t.mode||"show"),e={backgroundColor:r.css("backgroundColor")};"hide"===f&&(e.opacity=0);n.effects.save(r,u);r.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(e,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===f&&r.hide();n.effects.restore(r,u);i()}})}}(jQuery),function(n){n.effects.effect.pulsate=function(t,i){var e,r=n(this),o=n.effects.setMode(r,t.mode||"show"),h="show"===o,a="hide"===o,v=h||"hide"===o,s=2*(t.times||5)+(v?1:0),c=t.duration/s,u=0,f=r.queue(),l=f.length;for((h||!r.is(":visible"))&&(r.css("opacity",0).show(),u=1),e=1;s>e;e++)r.animate({opacity:u},c,t.easing),u=1-u;r.animate({opacity:u},c,t.easing);r.queue(function(){a&&r.hide();i()});l>1&&f.splice.apply(f,[1,0].concat(f.splice(l,s+1)));r.dequeue()}}(jQuery),function(n){n.effects.effect.puff=function(t,i){var r=n(this),e=n.effects.setMode(r,t.mode||"hide"),o="hide"===e,s=parseInt(t.percent,10)||150,f=s/100,u={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()};n.extend(t,{effect:"scale",queue:!1,fade:!0,mode:e,complete:i,percent:o?s:100,from:o?u:{height:u.height*f,width:u.width*f,outerHeight:u.outerHeight*f,outerWidth:u.outerWidth*f}});r.effect(t)};n.effects.effect.scale=function(t,i){var u=n(this),r=n.extend(!0,{},t),f=n.effects.setMode(u,t.mode||"effect"),s=parseInt(t.percent,10)||(0===parseInt(t.percent,10)?0:"hide"===f?0:100),h=t.direction||"both",c=t.origin,e={height:u.height(),width:u.width(),outerHeight:u.outerHeight(),outerWidth:u.outerWidth()},o={y:"horizontal"!==h?s/100:1,x:"vertical"!==h?s/100:1};r.effect="size";r.queue=!1;r.complete=i;"effect"!==f&&(r.origin=c||["middle","center"],r.restore=!0);r.from=t.from||("show"===f?{height:0,width:0,outerHeight:0,outerWidth:0}:e);r.to={height:e.height*o.y,width:e.width*o.x,outerHeight:e.outerHeight*o.y,outerWidth:e.outerWidth*o.x};r.fade&&("show"===f&&(r.from.opacity=0,r.to.opacity=1),"hide"===f&&(r.from.opacity=1,r.to.opacity=0));u.effect(r)};n.effects.effect.size=function(t,i){var f,l,u,r=n(this),w=["position","top","bottom","left","right","width","height","overflow","opacity"],a=["width","height","overflow"],v=["fontSize"],e=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],o=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],h=n.effects.setMode(r,t.mode||"effect"),y=t.restore||"effect"!==h,c=t.scale||"both",b=t.origin||["middle","center"],k=r.css("position"),s=y?w:["position","top","bottom","left","right","overflow","opacity"],p={height:0,width:0,outerHeight:0,outerWidth:0};"show"===h&&r.show();f={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()};"toggle"===t.mode&&"show"===h?(r.from=t.to||p,r.to=t.from||f):(r.from=t.from||("show"===h?p:f),r.to=t.to||("hide"===h?p:f));u={from:{y:r.from.height/f.height,x:r.from.width/f.width},to:{y:r.to.height/f.height,x:r.to.width/f.width}};("box"===c||"both"===c)&&(u.from.y!==u.to.y&&(s=s.concat(e),r.from=n.effects.setTransition(r,e,u.from.y,r.from),r.to=n.effects.setTransition(r,e,u.to.y,r.to)),u.from.x!==u.to.x&&(s=s.concat(o),r.from=n.effects.setTransition(r,o,u.from.x,r.from),r.to=n.effects.setTransition(r,o,u.to.x,r.to)));("content"===c||"both"===c)&&u.from.y!==u.to.y&&(s=s.concat(v).concat(a),r.from=n.effects.setTransition(r,v,u.from.y,r.from),r.to=n.effects.setTransition(r,v,u.to.y,r.to));n.effects.save(r,s);r.show();n.effects.createWrapper(r);r.css("overflow","hidden").css(r.from);b&&(l=n.effects.getBaseline(b,f),r.from.top=(f.outerHeight-r.outerHeight())*l.y,r.from.left=(f.outerWidth-r.outerWidth())*l.x,r.to.top=(f.outerHeight-r.to.outerHeight)*l.y,r.to.left=(f.outerWidth-r.to.outerWidth)*l.x);r.css(r.from);("content"===c||"both"===c)&&(e=e.concat(["marginTop","marginBottom"]).concat(v),o=o.concat(["marginLeft","marginRight"]),a=w.concat(e).concat(o),r.find("*[width]").each(function(){var i=n(this),r={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};y&&n.effects.save(i,a);i.from={height:r.height*u.from.y,width:r.width*u.from.x,outerHeight:r.outerHeight*u.from.y,outerWidth:r.outerWidth*u.from.x};i.to={height:r.height*u.to.y,width:r.width*u.to.x,outerHeight:r.height*u.to.y,outerWidth:r.width*u.to.x};u.from.y!==u.to.y&&(i.from=n.effects.setTransition(i,e,u.from.y,i.from),i.to=n.effects.setTransition(i,e,u.to.y,i.to));u.from.x!==u.to.x&&(i.from=n.effects.setTransition(i,o,u.from.x,i.from),i.to=n.effects.setTransition(i,o,u.to.x,i.to));i.css(i.from);i.animate(i.to,t.duration,t.easing,function(){y&&n.effects.restore(i,a)})}));r.animate(r.to,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){0===r.to.opacity&&r.css("opacity",r.from.opacity);"hide"===h&&r.hide();n.effects.restore(r,s);y||("static"===k?r.css({position:"relative",top:r.to.top,left:r.to.left}):n.each(["top","left"],function(n,t){r.css(t,function(t,i){var f=parseInt(i,10),u=n?r.to.left:r.to.top;return"auto"===i?u+"px":f+u+"px"})}));n.effects.removeWrapper(r);i()}})}}(jQuery),function(n){n.effects.effect.shake=function(t,i){var o,r=n(this),v=["position","top","bottom","left","right","height","width"],k=n.effects.setMode(r,t.mode||"effect"),f=t.direction||"left",s=t.distance||20,y=t.times||3,p=2*y+1,u=Math.round(t.duration/p),h="up"===f||"down"===f?"top":"left",c="up"===f||"left"===f,l={},a={},w={},e=r.queue(),b=e.length;for(n.effects.save(r,v),r.show(),n.effects.createWrapper(r),l[h]=(c?"-=":"+=")+s,a[h]=(c?"+=":"-=")+2*s,w[h]=(c?"-=":"+=")+2*s,r.animate(l,u,t.easing),o=1;y>o;o++)r.animate(a,u,t.easing).animate(w,u,t.easing);r.animate(a,u,t.easing).animate(l,u/2,t.easing).queue(function(){"hide"===k&&r.hide();n.effects.restore(r,v);n.effects.removeWrapper(r);i()});b>1&&e.splice.apply(e,[1,0].concat(e.splice(b,p+1)));r.dequeue()}}(jQuery),function(n){n.effects.effect.slide=function(t,i){var u,r=n(this),s=["position","top","bottom","left","right","width","height"],h=n.effects.setMode(r,t.mode||"show"),c="show"===h,f=t.direction||"left",e="up"===f||"down"===f?"top":"left",o="up"===f||"left"===f,l={};n.effects.save(r,s);r.show();u=t.distance||r["top"===e?"outerHeight":"outerWidth"](!0);n.effects.createWrapper(r).css({overflow:"hidden"});c&&r.css(e,o?isNaN(u)?"-"+u:-u:u);l[e]=(c?o?"+=":"-=":o?"-=":"+=")+u;r.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===h&&r.hide();n.effects.restore(r,s);n.effects.removeWrapper(r);i()}})}}(jQuery),function(n){n.effects.effect.transfer=function(t,i){var u=n(this),r=n(t.to),f="fixed"===r.css("position"),e=n("body"),o=f?e.scrollTop():0,s=f?e.scrollLeft():0,h=r.offset(),l={top:h.top-o,left:h.left-s,height:r.innerHeight(),width:r.innerWidth()},c=u.offset(),a=n("<div class='ui-effects-transfer'><\/div>").appendTo(document.body).addClass(t.className).css({top:c.top-o,left:c.left-s,height:u.innerHeight(),width:u.innerWidth(),position:f?"fixed":"absolute"}).animate(l,t.duration,t.easing,function(){a.remove();i()})}}(jQuery),function(n,t,i){"use strict";function v(n){return function(){var r=arguments[0],f="["+(n?n+":":"")+r+"] ",e=arguments[1],u=arguments,o=function(n){return typeof n=="function"?n.toString().replace(/ \{[\s\S]*$/,""):typeof n=="undefined"?"undefined":typeof n!="string"?JSON.stringify(n):n},t,i;for(t=f+e.replace(/\{\d+\}/g,function(n){var i=+n.slice(1,-1),t;return i+2<u.length?(t=u[i+2],typeof t=="function")?t.toString().replace(/ ?\{[\s\S]*$/,""):typeof t=="undefined"?"undefined":typeof t!="string"?et(t):t:n}),t=t+"\nhttp://errors.angularjs.org/1.2.3/"+(n?n+"/":"")+r,i=2;i<arguments.length;i++)t=t+(i==2?"?":"&")+"p"+(i-2)+"="+encodeURIComponent(o(arguments[i]));return new Error(t)}}function gr(n){if(n==null||ii(n))return!1;var t=n.length;return n.nodeType===1&&t?!0:e(n)||s(n)||t===0||typeof t=="number"&&t>0&&t-1 in n}function r(n,t,i){var u;if(n)if(c(n))for(u in n)u!="prototype"&&u!="length"&&u!="name"&&n.hasOwnProperty(u)&&t.call(i,n[u],u);else if(n.forEach&&n.forEach!==r)n.forEach(t,i);else if(gr(n))for(u=0;u<n.length;u++)t.call(i,n[u],u);else for(u in n)n.hasOwnProperty(u)&&t.call(i,n[u],u);return n}function hf(n){var i=[],t;for(t in n)n.hasOwnProperty(t)&&i.push(t);return i.sort()}function us(n,t,i){for(var u=hf(n),r=0;r<u.length;r++)t.call(i,n[u[r]],u[r]);return u}function cf(n){return function(t,i){n(i,t)}}function ur(){for(var n=ft.length,t;n;){if(n--,t=ft[n].charCodeAt(0),t==57)return ft[n]="A",ft.join("");if(t==90)ft[n]="0";else return ft[n]=String.fromCharCode(t+1),ft.join("")}return ft.unshift("0"),ft.join("")}function lf(n,t){t?n.$$hashKey=t:delete n.$$hashKey}function a(n){var t=n.$$hashKey;return r(arguments,function(t){t!==n&&r(t,function(t,i){n[i]=t})}),lf(n,t),n}function k(n){return parseInt(n,10)}function af(n,t){return a(new(a(function(){},{prototype:n})),t)}function o(){}function ti(n){return n}function nt(n){return function(){return n}}function h(n){return typeof n=="undefined"}function f(n){return typeof n!="undefined"}function p(n){return n!=null&&typeof n=="object"}function e(n){return typeof n=="string"}function nu(n){return typeof n=="number"}function ci(n){return ir.apply(n)=="[object Date]"}function s(n){return ir.apply(n)=="[object Array]"}function c(n){return typeof n=="function"}function fr(n){return ir.apply(n)=="[object RegExp]"}function ii(n){return n&&n.document&&n.location&&n.alert&&n.setInterval}function er(n){return n&&n.$evalAsync&&n.$watch}function fs(n){return ir.apply(n)==="[object File]"}function es(n){return n&&(n.nodeName||n.on&&n.find)}function os(n,t,i){var u=[];return r(n,function(n,r,f){u.push(t.call(i,n,r,f))}),u}function ss(n,t){return or(n,t)!=-1}function or(n,t){if(n.indexOf)return n.indexOf(t);for(var i=0;i<n.length;i++)if(t===n[i])return i;return-1}function li(n,t){var i=or(n,t);return i>=0&&n.splice(i,1),t}function rt(n,t){var i,f,u;if(ii(n)||er(n))throw si("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(t){if(n===t)throw si("cpi","Can't copy! Source and destination are identical.");if(s(n))for(t.length=0,i=0;i<n.length;i++)t.push(rt(n[i]));else{f=t.$$hashKey;r(t,function(n,i){delete t[i]});for(u in n)t[u]=rt(n[u]);lf(t,f)}}else t=n,n&&(s(n)?t=rt(n,[]):ci(n)?t=new Date(n.getTime()):fr(n)?t=new RegExp(n.source):p(n)&&(t=rt(n,{})));return t}function hs(n,t){t=t||{};for(var i in n)n.hasOwnProperty(i)&&i.substr(0,2)!=="$$"&&(t[i]=n[i]);return t}function ri(n,t){if(n===t)return!0;if(n===null||t===null)return!1;if(n!==n&&t!==t)return!0;var f=typeof n,o=typeof t,e,r,u;if(f==o&&f=="object")if(s(n)){if(!s(t))return!1;if((e=n.length)==t.length){for(r=0;r<e;r++)if(!ri(n[r],t[r]))return!1;return!0}}else{if(ci(n))return ci(t)&&n.getTime()==t.getTime();if(fr(n)&&fr(t))return n.toString()==t.toString();if(er(n)||er(t)||ii(n)||ii(t)||s(t))return!1;u={};for(r in n)if(r.charAt(0)!=="$"&&!c(n[r])){if(!ri(n[r],t[r]))return!1;u[r]=!0}for(r in t)if(!u.hasOwnProperty(r)&&r.charAt(0)!=="$"&&t[r]!==i&&!c(t[r]))return!1;return!0}return!1}function vf(){return t.securityPolicy&&t.securityPolicy.isActive||t.querySelector&&!!(t.querySelector("[ng-csp]")||t.querySelector("[data-ng-csp]"))}function tu(n,t,i){return n.concat(dr.call(t,i))}function iu(n,t){return dr.call(n,t||0)}function ru(n,t){var i=arguments.length>2?iu(arguments,2):[];return!c(t)||t instanceof RegExp?t:i.length?function(){return arguments.length?t.apply(n,i.concat(dr.call(arguments,0))):t.apply(n,i)}:function(){return arguments.length?t.apply(n,arguments):t.call(n)}}function cs(n,r){var u=r;return typeof n=="string"&&n.charAt(0)==="$"?u=i:ii(r)?u="$WINDOW":r&&t===r?u="$DOCUMENT":er(r)&&(u="$SCOPE"),u}function et(n,t){return typeof n=="undefined"?i:JSON.stringify(n,cs,t?"  ":null)}function yf(n){return e(n)?JSON.parse(n):n}function ai(n){if(n&&n.length!==0){var t=l(""+n);n=!(t=="f"||t=="0"||t=="false"||t=="no"||t=="n"||t=="[]")}else n=!1;return n}function ut(n){n=u(n).clone();try{n.html("")}catch(i){}var t=u("<div>").append(n).html();try{return n[0].nodeType===3?l(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(n,t){return"<"+l(t)})}catch(i){return l(t)}}function pf(n){try{return decodeURIComponent(n)}catch(t){}}function wf(n){var i={},u,t;return r((n||"").split("&"),function(n){if(n&&(u=n.split("="),t=pf(u[0]),f(t))){var r=f(u[1])?pf(u[1]):!0;i[t]?s(i[t])?i[t].push(r):i[t]=[i[t],r]:i[t]=r}}),i}function bf(n){var t=[];return r(n,function(n,i){s(n)?r(n,function(n){t.push(bt(i,!0)+(n===!0?"":"="+bt(n,!0)))}):t.push(bt(i,!0)+(n===!0?"":"="+bt(n,!0)))}),t.length?t.join("&"):""}function uu(n){return bt(n,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function bt(n,t){return encodeURIComponent(n).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function ls(n,i){function e(n){n&&s.push(n)}var s=[n],u,f,o=["ng:app","ng-app","x-ng-app","data-ng-app"],h=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;r(o,function(i){o[i]=!0;e(t.getElementById(i));i=i.replace(":","\\:");n.querySelectorAll&&(r(n.querySelectorAll("."+i),e),r(n.querySelectorAll("."+i+"\\:"),e),r(n.querySelectorAll("["+i+"]"),e))});r(s,function(n){if(!u){var i=" "+n.className+" ",t=h.exec(i);t?(u=n,f=(t[2]||"").replace(/\s+/g,",")):r(n.attributes,function(t){!u&&o[t.name]&&(u=n,f=t.value)})}});u&&i(u,f?[f]:[])}function kf(i,f){var e=function(){var r,n;if(i=u(i),i.injector()){r=i[0]===t?"document":ut(i);throw si("btstrpd","App Already Bootstrapped with this Element '{0}'",r);}return f=f||[],f.unshift(["$provide",function(n){n.value("$rootElement",i)}]),f.unshift("ng"),n=oe(f),n.invoke(["$rootScope","$rootElement","$compile","$injector","$animate",function(n,t,i,r){n.$apply(function(){t.data("$injector",r);i(t)(n)})}]),n},o=/^NG_DEFER_BOOTSTRAP!/;if(n&&!o.test(n.name))return e();n.name=n.name.replace(o,"");rr.resumeBootstrap=function(n){r(n,function(n){f.push(n)});e()}}function sr(n,t){return t=t||"_",n.replace(df,function(n,i){return(i?t:"")+n.toLowerCase()})}function as(){wt=n.jQuery;wt?(u=wt,a(wt.fn,{scope:dt.scope,isolateScope:dt.isolateScope,controller:dt.controller,injector:dt.injector,inheritedData:dt.inheritedData}),cu("remove",!0,!0,!1),cu("empty",!1,!1,!1),cu("html",!1,!1,!0)):u=w;rr.element=u}function fu(n,t,i){if(!n)throw si("areq","Argument '{0}' is {1}",t||"?",i||"required");return n}function vi(n,t,i){return i&&s(n)&&(n=n[n.length-1]),fu(c(n),t,"not a function, got "+(n&&typeof n=="object"?n.constructor.name||"Object":typeof n)),n}function kt(n,t){if(n==="hasOwnProperty")throw si("badname","hasOwnProperty is not a valid {0} name",t);}function eu(n,t,i){var r;if(!t)return n;var u=t.split("."),f,e=n,o=u.length;for(r=0;r<o;r++)f=u[r],n&&(n=(e=n)[f]);return!i&&c(n)?ru(e,n):n}function ou(n){if(n.startNode===n.endNode)return u(n.startNode);var t=n.startNode,i=[t];do{if(t=t.nextSibling,!t)break;i.push(t)}while(t!==n.endNode);return u(i)}function vs(n){function t(n,t,i){return n[t]||(n[t]=i())}var r=v("$injector"),u=v("ng"),i=t(n,"angular",Object);return i.$$minErr=i.$$minErr||v,t(i,"module",function(){var n={};return function(i,f,e){var o=function(n,t){if(n==="hasOwnProperty")throw u("badname","hasOwnProperty is not a valid {0} name",t);};return o(i,"module"),f&&n.hasOwnProperty(i)&&(n[i]=null),t(n,i,function(){function n(n,i,r){return function(){return t[r||"push"]([n,i,arguments]),s}}if(!f)throw r("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",i);var t=[],u=[],o=n("$injector","invoke"),s={_invokeQueue:t,_runBlocks:u,requires:f,name:i,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:n("$provide","value"),constant:n("$provide","constant","unshift"),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),config:o,run:function(n){return u.push(n),this}};return e&&o(e),s})}})}function ys(t){a(t,{bootstrap:kf,copy:rt,extend:a,equals:ri,element:u,forEach:r,injector:oe,noop:o,bind:ru,toJson:et,fromJson:yf,identity:ti,isUndefined:h,isDefined:f,isString:e,isFunction:c,isObject:p,isNumber:nu,isElement:es,isArray:s,version:gf,isDate:ci,lowercase:l,uppercase:pt,callbacks:{counter:0},$$minErr:v,$$csp:vf});hi=vs(n);try{hi("ngLocale")}catch(i){hi("ngLocale",[]).provider("$locale",bh)}hi("ng",["ngLocale"],["$provide",function(n){n.provider({$$sanitizeUri:cc});n.provider("$compile",ce).directive({a:yo,input:ko,textarea:ko,form:fl,script:nv,select:rv,style:fv,option:uv,ngBind:na,ngBindHtml:ia,ngBindTemplate:ta,ngClass:ra,ngClassEven:fa,ngClassOdd:ua,ngCloak:ea,ngController:oa,ngForm:el,ngHide:pa,ngIf:sa,ngInclude:ha,ngInit:ca,ngNonBindable:la,ngPluralize:aa,ngRepeat:va,ngShow:ya,ngStyle:wa,ngSwitch:ba,ngSwitchWhen:ka,ngSwitchDefault:da,ngOptions:iv,ngTransclude:ga,ngModel:wl,ngList:kl,ngChange:bl,required:go,ngRequired:go,ngValue:gl}).directive(yr).directive(ns);n.provider({$anchorScroll:uh,$animate:he,$browser:eh,$cacheFactory:oh,$controller:hh,$document:ch,$exceptionHandler:lh,$filter:eo,$interpolate:ph,$interval:wh,$http:ah,$httpBackend:vh,$location:nc,$log:tc,$parse:ec,$rootScope:hc,$q:oc,$sce:yc,$sceDelegate:vc,$sniffer:pc,$templateCache:sh,$timeout:wc,$window:bc})}])}function ws(){return++ps}function pi(n){return n.replace(bs,function(n,t,i,r){return r?i.toUpperCase():i}).replace(ks,"Moz$1")}function cu(n,t,i,r){function e(n){var s=i&&n?[this.filter(n)]:[this],h=t,c,e,a,l,o,v,y;if(!r||n!=null)while(s.length)for(c=s.shift(),e=0,a=c.length;e<a;e++)for(l=u(c[e]),h?l.triggerHandler("$destroy"):h=!h,o=0,v=(y=l.children()).length;o<v;o++)s.push(wt(y[o]));return f.apply(this,arguments)}var f=wt.fn[n];f=f.$original||f;e.$original=f;wt.fn[n]=e}function w(n){var i,r;if(n instanceof w)return n;if(!(this instanceof w)){if(e(n)&&n.charAt(0)!="<")throw hu("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new w(n)}e(n)?(i=t.createElement("div"),i.innerHTML="<div>&#160;<\/div>"+n,i.removeChild(i.firstChild),pu(this,i.childNodes),r=u(t.createDocumentFragment()),r.append(this)):pu(this,n)}function lu(n){return n.cloneNode(!0)}function wi(n){ie(n);for(var t=0,i=n.childNodes||[];t<i.length;t++)wi(i[t])}function te(n,t,i,u){if(f(u))throw hu("offargs","jqLite#off() does not support the `selector` argument");var e=ot(n,"events"),o=ot(n,"handle");o&&(h(t)?r(e,function(t,i){su(n,i,t);delete e[i]}):r(t.split(" "),function(t){h(i)?(su(n,t,e[t]),delete e[t]):li(e[t]||[],i)}))}function ie(n,t){var u=n[hr],r=yi[u];if(r){if(t){delete yi[u].data[t];return}r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),te(n));delete yi[u];n[hr]=i}}function ot(n,t,i){var u=n[hr],r=yi[u||-1];if(f(i))r||(n[hr]=u=ws(),r=yi[u]={}),r[t]=i;else return r&&r[t]}function re(n,t,i){var r=ot(n,"data"),u=f(i),e=!u&&f(t),o=e&&!p(t);if(r||o||ot(n,"data",r={}),u)r[t]=i;else if(e){if(o)return r&&r[t];a(r,t)}else return r}function au(n,t){return n.getAttribute?(" "+(n.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function vu(n,t){t&&n.setAttribute&&r(t.split(" "),function(t){n.setAttribute("class",g((" "+(n.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+g(t)+" "," ")))})}function yu(n,t){if(t&&n.setAttribute){var i=(" "+(n.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(n){n=g(n);i.indexOf(" "+n+" ")===-1&&(i+=n+" ")});n.setAttribute("class",g(i))}}function pu(n,t){if(t){t=!t.nodeName&&f(t.length)&&!ii(t)?t:[t];for(var i=0;i<t.length;i++)n.push(t[i])}}function ue(n,t){return cr(n,"$"+(t||"ngController")+"Controller")}function cr(n,t,r){var e,f,o;for(n=u(n),n[0].nodeType==9&&(n=n.find("html")),e=s(t)?t:[t];n.length;){for(f=0,o=e.length;f<o;f++)if((r=n.data(e[f]))!==i)return r;n=n.parent()}}function fe(n,t){var i=bi[t.toLowerCase()];return i&&wu[n.nodeName]&&i}function ds(n,i){var u=function(u,f){if(u.preventDefault||(u.preventDefault=function(){u.returnValue=!1}),u.stopPropagation||(u.stopPropagation=function(){u.cancelBubble=!0}),u.target||(u.target=u.srcElement||t),h(u.defaultPrevented)){var e=u.preventDefault;u.preventDefault=function(){u.defaultPrevented=!0;e.call(u)};u.defaultPrevented=!1}u.isDefaultPrevented=function(){return u.defaultPrevented||u.returnValue===!1};r(i[f||u.type],function(t){t.call(n,u)});y<=8?(u.preventDefault=null,u.stopPropagation=null,u.isDefaultPrevented=null):(delete u.preventDefault,delete u.stopPropagation,delete u.isDefaultPrevented)};return u.elem=n,u}function ui(n){var r=typeof n,t;return r=="object"&&n!==null?typeof(t=n.$$hashKey)=="function"?t=n.$$hashKey():t===i&&(t=n.$$hashKey=ur()):t=n,r+":"+t}function ki(n){r(n,this.put,this)}function ee(n){var t,u,f,i;return typeof n=="function"?(t=n.$inject)||(t=[],n.length&&(u=n.toString().replace(rh,""),f=u.match(nh),r(f[1].split(th),function(n){n.replace(ih,function(n,i,r){t.push(r)})})),n.$inject=t):s(n)?(i=n.length-1,vi(n[i],"fn"),t=n.slice(0,i)):vi(n,"fn",!0),t}function oe(n){function f(n){return function(t,i){if(p(t))r(t,cf(n));else return n(t,i)}}function b(n,r){if(kt(n,"service"),(c(r)||s(r))&&(r=t.instantiate(r)),!r.$get)throw di("pget","Provider '{0}' must define $get factory method.",n);return i[n+h]=r}function v(n,t){return b(n,{$get:t})}function g(n,t){return v(n,["$injector",function(n){return n.instantiate(t)}])}function tt(n,t){return v(n,nt(t))}function it(n,t){kt(n,"constant");i[n]=t;a[n]=t}function rt(n,i){var r=t.get(n+h),f=r.$get;r.$get=function(){var n=u.invoke(f,r);return u.invoke(i,null,{$delegate:n})}}function k(n){var i=[],u,o,f,h;return r(n,function(n){if(!w.get(n)){w.put(n,!0);try{if(e(n))for(u=hi(n),i=i.concat(k(u.requires)).concat(u._runBlocks),o=u._invokeQueue,f=0,h=o.length;f<h;f++){var l=o[f],a=t.get(l[0]);a[l[1]].apply(a,l[2])}else c(n)?i.push(t.invoke(n)):s(n)?i.push(t.invoke(n)):vi(n,"module")}catch(r){s(n)&&(n=n[n.length-1]);r.message&&r.stack&&r.stack.indexOf(r.message)==-1&&(r=r.message+"\n"+r.stack);throw di("modulerr","Failed to instantiate module {0} due to:\n{1}",n,r.stack||r.message||r);}}}),i}function d(n,t){function r(i){if(n.hasOwnProperty(i)){if(n[i]===y)throw di("cdep","Circular dependency found: {0}",l.join(" <- "));return n[i]}try{return l.unshift(i),n[i]=y,n[i]=t(i)}finally{l.shift()}}function u(n,t,i){for(var u=[],s=ee(n),f,e=0,o=s.length;e<o;e++){if(f=s[e],typeof f!="string")throw di("itkn","Incorrect injection token! Expected service name as string, got {0}",f);u.push(i&&i.hasOwnProperty(f)?i[f]:r(f))}n.$inject||(n=n[o]);switch(t?-1:u.length){case 0:return n();case 1:return n(u[0]);case 2:return n(u[0],u[1]);case 3:return n(u[0],u[1],u[2]);case 4:return n(u[0],u[1],u[2],u[3]);case 5:return n(u[0],u[1],u[2],u[3],u[4]);case 6:return n(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return n(u[0],u[1],u[2],u[3],u[4],u[5],u[6]);case 8:return n(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7]);case 9:return n(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8]);case 10:return n(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9]);default:return n.apply(t,u)}}function f(n,t){var f=function(){},r,i;return f.prototype=(s(n)?n[n.length-1]:n).prototype,r=new f,i=u(n,r,t),p(i)||c(i)?i:r}function e(){for(var t in n)t!="$injector"&&t!="$provide"&&delete n[t]}return{invoke:u,instantiate:f,get:r,annotate:ee,has:function(t){return i.hasOwnProperty(t+h)||n.hasOwnProperty(t)},rc:e}}var y={},h="Provider",l=[],w=new ki,i={$provide:{provider:f(b),factory:f(v),service:f(g),value:f(tt),constant:f(it),decorator:rt}},t=i.$injector=d(i,function(){throw di("unpr","Unknown provider: {0}",l.join(" <- "));}),a={},u=a.$injector=d(a,function(n){var i=t.get(n+h);return u.invoke(i.$get,i)});return r(k(n),function(n){u.invoke(n||o)}),u}function uh(){var n=!0;this.disableAutoScrolling=function(){n=!1};this.$get=["$window","$location","$rootScope",function(t,i,u){function o(n){var t=null;return r(n,function(n){t||l(n.nodeName)!=="a"||(t=n)}),t}function e(){var n=i.hash(),r;n?(r=f.getElementById(n))?r.scrollIntoView():(r=o(f.getElementsByName(n)))?r.scrollIntoView():n==="top"&&t.scrollTo(0,0):t.scrollTo(0,0)}var f=t.document;return n&&u.$watch(function(){return i.hash()},function(){u.$evalAsync(e)}),e}]}function fh(n,t,f,s){function d(n){try{n.apply(null,iu(arguments,1))}finally{if(a--,a===0)while(p.length)try{p.pop()()}catch(t){f.error(t)}}}function lt(n,t){(function i(){r(w,function(n){n()});ot=t(i,n)})()}function rt(){(nt=null,b!=c.url())&&(b=c.url(),r(tt,function(n){n(c.url())}))}var c=this,v=t[0],l=n.location,ft=n.history,et=n.setTimeout,ht=n.clearTimeout,y={},a,p,w,ot,ct,tt,it;c.isMock=!1;a=0;p=[];c.$$completeOutstandingRequest=d;c.$$incOutstandingRequestCount=function(){a++};c.notifyWhenNoOutstandingRequests=function(n){r(w,function(n){n()});a===0?n():p.push(n)};w=[];c.addPollFn=function(n){return h(ot)&&lt(100,et),w.push(n),n};ct=0;var b=l.href,g=t.find("base"),nt=null;c.url=function(t,i){return l!==n.location&&(l=n.location),t?b==t?void 0:(b=t,s.history?i?ft.replaceState(null,"",t):(ft.pushState(null,"",t),g.attr("href",g.attr("href"))):(nt=t,i?l.replace(t):l.href=t),c):nt||l.href.replace(/%27/g,"'")};tt=[];it=!1;c.onUrlChange=function(t){if(!it){if(s.history)u(n).on("popstate",rt);if(s.hashchange)u(n).on("hashchange",rt);else c.addPollFn(rt);it=!0}return tt.push(t),t};c.baseHref=function(){var n=g.attr("href");return n?n.replace(/^https?\:\/\/[^\/]*/,""):""};var k={},ut="",st=c.baseHref();c.cookies=function(n,t){var s,h,r,u,o;if(n)t===i?v.cookie=escape(n)+"=;path="+st+";expires=Thu, 01 Jan 1970 00:00:00 GMT":e(t)&&(s=(v.cookie=escape(n)+"="+escape(t)+";path="+st).length+1,s>4096&&f.warn("Cookie '"+n+"' possibly not set or overflowed because it was too large ("+s+" > 4096 bytes)!"));else{if(v.cookie!==ut)for(ut=v.cookie,h=ut.split("; "),k={},u=0;u<h.length;u++)r=h[u],o=r.indexOf("="),o>0&&(n=unescape(r.substring(0,o)),k[n]===i&&(k[n]=unescape(r.substring(o+1))));return k}};c.defer=function(n,t){var i;return a++,i=et(function(){delete y[i];d(n)},t||0),y[i]=!0,i};c.defer.cancel=function(n){return y[n]?(delete y[n],ht(n),d(o),!0):!1}}function eh(){this.$get=["$window","$log","$sniffer","$document",function(n,t,i,r){return new fh(n,r,t,i)}]}function oh(){this.$get=function(){function t(t,i){function l(n){n!=f&&(r?r==n&&(r=n.n):r=n,s(n.n,n.p),s(n,f),f=n,f.n=null)}function s(n,t){n!=t&&(n&&(n.p=t),t&&(t.n=n))}if(t in n)throw v("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var o=0,c=a({},i,{id:t}),e={},y=i&&i.capacity||Number.MAX_VALUE,u={},f=null,r=null;return n[t]={put:function(n,t){var i=u[n]||(u[n]={key:n});if(l(i),!h(t))return n in e||o++,e[n]=t,o>y&&this.remove(r.key),t},get:function(n){var t=u[n];if(t)return l(t),e[n]},remove:function(n){var t=u[n];t&&(t==f&&(f=t.p),t==r&&(r=t.n),s(t.n,t.p),delete u[n],delete e[n],o--)},removeAll:function(){e={};o=0;u={};f=r=null},destroy:function(){e=null;c=null;u=null;delete n[t]},info:function(){return a({},c,{size:o})}}}var n={};return t.info=function(){var t={};return r(n,function(n,i){t[i]=n.info()}),t},t.get=function(t){return n[t]},t}}function sh(){this.$get=["$cacheFactory",function(n){return n("templates")}]}function ce(n,o){var h={},l="Directive",v=/^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/,w=/(([\d\w\-_]+)(?:\:([^;]+))?;?)/,b=/^(on[a-z]+|formaction)$/;this.directive=function k(t,i){return kt(t,"directive"),e(t)?(fu(i,"directiveFactory"),h.hasOwnProperty(t)||(h[t]=[],n.factory(t+l,["$injector","$exceptionHandler",function(n,i){var u=[];return r(h[t],function(r,f){try{var e=n.invoke(r);c(e)?e={compile:nt(e)}:!e.compile&&e.link&&(e.compile=nt(e.link));e.priority=e.priority||0;e.index=f;e.name=e.name||t;e.require=e.require||e.controller&&e.name;e.restrict=e.restrict||"A";u.push(e)}catch(o){i(o)}}),u}])),h[t].push(i)):r(t,cf(k)),this};this.aHrefSanitizationWhitelist=function(n){return f(n)?(o.aHrefSanitizationWhitelist(n),this):o.aHrefSanitizationWhitelist()};this.imgSrcSanitizationWhitelist=function(n){return f(n)?(o.imgSrcSanitizationWhitelist(n),this):o.imgSrcSanitizationWhitelist()};this.$get=["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(n,f,o,k,d,tt,rt,ft,et,ot,ht,ct){function wt(n,t,i,f,e){n instanceof u||(n=u(n));r(n,function(t,i){t.nodeType==3&&t.nodeValue.match(/\S+/)&&(n[i]=t=u(t).wrap("<span><\/span>").parent()[0])});var o=bt(n,t,n,i,f,e);return function(t,i,u){var f,e,h,s;for(fu(t,"scope"),f=i?dt.clone.call(n):n,r(u,function(n,t){f.data("$"+t+"Controller",n)}),e=0,h=f.length;e<h;e++)s=f[e],n,(s.nodeType==1||s.nodeType==9)&&f.eq(e).data("$scope",t);return lt(f,"ng-scope"),i&&i(f,t),o&&o(t,f,f),f}}function lt(n,t){try{n.addClass(t)}catch(i){}}function bt(n,t,r,f,e,o){function p(n,r,f,e){for(var s,h,l,y,a,p,w,b=[],o=0,v=r.length;o<v;o++)b.push(r[o]);for(o=0,w=0,v=c.length;o<v;w++)l=b[w],s=c[o++],h=c[o++],y=u(l),s?(s.scope?(a=n.$new(),y.data("$scope",a),lt(y,"ng-scope")):a=n,p=s.transclude,p||!e&&t?s(h,a,l,f,fi(n,p||t)):s(h,a,l,i,e)):h&&h(n,l.childNodes,i,e)}for(var c=[],h,l,a,v,y,s=0;s<n.length;s++)v=new pt,a=kt(n[s],[],v,s===0?f:i,e),h=a.length?oi(a,n[s],v,t,r,null,[],[],o):null,l=h&&h.terminal||!n[s].childNodes||!n[s].childNodes.length?null:bt(n[s].childNodes,h?h.transclude:t),c.push(h),c.push(l),y=y||h||l,o=null;return y?p:null}function fi(n,t){return function(i,r,u){var e=!1,f;if(i||(i=n.$new(),i.$$transcluded=!0,e=!0),f=t(i,r,u),e)f.on("$destroy",ru(i,i.$destroy));return f}}function kt(n,t,i,r,u){var tt=n.nodeType,it=i.$attr,s,h,b,k,nt;switch(tt){case 1:vt(t,st(ni(n).toLowerCase()),"E",r,u);for(var l,f,o,c,d,a=n.attributes,p=0,rt=a&&a.length;p<rt;p++)b=!1,k=!1,l=a[p],(!y||y>=8||l.specified)&&(f=l.name,c=st(f),li.test(c)&&(f=sr(c.substr(6),"-")),nt=c.replace(/(Start|End)$/,""),c===nt+"Start"&&(b=f,k=f.substr(0,f.length-5)+"end",f=f.substr(0,f.length-6)),o=st(f.toLowerCase()),it[o]=f,i[o]=d=g(y&&f=="href"?decodeURIComponent(n.getAttribute(f,2)):l.value),fe(n,o)&&(i[o]=!0),wi(n,t,d,o),vt(t,o,"A",r,u,b,k));if(h=n.className,e(h)&&h!=="")while(s=w.exec(h))o=st(s[2]),vt(t,o,"C",r,u)&&(i[o]=g(s[3])),h=h.substr(s.index+s[0].length);break;case 3:yi(t,n.nodeValue);break;case 8:try{s=v.exec(n.nodeValue);s&&(o=st(s[1]),vt(t,o,"M",r,u)&&(i[o]=g(s[2])))}catch(ut){}}return t.sort(vi),t}function gt(n,t,i){var r=[],f=0,e;if(t&&n.hasAttribute&&n.hasAttribute(t)){e=n;do{if(!n)throw it("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,i);n.nodeType==1&&(n.hasAttribute(t)&&f++,n.hasAttribute(i)&&f--);r.push(n);n=n.nextSibling}while(f>0)}else r.push(n);return u(r)}function ei(n,t,i){return function(r,u,f,e,o){return u=gt(u[0],t,i),n(r,u,f,e,o)}}function oi(n,h,l,a,v,y,w,b,k){function di(n,t,i,r){n&&(i&&(n=ei(n,i,r)),n.require=d.require,(nt===d||d.$$isolateScope)&&(n=ci(n,{isolateScope:!0})),w.push(n));t&&(i&&(t=ei(t,i,r)),t.require=d.require,(nt===d||d.$$isolateScope)&&(t=ci(t,{isolateScope:!0})),b.push(t))}function pi(n,t,i){var u,f="data",o=!1;if(e(n)){while((u=n.charAt(0))=="^"||u=="?")n=n.substr(1),u=="^"&&(f="inheritedData"),o=o||u=="?";if(u=null,i&&f==="data"&&(u=i[n]),u=u||t[f]("$"+n+"Controller"),!u&&!o)throw it("ctreq","Controller '{0}', required by directive '{1}', can't be found!",n,st);return u}return s(n)&&(u=[],r(n,function(n){u.push(pi(n,t,i))})),u}function ri(n,t,e,s,c){function yt(n,t){var r;return arguments.length<2&&(t=n,n=i),yi&&(r=g),c(n,t,r)}var v,p,k,st,y,d,a,g={},ft,ht,et,ot;for(v=h===e?l:hs(l,new pt(u(e),l.$attr)),p=v.$$element,nt&&(ht=/^\s*([@=&])(\??)\s*(\w*)\s*$/,et=u(e),a=t.$new(!0),vt&&vt===nt.$$originalDirective?et.data("$isolateScope",a):et.data("$isolateScopeNoTemplate",a),lt(et,"ng-isolate-scope"),r(nt.scope,function(n,i){var o=n.match(ht)||[],r=o[3]||i,c=o[2]=="?",s=o[1],e,u,h;a.$$isolateBindings[i]=s+r;switch(s){case"@":v.$observe(r,function(n){a[i]=n});v.$$observers[r].$$scope=t;v[r]&&(a[i]=f(v[r])(t));break;case"=":if(c&&!v[r])return;u=tt(v[r]);h=u.assign||function(){e=a[i]=u(t);throw it("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",v[r],nt.name);};e=a[i]=u(t);a.$watch(function(){var n=u(t);return n!==a[i]&&(n!==e?e=a[i]=n:h(t,n=e=a[i])),n});break;case"&":u=tt(v[r]);a[i]=function(n){return u(t,n)};break;default:throw it("iscp","Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}",nt.name,i,n);}})),ft=c&&yt,ct&&r(ct,function(n){var r={$scope:n===nt||n.$$isolateScope?a:t,$element:p,$attrs:v,$transclude:ft},i;d=n.controller;d=="@"&&(d=v[n.name]);i=rt(d,r);g[n.name]=i;yi||p.data("$"+n.name+"Controller",i);n.controllerAs&&(r.$scope[n.controllerAs]=i)}),k=0,st=w.length;k<st;k++)try{y=w[k];y(y.isolateScope?a:t,p,v,y.require&&pi(y.require,p,g),ft)}catch(at){o(at,ut(p))}for(ot=t,nt&&(nt.template||nt.templateUrl===null)&&(ot=a),n&&n(ot,e.childNodes,i,c),k=b.length-1;k>=0;k--)try{y=b[k];y(y.isolateScope?a:t,p,v,y.require&&pi(y.require,p,g),ft)}catch(at){o(at,ut(p))}}var ht,vi,dt,ii;k=k||{};var ni=-Number.MAX_VALUE,fi,ct=k.controllerDirectives,nt=k.newIsolateScopeDirective,vt=k.templateDirective,oi=k.nonTlbTranscludeDirective,wi=!1,yi=!1,ft=l.$$element=u(h),d,st,et,li=y,ti=a,bt,ot;for(ht=0,vi=n.length;ht<vi;ht++){if(d=n[ht],dt=d.$$start,ii=d.$$end,dt&&(ft=gt(h,dt,ii)),et=i,ni>d.priority)break;if((ot=d.scope)&&(fi=fi||d,d.templateUrl||(at("new/isolated scope",nt,d,ft),p(ot)&&(nt=d))),st=d.name,!d.templateUrl&&d.controller&&(ot=d.controller,ct=ct||{},at("'"+st+"' controller",ct[st],d,ft),ct[st]=d),(ot=d.transclude)&&(wi=!0,d.$$tlb||(at("transclusion",oi,d,ft),oi=d),ot=="element"?(yi=!0,ni=d.priority,et=gt(h,dt,ii),ft=l.$$element=u(t.createComment(" "+st+": "+l[st]+" ")),h=ft[0],yt(v,u(iu(et)),h),h=i,ti=wt(et,a,ni,li&&li.name,{nonTlbTranscludeDirective:oi})):(et=u(lu(h)).contents(),ft.html(""),ti=wt(et,a)),et=i),d.template)if(at("template",vt,d,ft),vt=d,ot=c(d.template)?d.template(ft,l):d.template,ot=ui(ot),d.replace){if(li=d,et=u("<div>"+g(ot)+"<\/div>").contents(),h=et[0],et.length!=1||h.nodeType!==1)throw it("tplrt","Template for directive '{0}' must have exactly one root element. {1}",st,"");et=i;yt(v,ft,h);var bi={$attr:{}},ki=kt(h,[],bi),gi=n.splice(ht+1,n.length-(ht+1));nt&&si(ki);n=n.concat(ki).concat(gi);hi(l,bi);vi=n.length}else ft.html(ot);if(d.templateUrl)at("template",vt,d,ft),vt=d,d.replace&&(li=d),ri=ai(n.splice(ht,n.length-ht),ft,l,v,ti,w,b,{controllerDirectives:ct,newIsolateScopeDirective:nt,templateDirective:vt,nonTlbTranscludeDirective:oi}),vi=n.length;else if(d.compile)try{bt=d.compile(ft,l,ti);c(bt)?di(null,bt,dt,ii):bt&&di(bt.pre,bt.post,dt,ii)}catch(nr){o(nr,ut(ft))}d.terminal&&(ri.terminal=!0,ni=Math.max(ni,d.priority))}return ri.scope=fi&&fi.scope===!0,ri.transclude=wi&&ti,ri}function si(n){for(var t=0,i=n.length;t<i;t++)n[t]=af(n[t],{$$isolateScope:!0})}function vt(t,r,u,f,e,s,c){var v;if(r===e)return null;if(v=null,h.hasOwnProperty(r))for(var a,p=n.get(r+l),y=0,w=p.length;y<w;y++)try{a=p[y];(f===i||f>a.priority)&&a.restrict.indexOf(u)!=-1&&(s&&(a=af(a,{$$start:s,$$end:c})),t.push(a),v=a)}catch(b){o(b)}return v}function hi(n,t){var u=t.$attr,f=n.$attr,i=n.$$element;r(n,function(i,r){r.charAt(0)!="$"&&(t[r]&&(i+=(r==="style"?";":" ")+t[r]),n.$set(r,i,!0,u[r]))});r(t,function(t,r){r=="class"?(lt(i,t),n["class"]=(n["class"]?n["class"]+" ":"")+t):r=="style"?(i.attr("style",i.attr("style")+";"+t),n.style=(n.style?n.style+";":"")+t):r.charAt(0)=="$"||n.hasOwnProperty(r)||(n[r]=t,f[r]=u[r])})}function ai(n,t,i,f,e,o,s,h){var l=[],y,w,b=t[0],v=n.shift(),tt=a({},v,{templateUrl:null,transclude:null,replace:null,$$originalDirective:v}),nt=c(v.templateUrl)?v.templateUrl(t,i):v.templateUrl;return t.html(""),k.get(ot.getTrustedResourceUrl(nt),{cache:d}).success(function(c){var a,k,d,ft,rt;if(c=ui(c),v.replace){if(d=u("<div>"+g(c)+"<\/div>").contents(),a=d[0],d.length!=1||a.nodeType!==1)throw it("tplrt","Template for directive '{0}' must have exactly one root element. {1}",v.name,nt);k={$attr:{}};yt(f,t,a);rt=kt(a,[],k);p(v.scope)&&si(rt);n=rt.concat(n);hi(i,k)}else a=b,t.html(c);for(n.unshift(tt),y=oi(n,a,i,e,t,v,o,s,h),r(f,function(n,i){n==a&&(f[i]=t[0])}),w=bt(t[0].childNodes,e);l.length;){var et=l.shift(),ot=l.shift(),st=l.shift(),ht=l.shift(),ut=t[0];ot!==b&&(ut=lu(a),yt(st,u(ot),ut));ft=y.transclude?fi(et,y.transclude):ht;y(w,et,ut,f,ft)}l=null}).error(function(n,t,i,r){throw it("tpload","Failed to load template: {0}",r.url);}),function(n,t,i,r,u){l?(l.push(t),l.push(i),l.push(r),l.push(u)):y(w,t,i,r,u)}}function vi(n,t){var i=t.priority-n.priority;return i!==0?i:n.name!==t.name?n.name<t.name?-1:1:n.index-t.index}function at(n,t,i,r){if(t)throw it("multidir","Multiple directives [{0}, {1}] asking for {2} on: {3}",t.name,i.name,n,ut(r));}function yi(n,t){var i=f(t,!0);i&&n.push({priority:0,compile:nt(function(n,t){var r=t.parent(),e=r.data("$binding")||[],u,f;e.push(i);lt(r.data("$binding",e),"ng-binding");u=n.$on("$destroy",function(){u();f();f=null;u=null;t.remove();r=null;t=null});f=n.$watch(i,function(n){t[0].nodeValue=n})})})}function pi(n,t){if(t=="srcdoc")return ot.HTML;var i=ni(n);if(t=="xlinkHref"||i=="FORM"&&t=="action"||i!="IMG"&&(t=="src"||t=="ngSrc"))return ot.RESOURCE_URL}function wi(n,t,i,r){var u=f(i,!0);if(u){if(r==="multiple"&&ni(n)==="SELECT")throw it("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",ut(n));t.push({priority:100,compile:function(){return{pre:function(t,i,e){var o=e.$$observers||(e.$$observers={});if(b.test(r))throw it("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");(u=f(e[r],!0,pi(n,r)),u)&&(e[r]=u(t),(o[r]||(o[r]=[])).$$inter=!0,(e.$$observers&&e.$$observers[r].$$scope||t).$watch(u,function(n,t){r==="class"&&n!=t?e.$updateClass(n,t):e.$set(r,n)}))}}}})}}function yt(n,i,r){var e=i[0],a=i.length,v=e.parentNode,f,y,c,s,w,l;if(n)for(f=0,y=n.length;f<y;f++)if(n[f]==e){n[f++]=r;for(var o=f,h=o+a-1,p=n.length;o<p;o++,h++)h<p?n[o]=n[h]:delete n[o];n.length-=a-1;break}for(v&&v.replaceChild(r,e),c=t.createDocumentFragment(),c.appendChild(e),r[u.expando]=e[u.expando],s=1,w=i.length;s<w;s++)l=i[s],u(l).remove(),c.appendChild(l),delete i[s];i[0]=r;i.length=1}function ci(n,t){return a(function(){return n.apply(null,arguments)},n,t)}var pt=function(n,t){this.$$element=n;this.$attr=t||{}};pt.prototype={$normalize:st,$addClass:function(n){n&&n.length>0&&ht.addClass(this.$$element,n)},$removeClass:function(n){n&&n.length>0&&ht.removeClass(this.$$element,n)},$updateClass:function(n,t){this.$removeClass(ae(t,n));this.$addClass(ae(n,t))},$set:function(n,t,u,f){var h=fe(this.$$element[0],n),e,s;h&&(this.$$element.prop(n,t),f=h);this[n]=t;f?this.$attr[n]=f:(f=this.$attr[n],f||(this.$attr[n]=f=sr(n,"-")));e=ni(this.$$element);(e==="A"&&n==="href"||e==="IMG"&&n==="src")&&(this[n]=t=ct(t,n==="src"));u!==!1&&(t===null||t===i?this.$$element.removeAttr(f):this.$$element.attr(f,t));s=this.$$observers;s&&r(s[n],function(n){try{n(t)}catch(i){o(i)}})},$observe:function(n,t){var i=this,r=i.$$observers||(i.$$observers={}),u=r[n]||(r[n]=[]);return u.push(t),ft.$evalAsync(function(){u.$$inter||t(i[n])}),t}};var ii=f.startSymbol(),ri=f.endSymbol(),ui=ii=="{{"||ri=="}}"?ti:function(n){return n.replace(/\{\{/g,ii).replace(/}}/g,ri)},li=/^ngAttr[A-Z]/;return wt}]}function st(n){return pi(n.replace(le,""))}function ae(n,t){var u="",e=n.split(/\s+/),o=t.split(/\s+/),i,f,r;n:for(i=0;i<e.length;i++){for(f=e[i],r=0;r<o.length;r++)if(f==o[r])continue n;u+=(u.length>0?" ":"")+f}return u}function hh(){var n={},t=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(t,i){kt(t,"controller");p(t)?a(n,t):n[t]=i};this.$get=["$injector","$window",function(i,r){return function(u,f){var h,c,o,s;if(e(u)&&(c=u.match(t),o=c[1],s=c[3],u=n.hasOwnProperty(o)?n[o]:eu(f.$scope,o,!0)||eu(r,o,!0),vi(u,o,!0)),h=i.instantiate(u,f),s){if(!(f&&typeof f.$scope=="object"))throw v("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",o||u.name,s);f.$scope[s]=h}return h}}]}function ch(){this.$get=["$window",function(n){return u(n.document)}]}function lh(){this.$get=["$log",function(n){return function(){n.error.apply(n,arguments)}}]}function ve(n){var t={},i,u,f;return n?(r(n.split("\n"),function(n){f=n.indexOf(":");i=l(g(n.substr(0,f)));u=g(n.substr(f+1));i&&(t[i]?t[i]+=", "+u:t[i]=u)}),t):t}function ye(n){var t=p(n)?n:i;return function(i){return(t||(t=ve(n)),i)?t[l(i)]||null:t}}function pe(n,t,i){return c(i)?i(n,t):(r(i,function(i){n=i(n,t)}),n)}function bu(n){return 200<=n&&n<300}function ah(){var u=/^\s*(\[|\{[^\{])/,o=/[\}\]]\s*$/,v=/^\)\]\}',?\n/,t={"Content-Type":"application/json;charset=utf-8"},n=this.defaults={transformResponse:[function(n){return e(n)&&(n=n.replace(v,""),u.test(n)&&o.test(n)&&(n=yf(n))),n}],transformRequest:[function(n){return p(n)&&!fs(n)?et(n):n}],headers:{common:{Accept:"application/json, text/plain, */*"},post:t,put:t,patch:t},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},y=this.interceptors=[],w=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(t,u,o,v,b,k){function d(t){function w(n){var t=a({},n,{data:pe(n.data,n.headers,f.transformResponse)});return bu(n.status)?t:b.reject(t)}function d(t){function s(n){var t;r(n,function(i,r){c(i)&&(t=i(),t!=null?n[r]=t:delete n[r])})}var i=n.headers,u=a({},t.headers),f,e,o;i=a({},i.common,i[l(t.method)]);s(i);s(u);n:for(f in i){e=l(f);for(o in u)if(l(o)===e)continue n;u[f]=i[f]}return u}var f={transformRequest:n.transformRequest,transformResponse:n.transformResponse},o=d(t),v,y,p;a(f,t);f.headers=o;f.method=pt(f.method);v=fo(f.url)?u.cookies()[f.xsrfCookieName||n.xsrfCookieName]:i;v&&(o[f.xsrfHeaderName||n.xsrfHeaderName]=v);var k=function(t){o=t.headers;var i=pe(t.data,ye(o),t.transformRequest);return h(t.data)&&r(o,function(n,t){l(t)==="content-type"&&delete o[t]}),h(t.withCredentials)&&!h(n.withCredentials)&&(t.withCredentials=n.withCredentials),ut(t,i,o).then(w,w)},s=[k,i],e=b.when(f);for(r(g,function(n){(n.request||n.requestError)&&s.unshift(n.request,n.requestError);(n.response||n.responseError)&&s.push(n.response,n.responseError)});s.length;)y=s.shift(),p=s.shift(),e=e.then(y,p);return e.success=function(n){return e.then(function(t){n(t.data,t.status,t.headers,f)}),e},e.error=function(n){return e.then(null,function(t){n(t.data,t.status,t.headers,f)}),e},e}function tt(){r(arguments,function(n){d[n]=function(t,i){return d(a(i||{},{method:n,url:t}))}})}function it(){r(arguments,function(n){d[n]=function(t,i,r){return d(a(r||{},{method:n,url:t,data:i}))}})}function ut(i,r,u){function k(n,t,i){o&&(bu(n)?o.put(c,[n,t,ve(i)]):o.remove(c));w(t,n,i);v.$$phase||v.$apply()}function w(n,t,r){t=Math.max(t,0);(bu(t)?a.resolve:a.reject)({data:n,status:t,headers:ye(r),config:i})}function l(){var n=or(d.pendingRequests,i);n!==-1&&d.pendingRequests.splice(n,1)}var a=b.defer(),y=a.promise,o,e,c=ft(i.url,i.params);if(d.pendingRequests.push(i),y.then(l,l),(i.cache||n.cache)&&i.cache!==!1&&i.method=="GET"&&(o=p(i.cache)?i.cache:p(n.cache)?n.cache:nt),o)if(e=o.get(c),f(e)){if(e.then)return e.then(l,l),e;s(e)?w(e[1],e[0],rt(e[2])):w(e,200,{})}else o.put(c,y);return h(e)&&t(i.method,c,r,k,u,i.timeout,i.withCredentials,i.responseType),y}function ft(n,t){if(!t)return n;var i=[];return us(t,function(n,t){n===null||h(n)||(s(n)||(n=[n]),r(n,function(n){p(n)&&(n=et(n));i.push(bt(t)+"="+bt(n))}))}),n+(n.indexOf("?")==-1?"?":"&")+i.join("&")}var nt=o("$http"),g=[];return r(y,function(n){g.unshift(e(n)?k.get(n):k.invoke(n))}),r(w,function(n,t){var i=e(n)?k.get(n):k.invoke(n);g.splice(t,0,{response:function(n){return i(b.when(n))},responseError:function(n){return i(b.reject(n))}})}),d.pendingRequests=[],tt("get","delete","head","jsonp"),it("post","put"),d.defaults=n,d}]}function vh(){this.$get=["$browser","$window","$document",function(n,t,i){return yh(n,we,n.defer,t.angular.callbacks,i[0])}]}function yh(n,t,i,u,e){function h(n,t){var i=e.createElement("script"),r=function(){i.onreadystatechange=i.onload=i.onerror=null;e.body.removeChild(i);t&&t()};return i.type="text/javascript",i.src=n,y&&y<=8?i.onreadystatechange=function(){/loaded|complete/.test(i.readyState)&&r()}:i.onload=i.onerror=function(){r()},e.body.appendChild(i),r}var s=-1;return function(e,c,a,v,y,p,w,b){function rt(){g=s;nt&&nt();k&&k.abort()}function it(t,r,u,f){var e=gt(c).protocol;tt&&i.cancel(tt);nt=k=null;r=e=="file"&&r===0?u?200:404:r;r=r==1223?204:r;t(r,u,f);n.$$completeOutstandingRequest(o)}var g,d,nt,k,tt;n.$$incOutstandingRequestCount();c=c||n.url();l(e)=="jsonp"?(d="_"+(u.counter++).toString(36),u[d]=function(n){u[d].data=n},nt=h(c.replace("JSON_CALLBACK","angular.callbacks."+d),function(){u[d].data?it(v,200,u[d].data):it(v,g||-2);delete u[d]})):(k=new t,k.open(e,c,!0),r(y,function(n,t){f(n)&&k.setRequestHeader(t,n)}),k.onreadystatechange=function(){if(k.readyState==4){var n=null,t=null;g!==s&&(n=k.getAllResponseHeaders(),t=k.responseType?k.response:k.responseText);it(v,g||k.status,t,n)}},w&&(k.withCredentials=!0),b&&(k.responseType=b),k.send(a||null));p>0?tt=i(rt,p):p&&p.then&&p.then(rt)}}function ph(){var n="{{",t="}}";this.startSymbol=function(t){return t?(n=t,this):n};this.endSymbol=function(n){return n?(t=n,this):t};this.$get=["$parse","$exceptionHandler","$sce",function(i,r,u){function f(f,s,c){for(var p,b,l=0,a=[],v=f.length,k=!1,y,d,w=[];l<v;)(p=f.indexOf(n,l))!=-1&&(b=f.indexOf(t,p+e))!=-1?(l!=p&&a.push(f.substring(l,p)),a.push(y=i(d=f.substring(p+e,b))),y.exp=d,l=b+o,k=!0):(l!=v&&a.push(f.substring(l)),l=v);if((v=a.length)||(a.push(""),v=1),c&&a.length>1)throw ku("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce",f);if(!s||k)return w.length=v,y=function(n){var i,e,t,o,s;try{for(i=0,e=v;i<e;i++)typeof(t=a[i])=="function"&&(t=t(n),t=c?u.getTrusted(c,t):u.valueOf(t),t===null||h(t)?t="":typeof t!="string"&&(t=et(t))),w[i]=t;return o=w.join(""),w=[],o}catch(l){s=ku("interr","Can't interpolate: {0}\n{1}",f,l.toString());r(s)}},y.exp=f,y.parts=a,y}var e=n.length,o=t.length;return f.startSymbol=function(){return n},f.endSymbol=function(){return t},f}]}function wh(){this.$get=["$rootScope","$window","$q",function(n,t,i){function u(u,e,o,s){var a=t.setInterval,v=t.clearInterval,c=i.defer(),h=c.promise,l=0,y=f(s)&&!s;return o=f(o)?o:0,h.then(null,null,u),h.$$intervalId=a(function(){c.notify(l++);o>0&&l>=o&&(c.resolve(l),v(h.$$intervalId),delete r[h.$$intervalId]);y||n.$apply()},e),r[h.$$intervalId]=c,h}var r={};return u.cancel=function(n){return n&&n.$$intervalId in r?(r[n.$$intervalId].reject("canceled"),clearInterval(n.$$intervalId),delete r[n.$$intervalId],!0):!1},u}]}function bh(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),SHORTMONTH:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),DAY:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),SHORTDAY:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a",short:"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(n){return n===1?"one":"other"}}}}function be(n){for(var t=n.split("/"),i=t.length;i--;)t[i]=uu(t[i]);return t.join("/")}function ke(n,t,i){var r=gt(n,i);t.$$protocol=r.protocol;t.$$host=r.hostname;t.$$port=k(r.port)||dh[r.protocol]||null}function de(n,t,i){var u=n.charAt(0)!=="/",r;u&&(n="/"+n);r=gt(n,i);t.$$path=decodeURIComponent(u&&r.pathname.charAt(0)==="/"?r.pathname.substring(1):r.pathname);t.$$search=wf(r.search);t.$$hash=decodeURIComponent(r.hash);t.$$path&&t.$$path.charAt(0)!="/"&&(t.$$path="/"+t.$$path)}function ht(n,t){if(t.indexOf(n)===0)return t.substr(n.length)}function gi(n){var t=n.indexOf("#");return t==-1?n:n.substr(0,t)}function gu(n){return n.substr(0,gi(n).lastIndexOf("/")+1)}function gh(n){return n.substring(0,n.indexOf("/",n.indexOf("//")+2))}function ge(n,t){this.$$html5=!0;t=t||"";var r=gu(n);ke(n,this,n);this.$$parse=function(t){var i=ht(r,t);if(!e(i))throw du("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,r);de(i,this,n);this.$$path||(this.$$path="/");this.$$compose()};this.$$compose=function(){var n=bf(this.$$search),t=this.$$hash?"#"+uu(this.$$hash):"";this.$$url=be(this.$$path)+(n?"?"+n:"")+t;this.$$absUrl=r+this.$$url.substr(1)};this.$$rewrite=function(u){var f,e;return(f=ht(n,u))!==i?(e=f,(f=ht(t,f))!==i?r+(ht("/",f)||f):n+e):(f=ht(r,u))!==i?r+f:r==u+"/"?r:void 0}}function nf(n,t){var i=gu(n);ke(n,this,n);this.$$parse=function(r){function o(n,t,i){var u=/^\/?.*?:(\/.*)/,r;return(t.indexOf(i)===0&&(t=t.replace(i,"")),u.exec(t))?n:(r=u.exec(n),r?r[1]:n)}var u=ht(n,r)||ht(i,r),f=u.charAt(0)=="#"?ht(t,u):this.$$html5?u:"";if(!e(f))throw du("ihshprfx",'Invalid url "{0}", missing hash prefix "{1}".',r,t);de(f,this,n);this.$$path=o(this.$$path,f,n);this.$$compose()};this.$$compose=function(){var i=bf(this.$$search),r=this.$$hash?"#"+uu(this.$$hash):"";this.$$url=be(this.$$path)+(i?"?"+i:"")+r;this.$$absUrl=n+(this.$$url?t+this.$$url:"")};this.$$rewrite=function(t){if(gi(n)==gi(t))return t}}function no(n,t){this.$$html5=!0;nf.apply(this,arguments);var i=gu(n);this.$$rewrite=function(r){var u;return n==gi(r)?r:(u=ht(i,r))?n+t+u:i===r+"/"?i:void 0}}function lr(n){return function(){return this[n]}}function to(n,t){return function(i){return h(i)?this[n]:(this[n]=t(i),this.$$compose(),this)}}function nc(){var t="",i=!1;this.hashPrefix=function(n){return f(n)?(t=n,this):t};this.html5Mode=function(n){return f(n)?(i=n,this):i};this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(r,f,e,o){function y(n){r.$broadcast("$locationChangeSuccess",s.absUrl(),n)}var s,a,p=f.baseHref(),h=f.url(),v,c;i?(v=gh(h)+(p||"/"),a=e.history?ge:no):(v=gi(h),a=nf);s=new a(v,"#"+t);s.$$parse(s.$$rewrite(h));o.on("click",function(t){var i,h,e;if(!t.ctrlKey&&!t.metaKey&&t.which!=2){for(i=u(t.target);l(i[0].nodeName)!=="a";)if(i[0]===o[0]||!(i=i.parent())[0])return;h=i.prop("href");e=s.$$rewrite(h);h&&!i.attr("target")&&e&&!t.isDefaultPrevented()&&(t.preventDefault(),e!=f.url()&&(s.$$parse(e),r.$apply(),n.angular["ff-684208-preventDefault"]=!0))}});s.absUrl()!=h&&f.url(s.absUrl(),!0);f.onUrlChange(function(n){if(s.absUrl()!=n){if(r.$broadcast("$locationChangeStart",n,s.absUrl()).defaultPrevented){f.url(s.absUrl());return}r.$evalAsync(function(){var t=s.absUrl();s.$$parse(n);y(t)});r.$$phase||r.$digest()}});return c=0,r.$watch(function(){var n=f.url(),t=s.$$replace;return c&&n==s.absUrl()||(c++,r.$evalAsync(function(){r.$broadcast("$locationChangeStart",s.absUrl(),n).defaultPrevented?s.$$parse(n):(f.url(s.absUrl(),t),y(n))})),s.$$replace=!1,c}),s}]}function tc(){var n=!0,t=this;this.debugEnabled=function(t){return f(t)?(n=t,this):n};this.$get=["$window",function(i){function f(n){return n instanceof Error&&(n.stack?n=n.message&&n.stack.indexOf(n.message)===-1?"Error: "+n.message+"\n"+n.stack:n.stack:n.sourceURL&&(n=n.message+"\n"+n.sourceURL+":"+n.line)),n}function u(n){var t=i.console||{},u=t[n]||t.log||o;return u.apply?function(){var n=[];return r(arguments,function(t){n.push(f(t))}),u.apply(t,n)}:function(n,t){u(n,t==null?"":t)}}return{log:u("log"),info:u("info"),warn:u("warn"),error:u("error"),debug:function(){var i=u("debug");return function(){n&&i.apply(t,arguments)}}()}}]}function vt(n,t){if(n==="constructor")throw at("isecfld",'Referencing "constructor" field in Angular expressions is disallowed! Expression: {0}',t);return n}function nr(n,t){if(n&&n.constructor===n)throw at("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);else if(n&&n.document&&n.location&&n.alert&&n.setInterval)throw at("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);else if(n&&(n.nodeName||n.on&&n.find))throw at("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);else return n}function ar(n,t,r,u,f){var s,e,h,o;for(f=f||{},s=t.split("."),h=0;s.length>1;h++)e=vt(s.shift(),u),o=n[e],o||(o={},n[e]=o),n=o,n.then&&f.unwrapPromises&&(ct(u),"$$v"in n||function(n){n.then(function(t){n.$$v=t})}(n),n.$$v===i&&(n.$$v={}),n=n.$$v);return e=vt(s.shift(),u),n[e]=r,r}function io(n,t,r,u,f,e,o){return vt(n,e),vt(t,e),vt(r,e),vt(u,e),vt(f,e),o.unwrapPromises?function(o,s){var h=s&&s.hasOwnProperty(n)?s:o,c;return h===null||h===i?h:(h=h[n],h&&h.then&&(ct(e),"$$v"in h||(c=h,c.$$v=i,c.then(function(n){c.$$v=n})),h=h.$$v),!t||h===null||h===i)?h:(h=h[t],h&&h.then&&(ct(e),"$$v"in h||(c=h,c.$$v=i,c.then(function(n){c.$$v=n})),h=h.$$v),!r||h===null||h===i)?h:(h=h[r],h&&h.then&&(ct(e),"$$v"in h||(c=h,c.$$v=i,c.then(function(n){c.$$v=n})),h=h.$$v),!u||h===null||h===i)?h:(h=h[u],h&&h.then&&(ct(e),"$$v"in h||(c=h,c.$$v=i,c.then(function(n){c.$$v=n})),h=h.$$v),!f||h===null||h===i)?h:(h=h[f],h&&h.then&&(ct(e),"$$v"in h||(c=h,c.$$v=i,c.then(function(n){c.$$v=n})),h=h.$$v),h)}:function(e,o){var s=o&&o.hasOwnProperty(n)?o:e;return s===null||s===i?s:(s=s[n],!t||s===null||s===i)?s:(s=s[t],!r||s===null||s===i)?s:(s=s[r],!u||s===null||s===i)?s:(s=s[u],!f||s===null||s===i)?s:s[f]}}function ro(n,t,u){var f,s,o,e,h;return uf.hasOwnProperty(n)?uf[n]:(f=n.split("."),s=f.length,t.csp?o=s<6?io(f[0],f[1],f[2],f[3],f[4],u,t):function(n,r){var e=0,o;do o=io(f[e++],f[e++],f[e++],f[e++],f[e++],u,t)(n,r),r=i,n=o;while(e<s);return o}:(e="var l, fn, p;\n",f.length>0&&!t.unwrapPromises?o=function(n,t){return rc(n,t,ct,f)}:(r(f,function(n,i){vt(n,u);e+="if(s === null || s === undefined) return s;\nl=s;\ns="+(i?"s":'((k&&k.hasOwnProperty("'+n+'"))?k:s)')+'["'+n+'"];\n'+(t.unwrapPromises?'if (s && s.then) {\n pw("'+u.replace(/(["\r\n])/g,"\\$1")+'");\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n':"")}),e+="return s;",h=new Function("s","k","pw",e),h.toString=function(){return e},o=function(n,t){return h(n,t,ct)})),n!=="hasOwnProperty",o)}function rc(n,t,i,r){for(var u=0;u<r.length;u++)n=u==0?uc(n,t,i,r[u]):fc(n,t,i,r[u]);return n}function uc(n,t,r,u){var f;return n===null||n===i?n:(f=n,(t&&t.hasOwnProperty(u)?t:n)[u])}function fc(n,t,r,u){var f;return n===null||n===i?n:(f=n,n[u])}function ec(){var t={},n={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(t){return f(t)?(n.unwrapPromises=!!t,this):n.unwrapPromises};this.logPromiseWarnings=function(t){return f(t)?(n.logPromiseWarnings=t,this):n.logPromiseWarnings};this.$get=["$filter","$sniffer","$log",function(i,r,u){return n.csp=r.csp,ct=function(t){n.logPromiseWarnings&&!tf.hasOwnProperty(t)&&(tf[t]=!0,u.warn("[$parse] Promise found in the expression `"+t+"`. Automatic unwrapping of promises in Angular expressions is deprecated."))},function(r){var u,f,e;switch(typeof r){case"string":return t.hasOwnProperty(r)?t[r]:(f=new rf(n),e=new ei(f,i,n),u=e.parse(r,!1),r!=="hasOwnProperty",u);case"function":return r;default:return o}}}]}function oc(){this.$get=["$rootScope","$exceptionHandler",function(n,t){return sc(function(t){n.$evalAsync(t)},t)}]}function sc(n,t){function e(n){return n}function h(n){return f(n)}function a(n){var i=u(),f=0,t=s(n)?[]:{};return r(n,function(n,r){f++;o(n).then(function(n){t.hasOwnProperty(r)||(t[r]=n,--f||i.resolve(t))},function(n){t.hasOwnProperty(r)||i.reject(n)})}),f===0&&i.resolve(t),i.promise}var u=function(){var r=[],s,l;return l={resolve:function(t){if(r){var u=r;r=i;s=o(t);u.length&&n(function(){for(var n,t=0,i=u.length;t<i;t++)n=u[t],s.then(n[0],n[1],n[2])})}},reject:function(n){l.resolve(f(n))},notify:function(t){if(r){var i=r;r.length&&n(function(){for(var r,n=0,u=i.length;n<u;n++)r=i[n],r[2](t)})}},promise:{then:function(n,i,f){var o=u(),l=function(i){try{o.resolve((c(n)?n:e)(i))}catch(r){o.reject(r);t(r)}},a=function(n){try{o.resolve((c(i)?i:h)(n))}catch(r){o.reject(r);t(r)}},v=function(n){try{o.notify((c(f)?f:e)(n))}catch(i){t(i)}};return r?r.push([l,a,v]):s.then(l,a,v),o.promise},"catch":function(n){return this.then(null,n)},"finally":function(n){function t(n,t){var i=u();return t?i.resolve(n):i.reject(n),i.promise}function i(i,r){var u=null;try{u=(n||e)()}catch(f){return t(f,!1)}return u&&c(u.then)?u.then(function(){return t(i,r)},function(n){return t(n,!1)}):t(i,r)}return this.then(function(n){return i(n,!0)},function(n){return i(n,!1)})}}}},o=function(t){return t&&c(t.then)?t:{then:function(i){var r=u();return n(function(){r.resolve(i(t))}),r.promise}}},f=function(i){return{then:function(r,f){var e=u();return n(function(){try{e.resolve((c(f)?f:h)(i))}catch(n){e.reject(n);t(n)}}),e.promise}}},l=function(i,r,s,l){var v=u(),a,w=function(n){try{return(c(r)?r:e)(n)}catch(i){return t(i),f(i)}},y=function(n){try{return(c(s)?s:h)(n)}catch(i){return t(i),f(i)}},p=function(n){try{return(c(l)?l:e)(n)}catch(i){t(i)}};return n(function(){o(i).then(function(n){a||(a=!0,v.resolve(o(n).then(w,y,p)))},function(n){a||(a=!0,v.resolve(y(n)))},function(n){a||v.notify(p(n))})}),v.promise};return{defer:u,reject:f,when:l,all:a}}function hc(){var n=10,t=v("$rootScope");this.digestTtl=function(t){return arguments.length&&(n=t),n};this.$get=["$injector","$exceptionHandler","$parse","$browser",function(i,r,u,f){function s(){this.$id=ur();this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null;this["this"]=this.$root=this;this.$$destroyed=!1;this.$$asyncQueue=[];this.$$postDigestQueue=[];this.$$listeners={};this.$$isolateBindings={}}function l(n){if(e.$$phase)throw t("inprog","{0} already in progress",e.$$phase);e.$$phase=n}function h(){e.$$phase=null}function a(n,t){var i=u(n);return vi(i,t),i}function v(){}s.prototype={constructor:s,$new:function(n){var i,t;return n?(t=new s,t.$root=this.$root,t.$$asyncQueue=this.$$asyncQueue,t.$$postDigestQueue=this.$$postDigestQueue):(i=function(){},i.prototype=this,t=new i,t.$id=ur()),t["this"]=t,t.$$listeners={},t.$parent=this,t.$$watchers=t.$$nextSibling=t.$$childHead=t.$$childTail=null,t.$$prevSibling=this.$$childTail,this.$$childHead?(this.$$childTail.$$nextSibling=t,this.$$childTail=t):this.$$childHead=this.$$childTail=t,t},$watch:function(n,t,i){var f=this,e=a(n,"watch"),u=f.$$watchers,r={fn:t,last:v,get:e,exp:n,eq:!!i},s,h;return c(t)||(s=a(t||o,"listener"),r.fn=function(n,t,i){s(i)}),typeof n=="string"&&e.constant&&(h=r.fn,r.fn=function(n,t,i){h.call(this,n,t,i);li(u,r)}),u||(u=f.$$watchers=[]),u.unshift(r),function(){li(u,r)}},$watchCollection:function(n,t){function l(){var t,n,u;if(r=c(o),p(r))if(gr(r))for(i!==s&&(i=s,e=i.length=0,f++),t=r.length,e!==t&&(f++,i.length=e=t),u=0;u<t;u++)i[u]!==r[u]&&(f++,i[u]=r[u]);else{i!==h&&(i=h={},e=0,f++);t=0;for(n in r)r.hasOwnProperty(n)&&(t++,i.hasOwnProperty(n)?i[n]!==r[n]&&(f++,i[n]=r[n]):(e++,i[n]=r[n],f++));if(e>t){f++;for(n in i)i.hasOwnProperty(n)&&!r.hasOwnProperty(n)&&(e--,delete i[n])}}else i!==r&&(i=r,f++);return f}function a(){t(r,i,o)}var o=this,i,r,f=0,c=u(n),s=[],h={},e=0;return this.$watch(l,a)},$digest:function(){var i,f,e,y,p=this.$$asyncQueue,it=this.$$postDigestQueue,w,o,b=n,k,u,d=this,s=[],a,g,nt;l("$digest");do{for(o=!1,u=d;p.length;)try{nt=p.shift();nt.scope.$eval(nt.expression)}catch(tt){r(tt)}do{if(y=u.$$watchers)for(w=y.length;w--;)try{i=y[w];!i||(f=i.get(u))===(e=i.last)||(i.eq?ri(f,e):typeof f=="number"&&typeof e=="number"&&isNaN(f)&&isNaN(e))||(o=!0,i.last=i.eq?rt(f):f,i.fn(f,e===v?f:e,u),b<5&&(a=4-b,s[a]||(s[a]=[]),g=c(i.exp)?"fn: "+(i.exp.name||i.exp.toString()):i.exp,g+="; newVal: "+et(f)+"; oldVal: "+et(e),s[a].push(g)))}catch(tt){r(tt)}if(!(k=u.$$childHead||u!==d&&u.$$nextSibling))while(u!==d&&!(k=u.$$nextSibling))u=u.$parent}while(u=k);if(o&&!b--){h();throw t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",n,et(s));}}while(o||p.length);for(h();it.length;)try{it.shift()()}catch(tt){r(tt)}},$destroy:function(){if(e!=this){var n=this.$parent;this.$broadcast("$destroy");n.$$childHead==this&&(n.$$childHead=this.$$nextSibling);n.$$childTail==this&&(n.$$childTail=this.$$prevSibling);this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling);this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling);this.$id=null;this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null;this["this"]=this.$root=null;this.$$asyncQueue=null;this.$$listeners=null}},$eval:function(n,t){return u(n)(this,t)},$evalAsync:function(n){e.$$phase||e.$$asyncQueue.length||f.defer(function(){e.$$asyncQueue.length&&e.$digest()});this.$$asyncQueue.push({scope:this,expression:n})},$$postDigest:function(n){this.$$postDigestQueue.push(n)},$apply:function(n){try{return l("$apply"),this.$eval(n)}catch(t){r(t)}finally{h();try{e.$digest()}catch(t){r(t);throw t;}}},$on:function(n,t){var i=this.$$listeners[n];return i||(this.$$listeners[n]=i=[]),i.push(t),function(){i[or(i,t)]=null}},$emit:function(n){var s=[],u,i=this,o=!1,f={name:n,targetScope:i,stopPropagation:function(){o=!0},preventDefault:function(){f.defaultPrevented=!0},defaultPrevented:!1},h=tu([f],arguments,1),t,e;do{for(u=i.$$listeners[n]||s,f.currentScope=i,t=0,e=u.length;t<e;t++){if(!u[t]){u.splice(t,1);t--;e--;continue}try{u[t].apply(null,h)}catch(c){r(c)}}if(o)return f;i=i.$parent}while(i);return f},$broadcast:function(n){var u=this,t=u,e=u,o={name:n,targetScope:u,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1},h=tu([o],arguments,1),f,i,s;do{for(t=e,o.currentScope=t,f=t.$$listeners[n]||[],i=0,s=f.length;i<s;i++){if(!f[i]){f.splice(i,1);i--;s--;continue}try{f[i].apply(null,h)}catch(c){r(c)}}if(!(e=t.$$childHead||t!==u&&t.$$nextSibling))while(t!==u&&!(e=t.$$nextSibling))t=t.$parent}while(t=e);return o}};var e=new s;return e}]}function cc(){var n=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*(https?|ftp|file):|data:image\//;this.aHrefSanitizationWhitelist=function(t){return f(t)?(n=t,this):n};this.imgSrcSanitizationWhitelist=function(n){return f(n)?(t=n,this):t};this.$get=function(){return function(i,r){var f=r?t:n,u;return(!y||y>=8)&&(u=gt(i).href,u!==""&&!u.match(f))?"unsafe:"+u:i}}}function lc(n){return n.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")}function ac(n){if(n==="self")return n;if(e(n)){if(n.indexOf("***")>-1)throw lt("iwcard","Illegal sequence *** in string matcher.  String: {0}",n);return n=lc(n).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+n+"$")}if(fr(n))return new RegExp("^"+n.source+"$");throw lt("imatcher",'Matchers may only be "self", string patterns or RegExp objects');}function uo(n){var t=[];return f(n)&&r(n,function(n){t.push(ac(n))}),t}function vc(){this.SCE_CONTEXTS=tt;var n=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(n=uo(t)),n};this.resourceUrlBlacklist=function(n){return arguments.length&&(t=uo(n)),t};this.$get=["$injector",function(r){function s(n,t){return n==="self"?fo(t):!!n.exec(t.href)}function h(i){for(var e=gt(i.toString()),f=!1,r=0,u=n.length;r<u;r++)if(s(n[r],e)){f=!0;break}if(f)for(r=0,u=t.length;r<u;r++)if(s(t[r],e)){f=!1;break}return f}function f(n){var t=function(n){this.$$unwrapTrustedValue=function(){return n}};return n&&(t.prototype=new n),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function c(n,t){var r=u.hasOwnProperty(n)?u[n]:null;if(!r)throw lt("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",n,t);if(t===null||t===i||t==="")return t;if(typeof t!="string")throw lt("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",n);return new r(t)}function l(n){return n instanceof e?n.$$unwrapTrustedValue():n}function a(n,t){if(t===null||t===i||t==="")return t;var r=u.hasOwnProperty(n)?u[n]:null;if(r&&t instanceof r)return t.$$unwrapTrustedValue();if(n===tt.RESOURCE_URL){if(h(t))return t;throw lt("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",t.toString());}else if(n===tt.HTML)return o(t);throw lt("unsafe","Attempting to use an unsafe value in a safe context.");}var o=function(){throw lt("unsafe","Attempting to use an unsafe value in a safe context.");},e,u;return r.has("$sanitize")&&(o=r.get("$sanitize")),e=f(),u={},u[tt.HTML]=f(e),u[tt.CSS]=f(e),u[tt.URL]=f(e),u[tt.JS]=f(e),u[tt.RESOURCE_URL]=f(u[tt.URL]),{trustAs:c,getTrusted:a,valueOf:l}}]}function yc(){var n=!0;this.enabled=function(t){return arguments.length&&(n=!!t),n};this.$get=["$parse","$sniffer","$sceDelegate",function(t,i,u){var f;if(n&&i.msie&&i.msieDocumentMode<8)throw lt("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");f=rt(tt);f.isEnabled=function(){return n};f.trustAs=u.trustAs;f.getTrusted=u.getTrusted;f.valueOf=u.valueOf;n||(f.trustAs=f.getTrusted=function(n,t){return t},f.valueOf=ti);f.parseAs=function(n,i){var r=t(i);return r.literal&&r.constant?r:function(t,i){return f.getTrusted(n,r(t,i))}};var e=f.parseAs,o=f.getTrusted,s=f.trustAs;return r(tt,function(n,t){var i=l(t);f[pi("parse_as_"+i)]=function(t){return e(n,t)};f[pi("get_trusted_"+i)]=function(t){return o(n,t)};f[pi("trust_as_"+i)]=function(t){return s(n,t)}}),f}]}function pc(){this.$get=["$window","$document",function(n,t){var s={},a=k((/android (\d+)/.exec(l((n.navigator||{}).userAgent))||[])[1]),w=/Boxee/i.test((n.navigator||{}).userAgent),u=t[0]||{},c=u.documentMode,i,r=u.body&&u.body.style,f=!1,o=!1,v,p;if(r){for(p in r)if(v=/^(Moz|webkit|O|ms)(?=[A-Z])/.exec(p)){i=v[0];i=i.substr(0,1).toUpperCase()+i.substr(1);break}i||(i="WebkitOpacity"in r&&"webkit");f=!!("transition"in r||i+"Transition"in r);o=!!("animation"in r||i+"Animation"in r);!a||f&&o||(f=e(u.body.style.webkitTransition),o=e(u.body.style.webkitAnimation))}return{history:!!(n.history&&n.history.pushState&&!(a<4)&&!w),hashchange:"onhashchange"in n&&(!c||c>7),hasEvent:function(n){if(n=="input"&&y==9)return!1;if(h(s[n])){var t=u.createElement("div");s[n]="on"+n in t}return s[n]},csp:vf(),vendorPrefix:i,transitions:f,animations:o,msie:y,msieDocumentMode:c}}]}function wc(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(n,t,i,r){function e(e,o,s){var h=i.defer(),c=h.promise,a=f(s)&&!s,l;return l=t.defer(function(){try{h.resolve(e())}catch(t){h.reject(t);r(t)}finally{delete u[c.$$timeoutId]}a||n.$apply()},o),c.$$timeoutId=l,u[l]=h,c}var u={};return e.cancel=function(n){return n&&n.$$timeoutId in u?(u[n.$$timeoutId].reject("canceled"),delete u[n.$$timeoutId],t.defer.cancel(n.$$timeoutId)):!1},e}]}function gt(n){var t=n;return y&&(b.setAttribute("href",t),t=b.href),b.setAttribute("href",t),{href:b.href,protocol:b.protocol?b.protocol.replace(/:$/,""):"",host:b.host,search:b.search?b.search.replace(/^\?/,""):"",hash:b.hash?b.hash.replace(/^#/,""):"",hostname:b.hostname,port:b.port,pathname:b.pathname.charAt(0)==="/"?b.pathname:"/"+b.pathname}}function fo(n){var t=e(n)?gt(n):n;return t.protocol===ff.protocol&&t.host===ff.host}function bc(){this.$get=nt(n)}function eo(n){function t(u,f){if(p(u)){var e={};return r(u,function(n,i){e[i]=t(i,n)}),e}return n.factory(u+i,f)}var i="Filter";this.register=t;this.$get=["$injector",function(n){return function(t){return n.get(t+i)}}];t("currency",oo);t("date",co);t("filter",kc);t("json",rl);t("limitTo",ul);t("lowercase",lo);t("number",so);t("orderBy",vo);t("uppercase",ao)}function kc(){return function(n,t,i){var o,r,u,f,h,e,c;if(!s(n))return n;o=typeof i;r=[];r.check=function(n){for(var t=0;t<r.length;t++)if(!r[t](n))return!1;return!0};o!=="function"&&(i=o==="boolean"&&i?function(n,t){return rr.equals(n,t)}:function(n,t){return t=(""+t).toLowerCase(),(""+n).toLowerCase().indexOf(t)>-1});u=function(n,t){var f,r;if(typeof t=="string"&&t.charAt(0)==="!")return!u(n,t.substr(1));switch(typeof n){case"boolean":case"number":case"string":return i(n,t);case"object":switch(typeof t){case"object":return i(n,t);default:for(f in n)if(f.charAt(0)!=="$"&&u(n[f],t))return!0}return!1;case"array":for(r=0;r<n.length;r++)if(u(n[r],t))return!0;return!1;default:return!1}};switch(typeof t){case"boolean":case"number":case"string":t={$:t};case"object":for(f in t)f=="$"?function(){if(t[f]){var n=f;r.push(function(i){return u(i,t[n])})}}():function(){if(typeof t[f]!="undefined"){var n=f;r.push(function(i){return u(eu(i,n),t[n])})}}();break;case"function":r.push(t);break;default:return n}for(h=[],e=0;e<n.length;e++)c=n[e],r.check(c)&&h.push(c);return h}}function oo(n){var t=n.NUMBER_FORMATS;return function(n,i){return h(i)&&(i=t.CURRENCY_SYM),ho(n,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,2).replace(/\u00A4/g,i)}}function so(n){var t=n.NUMBER_FORMATS;return function(n,i){return ho(n,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,i)}}function ho(n,t,i,r,u){var y,a,k,p,o,s;if(isNaN(n)||!isFinite(n))return"";y=n<0;n=Math.abs(n);var c=n+"",e="",l=[],b=!1;if(c.indexOf("e")!==-1&&(a=c.match(/([\d\.]+)e(-?)(\d+)/),a&&a[2]=="-"&&a[3]>u+1?c="0":(e=c,b=!0)),b)u>0&&n>-1&&n<1&&(e=n.toFixed(u));else{k=(c.split(ef)[1]||"").length;h(u)&&(u=Math.min(Math.max(t.minFrac,k),t.maxFrac));p=Math.pow(10,u);n=Math.round(n*p)/p;o=(""+n).split(ef);s=o[0];o=o[1]||"";var f,v=0,w=t.lgSize,d=t.gSize;if(s.length>=w+d)for(v=s.length-w,f=0;f<v;f++)(v-f)%d==0&&f!==0&&(e+=i),e+=s.charAt(f);for(f=v;f<s.length;f++)(s.length-f)%w==0&&f!==0&&(e+=i),e+=s.charAt(f);while(o.length<u)o+="0";u&&u!=="0"&&(e+=r+o.substr(0,u))}return l.push(y?t.negPre:t.posPre),l.push(e),l.push(y?t.negSuf:t.posSuf),l.join("")}function of(n,t,i){var r="";for(n<0&&(r="-",n=-n),n=""+n;n.length<t;)n="0"+n;return i&&(n=n.substr(n.length-t)),r+n}function d(n,t,i,r){return i=i||0,function(u){var f=u["get"+n]();return(i>0||f>-i)&&(f+=i),f===0&&i==-12&&(f=12),of(f,t,r)}}function vr(n,t){return function(i,r){var u=i["get"+n](),f=pt(t?"SHORT"+n:n);return r[f][u]}}function dc(n){var t=-1*n.getTimezoneOffset(),i=t>=0?"+":"";return i+(of(Math[t>0?"floor":"ceil"](t/60),2)+of(Math.abs(t%60),2))}function gc(n,t){return n.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function co(n){function i(n){var i;if(i=n.match(t)){var r=new Date(0),u=0,f=0,e=i[8]?r.setUTCFullYear:r.setFullYear,o=i[8]?r.setUTCHours:r.setHours;i[9]&&(u=k(i[9]+i[10]),f=k(i[9]+i[11]));e.call(r,k(i[1]),k(i[2])-1,k(i[3]));var s=k(i[4]||0)-u,h=k(i[5]||0)-f,c=k(i[6]||0),l=Math.round(parseFloat("0."+(i[7]||0))*1e3);return o.call(r,s,h,c,l),r}return n}var t=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(t,u){var h="",f=[],o,s;if(u=u||"mediumDate",u=n.DATETIME_FORMATS[u]||u,e(t)&&(t=il.test(t)?k(t):i(t)),nu(t)&&(t=new Date(t)),!ci(t))return t;while(u)s=tl.exec(u),s?(f=tu(f,s,1),u=f.pop()):(f.push(u),u=null);return r(f,function(i){o=nl[i];h+=o?o(t,n.DATETIME_FORMATS):i.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}}function rl(){return function(n){return et(n,!0)}}function ul(){return function(n,t){if(!s(n)&&!e(n))return n;if(t=k(t),e(n))return t?t>=0?n.slice(0,t):n.slice(t,n.length):"";var u=[],i,r;for(t>n.length?t=n.length:t<-n.length&&(t=-n.length),t>0?(i=0,r=t):(i=n.length+t,r=n.length);i<r;i++)u.push(n[i]);return u}}function vo(n){return function(t,i,r){function h(n,t){for(var u,r=0;r<i.length;r++)if(u=i[r](n,t),u!==0)return u;return 0}function o(n,t){return ai(t)?function(t,i){return n(i,t)}:n}function c(n,t){var i=typeof n,r=typeof t;return i==r?(i=="string"&&(n=n.toLowerCase(),t=t.toLowerCase()),n===t)?0:n<t?-1:1:i<r?-1:1}var f,u;if(!s(t)||!i)return t;for(i=s(i)?i:[i],i=os(i,function(t){var r=!1,i=t||ti;return e(t)&&((t.charAt(0)=="+"||t.charAt(0)=="-")&&(r=t.charAt(0)=="-",t=t.substring(1)),i=n(t)),o(function(n,t){return c(i(n),i(t))},r)}),f=[],u=0;u<t.length;u++)f.push(t[u]);return f.sort(o(h,r))}}function yt(n){return c(n)&&(n={link:n}),n.restrict=n.restrict||"AC",nt(n)}function po(n,t){function u(t,i){i=i?"-"+sr(i,"-"):"";n.removeClass((t?br:wr)+i).addClass((t?wr:br)+i)}var i=this,f=n.parent().controller("form")||tr,e=0,o=i.$error={},s=[];i.$name=t.name||t.ngForm;i.$dirty=!1;i.$pristine=!0;i.$valid=!0;i.$invalid=!1;f.$addControl(i);n.addClass(oi);u(!0);i.$addControl=function(n){kt(n.$name,"input");s.push(n);n.$name&&(i[n.$name]=n)};i.$removeControl=function(n){n.$name&&i[n.$name]===n&&delete i[n.$name];r(o,function(t,r){i.$setValidity(r,!0,n)});li(s,n)};i.$setValidity=function(n,t,r){var s=o[n];if(t)s&&(li(s,r),s.length||(e--,e||(u(t),i.$valid=!0,i.$invalid=!1),o[n]=!1,u(!0,n),f.$setValidity(n,!0,i)));else{if(e||u(t),s){if(ss(s,r))return}else o[n]=s=[],e++,u(!1,n),f.$setValidity(n,!1,i);s.push(r);i.$valid=!1;i.$invalid=!0}};i.$setDirty=function(){n.removeClass(oi).addClass(kr);i.$dirty=!0;i.$pristine=!1;f.$setDirty()};i.$setPristine=function(){n.removeClass(kr).addClass(oi);i.$dirty=!1;i.$pristine=!0;r(s,function(n){n.$setPristine()})}}function pr(n,t,r,u,f,e){var l=!1,s,a,y,o,h,c,p,d,w,nt,b;t.on("compositionstart",function(){l=!0});t.on("compositionend",function(){l=!1});if(s=function(){if(!l){var i=t.val();ai(r.ngTrim||"T")&&(i=g(i));u.$viewValue!==i&&n.$apply(function(){u.$setViewValue(i)})}},f.hasEvent("input"))t.on("input",s);else{y=function(){a||(a=e.defer(function(){s();a=null}))};t.on("keydown",function(n){var t=n.keyCode;t===91||15<t&&t<19||37<=t&&t<=40||y()});if(f.hasEvent("paste"))t.on("paste cut",y)}t.on("change",s);u.$render=function(){t.val(u.$isEmpty(u.$viewValue)?"":u.$viewValue)};o=r.ngPattern;p=function(n,t){return u.$isEmpty(t)||n.test(t)?(u.$setValidity("pattern",!0),t):(u.$setValidity("pattern",!1),i)};o&&(c=o.match(/^\/(.*)\/([gim]*)$/),c?(o=new RegExp(c[1],c[2]),h=function(n){return p(o,n)}):h=function(i){var r=n.$eval(o);if(!r||!r.test)throw v("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",o,r,ut(t));return p(r,i)},u.$formatters.push(h),u.$parsers.push(h));r.ngMinlength&&(d=k(r.ngMinlength),w=function(n){return!u.$isEmpty(n)&&n.length<d?(u.$setValidity("minlength",!1),i):(u.$setValidity("minlength",!0),n)},u.$parsers.push(w),u.$formatters.push(w));r.ngMaxlength&&(nt=k(r.ngMaxlength),b=function(n){return!u.$isEmpty(n)&&n.length>nt?(u.$setValidity("maxlength",!1),i):(u.$setValidity("maxlength",!0),n)},u.$parsers.push(b),u.$formatters.push(b))}function cl(n,t,r,u,f,e){var o,s;pr(n,t,r,u,f,e);u.$parsers.push(function(n){var t=u.$isEmpty(n);return t||hl.test(n)?(u.$setValidity("number",!0),n===""?null:t?n:parseFloat(n)):(u.$setValidity("number",!1),i)});u.$formatters.push(function(n){return u.$isEmpty(n)?"":""+n});r.min&&(o=function(n){var t=parseFloat(r.min);return!u.$isEmpty(n)&&n<t?(u.$setValidity("min",!1),i):(u.$setValidity("min",!0),n)},u.$parsers.push(o),u.$formatters.push(o));r.max&&(s=function(n){var t=parseFloat(r.max);return!u.$isEmpty(n)&&n>t?(u.$setValidity("max",!1),i):(u.$setValidity("max",!0),n)},u.$parsers.push(s),u.$formatters.push(s));u.$formatters.push(function(n){return u.$isEmpty(n)||nu(n)?(u.$setValidity("number",!0),n):(u.$setValidity("number",!1),i)})}function ll(n,t,r,u,f,e){pr(n,t,r,u,f,e);var o=function(n){return u.$isEmpty(n)||ol.test(n)?(u.$setValidity("url",!0),n):(u.$setValidity("url",!1),i)};u.$formatters.push(o);u.$parsers.push(o)}function al(n,t,r,u,f,e){pr(n,t,r,u,f,e);var o=function(n){return u.$isEmpty(n)||sl.test(n)?(u.$setValidity("email",!0),n):(u.$setValidity("email",!1),i)};u.$formatters.push(o);u.$parsers.push(o)}function vl(n,t,i,r){h(i.name)&&t.attr("name",ur());t.on("click",function(){t[0].checked&&n.$apply(function(){r.$setViewValue(i.value)})});r.$render=function(){var n=i.value;t[0].checked=n==r.$viewValue};i.$observe("value",r.$render)}function yl(n,t,i,r){var u=i.ngTrueValue,f=i.ngFalseValue;e(u)||(u=!0);e(f)||(f=!1);t.on("click",function(){n.$apply(function(){r.$setViewValue(t[0].checked)})});r.$render=function(){t[0].checked=r.$viewValue};r.$isEmpty=function(n){return n!==u};r.$formatters.push(function(n){return n===u});r.$parsers.push(function(n){return n?u:f})}function sf(n,t){return n="ngClass"+n,function(){return{restrict:"AC",link:function(i,u,f){function a(n){if(t===!0||i.$index%2===t){var r=h(n||"");e?ri(n,e)||f.$updateClass(r,h(e)):f.$addClass(r)}e=rt(n)}function h(n){if(s(n))return n.join(" ");if(p(n)){var t=[];return r(n,function(n,i){n&&t.push(i)}),t.join(" ")}return n}var e,c=i.$on("$destroy",function(){c();c=null;l();l=null;o!=null&&(o(),o=null);u.remove();u=null;f=null;i=null}),o=null,l=i.$watch(f[n],a,!0);f.$observe("class",function(){a(i.$eval(f[n]))});n!=="ngClass"&&(o=i.$watch("$index",function(r,u){var o=r&1,e;o!==u&1&&(e=h(i.$eval(f[n])),o===t?f.$addClass(e):f.$removeClass(e))}))}}}}var l=function(n){return e(n)?n.toLowerCase():n},pt=function(n){return e(n)?n.toUpperCase():n},ts=function(n){return e(n)?n.replace(/[A-Z]/g,function(n){return String.fromCharCode(n.charCodeAt(0)|32)}):n},is=function(n){return e(n)?n.replace(/[a-z]/g,function(n){return String.fromCharCode(n.charCodeAt(0)&-33)}):n},g,df,gf,dt,bi,wu,se,he,it,le,we,ku,at,tf,ct,ei,uf,lt,tt,b,ff,ef,lo,ao,yo,yr,tr;"i"!=="I".toLowerCase()&&(l=ts,pt=is);var y,u,wt,dr=[].slice,rs=[].push,ir=Object.prototype.toString,si=v("ng"),ev=n.angular,rr=n.angular||(n.angular={}),hi,ni,ft=["0","0","0"];y=k((/msie (\d+)/.exec(l(navigator.userAgent))||[])[1]);isNaN(y)&&(y=k((/trident\/.*; rv:(\d+)/.exec(l(navigator.userAgent))||[])[1]));o.$inject=[];ti.$inject=[];g=function(){return String.prototype.trim?function(n){return e(n)?n.trim():n}:function(n){return e(n)?n.replace(/^\s\s*/,"").replace(/\s\s*$/,""):n}}();ni=y<9?function(n){return n=n.nodeName?n:n[0],n.scopeName&&n.scopeName!="HTML"?pt(n.scopeName+":"+n.nodeName):n.nodeName}:function(n){return n.nodeName?n.nodeName:n[0].nodeName};df=/[A-Z]/g;gf={full:"1.2.3",major:1,minor:2,dot:3,codeName:"unicorn-zapper"};var yi=w.cache={},hr=w.expando="ng-"+(new Date).getTime(),ps=1,ne=n.document.addEventListener?function(n,t,i){n.addEventListener(t,i,!1)}:function(n,t,i){n.attachEvent("on"+t,i)},su=n.document.removeEventListener?function(n,t,i){n.removeEventListener(t,i,!1)}:function(n,t,i){n.detachEvent("on"+t,i)};var bs=/([\:\-\_]+(.))/g,ks=/^moz([A-Z])/,hu=v("jqLite");dt=w.prototype={ready:function(i){function r(){u||(u=!0,i())}var u=!1;if(t.readyState==="complete")setTimeout(r);else{this.on("DOMContentLoaded",r);w(n).on("load",r)}},toString:function(){var n=[];return r(this,function(t){n.push(""+t)}),"["+n.join(", ")+"]"},eq:function(n){return n>=0?u(this[n]):u(this[this.length+n])},length:0,push:rs,sort:[].sort,splice:[].splice};bi={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(n){bi[l(n)]=n});wu={};r("input,select,option,textarea,button,form,details".split(","),function(n){wu[pt(n)]=!0});r({data:re,inheritedData:cr,scope:function(n){return u(n).data("$scope")||cr(n.parentNode||n,["$isolateScope","$scope"])},isolateScope:function(n){return u(n).data("$isolateScope")||u(n).data("$isolateScopeNoTemplate")},controller:ue,injector:function(n){return cr(n,"$injector")},removeAttr:function(n,t){n.removeAttribute(t)},hasClass:au,css:function(n,t,r){if(t=pi(t),f(r))n.style[t]=r;else{var u;return y<=8&&(u=n.currentStyle&&n.currentStyle[t],u===""&&(u="auto")),u=u||n.style[t],y<=8&&(u=u===""?i:u),u}},attr:function(n,t,r){var u=l(t),e;if(bi[u])if(f(r))r?(n[t]=!0,n.setAttribute(t,u)):(n[t]=!1,n.removeAttribute(u));else return n[t]||(n.attributes.getNamedItem(t)||o).specified?u:i;else if(f(r))n.setAttribute(t,r);else if(n.getAttribute)return e=n.getAttribute(t,2),e===null?i:e},prop:function(n,t,i){if(f(i))n[t]=i;else return n[t]},text:function(){function t(t,i){var r=n[t.nodeType];if(h(i))return r?t[r]:"";t[r]=i}var n=[];return y<9?(n[1]="innerText",n[3]="nodeValue"):n[1]=n[3]="textContent",t.$dv="",t}(),val:function(n,t){if(h(t)){if(ni(n)==="SELECT"&&n.multiple){var i=[];return r(n.options,function(n){n.selected&&i.push(n.value||n.text)}),i.length===0?null:i}return n.value}n.value=t},html:function(n,t){if(h(t))return n.innerHTML;for(var i=0,r=n.childNodes;i<r.length;i++)wi(r[i]);n.innerHTML=t}},function(n,t){w.prototype[t]=function(t,r){var u,o,f,h,e,s;if((n.length==2&&n!==au&&n!==ue?t:r)===i){if(p(t)){for(u=0;u<this.length;u++)if(n===re)n(this[u],t);else for(o in t)n(this[u],o,t[o]);return this}for(f=n.$dv,h=f===i?Math.min(this.length,1):this.length,e=0;e<h;e++)s=n(this[e],t,r),f=f?f+s:s;return f}for(u=0;u<this.length;u++)n(this[u],t,r);return this}});r({removeData:ie,dealoc:wi,on:function gs(n,i,u,e){if(f(e))throw hu("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");var o=ot(n,"events"),s=ot(n,"handle");o||ot(n,"events",o={});s||ot(n,"handle",s=ds(n,o));r(i.split(" "),function(i){var r=o[i],f,e;r||(i=="mouseenter"||i=="mouseleave"?(f=t.body.contains||t.body.compareDocumentPosition?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&(r.contains?r.contains(i):n.compareDocumentPosition&&n.compareDocumentPosition(i)&16))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},o[i]=[],e={mouseleave:"mouseout",mouseenter:"mouseover"},gs(n,e[i],function(n){var r=this,t=n.relatedTarget;t&&(t===r||f(r,t))||s(n,i)})):(ne(n,i,s),o[i]=[]),r=o[i]);r.push(u)})},off:te,replaceWith:function(n,t){var i,u=n.parentNode;wi(n);r(new w(t),function(t){i?u.insertBefore(t,i.nextSibling):u.replaceChild(t,n);i=t})},children:function(n){var t=[];return r(n.childNodes,function(n){n.nodeType===1&&t.push(n)}),t},contents:function(n){return n.childNodes||[]},append:function(n,t){r(new w(t),function(t){(n.nodeType===1||n.nodeType===11)&&n.appendChild(t)})},prepend:function(n,t){if(n.nodeType===1){var i=n.firstChild;r(new w(t),function(t){n.insertBefore(t,i)})}},wrap:function(n,t){t=u(t)[0];var i=n.parentNode;i&&i.replaceChild(t,n);t.appendChild(n)},remove:function(n){wi(n);var t=n.parentNode;t&&t.removeChild(n)},after:function(n,t){var i=n,u=n.parentNode;r(new w(t),function(n){u.insertBefore(n,i.nextSibling);i=n})},addClass:yu,removeClass:vu,toggleClass:function(n,t,i){h(i)&&(i=!au(n,t));(i?yu:vu)(n,t)},parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},next:function(n){if(n.nextElementSibling)return n.nextElementSibling;for(var t=n.nextSibling;t!=null&&t.nodeType!==1;)t=t.nextSibling;return t},find:function(n,t){return n.getElementsByTagName(t)},clone:lu,triggerHandler:function(n,t,i){var f=(ot(n,"events")||{})[t],u;i=i||[];u=[{preventDefault:o,stopPropagation:o}];r(f,function(t){t.apply(n,u.concat(i))})}},function(n,t){w.prototype[t]=function(t,i,r){for(var e,o=0;o<this.length;o++)h(e)?(e=n(this[o],t,i,r),f(e)&&(e=u(e))):pu(e,n(this[o],t,i,r));return f(e)?e:this};w.prototype.bind=w.prototype.on;w.prototype.unbind=w.prototype.off});ki.prototype={put:function(n,t){this[ui(n)]=t},get:function(n){return this[ui(n)]},remove:function(n){var t=this[n=ui(n)];return delete this[n],t}};var nh=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,th=/,/,ih=/^\s*(_?)(\S+?)\1\s*$/,rh=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,di=v("$injector");se=v("$animate");he=["$provide",function(n){this.$$selectors={};this.register=function(t,i){var r=t+"-animation";if(t&&t.charAt(0)!=".")throw se("notcsel","Expecting class selector starting with '.' got '{0}'.",t);this.$$selectors[t.substr(1)]=r;n.factory(r,i)};this.$get=["$timeout",function(n){return{enter:function(t,i,r,u){r?r.after(t):(i&&i[0]||(i=r.parent()),i.append(t));u&&n(u,0,!1)},leave:function(t,i){t.remove();i&&n(i,0,!1)},move:function(n,t,i,r){this.enter(n,t,i,r)},addClass:function(t,i,u){i=e(i)?i:s(i)?i.join(" "):"";r(t,function(n){yu(n,i)});u&&n(u,0,!1)},removeClass:function(t,i,u){i=e(i)?i:s(i)?i.join(" "):"";r(t,function(n){vu(n,i)});u&&n(u,0,!1)},enabled:o}}]}];it=v("$compile");ce.$inject=["$provide","$$sanitizeUriProvider"];le=/^(x[\:\-_]|data[\:\-_])/i;we=n.XMLHttpRequest||function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(n){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(i){}throw v("$httpBackend")("noxhr","This browser does not support XMLHttpRequest.");};ku=v("$interpolate");var kh=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,dh={http:80,https:443,ftp:21},du=v("$location");no.prototype=nf.prototype=ge.prototype={$$html5:!1,$$replace:!1,absUrl:lr("$$absUrl"),url:function(n,t){if(h(n))return this.$$url;var i=kh.exec(n);return i[1]&&this.path(decodeURIComponent(i[1])),(i[2]||i[1])&&this.search(i[3]||""),this.hash(i[5]||"",t),this},protocol:lr("$$protocol"),host:lr("$$host"),port:lr("$$port"),path:to("$$path",function(n){return n.charAt(0)=="/"?n:"/"+n}),search:function(n,t){switch(arguments.length){case 0:return this.$$search;case 1:if(e(n))this.$$search=wf(n);else if(p(n))this.$$search=n;else throw du("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");break;default:h(t)||t===null?delete this.$$search[n]:this.$$search[n]=t}return this.$$compose(),this},hash:to("$$hash",ti),replace:function(){return this.$$replace=!0,this}};at=v("$parse");tf={};var fi={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:o,"+":function(n,t,r,u){return(r=r(n,t),u=u(n,t),f(r))?f(u)?r+u:r:f(u)?u:i},"-":function(n,t,i,r){return i=i(n,t),r=r(n,t),(f(i)?i:0)-(f(r)?r:0)},"*":function(n,t,i,r){return i(n,t)*r(n,t)},"/":function(n,t,i,r){return i(n,t)/r(n,t)},"%":function(n,t,i,r){return i(n,t)%r(n,t)},"^":function(n,t,i,r){return i(n,t)^r(n,t)},"=":o,"===":function(n,t,i,r){return i(n,t)===r(n,t)},"!==":function(n,t,i,r){return i(n,t)!==r(n,t)},"==":function(n,t,i,r){return i(n,t)==r(n,t)},"!=":function(n,t,i,r){return i(n,t)!=r(n,t)},"<":function(n,t,i,r){return i(n,t)<r(n,t)},">":function(n,t,i,r){return i(n,t)>r(n,t)},"<=":function(n,t,i,r){return i(n,t)<=r(n,t)},">=":function(n,t,i,r){return i(n,t)>=r(n,t)},"&&":function(n,t,i,r){return i(n,t)&&r(n,t)},"||":function(n,t,i,r){return i(n,t)||r(n,t)},"&":function(n,t,i,r){return i(n,t)&r(n,t)},"|":function(n,t,i,r){return r(n,t)(n,t,i(n,t))},"!":function(n,t,i){return!i(n,t)}},ic={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},rf=function(n){this.options=n};rf.prototype={constructor:rf,lex:function(n){var r,t;for(this.text=n,this.index=0,this.ch=i,this.lastCh=":",this.tokens=[],t=[];this.index<this.text.length;){if(this.ch=this.text.charAt(this.index),this.is("\"'"))this.readString(this.ch);else if(this.isNumber(this.ch)||this.is(".")&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(this.ch))this.readIdent(),this.was("{,")&&t[0]==="{"&&(r=this.tokens[this.tokens.length-1])&&(r.json=r.text.indexOf(".")===-1);else if(this.is("(){}[].,;:?"))this.tokens.push({index:this.index,text:this.ch,json:this.was(":[,")&&this.is("{[")||this.is("}]:,")}),this.is("{[")&&t.unshift(this.ch),this.is("}]")&&t.shift(),this.index++;else if(this.isWhitespace(this.ch)){this.index++;continue}else{var u=this.ch+this.peek(),f=u+this.peek(2),e=fi[this.ch],o=fi[u],s=fi[f];s?(this.tokens.push({index:this.index,text:f,fn:s}),this.index+=3):o?(this.tokens.push({index:this.index,text:u,fn:o}),this.index+=2):e?(this.tokens.push({index:this.index,text:this.ch,fn:e,json:this.was("[,:")&&this.is("+-")}),this.index+=1):this.throwError("Unexpected next character ",this.index,this.index+1)}this.lastCh=this.ch}return this.tokens},is:function(n){return n.indexOf(this.ch)!==-1},was:function(n){return n.indexOf(this.lastCh)!==-1},peek:function(n){var t=n||1;return this.index+t<this.text.length?this.text.charAt(this.index+t):!1},isNumber:function(n){return"0"<=n&&n<="9"},isWhitespace:function(n){return n===" "||n==="\r"||n==="\t"||n==="\n"||n==='\v'||n===" "},isIdent:function(n){return"a"<=n&&n<="z"||"A"<=n&&n<="Z"||"_"===n||n==="$"},isExpOperator:function(n){return n==="-"||n==="+"||this.isNumber(n)},throwError:function(n,t,i){i=i||this.index;var r=f(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,i)+"]":" "+i;throw at("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",n,r,this.text);},readNumber:function(){for(var n="",r=this.index,t,i;this.index<this.text.length;){if(t=l(this.text.charAt(this.index)),t=="."||this.isNumber(t))n+=t;else if(i=this.peek(),t=="e"&&this.isExpOperator(i))n+=t;else if(this.isExpOperator(t)&&i&&this.isNumber(i)&&n.charAt(n.length-1)=="e")n+=t;else if(!this.isExpOperator(t)||i&&this.isNumber(i)||n.charAt(n.length-1)!="e")break;else this.throwError("Invalid exponent");this.index++}n=1*n;this.tokens.push({index:r,text:n,json:!0,fn:function(){return n}})},readIdent:function(){for(var o=this,n="",f=this.index,i,r,e,t,u,s;this.index<this.text.length;){if(t=this.text.charAt(this.index),t==="."||this.isIdent(t)||this.isNumber(t))t==="."&&(i=this.index),n+=t;else break;this.index++}if(i)for(r=this.index;r<this.text.length;){if(t=this.text.charAt(r),t==="("){e=n.substr(i-f+1);n=n.substr(0,i-f);this.index=r;break}if(this.isWhitespace(t))r++;else break}u={index:f,text:n};fi.hasOwnProperty(n)?(u.fn=fi[n],u.json=fi[n]):(s=ro(n,this.options,this.text),u.fn=a(function(n,t){return s(n,t)},{assign:function(t,i){return ar(t,n,i,o.text,o.options)}}));this.tokens.push(u);e&&(this.tokens.push({index:i,text:".",json:!1}),this.tokens.push({index:i+1,text:e,json:!1}))},readString:function(n){var e=this.index,t,r,f;this.index++;for(var i="",o=n,u=!1;this.index<this.text.length;){if(t=this.text.charAt(this.index),o+=t,u)t==="u"?(r=this.text.substring(this.index+1,this.index+5),r.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+r+"]"),this.index+=4,i+=String.fromCharCode(parseInt(r,16))):(f=ic[t],i+=f?f:t),u=!1;else if(t==="\\")u=!0;else{if(t===n){this.index++;this.tokens.push({index:e,text:o,string:i,json:!0,fn:function(){return i}});return}i+=t}this.index++}this.throwError("Unterminated quote",e)}};ei=function(n,t,i){this.lexer=n;this.$filter=t;this.options=i};ei.ZERO=function(){return 0};ei.prototype={constructor:ei,parse:function(n,t){this.text=n;this.json=t;this.tokens=this.lexer.lex(n);t&&(this.assignment=this.logicalOR,this.functionCall=this.fieldAccess=this.objectIndex=this.filterChain=function(){this.throwError("is not valid json",{text:n,index:0})});var i=t?this.primary():this.statements();return this.tokens.length!==0&&this.throwError("is an unexpected token",this.tokens[0]),i.literal=!!i.literal,i.constant=!!i.constant,i},primary:function(){var n,t,i,r;for(this.expect("(")?(n=this.filterChain(),this.consume(")")):this.expect("[")?n=this.arrayDeclaration():this.expect("{")?n=this.object():(t=this.expect(),n=t.fn,n||this.throwError("not a primary expression",t),t.json&&(n.constant=!0,n.literal=!0));i=this.expect("(","[",".");)i.text==="("?(n=this.functionCall(n,r),r=null):i.text==="["?(r=n,n=this.objectIndex(n)):i.text==="."?(r=n,n=this.fieldAccess(n)):this.throwError("IMPOSSIBLE");return n},throwError:function(n,t){throw at("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,n,t.index+1,this.text,this.text.substring(t.index));},peekToken:function(){if(this.tokens.length===0)throw at("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(n,t,i,r){if(this.tokens.length>0){var f=this.tokens[0],u=f.text;if(u===n||u===t||u===i||u===r||!n&&!t&&!i&&!r)return f}return!1},expect:function(n,t,i,r){var u=this.peek(n,t,i,r);return u?(this.json&&!u.json&&this.throwError("is not valid json",u),this.tokens.shift(),u):!1},consume:function(n){this.expect(n)||this.throwError("is unexpected, expecting ["+n+"]",this.peek())},unaryFn:function(n,t){return a(function(i,r){return n(i,r,t)},{constant:t.constant})},ternaryFn:function(n,t,i){return a(function(r,u){return n(r,u)?t(r,u):i(r,u)},{constant:n.constant&&t.constant&&i.constant})},binaryFn:function(n,t,i){return a(function(r,u){return t(r,u,n,i)},{constant:n.constant&&i.constant})},statements:function(){for(var n=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&n.push(this.filterChain()),!this.expect(";"))return n.length===1?n[0]:function(t,i){for(var f,u,r=0;r<n.length;r++)u=n[r],u&&(f=u(t,i));return f}},filterChain:function(){for(var n=this.expression(),t;;)if(t=this.expect("|"))n=this.binaryFn(n,t.fn,this.filter());else return n},filter:function(){for(var t=this.expect(),r=this.$filter(t.text),n=[],i;;)if(t=this.expect(":"))n.push(this.expression());else return i=function(t,i,u){for(var e=[u],f=0;f<n.length;f++)e.push(n[f](t,i));return r.apply(t,e)},function(){return i}},expression:function(){return this.assignment()},assignment:function(){var n=this.ternary(),i,t;return(t=this.expect("="))?(n.assign||this.throwError("implies assignment but ["+this.text.substring(0,t.index)+"] can not be assigned to",t),i=this.ternary(),function(t,r){return n.assign(t,i(t,r),r)}):n},ternary:function(){var t=this.logicalOR(),i,n;if(n=this.expect("?")){if(i=this.ternary(),n=this.expect(":"))return this.ternaryFn(t,i,this.ternary());this.throwError("expected :",n)}else return t},logicalOR:function(){for(var n=this.logicalAND(),t;;)if(t=this.expect("||"))n=this.binaryFn(n,t.fn,this.logicalAND());else return n},logicalAND:function(){var n=this.equality(),t;return(t=this.expect("&&"))&&(n=this.binaryFn(n,t.fn,this.logicalAND())),n},equality:function(){var n=this.relational(),t;return(t=this.expect("==","!=","===","!=="))&&(n=this.binaryFn(n,t.fn,this.equality())),n},relational:function(){var n=this.additive(),t;return(t=this.expect("<",">","<=",">="))&&(n=this.binaryFn(n,t.fn,this.relational())),n},additive:function(){for(var n=this.multiplicative(),t;t=this.expect("+","-");)n=this.binaryFn(n,t.fn,this.multiplicative());return n},multiplicative:function(){for(var n=this.unary(),t;t=this.expect("*","/","%");)n=this.binaryFn(n,t.fn,this.unary());return n},unary:function(){var n;return this.expect("+")?this.primary():(n=this.expect("-"))?this.binaryFn(ei.ZERO,n.fn,this.unary()):(n=this.expect("!"))?this.unaryFn(n.fn,this.unary()):this.primary()},fieldAccess:function(n){var t=this,i=this.expect().text,r=ro(i,this.options,this.text);return a(function(t,i,u){return r(u||n(t,i),i)},{assign:function(r,u,f){return ar(n(r,f),i,u,t.text,t.options)}})},objectIndex:function(n){var t=this,r=this.expression();return this.consume("]"),a(function(u,f){var s=n(u,f),h=r(u,f),e,o;return s?(e=nr(s[h],t.text),e&&e.then&&t.options.unwrapPromises&&(o=e,"$$v"in e||(o.$$v=i,o.then(function(n){o.$$v=n})),e=e.$$v),e):i},{assign:function(i,u,f){var e=r(i,f),o=nr(n(i,f),t.text);return o[e]=u}})},functionCall:function(n,t){var r=[],i;if(this.peekToken().text!==")")do r.push(this.expression());while(this.expect(","));return this.consume(")"),i=this,function(u,f){for(var e=[],c=t?t(u,f):u,s,l,h=0;h<r.length;h++)e.push(r[h](u,f));return s=n(u,f,c)||o,nr(c,i.text),nr(s,i.text),l=s.apply?s.apply(c,e):s(e[0],e[1],e[2],e[3],e[4]),nr(l,i.text)}},arrayDeclaration:function(){var n=[],i=!0,t;if(this.peekToken().text!=="]")do t=this.expression(),n.push(t),t.constant||(i=!1);while(this.expect(","));return this.consume("]"),a(function(t,i){for(var u=[],r=0;r<n.length;r++)u.push(n[r](t,i));return u},{literal:!0,constant:i})},object:function(){var n=[],r=!0,t,u,i;if(this.peekToken().text!=="}")do t=this.expect(),u=t.string||t.text,this.consume(":"),i=this.expression(),n.push({key:u,value:i}),i.constant||(r=!1);while(this.expect(","));return this.consume("}"),a(function(t,i){for(var f={},u,r=0;r<n.length;r++)u=n[r],f[u.key]=u.value(t,i);return f},{literal:!0,constant:r})}};uf={};lt=v("$sce");tt={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"};b=t.createElement("a");ff=gt(n.location.href,!0);eo.$inject=["$provide"];oo.$inject=["$locale"];so.$inject=["$locale"];ef=".";var nl={yyyy:d("FullYear",4),yy:d("FullYear",2,0,!0),y:d("FullYear",1),MMMM:vr("Month"),MMM:vr("Month",!0),MM:d("Month",2,1),M:d("Month",1,1),dd:d("Date",2),d:d("Date",1),HH:d("Hours",2),H:d("Hours",1),hh:d("Hours",2,-12),h:d("Hours",1,-12),mm:d("Minutes",2),m:d("Minutes",1),ss:d("Seconds",2),s:d("Seconds",1),sss:d("Milliseconds",3),EEEE:vr("Day"),EEE:vr("Day",!0),a:gc,Z:dc},tl=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,il=/^\-?\d+$/;co.$inject=["$locale"];lo=nt(l);ao=nt(pt);vo.$inject=["$parse"];yo=nt({restrict:"E",compile:function(n,i){return y<=8&&(i.href||i.name||i.$set("href",""),n.append(t.createComment("IE fix"))),function(n,t){t.on("click",function(n){t.attr("href")||n.preventDefault()})}}});yr={};r(bi,function(n,t){if(n!="multiple"){var i=st("ng-"+t);yr[i]=function(){return{priority:100,compile:function(){return function(n,r,u){var f=n.$on("$destroy",function(){f();f=null;r.remove();r=null;u=null;n=null});n.$watch(u[i],function(n){u.$set(t,!!n)})}}}}}});r(["src","srcset","href"],function(n){var t=st("ng-"+n);yr[t]=function(){return{priority:99,link:function(i,r,u){u.$observe(t,function(t){t&&(u.$set(n,t),y&&r.prop(n,u[n]))})}}}});tr={$addControl:o,$removeControl:o,$setValidity:o,$setDirty:o,$setPristine:o};po.$inject=["$element","$attrs","$scope"];var wo=function(n){return["$timeout",function(t){return{name:"form",restrict:n?"EAC":"E",controller:po,compile:function(){return{pre:function(n,r,u,f){var o,s,e;if(!u.action){o=function(n){n.preventDefault?n.preventDefault():n.returnValue=!1};ne(r[0],"submit",o);r.on("$destroy",function(){t(function(){su(r[0],"submit",o)},0,!1)})}if(s=r.parent().controller("form"),e=u.name||u.ngForm,e&&ar(n,e,f,e),s)r.on("$destroy",function(){s.$removeControl(f);e&&ar(n,e,i,e);a(f,tr)})}}}}}]},fl=wo(),el=wo(!0),ol=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,sl=/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}$/,hl=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,bo={text:pr,number:cl,url:ll,email:al,radio:vl,checkbox:yl,hidden:o,button:o,submit:o,reset:o};var ko=["$browser","$sniffer",function(n,t){return{restrict:"E",require:"?ngModel",link:function(i,r,u,f){f&&(bo[l(u.type)]||bo.text)(i,r,u,f,t,n)}}}],wr="ng-valid",br="ng-invalid",oi="ng-pristine",kr="ng-dirty",pl=["$scope","$exceptionHandler","$attrs","$element","$parse",function(n,t,i,u,f){function s(n,t){t=t?"-"+sr(t,"-"):"";u.removeClass((n?br:wr)+t).addClass((n?wr:br)+t)}var c,l,e;if(this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$name=i.name,c=f(i.ngModel),l=c.assign,!l)throw v("ngModel")("nonassign","Expression '{0}' is non-assignable. Element: {1}",i.ngModel,ut(u));this.$render=o;this.$isEmpty=function(n){return h(n)||n===""||n===null||n!==n};var p=u.inheritedData("$formController")||tr,a=0,y=this.$error={};u.addClass(oi);s(!0);this.$setValidity=function(n,t){y[n]!==!t&&(t?(y[n]&&a--,a||(s(!0),this.$valid=!0,this.$invalid=!1)):(s(!1),this.$invalid=!0,this.$valid=!1,a++),y[n]=!t,s(t,n),p.$setValidity(n,t,this))};this.$setPristine=function(){this.$dirty=!1;this.$pristine=!0;u.removeClass(kr).addClass(oi)};this.$setViewValue=function(i){this.$viewValue=i;this.$pristine&&(this.$dirty=!0,this.$pristine=!1,u.removeClass(oi).addClass(kr),p.$setDirty());r(this.$parsers,function(n){i=n(i)});this.$modelValue!==i&&(this.$modelValue=i,l(n,i),r(this.$viewChangeListeners,function(n){try{n()}catch(i){t(i)}}))};e=this;n.$watch(function(){var t=c(n),i,r;if(e.$modelValue!==t){for(i=e.$formatters,r=i.length,e.$modelValue=t;r--;)t=i[r](t);e.$viewValue!==t&&(e.$viewValue=t,e.$render())}})}],wl=function(){return{require:["ngModel","^?form"],controller:pl,link:function(n,t,i,r){var u=r[0],f=r[1]||tr;f.$addControl(u);n.$on("$destroy",function(){f.$removeControl(u)})}}},bl=nt({require:"ngModel",link:function(n,t,i,r){r.$viewChangeListeners.push(function(){n.$eval(i.ngChange)})}}),go=function(){return{require:"?ngModel",link:function(n,t,i,r){if(r){i.required=!0;var u=function(n){if(i.required&&r.$isEmpty(n)){r.$setValidity("required",!1);return}return r.$setValidity("required",!0),n};r.$formatters.push(u);r.$parsers.unshift(u);i.$observe("required",function(){u(r.$viewValue)})}}}},kl=function(){return{require:"ngModel",link:function(n,t,u,f){var e=/\/(.*)\//.exec(u.ngList),o=e&&new RegExp(e[1])||u.ngList||",",c=function(n){if(!h(n)){var t=[];return n&&r(n.split(o),function(n){n&&t.push(g(n))}),t}};f.$parsers.push(c);f.$formatters.push(function(n){return s(n)?n.join(", "):i});f.$isEmpty=function(n){return!n||!n.length}}}},dl=/^(true|false|\d+)$/,gl=function(){return{priority:100,compile:function(n,t){return dl.test(t.ngValue)?function(n,t,i){i.$set("value",n.$eval(i.ngValue))}:function(n,t,i){n.$watch(i.ngValue,function(n){i.$set("value",n)})}}}},na=yt(function(n,t,r){t.addClass("ng-binding").data("$binding",r.ngBind);var u=n.$watch(r.ngBind,function(n){t.text(n==i?"":n)}),f=n.$on("$destroy",function(){f();f=null;t.remove();u();u=null;t=null;r=null})}),ta=["$interpolate",function(n){return function(t,i,r){var u=n(i.attr(r.$attr.ngBindTemplate));i.addClass("ng-binding").data("$binding",u);r.$observe("ngBindTemplate",function(n){i.text(n)})}}],ia=["$sce","$parse",function(n,t){return function(i,r,u){function e(){return(f(i)||"").toString()}r.addClass("ng-binding").data("$binding",u.ngBindHtml);var f=t(u.ngBindHtml);i.$watch(e,function(){r.html(n.getTrustedHtml(f(i))||"")})}}];var ra=sf("",!0),ua=sf("Odd",0),fa=sf("Even",1),ea=yt({compile:function(n,t){t.$set("ngCloak",i);n.removeClass("ng-cloak")}}),oa=[function(){return{scope:!0,controller:"@",priority:500}}],ns={};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(n){var t=st("ng-"+n);ns[t]=["$parse",function(i){return{compile:function(r,u){var f=i(u[t]);return function(t,i){i.on(l(n),function(n){t.$apply(function(){f(t,{$event:n})})})}}}}]});var sa=["$animate",function(n){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(i,r,u,f,e){var s,o;i.$watch(u.ngIf,function(f){ai(f)?o||(o=i.$new(),e(o,function(i){s={startNode:i[0],endNode:i[i.length++]=t.createComment(" end ngIf: "+u.ngIf+" ")};n.enter(i,r.parent(),r)})):(o&&(o.$destroy(),o=null),s&&(n.leave(ou(s)),s=null))})}}}],ha=["$http","$templateCache","$anchorScroll","$compile","$animate","$sce",function(n,t,r,u,e,s){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",compile:function(h,c){var a=c.ngInclude||c.src,v=c.onload||"",l=c.autoscroll;return function(h,c,y,p,w){var d=0,b,k,g=function(){b&&(b.$$childHead!=i&&b.$$childHead!=null&&(b.$$childHead.$$childTail!=i&&b.$$childHead.$$childTail!=null&&(b.$$childHead.$$childTail.$$prevSibling!=i&&b.$$childHead.$$childTail.$$prevSibling!=null&&(b.$$childHead.$$childTail.$$prevSibling=null),b.$$childHead.$$childTail=null),b.$$childHead=null),b=null);k&&(e.leave(k),k=null)},nt=h.$on("$destroy",function(){tt();tt=null;nt();nt=null;c.remove();c=null;h=null}),tt=h.$watch(s.parseAsResourceUrl(a),function(i){var a=function(){f(l)&&(!l||h.$eval(l))&&r()},s=++d;i?(n.get(i,{cache:t}).success(function(n){if(s===d){var t=h.$new(),i=w(t,o);g();b=t;k=i;k.html(n);e.enter(k,null,c,a);u(k.contents())(b);b.$emit("$includeContentLoaded");h.$eval(v)}}).error(function(){s===d&&g()}),h.$emit("$includeContentRequested")):g()})}}}}],ca=yt({compile:function(){return{pre:function(n,t,i){n.$eval(i.ngInit)}}}}),la=yt({terminal:!0,priority:1e3}),aa=["$locale","$interpolate",function(n,t){var i=/{}/g;return{restrict:"EA",link:function(u,f,e){var s=e.count,a=e.$attr.when&&f.attr(e.$attr.when),h=e.offset||0,o=u.$eval(a)||{},c={},v=t.startSymbol(),y=t.endSymbol(),p=/^when(Minus)?(.+)$/;r(e,function(n,t){p.test(t)&&(o[l(t.replace("when","").replace("Minus","-"))]=f.attr(e.$attr[t]))});r(o,function(n,r){c[r]=t(n.replace(i,v+s+"-"+h+y))});u.$watch(function(){var t=parseFloat(u.$eval(s));return isNaN(t)?"":(t in o||(t=n.pluralCat(t-h)),c[t](u,f,!0))},function(n){f.text(n)})}}}],va=["$parse","$animate",function(n,i){var e="$$NG_REMOVED",f=v("ngRepeat");return{transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,link:function(o,s,h,c,l){var p=h.ngRepeat,a=p.match(/^\s*(.+)\s+in\s+(.*?)\s*(\s+track\s+by\s+(.+)\s*)?$/),b,nt,k,tt,it,d,rt,g,y,w={$id:ui},v;if(!a)throw f("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",p);if(d=a[1],rt=a[2],b=a[4],b?(nt=n(b),k=function(n,t,i){return y&&(w[y]=n),w[g]=t,w.$index=i,nt(o,w)}):(tt=function(n,t){return ui(t)},it=function(n){return n}),a=d.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/),!a)throw f("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",d);g=a[3]||a[1];y=a[2];v={};o.$watchCollection(rt,function(n){var h,et,nt=s[0],ut,ft={},ct,a,w,ot,d,st,b,c,rt=[],ht;if(gr(n))b=n,st=k||tt;else{st=k||it;b=[];for(w in n)n.hasOwnProperty(w)&&w.charAt(0)!="$"&&b.push(w);b.sort()}for(ct=b.length,et=rt.length=b.length,h=0;h<et;h++)if(w=n===b?h:b[h],ot=n[w],d=st(w,ot,h),kt(d,"`track by` id"),v.hasOwnProperty(d))c=v[d],delete v[d],ft[d]=c,rt[h]=c;else if(ft.hasOwnProperty(d)){r(rt,function(n){n&&n.startNode&&(v[n.id]=n)});throw f("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}",p,d);}else rt[h]={id:d},ft[d]=!1;for(w in v)v.hasOwnProperty(w)&&(c=v[w],ht=ou(c),i.leave(ht),r(ht,function(n){n[e]=!0}),c.scope.$destroy());for(h=0,et=b.length;h<et;h++){if(w=n===b?h:b[h],ot=n[w],c=rt[h],rt[h-1]&&(nt=rt[h-1].endNode),c.startNode){a=c.scope;ut=nt;do ut=ut.nextSibling;while(ut&&ut[e]);c.startNode!=ut&&i.move(ou(c),null,u(nt));nt=c.endNode}else a=o.$new();a[g]=ot;y&&(a[y]=w);a.$index=h;a.$first=h===0;a.$last=h===ct-1;a.$middle=!(a.$first||a.$last);a.$odd=!(a.$even=(h&1)==0);c.startNode||l(a,function(n){var f=n[n.length++]=t.createComment(" end ngRepeat: "+p+" "),r=a.$on("$destroy",function(){r();r=null;delete n[n.length-1];f=null});i.enter(n,null,u(nt));nt=n;c.scope=a;c.startNode=nt&&nt.endNode?nt.endNode:n[0];c.endNode=n[n.length-1];ft[c.id]=c})}v=ft})}}}],ya=["$animate",function(n){return function(t,i,r){var u=t.$on("$destroy",function(){u();u=null;i.remove();i=null;t=null});t.$watch(r.ngShow,function(t){n[ai(t)?"removeClass":"addClass"](i,"ng-hide")})}}],pa=["$animate",function(n){return function(t,i,r){t.$watch(r.ngHide,function(t){n[ai(t)?"addClass":"removeClass"](i,"ng-hide")})}}],wa=yt(function(n,t,i){var u=n.$on("$destroy",function(){u();u=null;t.remove();t=null;n=null;i=null});n.$watch(i.ngStyle,function(n,i){i&&n!==i&&r(i,function(n,i){t.css(i,"")});n&&t.css(n)},!0)}),ba=["$animate",function(n){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(t,i,u,f){var h=u.ngSwitch||u.on,s,o,e=[];t.$watch(h,function(i){for(var h=0,c=e.length;h<c;h++)e[h].$destroy(),n.leave(o[h]);o=[];e=[];(s=f.cases["!"+i]||f.cases["?"])&&(t.$eval(u.change),r(s,function(i){var r=t.$new();e.push(r);i.transclude(r,function(t){var r=i.element;o.push(t);n.enter(t,r.parent(),r)})}))})}}}],ka=yt({transclude:"element",priority:800,require:"^ngSwitch",compile:function(n,t){return function(n,i,r,u,f){u.cases["!"+t.ngSwitchWhen]=u.cases["!"+t.ngSwitchWhen]||[];u.cases["!"+t.ngSwitchWhen].push({transclude:f,element:i})}}}),da=yt({transclude:"element",priority:800,require:"^ngSwitch",link:function(n,t,i,r,u){r.cases["?"]=r.cases["?"]||[];r.cases["?"].push({transclude:u,element:t})}}),ga=yt({controller:["$element","$transclude",function(n,t){if(!t)throw v("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",ut(n));this.$transclude=t}],link:function(n,t,i,r){r.$transclude(function(n){t.html("");t.append(n)})}}),nv=["$templateCache",function(n){return{restrict:"E",terminal:!0,compile:function(t,i){if(i.type=="text/ng-template"){var r=i.id,u=t[0].text;n.put(r,u)}}}}],tv=v("ngOptions"),iv=nt({terminal:!0}),rv=["$compile","$parse",function(n,e){var c=/^\s*(.*?)(?:\s+as\s+(.*?))?(?:\s+group\s+by\s+(.*))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+(.*?)(?:\s+track\s+by\s+(.*?))?$/,l={$setViewValue:o};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(n,t,i){var r=this,f={},e=l,s,u;r.databound=i.ngModel;r.init=function(n,t,i){e=n;s=t;u=i};r.addOption=function(t){kt(t,'"option value"');f[t]=!0;e.$viewValue==t&&(n.val(t),u.parent()&&u.remove())};r.removeOption=function(n){this.hasOption(n)&&(delete f[n],e.$viewValue==n&&this.renderUnknownOption(n))};r.renderUnknownOption=function(t){var i="? "+ui(t)+" ?";u.val(i);n.prepend(u);n.val(i);u.prop("selected",!0)};r.hasOption=function(n){return f.hasOwnProperty(n)};t.$on("$destroy",function(){r.renderUnknownOption=o})}],link:function(o,l,a,v){function st(n,t,i,r){i.$render=function(){var n=i.$viewValue;r.hasOption(n)?(b.parent()&&b.remove(),t.val(n),n===""&&nt.prop("selected",!0)):h(n)&&nt?t.val(""):r.renderUnknownOption(n)};t.on("change",function(){n.$apply(function(){b.parent()&&b.remove();i.$setViewValue(t.val())})})}function ht(n,t,i){var u;i.$render=function(){var n=new ki(i.$viewValue);r(t.find("option"),function(t){t.selected=f(n.get(t.value))})};n.$watch(function(){ri(u,i.$viewValue)||(u=rt(i.$viewValue),i.$render())});t.on("change",function(){n.$apply(function(){var n=[];r(t.find("option"),function(t){t.selected&&n.push(t.value)});i.$setViewValue(n)})})}function ct(t,r,u){function k(){var ht={"":[]},pt=[""],h,ut,n,k,g,tt,it=u.$modelValue,wt=b(t)||[],bt=a?hf(wt):wt,ct,dt,yt,ot,i,e={},lt,rt=!1,c,st,at,vt,kt;if(w)if(o&&s(it))for(rt=new ki([]),vt=0;vt<it.length;vt++)e[l]=it[vt],rt.put(o(t,e),it[vt]);else rt=new ki(it);for(i=0;yt=bt.length,i<yt;i++){if(ct=i,a){if(ct=bt[i],ct.charAt(0)==="$")continue;e[a]=ct}e[l]=wt[ct];h=nt(t,e)||"";(ut=ht[h])||(ut=ht[h]=[],pt.push(h));w?lt=f(rt.remove(o?o(t,e):p(t,e))):(o?(kt={},kt[l]=it,lt=o(t,kt)===o(t,e)):lt=it===p(t,e),rt=rt||lt);at=d(t,e);at=f(at)?at:"";ut.push({id:o?o(t,e):a?bt[i]:i,label:at,selected:lt})}for(w||(y||it===null?ht[""].unshift({id:"",label:"",selected:!rt}):rt||ht[""].unshift({id:"?",label:"",selected:!0})),ot=0,dt=pt.length;ot<dt;ot++){for(h=pt[ot],ut=ht[h],v.length<=ot?(k={element:et.clone().attr("label",h),label:ut.label},g=[k],v.push(g),r.append(k.element)):(g=v[ot],k=g[0],k.label!=h&&k.element.attr("label",k.label=h)),c=null,i=0,yt=ut.length;i<yt;i++)n=ut[i],(tt=g[i+1])?(c=tt.element,tt.label!==n.label&&c.text(tt.label=n.label),tt.id!==n.id&&c.val(tt.id=n.id),c[0].selected!==n.selected&&c.prop("selected",tt.selected=n.selected)):(n.id===""&&y?st=y:(st=ft.clone()).val(n.id).attr("selected",n.selected).text(n.label),g.push(tt={element:st,label:n.label,id:n.id,selected:n.selected}),c?c.after(st):k.element.append(st),c=st);for(i++;g.length>i;)g.pop().element.remove()}while(v.length>ot)v.pop()[0].element.remove()}var h;if(!(h=g.match(c)))throw tv("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",g,ut(r));var d=e(h[2]||h[1]),l=h[4]||h[6],a=h[5],nt=e(h[3]||""),p=e(h[2]?h[1]:l),b=e(h[7]),tt=h[8],o=tt?e(h[8]):null,v=[[{element:r,label:""}]];y&&(n(y)(t),y.removeClass("ng-scope"),y.remove());r.html("");r.on("change",function(){t.$apply(function(){var k,h=b(t)||[],n={},f,s,d,c,y,g,nt,e;if(w){for(s=[],y=0,nt=v.length;y<nt;y++)for(k=v[y],c=1,g=k.length;c<g;c++)if((d=k[c].element)[0].selected){if(f=d.val(),a&&(n[a]=f),o){for(e=0;e<h.length;e++)if(n[l]=h[e],o(t,n)==f)break}else n[l]=h[f];s.push(p(t,n))}}else if(f=r.val(),f=="?")s=i;else if(f==="")s=null;else if(o){for(e=0;e<h.length;e++)if(n[l]=h[e],o(t,n)==f){s=p(t,n);break}}else n[l]=h[f],a&&(n[a]=f),s=p(t,n);u.$setViewValue(s)})});u.$render=k;t.$watch(k)}var d;if(v[1]){for(var it=v[0],p=v[1],w=a.multiple,g=a.ngOptions,y=!1,nt,ft=u(t.createElement("option")),et=u(t.createElement("optgroup")),b=ft.clone(),k=0,tt=l.children(),ot=tt.length;k<ot;k++)if(tt[k].value===""){nt=y=tt.eq(k);break}it.init(p,y,b);w&&(a.required||a.ngRequired)&&(d=function(n){return p.$setValidity("required",!a.required||n&&n.length),n},p.$parsers.push(d),p.$formatters.unshift(d),a.$observe("required",function(){d(p.$viewValue)}));g?ct(o,l,p):w?ht(o,l,p):st(o,l,p,it)}}}}],uv=["$interpolate",function(n){var t={addOption:o,removeOption:o};return{restrict:"E",priority:100,compile:function(i,r){if(h(r.value)){var u=n(i.text(),!0);u||r.$set("value",i.text())}return function(n,i,r){var e="$selectController",o=i.parent(),f=o.data(e)||o.parent().data(e);f&&f.databound?i.prop("selected",!1):f=t;u?n.$watch(u,function(n,t){r.$set("value",n);n!==t&&f.removeOption(t);f.addOption(n)}):f.addOption(r.value);i.on("$destroy",function(){f.removeOption(r.value)})}}}}],fv=nt({restrict:"E",terminal:!0});as();ys(rr);u(t).ready(function(){ls(t,kf)})}(window,document),angular.$$csp()||angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide{display:none !important;}ng\\:form{display:block;}.ng-animate-start{border-spacing:1px 1px;-ms-zoom:1.0001;}.ng-animate-active{border-spacing:0px 0px;-ms-zoom:1;}<\/style>'),function(n,t,i){"use strict";t.module("ngCookies",["ng"]).factory("$cookies",["$rootScope","$browser",function(n,r){function c(){var n,e,o,s;for(n in f)h(u[n])&&r.cookies(n,i);for(n in u)e=u[n],t.isString(e)?e!==f[n]&&(r.cookies(n,e),s=!0):t.isDefined(f[n])?u[n]=f[n]:delete u[n];if(s){s=!1;o=r.cookies();for(n in u)u[n]!==o[n]&&(h(o[n])?delete u[n]:u[n]=o[n],s=!0)}}var u={},f={},e,o=!1,s=t.copy,h=t.isUndefined;return r.addPollFn(function(){var t=r.cookies();e!=t&&(e=t,s(t,f),s(t,u),o&&n.$apply())})(),o=!0,n.$watch(c),u}]).factory("$cookieStore",["$cookies",function(n){return{get:function(i){var r=n[i];return r?t.fromJson(r):r},put:function(i,r){n[i]=t.toJson(r)},remove:function(t){delete n[t]}}}])}(window,window.angular),function(n,t){"use strict";function u(){function i(n,i){return t.extend(new(t.extend(function(){},{prototype:n})),i)}function r(n,t){var r=t.caseInsensitiveMatch,i={originalPath:n,regexp:n},u=i.keys=[];return n=n.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?|\*])?/g,function(n,t,i,r){var f=r==="?"?r:null,e=r==="*"?r:null;return u.push({name:i,optional:!!f}),t=t||"",""+(f?"":t)+"(?:"+(f?t:"")+(e&&"(.+?)"||"([^/]+)")+(f||"")+")"+(f||"")}).replace(/([\/$\*])/g,"\\$1"),i.regexp=new RegExp("^"+n+"$",r?"i":""),i}var n={};this.when=function(i,u){if(n[i]=t.extend({reloadOnSearch:!0},u,i&&r(i,u)),i){var f=i[i.length-1]=="/"?i.substr(0,i.length-1):i+"/";n[f]=t.extend({redirectTo:i},r(f,u))}return this};this.otherwise=function(n){return this.when(null,n),this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$http","$templateCache","$sce",function(r,u,f,e,o,s,h,c){function y(n,t){var s=t.keys,e={},r,i,o,u,f;if(!t.regexp||(r=t.regexp.exec(n),!r))return null;for(i=1,o=r.length;i<o;++i)u=s[i-1],f="string"==typeof r[i]?decodeURIComponent(r[i]):r[i],u&&f&&(e[u.name]=f);return e}function v(){var n=p(),i=l.current;n&&i&&n.$$route===i.$$route&&t.equals(n.pathParams,i.pathParams)&&!n.reloadOnSearch&&!a?(i.params=n.params,t.copy(i.params,f),r.$broadcast("$routeUpdate",i)):(n||i)&&(a=!1,r.$broadcast("$routeChangeStart",n,i),l.current=n,n&&n.redirectTo&&(t.isString(n.redirectTo)?u.path(w(n.redirectTo,n.params)).search(n.params).replace():u.url(n.redirectTo(n.pathParams,u.path(),u.search())).replace()),e.when(n).then(function(){if(n){var u=t.extend({},n.resolve),r,i;return t.forEach(u,function(n,i){u[i]=t.isString(n)?o.get(n):o.invoke(n)}),t.isDefined(r=n.template)?t.isFunction(r)&&(r=r(n.params)):t.isDefined(i=n.templateUrl)&&(t.isFunction(i)&&(i=i(n.params)),i=c.getTrustedResourceUrl(i),t.isDefined(i)&&(n.loadedTemplateUrl=i,r=s.get(i,{cache:h}).then(function(n){return n.data}))),t.isDefined(r)&&(u.$template=r),e.all(u)}}).then(function(u){n==l.current&&(n&&(n.locals=u,t.copy(n.params,f)),r.$broadcast("$routeChangeSuccess",n,i))},function(t){n==l.current&&r.$broadcast("$routeChangeError",n,i,t)}))}function p(){var f,r;return t.forEach(n,function(n){!r&&(f=y(u.path(),n))&&(r=i(n,{params:t.extend({},u.search(),f),pathParams:f}),r.$$route=n)}),r||n[null]&&i(n[null],{params:{},pathParams:{}})}function w(n,i){var r=[];return t.forEach((n||"").split(":"),function(n,t){if(t===0)r.push(n);else{var u=n.match(/(\w+)(.*)/),f=u[1];r.push(i[f]);r.push(u[2]||"");delete i[f]}}),r.join("")}var a=!1,l={routes:n,reload:function(){a=!0;r.$evalAsync(v)}};return r.$on("$locationChangeSuccess",v),l}]}function f(){this.$get=function(){return{}}}function r(n,i,r,u,f){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(e,o,s,h,c){function y(){l&&(l.$destroy(),l=null);a&&(f.leave(a),a=null)}function p(){var p=n.current&&n.current.locals,d=p&&p.$template,k,s,g,h,b;d?(k=e.$new(),s=c(k,t.noop),s.html(d),f.enter(s,null,a||o,function(){t.isDefined(v)&&(!v||e.$eval(v))&&i()}),y(),g=r(s.contents()),h=n.current,l=h.scope=k,a=s,h.controller&&(p.$scope=l,b=u(h.controller,p),h.controllerAs&&(l[h.controllerAs]=b),s.data("$ngControllerController",b),s.children().data("$ngControllerController",b)),g(l),l.$emit("$viewContentLoaded"),l.$eval(w)):y()}var l,a,v=s.autoscroll,w=s.onload||"";e.$on("$routeChangeSuccess",p);p()}}}var i=t.module("ngRoute",["ng"]).provider("$route",u);i.provider("$routeParams",f);i.directive("ngView",r);r.$inject=["$route","$anchorScroll","$compile","$controller","$animate"]}(window,window.angular),function(n,t,i){"use strict";t.module("ngAnimate",["ng"]).config(["$provide","$animateProvider",function(r,u){var s=t.noop,e=t.forEach,l=u.$$selectors,c=1,f="$$ngAnimateState",h="ng-animate",o={running:!0};r.decorator("$animate",["$delegate","$injector","$sniffer","$rootElement","$timeout","$rootScope","$document",function(n,i,r,u,a,v){function k(n){var t,u,e;if(n){var o=[],s={},f=n.substr(1).split(".");for((r.transitions||r.animations)&&f.push(""),t=0;t<f.length;t++)u=f[t],e=l[u],e&&!s[u]&&(o.push(i.get(e)),s[u]=!0);return o}}function y(n,t,i,r,u,o,c){function ft(n){if(w(),n===!0){g();return}var t=i.data(f);t&&(t.done=g,i.data(f,t));et(v,"after",g)}function et(r,u,f){function h(n,t){var u=t+"Complete",e=r[n],i;for(e[u]=!0,(e[o]||s)(),i=0;i<r.length;i++)if(!r[i][u])return;f()}var o=u+"End";e(r,function(r,f){var e=function(){h(f,u)};if(u=="before"&&(n=="enter"||n=="move")){e();return}r[u]?r[o]=nt?r[u](i,t,e):r[u](i,e):e()})}function it(){c&&a(c,0,!1)}function w(){w.hasBeenRun||(w.hasBeenRun=!0,o())}function g(){if(!g.hasBeenRun){g.hasBeenRun=!0;var n=i.data(f);n&&(nt?p(i):(n.closeAnimationTimeout=a(function(){p(i)},0,!1),i.data(f,n)));it()}}var rt=i.attr("class")||"",ot=rt+" "+t,st=(" "+ot).replace(/\s+/g,"."),v,y,tt;r||(r=u?u.parent():i.parent());var ut=k(st),nt=n=="addClass"||n=="removeClass",l=i.data(f)||{};if(d(i,r)||ut.length===0){w();g();return}if(v=[],l.running&&nt&&l.structural||e(ut,function(r){if(!r.allowCancel||r.allowCancel(i,n,t)){var u,f=r[n];n=="leave"?(u=f,f=null):u=r["before"+n.charAt(0).toUpperCase()+n.substr(1)];v.push({before:u,after:f})}}),v.length===0){w();it();return}if(y=" "+rt+" ",l.running&&(a.cancel(l.closeAnimationTimeout),p(i),b(l.animations),l.beforeComplete?(l.done||s)(!0):nt&&!l.structural&&(y=l.event=="removeClass"?y.replace(l.className,""):y+l.className+" ")),tt=" "+t+" ",n=="addClass"&&y.indexOf(tt)>=0||n=="removeClass"&&y.indexOf(tt)==-1){w();it();return}i.addClass(h);i.data(f,{running:!0,event:n,className:t,structural:!nt,animations:v,done:ft});et(v,"before",ft)}function w(n){var i=n[0];i.nodeType==c&&e(i.querySelectorAll("."+h),function(n){n=t.element(n);var i=n.data(f);i&&(b(i.animations),p(n))})}function b(n){var t=!0;e(n,function(i){n.beforeComplete||(i.beforeEnd||s)(t);n.afterComplete||(i.afterEnd||s)(t)})}function p(n){n[0]==u[0]?o.disabled||(o.running=!1,o.structural=!1):(n.removeClass(h),n.removeData(f))}function d(n,t){if(o.disabled)return!0;if(n[0]==u[0])return o.disabled||o.running;do{if(t.length===0)break;var i=t[0]==u[0],r=i?o:t.data(f),e=r&&(!!r.disabled||!!r.running);if(i||e)return e;if(i)return!0}while(t=t.parent());return!0}return u.data(f,o),v.$$postDigest(function(){v.$$postDigest(function(){o.running=!1})}),{enter:function(t,i,r,u){this.enabled(!1,t);n.enter(t,i,r);v.$$postDigest(function(){y("enter","ng-enter",t,i,r,s,u)})},leave:function(t,i){w(t);this.enabled(!1,t);v.$$postDigest(function(){y("leave","ng-leave",t,null,null,function(){n.leave(t)},i)})},move:function(t,i,r,u){w(t);this.enabled(!1,t);n.move(t,i,r);v.$$postDigest(function(){y("move","ng-move",t,i,r,s,u)})},addClass:function(t,i,r){y("addClass",i,t,null,null,function(){n.addClass(t,i)},r)},removeClass:function(t,i,r){y("removeClass",i,t,null,null,function(){n.removeClass(t,i)},r)},enabled:function(n,t){switch(arguments.length){case 2:if(n)p(t);else{var i=t.data(f)||{};i.disabled=!0;t.data(f,i)}break;case 1:o.disabled=!n;break;default:n=!o.disabled}return!!n}}}]);u.register("",["$window","$sniffer","$timeout",function(r,u,f){function nt(n){d.push(n);f.cancel(g);g=f(function(){e(d,function(n){n()});d=[];g=null;a={}},10,!1)}function tt(n,t){var i=t?a[t]:null;if(!i){var u=0,f=0,o=0,s=0,v,y,w,b;e(n,function(n){var t,i;n.nodeType==c&&(t=r.getComputedStyle(n)||{},w=t[h+st],u=Math.max(p(w),u),b=t[h+k],v=t[h+ht],f=Math.max(p(v),f),y=t[l+ht],s=Math.max(p(y),s),i=p(t[l+st]),i>0&&(i*=parseInt(t[l+yt],10)||1),o=Math.max(i,o))});i={total:0,transitionPropertyStyle:b,transitionDurationStyle:w,transitionDelayStyle:v,transitionDelay:f,transitionDuration:u,animationDelayStyle:y,animationDelay:s,animationDuration:o};t&&(a[t]=i)}return i}function p(n){var i=0,r=t.isString(n)?n.split(/\s*,\s*/):[];return e(r,function(n){i=Math.max(parseFloat(n)||0,i)}),i}function wt(n){var i=n.parent(),t=i.data(ct);return t||(i.data(ct,++at),t=at),t+"-"+n[0].className}function bt(n,t){var s=wt(n),u=s+" "+t,h={},c=a[u]?++a[u].total:0,i,o,p,r;if(c>0){var f=t+"-stagger",l=s+" "+f,y=!a[l];y&&n.addClass(f);h=tt(n,l);y&&n.removeClass(f)}return(n.addClass(t),i=tt(n,u),o=Math.max(i.transitionDuration,i.animationDuration),o===0)?(n.removeClass(t),!1):(p=n[0],r="",i.transitionDuration>0?(n.addClass(lt),r+=pt+" ",kt(n)):dt(n),e(t.split(" "),function(n,t){r+=(t>0?" ":"")+n+"-active"}),n.data(v,{className:t,activeClassName:r,maxDuration:o,classes:t+" "+r,timings:i,stagger:h,ii:c}),!0)}function kt(n){n[0].style[h+k]="none"}function dt(n){n[0].style[l]="none 0s"}function it(n){var t=n[0],i=h+k;t.style[i]&&t.style[i].length>0&&(t.style[i]="")}function rt(n){var i=n[0],t=l;i.style[t]&&i.style[t].length>0&&(n[0].style[t]="")}function gt(n,t,i){function tt(n){n.stopPropagation();var t=n.originalEvent||n,r=t.$manualTimeStamp||t.timeStamp||Date.now();Math.max(r-ut,0)>=rt&&t.elapsedTime>=it&&i()}var e=n.data(v),a,g,y,nt;if(!n.hasClass(t)||!e){i();return}var c=n[0],r=e.timings,s=e.stagger,it=e.maxDuration,p=e.activeClassName,rt=Math.max(r.transitionDelay,r.animationDelay)*1e3,ut=Date.now(),k=b+" "+w,l=e.ii,d,h="",f=[];r.transitionDuration>0&&(a=r.transitionPropertyStyle,a.indexOf("all")==-1&&(d=!0,g=u.msie?"-ms-zoom":"border-spacing",h+=o+"transition-property: "+a+", "+g+"; ",h+=o+"transition-duration: "+r.transitionDurationStyle+", "+r.transitionDuration+"s; ",f.push(o+"transition-property"),f.push(o+"transition-duration")));l>0&&(s.transitionDelay>0&&s.transitionDuration===0&&(y=r.transitionDelayStyle,d&&(y+=", "+r.transitionDelay+"s"),h+=o+"transition-delay: "+vt(y,s.transitionDelay,l)+"; ",f.push(o+"transition-delay")),s.animationDelay>0&&s.animationDuration===0&&(h+=o+"animation-delay: "+vt(r.animationDelayStyle,s.animationDelay,l)+"; ",f.push(o+"animation-delay")));f.length>0&&(nt=c.getAttribute("style")||"",c.setAttribute("style",nt+" "+h));n.on(k,tt);return n.addClass(p),function(){n.off(k,tt);n.removeClass(p);ot(n,t);for(var i in f)c.style.removeProperty(f[i])}}function vt(n,t,i){var r="";return e(n.split(","),function(n,u){r+=(u>0?",":"")+(i*t+parseInt(n,10))+"s"}),r}function ut(n,t){if(bt(n,t))return function(i){i&&ot(n,t)}}function ft(n,t,i){if(n.data(v))return gt(n,t,i);ot(n,t);i()}function et(n,t,i){var u=ut(n,t),r;if(!u){i();return}return r=u,nt(function(){it(n);rt(n);r=ft(n,t,i)}),function(n){(r||s)(n)}}function ot(n,t){n.removeClass(t);n.removeClass(lt);n.removeData(v)}function y(n,i){var r="";return n=t.isArray(n)?n:n.split(/\s+/),e(n,function(n,t){n&&n.length>0&&(r+=(t>0?" ":"")+n+i)}),r}var o="",h,w,l,b;n.ontransitionend===i&&n.onwebkittransitionend!==i?(o="-webkit-",h="WebkitTransition",w="webkitTransitionEnd transitionend"):(h="transition",w="transitionend");n.onanimationend===i&&n.onwebkitanimationend!==i?(o="-webkit-",l="WebkitAnimation",b="webkitAnimationEnd animationend"):(l="animation",b="animationend");var st="Duration",k="Property",ht="Delay",yt="IterationCount",ct="$$ngAnimateKey",v="$$ngAnimateCSS3Data",lt="ng-animate-start",pt="ng-animate-active",a={},at=0,d=[],g;return{allowCancel:function(n,i,r){var o=(n.data(v)||{}).classes,s,u,h,f;return!o||["enter","leave","move"].indexOf(i)>=0?!0:(s=n.parent(),u=t.element(n[0].cloneNode()),u.attr("style","position:absolute; top:-9999px; left:-9999px"),u.removeAttr("id"),u.html(""),e(o.split(" "),function(n){u.removeClass(n)}),h=i=="addClass"?"-add":"-remove",u.addClass(y(r,h)),s.append(u),f=tt(u),u.remove(),Math.max(f.transitionDuration,f.animationDuration)>0)},enter:function(n,t){return et(n,"ng-enter",t)},leave:function(n,t){return et(n,"ng-leave",t)},move:function(n,t){return et(n,"ng-move",t)},beforeAddClass:function(n,t,i){var r=ut(n,y(t,"-add"));if(r)return nt(function(){it(n);rt(n);i()}),r;i()},addClass:function(n,t,i){return ft(n,y(t,"-add"),i)},beforeRemoveClass:function(n,t,i){var r=ut(n,y(t,"-remove"));if(r)return nt(function(){it(n);rt(n);i()}),r;i()},removeClass:function(n,t,i){return ft(n,y(t,"-remove"),i)}}}])}])}(window,window.angular),base64={},base64.PADCHAR="=",base64.ALPHA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",base64.makeDOMException=function(){var n;try{return new DOMException(DOMException.INVALID_CHARACTER_ERR)}catch(t){return n=new Error("DOM Exception 5"),n.code=n.number=5,n.name=n.description="INVALID_CHARACTER_ERR",n.toString=function(){return"Error: "+n.name+": "+n.message},n}},base64.getbyte64=function(n,t){var i=base64.ALPHA.indexOf(n.charAt(t));if(i===-1)throw base64.makeDOMException();return i},base64.decode=function(n){var i,e,t,r,u,f;if(n=""+n,i=base64.getbyte64,u=n.length,u===0)return n;if(u%4!=0)throw base64.makeDOMException();for(e=0,n.charAt(u-1)===base64.PADCHAR&&(e=1,n.charAt(u-2)===base64.PADCHAR&&(e=2),u-=4),f=[],t=0;t<u;t+=4)r=i(n,t)<<18|i(n,t+1)<<12|i(n,t+2)<<6|i(n,t+3),f.push(String.fromCharCode(r>>16,r>>8&255,r&255));switch(e){case 1:r=i(n,t)<<18|i(n,t+1)<<12|i(n,t+2)<<6;f.push(String.fromCharCode(r>>16,r>>8&255));break;case 2:r=i(n,t)<<18|i(n,t+1)<<12;f.push(String.fromCharCode(r>>16))}return f.join("")},base64.getbyte=function(n,t){var i=n.charCodeAt(t);if(i>255)throw base64.makeDOMException();return i},base64.encode=function(n){var o;if(arguments.length!==1)throw new SyntaxError("Not enough arguments");var e=base64.PADCHAR,i=base64.ALPHA,f=base64.getbyte,r,t,u=[];if(n=""+n,o=n.length-n.length%3,n.length===0)return n;for(r=0;r<o;r+=3)t=f(n,r)<<16|f(n,r+1)<<8|f(n,r+2),u.push(i.charAt(t>>18)),u.push(i.charAt(t>>12&63)),u.push(i.charAt(t>>6&63)),u.push(i.charAt(t&63));switch(n.length-o){case 1:t=f(n,r)<<16;u.push(i.charAt(t>>18)+i.charAt(t>>12&63)+e+e);break;case 2:t=f(n,r)<<16|f(n,r+1)<<8;u.push(i.charAt(t>>18)+i.charAt(t>>12&63)+i.charAt(t>>6&63)+e)}return u.join("")},rx=angular.module("rx",["ng","ngCookies"]),rx.factory("sectionBroadcast",["$rootScope","rxUserPermission","rxJson","rxPage","cacheData",function(n,t,i,r,u){var f={quickAccess:""},e=function(n,u){for(var v=i.sortBy(t.pageSections,"positionIndex"),c=[],l,o,a,h,e,s=0;s<v.length;s++)l=i.find(n,{itemName:v[s].sectionName})[0],angular.isUndefined(l)||c.push(l);if(f.quickAccess=c,f.customFieldSource=u,!angular.isUndefined(f.quickAccess))for(o=i.find(r.fields,{sectionName:"Static Section"}).length,s=0;s<f.quickAccess.length;s++)if(a=f.quickAccess[s].itemName,a!="Custom Fields")for(h=i.find(r.fields,{sectionName:a}),h=i.sortBy(h,"tabIndex"),e=0;e<h.length;e++)o=o+1,h[e].actualPosition=o;else if(!angular.isUndefined(f.customFieldSource)){for(e=0;e<f.customFieldSource.length;e++)e%2==0&&(o=o+1,f.customFieldSource[e].tabIndexOrder=o);for(e=0;e<f.customFieldSource.length;e++)e%2!=0&&(o=o+1,f.customFieldSource[e].tabIndexOrder=o)}return c};return f.setCustomFieldSource=function(n){f.customFieldSource=n;f.$apply()},f.getQuickAccess=function(n,t){return e(n,t)},f.disabled=function(){n.$broadcast("$disabled")},f.$apply=function(){e(u.fetch("pageQuickAccess"),u.fetch("pageControlSourcesEdit"));n.$broadcast("sectionChanged")},f}]),rx.factory("rxPage",function(){return{jObject:{}}}),rx.factory("breadCrumbService",["$rootScope",function(n){var t={};return t.broadcast=function(n){this.breadCrumbSoruce=n;this.broadcastBreadCrumb()},t.broadcastBreadCrumb=function(){n.$broadcast("$breadCrumbBroadcast")},t}]),rx.factory("rxRecordLock",function(){return{isEdit:!1,entityTypeName:""}}),rx.factory("rxUserPermission",function(){return{permissionContext:[],mainContext:[],maintenanceContext:[],entryType:"",backOfficeContext:[],securityGeneralItems:[],currentUserPermissionItem:""}}),rx.factory("loader",function(){var n=function(n){n};return{load:n}}),rx.factory("rxPopupScope",[function(){var t=undefined,n=!1,i=function(t){$(".mce-in").length>0?($(".mce-title").html()!="Insert/edit image"||n?n=!1:(n=!0,$(".mce-in input").first().keyup(function(n){console.log(n.keyCode);n.keyCode==86&&$(this).blur()})),$("#"+t).data("display")=="block"&&($("#"+t).css("display","none"),$("#"+t).data("display","none"))):$("#"+t).data("display")=="none"&&($("#"+t).css("display","block"),$("#"+t).data("display","block"))},r=function(n){t=setInterval(function(){i(n)},50)},u=function(){clearInterval(t)};return{isDestroyData:!0,checkMcePopup:i,callSetTimeoutFn:r,callClearTimeoutFn:u}}]),rx.factory("rxPopup",["$compile","$rootScope","rxPopupScope",function(n,t,i){return{newRootScope:"",isDestroyData:!0,showPopup:function(r,u,f,e){var s,o,h;if(f)newRootScope.popupTemplateSrc=angular.isUndefined(newRootScope.popupTemplateSrc)?{src:r,popupCss:u}:{src:r,popupCss:u};else if(newRootScope=t.$new(),newRootScope.popupTemplateSrc=angular.isUndefined(newRootScope.popupTemplateSrc)?{src:r,popupCss:u}:{src:r,popupCss:u},$("#rxPopupFactory").remove(),$("#rxPopupFactorysubPopup").remove(),s=$("#rxPopupFactory"),angular.isUndefined(s[0])){o='<div id="rxPopupFactory" data-display="block" class="modal fade {{popupTemplateSrc.popupCss}}"  tabindex="-1" role="dialog" aria-labelledby="popupTemplateLabel" aria-hidden="true"><div ng-include src="popupTemplateSrc.src"><\/div><\/div>';o+='<div id="rxPopupFactorysubPopup" class="modal fade {{popupTemplate.popupCss}} showpopup"  tabindex="-1" role="dialog" aria-labelledby="popupTemplateLabel" aria-hidden="true"><div ng-include src="subPopupTemplateSrc.src"><\/div><\/div>';o=n(o)(newRootScope);$("#bodyElement").append(o);o=undefined;$("#rxPopupFactory").on("hidden.bs.modal",function(){try{$("#rxPopupFactorysubPopup").modal("hide")}catch(n){}var t=setTimeout(function(){$("#rxPopupFactory").remove();$("#rxPopupFactorysubPopup").remove()},200);i.isDestroyData?newRootScope.$destroy():i.isDestroyData=!0;newRootScope=null});$("#rxPopupFactorysubPopup").on("hidden.bs.modal",function(){typeof tinymce!="undefined"&&tinymce!=null&&tinymce.activeEditor!=null&&tinymce.activeEditor.remove();newRootScope!=null&&newRootScope.$apply(function(){newRootScope.popupTemplateSrc={src:"Scripts/lib/rxapp/template/blank.html",popupCss:""}})});h=setTimeout(function(){$("#rxPopupFactory").modal({backdrop:"static",keyboard:!1});$("#rxPopupFactory").modal("show")},200)}else $("#rxPopupFactory").modal("show");e&&i.callSetTimeoutFn("rxPopupFactory")},showSubPopup:function(n,t){$("#rxPopupFactory").addClass("displayNone");newRootScope.popupTemplate={popupCss:t};newRootScope.subPopupTemplateSrc={src:n};$("#rxPopupFactorysubPopup").hasClass("in")?$("#rxPopupFactorysubPopup").removeClass("displayNone"):($("#rxPopupFactorysubPopup").modal({backdrop:"static",keyboard:!1}),$("#rxPopupFactorysubPopup").modal("show"),$("#rxPopupFactorysubPopup").addClass("in"),$("#rxPopupFactorysubPopup").removeClass("displayNone"))},hideSubPopup:function(){$("#rxPopupFactory").removeClass("displayNone");newRootScope.subPopupTemplateSrc={src:"Scripts/lib/rxapp/template/blank.html"};$("#rxPopupFactorysubPopup").addClass("displayNone")},hidePopup:function(n,t){angular.isUndefined(n)||(globalDirtyCheck[n]=undefined,globalDirtyCheck["base"+n]=undefined);t!=undefined&&(i.isDestroyData=!1);$("#rxPopupFactory").modal("hide");$("#rxPopupFactorysubPopup").modal("hide");typeof tinymce!="undefined"&&tinymce!=null&&tinymce.activeEditor!=null&&tinymce.activeEditor.remove();i.callClearTimeoutFn()}}}]),rx.factory("rxAlert",["$compile","$rootScope","response","appConfig","cookieconfig","rxPage",function(n,t,i,r,u,f){return{show:function(t,i){var e,o;if(r.alert.recordLock&&t.titleText=="Record Locked"&&angular.isUndefined(t.save)&&(t.contentText=S(t.contentText).replaceAll("{{userName}}",u.get("elUserName")).s),angular.isUndefined(t.bpme)||angular.isUndefined(t.bpme.bpmeRuleCheck)||!t.bpme.bpmeRuleCheck||(i.alertBpmeCheck=function(){var r,u,n;if(t.bpme.ruleRequest!=undefined){r=i.$eval(t.bpme.ruleRequest);for(n in r)f.jObject[n]=r[n]}u={clientData:f.jObject};for(n in i[t.bpme.ruleObject])u[n]=i[t.bpme.ruleObject][n];$.ajax({url:"api/ruleCheck",data:u,type:"POST",beforeSend:function(n){var i=amplify.store("oauth"),t;n.setRequestHeader("Authorization",i);t=amplify.store("sauth");t!=null&&t!=""&&n.setRequestHeader("x-session",t)},dataType:"json",async:!1,success:function(n){i.ruleValidateStatus=n;var r=i.$eval(t.bpme.validationEvent+"(ruleValidateStatus)");r&&i.$eval(t.callbacks.save)}})}),e="",!angular.isUndefined(t.dataCollection)){for(e="<ol>",o=0;o<t.dataCollection.length;o++)e+="<li>"+t.dataCollection[o]+"<\/li>";e+="<\/ol>"}var c=angular.isUndefined(t.callbacks.ok)?"":'ng-click="'+t.callbacks.ok+'(true)"',l=angular.isUndefined(t.callbacks.cancel)?"":'ng-click="'+t.callbacks.cancel+'(false)"',a=angular.isUndefined(t.callbacks.save)?"":'ng-click="'+t.callbacks.save+'"',h=angular.isUndefined(t.saveText)?"Save":t.saveText,v=!angular.isUndefined(t.callbacks.save)&&angular.isUndefined(t.bpme)?'<button  class="btn btn-primary " '+a+">"+h+"<\/button>":!angular.isUndefined(t.bpme)&&!angular.isUndefined(t.bpme.bpmeRuleCheck)&&t.bpme.bpmeRuleCheck?'<button  class="btn btn-primary " ng-click="alertBpmeCheck()">'+h+"<\/button>":"",s=angular.isUndefined(t.callbacks.save)?"Ok":"Don't Save";s=angular.isUndefined(t.okText)?s:t.okText;var y=angular.isUndefined(t.cancelText)?"Cancel":t.cancelText,p="<button  class='btn btn-primary showRxalertOK' "+c+">"+s+"<\/button>",w=angular.isUndefined(t.cancelRequired)?'<button  class="btn btn-primary showRxalert" id="alertCancel" '+l+" >"+y+"<\/button>":"",b=' <div class="mainOverlayout"><div class="alertbox"><div id="rxAlert" class="alertbox"><div class="modal-header"><h5>'+t.titleText+'<\/h5><\/div><div class="modal-body"><div class="row"><div class="col-lg-12">'+t.contentText+"<br />"+e+'<\/div><\/div><\/div><div class="modal-footer">'+v+p+w+"<\/div><\/div><\/div><\/div>";$("#rxload").removeClass("rxloadout").addClass("rxloadin");$("#rxload").html(n(b)(i));$(".showRxalertOK").click(function(){$("#rxload").removeClass("rxloadin").addClass("rxloadout")});$(".showRxalert").click(function(){$("#rxload").removeClass("rxloadin").addClass("rxloadout")})},promptBox:function(t,i){var u,r,f;i.rxAlertModel=undefined;u='<button  class="btn btn-primary" ng-click="'+t.callbacks.ok+'(rxAlertModel)">Ok<\/button>';r="";r=angular.isUndefined(t.callbacks.cancel)?'<button  class="btn btn-primary"  id="alertCancel" >Cancel<\/button>':'<button  class="btn btn-primary" ng-click="'+t.callbacks.cancel+'(rxAlertModel)"  id="alertCancel" >Cancel<\/button>';f=' <div class="mainOverlayout"><div class="alertbox"><div id="rxAlert" class="alertbox"><div class="modal-header"><h5>'+t.titleText+'<\/h5><\/div><div class="modal-body"><div class="row"><div class="col-lg-12">'+t.contentText+'<\/div><\/div><div class="row"><div class="col-lg-12"><textarea autofocus maxlength="'+t.maxLength+'" class="form-control" ng-model="rxAlertModel" cols="50" rows="4"><\/textarea><\/div><\/div><\/div><div class="modal-footer">'+u+r+"<\/div><\/div><\/div><\/div>";$("#rxload").removeClass("rxloadout").addClass("rxloadin");$("#rxload").html(n(f)(i));$("#alertCancel").click(function(){$("#rxload").removeClass("rxloadin").addClass("rxloadout")})},inputBox:function(t,i,r){var f,u,e;i.rxAlertModel=r!=undefined?r:undefined;f='<button  class="btn btn-primary" ng-click="'+t.callbacks.ok+'(rxAlertModel)">Ok<\/button>';u="";u=angular.isUndefined(t.callbacks.cancel)?'<button  class="btn btn-primary"  id="alertCancel" >Cancel<\/button>':'<button  class="btn btn-primary" ng-click="'+t.callbacks.cancel+'(rxAlertModel)"  id="alertCancel" >Cancel<\/button>';e=' <div class="mainOverlayout"><div class="alertbox"><div id="rxAlert" class="alertbox"><div class="modal-header"><h5>'+t.titleText+'<\/h5><\/div><div class="modal-body"><div class="row"><div class="col-lg-12">'+t.contentText+'<\/div><\/div><div class="row"><div class="col-lg-12"><input type="text" autofocus maxlength="'+t.maxLength+'" class="form-control" ng-model="rxAlertModel"><\/input><\/div><\/div><\/div><div class="modal-footer">'+f+u+"<\/div><\/div><\/div><\/div>";$("#rxload").removeClass("rxloadout").addClass("rxloadin");$("#rxload").html(n(e)(i));$("#alertCancel").click(function(){$("#rxload").removeClass("rxloadin").addClass("rxloadout")})},hide:function(){$("#rxload").removeClass("rxloadin").addClass("rxloadout")},currentAlertOption:{},scopeOption:{},currentUrl:"",confirmBox:function(){var r=t.currentAlertOption,u="",f;if(!angular.isUndefined(r.dataCollection)){for(u="<ol>",f=0;f<r.dataCollection.length;f++)u+="<li>"+r.dataCollection[f]+"<\/li>";u+="<\/ol>"}var e=angular.isUndefined(r.callbacks.ok)?"":'ng-click="'+r.callbacks.ok+'(true)"',o=angular.isUndefined(r.callbacks.cancel)?"":'ng-click="'+r.callbacks.cancel+'(false)"',s=angular.isUndefined(r.callbacks.save)?"":'ng-click="'+r.callbacks.save+'"',h=angular.isUndefined(r.callbacks.save)?"":'<button  class="btn btn-primary " '+s+">Save<\/button>",c=angular.isUndefined(r.callbacks.save)?"Ok":"Don't Save",l="<button  class='btn btn-primary dontsave' "+e+">"+c+"<\/button>",a=angular.isUndefined(r.cancelRequired)?'<button  class="btn btn-primary showRxalert" id="alertCancel" '+o+" >Cancel<\/button>":"",v=' <div class="mainOverlayout"><div class="alertbox"><div id="rxAlert" class="alertbox"><div class="modal-header"><h5>'+r.titleText+'<\/h5><\/div><div class="modal-body"><div class="row"><div class="col-lg-12">'+r.contentText+"<br />"+u+'<\/div><\/div><\/div><div class="modal-footer">'+h+l+a+"<\/div><\/div><\/div><\/div>";$("#rxload").removeClass("rxloadout").addClass("rxloadin");$("#rxload").html(n(v)(t.scopeOption));$(".dontsave").click(function(){i.redirect("/"+t.currentUrl);t.$apply()});$(".showRxalert").click(function(){$("#rxload").removeClass("rxloadin").addClass("rxloadout")})}}}]),rx.factory("rxWait",["appConfig",function(){var i=function(){},n=!1,t=!1,r=function(i){if(!t){n=!0;var r=angular.isUndefined(i)?"":i+" ...";$("#rxpageload").removeClass("rxloadout").addClass("rxloadin");$("#rxpageload").html('<div class="wait-box" style="position:absolute; top:40%; left:48%"><center><img src="Content/img/big-progress.gif" class="wait-image"><div class="wait-message">'+r+"<\/div><\/center><\/div>")}},u=function(){$("#rxload").removeClass("rxloadout").addClass("rxloadin");$("#rxload").html('<div class="wait-box" style="position:absolute; top:40%; left:48%"><center><img src="Content/img/big-progress.gif" class="wait-image"><div class="wait-message"> <\/div><\/center><\/div>')},f=function(){$("#rxload").removeClass("rxloadin").addClass("rxloadout")},e=function(){n=!1;$("#rxpageload").removeClass("rxloadin").addClass("rxloadout");t=!1;$("#rxpageload").removeClass("rxloadin-side")},o=function(){t=!0;$("#rxpageload").removeClass("rxloadin").addClass("rxloadin-side");$("#rxpageload .wait-box .wait-message").text("Loading...")};return{show:i,hide:f,pageShow:r,pageHide:e,isSectionGroupLoading:!1,isLoaderActive:n,showLoader:u,disableLoader:o}}]),rx.factory("rxLog",["$log",function(n){toastr.options={positionClass:"toast-bottom-left",timeOut:"4000",showMethod:"slideDown",hideMethod:"slideUp"};toastr.options.timeOut=4e3;var i=function(n,i,r,u){toastr.options.positionClass="toast-bottom-right";!angular.isUndefined(i)&&i&&(toastr.options={closeButton:!0,positionClass:"toast-bottom-left",timeOut:"0",extendedTimeOut:"0",showMethod:"slideDown",hideMethod:"slideUp"});toastr.options.containerId=undefined;toastr.success(n);!angular.isUndefined(i)&&i&&(toastr.options={positionClass:"toast-bottom-left",timeOut:"4000",showMethod:"slideDown",hideMethod:"slideUp"});t(n,r,u,"success")},r=function(n,i,r,u,f){toastr.options.positionClass="toast-bottom-left";!angular.isUndefined(i)&&i&&(toastr.options={closeButton:!0,positionClass:"toast-bottom-left",timeOut:"0",extendedTimeOut:"0",showMethod:"slideDown",hideMethod:"slideUp"});!angular.isUndefined(f)&&f&&(toastr.options={closeButton:!0,positionClass:"toast-bottom-full-width",timeOut:"0",extendedTimeOut:"0",showMethod:"slideDown",hideMethod:"slideUp"});toastr.options.containerId="toast-container-error";toastr.error(n);!angular.isUndefined(i)&&i&&(toastr.options={positionClass:"toast-bottom-left",timeOut:"4000",showMethod:"slideDown",hideMethod:"slideUp"});!angular.isUndefined(f)&&f&&(toastr.options={positionClass:"toast-bottom-left",timeOut:"4000",showMethod:"slideDown",hideMethod:"slideUp"});t(n,r,u,"error")},u=function(n,i,r){toastr.options.positionClass="toast-bottom-right";toastr.options.containerId=undefined;toastr.warning(n);t(n,i,r,"warning")},f=function(n,i,r){toastr.options.positionClass="toast-bottom-right";toastr.options.containerId=undefined;toastr.info(n);t(n,i,r,"log")},t=function(t,i,r,u){var f=u==="error"?n.error:n.log;r=angular.isUndefined(r)?"":"["+r+"] ";i=angular.isUndefined(i)?"":i;f(r,t,i)};return{success:i,error:r,warning:u,log:f}}]),rx.factory("rxModal",function(){var n=function(n,t,i){$("#rxModalTemplate"+t).modal({keyboard:!1});$("#rxModalTemplate"+t).modal("show");angular.isUndefined(i)||n.$eval(i)};return{showModal:n}}),rx.factory("rxString",[function(){var n=function(n,t,i){return S(n).replaceAll(t,i).s};return{replaceAll:n}}]),rx.factory("rxJson",["$filter",function(n){var i=function(t,i,r){var o={},u,e,f;if(o[t]=i,u=n("filter")(r,o),e=[],!angular.isUndefined(u)&&u.length>0)for(f=0;f<u.length;f++)u[f][t]==i&&e.push(u[f]);return e},r=function(t,i){return n("filter")(t,i)},u=function(n,t){return _.pluck(n,t)},f=function(n,t){return _.max(n,function(n){return n[t]})},e=function(n,t){return _.min(n,function(n){return n[t]})},o=function(n){return _.uniq(n)},s=function(n,t){return _.uniq(n,function(n){return n[t]})},t=function(n,t){return _.where(n,t)},h=function(n,t){return _.find(n,t)},c=function(n,i){for(var f=t(n,i),u,r=0;r<f.length;r++)u=n.indexOf(f[r]),u!=-1&&n.splice(u,1);return n},l=function(n,t){return _.reject(n,t)},a=function(n,t){return _.omit(n,t)},v=function(n,t){return _.contains(n,t)},y=function(){return _.uniqueId()},p=function(n,t,i){for(var u={},r=0;r<n.length;r++)u[n[r][t]]=n[r][i];return u},w=function(n,t,i,r,u,f){for(var s=n.split(u),c=t.split(u),h=[],o,e=0;e<s.length;e++)o={},o[i]=f?parseInt(s[e]):s[e],o[r]=c[e],h.push(o);return h},b=function(n,t){return _.groupBy(n,t)},k=function(n,t){return _.contains(n,t)},d=function(n){return n.charAt(0).toUpperCase()+n.slice(1)},g=function(n){return n.charAt(0).toLowerCase()+n.slice(1)},nt=function(n){return _.keys(n)},tt=function(n){return _.values(n)},it=function(n,t){return _.sortBy(n,function(n){if(n[t]!=null)return typeof n[t]=="string"?n[t].toLowerCase():n[t]})},rt=function(n,t,i,r){return r||r==undefined?n.sort(function(n,r){return n[t]==null||n[t]==""?1:r[t]==null||r[t]==""?-1:moment(n[t],i).diff(moment(r[t],i))}):n.sort(function(n,r){return n[t]==null||n[t]==""?1:r[t]==null||r[t]==""?-1:moment(r[t],i).diff(moment(n[t],i))}),n},ut=function(n,t){return _.random(n,t)};return{filter:i,convertToArrary:u,max:f,min:e,find:t,findWhere:h,unique:o,uniqueByProperty:s,advanceFilter:r,del:c,delWhere:l,createJsonObject:p,removeColumn:a,arrayContains:v,uniqueNumber:y,groupBy:b,pascalCase:d,keys:nt,values:tt,camelCase:g,createJsonObjectArray:w,sortBy:it,randomNumber:ut,contains:k,sortByDate:rt}}]),rx.factory("cacheData",["appConfig",function(n){var t=window.amplify,f=window.jQuery,e={expires:n.storeExpirationMs},i=function(n,i){return n=="aft"||n=="oauth"||n=="sauth"||n=="rverification"||n=="userOffice"||n=="logInuserTypeId"||n=="isRemember"||n=="emailSignature"||n=="smsSignature"||i==!0?t.store(n,null):t.store.sessionStorage(n,null)},r=function(n,i){return n=="aft"||n=="oauth"||n=="sauth"||n=="rverification"||n=="userOffice"||n=="logInuserTypeId"||n=="isRemember"||n=="emailSignature"||n=="smsSignature"||i==!0?t.store(n):t.store.sessionStorage(n)},u=function(n,i,r){if(n=="aft"||n=="oauth"||n=="sauth"||n=="rverification"||n=="userOffice"||n=="logInuserTypeId"||n=="isRemember"||n=="emailSignature"||n=="smsSignature"||r==!0)t.store(n,i,{expires:864e5});else return t.store.sessionStorage(n,i,{expires:864e5})};return{clear:i,fetch:r,save:u}}]),rx.factory("rxDiaryPattern",["rxJson",function(){var t=function(n,t){var i=0;return t?n>=0&&n<=14?i=1:n>=15&&n<=29?i=2:n>=30&&n<=44?i=3:n>=45&&n<=59&&(i=4):n>=0&&n<=15?i=1:n>=16&&n<=30?i=2:n>=31&&n<=45?i=3:n>=46&&n<=60&&(i=4),i},n=function(n){return n.length==1?"00"+n:n.length==2?"0"+n:n},i=function(t){for(var u="",r,i=1;i<366;i++)for(r=1;r<97;r++)u+=t?n(String(i))+String(r)+"1-":n(String(i))+String(r)+"0-";return u},r=function(i){for(var e=0,h={conditionalOperator:"and",entityQuery:[]},o,u,f,v,r=0;r<i.length;r++){o=moment([i[r].applicationYear,i[r].applicationMonthId-1,i[r].applicationDate]).dayOfYear();u="";e==0&&(u="%",e=o);var c=i[r].startTime.split(":"),l=i[r].endTime.split(":"),a=parseInt(c[0])*4+t(parseInt(c[1]),!0),s=parseInt(l[0])*4+t(parseInt(l[1]),!1);for(u="%",s==a&&(s+=1),f=a;f<=s;f++)v=n(String(o))+String(f)+"0-",u+=v;u+="%";h.entityQuery.push({columnName:"Pattern",entityOperator:"like",value:u});e++}return h};return setPattern=function(i,r){for(var f,h,c,u=0;u<r.length;u++){var e=moment([r[u].applicationYear,r[u].applicationMonthId-1,r[u].applicationDate]).dayOfYear(),o=r[u].startTime.split(":"),s=r[u].endTime.split(":"),l=parseInt(o[0])*4+t(parseInt(o[1])),a=parseInt(s[0])*4+t(parseInt(s[1]));for(f=l;f<a;f++)h="-"+n(String(e))+String(f)+"0-",c="-"+n(String(e))+String(f)+"1-",i=S(i).replaceAll(h,c).s}return i},{getPattern:i,setPattern:setPattern,getPermanentSearchPattern:r}}]),rx.factory("rxOdataQueryOptions",["rxJson",function(n){var t=[],i=[],r=function(n,t){switch(n.valueType){case"text":return o(n,t);case"dropdown":return e(n,t);case"checkbox":return f(n,t)}},u=function(r,u){t=[];angular.forEach(r.columns,function(f){var s,o,e;if(!angular.isUndefined(u[f.columnName])&&u[f.columnName]!=""){for(t=[],s=u[f.columnName].split(","),o=0;o<s.length;o++)e={},angular.isUndefined(f.replaceColumn)?(e.columnName=n.pascalCase(f.columnName),e.operator=f.operator,e.nextOperator=r.nextOperator,e.value=s[o]):(e.columnName=n.pascalCase(f.replaceColumn),e.operator=f.operator,e.nextOperator=r.nextOperator,e.value=s[o]),angular.isUndefined(f.valueType)||(f.valueType=="bool"?e.value=e.value?f.trueValue:!1:f.valueType=="int"&&(e.value=parseInt(e.value))),t.push(e);i.push({forceOperator:r.conditionalOperator,conditions:t})}})},f=function(i,r){return t=[],angular.forEach(i.columns,function(i){if(!angular.isUndefined(r[i.columnName])&&r[i.columnName]){var u={};angular.isUndefined(i.replaceColumn)?(u.columnName=n.pascalCase(i.columnName),u.operator=i.operator,u.value=r[i.columnName]):(u.columnName=n.pascalCase(i.replaceColumn),u.operator=i.operator,u.value=r[i.columnName]);angular.isUndefined(i.valueType)||(i.valueType=="bool"?u.value=u.value?i.trueValue:!1:i.valueType=="int"&&(u.value=parseInt(u.value)));t.push(u)}}),t},e=function(i,r){return t=[],angular.forEach(i.columns,function(i){if(!angular.isUndefined(r[i.columnName])){var u={};angular.isUndefined(i.replaceColumn)?(u.columnName=n.pascalCase(i.columnName),u.operator=i.operator,u.value=r[i.columnName]):(u.columnName=n.pascalCase(i.replaceColumn),u.operator=i.operator,u.value=r[i.columnName]);angular.isUndefined(i.valueType)||(u.value=i.valueType=="bool"?u.value==i.trueValue?!0:!1:parseInt(u.value));t.push(u)}}),t},o=function(i,r){return t=[],angular.forEach(i.columns,function(i){if(!angular.isUndefined(r[i.columnName])&&r[i.columnName]!=""&&r[i.columnName]!=null){var u={};angular.isUndefined(i.replaceColumn)?(u.columnName=n.pascalCase(i.columnName),u.operator=i.operator,u.value=r[i.columnName]):(u.columnName=n.pascalCase(i.replaceColumn),u.operator=i.operator,u.value=r[i.columnName]);angular.isUndefined(i.valueType)||(u.value=i.valueType=="bool"?u.value==i.trueValue?!0:!1:parseInt(u.value));t.push(u)}}),t},s=function(n,f){return t=[],i=[],angular.forEach(n,function(n){n.operatorType=="operator"?r(n,f).length>0&&i.push({operator:n.conditionalOperator,conditions:r(n,f)}):u(n,f)}),i};return{getQuery:s}}]),rx.factory("request",["$routeParams","$location","rxEncode",function(n,t,i){return{cookies:function(){return{value:null}},queryString:function(t,r){return angular.isUndefined(r)?i.decode(n[t]):n[t]},rawUrl:function(){return t.path()},Url:function(){return t.absUrl()}}}]),rx.factory("rxTreeData",function(){var n={activeTree:{}};return n.setCheckboxTree=function(t,i){n[t].checkedSource=i},n.setTreeRootObject=function(t,i,r){angular.isUndefined(n[i])?(n[i]={},n[i].rootObject=t,n[i].parentObjects=r):(n[i].rootObject=t,n[i].parentObjects=r)},n.setTreeParentObject=function(t,i,r){angular.isUndefined(n[i])?(n[i]={},n[i].parentObject=t,n[i].childObjects=r):(n[i].parentObject=t,n[i].childObjects=r)},n.setTreeChildObject=function(t,i){angular.isUndefined(n[i])?n[i]={}:n[i].childObject=t},n.setTreeName=function(t){n.activeTree=t},n.deleteParentObject=function(t){var r=n[n.activeTree].rootObject.parentObjects.indexOf(t),u,f,i;if(r!=-1)for(u=n[n.activeTree].rootObject.parentObjects.length,f=n[n.activeTree].rootObject.parentObjects,n[n.activeTree].rootObject.parentObjects=[],i=0;i<u;i++)i!=r&&n[n.activeTree].rootObject.parentObjects.push(f[i])},n.deleteChildObject=function(t){var i=n[n.activeTree].rootObject.parentObjects.indexOf(n[n.activeTree].parentObject),u=n[n.activeTree].rootObject.parentObjects[i].parentObjects.indexOf(t),f,e,r;if(u!=-1)for(f=n[n.activeTree].rootObject.parentObjects[i].parentObjects.length,e=n[n.activeTree].rootObject.parentObjects[i].parentObjects,n[n.activeTree].rootObject.parentObjects[i].parentObjects=[],r=0;r<f;r++)r!=u&&n[n.activeTree].rootObject.parentObjects[i].parentObjects.push(e[r])},n.addParentObject=function(t){t.parentObjects=[];t.showParent=!0;n[n.activeTree].parentObjects.push(t)},n.addChildObject=function(t){t.cssClass="icon-remove";t.childSelectedCss="";t.showEditIcon=!1;n[n.activeTree].childObjects.push(t)},n.setRuleTreeObject=function(t,i){n.activeRuleTree=t;angular.isUndefined(n[t])?(n[t]={},n[t].source=i):n[t].source=i},n.setCurrentObject=function(t,i){n[t].activeObject=i},n}),rx.factory("response",["$location","$cookieStore","cookieconfig","$route",function(n,t){return{redirect:function(t){n.url(t)},cookies:function(n){return{add:function(t,i){var r=new Date,u;r.setDate(r.getDate()+i);u=escape(t)+(i==null?"":"; expires="+r.toUTCString());document.cookie=n+"="+u},put:function(i){t[n]=angular.toJson(i)},expires:function(){document.cookie=n+"=; expires=Thu, 01-Jan-70 00:00:01 GMT;"}}},expireToken:function(){},refresh:function(){location.reload()}}}]),rx.factory("cookieconfig",["$cookieStore","cacheData",function(n,t){return{get:function(n){var i,r,f,e,u;if(n=="attachmentType"||n=="attachmentEntityId"||n=="selectedDocumentFileId"||n=="selectedDocumentFileName")return t.fetch(n);if(n=="lid"){if(i=amplify.store("userOffice"),!angular.isUndefined(i))return i.userOffice.userId}else if(n=="fullName"){if(i=amplify.store("userOffice"),!angular.isUndefined(i))return i.userOffice.fullName}else if(n=="emailOne"){if(i=amplify.store("userOffice"),!angular.isUndefined(i))return i.userOffice.emailOne}else for(u=document.cookie.split(";"),r=0;r<u.length;r++)if(f=u[r].substr(0,u[r].indexOf("=")),e=u[r].substr(u[r].indexOf("=")+1),f=f.replace(/^\s+|\s+$/g,""),f==n)return unescape(e)},save:function(n,i,r,u){var f,e;if((n=="attachmentType"||n=="attachmentEntityId"||n=="selectedDocumentFileId"||n=="selectedDocumentFileName")&&u==undefined){t.save(n,i);return}f=new Date;f.setDate(f.getDate()+r);e=escape(i)+(r==null?";path=/;":";path=/; expires="+f.toUTCString());document.cookie=n+"="+e},put:function(t,i){n[t]=angular.toJson(i)},remove:function(n){document.cookie=n+"=; path=/; expires=Thu, 01-Jan-70 00:00:01 GMT;"}}}]),rx.factory("rxAuth",["cookieconfig","cacheData",function(n){var t=n.get("accessCode"),i=function(){return n.get("username")},r=n.get("rolename"),u=function(){return n.get("__RequestVerificationToken")!=null&&n.get("__RequestVerificationToken")!=undefined?!0:!1};return{UserLoginID:t,User:i,UserRole:r,IsUserAuthenticate:u}}]),rx.factory("rxEncode",["$window",function(n){return{name:"Base64",readonly:!1,encode:function(t){n.btoa=base64.encode;var i=n.btoa(t);return i=i.replace("=","00"),i.replace("=","00")},decode:function(t){n.atob=base64.decode;var i=t.replace("00","=");return i=i.replace("00","="),n.atob(i)}}}]),rx.factory("rxUtils",function(){var n=function(n){return _.escape(n)},t=function(n){return _.unescape(n)},i=function(n){var t=n.split("/");return moment([t[2],t[0]-1,t[1]]).dayOfYear()},r=function(n){var t=n.split("/");return moment([t[2],t[0]-1,t[1]]).get("year")},u=function(n,t){var i=n.split("/"),r=moment([i[2],i[0]-1,i[1]]).add("days",t);return r.format("L")},f=function(n){var t=window.screen.availHeight>1e3?window.screen.availHeight-200:window.screen.availHeight-150;$("body").append('<embed id="pdfFile" height="'+t+'" src="'+n+'"  style="width:100%" type="application/pdf" />')};return{safeHtml:n,convertToHtml:t,getDayOfYear:i,getYear:r,addDays:u,showPdf:f}}),rx.factory("rxDiaryData",["$rootScope",function(){var n={};return n.setActiveDaiary=function(t,i){n[t]=i},n.setLeaveDetail=function(t,i){n[t].leaveDates=i},n.getLeaveDates=function(t){var c=[],e,r,o,i,s,u,h,f;if(n[t].leaveDates!=null&&n[t].leaveDates.length>0)for(e=0;e<n[t].leaveDates.length;e++)if(r=n[t].leaveDates[e],r!=null&&r.columns!=null&&r.columns.length>0)for(o=0;o<r.columns.length;o++)if(i=r.columns[o],i!=null&&i.months!=null&&i.months.dates!=null&&i.months.dates.length>0)for(s=0;s<i.months.dates.length;s++)if(u=i.months.dates[s],u!=null&&u.week!=null&&u.week.length>0)for(h=0;h<u.week.length;h++)f=u.week[h],f!=null&&f.applicationDateId>0&&c.push({applicationDateId:f.applicationDateId,startTime:f.startTime,endTime:f.endTime});return c},n}]),rx.factory("rxPopupData",function(){var n={activeName:""};return n.setObject=function(t,i){angular.isUndefined(n[i])&&(n[i]={});n[i]=t},n}),rx.factory("rxMobile",function(){var n=function(){return MobileEsp.DetectAndroid()||MobileEsp.DetectBlackBerry()||MobileEsp.DetectIpad()||MobileEsp.DetectWindowsPhone7()?!0:!1};return{isMobileDevice:n}}),rx.filter("rxLocalisation",["appConfig",function(n){return function(t,i){if(!angular.isUndefined(t)&&t!=null&&n.userTimezoneName!=null)return(t.indexOf("+")!=-1||t.split("-").length==4)&&(t=t.substr(0,t.length-6)),i?moment.utc(t).tz(n.userTimezoneName).format("HH:mm"):moment.utc(t).tz(n.userTimezoneName).format("DD/MM/YYYY")}}]),rx.filter("rxDateTimeFormatter",function(){return function(n,t,i,r,u){if(!angular.isUndefined(n)&&n!=null){var f=moment(n,t).format(i);return r!=undefined&&u!=undefined&&(r[u+"_formattedDateTime"]=f),f}}}),globalXhrHandler=[],rx.factory("configuration",function(){return{global:{searchStartString:!0}}}),rx.factory("clientcontext",["$rootScope","rxWait","cacheData","rxLog","configuration","rxOdataQueryOptions","appConfig","cookieconfig",function(n,t,i,r,u,f,e,o){function y(n,i){t.showLoader();n!=undefined&&n.userId!=undefined?amplify.request("applicationLogRequest",n,i):i()}function p(){var n=setTimeout(function(){var n=h("#contentAreaId").height(),t;n!=null&&(t=h(window).height()-(h("#navbar").height()+2),h("#sidebar").height(t>n?t:n))},3e3)}function b(n){var t={};return t.authorizationHeader=i.fetch("oauth"),t.sessionHeader=i.fetch("sauth"),t.responseText=n.responseText,t.responseStatus=n.status,t.requestVerification=i.fetch("__RequestVerificationToken"),{url:window.location.href,message:"Response Text :- "+n.responseText,exceptionType:"Application Logout Logs",exceptionSource:JSON.stringify(t),stackTrace:String(n.status),innerException:"Response Text :- "+n.responseText,userId:o.get("lid")}}function k(){var n={queryOptions:"/?",queryNumber:0,isFilter:!1,url:"",key:""},o,r;return setUrl=function(t,i){return n.queryOptions="/?",n.queryNumber=0,n.url=t,n.key=i,n.isStoreProcedure=!1,n.jObject={},n},n.newQuery=function(){return n.queryOptions="/?",n.queryNumber=0,n.jObject={},n},n.records=function(t){return n.isStoreProcedure&&(n.jObject.count=t),n.queryNumber++,n},n.page=function(t){return n.isStoreProcedure&&(n.jObject.page=t),n.queryNumber++,n},n.top=function(t){return n.queryOptions+=n.queryNumber==0?"$top="+t:"&$top="+t,n.queryNumber++,n},n.expand=function(t){for(var i=0;i<t.length;i++)n.queryOptions+=n.queryNumber==0?"$expand="+t[i]:"&$expand="+t[i],n.queryNumber++;return n},n.orderBy=function(t){return n.queryOptions+=n.queryNumber==0?"$orderby="+t.columnName+" "+t.order:"&$orderby="+t.columnName+" "+t.order,n.queryNumber++,n},n.convertArrayColumn="",n.arrayObject=function(t){return n.convertArrayColumn=t,n},n.orderBy=function(t){return n.queryOptions+=n.queryNumber==0?"$orderby="+t.columnName+" "+t.order:"&$orderby="+t.columnName+" "+t.order,n.queryNumber++,n},n.select=function(t){var i="",r=t.length-1,u=0;return angular.forEach(t,function(n){i+=r==u?n:n+","}),n.queryOptions+=n.queryNumber==0?"$select="+i:"&$select="+i,n},n.skip=function(t){return n.queryOptions+=n.queryNumber==0?"$skip="+t:"&$skip="+t,n.queryNumber++,n},n.queryFilter=function(t,i,r,u,e,o,s,h,c,l){angular.isUndefined(u)||(n.jObject[u]=e);angular.isUndefined(r)||(n.isStoreProcedure=r);angular.isUndefined(h)||(n.jObject.SortColumn=h,n.jObject.SortOrder=c);angular.isUndefined(l)||(n.jObject.customFieldData=l);var a=f.getQuery(t,i);return a.length>0?angular.isUndefined(o)?n.filter(a):(n.filter(a),a=f.getQuery(o,s),n.customFilter(a)):angular.isUndefined(o)?n:(n.filter(a),a=f.getQuery(o,s),n.customFilter(a))},n.customFilter=function(t){var i,a,c,f,e;n.customQueryOptions="";var v=0,l=0,s="",h=!1;if(angular.isArray(t)){for(i=0;i<t.length;i++)if(angular.isUndefined(t[i].forceOperator))for(h&&(n.isStoreProcedure||(e=s.length+3,n.customQueryOptions=n.queryOptions.substring(0,n.queryOptions.length-e),h=!1,n.customQueryOptions+=" "+t[i].operator+" ")),s=t[i].operator,f=0;f<t[i].conditions.length;f++)t[i].conditions[f].operator=="contains"?u.searchStartString?n.startsWith(t[i].conditions[f].columnName,t[i].conditions[f].value,!0):n.subsStringOf(t[i].conditions[f].columnName,t[i].conditions[f].value,!0):n.customQueryOptions+=t[i].conditions[f].columnName+" "+o(t[i].conditions[f].operator)+" "+r(t[i].conditions[f].value)+" ",l=0,v++,n.customQueryOptions+=n.isStoreProcedure?" "+t[i].operator.replace("and","LCEs!IyQ").replace("or","LCEs-IyQ")+" ":" "+t[i].operator+" ";else for(h=!0,n.isStoreProcedure||(n.queryOptions+="("),a=t[i].conditions.length-1,c=0,f=0;f<t[i].conditions.length;f++)s=t[i].conditions[f].nextOperator,t[i].conditions[f].operator=="contains"?u.searchStartString?n.startsWith(t[i].conditions[f].columnName,t[i].conditions[f].value,!0):n.subsStringOf(t[i].conditions[f].columnName,t[i].conditions[f].value,!0):n.customQueryOptions+=n.isStoreProcedure?f==0?t[i].conditions[f].columnName+" "+o(t[i].conditions[f].operator)+" "+r(t[i].conditions[f].value)+" ":" LCEs#IyQ "+r(t[i].conditions[f].value)+" ":t[i].conditions[f].columnName+" "+o(t[i].conditions[f].operator)+" "+r(t[i].conditions[f].value)+" ",l=0,a==c?n.customQueryOptions+=n.isStoreProcedure?" "+t[i].conditions[f].nextOperator.replace("and","LCEs!IyQ").replace("or","LCEs-IyQ")+" ":" )  "+t[i].conditions[f].nextOperator+" ":n.queryOptions+=" "+t[i].forceOperator.replace("and","LCEs!IyQ").replace("or","LCEs-IyQ")+" ",c++;e=s.length+3;n.isStoreProcedure||(n.customQueryOptions=n.customQueryOptions.substring(0,n.queryOptions.length-e))}else n.customQueryOptions+=t.columnName+" "+o(t.operator)+" "+r(t.value)+" ";return n.queryNumber++,n.isStoreProcedure&&(n.jObject.gridQuery=n.customQueryOptions.replace("/?","")),n},n.filter=function(t){var v=0,l=0,e,h,i,a,c,f,s;if(n.isFilter||(n.queryOptions+=n.queryNumber==0?"$filter=":"&$filter=",n.queryOptions=n.isStoreProcedure?"?query=":n.queryOptions,n.isFilter=!0),e="",h=!1,angular.isArray(t)){for(i=0;i<t.length;i++)if(angular.isUndefined(t[i].forceOperator))for(h&&(n.isStoreProcedure||(s=e.length+3,n.queryOptions=n.queryOptions.substring(0,n.queryOptions.length-s),h=!1,n.queryOptions+=" "+t[i].operator+" ")),e=t[i].operator,f=0;f<t[i].conditions.length;f++)t[i].conditions[f].operator=="contains"?u.searchStartString?n.startsWith(t[i].conditions[f].columnName,t[i].conditions[f].value,!0):n.subsStringOf(t[i].conditions[f].columnName,t[i].conditions[f].value,!0):n.queryOptions+=t[i].conditions[f].columnName+" "+o(t[i].conditions[f].operator)+" "+r(t[i].conditions[f].value)+" ",l=0,v++,n.queryOptions+=n.isStoreProcedure?" "+t[i].operator.replace("and","LCEs!IyQ").replace("or","LCEs-IyQ")+" ":" "+t[i].operator+" ";else for(h=!0,n.isStoreProcedure||(n.queryOptions+="("),a=t[i].conditions.length-1,c=0,f=0;f<t[i].conditions.length;f++)e=t[i].conditions[f].nextOperator,t[i].conditions[f].operator=="contains"?u.searchStartString?n.startsWith(t[i].conditions[f].columnName,t[i].conditions[f].value,!0):n.subsStringOf(t[i].conditions[f].columnName,t[i].conditions[f].value,!0):n.queryOptions+=n.isStoreProcedure?f==0?t[i].conditions[f].columnName+" "+o(t[i].conditions[f].operator)+" "+r(t[i].conditions[f].value)+" ":" , "+r(t[i].conditions[f].value)+" ":t[i].conditions[f].columnName+" "+o(t[i].conditions[f].operator)+" "+r(t[i].conditions[f].value)+" ",l=0,n.queryOptions+=a==c?n.isStoreProcedure?" "+t[i].conditions[f].nextOperator.replace("and","LCEs!IyQ").replace("or","LCEs-IyQ")+" ":" )  "+t[i].conditions[f].nextOperator+" ":n.isStoreProcedure?" , "+t[i].forceOperator.replace("and","LCEs!IyQ").replace("or","LCEs-IyQ")+" ":" "+t[i].forceOperator+" ",c++;s=e.length+3;n.isStoreProcedure||(n.queryOptions=n.queryOptions.substring(0,n.queryOptions.length-s))}else n.queryOptions+=t.columnName+" "+o(t.operator)+" "+r(t.value)+" ";return n.queryNumber++,n.isStoreProcedure&&(n.jObject.query=n.queryOptions.replace("/?",""),n.jObject.query=n.jObject.query.replace("?query=","")),n},n.and=function(){return n.queryOptions+=n.queryNumber==0?"":" and ",n.queryNumber++,n},n.or=function(){return n.queryOptions+=n.queryNumber==0?"":" or ",n.queryNumber++,n},n.subsStringOf=function(t,i,u){return n.isFilter||(n.queryOptions+=n.queryNumber==0?"$filter=":"&$filter=",n.isFilter=!0),u=angular.isUndefined(u)?!0:u,n.queryOptions+="substringof("+r(i)+", "+t+") eq "+u+" ",n.queryNumber++,n},n.endsWith=function(t,i,u){return n.isFilter||(n.queryOptions+=n.queryNumber==0?"$filter=":"&$filter=",n.isFilter=!0),u=angular.isUndefined(u)?!0:u,n.queryOptions+="substringof("+t+", "+r(i)+") eq "+u+" ",n.queryNumber++,n},n.length=function(t,i){return n.isFilter||(n.queryOptions+=n.queryNumber==0?"$filter=":"&$filter=",n.isFilter=!0),_bool=angular.isUndefined(_bool)?!0:_bool,n.queryOptions+="length("+t+") eq "+i+" ",n.queryNumber++,n},n.startsWith=function(t,i,u){return n.isFilter||(n.queryOptions+=n.queryNumber==0?"$filter=":"&$filter=",n.isFilter=!0),u=angular.isUndefined(u)?!0:u,n.queryOptions+=n.isStoreProcedure?t+' eq "'+i+'"':"startswith("+t+", "+r(i)+") eq "+u+" ",n.queryNumber++,n},n.get=function(){n.queryOptions=n.queryOptions=="/?"?"":n.queryOptions;amplify.request.define(n.key,"ajax",{url:n.url+n.queryOptions,dataType:"json",type:"GET",decoder:"fastTrackDecoder",beforeSend:function(n,r){var f,o,u;return globalXhrHandler.push(n),t.isLoaderActive||checkPopover(r)||t.pageShow(),angular.isUndefined(i.fetch("oauth"))||(f=i.fetch("oauth"),n.setRequestHeader("Authorization",f)),angular.isUndefined(i.fetch("sauth"))||(o=i.fetch("sauth"),n.setRequestHeader("x-session",o)),u=i.fetch("timezoneOffset"),u!=null&&u!=""&&n.setRequestHeader("x-tzoffset",u),e.userTimezoneName!=null&&e.userTimezoneName!=""&&n.setRequestHeader("x-tzname",e.userTimezoneName),iName!=null&&n.setRequestHeader("x-iname",iName),!0}});n.queryOptions="/?";n.queryNumber=0;n.isFilter=!1;var r=function(n,t){return amplify.request({resourceId:t,success:n.success,error:n.error})};return n.queryNumber=0,h.Deferred(function(t){r({success:function(i){var u,r;if(n.queryOptions="/?",n.queryNumber=0,n.isFilter=!1,n.isStoreProcedure=!1,n.convertArrayColumn!=""){for(u=[],r=0;r<i.length;r++)u.push(i[r][n.convertArrayColumn]);n.convertArrayColumn="";t.resolve(u)}else t.resolve(i)},error:function(){t.reject()}},n.key)}).promise()},n.post=function(){amplify.request.define(n.key,"ajax",{url:n.url,dataType:"json",data:n.jObject,type:"POST",decoder:"fastTrackDecoder",beforeSend:function(n,r){var f,o,u;return globalXhrHandler.push(n),t.isLoaderActive||checkPopover(r)||t.pageShow(),angular.isUndefined(i.fetch("oauth"))||(f=i.fetch("oauth"),n.setRequestHeader("Authorization",f)),angular.isUndefined(i.fetch("sauth"))||(o=i.fetch("sauth"),n.setRequestHeader("x-session",o)),u=i.fetch("timezoneOffset"),u!=null&&u!=""&&n.setRequestHeader("x-tzoffset",u),e.userTimezoneName!=null&&e.userTimezoneName!=""&&n.setRequestHeader("x-tzname",e.userTimezoneName),iName!=null&&n.setRequestHeader("x-iname",iName),!0}});n.jObject={};var r=function(n,t){return amplify.request({resourceId:t,success:n.success,error:n.error})};return n.queryNumber=0,h.Deferred(function(t){r({success:function(i){var u,r;if(n.queryOptions="/?",n.queryNumber=0,n.isFilter=!1,n.isStoreProcedure=!1,n.convertArrayColumn!=""){for(u=[],r=0;r<i.length;r++)u.push(i[r][n.convertArrayColumn]);n.convertArrayColumn="";t.resolve(u)}else t.resolve(i)},error:function(){t.reject()}},n.key)}).promise()},o=function(n){switch(n){case"=":return" eq ";case"!=":return" ne ";case">":return" gt ";case">=":return" ge ";case"<":return" lt ";case"<=":return" le "}},r=function(t){return n.isStoreProcedure?t:(angular.isString(t)&&t.indexOf("'")!=-1&&(t=t.replace(/'/g,"''")),angular.isString(t)?"'"+t+"'":t)},{setUrl:setUrl}}var h=window.jQuery,s="",c={},l=[],a=0,v="",w=function(n,t){return c={},angular.isUndefined(n.get)||(s=t+"get",requestDefine(n.get,"GET")),angular.isUndefined(n.post)||(s=t+"post",requestDefine(n.post,"POST")),angular.isUndefined(n.put)||(s=t+"put",requestDefine(n.put,"PUT")),angular.isUndefined(n.del)||(s=t+"del",requestDefine(n.del,"DELETE")),angular.isUndefined(n.getby)||(s=t+"getby",requestDefine(n.getby,"GETBY")),angular.isUndefined(n.oData)||(s=t+"odata",requestDefine(n.oData,"oData")),c};return requestDefine=function(r,u){v=u;l=[];for(var f in r)f=String(f),l.push(f.charAt(0).toUpperCase()+f.slice(1));a=0;angular.forEach(r,function(r){var f=r.split("/"),h;if(v=u=="GETBY"?"GET":u,amplify.request.define(s+f[f.length-1],"ajax",{url:r,dataType:"json",type:v,decoder:"fastTrackDecoder",beforeSend:function(r,u){var l,f,a,s,v,h,y,c;return u!=null&&u.url!=null&&u.url.toLowerCase()!="api/userpermission/backofficemenu"&&u.url.toLowerCase()!="api/userpermission/webconfiguration"&&globalXhrHandler.push(r),t.isLoaderActive||checkPopover(u)||t.pageShow(),n.currentIName!=undefined&&(n.currentIName.entryType!=undefined?n.currentIName.entryType=="Client"?(i.save("isJobOrderBCrumb",!0),iName="Client"):n.currentIName.entryType=="Candidate"?iName="Candidate":n.currentIName.entryType=="Job Order Permanent"?iName="JobOrderPermanent":n.currentIName.entryType=="Job Order Temporary"?iName="JobOrderTemporary":n.currentIName.entryType=="Job Order Contract"?iName="JobOrderContract":n.currentIName.entryType=="Parent"?iName="Parent":n.currentIName.entryType=="Cost Centre"?(i.save("isJobOrderBCrumb",!0),iName="Cost_Centre"):n.currentIName.entryType=="Client Contact"&&(iName="Client_Contact_Record"):n.currentIName.itemName!=null&&n.currentIName.itemName=="Job Referral"&&(iName="Job_Referral")),l=new Date,f=new Array(7),f[0]="Sun",f[1]="Mon",f[2]="Tues",f[3]="Wed",f[4]="Thur",f[5]="Fri",f[6]="Sat",a=moment().calendar(),s=a.replace("Today at",f[l.getDay()]),s=s.split(" "),r.setRequestHeader("x-cTime",moment().format("L")+"-"+s[1]+" "+s[2]),angular.isUndefined(i.fetch("aft"))||(v=i.fetch("aft"),r.setRequestHeader("X-Aft",v)),angular.isUndefined(i.fetch("oauth"))||(h=i.fetch("oauth"),r.setRequestHeader("Authorization",h)),h=i.fetch("rverification"),angular.isUndefined(h)||r.setRequestHeader("x-RequestVerificationToken",h),angular.isUndefined(i.fetch("sauth"))||(y=i.fetch("sauth"),r.setRequestHeader("x-session",y)),globalIsLogoAvailable!=undefined&&globalIsLogoAvailable!=null&&r.setRequestHeader("x-isLogoAvailable",globalIsLogoAvailable),globalIsLogoRemove!=undefined&&globalIsLogoRemove!=null&&r.setRequestHeader("x-isLogoRemove",globalIsLogoRemove),c=i.fetch("timezoneOffset"),c!=null&&c!=""&&r.setRequestHeader("x-tzoffset",c),e.userTimezoneName!=null&&e.userTimezoneName!=""&&r.setRequestHeader("x-tzname",e.userTimezoneName),iName!=null&&r.setRequestHeader("x-iname",iName),i.save("__RequestVerificationToken",o.get("__RequestVerificationToken")),!0}}),u=="GET")h=function(n,t){return amplify.request({resourceId:t,success:n.success,error:n.error})},c["get"+l[a]]=getData(h,s+f[f.length-1]);else if(u=="oData")c["oData"+l[a]]=k().setUrl(r,s+f[f.length-1]);else{h=function(n,t,i){return amplify.request({resourceId:i,data:t,success:n.success,error:n.error})};switch(u){case"POST":c["post"+l[a]]=postData(h,s+f[f.length-1]);break;case"PUT":c["put"+l[a]]=putData(h,s+f[f.length-1]);break;case"DELETE":c["delete"+l[a]]=deleteData(h,s+f[f.length-1]);break;case"GETBY":c["getBy"+l[a]]=getByData(h,s+f[f.length-1])}}a++})},getData=function(n,t){return get=function(){return h.Deferred(function(i){n({success:function(n){i.resolve(n)},error:function(){i.reject()}},t)}).promise()},{get:get}},postData=function(n,t){return post=function(i){return h.Deferred(function(r){n({success:function(n){r.resolve(n)},error:function(){r.reject()}},i,t)}).promise()},{post:post}},putData=function(t,i){return put=function(r){return h.Deferred(function(u){t({success:function(t){n.isEntityChanged=!1;n.entityFlagChanged=!1;n.$apply();u.resolve(t)},error:function(){u.reject()}},r,i)}).promise()},{put:put}},deleteData=function(n,t){var i=function(i){return h.Deferred(function(r){n({success:function(n){r.resolve(n)},error:function(){r.reject()}},i,t)}).promise()};return{del:i}},getByData=function(n,t){return get=function(i){return h.Deferred(function(r){n({success:function(n){r.resolve(n)},error:function(){r.reject()}},i,t)}).promise()},{get:get}},checkPopover=function(n){var t=!1;return angular.forEach(e.applicationPopovers,function(i){if(n.url.toLowerCase().indexOf(i.toLowerCase())!=-1){t=!0;return}}),t},amplify.request.define("applicationLogRequest","ajax",{url:"api/applicationlog",type:"POST"}),amplify.request.decoders.fastTrackDecoder=function(n,u,f,o){var v=globalXhrHandler.indexOf(f),w,s,h,c,a,l;v!=-1&&globalXhrHandler.splice(v,1);w=setTimeout(function(){globalXhrHandler.length==0&&(angular.isUndefined(t.isSectionGroupLoading)||!t.isSectionGroupLoading)&&(t.pageHide(),t.isLoaderActive=!1,console.log("ClientContext :: Loader hide"))},100);s=undefined;(f.status==406||f.status==412||f.status==417)&&(s=b(f));h=f.getResponseHeader("Authorization");h!=undefined&&h!=null&&i.save("oauth",h);c=f.getResponseHeader("x-session");c!=undefined&&c!=null?i.save("sauth",c):i.clear("sauth");f.status==200?(o(n),n=undefined,p()):u==="success"?(o(n),n=undefined,p()):f.status==204?(o(n),n=undefined,p()):f.status==400?t.hide():f.status==409?(t.hide(),a=contextFindJson.find(deleteMessages,{gridName:activeGridJson})[0],angular.isUndefined(a)?r.error("Data cannot be deleted"):(l="",activeGridJson=="costCentreGrid"&&(l=f.getResponseHeader("x-usedJobOrders")),r.error(a.message+" "+l))):f.status==408?(t.hide(),r.error(f.responseText)):f.status==406?y(s,function(){t.hide();localStorage.clear();amplify.store("isExpired",!0,864e5);window.open("index?response="+rxEncoder.encode("406"),"_self")}):f.status==412?y(s,function(){t.hide();localStorage.clear();amplify.store("isExpired",!0,864e5);window.open("index?response="+rxEncoder.encode("412"),"_self")}):f.status==417?y(s,function(){t.hide();localStorage.clear();amplify.store("isExpired",!0,864e5);window.open("index?response="+rxEncoder.encode("417"),"_self")}):f.status==401?(t.hide(),r.error("Unauthorized Access")):f.status==403?(t.hide(),r.error("Data cannot be deleted")):u==="fail"||u==="error"?(e.notifications.serverError&&r.error(f.responseText,!0),t.hide()):t.hide()},{initializeApi:w}}]),globalDirtyCheck={},rx.directive("rxTip",["appConfig",function(n){"use strict";return{restrict:"A",link:function(t,i,r){var e=t.$on("$destroy",function(){u!=undefined&&(u(),u=null);e();e=null;$(i).tooltip("destroy");$(i).detach();$(i).remove();i=null;r=null;t=null}),o,u,f;r.mainObject!=undefined&&r.property!=undefined?(o=r.mainObject+"."+r.property,u=t.$watch(o,function(u){var e,o,f;u!=undefined&&($(i).tooltip("destroy"),e="",angular.isUndefined(r.tipType)?e=t[r.mainObject][r.property]:r.tipType=="date"?(f=t[r.mainObject][r.property],o=angular.isUndefined(r.dateFormat)?n.dateConfig.inputFormats.date:r.dateFormat,e=angular.isUndefined(f)||f==null||f==""||o==""?"":moment(f,o).format(n.dateConfig.displayFormats.date)):r.tipType=="checkbox"?(f=t[r.mainObject][r.property],e=r.trueText!=undefined?f?r.trueText:r.falseText:f==0?"InActive":"Active"):r.tipType=="formatted-date"&&(f=t[r.mainObject][r.property],f!=null&&f!=""&&r.inputFormat!=null&&r.displayFormat!=null&&(e=moment(f,r.inputFormat).format(r.displayFormat))),e!=""&&$(i).tooltip({title:e,trigger:r.tipTrigger,placement:angular.isUndefined(r.tipPlacement)?"top":r.tipPlacement,delay:{show:200,hide:0}}))},!0)):(f=r.title,f!=""&&$(i).tooltip({title:f,trigger:r.tipTrigger,placement:angular.isUndefined(r.tipPlacement)?"top":r.tipPlacement,delay:{show:200,hide:0}}))}}}]),rx.directive("rxLock",["rxRecordLock",function(n){"use strict";return{restrict:"A",link:function(t,i,r){var u=t.$on("$destroy",function(){$(i).off();$(i).remove();u();u=null;t=null;i=null;r=null});n.isEdit||$(i).disable()}}}]),rx.directive("rxEntityLock",["$rootScope",function(n){"use strict";return{restrict:"A",link:function(t,i,r){var u=t.$on("$destroy",function(){u();u=null;t=null;$(i).off();$(i).remove();i=null;r=null});$(i).click(function(){t.$apply(function(){var i={entityId:0,entityType:r.rxEntityLock,serverTime:n.currentPageTime};t.eLock=i;t.$eval("entityLock(eLock)")})})}}}]),rx.directive("rxFormValid",[function(){"use strict";return{require:"form",scope:{validateScope:"@"},restrict:"A",link:function(n,t,i,r){var s=n.$on("$destroy",function(){s();f();o();e();u!=null&&(u(),u=null);e=null;o=null;f=null;s=null;i=null;var h=setTimeout(function(){t.remove();t=null},50);r=null;n=null}),h=!1,f,e,u,o;n.isEditMode=!1;r.$rxvalid=!1;f=n.$on("newInstanceBroadcaster",function(t){t!=null&&t!=""&&(r.$rxvalid=!1,n.isEditMode=!1)});n.rxDirtyObjectChanged=function(){n.isEditMode&&(r.$rxvalid=angular.equals(globalDirtyCheck[r.$name],globalDirtyCheck["base"+r.$name])?!1:!0,globalDirtyCheck.currentForm=r)};n["base"+r.$name]={};e=n.$watch("base"+r.$name,function(){n.rxDirtyObjectChanged()},!0);globalDirtyCheck["base"+r.$name]=n["base"+r.$name];u=null;o=n.$on("dirtyCheckBroadCaster",function(t,i){if(r.$name==i&&(n.isEditMode=!0),r.$name==i&&!h){h=!0;r.$rxvalid=!1;n[r.$name]=globalDirtyCheck[r.$name];var u=n.$watch(r.$name,function(){n.rxDirtyObjectChanged()},!0);globalDirtyCheck[r.$name]=n[r.$name]}});i.validateScope!=undefined&&n.$watch("validateScope",function(n){n!=undefined&&(globalDirtyCheck.isFormValid=n)},!0)}}}]),rx.directive("rxRuleClick",["$rootScope","rxPage",function(n,t){"use strict";return{restrict:"A",scope:{ruleObject:"="},link:function(n,i,r){var u=n.$on("$destroy",function(){u();u=null;n=null;$(i).off();$(i).remove();i=null;r=null});$(i).click(function(){var u,f,i;if(r.ruleRequest!=undefined){u=n.$parent.$eval(r.ruleRequest);for(i in u)t.jObject[i]=u[i]}f={clientData:t.jObject};for(i in n.ruleObject)f[i]=n.ruleObject[i];$.ajax({url:"api/ruleCheck",data:f,type:"POST",beforeSend:function(n){var i=amplify.store("oauth"),t;n.setRequestHeader("Authorization",i);t=amplify.store("sauth");t!=null&&t!=""&&n.setRequestHeader("x-session",t)},dataType:"json",async:!1,success:function(t){n.$apply(function(){var i,u;n.$parent.ruleValidateStatus=t;i=n.$parent.$eval(r.validationEvent+"(ruleValidateStatus)");i&&(global.isGlobalFunctionExists(r.rxRuleClick)?(u=global.getLookupValues(r.rxRuleClick),$.ajax({url:global.validationUrl,data:{lookup:u},type:"POST",beforeSend:function(n){var i=amplify.store("oauth"),t;n.setRequestHeader("Authorization",i);t=amplify.store("sauth");t!=null&&t!=""&&n.setRequestHeader("x-session",t)},dataType:"json",async:!1,success:function(t){global.setLookupValues(t)&&n.$parent.$eval(r.rxRuleClick)}})):n.$parent.$eval(r.rxRuleClick))})}})})}}}]),rx.directive("rxContextMenuClick",[function(){"use strict";return{restrict:"A",scope:{contextItem:"="},link:function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;t.off();t.detach();t.remove();t=null;n=null;i=null}),u=n.$on("$rxDestroy",function(){u();u=null;r();r=null;t.off();t.detach();t.remove();i=null;n=null});$(t).click(function(){n.$parent.cti=n.contextItem;n.$parent.$eval("contextQueryEvent(cti)")})}}}]),rx.directive("rxPermission",["rxUserPermission","rxJson","appConfig",function(n,t,i){"use strict";return{restrict:"A",link:function(r,u,f){function a(){o&&c!=null&&(c(),c=null,y(),y=null,f=null,u=null,r=null)}var c=null,o=!1,y=r.$on("$destroy",function(){c!=null&&(c(),c=null);y();y=null;u.off();u.remove();u=null;f=null;r=null}),p,v,l,h,s,e;if(u.hasClass("rx-editable")||(u[0].tagName.toLowerCase()=="button"&&n.isJobOrderStatusClosed&&!f.allowClosejob&&u.addClass("disabled"),c=r.$on("$disabled",function(){u[0].tagName.toLowerCase()=="button"&&n.isJobOrderStatusClosed?u.addClass("disabled"):u[0].tagName.toLowerCase()!="button"||n.isJobOrderStatusClosed||u.removeClass("disabled")})),angular.isUndefined(f.operationType)||f.operationType!="securityGeneralItems")if(angular.isUndefined(f.operationType)||f.operationType!="backOffice")if(angular.isUndefined(f.operationType)||f.operationType!="menu")angular.isUndefined(f.operationType)||f.operationType!="maintenance"||(e=t.find(n.maintenanceContext,{permissionItemName:f.rxPermission})[0],e!=undefined&&(e.canAdd||e.canEdit||e.canView||e.fullControl||(u.remove(),o=!0)));else{for(l=0,h=f.rxPermission.split(","),s=0;s<h.length;s++)e=t.find(n.mainContext,{permissionItemName:h[s]})[0],e!=undefined&&(f.permissionType=="all"?e.canAdd||e.canEdit||e.canView||e.fullControl||l++:f.permissionType=="view"?e.canView||(u.remove(),o=!0):f.permissionType=="add"?e.canAdd||(u.remove(),o=!0):f.permissionType=="edit"?e.canEdit||(u.remove(),o=!0):f.permissionType=="delete"&&(e.fullControl||(u.remove(),o=!0)));f.permissionType=="all"&&h.length==l&&(u.remove(),o=!0);a();return}else{if(!angular.isUndefined(f.standAloneCheck)&&i.webConfiguration.standAlone){u.remove();o=!0;a();return}if(e=t.find(n.backOfficeContext,{label:f.rxPermission})[0],e==undefined)u.remove(),o=!0;else if(angular.isUndefined(f.subMenus))angular.isUndefined(f.subMenu)||(v=t.find(e.subMenus,{label:f.subMenu})[0],v==undefined&&(u.remove(),o=!0));else{for(p=f.subMenus.split(","),l=0,s=0;s<p.length;s++)v=t.find(e.subMenus,{label:p[s]})[0],v==undefined&&l++;p.length==l&&(u.remove(),o=!0)}}else e=t.find(n.securityGeneralItems,{permissionItemName:f.rxPermission})[0],e==undefined?(u.remove(),o=!0):f.permissionType=="add"?e.canAdd||(u.remove(),o=!0):f.permissionType=="edit"?e.canEdit||(u.remove(),o=!0):f.permissionType=="delete"?e.fullControl||(u.remove(),o=!0):(f.permissionType=="view"||f.permissionType=="all")&&(e.canView||e.fullControl||(u.remove(),o=!0));var h=f.rxPermission.split(","),w=0,b=0;for(s=0;s<h.length;s++)if(e=undefined,n.currentUserPermissionItem==""?e=t.find(n.permissionContext,{permissionItemName:h[s]})[0]:n.currentUserPermissionItem==h[s]&&(e=t.find(n.permissionContext,{permissionItemName:h[s]})[0]),e!=undefined){if(!e.canAdd&&f.permissionType=="add"&&f.rxPermission=="Document Management - Parent Record"&&n.entryType=="Parent"){u.remove();o=!0;a();return}if(!e.fullControl&&!e.canAdd&&!e.canEdit&&!e.canView&&f.permissionType=="widget"){u.remove();o=!0;a();return}if(e.fullControl)return;f.permissionType=="delete"&&(e.fullControl||(u.remove(),o=!0,a()));f.permissionType=="edit"&&(!e.canEdit||e.fullControl)&&b++;f.permissionType=="add"&&(!e.canAdd||e.fullControl)&&w++}else f.permissionType=="add"&&w++,f.permissionType=="edit"&&b++;f.permissionType=="add"&&h.length==w&&(u.remove(),o=!0);f.permissionType=="edit"&&h.length==b&&(u.remove(),o=!0);a()}}}]),rx.directive("rxSanitize",["$parse",function(n){"use strict";return{restrict:"A",require:"ngModel",link:function(t,i,r,u){var f=t.$on("$destroy",function(){e();e=null;f();f=null;$(i).off();$(i).remove();i=null;r=null;u=null;t=null}),o=r.ngModel,e=t.$watch(o,function(i){var e,o;if(!angular.isUndefined(i)&&(S(i).count(">")>0||S(i).count("<")>0||S(i).count(";")>0)){var s=i.length-1,u="",f=0;for(e in i){if(f==s)break;u+=i.charAt(e);f++}o=n(r.ngModel);o.assign(t,u)}})}}}]),rx.directive("rxModal",function(){"use strict";return{restrict:"A",link:function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;i=null;$(t).off();$(t).remove();t=null;n=null});$(t).attr("id","rxModalTemplate"+i.modalName);$(t).addClass("modal fade "+i.popupCss);$(t).attr("tabindex","-1");$(t).attr("role","dialog");$(t).attr("aria-hidden","true")}}}),rx.directive("rxInitfocus",function(){"use strict";return{restrict:"A",link:function(n,t,i){var r=n.$on("$destroy",function(){u=null;r();r=null;i=null;$(t).off();$(t).remove();t=null;n=null}),u=setTimeout(function(){$(t).focus()},500)}}}),rx.directive("rxAdvancetab",["appconfig",function(){return{restrict:"A",scope:{advancetabObj:"=",activeTab:"=",cssConfig:"=",rxTabevent:"=",changedData:"="},controller:["$scope","$element",function(n,t){var r=n.$on("$destroy",function(){r();r=null;$(t).off();$(t).remove();t=null;n=null}),u=n.panes=[],i=0,f;n.rxtemptabs={};angular.forEach(n.advancetabObj,function(t){angular.isUndefined(t.icon)?t.icon="":t.title=" "+t.title+" ";i==n.activeTab?(t.selected=!0,n.rxtemptabs=t):t.selected=!1;t.index=i;angular.isUndefined(t.iconTitle)&&(t.iconTitle="");n.panes.push(t);i++});n.select=function(t){if(angular.forEach(u,function(n){n.selected=!1}),t.selected=!0,n.rxtemptabs=t,!angular.isUndefined(n.rxTabevent)){var i=n.attrs.rxTabevent+"("+t.index+")";n.$parent.$eval(i)}};this.addcls=function(t,i){n.clsname=t;n.attrs=i};f=0;this.activetabchanged=function(t){n.panes[t].selected=!0;n.rxtemptabs=n.panes[t]};this.dataChanged=function(){u=n.panes=[];angular.forEach(n.advancetabObj,function(t){angular.isUndefined(t.icon)?t.icon="":t.title=" "+t.title+" ";i==n.activeTab?(t.selected=!0,n.rxtemptabs=t):t.selected=!1;t.index=i;angular.isUndefined(t.iconTitle)&&(t.iconTitle="");n.panes.push(t);i++})}}],link:function(n,t,i,r){function o(n){angular.isUndefined(n)||r.activetabchanged(n)}var e=n.$on("$destroy",function(){e();u();f();f=null;u=null;e=null;$(t).off();$(t).remove();t=null;i=null;r=null;n=null}),u,f;switch(i.rxAdvancetab){case"left":t.addClass("tabs-left");r.addcls("nav-tabs",i);break;case"right":t.addClass("tabs-right");r.addcls("nav-tabs",i);break;case"stacked":r.addcls("nav-tabs nav-stacked",i);break;case"pils":r.addcls("nav-pills",i);break;case"stackedpils":r.addcls("nav-pills nav-stacked",i);break;case"top":r.addcls("nav-tabs",i)}u=n.$watch("activeTab",o,!0);f=n.$watch("changedData",function(n){angular.isUndefined(n)||n&&r.dataChanged()},!0)},template:'<div class="tabbable {{cssConfig.headerclass}}" ><ul class="nav {{clsname}}"><li ng-repeat="pane in panes" ng-class="{active:pane.selected}"><a href="" ng-click="select(pane)"><i class="{{pane.icon}}" title="{{pane.iconTitle}}"><\/i>{{pane.title}}<\/a><\/li><\/ul><div class="{{cssConfig.contentclass}}/><div class="tab-content" ><div class="tab-pane active"  ><div ng-include src="rxtemptabs.url"><\/div><\/div><\/div><\/div><\/div>',replace:!0}}]),rx.directive("rxRequired",["rxPage","rxJson",function(n,t){return{restrict:"A",require:"ngModel",link:function(i,r,u,f){function o(){angular.isUndefined(u.rxRequiredMessage)?angular.isUndefined(u.rxMessageScope)||$(r).tooltip("destroy"):$(r).tooltip("destroy");v=!0;$(r).removeClass("rx-error");$(r).addClass("rx-valid")}function e(){v&&(angular.isUndefined(u.rxRequiredMessage)?angular.isUndefined(u.rxMessageScope)||($(r).tooltip({title:nt,html:!0,trigger:"focus",placement:u.rxRequiredPosition,delay:{show:200,hide:0}}),$(r).tooltip("show")):($(r).tooltip({title:u.rxRequiredMessage,html:!0,trigger:"focus",placement:u.rxRequiredPosition,delay:{show:200,hide:0}}),$(r).tooltip("show")));v=!1;$(r).addClass("rx-error");$(r).removeClass("rx-valid")}var p=null,c=null,l=null,h=null,w=i.$on("$destroy",function(){p!=null&&(h(),h=null);c!=null&&(c(),c=null);l!=null&&(l(),l=null);h!=null&&(h(),h=null);w();w=null;d();d=null;$(r).tooltip("destroy");$(r).off();$(r).remove();r=null;u=null;f=null;i=null}),b=u.ngModel.split("."),k=b[b.length-1],d=i.$on("tabIndexChanged",function(){var i=t.find(n.fields,{fieldName:t.pascalCase(k)})[0];angular.isUndefined(i)||$(r).attr("tabindex",i.actualPosition)}),y,a,s,v;if(angular.isUndefined(u.sectionName)||(s=t.find(n.fields,{fieldName:t.pascalCase(k),sectionName:u.sectionName})[0],angular.isUndefined(s)||$(r).attr("tabindex",s.actualPosition)),!angular.isUndefined(u.controlModelName))for(y=u.controlModelName.split(","),a=0;a<y.length;a++)s=t.find(n.fields,{fieldName:t.pascalCase(y[a]),sectionName:u.sectionName})[0],angular.isUndefined(s)||$(r).attr("tabindex",s.actualPosition);var g=u.ngModel,it=u.rxRequiredMessage,nt="";if(angular.isUndefined(u.rxRequiredMessage)||($(r).tooltip("destroy"),$(r).tooltip({title:u.rxRequiredMessage,html:!0,trigger:"focus",placement:angular.isUndefined(u.rxRequiredPosition)?"right":u.rxRequiredPosition,delay:{show:200,hide:0}})),v=!1,angular.isUndefined(u.rxCustomValidation)?(f.$setValidity(u.ngModel,!1),$(r).addClass("rx-error")):(p=i.$watch(u.rxCustomValidation,function(n){angular.isUndefined(n)||(n?($(r).addClass("rx-error"),$(r).removeClass("rx-valid"),f.$setValidity(u.ngModel,!1)):($(r).removeClass("rx-error"),$(r).addClass("rx-valid"),f.$setValidity(u.ngModel,!0)))}),c=i.$watch(g,function(n){angular.isUndefined(n)||(n!=""?($(r).removeClass("rx-error"),$(r).addClass("rx-valid"),f.$setValidity(u.ngModel,!0)):($(r).addClass("rx-error"),$(r).removeClass("rx-valid"),f.$setValidity(u.ngModel,!1)))},!0)),angular.isUndefined(u.rxCustomValidation)&&(c=i.$watch(g,function(n){var s,r,i,h,t;if(angular.isUndefined(n)){if(u.type=="email"||angular.isUndefined(u.type)||u.type=="text")return e(),f.$setValidity(u.ngModel,!1),undefined}else if(angular.isUndefined(u.type)){if(u.$$element[0].localName=="select"||u.$$element[0].localName=="textarea")return n!=""&&n!=null?(o(),f.$setValidity(u.ngModel,!0),n):(e(),f.$setValidity(u.ngModel,!1),undefined)}else{s=u.type;switch(s){case"number":return n!=null?(r=n.toString(),i=!0,angular.isUndefined(u.minDigit)||(i=u.minDigit>r.length?!1:!0),i?(angular.isUndefined(u.maxDigit)||(i=u.maxDigit<r.length?!1:!0),i?(o(),f.$setValidity(u.ngModel,!0),n):(e(),f.$setValidity(u.ngModel,!1),undefined)):(e(),f.$setValidity(u.ngModel,!1),undefined)):(e(),f.$setValidity(u.ngModel,!1),undefined);case"text":return n!=""&&n!=null?(t=angular.isUndefined(u.rxRequiredPattern)?"":u.rxRequiredPattern,t=="")?(o(),f.$setValidity(u.ngModel,!0),n):(h=new RegExp(u.rxRequiredPattern,"g"),h.test(n)?(o(),f.$setValidity(u.ngModel,!0),n):(e(),f.$setValidity(u.ngModel,!1),undefined)):(e(),f.$setValidity(u.ngModel,!1),undefined);case"email":return n!=""&&n!=null?(t=angular.isUndefined(u.rxRequiredPattern)?/^([a-zA-Z0-9_.-])+@([a-zA-Z0-9_.-])+\.([a-zA-Z])+([a-zA-Z])/:new RegExp(u.rxRequiredPattern,"g"),t.test(n)?(o(),f.$setValidity(u.ngModel,!0),n):(e(),f.$setValidity(u.ngModel,!1),undefined)):(e(),f.$setValidity(u.ngModel,!1),undefined);case"password":return n!=""&&n!=null?(t=angular.isUndefined(u.rxRequiredPattern)?"":new RegExp(u.rxRequiredPattern,"g"),t=="")?(o(),f.$setValidity(u.ngModel,!0),n):t.test(n)?(o(),f.$setValidity(u.ngModel,!0),n):(e(),f.$setValidity(u.ngModel,!1),undefined):(e(),f.$setValidity(u.ngModel,!1),undefined);case"checkbox":return o(),f.$setValidity(u.ngModel,!0),n}}},!0)),!angular.isUndefined(u.rxValidate)){function tt(n){angular.isUndefined(n)||(n?(o(),f.$setValidity(u.ngModel,!0)):(e(),f.$setValidity(u.ngModel,!0)))}l=i.$watch(u.rxValidate,tt,!0)}angular.isUndefined(u.rxMessageScope)||(h=i.$watch(u.rxMessageScope,function(n){angular.isUndefined(n)||(nt=n,$(r).tooltip("destroy"),$(r).tooltip({title:n,html:!0,trigger:"focus",placement:angular.isUndefined(u.rxRequiredPosition)?"right":u.rxRequiredPosition,delay:{show:200,hide:0}}))},!0))}}}]),rx.directive("rxTags",["$compile","rxJson","appConfig","rxPage","commonUtility","sectionBroadcast",function(n,t,i,r,u,f){return{restrict:"A",scope:{rxSelected:"=",rxSource:"=",rxModel:"=",rxTextModel:"=",formName:"="},link:function(n,e,o){function g(i){var l=!0,r,u,f,h,s,a,v;if(i.length>0){for(r=[],u=[],f=0;f<i.length;f++)h={},h[o.rxText]=i[f],s=t.find(n.rxSource,h)[0],s!=undefined&&(r.push(s[o.rxValue]),u.push(s[o.rxText]));angular.isUndefined(o.manualEnterallowed)||(n.$parent.rxLastItem=i[i.length-1],a=n.$parent.$eval(o.manualEnterallowed+"(rxLastItem)"),a||r.length!=i.length&&(l=!1,$(e).select2("destroy"),r.length>0?(e[0].value=u!=null&&u.length>0?u.join(c):"",n.rxModel=r.join()):(e[0].value="",n.rxModel=""),v=setTimeout(function(){$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText)})},100)))}return l}var l=null,y=null,p=null,w=null,a=null,c="c2VwYXJhdG",d=n.$on("$destroy",function(){d();d=null;p();w();p=null;w=null;a!=null&&(a(),a=null);l!=null&&(l(),l=null,y(),y=null);o=null;$(e).select2("destroy");$(e).off();$(e).remove();e.remove();e=null;o=null;drpCtrl=null;n=null}),h,b,s,v,k;o.formName!=undefined&&(l=n.$on("dirtyCheckBroadCaster",function(t,i){n.formName==i&&(angular.isUndefined(globalDirtyCheck["base"+n.formName])||angular.isUndefined(o.fieldId)?angular.isUndefined(globalDirtyCheck["base"+n.formName])||(globalDirtyCheck["base"+n.formName][s]=n.rxModel==null?n.rxSelected!=undefined?n.rxSelected:"":String(n.rxModel)):globalDirtyCheck["base"+n.formName][s]=n.rxModel!=null&&n.rxModel!=""?n.rxModel==null?"":String(n.rxModel):n.rxSelected!=undefined?n.rxModel==null?"":String(n.rxSelected):"")}),y=n.$on("resetObject",function(t,i){if(n.formName==i){var r=globalDirtyCheck["base"+n.formName][s];r!=undefined&&(r!=null&&r!=""?n.resetTagControl(n.rxSource,String(r)):n.rxSource.resetTag(),globalDirtyCheck["base"+n.formName][s]=undefined,u.checkBaseFormObjectEmpty(n,n.formName))}}));h=[];n.runEvent=!1;b=o.rxModel.split(".");s=b[b.length-1];o.fieldId!=undefined?s="CustomFieldId"+o.fieldId:o.formName!=undefined&&(globalDirtyCheck[n.formName][s]="");n.getText=function(i,r){var u,f,e,s;if(i!=null){if(u=i.split(","),u.length>1)for(f=0;f<u.length;f++)u[f]!=""&&(e={},angular.isUndefined(o.rxInit)||(u[f]=parseInt(u[f])),e[o.rxValue]=u[f],s=t.find(n.rxSource,e)[0],s!=undefined&&h.push(s));else e={},e[o.rxValue]=angular.isUndefined(o.rxInit)?angular.isUndefined(o.rxTagDynamic)?n.isSelectedJson?n.rxSelected.toLowerCase():angular.isUndefined(o.rxInit)?parseInt(n.rxModel):parseInt(n.rxModel):n.rxModel:angular.isUndefined(o.rxTagDynamic)?r==undefined?parseInt(n.rxSelected):parseInt(n.rxModel):parseInt(n.rxModel),s=t.find(n.rxSource,e)[0],s!=undefined&&h.push(s);return angular.isUndefined(o.rxTagrequired)||n.requiredClass(),h}};n.isSelectedJson=!0;v=0;n.setRxModel=function(u){var k,d,l,w,a,y,f,b,p;if(h=[],n.rxModel="",angular.isUndefined(o.rxTextModel)||(n.rxTextModel=""),k=g(u),k)for(d=u.length-1,l=0;l<u.length;l++){if(w={},w[o.rxText]=u[l],a=t.find(n.rxSource,w)[0],l!=1||angular.isUndefined(o.singleSelect)){if(a==undefined&&angular.isUndefined(o.singleSelect)&&angular.isUndefined(o.manualEnterallowed)){if(angular.isUndefined(o.manualEnterevent)){$(e).select2("destroy");n.rxModel!=""?(f=t.convertToArrary(n.getText(n.rxModel),o.rxText),e[0].value=f!=null&&f.length>0?f.join(c):""):e[0].value="";b=setTimeout(function(){$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText)})},100);return}if(n.$parent.rxLastItem=u[u.length-1],y=n.$parent.$eval(o.manualEnterevent+"(rxLastItem)"),angular.isObject(y))n.rxSource.push(y),a=y;else{$(e).select2("destroy");n.rxModel!=""?(f=t.convertToArrary(n.getText(n.rxModel),o.rxText),e[0].value=f!=null&&f.length>0?f.join(c):""):e[0].value="";b=setTimeout(function(){$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText)})},100);return}}}else{angular.isUndefined(a)?(e[0].value=[u[l]],n.rxTextModel=u[l],n.rxModel="",$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText)})):(n.rxModel=String(a[o.rxValue]),h=[],n.isSelectedJson=!1,$(e).select2("destroy"),f=t.convertToArrary(n.getText(n.rxModel,!0),o.rxText),e[0].value=f!=null&&f.length>0?f.join(c):"",$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText)}),n.rxModel=String(a[o.rxValue]));break}d==l?angular.isUndefined(a)?n.rxTextModel+=u[l]:n.rxModel+=a[o.rxValue]:angular.isUndefined(a)?n.rxTextModel+=u[l]:n.rxModel+=a[o.rxValue]+","}angular.isUndefined(o.rxTagrequired)&&angular.isUndefined(o.conditionalRequired)||n.requiredClass();n.$apply();(v==0||u.length>v)&&(angular.isUndefined(o.rxTagselect)||n.$parent.$eval(o.rxTagselect));v=u.length;n.runEvent&&(n.runEvent=!1,angular.isUndefined(o.rxTagevent)||n.$parent.$eval(o.rxTagevent));angular.isUndefined(o.generalSetting)||i.generalSettings.standartDescriptionMandatory&&n.requiredClass();r.jObject[t.pascalCase(s)]=n.rxModel;o.formName!=undefined&&(angular.isUndefined(globalDirtyCheck[n.formName])||(p=n.rxModel==null?"":n.rxModel,p==""&&o.rxTextModel!=undefined&&(p=n.rxTextModel==null?"":n.rxTextModel),globalDirtyCheck[n.formName][s]=p))};n.isRequiredTag=!0;n.isConditionalRequiredAttr=!1;n.requiredClass=function(){n.isRequiredTag?n.rxModel!=""&&n.rxModel!=undefined?(n.validRxModel=!0,$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")).removeClass("rx-error").addClass("rx-valid")):angular.isUndefined(o.singleSelect)?(n.validRxModel=!1,$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")).removeClass("rx-valid").addClass("rx-error")):n.rxTextModel!=""&&n.rxTextModel!=undefined?(n.validRxModel=!0,$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")).removeClass("rx-error").addClass("rx-valid")):(n.validRxModel=!1,$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")).removeClass("rx-valid").addClass("rx-error")):$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")).removeClass("rx-error").addClass("rx-valid");n.isConditionalRequiredAttr&&n.isConditionalRequired?n.rxModel!=""&&n.rxModel!=undefined?(n.validRxModel=!0,$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")).removeClass("rx-error").addClass("rx-valid")):(n.validRxModel=!1,$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")).removeClass("rx-valid").addClass("rx-error")):n.isConditionalRequiredAttr&&(n.validRxModel=!0,$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")).removeClass("rx-error").addClass("rx-valid"))};angular.isUndefined(o.fieldName)&&angular.isUndefined(o.fieldId)||(a=n.$on("tabIndexChanged",function(){if(!angular.isUndefined(o.fieldName)){var n=t.find(r.fields,{fieldName:t.pascalCase(o.fieldName)})[0],i=$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")),u=$(i).find(".select2-input");$(u).prop("tabindex",n.actualPosition)}}),angular.isUndefined(o.fieldId)||angular.isUndefined(f.customFieldSource)||(k=parseInt(o.rxControlIndex),o.rxTags!=undefined&&(rxTagTimeout=setTimeout(function(){var n=$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")),t=$(n[0]).find(".select2-input");f.customFieldSource!=null&&f.customFieldSource[k]!=null&&$(t).prop("tabindex",f.customFieldSource[k].tabIndexOrder)},500))));n.setTagFunctions=function(){n.rxSource.isTagValid=function(){return n.validRxModel};n.rxSource.setTabIndex=function(n){var t=$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")),i=$(t).find(".select2-input");$(i).prop("tabindex",n)};n.rxSource.resetTagSource=function(t,i){n.resetTagControl(t,i)};n.resetTagControl=function(i,r){h=[];$(e).select2("destroy");n.rxSource=i;n.setTagFunctions();var u=setTimeout(function(){if(!angular.isUndefined(r)&&r!=""){n.rxModel=r;var i=t.convertToArrary(n.getText(n.rxModel),o.rxText);e[0].value=i!=null&&i.length>0?i.join(c):""}$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText)}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load");n.$apply()},200)};n.rxSource.selectItem=function(i){var u,r;h=[];u=t.convertToArrary(n.rxSource,o.rxText);n.rxModel=i;r=t.convertToArrary(n.getText(i),o.rxText);e[0].value=r!=null&&r.length>0?r.join(c):"";$(e).select2("destroy");$(e).select2({tags:u}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load")};n.rxSource.selectAll=function(){var r,u,i;for(h=[],r=t.convertToArrary(n.rxSource,o.rxText),u=t.convertToArrary(n.rxSource,o.rxValue),n.rxModel="",i=0;i<u.length;i++)n.rxModel+=u[i]+",";e[0].value=r;$(e).select2("destroy");$(e).select2({tags:r}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load")};n.rxSource.deSelectAll=function(){h=[];var i=t.convertToArrary(n.rxSource,o.rxText);e[0].value=[];$(e).select2("destroy");$(e).select2({tags:i}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load")};n.rxSource.resetTag=function(){h=[];$(e).select2("val","");n.rxModel="";o.formName!=undefined&&(angular.isUndefined(globalDirtyCheck[n.formName])||(globalDirtyCheck[n.formName][s]=n.rxModel==null?"":n.rxModel))};n.rxSource.setRequiredTag=function(t){n.isRequiredTag=t;n.requiredClass()};n.rxSource.getSelectedValues=function(){return e[0].value!=null&&e[0].value!=""?e[0].value.split(c):""}};n.firstTime=!1;p=n.$watch("rxSource",function(u){if(!n.firstTime&&!angular.isUndefined(u)&&($(e).select2("destroy"),r.jObject[t.pascalCase(s)]=n.rxModel,$(e).addClass(o.rxModel.replace("[","").replace("]","").replace(".","").replace("[","").replace("]","").replace(".","")),angular.isUndefined(o.rxTagrequired)||($(e).addClass(o.rxModel.replace("[","").replace("]","").replace(".","").replace("[","").replace("]","").replace(".","")),$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")).addClass("rx-error")),angular.isUndefined(o.rxSelected))){if(n.firstTime=!0,n.setTagFunctions(),$(e).addClass(o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")),!angular.isUndefined(o.rxTagrequired)&&angular.isUndefined(o.bpmeControl)&&($(e).addClass(o.rxText),$("."+o.rxText).addClass("rx-error")),angular.isUndefined(o.generalSetting)||i.generalSettings.standartDescriptionMandatory&&n.requiredClass(),angular.isUndefined(o.rxTagDynamic))angular.isUndefined(o.maxlength)?$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText)}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load"):$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText),maximumInputLength:o.maxlength}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load");else if(o.formName!=undefined&&(angular.isUndefined(globalDirtyCheck[n.formName])||(globalDirtyCheck[n.formName][s]=n.rxModel==undefined||n.rxModel==null?"":n.rxModel)),n.rxModel!=""&&n.rxModel!=undefined){var f=t.convertToArrary(n.getText(n.rxModel),o.rxText);e[0].value=f!=null&&f.length>0?f.join(c):"";angular.isUndefined(o.maxlength)?$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText)}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load"):$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText),maximumInputLength:o.maxlength}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load")}else angular.isUndefined(o.maxlength)?$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText)}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load"):$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText),maximumInputLength:o.maxlength}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load");$(e).on("change",function(t){n.runEvent=!0;n.setRxModel(t.val);n.$apply()})}},!0);w=n.$watch("rxSelected",function(r){var l,u,a,v,f,s,y,h;if(!n.firstTime&&!angular.isUndefined(r)&&angular.isArray(n.rxSource)&&!angular.isUndefined(o.rxSource)){if(!angular.isUndefined(o.valueObject)&&(l=o.keyObject,u=o.valueObject,String(n.$parent[u])!=null&&String(n.$parent[u])!=""&&(a=String(n.$parent[l]).split(","),v=String(n.$parent[u]).split(","),v[0]!="null")))for(f=0;f<a.length;f++)s={},s[u]=v[f],s[l]=parseInt(a[f]),y=t.find(n.rxSource,s),(y==null||y.length==0)&&n.rxSource.push(s);if(n.firstTime=!0,n.setTagFunctions(),$(e).select2("destroy"),n.rxSelected!="")$(e).addClass(o.rxModel.replace(".","")),r!=null&&(angular.isUndefined(o.rxTagrequired)||($(e).addClass(o.rxModel.replace(".","")),$("."+o.rxModel.replace(".","")).addClass("rx-error")),h=t.convertToArrary(n.getText(r),o.rxText),n.setRxModel(h),n.rxModel!=""&&n.rxModel!=undefined&&(angular.isUndefined(o.generalSetting)||i.generalSettings.standartDescriptionMandatory&&n.requiredClass()),e[0].value=h!=null&&h.length>0?h.join(c):""),angular.isUndefined(o.maxlength)?$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText)}):$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText),maximumInputLength:o.maxlength}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load"),$(e).on("change",function(t){n.runEvent=!0;n.setRxModel(t.val);n.$apply()}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load");else{angular.isUndefined(o.maxlength)?$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText)}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load"):$(e).select2({tags:t.convertToArrary(n.rxSource,o.rxText),maximumInputLength:o.maxlength}).on("load",function(){o.tabindex!=undefined&&$(this).prop("tabindex",o.tabindex)}).trigger("load");$(e).on("change",function(t){n.runEvent=!0;n.setRxModel(t.val);n.$apply()})}}},!0);o.conditionalRequired!=undefined&&(n.isConditionalRequiredAttr=!0,n.$parent.$watch(o.conditionalRequired,function(t){angular.isUndefined(t)||(t?(n.isConditionalRequired=t,n.rxModel!=""&&n.rxModel!=undefined?(n.validRxModel=!0,$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")).removeClass("rx-error").addClass("rx-valid")):(n.validRxModel=!1,$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")).removeClass("rx-valid").addClass("rx-error"))):(n.isConditionalRequired=t,n.validRxModel=!0,$("."+o.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")).removeClass("rx-error").addClass("rx-valid")))},!0))},replace:!0}}]),rx.directive("rxImage",["$compile",function(n){return{restrict:"E",scope:{imageWidth:"=",imageHeight:"=",imageId:"="},link:function(t,i,r,u){var f=t.$on("$destroy",function(){e();e=null;f();f=null;$(i).off();$(i).remove();i=null;r=null;u=null;t=null}),e=t.$watch("imageId",function(r){angular.isUndefined(r)||$.get("upload/imagedata",{imageId:r,width:t.imageWidth,height:t.imageHeight},function(r){t.$apply(function(){$(i).html(n('<img src="'+r.imageSource+'"/>')(t))})})},!0)}}}]),rx.directive("rxTree",["$compile","rxJson","rxTreeData","$rootScope","$window","rxUserPermission","rxAlert","appConfig",function(n,t,i,r,u,f,e,o){return{restrict:"E",scope:{treeSource:"=",treeOption:"="},controller:["$scope","$element",function(u,s){var c=null,l=u.$on("$destroy",function(){l();l=null;try{$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal("destroy")}catch(n){}$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).off();$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).remove();$(s).off();$(s).remove();c=null;s=null;u=null}),h;u.treeCall=!0;u.getTreeIcon=function(n){return n.showParent?"icon-minus":"icon-plus"};u.showParent=function(n){n.showParent=!n.showParent};u.childTreeEvent=function(n,t){var r,f;for(u.treeSource[0].textBold="",i.setTreeName(u.treeOption.treeMaster.treeName),r=0;r<t.length;r++)for(t[r].textBold="",f=0;f<t[r].parentObjects.length;f++)t[r].parentObjects[f].cssClass="icon-remove",t[r].parentObjects[f].childSelectedCss="";i.setTreeChildObject(n,u.treeOption.treeMaster.treeName);n.cssClass=n.cssClass=="icon-remove"?"icon-ok":"icon-remove";n.childSelectedCss=n.childSelectedCss==""?"text-bold":"";u.$parent.$eval(u.treeOption.treeMaster.childObjectEvent)};u.showRootPopup=function(n,t){i[i.activeTree].currentEvent="add";u.rootObjectEvent(n,t);r.entityFlagChanged=!0;i.setTreeName(u.treeOption.treeMaster.treeName);i.setTreeRootObject(n,u.treeOption.treeMaster.treeName,t);u.popupTemplate={popupCss:u.treeOption.treeMaster.rootPopupCss};u.popupTemplateSrc={src:u.treeOption.treeMaster.rootPopupTemplatePath};$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal({backdrop:"static",keyboard:!1});$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal("show")};u.rootObjectEvent=function(n,t){var f,r,e;for(u.treeSource[0].textBold="text-bold",f=u.treeSource[0].parentObjects,r=0;r<f.length;r++)for(f[r].textBold="",e=0;e<f[r].parentObjects.length;e++)f[r].parentObjects[e].cssClass="icon-remove",f[r].parentObjects[e].childSelectedCss="";i.setTreeName(u.treeOption.treeMaster.treeName);i.setTreeRootObject(n,u.treeOption.treeMaster.treeName,t);u.$parent.$eval(u.treeOption.treeMaster.rootObjectEvent)};u.showParentPopup=function(n,t,f,e){n.active?(u.updateParentEvent(n,t),i.setTreeRootObject(f,u.treeOption.treeMaster.treeName,e),r.entityFlagChanged=!0,i.setTreeName(u.treeOption.treeMaster.treeName),i.setTreeParentObject(n,u.treeOption.treeMaster.treeName,t),u.popupTemplate={popupCss:u.treeOption.treeMaster.parentPopupCss},u.popupTemplateSrc={src:u.treeOption.treeMaster.parentPopupTemplatePath},i[i.activeTree].currentEvent="addchild",$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal({backdrop:"static",keyboard:!1}),$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal("show")):u.$parent.$eval(u.treeOption.treeMaster.inactiveMessage)};u.updateParent=function(n,t,f,e){activeGridJson="skillGroup";i[i.activeTree].currentEvent="edit";u.updateParentEvent(n,t);i.setTreeRootObject(f,u.treeOption.treeMaster.treeName,e);r.entityFlagChanged=!0;i.setTreeName(u.treeOption.treeMaster.treeName);i.setTreeParentObject(n,u.treeOption.treeMaster.treeName,t);u.popupTemplate={popupCss:u.treeOption.treeMaster.parentPopupCss};u.popupTemplateSrc={src:u.treeOption.treeMaster.editParentPopupTemplatePath};$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal({backdrop:"static",keyboard:!1});$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal("show")};u.updateParentEvent=function(n,t){var f,r,e;for(u.treeSource[0].textBold="",f=u.treeSource[0].parentObjects,r=0;r<f.length;r++)for(f[r].textBold="",e=0;e<f[r].parentObjects.length;e++)f[r].parentObjects[e].cssClass="icon-remove",f[r].parentObjects[e].childSelectedCss="";n.textBold="text-bold";i.setTreeName(u.treeOption.treeMaster.treeName);i.setTreeParentObject(n,u.treeOption.treeMaster.treeName,t);u.$parent.$eval(u.treeOption.treeMaster.parentObjectEvent)};u.showChildElementPopup=function(n,t,f,e,o,s){activeGridJson="skillType";i[i.activeTree].currentEvent="editchild";i.setTreeRootObject(o,u.treeOption.treeMaster.treeName,s);i.setTreeParentObject(f,u.treeOption.treeMaster.treeName,e);r.entityFlagChanged=!0;i.setTreeName(u.treeOption.treeMaster.treeName);i.setTreeChildObject(n,u.treeOption.treeMaster.treeName,t);u.popupTemplate={popupCss:u.treeOption.treeMaster.childPopupCss};u.popupTemplateSrc={src:u.treeOption.treeMaster.childPopupTemplatePath};$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal({backdrop:"static",keyboard:!1});$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal("show");var h=setTimeout(function(){u.childTreeEvent(n,t)},200)};u.showChildAddElementPopup=function(n,t,f,e,o,s){if(n.active&&f.active){i.setTreeRootObject(o,u.treeOption.treeMaster.treeName,s);i.setTreeParentObject(f,u.treeOption.treeMaster.treeName,e);r.entityFlagChanged=!0;i.setTreeName(u.treeOption.treeMaster.treeName);i.setTreeChildObject(n,u.treeOption.treeMaster.treeName,t);u.popupTemplate={popupCss:u.treeOption.treeMaster.childPopupCss};u.popupTemplateSrc={src:u.treeOption.treeMaster.childAddPopupTemplatePath};i[i.activeTree].currentEvent="addKeyword";$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal({backdrop:"static",keyboard:!1});$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal("show");var h=setTimeout(function(){u.childTreeEvent(n,t)},200)}else u.$parent.$eval(u.treeOption.treeMaster.inactiveMessage)};u.showEdit=function(n){var i=t.find(f.permissionContext,{permissionItemName:"Keyword Library"})[0];i!=undefined&&(i.canView?n.showEditIcon=!0:i.canEdit&&(n.showEditIcon=!0),i.canAdd&&(n.showEditAddIcon=!0))};u.showEditLeave=function(n){n.showEditIcon=!1;n.showEditAddIcon=!1};u.setTree=function(){var e,h;i.setTreeName(u.treeOption.treeMaster.treeName);i[i.activeTree]={};i[i.activeTree].hidePopup=function(n){angular.isUndefined(n)||(globalDirtyCheck[n]=undefined,globalDirtyCheck["base"+n]=undefined);$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal("hide")};u.currentTreeSource=u.treeSource;i.setCheckboxTree(u.treeOption.treeMaster.treeName,u.currentTreeSource);u.groupByJson=t.groupBy(u.treeSource,"parentObjectId");var l=[],f=u.groupByJson[0][0],a=angular.isUndefined(u.groupByJson[f.objectId])?[]:u.groupByJson[f.objectId];l.push({title:f.title,objectId:f.objectId,showParent:!0,textBold:"",showEditIcon:!1,parentObjects:u.firstLevelObjects(a)});u.treeSource=l;u.treeSource.addObject=function(n){u.treeSource.push(n)};e="";e=angular.isUndefined(u.treeOption.treeMaster.fourthLevel)?'<div id="ab" class="tree tree-unselectable"><div style="display: block;" class="tree-folder" ng-repeat="treeObject in treeSource"><div ng-mouseover="showEdit(treeObject)" ng-mouseleave="showEditLeave(treeObject)" class="tree-folder-header"><i ng-class="getTreeIcon(treeObject)" ng-click="showParent(treeObject)"><\/i><div  ng-click="rootObjectEvent(treeObject,treeObject.parentObjects)" ng-class="treeObject.textBold"  class="tree-folder-name ">{{treeObject.title}} <\/div><a ng-show="treeObject.showEditAddIcon" class="rxtree-anchor" ng-click="showRootPopup(treeObject,treeObject.parentObjects)">Add<\/a><\/div><div class="tree-folder-content" ng-show="treeObject.parentObjects.length > 0 && treeObject.showParent"><div style="display: block;" class="tree-folder" ng-repeat="treeParentObject in treeObject.parentObjects"><div ng-mouseover="showEdit(treeParentObject)" ng-mouseleave="showEditLeave(treeParentObject)"  class="tree-folder-header"><i ng-class="getTreeIcon(treeParentObject)" ng-click="showParent(treeParentObject)"><\/i><div class="tree-folder-name" ng-class="inactiveClassSet(treeParentObject)"  ng-click="updateParentEvent(treeParentObject,treeParentObject.parentObjects,treeObject,treeObject.parentObjects)">{{treeParentObject.title}} <\/div><a class="rxtree-anchor" ng-show="treeParentObject.showEditAddIcon" ng-click="showParentPopup(treeParentObject,treeParentObject.parentObjects,treeObject,treeObject.parentObjects)">Add<\/a><a ng-show="treeParentObject.showEditIcon" class="rxtree-anchor" ng-click="updateParent(treeParentObject,treeParentObject.parentObjects,treeObject,treeObject.parentObjects)">Edit<\/a><\/div><div class="tree-folder-content" ng-show="treeParentObject.parentObjects.length > 0 && treeParentObject.showParent"><div ng-mouseover="showEdit(treeChildObject)" ng-mouseleave="showEditLeave(treeChildObject)" style="display: block;" class="tree-item " ng-repeat="treeChildObject in treeParentObject.parentObjects"><i class="icon-minus" ng-click="childTreeEvent(treeChildObject,treeObject.parentObjects)"><\/i><div class="tree-item-name" ng-class="inactiveClassSetChild(treeChildObject)"   ng-click="childTreeEvent(treeChildObject,treeObject.parentObjects)" style="padding-right:5px;" >{{treeChildObject.title}}<\/div><a class="rxtree-anchor" ng-show="treeChildObject.showEditAddIcon" ng-click="showChildAddElementPopup(treeChildObject,treeObject.parentObjects,treeParentObject,treeParentObject.parentObjects,treeObject,treeObject.parentObjects)">Add<\/a><a ng-show="treeChildObject.showEditIcon" class="rxtree-anchor" ng-click="showChildElementPopup(treeChildObject,treeObject.parentObjects,treeParentObject,treeParentObject.parentObjects,treeObject,treeObject.parentObjects)">Edit<\/a><\/div><\/div><\/div><\/div><\/div><div  id="treePopupTemplate'+u.treeOption.treeMaster.treeName+'" class="modal fade {{popupTemplate.popupCss}}"  tabindex="-1" role="dialog" aria-labelledby="popupTemplateLabel" aria-hidden="true"><div ng-include src="popupTemplateSrc.src"><\/div><\/div><\/div>':'<div id="ab" class="tree tree-unselectable"><div style="display: block;" class="tree-folder" ng-repeat="treeObject in treeSource"><div class="tree-folder-header"><i ng-class="getTreeIcon(treeObject)" ng-click="showParent(treeObject)"><\/i><div  ng-click="rootObjectEvent(treeObject,treeObject.parentObjects)" class="tree-folder-name ">{{treeObject.title}} <\/div><\/div><div class="tree-folder-content" ng-show="treeObject.parentObjects.length > 0 && treeObject.showParent"><div style="display: block;" class="tree-folder" ng-repeat="treeParentObject in treeObject.parentObjects"><div  class="tree-folder-header"><i ng-class="getTreeIcon(treeParentObject)" ng-click="showParent(treeParentObject)"><\/i><div class="tree-folder-name"  >{{treeParentObject.title}} <\/div><\/div><div class="tree-folder-content" ng-show="treeParentObject.parentObjects.length > 0 && treeParentObject.showParent"><div style="display: block;" class="tree-folder"  ng-repeat="treeChildObject in treeParentObject.parentObjects"><div  class="tree-folder-header"><i ng-class="getTreeIcon(treeChildObject)" ng-click="showParent(treeChildObject)"><\/i><div class="tree-folder-name"  ng-click="childTreeEvent(treeChildObject,treeObject.parentObjects)"  >{{treeChildObject.title}}<\/div><\/div><div class="tree-folder-content" ng-show="treeChildObject.parentObjects.length > 0 && treeChildObject.showParent"><div style="display: block;" class="tree-item " ng-class="treeSecondChildObject.mainObjectClass" ng-repeat="treeSecondChildObject in treeChildObject.parentObjects"><i ng-class="treeSecondChildObject.childSelectedCss" ng-click="setChecked(treeSecondChildObject)" ><\/i><div class="tree-item-name" ng-click="setChecked(treeSecondChildObject)" style="padding-right:5px;" >{{treeSecondChildObject.title}}<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><div  id="treePopupTemplate'+u.treeOption.treeMaster.treeName+'" class="modal fade {{popupTemplate.popupCss}}"  tabindex="-1" role="dialog" aria-labelledby="popupTemplateLabel" aria-hidden="true"><div ng-include src="popupTemplateSrc.src"><\/div><\/div><\/div>';h=n(e)(u);$(s).html(h);h=null;c=setTimeout(function(){$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).on("hide.bs.modal",function(t){if(o.alert.dataLost&&!angular.isUndefined(r.isEntityChanged)&&r.isEntityChanged){t.preventDefault();$("#rxload").removeClass("rxloadout").addClass("rxloadin");$("#rxload").html(n(' <div class="mainOverlayout"><div class="alertbox"><div id="rxAlert" class="alertbox" style="max-height: 417.6px;"><div class="modal-header"><h5>Data Lost<\/h5><\/div><div class="modal-body">Do you want to save changes made to this record?<\/div><div class="modal-footer"><button  class="btn btn-primary" ng-click="alertEventProcess()">Save<\/button><button  class="btn btn-primary" ng-click="dataLossPopup(true)">Dont Save<\/button><button  class="btn btn-primary" ng-click="dataLossPopup(false)">Cancel<\/button><\/div><\/div><\/div><\/div>')(u))}});$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).on("hidden.bs.modal",function(){r.isEntityChanged=!1;r.entityFlagChanged=!1;r.$apply();u.$apply(function(){r.entityFlagChanged=!1;u.popupTemplateSrc={src:"Scripts/lib/rxapp/template/blank.html",popupCss:""}})})},500)};u.inactiveClassSetChild=function(n){return n.active?n.childSelectedCss:n.childSelectedCss+" in-active-color"};u.inactiveClassSet=function(n){return n.active?n.textBold:n.textBold+" in-active-color"};u.dataLossPopup=function(n){n&&(r.isEntityChanged=!1,r.entityFlagChanged=!1,u.gridSource.hidePopup(),r.$apply())};u.alertEventProcess=function(){i[i.activeTree].currentEvent=="edit"?angular.isUndefined(u.treeOption.treeMaster.alertEvent.update)||(e.scopeOption.$eval(u.treeOption.treeMaster.alertEvent.update),u.dataLossPopup(!0)):i[i.activeTree].currentEvent=="editchild"?angular.isUndefined(u.treeOption.treeMaster.alertEvent.updateChild)||(e.scopeOption.$eval(u.treeOption.treeMaster.alertEvent.updateChild),u.dataLossPopup(!0)):i[i.activeTree].currentEvent=="add"?angular.isUndefined(u.treeOption.treeMaster.alertEvent.add)||(e.scopeOption.$eval(u.treeOption.treeMaster.alertEvent.add),u.dataLossPopup(!0)):i[i.activeTree].currentEvent=="addchild"?angular.isUndefined(u.treeOption.treeMaster.alertEvent.addChild)||(e.scopeOption.$eval(u.treeOption.treeMaster.alertEvent.addChild),u.dataLossPopup(!0)):i[i.activeTree].currentEvent=="addKeyword"&&(angular.isUndefined(u.treeOption.treeMaster.alertEvent.addKeyword)||(e.scopeOption.$eval(u.treeOption.treeMaster.alertEvent.addKeyword),u.dataLossPopup(!0)))};u.dataLossPopup=function(n){$("#rxload").removeClass("rxloadin").addClass("rxloadout");n&&(r.isEntityChanged=!1,r.entityFlagChanged=!1,i[i.activeTree].hidePopup(),r.$apply())};u.firstLevelObjects=function(n,t){for(var r=[],f,i=0;i<n.length;i++)f=angular.isUndefined(u.groupByJson[n[i].objectId])?[]:u.groupByJson[n[i].objectId],r.push({objectId:n[i].objectId,title:n[i].title,mainTitle:t,showParent:!0,textBold:"",active:n[i].active,parentObjects:u.secondLevelObjects(f)});return r};u.secondLevelObjects=function(n,t){var i,r;if(n!=undefined){for(i=0;i<n.length;i++)r=angular.isUndefined(u.groupByJson[n[i].objectId])?[]:u.groupByJson[n[i].objectId],n[i].cssClass="icon-remove",n[i].childSelectedCss="",n[i].showEditIcon=!1,n[i].showParent=!0,n[i].mainTitle=t,n[i].active=n[i].active,n[i].parentObjects=u.thirdLevelObjects(n[i].objectId);return n}return[]};u.thirdLevelObjects=function(n,i){var r,f;if(n!=undefined){if(!angular.isUndefined(u.treeOption.treeMaster.fourthLevel)){for(r=t.find(u.treeOption.treeMaster.fourthLevel,{parentObjectId:n}),f=0;f<r.length;f++)angular.isUndefined(r[f].isSelected)||r[f].isSelected!=!0?(r[f].childSelectedCss="icon-remove",r[f].mainObjectClass=""):(r[f].childSelectedCss="icon-ok",r[f].mainObjectClass="tree-selected"),r[f].cssClass="icon-remove",r[f].showEditIcon=!1,r[f].mainTitle=i,r[f].active=r[f].active;return r}return[]}return[]};u.setChecked=function(n){var i=t.find(u.treeOption.treeMaster.fourthLevel,{objectId:n.objectId})[0];n.childSelectedCss=="icon-remove"?(i.isSelected=!0,n.childSelectedCss="icon-ok",n.mainObjectClass="tree-selected"):(i.isSelected=!1,n.childSelectedCss="icon-remove",n.mainObjectClass="")};h=u.$watch("treeSource",function(n){angular.isUndefined(n)||u.treeCall&&(u.treeCall=!1,u.setTree(),h(),h=null)})}],link:function(n,t,i){var r=n.$on("$destroy",function(){r();$(t).off();$(t).remove();r=null;n=null;t=null;i=null})},replace:!0}}]),rx.directive("rxFadein",function(){return{restrict:"A",link:function(n,t,i){var u=n.$on("$destroy",function(){u();u=null;$(t).off();$(t).remove();t=null;i=null;n=null}),r=parseInt(i.rxfadein);isNaN(r)&&(r=500);t=jQuery(t);t.hide();t.fadeIn(r);n.destroy=function(i){t.fadeOut(r,function(){i&&i.apply(n)})}}}}),rx.directive("rxActiveclass",function(){return{restrict:"A",link:function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;i=null;$(t).off();$(t).remove();t=null;n=null;i=null});$(t).click(function(){$("#"+i.element+" tbody tr").removeClass(i.addClass);$(t).addClass(i.addClass)})}}}),rx.directive("rxNosave",function(){return{restrict:"A",link:function(n,t,i,r){var u=n.$on("$destroy",function(){u();u=null;t.remove();t=null;i=null;r=null;n=null});t.attr("autocomplete","off")}}}),rx.directive("rxCompare",function(){return{require:"ngModel",scope:{compareModel:"="},link:function(n,t,i,r){function c(n){if(!angular.isUndefined(n)){if(n==""||n==null){u=!0;angular.isUndefined(i.validNull)?(o(),r.$setValidity(i.ngModel,!1)):(e(),r.$setValidity(i.ngModel,!0));return}var t=n==f?!0:!1;t?(e(),r.$setValidity(i.ngModel,!0)):f==""?(t=n==r.$viewValue?!0:!1,t?(e(),r.$setValidity(i.ngModel,!0)):(u=!0,o(),r.$setValidity(i.ngModel,!1))):(u=!0,o(),r.$setValidity(i.ngModel,!1))}}function e(){angular.isUndefined(i.rxCompareMessage)||$(t).tooltip("destroy");u=!0;$(t).removeClass("rx-error");$(t).addClass("rx-valid")}function o(){u&&(angular.isUndefined(i.rxCompareMessage)||($(t).tooltip({title:i.rxCompareMessage,html:!0,trigger:"focus",placement:angular.isUndefined(i.rxComparePosition)?"right":i.rxComparePosition,delay:{show:200,hide:0}}),$(t).tooltip("show")));u=!1;$(t).addClass("rx-error");$(t).removeClass("rx-valid")}var h=n.$on("$destroy",function(){h();h=null;$(t).tooltip("destroy");s();s=null;$(t).off();$(t).remove();t=null;i=null;r=null;n=null}),f="",u,s;angular.isUndefined(i.rxCompareMessage)||($(t).tooltip("destroy"),$(t).tooltip({title:i.rxCompareMessage,html:!0,trigger:"focus",placement:angular.isUndefined(i.rxComparePosition)?"right":i.rxComparePosition,delay:{show:200,hide:0}}));$(t).addClass("rx-error");u=!1;r.$parsers.unshift(function(t){var u=n.compareModel==t?!0:!1;return u?(f=t,e(),r.$setValidity(i.ngModel,!0),t):(f=t,o(),r.$setValidity(i.ngModel,!1),undefined)});r.$setValidity(i.ngModel,!1);s=n.$watch("compareModel",c,!0)}}}),rx.directive("rxBlur",function(){return{require:"ngModel",link:function(n,t,i,r){function e(n){angular.isUndefined(n)||(n?r.$setValidity(i.ngModel,!0):($(t).focus(),r.$setValidity(i.ngModel,!1)))}var f=n.$on("$destroy",function(){f();f=null;u();u=null;$(t).off();$(t).remove();t=null;i=null;r=null;n=null}),u;t.bind("blur",function(){n.$apply(i.rxBlur)});u=n.$watch(i.rxValidate,e,!0)}}}),rx.directive("rxAnimationtag",["configuration",function(n){return{restrict:"A",link:function(t,i,r){var u=t.$on("$destroy",function(){u();u=null;$(i).off();$(i).remove();i=null;r=null;t=null});r.rxAnimationtag=="";$(i).on("click",function(t){var u=$(".navbar-fixed-top").height(),f,i;t.preventDefault();f=this.hash;i=$("#"+r.rxAnimationtag);$("html, body").animate({scrollTop:i.offset().top-u},n.global.rxAnimationtime)})}}}]),rx.directive("rxCollapse",["addressBroadcast",function(){return{restrict:"A",link:function(n,t,i){function r(){var n=setTimeout(function(){var n=$("#contentAreaId").height(),t;n!=null&&(t=$(window).height()-($("#navbar").height()+2),$("#sidebar").height(t>n?t:n))},700)}function o(){i.rxCollapseInit!=undefined&&i.rxCollapseInit!=""?i.isExpanded!=undefined?n[i.isExpanded]?r():(n[i.isExpanded]=!0,n.$eval(i.rxCollapseInit)):n.$eval(i.rxCollapseInit):(i.isExpanded!=undefined&&(n[i.isExpanded]||(n[i.isExpanded]=!0)),r())}function u(u){var s=$(t),p=s.data("action"),e=s.closest(".widget-box"),c=e.hasClass("collapsed")?"show":"hide",w=c=="show"?"shown":"hidden",h=e.find(".widget-body"),f=s.find("[class*=icon-]").eq(0),l=f.attr("class").match(/icon\-(.*)\-(up|down)/),a="icon-"+l[1]+"-down",v="icon-"+l[1]+"-up",y=500;c=="show"?(i.isCollapse!=undefined&&(n[i.isCollapse]=!1),f&&f.addClass(v).removeClass(a),e.removeClass("collapsed"),h.slideUp(0,function(){h.slideDown(y,function(){})}),u?o():r()):(i.isCollapse!=undefined&&(n[i.isCollapse]=!0),f&&f.addClass(a).removeClass(v),h.slideUp(400,function(){e.addClass("collapsed")}),r());n.$apply()}var f=null,e=n.$on("$destroy",function(){e();e=null;f=null;$(t).off();$(t).remove();t=null;i=null;n=null}),s;(i.rxCollapse=="close"||i.rxCollapse=="true"||i.rxCollapse==!0)&&(f=setTimeout(function(){u()},200));$(t).on("click",function(n){$(".popover").remove();n.preventDefault();var t=$(this),i=t.data("action"),r=t.closest(".widget-box");r.hasClass("ui-sortable-helper")||i=="collapse"&&u(!0)});s=n.$on("addressChangedBroadcast",function(t,r){i.sectionName==r&&i.isExpanded!=undefined&&(n[i.isExpanded]||u(!0))})}}}]),rx.directive("rxColor",["$parse",function(n){return{restrict:"A",require:"ngModel",link:function(t,i,r){var u=null,f=null,e=t.$on("$destroy",function(){e();e=null;u();u=null;f();f=null;r=null;$(".btn-colorpicker").off();$(i).off();$(i).remove();i=null;r=null;t=null});u=setTimeout(function(){$(i).ace_colorpicker()},500);f=setTimeout(function(){angular.isUndefined(r.rxColorRequired)||$(".btn-colorpicker").addClass("rx-error")},500);$(i).on("change",function(){angular.isUndefined(r.rxColorRequired)||$(".btn-colorpicker").removeClass("rx-error");var i=$(this).find("option:selected");parsed=n(r.ngModel);t.$apply(function(){parsed.assign(t,$(i).val())})})}}}]),rx.directive("rxDate",["$parse","rxPage","rxJson","appConfig",function(n,t,i,r){return{restrict:"A",require:"ngModel",link:function(u,f,e,o){function p(n){return parseInt(n[1])>12?!1:!0}var h=null,l=null,a=u.$on("$destroy",function(){a();y();y=null;h!=null&&(h(),h=null);l();l=null;a=null;f.remove();$(f).datepicker("remove");$(f).off();$(f).remove();f=null;e=null;o=null;u=null}),w;$(f).attr("maxlength","10");var v=e.rxModel.split("."),c=v[v.length-1],y=u.$on("tabIndexChanged",function(){var n=i.find(t.fields,{fieldName:i.pascalCase(c)})[0];angular.isUndefined(n)||$(f).attr("tabindex",n.actualPosition)}),s=!0;angular.isUndefined(e.rxValueChanged)||(h=u.$watch(e.rxValueChanged,function(t){var i,r;!angular.isUndefined(t)&&t!=null&&t.length>2&&(i=t.split("/"),s=!1,r=n(e.ngModel),$(f).val(i[1]+"/"+i[0]+"/"+i[2]),r.assign(u,i[1]+"/"+i[0]+"/"+i[2]),$(f).datepicker("update",new Date(i[2],i[0]-1,i[1])))},!0));l=u.$watch(e.rxModel,function(r){var o,h;!angular.isUndefined(r)&&r!=null&&r.length>2?s&&(o=r.split("/"),s=!1,h=n(e.ngModel),$(f).val(o[1]+"/"+o[0]+"/"+o[2]),h.assign(u,o[1]+"/"+o[0]+"/"+o[2]),$(f).datepicker("update",new Date(o[2],o[0]-1,o[1])),t.jObject[i.pascalCase(c)]=o[0]+"/"+o[1]+"/"+o[2]):(s||(s=!0),$(f).datepicker("update",""))},!0);w="";$(f).datepicker({format:"dd/mm/yyyy",autoclose:!0,weekStart:1,todayHighlight:!0,beforeShowDay:function(n){var s=n.getDate(),h=n.getMonth()+1,f=n.getFullYear();if(e.minDate!=null||e.maxDate!=null){var o=e.dateFormat,t=moment(e.minDate,o),i=moment(e.maxDate,o),u=moment(h+"/"+s+"/"+f,"MM/DD/YYYY");if(t!=undefined&&i!=undefined){if(u<t||u>i)return!1}else if(t!=undefined){if(u<t)return!1}else if(i!=undefined&&u>i)return!1;return!0}return f<r.rxDateRange.minYear?!1:!0}}).on("changeDate",function(){if(this.value.length==10){u.isDateSet=!0;var f=this.value.split("/");f.length==3&&parseInt(f[2])<r.rxDateRange.minYear?angular.isUndefined(e.rxModel)||u.$apply(function(){var i=n(e.rxModel),t;i.assign(u,undefined);t=n(e.ngModel);t.assign(u,undefined)}):(t.jObject[i.pascalCase(c)]=f[1]+"/"+f[0]+"/"+f[2],u.$apply(function(){var t,i;if(s=!1,angular.isUndefined(e.rxModel)||(t=n(e.rxModel),p(f)?t.assign(u,f[1]+"/"+f[0]+"/"+f[2]):(t.assign(u,undefined),i=n(e.ngModel),i.assign(u,undefined))),!angular.isUndefined(e.ngChange)){u.$eval(e.ngChange);return}if(!angular.isUndefined(e.rxChange)){u.$eval(e.rxChange);return}angular.isUndefined(e.setRxgrid)||u.$eval(e.ngChange);angular.isUndefined(e.rxChanged)||u.$eval(e.rxChanged)}))}else u.isDateSet=!1}).on("blur",function(){if(this.value.length>=8&&this.value.length<10||u.isDateSet==!1){u.isDateSet=!0;var f=this.value.split("/");f.length==3?parseInt(f[2])<r.rxDateRange.minYear?angular.isUndefined(e.rxModel)||u.$apply(function(){var i=n(e.rxModel),t;i.assign(u,undefined);t=n(e.ngModel);t.assign(u,undefined)}):(t.jObject[i.pascalCase(c)]=f[1]+"/"+f[0]+"/"+f[2],u.$apply(function(){var t,i;if(s=!1,angular.isUndefined(e.rxModel)||(t=n(e.rxModel),p(f)?t.assign(u,f[1]+"/"+f[0]+"/"+f[2]):(t.assign(u,undefined),i=n(e.ngModel),i.assign(u,undefined))),!angular.isUndefined(e.ngChange)){u.$eval(e.ngChange);return}if(!angular.isUndefined(e.rxChange)){u.$eval(e.rxChange);return}angular.isUndefined(e.setRxgrid)||u.$eval(e.ngChange);angular.isUndefined(e.rxChanged)||u.$eval(e.rxChanged)})):this.value!=""&&u.$apply(function(){var i=n(e.rxModel),t;i.assign(u,undefined);t=n(e.ngModel);t.assign(u,undefined)})}else(this.value==""||this.value.length<8)&&u.$apply(function(){var i=n(e.rxModel),t;i.assign(u,undefined);t=n(e.ngModel);t.assign(u,undefined)})}).on("click",function(){$(f)[0].readOnly||$(f).datepicker("show")}).css("z-index",3335);e.setRxgrid!=null&&$(f).off("focus")}}}]),rx.factory("rxDynamicTreeData",[function(){var n={};return n.setTreeSource=function(t){n.activeTree=t},n}]),rx.directive("rxInit",[function(){return{restrict:"A",compile:function(){return{pre:function(n,t,i){var r=setTimeout(function(){n.$apply(function(){n.$eval(i.rxInit)});r=null},200)}}}}}]),rx.directive("rxDynamictree",["rxJson","rxDynamicTreeData","rxUserPermission","rxMobile",function(n,t,i,r){return{restrict:"E",scope:{rxSource:"="},link:function(u,f,e){function a(n){return u.$parent.event=n,u.$parent.selectedIds=u.rxSource.getSelectedNodes(),u.$parent.$eval(u.rxSource.callbacks.contextMenu+"(event,selectedIds)")}function v(){u.rxSource.addnewnode=function(){};u.rxSource.getcurrentnode=function(){return $.jstree._focused().get_selected().attr("id")};u.rxSource.resetDynamicTree=function(n,t,i){u.rxSource.treeObject=n;angular.isUndefined(t)||(u.rxSource.callbacks.parentList=t);u.islastNodeSelected=i;u.setDynamicTree(u.rxSource)};u.rxSource.getparentnode=function(){return $.jstree._focused()._get_parent().attr("id")};u.rxSource.setSelectedNode=function(n){$(f[0]).jstree("select_node",n)};u.rxSource.deselectNodes=function(){$.jstree._focused().deselect_all()};u.rxSource.hideContext=function(){window.setTimeout(function(){$.vakata.context.hide()},50)};u.rxSource.getSelectedNodes=function(){var n="";return angular.forEach($.jstree._focused().get_selected(),function(t){n+=t.id+","}),n};u.rxSource.addnewnode=function(){$(f[0]).jstree("create","#"+$.jstree._focused().get_selected().attr("id"),"last",{attr:{id:124},data:"abc"},!0,!0)};u.rxSource.renamenode=function(n){$.jstree._focused().set_text($.jstree._focused().get_selected(),n)};u.rxSource.deletenode=function(){$(f[0]).jstree("remove");$(f[0]).jstree("select_node",$.jstree._focused()._get_parent().attr("id"))};u.rxSource.openAll=function(){$(f[0]).jstree("open_all")};u.rxSource.searchnode=function(n){$(f[0]).jstree("search",n)};u.rxSource.clearsearch=function(){$(f[0]).jstree("clear_search")};u.rxSource.openall=function(n){$.jstree._focused().open_all("#"+n,!0)};u.rxSource.closeall=function(n){$.jstree._focused().close_all("#"+n,!0)};t.setTreeSource(u.rxSource)}var h=null,l=null,c=u.$on("$destroy",function(){t.activeTree=undefined;for(var n=0;n<f.length;n++)$(f[n]).detach(),$(f[n]).remove();$(f[0]).jstree("destroy");$(".jstree-default ul li").detach();$(".jstree-default ul li").remove();$(f).remove();s();s=null;c();c=null;h=null;e=null;f=null;u=null}),o=[],s;u.isSourceUpdated=!1;u.setDynamicTree=function(t){var c,p,e,b;u.isSourceUpdated&&$(f[0]).jstree("destroy");c=0;for(p in t.treeObject[0]){if(c>2)break;o.push(p);c++}v();var y="<root>",s=t.treeObject,w="";if(s.length>0){for(e=0;e<s.length;e++)y+=s[e][o[1]]!=0?"<item id='"+s[e][o[0]]+"' parent_id='"+s[e][o[1]]+"'><content><name><![CDATA["+s[e][o[2]]+"]\]><\/name><\/content><\/item>":"<item id='"+s[e][o[0]]+"'><content><name><![CDATA["+s[e][o[2]]+"]\]><\/name><\/content><\/item>",u.islastNodeSelected&&(w=s[e][o[0]]);y+="<\/root>";u.isSourceUpdated=!0;$(f[0]).jstree({plugins:["themes","xml_data","ui","crrm","cookies","dnd","hotkeys","contextmenu","search"],contextmenu:{items:a},xml_data:{data:y},ui:{initially_select:["node_0"]},dnd:{drop_target:!1,drag_target:!1,drag_check:function(n){return n.r.attr("id")=="59"?!1:{after:!1,before:!1,inside:!1}}},crrm:{move:{check_move:function(t){var e=n.find(i.permissionContext,{permissionItemName:"Job Referral"})[0],o=e!=undefined?e.canEdit:!0,f,r;if(o){if(f="",angular.isUndefined(t.or[0]))f=t.or.prevObject[0].id,u.$parent.moveNode=t.or.prevObject[0].id,u.$parent.currentNode=t.o[0].id;else return!1;return(r=n.find(u.rxSource.callbacks.parentList,{objectId:parseInt(u.$parent.currentNode)})[0],r!=undefined)?!1:(r=n.find(u.rxSource.callbacks.parentList,{objectId:parseInt(f)})[0],r!=undefined)?!0:!1}return!1}}}}).bind("loaded.jstree",function(){angular.isUndefined(u.rxSource.callbacks.initiallyOpened)||u.rxSource.callbacks.initiallyOpened&&$(f[0]).jstree("open_all")}).bind("create.jstree",function(n,t){var r=[],f,i,e;for(t.rslt.obj.parents("li").each(function(){r.push({id:$(this).attr("id"),description:$(this).children("a").text()})}),f="",i=r.length-1;i>=0;i--)f+=i==0?"/"+r[i].description:r[i].description+"/";u.$parent.parentId=t.rslt.parent.attr("id");u.$parent.oName=t.rslt.name;u.$parent.path=f;u.$parent.element=t;e=u.$parent.$eval(u.rxSource.callbacks.createEvent+"(parentId,oName,path,element)");e!=0&&(t.rslt.obj[0].id=e)}).bind("remove.jstree",function(n,t){t!=null&&(u.$parent.parentId=t.rslt.obj.attr("id"),u.$parent.$eval(u.rxSource.callbacks.deleteEvent+"(parentId)"))}).bind("rename.jstree",function(n,t){u.$parent.parentId=t.rslt.obj.attr("id");u.$parent.oName=t.rslt.new_name;u.$parent.$eval(u.rxSource.callbacks.renameEvent+"(parentId,oName)")}).bind("select_node.jstree",function(n,i){angular.isUndefined(t.callbacks.select)||(u.$parent.treeid=i.rslt.obj[0].id,r.isMobileDevice()&&setTimeout(function(){i.rslt.obj.children("a").trigger("contextmenu")},50),u.$parent.$eval(t.callbacks.select+"(treeid)"))}).bind("move_node.jstree",function(n,i){var f=i.rslt.o,r="";angular.forEach(i.rslt.o,function(n){r+=n.id+","});u.$parent.treeid=r;u.$parent.parentTreeid=i.args[0].cr[0].id;u.$parent.$eval(t.callbacks.moveNode+"(treeid,parentTreeid)")});u.islastNodeSelected&&(u.$parent.treeid=w,u.$parent.$eval(t.callbacks.select+"(treeid)"));b=[];angular.isUndefined(t.callbacks.selectedNode)||(h=setTimeout(function(){for(var i=t.callbacks.selectedNode.split(","),n=0;n<i.length;n++)$(f[0]).jstree("select_node",i[n])},500));l=setTimeout(function(){$(".jstree-default ul li").each(function(){var i=n.find(u.rxSource.callbacks.parentList,{objectId:parseInt(this.id)})[0],t;i!=undefined?$(this).addClass("rxmainNodeTree"):($(this).addClass("innerrxmainNodeTree"),t=n.find(u.rxSource.treeObject,{objectId:parseInt(this.id)})[0],t!=null&&t.iconClass!=null&&t.iconClass!=""&&$(this).find("a ins").removeClass("jstree-icon").addClass(t.iconClass));b.push(this)})},10)}};s=u.$watch("rxSource",function(n){angular.isUndefined(n)||u.setDynamicTree(n)})}}}]),rx.directive("hirarchy",["cacheData",function(n){return function(t,i,r){var f=t.$on("$destroy",function(){f();f=null;r=null;$(i).detach();$(i).remove();i=null;t=null}),u,e;if(t.$first){$(i).addClass("line left");return}if(t.$last){$(i).addClass("line right");n.clear("hierarchy");return}u="line left top";angular.isUndefined(n.fetch("hierarchy"))||(e=n.fetch("hierarchy"),u=n.fetch("hierarchy")=="line right top"?"line left top":"line right top");$(i).addClass(u);n.save("hierarchy",u)}}]),rx.directive("rxOchart",["$compile","configuration",function(n,t){return{restrict:"E",scope:{rxSource:"=",bindType:"="},link:function(i,r,u){var o=null,f=i.$on("$destroy",function(){e();e=null;f();f=null;$(r).detach();$("#"+u.id+"s").detach();$("#"+u.id+"s").remove();$("#Ul1").detach();$("#Ul1").remove();$(r).remove();r=null;u=null;i=null}),e=i.$watch("rxSource",function(f){var e,c,s,h;angular.isUndefined(f)||f.length>0&&(e="",c=t.global.companyName!=null&&t.global.companyName!=""?t.global.companyName:"",i.bindType=="ohierarchy"?e='<ul id="Ul1" class="hide"><li><em>'+c+'<\/em><ul><li ng-repeat="country in rxSource" class="country-node"><em>{{country.countryName}}<\/em><ul remove-element elemnt-remove="country.brands.length == 0"><li ng-repeat="brand in country.brands" class="brand-node">{{brand.brandName}}<br/><ul remove-element elemnt-remove="brand.regions.length == 0"><li ng-repeat="region in brand.regions" class="region-node">{{region.regionName}}<br/><ul remove-element elemnt-remove="region.offices.length == 0"><li ng-repeat="office in region.offices" class="office-node">{{office.officeName}}<br/><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><\/ul>':i.bindType=="parent"?e='<ul id="Ul1" class="hide"><li ng-repeat="parent in rxSource" class="country-node"><em>{{parent.parentCompanyName}}<\/em><ul remove-element elemnt-remove="parent.clients.length == 0"><li ng-repeat="client in parent.clients" class="brand-node">{{client.clientName}}<br/><ul remove-element elemnt-remove="client.costCentres.length == 0"><li ng-repeat="costCentre in client.costCentres" class="office-node">{{costCentre.costCentreName}}<br/><\/li><\/ul><\/li><\/ul><\/li><\/ul>':i.bindType=="client"?e='<ul id="Ul1" class="hide"><li ng-repeat="client in rxSource" class="brand-node"><em>{{client.clientName}}<\/em><ul remove-element elemnt-remove="client.costCentres.length == 0"><li ng-repeat="costCentre in client.costCentres" class="office-node">{{costCentre.costCentreName}}<br/><\/li><\/ul><\/li><\/ul>':i.bindType=="costcentre"&&(e='<ul id="Ul1" class="hide"><li ng-repeat="costcentre in rxSource" class="office-node" ><em>{{costcentre.costCentreName}}<\/em><\/li><\/ul>'),$(r).html(""),s='<div id="'+u.id+'s"><\/div>',$(r).append(s),h=n(e)(i),$(r).append(h),h=null,s=null,o=setTimeout(function(){$("#Ul1").orgChart({container:$("#"+u.id+"s"),interactive:!0})},500))})}}}]),rx.directive("removeElement",function(){return{restrict:"A",scope:{elemntRemove:"="},link:function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;$(t).detach();$(t).remove();t=null;i=null;n=null});n.elemntRemove&&$(t).remove()}}}),rx.directive("rxDecimal",["$parse",function(n){return{restrict:"A",require:"ngModel",link:function(t,i,r){function o(n){function u(s){i[0].value.indexOf(".")!=-1&&r.rxDecimal!=null&&parseInt(r.rxDecimal)>0&&(t=angular.isUndefined(r.allowNegative)?"/^[0-9]*(.)?[0-9]{1,"+parseInt(r.rxDecimal)+"}/":"/^-?[0-9]*(.)?[0-9]{1,"+parseInt(r.rxDecimal)+"}/",t=eval(t));var matchedChar=String(s).match(t);return matchedChar!=null&&String(matchedChar[0])==String(s)?!0:!1}var t=/^\d*(\.)?$/;return angular.isUndefined(r.allowNegative)||(t=/^-?\d*(\.)?$/),u(n)?!0:!1}function h(n){return f(n,"0")&&n.charAt(1)!="."&&n.length>1?!0:!1}function c(n){for(var t=!1;t==!1;)f(n,"0")&&n.charAt(1)!="."&&n.length>1?n=n.substr(1,n.length):t=!0;return n}function s(n){if(n.indexOf(".")!=-1){var t=n.substr(n.indexOf(".")+1,n.length-1);return parseInt(t)==0?!0:!1}}function f(n,t){return String(n).charAt(0)===t}function l(n,t){return String(n).charAt(n.length-1)===t}var u=n(r.ngModel),e=!0;$(i).keypress(function(n){var t=n.keyCode||n.charCode,r,u;return t==46||t==8?!0:(r=i[0].value.split(""),r.splice(n.currentTarget.selectionStart,n.currentTarget.selectionEnd==n.currentTarget.selectionStart?0:n.currentTarget.selectionEnd,String.fromCharCode(t)),u=r.join(""),h(u))?!1:o(u)});$(i).focusout(function(n){var t=n.keyCode||n.charCode,r,u;if(t==46||t==8)return!0;r=i[0].value.split("");r.splice(n.currentTarget.selectionStart,n.currentTarget.selectionEnd==n.currentTarget.selectionStart?0:n.currentTarget.selectionEnd,String.fromCharCode(t));u=r.join("");(u.indexOf("e")||u.indexOf("E"))!=-1&&$(i).val("")});$(i).change(function(){t.$apply(function(){var n=i[0].value,e,o;n=c(n);e=!1;n.indexOf(".")!=-1?(l(n,".")?parseInt(r.rxDecimal)>0?(o=new Array(parseInt(r.rxDecimal)+1).join("0"),n+=o,u.assign(t,n),e=!0):(n=n.substr(0,n.length-1),u.assign(t,Number(n))):f(n,".")&&(n="0"+n,u.assign(t,Number(n)),e=!0),f(n,"0")&&n.charAt(1)!="."&&(n=n.substr(1,n.length),u.assign(t,Number(n)),e=!0)):f(n,"0")&&n.length>1&&(n=n.substr(1,n.length),u.assign(t,Number(n)),e=!0);e||n!=null&&n!=""&&(s(n)?u.assign(t,n):u.assign(t,Number(n)))})});$(i).blur(function(){i[0].value!=null&&i[0].value!=""&&(s(i[0].value)?u.assign(t,i[0].value):u.assign(t,Number(i[0].value)))});$(i).on("paste",function(){e=!0});t.$watch(r.ngModel,function(){e&&(e=!1,o(i[0].value)||u.assign(t,undefined))})}}}]),rx.directive("rxPercent",["$parse",function(n){return{restrict:"A",require:"ngModel",link:function(t,i,r,u){function c(){for(var n=String(i[0].value).replace("%",""),u="",o=n[0],e=n.length>4?5:n.length,r=0;r<e;r++)u+=n.charAt(r);t.$apply(function(){i[0].value=u;f.assign(t,u)})}var e=t.$on("$destroy",function(){e();e=null;s();s=null;$(i).detach();$(i).remove();i=null;r=null;u=null;t=null}),f=n(r.ngModel),o=!1,h=!1,s=t.$watch(r.ngModel,function(n){var r;if(angular.isUndefined(n)||n==null||n=="")$(i).attr("placeholder","0.00%");else if(n!=null&&!o){h=!0;var u=String(n).replace(".","").replace("%",""),e="",c=u[0],s=u.length>4?4:u.length;for(r=0;r<s;r++)e+=u.charAt(r),r==1&&s>2&&(e+=".");f.assign(t,e+"%");o=!0}},!0);$(i).keyup(function(){c()});$(i).blur(function(){var n=this.value;n!=""&&t.$apply(function(){f.assign(t,n+"%")})});$(i).focus(function(){var n=this.value;t.$apply(function(){f.assign(t,n.replace("%",""))})})}}}]),rx.directive("rxTrim",["$parse",function(n){return{restrict:"A",require:"ngModel",link:function(t,i,r,u){function o(n){if(n.keyCode!=37&&n.keyCode!=39&&n.keyCode!=16&&n.keyCode!=36&&n.keyCode!=46){var r="",u=i[0].value;r=u.replace(/ /g,"");t.$apply(function(){i[0].value=r;e.assign(t,r)})}}var f=t.$on("$destroy",function(){f();f=null;$(i).detach();$(i).remove();i=null;r=null;u=null;t=null}),e=n(r.ngModel);$(i).keyup(function(n){o(n)})}}}]),rx.directive("rxNumber",["$parse",function(n){return{restrict:"A",require:"ngModel",link:function(t,i,r){function o(n){function i(n){if(angular.isUndefined(r.allowNegative)||n==""||n!="-"){var i=String(n).match(t);return i!=null&&String(i[0])==String(n)?!0:!1}return!0}var t=/^\s*\d+\s*$/;return angular.isUndefined(r.allowNegative)||(t=/^\s*-?\d+\s*$/),angular.isUndefined(r.decimal)||(t=/^\d*(\.)?\d*$/,angular.isUndefined(r.allowNegative)||(t=/^-?\d*(\.)?\d*$/)),i(n)?!0:!1}function s(n){return n!=null&&f(n,"0")&&n.charAt(1)!="."&&n.length>1?!0:!1}function h(n){if(n!=null)for(var t=!1;t==!1;)f(n,"0")&&n.charAt(1)!="."&&n.length>1?n=n.substr(1,n.length):t=!0;return n}function f(n,t){return String(n).charAt(0)===t}function c(n,t){return String(n).charAt(n.length-1)===t}var u=n(r.ngModel),e=!0;$(i).keypress(function(n){var r=i[0].value.split(""),u=typeof n.which=="number"?n.which:n.keyCode,t;return u==8||[8,9,35,36,37,39,46].indexOf(n.keyCode)!=-1||n.which==118&&n.ctrlKey==!0?!0:(r.splice(n.currentTarget.selectionStart,n.currentTarget.selectionEnd,String.fromCharCode(u)),t=r.join(""),s(t))?!1:o(t)});$(i).change(function(){t.$apply(function(){var n=i[0].value,r;n=h(n);r=!1;n.indexOf(".")!=-1?(c(n,".")?(n=n.substr(0,n.length-1),u.assign(t,Number(n)),r=!0):f(n,".")&&(n="0"+n,u.assign(t,Number(n)),r=!0),f(n,"0")&&n.charAt(1)!="."&&(n=n.substr(1,n.length),u.assign(t,Number(n)),r=!0)):f(n,"0")&&n.length>1&&(n=n.substr(1,n.length),u.assign(t,Number(n)),r=!0);r||n!=null&&n!=""&&u.assign(t,Number(n))})});$(i).on("paste",function(){e=!0});$(i).blur(function(){i[0].value!=null&&i[0].value!=""&&u.assign(t,Number(i[0].value))});t.$watch(r.ngModel,function(){e&&(e=!1,o(i[0].value)||u.assign(t,undefined))})}}}]),rx.directive("rxTime",["$parse",function(n){return{restrict:"A",require:"ngModel",link:function(t,i,r,u){function h(){t.$apply(function(){function h(n){return String(n).search(s)!=-1}var s=/^\s*\d+\s*$/,c=h(i[0].value.replace(":","")),n,o,u,e,r;if(c){if(n=i[0].value.replace(":",""),n.length==2&&parseInt(n)>23){i[0].value=23;f.assign(t,"23");return}if(n.length==4&&(o=i[0].value.split(":"),parseInt(o[1])>59)){i[0].value=i[0].value.replace(o[1],"59");f.assign(t,i[0].value);return}if(u="",e=0,n.length>2)for(r=0;r<n.length;r++){if(u+=e==2?":"+n.charAt(r):n.charAt(r),e==3)break;e++}else u=i[0].value.replace(":","");f.assign(t,u)}else i[0].value="",f.assign(t,"")})}var e=t.$on("$destroy",function(){e();e=null;s();s=null;$(i).detach();$(i).remove();i=null;r=null;u=null;t=null}),o=!1,s=t.$watch(r.ngModel,function(n){var e;if(!angular.isUndefined(n)&&!o){o=!0;var i=n,r=0,u="";for(e in i)r<5&&(u+=i.charAt(e)),r++;f.assign(t,u)}},!0),f=n(r.ngModel);$(i).keydown(function(){h()});$(i).blur(function(){var e=i[0].value.split(":"),n=i[0].value.replace(":",""),r=i[0].value.split(":"),u;parseInt(e[0])>24?(n="00:00",t.$apply(function(){f.assign(t,n)})):n.length<4&&(n.length==1?n="0"+n+":00":n.length==2?n=r[0]>23?"23:00":n+":00":n.length==3&&(r[1]<6?(u=r[0]>23?"23":r[0],n=u+":"+r[1]+"0"):n=r[0]+":00"),t.$apply(function(){f.assign(t,n)}))});$(i).keyup(function(){h()})}}}]),rx.directive("rxSrc",function(){return{restrict:"A",scope:{rxSrc:"="},link:function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;$(t).detach();$(t).remove();t=null;i=null;n=null}),u=n.$watch("rxSrc",function(n){angular.isUndefined(n)||n==null||(t[0].src=n)},!0)}}}),rx.directive("bckColor",function(){return{restrict:"A",scope:{bckSource:"="},link:function(n,t,i){var r=n.$on("$destroy",function(){r();u();u=null;r=null;$(t).detach();$(t).remove();t=null;i=null;n=null}),u=n.$watch("bckSource",function(i){angular.isUndefined(i)||$(t).css("background-color",n.bckSource)},!0)}}}),rx.directive("rxFocus",function(){return{restrict:"A",scope:{focusSource:"="},link:function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;u();u=null;$(t).detach();$(t).remove();t=null;i=null;n=null}),u=n.$watch("focusSource",function(n){angular.isUndefined(n)||n&&$(t).focus()},!0)}}}),rx.directive("rxGridSorting",["rxData",function(){return{restrict:"A",link:function(n,t,i){var r=n.$on("$destroy",function(){r();u();r=null;u=null;$(t).detach();$(t).remove();t=null;i=null;n=null}),u=n.$watch("rxSrc",function(n){angular.isUndefined(n)||(t[0].src=n)},!0)}}}]),rx.directive("rxFileupload",["rxWait","cookieconfig","appConfig","notification","rxLog","configuration",function(n,t,i,r,u,f){return{restrict:"A",scope:{url:"=",uploadObject:"=",uploadData:"="},link:function(e,o,s){function l(n){var i=!1,u=String(s.acceptFile).toLowerCase().split("|"),t=n.split("."),r;return t.length>1&&(r=String(t[t.length-1]).toLowerCase(),i=u.indexOf(r)!=-1?!0:!1),i}function c(){var r=new Date,n=new Array(7),i,t;return n[0]="Sun",n[1]="Mon",n[2]="Tues",n[3]="Wed",n[4]="Thur",n[5]="Fri",n[6]="Sat",i=moment().calendar(),t=i.replace("Today at",n[r.getDay()]),t=t.split(" "),moment().format("L")+"-"+t[1]+" "+t[2]}var h=e.$on("$destroy",function(){h();h=null;try{$(o).fileupload("destroy")}catch(n){}$(o).detach();$(o).remove();o=null;s=null;e=null});$(o).change(function(){n.pageShow("");var i=t.get("attachmentType");i!=undefined});angular.isUndefined(s.acceptFile)?$(o).fileupload({url:s.url,maxFileSize:5e6,acceptFileTypes:/(\.|\/)(gif|jpe?g|png|txt|doc?x|pdf|xls?x)$/i,dataType:"json",formData:function(){var n=[],t;for(t in e.uploadData)n.push({name:t,value:e.uploadData[t]});return n.push({name:"clientDateTime",value:c()}),n},add:function(t,e){var o=0;return o=f.global.uploadFileSizeLimit!=null&&f.global.uploadFileSizeLimit>0?f.global.uploadFileSizeLimit*1024:i.webConfiguration.maxRequestLength,n.pageShow(),parseInt(e.files[0].size/1024)<o?(e.submit(),!0):(n.pageHide(),u.error(r.message.maxRequestLengthExceed),!1)},done:function(t,i){n.pageHide();angular.isUndefined(s.uploadEvent)?e.$apply(function(){e.uploadObject=i.result}):e.$apply(function(){e.$parent.uploadFile=i.result;e.$parent.$eval(s.uploadEvent+"(uploadFile)")})}}):$(o).fileupload({url:s.url,maxFileSize:5e6,acceptFileTypes:/(\.|\/)(docx)$/i,dataType:"json",formData:function(){var n=[],t;for(t in e.uploadData)n.push({name:t,value:e.uploadData[t]});return n.push({name:"clientDateTime",value:c()}),n},add:function(t,e){var o=0;return(o=f.global.uploadFileSizeLimit!=null&&f.global.uploadFileSizeLimit>0?f.global.uploadFileSizeLimit*1024:i.webConfiguration.maxRequestLength,n.pageShow(),!l(e.files[0].name))?(n.pageHide(),u.error(r.message.uploadValidFile),!1):parseInt(e.files[0].size/1024)<o?(e.submit(),!0):(n.pageHide(),u.error(r.message.maxRequestLengthExceed),!1)},done:function(t,i){n.pageHide();angular.isUndefined(s.uploadEvent)?e.$apply(function(){e.uploadObject=i.result}):e.$apply(function(){e.$parent.uploadFile=i.result;e.$parent.$eval(s.uploadEvent+"(uploadFile)")})}})}}}]),rx.directive("rxMultifileupload",["response",function(){return{restrict:"A",scope:{url:"=",uploadObject:"="},link:function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;$("#"+t[0].id).fileupload("destroy");$("#"+t[0].id).detach();$("#"+t[0].id).remove();$("#"+i.rxMultifileupload).detach();$("#"+i.rxMultifileupload).remove();$(t).detach();$(t).remove();t=null;i=null;n=null});$("#"+t[0].id).fileupload({maxFileSize:5e6,acceptFileTypes:/(\.|\/)(gif|jpe?g|png|txt|doc?x|pdf|xls?x)$/i});$("#"+i.rxMultifileupload).change(function(){$("#"+i.rxPopup).modal("show")})}}}]),rx.directive("rxEditor",[function(){return{restrict:"A",link:function(n,t,i){n.$on("$destroy",function(){$(t).off();$(t).detach();$(t).remove();n=null;i=null;t=null});try{}catch(r){}$(t).tinymce({theme:"modern",plugins:["advlist autolink lists link image charmap preview hr anchor","searchreplace wordcount visualblocks visualchars code fullscreen","insertdatetime media nonbreaking save table contextmenu directionality","emoticons template paste textcolor"],toolbar1:"insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent",toolbar2:"preview media | forecolor backcolor emoticons",image_advtab:!0,setup:function(t){t.on("change",function(){angular.isUndefined(i.editorChanged)||n.$eval(i.editorChanged)});t.on("focus",function(){angular.isUndefined(i.editorFocus)||n.$eval(i.editorFocus+"('rxEditor')")})}})}}}]),rx.directive("rxRemove",[function(){return{restrict:"A",scope:{rxRemove:"="},link:function(n,t,i){var r=n.$watch("rxRemove",function(u){angular.isUndefined(u)||u&&(r(),r=null,t.remove(),i=null,n=null)},!0)}}}]),rx.directive("rxDisableEnter",["response",function(){return{restrict:"A",link:function(n,t){$(t).keypress(function(n){var t=t?t:n?n:null,i=t.target?t.target:t.srcElement?t.srcElement:null;if(t.keyCode==13&&i.type=="text")return!1});$(t).click(function(n){n.target!=null&&n.target.className!=null&&typeof n.target.className=="string"&&n.target.className.indexOf("select2")==-1&&$("#email-select2-drop").removeClass("email-display-inactive-items").addClass("email-hide-inactive-items")})}}}]),rx.directive("rxHtml",[function(){return{restrict:"A",scope:{rxHtml:"="},link:function(n,t,i){var r=n.$on("$destroy",function(){u();u=null;r();r=null;$(t).off();$(t).detach();$(t).remove();t=null;n=null;i=null}),u=n.$watch("rxHtml",function(i){angular.isUndefined(i)||$(t).html(n.rxHtml.replace(/\n/g,"<br />"))},!0)}}}]),rx.directive("rxValidation",function(){return{restrict:"A",require:"ngModel",link:function(n,t,i,r){function s(){var t=i.ngModel.split(".");if(t!=null){if(t.length==3)return t[1].indexOf("[0]")!=-1?(t[1]=t[1].replace("[0]",""),n[t[0]][t[1]][0][t[2]]):n[t[0]][t[1]][t[2]];if(t.length==2)return n[t[0]][t[1]];if(t.length==1)return n[t[0]]}}function h(){u=setTimeout(function(){$(t).popover("destroy");$(".popover").remove()},300)}function c(n){if(n){if(i.$$element.hasClass("rx-error")){var t=s();t!=null&&t!=""&&r.$setValidity(i.ngModel,!0)}else r.$setValidity(i.ngModel,!0);h()}else r.$setValidity(i.ngModel,!1),a()}function a(){$(t).popover("destroy");u=setTimeout(function(){$(t).on("shown.bs.popover",function(){$(".popover .popover-title").addClass("validation-popover-title");$(".popover .popover-content").addClass("validation-popover-content");$(".popover .arrow:after").addClass("validation-popover-arrow-after");$(".popover .arrow").addClass("validation-popover-arrow")});$(t).popover({content:i.rxValidationMessage,html:!0,trigger:"focus",placement:i.rxValidationPosition,delay:{show:200,hide:0}})},300);e=setTimeout(function(){$(t).popover("show")},300)}var e,u,f,o=n.$on("$destroy",function(){l();l=null;o();o=null;u=null;e=null;try{$(t).popover("destroy")}catch(f){}$(t).off();$(t).detach();$(t).remove();t=null;i=null;r=null;n=null}),l=n.$watch(i.rxValidationScope,function(t){angular.isUndefined(t)?angular.isUndefined(i.checkValidation)||n[i.checkValidation]||h():(f=t,c(t))},!0);$(t).blur(function(){if(!angular.isUndefined(f)){var t=s();c(f);n.$apply()}})}}}),rx.directive("rxCheckbox",function(){return{restrict:"A",scope:{rxModel:"="},link:function(n,t,i,r){function f(n){return n===+n&&n===(n|0)}var u=n.$on("$destroy",function(){u();u=null;$(t).off();$(t).detach();$(t).remove();t=null;i=null;r=null;n=null});n.clickNumber=0;angular.isUndefined(n.rxModel)?(n.clickNumber++,n.clickNumber++,$(t).addClass("icon-circle cursor")):f(n.rxModel)?(n.clickNumber=parseInt(n.rxModel),n.clickNumber==0?($(t).removeClass("icon-circle-blank"),$(t).addClass("icon-check-sign")):n.clickNumber==1?($(t).removeClass("icon-check-sign"),$(t).addClass("icon-circle")):($(t).removeClass("icon-circle"),$(t).addClass("icon-circle-blank"))):n.rxModel=="true"?(n.clickNumber++,$(t).removeClass("icon-circle-blank"),$(t).addClass("icon-check-sign")):(n.clickNumber++,$(t).removeClass("icon-circle"),$(t).addClass("icon-circle-blank"));$(t).click(function(){n.clickNumber==0?(n.clickNumber++,n.rxModel=angular.isUndefined(i.rxTrueValue)?!0:i.rxTrueValue,$(t).removeClass("icon-circle-blank"),$(t).addClass("icon-check-sign cursor")):n.clickNumber==1?(n.clickNumber++,n.rxModel=undefined,$(t).removeClass("icon-check-sign"),$(t).addClass("icon-circle cursor")):(n.clickNumber=0,n.rxModel=angular.isUndefined(i.rxTrueValue)?!1:i.rxFalseValue,$(t).removeClass("icon-circle"),$(t).addClass("icon-circle-blank cursor"));angular.isUndefined(i.rxChange)||(n.$parent.changedChecked=n.rxModel,n.$parent.$eval(i.rxChange+"(changedChecked)"));n.$apply()})}}}),rx.directive("rxModelRequired",["rxPage","rxJson",function(n,t){return{restrict:"A",require:"ngModel",link:function(i,r,u,f){var h,s,e;i.$on("$destroy",function(){a();a=null;v();v=null;y();y=null;$(r).off();$(r).detach();$(r).remove();r=null;u=null;f=null;i=null});var c=u.ngModel.split("."),l=c[c.length-1],a=i.$on("tabIndexChanged",function(){var i=t.find(n.fields,{fieldName:t.pascalCase(l)})[0];angular.isUndefined(i)||$(r).attr("tabindex",i.actualPosition)});if(angular.isUndefined(u.sectionName)||(e=t.find(n.fields,{fieldName:t.pascalCase(l)})[0],angular.isUndefined(e)||$(r).attr("tabindex",e.actualPosition)),!angular.isUndefined(u.controlModelName))for(h=u.controlModelName.split(","),s=0;s<h.length;s++)e=t.find(n.fields,{fieldName:t.pascalCase(h[s])})[0],angular.isUndefined(e)||$(r).attr("tabindex",e.actualPosition);var o=undefined,p=u.ngModel,v=i.$watch(u.rxModelValidate,function(n){angular.isUndefined(n)||(n?f.$viewValue==""||f.$viewValue==null?($(r).addClass("rx-error"),$(r).removeClass("rx-valid"),o=n,f.$setValidity(u.ngModel,!1)):($(r).removeClass("rx-error"),$(r).addClass("rx-valid"),o=n,f.$setValidity(u.ngModel,!0)):($(r).removeClass("rx-error"),$(r).addClass("rx-valid"),o=n,f.$setValidity(u.ngModel,!0)))}),y=i.$watch(p,function(n){angular.isUndefined(n)||n==null||n==""?o&&($(r).addClass("rx-error"),$(r).removeClass("rx-valid"),f.$setValidity(u.ngModel,!1)):angular.isUndefined(o)||(o?n!=""&&n!=null?($(r).removeClass("rx-error"),$(r).addClass("rx-valid"),f.$setValidity(u.ngModel,!0)):($(r).addClass("rx-error"),$(r).removeClass("rx-valid"),f.$setValidity(u.ngModel,!1)):($(r).removeClass("rx-error"),$(r).addClass("rx-valid"),f.$setValidity(u.ngModel,!0)))},!0)}}}]),rx.directive("rxMask",function(){return{restrict:"A",require:"ngModel",link:function(n,t,i,r){var u,f=n.$on("$destroy",function(){e();f();f=null;e=null;$(t).unmask();$(t).off();$(t).detach();$(t).remove();u=null;t=null;i=null;r=null;n=null}),e=n.$watch(i.rxMask,function(i){angular.isUndefined(i)||($(t).unmask(),u=setTimeout(function(){$(t).mask(i,{completed:function(){r.$setViewValue(this.val());n.$apply()}})},500))},!0)}}}),rx.directive("rxCurrency",function(){return{restrict:"A",require:"ngModel",link:function(n,t,i,r){var f=n.$on("$destroy",function(){f();f=null;e();o();o=null;e=null;$(t).off();$(t).detach();$(t).remove();t=null;i=null;r=null;n=null}),s=i.ngModel.split("."),u=!0,e=n.$watch(i.rxCurrencyChanged,function(t){var l,f,v,o,u,a,y,h,s;if(!angular.isUndefined(t)&&t!=null){var r=i.ngModel.split("."),p=String(n[r[0]][r[1]])=="null"?"":n[r[0]][r[1]],w=String(p).replace("$",""),c=w.split(","),b=c.length-1,e="";for(u=0;u<c.length;u++)if(b==u){if(l=c[u].split("."),e+=l[0],f="",angular.isUndefined(l[1])||(f="."+l[1]),v=e+f,!angular.isUndefined(i.rxMaxlength)){for(o="",u=0;u<parseInt(i.rxMaxlength);u++)o+=v.charAt(u);e=o.split(".")[0];f=o.split(".")[1]!=undefined?"."+o.split(".")[1]:""}f==".00"&&(f="");$("#temp").text(e).formatCurrency();i.rxCurrency==""?angular.isUndefined(i.rxDollar)?(s=angular.isUndefined(i.rxCurrencysign)?"":n[i.rxCurrencysign],a=$("#temp").html().replace("$",s),n[r[0]][r[1]]=f==""?a:a.replace(".00",f)):(y=$("#temp").html(),n[r[0]][r[1]]=y+f):(h=$("#temp").html(),h=h.split("."),angular.isUndefined(i.rxDollar)?(s=angular.isUndefined(i.rxCurrencysign)?"":n[i.rxCurrencysign],n[r[0]][r[1]]=h[0].replace("$",s)):n[r[0]][r[1]]=h[0].replace("$",""))}else e+=c[u]}},!0),o=n.$watch(i.ngModel,function(t){var a,e,p,s,r,v,y,c,h;if(!angular.isUndefined(t)&&t!="undefined"&&t!="null")if(t!=null){if(u&&i.editChange!=undefined){u=!1;var f=i.ngModel.split("."),w=String(n[f[0]][f[1]]),b=String(w).replace("$",""),l=b.split(","),k=l.length-1,o="";for(r=0;r<l.length;r++)if(k==r){if(a=l[r].split("."),o+=a[0],e="",angular.isUndefined(a[1])||(e="."+a[1]),p=o+e,!angular.isUndefined(i.rxMaxlength)){for(s="",r=0;r<parseInt(i.rxMaxlength);r++)s+=p.charAt(r);o=s.split(".")[0];e=s.split(".")[1]!=undefined?"."+s.split(".")[1]:""}e==".00"&&(e="");o.indexOf(".")==-1&&(o+=".00");$("#temp").text(o).formatCurrency();i.rxCurrency==""?angular.isUndefined(i.rxDollar)?(h=angular.isUndefined(i.rxCurrencysign)?"":n[i.rxCurrencysign],v=$("#temp").html().replace("$",h),n[f[0]][f[1]]=e==""?v:v.replace(".00",e)):(y=$("#temp").html(),n[f[0]][f[1]]=e==""?y:y+e):(c=$("#temp").html(),c=c.split("."),angular.isUndefined(i.rxDollar)?(h=angular.isUndefined(i.rxCurrencysign)?"":n[i.rxCurrencysign],n[f[0]][f[1]]=c[0].replace("$",h)):n[f[0]][f[1]]=c[0].replace("$",""))}else o+=l[r]}}else u=!1},!0);$(t).blur(function(){var r=i.ngModel.split("."),a=n[r[0]][r[1]],c,v,f,t,l,y,o,e;if(a!=null){var p=String(a).replace("$",""),s=p.split(","),w=s.length-1,u="",h="";for(t=0;t<s.length;t++)if(w==t){if(c=s[t].split("."),u+=c[0],c[1]!=""&&(u+="."+c[1]),v=u,!angular.isUndefined(i.rxMaxlength)){for(f="",t=0;t<parseInt(i.rxMaxlength);t++)f+=v.charAt(t);u=f.split(".")[0]+(f.split(".")[1]!=undefined?"."+f.split(".")[1]:"")}h==".00"&&(h="");$("#temp").text(u).formatCurrency();i.rxCurrency==""?angular.isUndefined(i.rxDollar)?(e=angular.isUndefined(i.rxCurrencysign)?"":n[i.rxCurrencysign],l=$("#temp").html().replace("$",e),n[r[0]][r[1]]=h==""?l:l.replace(".00",h)):(y=$("#temp").html(),n[r[0]][r[1]]=y):(o=$("#temp").html(),o=o.split("."),angular.isUndefined(i.rxDollar)?(e=angular.isUndefined(i.rxCurrencysign)?"":n[i.rxCurrencysign],n[r[0]][r[1]]=o[0].replace("$",e)):n[r[0]][r[1]]=o[0].replace("$",""));n.$apply()}else u+=s[t]}});$(t).keyup(function(){n.$apply(function(){var u=i.ngModel.split("."),o=n[u[0]][u[1]],l,c,r,v,e,t,y,s,a;if(o!=null){l="";l=o.replace(/-/g,"");o=l;var s=angular.isUndefined(i.rxCurrencysign)?"":n[i.rxCurrencysign],p=o.replace(s,""),h=p.split(","),w=h.length-1,f="";for(t=0;t<h.length;t++)if(w==t){if(c=h[t].split("."),f+=c[0],r="",angular.isUndefined(c[1])||(r="."+c[1]),v=f+r,!angular.isUndefined(i.rxMaxlength)){for(e="",t=0;t<parseInt(i.rxMaxlength);t++)e+=v.charAt(t);f=e.split(".")[0];r=e.split(".")[1]!=undefined?"."+e.split(".")[1]:""}$("#temp").text(f).formatCurrency();y=$("#temp").html();angular.isUndefined(i.rxDollar)?(s=angular.isUndefined(i.rxCurrencysign)?"":n[i.rxCurrencysign],a=$("#temp").html().replace("$",s),n[u[0]][u[1]]=r==""?a.replace(".00",""):a.replace(".00",r)):n[u[0]][u[1]]=y+r}else f+=h[t]}})})}}}),rx.directive("rxCurrencyformat",function(){return{restrict:"A",scope:{currencyFormattext:"=",currencySymbol:"="},link:function(n,t,i){var u=n.$on("$destroy",function(){r();r=null;$(t).off();$(t).detach();$(t).remove();t=null;i=null;n=null}),r=n.$watch("currencyFormattext",function(n){if(!angular.isUndefined(n)){$("#temp").text(n).formatCurrency();var i=$("#temp").html();i=i.replace("$","");$(t).html(i)}},!0)}}}),rx.directive("rxPopover",["$compile","cacheData","rxJson",function(n,t,i){return{restrict:"A",link:function(r,u,f){var o=r.$on("$destroy",function(){o();o=null;s=null;$(u).popover("destroy");$(u).off();$(u).detach();$(u).remove();u=null;f=null;r=null}),h,s,e;r.templateString="";r.ispopover=!0;h="";r.popoverUniqueCss="popovercss"+i.uniqueNumber();r.hidePopoverUnique=!1;r.hidePopover=function(){$("."+r.popoverUniqueCss).remove()};r.hidePopoverUniques=function(){$("."+r.popoverUniqueCss).remove()};r.showPopoverMenu=function(){r.hidePopoverUnique=!0};s=setTimeout(function(){$(u).on("show.bs.popover",function(){$(".popover").remove()});$(u).on("hide.bs.popover",function(n){r.hidePopoverUnique&&n.preventDefault()});$(u).on("show.bs.popover",function(n){angular.isUndefined(f.conditionalFlyout)||angular.isUndefined(r[f.conditionalFlyout])||r[f.conditionalFlyout]&&n.preventDefault()});$(u).on("shown.bs.popover",function(){var n=$(".popover"),t=n[n.length-1].offsetTop,i=n[n.length-1].offsetLeft;$(".popover").css("top",t-20+"px");angular.isUndefined(f.placement)||f.placement=="left"&&($(".popover").css("left",i-95+"px"),$(".left .arrow").addClass("right-minus"));$(".popover").addClass(r.popoverUniqueCss)});$(u).popover({placement:angular.isUndefined(f.placement)?"top":f.placement,title:"",html:!0,trigger:f.rxTrigger,delay:{show:500,hide:1e3},content:function(){if(!angular.isUndefined(f.popoverid)){var i=f.popoverid.split(".");t.save("popoverId",r[i[0]][i[1]])}return r.$apply(function(){var t='<div ng-mouseover="showPopoverMenu()" ng-click="hidePopoverUniques()" ng-mouseleave="hidePopover()">'+e+"<\/div>";return n(t)(r)})}})},500);e="";$.get(f.rxTemplatepath,function(n){e=n;r.$apply()})}}}]),rx.filter("rxcurrencyformattext",function(){return function(n){var t,i;return n!=null?($("#temp").text(n).formatCurrency(),t=$("#temp").html(),t=t.replace("$",""),i=t.split("."),i[0]):""}}),rx.factory("rxExplorerData",function(){var n={source:[],active:""};return n.setExplorerSource=function(t,i){angular.isUndefined(n[t])&&(n[t]={});n[t].source=i},n}),rx.directive("rxExplorer",["$compile","rxJson","$rootScope","$window","rxUserPermission","rxExplorerData","rxAlert",function(n,t,i,r,u,f,e){return{restrict:"E",scope:{explorerSource:"=",explorerOption:"=",explorerRootobject:"="},controller:["$scope","$element",function(i,r){var h=i.$on("$destroy",function(){h();h=null;$("#rxExplorers").off();$("#rxExplorers").detach();$("#rxExplorers").remove();$("#rxEplorerPopupTemplate").off();$("#rxEplorerPopupTemplate").detach();$("#rxEplorerPopupTemplate").remove();$("#rxexplorer-dropdown").off();$("#rxexplorer-dropdown").detach();$("#rxexplorer-dropdown").remove();$(r).off();$(r).detach();$(r).remove();f.explorer=undefined;i=null;r=null}),o,s;i.selectFolderEvent=function(){var n;i.activeFolder.objectType=="File"?(i.$parent.selectExEventd=i.activeFolder,n=i.explorerOption.callbacks.fileDownloadEvent+"(selectExEventd)",i.$parent.$eval(n)):(i.$parent.selectExEvent=i.activeFolder,n=i.explorerOption.callbacks.selectFolderEvent+"(selectExEvent)",i.$parent.$eval(n))};i.openFolder=function(n){var r,u;n.objectType!="File"?(i.activeFolder=n,i.selectFolderEvent(),i.createFolderShow=!1,$("#rxexplorer-dropdown").removeClass("open"),i.breadCums.push(n),r=t.find(i.explorerSource,{parentObjectId:n.objectId}),i.folders=r):(i.activeFolder=n,i.$parent.selectExEventd=i.activeFolder,u=i.explorerOption.callbacks.fileDownloadEvent+"(selectExEventd)",i.$parent.$eval(u))};i.setBreadCums=function(){};i.backFolder=function(n,r){var f,u,e,o;for(i.activeFolder=n,i.selectFolderEvent(),i.createFolderShow=!1,$("#rxexplorer-dropdown").removeClass("open"),f=[],u=r+1;u<i.breadCums.length;u++)f.push(i.breadCums[u]);for(u=0;u<f.length;u++)e=i.breadCums.indexOf(f[u]),e!=-1&&i.breadCums.splice(e,1);o=t.find(i.explorerSource,{parentObjectId:n.objectId});i.folders=o};i.activeFolder={};i.showContextMenu=function(n,t,r){if(angular.isUndefined(i.explorerOption.callbacks.contextMenuValidation))i.showValidateContextMenu(n,t,r);else{if(r.parentObjectId==12||r.parentObjectId==13||r.parentObjectId==14)return!0;i.$parent.objecte=r.objectId;i.$parent.vobjecte=!0;i.$parent.objectType=r.objectType;i.$parent.$eval(i.explorerOption.callbacks.contextMenuValidation+"(objecte,vobjecte,objectType)")||i.showValidateContextMenu(n,t,r)}};i.showValidateContextMenu=function(n,r,f){if(angular.isUndefined(i.explorerOption.callbacks.rightClick)){i.createFolderShow=!1;i.activeFolder=f;var e=t.find(u.permissionContext,{permissionItemName:"Attachment Folder"})[0];i.activeFolder.objectType!="File"?f.active?(e!=null&&e.fullControl?i.contextmenus=[{itemName:"Rename"},{itemName:"Delete"},{itemName:"Make Inactive"}]:e!=null&&e.canEdit&&(i.contextmenus=[{itemName:"Rename"},{itemName:"Make Inactive"}]),$("#rxexplorer-dropdown").removeClass("open"),document.getElementById("rxexplorer-dropdown").style.position="absolute",document.getElementById("rxexplorer-dropdown").style.display="inline",document.getElementById("rxexplorer-dropdown").style.left=i.leftPosition+10+"px",document.getElementById("rxexplorer-dropdown").style.top=i.topPosition+5+"px",$("#rxexplorer-dropdown").addClass("open")):(i.contextmenus=[{itemName:"Make Active"}],$("#rxexplorer-dropdown").removeClass("open"),document.getElementById("rxexplorer-dropdown").style.position="absolute",document.getElementById("rxexplorer-dropdown").style.display="inline",document.getElementById("rxexplorer-dropdown").style.left=i.leftPosition+10+"px",document.getElementById("rxexplorer-dropdown").style.top=i.topPosition+5+"px",$("#rxexplorer-dropdown").addClass("open")):f.active?(e!=null&&e.fullControl?i.contextmenus=[{itemName:"Rename File"},{itemName:"Delete File"}]:e!=null&&e.canEdit&&(i.contextmenus=[{itemName:"Rename File"}]),i.contextmenus!=null&&i.contextmenus.length>0&&($("#rxexplorer-dropdown").removeClass("open"),document.getElementById("rxexplorer-dropdown").style.position="absolute",document.getElementById("rxexplorer-dropdown").style.display="inline",document.getElementById("rxexplorer-dropdown").style.left=i.leftPosition+10+"px",document.getElementById("rxexplorer-dropdown").style.top=i.topPosition+5+"px",$("#rxexplorer-dropdown").addClass("open"))):(i.contextmenus=[{itemName:"Active File"}],$("#rxexplorer-dropdown").removeClass("open"),document.getElementById("rxexplorer-dropdown").style.position="absolute",document.getElementById("rxexplorer-dropdown").style.display="inline",document.getElementById("rxexplorer-dropdown").style.left=i.leftPosition+10+"px",document.getElementById("rxexplorer-dropdown").style.top=i.topPosition+5+"px",$("#rxexplorer-dropdown").addClass("open"))}};i.getRootFolderName=function(n){if(n.parentObjectId==0)i.currentRootFolderName=n.objectName;else{var r=t.find(i.explorerSource,{objectId:n.parentObjectId})[0];i.getRootFolderName(r)}};i.createFolderExplorer=function(n){for(var f=t.find(i.explorerSource,{parentObjectId:i.activeFolder.objectId}),e=!1,u,o,s,r=0;r<f.length;r++)if(f[r].attachmentFolderName.toLowerCase()==n.toLowerCase()){e=!0;break}if(e)alert("Folder already exist");else{for(i.$parent.createNameF=n,i.$parent.createParent=angular.isUndefined(i.activeFolder.parentObjectId)?i.explorerRootobject.objectId:i.activeFolder.objectId,i.getRootFolderName(i.activeFolder),u="",o=i.breadCums.length-1,r=0;r<i.breadCums.length;r++)u+=o==r?i.breadCums[r].attachmentFolderName:i.breadCums[r].attachmentFolderName+"/";i.$parent.tpath=u;i.$parent.cRootFolder=i.currentRootFolderName;s=i.explorerOption.callbacks.createEvent+"(createNameF,createParent,tpath,cRootFolder)";i.$parent.$eval(s);i.CreateFolderText=""}};i.getActiveClass=function(n){return n.active?angular.isUndefined(n.objectType)?"folder-color icon-folder-close":n.objectType=="Folder"?"folder-color icon-folder-close":"folder-color icon-file-text":angular.isUndefined(n.objectType)?"folder-color-inactive icon-folder-close":n.objectType=="Folder"?"folder-color-inactive icon-folder-close":"folder-color-inactive icon-file-text"};i.contextEvent=function(n){var u,f,a,v,y,r,h,c,o,l,s;i.createFolderShow=!1;u="";f=!0;i.$parent.eventObject=i.activeFolder;switch(n.itemName){case"Rename":a=t.find(i.explorerSource,{parentObjectId:i.activeFolder.objectId});a.length>0&&angular.isUndefined(i.activeFolder.templateCategoryId)?(e.show({dataCollection:[],titleText:"Alert",contentText:"Item is In Use, do you wish to proceed?",okText:"Yes",cancelText:"No",cancelRequired:undefined,callbacks:{ok:"callRenameFolderEvent"}},i),f=!1):i.renameFolderEvent();break;case"Delete":v=t.find(i.explorerSource,{parentObjectId:i.activeFolder.objectId});v.length>0?(e.show({dataCollection:[],titleText:"Alert",contentText:"Item is In Use, cannot delete.",cancelRequired:!1,callbacks:{ok:"deleteFolderEvent"}},i),f=!1):u=i.explorerOption.callbacks.deleteEvent+"(eventObject)";break;case"Make Inactive":y=t.find(i.explorerSource,{parentObjectId:i.activeFolder.objectId});y.length>0&&angular.isUndefined(i.activeFolder.templateCategoryId)?e.show({dataCollection:[],titleText:"Alert",contentText:"Item has attachments",cancelRequired:!1,callbacks:{ok:"alertOkClicked"}},i):angular.isUndefined(i.activeFolder.templateCategoryId)?(i.activeFolder.attachmentFolderName=i.activeFolder.attachmentFolderName+" (Inactive)",u=i.explorerOption.callbacks.inactiveEvent+"(eventObject)"):(e.show({dataCollection:[],titleText:"Alert",contentText:"Item is In Use, do you wish to proceed?",okText:"Yes",cancelText:"No",cancelRequired:undefined,callbacks:{ok:"callInactiveFolderEvent"}},i),f=!1);break;case"Make Active":i.activeFolder.attachmentFolderName=i.activeFolder.attachmentFolderName.replace(" (Inactive)","");u=i.explorerOption.callbacks.activeEvent+"(eventObject)";break;case"Rename File":if(angular.isUndefined(i.showInputBox)||i.showInputBox!=!0){e.inputBox({titleText:"Rename File",contentText:"Please Enter File Name : ",maxLength:50,cancelRequired:!1,callbacks:{ok:"fileNameEntered",cancel:"commentEnteredCancel"}},i);return}if(i.showInputBox=!1,r=i.renameFolderName,r!=null&&r.trim()!=null)if(r.trim()!="")if(i.activeFolder.objectType=="File"&&(h=i.activeFolder.attachmentFolderName.split(".")[1],c=r.split("."),r=c.length>1?c[0]+"."+h:r.trim()+"."+h),o=t.find(i.explorerSource,{parentObjectId:i.activeFolder.parentObjectId}),o.length>0){for(l=!1,s=0;s<o.length;s++)if(o[s].attachmentFolderName.toLowerCase()==r.toLowerCase()){l=!0;break}l?i.contextEvent(n):(i.$parent.renameNameF=r,u=i.explorerOption.callbacks.renameEvent+"(eventObject,renameNameF)")}else i.$parent.renameNameF=r,u=i.explorerOption.callbacks.renameEvent+"(eventObject,renameNameF)";else i.contextEvent(n);else f=!1;break;case"Delete File":u=i.explorerOption.callbacks.deleteEvent+"(eventObject)"}f&&i.$parent.$eval(u);$("#rxexplorer-dropdown").removeClass("open")};i.alertOkClicked=function(){e.hide()};i.deleteFolderEvent=function(){e.hide()};i.characterLimitExceed=function(){e.hide();i.renameFolderEvent()};i.callRenameFolderEvent=function(){var n=setTimeout(function(){i.renameFolderEvent()},1)};i.callInactiveFolderEvent=function(){var n="";i.activeFolder.attachmentFolderName=i.activeFolder.attachmentFolderName+" (Inactive)";n=i.explorerOption.callbacks.inactiveEvent+"(eventObject)";i.$parent.$eval(n)};i.renameFolderEvent=function(){var n,h,u,f,o,s,r;if(i.$parent.eventObject=i.activeFolder,angular.isUndefined(i.showInputBox)||i.showInputBox!=!0){e.inputBox({titleText:"Rename Folder",contentText:"Please Enter Folder Name : ",maxLength:50,cancelRequired:!1,callbacks:{ok:"folderNameEntered",cancel:"commentEnteredCancel"}},i);return}if(i.showInputBox=!1,n=i.renameFolderName,n!=null&&n.trim()!=null)if(n.trim()!=""){if(h=n.length,n.length>50){e.show({dataCollection:[],titleText:"Alert",contentText:"Character limit exceed",cancelRequired:!1,callbacks:{ok:"characterLimitExceed"}},i);return}for(i.activeFolder.objectType=="File"&&(u=i.activeFolder.attachmentFolderName.split(".")[1],f=n.split("."),n=f.length>1?f[0]+"."+u:n.trim()+"."+u),o=t.find(i.explorerSource,{parentObjectId:i.activeFolder.parentObjectId}),s=!1,r=0;r<o.length;r++)if(o[r].attachmentFolderName.toLowerCase()==n.toLowerCase()){s=!0;break}s?(alert("Folder already exist"),i.renameFolderEvent()):(i.$parent.renameNameF=n,eventName=i.explorerOption.callbacks.renameEvent+"(eventObject,renameNameF)",i.$parent.$eval(eventName))}else i.renameFolderEvent();else callEvent=!1};i.folderNameEntered=function(n){i.renameFolderName=n;i.showInputBox=!0;i.renameFolderEvent();e.hide()};i.fileNameEntered=function(n){if(n!=null&&n.trim()!=null&&n.trim()!=""){i.renameFolderName=n;i.showInputBox=!0;var t=[];t.itemName="Rename File";i.contextEvent(t);e.hide()}};i.setFunctions=function(){i.createFolderShow=!1;i.explorerSource.deleteFolder=function(){var n=i.explorerSource.indexOf(i.activeFolder),t=i.folders.indexOf(i.activeFolder);n!=-1&&i.explorerSource.splice(n,1);t!=-1&&i.folders.splice(t,1)};i.explorerSource.showPopup=function(n,t){$(".popover").remove();i.popupTemplate={popupCss:n};i.popupTemplateSrc={src:t};$("#rxEplorerPopupTemplate").modal({backdrop:"static",keyboard:!1});$("#popupTemplate").modal("show")};i.explorerSource.createFolder=function(){i.removeContextMenu();i.CreateFolderText="";i.createFolderShow=!0;var n=setTimeout(function(){$("#CreateFolderText").focus()},100)};i.explorerSource.searchFolder=function(n){if(i.createFolderShow=!1,i.firstTextSearch&&(o=i.folders,i.firstTextSearch=!1),$("#rxexplorer-dropdown").removeClass("open"),n!=""&&n!=undefined){var r=t.advanceFilter(i.explorerSource,{attachmentFolderName:n});i.folders=r}else i.folders=o,i.firstTextSearch=!0};i.explorerSource.addFolder=function(n){i.explorerSource.push(n);i.folders.push(n);i.createFolderShow=!1};i.explorerSource.resetExplorer=function(n,t){i.breadCums=[];i.explorerRootobject=t;i.explorerSource=n;i.setExplorer()};i.explorerSource.inactiveAllChilds=function(){for(var r=t.find(i.explorerSource,{parentObjectId:i.activeFolder.parentObjectId}),n=0;n<r.length;n++)r[n].active=!1};i.explorerSource.activeAllChilds=function(){for(var r=t.find(i.explorerSource,{parentObjectId:i.activeFolder.parentObjectId}),n=0;n<r.length;n++)r[n].active=!0};i.explorerSource.setActiveFolder=function(n){i.removeContextMenu();i.activeFolder=t.find(i.explorerSource,{objectId:n})[0];i.activeFolder.attachmentFolderName=i.activeFolder.attachmentFolderName.replace(" (Inactive)","");i.folders=t.find(i.explorerSource,{parentObjectId:n})};f.setExplorerSource("explorer",i.explorerSource)};i.firstTextSearch=!0;o=[];i.removeContextMenu=function(){angular.isUndefined(i.CreateFolderText)||i.CreateFolderText==""||i.createFolderExplorer(i.CreateFolderText);$("#rxexplorer-dropdown").removeClass("open")};i.createFolderShow=!1;i.isCustomChange=!1;i.breadCums=[];i.setExplorer=function(){var s,f;i.setFunctions();i.isCustomChange=!0;i.activeFolder=i.explorerRootobject;i.breadCums.push(i.explorerRootobject);i.selectFolderEvent();i.folders=t.find(i.explorerSource,{parentObjectId:i.explorerRootobject.objectId});var e=!angular.isUndefined(i.explorerOption.showColumns)&&!angular.isUndefined(i.explorerOption.showColumns.dateModified)?i.explorerOption.showColumns.dateModified:!0,o=!angular.isUndefined(i.explorerOption.showColumns)&&!angular.isUndefined(i.explorerOption.showColumns.type)?i.explorerOption.showColumns.type:!0,h=angular.isUndefined(i.explorerOption.showBreadCrumb)?'<div class="breadcrumbs rx-explorer"  ><i class="bigger-175  folder-color icon-folder-close"><\/i><ul class="breadcrumb"><li ng-repeat="breadcum in breadCums" ng-click="backFolder(breadcum,$index)" ><span ng-class="{active:$last}">{{breadcum.attachmentFolderName}}<\/span><\/li><\/ul><div class="nav-search" id="nav-search"><\/div><\/div>':"",u='<div id="rxExplorers" ng-click="removeContextMenu()" style="clear:both;">'+h+'<div style="clear:both;"  ><table class="table table-hover-explorer"><thead class="background-gray-light"><tr><th>Name<\/th>';u+=e?"<th>Date Modified<\/th>":"";u+=o?"<th>Type<\/th>":"";u+='<\/tr><\/thead><tbody><tr><td colspan="3" ng-show="folders.length == 0">No folder found.<\/td><\/tr><tr ng-repeat="folder in folders" rx-right-click="showContextMenu($event,$element,folder)" ng-click="openFolder(folder)"><td><i ng-class="getActiveClass(folder)" class=" bigger-175 "><\/i> {{folder.attachmentFolderName | foldertexttruncate}}<\/td>';u+=e?"<td>{{folder.lastUpdatedDateTimeLocal | rxDateTimeFormatter : 'YYYY-MM-DDTHH:mm:ss.SSSS' : 'DD/MM/YYYY'}}<\/td>":"";u+=o?"<td>{{folder.objectType}}<\/td>":"";u+='<\/tr><tr ng-show="createFolderShow" ><td><i class="icon-folder-close bigger-175 folder-color pull-left"><\/i> <input type="text" maxlength="50" rx-enter="createFolderExplorer" id="CreateFolderText" ng-model="CreateFolderText" class="form-control create-folder-width"/><\/td>';u+=e?"<td><\/td>":"";u+=o?"<td>File Folder<\/td>":"";u+='<\/tr><\/tbody><\/table><div id="rxexplorer-dropdown" class="dropdown "><ul aria-labelledby="drop4" role="menu" class="dropdown-menu" id="menu1"><li role="presentation" ng-repeat="contextmenu in contextmenus" ng-click="contextEvent(contextmenu)" class="cursor"><a  tabindex="-1" role="menuitem">{{contextmenu.itemName}}<\/a><\/li><\/ul><\/div><\/div><\/div>';$("#rxEplorerPopupTemplate").remove();s='<div  id="rxEplorerPopupTemplate" class="modal fade {{popupTemplate.popupCss}} showpopup"  tabindex="-1" role="dialog" aria-labelledby="popupTemplateLabel" aria-hidden="true"><div ng-include src="popupTemplateSrc.src"><\/div><\/div>';f=n(u)(i);$(r).html(f);f=n(s)(i);$("#bodyElement").append(f);f=null;$("#rxExplorers").mousemove(function(n){var t=$(this).parent().offset(),r=n.pageX-t.left,u=n.pageY-t.top;i.leftPosition=r;i.topPosition=u;i.$apply()});$("#rxEplorerPopupTemplate").on("hidden.bs.modal",function(){i.$apply(function(){i.popupTemplateSrc={src:"Scripts/lib/rxapp/template/blank.html",popupCss:""}})})};s=i.$watch("explorerSource",function(n){angular.isUndefined(n)||i.isCustomChange||(s(),s=null,i.setExplorer())})}],link:function(n,t,i){n.$on("$destroy",function(){$(t).off();$(t).detach();$(t).remove();t=null;i=null;n=null})},replace:!0}}]),rx.directive("rxRightClick",["$parse",function(n){return function(t,i,r){var u=t.$on("$destroy",function(){u();u=null;i.off();i.detach();i.remove();f=null;r=null;t=null}),e=t.$on("$rxDestroy",function(){e();e=null;u();u=null;i.off();i.detach();i.remove();f=null;r=null;t=null}),f=n(r.rxRightClick);i.bind("contextmenu",function(n){t.$apply(function(){n.preventDefault();f(t,{$event:n})})})}}]),rx.directive("rxEnter",function(){return function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;$(t).off();$(t).detach();$(t).remove();t=null;i=null;n=null});$(t).keyup(function(r){var u=r.keyCode||r.which;u==13&&n.$apply(function(){n.txtValue=$(t).val();$(t).blur();n.$eval(i.rxEnter+"(txtValue)")})})}}),rx.directive("rxControlIndex",["sectionBroadcast","rxPage","commonUtility",function(n,t,i){return{restrict:"A",require:"ngModel",link:function(r,u,f,e){var s,h,c,l,a=r.$on("$destroy",function(){a();l=null;s!=undefined&&s!=null&&s();h!=null&&(h(),h=null);c!=null&&(c(),c=null);a=null;n.quickAccess=undefined;$(u).off();$(u).detach();$(u).remove();e=null;f=null;u=null;r=null}),o;r.$on("dirtyCheckBroadCaster",function(n,t){if(r[f.formName]==t&&!angular.isUndefined(globalDirtyCheck["base"+r[f.formName]])){var i=e.$modelValue==null?"":String(e.$modelValue);f.type=="checkbox"&&(i=i==""?"false":String(i));i=f.type=="text"?String(i):i;globalDirtyCheck["base"+r[f.formName]]["CustomFieldId"+f.fieldId]=i}});r.$on("resetObject",function(n,t){if(r[f.formName]==t){var u=globalDirtyCheck["base"+r[f.formName]]["CustomFieldId"+f.fieldId];e.$setViewValue(u);globalDirtyCheck["base"+r[f.formName]]["CustomFieldId"+f.fieldId]=undefined;i.checkBaseFormObjectEmpty(r,r[f.formName])}});f.fieldId&&(t.jObject["CustomFieldId"+f.fieldId]="");angular.isUndefined(f.rxTags)&&angular.isUndefined(f.rxDate)?(h=r.$watch(f.ngModel,function(n){n!=undefined?(t.jObject["CustomFieldId"+f.fieldId]=String(n),angular.isUndefined(globalDirtyCheck[r[f.formName]])||(globalDirtyCheck[r[f.formName]]["CustomFieldId"+f.fieldId]=String(n))):(t.jObject["CustomFieldId"+f.fieldId]="",angular.isUndefined(globalDirtyCheck[r[f.formName]])||(globalDirtyCheck[r[f.formName]]["CustomFieldId"+f.fieldId]=f.type=="checkbox"?"false":""))}),c=r.$on("tabIndexChanged",function(){var t=parseInt(f.rxControlIndex);n.customFieldSource!=null&&n.customFieldSource[t]!=null&&$(u).attr("tabindex",n.customFieldSource[t].tabIndexOrder)})):s=r.$watch(f.rxModel,function(n){n!=undefined?(t.jObject["CustomFieldId"+f.fieldId]=String(n),angular.isUndefined(globalDirtyCheck[r[f.formName]])||(globalDirtyCheck[r[f.formName]]["CustomFieldId"+f.fieldId]=String(e.$modelValue))):(t.jObject["CustomFieldId"+f.fieldId]="",angular.isUndefined(globalDirtyCheck[r[f.formName]])||(globalDirtyCheck[r[f.formName]]["CustomFieldId"+f.fieldId]=""))});angular.isUndefined(n.customFieldSource)||(o=parseInt(f.rxControlIndex),f.rxTags!=undefined?l=setTimeout(function(){var t=$("."+f.rxModel.replace("[","").replace("]","").replace(".","").replace(".","").replace("[","").replace("]","")),i=$(t[0]).find(".select2-input");n.customFieldSource!=null&&n.customFieldSource[o]!=null&&$(i).prop("tabindex",n.customFieldSource[o].tabIndexOrder)},500):n.customFieldSource!=null&&n.customFieldSource[o]!=null&&$(u).attr("tabindex",n.customFieldSource[o].tabIndexOrder))}}}]),rx.directive("rxControl",["$compile","rxJson",function(n,t){return{restrict:"E",link:function(i,r,u){i.$on("$destroy",function(){$(r).off();$(r).detach();$(r).remove();r=null;u=null;i=null});var o=u.rxSource,s=u.rxControlmode,f=u.controlOptions,e=0;i.firstTime=!1;i.controlValueChanged=!1;i.setControls=function(){var u,o,s;i.defaultValueCounter=1;i.firstTime=!0;i.rxControlSource.getControlValues=function(){return i.rxControlObject};i.rxControlSource.resetControl=function(n){var r,u;if(e=0,n==undefined)angular.forEach(i.rxControlSource,function(n){i.rxControlObject[e][i[f].controlMaster.primaryKey]=n[i[f].controlMaster.primaryKey];angular.isUndefined(n[i[f].controlMaster.secondaryKey])||(i.rxControlObject[e][i[f].controlMaster.secondaryKey]=n[i[f].controlMaster.secondaryKey]);i.setControl(n,!0);e++});else for(r=0;r<i.rxControlObject.length;r++)if(i.rxControlObject[r].customFieldValue!=undefined){if(u=t.find(i.rxControlSource,{customFieldId:i.rxControlObject[r].customFieldId})[0],u!=undefined&&u.controlType=="multiselect"){var s=u,o="";String(s.label).search(/^\s*\d+\s*$/)!=-1?(o="option"+i.optionsCount,i.optionsCount++):o=i.specialCharacterRemover(s.label);u.rxSourceName!=null&&u.rxSourceName.length>0?i[u.rxSourceName].resetTag():i[o+"s"].resetTag()}else u!=undefined&&u.controlType=="date"&&(delete i.rxControlObject[r].customFieldValue1,angular.isUndefined(i.rxControlObject[r].customFieldValue2)||(delete i.rxControlObject[r].customFieldValue2,delete i.rxControlObject[r].customFieldValueFromDate));delete i.rxControlObject[r].customFieldValue}};i.rxControlSource.isValueChanged=function(){return i.controlValueChanged};i.rxControlSource.setTabIndex=function(n,r){n=n.replace("[","");n=n.replace("]","");var u=t.find(i.tabIndexSource,{modelName:n})[0];u!=undefined&&i[u.sourceName].setTabIndex(r)};i.rxControlSource.copyForm=function(){var n={};return n.controlSource=i.rxControlSource,n.controlObject=i.rxControlObject,n};i.rxControlSource.pasteForm=function(n,r){var f,u,e,o;if(i.rxControlObject=n,r)for(f=i.rxControlSource,u=0;u<f.length;u++)e=f[u],e.controlType=="multiselect"&&(o=t.find(n,{customFieldId:e.customFieldId})[0],o!=undefined&&i.rxControlSource[u].source!=null&&angular.isFunction(i.rxControlSource[u].source.resetTagSource)&&i.rxControlSource[u].source.resetTagSource(i.rxControlSource[u].source,o.customFieldValue))};i[f]!=undefined&&(i.testFormName=i[f].controlMaster.formName!=undefined?i[f].controlMaster.formName:"frmEditJobOrder",u='<div class="row"><div class="col-lg-12 col-xs-12 col-md-12 col-sm-12">',o=0,i.rxControlObject=[],e=0,angular.forEach(i.rxControlSource,function(n){i.rxControlObject[e]={};i.rxControlObject[e][i[f].controlMaster.primaryKey]=n[i[f].controlMaster.primaryKey];angular.isUndefined(n[i[f].controlMaster.secondaryKey])||(i.rxControlObject[e][i[f].controlMaster.secondaryKey]=n[i[f].controlMaster.secondaryKey]);o==0?(u+='<div class="row form-group bordered">',u+='<label class="control-label col-xs-2 col-lg-2">'+n.label+" :<\/label>"):u+='<label class="control-label col-xs-2 col-lg-2">'+n.label+" :<\/label>";u+=i.setControl(n);o>0?(u+="<\/div>",o=0):o++;e++}),u+="<\/div><\/div>",s=n(u)(i),$(r).html(s),s=null)};i.isViewMode=function(){return i[s]};i.setControl=function(n,t){switch(n.controlType){case"numeric":return i.setNumeric(n,t);case"alphanumeric":return i.setAlphaNumeric(n,t);case"picklist":return i.setPickList(n,t);case"multiselect":return i.setMultiSelect(n,t);case"tickbox":return i.setCheckbox(n,t);case"radio":return i.setRadio(n,t);case"date":return i.setDate(n,t);case"time":return i.setTime(n,t)}};i.spaceRemover=function(n){for(var i=n.split(" "),u=i.length-1,r="",t=0;t<i.length;t++)r+=i[t].replace("(","").replace(")","").replace("-","").replace("$","").replace("/","").replace(" / ","").replace("#","").replace("--","").replace("%","");return r.toLowerCase().trim()};i.specialCharacterRemover=function(n,t){var r;if(t)return angular.isUndefined(i[n])||i[n]==null||(i[n]=i[n].replace(/,/g,", ")),n;var e=/^[a-zA-Z][a-z0-9]+$/i,u=[],f=[];return u=n.split(""),angular.forEach(u,function(n){e.test(n)&&f.push(n)}),r=f.join("").toLowerCase(),r==""&&(r="defaultValue"+i.defaultValueCounter,i.defaultValueCounter=i.defaultValueCounter+1),r};i.commaSplitter=function(n){return n.split(",")};i.valueChangeData=function(){i.controlValueChanged=!0};i.setNumeric=function(n,t){var r="a"+i.specialCharacterRemover(n.label);if(angular.isUndefined(i[f].controlMaster.isSearch)&&(i.rxControlObject[e][i[f].controlMaster.controlValue]=n.defaultValue,i[r]=n.defaultValue),!t){var o=angular.isUndefined(n.required)?"":"rx-required",u='<div class="col-lg-4 col-xs-4">',s=!angular.isUndefined(n.placeholder)&&n.placeholder!=null?n.placeholder:n.label,h=!angular.isUndefined(n.maxLength)&&n.maxLength!=null?'maxlength="'+n.maxLength+'"':"";return u+='<label class="label-control" ng-show="isViewMode()">{{'+r+"}}<\/label><input "+o+' field-id="'+n.customFieldId+'"  ng-change="valueChangeData()"  ng-show="!isViewMode()" rx-number form-name="testFormName" rx-control-index="'+e+'" type="text" ng-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'" class="form-control" placeholder="'+s+'" '+h+" />",u+"<\/div>"}};i.setAlphaNumeric=function(n,t){var r=i.specialCharacterRemover(n.label);if(angular.isUndefined(i[f].controlMaster.isSearch)&&(i.rxControlObject[e][i[f].controlMaster.controlValue]=n.defaultValue,i[r]=n.defaultValue),!t){var o=angular.isUndefined(n.required)?"":"rx-required",u='<div class="col-lg-4 col-xs-4">',s=!angular.isUndefined(n.placeholder)&&n.placeholder!=null?n.placeholder:n.label,h=!angular.isUndefined(n.maxLength)&&n.maxLength!=null?'maxlength="'+n.maxLength+'"':"";return u+="<input "+o+' form-name="testFormName" field-id="'+n.customFieldId+'" ng-change="valueChangeData()" ng-show="!isViewMode()" rx-control-index="'+e+'"  type="text" ng-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'" class="form-control" placeholder="'+s+'" '+h+' /><label class="label-control"  ng-bind="'+r+'" ng-show="isViewMode()"><\/label>',u+"<\/div>"}};i.optionsCount=0;i.setPickList=function(n,t){var s=i.specialCharacterRemover(n.label),u,r;if(angular.isUndefined(i[f].controlMaster.isSearch)&&(i.rxControlObject[e][i[f].controlMaster.controlValue]=n.defaultValue,i[s]=n.textValue),!t){var c=angular.isUndefined(n.required)?"":"rx-required",h='<div class="col-lg-4 col-xs-4">',o="";return String(n.label).search(/^\s*\d+\s*$/)!=-1?(o="option"+i.optionsCount,i.optionsCount++):o=i.spaceRemover(n.label),u="",u=angular.isUndefined(n.valueColumn)?n.textColumn:n.valueColumn,angular.isUndefined(n.useKeyColumn)&&(u=n.textColumn),r=o.replace(".","_")+n[n.valueColumn],r=i.specialCharacterRemover(r),i[r]=n.source,h+='<select form-name="testFormName" rx-control-index="'+e+'" '+c+' field-id="'+n.customFieldId+'"  ng-change="valueChangeData()"   class="form-control" ng-show="!isViewMode()" ng-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'" ng-options="rxc.'+u+" as rxc."+n.textColumn+" for rxc in "+r+'"  ><option value=""><\/option><\/select><label class="label-control" ng-bind="'+s+'" ng-show="isViewMode()"><\/label>',h+"<\/div>"}};i.multiSelectChange=function(){i.controlValueChanged=!0};i.tabIndexSource=[];i.setMultiSelect=function(n,t){var o=i.specialCharacterRemover(n.label);if(angular.isUndefined(i[f].controlMaster.isSearch)&&(i.rxControlObject[e][i[f].controlMaster.controlValue]=n.defaultValue,i[o]=n.textValue),!t){var u='<div class="col-lg-4 col-xs-4">',r="";return String(n.label).search(/^\s*\d+\s*$/)!=-1?(r="option"+i.optionsCount,i.optionsCount++):r=i.specialCharacterRemover(n.label),r=="defaultValue"+String(i.defaultValueCounter-1)&&(n.rxSourceName=r+"s"),i[r+"s"]=n.source,u+='<input form-name="testFormName" type="text" field-id="'+n.customFieldId+'" rx-control-index="'+e+'" rx-tagevent="multiSelectChange(rxControlObject['+e+"]."+i[f].controlMaster.controlValue+')" ng-show="!isViewMode()" rx-tags  class="col-lg-12 col-md-12 col-sm-12 col-xs-12" rx-text="'+n.textColumn+'" rx-tag-dynamic rx-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'" rx-value="'+n.textColumn+'" rx-source="'+r+'s" /><label class="label-control" ng-bind="'+i.specialCharacterRemover(o,!0)+'" ng-show="isViewMode()"><\/label>',u+="<\/div>",i.tabIndexSource.push({modelName:"rxControlObject"+e+"."+i[f].controlMaster.controlValue,sourceName:r+"s"}),u}};i.setCheckbox=function(n,t){if(angular.isUndefined(i[f].controlMaster.isSearch)&&(i.rxControlObject[e][i[f].controlMaster.controlValue]=n.defaultValue=="Active"?!0:!1,i[i.spaceRemover(n.label)]=n.textValue),!t){var u=angular.isUndefined(n.required)?"":"rx-required",r='<div class="col-lg-4 col-xs-4">';return r+='<div class="checkbox"><label>',r+='<input form-name="testFormName" type="checkbox" field-id="'+n.customFieldId+'"  ng-change="valueChangeData()" rx-control-index="'+e+'"  ng-disabled="isViewMode()" ng-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'"  />',r+"<\/label><\/div><\/div>"}};i.setRadio=function(n,t){if(angular.isUndefined(n.defaultValue)||n.defaultValue==null||(i.rxControlObject[e][i[f].controlMaster.controlValue]=n.defaultValue,i[i.specialCharacterRemover(n.label)]=n.textValue),!t){var o=angular.isUndefined(n.required)?"":"rx-required",r='<div class="col-lg-4 col-xs-4">',u="";return String(n.label).search(/^\s*\d+\s*$/)!=-1?(u="option"+i.optionsCount,i.optionsCount++):u=i.specialCharacterRemover(n.label),i[u+"s"]=n.source,r+='<div class="control-group"><div class="radio-inline" ng-repeat="rxc in '+u+'s"><lable>',r+='<input form-name="testFormName" field-id="'+n.customFieldId+'"  type="radio" ng-disabled="isViewMode()" ng-change="valueChangeData()" rx-control-index="'+e+'"   ng-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'" value="{{rxc.'+n.textColumn+'}}" />{{rxc.'+n.textColumn+"}}",r+="<\/lable><\/div><\/div>",r+"<\/div>"}};i.setDate=function(n,t){var u=i.specialCharacterRemover(n.label),o,r;if(angular.isUndefined(i[f].controlMaster.isSearch)&&(i.rxControlObject[e][i[f].controlMaster.controlValue]=n.defaultValue,i[u]=n.defaultValue),!t)return o=angular.isUndefined(n.required)?"":"rx-required",f=="controlOptionsSourceSearch"?(r='<div class="col-lg-2 col-xs-2">',r+='<input form-name="testFormName" '+o+'rx-control-index="'+e+'"  field-id="'+n.customFieldId+'"  type="text" ng-change="valueChangeData()"  rx-date ng-show="!isViewMode()" rx-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'" ng-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'1" class="form-control"/><label class="label-control" ng-bind="'+u+' | rxdatefilter" ng-show="isViewMode()"><\/label>',r+="<\/div>",r+='<div class="col-lg-2 col-xs-2 no-padding-left">',r+='<input form-name="testFormName" '+o+'rx-control-index="'+e+'"  field-id="'+n.customFieldId+'"  type="text" ng-change="valueChangeData()"  rx-date ng-show="!isViewMode()" rx-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'FromDate" ng-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'2" class="form-control"/><label class="label-control" ng-bind="'+u+' | rxdatefilter" ng-show="isViewMode()"><\/label>',r+="<\/div>"):(r='<div class="col-lg-4 col-xs-4">',r+='<input form-name="testFormName" '+o+'rx-control-index="'+e+'"  field-id="'+n.customFieldId+'"  type="text" ng-change="valueChangeData()"  rx-date ng-show="!isViewMode()" rx-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'" ng-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'1" class="form-control" /><label class="label-control" ng-bind="'+u+' | rxdatefilter" ng-show="isViewMode()"><\/label>',r+="<\/div>"),r};i.setTime=function(n,t){var u=i.specialCharacterRemover(n.label),o,r;if(angular.isUndefined(i[f].controlMaster.isSearch)&&(i.rxControlObject[e][i[f].controlMaster.controlValue]=n.defaultValue,i[u]=n.defaultValue),!t)return o=angular.isUndefined(n.required)?"":"rx-required",r='<div class="col-lg-4 col-xs-4">',r+='<input form-name="testFormName" '+o+' rx-control-index="'+e+'" field-id="'+n.customFieldId+'"   type="text" ng-change="valueChangeData()" ng-show="!isViewMode()" rx-time ng-model="rxControlObject['+e+"]."+i[f].controlMaster.controlValue+'" class="form-control" /><label class="label-control" ng-bind="'+u+'" ng-show="isViewMode()"><\/label>',r+"<\/div>"};i.$watch(o,function(n){i.firstTime||!angular.isUndefined(n)&&n.length>0&&(i.rxControlSource=n,i.setControls())},!0)}}}]),rx.factory("rxPatternData",["$rootScope",function(){var n={jsonObject:{},jsonArray:[],eventJsonArray:[],activePattern:"",activeRowIndex:0,activeColumnIndex:0,otherShiftCodes:{},isFiltered:!1,headingJsonArray:[],subGridJsonArray:{},gridChangedData:{},activeGrid:{},isBasePattern:!1};return n.setJsonObject=function(t,i,r){angular.isUndefined(n[i])?(n[i]={},n[i].row=t,n[i].otherShiftCodes=r):(n[i].row=t,n[i].otherShiftCodes=r)},n.setJsonArray=function(t,i){angular.isUndefined(n[i])?(n[i]={},n[i].source=t):n[i].source=t},n}]),rx.directive("rxPattern",["$compile","rxJson","rxPatternData","rxAlert","rxMobile","modalValidation","appConfig",function(n,t,i,r,u,f,e){return{restrict:"E",scope:{patternSource:"=",patternDateSource:"=",patternOption:"=",patternEdit:"=",patternObjectSource:"=",readOnlyPattern:"=",currentPatternFormat:"=",datePattern:"=",customDateSource:"=",patternStartDate:"=",timeSheetDate:"=",jobScheduleObjectSource:"="},controller:["$scope","$element",function(o,s){function h(n){$(n).off();$(n).detach();$(n).remove()}function v(n){$("#tblPattern_"+n).length>0&&(h("#tblPattern_"+n+" td"),h("#tblPattern_"+n+" tr"),h("#tblPattern_"+n+" thead"),h("#tblPattern_"+n+" tbody"),h("#tblPattern_"+n+" table"),h("#tblPattern_"+n));$("#rxPatterns."+n).length>0&&(h("#rxPatterns."+n+" td"),h("#rxPatterns."+n+" tr"),h("#rxPatterns."+n+" thead"),h("#rxPatterns."+n+" tbody"),h("#rxPatterns."+n+" table"),h("#rxPatterns."+n));h(".rxpatterns-column-"+n);h(".rxpatterns-row-"+n);h(".rxpatterns-th-"+n);h(".rxpatterns-table-"+n);h("#rxexplorer-dropdown"+n);$("#rxPatternsPopover_"+n).length>0&&(h("#rxPatternsPopover_"+n+" td"),h("#rxPatternsPopover_"+n+" tr"),h("#rxPatternsPopover_"+n+" thead"),h("#rxPatternsPopover_"+n+" tbody"),h("#rxPatternsPopover_"+n+" table"),h("#rxPatternsPopover_"+n))}var a=function(){for(var n in o)n.indexOf("$")==-1&&(o[n]=null);o.$$watchers=null;o=null},c=o.$on("$destroy",function(){c();c=null;o.patternName!=undefined&&v(o.patternName);o.patternSource=null;o.patternObjectSource=null;o.jobScheduleObjectSource=null;o.patternDateSource=null;o.patternOption=null;o.customDateSource=null;s.detach();s.remove();s=null;a();a=null}),y=o.$on("$rxDestroy",function(n,t){o.patternName==t&&(y(),y=null,timeOutHolidayApplicationDates=null,timeOutHoverColumnIndex=null,v(t),o.patternSource=null,o.patternObjectSource=null,o.jobScheduleObjectSource=null,o.patternDateSource=null,o.patternOption=null,o.customDateSource=null,c(),c=null,o.$$childHead!=undefined&&o.$$childHead!=null&&(o.$$childHead.$$childTail!=undefined&&o.$$childHead.$$childTail!=null&&(o.$$childHead.$$childTail.$$prevSibling!=undefined&&o.$$childHead.$$childTail.$$prevSibling!=null&&(o.$$childHead.$$childTail.$$prevSibling=null),o.$$childHead.$$childTail=null),o.$$childHead=null),o.$$childTail!=undefined&&o.$$childTail!=null&&(o.$$childTail.$$childHead!=undefined&&o.$$childTail.$$childHead!=null&&(o.$$childTail.$$childHead.$$prevSibling!=undefined&&o.$$childTail.$$childHead.$$prevSibling!=null&&(o.$$childTail.$$childHead.$$prevSibling=null),o.$$childTail.$$childHead=null),o.$$childTail=null),o=null)}),l;o.firstTime=!1;o.tableHeadings=[];o.basePattern=!1;o.setFunctions=function(){o.patternSource.setBasePattern=function(){o.basePattern=!0};o.patternSource.resetPattern=function(){o.setPatterns()};o.patternSource.resetPatternSource=function(n){o.patternObjectSource=n;o.setPatterns()};o.patternSource.resetPatternDate=function(n,t,i,r,u,f,e,s,h,c){s!=undefined&&(o.patternOption.patternMaster.mainPattern=s!=0,o.patternOption.patternMaster.patternLastDate=s);c!=undefined&&(o.patternOption.patternMaster.collections.holidays=c);angular.isUndefined(u)||angular.isUndefined(r)?(o.jobScheduleObjectSource=f,o.patternSource=n,o.patternObjectSource=t,o.patternDateSource=i,o.setPatterns()):(o.jobScheduleObjectSource=f,o.patternStartDate=u,o.timeSheetDate=r,o.patternSource=n,o.patternObjectSource=t,o.patternDateSource=i,o.setPatterns(),angular.isUndefined(e)||o.$parent.$eval(e+"()"))};o.patternSource.resetActivePattern=function(n){o.isPatternValid=!0;o.tableRows[i.activeRowIndex].patterns[i.activeColumnIndex].shiftCode=n;o.validatePattern(o.tableRows[i.activeRowIndex].patterns[i.activeColumnIndex],o.tableRows[i.activeRowIndex],i.activeColumnIndex)};o.patternSource.getPatternDateSource=function(){return o.patternDateSource};o.patternSource.setViewMode=function(n){o.readOnlyPattern=n};o.patternSource.isPatternValid=function(){var n=t.find(o.tableHeadings,{patternConflict:!0});return n.length>0?!0:!1};o.patternSource.getRow=function(){var t=o.tableRows[i.activeRowIndex].patterns[i.activeColumnIndex].shiftCode,u={},n,r,f,e;for(n in t)if(n=="breaks")for(u[n]=[],r=0;r<t[n].length;r++){f={};for(e in t[n][r])f[e]=t[n][r][e];u[n].push(f)}else u[n]=t[n];return u};o.patternSource.isValid=function(){return o.isPatternSelect};o.patternSource.setValidFalse=function(n){o.isPatternSelect=n};o.patternSource.getPatterns=function(){return o.tableRows};o.patternSource.resetHeadings=function(n,t){o.setHeadings(n,t)};o.patternSource.showPrimaryPopup=function(){$("#popupTemplate").addClass("in");$("#subpopupTemplate").modal("hide")};o.patternSource.showSubPopup=function(){$("#popupTemplate").removeClass("in");o.subPopupTemplateSrc={src:"Templates/blank1.html"};$("#subpopupTemplate").modal({backdrop:"static",keyboard:!1});$("#subpopupTemplate").modal("show")}};o.setOptions=function(){o.patternName=angular.isUndefined(o.patternOption.patternMaster.patternName)?"":o.patternOption.patternMaster.patternName;i.activePattern=o.patternName};o.disableDatePattern=!1;o.setNewPattern=function(){o.tableHeadings=[{title:"Sun",style:{color:"#FFFFFF"},applicationDayId:1},{title:"Mon",style:{color:"#FFFFFF"},applicationDayId:2},{title:"Tues",style:{color:"#FFFFFF"},applicationDayId:3},{title:"Wed",style:{color:"#FFFFFF"},applicationDayId:4},{title:"Thur",style:{color:"#FFFFFF"},applicationDayId:5},{title:"Fri",style:{color:"#FFFFFF"},applicationDayId:6},{title:"Sat",style:{color:"#FFFFFF"},applicationDayId:7}];o.tableRows=[{rowIndex:0,patterns:[{style:{},active:!1,dayNumber:1,applicationDayId:1,weekNo:1},{style:{},active:!1,dayNumber:2,applicationDayId:2,weekNo:1},{style:{},active:!1,dayNumber:3,applicationDayId:3,weekNo:1},{style:{},active:!1,dayNumber:4,applicationDayId:4,weekNo:1},{style:{},active:!1,dayNumber:5,applicationDayId:5,weekNo:1},{style:{},active:!1,dayNumber:6,applicationDayId:6,weekNo:1},{style:{},active:!1,dayNumber:7,applicationDayId:7,weekNo:1}]}];o.shiftCodes=o.patternSource;o.widthStyle={borderColor:"#568BD5"};o.mainTableWidth={width:215+o.tableHeadings.length*55+"px"};i.setJsonArray(o.patternSource,o.patternName)};o.tableHeadingsCopy=[];o.tableRowsCopy=[];o.setStartWeek=function(){var t,n,f,i,r,u;if(0){for(o.tableRowsCopy=[],o.tableHeadingsCopy=[],t=[],n=0;n<o.tableHeadings.length;n++)if(o.getDayNumber(o.tableHeadings[n].title)>=o.patternStartDayNumber(e.generalSettings.patternStartDay)){if(o.tableHeadingsCopy.push(o.tableHeadings[n]),o.getDayNumber(o.tableHeadings[n].title)==7&&t.length>0){for(i=0;i<t.length;i++)o.tableHeadingsCopy.push(t[i]);t=[]}}else t.push(o.tableHeadings[n]);for(t=[],n=0;n<o.tableRows.length;n++)for(f={rowIndex:o.tableRows[n].rowIndex,shiftCode:o.tableRows[n].shiftCode,patterns:[]},o.tableRowsCopy.push(f),i=0;i<o.tableRows[n].patterns.length;i++)if(r=o.tableRows[n].patterns[i],r.applicationDayId>=o.patternStartDayNumber(e.generalSettings.patternStartDay)){if(o.tableRowsCopy[n].patterns.push(r),r.applicationDayId==7&&t.length>0){for(u=0;u<t.length;u++)o.tableRowsCopy[n].patterns.push(t[u]);t=[]}}else t.push(r)}};o.isPatternSelect=!1;o.setEditPattern=function(){var h,l,n,f,u,r,e,s,c,a;if(!angular.isUndefined(o.patternObjectSource)&&o.patternObjectSource!=null&&o.patternObjectSource.length>0){if(o.currentPatternTypeId=o.patternObjectSource[0].patternTypeId,o.hoverColumnIndex=[],o.tableHeadings=[],o.tableRows=[],o.patternObjectSource!=null&&o.patternObjectSource.length>0&&o.patternObjectSource[0].patternShiftCodes!=null&&o.patternObjectSource[0].patternShiftCodes.length>0&&o.patternObjectSource[0].patternShiftCodes[0].patternShifts!=null&&(h=t.sortBy(o.patternObjectSource[0].patternShiftCodes[0].patternShifts,"dayNo"),o.patternObjectSource[0].patternTypeId==460||o.patternObjectSource[0].patternTypeId==459)){for(n=0;n<h.length;n++)o.tableHeadings.push({title:o.patternObjectSource[0].patternTypeId==460?o.getWeekDay(h[n].applicationDayId):"Day "+h[n].dayNo,style:{color:"#FFFFFF"}});for(o.wNumbers=[],l=o.tableHeadings.length/7,n=0;n<l;n++)o.wNumbers.push({currentNumber:n+1});for(n=0;n<o.patternObjectSource[0].patternShiftCodes.length;n++)for(f=t.find(o.patternSource,{shiftCodeId:o.patternObjectSource[0].patternShiftCodes[n].shiftId})[0],o.tableRows.push({rowIndex:n,shiftCode:o.patternObjectSource[0].patternShiftCodes[n].shiftId,patterns:[]}),u=t.sortBy(o.patternObjectSource[0].patternShiftCodes[n].patternShifts,"dayNo"),r=0;r<u.length;r++)if(e={color:f.color,duration:f.duration,endTime:u[r].endTime,shiftCode:f.shiftCode,shiftCodeId:f.shiftCodeId,shiftCodeName:f.shiftCodeName,startTime:u[r].startTime},u[r].isSelected){for(e.breaks=[],s=0;s<u[r].patternShiftBreaks.length;s++)e.breaks.push({startTime:u[r].patternShiftBreaks[s].breakStartTime,endTime:u[r].patternShiftBreaks[s].breakEndTime});c={};c.rowIndex=n;c.index=r;o.tableRows[o.tableRows.length-1].patterns.push({style:{backgroundColor:e.color,borderColor:e.color},active:u[r].isSelected,dayNumber:u[r].dayNo,shiftCode:e,applicationDayId:u[r].applicationDayId,weekNo:u[r].weekNo});o.hoverColumnIndex.push(c)}else o.tableRows[o.tableRows.length-1].patterns.push({style:{backgroundColor:"white",borderColor:f.color},active:!1,dayNumber:u[r].dayNo,applicationDayId:u[r].applicationDayId,weekNo:u[r].weekNo})}o.shiftCodes=o.patternSource;a="";o.widthStyle={borderColor:"#568BD5"};o.mainTableWidth={width:215+o.tableHeadings.length*55+"px"};i.setJsonArray(o.patternSource,o.patternName)}};o.currentJobPattern=!1;o.setPatterns=function(){var et,ot,st,v,nt,ht,vt,f,kt,ct,ut,dt,e,ft,r,h,d,y,l,tt,w,it,g,p,a,rt,yt,pt,lt,wt,bt,at;if(o.holidays=[],o.holidayApplicationDates=[],o.patternOption.patternMaster.collections!=undefined&&o.patternOption.patternMaster.collections.holidays!=undefined&&(o.holidays=o.patternOption.patternMaster.collections.holidays),o.disableDatePattern=o.patternOption.patternMaster.canAddShiftCode?!0:!1,et="tableRows",o.idUniqueNumber=t.uniqueNumber(),ot='<th style="padding:2px !important; " class="width-55 rxpatterns-th-'+o.patternOption.patternMaster.patternName+'" ng-repeat="tableHeading in tableHeadings" ng-style="tableHeading.style"><b>{{tableHeading.title}}<\/b><\/th>',o.readOnlyPattern=angular.isUndefined(o.readOnlyPattern)?!1:o.readOnlyPattern,o.firstTime=!0,o.setOptions(),o.setFunctions(),st="",angular.isUndefined(o.patternEdit))o.setNewPattern();else if(o.patternEdit)o.setEditPattern();else{if(o.hoverColumnIndex=[],o.shiftCodes=o.patternSource,o.tableHeadings=[],o.tableRows=[],angular.isUndefined(o.patternObjectSource)||o.patternObjectSource.length==0){for(nt=0,f=0;f<o.patternDateSource.length;f++)o.tableHeadings.push({title:o.patternDateSource[f].applicationDate+"/"+o.patternDateSource[f].applicationMonthId,dayName:o.getWeekDay(o.patternDateSource[f].applicationDayId),style:{color:"#FFFFFF"},applicationDateId:o.patternDateSource[f].applicationDateId}),nt++;nt=0;o.mainTableWidth={width:215+o.tableHeadings.length*55+"px"};o.patternName=angular.isUndefined(o.patternOption.patternMaster.patternName)?"":o.patternOption.patternMaster.patternName;i.setJsonArray(o.patternSource,o.patternName)}else{o.currentJobPattern=!0;o.isJobPattern=!0;var b=1,gt=o.patternSource.length;if(o.patternObjectSource!=null&&o.patternObjectSource.length>0&&o.patternObjectSource[0].patternShiftCodes!=null&&o.patternObjectSource[0].patternShiftCodes.length>0&&o.patternObjectSource[0].patternShiftCodes[0].patternShifts!=null){for(v=t.sortBy(o.patternObjectSource[0].patternShiftCodes[0].patternShifts,"dayNo"),nt=0,o.currentPatternTypeId=o.patternObjectSource[0].patternTypeId,f=0;f<o.patternDateSource.length;f++)ht=undefined,o.isNotHoliday(o.patternDateSource[f].applicationDateId)||(ht={color:"#FFFFFF",backgroundColor:"rgb(230, 128, 128)"},o.patternDateSource[f].isHoliday=!0,o.holidayApplicationDates.push(o.patternDateSource[f])),o.tableHeadings.push({title:o.patternDateSource[f].applicationDate+"/"+o.patternDateSource[f].applicationMonthId,dayName:o.getWeekDay(o.patternDateSource[f].applicationDayId),style:{color:"#FFFFFF"},headerStyle:ht,id:"rxpatternheader"+o.patternDateSource[f].applicationDateId,applicationDateId:o.patternDateSource[f].applicationDateId}),nt++,o.lastDatePattern=o.patternDateSource[f].applicationDateId;for(o.wNumbers=[],vt=o.tableHeadings.length/7,f=0;f<vt;f++)o.wNumbers.push({currentNumber:f+1});for(nt=0,o.mainTableWidth={width:215+o.tableHeadings.length*55+"px"},o.tableRows=[],o.hoverColumnIndex=[],f=0;f<o.patternObjectSource[0].patternShiftCodes.length;f++)o.patternObjectSource[0].patternShiftCodes[f].patternShifts=t.sortBy(o.patternObjectSource[0].patternShiftCodes[f].patternShifts,"dayNo");for(f=0;f<o.patternObjectSource[0].patternShiftCodes.length;f++){b=1;var k=1,y=t.find(o.patternSource,{shiftCodeId:o.patternObjectSource[0].patternShiftCodes[f].shiftId})[0],c=y!=undefined?{}:undefined;for(l in y)if(l!="$hashKey")if(l=="breaks"){for(tt=[],w=0;w<y[l].length;w++){it={};for(g in y[l][w])g!="$hashKey"&&(it[g]=y[l][w][g]);tt.push(it)}c[l]=tt}else c[l]=y[l];for(o.tableRows.push({rowIndex:f,shiftCode:o.patternObjectSource[0].patternShiftCodes[f].shiftId,patterns:[]}),kt=0,ct=t.find(o.patternObjectSource[0].patternShiftCodes[f].patternShifts,{isSelected:!0}),o.patternOption.patternMaster.jobOrderStartDateChanged||ct!=null&&ct.length!=0||(i.isBasePattern=!1),v=t.sortBy(o.patternObjectSource[0].patternShiftCodes[f].patternShifts,"dayNo"),ut=!angular.isUndefined(o.jobScheduleObjectSource)&&o.jobScheduleObjectSource.length>0?t.sortBy(o.jobScheduleObjectSource[f].jobScheduleShifts,"dayNo"):undefined,dt=v[v.length-1].dayNo,e=0;e<o.patternDateSource.length;e++)if(o.datePattern==undefined)if(ft={applicationDateId:o.patternDateSource[e].applicationDateId},r=!angular.isUndefined(ut)&&ut>0?t.find(ut,ft)[0]:undefined,r==undefined&&(angular.isUndefined(o.patternOption.patternMaster.mainPattern)?!angular.isUndefined(o.patternOption.patternMaster.mainPattern)&&o.patternOption.patternMaster.mainPattern&&o.patternDateSource[e].applicationDateId>o.patternOption.patternMaster.patternLastDate&&(o.patternObjectSource[0].patternTypeId==459?(h={dayNo:b},r=t.find(v,h)[0]):(h={applicationDayId:o.patternDateSource[e].applicationDayId,weekNo:k},r=t.find(v,h)[0])):o.patternObjectSource[0].patternTypeId==459?(h={dayNo:b},r=t.find(v,h)[0]):(h={applicationDayId:o.patternDateSource[e].applicationDayId,weekNo:k},r=t.find(v,h)[0])),r==undefined&&(r={},r.isSelected=null,r.dayNo=o.patternDateSource[e].applicationDayId,r.weekNo=o.patternDateSource[e].applicationDayId),r.isSelected=r.isSelected==null?!1:r.isSelected,r.isSelected)o.patternDateSource[e].startTime=c.startTime,o.patternDateSource[e].endTime=c.endTime,o.patternDateSource[e].isSelected=r.isSelected,c.breaks=[],d={},d.rowIndex=f,d.index=e,r.color=c.color,o.tableRows[o.tableRows.length-1].patterns.push({style:{backgroundColor:c.color,borderColor:c.color},active:r.isSelected,dayNumber:r.dayNo,shiftCode:r,weekNo:r.weekNo,applicationDayId:o.patternDateSource[e].applicationDayId,applicationDateId:o.patternDateSource[e].applicationDateId}),o.hoverColumnIndex.push(d);else{for(c.breaks=[],p=t.find(o.shiftCodes,{shiftCodeId:o.patternObjectSource[0].patternShiftCodes[f].shiftId})[0].breaks,a=0;a<p.length;a++)c.breaks.push({startTime:p[a].startTime,endTime:p[a].endTime});o.tableRows[o.tableRows.length-1].patterns.push({style:{backgroundColor:"white",borderColor:c.color},active:r.isSelected,dayNumber:r.dayNo,shiftCode:c,weekNo:r.weekNo,applicationDayId:o.patternDateSource[e].applicationDayId,applicationDateId:o.patternDateSource[e].applicationDateId})}else if(o.patternDateSource[e].applicationDateId>=o.patternStartDate){if(ft={applicationDateId:o.patternDateSource[e].applicationDateId},r="",r=t.find(ut,ft)[0],r!=null||(i.isBasePattern?o.patternObjectSource[0].patternTypeId==459?(h={dayNo:b},r=t.find(v,h)[0]):(h={applicationDayId:o.patternDateSource[e].applicationDayId,weekNo:k},r=t.find(v,h)[0]):(r=t.find(ut,ft)[0],r==undefined&&(angular.isUndefined(o.patternOption.patternMaster.mainPattern)?o.patternObjectSource[0].patternTypeId==459?(h={dayNo:b},r=t.find(v,h)[0]):(h={applicationDayId:o.patternDateSource[e].applicationDayId,weekNo:k},r=t.find(v,h)[0]):!angular.isUndefined(o.patternOption.patternMaster.mainPattern)&&o.patternOption.patternMaster.mainPattern&&o.patternDateSource[e].applicationDateId>o.patternOption.patternMaster.patternLastDate&&(o.patternObjectSource[0].patternTypeId==459?(h={dayNo:b},r=t.find(v,h)[0]):(h={applicationDayId:o.patternDateSource[e].applicationDayId,weekNo:k},r=t.find(v,h)[0]))))),r==undefined&&(r={},r.isSelected=null,r.dayNo=o.patternDateSource[e].applicationDayId,r.weekNo=k),r.isSelected=r.isSelected==null?!1:r.isSelected,r.isSelected){for(o.patternDateSource[e].startTime=c.startTime,o.patternDateSource[e].endTime=c.endTime,o.patternDateSource[e].isSelected=r.isSelected,c.breaks=[],d={},d.rowIndex=f,d.index=e,r.color=c.color,r.shiftCode=c.shiftCode,r.shiftCodeName=c.shiftCodeName,r.breaks=[],p=angular.isUndefined(r.jobScheduleShiftBreaks)?r.patternShiftBreaks:r.jobScheduleShiftBreaks,a=0;a<p.length;a++)r.breaks.push({startTime:p[a].breakStartTime,endTime:p[a].breakEndTime});rt=o.getTimeSheetReport(o.patternDateSource[e].applicationDateId);o.tableRows[o.tableRows.length-1].patterns.push({style:rt?{opacity:.9,backgroundColor:c.color,borderColor:c.color}:{backgroundColor:c.color,borderColor:c.color},active:r.isSelected,dayNumber:r.dayNo,shiftCode:r,applicationDayId:o.patternDateSource[e].applicationDayId,weekNo:r.weekNo,timeSheetLock:rt,recordLock:!1,applicationDateId:o.patternDateSource[e].applicationDateId});o.hoverColumnIndex.push(d)}else{y={};for(l in c)if(l!="$hashKey")if(l=="breaks"){for(tt=[],w=0;w<c[l].length;w++){it={};for(g in c[l][w])g!="$hashKey"&&(it[g]=c[l][w][g]);tt.push(it)}y[l]=tt}else y[l]=c[l];for(y.breaks=[],p=t.find(o.shiftCodes,{shiftCodeId:o.patternObjectSource[0].patternShiftCodes[f].shiftId})[0].breaks,a=0;a<p.length;a++)y.breaks.push({startTime:p[a].startTime,endTime:p[a].endTime});rt=o.getTimeSheetReport(o.patternDateSource[e].applicationDateId);o.tableRows[o.tableRows.length-1].patterns.push({style:rt?{backgroundColor:"white",borderColor:y.color,opacity:.5}:{backgroundColor:"white",borderColor:y.color},active:r.isSelected,dayNumber:r.dayNo,shiftCode:y,applicationDayId:o.patternDateSource[e].applicationDayId,weekNo:r.weekNo,timeSheetLock:rt,recordLock:!1,applicationDateId:o.patternDateSource[e].applicationDateId})}o.patternObjectSource[0].patternTypeId==459?(yt=o.patternObjectSource[0].noOfDays,yt<=b?b=1:b++):o.patternDateSource[e].applicationDayId==7&&(pt=o.patternObjectSource[0].noOfDays/7,k++,pt<k&&(k=1))}else o.tableRows[o.tableRows.length-1].patterns.push({style:{backgroundColor:"white",borderColor:v[0].color},active:!1,dayNumber:0,shiftCode:0,applicationDayId:0,weekNo:0,recordLock:!0})}o.checkRowsForTimesheetSubmitted()}}o.patternName=angular.isUndefined(o.patternOption.patternMaster.patternName)?"":o.patternOption.patternMaster.patternName;i.setJsonArray(o.patternSource,o.patternName);ot='<th style="padding:2px !important; " class="width-55" ng-repeat="tableHeading in tableHeadings" ng-style="tableHeading.style" ><b>{{tableHeading.dayName}}<br/><div ng-style="tableHeading.headerStyle" id={{tableHeading.id}}>{{tableHeading.title}}<\/div><\/b><\/th>';et="tableRows"}lt="";lt=u.isMobileDevice()?"ipadSelectPattern":"selectPattern";i.isBasePattern=!1;o.setStartWeek();st='<div id="rxPatterns" ng-click="removeContextMenu()" class="'+o.patternOption.patternMaster.patternName+'" style="clear:both;" ng-style="mainTableWidth"><table id="tblPattern_'+o.patternOption.patternMaster.patternName+'" class="table rx-pattern-css viewform"  ng-style="mainTableWidth" ><thead><tr ng-show="currentPatternTypeId == 460"  class="background-blue rxpatterns-row-'+o.patternOption.patternMaster.patternName+'"><th><\/th><th><\/th><th class="rxpatterns-th-'+o.patternOption.patternMaster.patternName+'" ng-repeat="wkNumber in wNumbers" colspan="7" style="text-align:center;">Week {{wkNumber.currentNumber}}<\/th><\/tr><tr  class="background-blue"><th style="padding:2px !important; " class="width-35"><button ng-disabled="readOnlyPattern" ng-show="disableDatePattern"  ng-click="addRow()"><i class="icon-plus"><\/i><\/button><\/th><th style="padding:2px !important; " class="width-150">Shift Code<\/th>'+ot+'<\/tr><\/thead><tbody><tr class="rxpatterns-row-'+o.patternOption.patternMaster.patternName+'" ng-repeat="tableRow in '+et+'"><td  style="padding:2px !important; " class="width-35"><button ng-disabled="readOnlyPattern || tableRows.length == 1 || tableRow.timeSheetLock == true" ng-show="disableDatePattern" ng-click="removeRow(tableRow)"><i class="icon-trash"><\/i><\/button><\/td><td style="padding:2px !important;"><select ng-disabled="isReadOnlyControl() || disableDatePattern == undefined || disableDatePattern == false || tableRow.timeSheetLock == true"  style="width:100px;" ng-change="changeShiftCode(tableRow,tableRow.patterns)"  ng-model="tableRow.shiftCode" ng-options="shiftCode.shiftCodeId as shiftCode.shiftCode for shiftCode in shiftCodes"><\/select><\/td><td ng-repeat="pattern in tableRow.patterns" style="padding:2px !important;" rx-right-click="showContextMenu(pattern,tableRow,$index)" class="width-55 rxpatterns-column-'+o.patternOption.patternMaster.patternName+'"><div id="rxpattern{{patternName}}{{tableRow.rowIndex}}{{$index}}{{idUniqueNumber}}" class="width-100 customrx-pattern" ng-class="getTimesheetClass(pattern.timeSheetLock,true)"  ng-dblclick="doubleClick(pattern,tableRow,$index)" ng-click="'+lt+'(pattern,tableRow,$index)" ng-style="pattern.style"  style="height:24px; border-style:solid;border-width:1px;"><div ng-show="pattern.timeSheetLock" ng-class="getTimesheetClass(pattern.timeSheetLock)"><\/div><\/div><\/td><\/tr><\/tbody><\/table><div id="rxexplorer-dropdown{{patternName}}" class="dropdown "><ul aria-labelledby="drop4" role="menu" class="dropdown-menu" id="menu1"><li role="presentation" ng-repeat="contextmenu in contextmenus" rx-context-menu-click context-item="contextmenu"  class="cursor alignRight"><a  tabindex="-1" role="menuitem">{{contextmenu.itemName}}<\/a><\/li><\/ul><\/div><\/div>';o.popupTemplateSrc={};o.subPopupTemplateSrc={};wt='<div  id="popupTemplate" class="modal fade {{popupTemplate.popupCss}} showpopup"  tabindex="-1" role="dialog" aria-labelledby="popupTemplateLabel" aria-hidden="true"><div ng-include src="popupTemplateSrc.src"><\/div><\/div>';bt='<div  id="subpopupTemplate" class="modal fade {{popupTemplate.popupCss}} showpopup"  tabindex="-1" role="dialog" aria-labelledby="popupTemplateLabel" aria-hidden="true"><div ng-include src="subPopupTemplateSrc.src"><\/div><\/div>';$(s).html(n(st+wt+bt)(o));$("#rxPatterns").mousemove(function(n){var t=$(this).parent().offset(),i=n.pageX-t.left,r=n.pageY-t.top;o.leftPosition=i;o.topPosition=r+180;o.$apply()});at=setTimeout(function(){if(o.hoverColumnIndex!=undefined)for(var n=0;n<o.hoverColumnIndex.length;n++)u.isMobileDevice()||o.setPopover(o.hoverColumnIndex[n].rowIndex,o.hoverColumnIndex[n].index,"")},700);at=setTimeout(function(){for(var n=0;n<o.holidayApplicationDates.length;n++)o.setHeaderPopover(o.holidayApplicationDates[n].applicationDateId)},700)};o.getTimesheetClass=function(n,t){return n?t==!0?"timesheet-lock-class-td":"timesheet-lock-pattern":""};o.isNotHoliday=function(n){if(o.holidays.length>0){var i=t.find(o.holidays,{applicationDateId:n})[0];if(i!=undefined)return!1}return!0};o.copyPattern=function(){var n;o.copiedPattern={};for(n in o.currentPatternMenu)n!="$$hashKey"&&(o.copiedPattern[n]=o.currentPatternMenu[n]);o.copyRowIndex={};for(n in o.currentTableRowMenu)n!="$$hashKey"&&(o.copyRowIndex[n]=o.currentTableRowMenu[n]);o.copiedIndexMenu=o.currentIndexMenu;o.copiedTableMenu=o.currentTableRowMenu;$("#rxexplorer-dropdown"+o.patternName).removeClass("open")};o.checkRowsForTimesheetSubmitted=function(){var n,i;if(o.tableRows!=null&&o.tableRows.length>0)for(n=0;n<o.tableRows.length;n++)i=t.find(o.tableRows[n].patterns,{timeSheetLock:!0,active:!0}),i!=null&&i.length>0&&(o.tableRows[n].timeSheetLock=!0)};o.removeContextMenu=function(){$("#rxexplorer-dropdown"+o.patternName).removeClass("open")};o.currentIndexMenuItem=0;o.pastePattern=function(){for(var n in o.copiedPattern)n!="$$hashKey"&&n!="dayNumber"&&n!="dayNo"&&n!="weekNo"&&n!="applicationDayId"&&n!="applicationDateId"&&(o.currentPatternMenu[n]=o.copiedPattern[n]);o.currentPatternMenu.active=!1;o.selectPattern(o.currentPatternMenu,o.copiedTableMenu,o.pasteRowIndex);$("#rxexplorer-dropdown"+o.patternName).removeClass("open")};o.applyToAll=function(){var u,s,c,n,l,r,i,e,h,a,v;if(o.isPatternSelect=!0,o.currentJobPattern)for(s=1,c=1,n=0;n<o.tableRows.length;n++)for(l=[],r=o.tableRows[n].patterns,i=0;i<r.length;i++)l=t.sortBy(r,"dayNumber"),r[i].applicationDayId==0||r[i].timeSheetLock||(e=undefined,o.patternObjectSource[0].patternTypeId==459?(h={applicationDateId:r[i].applicationDateId,dayNumber:r[i].dayNumber},e=t.find(l,h)[0]):(h={applicationDateId:r[i].applicationDateId,applicationDayId:r[i].applicationDayId,weekNo:s},e=t.find(l,h)[0]),e!=undefined&&e.shiftCode!=undefined&&e.shiftCode.isSelected&&r[i].active&&r[i].shiftCode.shiftCode==o.currentPatternMenu.shiftCode.shiftCode&&(r[i].shiftCode.startTime=o.currentPatternMenu.shiftCode.startTime,r[i].shiftCode.endTime=o.currentPatternMenu.shiftCode.endTime,r[i].shiftCode.breaks=f.getArrayContext(o.currentPatternMenu.shiftCode.breaks),o.setPopover(o.tableRows[n].rowIndex,i,r[i]),o.validatePattern(r[i],o.tableRows[n],i)),o.patternObjectSource[0].patternTypeId==459?(a=o.patternObjectSource[0].noOfDays,a<=c?c=1:c++):r[i].applicationDayId==7&&(v=o.patternObjectSource[0].noOfDays/7,s++,v<s&&(s=1)));else{if(o.copyRowIndex==undefined||o.copiedPattern==undefined||o.copyRowIndex.rowIndex!=o.currentTableRowMenu.rowIndex||o.copiedPattern.dayNumber!=o.currentPatternMenu.dayNumber){o.copiedTableMenu=o.currentTableRowMenu;o.copiedPattern={};for(u in o.currentPatternMenu)u!="$$hashKey"&&(o.copiedPattern[u]=o.currentPatternMenu[u]);o.copyRowIndex={};for(u in o.currentTableRowMenu)u!="$$hashKey"&&(o.copyRowIndex[u]=o.currentTableRowMenu[u])}for(n=0;n<o.copiedTableMenu.patterns.length;n++)angular.isUndefined(o.copiedTableMenu.patterns[n].recordLock)?(o.removePopover(o.copiedTableMenu.patterns[n].rowIndex,n),o.setPatternMenu(o.copiedTableMenu.patterns[n],n)):angular.isUndefined(o.copiedTableMenu.patterns[n].recordLock)||o.copiedTableMenu.patterns[n].recordLock?angular.isUndefined(o.copiedTableMenu.patterns[n].timeSheetLock)||o.copiedTableMenu.patterns[n].timeSheetLock||(o.removePopover(o.copiedTableMenu.patterns[n].rowIndex,n),o.setPatternMenu(o.copiedTableMenu.patterns[n],n)):(o.removePopover(o.copiedTableMenu.patterns[n].rowIndex,n),o.setPatternMenu(o.copiedTableMenu.patterns[n],n))}$("#rxexplorer-dropdown"+o.patternName).removeClass("open")};o.setPatternMenu=function(n,t){for(var i in o.copiedPattern)i!="$$hashKey"&&i!="dayNumber"&&i!="dayNo"&&i!="weekNo"&&i!="applicationDayId"&&i!="applicationDateId"&&(n[i]=o.copiedPattern[i]);n.active=!1;o.selectPattern(n,o.copiedTableMenu,t)};o.editPattern=function(){o.isPatternSelect=!0;o.doubleClick(o.currentPatternMenu,o.currentTableRowMenu,o.currentIndexMenu)};o.contextQueryEvent=function(n){o.contextEvent(n)};o.contextEvent=function(n){switch(n.itemName){case"Edit":o.editPattern();break;case"Copy":o.copyPattern();break;case"Select/Deselect":o.selectPattern(o.ipadPattern,o.ipadTableRow,o.ipadIndex);break;case"Paste":o.pastePattern();break;case"Apply to all":o.applyToAll()}};o.contextmenus=[{itemName:"Edit"},{itemName:"Copy"},{itemName:"Paste"},{itemName:"Apply to all"}];o.showContextMenu=function(n,t,i){if((o.pasteRowIndex=i,n.timeSheetLock)||n.recordLock||angular.isUndefined(t.shiftCode))return!1;if(!o.readOnlyPattern){o.contextmenus=[];u.isMobileDevice()&&(o.ipadPattern=n,o.ipadTableRow=t,o.ipadIndex=i,o.contextmenus.push({itemName:"Select/Deselect"}));var f=$("#rxpattern"+o.patternName+t.rowIndex+i+o.idUniqueNumber),r=f.position();if(o.currentPatternMenu=n,o.currentPatternMenu.active){if(angular.isUndefined(o.patternOption.patternMaster.disableRightClick))o.contextmenus.push({itemName:"Edit"});else if(!angular.isUndefined(o.patternOption.patternMaster.disableRightClick)&&o.patternOption.patternMaster.disableRightClick==!0)return;o.contextmenus.push({itemName:"Copy"});o.contextmenus.push({itemName:"Apply to all"});(o.copyRowIndex==undefined||o.copyRowIndex.rowIndex==t.rowIndex)&&o.copiedPattern!=undefined&&o.copiedPattern.dayNumber!=o.currentPatternMenu.dayNumber&&o.contextmenus.push({itemName:"Paste"});o.showContextMenuDropdown=!0;o.currentTableRowMenu=t;o.currentIndexMenu=i}else o.copiedPattern!=undefined?o.copyRowIndex==undefined||o.copyRowIndex.rowIndex==t.rowIndex?(o.showContextMenuDropdown=!0,o.contextmenus=[{itemName:"Paste"},{itemName:"Apply to all"}]):(o.showContextMenuDropdown=!1,o.contextmenus=[]):(o.showContextMenuDropdown=!1,o.contextmenus=[]),o.currentIndexMenuItem=i,o.ipadPattern=n,o.ipadTableRow=t,o.ipadIndex=i,u.isMobileDevice()&&o.contextmenus.push({itemName:"Select/Deselect"});$("#rxexplorer-dropdown"+o.patternName).removeClass("open");document.getElementById("rxexplorer-dropdown"+o.patternName).style.position="absolute";document.getElementById("rxexplorer-dropdown"+o.patternName).style.display="inline";document.getElementById("rxexplorer-dropdown"+o.patternName).style.left=r.left+25+"px";document.getElementById("rxexplorer-dropdown"+o.patternName).style.top=r.top+19+"px";o.showContextMenuDropdown&&($("#rxpattern"+o.patternName+t.rowIndex+i+o.idUniqueNumber).popover("hide"),$("#rxexplorer-dropdown"+o.patternName).addClass("open"));u.isMobileDevice()&&($("#rxpattern"+o.patternName+t.rowIndex+i+o.idUniqueNumber).popover("hide"),$("#rxexplorer-dropdown"+o.patternName).addClass("open"))}};o.isJobPattern=!1;o.isReadOnlyControl=function(){return o.readOnlyPattern};o.getTimeSheetReport=function(n){return o.timeSheetDate!=undefined&&o.timeSheetDate>=n?!0:!1};o.removeRow=function(n,i){var h,s,r,u,c,a;if(o.jobScheduleChangeEvent(),o.copiedPattern=undefined,o.copiedIndexMenu=undefined,o.copiedTableMenu=undefined,h=o.tableRows.indexOf(n),angular.isUndefined(i)){if(o.tableRows.length==2){for(r=0;r<o.tableHeadings.length;r++)o.tableHeadings[r].style={color:"#FFFFFF"},o.tableHeadings[r].patternConflict=!1;for(o.tableRows.splice(h,1),r=0;r<o.tableRows.length;r++)o.tableRows[r].rowIndex=r;return}$(".customrx-pattern").popover("destroy")}var l=t.find(o.tableHeadings,{patternConflict:!0}),f=[],e={};for(r=0;r<l.length;r++){for(e={},s=o.tableHeadings.indexOf(l[r]),e.columnIndex=angular.copy(s,e.columnIndex),e.shiftCodes=[],u=0;u<o.tableRows.length;u++)!angular.isUndefined(o.tableRows[u].patterns[s].shiftCode)&&o.tableRows[u].patterns[s].active&&u!=h&&e.shiftCodes.push(o.tableRows[u].patterns[s]);f.push(e)}if(f.length==1&&f[0].shiftCodes.length==1)for(r=0;r<o.tableHeadings.length;r++)o.tableHeadings[r].patternConflict=!1,o.tableHeadings[r].style={color:"#FFFFFF"};else for(o.$parent.rxPatternSiftTimes=f,f=o.$parent.$eval(o.patternOption.patternMaster.rowDeleteEvent+"(rxPatternSiftTimes)"),r=0;r<f.length;r++)f[r].isNotValid||(o.tableHeadings[f[r].columnIndex].style={color:"#FFFFFF"},o.tableHeadings[f[r].columnIndex].patternConflict=!1);if(angular.isUndefined(i)){for(o.tableRows.splice(h,1),o.hoverColumnIndex=[],r=0;r<o.tableRows.length;r++)for(o.tableRows[r].rowIndex=r,u=0;u<o.tableRows[r].patterns.length;u++)!angular.isUndefined(o.tableRows[r].patterns[u].active)&&o.tableRows[r].patterns[u].active&&(c={},c.rowIndex=r,c.index=u,o.setPopover(r,u),o.hoverColumnIndex.push(c));a=setTimeout(function(){for(var n=0;n<o.hoverColumnIndex.length;n++)o.setPopover(o.hoverColumnIndex[n].rowIndex,o.hoverColumnIndex[n].index,"")},700)}};o.addRow=function(){for(var a,v,c,h,n,i,e,l,s=0;s<o.tableRows.length;s++)if(angular.isUndefined(o.tableRows[s].shiftCode))return;if(a=t.find(o.tableHeadings,{patternConflict:!0}),a.length>0){r.show({dataCollection:[],titleText:"Warning",contentText:"Please resolve conflicts.",cancelRequired:!1,callbacks:{ok:"ok",cancel:"cancel"}},o);return}if(o.currentPatternFormat==460)for(o.tableRows.push({rowIndex:o.tableRows.length,patterns:[]}),v=o.tableHeadings.length/7,c=1,n=0;n<v;n++)for(h=1;h<8;h++)o.tableRows[o.tableRows.length-1].patterns.push({style:{backgroundColor:"white",borderColor:"black"},active:!1,applicationDayId:h,weekNo:n+1,dayNumber:c++});else{var u=1,f=0,c=1;for(o.tableRows.push({rowIndex:o.tableRows.length,patterns:[]}),n=0;n<o.tableHeadings.length;n++)f==7?f=1:f++,i={style:{backgroundColor:"white",borderColor:"black"},active:!1,applicationDayId:f,dayNumber:u,weekNo:o.getWeekNo(u),applicationDateId:o.tableHeadings[n].applicationDateId},o.isJobPattern&&(o.tableHeadings[n].applicationDateId<o.patternStartDate?(i.recordLock=!0,i.applicationDayId=0,i.dayNumber=0,f--,u--):(e=t.find(o.tableRows[0].patterns,{applicationDateId:o.tableHeadings[n].applicationDateId})[0],e!=null&&(i.applicationDayId=e.applicationDayId,i.dayNumber=e.dayNumber,i.weekNo=e.weekNo)),l=o.getTimeSheetReport(i.applicationDateId),l&&(i.style={opacity:.9,backgroundColor:"white",borderColor:"black"},i.timeSheetLock=l)),o.tableRows[o.tableRows.length-1].patterns.push(i),u=u+1}o.jobScheduleChangeEvent();o.setStartWeek()};o.validatePattern=function(n,r){var h=t.find(o.shiftCodes,{shiftCodeId:r.shiftCode}),e=r.patterns.indexOf(n),c,l,s,u,f;o.tableRows[r.rowIndex].$$hashKey=r.$$hashKey;c=o.tableRows.indexOf(r);l={};for(s in h[0])s!="$hashKey"&&(l[s]=h[0][s]);if(i.activeRowIndex=c,i.activeColumnIndex=e,u=[],!n.active&&o.tableRows.length==2)return i.setJsonObject(n.shiftCode,o.patternName,u),o.$parent.rxPatternSiftTimes=u,o.$parent.parentPattern=n.shiftCode,o.$parent.rxactivePattern=n.active,o.tableHeadings[i.activeColumnIndex].style={color:"#FFFFFF"},o.tableHeadings[i.activeColumnIndex].patternConflict=!1,!1;for(f=0;f<o.tableRows.length;f++)!angular.isUndefined(o.tableRows[f].patterns[e].shiftCode)&&o.tableRows[f].patterns[e].active&&(!o.tableRows[f].patterns[e].active,u.push(o.tableRows[f].patterns[e]));if(u.length==1&&(u=[]),i.setJsonObject(n.shiftCode,o.patternName,u),o.$parent.rxPatternSiftTimes=u,o.$parent.parentPattern=n.shiftCode,o.$parent.rxactivePattern=n.active,u.length>0){if(u.length==1&&!n.active){o.tableHeadings[i.activeColumnIndex].style={color:"#FFFFFF"};o.tableHeadings[i.activeColumnIndex].patternConflict=!1;return}o.$parent.$eval(o.patternOption.patternMaster.singleClickEvent+"(parentPattern,rxPatternSiftTimes,rxactivePattern)")?(o.tableHeadings[i.activeColumnIndex].style={color:"#D04949"},o.tableHeadings[i.activeColumnIndex].patternConflict=!0):(o.tableHeadings[i.activeColumnIndex].style={color:"#FFFFFF"},o.tableHeadings[i.activeColumnIndex].patternConflict=!1)}else o.tableHeadings[i.activeColumnIndex].style={color:"#FFFFFF"},o.tableHeadings[i.activeColumnIndex].patternConflict=!1};o.doubleClick=function(n,i,r){var u,e,f;if(n.timeSheetLock||n.recordLock||angular.isUndefined(i.shiftCode))return!1;if(!o.readOnlyPattern){n.active=!0;n.style={backgroundColor:n.shiftCode.color,borderColor:n.shiftCode.color};o.validatePattern(n,i,r);o.$parent.$eval(o.patternOption.patternMaster.doubleClickEvent+"(parentPattern,rxPatternSiftTimes)");u=t.find(o.shiftCodes,{shiftCodeId:i.shiftCode});e={};for(f in u[0])f!="$hashKey"&&(e[f]=u[0][f]);o.setPopover(i.rowIndex,r,u)}};o.ShiftCodeAlertHide=function(){r.hide()};o.changeShiftCode=function(n,i){var f,e,s,u;if(o.tableRows[n.rowIndex].shiftCode=n.shiftCode,f=o.tableRows.indexOf(n),e=t.find(o.tableRows,{shiftCode:n.shiftCode}),e.length>1){for(n.shiftCode=undefined,u=0;u<n.patterns.length;u++)n.patterns[u].style={backgroundColor:"white",borderColor:"black"};o.removeRow(n,!0);r.show({dataCollection:[],titleText:"Alert",contentText:"Cannot have a duplicate Attendance Item in a 24 hour period.",cancelRequired:!1,callbacks:{ok:"ShiftCodeAlertHide"}},o);return}for(s=t.find(o.shiftCodes,{shiftCodeId:n.shiftCode}),u=0;u<n.patterns.length;u++)i[u].recordLock||(i[u].active&&o.removePopover(f,u),n.patterns[u].shiftCode=undefined,n.patterns[u].style={backgroundColor:"white",borderColor:s[0].color},n.patterns[u].active=!1);o.jobScheduleChangeEvent();o.removeRow(n,!0)};o.isPatternSelect=!1;o.ipadSelectPattern=function(n,t,i){if(o.ipadPattern=n,o.ipadTableRow=t,o.ipadIndex=i,o.showContextMenu(o.ipadPattern,o.ipadTableRow,o.ipadIndex),!o.readOnlyPattern)var r=setTimeout(function(){$("#rxexplorer-dropdown"+o.patternName).addClass("open")},500)};o.selectPattern=function(n,i,r){var e,u,s,c,f,l,h;if(n.timeSheetLock||n.recordLock||angular.isUndefined(i.shiftCode))return!1;if(!o.readOnlyPattern){if(o.isPatternSelect=!0,angular.isUndefined(n.shiftCode)){e=t.find(o.shiftCodes,{shiftCodeId:i.shiftCode});u={};for(s in e[0])s!="$hashKey"&&(u[s]=e[0][s]);for(c=[],f=0;f<u.breaks.length;f++){l={};for(h in u.breaks[f])h!="$hashKey"&&(l[h]=u.breaks[f][h]);c.push(l)}u.breaks=c;n.shiftCode=u}n.active?(angular.isUndefined(o.currentTableRowMenu)||angular.isUndefined(i)||i.rowIndex==o.currentTableRowMenu.rowIndex&&(o.copiedIndexMenu=undefined,o.copiedTableMenu=undefined,o.copiedPattern=undefined),n.active=!n.active,n.shiftCode.isSelected=n.active,n.style={backgroundColor:"white",borderColor:n.shiftCode.color},o.removePopover(i.rowIndex,r),o.validatePattern(n,i,r)):(n.style={backgroundColor:n.shiftCode.color,borderColor:n.shiftCode.color},n.active=!n.active,n.shiftCode.isSelected=n.active,o.removePopover(i.rowIndex,r),o.setPopover(i.rowIndex,r,e),o.validatePattern(n,i,r));o.jobScheduleChangeEvent();$(".popover").remove()}};o.jobScheduleChangeEvent=function(){angular.isUndefined(o.patternOption.patternMaster.jobScheduleChangeEvent)||o.$parent.$eval(o.patternOption.patternMaster.jobScheduleChangeEvent+"()")};o.removePopover=function(n,t){$("#rxpattern"+o.patternName+n+t+o.idUniqueNumber).popover("destroy")};o.setPopover=function(t,i){var r=o.tableRows[t].patterns[i].shiftCode;return $("#rxpattern"+o.patternName+t+i+o.idUniqueNumber).popover({placement:"bottom",title:"Search ",html:!0,trigger:"hover",content:function(){var u,f,r,e;for(o.breaks=o.tableRows[t].patterns[i].shiftCode.breaks,u="",f="",r=0;r<5;r++)o.tableRows[t].patterns[i].shiftCode.startTime!=null&&(u+=o.tableRows[t].patterns[i].shiftCode.startTime.charAt(r)),o.tableRows[t].patterns[i].shiftCode.endTime!=null&&(f+=o.tableRows[t].patterns[i].shiftCode.endTime.charAt(r));return e='<table id="rxPatternsPopover_'+o.patternName+'"  style="padding-left:3px !important; " class="table"><tbody><tr ><td style="padding:2px !important; "><b>Start Time<\/b><\/td><td style="padding:2px !important; ">'+u+'<\/td><\/tr><tr ><td style="padding:2px !important; "><b>End Time<\/b><\/td><td style="padding:2px !important; ">'+f+'<\/td><\/tr><\/tbody><\/table><div class="row"><div class="col-lg-12 col-xs-12"><h5>Breaks : <\/h5><table class="table table-striped table-hover rxpatterns-table-'+o.patternName+'"><thead><tr class="background-blue rxpatterns-row-'+o.patternName+'" style="padding:2px !important; "><th style="padding:4px !important; " class="rxpatterns-th-'+o.patternName+'">Start Time<\/th><th style="padding:4px !important; " class="rxpatterns-th-'+o.patternName+'">End Time<\/th><\/tr><\/thead><tbody><tr style="padding:2px !important; " ng-repeat="break in breaks" class="rxpatterns-row-'+o.patternName+'"><td class="rxpatterns-column-'+o.patternName+'">{{break.startTime | viewtext : 5}}<\/td><td class="rxpatterns-column-'+o.patternName+'">{{break.endTime | viewtext : 5}}<\/td><\/tr><\/tbody><\/table>',"<\/div><\/div>",o.$apply(function(){return n(e)(o)})}}),""};o.setHeaderPopover=function(i){return $("#rxpatternheader"+i).popover({placement:"bottom",title:"Search ",html:!0,trigger:"hover",content:function(){o.holidayList=t.find(o.holidays,{applicationDateId:i});var r='<table class="table table-striped table-hover"><thead><tr class="background-blue" style="padding:2px !important; "><th style="padding:4px !important; ">Holidays :<\/th><\/tr><\/thead><tbody><tr style="padding:2px !important; " ng-repeat="holiday in holidayList"><td><b>{{holiday.name}}<\/b><\/td><\/tr><\/tbody><\/table>';return o.$apply(function(){return n(r)(o)})}}),""};o.patternStartDayNumber=function(n){switch(n){case 376:return 1;case 377:return 2;case 378:return 3;case 379:return 4;case 380:return 5;case 381:return 6;case 382:return 7}};o.getDayNumber=function(n){switch(n){case"Sun":return 1;case"Mon":return 2;case"Tue":return 3;case"Wed":return 4;case"Thu":return 5;case"Fri":return 6;case"Sat":return 7}};o.getWeekDay=function(n){switch(n){case 1:return"Sun";case 2:return"Mon";case 3:return"Tue";case 4:return"Wed";case 5:return"Thu";case 6:return"Fri";case 7:return"Sat"}};o.previousTypeName="Week";o.wNumbers=[];o.setHeadings=function(n,i){var p,a,w,b,s,c,l,e,r,f,h,y,u;if(o.wNumbers=[],o.currentPatternTypeId=i,i==460){for(p=o.tableHeadings.length/7,a=n*7,u=0;u<a/7;u++)o.wNumbers.push({currentNumber:u+1});if(o.tableHeadings.length>a){for(u=o.tableHeadings.length;u>=a;u--)o.tableHeadings.splice(u,1);for(r=0;r<o.tableRows.length;r++)for(l=o.tableRows[r].patterns.length;l>=a;l--)o.tableRows[r].patterns.splice(l,1)}else if(h=n-p,o.tableHeadings.length<7){for(h=7-o.tableHeadings.length,w=o.tableHeadings.length+1,f=o.tableHeadings.length+1;f<8;f++)o.tableHeadings.push({title:o.getWeekDay(f),applicationDayId:f,style:{color:"#FFFFFF"}});for(r=0;r<o.tableRows.length;r++)for(c=t.find(o.shiftCodes,{shiftCodeId:o.tableRows[r].shiftCode}),e=o.tableRows[r].patterns.length+1,headinglength=w,f=w;f<8;f++)c.length>0?o.tableRows[r].patterns.push({style:{backgroundColor:"white",borderColor:c[0].color},active:!1,applicationDayId:f,dayNumber:e,weekNo:o.getWeekNo(e)}):o.tableRows[r].patterns.push({style:{backgroundColor:"white",borderColor:"black"},active:!1,applicationDayId:f,dayNumber:e,weekNo:o.getWeekNo(e)}),e++,headinglength++}else for(b=a-o.tableHeadings.length<8?a-o.tableHeadings.length+1:8,s=o.tableHeadings[o.tableHeadings.length-1].applicationDayId+1,s==8&&(s=1),h=n-p,u=0;u<h;u++){for(f=1;f<b;f++)o.tableHeadings.push({title:o.getWeekDay(f),applicationDayId:s,style:{color:"#FFFFFF"}}),s=s==7?1:s+1;for(s=o.tableRows[0].patterns[o.tableRows[0].patterns.length-1].applicationDayId+1,s==8&&(s=1),r=0;r<o.tableRows.length;r++)for(c=t.find(o.shiftCodes,{shiftCodeId:o.tableRows[r].shiftCode}),e=o.tableRows[r].patterns.length+1,f=1;f<b;f++)c.length>0?o.tableRows[r].patterns.push({style:{backgroundColor:"white",borderColor:c[0].color},active:!1,applicationDayId:s,dayNumber:e,weekNo:o.getWeekNo(e)}):o.tableRows[r].patterns.push({style:{backgroundColor:"white",borderColor:"black"},active:!1,applicationDayId:s,dayNumber:e,weekNo:o.getWeekNo(e)}),s=s==7?1:s+1,e++}}else if(o.tableHeadings.length>n){for(u=o.tableHeadings.length;u>=n;u--)o.tableHeadings.splice(u,1);for(r=0;r<o.tableRows.length;r++)for(l=o.tableRows[r].patterns.length;l>=n;l--)o.tableRows[r].patterns.splice(l,1)}else{for(h=n-o.tableHeadings.length,e=o.tableHeadings.length+1,u=0;u<h;u++)o.tableHeadings.push({title:"Day "+e,applicationDayId:e,style:{color:"#FFFFFF"}}),e++;for(r=0;r<o.tableRows.length;r++){var c=t.find(o.shiftCodes,{shiftCodeId:o.tableRows[r].shiftCode}),e=o.tableRows[r].patterns.length+1,v=o.tableRows[r].patterns[o.tableRows[r].patterns.length-1].applicationDayId;for(f=0;f<h;f++)v==7?v=1:v++,c.length>0?o.tableRows[r].patterns.push({style:{backgroundColor:"white",borderColor:c[0].color},active:!1,applicationDayId:v,dayNumber:e,weekNo:o.getWeekNo(e)}):o.tableRows[r].patterns.push({style:{backgroundColor:"white",borderColor:"black"},active:!1,applicationDayId:v,dayNumber:e,weekNo:o.getWeekNo(e)}),e++}}if(i==460)for(h=o.tableHeadings.length/7,y=1,u=0;u<o.tableHeadings.length;u++)y==8&&(y=1),o.tableHeadings[u].title=o.getWeekDay(y),y++;else for(u=0;u<o.tableHeadings.length;u++)o.tableHeadings[u].title="Day "+(u+1);o.previousTypeName=i;o.mainTableWidth={width:235+o.tableHeadings.length*55+"px"};o.setStartWeek()};o.getWeeks=function(n){var t=n*7-o.tableHeadings.length};o.getWeekNo=function(n){if(n>7){var t=parseInt(n/7),i=n/7,r=parseFloat(i-t);return r>0?t+1:t}return 1};l=o.$watch("patternSource",function(n){o.firstTime||!angular.isUndefined(n)&&n.length>0&&i[o.patternOption.patternMaster.patternName]==undefined&&(o.firstTime=!0,o.setPatterns(),l(),l=null)},!0)}],link:function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;$(t).off();$(t).detach();$(t).remove();t.remove();t=null;i=null;n=null})}}}]),rx.directive("rxInactivedata",["rxJson",function(n){return{link:function(t,i,r){var s=t.$on("$destroy",function(){s();s=null;e();e=null;$(i).off();$(i).detach();$(i).remove();i=null;r=null;t=null}),e,f=!0,u=r.keyObject,o=r.valueObject,h=r.inactiveObject;e=h==undefined?t.$watch(u,function(i){var h,c;if(!angular.isUndefined(i)&&i!=null&&f&&i!=""){f=!1;var l=r.rxSource,e=l.split("."),s={};if(s[o]=t[o],s[u]=parseInt(t[u]),s[o]==null)return;angular.isUndefined(r.filterObject)||(s[r.filterObject]=t[r.filterObject]);h={};h[u]=parseInt(t[u]);angular.isUndefined(t[e[0]])||(c=e[1]!=undefined?n.find(t[e[0]][e[1]],h):n.find(t[e[0]],h),c.length==0&&(e.length>1?angular.isArray(t[e[0]][e[1]])&&t[e[0]][e[1]].push(s):angular.isArray(t[e[0]])&&t[e[0]].push(s)))}},!0):t.$watch(h,function(i){var o,s,h;if(!angular.isUndefined(i)&&i!=null&&f&&i!=""){f=!1;var c=r.rxSource,u=c.split("."),e={};if(!angular.isUndefined(r.inactiveObject))for(o in t[r.inactiveObject])e[o]=t[r.inactiveObject][o];s={};s[r.primaryKey]=e[r.primaryKey];angular.isUndefined(t[u[0]])||(h=n.find(t[u[0]][u[1]],s),h.length==0&&(u.length>1?t[u[0]][u[1]].push(e):angular.isArray(t[u[0]])&&t[u[0]].push(e)))}},!0)}}}]),rx.filter("nullIdentifier",function(){return function(n,t){return!angular.isUndefined(t)&&n==t?"":angular.isUndefined(n)?"":n}}),rx.filter("filteryear",function(){return function(n,t){if(!angular.isUndefined(t))for(var i=0;i<t[0].week.length;i++)if(!angular.isUndefined(t[0].week[i].applicationYear))return n+" "+t[0].week[i].applicationYear}}),rx.filter("classfilter",function(){return function(n){return n!=null?n.toLowerCase():""}}),rx.directive("rxDiary",["$compile","rxJson","rxDiaryData","rxUserPermission",function(n,t,i,r){return{restrict:"E",scope:{dairyDates:"=",datesAvaibility:"=",diaryMonths:"=",diaryOption:"=",diaryViewonly:"="},controller:["$scope","$element",function(u,f){var o=u.$on("$destroy",function(){o();o=null;i.currentDiary=undefined;$(f).off();$(f).detach();$(f).remove();f=null;u=null}),s=window.location.pathname.toLowerCase().indexOf("candidateportal")!=-1?!0:!1,e;u.getAvaibilities=function(){var n=t.find(u.datesAvaibility,{dateId:data.applicationDateId});return n.length};u.setPopoverRow=function(i,r){var f=t.find(u.datesAvaibility,{dateId:i.applicationDateId}),s,e,h,o;if(f.length>0){for(s=!1,e=0;e<f.length;e++)if(f[e].status.toLowerCase()=="booked"||f[e].status.toLowerCase()=="leave"||f[e].status.toLowerCase()=="unavailable"||f[e].status.toLowerCase()=="available"){if(h=t.find(f,{status:"Booked"}),h.length>0&&f[e].status.toLowerCase()!="unavailable"){s=!0;i.status=h[0].status;break}else{s=!0;i.status=f[e].status;break}i.applicationDateId==307}s||(i.status="referred")}if(!angular.isUndefined(i.status)&&i.status!=null){if(r==undefined){o=setTimeout(function(){$("#"+i.applicationDateId).popover({title:i.jobName,html:!0,trigger:"click",placement:i.applicationDayId<=4?i.applicationDate<15?"right":"top":"left",content:function(){var i,s,r,c;for($(".popover").remove(),u.bookedJson=f,i="",s="",r=2;r<f.length;r++)if(f[r].status!="Available"){r!=0&&(s="margin-top:2px;");var t=f[r],e=t.jobType!=null?t.jobType:"",h=t.positionName!=null?t.positionName:"",o=t.location!=null?t.location:"";o=o==null?"":o;var l=t.reportToName!=null?t.reportToName:"",a=t.reportToBHPhone!=null?t.reportToBHPhone:"",v=t.candidateInActiveReasonName!=null?t.candidateInActiveReasonName:"";t.status.toLowerCase()=="booked"?(i+='<div  class="'+t.status.toLowerCase()+'" ng-click=customEvent('+t.jobOrderId+',"'+e+'") style="padding:10px;'+s+'"><div class="row"><div class="col-lg-5 col-xs-5"><b>Client Name : <\/b><\/div><div class="col-lg-7 col-xs-7">'+t.clientName+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Job Type : <\/b><\/div><div class="col-lg-7 col-xs-7">'+e+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Position : <\/b><\/div><div class="col-lg-7 col-xs-7">'+h+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Location : <\/b><\/div><div class="col-lg-7 col-xs-7">'+o+"<\/div><\/div>",i+='<div class="row"><div class="col-lg-5 col-xs-5"><b>Report To : <\/b><\/div><div class="col-lg-7 col-xs-7">'+l+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>BH Phone : <\/b><\/div><div class="col-lg-7 col-xs-7">'+a+"<\/div><\/div>",i+="<\/div>"):t.status.toLowerCase()=="referred"?(c=t.jobType=="Permanent"?"":'<div class="row"><div class="col-lg-5 col-xs-5"><b>Shift: <\/b><\/div><div class="col-lg-7 col-xs-7">'+t.startTime+" ~ "+t.endTime+"<\/div><\/div>",i+='<div  class="'+t.status.toLowerCase()+'" ng-click=customEvent('+t.jobOrderId+',"'+e+'") style="padding:10px;"><div class="row "><div class="col-lg-5"><b>Client Name:<\/b> <\/div><div class="col-lg-7">'+t.clientName+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Job Type:<\/b> <\/div><div class="col-lg-7 col-xs-7">'+e+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Position: <\/b><\/div><div class="col-lg-7 col-xs-7">'+h+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Job Owner: <\/b><\/div><div class="col-lg-7 col-xs-7">'+t.jobOwnerName+"<\/div><\/div>"+c+"<\/div>"):t.status.toLowerCase()=="unavailable"&&(i+='<div class="'+t.status.toLowerCase()+' " style="padding:10px;"><div class="row"><div class="col-lg-5 col-xs-5"><b>Reason Code : <\/b><\/div><div class="col-lg-7 col-xs-7">'+v+"<\/div><\/div><\/div>");f.length>r+1&&(i+='<li class="small-divider"><\/li>')}return n(i)(u)}})},100);return}switch(r.status.toLowerCase()){case"referred":o=setTimeout(function(){$("#"+i.applicationDateId+r.candidateAvailabilityId).popover({title:i.jobName,html:!0,trigger:"click",placement:i.applicationDayId<=4?i.applicationDate<15?"right":"top":"left",content:function(){$(".popover").remove();u.bookedJson=f;var t="",i=r.jobType=="Permanent"?"":'<div class="row"><div class="col-lg-5 col-xs-5"><b>Shift: <\/b><\/div><div class="col-lg-7 col-xs-7">'+r.startTime+" ~ "+r.endTime+"<\/div><\/div>";return t+='<div  class="'+r.status.toLowerCase()+'" ng-click=customEvent('+r.jobOrderId+',"'+r.jobType+'") style="padding:10px;"><div class="row "><div class="col-lg-5"><b>Client Name:<\/b> <\/div><div class="col-lg-7 col-xs-7">'+r.clientName+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Job Type:<\/b> <\/div><div class="col-lg-7 col-xs-7">'+r.jobType+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Position: <\/b><\/div><div class="col-lg-7 col-xs-7">'+r.positionName+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Job Owner: <\/b><\/div><div class="col-lg-7 col-xs-7">'+r.jobOwnerName+"<\/div><\/div>"+i+"<\/div>",n(t)(u)}})},100);break;case"booked":o=setTimeout(function(){$("#"+i.applicationDateId+r.candidateAvailabilityId).popover({title:i.jobName,html:!0,trigger:"click",placement:i.applicationDayId<=4?i.applicationDate<15?"right":"top":"left",content:function(){var c,l,e,s;u.currentPopoverObject=r;$(".popover").remove();u.bookedJson=f;var o="",h=r.jobType!=null?r.jobType:"",a=r.positionName!=null?r.positionName:"",i=r.location!=null?r.location:"";return i=i==null?"":i,c=r.reportToName!=null?r.reportToName:"",l=r.reportToBHPhone!=null?r.reportToBHPhone:"",u.diaryOption.diaryMaster.callbacks.popOverItemEvent!=null&&u.diaryOption.diaryMaster.callbacks.popOverItemEvent.length>0&&(e=t.find(u.diaryOption.diaryMaster.callbacks.popOverItemEvent,{status:"booked"})[0],e!=null&&e.items!=null&&e.items.length>0&&(s=t.find(e.items,{itemName:"Location"})[0],s!=null&&s.eventName!=""&&(i='<span class="diary-location-text" ng-click=callEvent("'+s.eventName+'") >'+i+"<\/span>"))),o+='<div  class="'+r.status.toLowerCase()+'" ng-click=customEvent('+r.jobOrderId+',"'+h+'") style="padding:10px;"><div class="row"><div class="col-lg-5 col-xs-5"><b>Client Name : <\/b><\/div><div class="col-lg-7 col-xs-7">'+r.clientName+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Job Type : <\/b><\/div><div class="col-lg-7 col-xs-7">'+h+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Position : <\/b><\/div><div class="col-lg-7 col-xs-7">'+a+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Location: <\/b><\/div><div class="col-lg-7 col-xs-7">'+i+"<\/div><\/div>",o+='<div class="row"><div class="col-lg-5 col-xs-5"><b>Report To : <\/b><\/div><div class="col-lg-7 col-xs-7">'+c+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>BH Phone : <\/b><\/div><div class="col-lg-7 col-xs-7">'+l+"<\/div><\/div>",o+="<\/div>",n(o)(u)}})},100);break;case"leave":o=setTimeout(function(){$("#"+i.applicationDateId+r.candidateAvailabilityId).popover({title:"Leave",html:!0,trigger:"click",placement:i.applicationDayId<=4?i.applicationDate<15?"right":"top":"left",content:function(){$(".popover").remove();var n=r.typeOfLeave!=null?r.typeOfLeave:"",t=r.approvedBy!=null?r.approvedBy:"";return'<div class="'+r.status.toLowerCase()+'" style="padding:10px;" "><div class="row"><div class="col-lg-5 col-xs-5"><b>Type Of Leave : <\/b><\/div><div class="col-lg-7 col-xs-7">'+n+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Approved By : <\/b><\/div><div class="col-lg-7 col-xs-7">'+t+'<\/div><\/div><div class="row"><div class="col-lg-5 col-xs-5"><b>Shift: <\/b><\/div><div class="col-lg-7 col-xs-7">'+r.startTime+" ~ "+r.endTime+"<\/div><\/div><\/div>"}})},100);break;case"unavailable":o=setTimeout(function(){$("#"+i.applicationDateId+r.candidateAvailabilityId).popover({title:"Unavailable",html:!0,trigger:"click",placement:i.applicationDayId<=4?i.applicationDate<15?"right":"top":"left",content:function(){var n;return $(".popover").remove(),n=f[e],r.candidateInActiveReasonName=r.candidateInActiveReasonName==null||r.candidateInActiveReasonName==undefined?"":r.candidateInActiveReasonName,'<div class="unavailable" style="padding:10px;"><div class="row"><div class="col-lg-5 col-xs-5"><b>Reason Code : <\/b><\/div><div class="col-lg-7 col-xs-7">'+r.candidateInActiveReasonName+"<\/div><\/div><\/div>"}})},100)}}};u.setPopover=function(n){var i=t.find(u.datesAvaibility,{dateId:n.applicationDateId}),f,r,e;if(i.length>0){for(f=!1,r=0;r<i.length;r++)if(i[r].status.toLowerCase()=="booked"||i[r].status.toLowerCase()=="leave"||i[r].status.toLowerCase()=="unavailable"||i[r].status.toLowerCase()=="available")if(e=t.find(i,{status:"Booked"}),e.length>0){f=!0;n.status=e[0].status;break}else{f=!0;n.status=i[r].status;break}f||(n.status="referred")}return!angular.isUndefined(n.status)&&n.status!=null?i:[]};u.customEvent=function(n,i){if(!s){var f=undefined;i=="Temporary"?f=t.find(r.mainContext,{permissionItemName:"Temporary Job"})[0]:i=="Contract"?f=t.find(r.mainContext,{permissionItemName:"Contract Job"})[0]:i=="Permanent"&&(f=t.find(r.mainContext,{permissionItemName:"Permanent Job"})[0]);f!=undefined&&f.canView&&(angular.isUndefined(u.diaryOption)||(u.$parent.jo=n,u.$parent._jobType=i,u.$parent.$eval(u.diaryOption.diaryMaster.callbacks.select+"(jo,_jobType)")))}};u.callEvent=function(n){angular.isUndefined(n)||(u.$parent.candidateAvailabilityObj=u.currentPopoverObject,u.$parent.$eval(n+"(candidateAvailabilityObj)"),$(".popover").remove(),event.stopPropagation())};u.getCandidateAvailability=function(n){return angular.isUndefined(n.status)?null:n.status};u.getMonthName=function(n){switch(n){case 1:return"January";case 2:return"February";case 3:return"March";case 4:return"April";case 5:return"May";case 6:return"June";case 7:return"July";case 8:return"August";case 9:return"September";case 10:return"October";case 11:return"November";case 12:return"December"}};u.calendarViewColumns=0;u.setFunctions=function(){u.dairyDates.resetDiary=function(n,t,i){u.dairyDates=n;u.datesAvaibility=t;u.diaryMonths=i;u.setRxDairy()};u.dairyDates.resetDiaryAvaibility=function(n){u.datesAvaibility=n;u.setRxDairy()};u.dairyDates.resetDiaryView=function(n){u.calendarViewColumns=n;u.setRxDairy()};i.setActiveDaiary("currentDiary",u.dairyDates)};u.initDairy=function(){var w,r,a,k,h,f,v,y,e,c,g,d,it,n,nt,tt;u.calendarViewColumns==0&&(u.calendarViewColumns=u.diaryMonths.defaultDiaryView);u.setDiaryMonths();var p=[];if(u.diaryMonths.endMonth<u.diaryMonths.startMonth){for(w=12-u.diaryMonths.startMonth,r=u.diaryMonths.startMonth,n=0;n<w;n++)p.push({monthId:r,monthName:u.getMonthName(r),dates:t.find(u.dairyDates,{applicationMonthId:r,applicationYearId:u.diaryMonths.startYearId})}),r++;for(n=1;n<=u.diaryMonths.endMonth;n++)p.push({monthId:n+1,monthName:u.getMonthName(n+1),dates:t.find(u.dairyDates,{applicationMonthId:n+1,applicationYearId:u.diaryMonths.endYearId})})}else if(angular.isUndefined(u.diaryMonths.endMonth))r=u.diaryMonths.startMonth,p.push({monthId:r,monthName:u.getMonthName(r),dates:t.find(u.dairyDates,{applicationMonthId:r,applicationYearId:u.diaryMonths.startYearId})});else for(w=u.diaryMonths.endMonth-u.diaryMonths.startMonth,r=u.diaryMonths.startMonth,n=0;n<w;n++)p.push({monthId:r,monthName:u.getMonthName(r),dates:t.find(u.dairyDates,{applicationMonthId:r,applicationYearId:u.diaryMonths.startYearId})}),r++;var b=u.calendarViewColumns,r=0,o=0,l=1,s=[];for(s[o]={},s[o].columns=[],a=p,k="",k=b==1?"col-lg-12 col-xs-12":b==2?"col-lg-6  col-xs-6":"col-lg-4  col-xs-6",h=0;h<a.length;h++){if(f=a[h].dates,v=1,l=0,y=0,e=[],!angular.isUndefined(u.diaryMonths.multipleMonths))for(c=0;c<u.diaryMonths.multipleMonths.length;c++)for(g={monthId:u.diaryMonths.multipleMonths[c].monthId,monthName:u.getMonthName(u.diaryMonths.multipleMonths[c].monthId),dates:t.find(u.dairyDates,{applicationMonthId:u.diaryMonths.multipleMonths[c].monthId,applicationYearId:u.diaryMonths.multipleMonths[c].yearId})},d=0;d<g.dates.length;d++)f.push(g.dates[d]);for(it=f.length-1,n=0;n<f.length;n++){if(n==0&&e.push({week:[]}),v==f[n].applicationDayId)f[n]=u.setTime(f[n]),e[y].week.push(f[n]);else{for(nt=0;nt<f[n].applicationDayId-1;nt++)e[y].week.push({applicationDateId:0,applicationYearId:0,applicationMonthId:0,applicationDayId:0,monthDate:0,dateBooked:[]});v=f[n].applicationDayId;l=f[n].applicationDayId-1;f[n]=u.setTime(f[n]);e[y].week.push(f[n])}if(it==n)for(tt=l;tt<6;tt++)e[y].week.push({applicationDateId:0,applicationYearId:0,applicationMonthId:0,applicationDayId:0,monthDate:0,dateBooked:[]});v==7?v=1:v++;l==6?(y++,l=0,e.push({week:[]})):l++}a[h].dates=e;b<4&&(r<b?(s[o].columns.push({divClass:k,months:a[h]}),r++):(r=1,o++,s[o]={},s[o].columns=[],s[o].columns.push({divClass:k,months:a[h]})))}u.setDiaryTitle();u.calendars=s;i.setLeaveDetail("currentDiary",u.calendars)};u.setDiaryMonths=function(){var e=[],r=t.uniqueByProperty(u.dairyDates,"applicationYearId"),i,o,n,f;if(r!=null&&r.length>0)for(i=0;i<r.length;i++)if(o=t.find(u.dairyDates,{applicationYearId:r[i].applicationYearId}),n=t.uniqueByProperty(o,"applicationMonthId"),n!=null&&n.length>0)for(f=0,i==0&&(f=1),j=f;j<n.length;j++)e.push({monthId:n[j].applicationMonthId,yearId:n[j].applicationYearId});u.diaryMonths.multipleMonths=e};u.setDiaryTitle=function(){var i="",n=t.sortBy(u.dairyDates,"applicationDateId");n.length>0&&(i=n[0].applicationMonthId==n[n.length-1].applicationMonthId&&n[0].applicationYear==n[n.length-1].applicationYear?n[0].applicationMonth+" "+n[0].applicationYear:n[0].applicationMonth+" "+n[0].applicationYear+"   -   "+n[n.length-1].applicationMonth+" "+n[n.length-1].applicationYear);u.leaveDiaryTitle=i};u.setTime=function(n){if(u.diaryMonths.lockedDates!=undefined){var i=t.find(u.diaryMonths.lockedDates,{applicationDateId:n.applicationDateId})[0];n.isReadOnly=i==undefined?!1:!0;i=u.diaryMonths.hideDays!=undefined?t.find(u.diaryMonths.hideDays,{applicationDayId:n.applicationDayId})[0]:undefined;n.isTextOnly=i==undefined?!1:!0;i=u.diaryMonths.leaveTimes!=undefined?t.find(u.diaryMonths.leaveTimes,{applicationDateId:n.applicationDateId})[0]:undefined;n.controlOnly=!n.isReadOnly&&!n.isTextOnly;n.isTextOnly=n.isTextOnly&&n.isReadOnly?!1:n.isTextOnly;i!=undefined&&(n.isTextOnly&&(n.isTextOnly=!1,n.controlOnly=!0),n.startTime=i.startTime,n.endTime=i.endTime,n.processedTypeName=!angular.isUndefined(i.processedTypeName)&&i.processedTypeName!=null&&i.processedTypeName!=""?i.processedTypeName:"",n.statusTypeName=!angular.isUndefined(i.statusTypeName)&&i.statusTypeName!=null&&i.statusTypeName!=""?i.statusTypeName:"");n.isTextOnly=n.isTextOnly&&n.controlOnly?!1:n.isTextOnly;!n.isTextOnly&&n.controlOnly&&(n.startTime==null||n.startTime==""||n.endTime==null||n.endTime=="")&&(n.controlOnly=!1,n.isTextOnly=!0)}return n};u.firstTime=!1;u.setRxDairy=function(){u.setFunctions();u.firstTime=!0;u.initDairy();var t="",i='<div  ><div ng-hide="hideRow(week.applicationDate,true,week)" class="date">{{week.applicationDate | nullIdentifier : 0}}<\/div><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr  id="{{week.applicationDateId}}{{candidateAvaibilityr.candidateAvailabilityId}}"  ng-class="getNgClassCss(_jsonA)" ng-repeat="candidateAvaibilityr in _jsonA = setPopover(week) | limitTo : 2" style="padding:0px;"><td  ng-init="setPopoverRow(week,candidateAvaibilityr)"  align="center" class="{{candidateAvaibilityr.status | lowercase}}">{{showCellLabel(candidateAvaibilityr)}}<\/td><\/tr><tr id="{{week.applicationDateId}}" ng-show="_jsonA.length > 2"><td ng-init="setPopoverRow(week)" colspan="2" class="more">{{_jsonA.length - 2}} more items<\/td><\/tr><\/table><\/div>';u.diaryMonths.calendarType!=undefined&&u.diaryMonths.calendarType=="Leave"&&(i='<div ng-hide="hideRow(week.applicationDate,true,week)" >'+u.diaryMonths.template.controlOnly+u.diaryMonths.template.readOnly+u.diaryMonths.template.textOnly,"<\/div>");t='<div class="row " ng-repeat="line in calendars"><div ng-repeat="cols in line.columns" class="{{cols.divClass}}"><table style="width: 100%" class="fc-header"><tbody ><tr><td class="fc-header-left"><\/td><td class="fc-header-center"><span class="fc-header-title"><h2>{{leaveDiaryTitle}}<\/h2><\/span><\/td><td class="fc-header-right"><\/td><\/tr><\/tbody><\/table><table cellspacing="0" style="width: 100%" class="table calendar-schedule calendardays alignCenter table-bordered"><thead ><tr class="background-blue "><th class="alignCenter" style="width: 14.28571428571429%;">Sun<\/th><th class="alignCenter" style="width: 14.28571428571429%;">Mon<\/th><th class="alignCenter" style="width: 14.28571428571429%;">Tue<\/th><th class="alignCenter" style="width: 14.28571428571429%;">Wed<\/th><th class="alignCenter" style="width: 14.28571428571429%;">Thu<\/th><th class="alignCenter" style="width: 14.28571428571429%;">Fri<\/th><th class="alignCenter" style="width: 14.28571428571429%;">Sat<\/th><\/tr><\/thead><tbody ><tr ng-repeat="calendar in cols.months.dates" style="height:100px;"><td  ng-repeat="week in calendar.week" style="padding:0px !important;" >'+i+"<\/td><\/tr><\/tbody><\/table><\/div><\/div>";$(f).html(n(t)(u))};u.showControl=function(n){n.controlOnly=!0;n.isTextOnly=!1};u.showTextOnly=function(n){n.controlOnly=!1;n.isTextOnly=!0};u.showCellLabel=function(n){return n.status=="Booked"?"("+n.jobType.charAt(0).toUpperCase()+") "+n.startTime+" - "+n.endTime:n.status=="Referred"?n.stageName:n.status=="UnAvailable"||n.status=="Available"||n.status=="Leave"?n.startTime+" - "+n.endTime:n.clientName};u.getNgClassCss=function(n){return n.length==1?"height-100":n.length==2?"height-50":"height-33"};u.hideRow=function(n){return n==""||n==null?!0:!1};e=u.$watch("dairyDates",function(n){u.firstTime||!angular.isUndefined(n)&&n.length>0&&(e(),e=null,u.setRxDairy())},!0)}],link:function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;$(t).off();$(t).detach();$(t).remove();t=null;i=null;n=null})}}}]),rx.directive("rxAlert",["$compile",function(n){return{restrict:"A",scope:{alertOption:"="},link:function(t,i,r){var u=t.$on("$destroy",function(){u();u=null;$(i).off();$(i).detach();$(i).remove();i=null;r=null;t=null});t.callEvent=function(n){$("#rxload").removeClass("rxloadin").addClass("rxloadout");switch(n){case 1:t.$parent.isEventCall=!0;t.$parent.$eval(r.rxAlertTrue+"(isEventCall)");break;case 2:t.$parent.isEventCall=!1;t.$parent.$eval(r.rxAlertTrue+"(isEventCall)");break;case 3:t.alertOption.alertMaster.event.cancel!=""&&t.$parent.$eval(t.alertOption.alertMaster.event.cancel)}};r.rxAlertTemplate=="delete"&&(r.rxAlertTitle="Delete Record",r.rxAlertContent="Are you sure, you want to delete this record ?");var f=angular.isUndefined(r.rxAlertTrue)?"":'<button  class="btn btn-primary" ng-click="callEvent(1)">Yes<\/button>',e=angular.isUndefined(r.rxAlertFalse)?"":'<button  class="btn btn-primary" ng-click="callEvent(2)">No<\/button>',o=angular.isUndefined(r.rxAlertCancel)?"":'<button  class="btn btn-primary" ng-click="callEvent(3)">Cancel<\/button>',s=' <div class="mainOverlayout"><div class="alertbox"><div id="rxAlert" class="alertbox" style="max-height: 417.6px;"><div class="modal-header"><h5>'+r.rxAlertTitle+'<\/h5><\/div><div class="modal-body">'+r.rxAlertContent+'<\/div><div class="modal-footer">'+f+e+o+"<\/div><\/div><\/div><\/div>";$(i).click(function(){$("#rxload").removeClass("rxloadout").addClass("rxloadin");$("#rxload").html(n(s)(t))})}}}]),rx.directive("rxPie",["$compile",function(){return{restrict:"A",scope:{rxSource:"="},link:function(n,t,i){function r(n,t,i){$('<div id="tooltip" class="bg-black corner-all color-white">'+i+"<\/div>").css({position:"absolute",display:"none",top:t+5,left:n+5,border:"0px",padding:"2px 10px 2px 10px",opacity:.9,"font-size":"11px"}).appendTo("body").fadeIn(200)}var u=n.$on("$destroy",function(){$(t).off();$(t).detach();$(t).remove();t=null;i=null;n=null});data_pie=[];series=Math.floor(Math.random()*6)+3;data_pie[0]={label:"Filled",data:60.82};data_pie[1]={label:"Vacant",data:39.18};$.plot($(t),n.rxSource,{series:{pie:{show:!0}},grid:{backgroundColor:"#FFFFFF",borderWidth:1,borderColor:"#D7D7D7",hoverable:!0,clickable:!0},legend:{show:!0,margin:[24,0],position:"sw"}});$(t).bind("plothover",function(n,t,i){$("#tooltip").remove();var u=i.datapoint[0].toFixed(2);r(t.pageX,t.pageY,i.series.label+" of "+u)})}}}]),rx.directive("rxChart",["rxJson",function(n){return{restrict:"A",link:function(t,i,r){var u=t.$on("$destroy",function(){u();u=null;f();f=null;$(i).off();$(i).detach();$(i).off();i=null;r=null;t=null}),f=t.$watch(r.data,function(t){var s,u,e,f,h,o,c,l,a;if(!angular.isUndefined(t)&&t!=null)switch(r.type){case"PieChart":for(s=n.uniqueNumber(),$(i).html("<svg width="+r.width+" height="+r.height+"><g id='salesDonut"+s+"'><\/g><\/svg>"),u=[],e=0;e<t.length;e++)t[e].value!=0&&u.push(t[e]);if(f=undefined,u.length==1){f={};for(h in u[0])f[h]=u[0][h];f.value=10}f==undefined?Donut3D.draw("salesDonut"+s,u,r.chartX,r.chartY,130,100,30,0):Donut3D.draw("salesDonut"+s,[f],r.chartX,r.chartY,130,100,30,0);break;case"ColumnChart":o=setTimeout(function(){var u=google.visualization.arrayToDataTable(t),f={height:r.height,width:r.width,legend:{position:"none"},bar:{groupWidth:"95%"},is3D:!0},n;n=new google.visualization.ColumnChart(i[0]);n.draw(u,f)},1e3);break;case"BarChart":o=setTimeout(function(){var u=google.visualization.arrayToDataTable(t),f={height:r.height,width:r.width,legend:{position:"none"},bar:{groupWidth:"95%"},is3D:!0},n;n=new google.visualization.BarChart(i[0]);n.draw(u,f)},1e3);break;case"StackColumnChart":o=setTimeout(function(){var f=4,h=google.visualization.arrayToDataTable(t),n={isStacked:!0,title:r.title,chartArea:{left:50,top:50,width:"80%",height:"80%"},width:r.width!=undefined?parseInt(r.width):undefined,height:parseInt(r.height),titleTextStyle:{bold:!0,fontSize:18},annotations:{alwaysOutside:!0,textStyle:{bold:!0,fontSize:14,color:"#000",auraColor:"none"}},hAxis:{title:r.hAxisTitle,textStyle:{bold:!0}},vAxis:{title:r.vAxisTitle,textStyle:{bold:!0}},bar:{groupWidth:75},legend:{position:"top",textStyle:{bold:!0}},colors:["blue","red"]},e,u,o,s;r.vAxisMaxValue!=undefined&&(n.vAxis.maxValue=parseInt(r.vAxisMaxValue));r.vAxisWholeNumber=="true"&&r.vAxisMaxValue!=undefined&&(n.bar.groupWidth="80%",n.vAxis.format="0",n.vAxis.maxValue=f,e=parseInt(r.vAxisMaxValue),u=0,u=e%f==0?e/f:Math.ceil(e/f),o=[u*1,u*2,u*3,u*4],n.vAxis.ticks=o);r.vAxisIsstacked=="false"&&r.vAxisIsstacked!=undefined&&(n.seriesType="bars",n.isStacked=!1);s=new google.visualization.ColumnChart(i[0]);s.draw(h,n)},1e3);break;case"Table":c=google.visualization.arrayToDataTable(t);l={height:r.height,width:r.width,legend:{position:"none"},bar:{groupWidth:"95%"},is3D:!0};a=new google.visualization.Table(i[0]);a.draw(c,l)}})}}}]),rx.directive("rxExplorerTree",["$compile","rxJson","$rootScope","$window","rxUserPermission","$filter",function(n,t,i,r,u,f){return{restrict:"E",scope:{explorertreeSource:"=",explorertreeOption:"="},controller:["$scope","$element",function(i,r){var e=i.$on("$destroy",function(){e();e=null;$("#rxExplorers"+i.explorerTreeName).off();$("#rxExplorers"+i.explorerTreeName).detach();$("#rxExplorers"+i.explorerTreeName).remove();$(r).off();$(r).detach();$(r).remove();r=null;i=null}),u;i.isCustomChange=!1;i.getTreeBind=function(r,u){var e,o,f;if(r.isOpenRow=angular.isUndefined(u)?r.isOpenRow==undefined?!0:!r.isOpenRow:!0,r.isOpenRow){for(e=t.find(i[i.currentSourceNameFilter],{parentObjectId:r.objectId}),o="<ul>",f=0;f<e.length;f++){var h=t.find(i[i.currentSourceNameFilter],{parentObjectId:e[f].objectId}),c=h.length>0?"icon-caret-right":"no-subfolder folder-margin-left",s="";e[f].active||(s="folder-color-inactive");o+='<li><div id="selected'+e[f].objectId+'{{explorerTreeName}}" rx-right-click="subTextMenu('+e[f].objectId+')" ng-click="treeEvent('+e[f].objectId+')"  ><i ng-click="getSubTreeBind('+e[f].objectId+',$element)" class="'+c+'"><\/i><i class="bigger-175  folder-color '+s+' icon-folder-close folder-margin-left"><\/i>'+e[f].objectName+'<\/div><div id="rxattachment'+e[f].objectId+'{{explorerTreeName}}" class="close-tree" ><\/div><\/li>'}o+="<\/ul>";$("#rxattachment"+r.objectId+i.explorerTreeName).html(n(o)(i))}else $("#rxattachment"+r.objectId+i.explorerTreeName).html(""),$("#rxExplorers"+i.explorerTreeName).removeClass("open")};i.getCaretCss=function(n){if(n.caret=angular.isUndefined(n.caret)?"":n.caret,n.caret!="no-subfolder folder-margin-left"){var r=t.find(i.explorertreeSource,{parentObjectId:n.objectId});n.caret=r.length>0?"icon-caret-right":"no-subfolder folder-margin-left"}};i.getSubTreeBind=function(r,u){var e,o,f,h,s,c;if($("#rxattachment"+r).hasClass("close-tree")||u!=undefined){for(e=t.find(i[i.currentSourceNameFilter],{parentObjectId:r}),o="<ul>",f=0;f<e.length;f++)h=t.find(i[i.currentSourceNameFilter],{parentObjectId:e[f].objectId}),s="",e[f].active||(s="folder-color-inactive"),c=h.length>0?"icon-caret-right":"no-subfolder folder-margin-left",o+='<li><div id="selected'+e[f].objectId+'{{explorerTreeName}}" rx-right-click="subTextMenu('+e[f].objectId+')" ng-click="treeEvent('+e[f].objectId+')"><i ng-click="getSubTreeBind('+e[f].objectId+',$element)" class="'+c+'"><\/i><i class="bigger-175  '+s+'  folder-color icon-folder-close folder-margin-left"><\/i>'+e[f].objectName+'<\/div><div id="rxattachment'+e[f].objectId+'{{explorerTreeName}}" class="close-tree" ><\/div><\/li>';o+="<\/ul>";u==undefined&&($("#rxattachment"+r+i.explorerTreeName).removeClass("close-tree"),$("#rxattachment"+r+i.explorerTreeName).addClass("open-tree"));$("#rxattachment"+r+i.explorerTreeName).html(n(o)(i))}else $("#rxattachment"+r+i.explorerTreeName).addClass("close-tree"),$("#rxattachment"+r+i.explorerTreeName).removeClass("open-tree"),$("#rxattachment"+r+i.explorerTreeName).html(""),$("#rxExplorers"+i.explorerTreeName).removeClass("open")};i.treeEvent=function(n,r){var s,u;(i.initialControlWidth==null||i.initialControlWidth==0)&&(i.initialControlWidth=$("#exTree"+i.explorerTreeName).width(),console.log(String(i.initialControlWidth)));var f=$("#exTree"+i.explorerTreeName).width(),e=$("#selected"+n+i.explorerTreeName).offset(),o=$("#exTree"+i.explorerTreeName).offset();e!=null&&o!=null&&(s=e.left-o.left,u=f-s,u<i.initialControlWidth?$("#exTree"+i.explorerTreeName).css("width",f+100+"px"):u>i.initialControlWidth&&$("#exTree"+i.explorerTreeName).css("width",f-(u-375)-60+"px"));$("#rxExplorers"+i.explorerTreeName).removeClass("open");$(".selected").removeClass("selected");$("#selected"+n+i.explorerTreeName).addClass("selected");angular.isUndefined(r)&&(r=t.find(i[i.currentSourceNameFilter],{objectId:n})[0]);i.getTreeBind(r);i.$parent.rxtreeId=n;i.$parent.$eval(i.explorertreeOption.treeMaster.callbacks.select+"(rxtreeId)")};i.setCurrentFilterSource=[];i.bindFilterTreeSource=function(n){u=[];for(var t=0;t<n.length;t++)n[t].parentObjectId!=0&&n[t].parentObjectId!=null?i.getParentObjects(n[t]):n[t].parentObjectId!=null&&u.push(n[t])};u=[];i.getParentObjects=function(n){u.push(n);var r=t.find(i.explorertreeSource,{objectId:n.parentObjectId})[0];r.parentObjectId!=0?(u.push(r),i.getParentObjects(r)):u.push(r)};i.currentSourceNameFilter="explorertreeSource";i.setFunctions=function(){i.explorertreeSource.addTreeFolder=function(n){i.explorertreeSource.push(n);i.getSubTreeBind(n.parentObjectId,!1)};i.explorertreeSource.resetFilter=function(){i.setFindObjectSource=[];i.currentSourceNameFilter="explorertreeSource";i.setExplorertree()};i.explorertreeSource.filterTree=function(e){var c,o,l,s,h,a;for(i.currentSourceNameFilter="setFindObjectSource",c=f("filter")(i.explorertreeSource,e),i.bindFilterTreeSource(c),i.setFindObjectSource=[],o=0;o<u.length;o++)l=t.find(i.setFindObjectSource,{objectId:u[o].objectId})[0],l==undefined&&(u[o].isOpenRow=!1,i.setFindObjectSource.push(u[o]));return s=i.explorertreeOption.treeMaster.rootObjectId,(s==null||s=="")&&(s=0),i.rxExplorerTreeRoot=t.find(i.setFindObjectSource,{parentObjectId:s}),h='<div id="exTree{{explorerTreeName}}"><div class="explorer-listing"><ul class="nav nav-pills nav-stacked"><li ng-repeat="attachmenttree in rxExplorerTreeRoot" ><div id="selected{{attachmenttree.objectId}}{{explorerTreeName}}" rx-right-click="textMenu(attachmenttree)" class="rootfolder" ng-click="treeEvent(attachmenttree.objectId,attachmenttree)"><i ng-init="getCaretCss(attachmenttree)" ng-class="attachmenttree.caret" ng-click="getTreeBind(attachmenttree)"><\/i><i class="bigger-175  folder-color icon-folder-close folder-margin-left"><\/i>{{attachmenttree.objectName}}<\/div><div id="rxattachment{{attachmenttree.objectId}}{{explorerTreeName}}"><\/ul><\/div>',i.explorertreeOption.treeMaster.showContextMenu!=undefined&&i.explorertreeOption.treeMaster.showContextMenu&&(h+='<div id="rxExplorers{{explorerTreeName}}" class="dropdown "><ul aria-labelledby="drop4" role="menu" class="dropdown-menu" id="menu1"><li role="presentation" ng-repeat="contextmenu in contextmenus" ng-click="contextEvent(contextmenu)" class="cursor"><a  tabindex="-1" role="menuitem">{{contextmenu.itemName}}<\/a><\/li><\/ul><\/div>'),h+="<\/div>",$(r).replaceWith(n(h)(i)),a=setTimeout(function(){i.explorertreeOption.treeMaster.isOpen!=undefined&&i.explorertreeOption.treeMaster.isOpen&&i.treeEvent(i.rxExplorerTreeRoot[0].objectId,i.rxExplorerTreeRoot[0]);$("#exTree"+i.explorerTreeName).mousemove(function(n){var t=$(this).parent().offset(),r=n.pageX-t.left,u=n.pageY-t.top;i.leftPosition=r;i.topPosition=u;i.$apply()})},500),c.length};i.explorertreeSource.selectFolder=function(n){i.isSelectedNodeFolder=!0;i.setSelectedNode(n);var t=setTimeout(function(){$("#selected"+n.objectId+i.explorerTreeName).addClass("selected")},100)};i.explorertreeSource.inactiveFolder=function(n){var r=t.find(i.explorertreeSource,{objectId:n})[0];r.active=!1;r.objectName=r.objectName+" (Inactive)";$("#selected"+n+i.explorerTreeName+" .icon-folder-close").addClass("folder-color-inactive")};i.explorertreeSource.activeFolder=function(n){var r=t.find(i.explorertreeSource,{objectId:n})[0];r.active=!0;r.objectName=r.objectName.replace(" (Inactive)","");$("#selected"+n+i.explorerTreeName+" .icon-folder-close").removeClass("folder-color-inactive")};i.explorertreeSource.renameTreeFolder=function(n,r){var u=t.find(i.explorertreeSource,{objectId:n})[0];u.objectName=r;i.getSubTreeBind(u.parentObjectId,!1)};i.explorertreeSource.removeTreeFolder=function(n){var r=t.find(i.explorertreeSource,{objectId:n})[0],f,u;r!=null&&(f=r.parentObjectId,u=i.explorertreeSource.indexOf(r),u!=-1&&i.explorertreeSource.splice(u,1),i.getSubTreeBind(f,!1))}};i.explorerTreeSelecteds=[];i.setSelectedNode=function(n){var r,u;if(n.parentObjectId==0)for(r=i.explorerTreeSelecteds.length-1;r>=0;--r)i.getTreeBind(i.explorerTreeSelecteds[r],!0),$(".selected").removeClass("selected"),$("#selected"+i.explorerTreeSelecteds[r].objectId+i.explorerTreeName).addClass("selected");else i.isSelectedNodeFolder&&(i.explorerTreeSelecteds=[],i.explorerTreeSelecteds.push(n)),i.isSelectedNodeFolder=!1,u=t.find(i.explorertreeSource,{objectId:n.parentObjectId})[0],i.explorerTreeSelecteds.push(u),i.setSelectedNode(u)};i.contextmenus=[];i.setExplorertree=function(){var u,f,e;i.setFunctions();i.isCustomChange=!0;i.explorerTreeName=i.explorertreeOption.treeMaster.treeName;u=i.explorertreeOption.treeMaster.rootObjectId;(u==null||u=="")&&(u=0);i.rxExplorerTreeRoot=t.find(i.explorertreeSource,{parentObjectId:u});f='<div id="exTree{{explorerTreeName}}"><div class="explorer-listing"><ul class="nav nav-pills nav-stacked"><li ng-repeat="attachmenttree in rxExplorerTreeRoot" ><div id="selected{{attachmenttree.objectId}}{{explorerTreeName}}" rx-right-click="textMenu(attachmenttree)" class="rootfolder" ng-click="treeEvent(attachmenttree.objectId,attachmenttree)"><i ng-init="getCaretCss(attachmenttree)" ng-class="attachmenttree.caret" ng-click="getTreeBind(attachmenttree)"><\/i><i ng-class="isFolderActive(attachmenttree)" class="bigger-175 icon-folder-close folder-margin-left"><\/i>{{attachmenttree.objectName}}<\/div><div id="rxattachment{{attachmenttree.objectId}}{{explorerTreeName}}"><\/ul><\/div>';i.explorertreeOption.treeMaster.showContextMenu!=undefined&&i.explorertreeOption.treeMaster.showContextMenu&&(f+='<div id="rxExplorers{{explorerTreeName}}" class="dropdown "><ul aria-labelledby="drop4" role="menu" class="dropdown-menu" id="menu1"><li role="presentation" ng-repeat="contextmenu in contextmenus" ng-click="contextEvent(contextmenu)" class="cursor"><a  tabindex="-1" role="menuitem">{{contextmenu.itemName}}<\/a><\/li><\/ul><\/div>');f+="<\/div>";$(r).replaceWith(n(f)(i));e=setTimeout(function(){i.explorertreeOption.treeMaster.isOpen!=undefined&&i.explorertreeOption.treeMaster.isOpen&&(i.rxExplorerTreeRoot[0].isOpenRow=!1,i.treeEvent(i.rxExplorerTreeRoot[0].objectId,i.rxExplorerTreeRoot[0]));$("#exTree"+i.explorerTreeName).mousemove(function(n){var t=$(this).parent().offset(),r=n.pageX-t.left,u=n.pageY-t.top;i.leftPosition=r;i.topPosition=u;i.$apply()})},500)};i.isFolderActive=function(n){return n.active?"folder-color":"folder-color-inactive"};i.contextEvent=function(n){$("#rxExplorers"+i.explorerTreeName).removeClass("open");i.explorertreeOption.treeMaster.callbacks!=undefined&&i.explorertreeOption.treeMaster.callbacks.contextEvent!=undefined&&(i.$parent.objectD=i.activeObject,i.$parent.cMenu=n,i.$parent.$eval(i.explorertreeOption.treeMaster.callbacks.contextEvent+"(objectD,cMenu)"))};i.subTextMenu=function(n){var r=t.find(i.explorertreeSource,{objectId:n})[0];r!=undefined&&i.textMenu(r)};i.textMenu=function(n){i.activeObject=n;i.explorertreeOption.treeMaster.callbacks!=undefined&&i.explorertreeOption.treeMaster.callbacks.contextBindEvent!=undefined&&(i.$parent.objectD=n,i.contextmenus=i.$parent.$eval(i.explorertreeOption.treeMaster.callbacks.contextBindEvent+"(objectD)"));i.contextmenus.length>0?($("#rxExplorers"+i.explorerTreeName).removeClass("open"),document.getElementById("rxExplorers"+i.explorerTreeName).style.position="absolute",document.getElementById("rxExplorers"+i.explorerTreeName).style.display="inline",document.getElementById("rxExplorers"+i.explorerTreeName).style.left=i.leftPosition+10+"px",document.getElementById("rxExplorers"+i.explorerTreeName).style.top=i.topPosition+47+"px",$("#rxExplorers"+i.explorerTreeName).addClass("open")):$("#rxExplorers"+i.explorerTreeName).removeClass("open")};i.$watch("explorertreeSource",function(n){angular.isUndefined(n)||i.isCustomChange||i.setExplorertree()})}],link:function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;$(t).off();$(t).detach();$(t).remove();t=null;i=null;n=null})},replace:!0}}]),rx.directive("rxAutocomplete",["$parse","rxJson",function(n,t){return{restrict:"A",require:"ngModel",link:function(n,i,r,u){var f=n.$on("$destroy",function(){f();f=null;e();e=null;s();s=null;$(i).typeahead("destroy");$(i).off();$(i).detach();$(i).remove();i=null;r=null;u=null;n=null}),e=n.$watch(r.ngModel,function(n){n!=undefined&&n!=null&&n!=""&&$(i).typeahead("val",n)});$(i).blur(function(){var t=r.ngModel.split(".");angular.isUndefined(n[t[0]][t[1]])||n[t[0]][t[1]]!=this.value&&$(i).typeahead("val",n[t[0]][t[1]])});var h=function(){return function(i,u){var f,e,o;f=[];substrRegex=new RegExp(i,"i");e=angular.isUndefined(r.topResult)?10:r.topResult;o=angular.isUndefined(r.url)?"api/postCodes/":r.url;$.ajax({url:o+"?$top="+e+"&$filter=startswith("+t.pascalCase(r.autocompleteColumn)+",'"+String(i)+"') eq true and "+t.pascalCase(r.autocompleteField)+" eq '"+t.pascalCase(r.autocompleteValue)+"'",type:"get",beforeSend:function(n){var i=amplify.store("oauth"),t;n.setRequestHeader("Authorization",i);t=amplify.store("sauth");t!=null&&t!=""&&n.setRequestHeader("x-session",t)},dataType:"json",async:!1,success:function(i){n[r.rxSource]=i;n.$apply();filterSource=t.convertToArrary(i,r.autocompleteColumn);$.each(filterSource,function(n,t){substrRegex.test(t)&&f.push({value:t})})}});u(f)}},o=!0,s=n.$watch(r.rxSource,function(u){var f,e;if(!angular.isUndefined(u)&&u.length>0&&o){o=!1;f=t.convertToArrary(u,r.autocompleteColumn);$(i).typeahead({hint:!0,highlight:!0,minLength:1},{displayKey:"value",source:h(f),name:"name"}).on("typeahead:selected",function(t){angular.isUndefined(r.rxEvent)||(n.p=t.currentTarget.value,n.$eval(r.rxEvent+"(p)"))});e=setTimeout(function(){$(".twitter-typeahead").addClass("col-xs-12");$(".twitter-typeahead").addClass("padding-zero");$(i).css("background","#f8f8f8")},500)}},!0)}}}]),coreHtml=[],rx.directive("rxIndex",["rxPage","rxJson","$rootScope","commonUtility",function(n,t,i,r){return{restrict:"A",require:"ngModel",link:function(i,u,f,e){var p=null,w=null,b=null,k,o,h,v,y,tt,d,nt,g,l;i.$on("$destroy",function(){p!=null&&(p(),p=null);w!=null&&(w(),w=null);b!=null&&(b(),b=null);$(u).detach();$(u).remove();u=null;f=null;e=null;i=null});var a=f.ngModel.split("."),c=a[a.length-1],s=f.propertyIndex!=undefined?c+f.propertyIndex:c;if(globalDirtyCheck[i[f.rxIndex]]==undefined&&i[f.rxIndex]!=undefined&&(globalDirtyCheck[i[f.rxIndex]]={}),i.$on("dirtyCheckBroadCaster",function(n,t){if(i[f.rxIndex]==t&&!angular.isUndefined(globalDirtyCheck["base"+i[f.rxIndex]])){var r=e.$modelValue==null?"":e.$modelValue;r=f.type=="text"?String(r):r;s=="userName";f.type=="checkbox"&&(r=r==""?"false":String(r));globalDirtyCheck["base"+i[f.rxIndex]][s]=angular.isUndefined(f.rxPercent)?r:r.replace("%","")}}),i.$on("resetObject",function(n,t){if(i[f.rxIndex]==t){var u=globalDirtyCheck["base"+i[f.rxIndex]][s];u!=undefined&&(e.$setViewValue(u),globalDirtyCheck["base"+i[f.rxIndex]][s]=undefined,r.checkBaseFormObjectEmpty(i,i[f.rxIndex]))}}),(f.staticIndex!=undefined||f.rxModel!=undefined)&&i.$watch(f.ngModel,function(n){n!=undefined?angular.isUndefined(globalDirtyCheck[i[f.rxIndex]])||(f.type=="checkbox"?globalDirtyCheck[i[f.rxIndex]][s]=String(n):(n=f.type=="text"?String(n):n,globalDirtyCheck[i[f.rxIndex]][s]=n)):angular.isUndefined(globalDirtyCheck[i[f.rxIndex]])||(globalDirtyCheck[i[f.rxIndex]][s]=f.type=="checkbox"?"false":"")}),k=!1,f.staticIndex==undefined&&(n.jObject[t.pascalCase(c)]="",o=t.find(n.fields,{fieldName:t.pascalCase(c)})[0],o!=undefined&&(o.element=u,h=t.find(n.maskRules,{baseFieldId:o.baseFieldId})[0],h!=undefined&&h.bpmeRuleFilters.length==0?(o.isMask=!0,o.isControlMask=!0):h!=undefined&&h.bpmeRuleFilters.length>0&&(v=!1,$(u).focus(function(){var f,r,o,s;if(v)v=!1;else{for(s=h,f=!1,r=0;r<h.bpmeRuleFilters.length;r++)if(o=t.find(n.fields,{baseFieldId:h.bpmeRuleFilters[r].baseFieldId})[0],o!=undefined)if(n.jObject[o.fieldName]!=undefined&&n.jObject[o.fieldName]==h.bpmeRuleFilters[r].firstValue)f=!0;else if(k){k=!1;$(u).blur();$(u).unmask();s=setTimeout(function(){$(u).val("");e.$setViewValue("");i.$apply();v=!0;$(u).focus()},50);f=!1;break}f&&(k=!0,v=!0,$(u).blur(),$(u).mask(h.firstValue,{completed:function(){e.$setViewValue(S(this.val()).replaceAll("-","").s);i.$apply()}}),$(u).focus())}}))),f.disableIndex==undefined&&(w=i.$on("tabIndexChanged",function(){var i=0,r,e;f.propertyIndex!=undefined&&f.propertyIndex!=""&&(i=parseInt(f.propertyIndex));r=t.find(n.fields,{fieldName:t.pascalCase(c)});r!=null&&i>r.length+1&&(i=0);e=r[i];angular.isUndefined(e)||$(u).attr("tabindex",e.actualPosition)})),f.rxModel!=undefined?(a=f.rxModel.split("."),c=a[a.length-1],b=i.$watch(f.rxModel,function(i){n.jObject[t.pascalCase(c)]=i!=undefined?String(i):""})):(!angular.isUndefined(o)&&o.isMask&&($(u).mask(h.firstValue,{completed:function(){e.$setViewValue(S(this.val()).replaceAll("-","").s);i.$apply()}}),o.isMask=!1),p=i.$watch(f.ngModel,function(r){r!=undefined?(!angular.isUndefined(o)&&o.isMask&&($(u).mask(h.firstValue,{completed:function(){e.$setViewValue(S(this.val()).replaceAll("-","").s);i.$apply()}}),o.isMask=!1),angular.isUndefined(f.modelName)||(n.jObject[t.pascalCase(f.modelName)]=String(r)),n.jObject[t.pascalCase(c)]=String(r),!angular.isUndefined(o)&&o.isControlMask&&e.$setViewValue(S(String(r)).replaceAll("-","").s),angular.isUndefined(globalDirtyCheck[i[f.rxIndex]])||(r=r!=null&&r!=""&&!angular.isUndefined(f.rxPercent)&&angular.isString(r)?r.replace("%",""):r,f.type=="checkbox"?globalDirtyCheck[i[f.rxIndex]][s]=String(r):(r=f.type=="text"?String(r):r,globalDirtyCheck[i[f.rxIndex]][s]=r))):(n.jObject[t.pascalCase(c)]="",angular.isUndefined(globalDirtyCheck[i[f.rxIndex]])||(globalDirtyCheck[i[f.rxIndex]][s]=f.type=="checkbox"?"false":""))})),y=0,f.propertyIndex!=undefined&&f.propertyIndex!=""&&(y=parseInt(f.propertyIndex)),tt=f.sectionName==undefined?"Static Section":f.sectionName,d=t.find(n.fields,{fieldName:t.pascalCase(c)}),d!=null&&y>d.length+1&&(y=0),l=d[y],angular.isUndefined(l)||$(u).attr("tabindex",l.actualPosition),!angular.isUndefined(f.controlModelName)))for(nt=f.controlModelName.split(","),g=0;g<nt.length;g++)l=t.find(n.fields,{fieldName:t.pascalCase(nt[g]),sectionName:f.sectionName})[0],angular.isUndefined(l)||$(u).attr("tabindex",l.actualPosition)}}}]),rx.directive("rxSectionGroup",["rxUserPermission","rxJson","$compile","$rootScope","rxPage","$rootScope","rxPatternData","rxWait",function(n,t,i,r,u,r,f,e){return{restrict:"A",link:function(u,o,s){var y,c;e.pageShow();e.isSectionGroupLoading=!0;var p=null,l=null,a=u.$on("$destroy",function(){$(o).detach();$(o).remove();o=null;s=null;a();a=null;l();l=null;u=null}),v=!0,h="";s.templateUrl!=undefined&&s.templateUrl!=""&&($.ajax({url:s.templateUrl,async:!1}).done(function(n){h=n}),h=S(h).replaceAll("rx-include","ng-include").s,y=$(h).find("[rx-section-name]"),c=null,angular.forEach(y,function(n){c=null;var t=$(n).attr("rx-section-name");r.coreHtml.push({sectionName:t,htmlContent:$(n).prop("outerHTML")});c=$(h);c.find('[rx-section-name="'+t+'"]').remove();h=c}));l=u.$watch(s.rxSectionGroup,function(s){function c(){$(o).show();e.isSectionGroupLoading=!1}function l(){for(var s=[],l=t.sortBy(n.pageSections,"positionIndex"),c,e,f=0;f<l.length;f++)c=t.find(r.coreHtml,{sectionName:l[f].sectionName})[0],angular.isUndefined(c)||s.push({htmlContent:c.htmlContent});for(e="",f=0;f<s.length;f++)e+=s[f].htmlContent;v?(v=!1,h.find("[rx-section-parent]").html(e),$(o).html(i(h)(u))):$(h).find("[rx-section-parent]").html(i(e)(u));$(o).hide();u.$apply()}angular.isUndefined(s)||(f.patternMatrix=undefined,l(),c());p=u.$on("sectionChanged",function(){f.patternMatrix=undefined;l();c();r.$broadcast("tabIndexChanged");e.disableLoader()})},!0)}}}]),rx.directive("rxBusinessrule",["$compile","rxJson","$templateCache","$http","$timeout",function(n,t,i,r,u){return{restrict:"E",scope:{ruleSource:"=",ruleTemplate:"=",ruleOption:"="},controller:["$scope","$element",function(i,f){var o=i.$on("$destroy",function(){o();o=null;$(f).off();$(f).detach();$(f).remove();f=null;i=null}),e;i.isCustomChange=!1;i.replaceString=function(n,t,i){return S(n).replaceAll("{{"+t+"}}",i).s};i.ruleForm={};i.setCheckbox=function(n,t){var r=t.controlModel=="rule"?"ruleForm":"ruleFilter",s=t.cssClass!=undefined?' class="'+t.cssClass+'"':"",u=t.required!=undefined&&t.required?" rx-required>":">",f,e,o;return i.ruleForms[0][t.model]=t.defaultValue!=undefined?t.defaultValue:undefined,t.required!=undefined&&(f="'"+t.model+"'",e="'"+t.controlModel+"'",u='rx-model-required rx-model-validate="getRequiredControl('+r+","+f+","+e+')" >'),o='<input type="checkbox"'+s+' ng-model="'+r+"."+t.model+'" '+u,i.replaceString(n,t.controlName,o)};i.setTextarea=function(n,t){var r=t.controlModel=="rule"?"ruleForm":"ruleFilter",s=t.cssClass!=undefined?' class="'+t.cssClass+'"':"",h=t.placeholder!=undefined?' placeholder="'+t.placeholder+'"':"",u=t.required!=undefined&&t.required?" rx-required>":">",c=t.maxLength!=undefined?'maxlength="'+t.maxLength+'" ':"",f,e,o;return i.ruleForms[0][t.model]=t.defaultValue!=undefined?t.defaultValue:undefined,t.required!=undefined&&(f="'"+t.model+"'",e="'"+t.controlModel+"'",u='rx-model-required rx-model-validate="getRequiredControl('+r+","+f+","+e+')" >'),o='<textarea cols="'+t.cols+'" rows="'+t.rows+'" '+s+h+' ng-model="'+r+"."+t.model+'" '+c+u+"<\/textarea>",i.replaceString(n,t.controlName,o)};i.changeDropdown=function(n,r,u){n=="applicationFieldId"&&$("#testControl"+u).html("");var f=t.find(i.ruleSource,{controlName:n})[0];f!=undefined&&f.changeEvent!=undefined?(i.$parent.changeDataBpme=r[f.model],i.$parent.ruleFormData=r,r[f.model]=i.$parent.$eval(f.changeEvent+"(changeDataBpme,ruleFormData)")):f!=undefined&&f.bindControlEvent!=undefined&&(i.$parent.changeDataBpme=r[f.model],i.$parent.ruleFormData=r,i.$parent.currentIndexData=u,i.$parent.$eval(f.bindControlEvent+"(changeDataBpme,ruleFormData,currentIndexData)"))};i.bindHtmlData=function(t,r,u){u.isBetweenOperator!=undefined&&u.isBetweenOperator?$("#testControl"+r).html(n(t)(i)):$("#testControl"+r).html(n('<label class="col-sm-3 control-label" for="form-field-1">'+u.label+'<\/label><div class="col-sm-8">'+t+"<\/div>")(i))};i.bindFilterHtmlData=function(t,r,u){u.isBetweenOperator!=undefined&&u.isBetweenOperator?$("#"+u.ruleForm.baseIndex+"filterControl"+r).html(n(t)(i)):$("#"+u.ruleForm.baseIndex+"filterControl"+r).html(n('<label class="col-sm-3 control-label" for="form-field-1">'+u.label+'<\/label><div class="col-sm-8">'+t+"<\/div>")(i))};i.getControlName=function(n){var t;switch(n.controlTypeId){case 1:t="textbox";break;case 2:t="checkbox";break;case 3:t="dropdown";break;case 4:t="numerictextbox";break;case 5:t="decimaltextbox";break;case 6:t="date";break;case 7:t="multiselect"}return t};i.setFunctions=function(){i.ruleSource.bindControl=function(n,t){switch(n.controlType){case"textbox":i.bindHtmlData(i.bindControlTextBox(n,t),t,n);break;case"numerictextbox":i.bindHtmlData(i.bindControlNumericTextBox(n,t),t,n);break;case"decimaltextbox":i.bindHtmlData(i.bindControlDecimalTextBox(n,t),t,n);break;case"date":i.bindHtmlData(i.bindControlDate(n,t),t,n);break;case"checkbox":i.bindHtmlData(i.bindControlCheckbox(n,t),t,n);break;case"dropdown":i.bindHtmlData(i.bindControlDropdown(n,t),t,n);break;case"multiselect":i.bindHtmlData(i.bindControlMultiSelect(n,t),t,n);break;case"time":i.bindHtmlData(i.bindControlTimeTextBox(n,t),t,n)}};i.ruleSource.bindFilterControl=function(n,t){switch(n.controlType){case"textbox":i.bindFilterHtmlData(i.bindControlTextBox(n,t),t,n);break;case"numerictextbox":i.bindFilterHtmlData(i.bindControlNumericTextBox(n,t),t,n);break;case"decimaltextbox":i.bindFilterHtmlData(i.bindControlDecimalTextBox(n,t),t,n);break;case"date":i.bindFilterHtmlData(i.bindControlDate(n,t),t,n);break;case"checkbox":i.bindFilterHtmlData(i.bindControlCheckbox(n,t),t,n);break;case"dropdown":i.bindFilterHtmlData(i.bindControlDropdown(n,t),t,n);break;case"multiselect":i.bindFilterHtmlData(i.bindControlMultiSelect(n,t),t,n);break;case"time":i.bindFilterHtmlData(i.bindControlTimeTextBox(n,t),t,n)}};i.ruleSource.addObjects=function(){for(var r,u,t,n=0;n<i.ruleForms.length;n++)for(i.ruleForms[n].showRowBase=!0,r=i.ruleForms[n].controlName,u={bindScreen:"rule",label:"Value",controlType:r,controlModel:"rule",source:i.ruleForms[n].source==undefined?[]:i.ruleForms[n].source,singleSelect:i.ruleForms[n].singleSelect!=undefined&&i.ruleForms[n].singleSelect,text:"text",value:"value",isBetweenOperator:i.ruleForms[n].isBetweenOperator==undefined?!1:i.ruleForms[n].isBetweenOperator,cssClass:r!="checkbox"?"col-lg-12 col-md-12 col-sm-12 col-xs-12":""},i.ruleForms[n].dynamicModel!=undefined&&i.ruleForms[n].dynamicModel!=null&&i.ruleForms[n].operator!=0&&i.ruleSource.bindControl(u,n),t=0;t<i.ruleForms[n].ruleFilters.length;t++)r=i.ruleForms[n].ruleFilters[t].controlName,i.ruleForms[n].ruleFilters[t].showRowBase=!0,u={bindScreen:"filter",label:"Value",controlType:r,controlModel:"filter",source:i.ruleForms[n].ruleFilters[t].source==undefined?[]:i.ruleForms[n].ruleFilters[t].source,singleSelect:i.ruleForms[n].singleSelect!=undefined&&i.ruleForms[n].singleSelect,text:"text",value:"value",ruleForm:i.ruleForms[n],isBetweenOperator:i.ruleForms[n].ruleFilters[t].isBetweenOperator==undefined?!1:i.ruleForms[n].ruleFilters[t].isBetweenOperator,cssClass:r!="checkbox"?"col-lg-12 col-md-12 col-sm-12 col-xs-12":""},i.ruleForms[n].ruleFilters[t].dynamicModel!=undefined&&i.ruleForms[n].ruleFilters[t].dynamicModel!=null&&i.ruleForms[n].ruleFilters[t].operator!=0&&i.ruleSource.bindFilterControl(u,t)};i.ruleSource.addRule=function(n){i.ruleForms.push({ruleFilters:[{showRowBase:!0}],showRowBase:!0,showRow:n,baseIndex:i.ruleForms.length})};i.ruleSource.getRules=function(){return i.ruleForms};i.ruleSource.removeRuleControl=function(n){$("#testControl"+n).html("")};i.ruleSource.removeRuleFilterControl=function(n,t){$("#"+n+"filterControl"+t).html("")}};i.bindControlTextBox=function(n,t){var i="ruleForms",r=n.placeholder!=undefined?' placeholder="'+rule.placeholder+'"':"";n.controlModel!="rule"&&(i="ruleForms["+n.ruleForm.baseIndex+"].ruleFilters");var u=n.cssClass!=undefined?' class="'+n.cssClass+'"':"",f=n.maxLength!=undefined?'maxlength="'+n.maxLength+'" ':"",e="'"+n.controlModel+"'";return"<input "+r+"  "+f+' rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],'dynamicModel',"+e+')" type="text" '+u+' ng-model="'+i+"["+t+'].dynamicModel" />'};i.bindControlNumericTextBox=function(n,t){var i="ruleForms";n.controlModel!="rule"&&(i="ruleForms["+n.ruleForm.baseIndex+"].ruleFilters");var e=n.placeholder!=undefined?' placeholder="'+n.placeholder+'"':"",r=n.maxLength!=undefined?'maxlength="'+n.maxLength+'" ':"",u=n.cssClass!=undefined?' class="'+n.cssClass+'"':"",o="'dynamicModel'",f="'"+n.controlModel+"'";if(n.isBetweenOperator!=undefined&&n.isBetweenOperator){var s=n.secondPlaceholder!=undefined?' placeholder="'+n.secondPlaceholder+'"':"";return'<label class="col-sm-3 control-label" for="form-field-1">'+n.label+'<\/label><div class="col-sm-4"><input '+e+" "+r+' rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],"+o+","+f+')" type="text" rx-number '+u+' ng-model="'+i+"["+t+'].dynamicModel" /><\/div><div class="col-sm-4"><input '+s+" "+r+' rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],dynamicModelSecond,"+f+')" type="text" rx-number '+u+' ng-model="'+i+"["+t+'].dynamicModelSecond" /><\/div>'}return"<input "+e+" "+r+' rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],"+o+","+f+')" type="text" rx-number '+u+' ng-model="'+i+"["+t+'].dynamicModel" />'};i.bindControlDecimalTextBox=function(n,t){var i="ruleForms",e=n.placeholder!=undefined?' placeholder="'+n.placeholder+'"':"";n.controlModel!="rule"&&(i="ruleForms["+n.ruleForm.baseIndex+"].ruleFilters");var r=n.maxLength!=undefined?'maxlength="'+n.maxLength+'" ':"",u=n.cssClass!=undefined?' class="'+n.cssClass+'"':"",o="'dynamicModel'",f="'"+n.controlModel+"'";if(n.isBetweenOperator!=undefined&&n.isBetweenOperator){var s=n.secondPlaceholder!=undefined?' placeholder="'+n.secondPlaceholder+'"':"";return'<label class="col-sm-3 control-label" for="form-field-1">'+n.label+'<\/label><div class="col-sm-4"><input '+e+" "+r+' rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],"+o+","+f+')" type="text" rx-decimal '+u+' ng-model="'+i+"["+t+'].dynamicModel" /><\/div><div class="col-sm-4"><input '+s+" "+r+' rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],dynamicModelSecond,"+f+')" type="text" rx-decimal '+u+' ng-model="'+i+"["+t+'].dynamicModelSecond" /><\/div>'}return"<input "+e+" "+r+' rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],"+o+","+f+')" type="text" rx-decimal '+u+' ng-model="'+i+"["+t+'].dynamicModel" />'};i.bindControlTimeTextBox=function(n,t){var i="ruleForms",e=n.placeholder!=undefined?' placeholder="'+n.placeholder+'"':"";n.controlModel!="rule"&&(i="ruleForms["+n.ruleForm.baseIndex+"].ruleFilters");var r=n.maxLength!=undefined?'maxlength="'+n.maxLength+'" ':"",u=n.cssClass!=undefined?' class="'+n.cssClass+'"':"",o="'dynamicModel'",f="'"+n.controlModel+"'";if(n.isBetweenOperator!=undefined&&n.isBetweenOperator){var s=n.secondPlaceholder!=undefined?' placeholder="'+n.secondPlaceholder+'"':"";return'<label class="col-sm-3 control-label" for="form-field-1">'+n.label+'<\/label><div class="col-sm-4"><input '+e+" "+r+' rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],"+o+","+f+')" type="text" rx-time '+u+' ng-model="'+i+"["+t+'].dynamicModel" /><\/div><div class="col-sm-4"><input '+s+" "+r+' rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],dynamicModelSecond,"+f+')" type="text" rx-time '+u+' ng-model="'+i+"["+t+'].dynamicModelSecond" /><\/div>'}return"<input "+e+" "+r+' rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],"+o+","+f+')" type="text" rx-time '+u+' ng-model="'+i+"["+t+'].dynamicModel" />'};i.bindControlDate=function(n,t){var i="ruleForms",f=n.placeholder!=undefined?' placeholder="'+n.placeholder+'"':"";n.controlModel!="rule"&&(i="ruleForms["+n.ruleForm.baseIndex+"].ruleFilters");var r=n.cssClass!=undefined?' class="'+n.cssClass+'"':"",e="'dynamicModel'",u="'"+n.controlModel+"'";if(n.isBetweenOperator!=undefined&&n.isBetweenOperator){var o=n.secondPlaceholder!=undefined?' placeholder="'+n.secondPlaceholder+'"':"";return'<label class="col-sm-3 control-label" for="form-field-1">'+n.label+'<\/label><div class="col-sm-4"><input '+f+' rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],"+e+","+u+')" type="text" rx-date '+r+' rx-model="'+i+"["+t+'].dynamicModel" ng-model="'+i+"["+t+'].dynamicModel1" /><\/div><div class="col-sm-4"><input '+o+' rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],dynamicModelSecond,"+u+')" type="text" rx-date '+r+' rx-model="'+i+"["+t+'].dynamicModelSecond" ng-model="'+i+"["+t+'].dynamicModelSecond1" /><\/div>'}return"<input "+f+'  rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],"+e+","+u+')" type="text" rx-date '+r+' rx-model="'+i+"["+t+'].dynamicModel" ng-model="'+i+"["+t+'].dynamicModel1" />'};i.bindControlCheckbox=function(n,t){var i="ruleForms";n.controlModel!="rule"&&(i="ruleForms["+n.ruleForm.baseIndex+"].ruleFilters");var r=n.cssClass!=undefined?' class="'+n.cssClass+'"':"",u="'"+n.controlModel+"'";return'<input rx-model-required rx-model-validate="getRequiredControl('+i+"["+t+"],'dynamicModel',"+u+')"  type="checkbox" '+r+' ng-model="'+i+"["+t+'].dynamicModel" />'};i.bindControlDropdown=function(n,t){var r="ruleForms";n.controlModel!="rule"?(r="ruleForms["+n.ruleForm.baseIndex+"].ruleFilters",i.ruleForms[n.ruleForm.baseIndex].ruleFilters[t].source=n.source):i.ruleForms[t].source=n.source;var u=n.cssClass!=undefined?' class="'+n.cssClass+'"':"",f=n.firstOption!=undefined?"<option>"+n.firstOption+"<\/option>":'<option value="">Select<\/option>',e="'"+n.controlModel+"'";return'<select rx-model-required rx-model-validate="getRequiredControl('+r+"["+t+"],'dynamicModel',"+e+')" '+u+' ng-model="'+r+"["+t+'].dynamicModel"" ng-options="ruledynamicModel.baseId as ruledynamicModel.baseValue for ruledynamicModel in '+r+"["+t+'].source">'+f+"<\/select>"};i.bindControlMultiSelect=function(n,t){var r="ruleForms",u;n.controlModel!="rule"?(r="ruleForms["+n.ruleForm.baseIndex+"].ruleFilters",i.ruleForms[n.ruleForm.baseIndex].ruleFilters[t].source=n.source):i.ruleForms[t].source=n.source;var f=n.cssClass!=undefined?' class="'+n.cssClass+'"':"",o=n.firstOption!=undefined?"<option>"+n.firstOption+"<\/option>":'<option value="">Select<\/option>',e=n.singleSelect!=undefined&&n.singleSelect?" single-select ":"",u="";return i.isRuleForms&&(u='rx-init rx-selected="'+r+"["+t+'].dynamicModel"'),"<input "+u+e+' rx-tagrequired bpme-control type="text" rx-tags rx-init rx-text="baseValue" rx-model="'+r+"["+t+'].dynamicModel" rx-value="baseId" rx-source="'+r+"["+t+'].source" '+f+" />"};i.getRequiredControl=function(n,t,r){return i.ruleOption.callbacks!=undefined&&i.ruleOption.callbacks.requiredEvent!=undefined&&n.showRowBase?(i.$parent.ruleFormRequired=n,i.$parent.ruleFormModel=t,i.$parent.ruleFormType=r,i.$parent.$eval(i.ruleOption.callbacks.requiredEvent+"(ruleFormRequired,ruleFormModel,ruleFormType)")):!1};i.filterChangeDropdown=function(n,r,u,f){n=="applicationFieldIdFilter"&&$("#"+r.baseIndex+"filterControl"+u).html("");var e=t.find(i.ruleSource,{controlName:n})[0];e!=undefined&&e.changeEvent!=undefined?(i.$parent.changeDataBpme=r[e.model],i.$parent.ruleFormData=r,i.$parent.ruleFilterData=f,i.ruleForms[r.baseIndex].ruleFilters[u][e.model]=i.$parent.$eval(e.changeEvent+"(changeDataBpme,ruleFormData,ruleFilterData)")):e!=undefined&&e.bindControlEvent!=undefined&&(i.$parent.changeDataBpme=r[e.model],i.$parent.ruleFormData=r,i.$parent.currentIndexData=u,i.$parent.ruleFilterData=f,i.$parent.$eval(e.bindControlEvent+"(changeDataBpme,ruleFormData,currentIndexData,ruleFilterData)"))};i.setDropdown=function(n,t){var r=t.controlModel=="rule"?"ruleForm":"ruleFilter",h=t.controlModel=="rule"?"changeDropdown":"filterChangeDropdown",c=t.cssClass!=undefined?' class="'+t.cssClass+'"':"",f=t.required!=undefined&&t.required?" rx-required>":">",l=t.firstOption!=undefined?"<option>"+t.firstOption+"<\/option>":'<option value="">Select<\/option>',a=t.changeEvent!=undefined?"":"",v=t.parentFieldId!=undefined?" | filter : "+r+"."+t.parentFieldId:"",u,e,o,s;return i.ruleForms[0][t.model]=t.defaultValue!=undefined?t.defaultValue:undefined,u=t.model+"s ",t.controlSource!=undefined?i[t.model+"s"]=t.controlSource:(i.ruleForms[0][t.model+"s"]=[],i[t.model+"conditionalEvent"]=t.bindSourceEvent,u="conditionalFilterBind("+r+","+t.model+"conditionalEvent)"),t.required!=undefined&&(e="'"+t.model+"'",o="'"+t.controlModel+"'",f='rx-model-required rx-model-validate="getRequiredControl('+r+","+e+","+o+')" >'),s="<select   ng-change= "+h+'("'+t.controlName+'",ruleForm,$index,ruleFilter) '+c+' ng-model="'+r+"."+t.model+'" ng-options="rule'+t.model+"."+t.value+" as rule"+t.model+"."+t.text+" for rule"+t.model+" in "+u+v+'" '+a+f+l+"<\/select>",i.replaceString(n,t.controlName,s)};i.conditionalFilterBind=function(n,t){return i.$parent.rForm=n,i.$parent.$eval(t+"(rForm)")};i.changedTab=function(n,r){var u=t.find(i.ruleSource,{controlName:n})[0];u!=undefined&&($("#testRule"+r+" .tab-pane").removeClass("active"),$("#testRule"+r+" .tabClass").removeClass("active"),$("#"+u.controlName+r).addClass("active"),$("#"+u.controlId+r).addClass("active"))};i.setTab=function(n,t){var r='ng-click=changedTab("'+t.controlName+'",$index) ';return i.replaceString(n,t.controlName,r)};i.setIndex=function(n,t){var r="";return t.controlModel=="rule"&&t.indexType==undefined?r='ng-click=\rremoveIndex("'+t.collectionName+'",$index) ':t.controlModel=="filter"&&t.indexType==undefined?r="ng-click=\rremoveFilterIndex(ruleForm.baseIndex,$index) ":t.controlModel=="filter"&&t.indexType=="add"&&(r="ng-click=\raddFilterIndex(ruleForm.baseIndex,$index) "),i.replaceString(n,t.indexName,r)};i.addFilterIndex=function(n){i.ruleForms[n].ruleFilters.push({showRowBase:!0})};i.removeFilterIndex=function(n,r){i.ruleForms[n].ruleFilters[r].showRowBase=!1;var u=t.find(i.ruleForms[n].ruleFilters,{showRowBase:!0});u==0&&i.ruleForms[n].ruleFilters.push({showRowBase:!0})};i.removeIndex=function(n,r,u){var f=t.find(i.ruleSource,{collectionName:n})[0],e;f!=undefined&&f.event!=undefined&&(i.$parent.ruleFormData=u,i.$parent.indexData=r,e=i.$parent.$eval(f.event+"(ruleFormData,indexData)"),e&&(i[n][r].showRowBase=!1))};i.setControls=function(n){return angular.forEach(i.ruleSource,function(t){switch(t.controlType){case"dropdown":n=i.setDropdown(n,t);break;case"checkbox":n=i.setCheckbox(n,t);break;case"textarea":n=i.setTextarea(n,t);break;case"tab":n=i.setTab(n,t);break;case"index":n=i.setIndex(n,t);break;case"ruleForms":i.isRuleForms=!0;i.ruleForms=t.jObject}}),n};i.isRuleForms=!1;i.setBusinessRuleForm=function(){i.isCustomChange=!0;i.ruleForms=[{ruleFilters:[{showRowBase:!0}],showRow:!0,showRowBase:!0,baseIndex:0}];i.setFunctions();r.get(i.ruleTemplate).success(function(t){var r='<div ng-repeat="ruleForm in ruleForms" ng-show="ruleForm.showRowBase" id="testRule{{$index}}">'+i.setControls(t)+"<\/div>";$(f).html(n(r)(i));r=null;i.isRuleForms&&u(function(){i.ruleSource.addObjects();i.isRuleForms=!1},500)})};e=i.$watch("ruleSource",function(n){angular.isUndefined(n)||i.isCustomChange||(e(),e=null,i.setBusinessRuleForm())},!0)}],link:function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;$(t).off();$(t).detach();$(t).remove();t=null;i=null;n=null})},replace:!0}}]),rx.directive("rxRuleTree",["$compile","rxJson","rxTreeData","$rootScope","$window","rxUserPermission","rxAlert","appConfig",function(n,t,i,r,u,f,e,o){return{restrict:"E",scope:{treeSource:"=",treeOption:"="},controller:["$scope","$element",function(u,s){var h=u.$on("$destroy",function(){h();$(s).off();$(s).detach();$(s).remove();delete i[u.treeOption.treeMaster.treeName];i.activeRuleTree="";i.activeTree="";s=null;h=null;u=null});u.treeCall=!0;u.getTreeIcon=function(n){return n.showParent||!n.hasChild?"icon-minus":"icon-plus"};u.showParent=function(n){n.showParent=!n.showParent;i.setCurrentObject(u.treeOption.treeMaster.treeName,n);u.treeOption.treeMaster.callbacks!=undefined&&u.treeOption.treeMaster.callbacks.selectEvent!=undefined&&(u.$parent.objectD=n,u.$parent.$eval(u.treeOption.treeMaster.callbacks.selectEvent+"(objectD)"))};u.childTreeEvent=function(n,t){var r,f;for(u.treeSource[0].textBold="",i.setTreeName(u.treeOption.treeMaster.treeName),r=0;r<t.length;r++)for(t[r].textBold="",f=0;f<t[r].parentObjects.length;f++)t[r].parentObjects[f].cssClass="icon-remove",t[r].parentObjects[f].childSelectedCss="";i.setTreeChildObject(n,u.treeOption.treeMaster.treeName);n.cssClass=n.cssClass=="icon-remove"?"icon-ok":"icon-remove";n.childSelectedCss=n.childSelectedCss==""?"text-bold":"";u.$parent.$eval(u.treeOption.treeMaster.childObjectEvent)};u.showRootPopup=function(n,t){i[i.activeTree].currentEvent="add";u.rootObjectEvent(n,t);r.entityFlagChanged=!0;i.setTreeName(u.treeOption.treeMaster.treeName);i.setTreeRootObject(n,u.treeOption.treeMaster.treeName,t);u.popupTemplate={popupCss:u.treeOption.treeMaster.rootPopupCss};u.popupTemplateSrc={src:u.treeOption.treeMaster.rootPopupTemplatePath};$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal({backdrop:"static",keyboard:!1});$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal("show")};u.rootObjectEvent=function(n,t){var f,r,e;for(u.treeSource[0].textBold="text-bold",f=u.treeSource[0].parentObjects,r=0;r<f.length;r++)for(f[r].textBold="",e=0;e<f[r].parentObjects.length;e++)f[r].parentObjects[e].cssClass="icon-remove",f[r].parentObjects[e].childSelectedCss="";i.setTreeName(u.treeOption.treeMaster.treeName);i.setTreeRootObject(n,u.treeOption.treeMaster.treeName,t);u.$parent.$eval(u.treeOption.treeMaster.rootObjectEvent)};u.showParentPopup=function(n,t,f,e){n.active?(u.updateParentEvent(n,t),i.setTreeRootObject(f,u.treeOption.treeMaster.treeName,e),r.entityFlagChanged=!0,i.setTreeName(u.treeOption.treeMaster.treeName),i.setTreeParentObject(n,u.treeOption.treeMaster.treeName,t),u.popupTemplate={popupCss:u.treeOption.treeMaster.parentPopupCss},u.popupTemplateSrc={src:u.treeOption.treeMaster.parentPopupTemplatePath},i[i.activeTree].currentEvent="addchild",$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal({backdrop:"static",keyboard:!1}),$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal("show")):u.$parent.$eval(u.treeOption.treeMaster.inactiveMessage)};u.updateParent=function(n,t,f,e){activeGridJson="skillGroup";i[i.activeTree].currentEvent="edit";u.updateParentEvent(n,t);i.setTreeRootObject(f,u.treeOption.treeMaster.treeName,e);r.entityFlagChanged=!0;i.setTreeName(u.treeOption.treeMaster.treeName);i.setTreeParentObject(n,u.treeOption.treeMaster.treeName,t);u.popupTemplate={popupCss:u.treeOption.treeMaster.parentPopupCss};u.popupTemplateSrc={src:u.treeOption.treeMaster.editParentPopupTemplatePath};$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal({backdrop:"static",keyboard:!1});$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal("show")};u.updateParentEvent=function(n,t){var f,r,e;for(u.treeSource[0].textBold="",f=u.treeSource[0].parentObjects,r=0;r<f.length;r++)for(f[r].textBold="",e=0;e<f[r].parentObjects.length;e++)f[r].parentObjects[e].cssClass="icon-remove",f[r].parentObjects[e].childSelectedCss="";n.textBold="text-bold";i.setTreeName(u.treeOption.treeMaster.treeName);i.setTreeParentObject(n,u.treeOption.treeMaster.treeName,t);u.$parent.$eval(u.treeOption.treeMaster.parentObjectEvent)};u.showChildElementPopup=function(n,t,f,e,o,s){activeGridJson="skillType";i[i.activeTree].currentEvent="editchild";u.childTreeEvent(n,t);i.setTreeRootObject(o,u.treeOption.treeMaster.treeName,s);i.setTreeParentObject(f,u.treeOption.treeMaster.treeName,e);r.entityFlagChanged=!0;i.setTreeName(u.treeOption.treeMaster.treeName);i.setTreeChildObject(n,u.treeOption.treeMaster.treeName,t);u.popupTemplate={popupCss:u.treeOption.treeMaster.childPopupCss};u.popupTemplateSrc={src:u.treeOption.treeMaster.childPopupTemplatePath};$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal({backdrop:"static",keyboard:!1});$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal("show")};u.showChildAddElementPopup=function(n,t,f,e,o,s){n.active&&f.active?(u.childTreeEvent(n,t),i.setTreeRootObject(o,u.treeOption.treeMaster.treeName,s),i.setTreeParentObject(f,u.treeOption.treeMaster.treeName,e),r.entityFlagChanged=!0,i.setTreeName(u.treeOption.treeMaster.treeName),i.setTreeChildObject(n,u.treeOption.treeMaster.treeName,t),u.popupTemplate={popupCss:u.treeOption.treeMaster.childPopupCss},u.popupTemplateSrc={src:u.treeOption.treeMaster.childAddPopupTemplatePath},i[i.activeTree].currentEvent="addKeyword",$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal({backdrop:"static",keyboard:!1}),$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).modal("show")):u.$parent.$eval(u.treeOption.treeMaster.inactiveMessage)};u.showEdit=function(n){var i=t.find(f.permissionContext,{permissionItemName:"Keyword Library"})[0];i!=undefined&&(i.canView?n.showEditIcon=!0:i.canEdit&&(n.showEditIcon=!0),i.canAdd&&(n.showEditAddIcon=!0))};u.showEditLeave=function(n){n.showEditIcon=!1;n.showEditAddIcon=!1};u.contextEvent=function(n){u.treeOption.treeMaster.callbacks!=undefined&&u.treeOption.treeMaster.callbacks.contextEvent!=undefined&&(u.$parent.objectD=u.activeObject,u.$parent.cMenu=n,u.$parent.$eval(u.treeOption.treeMaster.callbacks.contextEvent+"(objectD,cMenu)"))};u.onSelect=function(n){for(var r,f,e,o,s,h,c,t=0;t<u.treeSourceData.length;t++)for(r=u.treeSourceData[t],r.selectedRow="",f=0;f<r.parentObjects.length;f++)for(e=r.parentObjects[f],e.selectedRow="",o=0;o<e.parentObjects.length;o++)for(s=e.parentObjects[o],s.selectedRow="",h=0;h<s.parentObjects.length;h++)c=s.parentObjects[h],c.selectedRow="";n.selectedRow="text-bold";i.setCurrentObject(u.treeOption.treeMaster.treeName,n);u.treeOption.treeMaster.callbacks!=undefined&&u.treeOption.treeMaster.callbacks.selectEvent!=undefined&&(u.$parent.objectD=n,u.$parent.$eval(u.treeOption.treeMaster.callbacks.selectEvent+"(objectD)"))};u.additionalObject=function(){u.treeSourceData.addObject=function(n,r){var o,e,f,s;for(r?u.treeSource.unshift(n):u.treeSource.push(n),u.groupByJson=t.groupBy(u.treeSource,"parentObjectId"),o=[],e=0;e<u.groupByJson[0].length;e++)f=u.groupByJson[0][e],s=angular.isUndefined(u.groupByJson[f.objectId])?[]:u.groupByJson[f.objectId],o.push({title:f.title,objectId:f.objectId,showParent:u.treeExpandLevel>1?!0:!1,textBold:"",showEditIcon:!1,showContext:f.showAddPopup!=undefined,parentObjects:u.firstLevelObjects(s)});u.treeSourceData=o;i.setRuleTreeObject(u.treeOption.treeMaster.treeName,u.treeSourceData);u.additionalObject()};u.treeSourceData.hideContext=function(){u.hideContextMenu()};u.treeSourceData.removeObject=function(n){var s=t.find(u.treeSource,{objectId:n})[0],e,o,f,r,h;for(s!=undefined&&(e=u.treeSource.indexOf(s),e!=-1&&u.treeSource.splice(e,1)),u.groupByJson=t.groupBy(u.treeSource,"parentObjectId"),o=[],f=0;f<u.groupByJson[0].length;f++)r=u.groupByJson[0][f],h=angular.isUndefined(u.groupByJson[r.objectId])?[]:u.groupByJson[r.objectId],o.push({title:r.title,objectId:r.objectId,showParent:!0,textBold:"",showEditIcon:!1,showContext:r.showAddPopup!=undefined,parentObjects:u.firstLevelObjects(h)});u.treeSourceData=o;i.setRuleTreeObject(u.treeOption.treeMaster.treeName,u.treeSourceData);u.additionalObject()};u.treeSourceData.manageMoveUp=function(n){var c=[],f=t.find(u.treeSource,{objectId:n})[0],e=t.find(u.treeSource,{parentObjectId:f.parentObjectId}),h,s,i,a;if(f!=undefined&&e!=null&&e.length>1){var v=e.indexOf(f),l=e[v-1],r=u.treeSource.indexOf(f),o=u.treeSource.indexOf(l),y=u.treeSource[r].orderNo,p=u.treeSource[o].orderNo;for(u.treeSource[o]=u.treeSource[r],u.treeSource[o].orderNo=p,u.treeSource[r]=l,u.treeSource[r].orderNo=y,u.groupByJson=t.groupBy(u.treeSource,"parentObjectId"),h=[],s=0;s<u.groupByJson[0].length;s++)i=u.groupByJson[0][s],a=angular.isUndefined(u.groupByJson[i.objectId])?[]:u.groupByJson[i.objectId],h.push({title:i.title,objectId:i.objectId,showParent:!0,textBold:"",showEditIcon:!1,showContext:i.showAddPopup!=undefined,parentObjects:u.firstLevelObjects(a)});u.treeSourceData=h;c=[u.treeSource[o],u.treeSource[r]]}return c};u.treeSourceData.manageMoveDown=function(n){var c=[],f=t.find(u.treeSource,{objectId:n})[0],e=t.find(u.treeSource,{parentObjectId:f.parentObjectId}),h,s,i,a;if(f!=undefined&&e!=null&&e.length>1){var v=e.indexOf(f),l=e[v+1],r=u.treeSource.indexOf(f),o=u.treeSource.indexOf(l),y=u.treeSource[r].orderNo,p=u.treeSource[o].orderNo;for(u.treeSource[o]=u.treeSource[r],u.treeSource[o].orderNo=p,u.treeSource[r]=l,u.treeSource[r].orderNo=y,u.groupByJson=t.groupBy(u.treeSource,"parentObjectId"),h=[],s=0;s<u.groupByJson[0].length;s++)i=u.groupByJson[0][s],a=angular.isUndefined(u.groupByJson[i.objectId])?[]:u.groupByJson[i.objectId],h.push({title:i.title,objectId:i.objectId,showParent:!0,textBold:"",showEditIcon:!1,showContext:i.showAddPopup!=undefined,parentObjects:u.firstLevelObjects(a)});u.treeSourceData=h;c=[u.treeSource[o],u.treeSource[r]]}return c}};u.setTree=function(){var h,e,f,l,c,a,v,y;for(u.groupByJson=t.groupBy(u.treeSource,"parentObjectId"),u.treeExpandLevel=angular.isUndefined(u.treeOption.treeMaster.expandLevel)?10:u.treeOption.treeMaster.expandLevel,h=[],e=0;e<u.groupByJson[0].length;e++)f=u.groupByJson[0][e],l=angular.isUndefined(u.groupByJson[f.objectId])?[]:u.groupByJson[f.objectId],h.push({title:f.title,objectId:f.objectId,showParent:u.treeExpandLevel>0?!0:!1,textBold:"",showEditIcon:!1,showContext:f.showAddPopup!=undefined,parentObjects:u.firstLevelObjects(l)});u.treeSourceData=h;u.additionalObject();i.setRuleTreeObject(u.treeOption.treeMaster.treeName,u.treeSourceData);c="";u.showLineClass=angular.isUndefined(u.treeOption.treeMaster.showLine)||u.treeOption.treeMaster.showLine?"":"-line";a=!angular.isUndefined(u.treeOption.treeMaster.toolTip)&&!angular.isUndefined(u.treeOption.treeMaster.toolTip.firstLevelColumn)?'rx-tip main-object="treeParentObject" property="'+u.treeOption.treeMaster.toolTip.firstLevelColumn+'" tip-trigger="hover" tip-placement="top"':"";v=!angular.isUndefined(u.treeOption.treeMaster.textTruncate)&&!angular.isUndefined(u.treeOption.treeMaster.textTruncate.firstLevelLength)?u.treeOption.treeMaster.textTruncate.firstLevelLength:0;c='<div id="ab'+u.treeOption.treeMaster.treeName+'" style="clear:both;" class="tree tree-unselectable" ng-click="hideContextMenu()"><div style="display: block;" class="tree-folder tree-folder{{showLineClass}}" ng-repeat="treeObject in treeSourceData"><div class="tree-folder-header"><i ng-class="getTreeIcon(treeObject)" ng-click="showParent(treeObject)"><\/i><div  ng-click="onSelect(treeObject)" ng-class="treeObject.selectedRow" rx-right-click="textMenu(treeObject)" class="tree-folder-name ">{{treeObject.title}} <\/div><\/div><div class="tree-folder-content tree-folder-content{{showLineClass}}" ng-show="treeObject.parentObjects.length > 0 && treeObject.showParent"><div style="display: block;" id="{{treeParentObject.objectId}}"   class="tree-folder tree-folder{{showLineClass}}" ng-repeat="treeParentObject in treeObject.parentObjects"><div  class="tree-folder-header"><i ng-class="getTreeIcon(treeParentObject)" ng-click="showParent(treeParentObject)"><\/i><div class="tree-folder-name" '+a+' ng-class="treeParentObject.selectedRow" ng-click="onSelect(treeParentObject)" rx-right-click="textMenu(treeParentObject)" >{{treeParentObject.title | texttruncate : '+v+'}} <\/div><\/div><div class="tree-folder-content tree-folder-content{{showLineClass}}"  ng-show="treeParentObject.parentObjects.length > 0 && treeParentObject.showParent"><div style="display: block;" id="{{treeChildObject.objectId}}"  class="tree-folder tree-folder{{showLineClass}}"  ng-repeat="treeChildObject in treeParentObject.parentObjects"><div  class="tree-folder-header"><i ng-class="getTreeIcon(treeChildObject)" ng-click="showParent(treeChildObject)"><\/i><div class="tree-folder-name" ng-class="treeChildObject.selectedRow" ng-click="onSelect(treeChildObject)"  rx-right-click="textMenu(treeChildObject)"  >{{treeChildObject.title}}<\/div><\/div><div class="tree-folder-content tree-folder-content{{showLineClass}}" ng-show="treeChildObject.parentObjects.length > 0 && treeChildObject.showParent"><div style="display: block;" class="tree-item tree-item{{showLineClass}}" ng-class="treeSecondChildObject.mainObjectClass" id="{{treeSecondChildObject.objectId}}" ng-repeat="treeSecondChildObject in treeChildObject.parentObjects"><i ng-class="getTreeIcon(treeSecondChildObject)" ng-click="setChecked(treeSecondChildObject)" ><\/i><div class="tree-item-name" ng-class="treeSecondChildObject.selectedRow" rx-right-click="textMenu(treeSecondChildObject)"  ng-click="onSelect(treeSecondChildObject)" style="padding-right:5px;" >{{treeSecondChildObject.title}}<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><div id="rxExplorers'+u.treeOption.treeMaster.treeName+'" class="dropdown " style="position:absolute !important;"><ul aria-labelledby="drop4" role="menu" class="dropdown-menu" id="menu1"><li role="presentation" ng-repeat="contextmenu in contextmenus" ng-click="contextEvent(contextmenu)" class="cursor"><a  tabindex="-1" role="menuitem">{{contextmenu.itemName}}<\/a><\/li><\/ul><\/div><div  id="treePopupTemplate'+u.treeOption.treeMaster.treeName+'" class="modal fade {{popupTemplate.popupCss}}"  tabindex="-1" role="dialog" aria-labelledby="popupTemplateLabel" aria-hidden="true"><div ng-include src="popupTemplateSrc.src"><\/div><\/div><\/div>';u.contextmenus=[{itemName:"Add Rule"}];$(s).html(n(c)(u));y=setTimeout(function(){$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).on("hide.bs.modal",function(t){if(o.alert.dataLost&&!angular.isUndefined(r.isEntityChanged)&&r.isEntityChanged){t.preventDefault();$("#rxload").removeClass("rxloadout").addClass("rxloadin");$("#rxload").html(n(' <div class="mainOverlayout"><div class="alertbox"><div id="rxAlert" class="alertbox" style="max-height: 417.6px;"><div class="modal-header"><h5>Data Lost<\/h5><\/div><div class="modal-body">Do you want to save changes made to this record?<\/div><div class="modal-footer"><button  class="btn btn-primary" ng-click="alertEventProcess()">Save<\/button><button  class="btn btn-primary" ng-click="dataLossPopup(true)">Dont Save<\/button><button  class="btn btn-primary" ng-click="dataLossPopup(false)">Cancel<\/button><\/div><\/div><\/div><\/div>')(u))}});$("#treePopupTemplate"+u.treeOption.treeMaster.treeName).on("hidden.bs.modal",function(){r.isEntityChanged=!1;r.entityFlagChanged=!1;r.$apply();u.$apply(function(){r.entityFlagChanged=!1;u.popupTemplateSrc={src:"Scripts/lib/rxapp/template/blank.html",popupCss:""}})});$("#ab"+u.treeOption.treeMaster.treeName).mousemove(function(n){var t=$(this).parent().offset(),i=n.pageX-t.left,r=n.pageY-t.top;u.leftPosition=i;u.topPosition=r;u.$apply()})},500)};u.hideContextMenu=function(){$("#rxExplorers"+u.treeOption.treeMaster.treeName).removeClass("open")};u.textMenu=function(n){if(i.setCurrentObject(u.treeOption.treeMaster.treeName,n),u.activeObject=n,n.showContext){u.treeOption.treeMaster.callbacks!=undefined&&u.treeOption.treeMaster.callbacks.contextBindEvent!=undefined&&(u.$parent.objectD=n,u.contextmenus=u.$parent.$eval(u.treeOption.treeMaster.callbacks.contextBindEvent+"(objectD)"));var t=$("#ruletree"+n.objectId),r=t.position();$("#rxExplorers"+u.treeOption.treeMaster.treeName).removeClass("open");document.getElementById("rxExplorers"+u.treeOption.treeMaster.treeName).style.position="absolute";document.getElementById("rxExplorers"+u.treeOption.treeMaster.treeName).style.display="inline";document.getElementById("rxExplorers"+u.treeOption.treeMaster.treeName).style.left=u.leftPosition+"px";document.getElementById("rxExplorers"+u.treeOption.treeMaster.treeName).style.top=u.topPosition+10+"px";$("#rxExplorers"+u.treeOption.treeMaster.treeName).addClass("open")}else $("#rxExplorers"+u.treeOption.treeMaster.treeName).removeClass("open")};u.inactiveClassSetChild=function(n){return n.active?n.childSelectedCss:n.childSelectedCss+" in-active-color"};u.inactiveClassSet=function(n){return n.active?n.textBold:n.textBold+" in-active-color"};u.dataLossPopup=function(n){n&&(r.isEntityChanged=!1,r.entityFlagChanged=!1,u.gridSource.hidePopup(),r.$apply())};u.alertEventProcess=function(){i[i.activeTree].currentEvent=="edit"?angular.isUndefined(u.treeOption.treeMaster.alertEvent.update)||(e.scopeOption.$eval(u.treeOption.treeMaster.alertEvent.update),u.dataLossPopup(!0)):i[i.activeTree].currentEvent=="editchild"?angular.isUndefined(u.treeOption.treeMaster.alertEvent.updateChild)||(e.scopeOption.$eval(u.treeOption.treeMaster.alertEvent.updateChild),u.dataLossPopup(!0)):i[i.activeTree].currentEvent=="add"?angular.isUndefined(u.treeOption.treeMaster.alertEvent.add)||(e.scopeOption.$eval(u.treeOption.treeMaster.alertEvent.add),u.dataLossPopup(!0)):i[i.activeTree].currentEvent=="addchild"?angular.isUndefined(u.treeOption.treeMaster.alertEvent.addChild)||(e.scopeOption.$eval(u.treeOption.treeMaster.alertEvent.addChild),u.dataLossPopup(!0)):i[i.activeTree].currentEvent=="addKeyword"&&(angular.isUndefined(u.treeOption.treeMaster.alertEvent.addKeyword)||(e.scopeOption.$eval(u.treeOption.treeMaster.alertEvent.addKeyword),u.dataLossPopup(!0)))};u.dataLossPopup=function(n){$("#rxload").removeClass("rxloadin").addClass("rxloadout");n&&(r.isEntityChanged=!1,r.entityFlagChanged=!1,i[i.activeTree].hidePopup(),r.$apply())};u.firstLevelObjects=function(n,i){var r,f;if(n!=undefined){for(r=0;r<n.length;r++)f=angular.isUndefined(u.groupByJson[n[r].objectId])?[]:u.groupByJson[n[r].objectId],n[r].objectId=n[r].objectId,n[r].title=n[r].title,n[r].mainTitle=i,n[r].showParent=u.treeExpandLevel>1?!0:!1,n[r].textBold="",n[r].active=n[r].active,n[r].url=n[r].url,n[r].hasChild=t.find(u.treeSource,{parentObjectId:n[r].objectId})[0]!=null?!0:!1,n[r].showContext=n[r].showAddPopup!=undefined,n[r].parentObjects=u.secondLevelObjects(f);return u.treeExpandLevel==1&&!angular.isUndefined(u.treeOption.treeMaster.isFirstItemExpanded)&&u.treeOption.treeMaster.isFirstItemExpanded&&n!=null&&n.length>0&&n[0].showParent==!1&&(n[0].showParent=!0),n}return[]};u.secondLevelObjects=function(n,i){var r,f;if(n!=undefined){for(r=0;r<n.length;r++)f=angular.isUndefined(u.groupByJson[n[r].objectId])?[]:u.groupByJson[n[r].objectId],n[r].cssClass="icon-remove",n[r].childSelectedCss="",n[r].showEditIcon=!1,n[r].showParent=u.treeExpandLevel>2?!0:!1,n[r].mainTitle=i,n[r].active=n[r].active,n[r].hasChild=t.find(u.treeSource,{parentObjectId:n[r].objectId})[0]!=null?!0:!1,n[r].showContext=n[r].showAddPopup!=undefined,n[r].parentObjects=u.thirdLevelObjects(n[r].objectId);return u.treeExpandLevel==2&&!angular.isUndefined(u.treeOption.treeMaster.isFirstItemExpanded)&&u.treeOption.treeMaster.isFirstItemExpanded&&n!=null&&n.length>0&&n[0].showParent==!1&&(n[0].showParent=!0),n}return[]};u.thirdLevelObjects=function(n,i){var r,f;if(n!=undefined){for(r=angular.isUndefined(u.groupByJson[n])?[]:u.groupByJson[n],f=0;f<r.length;f++)r[f].showParent=!1,r[f].cssClass="icon-remove",r[f].showEditIcon=!1,r[f].mainTitle=i,r[f].active=r[f].active,r[f].hasChild=t.find(u.treeSource,{parentObjectId:r[f].objectId})[0]!=null?!0:!1,r[f].showContext=r[f].showAddPopup!=undefined;return u.treeExpandLevel==3&&!angular.isUndefined(u.treeOption.treeMaster.isFirstItemExpanded)&&u.treeOption.treeMaster.isFirstItemExpanded&&r!=null&&r.length>0&&r[0].showParent==!1&&(r[0].showParent=!0),r}return[]};u.setChecked=function(n){var i=t.find(u.treeOption.treeMaster.fourthLevel,{objectId:n.objectId})[0];n.childSelectedCss=="icon-remove"?(i.isSelected=!0,n.childSelectedCss="icon-ok",n.mainObjectClass="tree-selected"):(i.isSelected=!1,n.childSelectedCss="icon-remove",n.mainObjectClass="")};u.$watch("treeSource",function(n){angular.isUndefined(n)||u.treeCall&&(u.treeCall=!1,u.setTree())})}],link:function(n,t,i){var r=n.$on("$destroy",function(){r();r=null;$(t).off();$(t).detach();$(t).remove();t=null;i=null;n=null})},replace:!0}}]),rx.directive("rxModuloCheck",["$parse",function(){return{restrict:"A",require:"ngModel",link:function(n,t,i){function u(n){function i(n){var i=String(n).match(t);return i==null?!0:!1}var t=/[%]/;return i(n)?!0:!1}var r=n.$on("$destroy",function(){r();r=null;$(t).off();$(t).detach();$(t).remove();t=null;i=null;n=null});$(t).keypress(function(n){var i=t[0].value.split(""),f=typeof n.which=="number"?n.which:n.keyCode,r;return i.splice(n.currentTarget.selectionStart,n.currentTarget.selectionEnd,String.fromCharCode(f)),r=i.join(""),u(r)})}}}]),rx.directive("rxNonIndex",["commonUtility",function(n){return{restrict:"A",scope:{nonindexModel:"="},link:function(t,i,r,u){var e=t.$on("$destroy",function(){e();e=null;$(i).off();$(i).detach();$(i).remove();i=null;r=null;t=null;u=null});t.$on("dirtyCheckBroadCaster",function(n,i){r.formName==i&&(angular.isUndefined(globalDirtyCheck["base"+r.formName])||(globalDirtyCheck["base"+r.formName][f]=t.nonindexModel==null?"":String(t.nonindexModel)))});var s=r.propertyIndex!=undefined?f+r.propertyIndex:f,o=r.nonindexModel.split("."),f=o[o.length-1];t.$on("resetObject",function(i,u){if(r.formName==u){var e=globalDirtyCheck["base"+r.formName][f];globalDirtyCheck["base"+r.formName][f]=undefined;n.checkBaseFormObjectEmpty(t,r.formName)}});t.$watch("nonindexModel",function(n){globalDirtyCheck[r.formName][f]=angular.isUndefined(n)?"":String(n)})}}}]),rx.directive("rxInclude",["$compile",function(n){return{restrict:"A",link:function(t,i,r){var u=t.$on("$destroy",function(){u();u=null;timeOutPopover=null;$(i).popover("destroy");$(i).off();$(i).detach();$(i).remove();i=null;r=null;t=null});$.get(r.src,function(r){var u=t.$new(),f=n(r)(u);i.html(f);f=null;u.$destroy()})}}}]),rx.directive("rxRadioClick",function(){return{restrict:"A",link:function(n,t,i){var f=n.$on("$destroy",function(){f();f=null;t.off();t.remove();u();u=null;t=null;i=null;n=null}),r=i.rxModel.split("."),e=r[r.length-1],u;globalDirtyCheck[n[i.rxRadioClick]]==undefined&&n[i.rxRadioClick]!=undefined&&(globalDirtyCheck[n[i.rxRadioClick]]={});n.$on("dirtyCheckBroadCaster",function(t,u){n[i.rxRadioClick]==u&&(angular.isUndefined(globalDirtyCheck["base"+n[i.rxRadioClick]])||(globalDirtyCheck["base"+n[i.rxRadioClick]][e]=n[r[0]][r[1]]))});u=n.$watch(i.rxModel,function(t){t!=undefined&&(globalDirtyCheck[n[i.rxRadioClick]][e]=t)})}}}),rx.directive("rxGrid",["$compile","rxData","$rootScope","$window","rxJson","response","cacheData","$filter","rxEncode","rxUserPermission","rxAlert","rxRecordLock","appConfig","cookieconfig","rxLog","rxPopupScope","rxWait",function(n,t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w){return{restrict:"E",scope:{gridSource:"=",gridOption:"="},controller:["$scope","$element",function(r,l){var it="",et=!1,b={},g,d,rt,ut,ft;r.createCustomColumn=!1;r.pageSize=10;r.currentPage=0;r.tableHeadings=[];r.tableWidth=0;r.setTableCSS=function(n){var t=angular.isUndefined(n.tableCss)?"":n.tableCss,i=angular.isUndefined(r.gridOption.gridMaster.autoWidthColumn)?!1:r.gridOption.gridMaster.autoWidthColumn,f=u.find(r.gridOption.masterTableView.columns,{activeColumn:!0});return r.gridName=="securityRoleGrid"||r.gridName=="dataGroupsGrid"?'<table id="'+r.gridName+'" class="rxGirdClass '+t+'" >':'<div ng-style="mainTableWidth" id="mainGrid'+r.gridName+'" class="filterPopOver"><table id="'+r.gridName+'" class="'+t+'" >'};r.setTableHeadingCss=function(n){var t=angular.isUndefined(n.tableHeadingCss)?"":n.tableHeadingCss;return'<thead class="'+t+'">'};r.setTableHeadingRowCss=function(n){return angular.isUndefined(n.tableHeadingRowCss)?"":n.tableHeadingRowCss};r.setCustomFilterText=function(n){var t=angular.isUndefined(n.headerText)?"":n.headerText;return'<div id="'+n.dataField+'" class="popover fade "><div class="arrow"><\/div><h3 class="popover-title">Search "'+t+'"<\/h3><div class="popover-content"><div class="row form-group"><label class="control-label col-lg-4 col-xs-4">'+t+'<\/label><div class="col-lg-8 col-xs-8"><input type="text" ng-model="customSearch.'+n.dataField+'" class="form-control"/><\/div><\/div><div class="row form-group"><label class="control-label col-lg-4 col-xs-4">'+t+'<\/label><div class="col-lg-8 col-xs-8"><button class="btn btn-primary" ng-click="searchCustomFilter(customSearch.'+n.dataField+')">Search<i class="icon-search icon-on-right"><\/i><\/button><\/div><\/div><\/div><\/div>'};r.showCustomFilter=function(t){if(t.showSearch&&t.showFilter){t.formatType=="text"?$("#th"+r.gridName+t.sortColumn).popover({placement:"bottom",title:"Search "+t.headerText,html:!0,trigger:"click",content:function(){var e;$(".popover").remove();var o=u.find(r.gridOption.masterTableView.columns,{dataField:t.sortColumn,dateFilter:!0})[0],s=o!=undefined?' ng-init=initFilterTextbox(customSearch,"'+t.sortColumn+'") ':"",f="",i=u.find(r.gridOption.masterTableView.columns,{dataField:t.sortColumn})[0];return i!=null&&i.customSearchMaxLength!=null&&(f=' maxlength="'+i.customSearchMaxLength+'" '),e='<div class="row form-group" '+s+' style="width:350px;"><label class="control-label col-lg-6 col-xs-6">'+t.headerText+'<\/label><div class="col-lg-6 col-xs-6"><input type="text" '+f+' ng-model="customSearch.'+t.sortColumn+'" class="form-control"/><\/div><\/div><div class="row form-group"><label class="control-label col-lg-4 col-xs-4"><\/label><div class="col-lg-8 col-xs-8"><button class="btn btn-primary" ng-click=searchCustomFilter(customSearch,"'+t.sortColumn+'",'+t.dateTimeFormatterApplied+')>Search<i class="icon-search icon-on-right"><\/i><\/button><button class="btn btn-danger" ng-click=cancelCustomSearch("'+t.sortColumn+'",'+t.dateTimeFormatterApplied+')>Cancel<i class="icon-arrow-left icon-on-right"><\/i><\/button>',"<\/div><\/div>",r.$apply(function(){return n(e)(r)})}}):t.formatType=="checkbox"?$("#th"+r.gridName+t.sortColumn).popover({placement:"bottom",title:"Search "+t.headerText,html:!0,trigger:"click",content:function(){var i,f,e;if(angular.isUndefined(r.customSearch)&&(r.customSearch={}),$(".popover").remove(),r.drpBinds=[{searchValue:"",text:"All"},{searchValue:t.formatObject.trueValue,text:"Active"},{searchValue:t.formatObject.falseValue,text:"Inactive"}],!angular.isUndefined(r.gridOption.gridMaster.customSearchCheckbox)&&(i=u.find(r.gridOption.gridMaster.customSearchCheckbox,{dataField:t.sortColumn}),i.length>0))for(r.drpBinds=[],r.drpBinds.push({searchValue:"",text:"All"}),f=0;f<i[0].source.length;f++)r.drpBinds.push({searchValue:i[0].source[f].searchValue,text:i[0].source[f].text});return angular.isUndefined(r.customSearch[t.sortColumn])&&(r.customSearch[t.sortColumn]=""),e='<div class="row form-group"  style="width:350px;"><label class="control-label col-lg-6 col-xs-6">'+t.headerText+'<\/label><div class="col-lg-6 col-xs-6"><select class="col-lg-12 col-xs-12" ng-change=customSearchDropdown(customSearch.'+t.sortColumn+',"'+t.sortColumn+'") ng-model="customSearch.'+t.sortColumn+'"   ng-options="sdrp.searchValue as sdrp.text for sdrp in drpBinds" ><\/select><\/div><\/div><div class="row form-group"><label class="control-label col-lg-4 col-xs-4"><\/label><div class="col-lg-8 col-xs-8"><button class="btn btn-primary" ng-click=searchCustomFilter(customSearch,"'+t.sortColumn+'")>Search<i class="icon-search icon-on-right"><\/i><\/button><button class="btn btn-danger" style="margin-left:5px;" ng-click=cancelCustomSearch("'+t.sortColumn+'")>Cancel<i class="icon-arrow-left icon-on-right"><\/i><\/button>',"<\/div><\/div>",r.$apply(function(){return n(e)(r)})}}):t.formatType=="colorbox"&&$("#th"+r.gridName+t.sortColumn).popover({placement:"bottom",title:"Search "+t.headerText,html:!0,trigger:"click",content:function(){$(".popover").remove();r.colorCodes=[{code:"#ac725e"},{code:"#d06b64"},{code:"#f83a22"},{code:"#fa573c"},{code:"#ff7537"},{code:"#ffad46"},{code:"#42d692"},{code:"#16a765"},{code:"#7bd148"},{code:"#b3dc6c"},{code:"#fbe983"},{code:"#fad165"},{code:"#92e1c0"},{code:"#9fe1e7"},{code:"#9fc6e7"},{code:"#4986e7"},{code:"#9a9cff"},{code:"#b99aff"},{code:"#c2c2c2"},{code:"#cabdbf"},{code:"#cca6ac"},{code:"#f691b2"},{code:"#cd74e6"},{code:"#a47ae2"},{code:"#555"}];var i='<div class="row form-group"  style="width:350px;"><label class="control-label col-lg-6 col-xs-6">'+t.headerText+'<\/label><div class="col-lg-6 col-xs-6"><select id="simple-colorpicker-1 " ng-model="customSearch.'+t.sortColumn+'" rx-color rx-color-required class="hide"><option value="#ac725e" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[0].code">#ac725e<\/option><option value="#d06b64" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[1].code">#d06b64<\/option><option value="#f83a22" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[2].code">#f83a22<\/option><option value="#fa573c" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[3].code">#fa573c<\/option><option value="#ff7537" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[4].code">#ff7537<\/option><option value="#ffad46" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[5].code">#ffad46<\/option><option value="#42d692" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[6].code">#42d692<\/option><option value="#16a765" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[7].code">#16a765<\/option><option value="#7bd148" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[8].code">#7bd148<\/option><option value="#b3dc6c" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[9].code">#b3dc6c<\/option><option value="#fbe983" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[10].code">#fbe983<\/option><option value="#fad165" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[11].code">#fad165<\/option><option value="#92e1c0" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[12].code">#92e1c0<\/option><option value="#9fe1e7" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[13].code">#9fe1e7<\/option><option value="#9fc6e7" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[14].code">#9fc6e7<\/option><option value="#4986e7" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[15].code">#4986e7<\/option><option value="#9a9cff" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[16].code">#9a9cff<\/option><option value="#b99aff" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[17].code">#b99aff<\/option><option value="#c2c2c2" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[18].code">#c2c2c2<\/option><option value="#cabdbf" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[19].code">#cabdbf<\/option><option value="#cca6ac" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[20].code">#cca6ac<\/option><option value="#f691b2" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[21].code">#f691b2<\/option><option value="#cd74e6" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[22].code">#cd74e6<\/option><option value="#a47ae2" ng-selected="customSearch.'+t.sortColumn+' == colorCodes[23].code">#a47ae2<\/option><option value="#555"    ng-selected="customSearch.'+t.sortColumn+' == colorCodes[24].code">#555<\/option><\/select><\/div><\/div><div class="row form-group"><label class="control-label col-lg-4 col-xs-4"><\/label><div class="col-lg-8 col-xs-8"><button class="btn btn-primary" ng-click=searchCustomFilter(customSearch,"'+t.sortColumn+'")>Search<i class="icon-search icon-on-right"><\/i><\/button><button class="btn btn-danger" style="margin-left:5px;" ng-click=cancelCustomSearch("'+t.sortColumn+'")>Cancel<i class="icon-arrow-left icon-on-right"><\/i><\/button>';return r.$apply(function(){return n(i)(r)})}});t.showFilter=!1;var i=setTimeout(function(){$("#th"+r.gridName+t.sortColumn).popover("show")},100)}};r.initFilterTextbox=function(n,t){var i=u.find(r.gridOption.masterTableView.columns,{dataField:t,dateFilter:!0})[0];i!=null&&n!=null&&n[t]!=null&&n[t]!=""&&n[t+"1"]!=null&&n[t+"1"]!=""&&(n[t]=n[t+"1"])};r.customSearchDropdown=function(){};r.cancelCustomSearch=function(n){$("#th"+r.gridName+n).popover("hide");$("#theading"+r.gridName+n+" .popover ").remove()};r.getStandardDateValue=function(n){return n.length==1&&n<10&&(n="0"+n),n};r.dbSearch={};r.searchCustomFilter=function(n,t,i){var c,o,a,s,h,l,f;if(r.filteredRxgs.length>0&&angular.isNumber(r.filteredRxgs[0][t])&&!angular.isUndefined(n[t])&&n[t]!=""&&!/^\s*\d+\s*$/.test(n[t])){r.customSearch[t]=undefined;y.error("Invalid input");return}if(c=t,i&&(c+="_formattedDateTime"),o=!1,a=u.find(r.gridOption.masterTableView.columns,{dataField:t,dateFilter:!0})[0],a!=undefined)if(o=!0,n[t]!=null&&n[t]!="")if(f=n[t].split("/"),f.length==3){for(s=0;s<f.length;s++)if(!/^\s*\d+\s*$/.test(f[s])){r.customSearch[t]=undefined;return}n[t+"1"]=r.getStandardDateValue(f[0])+"/"+r.getStandardDateValue(f[1])+"/"+f[2];n[t]=r.getStandardDateValue(f[1])+"/"+r.getStandardDateValue(f[0])+"/"+f[2]}else{r.customSearch[t]=undefined;return}else n[t]=undefined,n[t+"1"]=undefined;if(r.currentPage=0,o&&angular.isUndefined(r.gridOption.gridMaster.dbSearch)?r.dbSearch[t+"1"]=n[t+"1"]:(r.dbSearch[t]=n[t],r.dbSearch[t+"1"]=n[t+"1"]),angular.isNumber(n[t])?$("#th"+r.gridName+t).addClass("read-filter"):angular.isString(n[t])?n[t]==""?(angular.isUndefined(r.gridOption.gridMaster.customPagging)?r.search[t]=undefined:r.dbSearch[t]=undefined,$("#th"+r.gridName+t).removeClass("read-filter")):n[t]==undefined?$("#th"+r.gridName+t).removeClass("read-filter"):$("#th"+r.gridName+t).addClass("read-filter"):/^(true|false)$/i.test(n[t])?$("#th"+r.gridName+t).addClass("read-filter"):n[t]==undefined&&$("#th"+r.gridName+t).removeClass("read-filter"),e.save(r.gridName+"Search",r.search),$("#th"+r.gridName+t).popover("hide"),$(".popover ").remove(),angular.isUndefined(r.gridOption.gridMaster.dbSearch))i?(h=n[t].split(" "),h.length==2?(f=h[0].split("/"),l=h[1].split(":"),n[t]=r.getStandardDateValue(f[0])+"/"+r.getStandardDateValue(f[1])+"/"+f[2]+" "+r.getStandardDateValue(l[0])+":"+r.getStandardDateValue(l[1])):(f=n[t].split("/"),n[t]=r.getStandardDateValue(f[0])+"/"+r.getStandardDateValue(f[1])+"/"+f[2]),r.search[c]=n[t]):o?r.search[t+"1"]=n[t+"1"]:r.search[t]=n[t];else{if(i&&(r.dbSearch[t+"1"]=r.getFormattedDate(n[t]),r.dbSearch[t+"1"]==null)){r.customSearch[t]=undefined;return}r.customPaggingPage=0;r.$parent.eventObjectCustom=r.dbSearch;r.$parent.orderByColumnGrid=r.SortColumnName;r.$parent.isOrderByColumnGrid=r.sortOrder;r.$parent.cPage=r.customPaggingPage;r.$parent.pSize=r.pageSize;r.$parent.$eval(r.gridOption.gridMaster.customPagging.eventName+"(cPage,pSize,eventObjectCustom,orderByColumnGrid,isOrderByColumnGrid)")}};r.getFormattedDate=function(n){var u=n.split(" "),f,t,e,i,o;return u.length==2?(t=u[0].split("/"),f=u[1].split(":"),n=r.getStandardDateValue(t[0])+"/"+r.getStandardDateValue(t[1])+"/"+t[2]+" "+r.getStandardDateValue(f[0])+":"+r.getStandardDateValue(f[1])):(t=n.split("/"),n=r.getStandardDateValue(t[0])+"/"+r.getStandardDateValue(t[1])+"/"+t[2]),e=moment(n,"DD/MM/YYYY HH:mm",!0).isValid(),i=undefined,e?i=moment(n,"DD/MM/YYYY HH:mm").format("MM/DD/YYYY HH:mm"):(o=moment(n,"DD/MM/YYYY",!0).isValid(),o&&(i=moment(n,"DD/MM/YYYY").format("MM/DD/YYYY"))),i=="Invalid date"&&(i=undefined),i};var nt=!1,k=0,tt=!0,ot=a.webConfiguration.payBillStandalone;r.isSetGridOptions=!1;r.setTableHeadings=function(n){var w,rt,s,c,v,y,ut,ct,b,t,f,ft;if(n.isFoOnly&&ot=="true")return!1;if(n.isActionColumnsDisable=!1,n.isDeleteVisible=!0,n.isEditVisible=!0,n.isEditAddVisible=!0,n.columnType!="inlineClickColumn"){var i="",ht=angular.isUndefined(n.languageProperty)?"":n.languageProperty,o=undefined,p=undefined;if(i=angular.isUndefined(n.dataField)?"":angular.isUndefined(n.sortColumn)?"sorting":"",w=angular.isUndefined(r.gridOption.gridMaster.defaultSortColumn)?"":r.gridOption.gridMaster.defaultSortColumn,angular.isUndefined(r.sortOrder)&&!angular.isUndefined(r.gridOption.gridMaster.defaultSortOrder)&&(r.sortOrder=r.gridOption.gridMaster.defaultSortOrder=="asc"?!1:!0),r.spSearch?(r.SortColumnName==undefined&&(r.SortColumnName=w),r.SortColumnName==n.dataField&&(tt=!1,i=r.sortOrder?"sorting_asc":"sorting_desc",r.sortOrder?o=!0:(o=!1,p=!0))):w==n.dataField&&(tt=!1,i=angular.isUndefined(n.sortOrder)||n.sortOrder?"sorting_asc":"sorting_desc",r.SortColumnName=n.dataField,r.SortOrder=!0,angular.isUndefined(n.sortOrder)||n.sortOrder?o=!0:(o=!1,p=!0)),rt=angular.isUndefined(r.gridOption.gridMaster.allowMultipleColumSorting)?!1:r.gridOption.gridMaster.allowMultipleColumSorting,s=[],s=u.find(r.gridOption.masterTableView.columns,{activeColumn:!0}),nt||((s.length>1&&s.length<8||r.gridName=="officeGrid")&&(k=$(l[0].parentElement).width(),angular.isUndefined(r.gridOption.gridMaster.saveWidth)||(r.gridOption.gridMaster.saveWidth?e.save("securityg",k):k=parseInt(e.fetch("securityg"))),k==0&&(k=parseInt(e.fetch("securityg"))),r.mainTableWidth={width:k+"px"},k=(k-105)/s.length),nt=!0),c={width:angular.isUndefined(n.width)?k+"px":n.width+"px"},angular.isUndefined(r.gridOption.gridMaster.tableWidth)||(r.mainTableWidth={width:r.gridOption.gridMaster.tableWidth+"px"},c={width:n.width+"px"}),v=angular.isUndefined(r.gridOption.gridMaster.autoWidthColumn)?!1:r.gridOption.gridMaster.autoWidthColumn,y=!angular.isUndefined(n.headerText)&&!n.hideHeaderText?n.headerText:"",v&&s.length>8?(ut=y.length<2?100:y.length,ct=angular.isUndefined(n.width)?(ut+5)*12:n.width,r.tableWidth+=ct,c={width:angular.isUndefined(n.width)?(ut+5)*12+"px":n.width+"px"},r.mainTableWidth={width:r.tableWidth+"px"}):v&&(r.mainTableWidth=undefined),it="",b=angular.isUndefined(n.searchType)?"text":n.searchType,formatObject={},b=="checkbox"&&(formatObject={trueValue:n.trueValue,falseValue:n.falseValue}),n.columnType=="actionsColumn"||n.columnType=="dropdownActionsColumn")if(angular.isUndefined(n.headerCss)&&(n.headerCss="action-column"),c=angular.isUndefined(n.customWidth)?{width:"105px"}:{width:n.customWidth+"px"},h.isJobOrderStatusClosed&&!r.gridOption.gridMaster.allowActionLinkOnCloseJob)n.isDeleteVisible=!1,n.isEditVisible=!1,n.isActionColumnsDisable=!0;else if(t=u.find(h.permissionContext,{permissionItemName:r.gridOption.gridMaster.itemName})[0],angular.isUndefined(t)&&!angular.isUndefined(r.gridOption.gridMaster.baseSecurityContext)&&r.gridOption.gridMaster.baseSecurityContext&&(t=u.find(h.mainContext,{permissionItemName:r.gridOption.gridMaster.itemName})[0]),!angular.isUndefined(t)&&!t.fullControl&&(f=u.find(n.actions,{eventIdentity:"delete"})[0],f!=undefined&&(n.isDeleteVisible=!1),t.canEdit||(r.gridOption.gridMaster.itemName!="Report Designer"&&(n.isActionColumnsDisable=!0),f=u.find(n.actions,{eventIdentity:"edit"})[0],f!=undefined&&(n.isEditVisible=!1)),t.canAdd||(f=u.find(n.actions,{eventIdentity:"copy"})[0],f!=undefined&&(n.isEditAddVisible=!1)),(t.canAdd||t.canView)&&r.gridOption.gridMaster.extraPermissionCheck!=undefined))for(ft in r.gridOption.gridMaster.extraPermissionCheck)r.gridOption.gridMaster.extraPermissionCheck[ft]&&(f=u.find(n.actions,{eventIdentity:ft})[0],f!=undefined&&(n.isActionColumnsDisable=!1));var d=n.dateFilter,et=undefined,g=n.inputDateFormat,st=undefined;n.dateTimeFormatter!=undefined&&(d=!0,g=n.dateTimeFormatter.inputFormat,st=!0);n.columnType=="checkboxColumn"&&n.showHeaderCheckbox==!0&&(et=!0);n.isActionColumnsDisable||(angular.isUndefined(r.gridOption.gridMaster.customPagging)?(w==n.dataField&&!angular.isUndefined(d)&&d&&(r.isDateFilter=!0,r.inputDateFormat=angular.isUndefined(g)?a.dateConfig.inputFormats.date:g),r.tableHeadings.push({dataField:n.dataField,formatType:b,autoWidthColumn:v,activeAscIcon:o,activeDscIcon:p,formatObject:formatObject,showSearch:n.columnType!="actionColumn"&&n.columnType!="actionsColumn"&&n.columnType!="dropdownActionsColumn",showFilter:!0,languageProperty:ht,sortColumn:n.dataField,sortCss:i,columnWidth:c,headerText:y,headerCss:angular.isUndefined(n.headerCss)?"":n.headerCss,isSorting:i!=""&&rt,sortOrder:i=="sorting_asc"&&r.sortOrder==!0,dateFilter:d,inputDateFormat:g,showHeaderCheckbox:et,dateTimeFormatterApplied:st})):r.tableHeadings.push({dataField:n.dataField,formatType:b,autoWidthColumn:v,activeAscIcon:o,activeDscIcon:p,formatObject:formatObject,showSearch:n.columnType!="actionColumn"&&n.columnType!="actionsColumn"&&n.columnType!="dropdownActionsColumn",showFilter:!0,languageProperty:ht,sortColumn:n.dataField,sortCss:i,columnWidth:c,headerText:y,headerCss:angular.isUndefined(n.headerCss)?"":n.headerCss,isSorting:i!=""&&rt,sortOrder:r.sortOrder,showHeaderCheckbox:et,dateTimeFormatterApplied:st}),angular.isUndefined(n.showSearch)||(r.tableHeadings[r.tableHeadings.length-1].showSearch=n.showSearch),angular.isUndefined(n.isSorting)||n.isSorting||(r.tableHeadings[r.tableHeadings.length-1].isSorting=!1))}};r.isActionColumnsDisable=!1;r.setconditionalRowCss=function(){var u="",f="",n="",t,i;return!angular.isUndefined(b.gridMaster.selectedRow)&&angular.isUndefined(b.gridMaster.selectedRow.inlineClick)?(u=angular.isUndefined(b.gridMaster.selectedRow.event)?"":b.gridMaster.selectedRow.event,f=angular.isUndefined(b.gridMaster.selectedRow.cssClass)?"":b.gridMaster.selectedRow.cssClass,n='rx-activeclass element="'+r.gridName+'" add-class="selectedRow" ng-click="selectedRowEvent(rxg)"'):angular.isUndefined(b.gridMaster.selectedRow)||angular.isUndefined(b.gridMaster.selectedRow.inlineClick)||(n='rx-activeclass element="'+r.gridName+'" add-class="selectedRow"'),t="",angular.isUndefined(b.gridMaster.conditionalRowCss)||(t='ng-class="getRowConditionalCss(rxg)"'),b.gridMaster.isMultiGrid?"<tr "+n+' ng-repeat="rxg in rxgs.gridObject"   class=\''+b.gridCss.tableRowCss+" {{rxg.timesheetGridRowClass}}'"+t+">":angular.isUndefined(r.gridOption.gridMaster.customPagging)?(i=r.globalSearchData?"filter : search":"rxGridFilter : search : searchColumns : globalSearchData","<tr "+n+' ng-repeat="rxg in (filteredRxgs = (rxgs.gridObject | '+i+')) | rxOrderBy:SortColumnName:sortOrder:isDateFilter:inputDateFormat | startIndex:currentPage*pageSize | limitTo:pageSize  " class="'+b.gridCss.tableRowCss+'" '+t+">"):"<tr "+n+' ng-repeat="rxg in (filteredRxgs = (rxgs.gridObject)) | startIndex:currentPage*pageSize | limitTo:pageSize  " class="'+b.gridCss.tableRowCss+'" '+t+">"};r.getRowConditionalCss=function(n){var r="none",t,i;if(b.gridMaster.conditionalRowCss!=null)for(t=0;t<b.gridMaster.conditionalRowCss.length;t++)if(i=b.gridMaster.conditionalRowCss[t],n[i.dataColumn]==i.dataValue){r=i.dataRowCss;break}return r};r.selectedRowEvent=function(n){t.setJsonObject(n,r.gridName);t.setJsonArray(r.rxgs.gridObject,r.gridName);t.setFilteredJsonArray(r.filteredRxgs,r.gridName);t.activeGrid=r.gridName;angular.isUndefined(r.rxgs.gridMaster.gridId)||t.setGridId(r.rxgs.gridMaster.gridId,r.gridName);angular.isUndefined(r.rxgs.gridMaster.selectedRow.event)||(r.selectedRowData=n,r.$parent.selectedrowrxg=n,r.$parent.$eval(r.rxgs.gridMaster.selectedRow.event+"(selectedrowrxg)"))};r.toggleEditMode=function(n,t){n.isEditMode=!n.isEditMode;for(var i in n)i!="$$hashKey"&&$("#"+i+t).val(n[i])};r.selectAllRecords=function(n,t){t?r.gridSource.selectAll(n,!0):r.gridSource.deSelectAll(n,!0)};r.deleteObject=function(){};r.updateObject=function(n){var i={},t;for(t in n)t!="$$hashKey"&&(i[t]=n[t]);r.$parent.inlinerxg=i;r.$parent.$eval(r.gridOption.gridMaster.rowUpdateEvent+"(inlinerxg)")};r.changeSortOrder=function(n){if(n.isSorting){for(var t=0;t<r.tableHeadings.length;t++)r.tableHeadings[t].isSorting&&(r.tableHeadings[t].sortCss="sorting",r.tableHeadings[t].activeAscIcon=undefined,r.tableHeadings[t].activeDscIcon=undefined);!angular.isUndefined(n.dateFilter)&&n.dateFilter?(r.isDateFilter=!0,r.inputDateFormat=angular.isUndefined(n.inputDateFormat)?a.dateConfig.inputFormats.date:n.inputDateFormat):r.isDateFilter=!1;n.sortOrder?(r.SortColumnName=n.sortColumn,r.sortOrder=!1,n.sortCss="sorting_asc",n.sortOrder=!1,n.activeSortColumn=!1,e.save(r.gridName+"SortColumn",r.SortColumnName),e.save(r.gridName+"SortOrder",r.sortOrder),n.activeAscIcon=!0,n.activeDscIcon=!1):(r.SortColumnName=n.sortColumn,r.sortOrder=!0,n.activeSortColumn=!0,n.sortCss="sorting_desc",n.sortOrder=!0,e.save(r.gridName+"SortColumn",r.SortColumnName),e.save(r.gridName+"SortOrder",r.sortOrder),n.activeAscIcon=!1,n.activeDscIcon=!0);angular.isUndefined(r.gridOption.gridMaster.dbSearch)||(r.$parent.eventObjectCustom=r.dbSearch,r.$parent.orderByColumnGrid=r.SortColumnName,r.$parent.isOrderByColumnGrid=r.sortOrder,r.$parent.cPage=r.$parent.cPage,r.$parent.pSize=r.pageSize,r.$parent.$eval(r.gridOption.gridMaster.customPagging.eventName+"(cPage,pSize,eventObjectCustom,orderByColumnGrid,isOrderByColumnGrid)"))}};r.setTableRows=function(n){switch(n.columnType){case"textColumn":return r.setTextColumn(n);case"inlineEditColumn":return r.setInlineEditColumn(n);case"imageColumn":return r.setImage(n);case"checkboxColumn":return r.setCheckbox(n);case"dateColumn":return r.setDateColumn(n);case"fileUploadColumn":return r.setFileUploadColumn(n);case"dropdownColumn":return r.setDropdown(n);case"textBoxColumn":return r.setTextBox(n);case"textAreaColumn":return r.setTextArea(n);case"hyperLinkColumn":return r.setHyperLinkcolumn(n);case"actionColumn":return r.setActionColumn(n);case"actionsColumn":return r.setActionsColumn(n);case"dropdownActionsColumn":return r.setDropdownActionsColumn(n);case"colorColumn":return r.setColorColumn(n);case"iconColumn":return r.setIconColumn(n);case"timeColumn":return r.setTimeColumn(n);case"conditionalColumns":return r.setConditionalColumns(n)}return""};r.setConditionalColumns=function(n){var i="",u=angular.isUndefined(n.conditionalColumns)?!1:!0,t;return u&&(t="",angular.forEach(n.conditionalColumns,function(u){angular.forEach(u.conditionalView,function(n){t=t!=""?t+" && ":"";i+=r.setTableRows(n);t+=" rxg."+n.showHidedataField+"!= "+n.value});i+='<td class="'+n.headerCss+'"  ng-if="'+t+'" ><\/td>'})),i};r.setColorColumn=function(n){var t=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField;return _showHideValue=angular.isUndefined(n.value)?"":n.value,_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+t+" == "+_showHideValue+'" ':"",""+("<td "+_isConditionalColumn+'><span bck-color bck-source="rxg.'+n.dataField+'" style="padding-left:44px; padding-bottom:3px;"><\/span><\/td>')};r.inlineClick=function(n){var e,l,o,c,h;if(activeGridJson=r.gridName,$(".popover").remove(),i.entityFlagChanged=!0,e=u.find(r.gridOption.masterTableView.columns,{columnType:"inlineClickColumn"}),e.length>0&&!angular.isUndefined(e[0]))if(angular.isUndefined(e[0].templatePath))if(angular.isUndefined(e[0].navigateUrl))angular.isUndefined(e[0].eventName)||r.events(n,e[0].eventName);else{for(t.activeGrid=r.gridName,t.setJsonObject(n,r.gridName),t.setCurrentEvent(e[0].eventIdentity,r.gridName),t.setJsonArray(r.rxgs.gridObject,r.gridName),t.setFilteredJsonArray(r.filteredRxgs,r.gridName),angular.isUndefined(r.rxgs.gridMaster.gridId)||t.setGridId(r.rxgs.gridMaster.gridId,r.gridName),o=e[0].navigateUrl.split("/:"),c=o[0],h=1;h<o.length;h++)c+="/"+s.encode(n[o[h]]);f.redirect(c.replace("#",""))}else l=angular.isUndefined(e[0].popupCss)?"":e[0].popupCs,t.activeGrid=r.gridName,t.setJsonObject(n,r.gridName),angular.isUndefined(r.rxgs.gridMaster.gridId)||t.setGridId(r.rxgs.gridMaster.gridId,r.gridName),t.setCurrentEvent(e[0].eventIdentity,r.gridName),t.setJsonArray(r.rxgs.gridObject,r.gridName),t.setFilteredJsonArray(r.filteredRxgs,r.gridName),r.popupTemplate={popupCss:l},r.popupTemplateSrc={src:e[0].templatePath},$("#popupTemplate"+r.gridName).modal({backdrop:"static",keyboard:!1}),$("#popupTemplate"+r.gridName).modal("show")};r.setTextColumn=function(n){var i="",h="",u=angular.isUndefined(n.activeText)?"":" | activetext",c=angular.isUndefined(n.activeValueText)?"":" : "+n.dataField+"Filter",f=angular.isUndefined(r.gridOption.gridMaster.textTruncate)?"":" | texttruncate : '"+r.gridName+"' : '"+n.dataField+"'",e="",b=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField,y,p,l,t,o,v,s,w;return _showHideValue=angular.isUndefined(n.value)?"":n.value,_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+b+" == "+_showHideValue+'" ':"",angular.isUndefined(n.dateFilter)||(y=angular.isUndefined(n.inputDateFormat)?"MM/DD/YYYY":n.inputDateFormat,e=" | rxdatefilter : '"+y+"' : rxg : '"+n.dataField+"' "),angular.isUndefined(n.activeValueText)||(r[n.dataField+"Filter"]=n.activeValueText),(u!=""||c!="")&&(f=""),angular.isUndefined(n.conditionalColumnCss)?(i=angular.isUndefined(n.columnCss)?"":n.columnCss,p=angular.isUndefined(r.gridOption.gridMaster.inlineEditing)?!1:!0,p?h+='<td ng-init="rxg.isEditMode=true" class="'+i+'"><div ng-show="!rxg.isEditMode" ng-bind="rxg.'+n.dataField+'" ><\/div><div ng-show="rxg.isEditMode"><input type="text" class="form-control" id="'+n.dataField+'{{$index}}"/><\/div> <\/td>':(l=angular.isUndefined(n.tooltip)?!1:n.tooltip,t="",l&&(t='rx-tip main-object="rxg" property="'+n.dataField+'" tip-trigger="hover" tip-placement="top"',e!=""&&(t+=angular.isUndefined(n.inputDateFormat)?"tip-type='date'":"tip-type='date' date-format='"+n.inputDateFormat+"' "),u!=""&&(t+="tip-type='checkbox' ",n.activeValueText!=undefined&&(t+="true-text='"+n.activeValueText.trueText+"' false-text='"+n.activeValueText.falseText+"'"))),o="",n.dateTimeFormatter!=undefined&&(v=n.dateTimeFormatter.inputFormat==undefined?a.dateConfig.inputFormats.dateTimeWithOffset:n.dateTimeFormatter.inputFormat,o=" | rxDateTimeFormatter : '"+v+"' : '"+n.dateTimeFormatter.displayDateFormat+"' : rxg : '"+n.dataField+"' ",f="",l&&(t+="tip-type='formatted-date' display-format=' "+n.dateTimeFormatter.displayDateFormat+"' input-format=' "+v+"'")),s="",r.gridOption.gridMaster.isMultiGrid&&n.visibleOnChild!=!0&&(w=r.gridOption.gridMaster.multiGridOptions.headerRowPropertyName,s=' ng-hide="!rxg.'+w+'"'),h+=angular.isUndefined(r.gridOption.gridMaster.selectedRow)||angular.isUndefined(r.gridOption.gridMaster.selectedRow.inlineClick)?angular.isUndefined(r.gridOption.gridCss.showTextCss)?"<td "+_isConditionalColumn+' class="'+i+'"><div '+t+s+' ng-bind="rxg.'+n.dataField+u+o+c+e+f+'" ><\/div><\/td>':'<td class="'+i+'"><div  ><span '+t+s+' ng-click="inlineClick(rxg)" class="'+r.gridOption.gridCss.showTextCss+'" ng-bind="rxg.'+n.dataField+u+c+o+e+f+'"><\/span><\/div><\/td>':'<td class="'+i+' " ng-click="selectedRowEvent(rxg)"><div  ><span '+t+s+'  class="'+r.gridOption.gridCss.showTextCss+'" ng-bind="rxg.'+n.dataField+u+c+o+e+f+'"><\/span><\/div><\/td>')):(i=angular.isUndefined(n.columnCss)?"":n.columnCss,h+="<td "+_isConditionalColumn+' class={{getColumnCss(rxg,"'+n.dataField+'")}} '+i+' ng-bind="rxg.'+n.dataField+'" ><\/td>'),h};r.setIconColumn=function(n){var f=angular.isUndefined(n.navigateUrl)?!1:!0,t="",e=angular.isUndefined(n.event)?!1:!0,u=angular.isUndefined(n.columnCss)?"":n.columnCss,o=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField,i;return _showHideValue=angular.isUndefined(n.value)?"":n.value,_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+o+" == "+_showHideValue+'" ':"",angular.isUndefined(n.conditionalIcons)?(i="",f?angular.forEach(n.icon,function(f){i=angular.isString(f.dataFieldValue)?"'"+f.dataFieldValue+"'":f.dataFieldValue;t+='<td ng-if="rxg.'+n.dataField+f.compareOperator+i+'" class="'+u+'"><span ng-if="rxg.'+n.dataField+f.compareOperator+i+'">'+r._CreateIconColumnHyperLink(n,f.iconCss)+"<\/span><\/td>"}):e?(i=angular.isString(n.icon.dataFieldValue)?"'"+n.icon.dataFieldValue+"'":n.icon.dataFieldValue,t+='<td  class="'+u+'"><span ng-if="rxg.'+n.dataField+n.icon.compareOperator+i+'">'+r._CreateIconColumnIconEvent(n)+"<\/span><\/td>"):(i=angular.isString(n.icon.dataFieldValue)?"'"+n.icon.dataFieldValue+"'":n.icon.dataFieldValue,t+='<td class="'+u+'"><span ng-if="rxg.'+n.dataField+n.icon.compareOperator+i+'">'+r._CreateIconColumnIcon(n)+"<\/span><\/td>")):(t+="<td "+_isConditionalColumn+' class="'+u+'">',angular.forEach(n.conditionalIcons,function(n){angular.forEach(n.conditionalView,function(i){var u=angular.isUndefined(i.navigateUrl)?!1:!0,f=angular.isUndefined(i.event)?!1:!0;t+=u?r._CreateConditionalActionsColumnHyperLink(i,n.dataFieldColumn):f?r._CreateConditionalActionsColumnIconEvent(i,n.dataFieldColumn):r._CreateConditionalActionsColumnIcon(i,n.dataFieldColumn,!0)})}),t+="<\/td>"),t};r._CreateIconColumnHyperLink=function(n,t){var h=angular.isUndefined(n.hideAction)?!1:!0,c=angular.isUndefined(n.windowOpen)?!1:n.windowOpen,u="",e,i;if(h){for(i=0;i<n.hideAction.length;i++)u+=n.hideAction[i].dataField+"-rx-"+r.spaceRemover(n.hideAction[i].dataField)+",";u='ng-hide=hideActionLink("'+u+'",rxg) '}var f=n.navigateUrl.split("/:"),l=f[0],a=angular.isUndefined(n.hyperlinkCss)?"":n.hyperlinkCss,v=angular.isUndefined(n.text)?"":n.text,y=angular.isUndefined(n.eventIdentity)?"":n.eventIdentity,p=!angular.isUndefined(n.tooltip)&&!angular.isUndefined(n.tooltip.title)?!0:!1,o="",s="";for(p&&(o+='rx-tip tip-trigger="'+n.tooltip.trigger+'" tip-placement="'+n.tooltip.placement+'"',s=n.tooltip.title),e="",i=1;i<f.length;i++)e+=f[i]+",";return"<a "+o+" "+u+'  ng-click=\nnavigateUrl(rxg,"'+y+'","'+l+'","'+e+'",'+c+') title="'+s+'" href="" class="'+a+'" ><i class="'+t+'" ><\/i>'+v+"<\/a>"};r._CreateIconColumnIconEvent=function(n){var r=angular.isUndefined(n.text)?"":n.text,u=angular.isUndefined(n.cssClass)?"":n.cssClass,f=!angular.isUndefined(n.tooltip)&&!angular.isUndefined(n.tooltip.title)?!0:!1,t="",i="";return(f&&(t+='rx-tip tip-trigger="'+n.tooltip.trigger+'" tip-placement="'+n.tooltip.placement+'"',i=n.tooltip.title),r!="")?"<span "+t+" "+i+' ng-click=events(rxg,"'+n.event+'") class="'+u+'" title="'+n.title+'">'+r+"<\/span>":"<i "+t+" "+i+' ng-click=events(rxg,"'+n.event+'") class="'+n.iconCss+'" title="'+n.title+'"><\/i>'};r._CreateIconColumnIcon=function(n){var c=angular.isUndefined(n.hideAction)?!1:!0,t="",i,u;if(c){for(i=0;i<n.hideAction.length;i++)t+=n.hideAction[i].dataField+"-rx-"+r.spaceRemover(n.hideAction[i].value)+",";t='ng-hide=hideActionLink("'+t+'",rxg) '}var y=angular.isUndefined(n.columnCss)?"":n.columnCss,s=angular.isUndefined(n.hyperlinkCss)?"":n.hyperlinkCss,l=!angular.isUndefined(n.tooltip)&&!angular.isUndefined(n.tooltip.title)?!0:!1,a=angular.isUndefined(n.isLink)?!1:n.isLink,v=angular.isUndefined(n.isAction)?!1:n.isAction,h=angular.isUndefined(n.text)?!1:n.text,f="",e="",o=angular.isUndefined(n.eventIdentity)?"":n.eventIdentity;return l&&(f+='rx-tip tip-trigger="'+n.tooltip.trigger+'" tip-placement="'+n.tooltip.placement+'"',e=n.tooltip.title),u=r.modelPopup.length,r.modelPopup.push({src:angular.isUndefined(n.templatePath)?"":n.templatePath,popupCss:angular.isUndefined(n.popupCss)?"":n.popupCss}),a?'<a href="" '+f+" "+t+'  title="'+e+'" ng-click=actionEvents(rxg,'+u+',"'+o+'") class="'+s+'" title="'+n.title+'">'+h+"<\/a>":v?"<span ng-click=actionEvents(rxg,"+u+',"'+o+'") class="'+s+'" title="'+n.title+'">'+h+"<\/span>":"<i "+f+" "+t+'  title="'+e+'" ng-click=actionEvents(rxg,'+u+',"'+o+'") class="'+n.iconCss+'" title="'+n.title+'"><\/i>'};r.inlineToolTipArray=[];r.setInlineEditColumn=function(n){var t="",i="";return angular.isUndefined(n.conditionalColumnCss)?(t=angular.isUndefined(n.columnCss)?"":n.columnCss,i+='<td  class="'+t+'" ng-init="rxg.isEditMode=false"><div ng-show="!rxg.isEditMode" class="btn-toolbar"><div class="btn-group"><i id="inlineedit{{$index}}"  ng-click="toggleEditMode(rxg,$index)" class="btn btn-default '+n.edit.editIcon+'"><\/i><i id="inlinedelete{{$index}}" ng-click="deleteObject(rxg,$index)" class="btn btn-default '+n.del.icon+'"><\/i><\/div><\/div><div ng-show="rxg.isEditMode" class="btn-toolbar "><div class="btn-group"><i id="inlinesave{{$index}}" ng-click="updateObject(rxg,$index)" class="btn btn-default '+n.edit.saveIcon+'"><\/i><i id="inlinecancel{{$index}}" ng-click="toggleEditMode(rxg,$index)" class="btn btn-default '+n.edit.cancelIcon+'"><\/i><\/div><\/div><\/td>'):(t=angular.isUndefined(n.columnCss)?"":n.columnCss,i+='<td class={{getColumnCss(rxg,"'+n.dataField+'")}} '+t+" >{{rxg."+n.dataField+"}}<\/td>"),r.inlineToolTipArray.push({controlId:"inlineedit",title:n.edit.editTitle,placement:angular.isUndefined(n.edit.editTipPlacement)?"top":n.edit.editTipPlacement}),r.inlineToolTipArray.push({controlId:"inlinedelete",title:n.edit.deleteText,placement:angular.isUndefined(n.edit.deleteTipPlacement)?"top":n.edit.deleteTipPlacement}),r.inlineToolTipArray.push({controlId:"inlinesave",title:n.edit.saveTitle,placement:angular.isUndefined(n.edit.saveTipPlacement)?"top":n.edit.saveTipPlacement}),r.inlineToolTipArray.push({controlId:"inlinecancel",title:n.edit.cancelTitle,placement:angular.isUndefined(n.edit.cancelTipPlacement)?"top":n.edit.cancelTipPlacement}),i};r.setActionColumn=function(n){var i=angular.isUndefined(n.navigateUrl)?!1:!0,u=angular.isUndefined(n.event)?!1:!0,t=angular.isUndefined(n.columnCss)?"":n.columnCss,f=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField;return _showHideValue=angular.isUndefined(n.value)?"":n.value,_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+f+" == "+_showHideValue+'" ':"",""+(i?"<td "+_isConditionalColumn+' class="'+t+'">'+r._CreateActionColumnHyperLink(n)+"<\/td>":u?"<td "+_isConditionalColumn+' class="'+t+'">'+r._CreateActionColumnIconEvent(n)+"<\/td>":"<td "+_isConditionalColumn+' class="'+t+'">'+r._CreateActionColumnIcon(n)+"<\/td>")};r._CreateActionColumnHyperLink=function(n){var v=angular.isUndefined(n.hideAction)?!1:!0,s=angular.isUndefined(n.windowOpen)?!1:n.windowOpen,i="",u,t,e,a,o;if(v){for(t=0;t<n.hideAction.length;t++)i+=n.hideAction[t].dataField+"-rx-"+r.spaceRemover(n.hideAction[t].dataField)+",";i='ng-hide=hideActionLink("'+i+'",rxg) '}var f=n.navigateUrl.split("/:"),h=f[0],y=angular.isUndefined(n.hyperlinkCss)?"":n.hyperlinkCss,p=angular.isUndefined(n.text)?"":n.text,c=angular.isUndefined(n.eventIdentity)?"":n.eventIdentity,w=angular.isUndefined(n.tooltip)?!1:!1,l="",b="";for(w&&(l+='rx-tip tip-trigger="'+n.tooltip.trigger+'" tip-placement="'+n.tooltip.placement+'"',b=n.tooltip.title),u="",t=1;t<f.length;t++)u+=f[t]+",";return e="",r.gridOption.gridMaster.isMultiGrid&&n.visibleOnChild!=!0&&(a=r.gridOption.gridMaster.multiGridOptions.headerRowPropertyName,e=' ng-hide="!rxg.'+a+'"'),o="",r.gridOption.gridMaster.allowKeyboardNavigation&&(o=' rx-enter=\nnavigateUrl(rxg,"'+c+'","'+h+'","'+u+'",'+s+") "),"<a "+r.getTabIndexElementString(n)+o+l+e+" "+i+'  ng-click=\nnavigateUrl(rxg,"'+c+'","'+h+'","'+u+'",'+s+')  href="" class="'+y+'" ><i class="'+n.iconCss+'" ><\/i>'+p+"<\/a>"};r.hideActionLink=function(n,t){for(var f=n.split(","),u,i=0;i<f.length-1;i++)if(u=f[i].split("-rx-"),t[u[0]]==r.spaceRemover(u[1]))return angular.isUndefined(t[r.gridOption.gridMaster.primaryKey])||$("#"+t[r.gridOption.gridMaster.primaryKey]+" .inner-pipe").html(""),!0;return!1};r.navigateUrl=function(n,i,u,e,o){var c=e.split(","),h,l;for(activeGridJson=r.gridName,t.activeGrid=r.gridName,t.setCurrentEvent(i,r.gridName),t.setJsonArray(r.rxgs.gridObject,r.gridName),t.setFilteredJsonArray(r.filteredRxgs,r.gridName),angular.isUndefined(r.rxgs.gridMaster.gridId)||t.setGridId(r.rxgs.gridMaster.gridId,r.gridName),h=0;h<c.length-1;h++)u+=o?n[c[h]]:"/"+s.encode(n[c[h]]);angular.isUndefined(r.gridOption.gridMaster.entityLock)?o?window.open(u.replace("#","")):f.redirect(u.replace("#","")):(l={entityId:n[r.gridOption.gridMaster.primaryKey],entityType:r.gridName,url:u,isWindowOpen:o,isView:!1},r.$parent.eLock=l,r.$parent.entityLock(r.$parent.eLock))};r.modelPopup=[];r._CreateActionColumnIcon=function(n){var v=angular.isUndefined(n.hideAction)?!1:!0,t="",i,u,a,h,f,e;if(v){for(i=0;i<n.hideAction.length;i++)t+=n.hideAction[i].dataField+"-rx-"+r.spaceRemover(n.hideAction[i].value)+",";t='ng-hide=hideActionLink("'+t+'",rxg) '}var k=angular.isUndefined(n.columnCss)?"":n.columnCss,c=angular.isUndefined(n.hyperlinkCss)?"":n.hyperlinkCss,y=angular.isUndefined(n.tooltip)?!1:!0,p=angular.isUndefined(n.isLink)?!1:n.isLink,w=angular.isUndefined(n.isAction)?!1:n.isAction,l=angular.isUndefined(n.text)?!1:n.text,s="",b="",o=angular.isUndefined(n.eventIdentity)?"":n.eventIdentity;return y&&(s+='rx-tip tip-trigger="'+n.tooltip.trigger+'" tip-placement="'+n.tooltip.placement+'"',b=n.tooltip.title),u="",r.gridOption.gridMaster.isMultiGrid&&n.visibleOnChild!=!0&&(a=r.gridOption.gridMaster.multiGridOptions.headerRowPropertyName,u=' ng-hide="!rxg.'+a+'"'),h="",n.title!=undefined&&(h=' title="'+n.title+'" '),f=r.modelPopup.length,e="",r.gridOption.gridMaster.allowKeyboardNavigation&&(e=" rx-enter=actionEvents(rxg,"+f+',"'+o+'") '),r.modelPopup.push({src:angular.isUndefined(n.templatePath)?"":n.templatePath,popupCss:angular.isUndefined(n.popupCss)?"":n.popupCss}),p?'<a href="" '+s+e+r.getTabIndexElementString(n)+u+" "+t+"  ng-click=actionEvents(rxg,"+f+',"'+o+'") class="'+c+'" title="'+n.title+'">'+l+"<\/a>":w?"<span "+e+r.getTabIndexElementString(n)+u+" ng-click=actionEvents(rxg,"+f+',"'+o+'") class="'+c+'" '+h+">"+l+"<\/span>":"<i "+e+r.getTabIndexElementString(n)+s+u+" "+t+"  ng-click=actionEvents(rxg,"+f+',"'+o+'") class="'+n.iconCss+'" title="'+n.title+'"><\/i>'};r.fileUploaded=function(n){r.gridOption.gridMaster.uploadEvents!=undefined&&(r.$parent.uploadData=n,r.$parent.$eval(r.gridOption.gridMaster.uploadEvents+"(uploadData)"))};r._CreateActionColumnIconEvent=function(n){var f=angular.isUndefined(n.text)?"":n.text,e=angular.isUndefined(n.cssClass)?"":n.cssClass,u="",o,i,t;return(r.gridOption.gridMaster.isMultiGrid&&n.visibleOnChild!=!0&&(o=r.gridOption.gridMaster.multiGridOptions.headerRowPropertyName,u=' ng-hide="!rxg.'+o+'"'),i="",n.title!=undefined&&(i=' title="'+n.title+'" '),t="",n.elementType!=undefined&&n.elementType=="fileUpload")?(r.gridOption.gridMaster.allowKeyboardNavigation&&(t=" rx-enter=openFileUpload(rxg) "),"<span "+u+' class=" btn btn-text-file fileinput-button" ><span '+r.getTabIndexElementString(n)+t+' ng-click="openFileUpload(rxg)" class="'+e+'" '+i+" >"+f+'<\/span> <input id="fileupload{{rxg.'+r.gridOption.gridMaster.primaryKey+'}}" type="file" upload-data="rxg" rx-fileupload="" url="'+n.url+'" accept-file="'+n.acceptFileType+'" upload-event="fileUploaded" name="files[]" class="ng-isolate-scope fileupload-nowidth"><\/span>'):(r.gridOption.gridMaster.allowKeyboardNavigation&&(t=' rx-enter=events(rxg,"'+n.event+'") '),f!="")?"<span "+r.getTabIndexElementString(n)+t+u+' ng-click=events(rxg,"'+n.event+'")  class="'+e+'" '+i+" >"+f+"<\/span>":"<i "+r.getTabIndexElementString(n)+t+u+' ng-click=events(rxg,"'+n.event+'") class="'+n.iconCss+'" '+i+"><\/i>"};r.getTabIndexElementString=function(n){return r.gridOption.gridMaster.setTabIndex!=undefined?' tabindex="{{getNextTabIndex($index,'+r.gridOption.gridMaster.setTabIndex.startIndex+","+r.gridOption.gridMaster.setTabIndex.maxIndex+","+n.tabindex+')}}" ':""};r.getNextTabIndex=function(n,t,i,r){return i*n+t+r};r.openHyperLink=function(n){f.redirect(n)};r.openFileUpload=function(n){if(n!=undefined){var t=n[r.gridOption.gridMaster.primaryKey];t!=null&&$("#fileupload"+t).trigger("click")}};r.events=function(n,u){$(".popover").remove();i.entityFlagChanged=!0;t.setJsonObject(n,r.gridName);t.setJsonArray(r.rxgs.gridObject,r.gridName);t.activeGrid=r.gridName;t.setFilteredJsonArray(r.filteredRxgs,r.gridName);angular.isUndefined(r.rxgs.gridMaster.gridId)||t.setGridId(r.rxgs.gridMaster.gridId,r.gridName);r.$parent.gridcustomize=n;r.$parent.$eval(u+"(gridcustomize)")};r.actionEvents=function(n,u,f){if(i.vChange="",activeGridJson=r.gridName,$(".popover").remove(),i.entityFlagChanged=!0,t.setJsonObject(n,r.gridName),t.setCurrentEvent(f,r.gridName),t.setJsonArray(r.rxgs.gridObject,r.gridName),t.setFilteredJsonArray(r.filteredRxgs,r.gridName),angular.isUndefined(r.rxgs.gridMaster.gridId)||t.setGridId(r.rxgs.gridMaster.gridId,r.gridName),t.activeGrid=r.gridName,r.popupIndexCount=u,angular.isUndefined(r.gridOption.gridMaster.entityLock)||!a.alert.recordLock)r.popupTemplate={popupCss:r.modelPopup[u].popupCss},r.popupTemplateSrc=r.modelPopup[u],$("#popupTemplate"+r.gridName).modal({backdrop:"static",keyboard:!1}),$("#popupTemplate"+r.gridName).modal("show");else{var e={entityId:n[r.gridOption.gridMaster.primaryKey],entityType:r.gridName,isView:!1,serverTime:i.currentPageTime};r.$parent.eLock=e;r.$parent.entityLock(r.$parent.eLock)}};r.setImage=function(n){var i=angular.isUndefined(n.columnCss)?"":n.columnCss,r=angular.isUndefined(n.imageCss)?"":n.imageCss,t=angular.isUndefined(n.alternateText)?"":n.alternateText,u=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField;return _showHideValue=angular.isUndefined(n.value)?"":n.value,_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+u+" == "+_showHideValue+'" ':"",t!="",""+("<td "+_isConditionalColumn+' class="'+i+'"><img src="{{rxg.'+n.dataField+'}}" alt="'+t+'" class="'+r+'" /><\/td>')};r.setCheckbox=function(n){var i=angular.isUndefined(n.columnCss)?"":n.columnCss,u=angular.isUndefined(n.eventName)?"":n.eventName,o=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField,t,e;_showHideValue=angular.isUndefined(n.value)?"":n.value;_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+o+" == "+_showHideValue+'" ':"";var s=angular.isUndefined(r.gridOption.gridMaster.textTruncate)?"":" | texttruncate : '"+r.gridName+"' : '"+n.dataField+"'",h=angular.isUndefined(n.tooltip)?!1:n.tooltip,f="";return h&&(f='rx-tip main-object="rxg" property="'+n.dataField+'" tip-trigger="hover" tip-placement="top"'),t="",r.gridOption.gridMaster.isMultiGrid&&n.visibleOnChild!=!0&&(e=r.gridOption.gridMaster.multiGridOptions.headerRowPropertyName,t=' ng-hide="!rxg.'+e+'"'),""+(n.checkDataField!=undefined?"<td "+_isConditionalColumn+' class="'+i+'"><label><input '+t+" "+r.disabledAttribute+'=isReadOnlyHtmlControl(rxg,"'+n.checkDataField+'")  ng-hide=isVisibleHtmlControl(rxg,"'+n.checkDataField+'") ng-change=changeControlValidCheckbox(rxg,"'+u+'","'+n.dataField+'") type="checkbox"  class="cursor"  ng-model="rxg.'+n.checkDataField+'" '+r.getTabIndexElementString(n)+'/><\/label><span class="padding-left-5" '+f+">{{rxg."+n.dataField+s+"}}<\/span><\/td>":"<td "+_isConditionalColumn+' class="'+i+'"><input '+t+" "+r.disabledAttribute+'=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") ng-change=changeControlValidCheckbox(rxg,"'+u+'","'+n.dataField+'") type="checkbox"  class="cursor"  ng-model="rxg.'+n.dataField+'" '+r.getTabIndexElementString(n)+" /><\/td>")};r.isControlValueChanged=!1;r.changeControlValidCheckbox=function(n,t,i){var f,e,o;r.isControlValueChanged=!0;t!=null&&t!=""&&(r.$parent.rxgData=n,r.$parent.$eval(t+"(rxgData)"));f=u.find(r.rxgs.masterTableView.columns,{dataField:i})[0];f!=null&&f.showHeaderCheckbox&&(e={},e[i]=!0,r.gridSource!=null&&(o=u.find(r.gridSource,e),r.checkboxHeaders[i]=o!=null&&o.length==r.gridSource.length?!0:!1))};r.initCheckboxHeader=function(n){var f=u.find(r.rxgs.masterTableView.columns,{dataField:n})[0],t,i;f!=null&&f.showHeaderCheckbox&&(t={},t[n]=!0,r.gridSource!=null&&(r.checkboxHeaders=r.checkboxHeaders==null?{}:r.checkboxHeaders,i=u.find(r.gridSource,t),r.checkboxHeaders[n]=i!=null&&r.gridSource.length!=0&&i.length==r.gridSource.length?!0:!1))};r.changeControlValid=function(){angular.isUndefined(b.gridMaster.selectedRow)||event.stopPropagation();r.isControlValueChanged=!0};r.setDateColumn=function(n){var f=angular.isUndefined(n.columnCss)?"":n.columnCss,e=angular.isUndefined(n.textBoxCss)?"":n.textBoxCss,t=!angular.isUndefined(n.events)&&!angular.isUndefined(n.events.changeEvent)&&n.events.changeEvent!=""?n.events.changeEvent:"",i=!angular.isUndefined(n.events)&&!angular.isUndefined(n.events.blurEvent)&&n.events.blurEvent!=""?n.events.blurEvent:"",s=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField,h=angular.isUndefined(n.value)?"":n.value,o=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+s+" == "+h+'" ':"",u="";return n.dateOptions!=undefined&&n.dateOptions.dateFormat!=undefined&&(u+=' date-format="'+n.dateOptions.dateFormat+'"',u+=n.dateOptions.minDate!=undefined?' min-date="{{rxg.'+n.dateOptions.minDate+'}}"':"",u+=n.dateOptions.maxDate!=undefined?' max-date="{{rxg.'+n.dateOptions.maxDate+'}}"':""),t!=""&&(t=' ng-change=changeControlEvent(rxg,"'+t+'") '),i!=""&&(i=' rx-blur=changeControlEvent(rxg,"'+i+'") '),""+(t!=""||i!=""?"<td "+o+' class="'+f+'"><input '+r.getTabIndexElementString(n)+r.disabledAttribute+'=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") type="text" set-rxgrid rx-date class="'+e+'" '+t+i+' rx-model="rxg.'+n.dataField+'" ng-model="rxg.'+n.dataField+'1" '+u+" /><\/td>":"<td "+o+' class="'+f+'"><input '+r.getTabIndexElementString(n)+r.disabledAttribute+'=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") type="text" set-rxgrid rx-date class="'+e+'" ng-change="changeControlValid()" rx-model="rxg.'+n.dataField+'" ng-model="rxg.'+n.dataField+'1" '+u+" /><\/td>")};r.setTimeColumn=function(n){var u=angular.isUndefined(n.columnCss)?"":n.columnCss,f=angular.isUndefined(n.textBoxCss)?"":n.textBoxCss,t=!angular.isUndefined(n.events)&&!angular.isUndefined(n.events.changeEvent)&&n.events.changeEvent!=""?n.events.changeEvent:"",i=!angular.isUndefined(n.events)&&!angular.isUndefined(n.events.blurEvent)&&n.events.blurEvent!=""?n.events.blurEvent:"",e=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField;return _showHideValue=angular.isUndefined(n.value)?"":n.value,_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+e+" == "+_showHideValue+'" ':"",t!=""&&(t=' ng-change=changeControlEvent(rxg,"'+t+'") '),i!=""&&(i=' rx-blur=changeControlEvent(rxg,"'+i+'") '),""+("<td "+_isConditionalColumn+' class="'+u+'"><input '+r.getTabIndexElementString(n)+r.disabledAttribute+'=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") type="text"  rx-time class="'+f+'" ng-model="rxg.'+n.dataField+'"  '+t+i+" /><\/td>")};r.setFileUploadColumn=function(n){r.checkUpdateScopeObject(n);var t=angular.isUndefined(n.columnCss)?"":n.columnCss,i="",e=angular.isUndefined(n.textBoxCss)?"":n.textBoxCss,u=angular.isUndefined(n.url)?"":n.url,f=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField;_showHideValue=angular.isUndefined(n.value)?"":n.value;_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+f+" == "+_showHideValue+'" ':"";i+="<td "+_isConditionalColumn+' class="'+t+'"><input '+r.disabledAttribute+'=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") type="file" rx-fileupload url="'+u+'" name="files[]" ng-model="rxg.'+n.dataField+'" upload-event=\fileUploadEvent(rxg,"'+n.jsonObjectName+'","'+n.dataField+'",uploadFile)  /><\/td>'};r.dropdownSourceInit=function(n,t,i){r.$parent.rxgDrpData=n;n["grid"+i+"s"]=r.$parent.$eval(t+"(rxgDrpData)")};r.setDropdown=function(n){var t=angular.isUndefined(n.columnCss)?"":n.columnCss,s="",i=angular.isUndefined(n.dropdownCss)?"":n.dropdownCss,u=angular.isUndefined(n.textColumn)?"":n.textColumn,f=angular.isUndefined(n.valueColumn)?"":n.valueColumn,e=angular.isUndefined(n.eventName)?"":n.eventName,o=angular.isUndefined(n.selectChange)?'ng-change="changeControlValid()"':'ng-change="selectChangeEvent(rxg)"',h=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField;return _showHideValue=angular.isUndefined(n.value)?"":n.value,_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+h+" == "+_showHideValue+'" ':"",angular.isUndefined(n.eventSource)?(r["grid"+n.dataField+"s"]=n.source,s+=!angular.isUndefined(n.inlineEditConditional)&&n.inlineEditConditional?e!=""?"<td "+_isConditionalColumn+' class="'+t+'"><div  ng-show="!conditionalShowBox">{{rxg.'+n.dataField+'}}<\/div><div ng-show="conditionalShowBox"><select ng-init  ng-disabled=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") class="'+i+'" '+r.getTabIndexElementString(n)+' ng-model="rxg.'+n.dataField+'" ng-options="rxDrpObj.'+f+" as rxDrpObj."+u+" for rxDrpObj in grid"+n.dataField+'s" ng-change=changeControlEvent(rxg,"'+e+'")  /><\/div><\/td>':"<td "+_isConditionalColumn+' class="'+t+'"><div   ng-show="!conditionalShowBox">{{rxg.'+n.dataField+'}}<\/div><div ng-show="conditionalShowBox"><select '+o+'ng-disabled=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") class="'+i+'" '+r.getTabIndexElementString(n)+' ng-model="rxg.'+n.dataField+'" ng-options="rxDrpObj.'+f+" as rxDrpObj."+u+" for rxDrpObj in grid"+n.dataField+'s" /><\/div><\/td>':e!=""?"<td "+_isConditionalColumn+' class="'+t+'"><select  ng-disabled=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") class="'+i+'" '+r.getTabIndexElementString(n)+' ng-model="rxg.'+n.dataField+'" ng-options="rxDrpObj.'+f+" as rxDrpObj."+u+" for rxDrpObj in grid"+n.dataField+'s" ng-change=changeControlEvent(rxg,"'+e+'") /><\/td>':"<td "+_isConditionalColumn+' class="'+t+'"><select  '+o+'ng-disabled=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") class="'+i+'" '+r.getTabIndexElementString(n)+' ng-model="rxg.'+n.dataField+'" ng-options="rxDrpObj.'+f+" as rxDrpObj."+u+" for rxDrpObj in grid"+n.dataField+'s" /><\/td>'):s+=!angular.isUndefined(n.inlineEditConditional)&&n.inlineEditConditional?e!=""?"<td "+_isConditionalColumn+' class="'+t+'"><div ng-show="!conditionalShowBox">{{rxg.'+n.dataField+'}}<\/div><div  ng-show="conditionalShowBox"><select ng-init=dropdownSourceInit(rxg,"'+n.eventSource+'","'+n.dataField+'")  '+r.getTabIndexElementString(n)+' ng-disabled=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") class="'+i+'" ng-model="rxg.'+n.dataField+'" ng-options="rxDrpObj.'+f+" as rxDrpObj."+u+" for rxDrpObj in rxg.grid"+n.dataField+'s" ng-change=changeControlEvent(rxg,"'+e+'")  /><\/div><\/td>':"<td "+_isConditionalColumn+' class="'+t+'"><div ng-show="!conditionalShowBox">{{rxg.'+n.dataField+'}}<\/div><div ng-show="conditionalShowBox"><select  ng-init=dropdownSourceInit(rxg,"'+n.eventSource+'","'+n.dataField+'") '+o+r.getTabIndexElementString(n)+'ng-disabled=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") class="'+i+'" ng-model="rxg.'+n.dataField+'" ng-options="rxDrpObj.'+f+" as rxDrpObj."+u+" for rxDrpObj in rxg.grid"+n.dataField+'s" /><\/div><\/td>':e!=""?"<td "+_isConditionalColumn+' class="'+t+'"><select ng-init=dropdownSourceInit(rxg,"'+n.eventSource+'","'+n.dataField+'")  '+r.getTabIndexElementString(n)+' ng-disabled=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") class="'+i+'" ng-model="rxg.'+n.dataField+'" ng-options="rxDrpObj.'+f+" as rxDrpObj."+u+" for rxDrpObj in rxg.grid"+n.dataField+'s" ng-change=changeControlEvent(rxg,"'+e+'")  /><\/td>':"<td "+_isConditionalColumn+' class="'+t+'"><select  ng-init=dropdownSourceInit(rxg,"'+n.eventSource+'","'+n.dataField+'") '+o+r.getTabIndexElementString(n)+'ng-disabled=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") class="'+i+'" ng-model="rxg.'+n.dataField+'" ng-options="rxDrpObj.'+f+" as rxDrpObj."+u+" for rxDrpObj in rxg.grid"+n.dataField+'s" /><\/td>',s};r.selectChangeEvent=function(){r.isControlValueChanged=!0};r.setTextBox=function(n){var f=angular.isUndefined(n.columnCss)?"":n.columnCss,e=angular.isUndefined(n.textBoxCss)?"":n.textBoxCss,t=!angular.isUndefined(n.events)&&!angular.isUndefined(n.events.changeEvent)&&n.events.changeEvent!=""?n.events.changeEvent:"",i=!angular.isUndefined(n.events)&&!angular.isUndefined(n.events.blurEvent)&&n.events.blurEvent!=""?n.events.blurEvent:"",s=angular.isUndefined(n.conditionalDisabled)?!1:!0,u="",h=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField,o;return _showHideValue=angular.isUndefined(n.value)?"":n.value,_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+h+" == "+_showHideValue+'" ':"",maxLength=angular.isUndefined(n.maxLength)?"":'maxlength="'+n.maxLength+'"',angular.isUndefined(n.decimalNumber)||(o="",n.allowNegative&&(o="allow-negative"),u=n.decimalNumber?"rx-grid-decimal='true' "+o+"  rx-decimal = '"+n.decimalPoint+"'":"rx-number"+o),t!=""&&(t=' ng-change=changeControlEvent(rxg,"'+t+'") '),i!=""&&(i=' rx-blur=changeControlEvent(rxg,"'+i+'") '),""+(s?!angular.isUndefined(n.inlineEditConditional)&&n.inlineEditConditional?"<td "+_isConditionalColumn+' class="'+f+'"><div ng-show="!conditionalShowBox">{{rxg.'+n.dataField+'}}<\/div><div ng-show="conditionalShowBox"><input type="text" '+u+" "+maxLength+r.getTabIndexElementString(n)+r.disabledAttribute+'=conditnalDisabledTextbox(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") class="'+e+'" ng-model="rxg.'+n.dataField+'" '+t+i+"  /><\/div><\/td>":"<td "+_isConditionalColumn+' class="'+f+'"><input  '+u+" "+maxLength+'   type="text" '+r.disabledAttribute+'=conditnalDisabledTextbox(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") class="'+e+'" '+r.getTabIndexElementString(n)+' ng-model="rxg.'+n.dataField+'" '+t+i+"  /><\/td>":!angular.isUndefined(n.inlineEditConditional)&&n.inlineEditConditional?"<td "+_isConditionalColumn+' class="'+f+'"><div ng-show="!conditionalShowBox">{{rxg.'+n.dataField+'}}<div><div ng-show="conditionalShowBox"><input type="text"  '+u+" "+maxLength+r.getTabIndexElementString(n)+r.disabledAttribute+'=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") class="'+e+'" ng-model="rxg.'+n.dataField+'" '+t+i+"  /><\/div><\/td>":"<td "+_isConditionalColumn+' class="'+f+'"><input type="text"  '+u+" "+maxLength+r.disabledAttribute+'=isReadOnlyHtmlControl(rxg,"'+n.dataField+'") ng-hide=isVisibleHtmlControl(rxg,"'+n.dataField+'") class="'+e+'" '+r.getTabIndexElementString(n)+' ng-model="rxg.'+n.dataField+'" '+t+i+"  /><\/td>")};r.conditnalDisabledTextbox=function(n,t){var i,f;if(!angular.isUndefined(r.gridOption.gridMaster.conditionalDisableds)&&(i=u.find(r.gridOption.gridMaster.conditionalDisableds,{dataField:t.trim()}),i.length>0))for(f=0;f<i[0].source.length;f++)if(n[i[0].source[f].dataField]==i[0].source[f].value)return!0;return r.gridOption.isReadOnlyControl?!0:!1};r.setTextArea=function(n){var t=angular.isUndefined(n.columnCss)?"":n.columnCss,i=angular.isUndefined(n.textAreaCss)?"":n.textAreaCss,u=n.rows,f=n.cols,e=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField;return _showHideValue=angular.isUndefined(n.value)?"":n.value,_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+e+" == "+_showHideValue+'" ':"",""+("<td "+_isConditionalColumn+' class="'+t+'"><textarea  '+r.getTabIndexElementString(n)+r.disabledAttribute+'="isReadOnlyHtmlControl" rows="'+u+'" cols="'+f+'" class="'+i+'" ng-model="rxg.'+n.dataField+'" ng-change=changeControlEvent(rxg,"'+n.jsonObjectName+'","{{rxg.'+n.dataField+'}}","'+n.dataField+'",3)  ><\/textarea><\/td>')};r.setHyperLinkcolumn=function(n){var t="",i="";return t=angular.isUndefined(n.columnCss)?"":n.columnCss,_showHideDataField=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField,_showHideValue=angular.isUndefined(n.value)?"":n.value,_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+_showHideDataField+" == "+_showHideValue+'" ':"",i+="<td "+_isConditionalColumn+' class="'+t+'">'+r._CreateHyperLink(n)+"<\/td>",i};r.getEncodedString=function(n){return s.encode(n)};r.setConditionalHyperLink=function(n,t){for(var f=u.find(r.gridOption.gridMaster.conditionalHyperLink,{dataField:t}),e,o,h,i=0;i<f.length;i++)if(f[i].eventName!=undefined){if(r.$parent.rxgRow=n,e=r.$parent.$eval(f[i].eventName+"(rxgRow)"),e!=null&&e!="")return e}else if(n[f[i].dataValueField]==f[i].value){for(o=f[i].navigateUrl.split(":"),h=o[0],i=1;i<o.length;i++)h+=s.encode(n[o[i]]);return h}};r._CreateHyperLink=function(n){var c=angular.isUndefined(n.activeText)?"":" | activetext",a=angular.isUndefined(n.activeValueText)?"":" : "+n.dataField+"Filter",v=angular.isUndefined(r.gridOption.gridMaster.textTruncate)?"":" | texttruncate : '"+r.gridName+"' : '"+n.dataField+"'",h="",y,s,p,t;angular.isUndefined(n.dateFilter)||(y=angular.isUndefined(n.inputDateFormat)?"MM/DD/YYYY":n.inputDateFormat,h=" | rxdatefilter : '"+y+"' : rxg : '"+n.dataField+"' ");angular.isUndefined(n.activeValueText)||(r[n.dataField+"Filter"]=n.activeValueText);var i="",f="",l=angular.isUndefined(n.hyperlinkCss)?"":n.hyperlinkCss,w=angular.isUndefined(r.gridOption.gridMaster.conditionalHyperLink)?!1:!0,e=undefined,b=angular.isUndefined(n.tooltip)?!1:n.tooltip,o="";if(b&&(o='rx-tip main-object="rxg" property="'+n.dataField+'" tip-trigger="hover" tip-placement="top"',h!=""&&(o+=angular.isUndefined(n.inputDateFormat)?"tip-type='date'":"tip-type='date' date-format='"+n.inputDateFormat+"' "),c!=""&&(o+="tip-type='checkbox' ",n.activeValueText!=undefined&&(o+="true-text='"+n.activeValueText.trueText+"' false-text='"+n.activeValueText.falseText+"'"))),w&&(e=u.find(r.gridOption.gridMaster.conditionalHyperLink,{dataField:n.dataField})[0]),e==undefined&&n.eventName!=null&&n.eventName!=""&&(e={event:n.eventName}),s="",e==undefined){if(i=n.navigateUrl.split(":"),f=i[0],f=f.split("/"),f="#/"+f[1],l=angular.isUndefined(n.hyperlinkCss)?"":n.hyperlinkCss,i.length>2)for(t=1;t<i.length;t++)p=i[t].split("/"),i[t]=p[0];for(t=1;t<i.length;t++)f+="/{{getEncodedString(rxg."+i[t]+")}}";return r.gridOption.gridMaster.allowKeyboardNavigation&&(s=' rx-enter=openHyperLink("'+f+'") '),"<span "+o+"><a "+s+r.getTabIndexElementString(n)+' href="'+f+'" class="'+l+'" >{{rxg.'+n.dataField+c+a+h+v+"}}<\/a><\/span>"}return e.event!=undefined?(r.gridOption.gridMaster.allowKeyboardNavigation&&(s=' rx-enter=events(rxg,"'+e.event+'") '),"<span "+o+"><a "+s+r.getTabIndexElementString(n)+' ng-click=events(rxg,"'+e.event+'")  class="cursor-class '+l+'" >{{rxg.'+n.dataField+c+a+h+v+"}}<\/a><\/span>"):(r.gridOption.gridMaster.allowKeyboardNavigation&&(s=' rx-enter=openHyperLink({{setConditionalHyperLink(rxg,"'+n.dataField+'")}}) '),"<span "+o+"><a "+s+r.getTabIndexElementString(n)+' href={{setConditionalHyperLink(rxg,"'+n.dataField+'")}} class="'+l+'" >{{rxg.'+n.dataField+c+a+h+v+"}}<\/a><\/span>")};r.changeControlEvent=function(n,t){t!=""&&(r.isControlValueChanged=!0,r.$parent.rxgRow=n,r.$parent.$eval(t+"(rxgRow)"))};r.spaceRemover=function(n){for(var i=n.split(" "),u=i.length-1,r="",t=0;t<i.length;t++)r+=u==t?i[t]:i[t]+"_";return r};r.spaceReplacer=function(n){for(var i=n.split("_"),u=i.length-1,r="",t=0;t<i.length;t++)r+=u==t?i[t]:i[t]+" ";return r};r.commaSplitter=function(n){return n.split(",")};r.setActionsColumn=function(n){if(!n.isActionColumnsDisable){var t=angular.isUndefined(n.columnCss)?"":n.columnCss,i=angular.isUndefined(n.actions)?!1:!0,u=d!=""?d:"",f=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField;return _showHideValue=angular.isUndefined(n.value)?"":n.value,_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+f+" == "+_showHideValue+'" ':"",_actionColumnHtml="<td "+_isConditionalColumn+' class="'+t+'"><div class="actionRemoveClass" id="{{rxg.'+u+'}}" >',_conditionalActions=angular.isUndefined(n.conditionalActions)?!1:!0,_innerIconCss=angular.isUndefined(n.innerIconCss)?"rx-iconspacing":n.innerIconCss,_iconsSpacing=0,_pipeSeparator=n.removePipeSeparator?"":"|",_conditionalHtml="",i&&angular.forEach(n.actions,function(t){if(angular.isUndefined(t.isActionColumnHide)||t.isActionColumnHide){if(t.eventIdentity=="copy"&&!n.isEditAddVisible||t.eventIdentity=="edit"&&!n.isEditVisible||t.eventIdentity=="delete"&&!n.isDeleteVisible)return"";var u=angular.isUndefined(t.navigateUrl)?!1:!0,f=angular.isUndefined(t.event)?!1:!0,i=_iconsSpacing==0?"":'<span  class="'+_innerIconCss+'">'+_pipeSeparator+"<\/span>";_actionColumnHtml+=u?i+r._CreateActionColumnHyperLink(t):f?i+r._CreateActionColumnIconEvent(t):i+r._CreateActionColumnIcon(t);_iconsSpacing++}}),_conditionalActions&&angular.forEach(n.conditionalActions,function(n){angular.forEach(n.conditionalView,function(t){if(angular.isUndefined(t.isConditionalActionColumnHide)||t.isConditionalActionColumnHide){var i=angular.isUndefined(t.navigateUrl)?!1:!0,u=angular.isUndefined(t.event)?!1:!0,f=_iconsSpacing==0?"":'<i class="'+_innerIconCss+'"><\/i>';_actionColumnHtml+=i?r._CreateConditionalActionsColumnHyperLink(t,n.dataFieldColumn):u?r._CreateConditionalActionsColumnIconEvent(t,n.dataFieldColumn):r._CreateConditionalActionsColumnIcon(t,n.dataFieldColumn)}})}),_actionColumnHtml+="<\/div>"+_conditionalHtml+"<\/td>",""+_actionColumnHtml}return""};r._CreateConditionalActionsColumnHyperLink=function(n,t){var k=angular.isUndefined(n.hideAction)?!1:!0,a=angular.isUndefined(n.windowOpen)?!1:n.windowOpen,f="",s,e,u,i,c,b,l;if(k){for(i=0;i<n.hideAction.length;i++)f+=n.hideAction[i].dataField+"-rx-"+r.spaceRemover(n.hideAction[i].dataField)+",";f='ng-hide=hideActionLink("'+f+'",rxg) '}var o=n.navigateUrl.split("/:"),v=o[0],g=angular.isUndefined(n.hyperlinkCss)?"":n.hyperlinkCss,nt=angular.isUndefined(n.text)?"":n.text,y=angular.isUndefined(n.eventIdentity)?"":n.eventIdentity,tt=angular.isUndefined(n.tooltip)?!1:!1,p="",it="";if(tt&&(p+='rx-tip tip-trigger="'+n.tooltip.trigger+'" tip-placement="'+n.tooltip.placement+'"',it=n.tooltip.title),s=d!=""?d:"",angular.isString(n.value)){for(e=n.value.trim().split(" "),u=e[0],i=1;i<e.length;i++)u+="_"+e[i];_eventString='{{getActionsConditionalView(rxg,"'+t+'","'+u+'","'+d+'",$index)}}'}else _eventString='{{getActionsConditionalView(rxg,"'+t+'",'+n.value+',"'+d+'",$index)}}',u=n.value;var rt=angular.isUndefined(n.innerIconCss)?"rx-iconspacing":n.innerIconCss,w=angular.isUndefined(n.iconCss)?'<span id="{{rxg.'+s+"}}aa"+t+u+'" class="'+rt+'">|<\/span>':"",h="";for(i=1;i<o.length;i++)h+=o[i]+",";return angular.isUndefined(n.innerIconCss)&&(w=""),c="",r.gridOption.gridMaster.isMultiGrid&&n.visibleOnChild!=!0&&(b=r.gridOption.gridMaster.multiGridOptions.headerRowPropertyName,c=' ng-hide="!rxg.'+b+'"'),l="",r.gridOption.gridMaster.allowKeyboardNavigation&&(l=' rx-enter=\nnavigateUrl(rxg,"'+y+'","'+v+'","'+h+'",'+a+") "),w+'<span id="{{rxg.'+s+"}}a"+r.getTabIndexElementString(n)+l+t+u+c+'" '+p+" "+f+'  ng-click=\nnavigateUrl(rxg,"'+y+'","'+v+'","'+h+'",'+a+')  href="" class="'+g+'" ><i class="'+n.iconCss+'" ><\/i>'+nt+"<\/span>"+_eventString};r._CreateConditionalActionsColumnIcon=function(n,t,i){var nt=angular.isUndefined(n.value)?"":n.value,o=0,h=d!=""?d:"",f,u,e,s,l;if(_eventString="",et||(et=!angular.isUndefined(n.templatePath)&&angular.isUndefined(n.event)?!0:!1),o=r.modelPopup.length,r.modelPopup.push({src:angular.isUndefined(n.templatePath)?"":n.templatePath,popupCss:angular.isUndefined(n.popupCss)?"":n.popupCss}),angular.isString(n.value)){for(f=n.value.trim().split(" "),u=f[0],e=1;e<f.length;e++)u+="_"+f[e];_eventString='{{getActionsConditionalView(rxg,"'+t+'","'+u+'","'+d+'",$index)}}'}else _eventString='{{getActionsConditionalView(rxg,"'+t+'",'+n.value+',"'+d+'",$index)}}',u=n.value;var w=angular.isUndefined(n.text)?"":n.text,b=angular.isUndefined(n.innerIconCss)?"rx-iconspacing":n.innerIconCss,c=angular.isUndefined(n.iconCss)?'<span id="{{rxg.'+h+"}}aa"+t+u+'" class="'+b+'">|<\/span>':"";angular.isUndefined(n.innerIconCss)&&(c="");s="";r.gridOption.gridMaster.isMultiGrid&&n.visibleOnChild!=!0&&(l=r.gridOption.gridMaster.multiGridOptions.headerRowPropertyName,s=' ng-hide="!rxg.'+l+'"');var k=angular.isUndefined(n.hyperlinkCss)?n.iconCss:n.hyperlinkCss,a=i?"":" ng-click=\nactionEvents(rxg,"+o+',"'+n.eventIdentity+'") ',v="";a!=""&&r.gridOption.gridMaster.allowKeyboardNavigation&&(v=" rx-enter=actionEvents(rxg,"+o+')" ');var g=!angular.isUndefined(n.tooltip)&&!angular.isUndefined(n.tooltip.title)?!0:!1,y="",p="";return g&&(y+='rx-tip tip-trigger="'+n.tooltip.trigger+'" tip-placement="'+n.tooltip.placement+'"',p=' title="'+n.tooltip.title+'" '),c+" <span "+y+" "+p+' id="{{rxg.'+h+"}}a"+r.getTabIndexElementString(n)+v+t+u+s+'" '+a+'  class="'+k+'">'+w+"<\/span>"+_eventString};r._CreateConditionalActionsColumnIconEvent=function(n,t){var b=angular.isUndefined(n.value)?"":n.value,e=d!=""?d:"",o,i,s,f,p,l,u;if(_eventString="",angular.isString(n.value)){for(o=n.value.trim().split(" "),i=o[0],s=1;s<o.length;s++)i+="_"+o[s];_eventString='{{getActionsConditionalView(rxg,"'+t+'","'+i+'","'+d+'",$index)}}'}else _eventString='{{getActionsConditionalView(rxg,"'+t+'",'+n.value+',"'+d+'",$index)}}',i=n.value;var h=angular.isUndefined(n.text)?"":n.text,y=angular.isUndefined(n.hyperlinkCss)?n.iconCss:n.hyperlinkCss,c=angular.isUndefined(n.iconCss)?'<span id="{{rxg.'+e+"}}aa"+t+i+'" >|<\/span>':"";angular.isUndefined(n.innerIconCss)&&(c="");f="";r.gridOption.gridMaster.isMultiGrid&&n.visibleOnChild!=!0&&(p=r.gridOption.gridMaster.multiGridOptions.headerRowPropertyName,f=' ng-hide="!rxg.'+p+'"');l="";n.title!=undefined&&(l=' title="'+n.title+'" ');var w=!angular.isUndefined(n.tooltip)&&!angular.isUndefined(n.tooltip.title)?!0:!1,a="",v="";return(w&&(a+='rx-tip tip-trigger="'+n.tooltip.trigger+'" tip-placement="'+n.tooltip.placement+'"',v=' title="'+n.tooltip.title+'" '),u="",n.elementType!=undefined&&n.elementType=="fileUpload")?(r.gridOption.gridMaster.allowKeyboardNavigation&&(u=" rx-enter=openFileUpload(rxg) "),'<span id="{{rxg.'+e+"}}a"+t+i+f+'" class=" btn btn-text-file fileinput-button" ><span '+r.getTabIndexElementString(n)+u+' ng-click="openFileUpload(rxg)" class="'+y+'" '+l+">"+h+'<\/span> <input id="fileupload{{rxg.'+r.gridOption.gridMaster.primaryKey+'}}" type="file" upload-data="rxg" rx-fileupload="" url="'+n.url+'" accept-file="'+n.acceptFileType+'" upload-event="fileUploaded" name="files[]" class="ng-isolate-scope fileupload-nowidth"><\/span>'+_eventString):(r.gridOption.gridMaster.allowKeyboardNavigation&&(u=' rx-enter=events(rxg,"'+n.event+'") '),h!="")?c+"<span "+r.getTabIndexElementString(n)+u+' id="{{rxg.'+e+"}}a"+t+i+f+'" ng-click=events(rxg,"'+n.event+'") class="'+y+'" '+a+" "+v+">"+h+"<\/span>"+_eventString:c+"<i "+r.getTabIndexElementString(n)+u+' id="{{rxg.'+e+"}}a"+t+i+f+'" ng-click=events(rxg,"'+n.event+'") class="'+n.iconCss+'" '+a+" "+v+"><\/i>"+_eventString};r.getActionsConditionalView=function(n,t,i,r){var f,u,e,o;if(angular.isString(i))for(f=i.trim().split("_"),u=f[0],e=1;e<f.length;e++)u+=" "+f[e];else u=i;return o="",o=angular.isString(n[t])?n[t].trim():n[t],jsonSearch={},jsonSearch.value=u,o!=u&&(jsonSearch={},jsonSearch.value=u,$("#"+n[r]+"a"+t+i).remove(),$("#"+n[r]+"aa"+t+i).remove()),""};r.setDropdownActionsColumn=function(n){var s=angular.isUndefined(n.columnCss)?"":n.columnCss,v=angular.isUndefined(n.buttonCss)?"":n.buttonCss,y=angular.isUndefined(n.iconCss)?"":n.iconCss,c=angular.isUndefined(n.text)?"Action":n.text,f=angular.isUndefined(n.conditionalActions)?!1:!0,e=angular.isUndefined(n.actions)?!1:!0,p=d!=""?d:"",o,i,t,l,a;return(_conditionalDataField=angular.isUndefined(n.conditionalVisible)?undefined:n.conditionalVisible.dataField,_conditionalDataFieldValue=angular.isUndefined(n.conditionalVisible)?undefined:n.conditionalVisible.value,_conditionalDataFieldValue=angular.isString(_conditionalDataFieldValue)?"'"+_conditionalDataFieldValue+"'":_conditionalDataFieldValue,o=angular.isUndefined(n.showHidedataField)?"":n.showHidedataField,_showHideValue=angular.isUndefined(n.value)?"":n.value,_isConditionalColumn=!angular.isUndefined(n.isConditionalColumn)&&n.isConditionalColumn?' ng-if="rxg.'+o+" == "+_showHideValue+'" ':"",_actionColumnHtml="<td "+_isConditionalColumn+' class="dropdown-action-menu '+s+'">',_actionColumnHtml+=angular.isUndefined(_conditionalDataField)?'<ul class="nav"><li>':'<ul rx-remove="rxg.'+_conditionalDataField+" != "+_conditionalDataFieldValue+'" class="nav">',_actionColumnHtml+='<li><a data-toggle="dropdown" class="dropdown-toggle rxcursor">'+c+'  <span class="caret"><\/span><\/a><ul class="dropdown-menu">',t="",r.gridOption.gridMaster.itemName!=null&&(i=u.find(h.permissionContext,{permissionItemName:r.gridOption.gridMaster.itemName})[0],r.gridOption.gridMaster.schedulerItemName!=null&&(t=u.find(h.mainContext,{permissionItemName:r.gridOption.gridMaster.schedulerItemName})[0],t!=null&&(t.fullControl==!0||t.canAdd==!0||t.canEdit==!0||t.canView==!0)&&(i!=null?i.canSchedule=!0:i={canSchedule:!0}))),e&&(l=n.actions.length-1,a=1,angular.forEach(n.actions,function(n){if(r.isDropdownActionItemAvailable(i,n)||n.visibleContext){var t=angular.isUndefined(n.navigateUrl)?!1:!0,u=angular.isUndefined(n.event)?!1:!0;_actionColumnHtml+=t?"<li>"+r._CreateActionColumnHyperLink(n)+"<\/li>":u?"<li>"+r._CreateActionColumnIconEvent(n)+"<\/li>":"<li>"+r._CreateActionColumnIcon(n)+"<\/li>"}})),f&&angular.forEach(n.conditionalActions,function(n){angular.forEach(n.conditionalView,function(t){var i=angular.isUndefined(t.navigateUrl)?!1:!0,u=angular.isUndefined(t.event)?!1:!0;_actionColumnHtml+=i?"<li>"+r._CreateConditionalActionsColumnHyperLink(t,n.dataFieldColumn)+"<\/li>":u?"<li>"+r._CreateConditionalActionsColumnIconEvent(t,n.dataFieldColumn)+"<\/li>":"<li>"+r._CreateConditionalActionsColumnIcon(t,n.dataFieldColumn)+"<\/li>"})}),e||f)?(_actionColumnHtml+="<\/ul><\/li><\/ul><\/td>",""+_actionColumnHtml):""};r.isDropdownActionItemAvailable=function(n,t){if(r.gridOption.gridMaster.itemName==null)return!0;var i=!1;if(angular.isUndefined(n))return i;switch(t.eventIdentity){case"edit":case"permission":case"move":i=n.canEdit?!0:!1;break;case"view":i=n.canView?!0:!1;break;case"delete":i=n.fullControl?!0:!1;break;case"schedule":i=n.canSchedule?!0:!1;break;case"copy":i=n.canAdd?!0:!1;break;default:i=!0}return i};r.setFooterPagingInformation=function(){if(!angular.isUndefined(b.gridMaster.showFooterPagging)&&!b.gridMaster.showFooterPagging==!1){var n=angular.isUndefined(b.gridCss.footerWidthCss)?"col-lg-6 col-xs-12":b.gridCss.footerWidthCss;return'<div class="row show-grid"><div class="'+n+'" ><div  ><span ng-bind="getPagingString()"><\/span><a ng-show="filteredRxgs.length >0"  class="link-previous" ng-class="disabledPreviousButton()" ng-click="previousPage()" ><i class="icon-double-angle-left small-arrow"><\/i> Previous<\/a><span> | <\/span><a ng-show="filteredRxgs.length >0" class="link-next" ng-class="disabledNextButton()" ng-disabled="" ng-click="nextPage()">Next <i class="icon-double-angle-right small-arrow"><\/i><\/a><\/div><\/div><div class="col-lg-6 col-xs-12" style="padding-top:10px;"><\/div><\/div>'}return""};r.addition=function(n){for(var t=0,i=0;i<r.rxgs.gridObject.length;i++)t=t+r.rxgs.gridObject[i][n];return t==0?"":t};r.setFooter=function(){for(var i='<tfoot><tr class="'+r.setTableHeadingRowCss(b.gridCss)+'">',n,t=0;t<r.gridOption.masterTableView.columns.length;t++)n=r.gridOption.masterTableView.columns[t],n.activeColumn==!0?i+=n.footerDataField!=null?'<td ><b>{{addition("'+n.footerDataField+'")}}<\/b><\/td>':'<td colspan="1"><b><\/b><\/td>':n.columnType=="actionsColumn"&&(i+='<td colspan="1"><b>'+n.footerColumnText+"<\/b><\/td>");return i+"<\/tfoot>"};r.getPagingString=function(){var n;return angular.isUndefined(r.gridOption.gridMaster.customPagging)?r.filteredRxgs.length>r.pageSize&&(n=r.filteredRxgs.length/r.pageSize,r.currentPage>parseInt(n)&&(r.currentPage=parseInt(n))):r.customPagggingRecords>r.pageSize&&(n=r.customPagggingRecords/r.pageSize,r.currentPage>parseInt(n)&&(r.currentPage=parseInt(n))),r.filteredRxgs.length==0?"No result found":r.setPagingString()};r.disabledNextButton=function(){return!angular.isUndefined(r.filteredRxgs)&&!angular.isUndefined(r.filteredRxgs.length)?angular.isUndefined(r.gridOption.gridMaster.customPagging)?r.currentPage>=r.filteredRxgs.length/r.pageSize-1?"previousDisabled":"":r.currentPage>=r.customPagggingRecords/r.pageSize-1?"previousDisabled":"":""};r.disabledPreviousButton=function(){return angular.isUndefined(r.gridOption.gridMaster.customPagging)?r.currentPage!=0?"":"previousDisabled":r.customPaggingPage!=0?"":"previousDisabled"};r.customPaggingPage=0;r.nextPage=function(){if(angular.isUndefined(r.gridOption.gridMaster.customPagging)){if(!(r.currentPage>=r.filteredRxgs.length/r.pageSize-1))if(r.gridOption.gridMaster.showLoadingOnPaging){w.pageShow();var n=setTimeout(function(){var t=r.getPagingString(),n;r.currentPage=r.currentPage+1;e.save(r.gridName+"PageIndex",r.currentPage);n=setInterval(function(){t!=r.getPagingString()&&(w.pageHide(),clearInterval(n))},1500);r.$apply()},50)}else r.currentPage=r.currentPage+1,e.save(r.gridName+"PageIndex",r.currentPage)}else r.customPaggingPage>=r.customPagggingRecords/r.pageSize-1||(r.customPaggingPage=r.customPaggingPage+1,angular.isUndefined(r.gridOption.gridMaster.customPagging)||(r.$parent.cPage=r.customPaggingPage+1,r.$parent.pSize=r.pageSize,r.$parent.eventObjectCustom=r.dbSearch,r.$parent.orderByColumnGrid=r.SortColumnName,r.$parent.isOrderByColumnGrid=r.sortOrder,r.$parent.$eval(r.gridOption.gridMaster.customPagging.eventName+"(cPage,pSize,eventObjectCustom,orderByColumnGrid,isOrderByColumnGrid)")),e.save(r.gridName+"PageIndex",r.customPaggingPage))};r.previousPage=function(){if(angular.isUndefined(r.gridOption.gridMaster.customPagging)){if(r.currentPage!=0&&r.currentPage>0)if(r.gridOption.gridMaster.showLoadingOnPaging){w.pageShow();var n=setTimeout(function(){var t=r.getPagingString(),n;r.currentPage=r.currentPage-1;e.save(r.gridName+"PageIndex",r.currentPage);n=setInterval(function(){t!=r.getPagingString()&&(w.pageHide(),clearInterval(n))},1500);r.$apply()},50)}else r.currentPage=r.currentPage-1,e.save(r.gridName+"PageIndex",r.currentPage)}else r.customPaggingPage!=0&&r.customPaggingPage>0&&(r.customPaggingPage=r.customPaggingPage-1,r.$parent.cPage=r.$parent.cPage-1,r.$parent.pSize=r.pageSize,r.$parent.eventObjectCustom=r.dbSearch,r.$parent.orderByColumnGrid=r.SortColumnName,r.$parent.isOrderByColumnGrid=r.sortOrder,r.$parent.$eval(r.gridOption.gridMaster.customPagging.eventName+"(cPage,pSize,eventObjectCustom,orderByColumnGrid,isOrderByColumnGrid)"),e.save(r.gridName+"PageIndex",r.customPaggingPage))};g=!1;r.setPagingString=function(){var u;if(angular.isUndefined(r.gridOption.gridMaster.customPagging)){if(r.currentPage==0){var i=1,t=r.filteredRxgs.length,f=i*r.pageSize-r.pageSize+1;return n=i*r.pageSize,n=t<n?t:n,u=g?"(filtered from "+r.rxgs.gridObject.length+" total entries)":"","Showing "+f+"-"+n+" of "+t+" entries "+u}var i=r.currentPage+1,f=i*r.pageSize-r.pageSize+1,t=r.filteredRxgs.length,n=i*r.pageSize;return n>t&&(n=t),u=g?"(filtered from "+r.rxgs.gridObject.length+" total entries)":"","Showing "+f+"-"+n+" of "+t+" entries "+u}if(r.customPaggingPage==0){var i=1,t=r.customPagggingRecords,f=i*r.pageSize-r.pageSize+1;return n=i*r.pageSize,n=t<n?t:n,u=g?"(filtered from "+r.rxgs.gridObject.length+" total entries)":"","Showing "+f+"-"+n+" of "+t+" entries "+u}var i=r.customPaggingPage+1,f=i*r.pageSize-r.pageSize+1,t=r.customPagggingRecords,n=i*r.pageSize;return n>t&&(n=t),u=g?"(filtered from "+r.rxgs.gridObject.length+" total entries)":"","Showing "+f+"-"+n+" of "+t+" entries "+u};r.applyDateFilter=function(n,t){var i=[],n;r.currentGridSource=r.gridSource;n=n&&!isNaN(Date.parse(n))?Date.parse(n):0;r.gridSource&&r.gridSource.length>0&&($.each(r.gridSource,function(r,u){var f=Date.parse(u[t]);f==n&&i.push(u)}),r.rxgs.gridObject=i)};r.search={};r.conditionalShowBox=!1;r.setFunctions=function(){r.gridSource.selectAll=function(n,t){var f=u.find(r.rxgs.masterTableView.columns,{dataField:n}),i;f!=null&&f.length>0&&r.rxgs.gridObject!=null&&r.rxgs.gridObject.length>0&&(i=[],angular.isUndefined(r.gridOption.gridMaster.customPagging)?(i=o("filter")(r.rxgs.gridObject,r.search),i=o("orderBy")(i,r.SortColumnName,r.sortOrder),t||(i=o("startIndex")(i,r.currentPage*r.pageSize),i=o("limitTo")(i,r.pageSize))):(i=o("filter")(r.rxgs.gridObject,r.search),t||(i=o("startIndex")(i,r.currentPage*r.pageSize),i=o("limitTo")(i,r.pageSize))),angular.forEach(i,function(t){var f={},i;f[r.rxgs.gridMaster.primaryKey]=t[r.rxgs.gridMaster.primaryKey];i=u.find(r.rxgs.gridObject,f)[0];i!=null&&(i[n]=!0)}))};r.gridSource.deSelectAll=function(n,t){var f=u.find(r.rxgs.masterTableView.columns,{dataField:n}),i;f!=null&&f.length>0&&r.rxgs.gridObject!=null&&r.rxgs.gridObject.length>0&&(i=[],angular.isUndefined(r.gridOption.gridMaster.customPagging)?(i=o("filter")(r.rxgs.gridObject,r.search),i=o("orderBy")(i,r.SortColumnName,r.sortOrder),t||(i=o("startIndex")(i,r.currentPage*r.pageSize),i=o("limitTo")(i,r.pageSize))):(i=o("filter")(r.rxgs.gridObject,r.search),t||(i=o("startIndex")(i,r.currentPage*r.pageSize),i=o("limitTo")(i,r.pageSize))),angular.forEach(i,function(t){var f={},i;f[r.rxgs.gridMaster.primaryKey]=t[r.rxgs.gridMaster.primaryKey];i=u.find(r.rxgs.gridObject,f)[0];i!=null&&(i[n]=!1)}))};r.gridSource.isValueChange=function(){return r.isControlValueChanged};r.gridSource.currentPageGrid=function(){return i.currentPageId};r.gridSource.routeChanges=function(){r.popupTemplate={popupCss:r.modelPopup[r.popupIndexCount].popupCss};r.popupTemplateSrc=r.modelPopup[r.popupIndexCount];$("#popupTemplate"+r.gridName).modal({backdrop:"static",keyboard:!1});$("#popupTemplate"+r.gridName).modal("show")};r.gridSource.autoFilter=function(n){r.search.$=n};r.gridSource.columnFilter=function(n,t){r.search[n]=t};r.gridSource.gridEdit=function(n){r.conditionalShowBox=n};r.gridSource.setReadOnlyGrid=function(n){r.gridOption.isReadOnlyControl=n};r.gridSource.getPaggingResult=function(){return r.getPagingString()};r.gridSource.nextPage=function(){r.nextPage()};r.gridSource.ascendingRow=function(n){var i={},t,f;return(i[n]=r.selectedRowData[n]-1,t=u.find(r.filteredRxgs,i),t.length>0)?(r.isControlValueChanged=!0,f=t[0][n],t[0][n]=r.selectedRowData[n],r.selectedRowData[n]=f,{currentRow:r.selectedRowData,nextRow:t[0]}):undefined};r.gridSource.manageAscendingRow=function(n){var i={},t,f;return(i[n]=r.selectedRowData[n]-1,t=u.find(r.filteredRxgs,i),t.length>0)?(r.isControlValueChanged=!0,f=t[0][n],t[0][n]=r.selectedRowData[n],r.selectedRowData[n]=i[n],{currentRow:r.selectedRowData,nextRow:t[0]}):undefined};r.gridSource.manageDescendingRow=function(n){var i={},t,f;return(i[n]=r.selectedRowData[n]+1,t=u.find(r.filteredRxgs,i),t.length>0)?(r.isControlValueChanged=!0,f=t[0][n],t[0][n]=r.selectedRowData[n],r.selectedRowData[n]=i[n],{currentRow:r.selectedRowData,nextRow:t[0]}):undefined};r.gridSource.descendingRow=function(n){var i={},t,f;return(i[n]=r.selectedRowData[n]+1,t=u.find(r.filteredRxgs,i),t.length>0)?(r.isControlValueChanged=!0,f=t[0][n],t[0][n]=r.selectedRowData[n],r.selectedRowData[n]=f,{currentRow:r.selectedRowData,nextRow:t[0]}):undefined};r.gridSource.resetIndexRow=function(n){for(var t=0;t<r.gridSource.length;t++)r.gridSource[t][n]=t+1};r.gridSource.resetSearch=function(){$(".popover").remove();r.search={$:""};r.customSearch={};r.dbSearch={};e.save(r.gridName+"Search",{$:""});$(".read-filter").removeClass("read-filter");r.$parent.cPage=0;r.customPaggingPage=0;r.SortColumnName=r.gridOption.gridMaster.defaultSortColumn;r.sortOrder=undefined};r.gridSource.previousPage=function(){r.previousPage()};r.gridSource.hidePopup=function(n){angular.isUndefined(n)||(globalDirtyCheck[n]=undefined,globalDirtyCheck["base"+n]=undefined);$("#popupTemplate"+r.gridName).modal("hide");$(".modal-backdrop").removeClass("in");$("#bodyElement").removeClass("modal-open");$(".modal-backdrop").addClass("displayNone");typeof tinymce!="undefined"&&tinymce!=null&&tinymce.activeEditor!=null&&tinymce.remove();i.entityChangeRedirect=!1;p.callClearTimeoutFn()};r.gridSource.showPopup=function(n,u,f){i.vChange="";t.setCurrentEvent("add",r.gridName);$(".popover").remove();t.activeGrid=r.gridName;t.setJsonArray(r.rxgs.gridObject,r.gridName);t.setFilteredJsonArray(r.filteredRxgs,r.gridName);angular.isUndefined(r.rxgs.gridMaster.gridId)||t.setGridId(r.rxgs.gridMaster.gridId,r.gridName);r.popupTemplate={popupCss:n};r.popupTemplateSrc={src:u};$("#popupTemplate"+r.gridName).removeClass("displayNone");$("#popupTemplate"+r.gridName).modal({backdrop:"static",keyboard:!1});$("#popupTemplate"+r.gridName).modal("show");f&&p.callSetTimeoutFn("popupTemplate"+r.gridName)};r.gridSource.displayOffPopup=function(){$("#popupTemplate"+r.gridName).addClass("displayNone");r.gridName=="familyJobOrderGrid"&&(r.popupTemplateSrc={src:"Scripts/lib/rxapp/template/blank.html",popupCss:""})};r.gridSource.displayOnPopup=function(){$("#popupTemplate"+r.gridName).removeClass("displayNone")};r.gridSource.showSubPopup=function(n,i){$("#popupTemplate"+r.gridName).addClass("displayNone");t.activeGrid=r.gridName;t.setJsonArray(r.rxgs.gridObject,r.gridName);t.setFilteredJsonArray(r.filteredRxgs,r.gridName);angular.isUndefined(r.rxgs.gridMaster.gridId)||t.setGridId(r.rxgs.gridMaster.gridId,r.gridName);r.popupTemplate={popupCss:n};r.subPopupTemplateSrc={src:i};$("#subpopupTemplate"+r.gridName).hasClass("in")?$("#subpopupTemplate"+r.gridName).removeClass("displayNone"):($("#subpopupTemplate"+r.gridName).modal({backdrop:"static",keyboard:!1}),$("#subpopupTemplate"+r.gridName).modal("show"),$("#subpopupTemplate"+r.gridName).addClass("in"),$("#subpopupTemplate"+r.gridName).removeClass("displayNone"))};r.gridSource.hideSubPopup=function(){i.isPopupHide=!0;$("#popupTemplate"+r.gridName).removeClass("displayNone");r.subPopupTemplateSrc={src:"Scripts/lib/rxapp/template/blank.html"};$("#subpopupTemplate"+r.gridName).addClass("displayNone")};r.gridSource.resetGrid=function(n,t,i){angular.isUndefined(t)?(e.save(r.gridName+"PageIndex",0),r.currentPage=0,r.gridSource=n,r.tableHeadings=[],r.search={$:""},r.customSearch={},r.dbSearch={},r.isResetGridCall=!0,r.spSearch=!1,r.resetConditionalActionIcon(),r.setGrid()):(i!=undefined&&(r.customPaggingPage=i),e.save(r.gridName+"PageIndex",0),r.currentPage=0,r.gridSource=n,r.tableHeadings=[],r.search={$:""},r.customSearch={},r.isResetGridCall=!0,r.spSearch=!0,r.resetConditionalActionIcon(),r.setGrid())};r.gridSource.resetGridOptions=function(n){r.gridOption=n;r.search={$:""};r.customSearch={};r.isResetGridCall=!1;angular.isUndefined(r.gridOption.gridMaster.manageLayout)?r.setGrid():r.setManageLayout()};r.isInteger=function(n){return n===+n&&n===(n|0)};r.gridSource.getGridSource=function(){return r.gridSource};r.gridSource.exportColumnList=function(){for(var i=u.find(r.gridOption.masterTableView.columns,{isDataColumn:!0,activeColumn:!0}),o=u.convertToArrary(i,"dataField"),t=u.convertToArrary(i,"headerText"),f=[],e=[],n=0;n<t.length;n++)t[n]!="Edit"&&t[n]!="Delete"&&(f.push(t[n]),e.push(o[n]));return{headerTextColumns:f,dataFieldColumns:e}};r.gridSource.exportToCsv=function(){for(var v=u.find(r.gridOption.masterTableView.columns,{isDataColumn:!0,activeColumn:!0}),n=u.convertToArrary(v,"dataField"),l=u.convertToArrary(v,"headerText"),y=[],f,i,t,e,h,c,a,s=0;s<l.length;s++)l[s]!="Edit"&&l[s]!="Delete"&&y.push(l[s]);l=y;var p={columns:l,rows:[]},b=o("orderBy"),w=b(r.filteredRxgs,r.SortColumnName,r.sortOrder);for(s=0;s<w.length;s++){f=w[s];i=[];for(t in n)n[t]!=undefined&&(f[n[t]]==null?i.push(" "):(e=u.find(r.gridOption.masterTableView.columns,{dataField:n[t]})[0],angular.isUndefined(e.searchType)||e.searchType!="checkbox"?angular.isUndefined(r.gridOption.gridMaster.customSearchCheckbox)?angular.isUndefined(e.dateFilter)?n[t].indexOf("DateTimeLocal")!=-1||n[t].indexOf("DateLocal")!=-1?i.push(moment(f[n[t]],"YYYY-MM-DDTHH:mm:ss.SSSS").format("DD/MM/YYYY HH:mm")):i.push(f[n[t]]):(a=o("rxdatefilter"),i.push(a(f[n[t]],e.inputDateFormat,n,n[t]))):(h=u.find(r.gridOption.gridMaster.customSearchCheckbox,{dataField:n[t]})[0],angular.isUndefined(h)?angular.isUndefined(e.dateFilter)?n[t].indexOf("DateTimeLocal")!=-1||n[t].indexOf("DateLocal")!=-1?i.push(moment(f[n[t]],"YYYY-MM-DDTHH:mm:ss.SSSS").format("DD/MM/YYYY HH:mm")):i.push(f[n[t]]):(a=o("rxdatefilter"),i.push(a(f[n[t]],e.inputDateFormat,n,n[t]))):(c=u.find(h.source,{searchValue:f[n[t]]})[0],angular.isUndefined(c)||i.push(c.text))):f[n[t]]==e.trueValue?angular.isUndefined(e.activeValueText)?i.push("Active"):i.push(e.activeValueText.trueText):angular.isUndefined(e.activeValueText)?(h=u.find(r.gridOption.gridMaster.customSearchCheckbox,{dataField:n[t]})[0],angular.isUndefined(h)?i.push("Inactive"):(c=u.find(h.source,{searchValue:f[n[t]]})[0],angular.isUndefined(c)?n[t].indexOf("DateTimeLocal")!=-1||n[t].indexOf("DateLocal")!=-1?i.push(moment(f[n[t]],"YYYY-MM-DDTHH:mm:ss.SSSS").format("DD/MM/YYYY HH:mm")):i.push(f[n[t]]):i.push(c.text))):i.push(e.activeValueText.falseText)));p.rows.push({row:i})}return p};r.gridSource.resetGridOptionColumns=function(){var n=setTimeout(function(){r.currentSortColumn=r.SortColumnName;r.currentSortOrder=r.sortOrder;r.isSetGridOptions=!0;r.isResetGridCall=!0;angular.isUndefined(r.gridOption.gridMaster.manageLayout)?r.setGrid():r.setManageLayout()},1e3)};r.gridSource.getGridColumns=function(){return r.gridOption.masterTableView.columns};r.gridSource.filterResultCount=function(){return r.filteredRxgs!=null?r.filteredRxgs.length:0};r.gridSource.getColumnFilterObject=function(){return angular.copy(r.dbSearch)};r.gridSource.getOrderByColumn=function(){return angular.copy(r.SortColumnName)};r.gridSource.addNewItem=function(n,t){r.gridSource.splice(t,0,n)};r.gridSource.isOrderByColumn=function(){return angular.copy(r.sortOrder)}};r.isReadOnlyHtmlControl=function(n,t){var i,f;if(!angular.isUndefined(r.gridOption.gridMaster.conditionalDisableds)&&(i=u.find(r.gridOption.gridMaster.conditionalDisableds,{dataField:t.trim()}),i.length>0))for(f=0;f<i[0].source.length;f++)if(n[i[0].source[f].dataField]==i[0].source[f].value)return!0;return r.gridOption.isReadOnlyControl?!0:!1};r.isVisibleHtmlControl=function(n,t){var i,f;if(!angular.isUndefined(r.gridOption.gridMaster.conditionalHide)&&(i=u.find(r.gridOption.gridMaster.conditionalHide,{dataField:t.trim()}),i.length>0))for(f=0;f<i[0].source.length;f++)if(n[i[0].source[f].dataField]==i[0].source[f].value)return!0;return!1};r.allowNavigation=function(){var n={left:37,up:38,right:39,down:40};$("#"+r.gridName).find("input,select").keydown(function(t){var o=$(".datepicker.datepicker-dropdown").length;if(!(o>0)&&!($.inArray(t.which,[n.left,n.up,n.right,n.down])<0)){var u=t.target,r=$(t.target).closest("td"),i=null;switch(t.which){case n.left:u.tagName=="SELECT"?i=r.prev("td:has(input,textarea,select)"):u.selectionStart==0&&(i=r.prev("td:has(input,textarea,select)"));break;case n.right:u.tagName=="SELECT"?i=r.next("td:has(input,textarea,select)"):u.selectionEnd==u.value.length&&(i=r.next("td:has(input,textarea,select)"));break;case n.up:case n.down:var e=r.closest("tr"),s=r[0].cellIndex,f=null;t.which==n.down?f=e.next("tr"):t.which==n.up&&(f=e.prev("tr"));f.length&&(i=$(f[0].cells[s]))}i&&i.length&&(t.preventDefault(),i.find("input,textarea,select").each(function(i,r){r.focus();r.readOnly||r.disabled?r.select():r.tagName=="INPUT"&&t.which==n.left?r.setSelectionRange(r.value.length,r.value.length):r.tagName=="INPUT"&&r.setSelectionRange(0,0)}))}})};d="";r.isResetGridCall=!1;r.setGrid=function(){var e,k,g,v,y,o,s,c,p,h,f,w;if(r.conditionalShowBox=!1,tt=!0,nt=!1,r.spSearch||(r.customSearch={}),r.tableWidth=0,i.entityFlagChanged=undefined,it="",r.tableHeadings=[],r.setFunctions(),r.createCustomColumn=!0,b=r.rxgs=r.gridOption,r.rxgs.gridObject=r.gridSource,b.gridObject=r.gridSource,r.pageSize=angular.isUndefined(b.gridMaster.pageSize)?10:b.gridMaster.pageSize,r.gridName=angular.isUndefined(b.gridMaster.gridName)?"":b.gridMaster.gridName,r.gridOption.isReadOnlyControl=angular.isUndefined(b.gridMaster.readOnlyControl)?!1:b.gridMaster.readOnlyControl,d=angular.isUndefined(b.gridMaster.primaryKey)?"":b.gridMaster.primaryKey,t.activeGrid=r.gridName,r.disabledAttribute=b.gridMaster.conditionalReadonly?" ng-readonly":" ng-disabled",t.setJsonArray(r.rxgs.gridObject,r.gridName),r.gridOption.actualMasterTableView!=undefined&&t.setActualMasterTableView(r.gridOption.actualMasterTableView,r.gridName),angular.isUndefined(r.rxgs.gridMaster.gridId)||t.setGridId(r.rxgs.gridMaster.gridId,r.gridName),r.searchColumns=angular.isUndefined(r.gridOption.gridMaster.searchColumns)?[]:r.gridOption.gridMaster.searchColumns,r.globalSearchData=angular.isUndefined(r.gridOption.gridMaster.globalSearchData)?!1:!0,r.currentPage=0,angular.isUndefined(r.gridOption.gridMaster.customPagging)||angular.isUndefined(r.gridSource[0])||(r.customPagggingRecords!=r.gridSource[0][r.gridOption.gridMaster.customPagging.recordCountColumn]&&(r.customPaggingPage=0),r.customPagggingRecords=r.gridSource[0][r.gridOption.gridMaster.customPagging.recordCountColumn]),e="",!angular.isUndefined(b.gridCss)){if(e=angular.isUndefined(b.gridCss)?"<table>":r.setTableCSS(b.gridCss),e+=angular.isUndefined(b.gridCss)?"<thead>":r.setTableHeadingCss(b.gridCss),k=angular.isUndefined(r.gridOption.gridMaster.autoWidthColumn)?!1:r.gridOption.gridMaster.autoWidthColumn,g=u.find(r.gridOption.masterTableView.columns,{activeColumn:!0}),e+='<tr class="'+r.setTableHeadingRowCss(b.gridCss)+'"><th ng-repeat="th in tableHeadings"  id="theading{{gridName}}{{th.sortColumn}}"  ng-style="th.columnWidth"   class="rxcursor  {{th.headerCss}} {{th.sortCss}}"><div style="float:left; padding-right:5px;"><span  ng-show="th.showSearch" ng-click="showCustomFilter(th)"   id="th{{gridName}}{{th.sortColumn}}" ><i class="icon-filter  rxfilter" ><\/i> <\/span><\/div><div style="float:left; width:80%;"><label ng-show="th.showHeaderCheckbox == true" style="" class="checkbox-inline grid-header-checkbox "><input type="checkbox" class="cursor" ng-init="initCheckboxHeader(th.dataField)" ng-model="checkboxHeaders[th.dataField]" ng-change="selectAllRecords(th.dataField,checkboxHeaders[th.dataField])"><\/label><\/div><div style="float:left; width:80%;" class="sort-column" ng-click="changeSortOrder(th)">{{th.headerText}} <i class="icon-long-arrow-up icon-2 rx-sort" ng-show="th.activeAscIcon"><\/i><i class="icon-long-arrow-down icon-2 rx-sort" ng-show="th.activeDscIcon"><\/i><\/div><\/th><\/tr><\/thead>',angular.isUndefined(r.gridOption.gridMaster.gridFooter)||(e+=r.setFooter()),e+="<tbody>"+r.setconditionalRowCss(),!angular.isUndefined(b.masterTableView)){if(angular.forEach(b.masterTableView.columns,function(n){var t;angular.isUndefined(n.activeColumn)?(t=r.setTableHeadings(n),t!=!1&&(e+=r.setTableRows(n))):n.activeColumn&&(t=r.setTableHeadings(n),t!=!1&&(e+=r.setTableRows(n)))}),e+="<\/table><\/div>",e+=r.setFooterPagingInformation(),r.subPopupTemplateSrc={},r.isResetGridCall||($("#popupTemplate"+r.gridName).off(),$("#popupTemplate"+r.gridName).remove()),v='<div data-display="block" id="popupTemplate'+r.gridName+'" class="modal fade {{popupTemplate.popupCss}} showpopup"  tabindex="-1" role="dialog" aria-labelledby="popupTemplateLabel" aria-hidden="true"><div ng-include src="popupTemplateSrc.src"><\/div><\/div>',y='<div  id="subpopupTemplate'+r.gridName+'" class="modal fade {{popupTemplate.popupCss}} showpopup"  tabindex="-1" role="dialog" aria-labelledby="popupTemplateLabel" aria-hidden="true"><div ng-include src="subPopupTemplateSrc.src"><\/div><\/div>',e+=it,r.popupTemplateSrc={src:"",popupCss:""},r.mainTableWidth=r.gridName=="costCentreGrid"?"":r.mainTableWidth,tt&&(r.SortColumnName=angular.isUndefined(r.gridOption.gridMaster.defaultSortColumn)?"":r.gridOption.gridMaster.defaultSortColumn,r.SortOrder=r.SortOrder==undefined?!0:r.sortOrder),r.isSetGridOptions){for(r.isSetGridOptions=!1,r.SortColumnName=r.currentSortColumn,r.sortOrder=r.currentSortOrder,o=u.find(r.tableHeadings,{sortColumn:r.SortColumnName})[0],f=0;f<r.tableHeadings.length;f++)r.tableHeadings[f].sortCss="sorting",r.tableHeadings[f].activeAscIcon=undefined,r.tableHeadings[f].activeDscIcon=undefined;angular.isUndefined(o)||(o.sortCss=r.sortOrder?"sorting_asc":"sorting_desc",o.sortOrder=r.sortOrder,o.activeSortColumn=r.sortOrder,o.activeAscIcon=r.sortOrder?!1:!0,o.activeDscIcon=r.sortOrder?!0:!1)}r.isResetGridCall||($("#popupTemplate"+r.gridName).modal("destroy"),$("#popupTemplate"+r.gridName).off(),$("#popupTemplate"+r.gridName).remove(),$("#subpopupTemplate"+r.gridName).off(),$("#subpopupTemplate"+r.gridName).remove());r.gridOption.gridMaster.setTabIndex!=undefined&&(r.lastTabIndex=r.gridOption.gridMaster.setTabIndex.startIndex!=undefined?r.gridOption.gridMaster.setTabIndex.startIndex:1);s=n(e)(r);$(l).html(s);r.isResetGridCall||(s=n(y)(r),$("#bodyElement").append(s),s=n(v)(r),$("#bodyElement").append(s));s=null;c=setTimeout(function(){r.gridOption.gridMaster.allowKeyboardNavigation&&r.allowNavigation()},100);i.resumePopup=!1;c=setTimeout(function(){r.resetTableWidth();r.$apply()},1e3);$("#popupTemplate"+r.gridName).on("hide.bs.modal",function(u){var e,o,f;if(t[r.gridName].event!="add"&&!angular.isUndefined(r.gridOption.gridMaster.formName))if(e=!1,angular.isUndefined(globalDirtyCheck.currentForm)||(e=!(globalDirtyCheck.currentForm.$valid&&globalDirtyCheck.currentForm.$rxvalid)),o=globalDirtyCheck[r.gridOption.gridMaster.formName]!=undefined&&globalDirtyCheck["base"+r.gridOption.gridMaster.formName]!=undefined&&Object.keys(globalDirtyCheck[r.gridOption.gridMaster.formName]).length>0&&Object.keys(globalDirtyCheck["base"+r.gridOption.gridMaster.formName]).length>0,e||!o||angular.equals(globalDirtyCheck[r.gridOption.gridMaster.formName],globalDirtyCheck["base"+r.gridOption.gridMaster.formName]))angular.isUndefined(r.gridOption.gridMaster.formName)||(globalDirtyCheck[r.gridOption.gridMaster.formName]=undefined,globalDirtyCheck["base"+r.gridOption.gridMaster.formName]=undefined),angular.isUndefined(r.gridOption.gridMaster.entityLock)||angular.isUndefined(t[r.gridName].row)||(f={entityId:t[r.gridName].row[r.gridOption.gridMaster.primaryKey],entityType:r.gridName,Unlock:!0},r.$parent.eLock=f,r.$parent.entityLock(r.$parent.eLock,!0,!0));else if(a.alert.dataLost){i.resumePopup=!1;u.preventDefault();$("#rxload").removeClass("rxloadout").addClass("rxloadin");$("#rxload").html(n(' <div class="mainOverlayout"><div class="alertbox"><div id="rxAlert" class="alertbox" style="max-height: 417.6px;"><div class="modal-header"><h5>Data Lost<\/h5><\/div><div class="modal-body">Do you want to save changes made to this record?<\/div><div class="modal-footer"><button  class="btn btn-primary" ng-click="alertEventProcess()">Save<\/button><button  class="btn btn-primary" ng-click="dataLossPopup(true)">Dont Save<\/button><button  class="btn btn-primary" ng-click="dataLossPopup(false)">Cancel<\/button><\/div><\/div><\/div><\/div>')(r))}else angular.isUndefined(r.gridOption.gridMaster.entityLock)||angular.isUndefined(t[r.gridName].row)||(f={entityId:t[r.gridName].row[r.gridOption.gridMaster.primaryKey],entityType:r.gridName,Unlock:!0},r.$parent.eLock=f,r.$parent.entityLock(r.$parent.eLock,!0,!0));i.isPopupHide=!0;i.$apply()});$("#popupTemplate"+r.gridName).on("hidden.bs.modal",function(){$("#rxload").removeClass("rxloadin").addClass("rxloadout");$("#subpopupTemplate"+r.gridName).removeClass("in");$(".modal-backdrop").removeClass("fade");$(".modal-backdrop").removeClass("in");$(".modal-backdrop").removeClass("modal-backdrop");r.$apply(function(){r.popupTemplateSrc={src:"Scripts/lib/rxapp/template/blank.html",popupCss:""}})});for(p=r.gridSource.length>r.pageSize?r.pageSize:r.gridSource.length,f=0;f<p;f++)for(h=0;h<r.inlineToolTipArray.length;h++)$("#"+r.inlineToolTipArray[h].controlId+f).tooltip({title:r.inlineToolTipArray[h].title,placement:r.inlineToolTipArray[h].placement,trigger:"hover"})}if(r.isResetGridCall)w=r.spSearch?setTimeout(function(){for(var n in r.dbSearch)r.dbSearch[n]!=""&&r.dbSearch[n]!=undefined&&(r.customSearch[n]=r.dbSearch[n],n!="$"&&$("#th"+r.gridName+n).addClass("read-filter"));r.$apply()},500):setTimeout(function(){for(var n in r.search)r.search[n]!=""&&(r.customSearch[n]=r.search[n],n!="$"&&$("#th"+r.gridName+n).addClass("read-filter"));r.$apply()},500);else if(r.search={},!angular.isUndefined(b.gridMaster.defaultSearch))for(r.customSearch={},f=0;f<b.gridMaster.defaultSearch.length;f++)r.search[b.gridMaster.defaultSearch[f].dataField]=b.gridMaster.defaultSearch[f].value,r.customSearch[b.gridMaster.defaultSearch[f].dataField]=b.gridMaster.defaultSearch[f].value}};r.spSearch=!0;r.dataLossPopup=function(n,u){if(n){if(r.gridOption.gridMaster.formName!=undefined&&u==undefined&&r.gridSource.hidePopup(r.gridOption.gridMaster.formName),!angular.isUndefined(r.gridOption.gridMaster.entityLock)&&!angular.isUndefined(t[t.activeGrid].row)){var f={entityId:t[t.activeGrid].row[r.gridOption.gridMaster.primaryKey],entityType:r.gridName,Unlock:!0};r.$parent.eLock=f;r.$parent.entityLock(r.$parent.eLock,!0)}c.hide();i.$apply()}else c.hide()};r.alertEventProcess=function(){t[r.gridName].event=="edit"||t[r.gridName].event=="view"?angular.isUndefined(r.gridOption.gridMaster.alertEvent.update)||(c.scopeOption.$eval(r.gridOption.gridMaster.alertEvent.update),r.dataLossPopup(!0,!0)):t[r.gridName].event=="delete"};r.resetTableWidth=function(){};rt=r.$on("rxGridTableWidthBroadCast",function(n,t,i){if(nt=!1,i){var f=[];f=u.find(r.gridOption.masterTableView.columns,{activeColumn:!0});f.length>1&&(k=$(l[0].parentElement).width(),angular.isUndefined(r.gridOption.gridMaster.saveWidth)||(r.gridOption.gridMaster.saveWidth?e.save("securityg",k):k=parseInt(e.fetch("securityg"))),k==0&&(k=parseInt(e.fetch("securityg"))),$("#mainGrid"+r.gridName).width()<k&&(r.previousTableWidth=angular.copy(r.mainTableWidth),r.mainTableWidth={width:k+"px"},k=(k-105)/f.length))}else r.previousTableWidth!=undefined&&(r.mainTableWidth=angular.copy(r.previousTableWidth),r.previousTableWidth=undefined)});r.setManageLayout=function(){var et=v.get("lid"),nt=u.find(e.fetch("userGridLayouts",!0),{applicationObjectId:r.gridOption.gridMaster.gridId,pageId:i.currentPageId}),b,k,g,rt,f,ut,d,c,o,y,p,s,n,h,l;if(angular.isUndefined(r.gridOption.actualMasterTableView)){for(s={columns:[]},n=0;n<r.gridOption.masterTableView.columns.length;n++){h={};for(l in r.gridOption.masterTableView.columns[n])h[l]=r.gridOption.masterTableView.columns[n][l];s.columns.push(h)}r.gridOption.actualMasterTableView=s}if(nt.length>0){var t=[],o=u.find(r.gridOption.actualMasterTableView.columns,{columnType:"actionsColumn"}),w=null,tt=!1;if(o.length>0&&(w=r.gridOption.actualMasterTableView.columns.indexOf(o[0]),w==0))for(tt=!0,n=0;n<o.length;n++)t.push(o[n]);if(b=u.find(r.gridOption.actualMasterTableView.columns,{columnType:"dropdownActionsColumn"}),b.length>0&&(w=r.gridOption.actualMasterTableView.columns.indexOf(b[0]),w==0))for(tt=!0,n=0;n<b.length;n++)t.push(b[n]);k=u.find(nt,{isVisible:!0});k=u.sortBy(k,"positionIndex");var ft=angular.isUndefined(r.gridOption.gridMaster.isEditableGrid)?!1:r.gridOption.gridMaster.isEditableGrid,it=1,a=1;for(o.length>0&&!angular.isUndefined(o[0].actions)&&(it=o[0].actions.length),ft&&(g=u.find(r.gridOption.masterTableView.columns,{columnType:"checkboxColumn"})[0],(g!=null||g!=undefined)&&(g.tabindex=a,a++)),n=0;n<k.length;n++)if(f=undefined,f=angular.copy(u.find(r.gridOption.actualMasterTableView.columns,{dataField:k[n].columnName})[0],f),!angular.isUndefined(f)){if(f.positionIndex=n+1,f.activeColumn=!0,ft)if(!angular.isUndefined(f.conditionalColumns)&&f.conditionalColumns.length>0&&!angular.isUndefined(f.conditionalColumns[0].conditionalView)&&f.conditionalColumns[0].conditionalView.length>0)for(j=0;j<f.conditionalColumns[0].conditionalView.length;j++)f.conditionalColumns[0].conditionalView[j].tabindex=a+it,a++;else angular.isUndefined(f.tabindex)||(f.tabindex=a+it,a++);t.push(f)}for(rt=u.find(nt,{isVisible:!1}),n=0;n<rt.length;n++)f=undefined,f=angular.copy(u.find(r.gridOption.actualMasterTableView.columns,{dataField:rt[n].columnName})[0],f),angular.isUndefined(f)||(f.positionIndex=-1,f.activeColumn=!1,t.push(f));if(!tt)for(n=0;n<o.length;n++)t.push(o[n]);for(n=0;n<r.gridOption.actualMasterTableView.columns.length;n++)angular.isUndefined(r.gridOption.actualMasterTableView.columns[n].forceCheckboxColumn)||t.splice(r.gridOption.actualMasterTableView.columns[n].forceCheckboxColumn.position,0,r.gridOption.actualMasterTableView.columns[n]);for(n=0;n<r.gridOption.actualMasterTableView.columns.length;n++)angular.isUndefined(r.gridOption.actualMasterTableView.columns[n].forceIconColumn)||t.splice(r.gridOption.actualMasterTableView.columns[n].forceIconColumn.position,0,r.gridOption.actualMasterTableView.columns[n]);for(ut=u.find(r.gridOption.masterTableView.columns,{columnType:"inlineClickColumn"})[0],ut!=undefined&&t.push(ut),d=u.find(r.gridOption.actualMasterTableView.columns,{columnType:"actionsColumn"}),d.length>0&&!angular.isUndefined(d[0].forceRelatedColumnName)&&(t.splice(t.length-1,1),y=u.find(t,{dataField:d[0].forceRelatedColumnName}),p=t.indexOf(y[0]),t.splice(p,0,d[0])),c=[],n=0;n<r.gridOption.actualMasterTableView.columns.length;n++)r.gridOption.actualMasterTableView.columns[n].columnType!="textColumn"&&r.gridOption.actualMasterTableView.columns[n].columnType!="iconColumn"||angular.isUndefined(r.gridOption.actualMasterTableView.columns[n].forceRelatedColumnName)||c.push(r.gridOption.actualMasterTableView.columns[n]);if(c.length>0){for(o=angular.copy(t[t.length-1]),t.splice(t.length-1,1),n=0;n<c.length;n++)y=u.find(t,{dataField:c[n].forceRelatedColumnName}),p=c[n].isPreceededColumn?t.indexOf(y[0]):t.indexOf(y[0])+1,t.splice(p,0,c[n]);t.splice(w,0,o)}r.gridOption.masterTableView.columns=t;r.setGrid()}else{for(s={columns:[]},n=0;n<r.gridOption.masterTableView.columns.length;n++){h={};for(l in r.gridOption.masterTableView.columns[n])h[l]=r.gridOption.masterTableView.columns[n][l];s.columns.push(h)}r.gridOption.masterTableView=s;r.setGrid()}};r.resetConditionalActionIcon=function(){r.gridOption.gridMaster.conditionalActions&&angular.forEach(r.gridSource,function(n){n.isRemovedIcon=undefined})};this.updateGridSource=function(n){angular.isUndefined(n)||r.createCustomColumn||(angular.isUndefined(r.gridOption.gridMaster.manageLayout)?r.setGrid():r.setManageLayout(),ut(),ut=null)};ut=r.$watch("gridSource",this.updateGridSource,!0);ft=r.$on("$destroy",function(){e.clear(r.gridName+"PageIndex");e.clear(r.gridName+"Search");l.remove();t[r.gridName]=undefined;ft();ft=null;rt();rt=null;$(l).off();$(l).remove();l=null;r.gridSource=null;r.rxgs!=undefined&&r.rxgs.gridObject!=undefined&&(r.rxgs.gridObject=null,delete r.rxgs.gridObject);r.gridOption!=undefined&&r.gridOption.gridObject!=undefined&&r.gridOption.gridObject!=null&&(r.gridOption.gridObject=null,delete r.gridOption.gridObject);r.rxgs=null;r=null})}],link:function(n,t,i,r){var u=n.$on("$destroy",function(){u();u=null;t.off();t.remove();t=null;i=null;r=null;n=null})},replace:!0}}]),rx.factory("rxData",["$rootScope","rxJson",function(n,t){var i={jsonObject:{},jsonArray:[],eventJsonArray:[],filteredJsonArray:[],isFiltered:!1,headingJsonArray:[],subGridJsonArray:{},gridChangedData:{},activeGrid:{}};return i.setJsonObject=function(n,t){angular.isUndefined(i[t])?(i[t]={},i[t].row=n):i[t].row=n},i.setGridId=function(n,t){angular.isUndefined(i[t])?(i[t]={},i[t].gridId=n):i[t].gridId=n},i.setJsonArray=function(n,t){angular.isUndefined(i[t])?(i[t]={},i[t].source=n):i[t].source=n},i.setActualMasterTableView=function(n,t){angular.isUndefined(i[t])?(i[t]={},i[t].actualMasterTableView=n):i[t].actualMasterTableView=n},i.setFilteredJsonArray=function(n,t){angular.isUndefined(i[t])?(i[t]={},i[t].filteredSource=n):i[t].filteredSource=n},i.setLanguageHeader=function(n){var r,f,u;for(r in n)f=t.find(i.headingJsonArray,{languageProperty:r})[0],u=i.headingJsonArray.indexOf(f),u!=-1&&(i.headingJsonArray[u].headerText=n[r])},i.setCurrentEvent=function(n,t){angular.isUndefined(i[t])||(i[t].event=n)},i.setHeadingJsonArray=function(n){i.headingJsonArray=n},i.add=function(n,t){angular.isUndefined(i[t])||i[t].source.push(n)},i.rowDelete=function(n,t){if(!angular.isUndefined(i[n])){var r=-1;r=angular.isUndefined(t)?i[n].source.indexOf(i[n].row):i[n].source.indexOf(t);r!=-1&&i[n].source.splice(r,1);i.filteredJsonArray!=0&&(r=i[n].filteredSource.indexOf(i.jsonObject),r!=-1&&i[n].filteredSource.splice(r,1))}},i.groupedGridSource=function(n,i,r){var u,f,e,c,o,h,s;if(n!=null){if(u=[],f={},f[r]=0,e=t.find(n,f),e!=null&&e.length>0)for(c=e.length,o=0;o<c;o++)h=e[o],f[r]=h[i],u.push(h),s=t.find(n,f),s!=null&&s.length>0&&(u=u.concat(s));return u}return[]},i}]),rx.filter("startIndex",function(){return function(n,t){return t=+t,n.slice(t)}}),rx.filter("activetext",function(){return function(n,t){return angular.isUndefined(t)?n==0?"InActive":"Active":n?t.trueText:t.falseText}}),rx.filter("foldertexttruncate",function(){return function(n){return String(n).length>60?String(n).substring(0,60)+"...":n}}),rx.filter("texttruncate",function(){return function(n,t,i){var r="...",u,o,s,f,e;return angular.isString(t)?(u=$("#theading"+t+i).width()/8,o=u/2,String(n).length>parseInt(u)&&u>0?(s=String(n).substring(0,o-r.length)+r,String(n).substring(0,o-r.length)+r):n):(f=t,n!=undefined&&f>0)?(e="",e=n.substring(0,f),n.length>f?e+r:e):n}}),rx.filter("rxfilter",["rxJson",function(n){return function(t,i,r){return angular.isUndefined(t)?undefined:n.filter(r,i,t)}}]),rx.filter("anymessage",function(){return function(n){return n==null?"Any":n}}),rx.filter("rxdatefilter",["appConfig",function(n){return function(t,i,r,u){if(i=angular.isUndefined(i)?n.dateConfig.inputFormats.date:i,!angular.isUndefined(t)&&t!=null&&t!=""&&i!=""){var f=moment(t,i).format(n.dateConfig.displayFormats.date);return r!=undefined&&u!=undefined&&(r[u+"1"]=f),f}return""}}]),rx.filter("rxPercent",function(){return function(n){return!angular.isUndefined(n)&&n!=null&&n!=""?n+"%":"0.00%"}}),rx.filter("rxCurrency",function(){return function(n,t){if(!angular.isUndefined(n)&&n!=null){$("#temp").text(n).formatCurrency();var i=$("#temp").html();return t=t==null?"":t,i.replace("$",t)}return n}}),rx.filter("viewtext",function(){return function(n,t){var r,i;if(n!=undefined){for(r="",i=0;i<t;i++)r+=n.charAt(i);return r}return""}}),rx.filter("rxGridFilter",["configuration",function(n){function t(t,i){if(/^(true|false)$/i.test(i))return(t+"").indexOf(i)===0;if(/^\s*\d+\s*$/i.test(i))return n.global.defaultWildCardSearch||i.indexOf("%")!=-1?(t+"").indexOf(i)===0:angular.equals(t.toLowerCase()+"",i.toLowerCase());if(t==null)return!1;if(n.global.defaultWildCardSearch||i.indexOf("%")!=-1)if(i.indexOf("%")!=-1){if(i.indexOf("%")==i.length-1)return i=i.replace(/%/g,""),(t.toLowerCase()+"").indexOf(i.toLowerCase())===0;if(i.indexOf("%")==0||i.indexOf("%")==0&&i.indexOf("%",0)==i.length-1)return i=i.replace(/%/g,""),(t.toLowerCase()+"").indexOf(i.toLowerCase())!=-1}else return i=i.replace(/%/g,""),(t.toLowerCase()+"").indexOf(i.toLowerCase())===0;else return i=i.replace(/%/g,""),angular.equals(t.toLowerCase()+"",i.toLowerCase())}return function(n,i){var f=[],r=!1,u;for(u in i)u!="$"?i[u]==""?/^(true|false)$/i.test(i[u])?r=!0:(i[u]=undefined,r=!1):r=!0:r=!1;return r?(angular.forEach(n,function(n){var u=1,e=1,r;for(r in i)i[r]!=undefined&&r!="$"&&(e++,t(String(n[r]),i[r])&&u++);e==u&&f.push(n)}),f):n}}]),rx.directive("rxEnter",function(){return function(n,t,i){t.bind("keydown keypress",function(t){t.which===13&&(console.log("rxEnter called"),n.$apply(function(){n.$eval(i.myEnter)}),t.preventDefault())})}}),rx.filter("rxOrderBy",["$filter",function(n){return function(t,i,r,u,f){if(!angular.isUndefined(u)&&u)(t.sortProcessDone!=r||t.lastSortColumnName!=i)&&(r?t.sort(function(n,t){return n[i]==null||n[i]==""?1:t[i]==null||t[i]==""?-1:moment(t[i],f).diff(moment(n[i],f))}):t.sort(function(n,t){return n[i]==null||n[i]==""?1:t[i]==null||t[i]==""?-1:moment(n[i],f).diff(moment(t[i],f))})),t.lastSortColumnName=i,t.sortProcessDone=r;else{var e=n("orderBy");t=e(t,i,r)}return t}}]),function(n,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):n.moment=t()}(this,function(){"use strict";function t(){return uf.apply(null,arguments)}function ys(n){uf=n}function at(n){return n instanceof Array||Object.prototype.toString.call(n)==="[object Array]"}function vi(n){return n!=null&&Object.prototype.toString.call(n)==="[object Object]"}function ps(n){var t;for(t in n)return!1;return!0}function yi(n){return n instanceof Date||Object.prototype.toString.call(n)==="[object Date]"}function ff(n,t){for(var r=[],i=0;i<n.length;++i)r.push(t(n[i],i));return r}function l(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function vt(n,t){for(var i in t)l(t,i)&&(n[i]=t[i]);return l(t,"toString")&&(n.toString=t.toString),l(t,"valueOf")&&(n.valueOf=t.valueOf),n}function rt(n,t,i,r){return so(n,t,i,r,!0).utc()}function ws(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function u(n){return n._pf==null&&(n._pf=ws()),n._pf}function pr(n){if(n._isValid==null){var t=u(n),r=ef.call(t.parsedDateParts,function(n){return n!=null}),i=!isNaN(n._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(n._strict&&(i=i&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===undefined),Object.isFrozen!=null&&Object.isFrozen(n))return i;n._isValid=i}return n._isValid}function pi(n){var t=rt(NaN);return n!=null?vt(u(t),n):u(t).userInvalidated=!0,t}function b(n){return n===void 0}function wr(n,t){var f,i,r;if(b(t._isAMomentObject)||(n._isAMomentObject=t._isAMomentObject),b(t._i)||(n._i=t._i),b(t._f)||(n._f=t._f),b(t._l)||(n._l=t._l),b(t._strict)||(n._strict=t._strict),b(t._tzm)||(n._tzm=t._tzm),b(t._isUTC)||(n._isUTC=t._isUTC),b(t._offset)||(n._offset=t._offset),b(t._pf)||(n._pf=u(t)),b(t._locale)||(n._locale=t._locale),wi.length>0)for(f in wi)i=wi[f],r=t[i],b(r)||(n[i]=r);return n}function si(n){wr(this,n);this._d=new Date(n._d!=null?n._d.getTime():NaN);bi===!1&&(bi=!0,t.updateOffset(this),bi=!1)}function yt(n){return n instanceof si||n!=null&&n._isAMomentObject!=null}function k(n){return n<0?Math.ceil(n)||0:Math.floor(n)}function f(n){var t=+n,i=0;return t!==0&&isFinite(t)&&(i=k(t)),i}function of(n,t,i){for(var e=Math.min(n.length,t.length),o=Math.abs(n.length-t.length),u=0,r=0;r<e;r++)(i&&n[r]!==t[r]||!i&&f(n[r])!==f(t[r]))&&u++;return u+o}function sf(n){t.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+n)}function d(n,i){var r=!0;return vt(function(){var e,u,f,o;if(t.deprecationHandler!=null&&t.deprecationHandler(null,n),r){for(e=[],f=0;f<arguments.length;f++){if(u="",typeof arguments[f]=="object"){u+="\n["+f+"] ";for(o in arguments[0])u+=o+": "+arguments[0][o]+", ";u=u.slice(0,-2)}else u=arguments[f];e.push(u)}sf(n+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack);r=!1}return i.apply(this,arguments)},i)}function kr(n,i){t.deprecationHandler!=null&&t.deprecationHandler(n,i);br[n]||(sf(i),br[n]=!0)}function et(n){return n instanceof Function||Object.prototype.toString.call(n)==="[object Function]"}function bs(n){var t,i;for(i in n)t=n[i],et(t)?this[i]=t:this["_"+i]=t;this._config=n;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function hf(n,t){var r=vt({},n),i;for(i in t)l(t,i)&&(vi(n[i])&&vi(t[i])?(r[i]={},vt(r[i],n[i]),vt(r[i],t[i])):t[i]!=null?r[i]=t[i]:delete r[i]);for(i in n)l(n,i)&&!l(t,i)&&vi(n[i])&&(r[i]=vt({},r[i]));return r}function dr(n){n!=null&&this.set(n)}function ks(n,t,i){var r=this._calendar[n]||this._calendar.sameElse;return et(r)?r.call(t,i):r}function ds(n){var t=this._longDateFormat[n],i=this._longDateFormat[n.toUpperCase()];return t||!i?t:(this._longDateFormat[n]=i.replace(/MMMM|MM|DD|dddd/g,function(n){return n.slice(1)}),this._longDateFormat[n])}function gs(){return this._invalidDate}function nh(n){return this._ordinal.replace("%d",n)}function th(n,t,i,r){var u=this._relativeTime[i];return et(u)?u(n,t,i,r):u.replace(/%d/i,n)}function ih(n,t){var i=this._relativeTime[n>0?"future":"past"];return et(i)?i(t):i.replace(/%s/i,t)}function p(n,t){var i=n.toLowerCase();ri[i]=ri[i+"s"]=ri[t]=n}function g(n){return typeof n=="string"?ri[n]||ri[n.toLowerCase()]:undefined}function gr(n){var r={},i,t;for(t in n)l(n,t)&&(i=g(t),i&&(r[i]=n[t]));return r}function w(n,t){nu[n]=t}function rh(n){var t=[],i;for(i in n)t.push({unit:i,priority:nu[i]});return t.sort(function(n,t){return n.priority-t.priority}),t}function ui(n,i){return function(r){return r!=null?(bf(this,n,r),t.updateOffset(this,i),this):ki(this,n)}}function ki(n,t){return n.isValid()?n._d["get"+(n._isUTC?"UTC":"")+t]():NaN}function bf(n,t,i){n.isValid()&&n._d["set"+(n._isUTC?"UTC":"")+t](i)}function uh(n){return(n=g(n),et(this[n]))?this[n]():this}function fh(n,t){var r,i;if(typeof n=="object")for(n=gr(n),r=rh(n),i=0;i<r.length;i++)this[r[i].unit](n[r[i].unit]);else if(n=g(n),et(this[n]))return this[n](t);return this}function ot(n,t,i){var r=""+Math.abs(n),u=t-r.length,f=n>=0;return(f?i?"+":"":"-")+Math.pow(10,Math.max(0,u)).toString().substr(1)+r}function r(n,t,i,r){var u=r;typeof r=="string"&&(u=function(){return this[r]()});n&&(fi[n]=u);t&&(fi[t[0]]=function(){return ot(u.apply(this,arguments),t[1],t[2])});i&&(fi[i]=function(){return this.localeData().ordinal(u.apply(this,arguments),n)})}function eh(n){return n.match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"")}function oh(n){for(var t=n.match(kf),i=0,r=t.length;i<r;i++)t[i]=fi[t[i]]?fi[t[i]]:eh(t[i]);return function(i){for(var f="",u=0;u<r;u++)f+=t[u]instanceof Function?t[u].call(i,n):t[u];return f}}function iu(n,t){return n.isValid()?(t=df(t,n.localeData()),tu[t]=tu[t]||oh(t),tu[t](n)):n.localeData().invalidDate()}function df(n,t){function r(n){return t.longDateFormat(n)||n}var i=5;for(di.lastIndex=0;i>=0&&di.test(n);)n=n.replace(di,r),di.lastIndex=0,i-=1;return n}function i(n,t,i){fu[n]=et(t)?t:function(n){return n&&i?i:t}}function sh(n,t){return l(fu,n)?fu[n](t._strict,t._locale):new RegExp(hh(n))}function hh(n){return dt(n.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(n,t,i,r,u){return t||i||r||u}))}function dt(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function s(n,t){var i,r=t;for(typeof n=="string"&&(n=[n]),typeof t=="number"&&(r=function(n,i){i[t]=f(n)}),i=0;i<n.length;i++)ur[n[i]]=r}function ci(n,t){s(n,function(n,i,r,u){r._w=r._w||{};t(n,r._w,r,u)})}function ch(n,t,i){t!=null&&l(ur,n)&&ur[n](t,i._a,i,n)}function eu(n,t){return new Date(Date.UTC(n,t+1,0)).getUTCDate()}function vh(n,t){return n?at(this._months)?this._months[n.month()]:this._months[(this._months.isFormat||ou).test(t)?"format":"standalone"][n.month()]:this._months}function yh(n,t){return n?at(this._monthsShort)?this._monthsShort[n.month()]:this._monthsShort[ou.test(t)?"format":"standalone"][n.month()]:this._monthsShort}function ph(n,t,i){var u,r,e,f=n.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],u=0;u<12;++u)e=rt([2e3,u]),this._shortMonthsParse[u]=this.monthsShort(e,"").toLocaleLowerCase(),this._longMonthsParse[u]=this.months(e,"").toLocaleLowerCase();return i?t==="MMM"?(r=v.call(this._shortMonthsParse,f),r!==-1?r:null):(r=v.call(this._longMonthsParse,f),r!==-1?r:null):t==="MMM"?(r=v.call(this._shortMonthsParse,f),r!==-1)?r:(r=v.call(this._longMonthsParse,f),r!==-1?r:null):(r=v.call(this._longMonthsParse,f),r!==-1)?r:(r=v.call(this._shortMonthsParse,f),r!==-1?r:null)}function wh(n,t,i){var r,u,f;if(this._monthsParseExact)return ph.call(this,n,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if((u=rt([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(u,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(u,"").replace(".","")+"$","i")),i||this._monthsParse[r]||(f="^"+this.months(u,"")+"|^"+this.monthsShort(u,""),this._monthsParse[r]=new RegExp(f.replace(".",""),"i")),i&&t==="MMMM"&&this._longMonthsParse[r].test(n))||i&&t==="MMM"&&this._shortMonthsParse[r].test(n)||!i&&this._monthsParse[r].test(n))return r}function ee(n,t){var i;if(!n.isValid())return n;if(typeof t=="string")if(/^\d+$/.test(t))t=f(t);else if(t=n.localeData().monthsParse(t),typeof t!="number")return n;return i=Math.min(n.date(),eu(n.year(),t)),n._d["set"+(n._isUTC?"UTC":"")+"Month"](t,i),n}function oe(n){return n!=null?(ee(this,n),t.updateOffset(this,!0),this):ki(this,"Month")}function bh(){return eu(this.year(),this.month())}function kh(n){return this._monthsParseExact?(l(this,"_monthsRegex")||ce.call(this),n?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=se),this._monthsShortStrictRegex&&n?this._monthsShortStrictRegex:this._monthsShortRegex)}function dh(n){return this._monthsParseExact?(l(this,"_monthsRegex")||ce.call(this),n?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=he),this._monthsStrictRegex&&n?this._monthsStrictRegex:this._monthsRegex)}function ce(){function f(n,t){return t.length-n.length}for(var i=[],r=[],t=[],u,n=0;n<12;n++)u=rt([2e3,n]),i.push(this.monthsShort(u,"")),r.push(this.months(u,"")),t.push(this.months(u,"")),t.push(this.monthsShort(u,""));for(i.sort(f),r.sort(f),t.sort(f),n=0;n<12;n++)i[n]=dt(i[n]),r[n]=dt(r[n]);for(n=0;n<24;n++)t[n]=dt(t[n]);this._monthsRegex=new RegExp("^("+t.join("|")+")","i");this._monthsShortRegex=this._monthsRegex;this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i");this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function li(n){return le(n)?366:365}function le(n){return n%4==0&&n%100!=0||n%400==0}function gh(){return le(this.year())}function nc(n,t,i,r,u,f,e){var o=new Date(n,t,i,r,u,f,e);return n<100&&n>=0&&isFinite(o.getFullYear())&&o.setFullYear(n),o}function fr(n){var t=new Date(Date.UTC.apply(null,arguments));return n<100&&n>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(n),t}function er(n,t,i){var r=7+t-i,u=(7+fr(n,0,r).getUTCDay()-t)%7;return-u+r-1}function ae(n,t,i,r,u){var s=(7+i-r)%7,h=er(n,r,u),f=1+7*(t-1)+s+h,e,o;return f<=0?(e=n-1,o=li(e)+f):f>li(n)?(e=n+1,o=f-li(n)):(e=n,o=f),{year:e,dayOfYear:o}}function ai(n,t,i){var e=er(n.year(),t,i),r=Math.floor((n.dayOfYear()-e-1)/7)+1,f,u;return r<1?(u=n.year()-1,f=r+ni(u,t,i)):r>ni(n.year(),t,i)?(f=r-ni(n.year(),t,i),u=n.year()+1):(u=n.year(),f=r),{week:f,year:u}}function ni(n,t,i){var r=er(n,t,i),u=er(n+1,t,i);return(li(n)-r+u)/7}function tc(n){return ai(n,this._week.dow,this._week.doy).week}function ic(){return this._week.dow}function rc(){return this._week.doy}function uc(n){var t=this.localeData().week(this);return n==null?t:this.add((n-t)*7,"d")}function fc(n){var t=ai(this,1,4).week;return n==null?t:this.add((n-t)*7,"d")}function ec(n,t){return typeof n!="string"?n:isNaN(n)?(n=t.weekdaysParse(n),typeof n=="number")?n:null:parseInt(n,10)}function oc(n,t){return typeof n=="string"?t.weekdaysParse(n)%7||7:isNaN(n)?null:n}function sc(n,t){return n?at(this._weekdays)?this._weekdays[n.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][n.day()]:this._weekdays}function hc(n){return n?this._weekdaysShort[n.day()]:this._weekdaysShort}function cc(n){return n?this._weekdaysMin[n.day()]:this._weekdaysMin}function lc(n,t,i){var f,r,e,u=n.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],f=0;f<7;++f)e=rt([2e3,1]).day(f),this._minWeekdaysParse[f]=this.weekdaysMin(e,"").toLocaleLowerCase(),this._shortWeekdaysParse[f]=this.weekdaysShort(e,"").toLocaleLowerCase(),this._weekdaysParse[f]=this.weekdays(e,"").toLocaleLowerCase();return i?t==="dddd"?(r=v.call(this._weekdaysParse,u),r!==-1?r:null):t==="ddd"?(r=v.call(this._shortWeekdaysParse,u),r!==-1?r:null):(r=v.call(this._minWeekdaysParse,u),r!==-1?r:null):t==="dddd"?(r=v.call(this._weekdaysParse,u),r!==-1)?r:(r=v.call(this._shortWeekdaysParse,u),r!==-1)?r:(r=v.call(this._minWeekdaysParse,u),r!==-1?r:null):t==="ddd"?(r=v.call(this._shortWeekdaysParse,u),r!==-1)?r:(r=v.call(this._weekdaysParse,u),r!==-1)?r:(r=v.call(this._minWeekdaysParse,u),r!==-1?r:null):(r=v.call(this._minWeekdaysParse,u),r!==-1)?r:(r=v.call(this._weekdaysParse,u),r!==-1)?r:(r=v.call(this._shortWeekdaysParse,u),r!==-1?r:null)}function ac(n,t,i){var r,u,f;if(this._weekdaysParseExact)return lc.call(this,n,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if((u=rt([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(u,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(u,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(u,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(f="^"+this.weekdays(u,"")+"|^"+this.weekdaysShort(u,"")+"|^"+this.weekdaysMin(u,""),this._weekdaysParse[r]=new RegExp(f.replace(".",""),"i")),i&&t==="dddd"&&this._fullWeekdaysParse[r].test(n))||i&&t==="ddd"&&this._shortWeekdaysParse[r].test(n)||i&&t==="dd"&&this._minWeekdaysParse[r].test(n)||!i&&this._weekdaysParse[r].test(n))return r}function vc(n){if(!this.isValid())return n!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return n!=null?(n=ec(n,this.localeData()),this.add(n-t,"d")):t}function yc(n){if(!this.isValid())return n!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return n==null?t:this.add(n-t,"d")}function pc(n){if(!this.isValid())return n!=null?this:NaN;if(n!=null){var t=oc(n,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function wc(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||hu.call(this),n?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=be),this._weekdaysStrictRegex&&n?this._weekdaysStrictRegex:this._weekdaysRegex)}function bc(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||hu.call(this),n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ke),this._weekdaysShortStrictRegex&&n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function kc(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||hu.call(this),n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=de),this._weekdaysMinStrictRegex&&n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function hu(){function u(n,t){return t.length-n.length}for(var e=[],i=[],r=[],t=[],f,o,s,h,n=0;n<7;n++)f=rt([2e3,1]).day(n),o=this.weekdaysMin(f,""),s=this.weekdaysShort(f,""),h=this.weekdays(f,""),e.push(o),i.push(s),r.push(h),t.push(o),t.push(s),t.push(h);for(e.sort(u),i.sort(u),r.sort(u),t.sort(u),n=0;n<7;n++)i[n]=dt(i[n]),r[n]=dt(r[n]),t[n]=dt(t[n]);this._weekdaysRegex=new RegExp("^("+t.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function cu(){return this.hours()%12||12}function dc(){return this.hours()||24}function ge(n,t){r(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function no(n,t){return t._meridiemParse}function gc(n){return(n+"").toLowerCase().charAt(0)==="p"}function nl(n,t,i){return n>11?i?"pm":"PM":i?"am":"AM"}function ro(n){return n?n.toLowerCase().replace("_","-"):n}function il(n){for(var r=0,i,t,f,u;r<n.length;){for(u=ro(n[r]).split("-"),i=u.length,t=ro(n[r+1]),t=t?t.split("-"):null;i>0;){if(f=uo(u.slice(0,i).join("-")),f)return f;if(t&&t.length>=i&&of(u,t,!0)>=i-1)break;i--}r++}return null}function uo(n){var t=null;if(!a[n]&&typeof module!="undefined"&&module&&module.exports)try{t=or._abbr;require("./locale/"+n);ei(t)}catch(i){}return a[n]}function ei(n,t){var i;return n&&(i=b(t)?pt(n):fo(n,t),i&&(or=i)),or._abbr}function fo(n,t){if(t!==null){var i=io;return t.abbr=n,a[n]!=null?(kr("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=a[n]._config):t.parentLocale!=null&&(a[t.parentLocale]!=null?i=a[t.parentLocale]._config:kr("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),a[n]=new dr(hf(i,t)),ei(n),a[n]}return delete a[n],null}function rl(n,t){if(t!=null){var i,r=io;a[n]!=null&&(r=a[n]._config);t=hf(r,t);i=new dr(t);i.parentLocale=a[n];a[n]=i;ei(n)}else a[n]!=null&&(a[n].parentLocale!=null?a[n]=a[n].parentLocale:a[n]!=null&&delete a[n]);return a[n]}function pt(n){var t;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return or;if(!at(n)){if(t=uo(n),t)return t;n=[n]}return il(n)}function ul(){return cf(a)}function lu(n){var i,t=n._a;return t&&u(n).overflow===-2&&(i=t[st]<0||t[st]>11?st:t[ut]<1||t[ut]>eu(t[tt],t[st])?ut:t[y]<0||t[y]>24||t[y]===24&&(t[it]!==0||t[ht]!==0||t[gt]!==0)?y:t[it]<0||t[it]>59?it:t[ht]<0||t[ht]>59?ht:t[gt]<0||t[gt]>999?gt:-1,u(n)._overflowDayOfYear&&(i<tt||i>ut)&&(i=ut),u(n)._overflowWeeks&&i===-1&&(i=lh),u(n)._overflowWeekday&&i===-1&&(i=ah),u(n).overflow=i),n}function eo(n){var t,r,o=n._i,i=fl.exec(o)||el.exec(o),s,e,f,h;if(i){for(u(n).iso=!0,t=0,r=sr.length;t<r;t++)if(sr[t][1].exec(i[1])){e=sr[t][0];s=sr[t][2]!==!1;break}if(e==null){n._isValid=!1;return}if(i[3]){for(t=0,r=au.length;t<r;t++)if(au[t][1].exec(i[3])){f=(i[2]||" ")+au[t][0];break}if(f==null){n._isValid=!1;return}}if(!s&&f!=null){n._isValid=!1;return}if(i[4])if(ol.exec(i[4]))h="Z";else{n._isValid=!1;return}n._f=e+(f||"")+(h||"");yu(n)}else n._isValid=!1}function hl(n){var i=sl.exec(n._i);if(i!==null){n._d=new Date(+i[1]);return}eo(n);n._isValid===!1&&(delete n._isValid,t.createFromInputFallback(n))}function oi(n,t,i){return n!=null?n:t!=null?t:i}function cl(n){var i=new Date(t.now());return n._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()]}function vu(n){var t,i,r=[],f,e;if(!n._d){for(f=cl(n),n._w&&n._a[ut]==null&&n._a[st]==null&&ll(n),n._dayOfYear&&(e=oi(n._a[tt],f[tt]),n._dayOfYear>li(e)&&(u(n)._overflowDayOfYear=!0),i=fr(e,0,n._dayOfYear),n._a[st]=i.getUTCMonth(),n._a[ut]=i.getUTCDate()),t=0;t<3&&n._a[t]==null;++t)n._a[t]=r[t]=f[t];for(;t<7;t++)n._a[t]=r[t]=n._a[t]==null?t===2?1:0:n._a[t];n._a[y]===24&&n._a[it]===0&&n._a[ht]===0&&n._a[gt]===0&&(n._nextDay=!0,n._a[y]=0);n._d=(n._useUTC?fr:nc).apply(null,r);n._tzm!=null&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm);n._nextDay&&(n._a[y]=24)}}function ll(n){var t,o,f,i,r,e,h,s;t=n._w;t.GG!=null||t.W!=null||t.E!=null?(r=1,e=4,o=oi(t.GG,n._a[tt],ai(c(),1,4).year),f=oi(t.W,1),i=oi(t.E,1),(i<1||i>7)&&(s=!0)):(r=n._locale._week.dow,e=n._locale._week.doy,o=oi(t.gg,n._a[tt],ai(c(),r,e).year),f=oi(t.w,1),t.d!=null?(i=t.d,(i<0||i>6)&&(s=!0)):t.e!=null?(i=t.e+r,(t.e<0||t.e>6)&&(s=!0)):i=r);f<1||f>ni(o,r,e)?u(n)._overflowWeeks=!0:s!=null?u(n)._overflowWeekday=!0:(h=ae(o,f,i,r,e),n._a[tt]=h.year,n._dayOfYear=h.dayOfYear)}function yu(n){if(n._f===t.ISO_8601){eo(n);return}n._a=[];u(n).empty=!0;for(var i=""+n._i,r,f,s,c=i.length,h=0,o=df(n._f,n._locale).match(kf)||[],e=0;e<o.length;e++)f=o[e],r=(i.match(sh(f,n))||[])[0],r&&(s=i.substr(0,i.indexOf(r)),s.length>0&&u(n).unusedInput.push(s),i=i.slice(i.indexOf(r)+r.length),h+=r.length),fi[f]?(r?u(n).empty=!1:u(n).unusedTokens.push(f),ch(f,r,n)):n._strict&&!r&&u(n).unusedTokens.push(f);u(n).charsLeftOver=c-h;i.length>0&&u(n).unusedInput.push(i);n._a[y]<=12&&u(n).bigHour===!0&&n._a[y]>0&&(u(n).bigHour=undefined);u(n).parsedDateParts=n._a.slice(0);u(n).meridiem=n._meridiem;n._a[y]=al(n._locale,n._a[y],n._meridiem);vu(n);lu(n)}function al(n,t,i){var r;return i==null?t:n.meridiemHour!=null?n.meridiemHour(t,i):n.isPM!=null?(r=n.isPM(i),r&&t<12&&(t+=12),r||t!==12||(t=0),t):t}function vl(n){var t,e,f,r,i;if(n._f.length===0){u(n).invalidFormat=!0;n._d=new Date(NaN);return}for(r=0;r<n._f.length;r++)(i=0,t=wr({},n),n._useUTC!=null&&(t._useUTC=n._useUTC),t._f=n._f[r],yu(t),pr(t))&&(i+=u(t).charsLeftOver,i+=u(t).unusedTokens.length*10,u(t).score=i,(f==null||i<f)&&(f=i,e=t));vt(n,e||t)}function yl(n){if(!n._d){var t=gr(n._i);n._a=ff([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)});vu(n)}}function pl(n){var t=new si(lu(oo(n)));return t._nextDay&&(t.add(1,"d"),t._nextDay=undefined),t}function oo(n){var t=n._i,i=n._f;return(n._locale=n._locale||pt(n._l),t===null||i===undefined&&t==="")?pi({nullInput:!0}):(typeof t=="string"&&(n._i=t=n._locale.preparse(t)),yt(t))?new si(lu(t)):(at(i)?vl(n):yi(t)?n._d=t:i?yu(n):wl(n),pr(n)||(n._d=null),n)}function wl(n){var i=n._i;i===undefined?n._d=new Date(t.now()):yi(i)?n._d=new Date(i.valueOf()):typeof i=="string"?hl(n):at(i)?(n._a=ff(i.slice(0),function(n){return parseInt(n,10)}),vu(n)):typeof i=="object"?yl(n):typeof i=="number"?n._d=new Date(i):t.createFromInputFallback(n)}function so(n,t,i,r,u){var f={};return typeof i=="boolean"&&(r=i,i=undefined),(vi(n)&&ps(n)||at(n)&&n.length===0)&&(n=undefined),f._isAMomentObject=!0,f._useUTC=f._isUTC=u,f._l=i,f._i=n,f._f=t,f._strict=r,pl(f)}function c(n,t,i,r){return so(n,t,i,r,!1)}function lo(n,t){var r,i;if(t.length===1&&at(t[0])&&(t=t[0]),!t.length)return c();for(r=t[0],i=1;i<t.length;++i)(!t[i].isValid()||t[i][n](r))&&(r=t[i]);return r}function bl(){var n=[].slice.call(arguments,0);return lo("isBefore",n)}function kl(){var n=[].slice.call(arguments,0);return lo("isAfter",n)}function hr(n){var t=gr(n),i=t.year||0,r=t.quarter||0,u=t.month||0,f=t.week||0,e=t.day||0,o=t.hour||0,s=t.minute||0,h=t.second||0,c=t.millisecond||0;this._milliseconds=+c+h*1e3+s*6e4+o*36e5;this._days=+e+f*7;this._months=+u+r*3+i*12;this._data={};this._locale=pt();this._bubble()}function pu(n){return n instanceof hr}function wu(n){return n<0?Math.round(-1*n)*-1:Math.round(n)}function vo(n,t){r(n,0,0,function(){var n=this.utcOffset(),i="+";return n<0&&(n=-n,i="-"),i+ot(~~(n/60),2)+t+ot(~~n%60,2)})}function cr(n,t){var r=(t||"").match(n)||[],e=r[r.length-1]||[],i=(e+"").match(yo)||["-",0,0],u=+(i[1]*60)+f(i[2]);return i[0]==="+"?u:-u}function bu(n,i){var r,u;return i._isUTC?(r=i.clone(),u=(yt(n)||yi(n)?n.valueOf():c(n).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+u),t.updateOffset(r,!1),r):c(n).local()}function ku(n){return-Math.round(n._d.getTimezoneOffset()/15)*15}function dl(n,i){var r=this._offset||0,u;return this.isValid()?n!=null?(typeof n=="string"?n=cr(rr,n):Math.abs(n)<16&&(n=n*60),!this._isUTC&&i&&(u=ku(this)),this._offset=n,this._isUTC=!0,u!=null&&this.add(u,"m"),r!==n&&(!i||this._changeInProgress?ns(this,wt(n-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:ku(this):n!=null?this:NaN}function gl(n,t){return n!=null?(typeof n!="string"&&(n=-n),this.utcOffset(n,t),this):-this.utcOffset()}function na(n){return this.utcOffset(0,n)}function ta(n){return this._isUTC&&(this.utcOffset(0,n),this._isUTC=!1,n&&this.subtract(ku(this),"m")),this}function ia(){if(this._tzm)this.utcOffset(this._tzm);else if(typeof this._i=="string"){var n=cr(re,this._i);n===0?this.utcOffset(0,!0):this.utcOffset(cr(re,this._i))}return this}function ra(n){return this.isValid()?(n=n?c(n).utcOffset():0,(this.utcOffset()-n)%60==0):!1}function ua(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function fa(){var n,t;return b(this._isDSTShifted)?(n={},wr(n,this),n=oo(n),n._a?(t=n._isUTC?rt(n._a):c(n._a),this._isDSTShifted=this.isValid()&&of(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted):this._isDSTShifted}function ea(){return this.isValid()?!this._isUTC:!1}function oa(){return this.isValid()?this._isUTC:!1}function po(){return this.isValid()?this._isUTC&&this._offset===0:!1}function wt(n,t){var i=n,r=null,u,e,o;return pu(n)?i={ms:n._milliseconds,d:n._days,M:n._months}:typeof n=="number"?(i={},t?i[t]=n:i.milliseconds=n):(r=wo.exec(n))?(u=r[1]==="-"?-1:1,i={y:0,d:f(r[ut])*u,h:f(r[y])*u,m:f(r[it])*u,s:f(r[ht])*u,ms:f(wu(r[gt]*1e3))*u}):(r=bo.exec(n))?(u=r[1]==="-"?-1:1,i={y:ti(r[2],u),M:ti(r[3],u),w:ti(r[4],u),d:ti(r[5],u),h:ti(r[6],u),m:ti(r[7],u),s:ti(r[8],u)}):i==null?i={}:typeof i=="object"&&("from"in i||"to"in i)&&(o=sa(c(i.from),c(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),e=new hr(i),pu(n)&&l(n,"_locale")&&(e._locale=n._locale),e}function ti(n,t){var i=n&&parseFloat(n.replace(",","."));return(isNaN(i)?0:i)*t}function ko(n,t){var i={milliseconds:0,months:0};return i.months=t.month()-n.month()+(t.year()-n.year())*12,n.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+n.clone().add(i.months,"M"),i}function sa(n,t){var i;return(n.isValid()&&t.isValid())?(t=bu(t,n),n.isBefore(t)?i=ko(n,t):(i=ko(t,n),i.milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function go(n,t){return function(i,r){var u,f;return r===null||isNaN(+r)||(kr(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=i,i=r,r=f),i=typeof i=="string"?+i:i,u=wt(i,r),ns(this,u,n),this}}function ns(n,i,r,u){var o=i._milliseconds,f=wu(i._days),e=wu(i._months);n.isValid()&&(u=u==null?!0:u,o&&n._d.setTime(n._d.valueOf()+o*r),f&&bf(n,"Date",ki(n,"Date")+f*r),e&&ee(n,ki(n,"Month")+e*r),u&&t.updateOffset(n,f||e))}function ha(n,t){var i=n.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function ca(n,i){var u=n||c(),f=bu(u,this).startOf("day"),r=t.calendarFormat(this,f)||"sameElse",e=i&&(et(i[r])?i[r].call(this,u):i[r]);return this.format(e||this.localeData().calendar(r,this,c(u)))}function la(){return new si(this)}function aa(n,t){var i=yt(n)?n:c(n);return(this.isValid()&&i.isValid())?(t=g(b(t)?"millisecond":t),t==="millisecond"?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf()):!1}function va(n,t){var i=yt(n)?n:c(n);return(this.isValid()&&i.isValid())?(t=g(b(t)?"millisecond":t),t==="millisecond"?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf()):!1}function ya(n,t,i,r){return r=r||"()",(r[0]==="("?this.isAfter(n,i):!this.isBefore(n,i))&&(r[1]===")"?this.isBefore(t,i):!this.isAfter(t,i))}function pa(n,t){var i=yt(n)?n:c(n),r;return(this.isValid()&&i.isValid())?(t=g(t||"millisecond"),t==="millisecond"?this.valueOf()===i.valueOf():(r=i.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function wa(n,t){return this.isSame(n,t)||this.isAfter(n,t)}function ba(n,t){return this.isSame(n,t)||this.isBefore(n,t)}function ka(n,t,i){var f,e,u,r;return this.isValid()?(f=bu(n,this),!f.isValid())?NaN:(e=(f.utcOffset()-this.utcOffset())*6e4,t=g(t),t==="year"||t==="month"||t==="quarter"?(r=da(this,f),t==="quarter"?r=r/3:t==="year"&&(r=r/12)):(u=this-f,r=t==="second"?u/1e3:t==="minute"?u/6e4:t==="hour"?u/36e5:t==="day"?(u-e)/864e5:t==="week"?(u-e)/6048e5:u),i?r:k(r)):NaN}function da(n,t){var r=(t.year()-n.year())*12+(t.month()-n.month()),i=n.clone().add(r,"months"),u,f;return t-i<0?(u=n.clone().add(r-1,"months"),f=(t-i)/(i-u)):(u=n.clone().add(r+1,"months"),f=(t-i)/(u-i)),-(r+f)||0}function ga(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function nv(){var n=this.clone().utc();return 0<n.year()&&n.year()<=9999?et(Date.prototype.toISOString)?this.toDate().toISOString():iu(n,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):iu(n,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function tv(n){n||(n=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var i=iu(this,n);return this.localeData().postformat(i)}function iv(n,t){return this.isValid()&&(yt(n)&&n.isValid()||c(n).isValid())?wt({to:this,from:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rv(n){return this.from(c(),n)}function uv(n,t){return this.isValid()&&(yt(n)&&n.isValid()||c(n).isValid())?wt({from:this,to:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function fv(n){return this.to(c(),n)}function rs(n){var t;return n===undefined?this._locale._abbr:(t=pt(n),t!=null&&(this._locale=t),this)}function us(){return this._locale}function ev(n){n=g(n);switch(n){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return n==="week"&&this.weekday(0),n==="isoWeek"&&this.isoWeekday(1),n==="quarter"&&this.month(Math.floor(this.month()/3)*3),this}function ov(n){return(n=g(n),n===undefined||n==="millisecond")?this:(n==="date"&&(n="day"),this.startOf(n).add(1,n==="isoWeek"?"week":n).subtract(1,"ms"))}function sv(){return this._d.valueOf()-(this._offset||0)*6e4}function hv(){return Math.floor(this.valueOf()/1e3)}function cv(){return new Date(this.valueOf())}function lv(){var n=this;return[n.year(),n.month(),n.date(),n.hour(),n.minute(),n.second(),n.millisecond()]}function av(){var n=this;return{years:n.year(),months:n.month(),date:n.date(),hours:n.hours(),minutes:n.minutes(),seconds:n.seconds(),milliseconds:n.milliseconds()}}function vv(){return this.isValid()?this.toISOString():null}function yv(){return pr(this)}function pv(){return vt({},u(this))}function wv(){return u(this).overflow}function bv(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function lr(n,t){r(0,[n,n.length],0,t)}function kv(n){return fs.call(this,n,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function dv(n){return fs.call(this,n,this.isoWeek(),this.isoWeekday(),1,4)}function gv(){return ni(this.year(),1,4)}function ny(){var n=this.localeData()._week;return ni(this.year(),n.dow,n.doy)}function fs(n,t,i,r,u){var f;return n==null?ai(this,r,u).year:(f=ni(n,r,u),t>f&&(t=f),ty.call(this,n,t,i,r,u))}function ty(n,t,i,r,u){var e=ae(n,t,i,r,u),f=fr(e.year,0,e.dayOfYear);return this.year(f.getUTCFullYear()),this.month(f.getUTCMonth()),this.date(f.getUTCDate()),this}function iy(n){return n==null?Math.ceil((this.month()+1)/3):this.month((n-1)*3+this.month()%3)}function ry(n){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return n==null?t:this.add(n-t,"d")}function uy(n,t){t[gt]=f(("0."+n)*1e3)}function fy(){return this._isUTC?"UTC":""}function ey(){return this._isUTC?"Coordinated Universal Time":""}function oy(n){return c(n*1e3)}function sy(){return c.apply(null,arguments).parseZone()}function hs(n){return n}function ar(n,t,i,r){var u=pt(),f=rt().set(r,t);return u[i](f,n)}function cs(n,t,i){if(typeof n=="number"&&(t=n,n=undefined),n=n||"",t!=null)return ar(n,t,i,"month");for(var u=[],r=0;r<12;r++)u[r]=ar(n,r,i,"month");return u}function tf(n,t,i,r){var o,f,u,e;if(typeof n=="boolean"?(typeof t=="number"&&(i=t,t=undefined),t=t||""):(t=n,i=t,n=!1,typeof t=="number"&&(i=t,t=undefined),t=t||""),o=pt(),f=n?o._week.dow:0,i!=null)return ar(t,(i+f)%7,r,"day");for(e=[],u=0;u<7;u++)e[u]=ar(t,(u+f)%7,r,"day");return e}function hy(n,t){return cs(n,t,"months")}function cy(n,t){return cs(n,t,"monthsShort")}function ly(n,t,i){return tf(n,t,i,"weekdays")}function ay(n,t,i){return tf(n,t,i,"weekdaysShort")}function vy(n,t,i){return tf(n,t,i,"weekdaysMin")}function yy(){var n=this._data;return this._milliseconds=ft(this._milliseconds),this._days=ft(this._days),this._months=ft(this._months),n.milliseconds=ft(n.milliseconds),n.seconds=ft(n.seconds),n.minutes=ft(n.minutes),n.hours=ft(n.hours),n.months=ft(n.months),n.years=ft(n.years),this}function ls(n,t,i,r){var u=wt(t,i);return n._milliseconds+=r*u._milliseconds,n._days+=r*u._days,n._months+=r*u._months,n._bubble()}function py(n,t){return ls(this,n,t,1)}function wy(n,t){return ls(this,n,t,-1)}function as(n){return n<0?Math.floor(n):Math.ceil(n)}function by(){var r=this._milliseconds,n=this._days,t=this._months,i=this._data,u,f,e,s,o;return r>=0&&n>=0&&t>=0||r<=0&&n<=0&&t<=0||(r+=as(rf(t)+n)*864e5,n=0,t=0),i.milliseconds=r%1e3,u=k(r/1e3),i.seconds=u%60,f=k(u/60),i.minutes=f%60,e=k(f/60),i.hours=e%24,n+=k(e/24),o=k(vs(n)),t+=o,n-=as(rf(o)),s=k(t/12),t%=12,i.days=n,i.months=t,i.years=s,this}function vs(n){return n*4800/146097}function rf(n){return n*146097/4800}function ky(n){var t,r,i=this._milliseconds;if(n=g(n),n==="month"||n==="year")return t=this._days+i/864e5,r=this._months+vs(t),n==="month"?r:r/12;t=this._days+Math.round(rf(this._months));switch(n){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return t*24+i/36e5;case"minute":return t*1440+i/6e4;case"second":return t*86400+i/1e3;case"millisecond":return Math.floor(t*864e5)+i;default:throw new Error("Unknown unit "+n);}}function dy(){return this._milliseconds+this._days*864e5+this._months%12*2592e6+f(this._months/12)*31536e6}function kt(n){return function(){return this.as(n)}}function op(n){return n=g(n),this[n+"s"]()}function ii(n){return function(){return this._data[n]}}function pp(){return k(this.days()/7)}function wp(n,t,i,r,u){return u.relativeTime(t||1,!!i,n,r)}function bp(n,t,i){var r=wt(n).abs(),h=ct(r.as("s")),f=ct(r.as("m")),e=ct(r.as("h")),o=ct(r.as("d")),s=ct(r.as("M")),c=ct(r.as("y")),u=h<lt.s&&["s",h]||f<=1&&["m"]||f<lt.m&&["mm",f]||e<=1&&["h"]||e<lt.h&&["hh",e]||o<=1&&["d"]||o<lt.d&&["dd",o]||s<=1&&["M"]||s<lt.M&&["MM",s]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+n>0,u[4]=i,wp.apply(null,u)}function kp(n){return n===undefined?ct:typeof n=="function"?(ct=n,!0):!1}function dp(n,t){return lt[n]===undefined?!1:t===undefined?lt[n]:(lt[n]=t,!0)}function gp(n){var t=this.localeData(),i=bp(this,!n,t);return n&&(i=t.pastFuture(+this,i)),t.postformat(i)}function yr(){var t=vr(this._milliseconds)/1e3,a=vr(this._days),i=vr(this._months),n,e,o;n=k(t/60);e=k(n/60);t%=60;n%=60;o=k(i/12);i%=12;var s=o,h=i,c=a,r=e,u=n,f=t,l=this.asSeconds();return l?(l<0?"-":"")+"P"+(s?s+"Y":"")+(h?h+"M":"")+(c?c+"D":"")+(r||u||f?"T":"")+(r?r+"H":"")+(u?u+"M":"")+(f?f+"S":""):"P0D"}var uf,ef,wi,bi,br,cf,lf,af,vf,yf,pf,wf,ri,nu,ur,ou,ue,fe,se,he,su,ve,ye,pe,we,be,ke,de,to,ho,co,ao,yo,wo,bo,ts,is,du,gu,es,os,bt,ss,n,nf,o,ft,ct,lt,vr,e;ef=Array.prototype.some?Array.prototype.some:function(n){for(var i=Object(this),r=i.length>>>0,t=0;t<r;t++)if(t in i&&n.call(this,i[t],t,i))return!0;return!1};wi=t.momentProperties=[];bi=!1;br={};t.suppressDeprecationWarnings=!1;t.deprecationHandler=null;cf=Object.keys?Object.keys:function(n){var t,i=[];for(t in n)l(n,t)&&i.push(t);return i};lf={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};af={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};vf="Invalid date";yf="%d";pf=/\d{1,2}/;wf={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};ri={};nu={};var kf=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,di=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,tu={},fi={};var gf=/\d/,nt=/\d\d/,ne=/\d{3}/,ru=/\d{4}/,gi=/[+-]?\d{6}/,h=/\d\d?/,te=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,nr=/\d{1,3}/,uu=/\d{1,4}/,tr=/[+-]?\d{1,6}/,ir=/[+-]?\d+/,re=/Z|[+-]\d\d:?\d\d/gi,rr=/Z|[+-]\d\d(?::?\d\d)?/gi,hi=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,fu={};ur={};var tt=0,st=1,ut=2,y=3,it=4,ht=5,gt=6,lh=7,ah=8,v;v=Array.prototype.indexOf?Array.prototype.indexOf:function(n){for(var t=0;t<this.length;++t)if(this[t]===n)return t;return-1};r("M",["MM",2],"Mo",function(){return this.month()+1});r("MMM",0,0,function(n){return this.localeData().monthsShort(this,n)});r("MMMM",0,0,function(n){return this.localeData().months(this,n)});p("month","M");w("month",8);i("M",h);i("MM",h,nt);i("MMM",function(n,t){return t.monthsShortRegex(n)});i("MMMM",function(n,t){return t.monthsRegex(n)});s(["M","MM"],function(n,t){t[st]=f(n)-1});s(["MMM","MMMM"],function(n,t,i,r){var f=i._locale.monthsParse(n,r,i._strict);f!=null?t[st]=f:u(i).invalidMonth=n});ou=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/;ue="January_February_March_April_May_June_July_August_September_October_November_December".split("_");fe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");se=hi;he=hi;r("Y",0,0,function(){var n=this.year();return n<=9999?""+n:"+"+n});r(0,["YY",2],0,function(){return this.year()%100});r(0,["YYYY",4],0,"year");r(0,["YYYYY",5],0,"year");r(0,["YYYYYY",6,!0],0,"year");p("year","y");w("year",1);i("Y",ir);i("YY",h,nt);i("YYYY",uu,ru);i("YYYYY",tr,gi);i("YYYYYY",tr,gi);s(["YYYYY","YYYYYY"],tt);s("YYYY",function(n,i){i[tt]=n.length===2?t.parseTwoDigitYear(n):f(n)});s("YY",function(n,i){i[tt]=t.parseTwoDigitYear(n)});s("Y",function(n,t){t[tt]=parseInt(n,10)});t.parseTwoDigitYear=function(n){return f(n)+(f(n)>68?1900:2e3)};su=ui("FullYear",!0);r("w",["ww",2],"wo","week");r("W",["WW",2],"Wo","isoWeek");p("week","w");p("isoWeek","W");w("week",5);w("isoWeek",5);i("w",h);i("ww",h,nt);i("W",h);i("WW",h,nt);ci(["w","ww","W","WW"],function(n,t,i,r){t[r.substr(0,1)]=f(n)});ve={dow:0,doy:6};r("d",0,"do","day");r("dd",0,0,function(n){return this.localeData().weekdaysMin(this,n)});r("ddd",0,0,function(n){return this.localeData().weekdaysShort(this,n)});r("dddd",0,0,function(n){return this.localeData().weekdays(this,n)});r("e",0,0,"weekday");r("E",0,0,"isoWeekday");p("day","d");p("weekday","e");p("isoWeekday","E");w("day",11);w("weekday",11);w("isoWeekday",11);i("d",h);i("e",h);i("E",h);i("dd",function(n,t){return t.weekdaysMinRegex(n)});i("ddd",function(n,t){return t.weekdaysShortRegex(n)});i("dddd",function(n,t){return t.weekdaysRegex(n)});ci(["dd","ddd","dddd"],function(n,t,i,r){var f=i._locale.weekdaysParse(n,r,i._strict);f!=null?t.d=f:u(i).invalidWeekday=n});ci(["d","e","E"],function(n,t,i,r){t[r]=f(n)});ye="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");pe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");we="Su_Mo_Tu_We_Th_Fr_Sa".split("_");be=hi;ke=hi;de=hi;r("H",["HH",2],0,"hour");r("h",["hh",2],0,cu);r("k",["kk",2],0,dc);r("hmm",0,0,function(){return""+cu.apply(this)+ot(this.minutes(),2)});r("hmmss",0,0,function(){return""+cu.apply(this)+ot(this.minutes(),2)+ot(this.seconds(),2)});r("Hmm",0,0,function(){return""+this.hours()+ot(this.minutes(),2)});r("Hmmss",0,0,function(){return""+this.hours()+ot(this.minutes(),2)+ot(this.seconds(),2)});ge("a",!0);ge("A",!1);p("hour","h");w("hour",13);i("a",no);i("A",no);i("H",h);i("h",h);i("HH",h,nt);i("hh",h,nt);i("hmm",te);i("hmmss",ie);i("Hmm",te);i("Hmmss",ie);s(["H","HH"],y);s(["a","A"],function(n,t,i){i._isPm=i._locale.isPM(n);i._meridiem=n});s(["h","hh"],function(n,t,i){t[y]=f(n);u(i).bigHour=!0});s("hmm",function(n,t,i){var r=n.length-2;t[y]=f(n.substr(0,r));t[it]=f(n.substr(r));u(i).bigHour=!0});s("hmmss",function(n,t,i){var r=n.length-4,e=n.length-2;t[y]=f(n.substr(0,r));t[it]=f(n.substr(r,2));t[ht]=f(n.substr(e));u(i).bigHour=!0});s("Hmm",function(n,t){var i=n.length-2;t[y]=f(n.substr(0,i));t[it]=f(n.substr(i))});s("Hmmss",function(n,t){var i=n.length-4,r=n.length-2;t[y]=f(n.substr(0,i));t[it]=f(n.substr(i,2));t[ht]=f(n.substr(r))});to=/[ap]\.?m?\.?/i;var tl=ui("Hours",!0),io={calendar:lf,longDateFormat:af,invalidDate:vf,ordinal:yf,ordinalParse:pf,relativeTime:wf,months:ue,monthsShort:fe,week:ve,weekdays:ye,weekdaysMin:we,weekdaysShort:pe,meridiemParse:to},a={},or;var fl=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,el=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,ol=/Z|[+-]\d\d(?::?\d\d)?/,sr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],au=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],sl=/^\/?Date\((\-?\d+)/i;for(t.createFromInputFallback=d("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(n){n._d=new Date(n._i+(n._useUTC?" UTC":""))}),t.ISO_8601=function(){},ho=d("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=c.apply(null,arguments);return this.isValid()&&n.isValid()?n<this?this:n:pi()}),co=d("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=c.apply(null,arguments);return this.isValid()&&n.isValid()?n>this?this:n:pi()}),ao=function(){return Date.now?Date.now():+new Date},vo("Z",":"),vo("ZZ",""),i("Z",rr),i("ZZ",rr),s(["Z","ZZ"],function(n,t,i){i._useUTC=!0;i._tzm=cr(rr,n)}),yo=/([\+\-]|\d\d)/gi,t.updateOffset=function(){},wo=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,bo=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/,wt.fn=hr.prototype,ts=go(1,"add"),is=go(-1,"subtract"),t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",du=d("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(n){return n===undefined?this.localeData():this.locale(n)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),lr("gggg","weekYear"),lr("ggggg","weekYear"),lr("GGGG","isoWeekYear"),lr("GGGGG","isoWeekYear"),p("weekYear","gg"),p("isoWeekYear","GG"),w("weekYear",1),w("isoWeekYear",1),i("G",ir),i("g",ir),i("GG",h,nt),i("gg",h,nt),i("GGGG",uu,ru),i("gggg",uu,ru),i("GGGGG",tr,gi),i("ggggg",tr,gi),ci(["gggg","ggggg","GGGG","GGGGG"],function(n,t,i,r){t[r.substr(0,2)]=f(n)}),ci(["gg","GG"],function(n,i,r,u){i[u]=t.parseTwoDigitYear(n)}),r("Q",0,"Qo","quarter"),p("quarter","Q"),w("quarter",7),i("Q",gf),s("Q",function(n,t){t[st]=(f(n)-1)*3}),r("D",["DD",2],"Do","date"),p("date","D"),w("date",9),i("D",h),i("DD",h,nt),i("Do",function(n,t){return n?t._ordinalParse:t._ordinalParseLenient}),s(["D","DD"],ut),s("Do",function(n,t){t[ut]=f(n.match(h)[0],10)}),gu=ui("Date",!0),r("DDD",["DDDD",3],"DDDo","dayOfYear"),p("dayOfYear","DDD"),w("dayOfYear",4),i("DDD",nr),i("DDDD",ne),s(["DDD","DDDD"],function(n,t,i){i._dayOfYear=f(n)}),r("m",["mm",2],0,"minute"),p("minute","m"),w("minute",14),i("m",h),i("mm",h,nt),s(["m","mm"],it),es=ui("Minutes",!1),r("s",["ss",2],0,"second"),p("second","s"),w("second",15),i("s",h),i("ss",h,nt),s(["s","ss"],ht),os=ui("Seconds",!1),r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return this.millisecond()*10}),r(0,["SSSSS",5],0,function(){return this.millisecond()*100}),r(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),r(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),r(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),r(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),p("millisecond","ms"),w("millisecond",16),i("S",nr,gf),i("SS",nr,nt),i("SSS",nr,ne),bt="SSSS";bt.length<=9;bt+="S")i(bt,/\d+/);for(bt="S";bt.length<=9;bt+="S")s(bt,uy);ss=ui("Milliseconds",!1);r("z",0,0,"zoneAbbr");r("zz",0,0,"zoneName");n=si.prototype;n.add=ts;n.calendar=ca;n.clone=la;n.diff=ka;n.endOf=ov;n.format=tv;n.from=iv;n.fromNow=rv;n.to=uv;n.toNow=fv;n.get=uh;n.invalidAt=wv;n.isAfter=aa;n.isBefore=va;n.isBetween=ya;n.isSame=pa;n.isSameOrAfter=wa;n.isSameOrBefore=ba;n.isValid=yv;n.lang=du;n.locale=rs;n.localeData=us;n.max=co;n.min=ho;n.parsingFlags=pv;n.set=fh;n.startOf=ev;n.subtract=is;n.toArray=lv;n.toObject=av;n.toDate=cv;n.toISOString=nv;n.toJSON=vv;n.toString=ga;n.unix=hv;n.valueOf=sv;n.creationData=bv;n.year=su;n.isLeapYear=gh;n.weekYear=kv;n.isoWeekYear=dv;n.quarter=n.quarters=iy;n.month=oe;n.daysInMonth=bh;n.week=n.weeks=uc;n.isoWeek=n.isoWeeks=fc;n.weeksInYear=ny;n.isoWeeksInYear=gv;n.date=gu;n.day=n.days=vc;n.weekday=yc;n.isoWeekday=pc;n.dayOfYear=ry;n.hour=n.hours=tl;n.minute=n.minutes=es;n.second=n.seconds=os;n.millisecond=n.milliseconds=ss;n.utcOffset=dl;n.utc=na;n.local=ta;n.parseZone=ia;n.hasAlignedHourOffset=ra;n.isDST=ua;n.isLocal=ea;n.isUtcOffset=oa;n.isUtc=po;n.isUTC=po;n.zoneAbbr=fy;n.zoneName=ey;n.dates=d("dates accessor is deprecated. Use date instead.",gu);n.months=d("months accessor is deprecated. Use month instead",oe);n.years=d("years accessor is deprecated. Use year instead",su);n.zone=d("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gl);n.isDSTShifted=d("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",fa);nf=n;o=dr.prototype;o.calendar=ks;o.longDateFormat=ds;o.invalidDate=gs;o.ordinal=nh;o.preparse=hs;o.postformat=hs;o.relativeTime=th;o.pastFuture=ih;o.set=bs;o.months=vh;o.monthsShort=yh;o.monthsParse=wh;o.monthsRegex=dh;o.monthsShortRegex=kh;o.week=tc;o.firstDayOfYear=rc;o.firstDayOfWeek=ic;o.weekdays=sc;o.weekdaysMin=cc;o.weekdaysShort=hc;o.weekdaysParse=ac;o.weekdaysRegex=wc;o.weekdaysShortRegex=bc;o.weekdaysMinRegex=kc;o.isPM=gc;o.meridiem=nl;ei("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(n){var t=n%10,i=f(n%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i}});t.lang=d("moment.lang is deprecated. Use moment.locale instead.",ei);t.langData=d("moment.langData is deprecated. Use moment.localeData instead.",pt);ft=Math.abs;var gy=kt("ms"),np=kt("s"),tp=kt("m"),ip=kt("h"),rp=kt("d"),up=kt("w"),fp=kt("M"),ep=kt("y");var sp=ii("milliseconds"),hp=ii("seconds"),cp=ii("minutes"),lp=ii("hours"),ap=ii("days"),vp=ii("months"),yp=ii("years");return ct=Math.round,lt={s:45,m:45,h:22,d:26,M:11},vr=Math.abs,e=hr.prototype,e.abs=yy,e.add=py,e.subtract=wy,e.as=ky,e.asMilliseconds=gy,e.asSeconds=np,e.asMinutes=tp,e.asHours=ip,e.asDays=rp,e.asWeeks=up,e.asMonths=fp,e.asYears=ep,e.valueOf=dy,e._bubble=by,e.get=op,e.milliseconds=sp,e.seconds=hp,e.minutes=cp,e.hours=lp,e.days=ap,e.weeks=pp,e.months=vp,e.years=yp,e.humanize=gp,e.toISOString=yr,e.toString=yr,e.toJSON=yr,e.locale=rs,e.localeData=us,e.toIsoString=d("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",yr),e.lang=du,r("X",0,0,"unix"),r("x",0,0,"valueOf"),i("x",ir),i("X",/[+-]?\d+(\.\d{1,3})?/),s("X",function(n,t,i){i._d=new Date(parseFloat(n,10)*1e3)}),s("x",function(n,t,i){i._d=new Date(f(n))}),t.version="2.15.1",ys(c),t.fn=nf,t.min=bl,t.max=kl,t.now=ao,t.utc=rt,t.unix=oy,t.months=hy,t.isDate=yi,t.locale=ei,t.invalid=pi,t.duration=wt,t.isMoment=yt,t.weekdays=ly,t.parseZone=sy,t.localeData=pt,t.isDuration=pu,t.monthsShort=cy,t.weekdaysMin=vy,t.defineLocale=fo,t.updateLocale=rl,t.locales=ul,t.weekdaysShort=ay,t.normalizeUnits=g,t.relativeTimeRounding=kp,t.relativeTimeThreshold=dp,t.calendarFormat=ha,t.prototype=nf,t}),function(n,t){"use strict";typeof define=="function"&&define.amd?define(["moment"],t):typeof module=="object"&&module.exports?module.exports=t(require("moment")):t(n.moment)}(this,function(n){"use strict";function g(n){return n>96?n-87:n>64?n-29:n-48}function nt(n){var t=0,f=n.split("."),e=f[0],o=f[1]||"",u=1,i,r=0,s=1;for(n.charCodeAt(0)===45&&(t=1,s=-1),t;t<e.length;t++)i=g(e.charCodeAt(t)),r=60*r+i;for(t=0;t<o.length;t++)u=u/60,i=g(o.charCodeAt(t)),r+=i*u;return r*s}function y(n){for(var t=0;t<n.length;t++)n[t]=nt(n[t])}function st(n,t){for(var i=0;i<t;i++)n[i]=Math.round((n[i-1]||0)+n[i]*6e4);n[t-1]=Infinity}function tt(n,t){for(var r=[],i=0;i<t.length;i++)r[i]=n[t[i]];return r}function it(n){var t=n.split("|"),u=t[2].split(" "),i=t[3].split(""),r=t[4].split(" ");return y(u),y(i),y(r),st(r,i.length),{name:t[0],abbrs:tt(t[1].split(" "),i),offsets:tt(u,i),untils:r,population:t[5]|0}}function c(n){n&&this._set(it(n))}function o(n){var i=n.toTimeString(),t=i.match(/\([a-z ]+\)/i);t&&t[0]?(t=t[0].match(/[A-Z]/g),t=t?t.join(""):undefined):(t=i.match(/[A-Z]{3,5}/g),t=t?t[0]:undefined);t==="GMT"&&(t=undefined);this.at=+n;this.abbr=t;this.offset=n.getTimezoneOffset()}function rt(n){this.zone=n;this.offsetScore=0;this.abbrScore=0}function ht(n,t){for(var i,r;r=((t.at-n.at)/12e4|0)*6e4;)i=new o(new Date(n.at+r)),i.offset===n.offset?n=i:t=i;return n}function ct(){for(var i=(new Date).getFullYear()-2,r=new o(new Date(i,0,1)),t=[r],f,u,n=1;n<48;n++)u=new o(new Date(i,n,1)),u.offset!==r.offset&&(f=ht(r,u),t.push(f),t.push(new o(new Date(f.at+6e4)))),r=u;for(n=0;n<4;n++)t.push(new o(new Date(i+n,0,1))),t.push(new o(new Date(i+n,6,1)));return t}function lt(n,t){return n.offsetScore!==t.offsetScore?n.offsetScore-t.offsetScore:n.abbrScore!==t.abbrScore?n.abbrScore-t.abbrScore:t.zone.population-n.zone.population}function at(n,t){var i,r;for(y(t),i=0;i<t.length;i++)r=t[i],a[r]=a[r]||{},a[r][n]=!0}function vt(n){for(var o=n.length,r={},e=[],u,f,t=0;t<o;t++){f=a[n[t].offset]||{};for(u in f)f.hasOwnProperty(u)&&(r[u]=!0)}for(t in r)r.hasOwnProperty(t)&&e.push(i[t]);return e}function yt(){var n,e;try{if(n=Intl.DateTimeFormat().resolvedOptions().timeZone,n){if(e=i[l(n)],e)return e;s("Moment Timezone found "+n+" from the Intl api, but did not have that data loaded.")}}catch(v){}for(var o=ct(),c=o.length,a=vt(o),t=[],h,f,u=0;u<a.length;u++){for(h=new rt(r(a[u]),c),f=0;f<c;f++)h.scoreOffsetAt(o[f]);t.push(h)}return t.sort(lt),t.length>0?t[0].zone.name:undefined}function pt(n){return(!p||n)&&(p=yt()),p}function l(n){return(n||"").toLowerCase().replace(/\//g,"_")}function ut(n){var t,e,r,u;for(typeof n=="string"&&(n=[n]),t=0;t<n.length;t++)r=n[t].split("|"),e=r[0],u=l(e),f[u]=n[t],i[u]=e,r[5]&&at(u,r[2].split(" "))}function r(n,t){n=l(n);var u=f[n],o;return u instanceof c?u:typeof u=="string"?(u=new c(u),f[n]=u,u):e[n]&&t!==r&&(o=r(e[n],r))?(u=f[n]=new c,u._set(o),u.name=i[n],u):null}function wt(){var n,t=[];for(n in i)i.hasOwnProperty(n)&&(f[n]||f[e[n]])&&i[n]&&t.push(i[n]);return t.sort()}function ft(n){var r,t,u,f;for(typeof n=="string"&&(n=[n]),r=0;r<n.length;r++)t=n[r].split("|"),u=l(t[0]),f=l(t[1]),e[u]=f,i[u]=t[0],e[f]=u,i[f]=t[1]}function et(n){ut(n.zones);ft(n.links);t.dataVersion=n.version}function w(n){return w.didShowError||(w.didShowError=!0,s("moment.tz.zoneExists('"+n+"') has been deprecated in favor of !moment.tz.zone('"+n+"')")),!!r(n)}function b(n){return!!(n._a&&n._tzm===undefined)}function s(n){typeof console!="undefined"&&typeof console.error=="function"&&console.error(n)}function t(t){var e=Array.prototype.slice.call(arguments,0,-1),u=arguments[arguments.length-1],f=r(u),i=n.utc.apply(null,e);return f&&!n.isMoment(t)&&b(i)&&i.add(f.parse(i),"minutes"),i.tz(u),i}function ot(n){return function(){return this._z?this._z.abbr(this):n.call(this)}}function bt(n){return function(){return this._z=null,n.apply(this,arguments)}}var u,h;if(n.tz!==undefined)return s("Moment Timezone "+n.tz.version+" was already loaded "+(n.tz.dataVersion?"with data from ":"without any data")+n.tz.dataVersion),n;var f={},e={},i={},a={},p,k=n.version.split("."),v=+k[0],d=+k[1];return(v<2||v===2&&d<6)&&s("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+n.version+". See momentjs.com"),c.prototype={_set:function(n){this.name=n.name;this.abbrs=n.abbrs;this.untils=n.untils;this.offsets=n.offsets;this.population=n.population},_index:function(n){for(var r=+n,i=this.untils,t=0;t<i.length;t++)if(r<i[t])return t},parse:function(n){for(var h=+n,u=this.offsets,o=this.untils,s=o.length-1,r,f,e,i=0;i<s;i++)if(r=u[i],f=u[i+1],e=u[i?i-1:i],r<f&&t.moveAmbiguousForward?r=f:r>e&&t.moveInvalidForward&&(r=e),h<o[i]-r*6e4)return u[i];return u[s]},abbr:function(n){return this.abbrs[this._index(n)]},offset:function(n){return this.offsets[this._index(n)]}},rt.prototype.scoreOffsetAt=function(n){this.offsetScore+=Math.abs(this.zone.offset(n.at)-n.offset);this.zone.abbr(n.at).replace(/[^A-Z]/g,"")!==n.abbr&&this.abbrScore++},t.version="0.5.5",t.dataVersion="",t._zones=f,t._links=e,t._names=i,t.add=ut,t.link=ft,t.load=et,t.zone=r,t.zoneExists=w,t.guess=pt,t.names=wt,t.Zone=c,t.unpack=it,t.unpackBase60=nt,t.needsOffset=b,t.moveInvalidForward=!0,t.moveAmbiguousForward=!1,u=n.fn,n.tz=t,n.defaultZone=null,n.updateOffset=function(t,i){var u=n.defaultZone,r;t._z===undefined&&(u&&b(t)&&!t._isUTC&&(t._d=n.utc(t._a)._d,t.utc().add(u.parse(t),"minutes")),t._z=u);t._z&&(r=t._z.offset(t),Math.abs(r)<16&&(r=r/60),t.utcOffset!==undefined?t.utcOffset(-r,i):t.zone(r,i))},u.tz=function(t){return t?(this._z=r(t),this._z?n.updateOffset(this):s("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this):this._z?this._z.name:void 0},u.zoneName=ot(u.zoneName),u.zoneAbbr=ot(u.zoneAbbr),u.utc=bt(u.utc),n.tz.setDefault=function(t){return(v<2||v===2&&d<9)&&s("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+n.version+"."),n.defaultZone=t?r(t):null,n},h=n.momentProperties,Object.prototype.toString.call(h)==="[object Array]"?(h.push("_z"),h.push("_a")):h&&(h._z=null),et({version:"2016f",zones:["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Accra|LMT GMT GHST|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5","Africa/Nairobi|LMT EAT BEAT BEAUT|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT WAT|-d.A -10|01|-22y0d.A|17e6","Africa/Bissau|LMT WAT GMT|12.k 10 0|012|-2ldWV.E 2xonV.E|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT WET WEST CET|u.k 0 -10 -10|0121212121212121213121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 Rc0 11A0 e00 e00 U00 11A0 8o0 e00 11A0 11A0 5A0 e00 17c0 1fA0 1a00 1a00 1fA0 17c0 1io0 14o0 1lc0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1lc0 14o0 1fA0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18o0 3I00 17c0 1fA0 1a00 1io0 1a00 1y7p0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT WAT WET WEST|Q.M 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 Rc0 11A0 e00 e00 U00 11A0 8o0 e00 11A0 11A0 5A0 e00 17c0 1fA0 1a00 1a00 1fA0 17c0 1io0 14o0 1lc0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1lc0 14o0 1fA0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|01212121212121212121212121212121213|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0|51e5","Africa/Monrovia|MMT LRT GMT|H.8 I.u 0|012|-23Lzg.Q 29s01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|SWAT SAST SAST CAT WAT WAST|-1u -20 -30 -20 -10 -20|012134545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2GJdu 1Ajdu 1cL0 1SqL0 9NA0 11D0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|CAT CAWT CAPT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3","America/Araguaina|LMT BRT BRST|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT ART ARST ART ARST|4g.M 40 30 30 20|0121212121212121212121212121212121212121213434343434343234343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 g0p0 10M0 j3c0 uL0 1qN0 WL0","America/Argentina/Catamarca|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|0121212121212121212121212121212121212121213434343454343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 g0p0 10M0 ako0 7B0 8zb0 uL0","America/Argentina/Cordoba|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|0121212121212121212121212121212121212121213434343454343234343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 g0p0 10M0 j3c0 uL0 1qN0 WL0","America/Argentina/Jujuy|CMT ART ARST ART ARST WART WARST|4g.M 40 30 30 20 40 30|01212121212121212121212121212121212121212134343456543432343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 g0p0 10M0 j3c0 uL0","America/Argentina/La_Rioja|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|01212121212121212121212121212121212121212134343434534343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 g0p0 10M0 ako0 7B0 8zb0 uL0","America/Argentina/Mendoza|CMT ART ARST ART ARST WART WARST|4g.M 40 30 30 20 40 30|0121212121212121212121212121212121212121213434345656543235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 g0p0 10M0 agM0 Op0 7TX0 uL0","America/Argentina/Rio_Gallegos|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|0121212121212121212121212121212121212121213434343434343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 g0p0 10M0 ako0 7B0 8zb0 uL0","America/Argentina/Salta|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|01212121212121212121212121212121212121212134343434543432343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 g0p0 10M0 j3c0 uL0","America/Argentina/San_Juan|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|01212121212121212121212121212121212121212134343434534343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 g0p0 10M0 ak00 m10 8lb0 uL0","America/Argentina/San_Luis|CMT ART ARST ART ARST WART WARST|4g.M 40 30 30 20 40 30|01212121212121212121212121212121212121212134343456536353465653|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 kin0 10M0 ak00 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0","America/Argentina/Tucuman|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|012121212121212121212121212121212121212121343434345434323534343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 g0p0 10M0 ako0 4N0 8BX0 uL0 1qN0 WL0","America/Argentina/Ushuaia|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|0121212121212121212121212121212121212121213434343434343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 g0p0 10M0 ajA0 8p0 8zb0 uL0","America/Curacao|LMT ANT AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4","America/Asuncion|AMT PYT PYT PYST|3O.E 40 30 30|012131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2","America/Bahia|LMT BRT BRST|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT BRT BRST|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST CHDT CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3","America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2","America/Boa_Vista|LMT AMT AMST|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT COT COST|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT AMT AMST|3C.s 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT VET VET|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT GFT GFT|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Creston|MST PST|70 80|010|-29DR0 43B0|53e2","America/Cuiaba|LMT AMT AMST|3I.k 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0|54e4","America/Danmarkshavn|LMT WGT WGST GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|13e2","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|01234252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 Jy10 SL0 dnB0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|01212121212121341212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 LFB0 1cL0 3Cp0 1cL0 66N0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT ACT ACST AMT|4D.s 50 40 40|0121212121212121212121212121212131|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOP0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Fortaleza|LMT BRT BRST|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT WGT WGST|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.b 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212123|-2l1uQ.N 2HHBQ.N 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT ECT|5e 50|01|-1yVSK|27e5","America/Guyana|LMT GBGT GYT GYT GYT|3Q.E 3J 3J 30 40|01234|-2dvU7.k 24JzQ.k mlc0 Bxbf|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.b 50 40|0121212121212121212121|-2l1uQ.N 2uM1Q.N 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 Bb0 10N0 2bB0 8in0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/La_Paz|CMT BOST BOT|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT PET PEST|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp0 1Vb0 3dB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT BRT BRST|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT AMT AMST|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|0120303030303030303030303030303030454545454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST PMST PMDT|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|MMT UYT UYHST UYST UYT UYHST|3I.I 3u 30 20 30 2u|012121212121212121212121213434343434345454543453434343434343434343434343434343434343434|-20UIf.g 8jzJ.g 1cLu 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1qMu WLu 1qMu 11zu 1o0u 11zu NAu 11bu 2iMu zWu Dq10 19X0 pd0 jz0 cm10 19X0 1fB0 1on0 11d0 1oL0 1nB0 1fzu 1aou 1fzu 1aou 1fzu 3nAu Jb0 3MN0 1SLu 4jzu 2PB0 Lb0 3Dd0 1pb0 ixd0 An0 1MN0 An0 1wp0 On0 1wp0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|24e4","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT FNT FNST|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT NEGT SRT SRT|3E.E 3E.Q 3E.A 3u 3u 30|012345|-2nDUj.k Wqo0.c qanX.I 1dmLN.o lzc0|24e4","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT ACT ACST AMT|4v.c 50 40 40|01212121212121212121212121212131|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT AMT AMST|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT BRT BRST|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT AMT AMST BRT|3C.M 40 30 30|0121212121212121212121212121213|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT CLT CLT CLST CLST|4G.K 50 40 40 30|010203131313131212421242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|62e5","America/Santo_Domingo|SDMT EST EDT EHDT AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT BRT BRST|36.s 30 20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0|20e6","America/Scoresbysund|LMT CGT CGST EGST EGT|1r.Q 20 10 0 10|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 AWST CAST|0 -80 -b0|012121|-2q00 1DjS0 T90 40P0 KL0|10","Antarctica/Davis|-00 DAVT DAVT|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Antarctica/DumontDUrville|-00 PMT DDUT|0 -a0 -a0|0102|-U0o0 cfq0 bFm0|80","Antarctica/Macquarie|AEST AEDT -00 MIST|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 MAWT MAWT|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 ARST ART ART ARST CLT CLST|0 30 40 30 20 40 30|0121212121234356565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|40","Antarctica/Rothera|-00 ROTT|0 30|01|gOo0|130","Antarctica/Syowa|-00 SYOT|0 -30|01|-vs00|20","Antarctica/Troll|-00 UTC CEST|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 VOST|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Riyadh|LMT AST|-36.Q -30|01|-TvD6.Q|57e5","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e5","Asia/Anadyr|LMT ANAT ANAT ANAST ANAST ANAST ANAT|-bN.U -c0 -d0 -e0 -d0 -c0 -b0|01232414141414141414141561414141414141414141414141414141414141561|-1PcbN.U eUnN.U 23CL0 1db0 1cN0 1dc0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qN0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT ASHT ASHT ASHST ASHST TMT TMT|-3R.w -40 -50 -60 -50 -40 -50|012323232323232323232324156|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 ba0 xC0|41e4","Asia/Baghdad|BMT AST ADT|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT GST AST|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT BAKT BAKT BAKST BAKST AZST AZT AZT AZST|-3j.o -30 -40 -50 -40 -40 -30 -40 -50|01232323232323232323232456578787878787878787878787878787878787878787|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 10K0 c30 1cM0 1cM0 8wq0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT ICT|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT FRUT FRUT FRUST FRUST KGT KGST KGT|-4W.o -50 -60 -70 -60 -50 -60 -60|01232323232323232323232456565656565656565656565656567|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 11c0 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 T8u|87e4","Asia/Brunei|LMT BNT BNT|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|HMT BURT IST IST|-5R.k -6u -5u -6u|01232|-18LFR.k 1unn.k HB0 7zX0|15e6","Asia/Chita|LMT YAKT YAKT YAKST YAKST YAKT IRKT|-7x.Q -80 -90 -a0 -90 -a0 -80|0123232323232323232323241232323232323232323232323232323232323232562|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT ULAT ULAT CHOST CHOT CHOT CHOST|-7C -70 -80 -a0 -90 -80 -90|0123434343434343434343434343434343434343434343456565656565656565656565656565656565656565656565|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|01010101010101010|-1c1I0 LX0 16p0 1jz0 1Myp0 Rb0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT IST IHST IST LKT LKT|-5j.w -5u -60 -6u -6u -60|01231451|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT BURT IST DACT BDT BDST|-5R.k -6u -5u -60 -60 -70|01213454|-18LFR.k 1unn.k HB0 m6n0 LqMu 1x6n0 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT TLT JST TLT WITA|-8m.k -80 -90 -90 -80|012343|-2le8m.k 1dnXm.k 8HA0 1ew00 Xld0|19e4","Asia/Dubai|LMT GST|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT DUST DUST DUSST DUSST TJT|-4z.c -50 -60 -70 -60 -50|0123232323232323232323245|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 14N0|76e4","Asia/Gaza|EET EET EEST IST IDT|-20 -30 -30 -20 -30|010101010102020202020202020202023434343434343434343434343430202020202020202020202020202020202020202020202020202020202020202020202020202020202020|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1ny0 1220 1qm0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1qm0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1qm0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1qm0 1220 1ny0 1220 1ny0 1220 1ny0|18e5","Asia/Hebron|EET EET EEST IST IDT|-20 -30 -30 -20 -30|01010101010202020202020202020202343434343434343434343434343020202020202020202020202020202020202020202020202020202020202020202020202020202020202020|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1ny0 1220 1qm0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1qm0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1qm0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1ny0 1220 1qm0 1220 1ny0 1220 1ny0 1220 1ny0|25e4","Asia/Ho_Chi_Minh|LMT PLMT ICT IDT JST|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST JST|-7A.G -80 -90 -90|0121312121212121212121212121212121212121212121212121212121212121212121|-2CFHA.G 1sEP6.G 1cL0 ylu 93X0 1qQu 1tX0 Rd0 1In0 NB0 1cL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1kL0 14N0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT HOVT HOVT HOVST|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT IRKT IRKT IRKST IRKST IRKT|-6V.5 -70 -80 -90 -80 -90|012323232323232323232324123232323232323232323232323232323232323252|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST TRST TRT|-1U.U -20 -30 -40 -30|012121212121212121212121212121212121212121212121212121234343434342121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSp0 CL0 mN0 1Vz0 1gN0 1pz0 5Rd0 1fz0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1jB0 18L0 1ip0 17z0 qdd0 xX0 3S10 Tz0 dA10 11z0 1o10 11z0 1qN0 11z0 1ze0 11B0 WM0 1qO0 WI0 1nX0 1rB0 10L0 11B0 1in0 17d0 1in0 2pX0 19E0 1fU0 16Q0 1iI0 16Q0 1iI0 1Vd0 pb0 3Kp0 14o0 1df0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e6","Asia/Jakarta|BMT JAVT WIB JST WIB WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT WIT ACST|-9m.M -90 -9u|0121|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212132121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|AFT AFT|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT PETT PETT PETST PETST|-ay.A -b0 -c0 -d0 -c0|01232323232323232323232412323232323232323232323232323232323232412|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qN0 WM0|18e4","Asia/Karachi|LMT IST IST KART PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT XJT|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT IST NPT|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT YAKT YAKT YAKST YAKST VLAT VLAST VLAT YAKT|-92.d -80 -90 -a0 -90 -a0 -b0 -b0 -a0|01232323232323232323232412323232323232323232323232565656565656565782|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT KRAT KRAT KRAST KRAST KRAT|-6b.q -60 -70 -80 -70 -80|012323232323232323232324123232323232323232323232323232323232323252|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT MALT MALST MALT MALT JST MYT|-6T.p -70 -7k -7k -7u -90 -80|01234546|-2Bg6T.p 17anT.p 7hXE dM00 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT BORT BORT BORTST JST MYT|-7l.k -7u -80 -8k -90 -80|01232323232323232425|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0 1so10|13e4","Asia/Macau|LMT MOT MOST CST|-7y.k -80 -90 -80|0121212121212121212121212121212121212121213|-2le7y.k 1XO34.k 1wn0 Rd0 1wn0 R9u 1wqu U10 1tz0 TVu 1tz0 17gu 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cJu 1cL0 1cN0 1fz0 1cN0 1cOu 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cJu 1cL0 1cN0 1fz0 1cN0 1cL0 KEp0|57e4","Asia/Magadan|LMT MAGT MAGT MAGST MAGST MAGT|-a3.c -a0 -b0 -c0 -b0 -c0|0123232323232323232323241232323232323232323232323232323232323232512|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT WITA JST|-7V.A -7V.A -80 -90|01232|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PHT PHST JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT OMST OMST OMSST OMSST OMST|-4R.u -50 -60 -70 -60 -70|012323232323232323232324123232323232323232323232323232323232323252|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +04 +05 +06|-3p.o -40 -50 -60|01232323232323232121212121212121212121212121212|-1Pc3p.o eUnp.o 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT WIB JST WIB WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JCST JST KST|-8n -8u -90 -90 -90|012341|-2um8n 97XR 12FXu jdA0 2Onc0|29e5","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|0123232323232323232323232323232323232323232323|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|73e4","Asia/Rangoon|RMT BURT JST MMT|-6o.E -6u -90 -6u|0123|-21Jio.E SmnS.E 7j9u|48e5","Asia/Sakhalin|LMT JCST JST SAKT SAKST SAKST SAKT|-9u.M -90 -90 -b0 -c0 -b0 -a0|01234343434343434343434356343434343435656565656565656565656565656363|-2AGVu.M 1iaMu.M je00 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o10 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT SAMT SAMT SAMST TAST UZST UZT|-4r.R -40 -50 -60 -60 -60 -50|01234323232323232323232356|-1Pc4r.R eUor.R 23CL0 1db0 1cM0 1dc0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 11x0 bf0|36e4","Asia/Seoul|LMT KST JCST JST KST KDT KDT|-8r.Q -8u -90 -90 -90 -9u -a0|01234151515151515146464|-2um8r.Q 97XV.Q 12FXu jjA0 kKo0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Singapore|SMT MALT MALST MALT MALT JST SGT SGT|-6T.p -70 -7k -7k -7u -90 -7u -80|012345467|-2Bg6T.p 17anT.p 7hXE dM00 17bO 8Fyu Mspu DTA0|56e5","Asia/Srednekolymsk|LMT MAGT MAGT MAGST MAGST MAGT SRET|-ae.Q -a0 -b0 -c0 -b0 -c0 -b0|012323232323232323232324123232323232323232323232323232323232323256|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|JWST JST CST CDT|-80 -90 -80 -90|01232323232323232323232323232323232323232|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT TAST TAST TASST TASST UZST UZT|-4B.b -50 -60 -70 -60 -60 -50|01232323232323232323232456|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 11y0 bf0|23e5","Asia/Tbilisi|TBMT TBIT TBIT TBIST TBIST GEST GET GET GEST|-2X.b -30 -40 -50 -40 -40 -30 -40 -50|0123232323232323232323245656565787878787878787878567|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 3y0 19f0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cM0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT IRST IRST IRDT IRDT|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT IST BTT|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JCST JST JDT|-90 -90 -a0|0121212121|-1iw90 pKq0 QL0 1lB0 13X0 1zB0 NX0 1zB0 NX0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT ULAT ULAT ULAST|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT YAKT YAKT MAGST MAGT MAGST MAGT MAGT VLAT VLAT|-9w.S -80 -90 -c0 -b0 -b0 -a0 -c0 -b0 -a0|0123434343434343434343456434343434343434343434343434343434343434789|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT VLAT VLAT VLAST VLAST VLAT|-8L.v -90 -a0 -b0 -a0 -b0|012323232323232323232324123232323232323232323232323232323232323252|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT YAKT YAKT YAKST YAKST YAKT|-8C.W -80 -90 -a0 -90 -a0|012323232323232323232324123232323232323232323232323232323232323252|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT SVET SVET SVEST SVEST YEKT YEKST YEKT|-42.x -3J.5 -40 -50 -60 -50 -50 -60 -60|0123434343434343434343435267676767676767676767676767676767676767686|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT YERT YERT YERST YERST AMST AMT AMT AMST|-2W -30 -40 -50 -40 -40 -30 -40 -50|0123232323232323232323245656565657878787878787878787878787878787|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1am0 2r0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fb0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT AZOT AZOST AZOMT AZOT AZOST WET|1S.w 20 10 0 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545456545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldW5.s aPX5.s Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT CANT WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT CVT CVST CVT|1y.4 20 10 10|01213|-2xomp.U 1qOMp.U 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT MADT MADST MADMT WET WEST|17.A 10 0 -10 0 -10|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldWQ.o aPWQ.o Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT IST ISST GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|GST|20|0||30","Atlantic/Stanley|SMT FKT FKST FKT FKST|3P.o 40 30 30 20|0121212121212134343212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 U10 1qM0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|746","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4","Australia/Eucla|ACWST ACWDT|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Lord_Howe|AEST LHST LHDT LHDT|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Easter|EMT EAST EASST EAST EASST|7h.s 70 60 60 50|0121212121212121212121212121234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|30e2","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","EST|EST|50|0|","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g5X0 14p0 1wn0 17d0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Etc/GMT+0|GMT|0|0|","Etc/GMT+1|GMT+1|10|0|","Etc/GMT+10|GMT+10|a0|0|","Etc/GMT+11|GMT+11|b0|0|","Etc/GMT+12|GMT+12|c0|0|","Etc/GMT+2|GMT+2|20|0|","Etc/GMT+3|GMT+3|30|0|","Etc/GMT+4|GMT+4|40|0|","Etc/GMT+5|GMT+5|50|0|","Etc/GMT+6|GMT+6|60|0|","Etc/GMT+7|GMT+7|70|0|","Etc/GMT+8|GMT+8|80|0|","Etc/GMT+9|GMT+9|90|0|","Etc/GMT-1|GMT-1|-10|0|","Etc/GMT-10|GMT-10|-a0|0|","Etc/GMT-11|GMT-11|-b0|0|","Etc/GMT-12|GMT-12|-c0|0|","Etc/GMT-13|GMT-13|-d0|0|","Etc/GMT-14|GMT-14|-e0|0|","Etc/GMT-2|GMT-2|-20|0|","Etc/GMT-3|GMT-3|-30|0|","Etc/GMT-4|GMT-4|-40|0|","Etc/GMT-5|GMT-5|-50|0|","Etc/GMT-6|GMT-6|-60|0|","Etc/GMT-7|GMT-7|-70|0|","Etc/GMT-8|GMT-8|-80|0|","Etc/GMT-9|GMT-9|-90|0|","Etc/UCT|UCT|0|0|","Etc/UTC|UTC|0|0|","Europe/Amsterdam|AMT NST NEST NET CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 16M0 1lc0 1tA0 17A0 11c0 1io0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST CET CEST MSK MSD EEST EET FET|-10 -20 -20 -30 -30 -40 -30 -20 -30|0101010101010232454545454545454546767676767676767676767676767676767676767676787|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 Am0 Lb0 1en0 op0 1pNz0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WNi.M qHai.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ldXn.f aPWn.f Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|01010101010101010101010121212121234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-28dd0 11A0 1go0 19A0 1co0 1dA0 b1A0 18o0 3I00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 iyo0 Rc0 18o0 1hc0 1io0 1a00 14o0 5aL0 MM0 1vc0 17A0 1i00 1bc0 1eo0 17d0 1in0 17A0 6hA0 10N0 XIL0 1a10 1in0 17d0 19X0 1cN0 1fz0 1a10 1fX0 1cp0 1cO0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2as10 M00 1cM0 1cM0 14o0 1o00 WM0 1qM0 17c0 1cM0 M3A0 5M20 WM0 1fA0 1cM0 1cM0 1cM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 Lz0 1C10 Lz0 1EN0 Lz0 1C10 Lz0 1zd0 Oo0 1C00 On0 1cp0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST FET|-1O -20 -30 -20 -10 -40 -30 -30|012343432525252525252525252616161616161616161616161616161616161616172|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hy0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK MSM EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c20 imv.j 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco8.l cNb8.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2as10 M00 1cM0 1cM0 14o0 1o00 WM0 1qM0 17c0 1cM0 M3A0 5M20 WM0 1fA0 1cM0 16K0 1iO0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 Lz0 1C10 Lz0 1EN0 Lz0 1C10 Lz0 1zd0 Oo0 1C00 On0 1C10 Lz0 1zd0 On0 1C10 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT SAMT SAMT KUYT KUYST MSD MSK EEST SAMST SAMST|-3k.k -30 -40 -40 -50 -40 -30 -30 -50 -40|012343434343434343435656712828282828282828282828282828282828282912|-22WNk.k qHak.k bcn0 1Qqo0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cN0 8o0 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qN0 WM0|12e5","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WNd.A qHad.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1a00 1cM0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT TSAT STAT STAT VOLT VOLST VOLST VOLT MSD MSK MSK|-2V.E -30 -30 -40 -40 -50 -40 -30 -40 -30 -40|0123454545454545454676767489898989898989898989898989898989898989a9|-21IqV.E cLXV.E cEM0 1gqn0 Lco0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1fA0 1cM0 2pz0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|CUT EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0|","Indian/Chagos|LMT IOT IOT|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Christmas|CXT|-70|0||21e2","Indian/Cocos|CCT|-6u|0||596","Indian/Kerguelen|-00 TFT|0 -50|01|-MG00|130","Indian/Mahe|LMT SCT|-3F.M -40|01|-2yO3F.M|79e3","Indian/Maldives|MMT MVT|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT MUT MUST|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT RET|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|MHT KWAT MHT|-b0 c0 -c0|012|-AX0 W9X0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","MST|MST|70|0|","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Chatham|CHAST CHAST CHADT|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Apia|LMT WSST SST SDT WSDT WSST|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|PGT JST BST|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|CHUT|-a0|0||49e3","Pacific/Efate|LMT VUT VUST|-bd.g -b0 -c0|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|PHOT PHOT PHOT|c0 b0 -d0|012|nIc0 B8n0|1","Pacific/Fakaofo|TKT TKT|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT FJT FJST|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0|88e4","Pacific/Funafuti|TVT|-c0|0||45e2","Pacific/Galapagos|LMT ECT GALT|5W.o 50 60|012|-1yVS1.A 2dTz1.A|25e3","Pacific/Gambier|LMT GAMT|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT SBT|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST ChST|-a0 -a0|01|1fpq0|17e4","Pacific/Honolulu|HST HDT HST|au 9u a0|010102|-1thLu 8x0 lef0 8Pz0 46p0|37e4","Pacific/Kiritimati|LINT LINT LINT|aE a0 -e0|012|nIaE B8nk|51e2","Pacific/Kosrae|KOST KOST|-b0 -c0|010|-AX0 1bdz0|66e2","Pacific/Majuro|MHT MHT|-b0 -c0|01|-AX0|28e3","Pacific/Marquesas|LMT MART|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT NST BST SST|bm.M b0 b0 b0|0123|-2nDMB.c 2gVzB.c EyM0|37e2","Pacific/Nauru|LMT NRT JST NRT|-b7.E -bu -90 -c0|01213|-1Xdn7.E PvzB.E 5RCu 1ouJu|10e3","Pacific/Niue|NUT NUT NUT|bk bu b0|012|-KfME 17y0a|12e2","Pacific/Norfolk|NMT NFT NFST NFT|-bc -bu -cu -b0|01213|-Kgbc W01G On0 1COp0|25e4","Pacific/Noumea|LMT NCT NCST|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Palau|PWT|-90|0||21e3","Pacific/Pitcairn|PNT PST|8u 80|01|18Vku|56","Pacific/Pohnpei|PONT|-b0|0||34e3","Pacific/Port_Moresby|PGT|-a0|0||25e4","Pacific/Rarotonga|CKT CKHST CKT|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT TAHT|9W.g a0|01|-2joe1.I|18e4","Pacific/Tarawa|GILT|-c0|0||29e3","Pacific/Tongatapu|TOT TOT TOST|-ck -d0 -e0|01212121|-1aB0k 2n5dk 15A0 1wo0 xz0 1Q10 xz0|75e3","Pacific/Wake|WAKT|-c0|0||16e3","Pacific/Wallis|WFT|-c0|0||94","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00"],links:["Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Sao_Tome","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Juba","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Atikokan|America/Coral_Harbour","America/Chicago|US/Central","America/Curacao|America/Aruba","America/Curacao|America/Kralendijk","America/Curacao|America/Lower_Princes","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Cayman","America/Phoenix|US/Arizona","America/Port_of_Spain|America/Anguilla","America/Port_of_Spain|America/Antigua","America/Port_of_Spain|America/Dominica","America/Port_of_Spain|America/Grenada","America/Port_of_Spain|America/Guadeloupe","America/Port_of_Spain|America/Marigot","America/Port_of_Spain|America/Montserrat","America/Port_of_Spain|America/St_Barthelemy","America/Port_of_Spain|America/St_Kitts","America/Port_of_Spain|America/St_Lucia","America/Port_of_Spain|America/St_Thomas","America/Port_of_Spain|America/St_Vincent","America/Port_of_Spain|America/Tortola","America/Port_of_Spain|America/Virgin","America/Regina|Canada/East-Saskatchewan","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Singapore|Singapore","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT+0|Etc/GMT","Etc/GMT+0|Etc/GMT-0","Etc/GMT+0|Etc/GMT0","Etc/GMT+0|Etc/Greenwich","Etc/GMT+0|GMT","Etc/GMT+0|GMT+0","Etc/GMT+0|GMT-0","Etc/GMT+0|GMT0","Etc/GMT+0|Greenwich","Etc/UCT|UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pohnpei|Pacific/Ponape"]}),n}),function(n){var i=[].slice,t={},r=n.amplify={publish:function(n){var s=i.call(arguments,1),r,u,o,f=0,e;if(!t[n])return!0;for(r=t[n].slice(),o=r.length;f<o;f++)if(u=r[f],e=u.callback.apply(u.context,s),e===!1)break;return e!==!1},subscribe:function(n,i,r,u){var f,s;arguments.length===3&&typeof r=="number"&&(u=r,r=i,i=null);arguments.length===2&&(r=i,i=null);u=u||10;for(var e=0,h=n.split(/\s/),c=h.length,o;e<c;e++){for(n=h[e],o=!1,t[n]||(t[n]=[]),f=t[n].length-1,s={callback:r,context:i,priority:u};f>=0;f--)if(t[n][f].priority<=u){t[n].splice(f+1,0,s);o=!0;break}o||t[n].unshift(s)}return r},unsubscribe:function(n,i){if(!!t[n])for(var u=t[n].length,r=0;r<u;r++)if(t[n][r].callback===i){t[n].splice(r,1);break}}}}(this),function(n,t){function f(n,r){i.addType(n,function(f,e,o){var c,s,v,l,h=e,a=(new Date).getTime();if(!f){h={};l=[];v=0;try{for(f=r.length;f=r.key(v++);)u.test(f)&&(s=JSON.parse(r.getItem(f)),s.expires&&s.expires<=a?l.push(f):h[f.replace(u,"")]=s.data);while(f=l.pop())r.removeItem(f)}catch(y){}return h}if(f="__amplify__"+f,e===t)if(c=r.getItem(f),s=c?JSON.parse(c):{expires:-1},s.expires&&s.expires<=a)r.removeItem(f);else return s.data;else if(e===null)r.removeItem(f);else{s=JSON.stringify({data:e,expires:o.expires?a+o.expires:null});try{r.setItem(f,s)}catch(y){i[n]();try{r.setItem(f,s)}catch(y){throw i.error();}}}return h})}var i=n.store=function(n,t,r,u){var u=i.type;return r&&r.type&&r.type in i.types&&(u=r.type),i.types[u](n,t,r||{})},u,r;i.types={};i.type=null;i.addType=function(n,t){i.type||(i.type=n);i.types[n]=t;i[n]=function(t,r,u){return u=u||{},u.type=n,i(t,r,u)}};i.error=function(){return"amplify.store quota exceeded"};u=/^__amplify__/;for(r in{localStorage:1,sessionStorage:1})try{window[r].getItem&&f(r,window[r])}catch(e){}if(window.globalStorage)try{f("globalStorage",window.globalStorage[window.location.hostname]);i.type==="sessionStorage"&&(i.type="globalStorage")}catch(e){}(function(){if(!i.types.localStorage){var n=document.createElement("div"),r="amplify";n.style.display="none";document.getElementsByTagName("head")[0].appendChild(n);try{n.addBehavior("#default#userdata");n.load(r)}catch(u){n.parentNode.removeChild(n);return}i.addType("userData",function(u,f,e){n.load(r);var s,o,h,v,l,c=f,a=(new Date).getTime();if(!u){for(c={},l=[],v=0;s=n.XMLDocument.documentElement.attributes[v++];)o=JSON.parse(s.value),o.expires&&o.expires<=a?l.push(s.name):c[s.name]=o.data;while(u=l.pop())n.removeAttribute(u);return n.save(r),c}if(u=u.replace(/[^-._0-9A-Za-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c-\u200d\u203f\u2040\u2070-\u218f]/g,"-"),f===t)if(s=n.getAttribute(u),o=s?JSON.parse(s):{expires:-1},o.expires&&o.expires<=a)n.removeAttribute(u);else return o.data;else f===null?n.removeAttribute(u):(h=n.getAttribute(u),o=JSON.stringify({data:f,expires:e.expires?a+e.expires:null}),n.setAttribute(u,o));try{n.save(r)}catch(y){h===null?n.removeAttribute(u):n.setAttribute(u,h);i.userData();try{n.setAttribute(u,o);n.save(r)}catch(y){h===null?n.removeAttribute(u):n.setAttribute(u,h);throw i.error();}}return c})}})(),function(){function u(n){return n===t?t:JSON.parse(JSON.stringify(n))}var n={},r={};i.addType("memory",function(i,f,e){return i?f===t?u(n[i]):(r[i]&&(clearTimeout(r[i]),delete r[i]),f===null)?(delete n[i],null):(n[i]=f,e.expires&&(r[i]=setTimeout(function(){delete n[i];delete r[i]},e.expires)),f):u(n)})}()}(this.amplify=this.amplify||{}),function(n){function i(n){var t=!1;return setTimeout(function(){t=!0},1),function(){var i=this,r=arguments;t?n.apply(i,r):setTimeout(function(){n.apply(i,r)},1)}}function r(n){return{}.toString.call(n)==="[object Function]"}function t(){}n.request=function(u,f,e){var o=u||{};typeof o=="string"&&(r(f)&&(e=f,f={}),o={resourceId:u,data:f||{},success:e});var s={abort:t},h=n.request.resources[o.resourceId],c=o.success||t,l=o.error||t;if(o.success=i(function(t,i){i=i||"success";n.publish("request.success",o,t,i);n.publish("request.complete",o,t,i);c(t,i)}),o.error=i(function(t,i){i=i||"error";n.publish("request.error",o,t,i);n.publish("request.complete",o,t,i);l(t,i)}),!h){if(!o.resourceId)throw"amplify.request: no resourceId provided";throw"amplify.request: unknown resourceId: "+o.resourceId;}if(n.publish("request.before",o))return n.request.resources[o.resourceId](o,s),s;o.error(null,"abort")};n.request.types={};n.request.resources={};n.request.define=function(t,i,r){if(typeof i=="string"){if(!(i in n.request.types))throw"amplify.request.define: unknown type: "+i;r.resourceId=t;n.request.resources[t]=n.request.types[i](r)}else n.request.resources[t]=i}}(amplify),function(n,t,i){var u=["status","statusText","responseText","responseXML","readyState"],f=/\{([^\}]+)\}/g,r;n.request.types.ajax=function(r){return r=t.extend({type:"GET"},r),function(f,e){function c(n,r){t.each(u,function(n,t){try{o[t]=s[t]}catch(i){}});/OK$/.test(o.statusText)&&(o.statusText="success");n===i&&(n=null);l&&(r="abort");/timeout|error|abort/.test(r)?o.error(n,r):o.success(n,r);c=t.noop}var s,v=r.url,a=e.abort,h=t.extend(!0,{},r,{data:f.data}),l=!1,o={readyState:0,setRequestHeader:function(n,t){return s.setRequestHeader(n,t)},getAllResponseHeaders:function(){return s.getAllResponseHeaders()},getResponseHeader:function(n){return s.getResponseHeader(n)},overrideMimeType:function(n){return s.overrideMideType(n)},abort:function(){l=!0;try{s.abort()}catch(n){}c(null,"abort")},success:function(n,t){f.success(n,t)},error:function(n,t){f.error(n,t)}};n.publish("request.ajax.preprocess",r,f,h,o);t.extend(h,{success:function(n,t){c(n,t)},error:function(n,t){c(null,t)},beforeSend:function(t,i){s=t;h=i;var u=r.beforeSend?r.beforeSend.call(this,o,h):!0;return u&&n.publish("request.before.ajax",r,f,h,o)}});t.ajax(h);e.abort=function(){o.abort();a.call(this)}}};n.subscribe("request.ajax.preprocess",function(n,i,r){var e=[],u=r.data;typeof u!="string"&&(u=t.extend(!0,{},n.data,u),r.url=r.url.replace(f,function(n,t){if(t in u)return e.push(t),u[t]}),t.each(e,function(n,t){delete u[t]}),r.data=u)});n.subscribe("request.ajax.preprocess",function(n,i,r){var u=r.data,f=n.dataMap;!f||typeof u=="string"||(t.isFunction(f)?r.data=f(u):(t.each(n.dataMap,function(n,t){n in u&&(u[t]=u[n],delete u[n])}),r.data=u))});r=n.request.cache={_key:function(n,t,i){function u(){return i.charCodeAt(r++)<<24|i.charCodeAt(r++)<<16|i.charCodeAt(r++)<<8|i.charCodeAt(r++)<<0}i=t+i;for(var e=i.length,r=0,f=u();r<e;)f^=u();return"request-"+n+"-"+f},_default:function(){var n={};return function(t,i,u,f){var e=r._key(i.resourceId,u.url,u.data),o=t.cache,s;if(e in n)return f.success(n[e]),!1;s=f.success;f.success=function(t){n[e]=t;typeof o=="number"&&setTimeout(function(){delete n[e]},o);s.apply(this,arguments)}}}()};n.store&&(t.each(n.store.types,function(t){r[t]=function(i,u,f,e){var o=r._key(u.resourceId,f.url,f.data),s=n.store[t](o),h;if(s)return f.success(s),!1;h=e.success;e.success=function(r){n.store[t](o,r,{expires:i.cache.expires});h.apply(this,arguments)}}}),r.persist=r[n.store.type]);n.subscribe("request.before.ajax",function(n){var t=n.cache;if(t)return t=t.type||t,r[t in r?t:"_default"].apply(this,arguments)});n.request.decoders={jsend:function(n,t,i,r,u){n.status==="success"?r(n.data):n.status==="fail"?u(n.data,"fail"):n.status==="error"&&(delete n.status,u(n,"error"))}};n.subscribe("request.before.ajax",function(i,r,u,f){function o(n,t){c(n,t)}function s(n,t){h(n,t)}var h=f.success,c=f.error,e=t.isFunction(i.decoder)?i.decoder:i.decoder in n.request.decoders?n.request.decoders[i.decoder]:n.request.decoders._default;e&&(f.success=function(n,t){e(n,t,f,s,o)},f.error=function(n,t){e(n,t,f,s,o)})})}(amplify,jQuery),function(n){n(["jquery"],function(n){return function(){function l(n,t,u){return f({type:r.error,iconClass:i().iconClasses.error,message:n,optionsOverride:u,title:t})}function a(n,t,u){return f({type:r.info,iconClass:i().iconClasses.info,message:n,optionsOverride:u,title:t})}function v(n){o=n}function y(n,t,u){return f({type:r.success,iconClass:i().iconClasses.success,message:n,optionsOverride:u,title:t})}function p(n,t,u){return f({type:r.warning,iconClass:i().iconClasses.warning,message:n,optionsOverride:u,title:t})}function w(r){var u=i();if(t||e(u),r&&n(":focus",r).length===0){r[u.hideMethod]({duration:u.hideDuration,easing:u.hideEasing,complete:function(){c(r)}});return}t.children().length&&t[u.hideMethod]({duration:u.hideDuration,easing:u.hideEasing,complete:function(){t.remove()}})}function b(){return{tapToDismiss:!0,toastClass:"toast",containerId:angular.isUndefined(u.options.containerId)?"toast-container":u.options.containerId,debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:undefined,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:undefined,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",target:"body",closeHtml:"<button>&times;<\/button>",newestOnTop:!0}}function h(n){o&&o(n)}function f(r){function l(t){if(!n(":focus",f).length||t)return f[u.hideMethod]({duration:u.hideDuration,easing:u.hideEasing,complete:function(){c(f);u.onHidden&&u.onHidden();o.state="hidden";o.endTime=new Date;h(o)}})}function b(){(u.timeOut>0||u.extendedTimeOut>0)&&(y=setTimeout(l,u.extendedTimeOut))}function k(){clearTimeout(y);f.stop(!0,!0)[u.showMethod]({duration:u.showDuration,easing:u.showEasing})}var u=i(),v=r.iconClass||u.iconClass;typeof r.optionsOverride!="undefined"&&(u=n.extend(u,r.optionsOverride),v=r.optionsOverride.iconClass||v);s++;t=e(u);var y=null,f=n("<div/>"),p=n("<div/>"),w=n("<div/>"),a=n(u.closeHtml),o={toastId:s,state:"visible",startTime:new Date,options:u,map:r};return r.iconClass&&f.addClass(u.toastClass).addClass(v),r.title&&(p.append(r.title).addClass(u.titleClass),f.append(p)),r.message&&(w.append(r.message).addClass(u.messageClass),f.append(w)),u.closeButton&&(a.addClass("toast-close-button"),f.prepend(a)),f.hide(),u.newestOnTop?t.prepend(f):t.append(f),f[u.showMethod]({duration:u.showDuration,easing:u.showEasing,complete:u.onShown}),u.timeOut>0&&(y=setTimeout(l,u.timeOut)),f.hover(k,b),!u.onclick&&u.tapToDismiss&&f.click(l),u.closeButton&&a&&a.click(function(n){n.stopPropagation();l(!0)}),u.onclick&&f.click(function(){u.onclick();l()}),h(o),u.debug&&console&&console.log(o),f}function e(r){return(r||(r=i()),t=n("#"+r.containerId),t.length)?t:(t=n("<div/>").attr("id",r.containerId).addClass(r.positionClass),t.appendTo(n(r.target)),t)}function i(){return n.extend({},b(),u.options)}function c(n){(t||(t=e()),n.is(":visible"))||(n.remove(),n=null,t.children().length===0&&t.remove())}var t,o,s=0,r={error:"error",info:"info",success:"success",warning:"warning"},u={clear:w,error:l,getContainer:e,info:a,options:{},subscribe:v,success:y,version:"2.0.1",warning:p};return u}()})}(typeof define=="function"&&define.amd?define:function(n,t){typeof module!="undefined"&&module.exports?module.exports=t(require(n[0])):window.toastr=t(window.jQuery)}),function(){var a=this,ct=a._,e={},r=Array.prototype,g=Object.prototype,lt=Function.prototype,v=r.push,t=r.slice,o=r.concat,f=g.toString,at=g.hasOwnProperty,nt=r.forEach,tt=r.map,it=r.reduce,rt=r.reduceRight,ut=r.filter,ft=r.every,et=r.some,s=r.indexOf,ot=r.lastIndexOf,vt=Array.isArray,yt=Object.keys,y=lt.bind,n=function(t){return t instanceof n?t:this instanceof n?(this._wrapped=t,void 0):new n(t)},i,p,w,h,b,k,c,u,st,ht,l;"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=n),exports._=n):a._=n;n.VERSION="1.4.4";i=n.each=n.forEach=function(t,i,r){var u,o,f;if(null!=t)if(nt&&t.forEach===nt)t.forEach(i,r);else if(t.length===+t.length){for(u=0,o=t.length;o>u;u++)if(i.call(r,t[u],u,t)===e)return}else for(f in t)if(n.has(t,f)&&i.call(r,t[f],f,t)===e)return};n.map=n.collect=function(n,t,r){var u=[];return null==n?u:tt&&n.map===tt?n.map(t,r):(i(n,function(n,i,f){u[u.length]=t.call(r,n,i,f)}),u)};p="Reduce of empty array with no initial value";n.reduce=n.foldl=n.inject=function(t,r,u,f){var e=arguments.length>2;if(null==t&&(t=[]),it&&t.reduce===it)return f&&(r=n.bind(r,f)),e?t.reduce(r,u):t.reduce(r);if(i(t,function(n,t,i){e?u=r.call(f,u,n,t,i):(u=n,e=!0)}),!e)throw new TypeError(p);return u};n.reduceRight=n.foldr=function(t,r,u,f){var o=arguments.length>2,e,s;if(null==t&&(t=[]),rt&&t.reduceRight===rt)return f&&(r=n.bind(r,f)),o?t.reduceRight(r,u):t.reduceRight(r);if(e=t.length,e!==+e&&(s=n.keys(t),e=s.length),i(t,function(n,i,h){i=s?s[--e]:--e;o?u=r.call(f,u,t[i],i,h):(u=t[i],o=!0)}),!o)throw new TypeError(p);return u};n.find=n.detect=function(n,t,i){var r;return w(n,function(n,u,f){if(t.call(i,n,u,f))return(r=n,!0)}),r};n.filter=n.select=function(n,t,r){var u=[];return null==n?u:ut&&n.filter===ut?n.filter(t,r):(i(n,function(n,i,f){t.call(r,n,i,f)&&(u[u.length]=n)}),u)};n.reject=function(t,i,r){return n.filter(t,function(n,t,u){return!i.call(r,n,t,u)},r)};n.every=n.all=function(t,r,u){r||(r=n.identity);var f=!0;return null==t?f:ft&&t.every===ft?t.every(r,u):(i(t,function(n,t,i){if(!(f=f&&r.call(u,n,t,i)))return e}),!!f)};w=n.some=n.any=function(t,r,u){r||(r=n.identity);var f=!1;return null==t?f:et&&t.some===et?t.some(r,u):(i(t,function(n,t,i){if(f||(f=r.call(u,n,t,i)))return e}),!!f)};n.contains=n.include=function(n,t){return null==n?!1:s&&n.indexOf===s?n.indexOf(t)!=-1:w(n,function(n){return n===t})};n.invoke=function(i,r){var u=t.call(arguments,2),f=n.isFunction(r);return n.map(i,function(n){return(f?r:n[r]).apply(n,u)})};n.pluck=function(t,i){return n.map(t,function(n){return n[i]})};n.where=function(t,i,r){return n.isEmpty(i)?r?null:[]:n[r?"find":"filter"](t,function(n){for(var t in i)if(i[t]!==n[t])return!1;return!0})};n.findWhere=function(t,i){return n.where(t,i,!0)};n.max=function(t,r,u){if(!r&&n.isArray(t)&&t[0]===+t[0]&&65535>t.length)return Math.max.apply(Math,t);if(!r&&n.isEmpty(t))return-1/0;var f={computed:-1/0,value:-1/0};return i(t,function(n,t,i){var e=r?r.call(u,n,t,i):n;e>=f.computed&&(f={value:n,computed:e})}),f.value};n.min=function(t,r,u){if(!r&&n.isArray(t)&&t[0]===+t[0]&&65535>t.length)return Math.min.apply(Math,t);if(!r&&n.isEmpty(t))return 1/0;var f={computed:1/0,value:1/0};return i(t,function(n,t,i){var e=r?r.call(u,n,t,i):n;f.computed>e&&(f={value:n,computed:e})}),f.value};n.shuffle=function(t){var u,f=0,r=[];return i(t,function(t){u=n.random(f++);r[f-1]=r[u];r[u]=t}),r};h=function(t){return n.isFunction(t)?t:function(n){return n[t]}};n.sortBy=function(t,i,r){var u=h(i);return n.pluck(n.map(t,function(n,t,i){return{value:n,index:t,criteria:u.call(r,n,t,i)}}).sort(function(n,t){var i=n.criteria,r=t.criteria;if(i!==r){if(i>r||i===void 0)return 1;if(r>i||r===void 0)return-1}return n.index<t.index?-1:1}),"value")};b=function(t,r,u,f){var e={},o=h(r||n.identity);return i(t,function(n,i){var r=o.call(u,n,i,t);f(e,r,n)}),e};n.groupBy=function(t,i,r){return b(t,i,r,function(t,i,r){(n.has(t,i)?t[i]:t[i]=[]).push(r)})};n.countBy=function(t,i,r){return b(t,i,r,function(t,i){n.has(t,i)||(t[i]=0);t[i]++})};n.sortedIndex=function(t,i,r,u){var e;r=null==r?n.identity:h(r);for(var s=r.call(u,i),f=0,o=t.length;o>f;)e=f+o>>>1,s>r.call(u,t[e])?f=e+1:o=e;return f};n.toArray=function(i){return i?n.isArray(i)?t.call(i):i.length===+i.length?n.map(i,n.identity):n.values(i):[]};n.size=function(t){return null==t?0:t.length===+t.length?t.length:n.keys(t).length};n.first=n.head=n.take=function(n,i,r){if(null!=n)return null==i||r?n[0]:t.call(n,0,i)};n.initial=function(n,i,r){return t.call(n,0,n.length-(null==i||r?1:i))};n.last=function(n,i,r){if(null!=n)return null==i||r?n[n.length-1]:t.call(n,Math.max(n.length-i,0))};n.rest=n.tail=n.drop=function(n,i,r){return t.call(n,null==i||r?1:i)};n.compact=function(t){return n.filter(t,n.identity)};k=function(t,r,u){return i(t,function(t){n.isArray(t)?r?v.apply(u,t):k(t,r,u):u.push(t)}),u};n.flatten=function(n,t){return k(n,t,[])};n.without=function(i){return n.difference(i,t.call(arguments,1))};n.uniq=n.unique=function(t,r,u,f){n.isFunction(r)&&(f=u,u=r,r=!1);var s=u?n.map(t,u,f):t,o=[],e=[];return i(s,function(i,u){(r?u&&e[e.length-1]===i:n.contains(e,i))||(e.push(i),o.push(t[u]))}),o};n.union=function(){return n.uniq(o.apply(r,arguments))};n.intersection=function(i){var r=t.call(arguments,1);return n.filter(n.uniq(i),function(t){return n.every(r,function(i){return n.indexOf(i,t)>=0})})};n.difference=function(i){var u=o.apply(r,t.call(arguments,1));return n.filter(i,function(t){return!n.contains(u,t)})};n.zip=function(){for(var r=t.call(arguments),u=n.max(n.pluck(r,"length")),f=Array(u),i=0;u>i;i++)f[i]=n.pluck(r,""+i);return f};n.object=function(n,t){if(null==n)return{};for(var r={},i=0,u=n.length;u>i;i++)t?r[n[i]]=t[i]:r[n[i][0]]=n[i][1];return r};n.indexOf=function(t,i,r){if(null==t)return-1;var u=0,f=t.length;if(r){if("number"!=typeof r)return u=n.sortedIndex(t,i),t[u]===i?u:-1;u=0>r?Math.max(0,f+r):r}if(s&&t.indexOf===s)return t.indexOf(i,r);for(;f>u;u++)if(t[u]===i)return u;return-1};n.lastIndexOf=function(n,t,i){var u,r;if(null==n)return-1;if(u=null!=i,ot&&n.lastIndexOf===ot)return u?n.lastIndexOf(t,i):n.lastIndexOf(t);for(r=u?i:n.length;r--;)if(n[r]===t)return r;return-1};n.range=function(n,t,i){1>=arguments.length&&(t=n||0,n=0);i=arguments[2]||1;for(var r=Math.max(Math.ceil((t-n)/i),0),u=0,f=Array(r);r>u;)f[u++]=n,n+=i;return f};n.bind=function(n,i){if(n.bind===y&&y)return y.apply(n,t.call(arguments,1));var r=t.call(arguments,2);return function(){return n.apply(i,r.concat(t.call(arguments)))}};n.partial=function(n){var i=t.call(arguments,1);return function(){return n.apply(this,i.concat(t.call(arguments)))}};n.bindAll=function(r){var u=t.call(arguments,1);return 0===u.length&&(u=n.functions(r)),i(u,function(t){r[t]=n.bind(r[t],r)}),r};n.memoize=function(t,i){var r={};return i||(i=n.identity),function(){var u=i.apply(this,arguments);return n.has(r,u)?r[u]:r[u]=t.apply(this,arguments)}};n.delay=function(n,i){var r=t.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},i)};n.defer=function(i){return n.delay.apply(n,[i,1].concat(t.call(arguments,1)))};n.throttle=function(n,t){var r,u,i,f,e=0,o=function(){e=new Date;i=null;f=n.apply(r,u)};return function(){var s=new Date,h=t-(s-e);return r=this,u=arguments,0>=h?(clearTimeout(i),i=null,e=s,f=n.apply(r,u)):i||(i=setTimeout(o,h)),f}};n.debounce=function(n,t,i){var r,u;return function(){var f=this,e=arguments,o=function(){r=null;i||(u=n.apply(f,e))},s=i&&!r;return clearTimeout(r),r=setTimeout(o,t),s&&(u=n.apply(f,e)),u}};n.once=function(n){var t,i=!1;return function(){return i?t:(i=!0,t=n.apply(this,arguments),n=null,t)}};n.wrap=function(n,t){return function(){var i=[n];return v.apply(i,arguments),t.apply(this,i)}};n.compose=function(){var n=arguments;return function(){for(var t=arguments,i=n.length-1;i>=0;i--)t=[n[i].apply(this,t)];return t[0]}};n.after=function(n,t){return 0>=n?t():function(){if(1>--n)return t.apply(this,arguments)}};n.keys=yt||function(t){var i,r;if(t!==Object(t))throw new TypeError("Invalid object");i=[];for(r in t)n.has(t,r)&&(i[i.length]=r);return i};n.values=function(t){var r=[],i;for(i in t)n.has(t,i)&&r.push(t[i]);return r};n.pairs=function(t){var r=[],i;for(i in t)n.has(t,i)&&r.push([i,t[i]]);return r};n.invert=function(t){var r={},i;for(i in t)n.has(t,i)&&(r[t[i]]=i);return r};n.functions=n.methods=function(t){var r=[],i;for(i in t)n.isFunction(t[i])&&r.push(i);return r.sort()};n.extend=function(n){return i(t.call(arguments,1),function(t){if(t)for(var i in t)n[i]=t[i]}),n};n.pick=function(n){var u={},f=o.apply(r,t.call(arguments,1));return i(f,function(t){t in n&&(u[t]=n[t])}),u};n.omit=function(i){var f={},e=o.apply(r,t.call(arguments,1)),u;for(u in i)n.contains(e,u)||(f[u]=i[u]);return f};n.defaults=function(n){return i(t.call(arguments,1),function(t){if(t)for(var i in t)null==n[i]&&(n[i]=t[i])}),n};n.clone=function(t){return n.isObject(t)?n.isArray(t)?t.slice():n.extend({},t):t};n.tap=function(n,t){return t(n),n};c=function(t,i,r,u){var a,v,e,o,h,l,s;if(t===i)return 0!==t||1/t==1/i;if(null==t||null==i)return t===i;if(t instanceof n&&(t=t._wrapped),i instanceof n&&(i=i._wrapped),a=f.call(t),a!=f.call(i))return!1;switch(a){case"[object String]":return t==i+"";case"[object Number]":return t!=+t?i!=+i:0==t?1/t==1/i:t==+i;case"[object Date]":case"[object Boolean]":return+t==+i;case"[object RegExp]":return t.source==i.source&&t.global==i.global&&t.multiline==i.multiline&&t.ignoreCase==i.ignoreCase}if("object"!=typeof t||"object"!=typeof i)return!1;for(v=r.length;v--;)if(r[v]==t)return u[v]==i;if(r.push(t),u.push(i),e=0,o=!0,"[object Array]"==a){if(e=t.length,o=e==i.length)for(;e--&&(o=c(t[e],i[e],r,u)););}else{if(h=t.constructor,l=i.constructor,h!==l&&!(n.isFunction(h)&&h instanceof h&&n.isFunction(l)&&l instanceof l))return!1;for(s in t)if(n.has(t,s)&&(e++,!(o=n.has(i,s)&&c(t[s],i[s],r,u))))break;if(o){for(s in i)if(n.has(i,s)&&!e--)break;o=!e}}return r.pop(),u.pop(),o};n.isEqual=function(n,t){return c(n,t,[],[])};n.isEmpty=function(t){if(null==t)return!0;if(n.isArray(t)||n.isString(t))return 0===t.length;for(var i in t)if(n.has(t,i))return!1;return!0};n.isElement=function(n){return!(!n||1!==n.nodeType)};n.isArray=vt||function(n){return"[object Array]"==f.call(n)};n.isObject=function(n){return n===Object(n)};i(["Arguments","Function","String","Number","Date","RegExp"],function(t){n["is"+t]=function(n){return f.call(n)=="[object "+t+"]"}});n.isArguments(arguments)||(n.isArguments=function(t){return!(!t||!n.has(t,"callee"))});"function"!=typeof/./&&(n.isFunction=function(n){return"function"==typeof n});n.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))};n.isNaN=function(t){return n.isNumber(t)&&t!=+t};n.isBoolean=function(n){return n===!0||n===!1||"[object Boolean]"==f.call(n)};n.isNull=function(n){return null===n};n.isUndefined=function(n){return n===void 0};n.has=function(n,t){return at.call(n,t)};n.noConflict=function(){return a._=ct,this};n.identity=function(n){return n};n.times=function(n,t,i){for(var u=Array(n),r=0;n>r;r++)u[r]=t.call(i,r);return u};n.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))};u={escape:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;"}};u.unescape=n.invert(u.escape);st={escape:RegExp("["+n.keys(u.escape).join("")+"]","g"),unescape:RegExp("("+n.keys(u.unescape).join("|")+")","g")};n.each(["escape","unescape"],function(t){n[t]=function(n){return null==n?"":(""+n).replace(st[t],function(n){return u[t][n]})}});n.result=function(t,i){if(null==t)return null;var r=t[i];return n.isFunction(r)?r.call(t):r};n.mixin=function(t){i(n.functions(t),function(i){var r=n[i]=t[i];n.prototype[i]=function(){var t=[this._wrapped];return v.apply(t,arguments),l.call(this,r.apply(n,t))}})};ht=0;n.uniqueId=function(n){var t=++ht+"";return n?n+t:t};n.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var d=/(.)^/,pt={"'":"'","\\":"\\","\r":"r","\n":"n","\t":"t","\u2028":"u2028","\u2029":"u2029"},wt=/\\|'|\r|\n|\t|\u2028|\u2029/g;n.template=function(t,i,r){var f,e;r=n.defaults({},r,n.templateSettings);var h=RegExp([(r.escape||d).source,(r.interpolate||d).source,(r.evaluate||d).source].join("|")+"|$","g"),o=0,u="__p+='";t.replace(h,function(n,i,r,f,e){return u+=t.slice(o,e).replace(wt,function(n){return"\\"+pt[n]}),i&&(u+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'"),r&&(u+="'+\n((__t=("+r+"))==null?'':__t)+\n'"),f&&(u+="';\n"+f+"\n__p+='"),o=e+n.length,n});u+="';\n";r.variable||(u="with(obj||{}){\n"+u+"}\n");u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{f=Function(r.variable||"obj","_",u)}catch(s){throw s.source=u,s;}return i?f(i,n):(e=function(t){return f.call(this,t,n)},e.source="function("+(r.variable||"obj")+"){\n"+u+"}",e)};n.chain=function(t){return n(t).chain()};l=function(t){return this._chain?n(t).chain():t};n.mixin(n);i(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var i=r[t];n.prototype[t]=function(){var n=this._wrapped;return i.apply(n,arguments),"shift"!=t&&"splice"!=t||0!==n.length||delete n[0],l.call(this,n)}});i(["concat","join","slice"],function(t){var i=r[t];n.prototype[t]=function(){return l.call(this,i.apply(this._wrapped,arguments))}});n.extend(n.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}.call(this),!function(){"use strict";function h(n,t){n.s=t!==null&&t!==undefined?typeof t=="string"?t:t.toString():t;n.orig=t;t!==null&&t!==undefined?n.__defineGetter__?n.__defineGetter__("length",function(){return n.s.length}):n.length=t.length:n.length=-1}function i(n){h(this,n)}function a(){for(var t in n)(function(t){var i=n[t];r.hasOwnProperty(t)||(e.push(t),r[t]=function(){return String.prototype.s=this,i.apply(this,arguments)})})(t)}function v(){for(var n=0;n<e.length;++n)delete String.prototype[e[n]];e.length=0}function y(){for(var i=p(),u={},t,f,e,n=0;n<i.length;++n){t=i[n];f=r[t];try{e=typeof f.apply("teststring",[]);u[t]=e}catch(o){}}return u}function p(){var n=[],i,u,t;if(Object.getOwnPropertyNames)return n=Object.getOwnPropertyNames(r),n.splice(n.indexOf("valueOf"),1),n.splice(n.indexOf("toString"),1),n;i={};u=[];for(t in String.prototype)i[t]=t;for(t in Object.prototype)delete i[t];for(t in i)n.push(t);return n}function t(n){return new i(n)}function w(n,t){for(var r=[],i=0;i<n.length;i++)r.push(n[i]),t&&t.call(n,n[i],i);return r}var f={},r=String.prototype,n=i.prototype={between:function(n,t){var i=this.s,r=i.indexOf(n),u=i.indexOf(t),f=r+n.length;return new this.constructor(u>r?i.slice(f,u):"")},camelize:function(){var n=this.trim().s.replace(/(\-|_|\s)+(.)?/g,function(n,t,i){return i?i.toUpperCase():""});return new this.constructor(n)},capitalize:function(){return new this.constructor(this.s.substr(0,1).toUpperCase()+this.s.substring(1).toLowerCase())},charAt:function(n){return this.s.charAt(n)},chompLeft:function(n){var t=this.s;return t.indexOf(n)===0?(t=t.slice(n.length),new this.constructor(t)):this},chompRight:function(n){if(this.endsWith(n)){var t=this.s;return t=t.slice(0,t.length-n.length),new this.constructor(t)}return this},collapseWhitespace:function(){var n=this.s.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"");return new this.constructor(n)},contains:function(n){return this.s.indexOf(n)>=0},count:function(n){for(var i=0,t=this.s.indexOf(n);t>=0;)i+=1,t=this.s.indexOf(n,t+1);return i},dasherize:function(){var n=this.trim().s.replace(/[_\s]+/g,"-").replace(/([A-Z])/g,"-$1").replace(/-+/g,"-").toLowerCase();return new this.constructor(n)},decodeHtmlEntities:function(){var n=this.s;return n=n.replace(/&#(\d+);?/g,function(n,t){return String.fromCharCode(t)}).replace(/&#[xX]([A-Fa-f0-9]+);?/g,function(n,t){return String.fromCharCode(parseInt(t,16))}).replace(/&([^;\W]+;?)/g,function(n,t){var r=t.replace(/;$/,""),i=f[t]||t.match(/;$/)&&f[r];return typeof i=="number"?String.fromCharCode(i):typeof i=="string"?i:n}),new this.constructor(n)},endsWith:function(n){var t=this.s.length-n.length;return t>=0&&this.s.indexOf(n,t)===t},escapeHTML:function(){return new this.constructor(this.s.replace(/[&<>"']/g,function(n){return"&"+o[n]+";"}))},ensureLeft:function(n){var t=this.s;return t.indexOf(n)===0?this:new this.constructor(n+t)},ensureRight:function(n){var t=this.s;return this.endsWith(n)?this:new this.constructor(t+n)},humanize:function(){if(this.s===null||this.s===undefined)return new this.constructor("");var n=this.underscore().replace(/_id$/,"").replace(/_/g," ").trim().capitalize();return new this.constructor(n)},isAlpha:function(){return!/[^a-z\xC0-\xFF]/.test(this.s.toLowerCase())},isAlphaNumeric:function(){return!/[^0-9a-z\xC0-\xFF]/.test(this.s.toLowerCase())},isEmpty:function(){return this.s===null||this.s===undefined?!0:/^[\s\xa0]*$/.test(this.s)},isLower:function(){return this.isAlpha()&&this.s.toLowerCase()===this.s},isNumeric:function(){return!/[^0-9]/.test(this.s)},isUpper:function(){return this.isAlpha()&&this.s.toUpperCase()===this.s},left:function(n){if(n>=0){var t=this.s.substr(0,n);return new this.constructor(t)}return this.right(-n)},lines:function(){return this.replaceAll("\r\n","\n").s.split("\n")},pad:function(n,t){if(t=t||" ",this.s.length>=n)return new this.constructor(this.s);n=n-this.s.length;var i=Array(Math.ceil(n/2)+1).join(t),r=Array(Math.floor(n/2)+1).join(t);return new this.constructor(i+this.s+r)},padLeft:function(n,t){return(t=t||" ",this.s.length>=n)?new this.constructor(this.s):new this.constructor(Array(n-this.s.length+1).join(t)+this.s)},padRight:function(n,t){return(t=t||" ",this.s.length>=n)?new this.constructor(this.s):new this.constructor(this.s+Array(n-this.s.length+1).join(t))},parseCSV:function(n,t,i,r){var s,h;n=n||",";i=i||"\\";typeof t=="undefined"&&(t='"');var o=0,u=[],f=[],l=this.s.length,e=!1,a=this,c=function(n){return a.s.charAt(n)};for(typeof r!="undefined"&&(s=[]),t||(e=!0);o<l;){h=c(o);switch(h){case i:if(e&&(i!==t||c(o+1)===t)){o+=1;u.push(c(o));break}if(i!==t)break;case t:e=!e;break;case n:e&&t?u.push(h):(f.push(u.join("")),u.length=0);break;case r:e?u.push(h):s&&(f.push(u.join("")),s.push(f),f=[],u.length=0);break;default:e&&u.push(h)}o+=1}return(f.push(u.join("")),s)?(s.push(f),s):f},replaceAll:function(n,t){var i=this.s.split(n).join(t);return new this.constructor(i)},right:function(n){if(n>=0){var t=this.s.substr(this.s.length-n,n);return new this.constructor(t)}return this.left(-n)},setValue:function(n){return h(this,n),this},slugify:function(){var n=new i(this.s.replace(/[^\w\s-]/g,"").toLowerCase()).dasherize().s;return n.charAt(0)==="-"&&(n=n.substr(1)),new this.constructor(n)},startsWith:function(n){return this.s.lastIndexOf(n,0)===0},stripPunctuation:function(){return new this.constructor(this.s.replace(/[^\w\s]|_/g,"").replace(/\s+/g," "))},stripTags:function(){var n=this.s,t=arguments.length>0?arguments:[""];return w(t,function(t){n=n.replace(RegExp("<\/?"+t+"[^<>]*>","gi"),"")}),new this.constructor(n)},template:function(n,i,r){var u=this.s,i=i||t.TMPL_OPEN,r=r||t.TMPL_CLOSE,f=new RegExp(i+"(.+?)"+r,"g"),e=u.match(f)||[];return e.forEach(function(t){var f=t.substring(i.length,t.length-r.length);typeof n[f]!="undefined"&&(u=u.replace(t,n[f]))}),new this.constructor(u)},times:function(n){return new this.constructor(new Array(n+1).join(this.s))},toBoolean:function(){if(typeof this.orig=="string"){var n=this.s.toLowerCase();return n==="true"||n==="yes"||n==="on"}return this.orig===!0||this.orig===1},toFloat:function(n){var t=parseFloat(this.s);return n?parseFloat(t.toFixed(n)):t},toInt:function(){return/^\s*-?0x/i.test(this.s)?parseInt(this.s,16):parseInt(this.s,10)},trim:function(){var n;return n=typeof r.trim=="undefined"?this.s.replace(/(^\s*|\s*$)/g,""):this.s.trim(),new this.constructor(n)},trimLeft:function(){var n;return n=r.trimLeft?this.s.trimLeft():this.s.replace(/(^\s*)/g,""),new this.constructor(n)},trimRight:function(){var n;return n=r.trimRight?this.s.trimRight():this.s.replace(/\s+$/,""),new this.constructor(n)},truncate:function(n,t){var u=this.s,f,r;return(n=~~n,t=t||"...",u.length<=n)?new this.constructor(u):(f=function(n){return n.toUpperCase()!==n.toLowerCase()?"A":" "},r=u.slice(0,n+1).replace(/.(?=\W*\w*$)/g,f),r=r.slice(r.length-2).match(/\w\w/)?r.replace(/\s*\S+$/,""):new i(r.slice(0,r.length-1)).trimRight().s,(r+t).length>u.length?new i(u):new i(u.slice(0,r.length)+t))},toCSV:function(){function v(n){return n!==null&&n!==""}var u=",",n='"',s="\\",h=!0,c=!1,r=[],e,l,t,f,o,a;if(typeof arguments[0]=="object"?(u=arguments[0].delimiter||u,u=arguments[0].separator||u,n=arguments[0].qualifier||n,h=!!arguments[0].encloseNumbers,s=arguments[0].escape||s,c=!!arguments[0].keys):typeof arguments[0]=="string"&&(u=arguments[0]),typeof arguments[1]=="string"&&(n=arguments[1]),arguments[1]===null&&(n=null),this.orig instanceof Array)r=this.orig;else for(e in this.orig)this.orig.hasOwnProperty(e)&&(c?r.push(e):r.push(this.orig[e]));for(l=s+n,t=[],f=0;f<r.length;++f)o=v(n),typeof r[f]=="number"&&(o&=h),o&&t.push(n),r[f]!==null&&r[f]!==undefined?(a=new i(r[f]).replaceAll(n,l).s,t.push(a)):t.push(""),o&&t.push(n),u&&t.push(u);return t.length=t.length-1,new this.constructor(t.join(""))},toString:function(){return this.s},underscore:function(){var n=this.trim().s.replace(/([a-z\d])([A-Z]+)/g,"$1_$2").replace(/[-\s]+/g,"_").toLowerCase();return new i(this.s.charAt(0)).isUpper()&&(n="_"+n),new this.constructor(n)},unescapeHTML:function(){return new this.constructor(this.s.replace(/\&([^;]+);/g,function(n,t){var i;return t in u?u[t]:(i=t.match(/^#x([\da-fA-F]+)$/))?String.fromCharCode(parseInt(i[1],16)):(i=t.match(/^#(\d+)$/))?String.fromCharCode(~~i[1]):n}))},valueOf:function(){return this.s.valueOf()}},e=[],c=y(),l,u,o,s;for(l in c)(function(t){var i=r[t];typeof i=="function"&&(n[t]||(n[t]=c[t]==="string"?function(){return new this.constructor(i.apply(this,arguments))}:i))})(l);n.repeat=n.times;n.include=n.contains;n.toInteger=n.toInt;n.toBool=n.toBoolean;n.decodeHTMLEntities=n.decodeHtmlEntities;n.constructor=i;t.extendPrototype=a;t.restorePrototype=v;t.VERSION="1.6.0";t.TMPL_OPEN="{{";t.TMPL_CLOSE="}}";t.ENTITIES=f;typeof module!="undefined"&&typeof module.exports!="undefined"?module.exports=t:typeof define=="function"&&define.amd?define([],function(){return t}):window.S=t;u={lt:"<",gt:">",quot:'"',apos:"'",amp:"&"};o={};for(s in u)o[u[s]]=s;f={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,"OElig;":338,"oelig;":339,"Scaron;":352,"scaron;":353,"Yuml;":376,"fnof;":402,"circ;":710,"tilde;":732,"Alpha;":913,"Beta;":914,"Gamma;":915,"Delta;":916,"Epsilon;":917,"Zeta;":918,"Eta;":919,"Theta;":920,"Iota;":921,"Kappa;":922,"Lambda;":923,"Mu;":924,"Nu;":925,"Xi;":926,"Omicron;":927,"Pi;":928,"Rho;":929,"Sigma;":931,"Tau;":932,"Upsilon;":933,"Phi;":934,"Chi;":935,"Psi;":936,"Omega;":937,"alpha;":945,"beta;":946,"gamma;":947,"delta;":948,"epsilon;":949,"zeta;":950,"eta;":951,"theta;":952,"iota;":953,"kappa;":954,"lambda;":955,"mu;":956,"nu;":957,"xi;":958,"omicron;":959,"pi;":960,"rho;":961,"sigmaf;":962,"sigma;":963,"tau;":964,"upsilon;":965,"phi;":966,"chi;":967,"psi;":968,"omega;":969,"thetasym;":977,"upsih;":978,"piv;":982,"ensp;":8194,"emsp;":8195,"thinsp;":8201,"zwnj;":8204,"zwj;":8205,"lrm;":8206,"rlm;":8207,"ndash;":8211,"mdash;":8212,"lsquo;":8216,"rsquo;":8217,"sbquo;":8218,"ldquo;":8220,"rdquo;":8221,"bdquo;":8222,"dagger;":8224,"Dagger;":8225,"bull;":8226,"hellip;":8230,"permil;":8240,"prime;":8242,"Prime;":8243,"lsaquo;":8249,"rsaquo;":8250,"oline;":8254,"frasl;":8260,"euro;":8364,"image;":8465,"weierp;":8472,"real;":8476,"trade;":8482,"alefsym;":8501,"larr;":8592,"uarr;":8593,"rarr;":8594,"darr;":8595,"harr;":8596,"crarr;":8629,"lArr;":8656,"uArr;":8657,"rArr;":8658,"dArr;":8659,"hArr;":8660,"forall;":8704,"part;":8706,"exist;":8707,"empty;":8709,"nabla;":8711,"isin;":8712,"notin;":8713,"ni;":8715,"prod;":8719,"sum;":8721,"minus;":8722,"lowast;":8727,"radic;":8730,"prop;":8733,"infin;":8734,"ang;":8736,"and;":8743,"or;":8744,"cap;":8745,"cup;":8746,"int;":8747,"there4;":8756,"sim;":8764,"cong;":8773,"asymp;":8776,"ne;":8800,"equiv;":8801,"le;":8804,"ge;":8805,"sub;":8834,"sup;":8835,"nsub;":8836,"sube;":8838,"supe;":8839,"oplus;":8853,"otimes;":8855,"perp;":8869,"sdot;":8901,"lceil;":8968,"rceil;":8969,"lfloor;":8970,"rfloor;":8971,"lang;":9001,"rang;":9002,"loz;":9674,"spades;":9824,"clubs;":9827,"hearts;":9829,"diams;":9830}}.call(this),!jQuery)throw new Error("Bootstrap requires jQuery");+function(n){"use strict";function t(){var i=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(void 0!==i.style[n])return{end:t[n]}}n.fn.emulateTransitionEnd=function(t){var i=!1,u=this,r;n(this).one(n.support.transition.end,function(){i=!0});return r=function(){i||n(u).trigger(n.support.transition.end)},setTimeout(r,t),this};n(function(){n.support.transition=t()})}(window.jQuery);+function(n){"use strict";var i='[data-dismiss="alert"]',t=function(t){n(t).on("click",i,this.close)},r;t.prototype.close=function(t){function f(){i.trigger("closed.bs.alert").remove()}var u=n(this),r=u.attr("data-target"),i;r||(r=u.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));i=n(r);t&&t.preventDefault();i.length||(i=u.hasClass("alert")?u:u.parent());i.trigger(t=n.Event("close.bs.alert"));t.isDefaultPrevented()||(i.removeClass("in"),n.support.transition&&i.hasClass("fade")?i.one(n.support.transition.end,f).emulateTransitionEnd(150):f())};r=n.fn.alert;n.fn.alert=function(i){return this.each(function(){var r=n(this),u=r.data("bs.alert");u||r.data("bs.alert",u=new t(this));"string"==typeof i&&u[i].call(r)})};n.fn.alert.Constructor=t;n.fn.alert.noConflict=function(){return n.fn.alert=r,this};n(document).on("click.bs.alert.data-api",i,t.prototype.close)}(window.jQuery);+function(n){"use strict";var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r)},i;t.DEFAULTS={loadingText:"loading..."};t.prototype.setState=function(n){var i="disabled",t=this.$element,r=t.is("input")?"val":"html",u=t.data();n+="Text";u.resetText||t.data("resetText",t[r]());t[r](u[n]||this.options[n]);setTimeout(function(){"loadingText"==n?t.addClass(i).attr(i,i):t.removeClass(i).removeAttr(i)},0)};t.prototype.toggle=function(){var n=this.$element.closest('[data-toggle="buttons"]'),t;n.length&&(t=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change"),"radio"===t.prop("type")&&n.find(".active").removeClass("active"));this.$element.toggleClass("active")};i=n.fn.button;n.fn.button=function(i){return this.each(function(){var u=n(this),r=u.data("bs.button"),f="object"==typeof i&&i;r||u.data("bs.button",r=new t(this,f));"toggle"==i?r.toggle():i&&r.setState(i)})};n.fn.button.Constructor=t;n.fn.button.noConflict=function(){return n.fn.button=i,this};n(document).on("click.bs.button.data-api","[data-toggle^=button]",function(t){var i=n(t.target);i.hasClass("btn")||(i=i.closest(".btn"));i.button("toggle");t.preventDefault()})}(window.jQuery);+function(n){"use strict";var t=function(t,i){this.$element=n(t);this.$indicators=this.$element.find(".carousel-indicators");this.options=i;this.paused=this.sliding=this.interval=this.$active=this.$items=null;"hover"==this.options.pause&&this.$element.on("mouseenter",n.proxy(this.pause,this)).on("mouseleave",n.proxy(this.cycle,this))},i;t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0};t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(n.proxy(this.next,this),this.options.interval)),this};t.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)};t.prototype.to=function(t){var r=this,i=this.getActiveIndex();if(!(t>this.$items.length-1)&&!(0>t))return this.sliding?this.$element.one("slid",function(){r.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",n(this.$items[t]))};t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition.end&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this};t.prototype.next=function(){if(!this.sliding)return this.slide("next")};t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")};t.prototype.slide=function(t,i){var u=this.$element.find(".item.active"),r=i||u[t](),s=this.interval,f="next"==t?"left":"right",h="next"==t?"first":"last",o=this,e;if(!r.length){if(!this.options.wrap)return;r=this.$element.find(".item")[h]()}if(this.sliding=!0,s&&this.pause(),e=n.Event("slide.bs.carousel",{relatedTarget:r[0],direction:f}),!r.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=n(o.$indicators.children()[o.getActiveIndex()]);t&&t.addClass("active")})),n.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(e),e.isDefaultPrevented())return;r.addClass(t);r[0].offsetWidth;u.addClass(f);r.addClass(f);u.one(n.support.transition.end,function(){r.removeClass([t,f].join(" ")).addClass("active");u.removeClass(["active",f].join(" "));o.sliding=!1;setTimeout(function(){o.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(e),e.isDefaultPrevented())return;u.removeClass("active");r.addClass("active");this.sliding=!1;this.$element.trigger("slid")}return s&&this.cycle(),this}};i=n.fn.carousel;n.fn.carousel=function(i){return this.each(function(){var u=n(this),r=u.data("bs.carousel"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i),e="string"==typeof i?i:f.slide;r||u.data("bs.carousel",r=new t(this,f));"number"==typeof i?r.to(i):e?r[e]():f.interval&&r.pause().cycle()})};n.fn.carousel.Constructor=t;n.fn.carousel.noConflict=function(){return n.fn.carousel=i,this};n(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(t){var f,i=n(this),r=n(i.attr("data-target")||(f=i.attr("href"))&&f.replace(/.*(?=#[^\s]+$)/,"")),e=n.extend({},r.data(),i.data()),u=i.attr("data-slide-to");u&&(e.interval=!1);r.carousel(e);(u=i.attr("data-slide-to"))&&r.data("bs.carousel").to(u);t.preventDefault()});n(window).on("load",function(){n('[data-ride="carousel"]').each(function(){var t=n(this);t.carousel(t.data())})})}(window.jQuery);+function(n){"use strict";var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.transitioning=null;this.options.parent&&(this.$parent=n(this.options.parent));this.options.toggle&&this.toggle()},i;t.DEFAULTS={toggle:!0};t.prototype.dimension=function(){var n=this.$element.hasClass("width");return n?"width":"height"};t.prototype.show=function(){var u,t,r,i,f,e;if(!this.transitioning&&!this.$element.hasClass("in")&&(u=n.Event("show.bs.collapse"),this.$element.trigger(u),!u.isDefaultPrevented())){if(t=this.$parent&&this.$parent.find("> .panel > .in"),t&&t.length){if(r=t.data("bs.collapse"),r&&r.transitioning)return;t.collapse("hide");r||t.data("bs.collapse",null)}if(i=this.dimension(),this.$element.removeClass("collapse").addClass("collapsing")[i](0),this.transitioning=1,f=function(){this.$element.removeClass("collapsing").addClass("in")[i]("auto");this.transitioning=0;this.$element.trigger("shown.bs.collapse")},!n.support.transition)return f.call(this);e=n.camelCase(["scroll",i].join("-"));this.$element.one(n.support.transition.end,n.proxy(f,this)).emulateTransitionEnd(350)[i](this.$element[0][e])}};t.prototype.hide=function(){var i,t,r;if(!this.transitioning&&this.$element.hasClass("in")&&(i=n.Event("hide.bs.collapse"),this.$element.trigger(i),!i.isDefaultPrevented()))return t=this.dimension(),this.$element[t](this.$element[t]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1,r=function(){this.transitioning=0;this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")},n.support.transition?(this.$element[t](0).one(n.support.transition.end,n.proxy(r,this)).emulateTransitionEnd(350),void 0):r.call(this)};t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};i=n.fn.collapse;n.fn.collapse=function(i){return this.each(function(){var r=n(this),u=r.data("bs.collapse"),f=n.extend({},t.DEFAULTS,r.data(),"object"==typeof i&&i);u||r.data("bs.collapse",u=new t(this,f));"string"==typeof i&&u[i]()})};n.fn.collapse.Constructor=t;n.fn.collapse.noConflict=function(){return n.fn.collapse=i,this};n(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(t){var e,i=n(this),s=i.attr("data-target")||t.preventDefault()||(e=i.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""),r=n(s),u=r.data("bs.collapse"),h=u?"toggle":i.data(),f=i.attr("data-parent"),o=f&&n(f);u&&u.transitioning||(o&&o.find('[data-toggle=collapse][data-parent="'+f+'"]').not(i).addClass("collapsed"),i[r.hasClass("in")?"addClass":"removeClass"]("collapsed"));r.collapse(h)})}(window.jQuery);+function(n){"use strict";function r(){n(e).remove();n(i).each(function(t){var i=u(n(this));i.hasClass("open")&&(i.trigger(t=n.Event("hide.bs.dropdown")),t.isDefaultPrevented()||i.removeClass("open").trigger("hidden.bs.dropdown"))})}function u(t){var i=t.attr("data-target"),r;return i||(i=t.attr("href"),i=i&&/#/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),r=i&&n(i),r&&r.length?r:t.parent()}var e=".dropdown-backdrop",i="[data-toggle=dropdown]",t=function(t){n(t).on("click.bs.dropdown",this.toggle)},f;t.prototype.toggle=function(t){var f=n(this),i,e;if(!f.is(".disabled, :disabled")){if(i=u(f),e=i.hasClass("open"),r(),!e){if("ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&n('<div class="dropdown-backdrop"/>').insertAfter(n(this)).on("click",r),i.trigger(t=n.Event("show.bs.dropdown")),t.isDefaultPrevented())return;i.toggleClass("open").trigger("shown.bs.dropdown");f.focus()}return!1}};t.prototype.keydown=function(t){var e,o,s,f,r;if(/(38|40|27)/.test(t.keyCode)&&(e=n(this),t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled"))){if(o=u(e),s=o.hasClass("open"),!s||s&&27==t.keyCode)return 27==t.which&&o.find(i).focus(),e.click();f=n("[role=menu] li:not(.divider):visible a",o);f.length&&(r=f.index(f.filter(":focus")),38==t.keyCode&&r>0&&r--,40==t.keyCode&&r<f.length-1&&r++,~r||(r=0),f.eq(r).focus())}};f=n.fn.dropdown;n.fn.dropdown=function(i){return this.each(function(){var r=n(this),u=r.data("dropdown");u||r.data("dropdown",u=new t(this));"string"==typeof i&&u[i].call(r)})};n.fn.dropdown.Constructor=t;n.fn.dropdown.noConflict=function(){return n.fn.dropdown=f,this};n(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(n){n.stopPropagation()}).on("click.bs.dropdown.data-api",i,t.prototype.toggle).on("keydown.bs.dropdown.data-api",i+", [role=menu]",t.prototype.keydown)}(window.jQuery);+function(n){"use strict";var t=function(t,i){this.options=i;this.$element=n(t);this.$backdrop=this.isShown=null;this.options.remote&&this.$element.load(this.options.remote)},i;t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};t.prototype.toggle=function(n){return this[this.isShown?"hide":"show"](n)};t.prototype.show=function(t){var i=this,r=n.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(r);this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',n.proxy(this.hide,this)),this.backdrop(function(){var u=n.support.transition&&i.$element.hasClass("fade"),r;i.$element.parent().length||i.$element.appendTo(document.body);i.$element.show();u&&i.$element[0].offsetWidth;i.$element.addClass("in").attr("aria-hidden",!1);i.enforceFocus();r=n.Event("shown.bs.modal",{relatedTarget:t});u?i.$element.find(".modal-dialog").one(n.support.transition.end,function(){i.$element.focus().trigger(r)}).emulateTransitionEnd(300):i.$element.focus().trigger(r)}))};t.prototype.hide=function(t){t&&t.preventDefault();t=n.Event("hide.bs.modal");this.$element.trigger(t);this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),n(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),n.support.transition&&this.$element.hasClass("fade")?this.$element.one(n.support.transition.end,n.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())};t.prototype.enforceFocus=function(){n(document).off("focusin.bs.modal").on("focusin.bs.modal",n.proxy(function(n){this.$element[0]===n.target||this.$element.has(n.target).length||this.$element.focus()},this))};t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",n.proxy(function(n){27==n.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")};t.prototype.hideModal=function(){var n=this;this.$element.hide();this.backdrop(function(){n.removeBackdrop();n.$element.trigger("hidden.bs.modal")})};t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};t.prototype.backdrop=function(t){var r=this.$element.hasClass("fade")?"fade":"",i;if(this.isShown&&this.options.backdrop){if(i=n.support.transition&&r,this.$backdrop=n('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",n.proxy(function(n){n.target===n.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;i?this.$backdrop.one(n.support.transition.end,t).emulateTransitionEnd(150):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),n.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(n.support.transition.end,t).emulateTransitionEnd(150):t()):t&&t()};i=n.fn.modal;n.fn.modal=function(i,r){return this.each(function(){var f=n(this),u=f.data("bs.modal"),e=n.extend({},t.DEFAULTS,f.data(),"object"==typeof i&&i);u||f.data("bs.modal",u=new t(this,e));"string"==typeof i?u[i](r):e.show&&u.show(r)})};n.fn.modal.Constructor=t;n.fn.modal.noConflict=function(){return n.fn.modal=i,this};n(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var i=n(this),r=i.attr("href"),u=n(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),f=u.data("modal")?"toggle":n.extend({remote:!/#/.test(r)&&r},u.data(),i.data());t.preventDefault();u.modal(f,this).one("hide",function(){i.is(":visible")&&i.focus()})});n(document).on("show.bs.modal",".modal",function(){n(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){n(document.body).removeClass("modal-open")})}(window.jQuery);+function(n){"use strict";var t=function(n,t){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null;this.init("tooltip",n,t)},i;t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1};t.prototype.init=function(t,i,r){var f,e,u,o,s;for(this.enabled=!0,this.type=t,this.$element=n(i),this.options=this.getOptions(r),f=this.options.trigger.split(" "),e=f.length;e--;)if(u=f[e],"click"==u)this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this));else"manual"!=u&&(o="hover"==u?"mouseenter":"focus",s="hover"==u?"mouseleave":"blur",this.$element.on(o+"."+this.type,this.options.selector,n.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,n.proxy(this.leave,this)));this.options.selector?this._options=n.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()};t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.getOptions=function(t){return t=n.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t};t.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&n.each(this._options,function(n,r){i[n]!=r&&(t[n]=r)}),t};t.prototype.enter=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show),void 0):i.show()};t.prototype.leave=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide),void 0):i.hide()};t.prototype.show=function(){var o=n.Event("show.bs."+this.type),i,l;if(this.hasContent()&&this.enabled){if(this.$element.trigger(o),o.isDefaultPrevented())return;i=this.tip();this.setContent();this.options.animation&&i.addClass("fade");var t="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,h=s.test(t);h&&(t=t.replace(s,"")||"top");i.detach().css({top:0,left:0,display:"block"}).addClass(t);this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element);var r=this.getPosition(),u=i[0].offsetWidth,f=i[0].offsetHeight;if(h){var e=this.$element.parent(),a=t,c=document.documentElement.scrollTop||document.body.scrollTop,v="body"==this.options.container?window.innerWidth:e.outerWidth(),y="body"==this.options.container?window.innerHeight:e.outerHeight(),p="body"==this.options.container?0:e.offset().left;t="bottom"==t&&r.top+r.height+f-c>y?"top":"top"==t&&r.top-c-f<0?"bottom":"right"==t&&r.right+u>v?"left":"left"==t&&r.left-u<p?"right":t;i.removeClass(a).addClass(t)}l=this.getCalculatedOffset(t,r,u,f);this.applyPlacement(l,t);this.$element.trigger("shown.bs."+this.type)}};t.prototype.applyPlacement=function(n,t){var h,i=this.tip(),c=i[0].offsetWidth,f=i[0].offsetHeight,e=parseInt(i.css("margin-top"),10),o=parseInt(i.css("margin-left"),10),u,r,s;isNaN(e)&&(e=0);isNaN(o)&&(o=0);n.top=n.top+e;n.left=n.left+o;i.offset(n).addClass("in");u=i[0].offsetWidth;r=i[0].offsetHeight;("top"==t&&r!=f&&(h=!0,n.top=n.top+f-r),/bottom|top/.test(t))?(s=0,n.left<0&&(s=-2*n.left,n.left=0,i.offset(n),u=i[0].offsetWidth,r=i[0].offsetHeight),this.replaceArrow(s-c+u,u,"left")):this.replaceArrow(r-f,r,"top");h&&i.offset(n)};t.prototype.replaceArrow=function(n,t,i){this.arrow().css(i,n?50*(1-n/t)+"%":"")};t.prototype.setContent=function(){var n=this.tip(),t=this.getTitle();n.find(".tooltip-inner")[this.options.html?"html":"text"](t);n.removeClass("fade in top bottom left right")};t.prototype.hide=function(){function i(){"in"!=u.hoverState&&t.detach()}var u=this,t=this.tip(),r=n.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(t.removeClass("in"),n.support.transition&&this.$tip.hasClass("fade")?t.one(n.support.transition.end,i).emulateTransitionEnd(150):i(),this.$element.trigger("hidden.bs."+this.type),this)};t.prototype.fixTitle=function(){var n=this.$element;(n.attr("title")||"string"!=typeof n.attr("data-original-title"))&&n.attr("data-original-title",n.attr("title")||"").attr("title","")};t.prototype.hasContent=function(){return this.getTitle()};t.prototype.getPosition=function(){var t=this.$element[0];return n.extend({},"function"==typeof t.getBoundingClientRect?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())};t.prototype.getCalculatedOffset=function(n,t,i,r){return"bottom"==n?{top:t.top+t.height,left:t.left+t.width/2-i/2}:"top"==n?{top:t.top-r,left:t.left+t.width/2-i/2}:"left"==n?{top:t.top+t.height/2-r/2,left:t.left-i}:{top:t.top+t.height/2-r/2,left:t.left+t.width}};t.prototype.getTitle=function(){var t=this.$element,n=this.options;return t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)};t.prototype.tip=function(){return this.$tip=this.$tip||n(this.options.template)};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")};t.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)};t.prototype.enable=function(){this.enabled=!0};t.prototype.disable=function(){this.enabled=!1};t.prototype.toggleEnabled=function(){this.enabled=!this.enabled};t.prototype.toggle=function(t){var i=t?n(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;i.tip().hasClass("in")?i.leave(i):i.enter(i)};t.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};i=n.fn.tooltip;n.fn.tooltip=function(i){return this.each(function(){var u=n(this),r=u.data("bs.tooltip"),f="object"==typeof i&&i;r||u.data("bs.tooltip",r=new t(this,f));"string"==typeof i&&r[i]()})};n.fn.tooltip.Constructor=t;n.fn.tooltip.noConflict=function(){return n.fn.tooltip=i,this}}(window.jQuery);+function(n){"use strict";var t=function(n,t){this.init("popover",n,t)},i;if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");t.DEFAULTS=n.extend({},n.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"><\/div><h3 class="popover-title"><\/h3><div class="popover-content"><\/div><\/div>'});t.prototype=n.extend({},n.fn.tooltip.Constructor.prototype);t.prototype.constructor=t;t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.setContent=function(){var n=this.tip(),t=this.getTitle(),i=this.getContent();n.find(".popover-title")[this.options.html?"html":"text"](t);n.find(".popover-content")[this.options.html?"html":"text"](i);n.removeClass("fade top bottom left right in");n.find(".popover-title").html()||n.find(".popover-title").hide()};t.prototype.hasContent=function(){return this.getTitle()||this.getContent()};t.prototype.getContent=function(){var t=this.$element,n=this.options;return t.attr("data-content")||("function"==typeof n.content?n.content.call(t[0]):n.content)};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};t.prototype.tip=function(){return this.$tip||(this.$tip=n(this.options.template)),this.$tip};i=n.fn.popover;n.fn.popover=function(i){return this.each(function(){var u=n(this),r=u.data("bs.popover"),f="object"==typeof i&&i;r||u.data("bs.popover",r=new t(this,f));"string"==typeof i&&r[i]()})};n.fn.popover.Constructor=t;n.fn.popover.noConflict=function(){return n.fn.popover=i,this}}(window.jQuery);+function(n){"use strict";function t(i,r){var u,f=n.proxy(this.process,this);this.$element=n(i).is("body")?n(window):n(i);this.$body=n("body");this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f);this.options=n.extend({},t.DEFAULTS,r);this.selector=(this.options.target||(u=n(i).attr("href"))&&u.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a";this.offsets=n([]);this.targets=n([]);this.activeTarget=null;this.refresh();this.process()}t.DEFAULTS={offset:10};t.prototype.refresh=function(){var i=this.$element[0]==window?"offset":"position",t;this.offsets=n([]);this.targets=n([]);t=this;this.$body.find(this.selector).map(function(){var f=n(this),r=f.data("target")||f.attr("href"),u=/^#\w/.test(r)&&n(r);return u&&u.length&&[[u[i]().top+(!n.isWindow(t.$scrollElement.get(0))&&t.$scrollElement.scrollTop()),r]]||null}).sort(function(n,t){return n[0]-t[0]}).each(function(){t.offsets.push(this[0]);t.targets.push(this[1])})};t.prototype.process=function(){var n,i=this.$scrollElement.scrollTop()+this.options.offset,f=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,e=f-this.$scrollElement.height(),t=this.offsets,r=this.targets,u=this.activeTarget;if(i>=e)return u!=(n=r.last()[0])&&this.activate(n);for(n=t.length;n--;)u!=r[n]&&i>=t[n]&&(!t[n+1]||i<=t[n+1])&&this.activate(r[n])};t.prototype.activate=function(t){this.activeTarget=t;n(this.selector).parents(".active").removeClass("active");var r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=n(r).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active"));i.trigger("activate")};var i=n.fn.scrollspy;n.fn.scrollspy=function(i){return this.each(function(){var u=n(this),r=u.data("bs.scrollspy"),f="object"==typeof i&&i;r||u.data("bs.scrollspy",r=new t(this,f));"string"==typeof i&&r[i]()})};n.fn.scrollspy.Constructor=t;n.fn.scrollspy.noConflict=function(){return n.fn.scrollspy=i,this};n(window).on("load",function(){n('[data-spy="scroll"]').each(function(){var t=n(this);t.scrollspy(t.data())})})}(window.jQuery);+function(n){"use strict";var t=function(t){this.element=n(t)},i;t.prototype.show=function(){var t=this.element,e=t.closest("ul:not(.dropdown-menu)"),i=t.attr("data-target"),r,u,f;(i||(i=t.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),t.parent("li").hasClass("active"))||(r=e.find(".active:last a")[0],u=n.Event("show.bs.tab",{relatedTarget:r}),(t.trigger(u),u.isDefaultPrevented())||(f=n(i),this.activate(t.parent("li"),e),this.activate(f,f.parent(),function(){t.trigger({type:"shown.bs.tab",relatedTarget:r})})))};t.prototype.activate=function(t,i,r){function f(){u.removeClass("active").find("> .dropdown-menu > .active").removeClass("active");t.addClass("active");e?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade");t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active");r&&r()}var u=i.find("> .active"),e=r&&n.support.transition&&u.hasClass("fade");e?u.one(n.support.transition.end,f).emulateTransitionEnd(150):f();u.removeClass("in")};i=n.fn.tab;n.fn.tab=function(i){return this.each(function(){var u=n(this),r=u.data("bs.tab");r||u.data("bs.tab",r=new t(this));"string"==typeof i&&r[i]()})};n.fn.tab.Constructor=t;n.fn.tab.noConflict=function(){return n.fn.tab=i,this};n(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault();n(this).tab("show")})}(window.jQuery);+function(n){"use strict";var t=function(i,r){this.options=n.extend({},t.DEFAULTS,r);this.$window=n(window).on("scroll.bs.affix.data-api",n.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",n.proxy(this.checkPositionWithEventLoop,this));this.$element=n(i);this.affixed=this.unpin=null;this.checkPosition()},i;t.RESET="affix affix-top affix-bottom";t.DEFAULTS={offset:0};t.prototype.checkPositionWithEventLoop=function(){setTimeout(n.proxy(this.checkPosition,this),1)};t.prototype.checkPosition=function(){var i;if(this.$element.is(":visible")){var s=n(document).height(),e=this.$window.scrollTop(),o=this.$element.offset(),r=this.options.offset,f=r.top,u=r.bottom;"object"!=typeof r&&(u=f=r);"function"==typeof f&&(f=r.top());"function"==typeof u&&(u=r.bottom());i=null!=this.unpin&&e+this.unpin<=o.top?!1:null!=u&&o.top+this.$element.height()>=s-u?"bottom":null!=f&&f>=e?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?o.top-e:null,this.$element.removeClass(t.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-u-this.$element.height()}))}};i=n.fn.affix;n.fn.affix=function(i){return this.each(function(){var u=n(this),r=u.data("bs.affix"),f="object"==typeof i&&i;r||u.data("bs.affix",r=new t(this,f));"string"==typeof i&&r[i]()})};n.fn.affix.Constructor=t;n.fn.affix.noConflict=function(){return n.fn.affix=i,this};n(window).on("load",function(){n('[data-spy="affix"]').each(function(){var i=n(this),t=i.data();t.offset=t.offset||{};t.offsetBottom&&(t.offset.bottom=t.offsetBottom);t.offsetTop&&(t.offset.top=t.offsetTop);i.affix(t)})})}(window.jQuery);var numberChanger="1",loginUser,controllerProvider=null,iName=null,globalIsLogoAvailable=null,globalIsLogoRemove=null,globalLoginCount=null,fastTrack=angular.module("fastTrack",["ng","ngRoute","rx"],["$controllerProvider",function(n){controllerProvider=n}]),injector=angular.injector(["rx"]),rxEncoder=injector.get("rxEncode");fastTrack.config(["$routeProvider","$locationProvider",function(n){var t=function(n){return"Templates/"+n+".html"};n.when("/Outlook/:tokenId",{controller:"loginCtrl",templateUrl:t("OutLook")})}]);injector=angular.injector(["rx"]);rxEncoder=injector.get("rxEncode");fastTrack.controller("appCtrl",["$scope","rxAuth","response","request",function(n,t,i,r){if(!t.IsUserAuthenticate()){var u=r.rawUrl().split("/");u.length>1&&u[0]=="Outlook"}}]);fastTrack.controller("loginCtrl",["$scope","commonDs","rxWait","rxLog","response","rxData","rxJson","cacheData","cookieconfig","rxAuth","request","rxAlert","enums","rxPopup",function(n,t,i,r,u,f,e,o,s,h,c,l,a,v){n.$on("$destroy",function(){n=null});n.showLoginPage=!1;n.initGetToken=function(){n.showLoginPage=!0;var u={userToken:c.queryString("tokenId",!0)};t.postOutlookUserLogin.post(u).then(function(t){angular.isUndefined(t)?t=="Fail"?r.error("Username or Password is invalid."):r.error(t):(o.save("userOffice",t),o.save("userGridLayouts",t.userGridLayouts,!0),o.save("backOfficePermissions",t.backOfficePermissions,!0),r.success("User verified"),i.hide(),t.entryTypeId==null?window.open("rm#/"+rxEncoder.encode("Dashboard"),"_self"):t.entryType=="Candidate"?window.open("rm#/"+rxEncoder.encode("EditCandidate")+"/"+rxEncoder.encode(t.entryTypeId),"_self"):window.open("rm#/"+rxEncoder.encode("EditContact")+"/"+rxEncoder.encode(t.entryTypeId),"_self"),n.$apply())})};n.patternDesign=[{patternDate:"10-11-2013",patternMargins:[{patternMatrixs:[{patternMatrixClass:"matrixPatternGray"},{patternMatrixClass:"matrixPatternGray"},{patternMatrixClass:"matrixPatternGray"},{patternMatrixClass:"matrixPatternGray"}]},{patternMatrixs:[{patternMatrixClass:"matrixPatternGray"},{patternMatrixClass:"matrixPatternGray"},{patternMatrixClass:"matrixPatternGray"},{patternMatrixClass:"matrixPatternGray"}]}]}];n.loggedUserName=function(){var i=amplify.store("isExpired"),t;i!=undefined&&i&&(r.error("Your session has timed out. Please log in again."),amplify.store("isExpired",null));n.user={};t=localStorage.isRemember;t!="null"&&t!=null&&t!=undefined?(n.user.username=t,n.user.rememberMe=!0,localStorage.isRemember=t):loginUser!=""&&loginUser!=null&&(n.user={username:loginUser,rememberMe:!0},localStorage.isRemember=loginUser)};n.userNameFromCookie=function(){return undefined};n.postLogin=function(u){n.showLoginBlockMessage=!1;var f=!angular.isUndefined(u.username)&&u.username!=""&&u.username!=null?!0:!1,e=!angular.isUndefined(u.password)&&u.password!=""&&u.password!=null?!0:!1;if(o.fetch("isPortalPreview")==!0){r.log("Portal Login preview");return}if(!f||!e){r.log("Enter Username and Password");return}i.show("Checking User Credentials");o.save("aft",u.antiForgeryToken);u.antiForgeryToken=undefined;u.count=o.fetch("logincount");i.showLoader();t.postLogin.post(u).then(function(t){var f;if(!angular.isUndefined(t)&&t!=null){if(!angular.isUndefined(t.loginFailed)&&t.loginFailed!=null&&t.loginFailed){i.hide();o.save("logincount",t.loginCount);r.error("Username or Password is invalid.");return}if(!angular.isUndefined(t.lockedMessage)&&t.lockedMessage!=null&&t.lockedMessage.length>0){i.hide();n.loginBlockClass="poweredby loginBlock-box";n.showLoginBlockMessage=!0;n.loginBlockMessage=t.lockedMessage;n.$apply();return}(t.userTypeId==146||t.userTypeId==148||t.userTypeId==149)&&(u.rememberMe==!0?localStorage.isRemember=u.username:localStorage.removeItem("isRemember"));localStorage.getItem("storedUserName")!=null&&JSON.parse(localStorage.getItem("storedUserName")).length>0?(f=JSON.parse(localStorage.getItem("storedUserName")),f[f.length]=u.username):(f=[],f[0]=u.username);localStorage.setItem("storedUserName",JSON.stringify(f));n.continueLogin(t)}})};n.continueLogin=function(t){if(t.userTypeId==146?(o.save("userOffice",t),o.save("userGridLayouts",t.userGridLayouts,!0),o.save("backOfficePermissions",t.backOfficePermissions,!0)):(t.userTypeId==148||t.userTypeId==149)&&o.save("userOffice",{userId:t.userId,userOffice:t.loggedInUserDetail,resetPassword:t.resetPassword,securityQuestionRequired:t.securityQuestionRequired,securityQuestionId:t.securityQuestionId,currentLoggedInUserName:t.currentLoggedInUserName,userTimezone:t.userTimezone,defaultUserTimezone:t.defaultUserTimezone}),o.save("loggedInUserId",t.userId),o.save("pageName","loginPage"),t.userTypeId!=null&&o.save("logInuserTypeId",t.userTypeId),t.resetPassword){i.hide();v.showPopup("Templates/Maintenance/Users/ChangePassword.html","");return}if(t.securityQuestionRequired&&t.securityQuestionId==null){i.hide();o.save("securityQuestionSubPopup",!1);v.showPopup("Templates/Maintenance/Users/SecurityQuestion.html","");return}n.navigateToPortal(t.userTypeId)};n.navigateToPortal=function(n){n==146?window.open("rm#/"+rxEncoder.encode("Dashboard"),"_self"):t.postSingleSignon.post().then(function(){var t="";t=n==149?"CandidatePortal#/"+rxEncoder.encode("CandidatePortal"):"ClientPortal#/"+rxEncoder.encode("ClientPortal");window.open(t,"_self")})};n.getUserInformation=function(){n.user={userName:n.userEmail.userName};i.show();t.postUserInformation.post(n.user).then(function(t){i.hide();t.securityQuestionRequired?t[0]!=null&&t[0]!=""?l.show({dataCollection:[],titleText:"Confirmation",contentText:t[0],callbacks:{ok:"okClicked"},cancelRequired:!1},n):(n.showQuestionAnswer=!0,n.questionAnswer=[{securityQuestionId:t.securityQuestionId,securityQuestion:t.securityQuestion}],n.userEmail.securityQuestion=n.questionAnswer[0].securityQuestionId):t[0]=="Success"?l.show({dataCollection:[],titleText:"Confirmation",contentText:"If you have entered your details correctly you will receive an email with a temporary password",callbacks:{ok:"sendSuccess()"},cancelRequired:!1},n):t[0]!=null&&t[0]!=""&&l.show({dataCollection:[],titleText:"Confirmation",contentText:t[0],callbacks:{ok:"okClicked"},cancelRequired:!1},n);n.$apply()})};n.verifyAnswer=function(r){angular.isUndefined(r)||r==null||r==""||(n.user={userName:n.userEmail.userName,securityQuestionId:n.userEmail.securityQuestion,securityQuestionAnswer:r},i.show(),t.postVerifyAnswer.post(n.user).then(function(t){i.hide();t[0]=="Success"?l.show({dataCollection:[],titleText:"Confirmation",contentText:"If you have entered your details correctly you will receive an email with a temporary password",callbacks:{ok:"sendSuccess()"},cancelRequired:!1},n):t[0]!=null&&t[0]!=""&&l.show({dataCollection:[],titleText:"Confirmation",contentText:t[0],callbacks:{ok:"okClicked"},cancelRequired:!1},n)}))};n.okClicked=function(){l.hide()};n.cancelRetrievePassword=function(){u.refresh()};n.sendSuccess=function(){u.refresh()};n.initLogin=function(){if(window.localStorage.removeItem("redirectToIndex"),window.location.search=="?preview="+rxEncoder.encode("true"))o.save("isPortalPreview",!0);else{var i=localStorage.isRemember,r=localStorage.getItem("storedUserName")!=null?JSON.parse(localStorage.getItem("storedUserName")):null;localStorage.clear();sessionStorage.clear();r!=null&&localStorage.setItem("storedUserName",JSON.stringify(r));n.showErrorMessage();t.getGeneralSettingForLogin.get().then(function(t){if(localStorage.setItem("rn",rxEncoder.encode(t.releaseName)),n.releaseName=t.releaseName,n.versionNumber=t.versionNumber,n.disableBrowserAutoComplete=t.disableBrowserAutoComplete,n.disableBrowserAutoComplete||i!=null&&(n.user={username:i,rememberMe:!0},loginUser=i),$("#lgUserName").attr({autocomplete:t.disableBrowserAutoComplete?"off":"on"}),$("#lgnForm").attr({autocomplete:t.disableBrowserAutoComplete?"off":"on"}),!t.disableBrowserAutoComplete){var u=JSON.parse(localStorage.getItem("storedUserName")),r=[];u!=null&&$.each(u,function(n,t){$.inArray(t,r)===-1&&r.push(t)});$("#lgUserName").autocomplete({source:r})}n.$apply()})}};n.applyUserName=function(){n.user.username=$("#lgUserName").val()};n.showErrorMessage=function(){var i=window.location.href,t;if(i.indexOf("response=")!=-1&&(t=o.fetch("messageDisplayed"),t!="true")){var u=window.location.href.split("response="),f=rxEncoder.decode(u[1]),n="";switch(parseInt(f)){case 406:n="Request is not acceptable.";break;case 412:n="Your session has timed out. Please log in again.";break;case 417:n="Same User is already logged in."}n.length>0&&(o.save("messageDisplayed","true"),r.error(n))}};var y=n.$on("addressChangedBroadcast",function(t,r){var u,f;(r=="resetPasswordComplete"||r=="setSecurityQuestionComplete")&&(u=o.fetch("securityQuestionSubPopup"),u==!0&&v.hideSubPopup(),i.showLoader(),f=o.fetch("logInuserTypeId"),n.navigateToPortal(f))})}]);fastTrack.controller("managePasswordCtrl",["$scope","lookupDs","commonDs","rxPopup","rxWait","rxLog","rxAlert","request","cookieconfig","cacheData","addressBroadcast",function(n,t,i,r,u,f,e,o,s,h,c){n.initChangePassword=function(){n.allowCancel=!0;n.pageName=h.fetch("pageName");n.userOffice=h.fetch("userOffice");angular.isUndefined(n.pageName)||n.pageName!="loginPage"||(n.allowCancel=!1)};n.hidePasswordPopup=function(){r.hidePopup()};n.changePasswordValidation=function(t){var i,r;if(t.length>=n.numberOfCharacters)if(i=/^.*(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*$/i,n.forcePasswordAlpha){if(r=i.test(t),r){n.passwordValidationPolicy=!1;return}}else{n.passwordValidationPolicy=!1;return}n.forcePasswordMessage=n.forcePasswordAlpha?"Password must contain at least "+n.numberOfCharacters+" alpha numeric characters(a combination of letters and numbers).":"Enter minimum "+n.numberOfCharacters+" characters for Password.";n.passwordValidationPolicy=!0;n.$apply()};n.changePassword=function(i){if(n.pageName=="ResetUserPassword")n.userProfile.userId=h.fetch("resetPasswordUserId");else if(angular.isUndefined(h.fetch("loggedInUserId"))){var r=h.fetch("userOffice");n.userProfile.userId=r.userId}else n.userProfile.userId=h.fetch("loggedInUserId");n.serverProcessPasswordPolicy?(n.changePasswordValidation(i),n.passwordValidationPolicy?(u.hide(),e.show({dataCollection:[],titleText:"Confirmation",contentText:n.forcePasswordMessage,cancelRequired:!1,callbacks:{ok:"ok",cancel:""}},n)):(u.show(),n.userProfile.pageName=n.pageName,t.putChangePassword.put(n.userProfile).then(function(t){u.hide();t!=null&&(angular.isString(t)?e.show({dataCollection:[],titleText:"Information",contentText:t,cancelRequired:!1,callbacks:{ok:"ok",cancel:""}},n):n.completeProcess())})),n.$apply()):(u.show(),t.oDataUserPasswordPolicy.get().then(function(r){u.hide();n.serverProcessPasswordPolicy=!0;n.forcePasswordAlpha=r[0].forcePassword;n.numberOfCharacters=r[0].minNumberofcharacters;n.forcePasswordMessage=n.forcePasswordAlpha?"Password must contain at least "+n.numberOfCharacters+" alpha numeric characters(a combination of letters and numbers).":"Enter minimum "+n.numberOfCharacters+" characters for Password.";n.changePasswordValidation(i);n.passwordValidationPolicy?(u.hide(),e.show({dataCollection:[],titleText:"Confirmation",contentText:n.forcePasswordMessage,cancelRequired:!1,callbacks:{ok:"ok",cancel:""}},n)):(u.show(),n.userProfile.pageName=n.pageName,t.putChangePassword.put(n.userProfile).then(function(t){u.hide();t!=null&&(angular.isString(t)?e.show({dataCollection:[],titleText:"Information",contentText:t,cancelRequired:!1,callbacks:{ok:"ok",cancel:""}},n):n.completeProcess())}));n.$apply()}))};n.completeProcess=function(){f.success("Password updated successfully");n.pageName=="SetPassword"?(r.hidePopup(),h.clear("pageName"),i.postLogout.post().then(function(){window.open("index","_self")})):n.pageName=="ResetUserPassword"?(r.hidePopup(),h.clear("pageName"),h.clear("resetPasswordUserId")):n.userOffice.securityQuestionRequired&&n.userOffice.securityQuestionId==null?(h.save("securityQuestionSubPopup",!0),r.showSubPopup("Templates/Maintenance/Users/SecurityQuestion.html",""),n.$apply()):(r.hidePopup(),c.broadcast(null,"resetPasswordComplete"))};window.onbeforeunload=function(){window.localStorage.getItem("redirectToIndex")!="false"&&(window.location.hash=="#/login"||window.location.hash=="")&&window.localStorage.setItem("redirectToIndex",!0)}}]);fastTrack.controller("manageSecurityQuestionCtrl",["$scope","lookupDs","rxPopup","rxWait","rxLog","rxAlert","cookieconfig","cacheData","commonUtility","dirtyCheckBroadcaster","addressDetails","addressBroadcast",function(n,t,i,r,u,f,e,o,s,h,c,l){n.initSecutityQuestion=function(){n.securityQuestionFormName="securityQuestion";n.allowCancel=!0;n.pageName=o.fetch("pageName");angular.isUndefined(n.pageName)||n.pageName!="loginPage"||(n.allowCancel=!1);r.show();t.postUserSecurityQuestion.post().then(function(t){r.hide();n.securityQuestions=t.securityQuestions;n.user={securityQuestionId:t.securityQuestionId,securityQuestionAnswer:t.securityQuestionAnswer};n.$apply();h.broadcast("securityQuestion")})};n.applySecurityQuestion=function(){r.show();t.putUserSecurityQuestion.put(n.user).then(function(t){r.hide();window.localStorage.setItem("redirectToIndex",!1);var u=o.fetch("userOffice");u.securityQuestionId=t.securityQuestionId;o.save("userOffice",u);o.clear("pageName");h.newInstance(n.securityQuestionFormName);i.hidePopup("securityQuestion");n.pageName=="loginPage"&&l.broadcast(null,"setSecurityQuestionComplete")})};n.hideSecurityQuestionPopup=function(){n.securityQuestion.$valid&&n.securityQuestion.$rxvalid?f.show({dataCollection:[],titleText:"Confirmation",contentText:c.dataLostMessage,cancelRequired:undefined,callbacks:{ok:"alertCancelClicked",save:"applySecurityQuestion()"}},n):i.hidePopup("securityQuestion")};n.alertCancelClicked=function(){i.hidePopup("securityQuestion")};window.onbeforeunload=function(){window.localStorage.getItem("redirectToIndex")!="false"&&(window.location.hash=="#/login"||window.location.hash=="")&&window.localStorage.setItem("redirectToIndex",!0)}}]);fastTrack.factory("commonDs",["clientcontext",function(n){return n.initializeApi({getby:{processQueueSummaryDetails:"api/common/processQueueSummaryDetails",getSystemSettings:"api/common/getSystemSettings"},get:{webConfiguration:"api/userPermission/webconfiguration",generalSettingForLogin:"api/common/generalSettingForLogin",helpURL:"api/common/helpURL",currentDateTimeLocalised:"api/common/currentDateTimeLocalised"},post:{userPermission:"api/userPermission/userpermission",login:"api/common/login",logout:"api/userPermission/logout",outlookUserLogin:"api/common/outlookUserLogin",singleSignon:"api/userPermission/singlesignon",dashStatistics:"api/dashboard/dashstatistics",userLoginForForgotPassword:"api/common/userLoginForForgotPassword",backOfficeMenu:"api/userpermission/backofficemenu",dashboardAccess:"api/dashboard/dashboardaccess",userInformation:"api/common/userinformation",verifyAnswer:"api/common/verifyAnswer",allPermission:"api/userPermission/allpermission",dashboardData:"api/dashboard/dashboarddata"},put:{},del:{},oData:{dashVacantJob:"api/dashboard/dashvacantjob",dashFilledJob:"api/dashboard/dashfilledjob",awaitingActivities:"api/common/awaitingActivities",faviourites:"api/common/faviourites",summary:"api/common/summary"}},"common")}]);fastTrack.factory("lookupDs",["clientcontext",function(n){return n.initializeApi({getby:{parentHierarchies:"api/lookup/parenthierarchies",clientHierarchies:"api/lookup/clienthierarchies",costCentreHierarchies:"api/lookup/costcentrehierarchies",userDetails:"api/lookup/userDetails",dashboardFillRatio:"api/lookup/dashboardfillratio",templateDetail:"api/emailSms/templateDetail",attachmentRecord:"api/lookup/attachmentRecord",marketPlaceDetailPage:"api/integrationCentre/getmarketplacevendordetail"},get:{lookups:"api/lookup/hierarchies",lookUpJobOrder:"api/lookup/lookUpJobOrder",lookupsForTimesheetImport:"api/lookup/getLookupsForTimesheetImport",configureAccountSecureSign:"api/integrationCentre/configureaccountsecuresign",hierarchyLookup:"api/integrationCentre/hierarchylookup",marketPlaceCategories:"api/integrationCentre/getmarketplacecategories"},post:{lookups:"api/lookup/getlookups",fileContent:"api/lookup/getfilecontent",mergefields:"api/lookup/mergefields",wordfile:"upload/wordfile",loadFileContent:"upload/loadfilecontent",contentReplacer:"api/lookup/contentreplacer",customFields:"api/lookup/addcustomfields",serviceFeeMatrix:"api/lookup/serviceFeeMatrix",sendEmail:"api/emailSms/sendEmail",sendSMS:"api/emailSms/sendSMS",validateDataGroup:"api/lookup/checkdatagroup",activity:"api/lookup/activity",entityCheck:"api/lookup/entitycheck",jobOrderDefaultWorkflow:"api/lookup/joborderdefaultworkflow",lookupValidation:"api/lookup/lookupvalidation",searchEmailLookup:"api/lookup/emaillookup",clientToContact:"api/lookup/clientToContact",wordFileContent:"upload/wordfilecontent",template:"api/emailSms/template",cacheEmailAttachments:"api/emailSms/cacheattachments",candidatesEmailOptOut:"api/emailSms/candidatesemailoptout",contactsEmailOptOut:"api/emailSms/contactsemailoptout",candidatesSmsOptOut:"api/emailSms/candidatessmsoptout",contactsSmsOptOut:"api/emailSms/contactssmsoptout",checkHeaderMergeTag:"upload/isHeaderMergeTag",loadEmailList:"api/lookup/loademaillist",loadSmsList:"api/lookup/loadsmslist",emailSmsTemplate:"api/lookup/emailsmstemplate",loadTemplate:"api/emailSms/loadTemplate",emailAttachment:"api/emailSms/emailattachment",updateUserPreference:"api/lookup/userPreferenceList",addressInfo:"api/lookup/addressinfo",checkSMSExternalRef:"api/lookup/checkSMSExternalRef",userSecurityQuestion:"api/lookup/usersecurityquestion",candidateEmails:"api/emailSms/candidateemails",candidateSms:"api/emailSms/candidateSms",randomGuid:"api/lookup/randomguid",validCandidate:"api/lookup/validcandidate",clientDataUsage:"api/lookup/datausage",loginSecuredSign:"api/integrationCentre/loginSecuredSign",referralemailsms:"api/emailSms/referralemailsms",sendMailFromPortal:"api/emailSms/sendMailFromPortal"},put:{customFields:"api/lookup/updatecustomfields",serviceFeeMatrix:"api/lookup/serviceFeeMatrix",changePassword:"api/lookup/changepassword",userProfile:"api/lookup/userprofile",emailTemplate:"api/emailSms/emailtemplate",smsTemplate:"api/emailSms/smstemplate",userSecurityQuestion:"api/lookup/usersecurityquestion",updateSecureSignAccount:"api/integrationCentre/updateIntegrationCentre"},del:{serviceFeeMatrix:"api/lookup/serviceFeeMatrix",clientMappContact:"api/lookup/clientmappcontact",contactFromClient:"api/lookup/contactFromClient",removeEmailCache:"api/emailSms/removeemailcache",removeTemplate:"api/emailSms/removetemplate",updateSecureSignAccount:"api/integrationCentre/deleteIntegrationCentre"},oData:{countryLabelMasters:"api/lookup/countryLabelMaster",officeBrandRegionCountry:"api/lookup/officebrandregioncountry",identifySkillGroup:"api/lookup/identifyskillgroup",identifySkillType:"api/lookup/identifyskilltype",identifyKeyword:"api/lookup/identifykeyword",identifySkillGroupAccountSegment:"api/lookup/identifyskillgroupaccountsegment",identifySkillGroupExportCode:"api/lookup/identifyskillgroupexportcode",identifySkillGroupImportCode:"api/lookup/identifyskillgroupimportcode",identifykeywordAccountSegment:"api/lookup/identifykeywordaccountSegment",identifyKeywordExportCode:"api/lookup/identifykeywordexportcode",identifyKeywordImportCode:"api/lookup/identifykeywordimportcode",identifyPositionSkillType:"api/lookup/identifypositionskilltype",changeSkillType:"api/lookup/changeskilltype",checkSkillGroupSkillTypeActiveOrInactive:"api/lookup/checkskillgroupskilltypeactiveorinactive",checkSkillGroupActiveOrInactive:"api/lookup/checkskillgroupactiveorinactive",stateName:"api/lookup/stateName",clientStatus:"api/lookup/clientStatus",loginSecurityDetails:"api/lookup/loginsecurity",mailCodes:"api/lookup/mailCodes",attendanceAbsence:"api/lookup/attendanceabsence",agencyUsers:"api/lookup/agencyusers",getDiaryType:"api/lookup/getdiarytype",selectOfficeCode:"api/lookup/selectOfficeCode",descriptions:"api/lookup/descriptions",getUserTypeId:"api/lookup/getusertypeid",userSearch:"api/lookup/usersearch",userPasswordPolicy:"api/lookup/userpasswordpolicy",clientCustomFields:"api/lookup/clientcustomfields",customFieldsLookup:"api/lookup/customfieldslookup",dashboardCollection:"api/lookup/dashboardcollection",servicesPicklist:"api/lookup/servicesPicklist",serviceFeeDetails:"api/lookup/serviceFeeDetails",customFieldMapping:"api/lookup/customfieldmapping",position:"api/lookup/position",candidateUser:"api/lookup/candidateUser",candidatePortalUser:"api/lookup/candidatePortalUser",clientContactPortalUser:"api/lookup/clientContactPortalUser",loadTemplate:"api/lookup/loadTemplate",clientContacts:"api/lookup/clientContacts",permissionDatagroupInUse:"api/lookup/permissiondatagroupinuse",searchUsers:"api/lookup/searchusers",searchParentLookup:"api/lookup/searchParentLookup",searchClientLookup:"api/lookup/searchClientLookup",searchAgencyUserLookup:"api/lookup/searchAgencyUserLookup",searchCandidateLookup:"api/lookup/searchCandidateLookup",searchContactLookup:"api/lookup/searchContactLookup",taskCodes:"api/lookup/taskcodes",emailMergeField:"api/lookup/emailmergefield",costCentreLookUpDetails:"api/lookup/CostCentreLookUpDetails",clientContactsUser:"api/lookup/clientContactsUser",customFieldItem:"api/lookup/customfielditem",users:"api/lookup/lookupUsers",customExitPoints:"api/lookup/customExits",postCodes:"api/lookup/lookupPostCodes",lookupClient:"api/lookup/lookupClient",lookupCostCentre:"api/lookup/lookupCostCentre",searchSkills:"api/lookup/searchskills",viewSkills:"api/lookup/viewSkills",clientsContacts:"api/lookup/clientscontacts",parentDetail:"api/lookup/parentsDetail",candidateDetail:"api/lookup/candidatedetail",globalSettings:"api/lookup/generalSetting",standardDescriptions:"api/lookup/standarddescriptions",clientProjectCode:"api/lookup/clientprojectcode",reasons:"api/lookup/reasons",clientToContact:"api/lookup/clientToContact",checkContactClient:"api/lookup/checkcontactclient",template:"api/emailSms/template",searchAttachmentLookup:"api/lookup/attachmentlookup",candidateEmail:"api/lookup/candidateEmail",contactEmail:"api/lookup/contactEmail",userPreferenceList:"api/lookup/userPreferenceList",activityContacts:"api/lookup/activityContacts",exportTemplateFolders:"api/lookup/exportTemplateFolders",documentSearch:"api/lookup/documentSearch",costCentreByClient:"api/lookup/costcentrebyclient",searchJobOrderLookup:"api/lookup/searchJobOrderLookup"}},"lookup")}]);fastTrack.constant("enums",{client:{userType:146},object:{industries:29,mailCodes:30,reasons:33,referralStages:34,sourceCodes:36,passwordPolicy:53,smsSetup:54,diary:28,workType:66,parentCategory:115,jobPosition:431},dataGroupReference:{country:202,brand:203,office:204},types:{parent:115,client:117,costCenter:118,organization:111,jobOrder:113,candidate:114,document:151,email:154,sms:155,resume:425,clientContact:293,jobTemplate:351,searchAvailableCandidate:100000469,comment:119},taskType:{client:174,candidate:175,jobOrder:176,general:177,costCenter:409},commentType:{parent:4709,client:292,costCenter:294,any:291,clientContact:293,jobOrder:295,candidate:296},candidate:{templateFolderId:75,diaryType:{none:124,hourly:125,hourlyAvailable:126}},customFieldType:{user:350,parent:351,client:352,costCentre:353,clientContact:354,jobOrder:355,candidate:356},customExitPoints:{parent:363,client:364,clientContact:365,costCentre:366,jobOrder:367,candidate:368,user:369},privacyItem:{email:729,sms:730,mail:731},diaryType:{available:820,unAvailable:821},timesheetFrequency:{weekly:214,fortnightly:215,monthly:216,biMonthly:217},patternEntryType:{pattern:840,jobOrder:841,clientSchedule:844},mergeFields:{candidate:879,client:876,contactRecord:877,jobOrder:880,parentCompany:875,referral:882,user:883,costCentre:936,timesheet:4641,comment:884},tip:{recurrencePatternId:892},availabilityType:{referred:819,booked:817,available:820,unAvailable:821},userType:{agencyUser:146,clientContact:148,candidate:149,webApiUser:1333},help:{country:1,brand:2,state:3,region:4,office:5,keyword:6,industry:15,hierarchy:91,passwordPolicy:7,attachments:{attachments:13,client:57,parent:58,contact:79,candidate:81,jobOrder:110,costCentre:121},globalSetting:29,attendence:9,absence:111,security:{security:19,addSecurity:112,editSecurity:113,dataGroup:36,addDataGroup:115,editDataGroup:116},user:{user:8,addUser:92,editUser:93,portalUserCandidate:105,portalUserClientContact:106,securityAndPermission:114},referralWorkflow:21,searchReferral:40,searchReferralForVacantJobList:117,parent:{searchParent:37,addParent:45,editParent:54,billingDetails:120},client:{searchClient:38,addClient:46,editClient:55,projectCode:59,payBill:118,organisationHierarchy:119},costCentre:{searchCostCentre:60,addCostCentre:60,editCostCentre:60,billingDetails:54,organisationHierarchy:119},jobOrder:{searchJobOrder:39,addPermJobOrder:48,addContractJobOrder:49,addTempJobOrder:50,editPermJobOrder:51,editContractJobOrder:52,editTempJobOrder:53,family:76,referral:77,payBill:78,billing:80},dashBoard:{vacantJobs:94,filledJobs:95,fillRatio:96,statistics:97}},jobOrderPositionType:{temporary:169,contract:170,permanent:171},jobOrderStatus:{vacant:461,filled:462,closed:463,cancelled:464,onHold:465,FSupplier:466},activity:{finished:282,awaiting:280},status:{prospect:197,active:198,inActive:199,suspect:200,supplier:201},referralStage:{filled:2,rejected:1},weekEndDay:{sunday:376,monday:377,tuesday:378,wednesday:379,thursday:380,friday:381,saturday:382},HierarchyType:{COUNTRY:1,BRAND:2,STATE:3,REGION:4,OFFICE:5,PARENTCLIENT:6,CLIENT:7,CLIENTJOBTEMPLATE:8,COSTCENTRE:9,EMPLOYMENTTYPE:10,PAYEE:11,JOBORDER:12},translateEnum:function(n,t){if(!t)return null;var i;for(i in n)if(n[i]==t)return i;return null},template:{jobOrder:"Job Order",candidate:"Candidate",client:"Client",user:"User"},templateFolders:{jobOrder:1,candidate:6,organisation:11,parent:12,client:13,costCentre:14,user:26},applicationPage:{maintenance:{hierarchy:139,industry:140,source:141,keywordLibrary:142,security:143,attendance:144,pattern:145,worktype:146,attachment:163,type:147,reasonCode:148,activityTaskCode:149,standardDescription:150,referralStage:151,mailCode:152,customField:153,postCode:154,smsAccount:155,services:156,customExitPoint:157,referralWorkflow:158,template:164,bpme:174,user:{addUser:127,editUser:128,searchUser:134},searchError:173,globalLink:179,searchBpme:183,financeIntegration:{glAccounts:252,generalMaintenance:253,wageGroupsAvailable:257,wageGroupsSelected:258,manualExport:259,batchMaintenance:274,batchMaintenanceDetails:279,batchMaintenanceCustomDetails:282,fiBatchHeaderGrid:2667,fiBatchDetailsGrid:2668,fiBatchDetailsDebtorGrid:2671,fiBatchDetailsWagesGrid:2672,fiBatchDetailsUnpaidWagesGrid:2673,fiBatchDetailsSalesGrid:2674,fiBatchDetailsUninvoicedSalesGrid:2675,fiExportListGrid:2679},registrationPage:261,registrationManagement:262},candidate:{addCandidate:111,editCandidate:112,searchCandidate:130},jobOrder:{tempJob:{addTempJob:113,editTempJob:114},contractJob:{addContractJob:115,editContractJob:116},permJob:{addPermJob:117,editPermJob:118},searchJobOrder:131},client:{addClient:119,editClient:120,searchClient:133},clientContact:{addClientContact:121,editClientContact:122,searchClientContact:132},costCentre:{addCostCentre:123,editCostCentre:124},parent:{addParent:125,editParent:126,searchParent:135},searchComment:136,searchDocument:397,searchActivity:137,searchJobReferral:138,searchAudit:162,candidatePortal:181,clientPortal:182,timeAndAttendance:350,jobTemplates:{globalJobTemplates:352,editJobTemplate:360,addJobTemplate:403},timesheetImport:{timesheetImportBatchList:90},searchLeave:399,searchTimesheetReport:400,notifications:405},layOut:{section:968,grid:969},pageGrid:{maintenance:{hierarchy:{countryGrid:1199,brandGrid:1200,stateGrid:1201,regionGrid:1202,officeGrid:1203},keywordsGrid:1206,security:{securityRoleGrid:1207,dataGroupsGrid:1208},attendance:{attendanceGrid:1209,absenceGrid:1210},patternsGrid:1211,workTypesGrid:1212,attachmentsGrid:1288,industriesGrid:1204,typesGrid:1213,reasonGrid:1214,tasksGrid:1215,standardDescGrid:1216,referralStagesGrid:1217,mailCodesGrid:1218,customFieldsGrid:1219,postCodesGrid:1220,smsSetupGrid:1221,servicesGrid:1222,customExitPointsGrid:1223,referralWorkflowMaintenanceGrid:1224,sourceCodesGrid:1205,usersGrid:1185,templatesGrid:1291,searchErrorGrid:1317,bpmeRuleGrid:1337,bpmeGrid:1338,globalLinksGrid:2343,searchBpmeGrid:2359,registrationPageGrid:2552,dataImportDynamicGrid:4702},candidate:{resumeAttachmentFolderGrid:994,clientResumeAttachmentFolderGrid:995,skillsGrid:996,workReferenceGrid:999,referralListGrid:1e3,candidateListGrid:1181,availabilitiesGrid:1225,formResponseListGrid:2645,payeeDetailsGrid:2680,candidatePreferencesAndExclusionsGrid:4689},client:{clientProjectCodeGrid:1105,costCentreGrid:1106,clientListGrid:1184},clientContact:{costCentreContactGrid:1129,contactListGrid:1183,clientGrid:1353},costCentre:{costCentreActivityGrid:1152},parent:{parentClientListGrid:1186},jobOrder:{permJob:{serviceFeeGrid:1079},jobOrderListGrid:1182},commentGrid:997,activityGrid:1002,attachmentFolderGrid:1003,familyJobOrderGrid:1028,jobOrderProjectCodeGrid:1026,jobOrderCommonGrid:1001,contactsGrid:1107,jobCommentGrid:998,commentsSearchGrid:1187,activitySearchGrid:1188,referralWorkflowGrid:1189,auditTrailGrid:1226,searchAuditGrid:1287,availableCandidateGrid:1289,referralStageHistoryGrid:1290,dashQueueJobsGrid:2676,timeAndAttendanceGridAvailable:3500,timeAndAttendanceGridExpired:3508,timeAndAttendanceGridIncomplete:3509,timeAndAttendanceGridRejected:3510,timeAndAttendanceGridSubmitted:3511,timeAndAttendanceGridBulk:3512,timeAndAttendanceGridHistorical:3513,jobTemplateGrid:3507,jobTemplateCommonGrid:4536,jobTemplateProjectCodeGrid:4537,jobTemplateSkillsGrid:4539,jobOrderSkillsGrid:4542,timesheetImportBatchGrid:4596,timesheetImportAuditGrid:4628,communicationListReceivedGrid:4668,communicationListSentGrid:4669,documentSearchGrid:4670,candidatePreferenceExclusionListGrid:4687,leaveListGrid:4695,jobTemplatePopupGrid:4703,timeAndAttendanceGridBulkItemView:4713,timeAndAttendanceNotificationsGrid:4714},applicationCustomField:{editCandidate:981,editTempJob:1013,editContractJob:1040,editPermJob:1067,editClient:1092,editClientContact:1122,editCostCentre:1140,editParent:1160,editUser:1175},applicationCustomExit:{editCandidate:993,editTempJob:1025,editContractJob:1052,editPermJob:1078,editClient:1104,editClientContact:1128,editCostCentre:1147,editParent:1163,editUser:1180},applicationSections:{editTempJob:{clientSchedule:1011},editContractJob:{clientSchedule:1038}},businessRules:{client:1314,parent:1315,global:1316},applicationRules:{parent:351,client:352,costCentre:353,clientContact:354,jobOrder:355,candidate:356,parentClient:384,parentJoborder:385,clientRule:364,clientJoborder:367,candidatePortal:2355,clientPortal:2356},candidateResidencyStatus:{workVisa:803},ruleTriggers:{onOk:1299,okSubmitToTS:1300},timesheetImportBatchStatus:{open:2530,completed:2531,failed:2532,cancelled:2533},timesheetImportBatchStage:{importSettings:2535,validationResults:2536},timesheetImportDelimiter:{comma:2,tab:3,pipe:4,other:5},FIExportType:{Debtors:2538,Wages:2539,Sales:2540,UnpaidWages:2541,UninvoicedSales:2542,All:0},fiBatchStatus:{Queued:2654,InProgress:2655,Processed:2656,Error:2657,Deleted:2669,Regenerated:2670},templateTypeId:{country:3501,brand:3502,office:3503,parent:3504,client:3505,costCentre:3506,hierarchy:3507},templateType:{root:99999,hierarchy:99998,country:99997,brand:99996,office:99995,parent:99994,client:99993,costCentre:99992},defautHideSections:{parent:{attachments:!0,auditTrail:!0,preAndExc:!0,invoiceList:!0,communicationHistory:!0,jobTemplateList:!0},client:{projectCode:!0,comment:!0,jobComment:!0,jobList:!0,activity:!0,workplace:!0,attachments:!0,auditTrail:!0,preAndExc:!0,invoiceList:!0,communicationHistory:!0,jobTemplateList:!0},costCentre:{comment:!0,jobList:!0,activity:!0,attachments:!0,auditTrail:!0,preAndExc:!0,invoiceList:!0,jobTemplateList:!0},contact:{linkedClient:!0,comment:!0,jobList:!0,activity:!0,auditTrail:!0,communicationHistory:!0},job:{clientSchedule:!0,projectCode:!0,comment:!0,referralWorkflow:!0,family:!0,activity:!0,workplace:!0,attachments:!0,auditTrail:!0,communicationHistory:!0},candidate:{skills:!0,workReferences:!0,diary:!0,jobList:!0,comment:!0,jobComment:!0,referrals:!0,formResponses:!0,activity:!0,attachments:!0,auditTrail:!0,preAndExc:!0,communicationHistory:!0,jobApplications:!0},dashboard:{revenue:!0,fillRatio:!0,processQueue:!0},user:{auditTrail:!0}},timesheet:{immediateNotificationType:{rejected:4544,submitted:4545,recalled:4546,approved:4547},scheduledNotificationType:{reminder:4548,escalation:4549,rejected:4550,submitted:4551,recalled:4552,general:4553,approved:4554},scheduledFrequencyType:{hours:4555,days:4556},notificationType:{scheduled:4572,immediate:4573},notificationMediumType:{email:4574,sms:4575,message:4576},general:{defaultWeekendingToNumWeeks:"DefaultWeekendingToNumWeeks",defaultWeekendingToDay:"DefaultWeekendingToDay"},timesheetImport:{tsImportAttendanceItemValidationOption:"TSImportAttendanceItemValidationOption",tsImportAbsenceItemValidationOption:"TSImportAbsenceItemValidationOption",tsImportManualItemValidationOption:"TSImportManualItemValidationOption"},timesheetImportValidationOption:{name:4597,importCode:4598},timesheetConfigurationType:{generalConfigurations:4599,timesheetImportConfigurations:4600,standardRatesConfigurations:4601},timsheetPopulationDefault:{none:4604,payCodePerDayWithinTimesheet:4605,patCodeByTimsheetEndDate:4606},standardRatesDefault:{stdRateDefaultEnabled:"StdRateDefaultEnabled",stdRateDefaultDefaultTab:"StdRateDefaultDefaultTab",stdRateDefaultTimesheetPopulationDefault:"StdRateDefaultTimesheetPopulationDefault",stdRateDefaultManualItemAllowZeroQty:"StdRateDefaultManualItemAllowZeroQty",stdRateDefaultManualItemAllowZeroQtyAppliesTo:"StdRateDefaultManualItemAllowZeroQtyAppliesTo",stdRateDefaultPaycodeOrdinary:"StdRateDefaultPaycodeOrdinary",stdRateDefaultPaycodeOvertime:"StdRateDefaultPaycodeOvertime",stdRateDefaultPaycodeAllowance:"StdRateDefaultPaycodeAllowance",stdRateDefaultPaycodeLeave:"StdRateDefaultPaycodeLeave"},standardRatesApplies:{agencyUserOnly:4607,allUsers:4608}},applicationHideSections:{parent:["attachments","auditTrail","preAndExc","invoiceList","communicationHistory","jobTemplateList"],client:["pcode","comment","jobComment","joblists","activity","workplace","attachments","auditTrail","preAndExc","invoiceList","communicationHistory","jobTemplateList"],costCentre:["comment","joblists","activity","attachments","auditTrail","preAndExc","invoiceList","jobTemplateList"],contact:["client","comment","joblists","activities","auditTrail","communicationHistory"],job:["clientSchedule","projectCode","comment","Referral","JobFamily","activity","ClientWorkplace","attachments","auditTrail","communicationHistory"],candidate:["skills","workreferences","diary","joblists","comment","jobComment","referralList","formResponses","activity","attachments","auditTrail","preAndExc","communicationHistory","jobapplications"],user:["auditTrail"]},searchType:{userSearch:4594,globalSearch:4595},communicationCentre:{email:"Email",sms:"SMS",toRecipient:"4615",ccRecipient:"4616",bccRecipient:"4617",sent:"4618",received:"4619"},parentLookUpType:{client:1,referral:2,jobTemplate:3,copyJobTemplate:4,timeAndAttendance:5,preferenceAndExclusion:6,document:7,timesheetReports:8},userLocales:[{id:1,localeName:"Australia/Melbourne"},{id:2,localeName:"Africa/Accra"},{id:3,localeName:"Africa/Addis_Ababa"},{id:4,localeName:"Africa/Algiers"},{id:5,localeName:"Africa/Asmara"},{id:6,localeName:"Africa/Asmera"},{id:7,localeName:"Africa/Bamako"},{id:8,localeName:"Africa/Bangui"},{id:9,localeName:"Africa/Banjul"},{id:10,localeName:"Africa/Bissau"},{id:11,localeName:"Africa/Blantyre"},{id:12,localeName:"Africa/Brazzaville"},{id:13,localeName:"Africa/Bujumbura"},{id:14,localeName:"Africa/Cairo"},{id:15,localeName:"Africa/Casablanca"},{id:16,localeName:"Africa/Ceuta"},{id:17,localeName:"Africa/Conakry"},{id:18,localeName:"Africa/Dakar"},{id:19,localeName:"Africa/Dar_es_Salaam"},{id:20,localeName:"Africa/Djibouti"},{id:21,localeName:"Africa/Douala"},{id:22,localeName:"Africa/El_Aaiun"},{id:23,localeName:"Africa/Freetown"},{id:24,localeName:"Africa/Gaborone"},{id:25,localeName:"Africa/Harare"},{id:26,localeName:"Africa/Johannesburg"},{id:27,localeName:"Africa/Juba"},{id:28,localeName:"Africa/Kampala"},{id:29,localeName:"Africa/Khartoum"},{id:30,localeName:"Africa/Kigali"},{id:31,localeName:"Africa/Kinshasa"},{id:32,localeName:"Africa/Lagos"},{id:33,localeName:"Africa/Libreville"},{id:34,localeName:"Africa/Lome"},{id:35,localeName:"Africa/Luanda"},{id:36,localeName:"Africa/Lubumbashi"},{id:37,localeName:"Africa/Lusaka"},{id:38,localeName:"Africa/Malabo"},{id:39,localeName:"Africa/Maputo"},{id:40,localeName:"Africa/Maseru"},{id:41,localeName:"Africa/Mbabane"},{id:42,localeName:"Africa/Mogadishu"},{id:43,localeName:"Africa/Monrovia"},{id:44,localeName:"Africa/Nairobi"},{id:45,localeName:"Africa/Ndjamena"},{id:46,localeName:"Africa/Niamey"},{id:47,localeName:"Africa/Nouakchott"},{id:48,localeName:"Africa/Ouagadougou"},{id:49,localeName:"Africa/Porto-Novo"},{id:50,localeName:"Africa/Sao_Tome"},{id:51,localeName:"Africa/Timbuktu"},{id:52,localeName:"Africa/Tripoli"},{id:53,localeName:"Africa/Tunis"},{id:54,localeName:"Africa/Windhoek"},{id:55,localeName:"America/Adak"},{id:56,localeName:"America/Anchorage"},{id:57,localeName:"America/Anguilla"},{id:58,localeName:"America/Antigua"},{id:59,localeName:"America/Araguaina"},{id:60,localeName:"America/Argentina/Buenos_Aires"},{id:61,localeName:"America/Argentina/Catamarca"},{id:62,localeName:"America/Argentina/ComodRivadavia"},{id:63,localeName:"America/Argentina/Cordoba"},{id:64,localeName:"America/Argentina/Jujuy"},{id:65,localeName:"America/Argentina/La_Rioja"},{id:66,localeName:"America/Argentina/Mendoza"},{id:67,localeName:"America/Argentina/Rio_Gallegos"},{id:68,localeName:"America/Argentina/Salta"},{id:69,localeName:"America/Argentina/San_Juan"},{id:70,localeName:"America/Argentina/San_Luis"},{id:71,localeName:"America/Argentina/Tucuman"},{id:72,localeName:"America/Argentina/Ushuaia"},{id:73,localeName:"America/Aruba"},{id:74,localeName:"America/Asuncion"},{id:75,localeName:"America/Atikokan"},{id:76,localeName:"America/Atka"},{id:77,localeName:"America/Bahia"},{id:78,localeName:"America/Bahia_Banderas"},{id:79,localeName:"America/Barbados"},{id:80,localeName:"America/Belem"},{id:81,localeName:"America/Belize"},{id:82,localeName:"America/Blanc-Sablon"},{id:83,localeName:"America/Boa_Vista"},{id:84,localeName:"America/Bogota"},{id:85,localeName:"America/Boise"},{id:86,localeName:"America/Buenos_Aires"},{id:87,localeName:"America/Cambridge_Bay"},{id:88,localeName:"America/Campo_Grande"},{id:89,localeName:"America/Cancun"},{id:90,localeName:"America/Caracas"},{id:91,localeName:"America/Catamarca"},{id:92,localeName:"America/Cayenne"},{id:93,localeName:"America/Cayman"},{id:94,localeName:"America/Chicago"},{id:95,localeName:"America/Chihuahua"},{id:96,localeName:"America/Coral_Harbour"},{id:97,localeName:"America/Cordoba"},{id:98,localeName:"America/Costa_Rica"},{id:99,localeName:"America/Creston"},{id:100,localeName:"America/Cuiaba"},{id:101,localeName:"America/Curacao"},{id:102,localeName:"America/Danmarkshavn"},{id:103,localeName:"America/Dawson"},{id:104,localeName:"America/Dawson_Creek"},{id:105,localeName:"America/Denver"},{id:106,localeName:"America/Detroit"},{id:107,localeName:"America/Dominica"},{id:108,localeName:"America/Edmonton"},{id:109,localeName:"America/Eirunepe"},{id:110,localeName:"America/El_Salvador"},{id:111,localeName:"America/Ensenada"},{id:112,localeName:"America/Fort_Nelson"},{id:113,localeName:"America/Fort_Wayne"},{id:114,localeName:"America/Fortaleza"},{id:115,localeName:"America/Glace_Bay"},{id:116,localeName:"America/Godthab"},{id:117,localeName:"America/Goose_Bay"},{id:118,localeName:"America/Grand_Turk"},{id:119,localeName:"America/Grenada"},{id:120,localeName:"America/Guadeloupe"},{id:121,localeName:"America/Guatemala"},{id:122,localeName:"America/Guayaquil"},{id:123,localeName:"America/Guyana"},{id:124,localeName:"America/Halifax"},{id:125,localeName:"America/Havana"},{id:126,localeName:"America/Hermosillo"},{id:127,localeName:"America/Indiana/Indianapolis"},{id:128,localeName:"America/Indiana/Knox"},{id:129,localeName:"America/Indiana/Marengo"},{id:130,localeName:"America/Indiana/Petersburg"},{id:131,localeName:"America/Indiana/Tell_City"},{id:132,localeName:"America/Indiana/Vevay"},{id:133,localeName:"America/Indiana/Vincennes"},{id:134,localeName:"America/Indiana/Winamac"},{id:135,localeName:"America/Indianapolis"},{id:136,localeName:"America/Inuvik"},{id:137,localeName:"America/Iqaluit"},{id:138,localeName:"America/Jamaica"},{id:139,localeName:"America/Jujuy"},{id:140,localeName:"America/Juneau"},{id:141,localeName:"America/Kentucky/Louisville"},{id:142,localeName:"America/Kentucky/Monticello"},{id:143,localeName:"America/Knox_IN"},{id:144,localeName:"America/Kralendijk"},{id:145,localeName:"America/La_Paz"},{id:146,localeName:"America/Lima"},{id:147,localeName:"America/Los_Angeles"},{id:148,localeName:"America/Louisville"},{id:149,localeName:"America/Lower_Princes"},{id:150,localeName:"America/Maceio"},{id:151,localeName:"America/Managua"},{id:152,localeName:"America/Manaus"},{id:153,localeName:"America/Marigot"},{id:154,localeName:"America/Martinique"},{id:155,localeName:"America/Matamoros"},{id:156,localeName:"America/Mazatlan"},{id:157,localeName:"America/Mendoza"},{id:158,localeName:"America/Menominee"},{id:159,localeName:"America/Merida"},{id:160,localeName:"America/Metlakatla"},{id:161,localeName:"America/Mexico_City"},{id:162,localeName:"America/Miquelon"},{id:163,localeName:"America/Moncton"},{id:164,localeName:"America/Monterrey"},{id:165,localeName:"America/Montevideo"},{id:166,localeName:"America/Montreal"},{id:167,localeName:"America/Montserrat"},{id:168,localeName:"America/Nassau"},{id:169,localeName:"America/New_York"},{id:170,localeName:"America/Nipigon"},{id:171,localeName:"America/Nome"},{id:172,localeName:"America/Noronha"},{id:173,localeName:"America/North_Dakota/Beulah"},{id:174,localeName:"America/North_Dakota/Center"},{id:175,localeName:"America/North_Dakota/New_Salem"},{id:176,localeName:"America/Ojinaga"},{id:177,localeName:"America/Panama"},{id:178,localeName:"America/Pangnirtung"},{id:179,localeName:"America/Paramaribo"},{id:180,localeName:"America/Phoenix"},{id:181,localeName:"America/Port-au-Prince"},{id:182,localeName:"America/Port_of_Spain"},{id:183,localeName:"America/Porto_Acre"},{id:184,localeName:"America/Porto_Velho"},{id:185,localeName:"America/Puerto_Rico"},{id:186,localeName:"America/Rainy_River"},{id:187,localeName:"America/Rankin_Inlet"},{id:188,localeName:"America/Recife"},{id:189,localeName:"America/Regina"},{id:190,localeName:"America/Resolute"},{id:191,localeName:"America/Rio_Branco"},{id:192,localeName:"America/Rosario"},{id:193,localeName:"America/Santa_Isabel"},{id:194,localeName:"America/Santarem"},{id:195,localeName:"America/Santiago"},{id:196,localeName:"America/Santo_Domingo"},{id:197,localeName:"America/Sao_Paulo"},{id:198,localeName:"America/Scoresbysund"},{id:199,localeName:"America/Shiprock"},{id:200,localeName:"America/Sitka"},{id:201,localeName:"America/St_Barthelemy"},{id:202,localeName:"America/St_Johns"},{id:203,localeName:"America/St_Kitts"},{id:204,localeName:"America/St_Lucia"},{id:205,localeName:"America/St_Thomas"},{id:206,localeName:"America/St_Vincent"},{id:207,localeName:"America/Swift_Current"},{id:208,localeName:"America/Tegucigalpa"},{id:209,localeName:"America/Thule"},{id:210,localeName:"America/Thunder_Bay"},{id:211,localeName:"America/Tijuana"},{id:212,localeName:"America/Toronto"},{id:213,localeName:"America/Tortola"},{id:214,localeName:"America/Vancouver"},{id:215,localeName:"America/Virgin"},{id:216,localeName:"America/Whitehorse"},{id:217,localeName:"America/Winnipeg"},{id:218,localeName:"America/Yakutat"},{id:219,localeName:"America/Yellowknife"},{id:220,localeName:"Antarctica/Casey"},{id:221,localeName:"Antarctica/Davis"},{id:222,localeName:"Antarctica/DumontDUrville"},{id:223,localeName:"Antarctica/Macquarie"},{id:224,localeName:"Antarctica/Mawson"},{id:225,localeName:"Antarctica/McMurdo"},{id:226,localeName:"Antarctica/Palmer"},{id:227,localeName:"Antarctica/Rothera"},{id:228,localeName:"Antarctica/South_Pole"},{id:229,localeName:"Antarctica/Syowa"},{id:230,localeName:"Antarctica/Troll"},{id:231,localeName:"Antarctica/Vostok"},{id:232,localeName:"Arctic/Longyearbyen"},{id:233,localeName:"Asia/Aden"},{id:234,localeName:"Asia/Almaty"},{id:235,localeName:"Asia/Amman"},{id:236,localeName:"Asia/Anadyr"},{id:237,localeName:"Asia/Aqtau"},{id:238,localeName:"Asia/Aqtobe"},{id:239,localeName:"Asia/Ashgabat"},{id:240,localeName:"Asia/Ashkhabad"},{id:241,localeName:"Asia/Baghdad"},{id:242,localeName:"Asia/Bahrain"},{id:243,localeName:"Asia/Baku"},{id:244,localeName:"Asia/Bangkok"},{id:245,localeName:"Asia/Barnaul"},{id:246,localeName:"Asia/Beirut"},{id:247,localeName:"Asia/Bishkek"},{id:248,localeName:"Asia/Brunei"},{id:249,localeName:"Asia/Calcutta"},{id:250,localeName:"Asia/Chita"},{id:251,localeName:"Asia/Choibalsan"},{id:252,localeName:"Asia/Chongqing"},{id:253,localeName:"Asia/Chungking"},{id:254,localeName:"Asia/Colombo"},{id:255,localeName:"Asia/Dacca"},{id:256,localeName:"Asia/Damascus"},{id:257,localeName:"Asia/Dhaka"},{id:258,localeName:"Asia/Dili"},{id:259,localeName:"Asia/Dubai"},{id:260,localeName:"Asia/Dushanbe"},{id:261,localeName:"Asia/Gaza"},{id:262,localeName:"Asia/Harbin"},{id:263,localeName:"Asia/Hebron"},{id:264,localeName:"Asia/Ho_Chi_Minh"},{id:265,localeName:"Asia/Hong_Kong"},{id:266,localeName:"Asia/Hovd"},{id:267,localeName:"Asia/Irkutsk"},{id:268,localeName:"Asia/Istanbul"},{id:269,localeName:"Asia/Jakarta"},{id:270,localeName:"Asia/Jayapura"},{id:271,localeName:"Asia/Jerusalem"},{id:272,localeName:"Asia/Kabul"},{id:273,localeName:"Asia/Kamchatka"},{id:274,localeName:"Asia/Karachi"},{id:275,localeName:"Asia/Kashgar"},{id:276,localeName:"Asia/Kathmandu"},{id:277,localeName:"Asia/Katmandu"},{id:278,localeName:"Asia/Khandyga"},{id:279,localeName:"Asia/Kolkata"},{id:280,localeName:"Asia/Krasnoyarsk"},{id:281,localeName:"Asia/Kuala_Lumpur"},{id:282,localeName:"Asia/Kuching"},{id:283,localeName:"Asia/Kuwait"},{id:284,localeName:"Asia/Macao"},{id:285,localeName:"Asia/Macau"},{id:286,localeName:"Asia/Magadan"},{id:287,localeName:"Asia/Makassar"},{id:288,localeName:"Asia/Manila"},{id:289,localeName:"Asia/Muscat"},{id:290,localeName:"Asia/Nicosia"},{id:291,localeName:"Asia/Novokuznetsk"},{id:292,localeName:"Asia/Novosibirsk"},{id:293,localeName:"Asia/Omsk"},{id:294,localeName:"Asia/Oral"},{id:295,localeName:"Asia/Phnom_Penh"},{id:296,localeName:"Asia/Pontianak"},{id:297,localeName:"Asia/Pyongyang"},{id:298,localeName:"Asia/Qatar"},{id:299,localeName:"Asia/Qyzylorda"},{id:300,localeName:"Asia/Rangoon"},{id:301,localeName:"Asia/Riyadh"},{id:302,localeName:"Asia/Saigon"},{id:303,localeName:"Asia/Sakhalin"},{id:304,localeName:"Asia/Samarkand"},{id:305,localeName:"Asia/Seoul"},{id:306,localeName:"Asia/Shanghai"},{id:307,localeName:"Asia/Singapore"},{id:308,localeName:"Asia/Srednekolymsk"},{id:309,localeName:"Asia/Taipei"},{id:310,localeName:"Asia/Tashkent"},{id:311,localeName:"Asia/Tbilisi"},{id:312,localeName:"Asia/Tehran"},{id:313,localeName:"Asia/Tel_Aviv"},{id:314,localeName:"Asia/Thimbu"},{id:315,localeName:"Asia/Thimphu"},{id:316,localeName:"Asia/Tokyo"},{id:317,localeName:"Asia/Tomsk"},{id:318,localeName:"Asia/Ujung_Pandang"},{id:319,localeName:"Asia/Ulaanbaatar"},{id:320,localeName:"Asia/Ulan_Bator"},{id:321,localeName:"Asia/Urumqi"},{id:322,localeName:"Asia/Ust-Nera"},{id:323,localeName:"Asia/Vientiane"},{id:324,localeName:"Asia/Vladivostok"},{id:325,localeName:"Asia/Yakutsk"},{id:326,localeName:"Asia/Yekaterinburg"},{id:327,localeName:"Asia/Yerevan"},{id:328,localeName:"Atlantic/Azores"},{id:329,localeName:"Atlantic/Bermuda"},{id:330,localeName:"Atlantic/Canary"},{id:331,localeName:"Atlantic/Cape_Verde"},{id:332,localeName:"Atlantic/Faeroe"},{id:333,localeName:"Atlantic/Faroe"},{id:334,localeName:"Atlantic/Jan_Mayen"},{id:335,localeName:"Atlantic/Madeira"},{id:336,localeName:"Atlantic/Reykjavik"},{id:337,localeName:"Atlantic/South_Georgia"},{id:338,localeName:"Atlantic/St_Helena"},{id:339,localeName:"Atlantic/Stanley"},{id:340,localeName:"Australia/ACT"},{id:341,localeName:"Australia/Adelaide"},{id:342,localeName:"Australia/Brisbane"},{id:343,localeName:"Australia/Broken_Hill"},{id:344,localeName:"Australia/Canberra"},{id:345,localeName:"Australia/Currie"},{id:346,localeName:"Australia/Darwin"},{id:347,localeName:"Australia/Eucla"},{id:348,localeName:"Australia/Hobart"},{id:349,localeName:"Australia/LHI"},{id:350,localeName:"Australia/Lindeman"},{id:351,localeName:"Australia/Lord_Howe"},{id:352,localeName:"Africa/Abidjan"},{id:353,localeName:"Australia/NSW"},{id:354,localeName:"Australia/North"},{id:355,localeName:"Australia/Perth"},{id:356,localeName:"Australia/Queensland"},{id:357,localeName:"Australia/South"},{id:358,localeName:"Australia/Sydney"},{id:359,localeName:"Australia/Tasmania"},{id:360,localeName:"Australia/Victoria"},{id:361,localeName:"Australia/West"},{id:362,localeName:"Australia/Yancowinna"},{id:363,localeName:"Brazil/Acre"},{id:364,localeName:"Brazil/DeNoronha"},{id:365,localeName:"Brazil/East"},{id:366,localeName:"Brazil/West"},{id:367,localeName:"CET"},{id:368,localeName:"CST6CDT"},{id:369,localeName:"Canada/Atlantic"},{id:370,localeName:"Canada/Central"},{id:371,localeName:"Canada/East-Saskatchewan"},{id:372,localeName:"Canada/Eastern"},{id:373,localeName:"Canada/Mountain"},{id:374,localeName:"Canada/Newfoundland"},{id:375,localeName:"Canada/Pacific"},{id:376,localeName:"Canada/Saskatchewan"},{id:377,localeName:"Canada/Yukon"},{id:378,localeName:"Chile/Continental"},{id:379,localeName:"Chile/EasterIsland"},{id:380,localeName:"Cuba"},{id:381,localeName:"EET"},{id:382,localeName:"EST"},{id:383,localeName:"EST5EDT"},{id:384,localeName:"Egypt"},{id:385,localeName:"Eire"},{id:386,localeName:"Etc/GMT"},{id:387,localeName:"Etc/GMT+0"},{id:388,localeName:"Etc/GMT+1"},{id:389,localeName:"Etc/GMT+10"},{id:390,localeName:"Etc/GMT+11"},{id:391,localeName:"Etc/GMT+12"},{id:392,localeName:"Etc/GMT+2"},{id:393,localeName:"Etc/GMT+3"},{id:394,localeName:"Etc/GMT+4"},{id:395,localeName:"Etc/GMT+5"},{id:396,localeName:"Etc/GMT+6"},{id:397,localeName:"Etc/GMT+7"},{id:398,localeName:"Etc/GMT+8"},{id:399,localeName:"Etc/GMT+9"},{id:400,localeName:"Etc/GMT-0"},{id:401,localeName:"Etc/GMT-1"},{id:402,localeName:"Etc/GMT-10"},{id:403,localeName:"Etc/GMT-11"},{id:404,localeName:"Etc/GMT-12"},{id:405,localeName:"Etc/GMT-13"},{id:406,localeName:"Etc/GMT-14"},{id:407,localeName:"Etc/GMT-2"},{id:408,localeName:"Etc/GMT-3"},{id:409,localeName:"Etc/GMT-4"},{id:410,localeName:"Etc/GMT-5"},{id:411,localeName:"Etc/GMT-6"},{id:412,localeName:"Etc/GMT-7"},{id:413,localeName:"Etc/GMT-8"},{id:414,localeName:"Etc/GMT-9"},{id:415,localeName:"Etc/GMT0"},{id:416,localeName:"Etc/Greenwich"},{id:417,localeName:"Etc/UCT"},{id:418,localeName:"Etc/UTC"},{id:419,localeName:"Etc/Universal"},{id:420,localeName:"Etc/Zulu"},{id:421,localeName:"Europe/Amsterdam"},{id:422,localeName:"Europe/Andorra"},{id:423,localeName:"Europe/Astrakhan"},{id:424,localeName:"Europe/Athens"},{id:425,localeName:"Europe/Belfast"},{id:426,localeName:"Europe/Belgrade"},{id:427,localeName:"Europe/Berlin"},{id:428,localeName:"Europe/Bratislava"},{id:429,localeName:"Europe/Brussels"},{id:430,localeName:"Europe/Bucharest"},{id:431,localeName:"Europe/Budapest"},{id:432,localeName:"Europe/Busingen"},{id:433,localeName:"Europe/Chisinau"},{id:434,localeName:"Europe/Copenhagen"},{id:435,localeName:"Europe/Dublin"},{id:436,localeName:"Europe/Gibraltar"},{id:437,localeName:"Europe/Guernsey"},{id:438,localeName:"Europe/Helsinki"},{id:439,localeName:"Europe/Isle_of_Man"},{id:440,localeName:"Europe/Istanbul"},{id:441,localeName:"Europe/Jersey"},{id:442,localeName:"Europe/Kaliningrad"},{id:443,localeName:"Europe/Kiev"},{id:444,localeName:"Europe/Kirov"},{id:445,localeName:"Europe/Lisbon"},{id:446,localeName:"Europe/Ljubljana"},{id:447,localeName:"Europe/London"},{id:448,localeName:"Europe/Luxembourg"},{id:449,localeName:"Europe/Madrid"},{id:450,localeName:"Europe/Malta"},{id:451,localeName:"Europe/Mariehamn"},{id:452,localeName:"Europe/Minsk"},{id:453,localeName:"Europe/Monaco"},{id:454,localeName:"Europe/Moscow"},{id:455,localeName:"Europe/Nicosia"},{id:456,localeName:"Europe/Oslo"},{id:457,localeName:"Europe/Paris"},{id:458,localeName:"Europe/Podgorica"},{id:459,localeName:"Europe/Prague"},{id:460,localeName:"Europe/Riga"},{id:461,localeName:"Europe/Rome"},{id:462,localeName:"Europe/Samara"},{id:463,localeName:"Europe/San_Marino"},{id:464,localeName:"Europe/Sarajevo"},{id:465,localeName:"Europe/Simferopol"},{id:466,localeName:"Europe/Skopje"},{id:467,localeName:"Europe/Sofia"},{id:468,localeName:"Europe/Stockholm"},{id:469,localeName:"Europe/Tallinn"},{id:470,localeName:"Europe/Tirane"},{id:471,localeName:"Europe/Tiraspol"},{id:472,localeName:"Europe/Ulyanovsk"},{id:473,localeName:"Europe/Uzhgorod"},{id:474,localeName:"Europe/Vaduz"},{id:475,localeName:"Europe/Vatican"},{id:476,localeName:"Europe/Vienna"},{id:477,localeName:"Europe/Vilnius"},{id:478,localeName:"Europe/Volgograd"},{id:479,localeName:"Europe/Warsaw"},{id:480,localeName:"Europe/Zagreb"},{id:481,localeName:"Europe/Zaporozhye"},{id:482,localeName:"Europe/Zurich"},{id:483,localeName:"GB"},{id:484,localeName:"GB-Eire"},{id:485,localeName:"GMT"},{id:486,localeName:"GMT+0"},{id:487,localeName:"GMT-0"},{id:488,localeName:"GMT0"},{id:489,localeName:"Greenwich"},{id:490,localeName:"HST"},{id:491,localeName:"Hongkong"},{id:492,localeName:"Iceland"},{id:493,localeName:"Indian/Antananarivo"},{id:494,localeName:"Indian/Chagos"},{id:495,localeName:"Indian/Christmas"},{id:496,localeName:"Indian/Cocos"},{id:497,localeName:"Indian/Comoro"},{id:498,localeName:"Indian/Kerguelen"},{id:499,localeName:"Indian/Mahe"},{id:500,localeName:"Indian/Maldives"},{id:501,localeName:"Indian/Mauritius"},{id:502,localeName:"Indian/Mayotte"},{id:503,localeName:"Indian/Reunion"},{id:504,localeName:"Iran"},{id:505,localeName:"Israel"},{id:506,localeName:"Jamaica"},{id:507,localeName:"Japan"},{id:508,localeName:"Kwajalein"},{id:509,localeName:"Libya"},{id:510,localeName:"MET"},{id:511,localeName:"MST"},{id:512,localeName:"MST7MDT"},{id:513,localeName:"Mexico/BajaNorte"},{id:514,localeName:"Mexico/BajaSur"},{id:515,localeName:"Mexico/General"},{id:516,localeName:"NZ"},{id:517,localeName:"NZ-CHAT"},{id:518,localeName:"Navajo"},{id:519,localeName:"PRC"},{id:520,localeName:"PST8PDT"},{id:521,localeName:"Pacific/Apia"},{id:522,localeName:"Pacific/Auckland"},{id:523,localeName:"Pacific/Bougainville"},{id:524,localeName:"Pacific/Chatham"},{id:525,localeName:"Pacific/Chuuk"},{id:526,localeName:"Pacific/Easter"},{id:527,localeName:"Pacific/Efate"},{id:528,localeName:"Pacific/Enderbury"},{id:529,localeName:"Pacific/Fakaofo"},{id:530,localeName:"Pacific/Fiji"},{id:531,localeName:"Pacific/Funafuti"},{id:532,localeName:"Pacific/Galapagos"},{id:533,localeName:"Pacific/Gambier"},{id:534,localeName:"Pacific/Guadalcanal"},{id:535,localeName:"Pacific/Guam"},{id:536,localeName:"Pacific/Honolulu"},{id:537,localeName:"Pacific/Johnston"},{id:538,localeName:"Pacific/Kiritimati"},{id:539,localeName:"Pacific/Kosrae"},{id:540,localeName:"Pacific/Kwajalein"},{id:541,localeName:"Pacific/Majuro"},{id:542,localeName:"Pacific/Marquesas"},{id:543,localeName:"Pacific/Midway"},{id:544,localeName:"Pacific/Nauru"},{id:545,localeName:"Pacific/Niue"},{id:546,localeName:"Pacific/Norfolk"},{id:547,localeName:"Pacific/Noumea"},{id:548,localeName:"Pacific/Pago_Pago"},{id:549,localeName:"Pacific/Palau"},{id:550,localeName:"Pacific/Pitcairn"},{id:551,localeName:"Pacific/Pohnpei"},{id:552,localeName:"Pacific/Ponape"},{id:553,localeName:"Pacific/Port_Moresby"},{id:554,localeName:"Pacific/Rarotonga"},{id:555,localeName:"Pacific/Saipan"},{id:556,localeName:"Pacific/Samoa"},{id:557,localeName:"Pacific/Tahiti"},{id:558,localeName:"Pacific/Tarawa"},{id:559,localeName:"Pacific/Tongatapu"},{id:560,localeName:"Pacific/Truk"},{id:561,localeName:"Pacific/Wake"},{id:562,localeName:"Pacific/Wallis"},{id:563,localeName:"Pacific/Yap"},{id:564,localeName:"Poland"},{id:565,localeName:"Portugal"},{id:566,localeName:"ROC"},{id:567,localeName:"ROK"},{id:568,localeName:"Singapore"},{id:569,localeName:"Turkey"},{id:570,localeName:"UCT"},{id:571,localeName:"US/Alaska"},{id:572,localeName:"US/Aleutian"},{id:573,localeName:"US/Arizona"},{id:574,localeName:"US/Central"},{id:575,localeName:"US/East-Indiana"},{id:576,localeName:"US/Eastern"},{id:577,localeName:"US/Hawaii"},{id:578,localeName:"US/Indiana-Starke"},{id:579,localeName:"US/Michigan"},{id:580,localeName:"US/Mountain"},{id:581,localeName:"US/Pacific"},{id:582,localeName:"US/Pacific-New"},{id:583,localeName:"US/Samoa"},{id:584,localeName:"UTC"},{id:585,localeName:"Universal"},{id:586,localeName:"W-SU"},{id:587,localeName:"WET"},{id:588,localeName:"Zulu"}],emailSmsRecipientType:{candidates:"Candidates",clientContacts:"Client Contacts",comments:"Comments"},lookupValue:{lookupUnCacheData:[{lookup:"agencyuser"},{lookup:"parentcompany"},{lookup:"clientcontact"},{lookup:"candidateemail"},{lookup:"clientcontactemail"},{lookup:"agencyusers"},{lookup:"clientdetail"},{lookup:"clientlinkedcostcentre"},{lookup:"clientcontactdetail"},{lookup:"candidatesms"},{lookup:"clientcontactsms"}]},googleMapReferralType:{jobOrder:113,candidate:114,parent:115,client:117,costCentre:118,candidatePortalJobList:119,clientPortal:120,searchAvailableCandidatesView:121,candidateDiary:123,candidatePortalDiary:124,clientPortalJobList:125,jobOrderSearchAvailableCandidatesByDistance:126,addressView:127,Other:128},googleMapType:{dynamicMap:1,staticMap:2,geoCodeApi:3},LeaveRequestStatus:{Rejected:4581,Cancelled:4582,Approved:4583},hierarchyLevel:{country:4645,brand:4646,office:4647,user:4648},sourceList:{jobOrder:4636,client:4635,candidate:4634,referral:4637,timesheet:4638,any:4639}});rx.factory("appConfig",function(){return{notifications:{serverError:!1,clientError:!1},alert:{dataLost:!1,recordLock:!1},webConfiguration:{standAlone:!1},generalSettings:{},rxDateRange:{minYear:1900},applicationPopovers:["api/lookup/agencyusers","api/lookup/selectOfficeCode","api/lookup/candidatedetail","api/lookup/clientscontacts",],dateConfig:{inputFormats:{dateTimeWithOffset:"YYYY-MM-DDTHH:mm:ss.SSSS",date:"MM/DD/YYYY"},displayFormats:{date:"DD/MM/YYYY",dateTimeFormat:"DD/MM/YYYY HH:mm",time:"HH:mm"},inputFormatDateTimeOffset:"",inputFormat:"",displayDateFormat:"DD/MM/YYYY",displayDateTimeFormat:"DD/MM/YYYY HH:mm"}}});fastTrack.service("eventsService",["$rootScope",function(n){return{assignedAgreementsChanged:function(t){n.$broadcast("assignedAgreementsChangedEvent",t)},standaradRateSetAdded:function(){n.$broadcast("standaradRateSetAddedEvent")},resetJobOrderStandardRates:function(t){n.$broadcast("resetJobOrderStandardRatesEvent",t)},ratesChanged:function(t){n.$broadcast("ratesChangedEvent",t)},ratesChangedRate:function(t){n.$broadcast("ratesChangedRateEvent",t)},lastInterpretedTimesheetDateRefreshed:function(t){n.$broadcast("lastInterpretedTimesheetDateRefreshedEvent",t)},timesheetImportTemplateDeleted:function(t){n.$broadcast("timesheetImportTemplateDeletedEvent",t)},resumeReplace:function(t){n.$broadcast("resumeReplaceEvent",t)},documentReplace:function(t){n.$broadcast("documentReplaceEvent",t)}}}]);rx.factory("patternService",["$rootScope",function(n){var t={};return t.broadcast=function(n){this.patternSource=n;this.broadcastPattern()},t.broadcastPattern=function(){n.$broadcast("patternBroadCast")},t}]);rx.factory("addressBroadcast",["$rootScope",function(n){var t={jsonObject:{},keyName:""};return t.broadcast=function(n,i){t.jsonObject=n;t.keyName=i;t.broadcastAddress()},t.broadcastAddress=function(){n.$broadcast("addressChangedBroadcast",this.keyName,this.jsonObject)},t}]);fastTrack.factory("contentUpdate",function(){return{flag:!1}});rx.factory("destroyBroadCast",["$rootScope",function(n){var t={};return t.broadcast=function(n){t.broadcastAddress(n)},t.broadcastAddress=function(t){n.$broadcast("$rxDestroy",t)},t}]);rx.factory("dirtyCheckBroadcaster",["$rootScope",function(n){var t={};return t.broadcast=function(n){t.broadcastAddress(n)},t.broadcastAddress=function(t){var i=setTimeout(function(){n.$broadcast("dirtyCheckBroadCaster",t)},50)},t.newInstance=function(t){globalDirtyCheck["base"+t]={};n.$broadcast("newInstanceBroadcaster",t)},t.resetObject=function(t){var i=setTimeout(function(){n.$broadcast("resetObject",t)})},t}]);fastTrack.factory("commonUtility",["lookupDs","$rootScope","dirtyCheckBroadcaster","addressBroadcast","addressDetails","$filter","enums",function(n,t,i,r,u,f,e){var l=function(t,r,u,f,e,o){n.postEntityCheck.post(r).then(function(n){u==undefined&&(n==!0?(t.btnEdit==!0?(f.activeGrid=="activityGrid"||f.activeGrid=="activityDasboardPoppupGrid"||f.activeGrid=="activitySearchGrid"?i.broadcast("activityEdit"):f.activeGrid=="availabilitiesGrid"||f.activeGrid=="availabilitiesCandidatePortalGrid"?i.broadcast("diaryEdit"):f.activeGrid=="sourceCodesGrid"?i.broadcast("sourceCodeUpdate"):f.activeGrid=="globalLinksGrid"&&i.broadcast("frmGlobalLink"),t.removeReadOnly()):f[f.activeGrid].source.routeChanges(n),t.$apply()):typeof n=="string"?e.show({dataCollection:[],titleText:"Confirmation",contentText:"This record has been updated by some other user. In order to edit this record, data needs to be reloaded on this screen. Would you like to reload this record ?",cancelRequired:undefined,callbacks:{ok:"pageReload",cancel:"cancelEntityClicked"}},t):u==undefined&&e.show({dataCollection:[],titleText:"Record Locked",contentText:o.message.recordLocked,cancelRequired:!1,callbacks:{ok:"ok"}},t))})},a=function(n){var t;n.validEmailOne||(n.validEmailOne=!0,t=setTimeout(function(){n.validEmailOne=!1;n.$apply()},200));n.validEmailTwo||(n.validEmailTwo=!0,t=setTimeout(function(){n.validEmailTwo=!1;n.$apply()},200));n.isWebsiteValid||(n.isWebsiteValid=!0,t=setTimeout(function(){n.isWebsiteValid=!1;n.$apply()},200))},v=function(n,t,i,r){var u,f,e;return i=="gridName"?(u=n.colOne[t][i],f="",angular.isUndefined(u)||u==null||u==""||angular.isUndefined(r[u])||(f=n.getGridRecordCount(u),f="("+f+")"),f):i=="link"?(e=n.colOne[t][i],!angular.isUndefined(e)&&e!=null)?e:!1:n.colOne[t][i]},y=function(n,t,i,r){var u=r.find(i.securityGeneralItems,{permissionItemName:"Email"})[0];return angular.isUndefined(u)||u.fullControl&&(t["Email Candidate"]={label:"Email Candidate",action:function(){n.openEmailCandidate();n.hideContextMenu()}}),u=r.find(i.securityGeneralItems,{permissionItemName:"SMS"})[0],angular.isUndefined(u)||u.fullControl&&(t["SMS Candidate"]={label:"SMS Candidate",action:function(){n.openSmsCandidate();n.hideContextMenu()}}),t["Move Referral"]={label:"Move Referral",action:function(t){n.tree.deselectNodes();n.selectClickedNode(t);n.moveReferrals();n.hideContextMenu()}},t},p=function(n,t,i){var r,u;i.filter("skillGroupId",t,n.candidatePageLookup.skillGroupsWithDiary).length>0?(n.candidateAvailableOptions.diaryTypeId=i.filter("skillGroupId",t,n.candidatePageLookup.skillGroupsWithDiary)[0].diaryType,r=i.find(n.candidatePageLookup.diaryType,{diaryTypeId:n.candidateAvailableOptions.diaryTypeId}),(angular.isUndefined(r)||r==null||r.length==0)&&(n.candidateAvailableOptions.diaryTypeId=undefined),n.candidateDetail.primaryPositionId=undefined,u=i.find(n.positionData,{skillGroupId:t}),n.candidatePageLookup.primaryPosition=u):n.candidatePageLookup.primaryPosition=n.positionData},w=function(n,t,i){var r,u;i.filter("skillGroupId",t,n.candidateLookups.skillGroupsWithDiary).length>0?(n.candidateAvailableOptions.diaryTypeId=i.filter("skillGroupId",t,n.candidateLookups.skillGroupsWithDiary)[0].diaryType,r=i.find(n.candidateLookups.diaryType,{diaryTypeId:n.candidateAvailableOptions.diaryTypeId}),(angular.isUndefined(r)||r==null||r.length==0)&&(n.candidateAvailableOptions.diaryTypeId=undefined),n.candidateDetail.primaryPositionId=undefined,u=i.find(n.positionData,{skillGroupId:t}),n.candidateLookups.primaryPosition=u):n.candidateLookups.primaryPosition=n.positionData},b=function(n,t,i){if(!angular.isUndefined(t)&&t!=""){var r=i.filter("postCodeAddress",t,n.autoCompletePostCodes)[0];r.active&&(angular.isUndefined(r)||angular.isUndefined(r.countryName)||r.countryName==""||(n.searchCandidate.addressSuburb=r.suburb,n.searchCandidate.addressState=r.stateName,n.searchCandidate.addressCountry=r.countryName,n.searchCandidate.addressCity=r.city,n.searchCandidate.addressPostCode=r.postCodeNumber+" "));n.$apply()}},k=function(n,t){if(String(t).indexOf("/")>0){t=t.replace("T00:00:00","");var i=t.split("/");return!angular.isUndefined(i)&&i.length>0?(n.dobMonth=parseInt(i[0]),n.dobDay=parseInt(i[1]),angular.isUndefined(n.dobMonth)||n.dobMonth==null||n.dobMonth==""||n.resetDays(n.dobMonth),!0):!1}return!1},d=function(n,t,i){if(!angular.isUndefined(t)&&t!=""){var r=i.filter("cityAddress",t,n.autoCompletePostCodes)[0];r.active&&(angular.isUndefined(r)||angular.isUndefined(r.countryName)||r.countryName==""||(n.searchCandidate.addressSuburb=r.suburb,n.searchCandidate.addressState=r.stateName,n.searchCandidate.addressCountry=r.countryName,n.searchCandidate.addressCity=r.city,n.searchCandidate.addressPostCode=r.postCodeNumber));n.$apply()}},g=function(n,t,i){if(!angular.isUndefined(t)&&t!=""){var r=i.filter("suburbAddress",t,n.autoCompletePostCodes)[0];r.active&&(angular.isUndefined(r)||angular.isUndefined(r.countryName)||r.countryName==""||(n.searchCandidate.addressSuburb=r.suburb,n.searchCandidate.addressState=r.stateName,n.searchCandidate.addressCountry=r.countryName,n.searchCandidate.addressCity=r.city,n.searchCandidate.addressPostCode=r.postCodeNumber));n.$apply()}},nt=function(n,t,i,r){for(var o="",e="",f,u=0;u<t.length;u++)if(t[u].wordPhrase!=null&&t[u].wordPhrase!="")if(f=0,t[u].weight!=null&&t[u].weight!=""&&(f=parseInt(t[u].weight)/10),e=="NEAR"&&(t[u].operator=="NEAR"||t[u].operator==""||t[u].operator==null)?i=i+t[u].wordPhrase:e=="NEAR"&&t[u].operator!="NEAR"?i=i+t[u].wordPhrase:t[u].operator=="NEAR"?i=i+'"'+t[u].wordPhrase+'" ':angular.isUndefined(n.resumeSynonyms)||n.resumeSynonyms!=!0?angular.isUndefined(n.resumeInflections)||n.resumeInflections!=!0?i=i+'ISABOUT("'+t[u].wordPhrase+'" WEIGHT('+f+"))":r=="joborder"?i=i+'ISABOUT(FORMSOF(INFLECTIONAL,"'+t[u].wordPhrase+'") WEIGHT('+f+"))":r=="candidate"&&(i=i+'ISABOUT(FORMSOF(INFLECTIONAL,"'+t[u].wordPhrase+'"))'):r=="joborder"?i=i+'ISABOUT(FORMSOF(THESAURUS,"'+t[u].wordPhrase+'") WEIGHT('+f+"))":r=="candidate"&&(i=i+'ISABOUT(FORMSOF(THESAURUS,"'+t[u].wordPhrase+'"))'),u!=t.length-1&&t[u].operator!=null&&t[u].operator!=""&&(i=i+" "+t[u].operator+" "),t[u].operator&&(e=t[u].operator),n.atLeastOne=!0,o=o+","+t[u].wordPhrase,u!=0&&(t[u].operator==null||t[u].operator==""))break;else if(u==0&&(t[u].operator==null||t[u].operator==""))break;return i},tt=function(n,t,i,r,u,f,e,o){var c,l,v,a,s,h;(i=="availabilitiesGrid"||i=="availabilitiesCandidatePortalGrid")&&t[i].source.hidePopup("diaryEdit");f=n.mergeGridData([f]);c=n.availabilityDetail.startDate;l=n.availabilityDetail.endDate;(c==null||angular.isUndefined(c))&&(c=f[0].startDate);(l==null||angular.isUndefined(l))&&(l=f[0].endDate);v=n.availabilityDetail.reasonCodeId;a=n.availabilityDetail.recurrenceDayId;n.availabilityDetail.recurrenceDayId!=null&&n.availabilityDetail.recurrenceDayId!=""&&(a=a.split(","));s="";n.candidateAvailibilityLookups.applicationDay.length>0&&angular.forEach(a,function(t){s=s==""?e.find(n.candidateAvailibilityLookups.applicationDay,{applicationDayId:parseInt(t)})[0].applicationDay:s+","+e.find(n.candidateAvailibilityLookups.applicationDay,{applicationDayId:parseInt(t)})[0].applicationDay});n.availabilityDetail=f[0];t[i].row.startDate=c;t[i].row.endDate=l;t[i].row.recurrenceDayName=s;h="";n.candidateAvailibilityLookups.candidateReasonCode.length>0&&(h=e.find(n.candidateAvailibilityLookups.candidateReasonCode,{candidateInActiveReasonId:v})[0]);t[i].row.candidateInActiveReasonName=angular.isUndefined(h)?h:h.candidateInActiveReasonName;t[i].row.candidateAvailabilitySummaryId=n.availabilityDetail.candidateAvailabilitySummaryId;r.success("Candidate "+u+" Updated Successfully.");o.broadcast(!0,"reloadCandidateDiary");n.$apply()},it=function(n,t,i){var f=parseInt(t[0].id),r,u,e;if($("#"+t[0].id).addClass("jstree-disabled"),r=i.find(n.tree.treeObject,{objectId:f}),r.length>0&&(r[0].active=!1,r=i.find(n.tree.treeObject,{parentObjectId:parseInt(f)}),r.length>0))for(u=0;u<r.length;u++)e=n.tree.treeObject.indexOf(r[u]),n.tree.treeObject[e].active=!1},rt=function(n,t,i){var f=parseInt(t[0].id),r,u,e;if($("#"+t[0].id).removeClass("jstree-disabled"),r=i.find(n.tree.treeObject,{objectId:f}),r.length>0&&(r[0].active=!0,r=i.find(n.tree.treeObject,{parentObjectId:parseInt(f)}),r.length>0))for(u=0;u<r.length;u++)e=n.tree.treeObject.indexOf(r[u]),n.tree.treeObject[e].active=!1},ut=function(n,t,i){if(!angular.isUndefined(t)&&t!=""){var r=i.filter("postCodeAddress",t,n.autoCompletePostCodes)[0];r.active&&(angular.isUndefined(r)||angular.isUndefined(r.countryName)||r.countryName==""||(n.address.suburb=r.suburb,n.address.stateName=r.stateName,n.address.countryName=r.countryName,n.address.city=r.city,n.address.postCode=r.postCodeNumber+" ",n.getAddressDisplayLabel()));n.$apply()}},ft=function(n,t,i){if(!angular.isUndefined(t)&&t!=""){var r=i.filter("postCodeAddress",t,n.autoCompletePostCodes)[0];r.active&&(angular.isUndefined(r)||angular.isUndefined(r.countryName)||r.countryName==""||(n.address1.suburb=r.suburb,n.address1.stateName=r.stateName,n.address1.countryName=r.countryName,n.address1.city=r.city,n.address1.postCode=r.postCodeNumber+" ",n.getAddress1DisplayLabel()));n.$apply()}},et=function(n,i,r){if(n.isFirstTimeValidation&&n.isTimeOut){n.isFirstTimeValidation=!1;var u=setTimeout(function(){n.isTimeOut=!1;n.objectDetail=i.getObjectContext(n.objectDetail);i.setObjectContext(n.objectDetail);n.$apply()},500)}else if(!n.isTimeOut)return!n.isFirstTimeValidation&&!t.rootLevelValidation?(t.entityChangeRedirect=i.isChanged(r),t.entityChangeRedirect):t.entityChangeRedirect=!1},ot=function(n,t,i){if(!angular.isUndefined(t)&&t!=""){var r=i.filter("suburbAddress",t,n.autoCompletePostCodes)[0];r.active&&(angular.isUndefined(r)||angular.isUndefined(r.countryName)||r.countryName==""||(n.address.suburb=r.suburb,n.address.stateName=r.stateName,n.address.countryName=r.countryName,n.address.city=r.city,n.address.postCode=r.postCodeNumber,n.getAddressDisplayLabel()));n.$apply()}},st=function(n,t,i){if(!angular.isUndefined(t)&&t!=""){var r=i.filter("cityAddress",t,n.autoCompletePostCodes)[0];r.active&&(angular.isUndefined(r)||angular.isUndefined(r.countryName)||r.countryName==""||(n.address.suburb=r.suburb,n.address.stateName=r.stateName,n.address.countryName=r.countryName,n.address.city=r.city,n.address.postCode=r.postCodeNumber,n.getAddressDisplayLabel()));n.$apply()}},ht=function(n,t,i){if(!angular.isUndefined(t)&&t!=""){var r=i.filter("suburbAddress",t,n.autoCompletePostCodes)[0];r.active&&(angular.isUndefined(r)||angular.isUndefined(r.countryName)||r.countryName==""||(n.address1.suburb=r.suburb,n.address1.stateName=r.stateName,n.address1.countryName=r.countryName,n.address1.city=r.city,n.address1.postCode=r.postCodeNumber,n.getAddress1DisplayLabel()));n.$apply()}},ct=function(n,t,i){if(!angular.isUndefined(t)&&t!=""){var r=i.filter("cityAddress",t,n.autoCompletePostCodes)[0];r.active&&(angular.isUndefined(r)||angular.isUndefined(r.countryName)||r.countryName==""||(n.address1.suburb=r.suburb,n.address1.stateName=r.stateName,n.address1.countryName=r.countryName,n.address1.city=r.city,n.address1.postCode=r.postCodeNumber,n.getAddress1DisplayLabel()));n.$apply()}},lt=function(n,t){if(n.address.addressId>0)var i=n.address.addressId;n.address={};angular.isUndefined(t.address1)||(n.address.addressId=i,n.address.countryName=t.address1.countryName,n.address.addressLineOne=t.address1.addressLineOne,n.address.addressLineTwo=t.address1.addressLineTwo,n.address.city=t.address1.city,n.address.suburb=t.address1.suburb,n.address.stateName=t.address1.stateName,n.address.postCode=t.address1.postCode);n.getAddressDisplayLabel()},at=function(n,t){if(n.address1.addressId>0)var i=n.address1.addressId;n.address1={};angular.isUndefined(t.address)||(n.address1.addressId=i,n.address1.countryName=t.address.countryName,n.address1.addressLineOne=t.address.addressLineOne,n.address1.addressLineTwo=t.address.addressLineTwo,n.address1.city=t.address.city,n.address1.suburb=t.address.suburb,n.address1.stateName=t.address.stateName,n.address1.postCode=t.address.postCode);n.getAddress1DisplayLabel()},vt=function(n,t,i,r,u){if(!angular.isUndefined(t)&&!angular.isUndefined(i)&&t!=""&&i!=null&&i!=""&&i!="01/01/0001"){var f=!0,s=u.getDayOfYear(t),h=u.getDayOfYear(i),e=u.getYear(t),o=u.getYear(i);return e>o?f=!1:e<o?f=!0:s>h&&(f=!1),f==!1&&r.show({dataCollection:[],titleText:"Information",contentText:"End date cannot be prior to start date.",cancelRequired:!1,callbacks:{ok:"okButtoonClicked"}},n),f}},yt=function(n,t,i,r,u){var f,e;angular.isUndefined(r)||r==""||r==0||r==null?n.defaultCountryLookupChanged(t,i,r):(f=u.find(n.officeLookupData,{regionId:parseInt(r)}),angular.isUndefined(t)||t==""||t==0||t==null||(e=u.find(f,{countryId:parseInt(t)}),f=e),angular.isUndefined(i)||i==""||i==0||i==null||(e=u.find(f,{brandId:parseInt(i)}),f=e),n.user.office=f)},pt=function(i,r,u,f,e,o){n.oDataCustomFieldsLookup.filter([{operator:"or",conditions:[{columnName:"FieldTypeId",operator:"=",value:359},{columnName:"FieldTypeId",operator:"=",value:362}]}]).get().then(function(s){var h=s;i.$apply();n.oDataCustomFieldMapping.filter({columnName:"PrimaryReferenceId",operator:"=",value:r}).get().then(function(n){angular.forEach(i.fields,function(t,r){var u=e.find(n,{customFieldId:t.customFieldId}),f,o;i.controlSourcesEdit[r]={};i.controlSourcesEdit[r].controlType=t.fieldTypeName.toLowerCase();i.controlSourcesEdit[r].label=t.fieldLabel;i.controlSourcesEdit[r].defaultValue=u.length>0?u[0].customFieldValue:undefined;i.controlSourcesEdit[r].customFieldId=t.customFieldId;i.controlSourcesEdit[r].customFieldMapId=u.length>0?u[0].customFieldMapId:0;i.controlSourcesEdit[r].maxLength=t.fieldLength;t.fieldTypeName=="Picklist"||t.fieldTypeName=="Radio"?(t.multipleValues&&(i.controlSourcesEdit[r].controlType="multiselect"),f=e.find(h,{customFieldId:t.customFieldId})[0],o=e.createJsonObjectArray(f.customFieldValueIds,f.customFieldValues,"customFieldId","customFieldValue",",",!0),i.controlSourcesEdit[r].source=t.fieldTypeName=="Picklist"?o.sort(function(n,t){return n.customFieldValue.toLowerCase().localeCompare(t.customFieldValue.toLowerCase())}):o,i.controlSourcesEdit[r].textColumn="customFieldValue",i.controlSourcesEdit[r].valueColumn="customFieldId",t.fieldTypeName=="Picklist"&&(i.controlSourcesEdit[r].textValue=u.length>0?u[0].customFieldValue:undefined)):t.fieldTypeName=="Date"&&(angular.isUndefined(i.controlSourcesEdit[r].defaultValue)||i.controlSourcesEdit[r].defaultValue=="")&&(i.controlSourcesEdit[r].defaultValue=null)});angular.isUndefined(i.controlSourcesEdit.resetControl)||i.controlSourcesEdit.resetControl();i.isFirstTimeValidation=!0;i.isTimeOut=!0;t.entityFlagChanged=undefined;u==undefined&&(o.save("pageControlSourcesEdit",i.controlSourcesEdit),f.setCustomFieldSource(i.controlSourcesEdit),i.quickAccess=f.getQuickAccess(i.quickAccess,i.controlSourcesEdit),i.applyQuickAccess());i.$apply()})})},wt=function(t,i,r,u){n.oDataClientCustomFields.filter([{operator:"and",conditions:[{columnName:"AvailableTypeId",operator:"=",value:i},{columnName:"Active",operator:"=",value:!0}]}]).orderBy({columnName:"DisplayOrder",order:" asc"}).get().then(function(i){t.visibleCustomField=i.length>0?!0:!1;t.fields=i;t.controlSources=[];n.oDataCustomFieldsLookup.filter([{operator:"or",conditions:[{columnName:"FieldTypeId",operator:"=",value:359},{columnName:"FieldTypeId",operator:"=",value:362}]}]).get().then(function(n){angular.forEach(t.fields,function(i,u){if(t.controlSources[u]={},t.controlSources[u].controlType=i.fieldTypeName.toLowerCase(),t.controlSources[u].label=i.fieldLabel,t.controlSources[u].defaultValue=i.isDefault,t.controlSources[u].customFieldId=i.customFieldId,t.controlSources[u].maxLength=i.fieldLength,i.fieldTypeName=="Picklist"||i.fieldTypeName=="Radio"){i.multipleValues&&(t.controlSources[u].controlType="multiselect");var f=r.find(n,{customFieldId:i.customFieldId})[0],e=r.createJsonObjectArray(f.customFieldValueIds,f.customFieldValues,"customFieldId","customFieldValue",",",!0);t.controlSources[u].source=i.fieldTypeName=="Picklist"?e.sort(function(n,t){return n.customFieldValue.toLowerCase().localeCompare(t.customFieldValue.toLowerCase())}):e;t.controlSources[u].textColumn="customFieldValue";t.controlSources[u].valueColumn="customFieldId"}});u.addCustomFieldIndex(t.controlSources);t.$apply()});t.$apply()})},bt=function(t,i,r){n.oDataClientCustomFields.filter([{operator:"and",conditions:[{columnName:"AvailableTypeId",operator:"=",value:i},{columnName:"Active",operator:"=",value:!0}]}]).orderBy({columnName:"DisplayOrder",order:" asc"}).get().then(function(i){if(i.length>0)for(var u=0;u<i.length;u++)if(i[u].active==!0){t.hideCustomTab=!1;break}t.fields=i;t.controlSources=[];n.oDataCustomFieldsLookup.filter([{operator:"or",conditions:[{columnName:"FieldTypeId",operator:"=",value:359},{columnName:"FieldTypeId",operator:"=",value:362}]}]).get().then(function(n){angular.forEach(t.fields,function(i,u){if(t.controlSources[u]={},t.controlSources[u].controlType=i.fieldTypeName.toLowerCase(),t.controlSources[u].label=i.fieldLabel,t.controlSources[u].customFieldId=i.customFieldId,t.controlSources[u].maxLength=i.fieldLength,i.fieldTypeName=="Picklist"||i.fieldTypeName=="Radio"){i.multipleValues&&(t.controlSources[u].controlType="multiselect");var f=r.find(n,{customFieldId:i.customFieldId})[0],e=r.createJsonObjectArray(f.customFieldValueIds,f.customFieldValues,"customFieldId","customFieldValue",",",!0);t.controlSources[u].source=i.fieldTypeName=="Picklist"?e.sort(function(n,t){return n.customFieldValue.toLowerCase().localeCompare(t.customFieldValue.toLowerCase())}):e;t.controlSources[u].textColumn="customFieldValue";t.controlSources[u].valueColumn="customFieldId"}});t.$apply()});t.$apply()})},kt=function(t,i,r){n.oDataClientCustomFields.filter([{operator:"and",conditions:[{columnName:"AvailableTypeId",operator:"=",value:i},{columnName:"Active",operator:"=",value:!0}]}]).orderBy({columnName:"DisplayOrder",order:" asc"}).get().then(function(i){if(i.length>0)for(var u=0;u<i.length;u++)if(i[u].active==!0){t.hideCustomTab=!1;break}t.fields=i;t.controlSources=[];n.oDataCustomFieldsLookup.filter([{operator:"or",conditions:[{columnName:"FieldTypeId",operator:"=",value:359},{columnName:"FieldTypeId",operator:"=",value:362}]}]).get().then(function(n){angular.forEach(t.fields,function(i,u){if(t.controlSources[u]={},t.controlSources[u].controlType=i.fieldTypeName.toLowerCase(),t.controlSources[u].label=i.fieldLabel,t.controlSources[u].customFieldId=i.customFieldId,t.controlSources[u].maxLength=i.fieldLength,i.fieldTypeName=="Picklist"||i.fieldTypeName=="Radio"){i.multipleValues&&(t.controlSources[u].controlType="multiselect");var f=r.find(n,{customFieldId:i.customFieldId})[0],e=r.createJsonObjectArray(f.customFieldValueIds,f.customFieldValues,"customFieldId","customFieldValue",",",!0);t.controlSources[u].source=i.fieldTypeName=="Picklist"?e.sort(function(n,t){return n.customFieldValue.toLowerCase().localeCompare(t.customFieldValue.toLowerCase())}):e;t.controlSources[u].textColumn="customFieldValue";t.controlSources[u].valueColumn="customFieldId"}});t.$apply()})})},dt=function(n,t,i,r,u){var e=[],o,s,h,f;if(angular.isUndefined(t)||t==""||t=="0"||t.indexOf(",0")!=-1||t.indexOf("0,")!=-1){if(!angular.isUndefined(n.defaultOffice.resetTagSource)){n.defaultOffice.resetTagSource(n.officeData);n.brandByOffice(n.officeData);return}}else o=t.split(","),e=[{officeId:0,officeName:"Any"}],angular.forEach(o,function(t){e=e.concat(u.find(n.officeData,{countryId:parseInt(t)}))}),angular.isUndefined(i)||i==""||i=="0"||i.indexOf(",0")!=-1||i.indexOf("0,")!=-1||(s=i.split(","),f=[],angular.forEach(s,function(n){f=f.concat(u.find(e,{brandId:parseInt(n)}))}),f.sort(function(n,t){return n.officeName.toLowerCase().localeCompare(t.officeName.toLowerCase())}),f.unshift({officeId:0,officeName:"Any"}),e=f),angular.isUndefined(r)||r==""||r=="0"||r.indexOf(",0")!=-1||r.indexOf("0,")!=-1||(h=r.split(","),f=[],angular.forEach(h,function(n){f=f.concat(u.find(e,{regionId:parseInt(n)}))}),f.sort(function(n,t){return n.officeName.toLowerCase().localeCompare(t.officeName.toLowerCase())}),f.unshift({officeId:0,officeName:"Any"}),e=f);e.length>0&&(angular.isUndefined(n.defaultOffice.resetTagSource)?n.defaultOffice=e:n.defaultOffice.resetTagSource(e),n.brandByOffice(e))},gt=function(n,t,i,r,u){var o,f,s,e;angular.isUndefined(t)||t==""||t=="0"||t.indexOf(",0")!=-1||t.indexOf("0,")!=-1?(angular.isUndefined(i)||i==""||i=="0"||i.indexOf(",0")!=-1||i.indexOf("0,")!=-1?(angular.isUndefined(n.defaultOffice.resetTagSource)||n.defaultOffice.resetTagSource(n.officeData),n.brandByOffice(n.officeData)):(s=i.split(","),e=[{officeId:0,officeName:"Any"}],angular.forEach(s,function(t){e=e.concat(u.find(n.officeData,{brandId:parseInt(t)}))}),officeList=e,n.defaultOffice.resetTagSource(officeList),n.brandByOffice(officeList)),angular.isUndefined(n.defaultRegion.resetTagSource)||n.defaultRegion.resetTagSource(n.regionData)):(o=t.split(","),o.length>0&&(f=[],angular.forEach(o,function(t){f=f.concat(u.find(n.regionData,{countryId:parseInt(t)}))}),f.sort(function(n,t){return n.regionName.toLowerCase().localeCompare(t.regionName.toLowerCase())}),f.unshift({regionId:0,regionName:"Any"}),f.length>0&&(angular.isUndefined(n.defaultRegion.resetTagSource)?n.defaultRegion=f:n.defaultRegion.resetTagSource(f)),n.officeLookupChanged(t,i,r)))},ni=function(n,t){var i,r;if(t=="1"||t=="3"||t=="5"||t=="7"||t=="8"||t=="10"||t=="12")for(i=1,n.daysSource=[],r=0;r<31;r++)n.daysSource.push({periodStartDay:parseInt(i),periodStartDayName:String(i)}),i+=1;else if(t=="2"){for(i=1,n.daysSource=[],r=0;r<29;r++)n.daysSource.push({periodStartDay:parseInt(i),periodStartDayName:String(i)}),i+=1;n.dobDay>29&&(n.dobDay="")}else if(t=="4"||t=="6"||t=="9"||t=="11"){for(i=1,n.daysSource=[],r=0;r<30;r++)n.daysSource.push({periodStartDay:parseInt(i),periodStartDayName:String(i)}),i+=1;n.dobDay>30&&(n.dobDay="")}else for(i=1,n.daysSource=[],r=0;r<31;r++)n.daysSource.push({periodStartDay:parseInt(i),periodStartDayName:String(i)}),i+=1},ti=function(n,t,i,r,u){var o,e,s,h,f;angular.isUndefined(r)||r==""||r=="0"||r.indexOf(",0")!=-1||r.indexOf("0,")!=-1?n.officeLookupChanged(t,i,r):(o=r.split(","),o.length>0&&(e=[{officeId:0,officeName:"Any"}],angular.forEach(o,function(t){e=e.concat(u.find(n.officeData,{regionId:parseInt(t)}))}),angular.isUndefined(t)||t==""||t=="0"||t.indexOf(",0")!=-1||t.indexOf("0,")!=-1||(s=t.split(","),f=[],angular.forEach(s,function(n){f=f.concat(u.find(e,{countryId:parseInt(n)}))}),f.sort(function(n,t){return n.officeName.toLowerCase().localeCompare(t.officeName.toLowerCase())}),f.unshift({officeId:0,officeName:"Any"}),e=f),angular.isUndefined(i)||i==""||i=="0"||i.indexOf(",0")!=-1||i.indexOf("0,")!=-1||(h=i.split(","),f=[],angular.forEach(h,function(n){f=f.concat(u.find(e,{brandId:parseInt(n)}))}),f.sort(function(n,t){return n.officeName.toLowerCase().localeCompare(t.officeName.toLowerCase())}),f.unshift({officeId:0,officeName:"Any"}),e=f),n.defaultOffice.resetTagSource(e)))},ii=function(n,t,i,r,u,f){return i.commentTypeId==parseInt(t.commentType.client)&&(r=parseInt(t.commentType.client),u=parseInt(t.types.organization),n.isContact=!1,n.btnCreateActivity=!1),i.commentTypeId==parseInt(t.commentType.costCenter)&&(r=parseInt(t.commentType.costCenter),u=parseInt(t.types.organization),n.isContact=!1),i.commentTypeId==parseInt(t.commentType.jobOrder)&&(r=parseInt(t.commentType.jobOrder),u=parseInt(t.types.jobOrder),n.isContact=!1,n.btnCreateActivity=!1),i.commentTypeId==parseInt(t.commentType.clientContact)&&(r=parseInt(t.commentType.client),u=parseInt(t.types.organization),angular.isUndefined(f)||f==null||n.getLogoImage(f.entityId,f.entityName),n.isContact=!1),i.commentTypeId==parseInt(t.commentType.candidate)&&(r=parseInt(t.commentType.candidate),u=parseInt(t.types.candidate),n.isContact=!0,n.btnCreateActivity=!1),n.isFromSearchScreen=!0,n.entityReferenceNumber=i.entityReferenceNumber,{recordTypeId:u,commentTypeId:r}},ri=function(n,t,i,r,u){var o,e,s,h,f;angular.isUndefined(t)||t==""||t=="0"||t.indexOf(",0")!=-1||t.indexOf("0,")!=-1||(o=t.split(","),e=[{officeId:0,officeName:"Any"}],angular.forEach(o,function(t){e=e.concat(u.find(n.officeData,{countryId:parseInt(t)}))}),angular.isUndefined(i)||i==""||i=="0"||i.indexOf(",0")!=-1||i.indexOf("0,")!=-1||(s=i.split(","),f=[],angular.forEach(s,function(n){f=f.concat(u.find(e,{brandId:parseInt(n)}))}),f.sort(function(n,t){return n.officeName.toLowerCase().localeCompare(t.officeName.toLowerCase())}),f.unshift({officeId:0,officeName:"Any"}),e=f),angular.isUndefined(r)||r==""||r=="0"||r.indexOf(",0")!=-1||r.indexOf("0,")!=-1||(h=r.split(","),f=[{officeId:0,officeName:"Any"}],angular.forEach(h,function(n){f=f.concat(u.find(e,{regionId:parseInt(n)}))}),e=f),angular.isFunction(n.defaultRegion.resetTagSource)&&n.defaultRegion.resetTagSource(n.defaultRegion),e.length>0&&n.defaultOffice.resetTagSource(e))},ui=function(n,t,i,r,u){var f=[],o,s,e;if(angular.isUndefined(t)||t==""||t=="0"||t.indexOf(",0")!=-1||t.indexOf("0,")!=-1){if(!angular.isUndefined(n.defaultOffice.resetTagSource)){n.defaultOffice.resetTagSource(n.officeData);n.brandByOffice(n.officeData);return}}else o=t.split(","),f=[{officeId:0,officeName:"Any"}],angular.forEach(o,function(t){f=f.concat(u.find(n.officeData,{countryId:parseInt(t)}))}),angular.isUndefined(r)||r==""||r=="0"||r.indexOf(",0")!=-1||r.indexOf("0,")!=-1||(s=r.split(","),e=[],angular.forEach(s,function(n){e=e.concat(u.find(f,{regionId:parseInt(n)}))}),e.sort(function(n,t){return n.officeName.toLowerCase().localeCompare(t.officeName.toLowerCase())}),e.unshift({officeId:0,officeName:"Any"}),f=e);f.length>0&&(angular.isUndefined(n.defaultOffice.resetTagSource)?n.defaultOffice=f:n.defaultOffice.resetTagSource(f),n.brandByOffice(f))},fi=function(n,t,i,r,u){var e,f;angular.isUndefined(t)||t==""||t=="0"||t.indexOf(",0")!=-1||t.indexOf("0,")!=-1?(angular.isUndefined(i)||i==""||i=="0"||i.indexOf(",0")!=-1||i.indexOf("0,")!=-1?(angular.isUndefined(n.defaultOffice.resetTagSource)||n.defaultOffice.resetTagSource(n.officeData),n.brandByOffice(n.officeData)):(n.defaultOffice.resetTagSource(officeList),n.brandByOffice(officeList)),angular.isUndefined(n.defaultRegion.resetTagSource)||n.defaultRegion.resetTagSource(n.regionData)):(e=t.split(","),e.length>0&&(f=[],angular.forEach(e,function(t){f=f.concat(u.find(n.regionData,{countryId:parseInt(t)}))}),f.sort(function(n,t){return n.regionName.toLowerCase().localeCompare(t.regionName.toLowerCase())}),f.unshift({regionId:0,regionName:"Any"}),f.length>0&&(angular.isUndefined(n.defaultRegion.resetTagSource)?n.defaultRegion=f:n.defaultRegion.resetTagSource(f)),n.officeLookupChanged(t,i,r)))},ei=function(t,i){if(angular.isUndefined(t.address))t.setDefaultValue("addressLabel","address");else if(angular.isUndefined(t.address.countryName)||t.address.countryName=="")t.setDefaultValue("addressLabel","address");else{var r={countryName:t.address.countryName};n.postAddressInfo.post(r).then(function(n){angular.isUndefined(n.states)||n.states==null?t.isStateBind=!0:(t.mainState=n.states,t.isStateBind=!1);!angular.isUndefined(n.countries)&&n.countries.length>0?(t.addressLabel=n.countries[0],i.corporateIdentityNumberLabel=n.countries[0].corporateIdentityNumberLabel,i.corporateIdentityNumberFormat=n.countries[0].corporateIdentityNumberFormat):(t.setDefaultValue("addressLabel","address"),i.corporateIdentityNumberLabel="Company No.",i.corporateIdentityNumberFormat="####");t.$apply()})}},oi=function(n,t,i,r,u){var o,e,s,h,f;angular.isUndefined(r)||r==""||r=="0"||r.indexOf(",0")!=-1||r.indexOf("0,")!=-1?n.officeLookupChanged(t,i,r):(o=r.split(","),o.length>0&&(e=[{officeId:0,officeName:"Any"}],angular.forEach(o,function(t){e=e.concat(u.find(n.officeData,{regionId:parseInt(t)}))}),angular.isUndefined(t)||t==""||t=="0"||t.indexOf(",0")!=-1||t.indexOf("0,")!=-1||(s=t.split(","),f=[],angular.forEach(s,function(n){f=f.concat(u.find(e,{countryId:parseInt(n)}))}),f.sort(function(n,t){return n.officeName.toLowerCase().localeCompare(t.officeName.toLowerCase())}),f.unshift({officeId:0,officeName:"Any"}),e=f),angular.isUndefined(i)||i==""||i=="0"||i.indexOf(",0")!=-1||i.indexOf("0,")!=-1||(h=i.split(","),f=[],angular.forEach(h,function(n){f=f.concat(u.find(e,{brandId:parseInt(n)}))}),f.sort(function(n,t){return n.officeName.toLowerCase().localeCompare(t.officeName.toLowerCase())}),f.unshift({officeId:0,officeName:"Any"}),e=f),n.defaultOffice.resetTagSource(e)))},si=function(n,t,i,r,u){var o,f,s,e;angular.isUndefined(t)||t==""||t=="0"||t.indexOf(",0")!=-1||t.indexOf("0,")!=-1||(o=t.split(","),f=[{officeId:0,officeName:"Any"}],angular.forEach(o,function(t){f=f.concat(u.find(n.officeData,{countryId:parseInt(t)}))}),angular.isUndefined(r)||r==""||r=="0"||r.indexOf(",0")!=-1||r.indexOf("0,")!=-1||(s=r.split(","),e=[],angular.forEach(s,function(n){e=e.concat(u.find(f,{regionId:parseInt(n)}))}),e.sort(function(n,t){return n.officeName.toLowerCase().localeCompare(t.officeName.toLowerCase())}),e.unshift({officeId:0,officeName:"Any"}),f=e),angular.isFunction(n.defaultRegion.resetTagSource)&&n.defaultRegion.resetTagSource(n.defaultRegion),f.length>0&&(n.defaultOffice.resetTagSource(f),n.brandByOffice(f)))},hi=function(t){t.getAddressDisplayLabel=function(){t.registerContact.clientContactDetails[0].address.countryId!=""&&t.registerContact.clientContactDetails[0].address.countryId!=null?(n.oDataStateName.newQuery().filter({columnName:"CountryId",operator:"=",value:parseInt(t.registerContact.clientContactDetails[0].address.countryId)}).get().then(function(n){n!=null&&(t.state=n,t.$apply())}),n.oDataCountryLabelMasters.newQuery().filter({columnName:"CountryId",operator:"=",value:parseInt(t.registerContact.clientContactDetails[0].address.countryId)}).get().then(function(n){n!=null&&(t.addressLabel=n[0],angular.isUndefined(t.addressLabel)&&(t.addressLabel={address1Label:"Address Line1 ",address2Label:"Address Line2 ",cityLabel:"City ",suburbLabel:"Suburb ",stateLabel:"State ",postCodeLabel:"Postcode ",displayAddress1:!0,displayAddress2:!0,displayCity:!0,displaySuburb:!0,displayState:!0,displayPostCode:!0}));t.$apply()})):t.addressLabel={address1Label:"Address Line1 ",address2Label:"Address Line2 ",cityLabel:"City ",suburbLabel:"Suburb ",stateLabel:"State ",postCodeLabel:"Postcode ",displayAddress1:!0,displayAddress2:!0,displayCity:!0,displaySuburb:!0,displayState:!0,displayPostCode:!0}}},ci=function(t,r,u,f,e,o){r.entityId==0&&(r.entityId=f.activeGrid=="commentsSearchGrid"?f.commentsSearchGrid.row.commentId:f.activeGrid=="jobCommentGrid"?f.jobCommentGrid.row.commentId:f.commentGrid.row.commentId);n.postEntityCheck.post(r).then(function(n){if(u==undefined)if(n==!0){if(t.btnEdit==!0){t.removeReadOnly();(f.activeGrid=="commentGrid"||f.activeGrid=="commentsSearchGrid")&&i.broadcast("commentEdit");(f.activeGrid=="jobCommentGrid"||f.activeGrid=="commentsSearchGrid")&&i.broadcast("jobCommentEdit");return}f[f.activeGrid].source.routeChanges(n);t.$apply()}else typeof n=="string"?e.show({dataCollection:[],titleText:"Confirmation",contentText:"This record has been updated by some other user. In order to edit this record, data needs to be reloaded on this screen. Would you like to reload this record ?",cancelRequired:undefined,callbacks:{ok:"pageReload",cancel:"cancelEntityClicked"}},t):u==undefined&&e.show({dataCollection:[],titleText:"Record Locked",contentText:o.message.recordLocked,cancelRequired:!1,callbacks:{ok:"ok"}},t);t.$apply()})},li=function(t){if(angular.isUndefined(t.address1))t.setDefaultValue("addressLabel1","address1");else if(angular.isUndefined(t.address1.countryName)||t.address1.countryName=="")t.setDefaultValue("addressLabel1","address1");else{t.countryChanged!=undefined&&t.countryChanged==!0&&(t.address1.stateName="");var i={countryName:t.address1.countryName};n.postAddressInfo.post(i).then(function(n){angular.isUndefined(n.states)||n.states==null?t.isStateBind=!0:(t.mailingState=n.states,t.isStateBind=!1);!angular.isUndefined(n.countries)&&n.countries.length>0?(t.addressLabel1=n.countries[0],u.countryChanged=n.countries[0],r.broadcast(u.countryChanged,"countryChanged")):(u.countryChanged=!1,r.broadcast(u.countryChanged,"countryChanged"),t.setDefaultValue("addressLabel1","address1"));t.$apply()})}},ai=function(n,t,r){t[t.activeGrid].event=="edit"?(n.title="Edit ",n.btnEdit=!1,n.btnSave=!0,n.btnDelete=!1,n.btnCreateActivity=!1,r.flag=!0,t.activeGrid=="commentGrid"||t.activeGrid=="commentsSearchGrid"?i.broadcast("commentEdit"):(t.activeGrid=="jobCommentGrid"||t.activeGrid=="commentsSearchGrid")&&i.broadcast("jobCommentEdit")):t[t.activeGrid].event=="view"?(n.title="View ",n.btnCreateActivity=!0,n.btnEdit=!0,n.btnSave=!1,n.btnDelete=!1,r.flag=!1):t[t.activeGrid].event=="delete"&&(n.title="Delete ",n.btnEdit=!1,n.btnSave=!1,n.btnDelete=!0,r.flag=!1,n.btnCreateActivity=!0)},vi=function(n,t,i,r){t.save("commentTypeName",i[i.activeGrid].row.commentTypeName);i[i.activeGrid].row.commentTypeName=="Client"?(t.save("clientId",i[i.activeGrid].row.referencePrimaryId),i[i.activeGrid].source.showPopup("","Templates/Activity/addActivity.html")):i[i.activeGrid].row.commentTypeName=="Cost Centre"?r.show({dataCollection:[],titleText:"Information",contentText:"You can not create activity of Cost Centre",cancelRequired:undefined,callbacks:{ok:"ok",cancel:"cancel"}},n):i[i.activeGrid].row.commentTypeName=="Job Order"?(t.save("jobOrderId",i[i.activeGrid].row.referencePrimaryId),i[i.activeGrid].source.showPopup("","Templates/Activity/addActivity.html")):i[i.activeGrid].row.commentTypeName=="Candidate"?(t.save("candidateId",i[i.activeGrid].row.referencePrimaryId),i[i.activeGrid].source.showPopup("","Templates/Activity/addActivity.html")):i[i.activeGrid].row.commentTypeName=="Client Contact"&&r.show({dataCollection:[],titleText:"Information",contentText:"You can not create activity of Client Contact",cancelRequired:undefined,callbacks:{ok:"ok",cancel:"cancel"}},n)},yi=function(n,t,i,r,u){var f=[],e;angular.isUndefined(t)||t==""||t==0||t==null?(n.user.office=n.officeLookupData,n.user.region=n.regionLookupData):(f=u.find(n.officeLookupData,{countryId:parseInt(t)}),angular.isUndefined(i)||i==""||i==0||i==null||(e=u.find(f,{brandId:parseInt(i)}),f=e),angular.isUndefined(r)||r==""||r==0||r==null||(e=u.find(f,{regionId:parseInt(r)}),f=e),n.user.office=f,n.user.region=u.find(n.regionLookupData,{countryId:parseInt(t)}))},pi=function(n,t,r){r[r.activeGrid].event=="edit"?(r.activeGrid=="sourceCodesGrid"?i.broadcast("sourceCodeUpdate"):r.activeGrid=="workTypesGrid"?i.broadcast("formEditWorkType"):r.activeGrid=="standardDescGrid"?i.broadcast("standardDescUpdate"):r.activeGrid=="reasonGrid"?i.broadcast("reasonUpdate"):r.activeGrid=="postCodesGrid"?i.broadcast("postCodesUpdate"):r.activeGrid=="mailCodeGrid"?i.broadcast("mailCodeUpdate"):r.activeGrid=="workReferenceGrid"?i.broadcast("workReferenceUpdate"):r.activeGrid=="industriesGrid"?i.broadcast("industryUpdate"):r.activeGrid=="customExitPointsGrid"?i.broadcast("customExitPointsUpdate"):r.activeGrid=="brandGrid"?i.broadcast("brandUpdate"):r.activeGrid=="regionGrid"?i.broadcast("regionUpdate"):r.activeGrid=="stateGrid"?i.broadcast("stateUpdate"):r.activeGrid=="keywordsGrid"?i.broadcast("formEditKeyword"):r.activeGrid=="timeAndAttendanceNotificationsGrid"&&i.broadcast("notificationEdit"),n.title="Edit ",n.btnEdit=!1,n.btnSave=!0,n.btnDelete=!1,t.flag=!0):r[r.activeGrid].event=="view"?(n.title="View ",n.btnEdit=!0,n.btnSave=!1,n.btnDelete=!1,t.flag=!1):r[r.activeGrid].event=="delete"&&(n.title="Delete ",n.btnEdit=!1,n.btnSave=!1,n.btnDelete=!0,t.flag=!1)},wi=function(r,u,f,e,o,s,h){u.entityId!=undefined&&(h=="Job Post"?(u.entityId=2,u.entityType="jobAdvertisings"):h=="General Settings"&&(u.entityId=3,u.entityType="generalSettings"),u.isView=!1,u.serverTime=t.currentPageTime);n.postEntityCheck.post(u).then(function(n){f==undefined&&(n==!0?r.btnEdit==!0?(h=="General Settings"?i.broadcast("frmGlobalSettings"):i.broadcast("jobPostUpdate"),r.removeReadOnly()):o[o.activeGrid].source.routeChanges(n):typeof n=="string"?e.show({dataCollection:[],titleText:"Confirmation",contentText:"This record has been updated by some other user. In order to edit this record, data needs to be reloaded on this screen. Would you like to reload this record ?",cancelRequired:undefined,callbacks:{ok:"pageReload",cancel:"cancelEntityClicked"}},r):f==undefined&&e.show({dataCollection:[],titleText:"Record Locked",contentText:s.message.recordLocked,cancelRequired:!1,callbacks:{ok:"ok"}},r));r.$apply()})},bi=function(n,t,r,u,f,e,o,s,h){u==undefined&&(t==!0?e==!0?n.deleteCheckingRecordLockContact():angular.isUndefined(o.callFunction)?o.isWindowOpen?window.open(o.url.replace("#","")):f.redirect(o.url.replace("#","")):(i.broadcast("frmEditContacts"),n.editContact()):typeof t=="string"?r.show({dataCollection:[],titleText:"Confirmation",contentText:"This record has been updated by some other user. In order to edit this record, data needs to be reloaded on this screen. Would you like to reload this record ?",cancelRequired:undefined,callbacks:{ok:"pageReload",cancel:"cancelEntityClicked"}},n):u==undefined&&r.show({dataCollection:[],titleText:"Record Locked",contentText:h.message.recordLocked,cancelRequired:!1,callbacks:{ok:"ok"}},n),n.$apply())},ki=function(n,t){var r,i;if(!angular.isUndefined(n.quickAccess)){for(n.quickAccessLinks=[1,2,3,4,5],angular.isUndefined(t)||(n.quickAccess=t.quickAccess),n.customExitPointsName.length>0&&n.quickAccess.push({itemName:"Custom Exit",iconClass:"icon-external-link bigger-140 icon-green",animation:"",dropdown:"dropdown",showDropdown:!0}),n.colOne=[],i=0;i<n.quickAccess.length;i++)angular.isUndefined(n.quickAccess[i].itemName)||n.colOne.push(n.quickAccess[i]);if(n.colOne.length!=15)for(r=15-n.colOne.length,i=0;i<r;i++)n.colOne.push({itemName:"",iconClass:"",animation:""})}},di=function(n,t,i,r,u){return t!=r.types.organization?u=[{operator:"and",conditions:[{columnName:"Active",operator:"=",value:!0},{columnName:"RecordTypeId",operator:"=",value:t}]}]:i==r.commentType.client?u=[{operator:"and",conditions:[{columnName:"Active",operator:"=",value:!0},{columnName:"RecordTypeId",operator:"=",value:t},{columnName:"IsClient",operator:"=",value:!0}]}]:i==r.commentType.costCenter?u=[{operator:"and",conditions:[{columnName:"Active",operator:"=",value:!0},{columnName:"RecordTypeId",operator:"=",value:t},{columnName:"IsCostCentre",operator:"=",value:!0}]}]:i==r.commentType.clientContact&&(u=[{operator:"and",conditions:[{columnName:"Active",operator:"=",value:!0},{columnName:"RecordTypeId",operator:"=",value:t},{columnName:"IsContact",operator:"=",value:!0}]}]),u},gi=function(n,t,i,r){if(i=="gridName"){var u=n.colOne[t][i],f="";return angular.isUndefined(u)||u==null||u==""||(angular.isUndefined(r[u])?f="":(f=n.getGridRecordCount(u),f="("+f+")")),f}return i=="dropdown"?angular.isUndefined(n.colOne[t][i])?"":n.colOne[t][i]:i=="showDropdown"?angular.isUndefined(n.colOne[t][i])?!0:!1:n.colOne[t][i]},nr=function(n,t,i,r,u){var f;for(n.positionSource=[],f=0;f<t[t.activeTree].checkedSource.length;f++)angular.forEach(t[t.activeTree].checkedSource[f].parentObjects,function(t){t.isSelected==!0&&n.positionSource.push({title:t.title,isSelected:t.isSelected})});n.positionSource.length>1?i.show({dataCollection:[],titleText:"Confirmation",contentText:"Select only one position",cancelRequired:!1,callbacks:{ok:"okClicked",cancel:"cancelClicked"}},n):(r.positionValue=n.positionSource[0].title,n.$apply(),r.positionValueSelected=!0,u[u.activeGrid].source.hideSubPopup())},tr=function(n,t,i,r,u,f,e,o){var h=t.fetch("parentFormId"),s={};return angular.isUndefined(h)||h==""?angular.isUndefined(n.commentDetail)||n.commentDetail.clientContactId!=parseInt(n.commentDetail.entityReferenceNumber)?angular.isUndefined(n.commentDetail)||n.commentDetail.commentTypeName!="Cost Centre"||n.commentDetail.referencePrimaryId!=parseInt(n.commentDetail.entityReferenceNumber)?angular.isUndefined(n.commentDetail)||n.commentDetail.commentTypeName!="Client"||n.commentDetail.clientId!=parseInt(n.commentDetail.entityReferenceNumber)?angular.isUndefined(n.commentDetail)||n.commentDetail.commentTypeName!="Candidate"||n.commentDetail.referencePrimaryId!=parseInt(n.commentDetail.entityReferenceNumber)?angular.isUndefined(n.activityDetail)||n.activityDetail.taskTypeId!=174||n.activityDetail.referencePrimaryId!=parseInt(n.activityDetail.entityReferenceNumber)?angular.isUndefined(n.activityDetail)||n.activityDetail.taskTypeId!=175||n.activityDetail.referencePrimaryId!=parseInt(n.activityDetail.entityReferenceNumber)?u==parseInt(r.types.client)?(s.entityName="Client",s.entityId=f):u==parseInt(r.types.costCenter)?(s.entityName="CostCentre",s.entityId=e):u==parseInt(r.types.candidate)&&(s.entityName="Candidate",s.entityId=o):(s.entityName="Candidate",s.entityId=n.activityDetail.referencePrimaryId):(s.entityName="Client",s.entityId=n.activityDetail.referencePrimaryId):(s.entityName="Candidate",s.entityId=n.commentDetail.referencePrimaryId):(s.entityName="Client",s.entityId=n.commentDetail.clientId):(s.entityName="CostCentre",s.entityId=parseInt(n.commentDetail.entityReferenceNumber)):(s.entityName="Contact",s.entityId=n.commentDetail.clientContactId):angular.isUndefined(n.commentDetail)||n.commentDetail.commentTypeName!="Client"||n.commentDetail.clientId!=parseInt(n.commentDetail.entityReferenceNumber)?angular.isUndefined(n.commentDetail)||n.commentDetail.commentTypeName!="Cost Centre"||n.commentDetail.referencePrimaryId!=parseInt(n.commentDetail.entityReferenceNumber)?angular.isUndefined(n.commentDetail)||n.commentDetail.commentTypeName!="Client Contact"&&n.commentDetail.commentTypeName!="Job Order"||n.commentDetail.referencePrimaryId!=parseInt(n.commentDetail.entityReferenceNumber)?angular.isUndefined(n.activityDetail)||n.activityDetail.taskTypeId!=174||n.activityDetail.referencePrimaryId!=parseInt(n.activityDetail.entityReferenceNumber)?(s.entityName="Contact",s.entityId=parseInt(i.queryString("clientContactId"))):(s.entityName="Client",s.entityId=n.activityDetail.referencePrimaryId):(s.entityName="Contact",s.entityId=n.commentDetail.referencePrimaryId):(s.entityName="CostCentre",s.entityId=parseInt(n.commentDetail.entityReferenceNumber)):(s.entityName="Client",s.entityId=n.commentDetail.clientId),s},ir=function(n,t){var r=[],u,i;for(angular.forEach(t.skillTypeTree,function(n){n.positionSkillType==!0&&r.push(n)}),u=[],angular.forEach(t.skillKeywordTree,function(n){n.positionSkillType==!0&&u.push(n)}),i=0;i<r.length;i++)t.workReferenceSkillGroupTree.push(r[i]);t.workReferenceSkillGroupTree.push({objectId:1e5,parentObjectId:0,title:"Skill Group"});n.workReferenceTree=t.workReferenceSkillGroupTree;n.workReferenceTreeOption={treeMaster:{treeName:"workReferenceTree",rootObjectEvent:"",parentObjectEvent:"",childObjectEvent:"",rootPopupCss:"",rootPopupTemplatePath:"",parentPopupCss:"",parentPopupTemplatePath:"",editParentPopupTemplatePath:"",childPopupCss:"",childPopupTemplatePath:"",childAddPopupTemplatePath:"",inactiveMessage:"",fourthLevel:u}};n.$apply()},rr=function(n,t){if(!angular.isUndefined(t)&&t.length>0){n.optFlagDisplay=!0;var i=t[0].optIn;n.optOutDateTimeLocal=t[0].createdDateTimeLocal;n.optUserName=t[0].userName;i==!0?(n.lblOptHistoryDetail="Opt In Details :",n.lblOptHistoryDate="Opt In Date :",n.lblOptHistoryTime="Opt In Time :"):(n.lblOptHistoryDetail="Opt Out Details :",n.lblOptHistoryDate="Opt Out Date :",n.lblOptHistoryTime="Opt Out Time :");n.$apply()}else n.optFlagDisplay=!1,n.$apply()},ur=function(n,t){for(x in globalDirtyCheck["base"+t])if(globalDirtyCheck["base"+t][x]!=undefined)return!1;!0&&(globalDirtyCheck["base"+t]={})},fr=function(n,t,i){var r="",u;return i!=""&&(u=i.split(","),angular.forEach(u,function(i){var u;i!="0"&&(r==""?(u=t.find(n.positionLookupData,{skillKeywordId:parseInt(i)})[0],u!=null&&(r+=u.skillKeywordName)):(u=t.find(n.positionLookupData,{skillKeywordId:parseInt(i)})[0],u!=null&&(r+="LCEs#IyQ"+u.skillKeywordName)))})),r},er=function(n,t,i){t.save("currentUrl",i.rawUrl());n.redirect(rxEncoder.encode("refresh"))},or=function(n){var i="",t;if(!angular.isUndefined(n)&&n!=null)for(t=0;t<n.length;t++)i+=n[t].customFieldId+"~"+n[t].customFieldValue,n[t].customFieldValueFromDate!=null&&(i+="^"+n[t].customFieldValueFromDate),i+="LCEs!IyQ";return i};checkSMSAccounExternalReference=function(t,i,r,u,f,e,o){var s={entityType:u,entityId:f};n.postCheckSMSExternalRef.post(s).then(function(n){if(n){var u=e.fetch("popupName");angular.isUndefined(u)||u!="jobReferralEdit"?i.showPopup("Templates/Email/Sms.html",""):o.referralStageHistoryGrid.source.showPopup("","Templates/Email/Sms.html");t.$apply()}else r.show({dataCollection:[],titleText:"Warning",contentText:"SMS Account must be setup in country settings.",cancelRequired:!1,callbacks:{ok:"OK"}},t)})};checkJoborderClosed=function(n){return!angular.isUndefined(n.isJobOrderStatusClosed)&&n.isJobOrderStatusClosed?"btn btn-primary disabled":"btn btn-primary"};removeScopeObjects=function(n){for(var t in n)t.indexOf("$")==-1&&(n[t]=null);n.$$watchers=null;n=null};getSetLookupDataValue=function(n,t,i,r,u,f){var o=t.fetch("cachedGlobalLookupValues",!0),s=[],h={};angular.isUndefined(o)||(angular.forEach(r.lookupCollections,function(n){angular.forEach(n,function(n){var t=i.find(e.lookupValue.lookupUnCacheData,{lookup:n.toLowerCase()});angular.isUndefined(o[i.camelCase(n)])||o[i.camelCase(n)]==null||t.length>0?s.push({lookup:n}):h[i.camelCase(n)]=o[i.camelCase(n)]})}),r.lookupCollections=s);r.lookupCollections.length>0?(console.log("lookupCollectionData length :: "+r.lookupCollections.length),n.lookup.postLookups.post(r).then(function(n){var r=t.fetch("cachedGlobalLookupValues",!0),o=t.fetch("cachedGlobalLookupValues",!0);angular.isUndefined(r)&&(r={});angular.isUndefined(o)&&(o={});angular.forEach(n,function(t,u){var f=i.find(e.lookupValue.lookupUnCacheData,{lookup:u.toLowerCase()});f.length>0?r[u]=n[u]:angular.isUndefined(n[u])||n[u]==null||(o[u]=n[u],r[u]=n[u])});t.save("cachedGlobalLookupValues",o,!0);u[f](r)})):(console.log("callback Name :: "+f),u[f](h))};openMergeTag=function(n,t,i,r){n.showMergeTag=!0;n.moreInfo=!1;n.paybillStandalone=t.webConfiguration.standAlone;i.lookup.oDataEmailMergeField.newQuery().queryFilter([{valueType:"text",operatorType:"operator",conditionalOperator:"and",columns:[{columnName:"entityTypeId",operator:"="},{columnName:"mergeFieldId",operator:"="},]}],n.searchData,!0).page(1).records(10).post().then(function(t){var i=[];angular.forEach(t,function(t){(t.foOnly==n.paybillStandalone||t.foOnly==null)&&i.push(t)});angular.isFunction(n.emailMergeFieldGrid.resetGrid)&&n.emailMergeFieldGrid.resetGrid(i);n.emailMergeFieldGrid=i;n.emailMergeFieldGridOption=r.option.emailMergeFieldGrid;n.$apply()})};selectMergeField=function(n,t,i,r){(!n.moreInfo||r)&&(angular.isUndefined(n.smsDetail)?angular.isUndefined(n.notificationDetail)?n.currentTextBox=="subject"?s("subject","emailDetail","subject",i,n):(t.execCommand("mceInsertContent",!1,i.mergeTag),n.$apply()):s("textarea","notificationDetail","body",i,n):s("textarea","smsDetail",r?"body":"message",i,n))};var s=function(n,t,i,r,u){var f=document.getElementById(n),e=f.selectionStart,o=f.value,s=r.mergeTag;f.value=o.substring(0,e)+s+o.substring(e);u[t][i]=f.value;u.$apply();f.selectionStart=e+r.mergeTag.length},h=function(n,t,i){var u,f,r,e;t.exportDataToFile=!1;u=[{valueType:"text",operatorType:"operator",conditionalOperator:"and",columns:[{columnName:"entityId",operator:"="},{columnName:"entityType",operator:"="},{columnName:"templateFolderId",operator:"="},]}];f="fileName";t.searchData={};t.searchData.entityId=t.uploadData.attachmentEntityId;t.searchData.entityType=t.uploadData.attachmentType;t.searchData.templateFolderId=49;r=t.exportDataToFile==!0?rxData[n].source.exportColumnList():"";e={isExport:t.exportDataToFile==!0?t.exportDataToFile:!1,columnHeaders:t.exportDataToFile==!0?String(r.headerTextColumns):"",columnNames:t.exportDataToFile==!0?String(r.dataFieldColumns):""};i.attachmentFolder.oDataAttachedFiles.newQuery().queryFilter(u,t.searchData,!0,"exportModel",e,undefined,undefined,f).page(1).records(1e3).post().then(function(i){t.exportDataToFile||(!angular.isUndefined(t[n])&&angular.isFunction(t[n].resetGrid)?t[n].resetGrid(i):angular.isFunction(t[n].resetGrid)||(t[n]=i));t.$apply()})},sr=function(n,t,i,r,u,f,e){r.show();i[e].deleteAttachmentFiles.del(n).then(function(){h(f,t,i);r.hide();u.success("Attached Document deleted successfully.");t.$apply()})},hr=function(n,t,i,r,u,f){if(angular.isObject(n)&&!angular.isUndefined(n.errorMessage)){t.error(n.errorMessage);return}if(angular.isString(n)){if(n=="Invalid File."){i.show({dataCollection:[],titleText:"Warning",contentText:"Uploaded file is invalid, please upload valid file.",cancelRequired:!1,callbacks:{ok:"OK"}},u);return}if(n=="Fail_FileSize"){i.show({dataCollection:[],titleText:"Warning",contentText:"File Size Exceeds Limit.",cancelRequired:!1,callbacks:{ok:"OK"}},u);return}if(n=="Corrupted File"){i.show({dataCollection:[],titleText:"Warning",contentText:"Uploaded File contains some improper data, please upload valid file.",cancelRequired:!1,callbacks:{ok:"OK"}},u);return}}t.success("Attached Document uploaded successfully.");h(r,u,f)},cr=function(n,t){switch(n.currentPageId){case t.applicationPage.client.editClient:return"Edit Client";case t.applicationPage.parent.editParent:return"Edit Parent";case t.applicationPage.costCentre.editCostCentre:return"Edit Cost Centre";case t.applicationPage.candidate.editCandidate:return"Edit Candidate";case t.applicationPage.clientContact.editClientContact:return"Edit Client Contact"}},lr=function(n,i,r){var s=t.currentUrl.split("/"),u=rxEncoder.decode(s[0]),f=r.find(o,{viewUrl:u}),h=r.find(o,{editUrl:u}),e=r.find(o,{deleteUrl:u});f.length>0?c(f[0].itemName,n,i,r):e.length>0&&c(e[0].itemName,n,i,r)},o=[{itemName:"Parent",editUrl:"EditParentJobTemplate",viewUrl:"ViewParentJobTemplate",addUrl:"AddParentJobTemplate",deleteUrl:"DeleteParentJobTemplate"},{itemName:"Client",editUrl:"EditClientJobTemplate",viewUrl:"ViewClientJobTemplate",addUrl:"AddClientJobTemplate",deleteUrl:"DeleteClientJobTemplate"},{itemName:"Cost Centre",editUrl:"EditCostCentreJobTemplate",viewUrl:"ViewCostCentreJobTemplate",addUrl:"AddCostCentreJobTemplate",deleteUrl:"DeleteCostCentreJobTemplate"},{itemName:"Brand",editUrl:"EditBrandJobTemplate",viewUrl:"ViewBrandJobTemplate",addUrl:"AddBrandJobTemplate",deleteUrl:"DeleteBrandJobTemplate"},{itemName:"Country",editUrl:"EditCountryJobTemplate",viewUrl:"ViewCountryJobTemplate",addUrl:"AddCountryJobTemplate",deleteUrl:"DeleteCountryJobTemplate"},{itemName:"Office",editUrl:"EditOfficeJobTemplate",viewUrl:"ViewOfficeJobTemplate",addUrl:"AddOfficeJobTemplate",deleteUrl:"DeleteOfficeJobTemplate"},],c=function(n,t,i,r){var u;t.jobTemplateAdd={};t.jobTemplateAdd=!0;n==parseInt(e.types.client)||n=="Client"?u=r.find(i.permissionContext,{permissionItemName:"ClientJobTemplate"})[0]:n==parseInt(e.types.costCenter)||n=="Cost Centre"?u=r.find(i.permissionContext,{permissionItemName:"CostCentreJobTemplate"})[0]:n==parseInt(e.types.parent)||n=="Parent"?u=r.find(i.permissionContext,{permissionItemName:"ParentJobTemplate"})[0]:(n=="Brand"||n=="Office"||n=="Country")&&(u=r.find(i.permissionContext,{permissionItemName:"GlobalJobTemplates"})[0]);angular.isUndefined(u)||(t.isReadOnly=u.canView==!0&&!u.canAdd&&!u.canEdit&&!u.fullControl,angular.isUndefined(u.fullControl)||u.fullControl!=!1||(t.deleteAccess=!1,u.canAdd==!1&&(t.jobTemplateAdd=!1,t.addAccess=!1),u.canEdit==!1&&(t.editAccess=!1,t.deleteAccess=!1)))},ar=function(n,t){var i=[];return angular.forEach(n,function(n){(n.sourceTypeIds.indexOf(t)!=-1||n.sourceTypeIds.indexOf(e.sourceList.any)!=-1)&&i.push(n)}),i},vr=function(n,t){switch(n){case"Edit Client":return parseInt(t.queryString("clientId"));case"Edit Cost Centre":return parseInt(t.queryString("costCentreId"));case"Edit Parent":return parseInt(t.queryString("parentCompanyId"));case"Edit Candidate":return parseInt(t.queryString("candidateId"))}},yr=function(n,t,i){if(n!=null&&n!="")return f("rxDateTimeFormatter")(n,t,i)},pr=function(n,t){window.open("#/"+rxEncoder.encode(n)+"/"+rxEncoder.encode(t))},wr=function(n){angular.isUndefined(n)||n==""||n==null||(n.indexOf("http://")==-1&&n.indexOf("https://")==-1?window.open("http://"+n):window.open(n))};return{entityLockCheck:l,validateEmailWebsite:a,getClassPortal:v,contextMenu:y,getDiary:p,bindAddress:b,setDob:k,bindCityAddress:d,bindSuburbAddress:g,fullTextSearchQueryBuilder:nt,setAvailabilitiesGridData:tt,inActiveFolder:it,activeFolder:rt,bindAddressPartialPortal:ut,bindAddress1PartialPortal:ft,objectDetailChanged:et,bindSubAddressPartialPortal:ot,bindCityAddressPartialPortal:st,bindSubAddress1PartialPortal:ht,bindCityAddress1PartialPortal:ct,copyMailingAddressPartialPortal:lt,copyMainAddressPartialPortal:at,getCustomFieldDetailsForEdit:pt,getCustomFieldDetails:wt,getClientJobOrderCandidateContactCustomFieldDetails:bt,getParentJobOrderCustomFieldDetails:kt,clientContactCountryLookupChanged:gt,contactClientPortalResetDays:ni,clientContactRegionLookupChanged:ti,setCommentDetails:ii,clientContactBrandLookupChanged:ri,bpmeActivityOfficeLookupChanged:ui,bpmeActivityCountryLookupChanged:fi,candidatePartialAddressDisplayLabel:ei,bpmeActivityRegionLookupChanged:oi,bpmeActivityBrandLookupChanged:si,contactClientPortalAddressDisplayLabel:hi,commentEntityLock:ci,candidatePartialAddress1DisplayLabel:li,commentSetButtons:ai,checkAvailabilityDate:vt,defaultRegionLookupChanged:yt,openActivity:vi,setDefaultCountryLookupChanged:yi,setGridButtons:pi,entityLockForJobPostAndGeneral:wi,contactEntityLock:bi,applyContCostQuickAccess:ki,recordType:di,getClassCommon:gi,applyPosition:nr,getEntityTypeName:tr,positionLookupUserPortal:ir,bindOptDetailHistory:rr,checkBaseFormObjectEmpty:ur,clientContactOfficeLookupChanged:dt,getSkillKeywordName:fr,refreshCurrentScreen:er,checkSMSAccounExternalReference:checkSMSAccounExternalReference,controlValuesString:or,checkJoborderClosed:checkJoborderClosed,removeScopeObjects:removeScopeObjects,openMergeTag:openMergeTag,selectMergeField:selectMergeField,loadTimesheetAndLeaveAttachments:h,deleteTimesheetAndLeaveAttachment:sr,attachmentUploaded:hr,getEntityPageName:cr,getEntityPagePrimaryId:vr,getSetLookupDataValue:getSetLookupDataValue,getDiaryForPortal:w,getFormmatedDateTime:yr,checkJobTemplatePermission:c,getJobTemplatePermission:lr,jobTemplatePageUrl:o,getSourceCodeList:ar,openSocialLink:wr,viewEditPage:pr}}]);fastTrack.factory("addressDetails",function(){return{addressDetail:{},address:{},address1:{},displayCopyClientMainAddress:"",displayCopyCCMailAddress:"",displayCopyMainAddress:"",lookUpUser:{},lookUpUserOther:{},editMode:"",previousEditMode:"",candidateLookUpMode:!0,editModeLookUp:"",corporateIdentityNumberLabel:"",corporateIdentityNumberFormat:"",lookUpClientContact:{},lookUpPosition:{},lookUpClient:{},jobOrderDetail:{},timeSheetWorkflow:{},startDate:"",endDate:"",jobOrderId:"",patternId:"",clientPatternId:"",patternEntryTypeId:"",currentScreen:"",popupManageJobOrderReferral:{},lookUpCandidate:{},referCandidateLookUp:{},referralData:{},generalSetting:{},applicationHelpId:{},createPortalUser:"",savePortalUser:"",portalUserMode:{},selectedJobOrder:{},searchActivityModule:{},currentLookup:"",createdBy:{},activityOwner:{},lastUpdatedBy:{},clientOwner:{},clientContactName:{},jobOwner:{},jobFiller:{},verifiedBy:{},recordCreatedBy:{},userBy:{},currentGrid:"",isCandidateResume:"",isCandidateResume:"",candidateReferred:"",candidateReferredFromJobOrder:"",candidateFilledFromJobOrder:"",referralWorkflowApplied:!1,candidateMovedFromJobOrder:"",candidateFilledLookup:"",tswfMaintenence:{},timeSheetWorkFlowReferenceType:{},positionValue:"",positionValueSelected:"",lastTimesheetEndDate:"",lastTimesheetEndDateForJobSchedule:"",jobOrderDateChanged:!1,jobOrderStartDateChanged:!1,jobScheduleDetail:"",patternLastDate:"",hideReferral:!1,jobOrderForReferral:{},bindJobOrderDataForReferral:"",dataLostMessage:"Do you want to save changes made to this record?",agencyUserPopUp:{},agencyUserAssigned:"",lookUpUserCommon:{},lookUpUserCommonStatus:"",satisfactoryRefCheckCount:"",rateTypeChanged:!1,lastScreen:"",isOfficeChanged:!1,addressOneTabIndex:"",addressTwoTabIndex:"",isPatternSelected:"",patternFormat:"",isSearchAvailableScreen:"",patternSource:"",availabilityStartDate:"",availabilityEndDate:"",availabilityPatternId:"",lookUpCostCentre:{},resumeType:"",isReferralFromCandidate:!1,submittedToTimesheet:!1,lookUpUserVerifiedBy:{},verifyChecked:"",lookUpContact:{},editModeContactLookup:"",lookupContactComment:{},clientShiftPatternId:"",googleMapParams:[],nameOfTheGoogleEntity:""}});fastTrack.factory("clientPortalMaintenanceDs",["clientcontext",function(n){return n.initializeApi({getby:{},get:{},post:{clientPortals:"api/maintenance/clientPortalMaintenance/clientportals",portalLogo:"api/maintenance/clientPortalMaintenance/getportallogo"},put:{clientPortal:"api/maintenance/clientPortalMaintenance/clientportal"},del:{},oData:{clientPortal:"api/maintenance/clientPortalMaintenance/clientportal"}},"clientPortalMaintenance")}])