function X2JS(n){function o(n){var t=n.localName;return null==t&&(t=n.baseName),null!=t&&""!=t||(t=n.nodeName),t}function y(n){return n.prefix}function f(n){return"string"==typeof n?n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"):n}function s(t,i,r){var f,u;switch(n.arrayAccessForm){case"property":t[i+"_asArray"]=t[i]instanceof Array?t[i]:[t[i]]}if(!(t[i]instanceof Array)&&n.arrayAccessFormPaths.length>0){for(f=0;f<n.arrayAccessFormPaths.length;f++)if(u=n.arrayAccessFormPaths[f],"string"==typeof u){if(u==r)break}else if(u instanceof RegExp){if(u.test(r))break}else if("function"==typeof u&&u(t,i,r))break;f!=n.arrayAccessFormPaths.length&&(t[i]=[t[i]])}}function h(n){var i=n.split(/[-T:+Z]/g),t=new Date(i[0],i[1]-1,i[2]),u=i[5].split("."),r;return(t.setHours(i[3],i[4],u[0]),u.length>1&&t.setMilliseconds(u[1]),i[6]&&i[7])?(r=60*i[6]+Number(i[7]),r=0+("-"==(/\d\d-\d\d:\d\d$/.test(n)?"-":"+")?-1*r:r),t.setMinutes(t.getMinutes()-r-t.getTimezoneOffset())):-1!==n.indexOf("Z",n.length-1)&&(t=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()))),t}function p(t,i,r){var e,f,u;if(n.datetimeAccessFormPaths.length>0){for(e=r.split(".#")[0],f=0;f<n.datetimeAccessFormPaths.length;f++)if(u=n.datetimeAccessFormPaths[f],"string"==typeof u){if(u==e)break}else if(u instanceof RegExp){if(u.test(e))break}else if("function"==typeof u&&u(obj,i,e))break;return f!=n.datetimeAccessFormPaths.length?h(t):t}return t}function r(t,u){var f,l,c,h,e,a,w,v;if(t.nodeType==i.DOCUMENT_NODE){for(var f={},l=t.childNodes,c=0;c<l.length;c++)h=l.item(c),h.nodeType==i.ELEMENT_NODE&&(e=o(h),f[e]=r(h,e));return f}if(t.nodeType==i.ELEMENT_NODE){for(f={},f.__cnt=0,l=t.childNodes,c=0;c<l.length;c++)h=l.item(c),e=o(h),h.nodeType!=i.COMMENT_NODE&&(f.__cnt++,null==f[e]?(f[e]=r(h,u+"."+e),s(f,e,u+"."+e)):(null!=f[e]&&(f[e]instanceof Array||(f[e]=[f[e]],s(f,e,u+"."+e))),f[e][f[e].length]=r(h,u+"."+e)));for(a=0;a<t.attributes.length;a++)w=t.attributes.item(a),f.__cnt++,f[n.attributePrefix+w.name]=w.value;return v=y(t),null!=v&&""!=v&&(f.__cnt++,f.__prefix=v),null!=f["#text"]&&(f.__text=f["#text"],f.__text instanceof Array&&(f.__text=f.__text.join("\n")),n.stripWhitespaces&&(f.__text=f.__text.trim()),delete f["#text"],"property"==n.arrayAccessForm&&delete f["#text_asArray"],f.__text=p(f.__text,e,u+"."+e)),null!=f["#cdata-section"]&&(f.__cdata=f["#cdata-section"],delete f["#cdata-section"],"property"==n.arrayAccessForm&&delete f["#cdata-section_asArray"]),1==f.__cnt&&null!=f.__text?f=f.__text:0==f.__cnt&&"text"==n.emptyNodeForm?f="":f.__cnt>1&&null!=f.__text&&n.skipEmptyTextNodesForObj&&(n.stripWhitespaces&&""==f.__text||""==f.__text.trim())&&delete f.__text,delete f.__cnt,!n.enableToStringFunc||null==f.__text&&null==f.__cdata||(f.toString=function(){return(null!=this.__text?this.__text:"")+(null!=this.__cdata?this.__cdata:"")}),f}if(t.nodeType==i.TEXT_NODE||t.nodeType==i.CDATA_SECTION_NODE)return t.nodeValue}function t(t,i,r,u){var s="<"+(null!=t&&null!=t.__prefix?t.__prefix+":":"")+i,o,h,e;if(null!=r)for(o=0;o<r.length;o++)h=r[o],e=t[h],n.escapeMode&&(e=f(e)),s+=" "+h.substr(n.attributePrefix.length)+"=",s+=n.useDoubleQuotes?'"'+e+'"':"'"+e+"'";return s+(u?"/>":">")}function u(n,t){return"<\/"+(null!=n.__prefix?n.__prefix+":":"")+t+">"}function w(n,t){return-1!==n.indexOf(t,n.length-t.length)}function c(t,i){return!!("property"==n.arrayAccessForm&&w(i.toString(),"_asArray")||0==i.toString().indexOf(n.attributePrefix)||0==i.toString().indexOf("__")||t[i]instanceof Function)}function l(n){var t=0,i;if(n instanceof Object)for(i in n)c(n,i)||t++;return t}function a(t){var r=[],i;if(t instanceof Object)for(i in t)-1==i.toString().indexOf("__")&&0==i.toString().indexOf(n.attributePrefix)&&r.push(i);return r}function b(t){var i="";return null!=t.__cdata&&(i+="<![CDATA["+t.__cdata+"]\]>"),null!=t.__text&&(i+=n.escapeMode?f(t.__text):t.__text),i}function v(t){var i="";return t instanceof Object?i+=b(t):null!=t&&(i+=n.escapeMode?f(t):t),i}function k(n,i,r){var o="",f;if(0==n.length)o+=t(n,i,r,!0);else for(f=0;f<n.length;f++)o+=t(n[f],i,a(n[f]),!1),o+=e(n[f]),o+=u(n[f],i);return o}function e(n){var r="",f,i,o,s;if(l(n)>0)for(f in n)c(n,f)||(i=n[f],o=a(i),null==i||void 0==i?r+=t(i,f,o,!0):i instanceof Object?i instanceof Array?r+=k(i,f,o):i instanceof Date?(r+=t(i,f,o,!1),r+=i.toISOString(),r+=u(i,f)):(s=l(i),s>0||null!=i.__text||null!=i.__cdata?(r+=t(i,f,o,!1),r+=e(i),r+=u(i,f)):r+=t(i,f,o,!0)):(r+=t(i,f,o,!1),r+=v(i),r+=u(i,f)));return r+v(n)}n=n||{},function(){void 0===n.escapeMode&&(n.escapeMode=!0);n.attributePrefix=n.attributePrefix||"_";n.arrayAccessForm=n.arrayAccessForm||"none";n.emptyNodeForm=n.emptyNodeForm||"text";void 0===n.enableToStringFunc&&(n.enableToStringFunc=!0);n.arrayAccessFormPaths=n.arrayAccessFormPaths||[];void 0===n.skipEmptyTextNodesForObj&&(n.skipEmptyTextNodesForObj=!0);void 0===n.stripWhitespaces&&(n.stripWhitespaces=!0);n.datetimeAccessFormPaths=n.datetimeAccessFormPaths||[];void 0===n.useDoubleQuotes&&(n.useDoubleQuotes=!1)}(),function(){function n(n){var t=String(n);return 1===t.length&&(t="0"+t),t}"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|^\n+|(\s|\n)+$/g,"")});"function"!=typeof Date.prototype.toISOString&&(Date.prototype.toISOString=function(){return this.getUTCFullYear()+"-"+n(this.getUTCMonth()+1)+"-"+n(this.getUTCDate())+"T"+n(this.getUTCHours())+":"+n(this.getUTCMinutes())+":"+n(this.getUTCSeconds())+"."+String((this.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"})}();var i={ELEMENT_NODE:1,TEXT_NODE:3,CDATA_SECTION_NODE:4,COMMENT_NODE:8,DOCUMENT_NODE:9};this.parseXmlString=function(n){var u=window.ActiveXObject||"ActiveXObject"in window,t,r,i;if(void 0===n)return null;if(window.DOMParser){if(r=new window.DOMParser,i=null,!u)try{i=r.parseFromString("INVALID","text/xml").childNodes[0].namespaceURI}catch(n){i=null}try{t=r.parseFromString(n,"text/xml");null!=i&&t.getElementsByTagNameNS(i,"parsererror").length>0&&(t=null)}catch(n){t=null}}else 0==n.indexOf("<?")&&(n=n.substr(n.indexOf("?>")+2)),t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(n);return t};this.asArray=function(n){return void 0===n||null==n?[]:n instanceof Array?n:[n]};this.toXmlDateTime=function(n){return n instanceof Date?n.toISOString():"number"==typeof n?new Date(n).toISOString():null};this.asDateTime=function(n){return"string"==typeof n?h(n):n};this.xml2json=function(n){return r(n)};this.xml_str2json=function(n){var t=this.parseXmlString(n);return null!=t?this.xml2json(t):null};this.json2xml_str=function(n){return e(n)};this.json2xml=function(n){var t=this.json2xml_str(n);return this.parseXmlString(t)};this.getVersion=function(){return"1.1.7"}}var Design,ProductApi,Translation,ContentElements,__extends,ProductCatalogue,ProductFilterModule,CountryDetection;if(!function(n,t){"object"==typeof module&&"object"==typeof module.exports?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)}("undefined"!=typeof window?window:this,function(n,t){function ni(n){var t=!!n&&"length"in n&&n.length,r=i.type(n);return"function"!==r&&!i.isWindow(n)&&("array"===r||0===t||"number"==typeof t&&t>0&&t-1 in n)}function ti(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("string"==typeof t){if(te.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return vt.call(t,n)>-1!==r})}function di(n,t){for(;(n=n[t])&&1!==n.nodeType;);return n}function hf(n){var t={};return i.each(n.match(h)||[],function(n,i){t[i]=!0}),t}function ct(){u.removeEventListener("DOMContentLoaded",ct);n.removeEventListener("load",ct);i.ready()}function ft(){this.expando=i.expando+ft.uid++}function gi(n,t,r){var u;if(void 0===r&&1===n.nodeType)if(u="data-"+t.replace(uu,"-$&").toLowerCase(),"string"==typeof(r=n.getAttribute(u))){try{r="true"===r||"false"!==r&&("null"===r?null:+r+""===r?+r:ie.test(r)?i.parseJSON(r):r)}catch(n){}e.set(n,t,r)}else r=void 0;return r}function nr(n,t,r,u){var h,e=1,l=20,c=u?function(){return u.cur()}:function(){return i.css(n,t,"")},s=c(),o=r&&r[3]||(i.cssNumber[t]?"":"px"),f=(i.cssNumber[t]||"px"!==o&&+s)&&et.exec(i.css(n,t));if(f&&f[3]!==o){o=o||f[3];r=r||[];f=+s||1;do e=e||".5",f/=e,i.style(n,t,f+o);while(e!==(e=c()/s)&&1!==e&&--l)}return r&&(f=+f||+s||0,h=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=o,u.start=f,u.end=h)),h}function o(n,t){var r=void 0!==n.getElementsByTagName?n.getElementsByTagName(t||"*"):void 0!==n.querySelectorAll?n.querySelectorAll(t||"*"):[];return void 0===t||t&&i.nodeName(n,t)?i.merge([n],r):r}function ii(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function tr(n,t,r,u,f){for(var e,s,p,a,w,v,h=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if((e=n[l])||0===e)if("object"===i.type(e))i.merge(y,e.nodeType?[e]:e);else if(hu.test(e)){for(s=s||h.appendChild(t.createElement("div")),p=(ou.exec(e)||["",""])[1].toLowerCase(),a=c[p]||c._default,s.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)s=s.lastChild;i.merge(y,s.childNodes);s=h.firstChild;s.textContent=""}else y.push(t.createTextNode(e));for(h.textContent="",l=0;e=y[l++];)if(u&&i.inArray(e,u)>-1)f&&f.push(e);else if(w=i.contains(e.ownerDocument,e),s=o(h.appendChild(e),"script"),w&&ii(s),r)for(v=0;e=s[v++];)su.test(e.type||"")&&r.push(e);return h}function lt(){return!0}function d(){return!1}function ir(){try{return u.activeElement}catch(n){}}function ri(n,t,r,u,f,e){var o,s;if("object"==typeof t){"string"!=typeof r&&(u=u||r,r=void 0);for(s in t)ri(n,s,r,u,t[s],e);return n}if(null==u&&null==f?(f=r,u=r=void 0):null==f&&("string"==typeof r?(f=u,u=void 0):(f=u,u=r,r=void 0)),!1===f)f=d;else if(!f)return this;return 1===e&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function rr(n,t){return i.nodeName(n,"table")&&i.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n:n}function cf(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function lf(n){var t=se.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function ur(n,t){var u,c,f,s,h,l,a,o;if(1===t.nodeType){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),o=s.events)){delete h.handle;h.events={};for(f in o)for(u=0,c=o[f].length;u<c;u++)i.event.add(t,f,o[f][u])}e.hasData(n)&&(l=e.access(n),a=i.extend({},l),e.set(t,a))}}function af(n,t){var i=t.nodeName.toLowerCase();"input"===i&&eu.test(n.type)?t.checked=n.checked:"input"!==i&&"textarea"!==i||(t.defaultValue=n.defaultValue)}function y(n,t,u,e){t=br.apply([],t);var l,w,c,a,s,b,h=0,v=n.length,d=v-1,p=t[0],k=i.isFunction(p);if(k||v>1&&"string"==typeof p&&!f.checkClone&&oe.test(p))return n.each(function(i){var r=n.eq(i);k&&(t[0]=p.call(this,i,r.html()));y(r,t,u,e)});if(v&&(l=tr(t,n[0].ownerDocument,!1,n,e),w=l.firstChild,1===l.childNodes.length&&(l=w),w||e)){for(c=i.map(o(l,"script"),cf),a=c.length;h<v;h++)s=l,h!==d&&(s=i.clone(s,!0,!0),a&&i.merge(c,o(s,"script"))),u.call(n[h],s,h);if(a)for(b=c[c.length-1].ownerDocument,i.map(c,lf),h=0;h<a;h++)s=c[h],su.test(s.type||"")&&!r.access(s,"globalEval")&&i.contains(b,s)&&(s.src?i._evalUrl&&i._evalUrl(s.src):i.globalEval(s.textContent.replace(he,"")))}return n}function fr(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;null!=(u=e[f]);f++)r||1!==u.nodeType||i.cleanData(o(u)),u.parentNode&&(r&&i.contains(u.ownerDocument,u)&&ii(o(u,"script")),u.parentNode.removeChild(u));return n}function er(n,t){var r=i(t.createElement(n)).appendTo(t.body),u=i.css(r[0],"display");return r.detach(),u}function ui(n){var r=u,t=lu[n];return t||(t=er(n,r),"none"!==t&&t||(wt=(wt||i("<iframe frameborder='0' width='0' height='0'/>")).appendTo(r.documentElement),r=wt[0].contentDocument,r.write(),r.close(),t=er(n,r),wt.detach()),lu[n]=t),t}function g(n,t,r){var o,s,h,u,e=n.style;return r=r||bt(n),r&&(u=r.getPropertyValue(t)||r[t],""!==u||i.contains(n.ownerDocument,n)||(u=i.style(n,t)),!f.pixelMarginRight()&&ci.test(u)&&au.test(t)&&(o=e.width,s=e.minWidth,h=e.maxWidth,e.minWidth=e.maxWidth=e.width=u,u=r.width,e.width=o,e.minWidth=s,e.maxWidth=h)),void 0!==u?u+"":u}function fi(n,t){return{get:function(){return n()?void delete this.get:(this.get=t).apply(this,arguments)}}}function or(n){if(n in pu)return n;for(var i=n[0].toUpperCase()+n.slice(1),t=yu.length;t--;)if((n=yu[t]+i)in pu)return n}function sr(n,t,i){var r=et.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function hr(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:"width"===t?1:0,o=0;e<4;e+=2)"margin"===r&&(o+=i.css(n,r+k[e],!0,f)),u?("content"===r&&(o-=i.css(n,"padding"+k[e],!0,f)),"margin"!==r&&(o-=i.css(n,"border"+k[e]+"Width",!0,f))):(o+=i.css(n,"padding"+k[e],!0,f),"padding"!==r&&(o+=i.css(n,"border"+k[e]+"Width",!0,f)));return o}function cr(t,r,e){var h=!0,o="width"===r?t.offsetWidth:t.offsetHeight,s=bt(t),c="border-box"===i.css(t,"boxSizing",!1,s);if(u.msFullscreenElement&&n.top!==n&&t.getClientRects().length&&(o=Math.round(100*t.getBoundingClientRect()[r])),o<=0||null==o){if(o=g(t,r,s),(o<0||null==o)&&(o=t.style[r]),ci.test(o))return o;h=c&&(f.boxSizingReliable()||o===t.style[r]);o=parseFloat(o)||0}return o+hr(t,r,e||(c?"border":"content"),h,s)+"px"}function lr(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]||"none"!==e||(u.style.display=""),""===u.style.display&&ot(u)&&(o[f]=r.access(u,"olddisplay",ui(u.nodeName)))):(s=ot(u),"none"===e&&s||r.set(u,"olddisplay",s?e:i.css(u,"display"))));for(f=0;f<h;f++)u=n[f],u.style&&(t&&"none"!==u.style.display&&""!==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 ar(){return n.setTimeout(function(){it=void 0}),it=i.now()}function at(n,t){var r,u=0,i={height:n};for(t=t?1:0;u<4;u+=2-t)r=k[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function vr(n,t,i){for(var u,f=(l.tweeners[t]||[]).concat(l.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function vf(n,t,u){var f,a,p,v,o,w,h,l=this,y={},s=n.style,c=n.nodeType&&ot(n),e=r.get(n,"fxshow");u.queue||(o=i._queueHooks(n,"fx"),null==o.unqueued&&(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()})}));1===n.nodeType&&("height"in t||"width"in t)&&(u.overflow=[s.overflow,s.overflowX,s.overflowY],h=i.css(n,"display"),"inline"===("none"===h?r.get(n,"olddisplay")||ui(n.nodeName):h)&&"none"===i.css(n,"float")&&(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],wu.exec(a)){if(delete t[f],p=p||"toggle"===a,a===(c?"hide":"show")){if("show"!==a||!e||void 0===e[f])continue;c=!0}y[f]=e&&e[f]||i.style(n,f)}else h=void 0;if(i.isEmptyObject(y))"inline"===("none"===h?ui(n.nodeName):h)&&(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=vr(c?e[f]:0,f,l),f in e||(e[f]=v.start,c&&(v.end=v.start,v.start="width"===f||"height"===f?1:0))}}function yf(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])&&"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 l(n,t,r){var e,o,s=0,a=l.prefilters.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var s=it||ar(),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:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:it||ar(),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.notifyWith(n,[u,1,0]),f.resolveWith(n,[u,t])):f.rejectWith(n,[u,t]),this}}),h=u.props;for(yf(h,u.opts.specialEasing);s<a;s++)if(e=l.prefilters[s].call(u,n,h,u.opts))return i.isFunction(e.stop)&&(i._queueHooks(u.elem,u.opts.queue).stop=i.proxy(e.stop,e)),e;return i.map(h,vr,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 p(n){return n.getAttribute&&n.getAttribute("class")||""}function yr(n){return function(t,r){"string"!=typeof t&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(h)||[];if(i.isFunction(r))for(;u=e[f++];)"+"===u[0]?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function pr(n,t,r,u){function f(s){var h;return e[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);return"string"!=typeof s||o||e[s]?o?!(h=s):void 0:(t.dataTypes.unshift(s),f(s),!1)}),h}var e={},o=n===pi;return f(t.dataTypes[0])||!e["*"]&&f("*")}function ei(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function pf(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(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 wf(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())if("*"===u)u=e;else if("*"!==e&&e!==u){if(!(f=o[e+" "+u]||o["* "+u]))for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]])){!0===f?f=o[h]:!0!==o[h]&&(u=s[0],c.unshift(s[1]));break}if(!0!==f)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(n){return{state:"parsererror",error:f?n:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}function oi(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||be.test(n)?u(n,i):oi(n+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,u)});else if(r||"object"!==i.type(t))u(n,t);else for(f in t)oi(n+"["+f+"]",t[f],r,u)}function wr(n){return i.isWindow(n)?n:9===n.nodeType&&n.defaultView}var w=[],u=n.document,v=w.slice,br=w.concat,si=w.push,vt=w.indexOf,yt={},bf=yt.toString,hi=yt.hasOwnProperty,f={},i=function(n,t){return new i.fn.init(n,t)},kf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,df=/^-ms-/,gf=/-([\da-z])/gi,ne=function(n,t){return t.toUpperCase()},b,nu,tu,iu,ru,h,pt,a,tt,hu,it,kt,wu,bu,ku,rt,du,gu,dt,nf,ai,ef,ut,bi,gt,ki,of,sf;i.fn=i.prototype={jquery:"2.2.0",constructor:i,selector:"",length:0,toArray:function(){return v.call(this)},get:function(n){return null!=n?n<0?this[n+this.length]:this[n]:v.call(this)},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t.context=this.context,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(v.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()},push:si,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("boolean"==typeof n&&(h=n,n=arguments[u]||{},u++),"object"==typeof n||i.isFunction(n)||(n={}),u===c&&(n=this,u--);u<c;u++)if(null!=(e=arguments[u]))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)):void 0!==t&&(n[f]=t));return n};i.extend({expando:"jQuery"+("2.2.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isFunction:function(n){return"function"===i.type(n)},isArray:Array.isArray,isWindow:function(n){return null!=n&&n===n.window},isNumeric:function(n){var t=n&&n.toString();return!i.isArray(n)&&t-parseFloat(t)+1>=0},isPlainObject:function(n){return"object"===i.type(n)&&!n.nodeType&&!i.isWindow(n)&&!(n.constructor&&!hi.call(n.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(n){for(var t in n)return!1;return!0},type:function(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?yt[bf.call(n)]||"object":typeof n},globalEval:function(n){var t,r=eval;(n=i.trim(n))&&(1===n.indexOf("use strict")?(t=u.createElement("script"),t.text=n,u.head.appendChild(t).parentNode.removeChild(t)):r(n))},camelCase:function(n){return n.replace(df,"ms-").replace(gf,ne)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t){var r,i=0;if(ni(n))for(r=n.length;i<r&&!1!==t.call(n[i],i,n[i]);i++);else for(i in n)if(!1===t.call(n[i],i,n[i]))break;return n},trim:function(n){return null==n?"":(n+"").replace(kf,"")},makeArray:function(n,t){var r=t||[];return null!=n&&(ni(Object(n))?i.merge(r,"string"==typeof n?[n]:n):si.call(r,n)),r},inArray:function(n,t,i){return null==t?-1:vt.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=[],r=0,f=n.length,e=!i;r<f;r++)!t(n[r],r)!==e&&u.push(n[r]);return u},map:function(n,t,i){var e,u,r=0,f=[];if(ni(n))for(e=n.length;r<e;r++)null!=(u=t(n[r],r,i))&&f.push(u);else for(r in n)null!=(u=t(n[r],r,i))&&f.push(u);return br.apply([],f)},guid:1,proxy:function(n,t){var u,f,r;if("string"==typeof t&&(u=n[t],t=n,n=u),i.isFunction(n))return f=v.call(arguments,2),r=function(){return n.apply(t||this,f.concat(v.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r},now:Date.now,support:f});"function"==typeof Symbol&&(i.fn[Symbol.iterator]=w[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){yt["[object "+t+"]"]=t.toLowerCase()});b=function(n){function u(n,t,r,u){var h,w,a,s,nt,d,y,g,p=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],"string"!=typeof n||!n||1!==v&&9!==v&&11!==v)return r;if(!u&&((t?t.ownerDocument||t:l)!==i&&b(t),t=t||i,c)){if(11!==v&&(d=cr.exec(n)))if(h=d[1]){if(9===v){if(!(a=t.getElementById(h)))return r;if(a.id===h)return r.push(a),r}else if(p&&(a=p.getElementById(h))&&et(t,a)&&a.id===h)return r.push(a),r}else{if(d[2])return k.apply(r,t.getElementsByTagName(n)),r;if((h=d[3])&&f.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(h)),r}if(f.qsa&&!vt[n+" "]&&(!o||!o.test(n))){if(1!==v)p=t,g=n;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(lr,"\\$&"):t.setAttribute("id",s=e),y=ft(n),w=y.length,nt=wi.test(s)?"#"+s:"[id='"+s+"']";w--;)y[w]=nt+" "+st(y[w]);g=y.join(",");p=ei.test(n)&&kt(t.parentNode)||t}if(g)try{return k.apply(r,p.querySelectorAll(g)),r}catch(n){}finally{s===e&&t.removeAttribute("id")}}}return ci(n.replace(yt,"$1"),t,r,u)}function wt(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function s(n){return n[e]=!0,n}function a(n){var t=i.createElement("div");try{return!!n(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function bt(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function oi(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&(~t.sourceIndex||vi)-(~n.sourceIndex||vi);if(r)return r;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return n?1:-1}function d(n){return s(function(t){return t=+t,s(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 kt(n){return n&&void 0!==n.getElementsByTagName&&n}function si(){}function st(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function dt(n,t,i){var r=t.dir,u=i&&"parentNode"===r,f=gi++;return t.first?function(t,i,f){for(;t=t[r];)if(1===t.nodeType||u)return n(t,i,f)}:function(t,i,o){var s,h,c,l=[v,f];if(o){for(;t=t[r];)if((1===t.nodeType||u)&&n(t,i,o))return!0}else for(;t=t[r];)if(1===t.nodeType||u){if(c=t[e]||(t[e]={}),h=c[t.uniqueID]||(c[t.uniqueID]={}),(s=h[r])&&s[0]===v&&s[1]===f)return l[2]=s[2];if(h[r]=l,l[2]=n(t,i,o))return!0}}}function gt(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 ki(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}function ht(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;f<s;f++)(e=n[f])&&(i&&!i(e,r,u)||(o.push(e),h&&t.push(f)));return o}function ni(n,t,i,r,u,f){return r&&!r[e]&&(r=ni(r)),u&&!u[e]&&(u=ni(u,f)),s(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,b=f||ki(t||"*",o.nodeType?[o]:o,[]),v=!n||!f&&t?b:ht(b,p,n,o,s),h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=ht(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?tt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=ht(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):k.apply(e,h)})}function ti(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=dt(function(n){return n===o},c,!0),a=dt(function(n){return tt(o,n)>-1},c,!0),f=[function(n,t,i){var r=!h&&(i||t!==lt)||((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])f=[dt(gt(f),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[e]){for(r=++i;r<s&&!t.relative[n[r].type];r++);return ni(i>1&&gt(f),i>1&&st(n.slice(0,i-1).concat({value:" "===n[i-2].type?"*":""})).replace(yt,"$1"),u,i<r&&ti(n.slice(i,r)),r<s&&ti(n=n.slice(r)),r<s&&st(n))}f.push(u)}return gt(f)}function di(n,r){var f=r.length>0,e=n.length>0,o=function(o,s,h,l,a){var y,nt,d,g=0,p="0",tt=o&&[],w=[],it=lt,rt=o||e&&t.find.TAG("*",a),ut=v+=null==it?1:Math.random()||.1,ft=rt.length;for(a&&(lt=s===i||s||a);p!==ft&&null!=(y=rt[p]);p++){if(e&&y){for(nt=0,s||y.ownerDocument===i||(b(y),h=!c);d=n[nt++];)if(d(y,s||i,h)){l.push(y);break}a&&(v=ut)}f&&((y=!d&&y)&&g--,o&&tt.push(y))}if(g+=p,f&&p!==g){for(nt=0;d=r[nt++];)d(tt,w,s,h);if(o){if(g>0)for(;p--;)tt[p]||w[p]||(w[p]=tr.call(l));w=ht(w)}k.apply(l,w);a&&!o&&w.length>0&&g+r.length>1&&u.uniqueSort(l)}return a&&(v=ut,lt=it),tt};return f?s(o):o}var rt,f,t,ct,hi,ft,ii,ci,lt,w,ut,b,i,h,c,o,g,at,et,e="sizzle"+1*new Date,l=n.document,v=0,gi=0,li=wt(),ai=wt(),vt=wt(),ri=function(n,t){return n===t&&(ut=!0),0},vi=-2147483648,nr={}.hasOwnProperty,nt=[],tr=nt.pop,ir=nt.push,k=nt.push,yi=nt.slice,tt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},ui="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",pi="\\["+r+"*("+it+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+r+"*\\]",fi=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+pi+")*)|.*)\\)|)",rr=new RegExp(r+"+","g"),yt=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),ur=new RegExp("^"+r+"*,"+r+"*"),fr=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),er=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),or=new RegExp(fi),wi=new RegExp("^"+it+"$"),pt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+pi),PSEUDO:new RegExp("^"+fi),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+ui+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},sr=/^(?:input|select|textarea|button)$/i,hr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,cr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ei=/[+~]/,lr=/'|\\/g,y=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","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,1023&r|56320)},bi=function(){b()};try{k.apply(nt=yi.call(l.childNodes),l.childNodes);nt[l.childNodes.length].nodeType}catch(n){k={apply:nt.length?function(n,t){ir.apply(n,yi.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}f=u.support={};hi=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return!!t&&"HTML"!==t.nodeName};b=u.setDocument=function(n){var v,u,s=n?n.ownerDocument||n:l;return s!==i&&9===s.nodeType&&s.documentElement?(i=s,h=i.documentElement,c=!hi(i),(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",bi,!1):u.attachEvent&&u.attachEvent("onunload",bi)),f.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),f.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),f.getElementsByClassName=ot.test(i.getElementsByClassName),f.getById=a(function(n){return h.appendChild(n).id=e,!i.getElementsByName||!i.getElementsByName(e).length}),f.getById?(t.find.ID=function(n,t){if(void 0!==t.getElementById&&c){var i=t.getElementById(n);return i?[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=void 0!==n.getAttributeNode&&n.getAttributeNode("id");return i&&i.value===t}}),t.find.TAG=f.getElementsByTagName?function(n,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(n):f.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"===n){for(;i=u[f++];)1===i.nodeType&&r.push(i);return r}return u},t.find.CLASS=f.getElementsByClassName&&function(n,t){if(void 0!==t.getElementsByClassName&&c)return t.getElementsByClassName(n)},g=[],o=[],(f.qsa=ot.test(i.querySelectorAll))&&(a(function(n){h.appendChild(n).innerHTML="<a id='"+e+"'><\/a><select id='"+e+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+ui+")");n.querySelectorAll("[id~="+e+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+e+"+*").length||o.push(".#.+[+~]")}),a(function(n){var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length||o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(f.matchesSelector=ot.test(at=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&a(function(n){f.disconnectedMatch=at.call(n,"div");at.call(n,"[s!='']:x");g.push("!=",fi)}),o=o.length&&new RegExp(o.join("|")),g=g.length&&new RegExp(g.join("|")),v=ot.test(h.compareDocumentPosition),et=v||ot.test(h.contains)?function(n,t){var r=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))}:function(n,t){if(t)for(;t=t.parentNode;)if(t===n)return!0;return!1},ri=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r||(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,1&r||!f.sortDetached&&t.compareDocumentPosition(n)===r?n===i||n.ownerDocument===l&&et(l,n)?-1:t===i||t.ownerDocument===l&&et(l,t)?1:w?tt(w,n)-tt(w,t):0:4&r?-1:1)}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(!o||!s)return n===i?-1:t===i?1:o?-1:s?1:w?tt(w,n)-tt(w,t):0;if(o===s)return oi(n,t);for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);for(;f[u]===e[u];)u++;return u?oi(f[u],e[u]):f[u]===l?-1:e[u]===l?1:0},i):i};u.matches=function(n,t){return u(n,null,null,t)};u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==i&&b(n),t=t.replace(er,"='$1']"),f.matchesSelector&&c&&!vt[t+" "]&&(!g||!g.test(t))&&(!o||!o.test(t)))try{var r=at.call(n,t);if(r||f.disconnectedMatch||n.document&&11!==n.document.nodeType)return r}catch(n){}return u(t,i,null,[n]).length>0};u.contains=function(n,t){return(n.ownerDocument||n)!==i&&b(n),et(n,t)};u.attr=function(n,r){(n.ownerDocument||n)!==i&&b(n);var e=t.attrHandle[r.toLowerCase()],u=e&&nr.call(t.attrHandle,r.toLowerCase())?e(n,r,!c):void 0;return void 0!==u?u:f.attributes||!c?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null};u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!f.detectDuplicates,w=!f.sortStable&&n.slice(0),n.sort(ri),ut){for(;r=n[i++];)r===n[i]&&(t=u.push(i));for(;t--;)n.splice(u[t],1)}return w=null,n};ct=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=ct(n)}else if(3===t||4===t)return n.nodeValue}else for(;r=n[u++];)i+=ct(r);return i};t=u.selectors={cacheLength:50,createPseudo:s,match:pt,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(),"nth"===n[1].slice(0,3)?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return pt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&or.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=li[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&li(n,function(n){return t.test("string"==typeof n.className&&n.className||void 0!==n.getAttribute&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return null==f?"!="===t:!t||(f+="","="===t?f===i:"!="===t?f!==i:"^="===t?i&&0===f.indexOf(i):"*="===t?i&&f.indexOf(i)>-1:"$="===t?i&&f.slice(-i.length)===i:"~="===t?(" "+f.replace(rr," ")+" ").indexOf(i)>-1:"|="===t&&(f===i||f.slice(0,i.length+1)===i+"-"))}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),o="last"!==n.slice(-4),f="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var p,w,y,c,a,b,k=s!==o?"nextSibling":"previousSibling",d=t.parentNode,nt=f&&t.nodeName.toLowerCase(),g=!h&&!f,l=!1;if(d){if(s){for(;k;){for(c=t;c=c[k];)if(f?c.nodeName.toLowerCase()===nt:1===c.nodeType)return!1;b=k="only"===n&&!b&&"nextSibling"}return!0}if(b=[o?d.firstChild:d.lastChild],o&&g){for(c=d,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a&&p[2],c=a&&d.childNodes[a];c=++a&&c&&c[k]||(l=a=0)||b.pop();)if(1===c.nodeType&&++l&&c===t){w[n]=[v,a,l];break}}else if(g&&(c=t,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a),!1===l)for(;(c=++a&&c&&c[k]||(l=a=0)||b.pop())&&((f?c.nodeName.toLowerCase()!==nt:1!==c.nodeType)||!++l||(g&&(y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),w[n]=[v,l]),c!==t)););return(l-=u)===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var f,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[e]?r(i):r.length>1?(f=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?s(function(n,t){for(var u,f=r(n,i),e=f.length;e--;)u=tt(n,f[e]),n[u]=!(t[u]=f[e])}):function(n){return r(n,0,f)}):r}},pseudos:{not:s(function(n){var t=[],r=[],i=ii(n.replace(yt,"$1"));return i[e]?s(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:s(function(n){return function(t){return u(n,t).length>0}}),contains:s(function(n){return n=n.replace(y,p),function(t){return(t.textContent||t.innerText||ct(t)).indexOf(n)>-1}}),lang:s(function(n){return wi.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=c?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===h},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:function(n){return!1===n.disabled},disabled:function(n){return!0===n.disabled},checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,!0===n.selected},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 hr.test(n.nodeName)},input:function(n){return sr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||"text"===t.toLowerCase())},first:d(function(){return[0]}),last:d(function(n,t){return[t-1]}),eq:d(function(n,t,i){return[i<0?i+t:i]}),even:d(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:d(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:d(function(n,t,i){for(var r=i<0?i+t:i;--r>=0;)n.push(r);return n}),gt:d(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(rt in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=function(n){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===n}}(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=function(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}(rt);return si.prototype=t.filters=t.pseudos,t.setFilters=new si,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ai[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){(!e||(f=ur.exec(r)))&&(f&&(r=r.slice(f[0].length)||r),h.push(s=[]));e=!1;(f=fr.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(yt," ")}),r=r.slice(e.length));for(o in t.filter)(f=pt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):ai(n,h).slice(0)},ii=u.compile=function(n,t){var r,u=[],f=[],i=vt[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=ti(t[r]),i[e]?u.push(i):f.push(i);i=vt(n,di(f,u));i.selector=n}return i},ci=u.select=function(n,i,r,u){var s,e,o,a,v,l="function"==typeof n&&n,h=!u&&ft(n=l.selector||n);if(r=r||[],1===h.length){if(e=h[0]=h[0].slice(0),e.length>2&&"ID"===(o=e[0]).type&&f.getById&&9===i.nodeType&&c&&t.relative[e[1].type]){if(!(i=(t.find.ID(o.matches[0].replace(y,p),i)||[])[0]))return r;l&&(i=i.parentNode);n=n.slice(e.shift().value.length)}for(s=pt.needsContext.test(n)?0:e.length;s--&&(o=e[s],!t.relative[a=o.type]);)if((v=t.find[a])&&(u=v(o.matches[0].replace(y,p),ei.test(e[0].type)&&kt(i.parentNode)||i))){if(e.splice(s,1),!(n=u.length&&st(e)))return k.apply(r,u),r;break}}return(l||ii(n,h))(u,i,!c,r,!i||ei.test(n)&&kt(i.parentNode)||i),r},f.sortStable=e.split("").sort(ri).join("")===e,f.detectDuplicates=!!ut,b(),f.sortDetached=a(function(n){return 1&n.compareDocumentPosition(i.createElement("div"))}),a(function(n){return n.innerHTML="<a href='#'><\/a>","#"===n.firstChild.getAttribute("href")})||bt("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||bt("value",function(n,t,i){if(!i&&"input"===n.nodeName.toLowerCase())return n.defaultValue}),a(function(n){return null==n.getAttribute("disabled")})||bt(ui,function(n,t,i){var r;if(!i)return!0===n[t]?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=b;i.expr=b.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=b.uniqueSort;i.text=b.getText;i.isXMLDoc=b.isXML;i.contains=b.contains;var nt=function(n,t,r){for(var u=[],f=void 0!==r;(n=n[t])&&9!==n.nodeType;)if(1===n.nodeType){if(f&&i(n).is(r))break;u.push(n)}return u},kr=function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i},dr=i.expr.match.needsContext,gr=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,te=/^.[^:#\[\.,]*$/;i.filter=function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),1===t.length&&1===u.nodeType?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))};i.fn.extend({find:function(n){var t,u=this.length,r=[],f=this;if("string"!=typeof n)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(ti(this,n||[],!1))},not:function(n){return this.pushStack(ti(this,n||[],!0))},is:function(n){return!!ti(this,"string"==typeof n&&dr.test(n)?i(n):n||[],!1).length}});tu=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(i.fn.init=function(n,t,r){var f,e;if(!n)return this;if(r=r||nu,"string"==typeof n){if(!(f="<"===n[0]&&">"===n[n.length-1]&&n.length>=3?[null,n,null]:tu.exec(n))||!f[1]&&t)return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n);if(f[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(f[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),gr.test(f[1])&&i.isPlainObject(t))for(f in t)i.isFunction(this[f])?this[f](t[f]):this.attr(f,t[f]);return this}return e=u.getElementById(f[2]),e&&e.parentNode&&(this.length=1,this[0]=e),this.context=u,this.selector=n,this}return n.nodeType?(this.context=this[0]=n,this.length=1,this):i.isFunction(n)?void 0!==r.ready?r.ready(n):n(i):(void 0!==n.selector&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))}).prototype=i.fn;nu=i(u);iu=/^(?:parents|prev(?:Until|All))/;ru={children:!0,contents:!0,next:!0,prev:!0};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=dr.test(n)||"string"!=typeof n?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:1===r.nodeType&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?"string"==typeof n?vt.call(i(n),this[0]):vt.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.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return nt(n,"parentNode")},parentsUntil:function(n,t,i){return nt(n,"parentNode",i)},next:function(n){return di(n,"nextSibling")},prev:function(n){return di(n,"previousSibling")},nextAll:function(n){return nt(n,"nextSibling")},prevAll:function(n){return nt(n,"previousSibling")},nextUntil:function(n,t,i){return nt(n,"nextSibling",i)},prevUntil:function(n,t,i){return nt(n,"previousSibling",i)},siblings:function(n){return kr((n.parentNode||{}).firstChild,n)},children:function(n){return kr(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"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),this.length>1&&(ru[n]||i.uniqueSort(f),iu.test(n)&&f.reverse()),this.pushStack(f)}});h=/\S+/g;i.Callbacks=function(n){n="string"==typeof n?hf(n):i.extend({},n);var f,r,h,e,t=[],o=[],u=-1,c=function(){for(e=n.once,h=f=!0;o.length;u=-1)for(r=o.shift();++u<t.length;)!1===t[u].apply(r[0],r[1])&&n.stopOnFalse&&(u=t.length,r=!1);n.memory||(r=!1);f=!1;e&&(t=r?[]:"")},s={add:function(){return t&&(r&&!f&&(u=t.length-1,o.push(r)),function f(r){i.each(r,function(r,u){i.isFunction(u)?n.unique&&s.has(u)||t.push(u):u&&u.length&&"string"!==i.type(u)&&f(u)})}(arguments),r&&!f&&c()),this},remove:function(){return i.each(arguments,function(n,r){for(var f;(f=i.inArray(r,t,f))>-1;)t.splice(f,1),f<=u&&u--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return e=o=[],t=r="",this},disabled:function(){return!t},lock:function(){return e=o=[],r||(t=r=""),this},locked:function(){return!!e},fireWith:function(n,t){return e||(t=t||[],t=[n,t.slice?t.slice():t],o.push(t),f||c()),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().progress(f.notify).done(f.resolve).fail(f.reject):f[e[0]+"With"](this===r?f.promise():this,o?[n]:arguments)})});n=null}).promise()},promise:function(n){return null!=n?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[1^n][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 o,h,s,t=0,u=v.call(arguments),r=u.length,e=1!==r||n&&i.isFunction(n.promise)?r:0,f=1===e?n:i.Deferred(),c=function(n,t,i){return function(r){t[n]=this;i[n]=arguments.length>1?v.call(arguments):r;i===o?f.notifyWith(t,i):--e||f.resolveWith(t,i)}};if(r>1)for(o=new Array(r),h=new Array(r),s=new Array(r);t<r;t++)u[t]&&i.isFunction(u[t].promise)?u[t].promise().progress(c(t,h,o)).done(c(t,s,u)).fail(f.reject):--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){(!0===n?--i.readyWait:i.isReady)||(i.isReady=!0,!0!==n&&--i.readyWait>0||(pt.resolveWith(u,[i]),i.fn.triggerHandler&&(i(u).triggerHandler("ready"),i(u).off("ready"))))}});i.ready.promise=function(t){return pt||(pt=i.Deferred(),"complete"===u.readyState||"loading"!==u.readyState&&!u.documentElement.doScroll?n.setTimeout(i.ready):(u.addEventListener("DOMContentLoaded",ct),n.addEventListener("load",ct))),pt.promise(t)};i.ready.promise();a=function(n,t,r,u,f,e,o){var s=0,c=n.length,h=null==r;if("object"===i.type(r)){f=!0;for(s in r)a(n,t,s,r[s],!0,e,o)}else if(void 0!==u&&(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};tt=function(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType};ft.uid=1;ft.prototype={register:function(n,t){var i=t||{};return n.nodeType?n[this.expando]=i:Object.defineProperty(n,this.expando,{value:i,writable:!0,configurable:!0}),n[this.expando]},cache:function(n){if(!tt(n))return{};var t=n[this.expando];return t||(t={},tt(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,i){var r,u=this.cache(n);if("string"==typeof t)u[t]=i;else for(r in t)u[r]=t[r];return u},get:function(n,t){return void 0===t?this.cache(n):n[this.expando]&&n[this.expando][t]},access:function(n,t,r){var u;return void 0===t||t&&"string"==typeof t&&void 0===r?(u=this.get(n,t),void 0!==u?u:this.get(n,i.camelCase(t))):(this.set(n,t,r),void 0!==r?r:t)},remove:function(n,t){var f,r,e,u=n[this.expando];if(void 0!==u){if(void 0===t)this.register(n);else for(i.isArray(t)?r=t.concat(t.map(i.camelCase)):(e=i.camelCase(t),(t in u)?r=[t,e]:(r=e,r=(r in u)?[r]:r.match(h)||[])),f=r.length;f--;)delete u[r[f]];(void 0===t||i.isEmptyObject(u))&&(n.nodeType?n[this.expando]=void 0:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return void 0!==t&&!i.isEmptyObject(t)}};var r=new ft,e=new ft,ie=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,uu=/[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(void 0===n){if(this.length&&(s=e.get(u),1===u.nodeType&&!r.get(u,"hasDataAttrs"))){for(o=h.length;o--;)h[o]&&(f=h[o].name,0===f.indexOf("data-")&&(f=i.camelCase(f.slice(5)),gi(u,f,s[f])));r.set(u,"hasDataAttrs",!0)}return s}return"object"==typeof n?this.each(function(){e.set(this,n)}):a(this,function(t){var f,r;if(u&&void 0===t){if(void 0!==(f=e.get(u,n)||e.get(u,n.replace(uu,"-$&").toLowerCase()))||(r=i.camelCase(n),void 0!==(f=e.get(u,r)))||void 0!==(f=gi(u,r,void 0)))return f}else r=i.camelCase(n),this.each(function(){var i=e.get(this,r);e.set(this,r,t);n.indexOf("-")>-1&&void 0!==i&&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)};"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&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"string"!=typeof n&&(t=n,n="fx",r--),arguments.length<r?i.queue(this[0],n):void 0===t?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);"fx"===n&&"inprogress"!==r[0]&&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("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";s--;)(u=r.get(f[s],n+"queueHooks"))&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var fu=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,et=new RegExp("^(?:([+-])=|)("+fu+")([a-z%]*)$","i"),k=["Top","Right","Bottom","Left"],ot=function(n,t){return n=t||n,"none"===i.css(n,"display")||!i.contains(n.ownerDocument,n)},eu=/^(?:checkbox|radio)$/i,ou=/<([\w:-]+)/,su=/^$|\/(?:java|ecma)script/i,c={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,"",""]};c.optgroup=c.option;c.tbody=c.tfoot=c.colgroup=c.caption=c.thead;c.th=c.td;hu=/<|&#?\w+;/;!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}();var re=/^key/,ue=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,cu=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var v,y,w,p,b,c,s,l,o,k,d,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){if(void 0!==i&&i.event.triggered!==t.type)return i.event.dispatch.apply(n,arguments)}),t=(t||"").match(h)||[""],b=t.length;b--;)w=cu.exec(t[b])||[],o=d=w[1],k=(w[2]||"").split(".").sort(),o&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},c=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:k.join(".")},v),(l=p[o])||(l=p[o]=[],l.delegateCount=0,s.setup&&!1!==s.setup.call(n,f,k,y)||n.addEventListener&&n.addEventListener(o,y)),s.add&&(s.add.call(n,c),c.handler.guid||(c.handler.guid=u.guid)),e?l.splice(l.delegateCount++,0,c):l.push(c),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,c,v,p,s,l,a,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(t=(t||"").match(h)||[""],p=t.length;p--;)if(c=cu.exec(t[p])||[],o=d=c[1],b=(c[2]||"").split(".").sort(),o){for(l=i.event.special[o]||{},o=(f?l.delegateType:l.bindType)||o,a=v[o]||[],c=c[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=a.length;y--;)s=a[y],!e&&d!==s.origType||u&&u.guid!==s.guid||c&&!c.test(s.namespace)||f&&f!==s.selector&&("**"!==f||!s.selector)||(a.splice(y,1),s.selector&&a.delegateCount--,l.remove&&l.remove.call(n,s));k&&!a.length&&(l.teardown&&!1!==l.teardown.call(n,b,w.handle)||i.removeEvent(n,o,w.handle),delete v[o])}else for(o in v)i.event.remove(n,o+t[p],u,f,!0);i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){n=i.event.fix(n);var e,o,s,u,t,h=[],c=v.call(arguments),l=(r.get(this,"events")||{})[n.type]||[],f=i.event.special[n.type]||{};if(c[0]=n,n.delegateTarget=this,!f.preDispatch||!1!==f.preDispatch.call(this,n)){for(h=i.event.handlers.call(this,n,l),e=0;(u=h[e++])&&!n.isPropagationStopped();)for(n.currentTarget=u.elem,o=0;(t=u.handlers[o++])&&!n.isImmediatePropagationStopped();)n.rnamespace&&!n.rnamespace.test(t.namespace)||(n.handleObj=t,n.data=t.data,void 0!==(s=((i.event.special[t.origType]||{}).handle||t.handler).apply(u.elem,c))&&!1===(n.result=s)&&(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&&("click"!==n.type||isNaN(n.button)||n.button<1))for(;r!==this;r=r.parentNode||this)if(1===r.nodeType&&(!0!==r.disabled||"click"!==n.type)){for(u=[],e=0;e<s;e++)o=t[e],f=o.selector+" ",void 0===u[f]&&(u[f]=o.needsContext?i(f,this).index(r)>-1: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 detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return null==n.which&&(n.which=null!=t.charCode?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 null==n.pageX&&null!=t.clientX&&(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||void 0===f||(n.which=1&f?1:2&f?3:4&f?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=ue.test(r)?this.mouseHooks:re.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),3===n.target.nodeType&&(n.target=n.target.parentNode),t.filter?t.filter(n,s):n},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ir()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===ir()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&i.nodeName(this,"input"))return this.click(),!1},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){void 0!==n.result&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};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||void 0===n.defaultPrevented&&!1===n.returnValue?lt:d):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||i.now();this[i.expando]=!0};i.Event.prototype={constructor:i.Event,isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=lt;n&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=lt;n&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=lt;n&&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}}});i.fn.extend({on:function(n,t,i,r){return ri(this,n,t,i,r)},one:function(n,t,i,r){return ri(this,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("object"==typeof n){for(f in n)this.off(f,t,n[f]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=d),this.each(function(){i.event.remove(this,n,r,t)})}});var fe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ee=/<script|<style|<link/i,oe=/checked\s*(?:[^=]|=\s*.checked.)/i,se=/^true\/(.*)/,he=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n.replace(fe,"<$1><\/$2>")},clone:function(n,t,r){var u,c,s,e,h=n.cloneNode(!0),l=i.contains(n.ownerDocument,n);if(!(f.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(e=o(h),s=o(n),u=0,c=s.length;u<c;u++)af(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++)ur(s[u],e[u]);else ur(n,h);return e=o(h,"script"),e.length>0&&ii(e,!l&&o(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,o=0;void 0!==(t=n[o]);o++)if(tt(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=void 0}t[e.expando]&&(t[e.expando]=void 0)}}});i.fn.extend({domManip:y,detach:function(n){return fr(this,n,!0)},remove:function(n){return fr(this,n)},text:function(n){return a(this,function(n){return void 0===n?i.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=n)})},null,n,arguments.length)},append:function(){return y(this,arguments,function(n){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&rr(this,n).appendChild(n)})},prepend:function(){return y(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=rr(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return y(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return y(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;null!=(n=this[t]);t++)1===n.nodeType&&(i.cleanData(o(n,!1)),n.textContent="");return this},clone:function(n,t){return n=null!=n&&n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return a(this,function(n){var t=this[0]||{},r=0,u=this.length;if(void 0===n&&1===t.nodeType)return t.innerHTML;if("string"==typeof n&&!ee.test(n)&&!c[(ou.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)t=this[r]||{},1===t.nodeType&&(i.cleanData(o(t,!1)),t.innerHTML=n);t=0}catch(n){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return y(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(o(this)),r&&r.replaceChild(t,this))},n)}});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),si.apply(f,u.get());return this.pushStack(f)}});var wt,lu={HTML:"block",BODY:"block"},au=/^margin/,ci=new RegExp("^("+fu+")(?!px)[a-z%]+$","i"),bt=function(t){var i=t.ownerDocument.defaultView;return i.opener||(i=n),i.getComputedStyle(t)},li=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},st=u.documentElement;!function(){function o(){t.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";t.innerHTML="";st.appendChild(r);var i=n.getComputedStyle(t);s="1%"!==i.top;c="2px"===i.marginLeft;e="4px"===i.width;t.style.marginRight="50%";h="4px"===i.marginRight;st.removeChild(r)}var s,e,h,c,r=u.createElement("div"),t=u.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===t.style.backgroundClip,r.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",r.appendChild(t),i.extend(f,{pixelPosition:function(){return o(),s},boxSizingReliable:function(){return null==e&&o(),e},pixelMarginRight:function(){return null==e&&o(),h},reliableMarginLeft:function(){return null==e&&o(),c},reliableMarginRight:function(){var f,i=t.appendChild(u.createElement("div"));return i.style.cssText=t.style.cssText="-webkit-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",st.appendChild(r),f=!parseFloat(n.getComputedStyle(i).marginRight),st.removeChild(r),t.removeChild(i),f}}))}();var ce=/^(none|table(?!-c[ea]).+)/,le={position:"absolute",visibility:"hidden",display:"block"},vu={letterSpacing:"0",fontWeight:"400"},yu=["Webkit","O","Moz","ms"],pu=u.createElement("div").style;i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=g(n,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,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&&3!==n.nodeType&&8!==n.nodeType&&n.style){var e,h,o,s=i.camelCase(t),c=n.style;if(t=i.cssProps[s]||(i.cssProps[s]=or(s)||s),o=i.cssHooks[t]||i.cssHooks[s],void 0===r)return o&&"get"in o&&void 0!==(e=o.get(n,!1,u))?e:c[t];h=typeof r;"string"===h&&(e=et.exec(r))&&e[1]&&(r=nr(n,t,e),h="number");null!=r&&r===r&&("number"===h&&(r+=e&&e[3]||(i.cssNumber[s]?"":"px")),f.clearCloneStyle||""!==r||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(r=o.set(n,r,u))||(c[t]=r))}},css:function(n,t,r,u){var f,s,o,e=i.camelCase(t);return t=i.cssProps[e]||(i.cssProps[e]=or(e)||e),o=i.cssHooks[t]||i.cssHooks[e],o&&"get"in o&&(f=o.get(n,!0,r)),void 0===f&&(f=g(n,t,u)),"normal"===f&&t in vu&&(f=vu[t]),""===r||r?(s=parseFloat(f),!0===r||isFinite(s)?s||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return ce.test(i.css(n,"display"))&&0===n.offsetWidth?li(n,le,function(){return cr(n,t,u)}):cr(n,t,u)},set:function(n,r,u){var f,e=u&&bt(n),o=u&&hr(n,t,u,"border-box"===i.css(n,"boxSizing",!1,e),e);return o&&(f=et.exec(r))&&"px"!==(f[3]||"px")&&(n.style[t]=r,r=i.css(n,t)),sr(n,r,o)}}});i.cssHooks.marginLeft=fi(f.reliableMarginLeft,function(n,t){if(t)return(parseFloat(g(n,"marginLeft"))||n.getBoundingClientRect().left-li(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.cssHooks.marginRight=fi(f.reliableMarginRight,function(n,t){if(t)return li(n,{display:"inline-block"},g,[n,"marginRight"])});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u="string"==typeof i?i.split(" "):[i];r<4;r++)f[n+k[r]+t]=u[r]||u[r-2]||u[0];return f}};au.test(n)||(i.cssHooks[n+t].set=sr)});i.fn.extend({css:function(n,t){return a(this,function(n,t,r){var f,e,o={},u=0;if(i.isArray(t)){for(f=bt(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return void 0!==r?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)},show:function(){return lr(this,!0)},hide:function(){return lr(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){ot(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||i.easing._default;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 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),t&&"auto"!==t?t:0)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):1!==n.elem.nodeType||null==n.elem.style[i.cssProps[n.prop]]&&!i.cssHooks[n.prop]?n.elem[n.prop]=n.now:i.style(n.elem,n.prop,n.now+n.unit)}}};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},_default:"swing"};i.fx=s.prototype.init;i.fx.step={};wu=/^(?:toggle|show|hide)$/;bu=/queueHooks$/;i.Animation=i.extend(l,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return nr(i.elem,n,et.exec(t),i),i}]},tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.match(h);for(var r,u=0,f=n.length;u<f;u++)r=n[u],l.tweeners[r]=l.tweeners[r]||[],l.tweeners[r].unshift(t)},prefilters:[vf],prefilter:function(n,t){t?l.prefilters.unshift(n):l.prefilters.push(n)}});i.speed=function(n,t,r){var u=n&&"object"==typeof n?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:"number"==typeof u.duration?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,null!=u.queue&&!0!==u.queue||(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(ot).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=l(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||!1===o.queue?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"string"!=typeof n&&(u=t,t=n,n=void 0),t&&!1!==n&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=null!=n&&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&&bu.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem!==this||null!=n&&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!1!==n&&(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 null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(at(t,!0),n,i,u)}});i.each({slideDown:at("show"),slideUp:at("hide"),slideToggle:at("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(it=i.now();n<t.length;n++)(r=t[n])()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();it=void 0};i.fx.timer=function(n){i.timers.push(n);n()?i.fx.start():i.timers.pop()};i.fx.interval=13;i.fx.start=function(){kt||(kt=n.setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){n.clearInterval(kt);kt=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx?i.fx.speeds[t]||t:t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})},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="t"===n.value}();rt=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return a(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(3!==e&&8!==e&&2!==e)return void 0===n.getAttribute?i.prop(n,t,r):(1===e&&i.isXMLDoc(n)||(t=t.toLowerCase(),f=i.attrHooks[t]||(i.expr.match.bool.test(t)?ku:void 0)),void 0!==r?null===r?void i.removeAttr(n,t):f&&"set"in f&&void 0!==(u=f.set(n,r,t))?u:(n.setAttribute(t,r+""),r):f&&"get"in f&&null!==(u=f.get(n,t))?u:(u=i.find.attr(n,t),null==u?void 0:u))},attrHooks:{type:{set:function(n,t){if(!f.radioValue&&"radio"===t&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(h);if(f&&1===n.nodeType)for(;r=f[e++];)u=i.propFix[r]||r,i.expr.match.bool.test(r)&&(n[u]=!1),n.removeAttribute(r)}});ku={set:function(n,t,r){return!1===t?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=rt[t]||i.find.attr;rt[t]=function(n,t,i){var u,f;return i||(f=rt[t],rt[t]=u,u=null!=r(n,t,i)?t.toLowerCase():null,rt[t]=f),u}});du=/^(?:input|select|textarea|button)$/i;gu=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return a(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return 1===e&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),void 0!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:n[t]=r:u&&"get"in u&&null!==(f=u.get(n,t))?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):du.test(n.nodeName)||gu.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});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});dt=/[\t\r\n\f]/g;i.fn.extend({addClass:function(n){var o,t,r,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,p(this)))});if("string"==typeof n&&n)for(o=n.match(h)||[];t=this[c++];)if(u=p(t),r=1===t.nodeType&&(" "+u+" ").replace(dt," ")){for(s=0;f=o[s++];)r.indexOf(" "+f+" ")<0&&(r+=f+" ");e=i.trim(r);u!==e&&t.setAttribute("class",e)}return this},removeClass:function(n){var o,r,t,u,f,s,e,c=0;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,p(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof n&&n)for(o=n.match(h)||[];r=this[c++];)if(u=p(r),t=1===r.nodeType&&(" "+u+" ").replace(dt," ")){for(s=0;f=o[s++];)for(;t.indexOf(" "+f+" ")>-1;)t=t.replace(" "+f+" "," ");e=i.trim(t);u!==e&&r.setAttribute("class",e)}return this},toggleClass:function(n,t){var u=typeof n;return"boolean"==typeof t&&"string"===u?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,p(this),t),t)}):this.each(function(){var t,e,f,o;if("string"===u)for(e=0,f=i(this),o=n.match(h)||[];t=o[e++];)f.hasClass(t)?f.removeClass(t):f.addClass(t);else void 0!==n&&"boolean"!==u||(t=p(this),t&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===n?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(1===t.nodeType&&(" "+p(t)+" ").replace(dt," ").indexOf(i)>-1)return!0;return!1}});nf=/\r/g;i.fn.extend({val:function(n){var r,t,f,u=this[0];return arguments.length?(f=i.isFunction(n),this.each(function(t){var u;1===this.nodeType&&(u=f?n.call(this,t,i(this).val()):n,null==u?u="":"number"==typeof u?u+="":i.isArray(u)&&(u=i.map(u,function(n){return null==n?"":n+""})),(r=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,u,"value")||(this.value=u))})):u?(r=i.valHooks[u.type]||i.valHooks[u.nodeName.toLowerCase()])&&"get"in r&&void 0!==(t=r.get(u,"value"))?t:(t=u.value,"string"==typeof t?t.replace(nf,""):null==t?"":t):void 0}});i.extend({valHooks:{option:{get:function(n){return i.trim(n.value)}},select:{get:function(n){for(var o,t,s=n.options,r=n.selectedIndex,u="select-one"===n.type||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:null===t.getAttribute("disabled"))&&(!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(i.valHooks.option.get(r),e)>-1)&&(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)>-1}};f.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});ai=/^(?:focusinfocus|focusoutblur)$/;i.extend(i.event,{trigger:function(t,f,e,o){var w,s,c,b,a,v,l,p=[e||u],h=hi.call(t,"type")?t.type:t,y=hi.call(t,"namespace")?t.namespace.split("."):[];if(s=c=e=e||u,3!==e.nodeType&&8!==e.nodeType&&!ai.test(h+i.event.triggered)&&(h.indexOf(".")>-1&&(y=h.split("."),h=y.shift(),y.sort()),a=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=e),f=null==f?[t]:i.makeArray(f,[t]),l=i.event.special[h]||{},o||!l.trigger||!1!==l.trigger.apply(e,f))){if(!o&&!l.noBubble&&!i.isWindow(e)){for(b=l.delegateType||h,ai.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.apply&&tt(s)&&(t.result=v.apply(s,f),!1===t.result&&t.preventDefault());return t.type=h,o||t.isDefaultPrevented()||l._default&&!1!==l._default.apply(p.pop(),f)||!tt(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=void 0,c&&(e[a]=c)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t);u.isDefaultPrevented()&&r.preventDefault()}});i.fn.extend({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)}});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)}});f.focusin="onfocusin"in n;f.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};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))}}});var ht=n.location,vi=i.now(),yi=/\?/;i.parseJSON=function(n){return JSON.parse(n+"")};i.parseXML=function(t){var r;if(!t||"string"!=typeof t)return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(n){r=void 0}return r&&!r.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+t),r};var ae=/#.*$/,tf=/([?&])_=[^&]*/,ve=/^(.*?):[ \t]*([^\r\n]*)$/gm,ye=/^(?:GET|HEAD)$/,pe=/^\/\//,rf={},pi={},uf="*/".concat("*"),wi=u.createElement("a");wi.href=ht.href;i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ht.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ht.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":uf,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},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?ei(ei(n,i.ajaxSettings),t):ei(i.ajaxSettings,n)},ajaxPrefilter:yr(rf),ajaxTransport:yr(pi),ajax:function(t,r){function p(t,r,u,h){var a,rt,w,p,it,l=r;2!==s&&(s=2,d&&n.clearTimeout(d),v=void 0,k=h||"",e.readyState=t>0?4:0,a=t>=200&&t<300||304===t,u&&(p=pf(f,e,u)),p=wf(f,p,e,a),a?(f.ifModified&&(it=e.getResponseHeader("Last-Modified"),it&&(i.lastModified[o]=it),(it=e.getResponseHeader("etag"))&&(i.etag[o]=it)),204===t||"HEAD"===f.type?l="nocontent":304===t?l="notmodified":(l=p.state,rt=p.data,w=p.error,a=!w)):(w=l,!t&&l||(l="error",t<0&&(t=0))),e.status=t,e.statusText=(r||l)+"",a?nt.resolveWith(c,[rt,l,e]):nt.rejectWith(c,[e,l,w]),e.statusCode(b),b=void 0,y&&g.trigger(a?"ajaxSuccess":"ajaxError",[e,f,a?rt:w]),tt.fireWith(c,[e,l]),y&&(g.trigger("ajaxComplete",[e,f]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof t&&(r=t,t=void 0);r=r||{};var v,o,k,w,d,l,y,a,f=i.ajaxSetup({},r),c=f.context||f,g=f.context&&(c.nodeType||c.jquery)?i(c):i.event,nt=i.Deferred(),tt=i.Callbacks("once memory"),b=f.statusCode||{},it={},rt={},s=0,ut="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(2===s){if(!w)for(w={};t=ve.exec(k);)w[t[1].toLowerCase()]=t[2];t=w[n.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===s?k:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return s||(n=rt[i]=rt[i]||n,it[n]=t),this},overrideMimeType:function(n){return s||(f.mimeType=n),this},statusCode:function(n){var t;if(n)if(s<2)for(t in n)b[t]=[b[t],n[t]];else e.always(n[e.status]);return this},abort:function(n){var t=n||ut;return v&&v.abort(t),p(0,t),this}};if(nt.promise(e).complete=tt.add,e.success=e.done,e.error=e.fail,f.url=((t||f.url||ht.href)+"").replace(ae,"").replace(pe,ht.protocol+"//"),f.type=r.method||r.type||f.method||f.type,f.dataTypes=i.trim(f.dataType||"*").toLowerCase().match(h)||[""],null==f.crossDomain){l=u.createElement("a");try{l.href=f.url;l.href=l.href;f.crossDomain=wi.protocol+"//"+wi.host!=l.protocol+"//"+l.host}catch(n){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=i.param(f.data,f.traditional)),pr(rf,f,r,e),2===s)return e;y=i.event&&f.global;y&&0==i.active++&&i.event.trigger("ajaxStart");f.type=f.type.toUpperCase();f.hasContent=!ye.test(f.type);o=f.url;f.hasContent||(f.data&&(o=f.url+=(yi.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(f.url=tf.test(o)?o.replace(tf,"$1_="+vi++):o+(yi.test(o)?"&":"?")+"_="+vi++));f.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o]));(f.data&&f.hasContent&&!1!==f.contentType||r.contentType)&&e.setRequestHeader("Content-Type",f.contentType);e.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+uf+"; q=0.01":""):f.accepts["*"]);for(a in f.headers)e.setRequestHeader(a,f.headers[a]);if(f.beforeSend&&(!1===f.beforeSend.call(c,e,f)||2===s))return e.abort();ut="abort";for(a in{success:1,error:1,complete:1})e[a](f[a]);if(v=pr(pi,f,r,e)){if(e.readyState=1,y&&g.trigger("ajaxSend",[e,f]),2===s)return e;f.async&&f.timeout>0&&(d=n.setTimeout(function(){e.abort("timeout")},f.timeout));try{s=1;v.send(it,p)}catch(n){if(!(s<2))throw n;p(-1,n)}}else p(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,void 0,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=void 0),i.ajax(i.extend({url:n,type:t,dataType:f,data:r,success:u},i.isPlainObject(n)&&n))}});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!i.expr.filters.visible(n)};i.expr.filters.visible=function(n){return n.offsetWidth>0||n.offsetHeight>0||n.getClientRects().length>0};var we=/%20/g,be=/\[\]$/,ff=/\r?\n/g,ke=/^(?:submit|button|image|reset|file)$/i,de=/^(?:input|select|textarea|keygen)/i;return i.param=function(n,t){var r,u=[],f=function(n,t){t=i.isFunction(t)?t():null==t?"":t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(void 0===t&&(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)oi(r,n[r],t,f);return u.join("&").replace(we,"+")},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")&&de.test(this.nodeName)&&!ke.test(n)&&(this.checked||!eu.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(ff,"\r\n")}}):{name:t.name,value:r.replace(ff,"\r\n")}}).get()}}),i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(n){}},ef={0:200,1223:204},ut=i.ajaxSettings.xhr(),f.cors=!!ut&&"withCredentials"in ut,f.ajax=ut=!!ut,i.ajaxTransport(function(t){var i,r;if(f.cors||ut&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType);t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest");for(o in u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.onreadystatechange=null,"abort"===n?e.abort():"error"===n?"number"!=typeof e.status?f(0,"error"):f(e.status,e.statusText):f(ef[e.status]||e.status,e.statusText,"text"!==(e.responseType||"text")||"string"!=typeof e.responseText?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=i("error");void 0!==e.onabort?e.onabort=r:e.onreadystatechange=function(){4===e.readyState&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(n){if(i)throw n;}},abort:function(){i&&i()}}}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){void 0===n.cache&&(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({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e("error"===n.type?404:200,n.type)});u.head.appendChild(r[0])},abort:function(){t&&t()}}}}),bi=[],gt=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=bi.pop()||i.expando+"_"+vi++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,e,o,s=!1!==t.jsonp&&(gt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&gt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(gt,"$1"+f):!1!==t.jsonp&&(t.url+=(yi.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return o||i.error(f+" was not called"),o[0]},t.dataTypes[0]="json",e=n[f],n[f]=function(){o=arguments},u.always(function(){void 0===e?i(n).removeProp(f):n[f]=e;t[f]&&(t.jsonpCallback=r.jsonpCallback,bi.push(f));o&&i.isFunction(e)&&e(o[0]);o=e=void 0}),"script"}),f.createHTMLDocument=function(){var n=u.implementation.createHTMLDocument("").body;return n.innerHTML="<form><\/form><form><\/form>",2===n.childNodes.length}(),i.parseHTML=function(n,t,r){if(!n||"string"!=typeof n)return null;"boolean"==typeof t&&(r=t,t=!1);t=t||(f.createHTMLDocument?u.implementation.createHTMLDocument(""):u);var e=gr.exec(n),o=!r&&[];return e?[t.createElement(e[1])]:(e=tr([n],t,o),o&&o.length&&i(o).remove(),i.merge([],e.childNodes))},ki=i.fn.load,i.fn.load=function(n,t,r){if("string"!=typeof n&&ki)return ki.apply(this,arguments);var f,o,s,u=this,e=n.indexOf(" ");return e>-1&&(f=i.trim(n.slice(e)),n=n.slice(0,e)),i.isFunction(t)?(r=t,t=void 0):t&&"object"==typeof t&&(o="POST"),u.length>0&&i.ajax({url:n,type:o||"GET",dataType:"html",data:t}).done(function(n){s=arguments;u.html(f?i("<div>").append(i.parseHTML(n)).find(f):n)}).always(r&&function(n,t){u.each(function(){r.apply(u,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},i.offset={setOffset:function(n,t,r){var e,o,s,h,u,c,v,l=i.css(n,"position"),a=i(n),f={};"static"===l&&(n.style.position="relative");u=a.offset();s=i.css(n,"top");c=i.css(n,"left");v=("absolute"===l||"fixed"===l)&&(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,i.extend({},u)));null!=t.top&&(f.top=t.top-u.top+h);null!=t.left&&(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 void 0===n?this:this.each(function(t){i.offset.setOffset(this,n,t)});var t,f,r=this[0],u={top:0,left:0},e=r&&r.ownerDocument;if(e)return t=e.documentElement,i.contains(t,r)?(u=r.getBoundingClientRect(),f=wr(e),{top:u.top+f.pageYOffset-t.clientTop,left:u.left+f.pageXOffset-t.clientLeft}):u},position:function(){if(this[0]){var n,r,u=this[0],t={top:0,left:0};return"fixed"===i.css(u,"position")?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)-n.scrollTop(),t.left+=i.css(n[0],"borderLeftWidth",!0)-n.scrollLeft()),{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;n&&"static"===i.css(n,"position");)n=n.offsetParent;return n||st})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return a(this,function(n,i,u){var f=wr(n);if(void 0===u)return f?f[t]:n[i];f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u},n,i,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=fi(f.pixelPosition,function(n,r){if(r)return r=g(n,t),ci.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||"boolean"!=typeof u),o=r||(!0===u||!0===f?"margin":"border");return a(this,function(t,r,u){var f;return i.isWindow(t)?t.document.documentElement["client"+n]:9===t.nodeType?(f=t.documentElement,Math.max(t.body["scroll"+n],f["scroll"+n],t.body["offset"+n],f["offset"+n],f["client"+n])):void 0===u?i.css(t,r,o):i.style(t,r,u,o)},t,e?u:void 0,e,null)}})}),i.fn.extend({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 1===arguments.length?this.off(n,"**"):this.off(t,n||"**",i)},size:function(){return this.length}}),i.fn.andSelf=i.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),of=n.jQuery,sf=n.$,i.noConflict=function(t){return n.$===i&&(n.$=sf),t&&n.jQuery===i&&(n.jQuery=of),i},t||(n.jQuery=n.$=i),i}),!function(n){"use strict";function l(n,t){return t=t||Error,function(){var f,i,e=arguments[0],o=arguments[1],r="["+(n?n+":":"")+e+"] ",u=ai(arguments,2).map(function(n){return hs(n,fo.objectMaxDepth)});for(r+=o.replace(/\{\d+\}/g,function(n){var t=+n.slice(1,-1);return t<u.length?u[t]:n}),r+="\nhttp://errors.angularjs.org/1.6.4/"+(n?n+"/":"")+e,i=0,f="?";i<u.length;i++,f="&")r+=f+"p"+i+"="+encodeURIComponent(u[i]);return new t(r)}}function ea(n){if(!s(n))return fo;r(n.objectMaxDepth)&&(fo.objectMaxDepth=cf(n.objectMaxDepth)?n.objectMaxDepth:NaN)}function cf(n){return d(n)&&n>0}function gt(n){if(null==n||er(n))return!1;if(c(n)||h(n)||f&&n instanceof f)return!0;var t="length"in Object(n)&&n.length;return d(t)&&(t>=0&&(t-1 in n||n instanceof Array)||"function"==typeof n.item)}function t(n,i,r){var u,f,o;if(n)if(e(n))for(u in n)"prototype"!==u&&"length"!==u&&"name"!==u&&n.hasOwnProperty(u)&&i.call(r,n[u],u,n);else if(c(n)||gt(n))for(o="object"!=typeof n,u=0,f=n.length;u<f;u++)(o||u in n)&&i.call(r,n[u],u,n);else if(n.forEach&&n.forEach!==t)n.forEach(i,r,n);else if(ns(n))for(u in n)i.call(r,n[u],u,n);else if("function"==typeof n.hasOwnProperty)for(u in n)n.hasOwnProperty(u)&&i.call(r,n[u],u,n);else for(u in n)pt.call(n,u)&&i.call(r,n[u],u,n);return n}function bo(n,t,i){for(var r=Object.keys(n).sort(),u=0;u<r.length;u++)t.call(i,n[r[u]],r[u]);return r}function ko(n){return function(t,i){n(i,t)}}function fu(){return++gw}function go(n,t){t?n.$$hashKey=t:delete n.$$hashKey}function lf(n,t,i){for(var f,u,r,a=n.$$hashKey,o=0,v=t.length;o<v;++o)if(f=t[o],s(f)||e(f))for(var l=Object.keys(f),h=0,y=l.length;h<y;h++)u=l[h],r=f[u],i&&s(r)?rt(r)?n[u]=new Date(r.valueOf()):fr(r)?n[u]=new RegExp(r):r.nodeName?n[u]=r.cloneNode(!0):yf(r)?n[u]=r.clone():(s(n[u])||(n[u]=c(r)?[]:{}),lf(n[u],[r],!0)):n[u]=r;return go(n,a),n}function v(n){return lf(n,di.call(arguments,1),!1)}function oa(n){return lf(n,di.call(arguments,1),!0)}function tt(n){return parseInt(n,10)}function af(n,t){return v(Object.create(n),t)}function o(){}function ur(n){return n}function ot(n){return function(){return n}}function vf(n){return e(n.toString)&&n.toString!==ut}function u(n){return void 0===n}function r(n){return void 0!==n}function s(n){return null!==n&&"object"==typeof n}function ns(n){return null!==n&&"object"==typeof n&&!yc(n)}function h(n){return"string"==typeof n}function d(n){return"number"==typeof n}function rt(n){return"[object Date]"===ut.call(n)}function e(n){return"function"==typeof n}function fr(n){return"[object RegExp]"===ut.call(n)}function er(n){return n&&n.window===n}function or(n){return n&&n.$evalAsync&&n.$watch}function sa(n){return"[object File]"===ut.call(n)}function ha(n){return"[object FormData]"===ut.call(n)}function ca(n){return"[object Blob]"===ut.call(n)}function ni(n){return"boolean"==typeof n}function eu(n){return n&&e(n.then)}function la(n){return n&&d(n.length)&&nb.test(ut.call(n))}function aa(n){return"[object ArrayBuffer]"===ut.call(n)}function yf(n){return!(!n||!(n.nodeName||n.prop&&n.attr&&n.find))}function va(n){for(var i={},r=n.split(","),t=0;t<r.length;t++)i[r[t]]=!0;return i}function lt(n){return a(n.nodeName||n[0]&&n[0].nodeName)}function pf(n,t){return-1!==Array.prototype.indexOf.call(n,t)}function sr(n,t){var i=n.indexOf(t);return i>=0&&n.splice(i,1),i}function ti(n,i,r){function h(n,t,i){var r,e,f,o;if(--i<0)return"...";if(e=t.$$hashKey,c(n))for(f=0,o=n.length;f<o;f++)t.push(u(n[f],i));else if(ns(n))for(r in n)t[r]=u(n[r],i);else if(n&&"function"==typeof n.hasOwnProperty)for(r in n)n.hasOwnProperty(r)&&(t[r]=u(n[r],i));else for(r in n)pt.call(n,r)&&(t[r]=u(n[r],i));return go(t,e),t}function u(n,t){var r,u,i;if(!s(n))return n;if(r=f.indexOf(n),-1!==r)return o[r];if(er(n)||or(n))throw si("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");return u=!1,i=l(n),void 0===i&&(i=c(n)?[]:Object.create(yc(n)),u=!0),f.push(n),o.push(i),u?h(n,i,t):i}function l(n){var t,i;switch(ut.call(n)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new n.constructor(u(n.buffer),n.byteOffset,n.length);case"[object ArrayBuffer]":return n.slice?n.slice(0):(t=new ArrayBuffer(n.byteLength),new Uint8Array(t).set(new Uint8Array(n)),t);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new n.constructor(n.valueOf());case"[object RegExp]":return i=new RegExp(n.source,n.toString().match(/[^\/]*$/)[0]),i.lastIndex=n.lastIndex,i;case"[object Blob]":return new n.constructor([n],{type:n.type})}if(e(n.cloneNode))return n.cloneNode(!0)}var f=[],o=[];if(r=cf(r)?r:NaN,i){if(la(i)||aa(i))throw si("cpta","Can't copy! TypedArray destination cannot be mutated.");if(n===i)throw si("cpi","Can't copy! Source and destination are identical.");return c(i)?i.length=0:t(i,function(n,t){"$$hashKey"!==t&&delete i[t]}),f.push(n),o.push(i),h(n,i,r)}return u(n,r)}function wf(n,t){return n===t||n!==n&&t!==t}function st(n,t){if(n===t)return!0;if(null===n||null===t)return!1;if(n!==n&&t!==t)return!0;var f,i,u,o=typeof n,s=typeof t;if(o===s&&"object"===o){if(!c(n)){if(rt(n))return!!rt(t)&&wf(n.getTime(),t.getTime());if(fr(n))return!!fr(t)&&n.toString()===t.toString();if(or(n)||or(t)||er(n)||er(t)||c(t)||rt(t)||fr(t))return!1;u=p();for(i in n)if("$"!==i.charAt(0)&&!e(n[i])){if(!st(n[i],t[i]))return!1;u[i]=!0}for(i in t)if(!(i in u)&&"$"!==i.charAt(0)&&r(t[i])&&!e(t[i]))return!1;return!0}if(!c(t))return!1;if((f=n.length)===t.length){for(i=0;i<f;i++)if(!st(n[i],t[i]))return!1;return!0}}return!1}function hr(n,t,i){return n.concat(di.call(t,i))}function ai(n,t){return di.call(n,t||0)}function cr(n,t){var i=arguments.length>2?ai(arguments,2):[];return!e(t)||t instanceof RegExp?t:i.length?function(){return arguments.length?t.apply(n,hr(i,arguments,0)):t.apply(n,i)}:function(){return arguments.length?t.apply(n,arguments):t.call(n)}}function ts(t,i){var r=i;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:er(i)?r="$WINDOW":i&&n.document===i?r="$DOCUMENT":or(i)&&(r="$SCOPE"),r}function lr(n,t){if(!u(n))return d(t)||(t=t?2:null),JSON.stringify(n,ts,t)}function is(n){return h(n)?JSON.parse(n):n}function rs(n,t){n=n.replace(tb,"");var i=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return it(i)?t:i}function ya(n,t){return n=new Date(n.getTime()),n.setMinutes(n.getMinutes()+t),n}function bf(n,t,i){i=i?-1:1;var r=n.getTimezoneOffset();return ya(n,i*(rs(t,r)-r))}function at(n){n=f(n).clone();try{n.empty()}catch(n){}var t=f("<div>").append(n).html();try{return n[0].nodeType===ri?a(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(n,t){return"<"+a(t)})}catch(n){return a(t)}}function us(n){try{return decodeURIComponent(n)}catch(n){}}function fs(n){var i={};return t((n||"").split("&"),function(n){var f,t,u;n&&(t=n=n.replace(/\+/g,"%20"),f=n.indexOf("="),-1!==f&&(t=n.substring(0,f),u=n.substring(f+1)),t=us(t),r(t)&&(u=!r(u)||us(u),pt.call(i,t)?c(i[t])?i[t].push(u):i[t]=[i[t],u]:i[t]=u))}),i}function kf(n){var i=[];return t(n,function(n,r){c(n)?t(n,function(n){i.push(et(r,!0)+(!0===n?"":"="+et(n,!0)))}):i.push(et(r,!0)+(!0===n?"":"="+et(n,!0)))}),i.length?i.join("&"):""}function ar(n){return et(n,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function et(n,t){return encodeURIComponent(n).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function pa(n,t){for(var i,u=gi.length,r=0;r<u;++r)if(i=gi[r]+t,h(i=n.getAttribute(i)))return i;return null}function wa(i,r){var u,f,e={};if(t(gi,function(n){var t=n+"app";!u&&i.hasAttribute&&i.hasAttribute(t)&&(u=i,f=i.getAttribute(t))}),t(gi,function(n){var t,r=n+"app";!u&&(t=i.querySelector("["+r.replace(":","\\:")+"]"))&&(u=t,f=t.getAttribute(r))}),u){if(!ib)return void n.console.error("Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");e.strictDi=null!==pa(u,"strict-di");r(u,f?[f]:[],e)}}function es(i,r,u){s(u)||(u={});u=v({strictDi:!1},u);var o=function(){var e,t;if(i=f(i),i.injector()){e=i[0]===n.document?"document":at(i);throw si("btstrpd","App already bootstrapped with this element '{0}'",e.replace(/</,"&lt;").replace(/>/,"&gt;"));}return r=r||[],r.unshift(["$provide",function(n){n.value("$rootElement",i)}]),u.debugInfoEnabled&&r.push(["$compileProvider",function(n){n.debugInfoEnabled(!0)}]),r.unshift("ng"),t=yr(r,u.strictDi),t.invoke(["$rootScope","$rootElement","$compile","$injector",function(n,t,i,r){n.$apply(function(){t.data("$injector",r);i(t)(n)})}]),t},h=/^NG_ENABLE_DEBUG_INFO!/,c=/^NG_DEFER_BOOTSTRAP!/;if(n&&h.test(n.name)&&(u.debugInfoEnabled=!0,n.name=n.name.replace(h,"")),n&&!c.test(n.name))return o();n.name=n.name.replace(c,"");ft.resumeBootstrap=function(n){return t(n,function(n){r.push(n)}),o()};e(ft.resumeDeferredBootstrap)&&ft.resumeDeferredBootstrap()}function ba(){n.name="NG_ENABLE_DEBUG_INFO!"+n.name;n.location.reload()}function ka(n){var t=ft.element(n).injector();if(!t)throw si("test","no injector found for element argument to getTestability");return t.get("$$testability")}function os(n,t){return t=t||"_",n.replace(rb,function(n,i){return(i?t:"")+n.toLowerCase()})}function vr(n,t,i){if(!n)throw si("areq","Argument '{0}' is {1}",t||"?",i||"required");return n}function ou(n,t,i){return i&&c(n)&&(n=n[n.length-1]),vr(e(n),t,"not a function, got "+(n&&"object"==typeof n?n.constructor.name||"Object":typeof n)),n}function vi(n,t){if("hasOwnProperty"===n)throw si("badname","hasOwnProperty is not a valid {0} name",t);}function ss(n,t,i){if(!t)return n;for(var u,f=t.split("."),o=n,s=f.length,r=0;r<s;r++)u=f[r],n&&(n=(o=n)[u]);return!i&&e(n)?cr(o,n):n}function su(n){for(var t,i=n[0],u=n[n.length-1],r=1;i!==u&&(i=i.nextSibling);r++)(t||n[r]!==i)&&(t||(t=f(di.call(n,0,r))),t.push(i));return t||n}function p(){return Object.create(null)}function df(n){if(null==n)return"";switch(typeof n){case"string":break;case"number":n=""+n;break;default:n=!vf(n)||c(n)||rt(n)?lr(n):n.toString()}return n}function da(n){function t(n,t,i){return n[t]||(n[t]=i())}var f=l("$injector"),u=l("ng"),i=t(n,"angular",Object);return i.$$minErr=i.$$minErr||l,t(i,"module",function(){var n={};return function(i,o,h){var c={};return function(n,t){if("hasOwnProperty"===n)throw u("badname","hasOwnProperty is not a valid {0} name",t);}(i,"module"),o&&n.hasOwnProperty(i)&&(n[i]=null),t(n,i,function(){function t(n,t,i,r){return r||(r=l),function(){return r[i||"push"]([n,t,arguments]),v}}function n(n,t,r){return r||(r=l),function(u,f){return f&&e(f)&&(f.$$moduleName=i),r.push([n,t,arguments]),v}}if(!o)throw f("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 l=[],a=[],y=[],p=t("$injector","invoke","push",a),v={_invokeQueue:l,_configBlocks:a,_runBlocks:y,info:function(n){if(r(n)){if(!s(n))throw u("aobj","Argument '{0}' must be an object","value");return c=n,this}return c},requires:o,name:i,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:t("$provide","value"),constant:t("$provide","constant","unshift"),decorator:n("$provide","decorator",a),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:p,run:function(n){return y.push(n),this}};return h&&p(h),v})}})}function vt(n,t){var i,u,r;if(c(n))for(t=t||[],i=0,u=n.length;i<u;i++)t[i]=n[i];else if(s(n)){t=t||{};for(r in n)"$"===r.charAt(0)&&"$"===r.charAt(1)||(t[r]=n[r])}return t||n}function ga(n,t){var i=[];return cf(t)&&(n=ti(n,null,t)),JSON.stringify(n,function(n,t){if(t=ts(n,t),s(t)){if(i.indexOf(t)>=0)return"...";i.push(t)}return t})}function hs(n,t){return"function"==typeof n?n.toString().replace(/ \{[\s\S]*$/,""):u(n)?"undefined":"string"!=typeof n?ga(n,t):n}function nv(){return++kc}function tv(n){return hu(n.replace(eb,"ms-"))}function gf(n,t){return t.toUpperCase()}function hu(n){return n.replace(fb,gf)}function ne(n){return!sb.test(n)}function te(n){var t=n.nodeType;return t===dt||!t||t===bc}function iv(n){for(var t in nr[n.ng339])return!0;return!1}function cs(n,i){var r,o,f,s,u=i.createDocumentFragment(),e=[];if(ne(n))e.push(i.createTextNode(n));else{for(r=u.appendChild(i.createElement("div")),o=(hb.exec(n)||["",""])[1].toLowerCase(),f=ht[o]||ht._default,r.innerHTML=f[1]+n.replace(cb,"<$1><\/$2>")+f[2],s=f[0];s--;)r=r.lastChild;e=hr(e,r.childNodes);r=u.firstChild;r.textContent=""}return u.textContent="",u.innerHTML="",t(e,function(n){u.appendChild(n)}),u}function rv(t,i){i=i||n.document;var r;return(r=ob.exec(t))?[i.createElement(r[1])]:(r=cs(t,i))?r.childNodes:[]}function uv(n,t){var i=n.parentNode;i&&i.replaceChild(t,n);t.appendChild(n)}function w(n){if(n instanceof w)return n;var t;if(h(n)&&(n=y(n),t=!0),!(this instanceof w)){if(t&&"<"!==n.charAt(0))throw so("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new w(n)}t?fe(this,rv(n)):e(n)?ys(n):fe(this,n)}function ie(n){return n.cloneNode(!0)}function cu(n,t){!t&&te(n)&&f.cleanData([n]);n.querySelectorAll&&f.cleanData(n.querySelectorAll("*"))}function ls(n,i,u,f){var h;if(r(f))throw so("offargs","jqLite#off() does not support the `selector` argument");var e=lu(n),o=e&&e.events,s=e&&e.handle;if(s)if(i)h=function(t){var i=o[t];r(u)&&sr(i||[],u);r(u)&&i&&i.length>0||(n.removeEventListener(t,s),delete o[t])},t(i.split(" "),function(n){h(n);rf[n]&&h(rf[n])});else for(i in o)"$destroy"!==i&&n.removeEventListener(i,s),delete o[i]}function re(n,t){var r=n.ng339,i=r&&nr[r];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),ls(n));delete nr[r];n.ng339=void 0}}function lu(n,t){var i=n.ng339,r=i&&nr[i];return t&&!r&&(n.ng339=i=nv(),r=nr[i]={events:{},data:{},handle:void 0}),r}function ue(n,t,i){if(te(n)){var f,e=r(i),o=!e&&t&&!s(t),c=!t,h=lu(n,!o),u=h&&h.data;if(e)u[hu(t)]=i;else{if(c)return u;if(o)return u&&u[hu(t)];for(f in t)u[hu(f)]=t[f]}}}function au(n,t){return!!n.getAttribute&&(" "+(n.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function vu(n,i){i&&n.setAttribute&&t(i.split(" "),function(t){n.setAttribute("class",y((" "+(n.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+y(t)+" "," ")))})}function yu(n,i){if(i&&n.setAttribute){var r=(" "+(n.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");t(i.split(" "),function(n){n=y(n);-1===r.indexOf(" "+n+" ")&&(r+=n+" ")});n.setAttribute("class",y(r))}}function fe(n,t){var i,r;if(t)if(t.nodeType)n[n.length++]=t;else if(i=t.length,"number"==typeof i&&t.window!==t){if(i)for(r=0;r<i;r++)n[n.length++]=t[r]}else n[n.length++]=t}function as(n,t){return pu(n,"$"+(t||"ngController")+"Controller")}function pu(n,t,i){var e,u,o;for(n.nodeType===bc&&(n=n.documentElement),e=c(t)?t:[t];n;){for(u=0,o=e.length;u<o;u++)if(r(i=f.data(n,e[u])))return i;n=n.parentNode||n.nodeType===oo&&n.host}}function vs(n){for(cu(n,!0);n.firstChild;)n.removeChild(n.firstChild)}function ee(n,t){t||cu(n);var i=n.parentNode;i&&i.removeChild(n)}function fv(t,i){i=i||n;"complete"===i.document.readyState?i.setTimeout(t):f(i).on("load",t)}function ys(t){function i(){n.document.removeEventListener("DOMContentLoaded",i);n.removeEventListener("load",i);t()}"complete"===n.document.readyState?n.setTimeout(t):(n.document.addEventListener("DOMContentLoaded",i),n.addEventListener("load",i))}function ps(n,t){var i=uf[t.toLowerCase()];return i&&ho[lt(n)]&&i}function ev(n){return co[n]}function ov(n,t){var i=function(i,r){var f,e,s,h,o;if(i.isDefaultPrevented=function(){return i.defaultPrevented},f=t[r||i.type],e=f?f.length:0,e)for(u(i.immediatePropagationStopped)&&(s=i.stopImmediatePropagation,i.stopImmediatePropagation=function(){i.immediatePropagationStopped=!0;i.stopPropagation&&i.stopPropagation();s&&s.call(i)}),i.isImmediatePropagationStopped=function(){return!0===i.immediatePropagationStopped},h=f.specialHandlerWrapper||sv,e>1&&(f=vt(f)),o=0;o<e;o++)i.isImmediatePropagationStopped()||h(n,i,f[o])};return i.elem=n,i}function sv(n,t,i){i.call(n,t)}function hv(n,t,i){var r=t.relatedTarget;r&&(r===n||lb.call(n,r))||i.call(n,t)}function cv(){this.$get=function(){return v(w,{hasClass:function(n,t){return n.attr&&(n=n[0]),au(n,t)},addClass:function(n,t){return n.attr&&(n=n[0]),yu(n,t)},removeClass:function(n,t){return n.attr&&(n=n[0]),vu(n,t)}})}}function yi(n,t){var r=n&&n.$$hashKey,i;return r?("function"==typeof r&&(r=n.$$hashKey()),r):(i=typeof n,"function"===i||"object"===i&&null!==n?n.$$hashKey=i+":"+(t||fu)():i+":"+n)}function ws(){this._keys=[];this._values=[];this._lastKey=NaN;this._lastIndex=-1}function bs(n){return Function.prototype.toString.call(n)}function ks(n){var t=bs(n).replace(bb,"");return t.match(vb)||t.match(yb)}function lv(n){var t=ks(n);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function av(n,i,r){var u,e,f;if("function"==typeof n){if(!(u=n.$inject)){if(u=[],n.length){if(i)throw h(r)&&r||(r=n.name||lv(n)),ci("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",r);e=ks(n);t(e[1].split(pb),function(n){n.replace(wb,function(n,t,i){u.push(i)})})}n.$inject=u}}else c(n)?(f=n.length-1,ou(n[f],"fn"),u=n.slice(0,f)):ou(n,"fn",!0);return u}function yr(n,i){function l(n){return function(i,r){if(!s(i))return n(i,r);t(i,ko(n))}}function k(n,t){if(vi(n,"service"),(e(t)||c(t))&&(t=f.instantiate(t)),!t.$get)throw ci("pget","Provider '{0}' must define $get factory method.",n);return o[n+a]=t}function rt(n,t){return function(){var i=r.invoke(t,this);if(u(i))throw ci("undef","Provider '{0}' must return a value from $get factory method.",n);return i}}function y(n,t,i){return k(n,{$get:!1!==i?rt(n,t):t})}function ut(n,t){return y(n,["$injector",function(n){return n.instantiate(t)}])}function et(n,t){return y(n,ot(t),!1)}function st(n,t){vi(n,"constant");o[n]=t;tt[n]=t}function ht(n,t){var i=f.get(n+a),u=i.$get;i.$get=function(){var n=r.invoke(u,i);return r.invoke(t,null,{$delegate:n})}}function d(n){vr(u(n)||c(n),"modulesToLoad","not an array");var i,o=[];return t(n,function(n){function t(n){for(var i,r,t=0,u=n.length;t<u;t++)i=n[t],r=f.get(i[0]),r[i[1]].apply(r,i[2])}if(!nt.get(n)){nt.set(n,!0);try{h(n)?(i=eo(n),r.modules[n]=i,o=o.concat(d(i.requires)).concat(i._runBlocks),t(i._invokeQueue),t(i._configBlocks)):e(n)?o.push(f.invoke(n)):c(n)?o.push(f.invoke(n)):ou(n,"module")}catch(i){throw c(n)&&(n=n[n.length-1]),i.message&&i.stack&&-1===i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),ci("modulerr","Failed to instantiate module {0} due to:\n{1}",n,i.stack||i.message||i);}}}),o}function g(n,t){function r(i,r){if(n.hasOwnProperty(i)){if(n[i]===w)throw ci("cdep","Circular dependency found: {0}",i+" <- "+v.join(" <- "));return n[i]}try{return v.unshift(i),n[i]=w,n[i]=t(i,r),n[i]}catch(t){throw n[i]===w&&delete n[i],t;}finally{v.shift()}}function u(n,t,u){for(var f,o=[],s=yr.$$annotate(n,i,u),e=0,h=s.length;e<h;e++){if(f=s[e],"string"!=typeof f)throw ci("itkn","Incorrect injection token! Expected service name as string, got {0}",f);o.push(t&&t.hasOwnProperty(f)?t[f]:r(f,u))}return o}function f(n){if(wt||"function"!=typeof n)return!1;var t=n.$$ngIsClass;return ni(t)||(t=n.$$ngIsClass=/^(?:class\b|constructor\()/.test(bs(n))),t}function e(n,t,i,r){"string"==typeof i&&(r=i,i=null);var e=u(n,i,r);return c(n)&&(n=n[n.length-1]),f(n)?(e.unshift(null),new(Function.prototype.bind.apply(n,e))):n.apply(t,e)}function s(n,t,i){var f=c(n)?n[n.length-1]:n,r=u(n,t,i);return r.unshift(null),new(Function.prototype.bind.apply(f,r))}return{invoke:e,instantiate:s,get:r,annotate:yr.$$annotate,has:function(t){return o.hasOwnProperty(t+a)||n.hasOwnProperty(t)}}}var it;i=!0===i;var w={},a="Provider",v=[],nt=new ff,o={$provide:{provider:l(k),factory:l(y),service:l(ut),value:l(et),constant:l(st),decorator:ht}},f=o.$injector=g(o,function(n,t){throw ft.isString(t)&&v.push(t),ci("unpr","Unknown provider: {0}",v.join(" <- "));}),tt={},b=g(tt,function(n,t){var i=f.get(n+a,t);return r.invoke(i.$get,i,void 0,n)}),r=b;return o["$injector"+a]={$get:ot(b)},r.modules=f.modules=p(),it=d(n),r=b.get("$injector"),r.strictDi=i,t(it,function(n){n&&r.invoke(n)}),r}function vv(){var n=!0;this.disableAutoScrolling=function(){n=!1};this.$get=["$window","$location","$rootScope",function(t,i,r){function s(n){var t=null;return Array.prototype.some.call(n,function(n){if("a"===lt(n))return t=n,!0}),t}function c(){var n=f.yOffset,i,r;return e(n)?n=n():yf(n)?(i=n[0],r=t.getComputedStyle(i),n="fixed"!==r.position?0:i.getBoundingClientRect().bottom):d(n)||(n=0),n}function u(n){var i,r;n?(n.scrollIntoView(),i=c(),i&&(r=n.getBoundingClientRect().top,t.scrollBy(0,r-i))):t.scrollTo(0,0)}function f(n){n=h(n)?n:d(n)?n.toString():i.hash();var t;n?(t=o.getElementById(n))?u(t):(t=s(o.getElementsByName(n)))?u(t):"top"===n&&u(null):u(null)}var o=t.document;return n&&r.$watch(function(){return i.hash()},function(n,t){n===t&&""===n||fv(function(){r.$evalAsync(f)})}),f}]}function pr(n,t){return n||t?n?t?(c(n)&&(n=n.join(" ")),c(t)&&(t=t.join(" ")),n+" "+t):n:t:""}function yv(n){for(var i,t=0;t<n.length;t++)if(i=n[t],i.nodeType===kb)return i}function pv(n){h(n)&&(n=n.split(" "));var i=p();return t(n,function(n){n.length&&(i[n]=!0)}),i}function fi(n){return s(n)?n:{}}function wv(n,i,r,e){function k(n){try{n.apply(null,ai(arguments,1))}finally{if(0==--v)for(;b.length;)try{b.pop()()}catch(n){r.error(n)}}}function ut(n){var t=n.indexOf("#");return-1===t?"":n.substr(t)}function d(){a=null;tt()}function g(){h=ht();h=u(h)?null:h;st(h,nt)&&(h=nt);nt=h;y=h}function tt(){var n=y;g();l===s.url()&&n===h||(l=s.url(),y=h,t(it,function(n){n(s.url(),h)}))}var s=this,c=n.location,p=n.history,ft=n.setTimeout,et=n.clearTimeout,w={},v,b;s.isMock=!1;v=0;b=[];s.$$completeOutstandingRequest=k;s.$$incOutstandingRequestCount=function(){v++};s.notifyWhenNoOutstandingRequests=function(n){0===v?n():b.push(n)};var h,y,l=c.href,ot=i.find("base"),a=null,ht=e.history?function(){try{return p.state}catch(n){}}:o;g();s.url=function(t,i,r){var o,f;return(u(r)&&(r=null),c!==n.location&&(c=n.location),p!==n.history&&(p=n.history),t)?(o=y===r,l===t&&(!e.history||o))?s:(f=l&&ei(l)===ei(t),l=t,y=r,!e.history||f&&o?(f||(a=t),i?c.replace(t):f?c.hash=ut(t):c.href=t,c.href!==t&&(a=t)):(p[i?"replaceState":"pushState"](r,"",t),g()),a&&(a=t),s):a||c.href.replace(/%27/g,"'")};s.state=function(){return h};var it=[],rt=!1,nt=null;s.onUrlChange=function(t){return rt||(e.history&&f(n).on("popstate",d),f(n).on("hashchange",d),rt=!0),it.push(t),t};s.$$applicationDestroyed=function(){f(n).off("hashchange popstate",d)};s.$$checkUrlChange=tt;s.baseHref=function(){var n=ot.attr("href");return n?n.replace(/^(https?:)?\/\/[^\/]*/,""):""};s.defer=function(n,t){var i;return v++,i=ft(function(){delete w[i];k(n)},t||0),w[i]=!0,i};s.defer.cancel=function(n){return!!w[n]&&(delete w[n],et(n),k(o),!0)}}function bv(){this.$get=["$window","$log","$sniffer","$document",function(n,t,i,r){return new wv(n,r,t,i)}]}function kv(){this.$get=function(){function i(t,i){function a(n){n!==o&&(r?r===n&&(r=n.n):r=n,c(n.n,n.p),c(n,o),o=n,o.n=null)}function c(n,t){n!==t&&(n&&(n.p=t),t&&(t.n=n))}if(t in n)throw l("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var s=0,y=v({},i,{id:t}),f=p(),h=i&&i.capacity||Number.MAX_VALUE,e=p(),o=null,r=null;return n[t]={put:function(n,t){if(!u(t))return h<Number.MAX_VALUE&&a(e[n]||(e[n]={key:n})),n in f||s++,f[n]=t,s>h&&this.remove(r.key),t},get:function(n){if(h<Number.MAX_VALUE){var t=e[n];if(!t)return;a(t)}return f[n]},remove:function(n){if(h<Number.MAX_VALUE){var t=e[n];if(!t)return;t===o&&(o=t.p);t===r&&(r=t.n);c(t.n,t.p);delete e[n]}n in f&&(delete f[n],s--)},removeAll:function(){f=p();s=0;e=p();o=r=null},destroy:function(){f=null;y=null;e=null;delete n[t]},info:function(){return v({},y,{size:s})}}}var n={};return i.info=function(){var i={};return t(n,function(n,t){i[t]=n.info()}),i},i.get=function(t){return n[t]},i}}function dv(){this.$get=["$cacheFactory",function(n){return n("templates")}]}function gv(){}function ds(i,l){function it(n,i,r){var f=/^\s*([@&<]|=(\*?))(\??)\s*([\w$]*)\s*$/,u=p();return t(n,function(n,t){if(n in ft)return void(u[t]=ft[n]);var e=n.match(f);if(!e)throw k("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",i,t,n,r?"controller bindings definition":"isolate scope definition");u[t]={mode:e[1][0],collection:"*"===e[2],optional:"?"===e[3],attrName:e[4]||t};e[4]&&(ft[n]=u[t])}),u}function ht(n,t){var i={isolateScope:null,bindToController:null};if(s(n.scope)&&(!0===n.bindToController?(i.bindToController=it(n.scope,t,!0),i.isolateScope={}):i.isolateScope=it(n.scope,t,!1)),s(n.bindToController)&&(i.bindToController=it(n.bindToController,t,!0)),i.bindToController&&!n.controller)throw k("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return i}function ct(n){var t=n.charAt(0);if(!t||t!==a(t))throw k("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",n);if(n!==n.trim())throw k("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",n);}function vt(n){var i=n.require||n.controller&&n.name;return!c(i)&&s(i)&&t(i,function(n,t){var r=n.match(et);n.substring(r[0].length)||(i[t]=r[0]+t)}),i}function bt(n,t){if(n&&(!h(n)||!/[EACM]/.test(n)))throw k("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",n,t);return n||"EA"}var b={},rt="Directive",kt=/^\s*directive:\s*([\w-]+)\s+(.*)$/,gt=/(([\w-]+)(?::([^;]+))?;?)/,ti=va("ngSrc,ngSrcset,src,srcset"),et=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,ii=/^(on[a-z]+|formaction)$/,ft=p(),w,g,d,nt,tt;this.directive=function n(r,u){return vr(r,"name"),vi(r,"directive"),h(r)?(ct(r),vr(u,"directiveFactory"),b.hasOwnProperty(r)||(b[r]=[],i.factory(r+rt,["$injector","$exceptionHandler",function(n,i){var u=[];return t(b[r],function(t,f){try{var o=n.invoke(t);e(o)?o={compile:ot(o)}:!o.compile&&o.link&&(o.compile=ot(o.link));o.priority=o.priority||0;o.index=f;o.name=o.name||r;o.require=vt(o);o.restrict=bt(o.restrict,r);o.$$moduleName=t.$$moduleName;u.push(o)}catch(n){i(n)}}),u}])),b[r].push(u)):t(r,ko(n)),this};this.component=function(n,i){function r(n){function r(t){return e(t)||c(t)?function(i,r){return n.invoke(t,this,{$element:i,$attrs:r})}:t}var o=i.template||i.templateUrl?i.template:"",f={controller:u,controllerAs:ny(i.controller)||i.controllerAs||"$ctrl",template:r(o),templateUrl:r(i.templateUrl),transclude:i.transclude,scope:{},bindToController:i.bindings||{},restrict:"E",require:i.require};return t(i,function(n,t){"$"===t.charAt(0)&&(f[t]=n)}),f}var u=i.controller||function(){};return t(i,function(n,t){"$"===t.charAt(0)&&(r[t]=n,e(u)&&(u[t]=n))}),r.$inject=["$injector"],this.directive(n,r)};this.aHrefSanitizationWhitelist=function(n){return r(n)?(l.aHrefSanitizationWhitelist(n),this):l.aHrefSanitizationWhitelist()};this.imgSrcSanitizationWhitelist=function(n){return r(n)?(l.imgSrcSanitizationWhitelist(n),this):l.imgSrcSanitizationWhitelist()};w=!0;this.debugInfoEnabled=function(n){return r(n)?(w=n,this):w};g=!1;this.preAssignBindingsEnabled=function(n){return r(n)?(g=n,this):g};d=10;this.onChangesTtl=function(n){return arguments.length?(d=n,this):d};nt=!0;this.commentDirectivesEnabled=function(n){return arguments.length?(nt=n,this):nt};tt=!0;this.cssClassDirectivesEnabled=function(n){return arguments.length?(tt=n,this):tt};this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(i,l,it,ft,ot,ct,vt,bt,ui,fi){function kr(){try{if(!--yr)throw oi=void 0,k("infchng","{0} $onChanges() iterations reached. Aborting!\n",d);vt.$apply(function(){for(var t=[],n=0,i=oi.length;n<i;++n)try{oi[n]()}catch(n){t.push(n)}if(oi=void 0,t.length)throw t;})}finally{yr++}}function pi(n,t){if(t)for(var r,f=Object.keys(t),i=0,u=f.length;i<u;i++)r=f[i],this[r]=t[r];else this.$attr={};this.$$element=n}function dr(n,t,i){ar.innerHTML="<span "+t+">";var u=ar.firstChild.attributes,r=u[0];u.removeNamedItem(r.name);r.value=i;n.attributes.setNamedItem(r)}function wi(n,t){try{n.addClass(t)}catch(n){}}function ei(n,t,i,r,u){var o,e;return n instanceof f||(n=f(n)),o=bi(n,t,n,i,r,u),ei.$$addScopeClass(n),e=null,function(t,i,r){var s,l;if(!n)throw k("multilink","This element has already been linked.");vr(t,"scope");u&&u.needsNewScope&&(t=t.$parent.$new());r=r||{};var h=r.parentBoundTranscludeFn,c=r.transcludeControllers,a=r.futureParentElement;if(h&&h.$$boundTransclude&&(h=h.$$boundTransclude),e||(e=nu(a)),s="html"!==e?f(gi(e,f("<div>").append(n).html())):i?tr.clone.call(n):n,c)for(l in c)s.data("$"+l+"Controller",c[l].instance);return ei.$$addScopeInfo(s,t),i&&i(s,t),o&&o(t,s,s,h),i||(n=o=null),s}}function nu(n){var t=n&&n[0];return t&&"foreignobject"!==lt(t)&&ut.call(t).match(/SVG/)?"svg":"html"}function bi(n,t,i,r,u,e){function b(n,i,r,u){var o,s,c,l,e,y,v,w,a,b;if(p)for(b=i.length,a=new Array(b),e=0;e<h.length;e+=3)v=h[e],a[v]=i[v];else a=i;for(e=0,y=h.length;e<y;)c=a[h[e++]],o=h[e++],s=h[e++],o?(o.scope?(l=n.$new(),ei.$$addScopeInfo(f(c),l)):l=n,w=o.transcludeOnThisElement?hi(n,o.transclude,u):!o.templateOnThisElement&&u?u:!u&&t?hi(n,t):null,o(s,l,c,r,w)):s&&s(n,c.childNodes,void 0,u)}for(var l,a,o,v,y,w,p,h=[],k=c(n)||n instanceof f,s=0;s<n.length;s++)l=new pi,11===wt&&tu(n,s,k),a=ki(n[s],[],l,0===s?r:void 0,u),o=a.length?rr(a,n[s],l,t,i,null,[],[],e):null,o&&o.scope&&ei.$$addScopeClass(l.$$element),y=o&&o.terminal||!(v=n[s].childNodes)||!v.length?null:bi(v,o?(o.transcludeOnThisElement||!o.templateOnThisElement)&&o.transclude:t),(o||y)&&(h.push(s,o,y),w=!0,p=p||o),e=null;return w?b:null}function tu(n,t,i){var r,u=n[t],f=u.parentNode;if(u.nodeType===ri)for(;;){if(!(r=f?u.nextSibling:n[t+1])||r.nodeType!==ri)break;u.nodeValue=u.nodeValue+r.nodeValue;r.parentNode&&r.parentNode.removeChild(r);i&&r===n[t+1]&&n.splice(t+1,1)}}function hi(n,t,i){function u(r,u,f,e,o){return r||(r=n.$new(!1,o),r.$$transcluded=!0),t(r,u,{parentBoundTranscludeFn:i,transcludeControllers:f,futureParentElement:e})}var f=u.$$slots=p();for(var r in t.$$slots)f[r]=t.$$slots[r]?hi(n,t.$$slots[r],i):null;return u}function ki(n,t,i,r,u){var c,a,o,tt=n.nodeType,it=i.$attr,d,g,nt;switch(tt){case dt:a=lt(n);li(t,yt(a),"E",r,u);for(var v,f,e,p,w,l,b=n.attributes,k=0,rt=b&&b.length;k<rt;k++)d=!1,g=!1,v=b[k],f=v.name,w=v.value,p=yt(f),l=vu.test(p),l&&(f=f.replace(nl,"").substr(8).replace(/_(.)/g,function(n,t){return t.toUpperCase()})),nt=p.match(yu),nt&&uu(nt[1])&&(d=f,g=f.substr(0,f.length-5)+"end",f=f.substr(0,f.length-6)),e=yt(f.toLowerCase()),it[e]=f,!l&&i.hasOwnProperty(e)||(i[e]=w,ps(n,e)&&(i[e]=!0)),hu(n,t,w,e,l),li(t,e,"A",r,u,d,g);if("input"===a&&"hidden"===n.getAttribute("type")&&n.setAttribute("autocomplete","off"),!au)break;if(o=n.className,s(o)&&(o=o.animVal),h(o)&&""!==o)for(;c=gt.exec(o);)e=yt(c[2]),li(t,e,"C",r,u)&&(i[e]=y(c[3])),o=o.substr(c.index+c[0].length);break;case ri:ou(t,n.nodeValue);break;case gr:if(!lu)break;iu(n,t,i,r,u)}return t.sort(eu),t}function iu(n,t,i,r,u){var f,e;try{f=kt.exec(n.nodeValue);f&&(e=yt(f[1]),li(t,e,"M",r,u)&&(i[e]=y(f[2])))}catch(n){}}function nr(n,t,i){var r=[],u=0;if(t&&n.hasAttribute&&n.hasAttribute(t)){do{if(!n)throw k("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,i);n.nodeType===dt&&(n.hasAttribute(t)&&u++,n.hasAttribute(i)&&u--);r.push(n);n=n.nextSibling}while(u>0)}else r.push(n);return f(r)}function ir(n,t,i){return function(r,u,f,e,o){return u=nr(u[0],t,i),n(r,u,f,e,o)}}function di(n,t,i,r,u,f){var e;return n?ei(t,i,r,u,f):function(){return e||(e=ei(t,i,r,u,f),t=i=f=null),e.apply(this,arguments)}}function rr(n,i,r,o,h,l,a,w,b){function rr(n,t,i,r){n&&(i&&(n=ir(n,i,r)),n.require=d.require,n.directiveName=ot,(nt===d||d.$$isolateScope)&&(n=hr(n,{isolateScope:!0})),a.push(n));t&&(i&&(t=ir(t,i,r)),t.require=d.require,t.directiveName=ot,(nt===d||d.$$isolateScope)&&(t=hr(t,{isolateScope:!0})),w.push(t))}function vt(n,o,h,l,y){function dt(n,t,i,r){var e,f;if(or(n)||(r=i,i=t,t=n,n=void 0),ti&&(e=rt),i||(i=ti?p.parent():p),!r)return y(n,t,e,i,vt);if(f=y.$$slots[r],f)return f(n,t,e,i,vt);if(u(f))throw k("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,at(p));}var et,kt,d,tt,ot,rt,ct,p,ut,wt,bt,pt,vt;i===h?(ut=r,p=r.$$element):(p=f(h),ut=new pi(p,r));ot=o;nt?tt=o.$new(!0):ft&&(ot=o.$parent);y&&(ct=dt,ct.$$boundTransclude=y,ct.isSlotFilled=function(n){return!!y.$$slots[n]});st&&(rt=ru(p,ut,ct,st,tt,o,nt));nt&&(ei.$$addScopeInfo(p,tt,!0,!(ht&&(ht===nt||ht===nt.$$originalDirective))),ei.$$addScopeClass(p,!0),tt.$$isolateBindings=nt.$$isolateBindings,wt=yi(o,ut,tt,tt.$$isolateBindings,nt),wt.removeWatches&&tt.$on("$destroy",wt.removeWatches));for(bt in rt){var lt=st[bt],b=rt[bt],yt=lt.$$bindings.bindToController;g?(b.bindingInfo=yt?yi(ot,ut,b.instance,yt,lt):{},pt=b(),pt!==b.instance&&(b.instance=pt,p.data("$"+lt.name+"Controller",pt),b.bindingInfo.removeWatches&&b.bindingInfo.removeWatches(),b.bindingInfo=yi(ot,ut,b.instance,yt,lt))):(b.instance=b(),p.data("$"+lt.name+"Controller",b.instance),b.bindingInfo=yi(ot,ut,b.instance,yt,lt))}for(t(st,function(n,t){var i=n.require;n.bindToController&&!c(i)&&s(i)&&v(rt[t].instance,ci(t,i,p,rt))}),t(rt,function(n){var t=n.instance;if(e(t.$onChanges))try{t.$onChanges(n.bindingInfo.initialChanges)}catch(n){it(n)}if(e(t.$onInit))try{t.$onInit()}catch(n){it(n)}e(t.$doCheck)&&(ot.$watch(function(){t.$doCheck()}),t.$doCheck());e(t.$onDestroy)&&ot.$on("$destroy",function(){t.$onDestroy()})}),et=0,kt=a.length;et<kt;et++)d=a[et],lr(d,d.isolateScope?tt:o,p,ut,d.require&&ci(d.directiveName,d.require,p,rt),ct);for(vt=o,nt&&(nt.template||null===nt.templateUrl)&&(vt=tt),n&&n(vt,h.childNodes,void 0,y),et=w.length-1;et>=0;et--)d=w[et],lr(d,d.isolateScope?tt:o,p,ut,d.require&&ci(d.directiveName,d.require,p,rt),ct);t(rt,function(n){var t=n.instance;e(t.$postLink)&&t.$postLink()})}var gt,ui,bt,sr,et,tr,fi,oi,hi;b=b||{};for(var d,ot,rt,pt,ut,kt=-Number.MAX_VALUE,ft=b.newScopeDirective,st=b.controllerDirectives,nt=b.newIsolateScopeDirective,ht=b.templateDirective,ni=b.nonTlbTranscludeDirective,li=!1,wi=!1,ti=b.hasElementTranscludeDirective,tt=r.$$element=f(i),ii=l,wt=o,ur=!1,ri=!1,ct=0,bi=n.length;ct<bi;ct++){if(d=n[ct],gt=d.$$start,ui=d.$$end,gt&&(tt=nr(i,gt,ui)),rt=void 0,kt>d.priority)break;if(ut=d.scope,ut&&(d.templateUrl||(s(ut)?(si("new/isolated scope",nt||ft,d,tt),nt=d):si("new/isolated scope",nt,d,tt)),ft=ft||d),ot=d.name,!ur&&(d.replace&&(d.templateUrl||d.template)||d.transclude&&!d.$$tlb)){for(sr=ct+1;bt=n[sr++];)if(bt.transclude&&!bt.$$tlb||bt.replace&&(bt.templateUrl||bt.template)){ri=!0;break}ur=!0}if(!d.templateUrl&&d.controller&&(st=st||p(),si("'"+ot+"' controller",st[ot],d,tt),st[ot]=d),ut=d.transclude)if(li=!0,d.$$tlb||(si("transclusion",ni,d,tt),ni=d),"element"===ut)ti=!0,kt=d.priority,rt=tt,tt=r.$$element=f(ei.$$createComment(ot,r[ot])),i=tt[0],vi(h,ai(rt),i),rt[0].$$parentNode=rt[0].parentNode,wt=di(ri,rt,o,kt,ii&&ii.name,{nonTlbTranscludeDirective:ni});else{if(et=p(),s(ut)){rt=[];tr=p();fi=p();t(ut,function(n,t){var i="?"===n.charAt(0);n=i?n.substring(1):n;tr[n]=t;et[t]=null;fi[t]=i});t(tt.contents(),function(n){var t=tr[yt(lt(n))];t?(fi[t]=!0,et[t]=et[t]||[],et[t].push(n)):rt.push(n)});t(fi,function(n,t){if(!n)throw k("reqslot","Required transclusion slot `{0}` was not filled.",t);});for(oi in et)et[oi]&&(et[oi]=di(ri,et[oi],o))}else rt=f(ie(i)).contents();tt.empty();wt=di(ri,rt,o,void 0,void 0,{needsNewScope:d.$$isolateScope||d.$$newScope});wt.$$slots=et}if(d.template)if(wi=!0,si("template",ht,d,tt),ht=d,ut=e(d.template)?d.template(tt,r):d.template,ut=br(ut),d.replace){if(ii=d,rt=ne(ut)?[]:nh(gi(d.templateNamespace,y(ut))),i=rt[0],1!==rt.length||i.nodeType!==dt)throw k("tplrt","Template for directive '{0}' must have exactly one root element. {1}",ot,"");vi(h,tt,i);var ar={$attr:{}},vr=ki(i,[],ar),yr=n.splice(ct+1,n.length-(ct+1));(nt||ft)&&fr(vr,nt,ft);n=n.concat(vr).concat(yr);er(r,ar);bi=n.length}else tt.html(ut);if(d.templateUrl)wi=!0,si("template",ht,d,tt),ht=d,d.replace&&(ii=d),vt=fu(n.splice(ct,n.length-ct),tt,r,h,li&&wt,a,w,{controllerDirectives:st,newScopeDirective:ft!==d&&ft,newIsolateScopeDirective:nt,templateDirective:ht,nonTlbTranscludeDirective:ni}),bi=n.length;else if(d.compile)try{pt=d.compile(tt,r,wt);hi=d.$$originalDirective||d;e(pt)?rr(null,cr(hi,pt),gt,ui):pt&&rr(cr(hi,pt.pre),cr(hi,pt.post),gt,ui)}catch(n){it(n,at(tt))}d.terminal&&(vt.terminal=!0,kt=Math.max(kt,d.priority))}return vt.scope=ft&&!0===ft.scope,vt.transcludeOnThisElement=li,vt.templateOnThisElement=wi,vt.transclude=wt,b.hasElementTranscludeDirective=ti,vt}function ci(n,i,r,u){var f,a,e,y;if(h(i)){var o=i.match(et),l=i.substring(o[0].length),v=o[1]||o[3],p="?"===o[2];if(("^^"===v?r=r.parent():(f=u&&u[l],f=f&&f.instance),f)||(a="$"+l+"Controller",f=v?r.inheritedData(a):r.data(a)),!f&&!p)throw k("ctreq","Controller '{0}', required by directive '{1}', can't be found!",l,n);}else if(c(i))for(f=[],e=0,y=i.length;e<y;e++)f[e]=ci(n,i[e],r,u);else s(i)&&(f={},t(i,function(t,i){f[i]=ci(n,t,r,u)}));return f||null}function ru(n,t,i,r,u,f,e){var c=p(),l,h;for(l in r){var o=r[l],a={$scope:o===e||o.$$isolateScope?u:f,$element:n,$attrs:t,$transclude:i},s=o.controller;"@"===s&&(s=t[o.name]);h=ct(s,a,!0,o.controllerAs);c[o.name]=h;n.data("$"+o.name+"Controller",h.instance)}return c}function fr(n,t,i){for(var r=0,u=n.length;r<u;r++)n[r]=af(n[r],{$$isolateScope:t,$$newScope:i})}function li(n,t,r,f,e,o,h){var l,v;if(t===e)return null;if(l=null,b.hasOwnProperty(t))for(var c,y=i.get(t+rt),a=0,p=y.length;a<p;a++)(c=y[a],(u(f)||f>c.priority)&&-1!==c.restrict.indexOf(r))&&((o&&(c=af(c,{$$start:o,$$end:h})),c.$$bindings)||(v=c.$$bindings=ht(c,c.name),s(v.isolateScope)&&(c.$$isolateBindings=v.isolateScope)),n.push(c),l=c);return l}function uu(n){if(b.hasOwnProperty(n))for(var r,u=i.get(n+rt),t=0,f=u.length;t<f;t++)if(r=u[t],r.multiElement)return!0;return!1}function er(n,i){var r=i.$attr,u=n.$attr;t(n,function(t,u){"$"!==u.charAt(0)&&(i[u]&&i[u]!==t&&(t.length?t+=("style"===u?";":" ")+i[u]:t=i[u]),n.$set(u,t,!0,r[u]))});t(i,function(t,i){n.hasOwnProperty(i)||"$"===i.charAt(0)||(n[i]=t,"class"!==i&&"style"!==i&&(u[i]=r[i]))})}function fu(n,i,r,u,o,h,c,l){var p,w,v=[],b=i[0],a=n.shift(),g=af(a,{templateUrl:null,transclude:null,replace:null,$$originalDirective:a}),d=e(a.templateUrl)?a.templateUrl(i,r):a.templateUrl,nt=a.templateNamespace;return i.empty(),ft(d).then(function(e){var tt,rt,ut,st,ft,ct;if(e=br(e),a.replace){if(ut=ne(e)?[]:nh(gi(nt,y(e))),tt=ut[0],1!==ut.length||tt.nodeType!==dt)throw k("tplrt","Template for directive '{0}' must have exactly one root element. {1}",a.name,d);rt={$attr:{}};vi(u,i,tt);ft=ki(tt,[],rt);s(a.scope)&&fr(ft,!0);n=ft.concat(n);er(r,rt)}else tt=b,i.html(e);for(n.unshift(g),p=rr(n,tt,r,o,i,a,h,c,l),t(u,function(n,t){n===tt&&(u[t]=i[0])}),w=bi(i[0].childNodes,o);v.length;){var et=v.shift(),ot=v.shift(),lt=v.shift(),ht=v.shift(),it=i[0];et.$$destroyed||(ot!==b&&(ct=ot.className,l.hasElementTranscludeDirective&&a.replace||(it=ie(tt)),vi(lt,f(ot),it),wi(f(it),ct)),st=p.transcludeOnThisElement?hi(et,p.transclude,ht):ht,p(w,et,it,u,st))}v=null}).catch(function(n){n instanceof Error&&it(n)}),function(n,t,i,r,u){var f=u;t.$$destroyed||(v?v.push(t,i,r,f):(p.transcludeOnThisElement&&(f=hi(t,p.transclude,u)),p(w,t,i,r,f)))}}function eu(n,t){var i=t.priority-n.priority;return 0!==i?i:n.name!==t.name?n.name<t.name?-1:1:n.index-t.index}function si(n,t,i,r){function u(n){return n?" (module: "+n+")":""}if(t)throw k("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,u(t.$$moduleName),i.name,u(i.$$moduleName),n,at(r));}function ou(n,t){var i=l(t,!0);i&&n.push({priority:0,compile:function(n){var t=n.parent(),r=!!t.length;return r&&ei.$$addBindingClass(t),function(n,t){var u=t.parent();r||ei.$$addBindingClass(u);ei.$$addBindingInfo(u,i.expressions);n.$watch(i,function(n){t[0].nodeValue=n})}}})}function gi(t,i){switch(t=a(t||"html")){case"svg":case"math":var r=n.document.createElement("div");return r.innerHTML="<"+t+">"+i+"<\/"+t+">",r.childNodes[0].childNodes;default:return i}}function su(n,t){if("srcdoc"===t)return bt.HTML;var i=lt(n);if("src"===t||"ngSrc"===t){if(-1===["img","video","audio","source","track"].indexOf(i))return bt.RESOURCE_URL}else if("xlinkHref"===t||"form"===i&&"action"===t||"link"===i&&"href"===t)return bt.RESOURCE_URL}function hu(n,t,i,r,u){var e=su(n,r),s=!u,o=ti[r]||u,f=l(i,s,e,o);if(f){if("multiple"===r&&"select"===lt(n))throw k("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",at(n));if(ii.test(r))throw k("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");t.push({priority:100,compile:function(){return{pre:function(n,t,u){var h=u.$$observers||(u.$$observers=p()),s=u[r];s!==i&&(f=s&&l(s,!0,e,o),i=s);f&&(u[r]=f(n),(h[r]||(h[r]=[])).$$inter=!0,(u.$$observers&&u.$$observers[r].$$scope||n).$watch(f,function(n,t){"class"===r&&n!==t?u.$updateClass(n,t):u.$set(r,n)}))}}}})}}function vi(t,i,r){var u,l,e=i[0],s=i.length,a=e.parentNode,c;if(t)for(u=0,l=t.length;u<l;u++)if(t[u]===e){t[u++]=r;for(var o=u,h=o+s-1,v=t.length;o<v;o++,h++)h<v?t[o]=t[h]:delete t[o];t.length-=s-1;t.context===e&&(t.context=r);break}for(a&&a.replaceChild(r,e),c=n.document.createDocumentFragment(),u=0;u<s;u++)c.appendChild(i[u]);for(f.hasData(e)&&(f.data(r,f.data(e)),f(e).off("$destroy")),f.cleanData(c.querySelectorAll("*")),u=1;u<s;u++)delete i[u];i[0]=r;i.length=1}function hr(n,t){return v(function(){return n.apply(null,arguments)},n,t)}function lr(n,t,i,r,u,f){try{n(t,i,r,u,f)}catch(n){it(n,at(i))}}function yi(n,i,r,u,f){function v(t,i,u){e(r.$onChanges)&&!wf(i,u)&&(oi||(n.$$postDigest(kr),oi=[]),s||(s={},oi.push(y)),s[t]&&(u=s[t].previousValue),s[t]=new wu(u,i))}function y(){r.$onChanges(s);s=void 0}var s,c=[],a={};return t(u,function(t,u){var y,s,tt,g,p,e=t.attrName,w=t.optional,it=t.mode,b,nt,d;switch(it){case"@":w||pt.call(i,e)||(r[u]=i[e]=void 0);p=i.$observe(e,function(n){if(h(n)||ni(n)){var t=r[u];v(u,n,t);r[u]=n}});i.$$observers[e].$$scope=n;y=i[e];h(y)?r[u]=l(y)(n):ni(y)&&(r[u]=y);a[u]=new wu(lo,r[u]);c.push(p);break;case"=":if(!pt.call(i,e)){if(w)break;i[e]=void 0}if(w&&!i[e])break;s=ot(i[e]);g=s.literal?st:wf;tt=s.assign||function(){throw y=r[u]=s(n),k("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",i[e],e,f.name);};y=r[u]=s(n);b=function(t){return g(t,r[u])||(g(t,y)?tt(n,t=r[u]):r[u]=t),y=t};b.$stateful=!0;p=t.collection?n.$watchCollection(i[e],b):n.$watch(ot(i[e],b),null,s.literal);c.push(p);break;case"<":if(!pt.call(i,e)){if(w)break;i[e]=void 0}if(w&&!i[e])break;s=ot(i[e]);nt=s.literal;d=r[u]=s(n);a[u]=new wu(lo,r[u]);p=n.$watch(s,function(n,t){if(t===n){if(t===d||nt&&st(t,d))return;t=d}v(u,n,t);r[u]=n},nt);c.push(p);break;case"&":if((s=i.hasOwnProperty(e)?ot(i[e]):o)===o&&w)break;r[u]=function(t){return s(n,t)}}}),{initialChanges:a,removeWatches:c.length&&function(){for(var n=0,t=c.length;n<t;++n)c[n]()}}}var oi,cu=/^\w/,ar=n.document.createElement("div"),lu=nt,au=tt,yr=d;pi.prototype={$normalize:yt,$addClass:function(n){n&&n.length>0&&ui.addClass(this.$$element,n)},$removeClass:function(n){n&&n.length>0&&ui.removeClass(this.$$element,n)},$updateClass:function(n,t){var r=gs(n,t),i;r&&r.length&&ui.addClass(this.$$element,r);i=gs(t,n);i&&i.length&&ui.removeClass(this.$$element,i)},$set:function(n,i,f,e){var l,d=this.$$element[0],w=ps(d,n),a=ev(n),b=n,v,c,p;if(w?(this.$$element.prop(n,i),e=w):a&&(this[a]=i,b=a),this[n]=i,e?this.$attr[n]=e:(e=this.$attr[n])||(this.$attr[n]=e=os(n,"-")),"a"===(l=lt(this.$$element))&&("href"===n||"xlinkHref"===n)||"img"===l&&"src"===n)this[n]=i=fi(i,"src"===n);else if("img"===l&&"srcset"===n&&r(i)){for(var o="",k=y(i),g=/\s/.test(k)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,s=k.split(g),nt=Math.floor(s.length/2),h=0;h<nt;h++)v=2*h,o+=fi(y(s[v]),!0),o+=" "+y(s[v+1]);c=y(s[2*h]).split(/\s/);o+=fi(y(c[0]),!0);2===c.length&&(o+=" "+y(c[1]));this[n]=i=o}!1!==f&&(null===i||u(i)?this.$$element.removeAttr(e):cu.test(e)?this.$$element.attr(e,i):dr(this.$$element[0],e,i));p=this.$$observers;p&&t(p[b],function(n){try{n(i)}catch(n){it(n)}})},$observe:function(n,t){var i=this,f=i.$$observers||(i.$$observers=p()),r=f[n]||(f[n]=[]);return r.push(t),vt.$evalAsync(function(){r.$$inter||!i.hasOwnProperty(n)||u(i[n])||t(i[n])}),function(){sr(r,t)}}};var pr=l.startSymbol(),wr=l.endSymbol(),br="{{"===pr&&"}}"===wr?ur:function(n){return n.replace(/\{\{/g,pr).replace(/}}/g,wr)},vu=/^ngAttr[A-Z]/,yu=/^(.+)Start$/;return ei.$$addBindingInfo=w?function(n,t){var i=n.data("$binding")||[];c(t)?i=i.concat(t):i.push(t);n.data("$binding",i)}:o,ei.$$addBindingClass=w?function(n){wi(n,"ng-binding")}:o,ei.$$addScopeInfo=w?function(n,t,i,r){var u=i?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";n.data(u,t)}:o,ei.$$addScopeClass=w?function(n,t){wi(n,t?"ng-isolate-scope":"ng-scope")}:o,ei.$$createComment=function(t,i){var r="";return w&&(r=" "+(t||"")+": ",i&&(r+=i+" ")),n.document.createComment(r)},ei}]}function wu(n,t){this.previousValue=n;this.currentValue=t}function yt(n){return n.replace(nl,"").replace(uk,gf)}function gs(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 nh(n){var t,i;if(n=f(n),t=n.length,t<=1)return n;for(;t--;)i=n[t],(i.nodeType===gr||i.nodeType===ri&&""===i.nodeValue.trim())&&kw.call(n,t,1);return n}function ny(n,t){if(t&&h(t))return t;if(h(n)){var i=il.exec(n);if(i)return i[3]}}function ty(){var n={},t=!1;this.has=function(t){return n.hasOwnProperty(t)};this.register=function(t,i){vi(t,"controller");s(t)?v(n,t):n[t]=i};this.allowGlobals=function(){t=!0};this.$get=["$injector","$window",function(i,r){function u(n,t,i,r){if(!n||!s(n.$scope))throw l("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);n.$scope[t]=i}return function(f,o,l,a){var p,b,y,w,k;if(l=!0===l,a&&h(a)&&(w=a),h(f)){if(!(b=f.match(il)))throw tl("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",f);if(y=b[1],w=w||b[3],!(f=n.hasOwnProperty(y)?n[y]:ss(o.$scope,y,!0)||(t?ss(r,y,!0):void 0)))throw tl("ctrlreg","The controller with the name '{0}' is not registered.",y);ou(f,y,!0)}return l?(k=(c(f)?f[f.length-1]:f).prototype,p=Object.create(k||null),w&&u(o,w,p,y||f.name),v(function(){var n=i.invoke(f,p,o,y);return n!==p&&(s(n)||e(n))&&(p=n,w&&u(o,w,p,y||f.name)),p},{instance:p,identifier:w})):(p=i.instantiate(f,o,y),w&&u(o,w,p,y||f.name),p)}}]}function iy(){this.$get=["$window",function(n){return f(n.document)}]}function ry(){this.$get=["$document","$rootScope",function(n,t){function r(){u=i.hidden}var i=n[0],u=i&&i.hidden;return n.on("visibilitychange",r),t.$on("$destroy",function(){n.off("visibilitychange",r)}),function(){return u}}]}function uy(){this.$get=["$log",function(n){return function(){n.error.apply(n,arguments)}}]}function oe(n){return s(n)?rt(n)?n.toISOString():lr(n):n}function fy(){this.$get=function(){return function(n){if(!n)return"";var i=[];return bo(n,function(n,r){null===n||u(n)||(c(n)?t(n,function(n){i.push(et(r)+"="+et(oe(n)))}):i.push(et(r)+"="+et(oe(n))))}),i.join("&")}}}function ey(){this.$get=function(){return function(n){function i(n,f,e){null===n||u(n)||(c(n)?t(n,function(n,t){i(n,f+"["+(s(n)?t:"")+"]")}):s(n)&&!rt(n)?bo(n,function(n,t){i(n,f+(e?"":"[")+t+(e?"":"]"))}):r.push(et(f)+"="+et(oe(n))))}if(!n)return"";var r=[];return i(n,"",!0),r.join("&")}}}function se(n,t){var i,r;if(h(n)&&(i=n.replace(sk,"").trim(),i&&(r=t("Content-Type"),r&&0===r.indexOf(rl)||oy(i))))try{n=is(i)}catch(t){throw vo("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',n,t);}return n}function oy(n){var t=n.match(ek);return t&&ok[t[0]].test(n)}function th(n){function u(n,t){n&&(i[n]=i[n]?i[n]+", "+t:t)}var r,i=p();return h(n)?t(n.split("\n"),function(n){r=n.indexOf(":");u(a(y(n.substr(0,r))),y(n.substr(r+1)))}):s(n)&&t(n,function(n,t){u(a(t),y(n))}),i}function ih(n){var t;return function(i){if(t||(t=th(n)),i){var r=t[a(i)];return void 0===r&&(r=null),r}return t}}function rh(n,i,r,u){return e(u)?u(n,i,r):(t(u,function(t){n=t(n,i,r)}),n)}function he(n){return 200<=n&&n<300}function sy(){var n=this.defaults={transformResponse:[se],transformRequest:[function(n){return!s(n)||sa(n)||ca(n)||ha(n)?n:lr(n)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:vt(ao),put:vt(ao),patch:vt(ao)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},i=!1,f;this.useApplyAsync=function(n){return r(n)?(i=!!n,this):i};f=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(y,p,w,b,k,d,g,nt){function tt(i){function c(n,t){for(var u,f,i=0,r=t.length;i<r;)u=t[i++],f=t[i++],n=n.then(u,f);return t.length=0,n}function k(){y.$$completeOutstandingRequest(o)}function tt(n,i){var u,r={};return t(n,function(n,t){e(n)?null!=(u=n(i))&&(r[t]=u):r[t]=n}),r}function ut(i){var r=i.headers,f=rh(i.data,ih(r),void 0,i.transformRequest);return u(f)&&t(r,function(n,t){"content-type"===a(t)&&delete r[t]}),u(i.withCredentials)&&!u(n.withCredentials)&&(i.withCredentials=n.withCredentials),rt(i,f).then(p,p)}function p(n){var t=v({},n);return t.data=rh(n.data,n.headers,n.status,r.transformResponse),he(n.status)?t:d.reject(t)}var r;if(!s(i))throw l("$http")("badreq","Http request configuration must be an object.  Received: {0}",i);if(!h(nt.valueOf(i.url)))throw l("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",i.url);r=v({method:"get",transformRequest:n.transformRequest,transformResponse:n.transformResponse,paramSerializer:n.paramSerializer,jsonpCallbackParam:n.jsonpCallbackParam},i);r.headers=function(t){var r,f,e,i=n.headers,u=v({},t.headers);i=v({},i.common,i[a(t.method)]);n:for(r in i){f=a(r);for(e in u)if(a(e)===f)continue n;u[r]=i[r]}return tt(u,vt(t))}(i);r.method=dr(r.method);r.paramSerializer=h(r.paramSerializer)?g.get(r.paramSerializer):r.paramSerializer;y.$$incOutstandingRequestCount();var w=[],b=[],f=d.resolve(r);return t(it,function(n){(n.request||n.requestError)&&w.unshift(n.request,n.requestError);(n.response||n.responseError)&&b.push(n.response,n.responseError)}),f=c(f,w),f=f.then(ut),f=c(f,b),f=f.finally(k)}function rt(f,e){function rt(n){if(n){var r={};return t(n,function(n,t){r[t]=function(t){function r(){n(t)}i?k.$applyAsync(r):k.$$phase?r():k.$apply(r)}}),r}}function lt(n,t,r,u){function f(){y(t,n,r,u)}v&&(he(n)?v.put(o,[n,t,th(r),u]):v.remove(o));i?k.$applyAsync(f):(f(),k.$$phase||k.$apply())}function y(n,t,i,r){t=t>=-1?t:0;(he(t)?b.resolve:b.reject)({data:n,status:t,headers:ih(i),config:f,statusText:r})}function ot(n){y(n.data,n.status,vt(n.headers()),n.statusText)}function st(){var n=tt.pendingRequests.indexOf(f);-1!==n&&tt.pendingRequests.splice(n,1)}var v,l,b=d.defer(),g=b.promise,ht=f.headers,ct="jsonp"===a(f.method),o=f.url,it;return(ct?o=nt.getTrustedResourceUrl(o):h(o)||(o=nt.valueOf(o)),o=ut(o,f.paramSerializer(f.params)),ct&&(o=ft(o,f.jsonpCallbackParam)),tt.pendingRequests.push(f),g.then(st,st),!f.cache&&!n.cache||!1===f.cache||"GET"!==f.method&&"JSONP"!==f.method||(v=s(f.cache)?f.cache:s(n.cache)?n.cache:et),v&&(l=v.get(o),r(l)?eu(l)?l.then(ot,ot):c(l)?y(l[1],l[0],vt(l[2]),l[3]):y(l,200,{},"OK"):v.put(o,g)),u(l))&&(it=bh(f.url)?w()[f.xsrfCookieName||n.xsrfCookieName]:void 0,it&&(ht[f.xsrfHeaderName||n.xsrfHeaderName]=it),p(f.method,o,e,lt,ht,f.timeout,f.withCredentials,f.responseType,rt(f.eventHandlers),rt(f.uploadEventHandlers))),g}function ut(n,t){return t.length>0&&(n+=(-1===n.indexOf("?")?"?":"&")+t),n}function ft(n,t){if(/[&?][^=]+=JSON_CALLBACK/.test(n))throw vo("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',n);if(new RegExp("[&?]"+t+"=").test(n))throw vo("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,n);return n+((-1===n.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK")}var et=b("$http"),it;return n.paramSerializer=h(n.paramSerializer)?g.get(n.paramSerializer):n.paramSerializer,it=[],t(f,function(n){it.unshift(h(n)?g.get(n):g.invoke(n))}),tt.pendingRequests=[],function(){t(arguments,function(n){tt[n]=function(t,i){return tt(v({},i||{},{method:n,url:t}))}})}("get","delete","head","jsonp"),function(){t(arguments,function(n){tt[n]=function(t,i,r){return tt(v({},r||{},{method:n,url:t,data:i}))}})}("post","put","patch"),tt.defaults=n,tt}]}function hy(){this.$get=function(){return function(){return new n.XMLHttpRequest}}}function cy(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(n,t,i,r){return ly(n,r,n.defer,t,i[0])}]}function ly(n,i,f,e,o){function s(n,t,i){n=n.replace("JSON_CALLBACK",t);var r=o.createElement("script"),u=null;return r.type="text/javascript",r.src=n,r.async=!0,u=function(n){r.removeEventListener("load",u);r.removeEventListener("error",u);o.body.removeChild(r);r=null;var f=-1,s="unknown";n&&("load"!==n.type||e.wasCalled(t)||(n={type:"error"}),s=n.type,f="error"===n.type?404:200);i&&i(f,s)},r.addEventListener("load",u),r.addEventListener("error",u),o.body.appendChild(r),u}return function(o,h,c,l,v,y,p,w,b,k){function ut(){nt&&nt();d&&d.abort()}function it(n,t,i,u,e){r(rt)&&f.cancel(rt);nt=d=null;n(t,i,u,e)}var g,nt,d,tt,rt;if(h=h||n.url(),"jsonp"===a(o))g=e.createCallback(h),nt=s(h,g,function(n,t){var i=200===n&&e.getResponse(g);it(l,n,i,"",t);e.removeCallback(g)});else{if(d=i(o,h),d.open(o,h,!0),t(v,function(n,t){r(n)&&d.setRequestHeader(t,n)}),d.onload=function(){var i=d.statusText||"",t="response"in d?d.response:d.responseText,n=1223===d.status?204:d.status;0===n&&(n=t?200:"file"===ii(h).protocol?404:0);it(l,n,t,d.getAllResponseHeaders(),i)},tt=function(){it(l,-1,null,null,"")},d.onerror=tt,d.onabort=tt,d.ontimeout=tt,t(b,function(n,t){d.addEventListener(t,n)}),t(k,function(n,t){d.upload.addEventListener(t,n)}),p&&(d.withCredentials=!0),w)try{d.responseType=w}catch(n){if("json"!==w)throw n;}d.send(u(c)?null:c)}y>0?rt=f(ut,y):eu(y)&&y.then(ut)}}function ay(){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,f,o){function c(n){return"\\\\\\"+n}function s(i){return i.replace(p,n).replace(w,t)}function a(n,t,i,r){var u=n.$watch(function(n){return u(),r(n)},t,i);return u}function h(h,c,p,w){function ht(n){try{return n=st(n),w&&!r(n)?n:df(n)}catch(n){f(li.interr(h,n))}}var d,ut,st;if(!h.length||-1===h.indexOf(n))return c||(d=ot(s(h)),d.exp=h,d.expressions=[],d.$$watchDelegate=a),d;w=!!w;for(var g,tt,it,b=0,nt=[],rt=[],ft=h.length,k=[],et=[];b<ft;){if(-1===(g=h.indexOf(n,b))||-1===(tt=h.indexOf(t,g+l))){b!==ft&&k.push(s(h.substring(b)));break}b!==g&&k.push(s(h.substring(b,g)));it=h.substring(g+l,tt);nt.push(it);rt.push(i(it,ht));b=tt+y;et.push(k.length);k.push("")}if(p&&k.length>1&&li.throwNoconcat(h),!c||nt.length)return ut=function(n){for(var t=0,i=nt.length;t<i;t++){if(w&&u(n[t]))return;k[et[t]]=n[t]}return k.join("")},st=function(n){return p?o.getTrusted(p,n):o.valueOf(n)},v(function(n){var t=0,i=nt.length,r=new Array(i);try{for(;t<i;t++)r[t]=rt[t](n);return ut(r)}catch(n){f(li.interr(h,n))}},{exp:h,expressions:nt,$$watchDelegate:function(n,t){var i;return n.$watchGroup(rt,function(r,u){var f=ut(r);e(t)&&t.call(this,f,r!==u?i:f,n);i=f})}})}var l=n.length,y=t.length,p=new RegExp(n.replace(/./g,c),"g"),w=new RegExp(t.replace(/./g,c),"g");return h.startSymbol=function(){return n},h.endSymbol=function(){return t},h}]}function vy(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(n,t,i,u,f){function s(o,s,h,c){function p(){w?o.apply(null,b):o(a)}var w=arguments.length>4,b=w?ai(arguments,4):[],k=t.setInterval,d=t.clearInterval,a=0,y=r(c)&&!c,v=(y?u:i).defer(),l=v.promise;return h=r(h)?h:0,l.$$intervalId=k(function(){y?f.defer(p):n.$evalAsync(p);v.notify(a++);h>0&&a>=h&&(v.resolve(a),d(l.$$intervalId),delete e[l.$$intervalId]);y||n.$apply()},s),e[l.$$intervalId]=v,l}var e={};return s.cancel=function(n){return!!(n&&n.$$intervalId in e)&&(e[n.$$intervalId].promise.catch(o),e[n.$$intervalId].reject("canceled"),t.clearInterval(n.$$intervalId),delete e[n.$$intervalId],!0)},s}]}function ce(n){for(var t=n.split("/"),i=t.length;i--;)t[i]=ar(t[i]);return t.join("/")}function uh(n,t){var i=ii(n);t.$$protocol=i.protocol;t.$$host=i.hostname;t.$$port=tt(i.port)||lk[i.protocol]||null}function fh(n,t){var r,i;if(ak.test(n))throw nu("badpath",'Invalid url "{0}".',n);r="/"!==n.charAt(0);r&&(n="/"+n);i=ii(n);t.$$path=decodeURIComponent(r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname);t.$$search=fs(i.search);t.$$hash=decodeURIComponent(i.hash);t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function le(n,t){return n.slice(0,t.length)===t}function bt(n,t){if(le(t,n))return t.substr(n.length)}function ei(n){var t=n.indexOf("#");return-1===t?n:n.substr(0,t)}function wr(n){return n.replace(/(#.+)|#$/,"$1")}function yy(n){return n.substr(0,ei(n).lastIndexOf("/")+1)}function py(n){return n.substring(0,n.indexOf("/",n.indexOf("//")+2))}function ae(n,t,i){this.$$html5=!0;i=i||"";uh(n,this);this.$$parse=function(n){var i=bt(t,n);if(!h(i))throw nu("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',n,t);fh(i,this);this.$$path||(this.$$path="/");this.$$compose()};this.$$compose=function(){var n=kf(this.$$search),i=this.$$hash?"#"+ar(this.$$hash):"";this.$$url=ce(this.$$path)+(n?"?"+n:"")+i;this.$$absUrl=t+this.$$url.substr(1);this.$$urlUpdatedByLocation=!0};this.$$parseLinkUrl=function(u,f){if(f&&"#"===f[0])return this.hash(f.slice(1)),!0;var e,s,o;return r(e=bt(n,u))?(s=e,o=i&&r(e=bt(i,e))?t+(bt("/",e)||e):n+s):r(e=bt(t,u))?o=t+e:t===u+"/"&&(o=t),o&&this.$$parse(o),!!o}}function ve(n,t,i){uh(n,this);this.$$parse=function(r){var f,e=bt(n,r)||bt(t,r);u(e)||"#"!==e.charAt(0)?this.$$html5?f=e:(f="",u(e)&&(n=r,this.replace())):(f=bt(i,e),u(f)&&(f=e));fh(f,this);this.$$path=function(n,t,i){var r,u=/^\/[A-Z]:(\/.*)/;return le(t,i)&&(t=t.replace(i,"")),u.exec(t)?n:(r=u.exec(n),r?r[1]:n)}(this.$$path,f,n);this.$$compose()};this.$$compose=function(){var t=kf(this.$$search),r=this.$$hash?"#"+ar(this.$$hash):"";this.$$url=ce(this.$$path)+(t?"?"+t:"")+r;this.$$absUrl=n+(this.$$url?i+this.$$url:"");this.$$urlUpdatedByLocation=!0};this.$$parseLinkUrl=function(t){return ei(n)===ei(t)&&(this.$$parse(t),!0)}}function eh(n,t,i){this.$$html5=!0;ve.apply(this,arguments);this.$$parseLinkUrl=function(r,u){if(u&&"#"===u[0])return this.hash(u.slice(1)),!0;var f,e;return n===ei(r)?f=r:(e=bt(t,r))?f=n+i+e:t===r+"/"&&(f=t),f&&this.$$parse(f),!!f};this.$$compose=function(){var t=kf(this.$$search),r=this.$$hash?"#"+ar(this.$$hash):"";this.$$url=ce(this.$$path)+(t?"?"+t:"")+r;this.$$absUrl=n+i+this.$$url;this.$$urlUpdatedByLocation=!0}}function bu(n){return function(){return this[n]}}function oh(n,t){return function(i){return u(i)?this[n]:(this[n]=t(i),this.$$compose(),this)}}function wy(){var t="!",n={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(n){return r(n)?(t=n,this):t};this.html5Mode=function(t){return ni(t)?(n.enabled=t,this):s(t)?(ni(t.enabled)&&(n.enabled=t.enabled),ni(t.requireBase)&&(n.requireBase=t.requireBase),(ni(t.rewriteLinks)||h(t.rewriteLinks))&&(n.rewriteLinks=t.rewriteLinks),this):n};this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(i,r,e,o,c){function b(n,t,i){var u=l.url(),f=l.$$state;try{r.url(n,t,i);l.$$state=r.state()}catch(n){throw l.url(u),l.$$state=f,n;}}function k(n,t){i.$broadcast("$locationChangeSuccess",l.absUrl(),n,l.$$state,t)}var l,p,y,d=r.baseHref(),a=r.url(),w,g,v;if(n.enabled){if(!d&&n.requireBase)throw nu("nobase","$location in HTML5 mode requires a <base> tag to be present!");y=py(a)+(d||"/");p=e.history?ae:eh}else y=ei(a),p=ve;return w=yy(y),l=new p(y,w,"#"+t),l.$$parseLinkUrl(a,a),l.$$state=r.state(),g=/^\s*(javascript|mailto):/i,o.on("click",function(t){var v=n.rewriteLinks,e,a,y;if(v&&!t.ctrlKey&&!t.metaKey&&!t.shiftKey&&2!==t.which&&2!==t.button){for(e=f(t.target);"a"!==lt(e[0]);)if(e[0]===o[0]||!(e=e.parent())[0])return;h(v)&&u(e.attr(v))||(a=e.prop("href"),y=e.attr("href")||e.attr("xlink:href"),s(a)&&"[object SVGAnimatedString]"===a.toString()&&(a=ii(a.animVal).href),g.test(a)||!a||e.attr("target")||t.isDefaultPrevented()||l.$$parseLinkUrl(a,y)&&(t.preventDefault(),l.absUrl()!==r.url()&&(i.$apply(),c.angular["ff-684208-preventDefault"]=!0)))}}),wr(l.absUrl())!==wr(a)&&r.url(l.absUrl(),!0),v=!0,r.onUrlChange(function(n,t){if(!le(n,w))return void(c.location.href=n);i.$evalAsync(function(){var f,r=l.absUrl(),u=l.$$state;n=wr(n);l.$$parse(n);l.$$state=t;f=i.$broadcast("$locationChangeStart",n,r,t,u).defaultPrevented;l.absUrl()===n&&(f?(l.$$parse(r),l.$$state=u,b(r,!1,u)):(v=!1,k(r,u)))});i.$$phase||i.$digest()}),i.$watch(function(){if(v||l.$$urlUpdatedByLocation){l.$$urlUpdatedByLocation=!1;var t=wr(r.url()),f=wr(l.absUrl()),n=r.state(),o=l.$$replace,u=t!==f||l.$$html5&&e.history&&n!==l.$$state;(v||u)&&(v=!1,i.$evalAsync(function(){var r=l.absUrl(),f=i.$broadcast("$locationChangeStart",r,t,l.$$state,n).defaultPrevented;l.absUrl()===r&&(f?(l.$$parse(t),l.$$state=n):(u&&b(r,o,n===l.$$state?null:l.$$state),k(t,n)))}))}l.$$replace=!1}),l}]}function by(){var n=!0,i=this;this.debugEnabled=function(t){return r(t)?(n=t,this):n};this.$get=["$window",function(r){function f(n){return n instanceof Error&&(n.stack&&e?n=n.message&&-1===n.stack.indexOf(n.message)?"Error: "+n.message+"\n"+n.stack:n.stack:n.sourceURL&&(n=n.message+"\n"+n.sourceURL+":"+n.line)),n}function u(n){var i=r.console||{},u=i[n]||i.log||o,e=!1;try{e=!!u.apply}catch(n){}return e?function(){var n=[];return t(arguments,function(t){n.push(f(t))}),u.apply(i,n)}:function(n,t){u(n,null==t?"":t)}}var e=wt||/\bEdge\//.test(r.navigator&&r.navigator.userAgent);return{log:u("log"),info:u("info"),warn:u("warn"),error:u("error"),debug:function(){var t=u("debug");return function(){n&&t.apply(i,arguments)}}()}}]}function sh(n){return n+""}function ky(n,t){return void 0!==n?n:t}function hh(n,t){return void 0===n?t:void 0===t?n:n+t}function dy(n,t){return!n(t).$stateful}function b(n,r){var u,f,e;switch(n.type){case i.Program:u=!0;t(n.body,function(n){b(n.expression,r);u=u&&n.expression.constant});n.constant=u;break;case i.Literal:n.constant=!0;n.toWatch=[];break;case i.UnaryExpression:b(n.argument,r);n.constant=n.argument.constant;n.toWatch=n.argument.toWatch;break;case i.BinaryExpression:b(n.left,r);b(n.right,r);n.constant=n.left.constant&&n.right.constant;n.toWatch=n.left.toWatch.concat(n.right.toWatch);break;case i.LogicalExpression:b(n.left,r);b(n.right,r);n.constant=n.left.constant&&n.right.constant;n.toWatch=n.constant?[]:[n];break;case i.ConditionalExpression:b(n.test,r);b(n.alternate,r);b(n.consequent,r);n.constant=n.test.constant&&n.alternate.constant&&n.consequent.constant;n.toWatch=n.constant?[]:[n];break;case i.Identifier:n.constant=!1;n.toWatch=[n];break;case i.MemberExpression:b(n.object,r);n.computed&&b(n.property,r);n.constant=n.object.constant&&(!n.computed||n.property.constant);n.toWatch=[n];break;case i.CallExpression:e=!!n.filter&&dy(r,n.callee.name);u=e;f=[];t(n.arguments,function(n){b(n,r);u=u&&n.constant;n.constant||f.push.apply(f,n.toWatch)});n.constant=u;n.toWatch=e?f:[n];break;case i.AssignmentExpression:b(n.left,r);b(n.right,r);n.constant=n.left.constant&&n.right.constant;n.toWatch=[n];break;case i.ArrayExpression:u=!0;f=[];t(n.elements,function(n){b(n,r);u=u&&n.constant;n.constant||f.push.apply(f,n.toWatch)});n.constant=u;n.toWatch=f;break;case i.ObjectExpression:u=!0;f=[];t(n.properties,function(n){b(n.value,r);u=u&&n.value.constant&&!n.computed;n.value.constant||f.push.apply(f,n.value.toWatch);n.computed&&(b(n.key,r),n.key.constant||f.push.apply(f,n.key.toWatch))});n.constant=u;n.toWatch=f;break;case i.ThisExpression:case i.LocalsExpression:n.constant=!1;n.toWatch=[]}}function ch(n){if(1===n.length){var i=n[0].expression,t=i.toWatch;return 1!==t.length?t:t[0]!==i?t:void 0}}function lh(n){return n.type===i.Identifier||n.type===i.MemberExpression}function ah(n){if(1===n.body.length&&lh(n.body[0].expression))return{type:i.AssignmentExpression,left:n.body[0].expression,right:{type:i.NGValueParameter},operator:"="}}function gy(n){return 0===n.body.length||1===n.body.length&&(n.body[0].expression.type===i.Literal||n.body[0].expression.type===i.ArrayExpression||n.body[0].expression.type===i.ObjectExpression)}function np(n){return n.constant}function vh(n){this.$filter=n}function yh(n){this.$filter=n}function ye(n,t,r){this.ast=new i(n,r);this.astCompiler=r.csp?new yh(t):new vh(t)}function pe(n){return e(n.valueOf)?n.valueOf():yk.call(n)}function tp(){var n,i,u=p(),f={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(n,t){f[n]=t};this.setIdentifierFns=function(t,r){return n=t,i=r,this};this.$get=["$filter",function(s){function y(n,t){var i,f,r;switch(typeof n){case"string":return(n=n.trim(),r=n,i=u[r])||(":"===n.charAt(0)&&":"===n.charAt(1)&&(f=!0,n=n.substring(2)),i=new ye(new of(v),s,v).parse(n),i.constant?i.$$watchDelegate=w:f?(i.oneTime=!0,i.$$watchDelegate=p):i.inputs&&(i.$$watchDelegate=c),u[r]=i),l(i,t);case"function":return l(n,t);default:return l(o,t)}}function h(n,t,i){return null==n||null==t?n===t:!("object"==typeof n&&"object"==typeof(n=pe(n))&&!i)&&(n===t||n!==n&&t!==t)}function c(n,t,i,r,u){var e,f=r.inputs,s;if(1===f.length)return s=h,f=f[0],n.$watch(function(n){var t=f(n);return h(t,s,r.literal)||(e=r(n,void 0,void 0,[t]),s=t&&pe(t)),e},t,i,u);for(var c=[],l=[],o=0,a=f.length;o<a;o++)c[o]=h,l[o]=null;return n.$watch(function(n){for(var i,u=!1,t=0,o=f.length;t<o;t++)i=f[t](n),(u||(u=!h(i,c[t],r.literal)))&&(l[t]=i,c[t]=i&&pe(i));return u&&(e=r(n,void 0,void 0,l)),e},t,i,u)}function p(n,t,i,u,f){function v(n){return u(n)}function o(n,i,r){h=n;e(t)&&t(n,i,r);l(n)&&r.$$postDigest(function(){l(h)&&s()})}var s,h,l=u.literal?a:r;return s=u.inputs?c(n,o,i,u,f):n.$watch(v,o,i)}function a(n){var i=!0;return t(n,function(n){r(n)||(i=!1)}),i}function w(n,t,i,r){var u=n.$watch(function(n){return u(),r(n)},t,i);return u}function l(n,t){function e(i,r,u,e){var o=f&&e?e[0]:n(i,r,u,e);return t(o,i,r)}function o(i,r,u,e){var o=f&&e?e[0]:n(i,r,u,e),h=t(o,i,r);return s(o)?h:o}if(!t)return n;var u=n.$$watchDelegate,f=!1,s=n.literal?a:r,i=n.oneTime?o:e;return i.literal=n.literal,i.oneTime=n.oneTime,f=!n.inputs,u&&u!==c?(i.$$watchDelegate=u,i.inputs=n.inputs):t.$stateful||(i.$$watchDelegate=c,i.inputs=n.inputs?n.inputs:[n]),i}var b=hi().noUnsafeEval,v={csp:b,literals:ti(f),isIdentifierStart:e(n)&&n,isIdentifierContinue:e(i)&&i};return y}]}function ip(){var n=!0;this.$get=["$rootScope","$exceptionHandler",function(t,i){return ph(function(n){t.$evalAsync(n)},i,n)}];this.errorOnUnhandledRejections=function(t){return r(t)?(n=t,this):n}}function rp(){var n=!0;this.$get=["$browser","$exceptionHandler",function(t,i){return ph(function(n){t.defer(n)},i,n)}];this.errorOnUnhandledRejections=function(t){return r(t)?(n=t,this):n}}function ph(n,i,r){function tt(){return new et}function et(){var n=this.promise=new f;this.resolve=function(t){h(n,t)};this.reject=function(t){a(n,t)};this.notify=function(t){g(n,t)}}function f(){this.$$state={status:0}}function ot(t){var o,i,f,u,s;f=t.pending;t.processScheduled=!1;t.pending=void 0;try{for(u=0,s=f.length;u<s;++u){t.pur=!0;i=f[u][0];o=f[u][t.status];try{e(o)?h(i,o(t.value)):1===t.status?h(i,t.value):a(i,t.value)}catch(n){a(i,n)}}}finally{--y;r&&0===y&&n(it)}}function it(){for(var n,t;!y&&b.length;)n=b.shift(),n.pur||(n.pur=!0,t="Possibly unhandled rejection: "+hs(n.value),n.value instanceof Error?i(n.value,t):i(t))}function k(t){!r||t.pending||2!==t.status||t.pur||(0===y&&0===b.length&&n(it),b.push(t));!t.processScheduled&&t.pending&&(t.processScheduled=!0,++y,n(function(){ot(t)}))}function h(n,t){n.$$state.status||(t===n?d(n,ft("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):rt(n,t))}function rt(n,t){function f(t){i||(i=!0,rt(n,t))}function u(t){i||(i=!0,d(n,t))}function o(t){g(n,t)}var r,i=!1;try{(s(t)||e(t))&&(r=t.then);e(r)?(n.$$state.status=-1,r.call(t,f,u,o)):(n.$$state.value=t,n.$$state.status=1,k(n.$$state))}catch(n){u(n)}}function a(n,t){n.$$state.status||d(n,t)}function d(n,t){n.$$state.value=t;n.$$state.status=2;k(n.$$state)}function g(t,r){var u=t.$$state.pending;t.$$state.status<=0&&u&&u.length&&n(function(){for(var n,f,t=0,o=u.length;t<o;t++){f=u[t][0];n=u[t][3];try{g(f,e(n)?n(r):r)}catch(n){i(n)}}})}function p(n){var t=new f;return a(t,n),t}function ut(n,t,i){var r=null;try{e(i)&&(r=i())}catch(n){return p(n)}return eu(r)?r.then(function(){return t(n)},p):t(n)}function w(n,t,i,r){var u=new f;return h(u,n),u.then(t,i,r)}function st(n){var i=new f,r=0,u=c(n)?[]:{};return t(n,function(n,t){r++;w(n).then(function(n){u[t]=n;--r||h(i,u)},function(n){a(i,n)})}),0===r&&h(i,u),i}function ht(n){var i=tt();return t(n,function(n){w(n).then(i.resolve,i.reject)}),i.promise}function o(n){function i(n){h(t,n)}function r(n){a(t,n)}if(!e(n))throw ft("norslvr","Expected resolverFn, got '{0}'",n);var t=new f;return n(i,r),t}var ft=l("$q",TypeError),y=0,b=[],nt;return v(f.prototype,{then:function(n,t,i){if(u(n)&&u(t)&&u(i))return this;var r=new f;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,n,t,i]),this.$$state.status>0&&k(this.$$state),r},"catch":function(n){return this.then(null,n)},"finally":function(n,t){return this.then(function(t){return ut(t,nt,n)},function(t){return ut(t,p,n)},t)}}),nt=w,o.prototype=f.prototype,o.defer=tt,o.reject=p,o.when=w,o.resolve=nt,o.all=st,o.race=ht,o}function up(){this.$get=["$window","$timeout",function(n,t){var i=n.requestAnimationFrame||n.webkitRequestAnimationFrame,f=n.cancelAnimationFrame||n.webkitCancelAnimationFrame||n.webkitCancelRequestAnimationFrame,r=!!i,u=r?function(n){var t=i(n);return function(){f(t)}}:function(n){var i=t(n,16.66,!1);return function(){t.cancel(i)}};return u.supported=r,u}]}function fp(){function h(n){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null;this.$$listeners={};this.$$listenerCount={};this.$$watchersCount=0;this.$id=fu();this.$$ChildScope=null}return t.prototype=n,t}var r=10,f=l("$rootScope"),n=null,i=null;this.digestTtl=function(n){return arguments.length&&(r=n),r};this.$get=["$exceptionHandler","$parse","$browser",function(c,l,a){function et(n){n.currentScope.$$destroyed=!0}function b(n){9===wt&&(n.$$childHead&&b(n.$$childHead),n.$$nextSibling&&b(n.$$nextSibling));n.$parent=n.$$nextSibling=n.$$prevSibling=n.$$childHead=n.$$childTail=n.$root=n.$$watchers=null}function p(){this.$id=fu();this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null;this.$root=this;this.$$destroyed=!1;this.$$listeners={};this.$$listenerCount={};this.$$watchersCount=0;this.$$isolateBindings=null}function tt(n){if(v.$$phase)throw f("inprog","{0} already in progress",v.$$phase);v.$$phase=n}function k(){v.$$phase=null}function d(n,t){do n.$$watchersCount+=t;while(n=n.$parent)}function rt(n,t,i){do n.$$listenerCount[i]-=t,0===n.$$listenerCount[i]&&delete n.$$listenerCount[i];while(n=n.$parent)}function ut(){}function ft(){for(;g.length;)try{g.shift()()}catch(n){c(n)}i=null}function ot(){null===i&&(i=a.defer(function(){v.$apply(ft)}))}p.prototype={constructor:p,$new:function(n,t){var i;return t=t||this,n?(i=new p,i.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=h(this)),i=new this.$$ChildScope),i.$parent=t,i.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=i,t.$$childTail=i):t.$$childHead=t.$$childTail=i,(n||t!==this)&&i.$on("$destroy",et),i},$watch:function(t,i,r,u){var s=l(t);if(s.$$watchDelegate)return s.$$watchDelegate(this,i,r,s,t);var h=this,f=h.$$watchers,c={fn:i,last:ut,get:s,exp:u||t,eq:!!r};return n=null,e(i)||(c.fn=o),f||(f=h.$$watchers=[],f.$$digestWatchIndex=-1),f.unshift(c),f.$$digestWatchIndex++,d(this,1),function(){var t=sr(f,c);t>=0&&(d(h,-1),t<f.$$digestWatchIndex&&f.$$digestWatchIndex--);n=null}},$watchGroup:function(n,i){function c(){o=!1;h?(h=!1,i(r,r,u)):i(r,f,u)}var f=new Array(n.length),r=new Array(n.length),e=[],u=this,o=!1,h=!0,s;return n.length?1===n.length?this.$watch(n[0],function(n,t,u){r[0]=n;f[0]=t;i(r,n===t?r:f,u)}):(t(n,function(n,t){var i=u.$watch(n,function(n,i){r[t]=n;f[t]=i;o||(o=!0,u.$evalAsync(c))});e.push(i)}),function(){for(;e.length;)e.shift()()}):(s=!0,u.$evalAsync(function(){s&&i(r,r,u)}),function(){s=!1})},$watchCollection:function(n,t){function h(n){var c,o,t,h,l;if(i=n,!u(i)){if(s(i))if(gt(i))for(r!==a&&(r=a,e=r.length=0,f++),c=i.length,e!==c&&(f++,r.length=e=c),l=0;l<c;l++)h=r[l],t=i[l],h!==h&&t!==t||h===t||(f++,r[l]=t);else{r!==v&&(r=v={},e=0,f++);c=0;for(o in i)pt.call(i,o)&&(c++,t=i[o],h=r[o],o in r?h!==h&&t!==t||h===t||(f++,r[o]=t):(e++,r[o]=t,f++));if(e>c){f++;for(o in r)pt.call(i,o)||(e--,delete r[o])}}else r!==i&&(r=i,f++);return f}}function p(){var n,r;if(y?(y=!1,t(i,i,c)):t(i,o,c),w)if(s(i))if(gt(i))for(o=new Array(i.length),n=0;n<i.length;n++)o[n]=i[n];else{o={};for(r in i)pt.call(i,r)&&(o[r]=i[r])}else o=i}h.$stateful=!0;var i,r,o,c=this,w=t.length>1,f=0,b=l(n,h),a=[],v={},y=!0,e=0;return this.$watch(b,p)},$digest:function(){var t,o,s,p,ct,h,l,et,u,b,d,ot=r,ht=this,g=[],rt;tt("$digest");a.$$checkUrlChange();this===v&&null!==i&&(a.defer.cancel(i),ft());n=null;do{for(l=!1,u=ht,rt=0;rt<y.length;rt++){try{d=y[rt];p=d.fn;p(d.scope,d.locals)}catch(t){c(t)}n=null}y.length=0;n:do{if(h=u.$$watchers)for(h.$$digestWatchIndex=h.length;h.$$digestWatchIndex--;)try{if(t=h[h.$$digestWatchIndex])if(ct=t.get,(o=ct(u))===(s=t.last)||(t.eq?st(o,s):it(o)&&it(s))){if(t===n){l=!1;break n}}else l=!0,n=t,t.last=t.eq?ti(o,null):o,p=t.fn,p(o,s===ut?o:s,u),ot<5&&(b=4-ot,g[b]||(g[b]=[]),g[b].push({msg:e(t.exp)?"fn: "+(t.exp.name||t.exp.toString()):t.exp,newVal:o,oldVal:s}))}catch(t){c(t)}if(!(et=u.$$watchersCount&&u.$$childHead||u!==ht&&u.$$nextSibling))for(;u!==ht&&!(et=u.$$nextSibling);)u=u.$parent}while(u=et);if((l||y.length)&&!ot--)throw k(),f("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",r,g);}while(l||y.length);for(k();nt<w.length;)try{w[nt++]()}catch(t){c(t)}w.length=nt=0;a.$$checkUrlChange()},$destroy:function(){var n,t;if(!this.$$destroyed){n=this.$parent;this.$broadcast("$destroy");this.$$destroyed=!0;this===v&&a.$$applicationDestroyed();d(this,-this.$$watchersCount);for(t in this.$$listenerCount)rt(this,this.$$listenerCount[t],t);n&&n.$$childHead===this&&(n.$$childHead=this.$$nextSibling);n&&n.$$childTail===this&&(n.$$childTail=this.$$prevSibling);this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling);this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling);this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=o;this.$on=this.$watch=this.$watchGroup=function(){return o};this.$$listeners={};this.$$nextSibling=null;b(this)}},$eval:function(n,t){return l(n)(this,t)},$evalAsync:function(n,t){v.$$phase||y.length||a.defer(function(){y.length&&v.$digest()});y.push({scope:this,fn:l(n),locals:t})},$$postDigest:function(n){w.push(n)},$apply:function(n){try{tt("$apply");try{return this.$eval(n)}finally{k()}}catch(n){c(n)}finally{try{v.$digest()}catch(n){throw c(n),n;}}},$applyAsync:function(n){function t(){i.$eval(n)}var i=this;n&&g.push(t);n=l(n);ot()},$on:function(n,t){var r=this.$$listeners[n],i,u;r||(this.$$listeners[n]=r=[]);r.push(t);i=this;do i.$$listenerCount[n]||(i.$$listenerCount[n]=0),i.$$listenerCount[n]++;while(i=i.$parent);return u=this,function(){var i=r.indexOf(t);-1!==i&&(r[i]=null,rt(u,1,n))}},$emit:function(n){var u,t,f,o=[],r=this,e=!1,i={name:n,targetScope:r,stopPropagation:function(){e=!0},preventDefault:function(){i.defaultPrevented=!0},defaultPrevented:!1},s=hr([i],arguments,1);do{for(u=r.$$listeners[n]||o,i.currentScope=r,t=0,f=u.length;t<f;t++)if(u[t])try{u[t].apply(null,s)}catch(n){c(n)}else u.splice(t,1),t--,f--;if(e)return i.currentScope=null,i;r=r.$parent}while(r);return i.currentScope=null,i},$broadcast:function(n){var r=this,t=r,e=r,u={name:n,targetScope:r,preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},f,i,o,s;if(!r.$$listenerCount[n])return u;for(s=hr([u],arguments,1);t=e;){for(u.currentScope=t,f=t.$$listeners[n]||[],i=0,o=f.length;i<o;i++)if(f[i])try{f[i].apply(null,s)}catch(n){c(n)}else f.splice(i,1),i--,o--;if(!(e=t.$$listenerCount[n]&&t.$$childHead||t!==r&&t.$$nextSibling))for(;t!==r&&!(e=t.$$nextSibling);)t=t.$parent}return u.currentScope=null,u}};var v=new p,y=v.$$asyncQueue=[],w=v.$$postDigestQueue=[],g=v.$$applyAsyncQueue=[],nt=0;return v}]}function ep(){var n=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return r(t)?(n=t,this):n};this.imgSrcSanitizationWhitelist=function(n){return r(n)?(t=n,this):t};this.$get=function(){return function(i,r){var u,f=r?t:n;return u=ii(i).href,""===u||u.match(f)?i:"unsafe:"+u}}}function we(n){return n.replace(pk,gf)}function op(n){if("self"===n)return n;if(h(n)){if(n.indexOf("***")>-1)throw ui("iwcard","Illegal sequence *** in string matcher.  String: {0}",n);return n=pc(n).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+n+"$")}if(fr(n))return new RegExp("^"+n.source+"$");throw ui("imatcher",'Matchers may only be "self", string patterns or RegExp objects');}function wh(n){var i=[];return r(n)&&t(n,function(n){i.push(op(n))}),i}function sp(){this.SCE_CONTEXTS=ct;var n=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(n=wh(t)),n};this.resourceUrlBlacklist=function(n){return arguments.length&&(t=wh(n)),t};this.$get=["$injector",function(i){function o(n,t){return"self"===n?bh(t):!!n.exec(t.href)}function h(i){for(var e=ii(i.toString()),f=!1,r=0,u=n.length;r<u;r++)if(o(n[r],e)){f=!0;break}if(f)for(r=0,u=t.length;r<u;r++)if(o(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 i=r.hasOwnProperty(n)?r[n]:null;if(!i)throw ui("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",n,t);if(null===t||u(t)||""===t)return t;if("string"!=typeof t)throw ui("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",n);return new i(t)}function l(n){return n instanceof e?n.$$unwrapTrustedValue():n}function a(n,t){if(null===t||u(t)||""===t)return t;var i=r.hasOwnProperty(n)?r[n]:null;if(i&&t instanceof i)return t.$$unwrapTrustedValue();if(n===ct.RESOURCE_URL){if(h(t))return t;throw ui("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",t.toString());}if(n===ct.HTML)return s(t);throw ui("unsafe","Attempting to use an unsafe value in a safe context.");}var s=function(){throw ui("unsafe","Attempting to use an unsafe value in a safe context.");},e,r;return i.has("$sanitize")&&(s=i.get("$sanitize")),e=f(),r={},r[ct.HTML]=f(e),r[ct.CSS]=f(e),r[ct.URL]=f(e),r[ct.JS]=f(e),r[ct.RESOURCE_URL]=f(r[ct.URL]),{trustAs:c,getTrusted:a,valueOf:l}}]}function hp(){var n=!0;this.enabled=function(t){return arguments.length&&(n=!!t),n};this.$get=["$parse","$sceDelegate",function(i,r){var u;if(n&&wt<8)throw ui("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 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.");u=vt(ct);u.isEnabled=function(){return n};u.trustAs=r.trustAs;u.getTrusted=r.getTrusted;u.valueOf=r.valueOf;n||(u.trustAs=u.getTrusted=function(n,t){return t},u.valueOf=ur);u.parseAs=function(n,t){var r=i(t);return r.literal&&r.constant?r:i(t,function(t){return u.getTrusted(n,t)})};var f=u.parseAs,e=u.getTrusted,o=u.trustAs;return t(ct,function(n,t){var i=a(t);u[we("parse_as_"+i)]=function(t){return f(n,t)};u[we("get_trusted_"+i)]=function(t){return e(n,t)};u[we("trust_as_"+i)]=function(t){return o(n,t)}}),u}]}function cp(){this.$get=["$window","$document",function(n,t){var r={},h=n.nw&&n.nw.process,c=!h&&n.chrome&&(n.chrome.app&&n.chrome.app.runtime||!n.chrome.app&&n.chrome.runtime&&n.chrome.runtime.id),l=!c&&n.history&&n.history.pushState,e=tt((/android (\d+)/.exec(a((n.navigator||{}).userAgent))||[])[1]),v=/Boxee/i.test((n.navigator||{}).userAgent),f=t[0]||{},i=f.body&&f.body.style,o=!1,s=!1;return i&&(o=!!("transition"in i||"webkitTransition"in i),s=!!("animation"in i||"webkitAnimation"in i)),{history:!(!l||e<4||v),hasEvent:function(n){if("input"===n&&wt)return!1;if(u(r[n])){var t=f.createElement("div");r[n]="on"+n in t}return r[n]},csp:hi(),transitions:o,animations:s,android:e}}]}function lp(){var n;this.httpOptions=function(t){return t?(n=t,this):n};this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,i,r,f,e){function o(s,l){function y(n){return l||(n=wk("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,n.status,n.statusText),t(n)),f.reject(n)}o.totalPendingRequests++;h(s)&&!u(i.get(s))||(s=e.getTrustedResourceUrl(s));var a=r.defaults&&r.defaults.transformResponse;return c(a)?a=a.filter(function(n){return n!==se}):a===se&&(a=null),r.get(s,v({cache:i,transformResponse:a},n)).finally(function(){o.totalPendingRequests--}).then(function(n){return i.put(s,n.data),n.data},y)}return o.totalPendingRequests=0,o}]}function ap(){this.$get=["$rootScope","$browser","$location",function(n,i,r){var u={};return u.findBindings=function(n,i,r){var f=n.getElementsByClassName("ng-binding"),u=[];return t(f,function(n){var f=ft.element(n).data("$binding");f&&t(f,function(t){r?new RegExp("(^|\\s)"+pc(i)+"(\\s|\\||$)").test(t)&&u.push(n):-1!==t.indexOf(i)&&u.push(n)})}),u},u.findModels=function(n,t,i){for(var u=["ng-","data-ng-","ng\\:"],r=0;r<u.length;++r){var e=i?"=":"*=",o="["+u[r]+"model"+e+'"'+t+'"]',f=n.querySelectorAll(o);if(f.length)return f}},u.getLocation=function(){return r.url()},u.setLocation=function(t){t!==r.url()&&(r.url(t),n.$digest())},u.whenStable=function(n){i.notifyWhenNoOutstandingRequests(n)},u}]}function vp(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(n,t,i,u,f){function h(h,c,l){e(h)||(l=c,c=h,h=o);var v,w=ai(arguments,3),p=r(l)&&!l,a=(p?u:i).defer(),y=a.promise;return v=t.defer(function(){try{a.resolve(h.apply(null,w))}catch(n){a.reject(n);f(n)}finally{delete s[y.$$timeoutId]}p||n.$apply()},c),y.$$timeoutId=v,s[v]=a,y}var s={};return h.cancel=function(n){return!!(n&&n.$$timeoutId in s)&&(s[n.$$timeoutId].promise.catch(o),s[n.$$timeoutId].reject("canceled"),delete s[n.$$timeoutId],t.defer.cancel(n.$$timeoutId))},h}]}function ii(n){var t=n;return wt&&(nt.setAttribute("href",t),t=nt.href),nt.setAttribute("href",t),{href:nt.href,protocol:nt.protocol?nt.protocol.replace(/:$/,""):"",host:nt.host,search:nt.search?nt.search.replace(/^\?/,""):"",hash:nt.hash?nt.hash.replace(/^#/,""):"",hostname:nt.hostname,port:nt.port,pathname:"/"===nt.pathname.charAt(0)?nt.pathname:"/"+nt.pathname}}function bh(n){var t=h(n)?ii(n):n;return t.protocol===fl.protocol&&t.host===fl.host}function yp(){this.$get=ot(n)}function kh(n){function f(n){try{return n.cookie||""}catch(n){return""}}function r(n){try{return decodeURIComponent(n)}catch(t){return n}}var e=n[0]||{},t={},i="";return function(){var s,n,o,h,c,l=f(e);if(l!==i)for(i=l,s=i.split("; "),t={},o=0;o<s.length;o++)n=s[o],(h=n.indexOf("="))>0&&(c=r(n.substring(0,h)),u(t[c])&&(t[c]=r(n.substring(h+1))));return t}}function pp(){this.$get=kh}function dh(n){function i(u,f){if(s(u)){var e={};return t(u,function(n,t){e[t]=i(t,n)}),e}return n.factory(u+r,f)}var r="Filter";this.register=i;this.$get=["$injector",function(n){return function(t){return n.get(t+r)}}];i("currency",gh);i("date",uc);i("filter",wp);i("json",rw);i("limitTo",uw);i("lowercase",sl);i("number",nc);i("orderBy",fc);i("uppercase",hl)}function wp(){return function(n,t,i,r){if(!gt(n)){if(null==n)return n;throw l("filter")("notarray","Expected array but received: {0}",n);}r=r||"$";var u,f,e=be(t);switch(e){case"function":u=t;break;case"boolean":case"null":case"number":case"string":f=!0;case"object":u=bp(t,i,r,f);break;default:return n}return Array.prototype.filter.call(n,u)}}function bp(n,t,i,r){var f=s(n)&&i in n;return!0===t?t=st:e(t)||(t=function(n,t){return!u(n)&&(null===n||null===t?n===t:!(s(t)||s(n)&&!vf(n))&&(n=a(""+n),t=a(""+t),-1!==n.indexOf(t)))}),function(u){return f&&!s(u)?oi(u,n[i],t,i,!1):oi(u,n,t,i,r)}}function oi(n,t,i,r,f,o){var v=be(n),a=be(t),s,h,l;if("string"===a&&"!"===t.charAt(0))return!oi(n,t.substring(1),i,r,f);if(c(n))return n.some(function(n){return oi(n,t,i,r,f)});switch(v){case"object":if(f){for(s in n)if(s.charAt&&"$"!==s.charAt(0)&&oi(n[s],t,i,r,!0))return!0;return!o&&oi(n,t,i,r,!1)}if("object"===a){for(s in t)if(h=t[s],!e(h)&&!u(h)&&(l=s===r,!oi(l?n:n[s],h,i,r,l,l)))return!1;return!0}return i(n,t);case"function":return!1;default:return i(n,t)}}function be(n){return null===n?"null":typeof n}function gh(n){var t=n.NUMBER_FORMATS;return function(n,i,r){return u(i)&&(i=t.CURRENCY_SYM),u(r)&&(r=t.PATTERNS[1].maxFrac),null==n?n:tc(n,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,i)}}function nc(n){var t=n.NUMBER_FORMATS;return function(n,i){return null==n?n:tc(n,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,i)}}function kp(n){var r,t,i,f,u,e=0;for((t=n.indexOf(ol))>-1&&(n=n.replace(ol,"")),(i=n.search(/e/i))>0?(t<0&&(t=i),t+=+n.slice(i+1),n=n.substring(0,i)):t<0&&(t=n.length),i=0;n.charAt(i)===yo;i++);if(i===(u=n.length))r=[0],t=1;else{for(u--;n.charAt(u)===yo;)u--;for(t-=i,r=[],f=0;i<=u;i++,f++)r[f]=+n.charAt(i)}return t>el&&(r=r.splice(0,el-1),e=t-1,t=1),{d:r,e:e,i:t}}function dp(n,t,i,r){var f=n.d,o=f.length-n.i,e,a,s,h,c,l;if(t=u(t)?Math.min(Math.max(i,o),r):+t,e=t+n.i,a=f[e],e>0)for(f.splice(Math.max(n.i,e)),s=e;s<f.length;s++)f[s]=0;else for(o=Math.max(0,o),n.i=1,f.length=Math.max(1,e=t+1),f[0]=0,h=1;h<e;h++)f[h]=0;if(a>=5)if(e-1<0){for(c=0;c>e;c--)f.unshift(0),n.i++;f.unshift(1);n.i++}else f[e-1]++;for(;o<Math.max(0,t);o++)f.push(0);l=f.reduceRight(function(n,t,i,r){return t+=n,r[i]=t%10,Math.floor(t/10)},0);l&&(f.unshift(l),n.i++)}function tc(n,t,i,r,u){var s;if(!h(n)&&!d(n)||isNaN(n))return"";var o,y=!isFinite(n),a=!1,p=Math.abs(n)+"",e="";if(y)e="∞";else{o=kp(p);dp(o,u,t.minFrac,t.maxFrac);var f=o.d,c=o.i,v=o.e,l=[];for(a=f.reduce(function(n,t){return n&&!t},!0);c<0;)f.unshift(0),c++;for(c>0?l=f.splice(c,f.length):(l=f,f=[0]),s=[],f.length>=t.lgSize&&s.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)s.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&s.unshift(f.join(""));e=s.join(i);l.length&&(e+=r+l.join(""));v&&(e+="e+"+v)}return n<0&&!a?t.negPre+e+t.negSuf:t.posPre+e+t.posSuf}function ku(n,t,i,r){var u="";for((n<0||r&&n<=0)&&(r?n=1-n:(n=-n,u="-")),n=""+n;n.length<t;)n=yo+n;return i&&(n=n.substr(n.length-t)),u+n}function g(n,t,i,r,u){return i=i||0,function(f){var e=f["get"+n]();return(i>0||e>-i)&&(e+=i),0===e&&-12===i&&(e=12),ku(e,t,r,u)}}function br(n,t,i){return function(r,u){var f=r["get"+n]();return u[dr((i?"STANDALONE":"")+(t?"SHORT":"")+n)][f]}}function gp(n,t,i){var r=-1*i,u=r>=0?"+":"";return u+(ku(Math[r>0?"floor":"ceil"](r/60),2)+ku(Math.abs(r%60),2))}function ic(n){var t=new Date(n,0,1).getDay();return new Date(n,0,(t<=4?5:12)-t)}function nw(n){return new Date(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))}function rc(n){return function(t){var i=ic(t.getFullYear()),r=nw(t),u=+r-+i;return ku(1+Math.round(u/6048e5),n)}}function tw(n,t){return n.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function ke(n,t){return n.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function iw(n,t){return n.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function uc(n){function i(n){var t;if(t=n.match(r)){var i=new Date(0),u=0,f=0,e=t[8]?i.setUTCFullYear:i.setFullYear,o=t[8]?i.setUTCHours:i.setHours;t[9]&&(u=tt(t[9]+t[10]),f=tt(t[9]+t[11]));e.call(i,tt(t[1]),tt(t[2])-1,tt(t[3]));var s=tt(t[4]||0)-u,h=tt(t[5]||0)-f,c=tt(t[6]||0),l=Math.round(1e3*parseFloat("0."+(t[7]||0)));return o.call(i,s,h,c,l),i}return n}var r=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(r,u,f){var s,c,l="",e=[],o;if(u=u||"mediumDate",u=n.DATETIME_FORMATS[u]||u,h(r)&&(r=dk.test(r)?tt(r):i(r)),d(r)&&(r=new Date(r)),!rt(r)||!isFinite(r.getTime()))return r;for(;u;)c=kk.exec(u),c?(e=hr(e,c,1),u=e.pop()):(e.push(u),u=null);return o=r.getTimezoneOffset(),f&&(o=rs(f,o),r=bf(r,f,!0)),t(e,function(t){s=bk[t];l+=s?s(r,n.DATETIME_FORMATS,o):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}}function rw(){return function(n,t){return u(t)&&(t=2),lr(n,t)}}function uw(){return function(n,t,i){return t=Math.abs(Number(t))===1/0?Number(t):tt(t),it(t)?n:(d(n)&&(n=n.toString()),gt(n)?(i=!i||isNaN(i)?0:tt(i),i=i<0?Math.max(0,n.length+i):i,t>=0?de(n,i,i+t):0===i?de(n,t,n.length):de(n,Math.max(0,i+t),i)):n)}}function de(n,t,i){return h(n)?n.slice(t,i):di.call(n,t,i)}function fc(n){function i(t){return t.map(function(t){var r=1,i=ur,u;return e(t)?i=t:h(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(r="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=n(t),i.constant))&&(u=i(),i=function(n){return n[u]}),{get:i,descending:r}})}function t(n){switch(typeof n){case"number":case"boolean":case"string":return!0;default:return!1}}function r(n){return e(n.valueOf)&&(n=n.valueOf(),t(n))?n:(vf(n)&&(n=n.toString(),t(n)),n)}function u(n,t){var i=typeof n;return null===n?(i="string",n="null"):"object"===i&&(n=r(n)),{value:n,type:i,index:t}}function f(n,t){var f=0,u=n.type,e=t.type,i,r;return u===e?(i=n.value,r=t.value,"string"===u?(i=i.toLowerCase(),r=r.toLowerCase()):"object"===u&&(s(i)&&(i=n.index),s(r)&&(r=t.index)),i!==r&&(f=i<r?-1:1)):f=u<e?-1:1,f}return function(n,t,r,o){function y(n,t){return{value:n,tieBreaker:{value:t,type:"number",index:t},predicateValues:s.map(function(i){return u(i.get(n),t)})}}function p(n,t){for(var r,i=0,u=s.length;i<u;i++)if(r=a(n.predicateValues[i],t.predicateValues[i]),r)return r*s[i].descending*h;return a(n.tieBreaker,t.tieBreaker)*h}if(null==n)return n;if(!gt(n))throw l("orderBy")("notarray","Expected array but received: {0}",n);c(t)||(t=[t]);0===t.length&&(t=["+"]);var s=i(t),h=r?-1:1,a=e(o)?o:f,v=Array.prototype.map.call(n,y);return v.sort(p),n=v.map(function(n){return n.value})}}function pi(n){return e(n)&&(n={link:n}),n.restrict=n.restrict||"AC",ot(n)}function fw(n,t){n.$name=t}function du(n,t,i,r,u){this.$$controls=[];this.$error={};this.$$success={};this.$pending=void 0;this.$name=u(t.name||t.ngForm||"")(i);this.$dirty=!1;this.$pristine=!0;this.$valid=!0;this.$invalid=!1;this.$submitted=!1;this.$$parentForm=iu;this.$$element=n;this.$$animate=r;ec(this)}function ec(n){n.$$classCache={};n.$$classCache[gl]=!(n.$$classCache[ru]=n.$$element.hasClass(ru))}function oc(n){function e(n,t,i,r){n[t]||(n[t]={});f(n[t],i,r)}function o(n,i,r,u){n[i]&&t(n[i],r,u);sc(n[i])&&(n[i]=void 0)}function i(n,t,i){i&&!n.$$classCache[t]?(n.$$animate.addClass(n.$$element,t),n.$$classCache[t]=!0):!i&&n.$$classCache[t]&&(n.$$animate.removeClass(n.$$element,t),n.$$classCache[t]=!1)}function r(n,t,r){t=t?"-"+os(t,"-"):"";i(n,ru+t,!0===r);i(n,gl+t,!1===r)}var s=n.clazz,f=n.set,t=n.unset;s.prototype.$setValidity=function(n,s,h){u(s)?e(this,"$pending",n,h):o(this,"$pending",n,h);ni(s)?s?(t(this.$error,n,h),f(this.$$success,n,h)):(f(this.$error,n,h),t(this.$$success,n,h)):(t(this.$error,n,h),t(this.$$success,n,h));this.$pending?(i(this,po,!0),this.$valid=this.$invalid=void 0,r(this,"",null)):(i(this,po,!1),this.$valid=sc(this.$error),this.$invalid=!this.$valid,r(this,"",this.$valid));var c;c=this.$pending&&this.$pending[n]?void 0:!this.$error[n]&&(!!this.$$success[n]||null);r(this,n,c);this.$$parentForm.$setValidity(n,c,this)}}function sc(n){if(n)for(var t in n)if(n.hasOwnProperty(t))return!1;return!0}function ge(n){n.$formatters.push(function(t){return n.$isEmpty(t)?t:t.toString()})}function ew(n,t,i,r,u,f){wi(n,t,i,r,u,f);ge(r)}function wi(n,t,i,r,u,f){var h=a(t[0].type),s,e,o,c;if(u.android||(s=!1,t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1;o()})),o=function(n){if(e&&(f.defer.cancel(e),e=null),!s){var u=t.val(),o=n&&n.type;"password"===h||i.ngTrim&&"false"===i.ngTrim||(u=y(u));(r.$viewValue!==u||""===u&&r.$$hasNativeValidators)&&r.$setViewValue(u,o)}},u.hasEvent("input"))t.on("input",o);else c=function(n,t,i){e||(e=f.defer(function(){e=null;t&&t.value===i||o(n)}))},t.on("keydown",function(n){var t=n.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||c(n,this,this.value)}),u.hasEvent("paste")&&t.on("paste cut",c);t.on("change",o);wl[h]&&r.$$hasNativeValidators&&h===i.type&&t.on(fd,function(n){if(!e){var t=this[vc],i=t.badInput,r=t.typeMismatch;e=f.defer(function(){e=null;t.badInput===i&&t.typeMismatch===r||o(n)})}});r.$render=function(){var n=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==n&&t.val(n)}}function ow(n,t){var i;if(rt(n))return n;if(h(n)&&(wo.lastIndex=0,i=wo.exec(n),i)){var r=+i[1],s=+i[2],u=0,f=0,e=0,o=0,c=ic(r),l=7*(s-1);return t&&(u=t.getHours(),f=t.getMinutes(),e=t.getSeconds(),o=t.getMilliseconds()),new Date(r,0,c.getDate()+l,u,f,e,o)}return NaN}function gu(n,i){return function(r,u){var e,f;if(rt(r))return r;if(h(r)){if('"'===r.charAt(0)&&'"'===r.charAt(r.length-1)&&(r=r.substring(1,r.length-1)),td.test(r))return new Date(r);if(n.lastIndex=0,e=n.exec(r))return e.shift(),f=u?{yyyy:u.getFullYear(),MM:u.getMonth()+1,dd:u.getDate(),HH:u.getHours(),mm:u.getMinutes(),ss:u.getSeconds(),sss:u.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},t(e,function(n,t){t<i.length&&(f[i[t]]=+n)}),new Date(f.yyyy,f.MM-1,f.dd,f.HH,f.mm,f.ss||0,1e3*f.sss||0)}return NaN}}function kr(n,t,i,f){return function(e,o,s,h,c,l,a){function p(n){return n&&!(n.getTime&&n.getTime()!==n.getTime())}function k(n){return r(n)&&!rt(n)?i(n)||void 0:n}var v,y,w,b;no(e,o,s,h);wi(e,o,s,h,c,l);y=h&&h.$options.getOption("timezone");(h.$$parserName=n,h.$parsers.push(function(n){if(h.$isEmpty(n))return null;if(t.test(n)){var r=i(n,v);return y&&(r=bf(r,y)),r}}),h.$formatters.push(function(n){if(n&&!rt(n))throw uu("datefmt","Expected `{0}` to be a date",n);return p(n)?(v=n,v&&y&&(v=bf(v,y,!0)),a("date")(n,f,y)):(v=null,"")}),r(s.min)||s.ngMin)&&(h.$validators.min=function(n){return!p(n)||u(w)||i(n)>=w},s.$observe("min",function(n){w=k(n);h.$validate()}));(r(s.max)||s.ngMax)&&(h.$validators.max=function(n){return!p(n)||u(b)||i(n)<=b},s.$observe("max",function(n){b=k(n);h.$validate()}))}}function no(n,t,i,r){var u=t[0];(r.$$hasNativeValidators=s(u.validity))&&r.$parsers.push(function(n){var i=t.prop(vc)||{};if(!i.badInput&&!i.typeMismatch)return n})}function hc(n){n.$$parserName="number";n.$parsers.push(function(t){return n.$isEmpty(t)?null:ud.test(t)?parseFloat(t):void 0});n.$formatters.push(function(t){if(!n.$isEmpty(t)){if(!d(t))throw uu("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function bi(n){return r(n)&&!d(n)&&(n=parseFloat(n)),it(n)?void 0:n}function to(n){return(0|n)===n}function io(n){var t=n.toString(),r=t.indexOf("."),i;return-1===r?-1<n&&n<1&&(i=/e-(\d+)$/.exec(t),i)?Number(i[1]):0:t.length-r-1}function cc(n,t,i){var r=Number(n),u=!to(r),f=!to(t),e=!to(i);if(u||f||e){var s=u?io(r):0,h=f?io(t):0,c=e?io(i):0,l=Math.max(s,h,c),o=Math.pow(10,l);r*=o;t*=o;i*=o;u&&(r=Math.round(r));f&&(t=Math.round(t));e&&(i=Math.round(i))}return(r-t)%i==0}function sw(n,t,i,f,e,o){var s,h,c;no(n,t,i,f);hc(f);wi(n,t,i,f,e,o);((r(i.min)||i.ngMin)&&(f.$validators.min=function(n){return f.$isEmpty(n)||u(s)||n>=s},i.$observe("min",function(n){s=bi(n);f.$validate()})),(r(i.max)||i.ngMax)&&(f.$validators.max=function(n){return f.$isEmpty(n)||u(h)||n<=h},i.$observe("max",function(n){h=bi(n);f.$validate()})),r(i.step)||i.ngStep)&&(f.$validators.step=function(n,t){return f.$isEmpty(t)||u(c)||cc(t,s||0,c)},i.$observe("step",function(n){c=bi(n);f.$validate()}))}function hw(n,t,i,f,e,o){function l(n,r){t.attr(n,i[n]);i.$observe(n,r)}function p(n){if(h=bi(n),!it(f.$modelValue))if(s){var i=t.val();h>i&&(i=h,t.val(i));f.$setViewValue(i)}else f.$validate()}function w(n){if(c=bi(n),!it(f.$modelValue))if(s){var i=t.val();c<i&&(t.val(c),i=c<h?h:c);f.$setViewValue(i)}else f.$validate()}function b(n){a=bi(n);it(f.$modelValue)||(s&&f.$viewValue!==t.val()?f.$setViewValue(t.val()):f.$validate())}no(n,t,i,f);hc(f);wi(n,t,i,f,e,o);var s=f.$$hasNativeValidators&&"range"===t[0].type,h=s?0:void 0,c=s?100:void 0,a=s?1:void 0,v=t[0].validity,k=r(i.min),d=r(i.max),g=r(i.step),y=f.$render;f.$render=s&&r(v.rangeUnderflow)&&r(v.rangeOverflow)?function(){y();f.$setViewValue(t.val())}:y;k&&(f.$validators.min=s?function(){return!0}:function(n,t){return f.$isEmpty(t)||u(h)||t>=h},l("min",p));d&&(f.$validators.max=s?function(){return!0}:function(n,t){return f.$isEmpty(t)||u(c)||t<=c},l("max",w));g&&(f.$validators.step=s?function(){return!v.stepMismatch}:function(n,t){return f.$isEmpty(t)||u(a)||cc(t,h||0,a)},l("step",b))}function cw(n,t,i,r,u,f){wi(n,t,i,r,u,f);ge(r);r.$$parserName="url";r.$validators.url=function(n,t){var i=n||t;return r.$isEmpty(i)||id.test(i)}}function lw(n,t,i,r,u,f){wi(n,t,i,r,u,f);ge(r);r.$$parserName="email";r.$validators.email=function(n,t){var i=n||t;return r.$isEmpty(i)||rd.test(i)}}function aw(n,t,i,r){var f=!i.ngTrim||"false"!==y(i.ngTrim),e;u(i.name)&&t.attr("name",fu());e=function(n){var u;t[0].checked&&(u=i.value,f&&(u=y(u)),r.$setViewValue(u,n&&n.type))};t.on("click",e);r.$render=function(){var n=i.value;f&&(n=y(n));t[0].checked=n===r.$viewValue};i.$observe("value",r.$render)}function lc(n,t,i,u,f){var e;if(r(u)){if(e=n(u),!e.constant)throw uu("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",i,u);return e(t)}return f}function vw(n,t,i,r,u,f,e,o){var s=lc(o,n,"ngTrueValue",i.ngTrueValue,!0),h=lc(o,n,"ngFalseValue",i.ngFalseValue,!1),c=function(n){r.$setViewValue(t[0].checked,n&&n.type)};t.on("click",c);r.$render=function(){t[0].checked=r.$viewValue};r.$isEmpty=function(n){return!1===n};r.$formatters.push(function(n){return st(n,s)});r.$parsers.push(function(n){return n?s:h})}function ro(n,i){function e(n,t){var u,i,f,r;if(!n||!n.length)return[];if(!t||!t.length)return n;u=[];n:for(i=0;i<n.length;i++){for(f=n[i],r=0;r<t.length;r++)if(f===t[r])continue n;u.push(f)}return u}function r(n){return n&&n.split(" ")}function u(n){var t=n;return c(n)?t=n.map(u).join(" "):s(n)&&(t=Object.keys(n).filter(function(t){return n[t]}).join(" ")),t}n="ngClass"+n;var f;return["$parse",function(o){return{restrict:"AC",link:function(s,c,l){function b(n){n=v(r(n),1);l.$addClass(n)}function k(n){n=v(r(n),-1);l.$removeClass(n)}function d(n,t){var i=r(n),u=r(t),f=e(i,u),o=e(u,i),s=v(f,-1),h=v(o,1);l.$addClass(h);l.$removeClass(s)}function v(n,i){var r=[];return t(n,function(n){(i>0||a[n])&&(a[n]=(a[n]||0)+i,a[n]===+(i>0)&&r.push(n))}),r.join(" ")}function g(n){n===i?b(y):k(y);w=n}function nt(n){h(n)||(n=u(n));w===i&&d(y,n);y=n}var y,a=c.data("$classCounts"),w=!0;a||(a=p(),c.data("$classCounts",a));"ngClass"!==n&&(f||(f=o("$index",function(n){return 1&n})),s.$watch(f,g));s.$watch(o(l[n],u),nt)}}}]}function nf(n,t,i,r,u,f,e,o,s){this.$viewValue=Number.NaN;this.$modelValue=Number.NaN;this.$$rawModelValue=void 0;this.$validators={};this.$asyncValidators={};this.$parsers=[];this.$formatters=[];this.$viewChangeListeners=[];this.$untouched=!0;this.$touched=!1;this.$pristine=!0;this.$dirty=!1;this.$valid=!0;this.$invalid=!1;this.$error={};this.$$success={};this.$pending=void 0;this.$name=s(i.name||"",!1)(n);this.$$parentForm=iu;this.$options=hf;this.$$parsedNgModel=u(i.ngModel);this.$$parsedNgModelAssign=this.$$parsedNgModel.assign;this.$$ngModelGet=this.$$parsedNgModel;this.$$ngModelSet=this.$$parsedNgModelAssign;this.$$pendingDebounce=null;this.$$parserValid=void 0;this.$$currentValidationRunId=0;Object.defineProperty(this,"$$scope",{value:n});this.$$attr=i;this.$$element=r;this.$$animate=f;this.$$timeout=e;this.$$parse=u;this.$$q=o;this.$$exceptionHandler=t;ec(this);yw(this)}function yw(n){n.$$scope.$watch(function(t){var i=n.$$ngModelGet(t);if(i!==n.$modelValue&&(n.$modelValue===n.$modelValue||i===i)){n.$modelValue=n.$$rawModelValue=i;n.$$parserValid=void 0;for(var u=n.$formatters,f=u.length,r=i;f--;)r=u[f](r);n.$viewValue!==r&&(n.$$updateEmptyClasses(r),n.$viewValue=n.$$lastCommittedViewValue=r,n.$render(),n.$$runValidators(n.$modelValue,n.$viewValue,o))}return i})}function uo(n){this.$$options=n}function ac(n,i){t(i,function(t,i){r(n[i])||(n[i]=t)})}function ki(n,t){n.prop("selected",t);n.attr("selected",t)}var pw=/^\/(.+)\/([a-z]*)$/,vc="validity",pt=Object.prototype.hasOwnProperty,fo={objectMaxDepth:5},a=function(n){return h(n)?n.toLowerCase():n},dr=function(n){return h(n)?n.toUpperCase():n},ww=function(n){return h(n)?n.replace(/[A-Z]/g,function(n){return String.fromCharCode(32|n.charCodeAt(0))}):n},bw=function(n){return h(n)?n.replace(/[a-z]/g,function(n){return String.fromCharCode(-33&n.charCodeAt(0))}):n},it,nr,kc,ho,co,dc,ul,of,i,sl,hl,cl,tu,iu,po,hf,na,ta;"i"!=="I".toLowerCase()&&(a=ww,dr=bw);var wt,f,kt,eo,di=[].slice,kw=[].splice,dw=[].push,ut=Object.prototype.toString,yc=Object.getPrototypeOf,si=l("ng"),ft=n.angular||(n.angular={}),gw=0;wt=n.document.documentMode;it=Number.isNaN||function(n){return n!==n};o.$inject=[];ur.$inject=[];var c=Array.isArray,nb=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,y=function(n){return h(n)?n.trim():n},pc=function(n){return n.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},hi=function(){var i,t;return r(hi.rules)||(i=n.document.querySelector("[ng-csp]")||n.document.querySelector("[data-ng-csp]"),i?(t=i.getAttribute("ng-csp")||i.getAttribute("data-ng-csp"),hi.rules={noUnsafeEval:!t||-1!==t.indexOf("no-unsafe-eval"),noInlineStyle:!t||-1!==t.indexOf("no-inline-style")}):hi.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(n){return!0}}(),noInlineStyle:!1}),hi.rules},tf=function(){if(r(tf.name_))return tf.name_;for(var u,i,f,e=gi.length,t=0;t<e;++t)if(i=gi[t],u=n.document.querySelector("["+i.replace(":","\\:")+"jq]")){f=u.getAttribute(i+"jq");break}return tf.name_=f},tb=/:/g,gi=["ng-","data-ng-","ng:","x-ng-"],ib=function(t){var i=t.currentScript,r;return i?(i instanceof n.HTMLScriptElement||i instanceof n.SVGScriptElement)?(r=i.attributes,[r.getNamedItem("src"),r.getNamedItem("href"),r.getNamedItem("xlink:href")].every(function(n){if(!n)return!0;if(!n.value)return!1;var i=t.createElement("a");if(i.href=n.value,t.location.origin===i.origin)return!0;switch(i.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}})):!1:!0}(n.document),rb=/[A-Z]/g,wc=!1,dt=1,ri=3,gr=8,bc=9,oo=11,ub={full:"1.6.4",major:1,minor:6,dot:4,codeName:"phenomenal-footnote"};w.expando="ng339";nr=w.cache={};kc=1;w._data=function(n){return this.cache[n[this.expando]]||{}};var fb=/-([a-z])/g,eb=/^-ms-/,rf={mouseleave:"mouseout",mouseenter:"mouseover"},so=l("jqLite"),ob=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,sb=/<|&#?\w+;/,hb=/<([\w:-]+)/,cb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ht={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,"",""]};ht.optgroup=ht.option;ht.tbody=ht.tfoot=ht.colgroup=ht.caption=ht.thead;ht.th=ht.td;var lb=n.Node.prototype.contains||function(n){return!!(16&this.compareDocumentPosition(n))},tr=w.prototype={ready:ys,toString:function(){var n=[];return t(this,function(t){n.push(""+t)}),"["+n.join(", ")+"]"},eq:function(n){return f(n>=0?this[n]:this[this.length+n])},length:0,push:dw,sort:[].sort,splice:[].splice},uf={};t("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(n){uf[a(n)]=n});ho={};t("input,select,option,textarea,button,form,details".split(","),function(n){ho[n]=!0});co={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};t({data:ue,removeData:re,hasData:iv,cleanData:function(n){for(var t=0,i=n.length;t<i;t++)re(n[t])}},function(n,t){w[t]=n});t({data:ue,inheritedData:pu,scope:function(n){return f.data(n,"$scope")||pu(n.parentNode||n,["$isolateScope","$scope"])},isolateScope:function(n){return f.data(n,"$isolateScope")||f.data(n,"$isolateScopeNoTemplate")},controller:as,injector:function(n){return pu(n,"$injector")},removeAttr:function(n,t){n.removeAttribute(t)},hasClass:au,css:function(n,t,i){if(t=tv(t),!r(i))return n.style[t];n.style[t]=i},attr:function(n,t,i){var u,o=n.nodeType,f,e;if(o!==ri&&2!==o&&o!==gr&&n.getAttribute){if(f=a(t),e=uf[f],!r(i))return u=n.getAttribute(t),e&&null!==u&&(u=f),null===u?void 0:u;null===i||!1===i&&e?n.removeAttribute(t):n.setAttribute(t,e?f:i)}},prop:function(n,t,i){if(!r(i))return n[t];n[t]=i},text:function(){function n(n,t){if(u(t)){var i=n.nodeType;return i===dt||i===ri?n.textContent:""}n.textContent=t}return n.$dv="",n}(),val:function(n,i){if(u(i)){if(n.multiple&&"select"===lt(n)){var r=[];return t(n.options,function(n){n.selected&&r.push(n.value||n.text)}),r}return n.value}n.value=i},html:function(n,t){if(u(t))return n.innerHTML;cu(n,!0);n.innerHTML=t},empty:vs},function(n,t){w.prototype[t]=function(t,i){var r,o,e=this.length,c;if(n!==vs&&u(2===n.length&&n!==au&&n!==as?t:i)){if(s(t)){for(r=0;r<e;r++)if(n===ue)n(this[r],t);else for(o in t)n(this[r],o,t[o]);return this}for(var f=n.$dv,l=u(f)?Math.min(e,1):e,h=0;h<l;h++)c=n(this[h],t,i),f=f?f+c:c;return f}for(r=0;r<e;r++)n(this[r],t,i);return this}});t({removeData:re,on:function(n,t,i,u){if(r(u))throw so("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(te(n)){var f=lu(n,!0),e=f.events,o=f.handle;o||(o=f.handle=ov(n,e));for(var h=t.indexOf(" ")>=0?t.split(" "):[t],c=h.length,s=function(t,r,u){var f=e[t];f||(f=e[t]=[],f.specialHandlerWrapper=r,"$destroy"===t||u||n.addEventListener(t,o));f.push(i)};c--;)t=h[c],rf[t]?(s(rf[t],hv),s(t,void 0,!0)):s(t)}},off:ls,one:function(n,t,i){n=f(n);n.on(t,function r(){n.off(t,i);n.off(t,r)});n.on(t,i)},replaceWith:function(n,i){var r,u=n.parentNode;cu(n);t(new w(i),function(t){r?u.insertBefore(t,r.nextSibling):u.replaceChild(t,n);r=t})},children:function(n){var i=[];return t(n.childNodes,function(n){n.nodeType===dt&&i.push(n)}),i},contents:function(n){return n.contentDocument||n.childNodes||[]},append:function(n,t){var r=n.nodeType,i,u,f;if(r===dt||r===oo)for(t=new w(t),i=0,u=t.length;i<u;i++)f=t[i],n.appendChild(f)},prepend:function(n,i){if(n.nodeType===dt){var r=n.firstChild;t(new w(i),function(t){n.insertBefore(t,r)})}},wrap:function(n,t){uv(n,f(t).eq(0).clone()[0])},remove:ee,detach:function(n){ee(n,!0)},after:function(n,t){var u=n,f=n.parentNode,i,e,r;if(f)for(t=new w(t),i=0,e=t.length;i<e;i++)r=t[i],f.insertBefore(r,u.nextSibling),u=r},addClass:yu,removeClass:vu,toggleClass:function(n,i,r){i&&t(i.split(" "),function(t){var i=r;u(i)&&(i=!au(n,t));(i?yu:vu)(n,t)})},parent:function(n){var t=n.parentNode;return t&&t.nodeType!==oo?t:null},next:function(n){return n.nextElementSibling},find:function(n,t){return n.getElementsByTagName?n.getElementsByTagName(t):[]},clone:ie,triggerHandler:function(n,i,r){var u,f,e,s=i.type||i,h=lu(n),c=h&&h.events,l=c&&c[s];l&&(u={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:o,type:s,target:n},i.type&&(u=v(u,i)),f=vt(l),e=r?[u].concat(r):[u],t(f,function(t){u.isImmediatePropagationStopped()||t.apply(n,e)}))}},function(n,t){w.prototype[t]=function(t,i,e){for(var o,s=0,h=this.length;s<h;s++)u(o)?(o=n(this[s],t,i,e),r(o)&&(o=f(o))):fe(o,n(this[s],t,i,e));return r(o)?o:this}});w.prototype.bind=w.prototype.on;w.prototype.unbind=w.prototype.off;dc=Object.create(null);ws.prototype={_idx:function(n){return n===this._lastKey?this._lastIndex:(this._lastKey=n,this._lastIndex=this._keys.indexOf(n),this._lastIndex)},_transformKey:function(n){return it(n)?dc:n},get:function(n){n=this._transformKey(n);var t=this._idx(n);if(-1!==t)return this._values[t]},set:function(n,t){n=this._transformKey(n);var i=this._idx(n);-1===i&&(i=this._lastIndex=this._keys.length);this._keys[i]=n;this._values[i]=t},"delete":function(n){n=this._transformKey(n);var t=this._idx(n);return-1!==t&&(this._keys.splice(t,1),this._values.splice(t,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var ff=ws,ab=[function(){this.$get=[function(){return ff}]}],vb=/^([^(]+?)=>/,yb=/^[^(]*\(\s*([^)]*)\)/m,pb=/,/,wb=/^\s*(_?)(\S+?)\1\s*$/,bb=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,ci=l("$injector");yr.$$annotate=av;var gc=l("$animate"),kb=1,db=function(){this.$get=o},gb=function(){var n=new ff,i=[];this.$get=["$$AnimateRunner","$rootScope",function(r,u){function f(n,i,r){var u=!1;return i&&(i=h(i)?i.split(" "):c(i)?i:[],t(i,function(t){t&&(u=!0,n[t]=r)})),u}function e(){t(i,function(i){var f=n.get(i);if(f){var e=pv(i.attr("class")),r="",u="";t(f,function(n,t){n!==!!e[t]&&(n?r+=(r.length?" ":"")+t:u+=(u.length?" ":"")+t)});t(i,function(n){r&&yu(n,r);u&&vu(n,u)});n.delete(i)}});i.length=0}function s(t,r,o){var s=n.get(t)||{},h=f(s,r,!0),c=f(s,o,!1);(h||c)&&(n.set(t,s),i.push(t),1===i.length&&u.$$postDigest(e))}return{enabled:o,on:o,off:o,pin:o,push:function(n,t,i,u){u&&u();i=i||{};i.from&&n.css(i.from);i.to&&n.css(i.to);(i.addClass||i.removeClass)&&s(n,i.addClass,i.removeClass);var f=new r;return f.complete(),f}}}]},nk=["$provide",function(n){var i=this,t=null;this.$$registeredAnimations=Object.create(null);this.register=function(t,r){if(t&&"."!==t.charAt(0))throw gc("notcsel","Expecting class selector starting with '.' got '{0}'.",t);var u=t+"-animation";i.$$registeredAnimations[t.substr(1)]=u;n.factory(u,r)};this.classNameFilter=function(n){if(1===arguments.length&&(t=n instanceof RegExp?n:null)&&new RegExp("[(\\s|\\/)]ng-animate[(\\s|\\/)]").test(t.toString()))throw t=null,gc("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate");return t};this.$get=["$$animateQueue",function(n){function t(n,t,i){if(i){var r=yv(i);!r||r.parentNode||r.previousElementSibling||(i=null)}i?i.after(n):t.prepend(n)}return{on:n.on,off:n.off,pin:n.pin,enabled:n.enabled,cancel:function(n){n.end&&n.end()},enter:function(i,r,u,e){return r=r&&f(r),u=u&&f(u),r=r||u.parent(),t(i,r,u),n.push(i,"enter",fi(e))},move:function(i,r,u,e){return r=r&&f(r),u=u&&f(u),r=r||u.parent(),t(i,r,u),n.push(i,"move",fi(e))},leave:function(t,i){return n.push(t,"leave",fi(i),function(){t.remove()})},addClass:function(t,i,r){return r=fi(r),r.addClass=pr(r.addclass,i),n.push(t,"addClass",r)},removeClass:function(t,i,r){return r=fi(r),r.removeClass=pr(r.removeClass,i),n.push(t,"removeClass",r)},setClass:function(t,i,r,u){return u=fi(u),u.addClass=pr(u.addClass,i),u.removeClass=pr(u.removeClass,r),n.push(t,"setClass",u)},animate:function(t,i,r,u,f){return f=fi(f),f.from=f.from?v(f.from,i):i,f.to=f.to?v(f.to,r):r,u=u||"ng-inline-animate",f.tempClasses=pr(f.tempClasses,u),n.push(t,"animate",f)}}}]}],tk=function(){this.$get=["$$rAF",function(n){function i(i){t.push(i);t.length>1||n(function(){for(var n=0;n<t.length;n++)t[n]();t=[]})}var t=[];return function(){var n=!1;return i(function(){n=!0}),function(t){n?t():i(t)}}}]},ik=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(n,i,r,u,f){function e(n){this.setHost(n);var t=r(),i=function(n){f(n,0,!1)};this._doneCallbacks=[];this._tick=function(n){u()?i(n):t(n)};this._state=0}return e.chain=function(n,t){function r(){if(i===n.length)return void t(!0);n[i](function(n){if(!1===n)return void t(!1);i++;r()})}var i=0;r()},e.all=function(n,i){function u(t){r=r&&t;++f===n.length&&i(r)}var f=0,r=!0;t(n,function(n){n.done(u)})},e.prototype={setHost:function(n){this.host=n||{}},done:function(n){2===this._state?n():this._doneCallbacks.push(n)},progress:o,getPromise:function(){if(!this.promise){var t=this;this.promise=n(function(n,i){t.done(function(t){!1===t?i():n()})})}return this.promise},then:function(n,t){return this.getPromise().then(n,t)},"catch":function(n){return this.getPromise().catch(n)},"finally":function(n){return this.getPromise().finally(n)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end();this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel();this._resolve(!1)},complete:function(n){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(n)}))},_resolve:function(n){2!==this._state&&(t(this._doneCallbacks,function(t){t(n)}),this._doneCallbacks.length=0,this._state=2)}},e}]},rk=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(n,t,i){return function(t,r){function e(){return n(function(){s();o||f.complete();o=!0}),f}function s(){u.addClass&&(t.addClass(u.addClass),u.addClass=null);u.removeClass&&(t.removeClass(u.removeClass),u.removeClass=null);u.to&&(t.css(u.to),u.to=null)}var u=r||{},o,f;return u.$$prepared||(u=ti(u)),u.cleanupStyles&&(u.from=u.to=null),u.from&&(t.css(u.from),u.from=null),f=new i,{start:e,end:e}}}]},k=l("$compile"),lo=new gv;ds.$inject=["$provide","$$sanitizeUriProvider"];wu.prototype.isFirstChange=function(){return this.previousValue===lo};var nl=/^((?:x|data)[:\-_])/i,uk=/[:\-_]+(.)/g,tl=l("$controller"),il=/^(\S+)(\s+as\s+([\w$]+))?$/,fk=function(){this.$get=["$document",function(n){return function(t){return t?!t.nodeType&&t instanceof f&&(t=t[0]):t=n[0].body,t.offsetWidth+1}}]},rl="application/json",ao={"Content-Type":rl+";charset=utf-8"},ek=/^\[|^\{(?!\{)/,ok={"[":/]$/,"{":/}$/},sk=/^\)]\}',?\n/,vo=l("$http"),li=ft.$interpolateMinErr=l("$interpolate");li.throwNoconcat=function(n){throw li("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",n);};li.interr=function(n,t){return li("interr","Can't interpolate: {0}\n{1}",n,t.toString())};var hk=function(){this.$get=function(){function i(n){var t=function(n){t.data=n;t.called=!0};return t.id=n,t}var t=ft.callbacks,n={};return{createCallback:function(){var r="_"+(t.$$counter++).toString(36),u="angular.callbacks."+r,f=i(r);return n[u]=t[r]=f,u},wasCalled:function(t){return n[t].called},getResponse:function(t){return n[t].data},removeCallback:function(i){var r=n[i];delete t[r.id];delete n[i]}}}},ck=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,lk={http:80,https:443,ftp:21},nu=l("$location"),ak=/^\s*[\\/]{2,}/,vk={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:bu("$$absUrl"),url:function(n){if(u(n))return this.$$url;var t=ck.exec(n);return(t[1]||""===n)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===n)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:bu("$$protocol"),host:bu("$$host"),port:bu("$$port"),path:oh("$$path",function(n){return n=null!==n?n.toString():"","/"===n.charAt(0)?n:"/"+n}),search:function(n,i){switch(arguments.length){case 0:return this.$$search;case 1:if(h(n)||d(n))n=n.toString(),this.$$search=fs(n);else{if(!s(n))throw nu("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");n=ti(n,{});t(n,function(t,i){null==t&&delete n[i]});this.$$search=n}break;default:u(i)||null===i?delete this.$$search[n]:this.$$search[n]=i}return this.$$compose(),this},hash:oh("$$hash",function(n){return null!==n?n.toString():""}),replace:function(){return this.$$replace=!0,this}};t([eh,ve,ae],function(n){n.prototype=Object.create(vk);n.prototype.state=function(t){if(!arguments.length)return this.$$state;if(n!==ae||!this.$$html5)throw nu("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=u(t)?null:t,this.$$urlUpdatedByLocation=!0,this}});var ir=l("$parse"),yk={}.constructor.prototype.valueOf,ef=p();t("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(n){ef[n]=!0});ul={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'};of=function(n){this.options=n};of.prototype={constructor:of,lex:function(n){var t,r;for(this.text=n,this.index=0,this.tokens=[];this.index<this.text.length;)if(t=this.text.charAt(this.index),'"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var i=t+this.peek(),u=i+this.peek(2),o=ef[t],f=ef[i],e=ef[u];o||f||e?(r=e?u:f?i:t,this.tokens.push({index:this.index,text:r,operator:!0}),this.index+=r.length):this.throwError("Unexpected next character ",this.index,this.index+1)}return this.tokens},is:function(n,t){return-1!==t.indexOf(n)},peek:function(n){var t=n||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(n){return"0"<=n&&n<="9"&&"string"==typeof n},isWhitespace:function(n){return" "===n||"\r"===n||"\t"===n||"\n"===n||"\v"===n||" "===n},isIdentifierStart:function(n){return this.options.isIdentifierStart?this.options.isIdentifierStart(n,this.codePointAt(n)):this.isValidIdentifierStart(n)},isValidIdentifierStart:function(n){return"a"<=n&&n<="z"||"A"<=n&&n<="Z"||"_"===n||"$"===n},isIdentifierContinue:function(n){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(n,this.codePointAt(n)):this.isValidIdentifierContinue(n)},isValidIdentifierContinue:function(n,t){return this.isValidIdentifierStart(n,t)||this.isNumber(n)},codePointAt:function(n){return 1===n.length?n.charCodeAt(0):(n.charCodeAt(0)<<10)+n.charCodeAt(1)-56613888},peekMultichar:function(){var n=this.text.charAt(this.index),t=this.peek(),i,r;return t?(i=n.charCodeAt(0),r=t.charCodeAt(0),i>=55296&&i<=56319&&r>=56320&&r<=57343?n+t:n):n},isExpOperator:function(n){return"-"===n||"+"===n||this.isNumber(n)},throwError:function(n,t,i){i=i||this.index;var u=r(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,i)+"]":" "+i;throw ir("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",n,u,this.text);},readNumber:function(){for(var t,i,n="",r=this.index;this.index<this.text.length;){if(t=a(this.text.charAt(this.index)),"."===t||this.isNumber(t))n+=t;else if(i=this.peek(),"e"===t&&this.isExpOperator(i))n+=t;else if(this.isExpOperator(t)&&i&&this.isNumber(i)&&"e"===n.charAt(n.length-1))n+=t;else{if(!this.isExpOperator(t)||i&&this.isNumber(i)||"e"!==n.charAt(n.length-1))break;this.throwError("Invalid exponent")}this.index++}this.tokens.push({index:r,text:n,constant:!0,value:Number(n)})},readIdent:function(){var t=this.index,n;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){if(n=this.peekMultichar(),!this.isIdentifierContinue(n))break;this.index+=n.length}this.tokens.push({index:t,text:this.text.slice(t,this.index),identifier:!0})},readString:function(n){var f=this.index,t,r;this.index++;for(var i="",e=n,u=!1;this.index<this.text.length;){if(t=this.text.charAt(this.index),e+=t,u)"u"===t?(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))):i+=ul[t]||t,u=!1;else if("\\"===t)u=!0;else{if(t===n)return this.index++,void this.tokens.push({index:f,text:e,constant:!0,value:i});i+=t}this.index++}this.throwError("Unterminated quote",f)}};i=function(n,t){this.lexer=n;this.options=t};i.Program="Program";i.ExpressionStatement="ExpressionStatement";i.AssignmentExpression="AssignmentExpression";i.ConditionalExpression="ConditionalExpression";i.LogicalExpression="LogicalExpression";i.BinaryExpression="BinaryExpression";i.UnaryExpression="UnaryExpression";i.CallExpression="CallExpression";i.MemberExpression="MemberExpression";i.Identifier="Identifier";i.Literal="Literal";i.ArrayExpression="ArrayExpression";i.Property="Property";i.ObjectExpression="ObjectExpression";i.ThisExpression="ThisExpression";i.LocalsExpression="LocalsExpression";i.NGValueParameter="NGValueParameter";i.prototype={ast:function(n){this.text=n;this.tokens=this.lexer.lex(n);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var n=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&n.push(this.expressionStatement()),!this.expect(";"))return{type:i.Program,body:n}},expressionStatement:function(){return{type:i.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var n=this.expression();this.expect("|");)n=this.filter(n);return n},expression:function(){return this.assignment()},assignment:function(){var n=this.ternary();if(this.expect("=")){if(!lh(n))throw ir("lval","Trying to assign a value to a non l-value");n={type:i.AssignmentExpression,left:n,right:this.assignment(),operator:"="}}return n},ternary:function(){var n,t,r=this.logicalOR();return this.expect("?")&&(n=this.expression(),this.consume(":"))?(t=this.expression(),{type:i.ConditionalExpression,test:r,alternate:n,consequent:t}):r},logicalOR:function(){for(var n=this.logicalAND();this.expect("||");)n={type:i.LogicalExpression,operator:"||",left:n,right:this.logicalAND()};return n},logicalAND:function(){for(var n=this.equality();this.expect("&&");)n={type:i.LogicalExpression,operator:"&&",left:n,right:this.equality()};return n},equality:function(){for(var t,n=this.relational();t=this.expect("==","!=","===","!==");)n={type:i.BinaryExpression,operator:t.text,left:n,right:this.relational()};return n},relational:function(){for(var t,n=this.additive();t=this.expect("<",">","<=",">=");)n={type:i.BinaryExpression,operator:t.text,left:n,right:this.additive()};return n},additive:function(){for(var t,n=this.multiplicative();t=this.expect("+","-");)n={type:i.BinaryExpression,operator:t.text,left:n,right:this.multiplicative()};return n},multiplicative:function(){for(var t,n=this.unary();t=this.expect("*","/","%");)n={type:i.BinaryExpression,operator:t.text,left:n,right:this.unary()};return n},unary:function(){var n;return(n=this.expect("+","-","!"))?{type:i.UnaryExpression,operator:n.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var n,t;for(this.expect("(")?(n=this.filterChain(),this.consume(")")):this.expect("[")?n=this.arrayDeclaration():this.expect("{")?n=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?n=ti(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?n={type:i.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?n=this.identifier():this.peek().constant?n=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(n={type:i.CallExpression,callee:n,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(n={type:i.MemberExpression,object:n,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?n={type:i.MemberExpression,object:n,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return n},filter:function(n){for(var t=[n],r={type:i.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return r},parseArguments:function(){var n=[];if(")"!==this.peekToken().text)do n.push(this.filterChain());while(this.expect(","));return n},identifier:function(){var n=this.consume();return n.identifier||this.throwError("is not a valid identifier",n),{type:i.Identifier,name:n.text}},constant:function(){return{type:i.Literal,value:this.consume().value}},arrayDeclaration:function(){var n=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;n.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:i.ArrayExpression,elements:n}},object:function(){var n,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;n={type:i.Property,kind:"init"};this.peek().constant?(n.key=this.constant(),n.computed=!1,this.consume(":"),n.value=this.expression()):this.peek().identifier?(n.key=this.identifier(),n.computed=!1,this.peek(":")?(this.consume(":"),n.value=this.expression()):n.value=n.key):this.peek("[")?(this.consume("["),n.key=this.expression(),this.consume("]"),n.computed=!0,this.consume(":"),n.value=this.expression()):this.throwError("invalid key",this.peek());t.push(n)}while(this.expect(","));return this.consume("}"),{type:i.ObjectExpression,properties:t}},throwError:function(n,t){throw ir("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));},consume:function(n){if(0===this.tokens.length)throw ir("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(n);return t||this.throwError("is unexpected, expecting ["+n+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw ir("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(n,t,i,r){return this.peekAhead(0,n,t,i,r)},peekAhead:function(n,t,i,r,u){if(this.tokens.length>n){var e=this.tokens[n],f=e.text;if(f===t||f===i||f===r||f===u||!t&&!i&&!r&&!u)return e}return!1},expect:function(n,t,i,r){var u=this.peek(n,t,i,r);return!!u&&(this.tokens.shift(),u)},selfReferential:{"this":{type:i.ThisExpression},$locals:{type:i.LocalsExpression}}};vh.prototype={compile:function(n){var i=this,f,r,u,e,o,s;return this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},b(n,i.$filter),r="",(this.stage="assign",f=ah(n))&&(this.state.computing="assign",u=this.nextId(),this.recurse(f,u),this.return_(u),r="fn.assign="+this.generateFunction("assign","s,v,l")),e=ch(n.body),i.stage="inputs",t(e,function(n,t){var r="fn"+t,u;i.state[r]={vars:[],body:[],own:{}};i.state.computing=r;u=i.nextId();i.recurse(n,u);i.return_(u);i.state.inputs.push(r);n.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(n),o='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",s=new Function("$filter","getStringValue","ifDefined","plus",o)(this.$filter,sh,ky,hh),this.state=this.stage=void 0,s},USE:"use",STRICT:"strict",watchFns:function(){var n=[],i=this.state.inputs,r=this;return t(i,function(t){n.push("var "+t+"="+r.generateFunction(t,"s"))}),i.length&&n.push("fn.inputs=["+i.join(",")+"];"),n.join("")},generateFunction:function(n,t){return"function("+t+"){"+this.varsPrefix(n)+this.body(n)+"};"},filterPrefix:function(){var n=[],i=this;return t(this.state.filters,function(t,r){n.push(t+"=$filter("+i.escape(r)+")")}),n.length?"var "+n.join(",")+";":""},varsPrefix:function(n){return this.state[n].vars.length?"var "+this.state[n].vars.join(",")+";":""},body:function(n){return this.state[n].body.join("")},recurse:function(n,u,f,e,s,h){var l,a,y,v,p,c=this;if(e=e||o,!h&&r(n.watchId))return u=u||this.nextId(),void this.if_("i",this.lazyAssign(u,this.computedMember("i",n.watchId)),this.lazyRecurse(n,u,f,e,s,!0));switch(n.type){case i.Program:t(n.body,function(t,i){c.recurse(t.expression,void 0,void 0,function(n){a=n});i!==n.body.length-1?c.current().body.push(a,";"):c.return_(a)});break;case i.Literal:v=this.escape(n.value);this.assign(u,v);e(u||v);break;case i.UnaryExpression:this.recurse(n.argument,void 0,void 0,function(n){a=n});v=n.operator+"("+this.ifDefined(a,0)+")";this.assign(u,v);e(v);break;case i.BinaryExpression:this.recurse(n.left,void 0,void 0,function(n){l=n});this.recurse(n.right,void 0,void 0,function(n){a=n});v="+"===n.operator?this.plus(l,a):"-"===n.operator?this.ifDefined(l,0)+n.operator+this.ifDefined(a,0):"("+l+")"+n.operator+"("+a+")";this.assign(u,v);e(v);break;case i.LogicalExpression:u=u||this.nextId();c.recurse(n.left,u);c.if_("&&"===n.operator?u:c.not(u),c.lazyRecurse(n.right,u));e(u);break;case i.ConditionalExpression:u=u||this.nextId();c.recurse(n.test,u);c.if_(u,c.lazyRecurse(n.alternate,u),c.lazyRecurse(n.consequent,u));e(u);break;case i.Identifier:u=u||this.nextId();f&&(f.context="inputs"===c.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",n.name)+"?l:s"),f.computed=!1,f.name=n.name);c.if_("inputs"===c.stage||c.not(c.getHasOwnProperty("l",n.name)),function(){c.if_("inputs"===c.stage||"s",function(){s&&1!==s&&c.if_(c.isNull(c.nonComputedMember("s",n.name)),c.lazyAssign(c.nonComputedMember("s",n.name),"{}"));c.assign(u,c.nonComputedMember("s",n.name))})},u&&c.lazyAssign(u,c.nonComputedMember("l",n.name)));e(u);break;case i.MemberExpression:l=f&&(f.context=this.nextId())||this.nextId();u=u||this.nextId();c.recurse(n.object,l,void 0,function(){c.if_(c.notNull(l),function(){n.computed?(a=c.nextId(),c.recurse(n.property,a),c.getStringValue(a),s&&1!==s&&c.if_(c.not(c.computedMember(l,a)),c.lazyAssign(c.computedMember(l,a),"{}")),v=c.computedMember(l,a),c.assign(u,v),f&&(f.computed=!0,f.name=a)):(s&&1!==s&&c.if_(c.isNull(c.nonComputedMember(l,n.property.name)),c.lazyAssign(c.nonComputedMember(l,n.property.name),"{}")),v=c.nonComputedMember(l,n.property.name),c.assign(u,v),f&&(f.computed=!1,f.name=n.property.name))},function(){c.assign(u,"undefined")});e(u)},!!s);break;case i.CallExpression:u=u||this.nextId();n.filter?(a=c.filter(n.callee.name),y=[],t(n.arguments,function(n){var t=c.nextId();c.recurse(n,t);y.push(t)}),v=a+"("+y.join(",")+")",c.assign(u,v),e(u)):(a=c.nextId(),l={},y=[],c.recurse(n.callee,a,l,function(){c.if_(c.notNull(a),function(){t(n.arguments,function(t){c.recurse(t,n.constant?void 0:c.nextId(),void 0,function(n){y.push(n)})});v=l.name?c.member(l.context,l.name,l.computed)+"("+y.join(",")+")":a+"("+y.join(",")+")";c.assign(u,v)},function(){c.assign(u,"undefined")});e(u)}));break;case i.AssignmentExpression:a=this.nextId();l={};this.recurse(n.left,void 0,l,function(){c.if_(c.notNull(l.context),function(){c.recurse(n.right,a);v=c.member(l.context,l.name,l.computed)+n.operator+a;c.assign(u,v);e(u||v)})},1);break;case i.ArrayExpression:y=[];t(n.elements,function(t){c.recurse(t,n.constant?void 0:c.nextId(),void 0,function(n){y.push(n)})});v="["+y.join(",")+"]";this.assign(u,v);e(u||v);break;case i.ObjectExpression:y=[];p=!1;t(n.properties,function(n){n.computed&&(p=!0)});p?(u=u||this.nextId(),this.assign(u,"{}"),t(n.properties,function(n){n.computed?(l=c.nextId(),c.recurse(n.key,l)):l=n.key.type===i.Identifier?n.key.name:""+n.key.value;a=c.nextId();c.recurse(n.value,a);c.assign(c.member(u,l,n.computed),a)})):(t(n.properties,function(t){c.recurse(t.value,n.constant?void 0:c.nextId(),void 0,function(n){y.push(c.escape(t.key.type===i.Identifier?t.key.name:""+t.key.value)+":"+n)})}),v="{"+y.join(",")+"}",this.assign(u,v));e(u||v);break;case i.ThisExpression:this.assign(u,"s");e(u||"s");break;case i.LocalsExpression:this.assign(u,"l");e(u||"l");break;case i.NGValueParameter:this.assign(u,"v");e(u||"v")}},getHasOwnProperty:function(n,t){var i=n+"."+t,r=this.current().own;return r.hasOwnProperty(i)||(r[i]=this.nextId(!1,n+"&&("+this.escape(t)+" in "+n+")")),r[i]},assign:function(n,t){if(n)return this.current().body.push(n,"=",t,";"),n},filter:function(n){return this.state.filters.hasOwnProperty(n)||(this.state.filters[n]=this.nextId(!0)),this.state.filters[n]},ifDefined:function(n,t){return"ifDefined("+n+","+this.escape(t)+")"},plus:function(n,t){return"plus("+n+","+t+")"},return_:function(n){this.current().body.push("return ",n,";")},if_:function(n,t,i){if(!0===n)t();else{var r=this.current().body;r.push("if(",n,"){");t();r.push("}");i&&(r.push("else{"),i(),r.push("}"))}},not:function(n){return"!("+n+")"},isNull:function(n){return n+"==null"},notNull:function(n){return n+"!=null"},nonComputedMember:function(n,t){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?n+"."+t:n+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(n,t){return n+"["+t+"]"},member:function(n,t,i){return i?this.computedMember(n,t):this.nonComputedMember(n,t)},getStringValue:function(n){this.assign(n,"getStringValue("+n+")")},lazyRecurse:function(n,t,i,r,u,f){var e=this;return function(){e.recurse(n,t,i,r,u,f)}},lazyAssign:function(n,t){var i=this;return function(){i.assign(n,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(n){return"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)},escape:function(n){if(h(n))return"'"+n.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(d(n))return n.toString();if(!0===n)return"true";if(!1===n)return"false";if(null===n)return"null";if(void 0===n)return"undefined";throw ir("esc","IMPOSSIBLE");},nextId:function(n,t){var i="v"+this.state.nextId++;return n||this.current().vars.push(i+(t?"="+t:"")),i},current:function(){return this.state[this.state.computing]}};yh.prototype={compile:function(n){var f=this,h,e,i,s,r,u;return b(n,f.$filter),(h=ah(n))&&(e=this.recurse(h)),s=ch(n.body),s&&(i=[],t(s,function(n,t){var r=f.recurse(n);n.input=r;i.push(r);n.watchId=t})),r=[],t(n.body,function(n){r.push(f.recurse(n.expression))}),u=0===n.body.length?o:1===n.body.length?r[0]:function(n,i){var u;return t(r,function(t){u=t(n,i)}),u},e&&(u.assign=function(n,t,i){return e(n,i,t)}),i&&(u.inputs=i),u},recurse:function(n,r,u){var o,e,f,s=this;if(n.input)return this.inputs(n.input,n.watchId);switch(n.type){case i.Literal:return this.value(n.value,r);case i.UnaryExpression:return e=this.recurse(n.argument),this["unary"+n.operator](e,r);case i.BinaryExpression:case i.LogicalExpression:return o=this.recurse(n.left),e=this.recurse(n.right),this["binary"+n.operator](o,e,r);case i.ConditionalExpression:return this["ternary?:"](this.recurse(n.test),this.recurse(n.alternate),this.recurse(n.consequent),r);case i.Identifier:return s.identifier(n.name,r,u);case i.MemberExpression:return o=this.recurse(n.object,!1,!!u),n.computed||(e=n.property.name),n.computed&&(e=this.recurse(n.property)),n.computed?this.computedMember(o,e,r,u):this.nonComputedMember(o,e,r,u);case i.CallExpression:return f=[],t(n.arguments,function(n){f.push(s.recurse(n))}),n.filter&&(e=this.$filter(n.callee.name)),n.filter||(e=this.recurse(n.callee,!0)),n.filter?function(n,t,i,u){for(var h,s=[],o=0;o<f.length;++o)s.push(f[o](n,t,i,u));return h=e.apply(void 0,s,u),r?{context:void 0,name:void 0,value:h}:h}:function(n,t,i,u){var s,h=e(n,t,i,u),c,o;if(null!=h.value){for(c=[],o=0;o<f.length;++o)c.push(f[o](n,t,i,u));s=h.value.apply(h.context,c)}return r?{value:s}:s};case i.AssignmentExpression:return o=this.recurse(n.left,!0,1),e=this.recurse(n.right),function(n,t,i,u){var s=o(n,t,i,u),f=e(n,t,i,u);return s.context[s.name]=f,r?{value:f}:f};case i.ArrayExpression:return f=[],t(n.elements,function(n){f.push(s.recurse(n))}),function(n,t,i,u){for(var e=[],o=0;o<f.length;++o)e.push(f[o](n,t,i,u));return r?{value:e}:e};case i.ObjectExpression:return f=[],t(n.properties,function(n){n.computed?f.push({key:s.recurse(n.key),computed:!0,value:s.recurse(n.value)}):f.push({key:n.key.type===i.Identifier?n.key.name:""+n.key.value,computed:!1,value:s.recurse(n.value)})}),function(n,t,i,u){for(var o={},e=0;e<f.length;++e)f[e].computed?o[f[e].key(n,t,i,u)]=f[e].value(n,t,i,u):o[f[e].key]=f[e].value(n,t,i,u);return r?{value:o}:o};case i.ThisExpression:return function(n){return r?{value:n}:n};case i.LocalsExpression:return function(n,t){return r?{value:t}:t};case i.NGValueParameter:return function(n,t,i){return r?{value:i}:i}}},"unary+":function(n,t){return function(i,u,f,e){var o=n(i,u,f,e);return o=r(o)?+o:0,t?{value:o}:o}},"unary-":function(n,t){return function(i,u,f,e){var o=n(i,u,f,e);return o=r(o)?-o:-0,t?{value:o}:o}},"unary!":function(n,t){return function(i,r,u,f){var e=!n(i,r,u,f);return t?{value:e}:e}},"binary+":function(n,t,i){return function(r,u,f,e){var s=n(r,u,f,e),h=t(r,u,f,e),o=hh(s,h);return i?{value:o}:o}},"binary-":function(n,t,i){return function(u,f,e,o){var s=n(u,f,e,o),h=t(u,f,e,o),c=(r(s)?s:0)-(r(h)?h:0);return i?{value:c}:c}},"binary*":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)*t(r,u,f,e);return i?{value:o}:o}},"binary/":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)/t(r,u,f,e);return i?{value:o}:o}},"binary%":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)%t(r,u,f,e);return i?{value:o}:o}},"binary===":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)===t(r,u,f,e);return i?{value:o}:o}},"binary!==":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)!==t(r,u,f,e);return i?{value:o}:o}},"binary==":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)==t(r,u,f,e);return i?{value:o}:o}},"binary!=":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)!=t(r,u,f,e);return i?{value:o}:o}},"binary<":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)<t(r,u,f,e);return i?{value:o}:o}},"binary>":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)>t(r,u,f,e);return i?{value:o}:o}},"binary<=":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)<=t(r,u,f,e);return i?{value:o}:o}},"binary>=":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)>=t(r,u,f,e);return i?{value:o}:o}},"binary&&":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)&&t(r,u,f,e);return i?{value:o}:o}},"binary||":function(n,t,i){return function(r,u,f,e){var o=n(r,u,f,e)||t(r,u,f,e);return i?{value:o}:o}},"ternary?:":function(n,t,i,r){return function(u,f,e,o){var s=n(u,f,e,o)?t(u,f,e,o):i(u,f,e,o);return r?{value:s}:s}},value:function(n,t){return function(){return t?{context:void 0,name:void 0,value:n}:n}},identifier:function(n,t,i){return function(r,u){var f=u&&n in u?u:r,e;return i&&1!==i&&f&&null==f[n]&&(f[n]={}),e=f?f[n]:void 0,t?{context:f,name:n,value:e}:e}},computedMember:function(n,t,i,r){return function(u,f,e,o){var s,c,h=n(u,f,e,o);return null!=h&&(s=t(u,f,e,o),s=sh(s),r&&1!==r&&h&&!h[s]&&(h[s]={}),c=h[s]),i?{context:h,name:s,value:c}:c}},nonComputedMember:function(n,t,i,r){return function(u,f,e,o){var s=n(u,f,e,o),h;return r&&1!==r&&s&&null==s[t]&&(s[t]={}),h=null!=s?s[t]:void 0,i?{context:s,name:t,value:h}:h}},inputs:function(n,t){return function(i,r,u,f){return f?f[t]:n(i,r,u)}}};ye.prototype={constructor:ye,parse:function(n){var t=this.ast.ast(n),i=this.astCompiler.compile(t);return i.literal=gy(t),i.constant=np(t),i}};var ui=l("$sce"),ct={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},pk=/_([a-z])/g,wk=l("$compile"),nt=n.document.createElement("a"),fl=ii(n.location.href);kh.$inject=["$document"];dh.$inject=["$provide"];var el=22,ol=".",yo="0";gh.$inject=["$locale"];nc.$inject=["$locale"];var bk={yyyy:g("FullYear",4,0,!1,!0),yy:g("FullYear",2,0,!0,!0),y:g("FullYear",1,0,!1,!0),MMMM:br("Month"),MMM:br("Month",!0),MM:g("Month",2,1),M:g("Month",1,1),LLLL:br("Month",!1,!0),dd:g("Date",2),d:g("Date",1),HH:g("Hours",2),H:g("Hours",1),hh:g("Hours",2,-12),h:g("Hours",1,-12),mm:g("Minutes",2),m:g("Minutes",1),ss:g("Seconds",2),s:g("Seconds",1),sss:g("Milliseconds",3),EEEE:br("Day"),EEE:br("Day",!0),a:tw,Z:gp,ww:rc(2),w:rc(1),G:ke,GG:ke,GGG:ke,GGGG:iw},kk=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,dk=/^-?\d+$/;uc.$inject=["$locale"];sl=ot(a);hl=ot(dr);fc.$inject=["$parse"];cl=ot({restrict:"E",compile:function(n,t){if(!t.href&&!t.xlinkHref)return function(n,t){if("a"===t[0].nodeName.toLowerCase()){var i="[object SVGAnimatedString]"===ut.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(n){t.attr(i)||n.preventDefault()})}}}});tu={};t(uf,function(n,t){function r(n,r,u){n.$watch(u[i],function(n){u.$set(t,!!n)})}if("multiple"!==n){var i=yt("ng-"+t),u=r;"checked"===n&&(u=function(n,t,u){u.ngModel!==u[i]&&r(n,t,u)});tu[i]=function(){return{restrict:"A",priority:100,link:u}}}});t(co,function(n,t){tu[t]=function(){return{priority:100,link:function(n,i,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var u=r.ngPattern.match(pw);if(u)return void r.$set("ngPattern",new RegExp(u[1],u[2]))}n.$watch(r[t],function(n){r.$set(t,n)})}}}});t(["src","srcset","href"],function(n){var t=yt("ng-"+n);tu[t]=function(){return{priority:99,link:function(i,r,u){var e=n,f=n;"href"===n&&"[object SVGAnimatedString]"===ut.call(r.prop("href"))&&(f="xlinkHref",u.$attr[f]="xlink:href",e=null);u.$observe(t,function(t){if(!t)return void("href"===n&&u.$set(f,null));u.$set(f,t);wt&&e&&r.prop(e,u[f])})}}}});iu={$addControl:o,$$renameControl:fw,$removeControl:o,$setValidity:o,$setDirty:o,$setPristine:o,$setSubmitted:o};po="ng-pending";du.$inject=["$element","$attrs","$scope","$animate","$interpolate"];du.prototype={$rollbackViewValue:function(){t(this.$$controls,function(n){n.$rollbackViewValue()})},$commitViewValue:function(){t(this.$$controls,function(n){n.$commitViewValue()})},$addControl:function(n){vi(n.$name,"input");this.$$controls.push(n);n.$name&&(this[n.$name]=n);n.$$parentForm=this},$$renameControl:function(n,t){var i=n.$name;this[i]===n&&delete this[i];this[t]=n;n.$name=t},$removeControl:function(n){n.$name&&this[n.$name]===n&&delete this[n.$name];t(this.$pending,function(t,i){this.$setValidity(i,null,n)},this);t(this.$error,function(t,i){this.$setValidity(i,null,n)},this);t(this.$$success,function(t,i){this.$setValidity(i,null,n)},this);sr(this.$$controls,n);n.$$parentForm=iu},$setDirty:function(){this.$$animate.removeClass(this.$$element,rr);this.$$animate.addClass(this.$$element,sf);this.$dirty=!0;this.$pristine=!1;this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,rr,sf+" ng-submitted");this.$dirty=!1;this.$pristine=!0;this.$submitted=!1;t(this.$$controls,function(n){n.$setPristine()})},$setUntouched:function(){t(this.$$controls,function(n){n.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted");this.$submitted=!0;this.$$parentForm.$setSubmitted()}};oc({clazz:du,set:function(n,t,i){var r=n[t];r?-1===r.indexOf(i)&&r.push(i):n[t]=[i]},unset:function(n,t,i){var r=n[t];r&&(sr(r,i),0===r.length&&delete n[t])}});var ll=function(n){return["$timeout","$parse",function(t,i){function r(n){return""===n?i('this[""]').assign:i(n).assign||o}return{name:"form",restrict:n?"EAC":"E",require:["form","^^?form"],controller:du,compile:function(i,u){i.addClass(rr).addClass(ru);var f=u.name?"name":!(!n||!u.ngForm)&&"ngForm";return{pre:function(n,i,u,e){var s=e[0],c,h;"action"in u||(c=function(t){n.$apply(function(){s.$commitViewValue();s.$setSubmitted()});t.preventDefault()},i[0].addEventListener("submit",c),i.on("$destroy",function(){t(function(){i[0].removeEventListener("submit",c)},0,!1)}));(e[1]||s.$$parentForm).$addControl(s);h=f?r(s.$name):o;f&&(h(n,s),u.$observe(f,function(t){s.$name!==t&&(h(n,void 0),s.$$parentForm.$$renameControl(s,t),(h=r(s.$name))(n,s))}));i.on("$destroy",function(){s.$$parentForm.$removeControl(s);h(n,void 0);v(s,iu)})}}}}}]},gk=ll(),nd=ll(!0),td=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,id=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,rd=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,ud=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,al=/^(\d{4,})-(\d{2})-(\d{2})$/,vl=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,wo=/^(\d{4,})-W(\d\d)$/,yl=/^(\d{4,})-(\d\d)$/,pl=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,fd="keydown wheel mousedown",wl=p();t("date,datetime-local,month,time,week".split(","),function(n){wl[n]=!0});var bl={text:ew,date:kr("date",al,gu(al,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":kr("datetimelocal",vl,gu(vl,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:kr("time",pl,gu(pl,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:kr("week",wo,ow,"yyyy-Www"),month:kr("month",yl,gu(yl,["yyyy","MM"]),"yyyy-MM"),number:sw,url:cw,email:lw,radio:aw,range:hw,checkbox:vw,hidden:o,button:o,submit:o,reset:o,file:o},kl=["$browser","$sniffer","$filter","$parse",function(n,t,i,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(u,f,e,o){o[0]&&(bl[a(e.type)]||bl.text)(u,f,e,o[0],t,n,i,r)}}}}],ed=/^(true|false|\d+)$/,od=function(){function n(n,t,i){var u=r(i)?i:9===wt?"":null;n.prop("value",u);t.$set("value",i)}return{restrict:"A",priority:100,compile:function(t,i){return ed.test(i.ngValue)?function(t,i,r){n(i,r,t.$eval(r.ngValue))}:function(t,i,r){t.$watch(r.ngValue,function(t){n(i,r,t)})}}}},sd=["$compile",function(n){return{restrict:"AC",compile:function(t){return n.$$addBindingClass(t),function(t,i,r){n.$$addBindingInfo(i,r.ngBind);i=i[0];t.$watch(r.ngBind,function(n){i.textContent=df(n)})}}}}],hd=["$interpolate","$compile",function(n,t){return{compile:function(i){return t.$$addBindingClass(i),function(i,r,f){var e=n(r.attr(f.$attr.ngBindTemplate));t.$$addBindingInfo(r,e.expressions);r=r[0];f.$observe("ngBindTemplate",function(n){r.textContent=u(n)?"":n})}}}}],cd=["$sce","$parse","$compile",function(n,t,i){return{restrict:"A",compile:function(r,u){var f=t(u.ngBindHtml),e=t(u.ngBindHtml,function(t){return n.valueOf(t)});return i.$$addBindingClass(r),function(t,r,u){i.$$addBindingInfo(r,u.ngBindHtml);t.$watch(e,function(){var i=f(t);r.html(n.getTrustedHtml(i)||"")})}}}}],ld=ot({restrict:"A",require:"ngModel",link:function(n,t,i,r){r.$viewChangeListeners.push(function(){n.$eval(i.ngChange)})}}),ad=ro("",!0),vd=ro("Odd",0),yd=ro("Even",1),pd=pi({compile:function(n,t){t.$set("ngCloak",void 0);n.removeClass("ng-cloak")}}),wd=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],dl={},bd={blur:!0,focus:!0};t("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(n){var t=yt("ng-"+n);dl[t]=["$parse","$rootScope",function(i,r){return{restrict:"A",compile:function(u,f){var e=i(f[t]);return function(t,i){i.on(n,function(i){var u=function(){e(t,{$event:i})};bd[n]&&r.$$phase?t.$evalAsync(u):t.$apply(u)})}}}}]});var kd=["$animate","$compile",function(n,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(i,r,u,f,e){var h,s,o;i.$watch(u.ngIf,function(i){i?s||e(function(i,f){s=f;i[i.length++]=t.$$createComment("end ngIf",u.ngIf);h={clone:i};n.enter(i,r.parent(),r)}):(o&&(o.remove(),o=null),s&&(s.$destroy(),s=null),h&&(o=su(h.clone),n.leave(o).done(function(n){!1!==n&&(o=null)}),h=null))})}}}],dd=["$templateRequest","$anchorScroll","$animate",function(n,t,i){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ft.noop,compile:function(u,f){var o=f.ngInclude||f.src,s=f.onload||"",e=f.autoscroll;return function(u,f,h,c,l){var a,v,y,p=0,w=function(){v&&(v.remove(),v=null);a&&(a.$destroy(),a=null);y&&(i.leave(y).done(function(n){!1!==n&&(v=null)}),v=y,y=null)};u.$watch(o,function(o){var v=function(n){!1!==n&&r(e)&&(!e||u.$eval(e))&&t()},h=++p;o?(n(o,!0).then(function(n){var t,r;u.$$destroyed||h!==p||(t=u.$new(),c.template=n,r=l(t,function(n){w();i.enter(n,null,f).done(v)}),a=t,y=r,a.$emit("$includeContentLoaded",o),u.$eval(s))},function(){u.$$destroyed||h===p&&(w(),u.$emit("$includeContentError",o))}),u.$emit("$includeContentRequested",o)):(w(),c.template=null)})}}}}],gd=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(i,r,u,f){if(ut.call(r[0]).match(/SVG/))return r.empty(),void t(cs(f.template,n.document).childNodes)(i,function(n){r.append(n)},{futureParentElement:r});r.html(f.template);t(r.contents())(i)}}}],ng=pi({priority:450,compile:function(){return{pre:function(n,t,i){n.$eval(i.ngInit)}}}}),tg=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(n,i,r,f){var e=r.ngList||", ",o="false"!==r.ngTrim,s=o?y(e):e,h=function(n){if(!u(n)){var i=[];return n&&t(n.split(s),function(n){n&&i.push(o?y(n):n)}),i}};f.$parsers.push(h);f.$formatters.push(function(n){if(c(n))return n.join(e)});f.$isEmpty=function(n){return!n||!n.length}}}},ru="ng-valid",gl="ng-invalid",rr="ng-pristine",sf="ng-dirty",uu=l("ngModel");nf.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"];nf.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var n=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var i=this.$$parsedNgModel(t);return e(i)&&(i=n(t)),i};this.$$ngModelSet=function(n,i){e(this.$$parsedNgModel(n))?t(n,{$$$p:i}):this.$$parsedNgModelAssign(n,i)}}else if(!this.$$parsedNgModel.assign)throw uu("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,at(this.$$element));},$render:o,$isEmpty:function(n){return u(n)||""===n||null===n||n!==n},$$updateEmptyClasses:function(n){this.$isEmpty(n)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1;this.$pristine=!0;this.$$animate.removeClass(this.$$element,sf);this.$$animate.addClass(this.$$element,rr)},$setDirty:function(){this.$dirty=!0;this.$pristine=!1;this.$$animate.removeClass(this.$$element,rr);this.$$animate.addClass(this.$$element,sf);this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1;this.$untouched=!0;this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0;this.$untouched=!1;this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce);this.$viewValue=this.$$lastCommittedViewValue;this.$render()},$validate:function(){if(!it(this.$modelValue)){var i=this.$$lastCommittedViewValue,t=this.$$rawModelValue,r=this.$valid,u=this.$modelValue,f=this.$options.getOption("allowInvalid"),n=this;this.$$runValidators(t,i,function(i){f||r===i||(n.$modelValue=i?t:void 0,n.$modelValue!==u&&n.$$writeModelToScope())})}},$$runValidators:function(n,i,r){function e(n,t){h===f.$$currentValidationRunId&&f.$setValidity(n,t)}function s(n){h===f.$$currentValidationRunId&&r(n)}this.$$currentValidationRunId++;var h=this.$$currentValidationRunId,f=this;return function(){var n=f.$$parserName||"parse";return u(f.$$parserValid)?(e(n,null),!0):(f.$$parserValid||(t(f.$validators,function(n,t){e(t,null)}),t(f.$asyncValidators,function(n,t){e(t,null)})),e(n,f.$$parserValid),f.$$parserValid)}()&&function(){var r=!0;return t(f.$validators,function(t,u){var f=Boolean(t(n,i));r=r&&f;e(u,f)}),!!r||(t(f.$asyncValidators,function(n,t){e(t,null)}),!1)}()?void function(){var r=[],u=!0;t(f.$asyncValidators,function(t,f){var o=t(n,i);if(!eu(o))throw uu("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",o);e(f,void 0);r.push(o.then(function(){e(f,!0)},function(){u=!1;e(f,!1)}))});r.length?f.$$q.all(r).then(function(){s(u)},o):s(!0)}():void s(!1)},$commitViewValue:function(){var n=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce);(this.$$lastCommittedViewValue!==n||""===n&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(n),this.$$lastCommittedViewValue=n,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function f(){i.$modelValue!==e&&i.$$writeModelToScope()}var o=this.$$lastCommittedViewValue,n=o,i=this,t,e,r;if(this.$$parserValid=!u(n)||void 0,this.$$parserValid)for(t=0;t<this.$parsers.length;t++)if(n=this.$parsers[t](n),u(n)){this.$$parserValid=!1;break}it(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));e=this.$modelValue;r=this.$options.getOption("allowInvalid");this.$$rawModelValue=n;r&&(this.$modelValue=n,f());this.$$runValidators(n,this.$$lastCommittedViewValue,function(t){r||(i.$modelValue=t?n:void 0,f())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue);t(this.$viewChangeListeners,function(n){try{n()}catch(n){this.$$exceptionHandler(n)}},this)},$setViewValue:function(n,t){this.$viewValue=n;this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(n){var t=this.$options.getOption("debounce"),i;d(t[n])?t=t[n]:d(t.default)&&(t=t.default);this.$$timeout.cancel(this.$$pendingDebounce);i=this;t>0?this.$$pendingDebounce=this.$$timeout(function(){i.$commitViewValue()},t):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){i.$commitViewValue()})},$overrideModelOptions:function(n){this.$options=this.$options.createChild(n)}};oc({clazz:nf,set:function(n,t){n[t]=!0},unset:function(n,t){delete n[t]}});na=["$rootScope",function(n){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:nf,priority:1,compile:function(t){return t.addClass(rr).addClass("ng-untouched").addClass(ru),{pre:function(n,t,i,r){var u=r[0],e=r[1]||u.$$parentForm,f=r[2];f&&(u.$options=f.$options);u.$$initGetterSetters();e.$addControl(u);i.$observe("name",function(n){u.$name!==n&&u.$$parentForm.$$renameControl(u,n)});n.$on("$destroy",function(){u.$$parentForm.$removeControl(u)})},post:function(t,i,r,u){function e(){f.$setTouched()}var f=u[0];f.$options.getOption("updateOn")&&i.on(f.$options.getOption("updateOn"),function(n){f.$$debounceViewValueCommit(n&&n.type)});i.on("blur",function(){f.$touched||(n.$$phase?t.$evalAsync(e):t.$apply(e))})}}}}}];ta=/(\s+|^)default(\s+|$)/;uo.prototype={getOption:function(n){return this.$$options[n]},createChild:function(n){var i=!1;return n=v({},n),t(n,function(t,r){"$inherit"===t?"*"===r?i=!0:(n[r]=this.$$options[r],"updateOn"===r&&(n.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(n.updateOnDefault=!1,n[r]=y(t.replace(ta,function(){return n.updateOnDefault=!0," "})))},this),i&&(delete n["*"],ac(n,this.$$options)),ac(n,hf.$$options),new uo(n)}};hf=new uo({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var ig=function(){function n(n,t){this.$$attrs=n;this.$$scope=t}return n.$inject=["$attrs","$scope"],n.prototype={$onInit:function(){var n=this.parentCtrl?this.parentCtrl.$options:hf,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=n.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:n}},rg=pi({terminal:!0,priority:1e3}),ug=l("ngOptions"),fg=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,eg=["$compile","$document","$parse",function(i,u,e){function h(n,t,i){function b(n,t,i,r,u){this.selectValue=n;this.viewValue=t;this.label=i;this.group=r;this.disabled=u}function l(n){var t,i;if(!s&&gt(n))t=n;else{t=[];for(i in n)n.hasOwnProperty(i)&&"$"!==i.charAt(0)&&t.push(i)}return t}var r=n.match(fg);if(!r)throw ug("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",n,at(t));var o=r[5]||r[7],s=r[6],a=/ as /.test(r[0])&&r[1],u=r[9],k=e(r[2]?r[1]:o),d=a&&e(a),g=d||k,nt=u&&e(u),h=u?function(n,t){return nt(i,t)}:function(n){return yi(n)},v=function(n,t){return h(n,c(n,t))},y=e(r[2]||r[1]),tt=e(r[3]||""),p=e(r[4]||""),w=e(r[8]),f={},c=s?function(n,t){return f[s]=t,f[o]=n,f}:function(n){return f[o]=n,f};return{trackBy:u,getTrackByValue:v,getWatchables:e(w,function(n){var t=[],a,v;n=n||[];for(var f=l(n),w=f.length,u=0;u<w;u++){var o=n===f?u:f[u],s=n[o],e=c(s,o),b=h(s,e);(t.push(b),r[2]||r[1])&&(a=y(i,e),t.push(a));r[4]&&(v=p(i,e),t.push(v))}return t}),getOptions:function(){for(var o=[],r={},f=w(i)||[],e=l(f),nt=e.length,t=0;t<nt;t++){var s=f===e?t:e[t],it=f[s],n=c(it,s),a=g(i,n),k=h(a,n),rt=y(i,n),ut=tt(i,n),ft=p(i,n),d=new b(k,a,rt,ut,ft);o.push(d);r[k]=d}return{items:o,selectValueMap:r,getOptionFromViewValue:function(n){return r[v(n)]},getViewValueFromOption:function(n){return u?ti(n.viewValue):n.viewValue}}}}}function l(n,e,o,l){function nt(n,t){var i=s.cloneNode(!1);t.appendChild(i);ut(n,i)}function rt(n){var t=y.getOptionFromViewValue(n),i=t&&t.element;return i&&!i.selected&&(i.selected=!0),t}function ut(n,t){n.element=t;t.disabled=n.disabled;n.label!==t.label&&(t.label=n.label,t.textContent=n.label);t.value=n.selectValue}function tt(){var u=y&&v.readValue(),n,t,f,i;if(y)for(n=y.items.length-1;n>=0;n--)t=y.items[n],ee(r(t.group)?t.element.parentNode:t.element);y=w.getOptions();f={};(k&&e.prepend(v.emptyOption),y.items.forEach(function(n){var t;r(n.group)?(t=f[n.group],t||(t=a.cloneNode(!1),d.appendChild(t),t.label=null===n.group?"null":n.group,f[n.group]=t),nt(n,t)):nt(n,d)}),e[0].appendChild(d),p.$render(),p.$isEmpty(u))||(i=v.readValue(),(w.trackBy||it?st(u,i):u===i)||(p.$setViewValue(i),p.$render()))}for(var k,y,w,d,v=l[0],p=l[1],it=o.multiple,b=0,g=e.children(),ft=g.length;b<ft;b++)if(""===g[b].value){v.hasEmptyOption=!0;v.emptyOption=g.eq(b);break}k=!!v.emptyOption;f(s.cloneNode(!1)).val("?");w=h(o.ngOptions,e,n);d=u[0].createDocumentFragment();v.generateUnknownOptionValue=function(){return"?"};it?(v.writeValue=function(n){var t=n&&n.map(rt)||[];y.items.forEach(function(n){n.element.selected&&!pf(t,n)&&(n.element.selected=!1)})},v.readValue=function(){var i=e.val()||[],n=[];return t(i,function(t){var i=y.selectValueMap[t];i&&!i.disabled&&n.push(y.getViewValueFromOption(i))}),n},w.trackBy&&n.$watchCollection(function(){if(c(p.$viewValue))return p.$viewValue.map(function(n){return w.getTrackByValue(n)})},function(){p.$render()})):(v.writeValue=function(n){var i=y.selectValueMap[e.val()],t=y.getOptionFromViewValue(n);i&&i.element.removeAttribute("selected");t?(e[0].value!==t.selectValue&&(v.removeUnknownOption(),v.unselectEmptyOption(),e[0].value=t.selectValue,t.element.selected=!0),t.element.setAttribute("selected","selected")):k?v.selectEmptyOption():v.unknownOption.parent().length?v.updateUnknownOption(n):v.renderUnknownOption(n)},v.readValue=function(){var n=y.selectValueMap[e.val()];return n&&!n.disabled?(v.unselectEmptyOption(),v.removeUnknownOption(),y.getViewValueFromOption(n)):null},w.trackBy&&n.$watch(function(){return w.getTrackByValue(p.$viewValue)},function(){p.$render()}));k&&(v.emptyOption.remove(),i(v.emptyOption)(n),v.emptyOption[0].nodeType===gr?(v.hasEmptyOption=!1,v.registerOption=function(n,t){""===t.val()&&(v.hasEmptyOption=!0,v.emptyOption=t,v.emptyOption.removeClass("ng-scope"),p.$render(),t.on("$destroy",function(){v.hasEmptyOption=!1;v.emptyOption=void 0}))}):v.emptyOption.removeClass("ng-scope"));e.empty();tt();n.$watchCollection(w.getWatchables,tt)}var s=n.document.createElement("option"),a=n.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(n,t,i,r){r[0].registerOption=o},post:l}}}],og=["$locale","$interpolate","$log",function(n,i,r){var f=/{}/g,e=/^when(Minus)?(.+)$/;return{link:function(s,h,c){function p(n){h.text(n||"")}var l,w=c.count,b=c.$attr.when&&h.attr(c.$attr.when),k=c.offset||0,v=s.$eval(b)||{},d={},g=i.startSymbol(),nt=i.endSymbol(),tt=g+w+"-"+k+nt,y=ft.noop;t(c,function(n,t){var i=e.exec(t),r;i&&(r=(i[1]?"-":"")+a(i[2]),v[r]=h.attr(c.$attr[t]))});t(v,function(n,t){d[t]=i(n.replace(f,tt))});s.$watch(w,function(t){var i=parseFloat(t),e=it(i),f;(e||i in v||(i=n.pluralCat(i-k)),i===l||e&&it(l))||(y(),f=d[i],u(f)?(null!=t&&r.debug("ngPluralize: no rule defined for '"+i+"' in "+b),y=o,p()):y=s.$watch(f,p),l=i)})}}}],sg=["$parse","$animate","$compile",function(n,i,r){var u=l("ngRepeat"),f=function(n,t,i,r,u,f,e){n[i]=r;u&&(n[u]=f);n.$index=t;n.$first=0===t;n.$last=t===e-1;n.$middle=!(n.$first||n.$last);n.$odd=!(n.$even=0==(1&t))},e=function(n){return n.clone[0]},o=function(n){return n.clone[n.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(s,h){var y=h.ngRepeat,it=r.$$createComment("end ngRepeat",y),c=y.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),w,a,b,k,nt,tt,v;if(!c)throw u("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",y);var d=c[1],rt=c[2],l=c[3],g=c[4];if(!(c=d.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw u("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",d);if(w=c[3]||c[1],a=c[2],l&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(l)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(l)))throw u("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",l);return v={$id:yi},g?b=n(g):(nt=function(n,t){return yi(t)},tt=function(n){return n}),function(n,r,s,h,c){b&&(k=function(t,i,r){return a&&(v[a]=t),v[w]=i,v.$index=r,b(n,v)});var d=p();n.$watchCollection(rt,function(s){var h,vt,ut,ft,rt,et,b,at,g,v,ot,st,ht=r[0],ct=p(),lt,yt;if(l&&(n[l]=s),gt(s))g=s,at=k||nt;else{at=k||tt;g=[];for(lt in s)pt.call(s,lt)&&"$"!==lt.charAt(0)&&g.push(lt)}for(ft=g.length,ot=new Array(ft),h=0;h<ft;h++)if(rt=s===g?h:g[h],et=s[rt],b=at(rt,et,h),d[b])v=d[b],delete d[b],ct[b]=v,ot[h]=v;else{if(ct[b])throw t(ot,function(n){n&&n.scope&&(d[n.id]=n)}),u("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",y,b,et);ot[h]={id:b,scope:void 0,clone:void 0};ct[b]=!0}for(yt in d){if(v=d[yt],st=su(v.clone),i.leave(st),st[0].parentNode)for(h=0,vt=st.length;h<vt;h++)st[h].$$NG_REMOVED=!0;v.scope.$destroy()}for(h=0;h<ft;h++)if(rt=s===g?h:g[h],et=s[rt],v=ot[h],v.scope){ut=ht;do ut=ut.nextSibling;while(ut&&ut.$$NG_REMOVED);e(v)!==ut&&i.move(su(v.clone),null,ht);ht=o(v);f(v.scope,h,w,et,a,rt,ft)}else c(function(n,t){v.scope=t;var r=it.cloneNode(!1);n[n.length++]=r;i.enter(n,null,ht);ht=r;v.clone=n;ct[v.id]=v;f(v.scope,h,w,et,a,rt,ft)});d=ct})}}}}],hg=["$animate",function(n){return{restrict:"A",multiElement:!0,link:function(t,i,r){t.$watch(r.ngShow,function(t){n[t?"removeClass":"addClass"](i,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],cg=["$animate",function(n){return{restrict:"A",multiElement:!0,link:function(t,i,r){t.$watch(r.ngHide,function(t){n[t?"addClass":"removeClass"](i,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],lg=pi(function(n,i,r){n.$watch(r.ngStyle,function(n,r){r&&n!==r&&t(r,function(n,t){i.css(t,"")});n&&i.css(n)},!0)}),ag=["$animate","$compile",function(n,i){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(r,u,f,e){var l=f.ngSwitch||f.on,c=[],h=[],o=[],s=[],a=function(n,t){return function(i){!1!==i&&n.splice(t,1)}};r.$watch(l,function(r){for(var u,f,l;o.length;)n.cancel(o.pop());for(u=0,f=s.length;u<f;++u)l=su(h[u].clone),s[u].$destroy(),(o[u]=n.leave(l)).done(a(o,u));h.length=0;s.length=0;(c=e.cases["!"+r]||e.cases["?"])&&t(c,function(t){t.transclude(function(r,u){var f,e;s.push(u);f=t.element;r[r.length++]=i.$$createComment("end ngSwitchWhen");e={clone:r};h.push(e);n.enter(r,f.parent(),f)})})})}}}],vg=pi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(n,i,r,u,f){t(r.ngSwitchWhen.split(r.ngSwitchWhenSeparator).sort().filter(function(n,t,i){return i[t-1]!==n}),function(n){u.cases["!"+n]=u.cases["!"+n]||[];u.cases["!"+n].push({transclude:f,element:i})})}}),yg=pi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(n,t,i,r,u){r.cases["?"]=r.cases["?"]||[];r.cases["?"].push({transclude:u,element:t})}}),pg=l("ngTransclude"),wg=["$compile",function(n){return{restrict:"EAC",terminal:!0,compile:function(t){var i=n(t.contents());return t.empty(),function(n,t,r,u,f){function s(n,i){n.length&&h(n)?t.append(n):(o(),i.$destroy())}function o(){i(n,function(n){t.append(n)})}function h(n){for(var i,t=0,r=n.length;t<r;t++)if(i=n[t],i.nodeType!==ri||i.nodeValue.trim())return!0}if(!f)throw pg("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",at(t));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var e=r.ngTransclude||r.ngTranscludeSlot;f(s,null,e);e&&!f.isSlotFilled(e)&&o()}}}}],bg=["$templateCache",function(n){return{restrict:"E",terminal:!0,compile:function(t,i){if("text/ng-template"===i.type){var r=i.id,u=t[0].text;n.put(r,u)}}}}],kg={$setViewValue:o,$render:o},dg=["$element","$scope",function(t,i){function l(){h||(h=!0,i.$$postDigest(function(){h=!1;u.ngModelCtrl.$render()}))}function s(n){c||(c=!0,i.$$postDigest(function(){i.$$destroyed||(c=!1,u.ngModelCtrl.$setViewValue(u.readValue()),n&&u.ngModelCtrl.$render())}))}var u=this,e=new ff,h,c;u.selectValueMap={};u.ngModelCtrl=kg;u.multiple=!1;u.unknownOption=f(n.document.createElement("option"));u.hasEmptyOption=!1;u.emptyOption=void 0;u.renderUnknownOption=function(n){var i=u.generateUnknownOptionValue(n);u.unknownOption.val(i);t.prepend(u.unknownOption);ki(u.unknownOption,!0);t.val(i)};u.updateUnknownOption=function(n){var i=u.generateUnknownOptionValue(n);u.unknownOption.val(i);ki(u.unknownOption,!0);t.val(i)};u.generateUnknownOptionValue=function(n){return"? "+yi(n)+" ?"};u.removeUnknownOption=function(){u.unknownOption.parent()&&u.unknownOption.remove()};u.selectEmptyOption=function(){u.emptyOption&&(t.val(""),ki(u.emptyOption,!0))};u.unselectEmptyOption=function(){u.hasEmptyOption&&u.emptyOption.removeAttr("selected")};i.$on("$destroy",function(){u.renderUnknownOption=o});u.readValue=function(){var n=t.val(),i=n in u.selectValueMap?u.selectValueMap[n]:n;return u.hasOption(i)?i:null};u.writeValue=function(n){var r=t[0].options[t[0].selectedIndex],i,e;(r&&ki(f(r),!1),u.hasOption(n))?(u.removeUnknownOption(),i=yi(n),t.val(i in u.selectValueMap?i:n),e=t[0].options[t[0].selectedIndex],ki(f(e),!0)):null==n&&u.emptyOption?(u.removeUnknownOption(),u.selectEmptyOption()):u.unknownOption.parent().length?u.updateUnknownOption(n):u.renderUnknownOption(n)};u.addOption=function(n,t){if(t[0].nodeType!==gr){vi(n,'"option value"');""===n&&(u.hasEmptyOption=!0,u.emptyOption=t);var i=e.get(n)||0;e.set(n,i+1);l()}};u.removeOption=function(n){var t=e.get(n);t&&(1===t?(e.delete(n),""===n&&(u.hasEmptyOption=!1,u.emptyOption=void 0)):e.set(n,t-1))};u.hasOption=function(n){return!!e.get(n)};h=!1;c=!1;u.registerOption=function(n,t,i,f,e){if(i.$attr.ngValue){var o,h=NaN;i.$observe("value",function(n){var i,f=t.prop("selected");r(h)&&(u.removeOption(o),delete u.selectValueMap[h],i=!0);h=yi(n);o=n;u.selectValueMap[h]=n;u.addOption(n,t);t.attr("value",h);i&&f&&s()})}else f?i.$observe("value",function(n){u.readValue();var i,f=t.prop("selected");r(o)&&(u.removeOption(o),i=!0);o=n;u.addOption(n,t);i&&f&&s()}):e?n.$watch(e,function(n,r){i.$set("value",n);var f=t.prop("selected");r!==n&&u.removeOption(r);u.addOption(n,t);r&&f&&s()}):u.addOption(i.value,t);i.$observe("disabled",function(n){("true"===n||n&&t.prop("selected"))&&(u.multiple?s(!0):(u.ngModelCtrl.$setViewValue(null),u.ngModelCtrl.$render()))});t.on("$destroy",function(){var n=u.readValue(),t=i.value;u.removeOption(t);l();(u.multiple&&n&&-1!==n.indexOf(t)||n===t)&&s(!0)})}}],gg=function(){function n(n,i,r,u){var e=u[0],s=u[1],c,h;if(!s)return void(e.registerOption=o);(e.ngModelCtrl=s,i.on("change",function(){e.removeUnknownOption();n.$apply(function(){s.$setViewValue(e.readValue())})}),r.multiple)&&(e.multiple=!0,e.readValue=function(){var n=[];return t(i.find("option"),function(t){if(t.selected&&!t.disabled){var i=t.value;n.push(i in e.selectValueMap?e.selectValueMap[i]:i)}}),n},e.writeValue=function(n){t(i.find("option"),function(t){var i=!!n&&(pf(n,t.value)||pf(n,e.selectValueMap[t.value]));i!==t.selected&&ki(f(t),i)})},h=NaN,n.$watch(function(){h!==s.$viewValue||st(c,s.$viewValue)||(c=vt(s.$viewValue),s.$render());h=s.$viewValue}),s.$isEmpty=function(n){return!n||0===n.length})}function i(n,t,i,r){var u=r[1],f;u&&(f=r[0],u.$render=function(){f.writeValue(u.$viewValue)})}return{restrict:"E",require:["select","?ngModel"],controller:dg,priority:1,link:{pre:n,post:i}}},nn=["$interpolate",function(n){return{restrict:"E",priority:100,compile:function(t,i){var u,f;return r(i.ngValue)||(r(i.value)?u=n(i.value,!0):(f=n(t.text(),!0))||i.$set("value",t.text())),function(n,t,i){var r=t.parent(),e=r.data("$selectController")||r.parent().data("$selectController");e&&e.registerOption(n,t,i,u,f)}}}}],ia=function(){return{restrict:"A",require:"?ngModel",link:function(n,t,i,r){r&&(i.required=!0,r.$validators.required=function(n,t){return!i.required||!r.$isEmpty(t)},i.$observe("required",function(){r.$validate()}))}}},ra=function(){return{restrict:"A",require:"?ngModel",link:function(n,t,i,r){if(r){var f,e=i.ngPattern||i.pattern;i.$observe("pattern",function(n){if(h(n)&&n.length>0&&(n=new RegExp("^"+n+"$")),n&&!n.test)throw l("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",e,n,at(t));f=n||void 0;r.$validate()});r.$validators.pattern=function(n,t){return r.$isEmpty(t)||u(f)||f.test(t)}}}}},ua=function(){return{restrict:"A",require:"?ngModel",link:function(n,t,i,r){if(r){var u=-1;i.$observe("maxlength",function(n){var t=tt(n);u=it(t)?-1:t;r.$validate()});r.$validators.maxlength=function(n,t){return u<0||r.$isEmpty(t)||t.length<=u}}}}},fa=function(){return{restrict:"A",require:"?ngModel",link:function(n,t,i,r){if(r){var u=0;i.$observe("minlength",function(n){u=tt(n)||0;r.$validate()});r.$validators.minlength=function(n,t){return r.$isEmpty(t)||t.length>=u}}}}};if(n.angular.bootstrap)return void(n.console&&console.log("WARNING: Tried to load angular more than once."));!function(){var i,t;wc||(t=tf(),kt=u(t)?n.jQuery:t?n[t]:void 0,kt&&kt.fn.on?(f=kt,v(kt.fn,{scope:tr.scope,isolateScope:tr.isolateScope,controller:tr.controller,injector:tr.injector,inheritedData:tr.inheritedData}),i=kt.cleanData,kt.cleanData=function(n){for(var r,t,u=0;null!=(t=n[u]);u++)(r=kt._data(t,"events"))&&r.$destroy&&kt(t).triggerHandler("$destroy");i(n)}):f=w,ft.element=f,wc=!0)}(),function(i){v(i,{errorHandlingConfig:ea,bootstrap:es,copy:ti,extend:v,merge:oa,equals:st,element:f,forEach:t,injector:yr,noop:o,bind:cr,toJson:lr,fromJson:is,identity:ur,isUndefined:u,isDefined:r,isString:h,isFunction:e,isObject:s,isNumber:d,isElement:yf,isArray:c,version:ub,isDate:rt,lowercase:a,uppercase:dr,callbacks:{$$counter:0},getTestability:ka,reloadWithDebugInfo:ba,$$minErr:l,$$csp:hi,$$encodeUriSegment:ar,$$encodeUriQuery:et,$$stringify:df});eo=da(n);eo("ng",["ngLocale"],["$provide",function(n){n.provider({$$sanitizeUri:ep});n.provider("$compile",ds).directive({a:cl,input:kl,textarea:kl,form:gk,script:bg,select:gg,option:nn,ngBind:sd,ngBindHtml:cd,ngBindTemplate:hd,ngClass:ad,ngClassEven:yd,ngClassOdd:vd,ngCloak:pd,ngController:wd,ngForm:nd,ngHide:cg,ngIf:kd,ngInclude:dd,ngInit:ng,ngNonBindable:rg,ngPluralize:og,ngRepeat:sg,ngShow:hg,ngStyle:lg,ngSwitch:ag,ngSwitchWhen:vg,ngSwitchDefault:yg,ngOptions:eg,ngTransclude:wg,ngModel:na,ngList:tg,ngChange:ld,pattern:ra,ngPattern:ra,required:ia,ngRequired:ia,minlength:fa,ngMinlength:fa,maxlength:ua,ngMaxlength:ua,ngValue:od,ngModelOptions:ig}).directive({ngInclude:gd}).directive(tu).directive(dl);n.provider({$anchorScroll:vv,$animate:nk,$animateCss:rk,$$animateJs:db,$$animateQueue:gb,$$AnimateRunner:ik,$$animateAsyncRun:tk,$browser:bv,$cacheFactory:kv,$controller:ty,$document:iy,$$isDocumentHidden:ry,$exceptionHandler:uy,$filter:dh,$$forceReflow:fk,$interpolate:ay,$interval:vy,$http:sy,$httpParamSerializer:fy,$httpParamSerializerJQLike:ey,$httpBackend:cy,$xhrFactory:hy,$jsonpCallbacks:hk,$location:wy,$log:by,$parse:tp,$rootScope:fp,$q:ip,$$q:rp,$sce:hp,$sceDelegate:sp,$sniffer:cp,$templateCache:dv,$templateRequest:lp,$$testability:ap,$timeout:vp,$window:yp,$$rAF:up,$$jqLite:cv,$$Map:ab,$$cookieReader:pp})}]).info({angularVersion:"1.6.4"})}(ft);ft.module("ngLocale",[],["$provide",function(n){function i(n){n+="";var t=n.indexOf(".");return-1==t?0:n.length-t-1}function r(n,t){var r=t,u;return void 0===r&&(r=Math.min(i(n),3)),u=Math.pow(10,r),{v:r,f:(n*u|0)%u}}var t={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};n.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(n,i){var u=0|n,f=r(n,i);return 1==u&&0==f.v?t.ONE:t.OTHER}})}]);f(function(){wa(n.document,es)})}(window),window.angular.$$csp().noInlineStyle||window.angular.element(document.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:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}<\/style>'),!function(n,t){"use strict";function i(n,i,r){function u(n,r,u){var s,e,o,h;return u=u||{},e=u.expires,s=t.isDefined(u.path)?u.path:f,t.isUndefined(r)&&(e="Thu, 01 Jan 1970 00:00:00 GMT",r=""),t.isString(e)&&(e=new Date(e)),o=encodeURIComponent(n)+"="+encodeURIComponent(r),o+=s?";path="+s:"",o+=u.domain?";domain="+u.domain:"",o+=e?";expires="+e.toUTCString():"",o+=u.secure?";secure":"",h=o.length+1,h>4096&&i.warn("Cookie '"+n+"' possibly not set or overflowed because it was too large ("+h+" > 4096 bytes)!"),o}var f=r.baseHref(),e=n[0];return function(n,t,i){e.cookie=u(n,t,i)}}t.module("ngCookies",["ng"]).info({angularVersion:"1.6.4"}).provider("$cookies",[function(){function n(n){return n?t.extend({},i,n):i}var i=this.defaults={};this.$get=["$$cookieReader","$$cookieWriter",function(i,r){return{get:function(n){return i()[n]},getObject:function(n){var i=this.get(n);return i?t.fromJson(i):i},getAll:function(){return i()},put:function(t,i,u){r(t,i,n(u))},putObject:function(n,i,r){this.put(n,t.toJson(i),r)},remove:function(t,i){r(t,void 0,n(i))}}}]}]);t.module("ngCookies").factory("$cookieStore",["$cookies",function(n){return{get:function(t){return n.getObject(t)},put:function(t,i){n.putObject(t,i)},remove:function(t){n.remove(t)}}}]);i.$inject=["$document","$log","$browser"];t.module("ngCookies").provider("$$cookieWriter",function(){this.$get=i})}(window,window.angular),!X2JS)throw new Error("You're required to include the X2JS library to use the xml module.");!function(n,t){function i(n){var t=n.headers("content-type");return!!t&&t.search(/\Wxml/i)>-1}function r(n,t){function r(r){return r&&i(r)?(r.data=t.xml_str2json(r.data),r):n.when(r)}function u(r){return r&&i(r)&&(r.data=t.xml_str2json(r.data)),n.reject(r)}return{response:r,responseError:u}}function u(n){n.factory("xmlHttpInterceptor",["$q","x2js",r])}function f(){this.config={};this.$get=["X2JS",function(n){return new n(this.config)}]}n&&n.module("xml",[]).config(["$provide",u]).provider("x2js",f).value("X2JS",t)}(angular,X2JS);!function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],n):"undefined"!=typeof exports?module.exports=n(require("jquery")):n(jQuery)}(function(n){"use strict";var t=window.Slick||{};t=function(){function t(t,r){var f,u=this;u.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:n(t),appendDots:n(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous<\/button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next<\/button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return n('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3};u.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1};n.extend(u,u.initials);u.activeBreakpoint=null;u.animType=null;u.animProp=null;u.breakpoints=[];u.breakpointSettings=[];u.cssTransitions=!1;u.focussed=!1;u.interrupted=!1;u.hidden="hidden";u.paused=!0;u.positionProp=null;u.respondTo=null;u.rowCount=1;u.shouldClick=!0;u.$slider=n(t);u.$slidesCache=null;u.transformType=null;u.transitionType=null;u.visibilityChange="visibilitychange";u.windowWidth=0;u.windowTimer=null;f=n(t).data("slick")||{};u.options=n.extend({},u.defaults,r,f);u.currentSlide=u.options.initialSlide;u.originalSettings=u.options;void 0!==document.mozHidden?(u.hidden="mozHidden",u.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(u.hidden="webkitHidden",u.visibilityChange="webkitvisibilitychange");u.autoPlay=n.proxy(u.autoPlay,u);u.autoPlayClear=n.proxy(u.autoPlayClear,u);u.autoPlayIterator=n.proxy(u.autoPlayIterator,u);u.changeSlide=n.proxy(u.changeSlide,u);u.clickHandler=n.proxy(u.clickHandler,u);u.selectHandler=n.proxy(u.selectHandler,u);u.setPosition=n.proxy(u.setPosition,u);u.swipeHandler=n.proxy(u.swipeHandler,u);u.dragHandler=n.proxy(u.dragHandler,u);u.keyHandler=n.proxy(u.keyHandler,u);u.instanceUid=i++;u.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;u.registerBreakpoints();u.init(!0)}var i=0;return t}();t.prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})};t.prototype.addSlide=t.prototype.slickAdd=function(t,i,r){var u=this;if("boolean"==typeof i)r=i,i=null;else if(i<0||i>=u.slideCount)return!1;u.unload();"number"==typeof i?0===i&&0===u.$slides.length?n(t).appendTo(u.$slideTrack):r?n(t).insertBefore(u.$slides.eq(i)):n(t).insertAfter(u.$slides.eq(i)):!0===r?n(t).prependTo(u.$slideTrack):n(t).appendTo(u.$slideTrack);u.$slides=u.$slideTrack.children(this.options.slide);u.$slideTrack.children(this.options.slide).detach();u.$slideTrack.append(u.$slides);u.$slides.each(function(t,i){n(i).attr("data-slick-index",t)});u.$slidesCache=u.$slides;u.reinit()};t.prototype.animateHeight=function(){var n=this,t;1===n.options.slidesToShow&&!0===n.options.adaptiveHeight&&!1===n.options.vertical&&(t=n.$slides.eq(n.currentSlide).outerHeight(!0),n.$list.animate({height:t},n.options.speed))};t.prototype.animateSlide=function(t,i){var u={},r=this;r.animateHeight();!0===r.options.rtl&&!1===r.options.vertical&&(t=-t);!1===r.transformsEnabled?!1===r.options.vertical?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,i):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,i):!1===r.cssTransitions?(!0===r.options.rtl&&(r.currentLeft=-r.currentLeft),n({animStart:r.currentLeft}).animate({animStart:t},{duration:r.options.speed,easing:r.options.easing,step:function(n){n=Math.ceil(n);!1===r.options.vertical?(u[r.animType]="translate("+n+"px, 0px)",r.$slideTrack.css(u)):(u[r.animType]="translate(0px,"+n+"px)",r.$slideTrack.css(u))},complete:function(){i&&i.call()}})):(r.applyTransition(),t=Math.ceil(t),u[r.animType]=!1===r.options.vertical?"translate3d("+t+"px, 0px, 0px)":"translate3d(0px,"+t+"px, 0px)",r.$slideTrack.css(u),i&&setTimeout(function(){r.disableTransition();i.call()},r.options.speed))};t.prototype.getNavTarget=function(){var i=this,t=i.options.asNavFor;return t&&null!==t&&(t=n(t).not(i.$slider)),t};t.prototype.asNavFor=function(t){var r=this,i=r.getNavTarget();null!==i&&"object"==typeof i&&i.each(function(){var i=n(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)})};t.prototype.applyTransition=function(n){var t=this,i={};i[t.transitionType]=!1===t.options.fade?t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:"opacity "+t.options.speed+"ms "+t.options.cssEase;!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(n).css(i)};t.prototype.autoPlay=function(){var n=this;n.autoPlayClear();n.slideCount>n.options.slidesToShow&&(n.autoPlayTimer=setInterval(n.autoPlayIterator,n.options.autoplaySpeed))};t.prototype.autoPlayClear=function(){var n=this;n.autoPlayTimer&&clearInterval(n.autoPlayTimer)};t.prototype.autoPlayIterator=function(){var n=this,t=n.currentSlide+n.options.slidesToScroll;n.paused||n.interrupted||n.focussed||(!1===n.options.infinite&&(1===n.direction&&n.currentSlide+1===n.slideCount-1?n.direction=0:0===n.direction&&(t=n.currentSlide-n.options.slidesToScroll,n.currentSlide-1==0&&(n.direction=1))),n.slideHandler(t))};t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=n(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=n(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))};t.prototype.buildDots=function(){var i,r,t=this;if(!0===t.options.dots&&t.slideCount>t.options.slidesToShow){for(t.$slider.addClass("slick-dotted"),r=n("<ul />").addClass(t.options.dotsClass),i=0;i<=t.getDotCount();i+=1)r.append(n("<li />").append(t.options.customPaging.call(this,t,i)));t.$dots=r.appendTo(t.options.appendDots);t.$dots.find("li").first().addClass("slick-active")}};t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide");t.slideCount=t.$slides.length;t.$slides.each(function(t,i){n(i).attr("data-slick-index",t).data("originalStyling",n(i).attr("style")||"")});t.$slider.addClass("slick-slider");t.$slideTrack=0===t.slideCount?n('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent();t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent();t.$slideTrack.css("opacity",0);!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1);n("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading");t.setupInfinite();t.buildArrows();t.buildDots();t.updateDots();t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0);!0===t.options.draggable&&t.$list.addClass("draggable")};t.prototype.buildRows=function(){var t,i,r,f,c,u,e,n=this,o,s,h;if(f=document.createDocumentFragment(),u=n.$slider.children(),n.options.rows>0){for(e=n.options.slidesPerRow*n.options.rows,c=Math.ceil(u.length/e),t=0;t<c;t++){for(o=document.createElement("div"),i=0;i<n.options.rows;i++){for(s=document.createElement("div"),r=0;r<n.options.slidesPerRow;r++)h=t*e+(i*n.options.slidesPerRow+r),u.get(h)&&s.appendChild(u.get(h));o.appendChild(s)}f.appendChild(o)}n.$slider.empty().append(f);n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}};t.prototype.checkResponsive=function(t,i){var f,u,e,r=this,o=!1,s=r.$slider.width(),h=window.innerWidth||n(window).width();if("window"===r.respondTo?e=h:"slider"===r.respondTo?e=s:"min"===r.respondTo&&(e=Math.min(h,s)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){u=null;for(f in r.breakpoints)r.breakpoints.hasOwnProperty(f)&&(!1===r.originalSettings.mobileFirst?e<r.breakpoints[f]&&(u=r.breakpoints[f]):e>r.breakpoints[f]&&(u=r.breakpoints[f]));null!==u?null!==r.activeBreakpoint?(u!==r.activeBreakpoint||i)&&(r.activeBreakpoint=u,"unslick"===r.breakpointSettings[u]?r.unslick(u):(r.options=n.extend({},r.originalSettings,r.breakpointSettings[u]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=u):(r.activeBreakpoint=u,"unslick"===r.breakpointSettings[u]?r.unslick(u):(r.options=n.extend({},r.originalSettings,r.breakpointSettings[u]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=u):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t),o=u);t||!1===o||r.$slider.trigger("breakpoint",[r,o])}};t.prototype.changeSlide=function(t,i){var f,e,o,r=this,u=n(t.currentTarget),s;switch(u.is("a")&&t.preventDefault(),u.is("li")||(u=u.closest("li")),o=r.slideCount%r.options.slidesToScroll!=0,f=o?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,t.data.message){case"previous":e=0===f?r.options.slidesToScroll:r.options.slidesToShow-f;r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-e,!1,i);break;case"next":e=0===f?r.options.slidesToScroll:f;r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+e,!1,i);break;case"index":s=0===t.data.index?0:t.data.index||u.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(s),!1,i);u.children().trigger("focus");break;default:return}};t.prototype.checkNavigable=function(n){var t,i,u=this,r;if(t=u.getNavigableIndexes(),i=0,n>t[t.length-1])n=t[t.length-1];else for(r in t){if(n<t[r]){n=i;break}i=t[r]}return n};t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(n("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",n.proxy(t.interrupt,t,!0)).off("mouseleave.slick",n.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler));t.$slider.off("focus.slick blur.slick");!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler)));t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler);t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler);t.$list.off("touchend.slick mouseup.slick",t.swipeHandler);t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler);t.$list.off("click.slick",t.clickHandler);n(document).off(t.visibilityChange,t.visibility);t.cleanUpSlideEvents();!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler);!0===t.options.focusOnSelect&&n(t.$slideTrack).children().off("click.slick",t.selectHandler);n(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange);n(window).off("resize.slick.slick-"+t.instanceUid,t.resize);n("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault);n(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)};t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",n.proxy(t.interrupt,t,!0));t.$list.off("mouseleave.slick",n.proxy(t.interrupt,t,!1))};t.prototype.cleanUpRows=function(){var n,t=this;t.options.rows>0&&(n=t.$slides.children().children(),n.removeAttr("style"),t.$slider.empty().append(n))};t.prototype.clickHandler=function(n){!1===this.shouldClick&&(n.stopImmediatePropagation(),n.stopPropagation(),n.preventDefault())};t.prototype.destroy=function(t){var i=this;i.autoPlayClear();i.touchObject={};i.cleanUpEvents();n(".slick-cloned",i.$slider).detach();i.$dots&&i.$dots.remove();i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove());i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove());i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){n(this).attr("style",n(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides));i.cleanUpRows();i.$slider.removeClass("slick-slider");i.$slider.removeClass("slick-initialized");i.$slider.removeClass("slick-dotted");i.unslicked=!0;t||i.$slider.trigger("destroy",[i])};t.prototype.disableTransition=function(n){var t=this,i={};i[t.transitionType]="";!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(n).css(i)};t.prototype.fadeSlide=function(n,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(n).css({zIndex:i.options.zIndex}),i.$slides.eq(n).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(n),i.$slides.eq(n).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout(function(){i.disableTransition(n);t.call()},i.options.speed))};t.prototype.fadeSlideOut=function(n){var t=this;!1===t.cssTransitions?t.$slides.eq(n).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(n),t.$slides.eq(n).css({opacity:0,zIndex:t.options.zIndex-2}))};t.prototype.filterSlides=t.prototype.slickFilter=function(n){var t=this;null!==n&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(n).appendTo(t.$slideTrack),t.reinit())};t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(i){i.stopImmediatePropagation();var r=n(this);setTimeout(function(){t.options.pauseOnFocus&&(t.focussed=r.is(":focus"),t.autoPlay())},0)})};t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide};t.prototype.getDotCount=function(){var n=this,i=0,r=0,t=0;if(!0===n.options.infinite)if(n.slideCount<=n.options.slidesToShow)++t;else for(;i<n.slideCount;)++t,i=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;else if(!0===n.options.centerMode)t=n.slideCount;else if(n.options.asNavFor)for(;i<n.slideCount;)++t,i=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;else t=1+Math.ceil((n.slideCount-n.options.slidesToShow)/n.options.slidesToScroll);return t-1};t.prototype.getLeft=function(n){var f,r,i,e,t=this,u=0;return t.slideOffset=0,r=t.$slides.first().outerHeight(!0),!0===t.options.infinite?(t.slideCount>t.options.slidesToShow&&(t.slideOffset=t.slideWidth*t.options.slidesToShow*-1,e=-1,!0===t.options.vertical&&!0===t.options.centerMode&&(2===t.options.slidesToShow?e=-1.5:1===t.options.slidesToShow&&(e=-2)),u=r*t.options.slidesToShow*e),t.slideCount%t.options.slidesToScroll!=0&&n+t.options.slidesToScroll>t.slideCount&&t.slideCount>t.options.slidesToShow&&(n>t.slideCount?(t.slideOffset=(t.options.slidesToShow-(n-t.slideCount))*t.slideWidth*-1,u=(t.options.slidesToShow-(n-t.slideCount))*r*-1):(t.slideOffset=t.slideCount%t.options.slidesToScroll*t.slideWidth*-1,u=t.slideCount%t.options.slidesToScroll*r*-1))):n+t.options.slidesToShow>t.slideCount&&(t.slideOffset=(n+t.options.slidesToShow-t.slideCount)*t.slideWidth,u=(n+t.options.slidesToShow-t.slideCount)*r),t.slideCount<=t.options.slidesToShow&&(t.slideOffset=0,u=0),!0===t.options.centerMode&&t.slideCount<=t.options.slidesToShow?t.slideOffset=t.slideWidth*Math.floor(t.options.slidesToShow)/2-t.slideWidth*t.slideCount/2:!0===t.options.centerMode&&!0===t.options.infinite?t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)-t.slideWidth:!0===t.options.centerMode&&(t.slideOffset=0,t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)),f=!1===t.options.vertical?n*t.slideWidth*-1+t.slideOffset:n*r*-1+u,!0===t.options.variableWidth&&(i=t.slideCount<=t.options.slidesToShow||!1===t.options.infinite?t.$slideTrack.children(".slick-slide").eq(n):t.$slideTrack.children(".slick-slide").eq(n+t.options.slidesToShow),f=!0===t.options.rtl?i[0]?-1*(t.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===t.options.centerMode&&(i=t.slideCount<=t.options.slidesToShow||!1===t.options.infinite?t.$slideTrack.children(".slick-slide").eq(n):t.$slideTrack.children(".slick-slide").eq(n+t.options.slidesToShow+1),f=!0===t.options.rtl?i[0]?-1*(t.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,f+=(t.$list.width()-i.outerWidth())/2)),f};t.prototype.getOption=t.prototype.slickGetOption=function(n){return this.options[n]};t.prototype.getNavigableIndexes=function(){var i,n=this,t=0,r=0,u=[];for(!1===n.options.infinite?i=n.slideCount:(t=-1*n.options.slidesToScroll,r=-1*n.options.slidesToScroll,i=2*n.slideCount);t<i;)u.push(t),t=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;return u};t.prototype.getSlick=function(){return this};t.prototype.getSlideCount=function(){var i,r,t=this;return r=!0===t.options.centerMode?t.slideWidth*Math.floor(t.options.slidesToShow/2):0,!0===t.options.swipeToSlide?(t.$slideTrack.find(".slick-slide").each(function(u,f){if(f.offsetLeft-r+n(f).outerWidth()/2>-1*t.swipeLeft)return i=f,!1}),Math.abs(n(i).attr("data-slick-index")-t.currentSlide)||1):t.options.slidesToScroll};t.prototype.goTo=t.prototype.slickGoTo=function(n,t){this.changeSlide({data:{message:"index",index:parseInt(n)}},t)};t.prototype.init=function(t){var i=this;n(i.$slider).hasClass("slick-initialized")||(n(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler());t&&i.$slider.trigger("init",[i]);!0===i.options.accessibility&&i.initADA();i.options.autoplay&&(i.paused=!1,i.autoPlay())};t.prototype.initADA=function(){var t=this,f=Math.ceil(t.slideCount/t.options.slidesToShow),r=t.getNavigableIndexes().filter(function(n){return n>=0&&n<t.slideCount}),i,u;for(t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(i){var f=r.indexOf(i),u;(n(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+i,tabindex:-1}),-1!==f)&&(u="slick-slide-control"+t.instanceUid+f,n("#"+u).length&&n(this).attr({"aria-describedby":u}))}),t.$dots.attr("role","tablist").find("li").each(function(i){var u=r[i];n(this).attr({role:"presentation"});n(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+i,"aria-controls":"slick-slide"+t.instanceUid+u,"aria-label":i+1+" of "+f,"aria-selected":null,tabindex:"-1"})}).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end()),i=t.currentSlide,u=i+t.options.slidesToShow;i<u;i++)t.options.focusOnChange?t.$slides.eq(i).attr({tabindex:"0"}):t.$slides.eq(i).removeAttr("tabindex");t.activateADA()};t.prototype.initArrowEvents=function(){var n=this;!0===n.options.arrows&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},n.changeSlide),n.$nextArrow.off("click.slick").on("click.slick",{message:"next"},n.changeSlide),!0===n.options.accessibility&&(n.$prevArrow.on("keydown.slick",n.keyHandler),n.$nextArrow.on("keydown.slick",n.keyHandler)))};t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&(n("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler));!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&n("li",t.$dots).on("mouseenter.slick",n.proxy(t.interrupt,t,!0)).on("mouseleave.slick",n.proxy(t.interrupt,t,!1))};t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",n.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",n.proxy(t.interrupt,t,!1)))};t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents();t.initDotEvents();t.initSlideEvents();t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler);t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler);t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler);t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler);t.$list.on("click.slick",t.clickHandler);n(document).on(t.visibilityChange,n.proxy(t.visibility,t));!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler);!0===t.options.focusOnSelect&&n(t.$slideTrack).children().on("click.slick",t.selectHandler);n(window).on("orientationchange.slick.slick-"+t.instanceUid,n.proxy(t.orientationChange,t));n(window).on("resize.slick.slick-"+t.instanceUid,n.proxy(t.resize,t));n("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault);n(window).on("load.slick.slick-"+t.instanceUid,t.setPosition);n(t.setPosition)};t.prototype.initUI=function(){var n=this;!0===n.options.arrows&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.show(),n.$nextArrow.show());!0===n.options.dots&&n.slideCount>n.options.slidesToShow&&n.$dots.show()};t.prototype.keyHandler=function(n){var t=this;n.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===n.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===n.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))};t.prototype.lazyLoad=function(){function e(i){n("img[data-lazy]",i).each(function(){var i=n(this),r=n(this).attr("data-lazy"),f=n(this).attr("data-srcset"),e=n(this).attr("data-sizes")||t.$slider.attr("data-sizes"),u=document.createElement("img");u.onload=function(){i.animate({opacity:0},100,function(){f&&(i.attr("srcset",f),e&&i.attr("sizes",e));i.attr("src",r).animate({opacity:1},200,function(){i.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")});t.$slider.trigger("lazyLoaded",[t,i,r])})};u.onerror=function(){i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error");t.$slider.trigger("lazyLoadError",[t,i,r])};u.src=r})}var u,f,i,r,t=this;if(!0===t.options.centerMode?!0===t.options.infinite?(i=t.currentSlide+(t.options.slidesToShow/2+1),r=i+t.options.slidesToShow+2):(i=Math.max(0,t.currentSlide-(t.options.slidesToShow/2+1)),r=t.options.slidesToShow/2+1+2+t.currentSlide):(i=t.options.infinite?t.options.slidesToShow+t.currentSlide:t.currentSlide,r=Math.ceil(i+t.options.slidesToShow),!0===t.options.fade&&(i>0&&i--,r<=t.slideCount&&r++)),u=t.$slider.find(".slick-slide").slice(i,r),"anticipated"===t.options.lazyLoad)for(var o=i-1,s=r,h=t.$slider.find(".slick-slide"),c=0;c<t.options.slidesToScroll;c++)o<0&&(o=t.slideCount-1),u=u.add(h.eq(o)),u=u.add(h.eq(s)),o--,s++;e(u);t.slideCount<=t.options.slidesToShow?(f=t.$slider.find(".slick-slide"),e(f)):t.currentSlide>=t.slideCount-t.options.slidesToShow?(f=t.$slider.find(".slick-cloned").slice(0,t.options.slidesToShow),e(f)):0===t.currentSlide&&(f=t.$slider.find(".slick-cloned").slice(-1*t.options.slidesToShow),e(f))};t.prototype.loadSlider=function(){var n=this;n.setPosition();n.$slideTrack.css({opacity:1});n.$slider.removeClass("slick-loading");n.initUI();"progressive"===n.options.lazyLoad&&n.progressiveLazyLoad()};t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})};t.prototype.orientationChange=function(){var n=this;n.checkResponsive();n.setPosition()};t.prototype.pause=t.prototype.slickPause=function(){var n=this;n.autoPlayClear();n.paused=!0};t.prototype.play=t.prototype.slickPlay=function(){var n=this;n.autoPlay();n.options.autoplay=!0;n.paused=!1;n.focussed=!1;n.interrupted=!1};t.prototype.postSlide=function(t){var i=this;!i.unslicked&&(i.$slider.trigger("afterChange",[i,t]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange))&&n(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()};t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})};t.prototype.preventDefault=function(n){n.preventDefault()};t.prototype.progressiveLazyLoad=function(t){t=t||1;var r,u,e,o,f,i=this,s=n("img[data-lazy]",i.$slider);s.length?(r=s.first(),u=r.attr("data-lazy"),e=r.attr("data-srcset"),o=r.attr("data-sizes")||i.$slider.attr("data-sizes"),f=document.createElement("img"),f.onload=function(){e&&(r.attr("srcset",e),o&&r.attr("sizes",o));r.attr("src",u).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading");!0===i.options.adaptiveHeight&&i.setPosition();i.$slider.trigger("lazyLoaded",[i,r,u]);i.progressiveLazyLoad()},f.onerror=function(){t<3?setTimeout(function(){i.progressiveLazyLoad(t+1)},500):(r.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,r,u]),i.progressiveLazyLoad())},f.src=u):i.$slider.trigger("allImagesLoaded",[i])};t.prototype.refresh=function(t){var r,u,i=this;u=i.slideCount-i.options.slidesToShow;!i.options.infinite&&i.currentSlide>u&&(i.currentSlide=u);i.slideCount<=i.options.slidesToShow&&(i.currentSlide=0);r=i.currentSlide;i.destroy(!0);n.extend(i,i.initials,{currentSlide:r});i.init();t||i.changeSlide({data:{message:"index",index:r}},!1)};t.prototype.registerBreakpoints=function(){var u,f,i,t=this,r=t.options.responsive||null;if("array"===n.type(r)&&r.length){t.respondTo=t.options.respondTo||"window";for(u in r)if(i=t.breakpoints.length-1,r.hasOwnProperty(u)){for(f=r[u].breakpoint;i>=0;)t.breakpoints[i]&&t.breakpoints[i]===f&&t.breakpoints.splice(i,1),i--;t.breakpoints.push(f);t.breakpointSettings[f]=r[u].settings}t.breakpoints.sort(function(n,i){return t.options.mobileFirst?n-i:i-n})}};t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide");t.slideCount=t.$slides.length;t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll);t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0);t.registerBreakpoints();t.setProps();t.setupInfinite();t.buildArrows();t.updateArrows();t.initArrowEvents();t.buildDots();t.updateDots();t.initDotEvents();t.cleanUpSlideEvents();t.initSlideEvents();t.checkResponsive(!1,!0);!0===t.options.focusOnSelect&&n(t.$slideTrack).children().on("click.slick",t.selectHandler);t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0);t.setPosition();t.focusHandler();t.paused=!t.options.autoplay;t.autoPlay();t.$slider.trigger("reInit",[t])};t.prototype.resize=function(){var t=this;n(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=n(window).width();t.checkResponsive();t.unslicked||t.setPosition()},50))};t.prototype.removeSlide=t.prototype.slickRemove=function(n,t,i){var r=this;if("boolean"==typeof n?(t=n,n=!0===t?0:r.slideCount-1):n=!0===t?--n:n,r.slideCount<1||n<0||n>r.slideCount-1)return!1;r.unload();!0===i?r.$slideTrack.children().remove():r.$slideTrack.children(this.options.slide).eq(n).remove();r.$slides=r.$slideTrack.children(this.options.slide);r.$slideTrack.children(this.options.slide).detach();r.$slideTrack.append(r.$slides);r.$slidesCache=r.$slides;r.reinit()};t.prototype.setCSS=function(n){var r,u,t=this,i={};!0===t.options.rtl&&(n=-n);r="left"==t.positionProp?Math.ceil(n)+"px":"0px";u="top"==t.positionProp?Math.ceil(n)+"px":"0px";i[t.positionProp]=n;!1===t.transformsEnabled?t.$slideTrack.css(i):(i={},!1===t.cssTransitions?(i[t.animType]="translate("+r+", "+u+")",t.$slideTrack.css(i)):(i[t.animType]="translate3d("+r+", "+u+", 0px)",t.$slideTrack.css(i)))};t.prototype.setDimensions=function(){var n=this,t;!1===n.options.vertical?!0===n.options.centerMode&&n.$list.css({padding:"0px "+n.options.centerPadding}):(n.$list.height(n.$slides.first().outerHeight(!0)*n.options.slidesToShow),!0===n.options.centerMode&&n.$list.css({padding:n.options.centerPadding+" 0px"}));n.listWidth=n.$list.width();n.listHeight=n.$list.height();!1===n.options.vertical&&!1===n.options.variableWidth?(n.slideWidth=Math.ceil(n.listWidth/n.options.slidesToShow),n.$slideTrack.width(Math.ceil(n.slideWidth*n.$slideTrack.children(".slick-slide").length))):!0===n.options.variableWidth?n.$slideTrack.width(5e3*n.slideCount):(n.slideWidth=Math.ceil(n.listWidth),n.$slideTrack.height(Math.ceil(n.$slides.first().outerHeight(!0)*n.$slideTrack.children(".slick-slide").length)));t=n.$slides.first().outerWidth(!0)-n.$slides.first().width();!1===n.options.variableWidth&&n.$slideTrack.children(".slick-slide").width(n.slideWidth-t)};t.prototype.setFade=function(){var i,t=this;t.$slides.each(function(r,u){i=t.slideWidth*r*-1;!0===t.options.rtl?n(u).css({position:"relative",right:i,top:0,zIndex:t.options.zIndex-2,opacity:0}):n(u).css({position:"relative",left:i,top:0,zIndex:t.options.zIndex-2,opacity:0})});t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})};t.prototype.setHeight=function(){var n=this,t;1===n.options.slidesToShow&&!0===n.options.adaptiveHeight&&!1===n.options.vertical&&(t=n.$slides.eq(n.currentSlide).outerHeight(!0),n.$list.css("height",t))};t.prototype.setOption=t.prototype.slickSetOption=function(){var u,f,e,i,r,t=this,o=!1;if("object"===n.type(arguments[0])?(e=arguments[0],o=arguments[1],r="multiple"):"string"===n.type(arguments[0])&&(e=arguments[0],i=arguments[1],o=arguments[2],"responsive"===arguments[0]&&"array"===n.type(arguments[1])?r="responsive":void 0!==arguments[1]&&(r="single")),"single"===r)t.options[e]=i;else if("multiple"===r)n.each(e,function(n,i){t.options[n]=i});else if("responsive"===r)for(f in i)if("array"!==n.type(t.options.responsive))t.options.responsive=[i[f]];else{for(u=t.options.responsive.length-1;u>=0;)t.options.responsive[u].breakpoint===i[f].breakpoint&&t.options.responsive.splice(u,1),u--;t.options.responsive.push(i[f])}o&&(t.unload(),t.reinit())};t.prototype.setPosition=function(){var n=this;n.setDimensions();n.setHeight();!1===n.options.fade?n.setCSS(n.getLeft(n.currentSlide)):n.setFade();n.$slider.trigger("setPosition",[n])};t.prototype.setProps=function(){var n=this,t=document.body.style;n.positionProp=!0===n.options.vertical?"top":"left";"top"===n.positionProp?n.$slider.addClass("slick-vertical"):n.$slider.removeClass("slick-vertical");void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===n.options.useCSS&&(n.cssTransitions=!0);n.options.fade&&("number"==typeof n.options.zIndex?n.options.zIndex<3&&(n.options.zIndex=3):n.options.zIndex=n.defaults.zIndex);void 0!==t.OTransform&&(n.animType="OTransform",n.transformType="-o-transform",n.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(n.animType=!1));void 0!==t.MozTransform&&(n.animType="MozTransform",n.transformType="-moz-transform",n.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(n.animType=!1));void 0!==t.webkitTransform&&(n.animType="webkitTransform",n.transformType="-webkit-transform",n.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(n.animType=!1));void 0!==t.msTransform&&(n.animType="msTransform",n.transformType="-ms-transform",n.transitionType="msTransition",void 0===t.msTransform&&(n.animType=!1));void 0!==t.transform&&!1!==n.animType&&(n.animType="transform",n.transformType="transform",n.transitionType="transition");n.transformsEnabled=n.options.useTransform&&null!==n.animType&&!1!==n.animType};t.prototype.setSlideClasses=function(n){var u,i,r,f,t=this,e;(i=t.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),t.$slides.eq(n).addClass("slick-current"),!0===t.options.centerMode)?(e=t.options.slidesToShow%2==0?1:0,u=Math.floor(t.options.slidesToShow/2),!0===t.options.infinite&&(n>=u&&n<=t.slideCount-1-u?t.$slides.slice(n-u+e,n+u+1).addClass("slick-active").attr("aria-hidden","false"):(r=t.options.slidesToShow+n,i.slice(r-u+1+e,r+u+2).addClass("slick-active").attr("aria-hidden","false")),0===n?i.eq(i.length-1-t.options.slidesToShow).addClass("slick-center"):n===t.slideCount-1&&i.eq(t.options.slidesToShow).addClass("slick-center")),t.$slides.eq(n).addClass("slick-center")):n>=0&&n<=t.slideCount-t.options.slidesToShow?t.$slides.slice(n,n+t.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=t.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(f=t.slideCount%t.options.slidesToShow,r=!0===t.options.infinite?t.options.slidesToShow+n:n,t.options.slidesToShow==t.options.slidesToScroll&&t.slideCount-n<t.options.slidesToShow?i.slice(r-(t.options.slidesToShow-f),r+f).addClass("slick-active").attr("aria-hidden","false"):i.slice(r,r+t.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==t.options.lazyLoad&&"anticipated"!==t.options.lazyLoad||t.lazyLoad()};t.prototype.setupInfinite=function(){var i,r,u,t=this;if(!0===t.options.fade&&(t.options.centerMode=!1),!0===t.options.infinite&&!1===t.options.fade&&(r=null,t.slideCount>t.options.slidesToShow)){for(u=!0===t.options.centerMode?t.options.slidesToShow+1:t.options.slidesToShow,i=t.slideCount;i>t.slideCount-u;i-=1)r=i-1,n(t.$slides[r]).clone(!0).attr("id","").attr("data-slick-index",r-t.slideCount).prependTo(t.$slideTrack).addClass("slick-cloned");for(i=0;i<u+t.slideCount;i+=1)r=i,n(t.$slides[r]).clone(!0).attr("id","").attr("data-slick-index",r+t.slideCount).appendTo(t.$slideTrack).addClass("slick-cloned");t.$slideTrack.find(".slick-cloned").find("[id]").each(function(){n(this).attr("id","")})}};t.prototype.interrupt=function(n){var t=this;n||t.autoPlay();t.interrupted=n};t.prototype.selectHandler=function(t){var i=this,u=n(t.target).is(".slick-slide")?n(t.target):n(t.target).parents(".slick-slide"),r=parseInt(u.attr("data-slick-index"));if(r||(r=0),i.slideCount<=i.options.slidesToShow)return void i.slideHandler(r,!1,!0);i.slideHandler(r)};t.prototype.slideHandler=function(n,t,i){var u,f,s,o,e,h=null,r=this;if(t=t||!1,!(!0===r.animating&&!0===r.options.waitForAnimate||!0===r.options.fade&&r.currentSlide===n)){if(!1===t&&r.asNavFor(n),u=n,h=r.getLeft(u),o=r.getLeft(r.currentSlide),r.currentLeft=null===r.swipeLeft?o:r.swipeLeft,!1===r.options.infinite&&!1===r.options.centerMode&&(n<0||n>r.getDotCount()*r.options.slidesToScroll))return void(!1===r.options.fade&&(u=r.currentSlide,!0!==i&&r.slideCount>r.options.slidesToShow?r.animateSlide(o,function(){r.postSlide(u)}):r.postSlide(u)));if(!1===r.options.infinite&&!0===r.options.centerMode&&(n<0||n>r.slideCount-r.options.slidesToScroll))return void(!1===r.options.fade&&(u=r.currentSlide,!0!==i&&r.slideCount>r.options.slidesToShow?r.animateSlide(o,function(){r.postSlide(u)}):r.postSlide(u)));if(r.options.autoplay&&clearInterval(r.autoPlayTimer),f=u<0?r.slideCount%r.options.slidesToScroll!=0?r.slideCount-r.slideCount%r.options.slidesToScroll:r.slideCount+u:u>=r.slideCount?r.slideCount%r.options.slidesToScroll!=0?0:u-r.slideCount:u,r.animating=!0,r.$slider.trigger("beforeChange",[r,r.currentSlide,f]),s=r.currentSlide,r.currentSlide=f,r.setSlideClasses(r.currentSlide),r.options.asNavFor&&(e=r.getNavTarget(),e=e.slick("getSlick"),e.slideCount<=e.options.slidesToShow&&e.setSlideClasses(r.currentSlide)),r.updateDots(),r.updateArrows(),!0===r.options.fade)return!0!==i?(r.fadeSlideOut(s),r.fadeSlide(f,function(){r.postSlide(f)})):r.postSlide(f),void r.animateHeight();!0!==i&&r.slideCount>r.options.slidesToShow?r.animateSlide(h,function(){r.postSlide(f)}):r.postSlide(f)}};t.prototype.startLoad=function(){var n=this;!0===n.options.arrows&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.hide(),n.$nextArrow.hide());!0===n.options.dots&&n.slideCount>n.options.slidesToShow&&n.$dots.hide();n.$slider.addClass("slick-loading")};t.prototype.swipeDirection=function(){var i,r,u,n,t=this;return i=t.touchObject.startX-t.touchObject.curX,r=t.touchObject.startY-t.touchObject.curY,u=Math.atan2(r,i),n=Math.round(180*u/Math.PI),n<0&&(n=360-Math.abs(n)),n<=45&&n>=0?!1===t.options.rtl?"left":"right":n<=360&&n>=315?!1===t.options.rtl?"left":"right":n>=135&&n<=225?!1===t.options.rtl?"right":"left":!0===t.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"};t.prototype.swipeEnd=function(){var t,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount();n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount();n.currentDirection=1}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})};t.prototype.swipeHandler=function(n){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==n.type.indexOf("mouse")))switch(t.touchObject.fingerCount=n.originalEvent&&void 0!==n.originalEvent.touches?n.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),n.data.action){case"start":t.swipeStart(n);break;case"move":t.swipeMove(n);break;case"end":t.swipeEnd(n)}};t.prototype.swipeMove=function(n){var f,e,r,u,i,o,t=this;return i=void 0!==n.originalEvent?n.originalEvent.touches:null,!(!t.dragging||t.scrolling||i&&1!==i.length)&&(f=t.getLeft(t.currentSlide),t.touchObject.curX=void 0!==i?i[0].pageX:n.clientX,t.touchObject.curY=void 0!==i?i[0].pageY:n.clientY,t.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(t.touchObject.curX-t.touchObject.startX,2))),o=Math.round(Math.sqrt(Math.pow(t.touchObject.curY-t.touchObject.startY,2))),!t.options.verticalSwiping&&!t.swiping&&o>4?(t.scrolling=!0,!1):(!0===t.options.verticalSwiping&&(t.touchObject.swipeLength=o),e=t.swipeDirection(),void 0!==n.originalEvent&&t.touchObject.swipeLength>4&&(t.swiping=!0,n.preventDefault()),u=(!1===t.options.rtl?1:-1)*(t.touchObject.curX>t.touchObject.startX?1:-1),!0===t.options.verticalSwiping&&(u=t.touchObject.curY>t.touchObject.startY?1:-1),r=t.touchObject.swipeLength,t.touchObject.edgeHit=!1,!1===t.options.infinite&&(0===t.currentSlide&&"right"===e||t.currentSlide>=t.getDotCount()&&"left"===e)&&(r=t.touchObject.swipeLength*t.options.edgeFriction,t.touchObject.edgeHit=!0),t.swipeLeft=!1===t.options.vertical?f+r*u:f+r*(t.$list.height()/t.listWidth)*u,!0===t.options.verticalSwiping&&(t.swipeLeft=f+r*u),!0!==t.options.fade&&!1!==t.options.touchMove&&(!0===t.animating?(t.swipeLeft=null,!1):void t.setCSS(t.swipeLeft))))};t.prototype.swipeStart=function(n){var i,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;void 0!==n.originalEvent&&void 0!==n.originalEvent.touches&&(i=n.originalEvent.touches[0]);t.touchObject.startX=t.touchObject.curX=void 0!==i?i.pageX:n.clientX;t.touchObject.startY=t.touchObject.curY=void 0!==i?i.pageY:n.clientY;t.dragging=!0};t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var n=this;null!==n.$slidesCache&&(n.unload(),n.$slideTrack.children(this.options.slide).detach(),n.$slidesCache.appendTo(n.$slideTrack),n.reinit())};t.prototype.unload=function(){var t=this;n(".slick-cloned",t.$slider).remove();t.$dots&&t.$dots.remove();t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove();t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove();t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")};t.prototype.unslick=function(n){var t=this;t.$slider.trigger("unslick",[t,n]);t.destroy()};t.prototype.updateArrows=function(){var n=this;Math.floor(n.options.slidesToShow/2);!0===n.options.arrows&&n.slideCount>n.options.slidesToShow&&!n.options.infinite&&(n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),n.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===n.currentSlide?(n.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):n.currentSlide>=n.slideCount-n.options.slidesToShow&&!1===n.options.centerMode?(n.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):n.currentSlide>=n.slideCount-1&&!0===n.options.centerMode&&(n.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))};t.prototype.updateDots=function(){var n=this;null!==n.$dots&&(n.$dots.find("li").removeClass("slick-active").end(),n.$dots.find("li").eq(Math.floor(n.currentSlide/n.options.slidesToScroll)).addClass("slick-active"))};t.prototype.visibility=function(){var n=this;n.options.autoplay&&(n.interrupted=document[n.hidden]?!0:!1)};n.fn.slick=function(){for(var u,i=this,r=arguments[0],f=Array.prototype.slice.call(arguments,1),e=i.length,n=0;n<e;n++)if("object"==typeof r||void 0===r?i[n].slick=new t(i[n],r):u=i[n].slick[r].apply(i[n].slick,f),void 0!==u)return u;return i}});!function(n,t,i,r){function s(n,t){return n[t]===r?u[t]:n[t]}function w(){var n=t.pageYOffset;return n===r?e.scrollTop:n}function h(n,t){var i=u["on"+n];i&&(it(i)?i.call(t[0]):(i.addClass&&t.addClass(i.addClass),i.removeClass&&t.removeClass(i.removeClass)));t.trigger("lazy"+n,[t]);f()}function b(t){h(t.type,n(this).off(nt,b))}function k(i){var g,ut;if(o.length){i=i||u.forceLoad;y=1/0;for(var ft=w(),st=t.innerHeight||e.clientHeight,ht=t.innerWidth||e.clientWidth,f=0,l=o.length;f<l;f++){var v,s=o[f],r=s[0],k=s[c],tt=!1,rt=i||p(r,a)<0;if(n.contains(e,r)){if(i||!k.visibleOnly||r.offsetWidth||r.offsetHeight){if(!rt){var d=r.getBoundingClientRect(),et=k.edgeX,ot=k.edgeY;v=d.top+ft-ot-st;rt=v<=ft&&d.bottom>-ot&&d.left<=ht+et&&d.right>-et}rt?(s.on(nt,b),h("show",s),g=k.srcAttr,ut=it(g)?g(s):r.getAttribute(g),ut&&(r.src=ut),tt=!0):v<y&&(y=v)}}else tt=!0;tt&&(p(r,a,0),o.splice(f--,1),l--)}l||h("complete",n(e))}}function d(){l>1?(l=1,k(),setTimeout(d,u.throttle)):l=0}function f(n){o.length&&(n&&"scroll"===n.type&&n.currentTarget===t&&y>=w()||(l||setTimeout(d,0),l=2))}function g(){v.lazyLoadXT()}function ut(){k(!0)}var c="lazyLoadXT",a="lazied",nt="load error",e=i.documentElement||i.body,ft=t.onscroll===r||!!t.operamini||!e.getBoundingClientRect,u={autoInit:!0,selector:"img[data-src]",blankImage:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",throttle:99,forceLoad:ft,loadEvent:"pageshow",updateEvent:"load orientationchange resize scroll touchmove focus",forceEvent:"lazyloadall",oninit:{removeClass:"lazy"},onshow:{addClass:"lazy-hidden"},onload:{removeClass:"lazy-hidden",addClass:"lazy-loaded"},onerror:{removeClass:"lazy-hidden"},checkDuplicates:!0},tt={srcAttr:"data-src",edgeX:0,edgeY:0,visibleOnly:!0},v=n(t),it=n.isFunction,rt=n.extend,p=n.data||function(t,i){return n(t).data(i)},o=[],y=0,l=0;n[c]=rt(u,tt,n[c]);n.fn[c]=function(i){i=i||{};var r,e=s(i,"blankImage"),v=s(i,"checkDuplicates"),y=s(i,"scrollContainer"),w=s(i,"show"),l={};n(y).on("scroll",f);for(r in tt)l[r]=s(i,r);return this.each(function(r,s){if(s===t)n(u.selector).lazyLoadXT(i);else{var b=v&&p(s,a),y=n(s).data(a,w?-1:1);if(b)return void f();e&&"IMG"===s.tagName&&!s.src&&(s.src=e);y[c]=rt({},l);h("init",y);o.push(y);f()}})};n(i).ready(function(){h("start",v);v.on(u.updateEvent,f).on(u.forceEvent,ut);n(i).on(u.updateEvent,f);u.autoInit&&(v.on(u.loadEvent,g),g())})}(window.jQuery||window.Zepto||window.$,window,document),function(n){var t=n.lazyLoadXT;t.selector+=",video,iframe[data-src]";t.videoPoster="data-poster";n(document).on("lazyshow","video",function(i,r){var u=r.lazyLoadXT.srcAttr,e=n.isFunction(u),f=!1;r.attr("poster",r.attr(t.videoPoster));r.children("source,track").each(function(t,i){var r=n(i),o=e?u(r):r.attr(u);o&&(r.attr("src",o),f=!0)});f&&this.load()})}(window.jQuery||window.Zepto||window.$),function(n,t,i){function o(t,i){return Math[i].apply(null,n.map(t,function(n){return n[r]}))}function c(n){return n[r]>=e[r]||n[r]===f}function l(n){return n[r]===f}function a(h){var nt=h.attr(u.srcsetAttr),a,v,d,g;if(!nt||(a=n.map(nt.replace(/(\s[\d.]+[whx]),/g,"$1 @,@ ").split(" @,@ "),function(n){return{url:y.exec(n)[1],w:parseFloat((p.exec(n)||s)[1]),h:parseFloat((w.exec(n)||s)[1]),x:parseFloat((b.exec(n)||k)[1])}}),!a.length))return!1;g=i.documentElement;e={w:t.innerWidth||g.clientWidth,h:t.innerHeight||g.clientHeight,x:t.devicePixelRatio||1};for(v in e)r=v,f=o(a,"max"),a=n.grep(a,c);for(v in e)r=v,f=o(a,"min"),a=n.grep(a,l);return d=a[0].url,u.srcsetExtended&&(d=(h.attr(u.srcsetBaseAttr)||"")+d+(h.attr(u.srcsetExtAttr)||"")),d}var r,f,u=n.lazyLoadXT,v=function(){return"srcset"in new Image}(),y=/^\s*(\S*)/,p=/\S\s+(\d+)w/,w=/\S\s+(\d+)h/,b=/\S\s+([\d\.]+)x/,s=[0,1/0],k=[0,1],h={srcsetAttr:"data-srcset",srcsetExtended:!0,srcsetBaseAttr:"data-srcset-base",srcsetExtAttr:"data-srcset-ext"},e={w:0,h:0,x:0};for(r in h)void 0===u[r]&&(u[r]=h[r]);u.selector+=",img["+u.srcsetAttr+"]";n(i).on("lazyshow","img",function(n,t){var i=t.attr(u.srcsetAttr);i&&(!u.srcsetExtended&&v?t.attr("srcset",i):t.lazyLoadXT.srcAttr=a)})}(window.jQuery||window.Zepto||window.$,window,document),function(n){"use strict";var i=n.lazyLoadXT,t=i.bgAttr||"data-bg";i.selector+=",["+t+"]";n(document).on("lazyshow",function(i){var r=n(i.target),u=r.attr(t);u&&r.css("background-image","url('"+u+"')").removeAttr(t);setTimeout(function(){r.removeClass("lazy-hidden").addClass("lazy-loaded")},10)})}(window.jQuery||window.Zepto||window.$),function(n){"use strict";var t={blankImage:"/components/design/content/blank.png"};window.outerWidth<480&&(t.edgeY=300);n.extend(n.lazyLoadXT,t)}(window.jQuery||window.Zepto||window.$);!function(n){var t=navigator.userAgent;n.HTMLPictureElement&&/ecko/.test(t)&&t.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",function(){var r,u=document.createElement("source"),e=function(n){var i,r,t=n.parentNode;"PICTURE"===t.nodeName.toUpperCase()?(i=u.cloneNode(),t.insertBefore(i,t.firstElementChild),setTimeout(function(){t.removeChild(i)})):(!n._pfLastSize||n.offsetWidth>n._pfLastSize)&&(n._pfLastSize=n.offsetWidth,r=n.sizes,n.sizes+=",100vw",setTimeout(function(){n.sizes=r}))},o=function(){for(var t=document.querySelectorAll("picture > img, img[srcset][sizes]"),n=0;n<t.length;n++)e(t[n])},t=function(){clearTimeout(r);r=setTimeout(o,99)},i=n.matchMedia&&matchMedia("(orientation: landscape)"),f=function(){t();i&&i.addListener&&i.addListener(t)};return u.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?f():document.addEventListener("DOMContentLoaded",f),t}())}(window),function(n,t,i){"use strict";function a(n){return" "===n||"\t"===n||"\n"===n||"\f"===n||"\r"===n}function wt(){w=!1;l=n.devicePixelRatio;h={};b={};r.DPR=l||1;u.width=Math.max(n.innerWidth||0,e.clientWidth);u.height=Math.max(n.innerHeight||0,e.clientHeight);u.vw=u.width/100;u.vh=u.height/100;v=[u.height,u.width,l].join("-");u.em=r.getEmValue();u.rem=u.em}function bt(n,t,i,r){var f,o,e,u;return"saveData"===p.algorithm?n>2.7?u=i+1:(o=t-i,f=Math.pow(n-.6,1.5),e=o*f,r&&(e+=.1*f),u=n+e):u=i>1?Math.sqrt(n*t):n,u>i}function kt(n){var i,t=r.getSet(n),u=!1;"pending"!==t&&(u=v,t&&(i=r.setRes(t),r.applySetCandidate(i,n)));n[r.ns].evaled=u}function dt(n,t){return n.res-t.res}function gt(n,t,i){var u;return!i&&t&&(i=n[r.ns].sets,i=i&&i[i.length-1]),u=et(t,i),u&&(t=r.makeUrl(t),n[r.ns].curSrc=t,n[r.ns].curCan=u,u.res||ft(u,u.set.sizes)),u}function et(n,t){var i,f,u;if(n&&t)for(u=r.parseSet(t),n=r.makeUrl(n),i=0;i<u.length;i++)if(n===r.makeUrl(u[i].url)){f=u[i];break}return f}function ni(n,t){for(var i,e,o=n.getElementsByTagName("source"),u=0,f=o.length;f>u;u++)i=o[u],i[r.ns]=!0,(e=i.getAttribute("srcset"))&&t.push({srcset:e,media:i.getAttribute("media"),type:i.getAttribute("type"),sizes:i.getAttribute("sizes")})}function ti(n,t){function h(t){var i,r=t.exec(n.substring(e));if(r)return(i=r[0],e+=i.length,i)}function o(){for(var u,r,e,h,v,o,l,y,n=!1,i={},a=0;a<f.length;a++)h=f[a],v=h[h.length-1],o=h.substring(0,h.length-1),l=parseInt(o,10),y=parseFloat(o),vt.test(o)&&"w"===v?((u||r)&&(n=!0),0===l?n=!0:u=l):ci.test(o)&&"x"===v?((u||r||e)&&(n=!0),0>y?n=!0:r=y):vt.test(o)&&"h"===v?((e||r)&&(n=!0),0===l?n=!0:e=l):n=!0;n||(i.url=s,u&&(i.w=u),r&&(i.d=r),e&&(i.h=e),e||r||u||(i.d=1),1===i.d&&(t.has1x=!0),i.set=t,c.push(i))}for(var s,f,i,u,r,l=n.length,e=0,c=[];;){if(h(oi),e>=l)return c;s=h(si);f=[];","===s.slice(-1)?(s=s.replace(hi,""),o()):function(){for(h(ei),i="",u="in descriptor";;){if(r=n.charAt(e),"in descriptor"===u)if(a(r))i&&(f.push(i),i="",u="after descriptor");else{if(","===r)return e+=1,i&&f.push(i),void o();if("("===r)i+=r,u="in parens";else{if(""===r)return i&&f.push(i),void o();i+=r}}else if("in parens"===u)if(")"===r)i+=r,u="in descriptor";else{if(""===r)return f.push(i),void o();i+=r}else if("after descriptor"===u&&!a(r)){if(""===r)return void o();u="in descriptor";e-=1}e+=1}}()}}function ii(n){var i,u,e,t,f,o,s=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,h=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(u=function(n){function u(){r&&(f.push(r),r="")}function s(){f[0]&&(h.push(f),f=[])}for(var i,r="",f=[],h=[],e=0,t=0,o=!1;;){if(""===(i=n.charAt(t)))return u(),s(),h;if(o){if("*"===i&&"/"===n[t+1]){o=!1;t+=2;u();continue}t+=1}else{if(a(i)){if(n.charAt(t-1)&&a(n.charAt(t-1))||!r){t+=1;continue}if(0===e){u();t+=1;continue}i=" "}else if("("===i)e+=1;else if(")"===i)e-=1;else{if(","===i){u();s();t+=1;continue}if("/"===i&&"*"===n.charAt(t+1)){o=!0;t+=2;continue}}r+=i;t+=1}}}(n),e=u.length,i=0;e>i;i++)if((t=u[i],f=t[t.length-1],function(n){return!!(s.test(n)&&parseFloat(n)>=0)||!!h.test(n)||"0"===n||"-0"===n||"+0"===n}(f))&&((o=f,t.pop(),0===t.length)||(t=t.join(" "),r.matchesMedia(t))))return o;return"100vw"}t.createElement("picture");var c,ot,v,r={},k=!1,y=function(){},s=t.createElement("img"),d=s.getAttribute,st=s.setAttribute,ht=s.removeAttribute,e=t.documentElement,o={},p={algorithm:""},g="data-pfsrc",ct=g+"set",nt=navigator.userAgent,ri=/rident/.test(nt)||/ecko/.test(nt)&&nt.match(/rv\:(\d+)/)&&RegExp.$1>35,tt="currentSrc",ui=/\s+\+?\d+(e\d+)?w/,fi=/(\([^)]+\))?\s*(.+)/,it=n.picturefillCFG,lt="font-size:100%!important;",w=!0,h={},b={},l=n.devicePixelRatio,u={px:1,"in":96},at=t.createElement("a"),rt=!1,ei=/^[ \t\n\r\u000c]+/,oi=/^[, \t\n\r\u000c]+/,si=/^[^ \t\n\r\u000c]+/,hi=/[,]+$/,vt=/^\d+$/,ci=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,yt=function(n,t,i,r){n.addEventListener?n.addEventListener(t,i,r||!1):n.attachEvent&&n.attachEvent("on"+t,i)},ut=function(n){var t={};return function(i){return i in t||(t[i]=n(i)),t[i]}},pt=function(){var n=/^([\d\.]+)(em|vw|px)$/,t=function(){for(var n=arguments,t=0,i=n[0];++t in n;)i=i.replace(n[t],n[++t]);return i},i=ut(function(n){return"return "+t((n||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"});return function(t,r){var f;if(!(t in h))if(h[t]=!1,r&&(f=t.match(n)))h[t]=f[1]*u[f[2]];else try{h[t]=new Function("e",i(t))(u)}catch(n){}return h[t]}}(),ft=function(n,t){return n.w?(n.cWidth=r.calcListLength(t||"100vw"),n.res=n.w/n.cWidth):n.res=n.d,n},f=function(n){if(k){var f,u,e,i=n||{};if(i.elements&&1===i.elements.nodeType&&("IMG"===i.elements.nodeName.toUpperCase()?i.elements=[i.elements]:(i.context=i.elements,i.elements=null)),f=i.elements||r.qsa(i.context||t,i.reevaluate||i.reselect?r.sel:r.selShort),e=f.length){for(r.setupRun(i),rt=!0,u=0;e>u;u++)r.fillImg(f[u],i);r.teardownRun(i)}}};for(n.console&&console.warn,(tt in s)||(tt="src"),o["image/jpeg"]=!0,o["image/gif"]=!0,o["image/png"]=!0,o["image/svg+xml"]=t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),r.ns=("pf"+(new Date).getTime()).substr(0,9),r.supSrcset=("srcset"in s),r.supSizes=("sizes"in s),r.supPicture=!!n.HTMLPictureElement,r.supSrcset&&r.supPicture&&!r.supSizes&&function(n){s.srcset="data:,a";n.src="data:,a";r.supSrcset=s.complete===n.complete;r.supPicture=r.supSrcset&&r.supPicture}(t.createElement("img")),r.supSrcset&&!r.supSizes?function(){var i="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",n=t.createElement("img"),u=function(){2===n.width&&(r.supSizes=!0);ot=r.supSrcset&&!r.supSizes;k=!0;setTimeout(f)};n.onload=u;n.onerror=u;n.setAttribute("sizes","9px");n.srcset=i+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w";n.src=i}():k=!0,r.selShort="picture>img,img[srcset]",r.sel=r.selShort,r.cfg=p,r.DPR=l||1,r.u=u,r.types=o,r.setSize=y,r.makeUrl=ut(function(n){return at.href=n,at.href}),r.qsa=function(n,t){return"querySelector"in n?n.querySelectorAll(t):[]},r.matchesMedia=function(){return r.matchesMedia=n.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?function(n){return!n||matchMedia(n).matches}:r.mMQ,r.matchesMedia.apply(this,arguments)},r.mMQ=function(n){return!n||pt(n)},r.calcLength=function(n){var t=pt(n,!0)||!1;return 0>t&&(t=!1),t},r.supportsType=function(n){return!n||o[n]},r.parseSize=ut(function(n){var t=(n||"").match(fi);return{media:t&&t[1],length:t&&t[2]}}),r.parseSet=function(n){return n.cands||(n.cands=ti(n.srcset,n)),n.cands},r.getEmValue=function(){var n;if(!c&&(n=t.body)){var i=t.createElement("div"),r=e.style.cssText,u=n.style.cssText;i.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)";e.style.cssText=lt;n.style.cssText=lt;n.appendChild(i);c=i.offsetWidth;n.removeChild(i);c=parseFloat(c,10);e.style.cssText=r;n.style.cssText=u}return c||16},r.calcListLength=function(n){if(!(n in b)||p.uT){var t=r.calcLength(ii(n));b[n]=t||u.width}return b[n]},r.setRes=function(n){var t,i,u;if(n)for(t=r.parseSet(n),i=0,u=t.length;u>i;i++)ft(t[i],n.sizes);return t},r.setRes.res=ft,r.applySetCandidate=function(n,t){if(n.length){var f,e,o,l,i,s,u,a,v,h=t[r.ns],c=r.DPR;if(s=h.curSrc||t[tt],u=h.curCan||gt(t,s,n[0].set),u&&u.set===n[0].set&&((v=ri&&!t.complete&&u.res-.1>c)||(u.cached=!0,u.res>=c&&(i=u))),!i)for(n.sort(dt),l=n.length,i=n[l-1],e=0;l>e;e++)if(f=n[e],f.res>=c){o=e-1;i=n[o]&&(v||s!==r.makeUrl(f.url))&&bt(n[o].res,f.res,c,n[o].cached)?n[o]:f;break}i&&(a=r.makeUrl(i.url),h.curSrc=a,h.curCan=i,a!==s&&r.setSrc(t,i),r.setSize(t))}},r.setSrc=function(n,t){var i;n.src=t.url;"image/svg+xml"===t.set.type&&(i=n.style.width,n.style.width=n.offsetWidth+1+"px",n.offsetWidth+1&&(n.style.width=i))},r.getSet=function(n){for(var t,u,f=!1,e=n[r.ns].sets,i=0;i<e.length&&!f;i++)if(t=e[i],t.srcset&&r.matchesMedia(t.media)&&(u=r.supportsType(t.type))){"pending"===u&&(t=u);f=t;break}return f},r.parseSets=function(n,t,u){var o,e,s,h,c=t&&"PICTURE"===t.nodeName.toUpperCase(),f=n[r.ns];(f.src===i||u.src)&&(f.src=d.call(n,"src"),f.src?st.call(n,g,f.src):ht.call(n,g));(f.srcset===i||u.srcset||!r.supSrcset||n.srcset)&&(o=d.call(n,"srcset"),f.srcset=o,h=!0);f.sets=[];c&&(f.pic=!0,ni(t,f.sets));f.srcset?(e={srcset:f.srcset,sizes:d.call(n,"sizes")},f.sets.push(e),(s=(ot||f.src)&&ui.test(f.srcset||""))||!f.src||et(f.src,e)||e.has1x||(e.srcset+=", "+f.src,e.cands.push({url:f.src,d:1,set:e}))):f.src&&f.sets.push({srcset:f.src,sizes:null});f.curCan=null;f.curSrc=i;f.supported=!(c||e&&!r.supSrcset||s&&!r.supSizes);h&&r.supSrcset&&!f.supported&&(o?(st.call(n,ct,o),n.srcset=""):ht.call(n,ct));f.supported&&!f.srcset&&(!f.src&&n.src||n.src!==r.makeUrl(f.src))&&(null===f.src?n.removeAttribute("src"):n.src=f.src);f.parsed=!0},r.fillImg=function(n,t){var i,u=t.reselect||t.reevaluate;n[r.ns]||(n[r.ns]={});i=n[r.ns];(u||i.evaled!==v)&&((!i.parsed||t.reevaluate)&&r.parseSets(n,n.parentNode,t),i.supported?i.evaled=v:kt(n))},r.setupRun=function(){(!rt||w||l!==n.devicePixelRatio)&&wt()},r.supPicture?(f=y,r.fillImg=y):function(){var f,h=n.attachEvent?/d$|^c/:/d$|^c|^i/,i=function(){var n=t.readyState||"";o=setTimeout(i,"loading"===n?200:999);t.body&&(r.fillImgs(),(f=f||h.test(n))&&clearTimeout(o))},o=setTimeout(i,t.body?9:99),s=e.clientHeight,c=function(){w=Math.max(n.innerWidth||0,e.clientWidth)!==u.width||e.clientHeight!==s;s=e.clientHeight;w&&r.fillImgs()};yt(n,"resize",function(n,t){var i,r,u=function(){var f=new Date-r;t>f?i=setTimeout(u,t-f):(i=null,n())};return function(){r=new Date;i||(i=setTimeout(u,t))}}(c,99));yt(t,"readystatechange",i)}(),r.picturefill=f,r.fillImgs=f,r.teardownRun=y,f._=r,n.picturefillCFG={pf:r,push:function(n){var t=n.shift();"function"==typeof r[t]?r[t].apply(r,n):(p[t]=n[0],rt&&r.fillImgs({reselect:!0}))}};it&&it.length;)n.picturefillCFG.push(it.shift());n.picturefill=f;"object"==typeof module&&"object"==typeof module.exports?module.exports=f:"function"==typeof define&&define.amd&&define("picturefill",function(){return f});r.supPicture||(o["image/webp"]=function(t,i){var r=new n.Image;return r.onerror=function(){o[t]=!1;f()},r.onload=function(){o[t]=1===r.width;f()},r.src=i,"pending"}("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document);!function(n){"use strict";n.module("JabraApplication.Design",[])}(angular);!function(n){!function(){"use strict";angular.module("JabraApplication.Design").directive("focusOn",["$timeout",function(n){return{link:function(t,i,r){var u=document.getElementById(r.focusOn);null!==u&&i.on("change",function(){n(function(){u.focus()},10)})},restrict:"A"}}])}(n.Directives||(n.Directives={}))}(Design||(Design={})),function(n){!function(){"use strict";angular.module("JabraApplication.Design").directive("hideWhen",["$window","domUtils",function(n,t){return{link:function(i,r,u){var f,e,o=angular.element(u.hideWhen);0!==o.length&&(f=Number(u.hideWhenThreshold),e=isNaN(f)?0:f,angular.element(n).on("scroll",function(){Array.prototype.some.call(o,function(n){return t.isScrolledIntoView(n,e)})?r.hide():r.show()}))},restrict:"A"}}])}(n.Directives||(n.Directives={}))}(Design||(Design={})),function(n){!function(){"use strict";var n;!function(){angular.module("JabraApplication.Design").directive("jabraVideo",["$log","$q",function(n,t){return{link:function(i,r){var f,u,e;if(!i.youtube&&!i.ku6)return void n.warn("No video identifiers specified.");(function(){var i=t.defer(),r=new Image;return r.onload=function(){n.info("Youtube is accessible.");i.resolve()},r.onerror=function(){n.warn("The user can not access Youtube.");i.reject()},r.src="//youtube.com/favicon.ico",i.promise})().then(function(){u="//www.youtube.com/embed/"+i.youtube+"?rel=0&showinfo=0&iv_load_policy=3&rel=0&controls="+Number("false"!==i.controls)+"&autoplay="+Number("true"===i.autoplay)},function(){u="//player.ku6.com/refer/"+i.ku6+"/v.swf&amp;adss=0&amp;&amp;pl=0&amp;pv=0&amp;so=0auto="+Number("true"===i.autoplay)}).finally(function(){void 0!==u&&(f="true"===i.lazy?"data-src":"src",e='<iframe class="embed-responsive-item" '+f+'="'+u+'"><\/iframe>',r.html(e))})},restrict:"E",scope:{autoplay:"@",controls:"@",ku6:"@",lazy:"@",youtube:"@"}}}])}(n||(n={}))}(n.Directives||(n.Directives={}))}(Design||(Design={})),function(n){!function(){"use strict";angular.module("JabraApplication.Design").directive("scrollTo",["smoothScroll","domUtils",function(n,t){return{link:function(i,r,u){r.on("click",function(i){var r=t.getElement(u.scrollTo),f=angular.element(r).outerHeight(),e=document.documentElement.clientHeight,s=""===u.scrollToOffset||isNaN(Number(u.scrollToOffset))?60:Number(u.scrollToOffset),o=0;return i.preventDefault(),!!r&&("center"===u.scrollToPosition&&f<e&&(o=(e-f)/2),n(r,{offset:o+s}),!1)})},restrict:"A"}}]).directive("scrollToOnInit",["smoothScroll","$location","domUtils",function(n,t,i){return{link:function(){var u=t.url().replace(/\//,""),r=i.getElement(u);r&&n(r)},restrict:"A"}}])}(n.Directives||(n.Directives={}))}(Design||(Design={})),function(n){!function(){"use strict";angular.module("JabraApplication.Design").directive("setSticky",["$window",function(n){var t=angular.element(n);return{link:function(n,i,r){var u=r.setSticky,f=i[0],o=i.offset().top,e=function(){if(0!==f.offsetWidth||0!==f.offsetHeight)if(t.scrollTop()>=o){if(i.hasClass(u))return;0!==f.offsetHeight&&i.after('<div class="sticky-phantom" style="height:'+i.outerHeight()+'px;"><\/div>');i.addClass(u)}else i.hasClass(u)&&i.removeClass(u).next(".sticky-phantom").remove()};e();t.on("scroll",e)},restrict:"A"}}])}(n.Directives||(n.Directives={}))}(Design||(Design={})),function(n,t){"use strict";n.module("JabraApplication.Design").directive("slick",["$timeout",function(i){return{link:function(r,u,f){var e,s=function(){return i(function(){var t=n.element(u);return t.slick("unslick"),t.slick("getSlick").lazyLoad(),t.find(".slick-list,[tabindex]").remove(),t.off("init afterChange loading stopLoading"),t})},o=function(){return i(function(){function s(){t.lazyLoadXT&&(e.find(t.lazyLoadXT.selector).filter(":not(.lazy-loaded)").data("lazied",0).lazyLoadXT(),n.element(window).trigger("scroll"))}var o,e=n.element(u),h;return null!=r.currentIndex&&(o=r.currentIndex),h=function(n,t){return r.customPaging({index:t,slick:n})},e.slick({accessibility:"false"!==r.accessibility,adaptiveHeight:"true"===r.adaptiveHeight,appendArrows:t(r.appendArrows?r.appendArrows:u),appendDots:t(r.appendDots?r.appendDots:u),arrows:"false"!==r.arrows,asNavFor:r.asNavFor?r.asNavFor:void 0,autoplay:"true"===r.autoplay,autoplaySpeed:null!=r.autoplaySpeed?parseInt(r.autoplaySpeed,10):3e3,beforeChange:f.onBeforeChange?r.onBeforeChange:void 0,centerMode:"true"===r.centerMode,centerPadding:r.centerPadding||"50px",cssEase:r.cssEase||"ease",customPaging:f.customPaging?h:void 0,dots:"true"===r.dots,draggable:"false"!==r.draggable,easing:r.easing||"linear",fade:"true"===r.fade,focusOnSelect:"true"===r.focusOnSelect,infinite:"false"!==r.infinite,initialSlide:r.initialSlide||0,lazyLoad:r.lazyLoad||"ondemand",nextArrow:r.nextArrow?t(r.nextArrow):void 0,onReInit:f.onReInit?r.onReInit:void 0,onSetPosition:f.onSetPosition?r.onSetPosition:void 0,pauseOnHover:"false"!==r.pauseOnHover,prevArrow:r.prevArrow?t(r.prevArrow):void 0,responsive:r.responsive||void 0,rows:0,rtl:"true"===r.rtl,slide:r.slide||"div",slidesToScroll:null!=r.slidesToScroll?parseInt(r.slidesToScroll,10):1,slidesToShow:null!=r.slidesToShow?parseInt(r.slidesToShow,10):1,speed:null!=r.speed?parseInt(r.speed,10):300,swipe:"false"!==r.swipe,swipeToSlide:"true"===r.swipeToSlide,touchMove:"false"!==r.touchMove,touchThreshold:r.touchThreshold?parseInt(r.touchThreshold,10):5,useCSS:"false"!==r.useCSS,variableWidth:"true"===r.variableWidth,vertical:"true"===r.vertical}),s(),e.on("loading",function(){e.height(e.outerHeight())}),e.on("stopLoading",function(){i(function(){e.height("auto")})}),e.on("init",function(n){return f.onInit&&r.onInit(),null==o||n.slideHandler(o)}),e.on("afterChange",function(n,t,i){if(s(),r.onAfterChange&&r.onAfterChange(),null!=o)return r.$apply(function(){return o=i,r.currentIndex=i})}),r.$watch("currentIndex",function(n){if(null!=o&&null!=n&&n!==o)return e.slick("slickGoTo",n)})})};return r.$watch("loading",function(){return void 0!==r.loading&&(n.element(u).trigger(!0===r.loading?"loading":"stopLoading"),r.loading)}),r.initOnload?(e=!1,r.$watch("data",function(n){return null!=n&&(e&&s(),o(),e=!0)})):o()},restrict:"AEC",scope:{accessibility:"@",adaptiveHeight:"@",appendArrows:"@",appendDots:"@",arrows:"@",asNavFor:"@",autoplay:"@",autoplaySpeed:"@",centerMode:"@",centerPadding:"@",cssEase:"@",currentIndex:"=",customPaging:"&",data:"=",dots:"@",draggable:"@",easing:"@",fade:"@",focusOnSelect:"@",infinite:"@",initOnload:"@",initialSlide:"@",lazyLoad:"@",loading:"=",nextArrow:"@",onAfterChange:"&",onBeforeChange:"&",onInit:"&",onReInit:"&",onSetPosition:"&",pauseOnDotsHover:"@",pauseOnHover:"@",prevArrow:"@",responsive:"=",rtl:"@",slide:"@",slidesToScroll:"@",slidesToShow:"@",speed:"@",swipe:"@",swipeToSlide:"@",touchMove:"@",touchThreshold:"@",useCSS:"@",variableWidth:"@",vertical:"@"}}}])}(angular,jQuery),function(n){!function(){"use strict";angular.module("JabraApplication.Design").directive("slickRefresh",[function(){return{link:function(n,t){if(jQuery.lazyLoadXT){var i=angular.element(t),r=i.parent();i.on("change",function(){var n=r.find("slick").slick("getSlick");0!==n.length&&(n.refresh(!1),window.scrollTo(0,document.body.scrollTop+1),window.scrollTo(0,document.body.scrollTop-1))})}},restrict:"A"}}])}(n.Directives||(n.Directives={}))}(Design||(Design={})),function(){"use strict";var n=function(n,t){void 0===t&&(t={});var e=t.duration||800,o=t.offset||0,s=t.easing||"easeInOutQuart",h=t.callbackBefore||angular.noop,c=t.callbackAfter||angular.noop,i=document.getElementById(t.containerId)||null,r=null!==i,u=function(){return r?i.scrollTop:window.pageYOffset?window.pageYOffset:document.documentElement.scrollTop},l=function(n,t){switch(n){case"easeInQuad":return t*t;case"easeOutQuad":return t*(2-t);case"easeInOutQuad":return t<.5?2*t*t:(4-2*t)*t-1;case"easeInCubic":return t*t*t;case"easeOutCubic":return--t*t*t+1;case"easeInOutCubic":return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1;case"easeInQuart":return t*t*t*t;case"easeOutQuart":return 1- --t*t*t*t;case"easeInOutQuart":return t<.5?8*t*t*t*t:1-8*--t*t*t*t;case"easeInQuint":return t*t*t*t*t;case"easeOutQuint":return 1+--t*t*t*t*t;case"easeInOutQuint":return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t;default:return t}},f=function(n){var t=0;if(n.offsetParent)do t+=n.offsetTop,n=n.offsetParent;while(n);return Math.max(t-o,0)};setTimeout(function(){var v,a,y,p,t,o,w,b,k,d=function(){v=u();a=f(n);y=0;p=a-v},g=function(){return window.innerHeight+window.pageYOffset>=document.body.scrollHeight},nt=function(){var t=u();if(b=window.innerHeight+t,w=r?i.scrollHeight:document.body.scrollHeight,o===a||t===a||b>=w){if(!g()&&o!==f(n))return void d();clearInterval(k);c(n)}},tt=function(){y+=16;t=y/e;t=t>1?1:t;o=v+p*l(s,t);r?i.scrollTop=o:window.scrollTo(0,o);nt()};h(n);d();k=setInterval(tt,16)},0)};angular.module("JabraApplication.Design").factory("smoothScroll",[function(){return n}]).directive("smoothScroll",["smoothScroll",function(n){return{link:function(t,i,r){void 0!==r.scrollIf&&"true"!==r.scrollIf||setTimeout(function(){var u=function(n){if(r.callbackBefore){var i=t.callbackBefore({element:n});"function"==typeof i&&i(n)}},f=function(n){if(r.callbackAfter){var i=t.callbackAfter({element:n});"function"==typeof i&&i(n)}};n(i[0],{callbackAfter:f,callbackBefore:u,containerId:r.containerId,duration:r.duration,easing:r.easing,offset:r.offset})},0)},restrict:"A",scope:{callbackAfter:"&",callbackBefore:"&"}}}])}(Design||(Design={})),function(n){!function(){"use strict";angular.module("JabraApplication.Design").directive("syncModel",[function(){return{link:function(n,t,i,r){var u=t.val()||t.html();r.$pristine&&r.$viewValue!==u&&u&&r.$setViewValue(u)},require:"ngModel"}}])}(n.Directives||(n.Directives={}))}(Design||(Design={})),function(n){!function(){"use strict";angular.module("JabraApplication.Design").filter("format",function(){return function(n){var t=arguments;return n.replace(/\{(\d+)\}/g,function(n,i){return t[1*i+1]})}})}(n.Filters||(n.Filters={}))}(Design||(Design={})),function(n){!function(){"use strict";var n=function(){function n(){}return n.prototype.isScrolledIntoView=function(n,t){var e=angular.element(n),o=angular.element(window),i=o.scrollTop(),u=i+o.height(),r=e.offset().top,f=r+e.outerHeight();return r>i&&r+t<u||r<i&&f>u||f>i&&f<u},n.prototype.getEndLocation=function(n,t){var i=0,r=isNaN(t)?0:t;if(n.offsetParent)do i+=n.offsetTop,n=n.offsetParent;while(n);return Math.max(i-r,0)},n.prototype.getElement=function(n){var t=document.getElementById(n);if(t||(t=this.tryGetFormElement(n)))return t},n.prototype.tryGetFormElement=function(n){var t=angular.element('[data-wffm="'+n+'"]');return 0===t.length?null:t[0]},n}();angular.module("JabraApplication.Design").factory("domUtils",[function(){return new n}])}(n.Utils||(n.Utils={}))}(Design||(Design={}));!function(){"use strict";angular.module("JabraApplication.Design").directive("anchorBarItem",["anchorBarFactory",function(n){return{link:function(t,i,r){var u={id:r.id,selected:!1,title:r.anchorBarTitle};angular.isString(r.lazyAnchorBarItem)&&""!==r.lazyAnchorBarItem?t.$watch(r.lazyAnchorBarItem,function(t){!0===t?n.add(u):n.remove(u)}):""!==r.lazyAnchorBarItem&&n.add(u)},restrict:"A"}}])}(Design||(Design={}));!function(){"use strict";angular.module("JabraApplication.Design").directive("fallbackSrc",[function(){return{link:function(n,t,i){t.bind("error",function(n){n.target.setAttribute("src",i.fallbackSrc);n.target.classList.add("fallback-src")});n.$on("$destroy",function(){t.unbind("error")})},restrict:"A"}}])}(Design||(Design={}));!function(){"use strict";angular.module("JabraApplication.Design").directive("productPrice",[function(){return{link:function(n){angular.isString(n.theme)&&""!==n.theme||(n.theme="dark")},restrict:"E",scope:{hasDiscount:"=",listPrice:"=",salePrice:"=",theme:"@"},templateUrl:"/components/design/html/product-price.html"}}])}(Design||(Design={}));!function(){"use strict";var n=function(){function n(){this.anchors=[]}return n.prototype.add=function(n){this.anchors.push(n)},n.prototype.getAnchors=function(){return this.anchors},n.prototype.remove=function(n){var t=this.anchors.indexOf(n);-1!==t&&this.anchors.splice(t,1)},n}();angular.module("JabraApplication.Design").factory("anchorBarFactory",[function(){return new n}])}(Design||(Design={}));!function(){"use strict"}(Design||(Design={}));!function(n){"use strict";n.module("JabraApplication.ProductApi",[])}(angular);!function(n){"use strict";angular.module("JabraApplication.ProductApi").directive("price",["priceFactory",function(t){return{link:function(i){function r(n){i.empty=void 0===n;i.price=n}function u(){if(i.empty=!0,i.pId)switch(i.pType){case n.ProductType.Family:t.getByFamily(i.pId).then(r,angular.noop);break;case n.ProductType.Group:t.getByGroupDebounced(i.pId).then(r,angular.noop);break;case n.ProductType.Product:t.getByProductDebounced(i.pId).then(r,angular.noop)}}angular.isNumber(i.pId)&&u();i.$watch("pId",function(n,t){n!==t&&u()})},restrict:"E",scope:{pId:"=",pType:"@"},template:'<span class="product-price" ng-class="{ \'product-price--discounted\': price.isDiscounted }" ng-hide="empty" ng-cloak>\n                            <span class="product-price__price-label" ng-if="price.familyId" system-dictionary="PriceFrom"><\/span>\n                            <span class="product-price__listed-price" ng-class="{ \'product-price__listed-price--discounted\': price.isDiscounted }" \n                                ng-bind="price.formattedListPrice || price.formattedFromListPrice"><\/span>\n                            <span class="product-price__sales-price" ng-class="{ \'product-price__sales-price--discounted\': price.isDiscounted }" \n                                ng-show="price.isDiscounted" ng-bind="price.formattedDiscountedPrice || price.formattedFromDiscountedPrice"><\/span>\n                        <\/span>'}}])}(ProductApi||(ProductApi={}));!function(){"use strict";var n=function(){function n(n,t,i,r){var u=this;this.$scope=n;this.$transclude=t;this.$element=i;this.productCatalogue=r;this.$scope.pId=Number(this.$scope.pId);angular.isNumber(this.$scope.pId)&&!isNaN(this.$scope.pId)&&this.updateFromProduct();this.$scope.$watch("pId",function(n,t){n===t||isNaN(u.$scope.pId)||u.updateFromProduct()})}return n.prototype.updateFromProduct=function(){var n=this;void 0!==this.$transcludeScope&&(this.$transcludeScope.$destroy(),this.$transcludeScope=void 0,this.$element.empty());this.$transclude(this.$scope,function(t,i){n.$transcludeScope=i;n.$element.append(t)});this.productCatalogue.get(this.$scope.pId,this.$scope.pType).then(function(t){n.$scope.product=t})},n}();angular.module("JabraApplication.ProductApi").directive("product",[function(){return{controller:["$scope","$transclude","$element","productCatalogueService",n],restrict:"E",scope:{pId:"=",pType:"@"},transclude:!0}}])}(ProductApi||(ProductApi={}));!function(){"use strict";var n=function(){function n(n,t,i){var r=this;this.$scope=n;this.$transclude=t;this.$element=i;angular.isString(this.$scope.pIds)&&""!==this.$scope.pIds&&this.updateFromProducts();this.$scope.$watch("pIds",function(n,t){n!==t&&r.updateFromProducts()})}return n.prototype.updateFromProducts=function(){var n=this;void 0!==this.$transcludeScope&&(this.$transcludeScope.$destroy(),this.$transcludeScope=void 0,this.$element.empty());this.$transclude(this.$scope,function(t,i){n.$transcludeScope=i;n.$element.append(t)});this.$scope.productIds=(this.$scope.pIds||"").split(",")},n}();angular.module("JabraApplication.ProductApi").directive("products",[function(){return{controller:["$scope","$transclude","$element",n],restrict:"E",scope:{pIds:"="},transclude:!0}}])}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(){"use strict";var n=function(){function n(n,t,i){this.$http=n;this.$q=t;this.apiConfig=i;this.groupDebouncedArray=[];this.groupIdsStack=[];this.productDebouncedArray=[];this.productIdsStack=[]}return n.prototype.getByGroupDebounced=function(n){var t=this,i=this.$q.defer(),r;return angular.isNumber(n)||i.reject(),r=this.groupDebouncedArray.filter(function(t){return t.groupId===n})[0],void 0!==r?r.result.promise:(this.groupDebouncedArray.push({groupId:n,result:i}),this.groupIdsStack.push(n),clearTimeout(this.groupGetMultiplePricesTimeout),this.groupGetMultiplePricesTimeout=setTimeout(function(){var n=[];angular.copy(t.groupIdsStack,n);t.getByGroups(t.groupIdsStack).then(function(i){void 0===i&&(i=[]);"string"==typeof i&&(i=[]);n.filter(function(n){return i.every(function(t){return t.groupId!==n})}).forEach(function(n){t.rejectPromises(n,"groupId",t.productDebouncedArray)});t.resolvePromises(i,"groupId",t.groupDebouncedArray)});t.groupIdsStack=[]},10),i.promise)},n.prototype.getByProductDebounced=function(n){var t=this,i=this.$q.defer(),r;return angular.isNumber(n)||i.reject(),r=this.productDebouncedArray.filter(function(t){return t.productId===n})[0],void 0!==r?r.result.promise:(this.productDebouncedArray.push({productId:n,result:i}),this.productIdsStack.push(n),clearTimeout(this.productGetMultiplePricesTimeout),this.productGetMultiplePricesTimeout=setTimeout(function(){var n=[];angular.copy(t.productIdsStack,n);t.getByProducts(t.productIdsStack).then(function(i){void 0===i&&(i=[]);"string"==typeof i&&(i=[]);n.filter(function(n){return i.every(function(t){return t.productId!==n})}).forEach(function(n){t.rejectPromises(n,"productId",t.productDebouncedArray)});t.resolvePromises(i,"productId",t.productDebouncedArray)});t.productIdsStack=[]},10),i.promise)},n.prototype.getByFamily=function(n){var i=this.buildUrl("v1/family?familyIds=",n.toString()),r=this.$http.get(i,{cache:!0}),t=this.$q.defer();return r.then(function(n){t.resolve((n.data||[])[0])},function(){t.reject()}),t.promise},n.prototype.getByGroup=function(){var t=this.buildUrl("v1/groups?groupIds=",name),i=this.$http.get(t,{cache:!0}),n=this.$q.defer();return i.then(function(t){n.resolve((t.data||[])[0])},function(){n.reject()}),n.promise},n.prototype.getByGroups=function(n){var i=this.buildUrl("v1/groups?groupIds=",n.filter(Boolean).join("&groupIds=")),r=this.$http.get(i,{cache:!0}),t=this.$q.defer();return r.then(function(n){t.resolve(n.data||[])},function(){t.reject()}),t.promise},n.prototype.getByProduct=function(n){var i=this.buildUrl("v1/products?productIds=",n.toString()),r=this.$http.get(i,{cache:!0}),t=this.$q.defer();return r.then(function(n){t.resolve((n.data||[])[0])},function(){t.reject()}),t.promise},n.prototype.getByProducts=function(n){void 0===n&&(n=[]);var i=this.buildUrl("v1/products?productIds=",n.filter(Boolean).join("&productIds=")),r=this.$http.get(i,{cache:!0}),t=this.$q.defer();return r.then(function(n){t.resolve(n.data||[])},function(){t.reject()}),t.promise},n.prototype.buildUrl=function(n,t){return this.apiConfig.pricingUrl+n+t+"&marketLocale="+this.apiConfig.language},n.prototype.rejectPromises=function(n,t,i){i.forEach(function(i){i[t]===n&&i.result.reject()})},n.prototype.resolvePromises=function(n,t,i){0!==n.length&&n.forEach(function(n){i.forEach(function(i){i[t]===n[t]&&i.result.resolve(n)})})},n}();angular.module("JabraApplication.ProductApi").factory("priceFactory",["$http","$q","productApiConfig",function(t,i,r){return new n(t,i,r)}])}(ProductApi||(ProductApi={}));!function(n){"use strict";!function(n){n[n.Add=0]="Add";n[n.PreOrder=1]="PreOrder";n[n.BackOrder=2]="BackOrder";n[n.WhereToBuy=3]="WhereToBuy"}(n.AvailabilityState||(n.AvailabilityState={}))}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(n){"use strict";var t=function(){function n(){}return n.Family="f",n.Product="p",n.Group="g",n}();n.ProductType=t}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(n){"use strict";var t=function(){function t(n,t,i){this.$http=n;this.$q=t;this.config=i}return t.prototype.get=function(t,i){void 0===i&&(i=n.ProductType.Family);var u=this.getUrl(t,i),r=this.$q.defer();return this.$http.get(u,{cache:!0}).then(function(n){r.resolve(n.data)},function(){r.reject()}),r.promise},t.prototype.getMany=function(t,i){void 0===i&&(i=n.ProductType.Family);var u=this.getUrl(t,i),r=this.$q.defer();return this.$http.get(u,{cache:!0}).then(function(n){r.resolve(n.data||[])},function(){r.reject()}),r.promise},t.prototype.getBullets=function(t,i){void 0===i&&(i=n.ProductType.Family);var u=this.getUrl(t,i,"bullets"),r=this.$q.defer();return this.$http.get(u,{cache:!0}).then(function(n){r.resolve(n.data||[])},function(){r.reject()}),r.promise},t.prototype.getFeatures=function(t,i){void 0===i&&(i=n.ProductType.Family);var u=this.getUrl(t,i,"features"),r=this.$q.defer();return this.$http.get(u,{cache:!0}).then(function(n){r.resolve(n.data||[])},function(){r.reject()}),r.promise},t.prototype.getImages=function(t,i){void 0===i&&(i=n.ProductType.Family);var u=this.getUrl(t,i,"images"),r=this.$q.defer();return this.$http.get(u,{cache:!0}).then(function(n){r.resolve(n.data||[])},function(){r.reject()}),r.promise},t.prototype.getKeySellingPoints=function(t,i){void 0===i&&(i=n.ProductType.Family);var u=this.getUrl(t,i,"keysellingpoints"),r=this.$q.defer();return this.$http.get(u,{cache:!0}).then(function(n){r.resolve(n.data||[])},function(){r.reject()}),r.promise},t.prototype.getUrl=function(t,i,r){void 0===i&&(i=n.ProductType.Family);void 0===r&&(r="");var f=this.getUrlPrefix(i),e="number"==typeof t?"?":"&",u=this.config.productCatalogueUrl+"v1/"+f;return u+="number"==typeof t?"/"+encodeURIComponent(String(t)):"/filter?ids="+encodeURIComponent(t.join("|")),""!==r&&(u+="/"+r),u+(e+"marketLocale="+this.config.language)},t.prototype.getUrlPrefix=function(t){var i="";switch(t){case n.ProductType.Group:i="group";break;case n.ProductType.Product:i="product";break;default:i="family"}return i},t}();angular.module("JabraApplication.ProductApi").service("productCatalogueService",["$http","$q","productApiConfig",t])}(ProductApi||(ProductApi={}));!function(){"use strict";var n=function(){function n(n,t,i){this.$http=n;this.$q=t;this.productApiConfig=i}return n.prototype.getByFamilyId=function(n){var i=this.buildUrl(n),r=this.$http.get(i,{cache:!0,headers:{"Access-Control-Allow-Origin":"*"}}),t=this.$q.defer();return r.then(function(n){var i=n.data||[],r=i.map(function(n){var t=n.images.filter(function(n){return/(png|jpg|jpeg)$/gi.test(n.url)});return n.images=t,n});t.resolve(r)},function(){t.reject()}),t.promise},n.prototype.buildUrl=function(n){return this.productApiConfig.productCatalogueUrl+"v1/family/"+encodeURIComponent(n)+"/attributes?marketLocale="+this.productApiConfig.language},n}();angular.module("JabraApplication.ProductApi").service("productWithAttributesService",["$http","$q","productApiConfig",n])}(ProductApi||(ProductApi={}));!function(){"use strict"}(ProductApi||(ProductApi={}));!function(n){"use strict";n.module("JabraApplication.Translation",[])}(angular);!function(){"use strict";angular.module("JabraApplication.Translation").directive("contentDictionary",["translationFactory",function(n){return{link:function(t,i,r){var u=r.contentDictionary,f=n.getContent(u);i.empty().html(f)}}}])}(Translation||(Translation={}));!function(){"use strict";angular.module("JabraApplication.Translation").directive("systemDictionary",["translationFactory",function(n){return{link:function(t,i,r){var u=r.systemDictionary,f=n.getSystem(u);i.empty().html(f)}}}])}(Translation||(Translation={}));!function(){"use strict";var n=function(){function n(){this.systemDictionary=[];this.contentDictionary=[];var n=angular.element("#system-dictionary").html(),t=angular.element("#content-dictionary").html();angular.isString(n)&&""!==n&&(this.systemDictionary=JSON.parse(n),angular.element("#system-dictionary").remove());angular.isString(t)&&""!==n&&(this.contentDictionary=JSON.parse(t),angular.element("#content-dictionary").remove())}return n.prototype.getSystem=function(n){var t=this.systemDictionary.filter(function(t){return t.key===n})[0];return void 0===t?"":t.value},n.prototype.getContent=function(n){var t=this.contentDictionary.filter(function(t){return t.key===n})[0];return void 0===t?"":t.value},n}();angular.module("JabraApplication.Translation").factory("translationFactory",[function(){return new n}])}(Translation||(Translation={}));!function(n,t,i){var n=i(n),t=i(t),r=i("body"),u=function(){i(".video-spot__fullpage-content").each(function(){var t=i(this);t.css({position:"absolute",left:(n.width()-t.outerWidth())/2,top:(n.height()-t.outerHeight())/2})})},e=function(n){var f=i(n.target).closest(".video-spot"),e=i(".video-spot__fullpage",f),t=i(".video-spot__fullpage",f).find("iframe"),o=(t.data("src")||t.attr("src")).replace(/autoplay=0/gi,"autoplay=1").replace(/auto=0/gi,"auto=1");n.preventDefault();e.fadeIn(400,u);t.attr("src",o);r.addClass("noscroll")},o=function(n){var t=i(n.target).closest(".video-spot"),u=i(".video-spot__fallback-video",t),r=i("iframe",u);n.preventDefault();i(".video-spot__fallback-image, .video-spot__button-play--fallback",t).hide();i(".video-spot__fallback-video",t).show();r.attr("src",r.attr("src").replace(/autoplay=0/gi,"autoplay=1").replace(/auto=0/gi,"auto=1"))},f=function(){var n=i("iframe",".video-spot__fullpage");i(".video-spot__fullpage").fadeOut(400);n.each(function(){var n=i(this);n.data("src",n.attr("src"));n.attr("src","about:blank")});r.removeClass("noscroll")};i(function(){n.on("load resize",u);t.on("keydown",function(n){27===n.keyCode&&f()});i(".video-spot__button-play--fullscreen").on("click",e);i(".video-spot__button-play--fallback").on("click",o);i(".video-spot__fullpage").not(i("iframe",".video-spot__fullpage")).click(f)})}(window,document,jQuery);!function(n){"use strict";n.module("JabraApplication.ContentElements",["xml","JabraApplication.Design"])}(angular);!function(){"use strict";var n=function(){function n(n,t){n.formSubmitted=-1!==(JSON.parse(localStorage.getItem("successfullySubmitedForms"))||[]).indexOf(t.attr("id"))}return n}();angular.module("JabraApplication.ContentElements").controller("NewsletterSpotController",["$scope","$element",n])}(ContentElements||(ContentElements={}));!function(){"use strict";var n=function(){function n(n){this.$scope=n;this.$scope.selectedIndex=0;this.$scope.isSelected=function(t){return n.selectedIndex===t}}return n}();angular.module("JabraApplication.ContentElements").controller("TabsSpotController",["$scope",n])}(ContentElements||(ContentElements={}));!function(){"use strict";angular.module("JabraApplication.ContentElements").directive("anchorBar",["smoothScroll","anchorBarFactory",function(n,t){return{link:function(i,r,u){i.anchors=[];i.loading=!0;i.mobile=document.documentElement.offsetWidth<768;i.select=function(t){angular.isObject(t)&&!i.mobile&&i.anchors.some(function(n){return n.id===t.id})&&(t.selected||(void 0===u.makeTabs?n(document.getElementById(t.id)):(i.anchors.forEach(function(n){n.selected=!1;angular.element("#"+n.id).removeClass("anchor-bar-tab--selected").addClass("anchor-bar-tab--hidden")}),t.selected=!0,angular.element("#"+t.id).removeClass("anchor-bar-tab--hidden").addClass("anchor-bar-tab--selected"),window.scrollTo(window.pageXOffset,window.pageYOffset+1),window.scrollTo(window.pageXOffset,window.pageYOffset-1))))};i.$watch(function(){return t.getAnchors()},function(){i.anchors=t.getAnchors();i.loading=!1;i.mobile||void 0===u.makeTabs||i.select(i.anchors[0])})},restrict:"E",scope:{},templateUrl:"/components/contentelements/html/anchor-bar.html"}}])}(ContentElements||(ContentElements={}));!function(){"use strict";var n={theme:"@",title:"@",versionTitle:"@"};angular.module("JabraApplication.ContentElements").directive("directSoftware",["$http","x2js",function(t,i){return{link:function(n){n.theme=n.theme||"default";t.get("/jabradirect/jabradirectversion.xml",{transformResponse:function(n){return i.xml_str2json(n)}}).then(function(t){var i=t.data.versionInfo;n.software={date:i.releaseDate,downloadUrl:i.installerUrl,version:i.version.substr(0,3)}})},restrict:"E",scope:angular.copy(n),templateUrl:"/components/contentelements/html/software-button.html"}}]).directive("macsuiteSoftware",["$http","x2js",function(t,i){return{link:function(n){n.theme=n.theme||"default";t.get("/macsuite/jmsversionupdate.xml",{transformResponse:function(n){return i.xml_str2json(n)}}).then(function(t){var i=t.data.productVersionInfo;n.software={date:i.releaseDate,downloadUrl:i.downloadUrl,version:i.packageVersion.substr(0,3)}})},restrict:"E",scope:angular.copy(n),templateUrl:"/components/contentelements/html/software-button.html"}}])}(ContentElements||(ContentElements={}));"function"!=typeof Object.create&&(Object.create=function(n){function t(){}return t.prototype=n,new t}),function(n){var t={init:function(t,i){var r=this;r.elem=i;r.$elem=n(i);r.imageSrc=r.$elem.data("zoom-image")?r.$elem.data("zoom-image"):r.$elem.attr("src");r.options=n.extend({},n.fn.elevateZoom.options,t);r.options.tint&&(r.options.lensColour="none",r.options.lensOpacity="1");"inner"==r.options.zoomType&&(r.options.showLens=!1);r.$elem.parent().removeAttr("title").removeAttr("alt");r.zoomImage=r.imageSrc;r.refresh(1);n("#"+r.options.gallery+" a").click(function(t){return r.options.galleryActiveClass&&(n("#"+r.options.gallery+" a").removeClass(r.options.galleryActiveClass),n(this).addClass(r.options.galleryActiveClass)),t.preventDefault(),r.zoomImagePre=n(this).data("zoom-image")?n(this).data("zoom-image"):n(this).data("image"),r.swaptheimage(n(this).data("image"),r.zoomImagePre),!1})},refresh:function(n){var t=this;setTimeout(function(){t.fetch(t.imageSrc)},n||t.options.refresh)},fetch:function(n){var t=this,i=new Image;i.onload=function(){t.largeWidth=i.width;t.largeHeight=i.height;t.startZoom();t.currentImage=t.imageSrc;t.options.onZoomedImageLoaded(t.$elem)};i.src=n},startZoom:function(){var t=this,i;(t.nzWidth=t.$elem.width(),t.nzHeight=t.$elem.height(),t.isWindowActive=!1,t.isLensActive=!1,t.isTintActive=!1,t.overWindow=!1,t.options.imageCrossfade&&(t.zoomWrap=t.$elem.wrap('<div style="height:'+t.nzHeight+"px;width:"+t.nzWidth+'px;" class="zoomWrapper" />'),t.$elem.css("position","absolute")),t.zoomLock=1,t.scrollingLock=!1,t.changeBgSize=!1,t.currentZoomLevel=t.options.zoomLevel,t.nzOffset=t.$elem.offset(),t.widthRatio=t.largeWidth/t.currentZoomLevel/t.nzWidth,t.heightRatio=t.largeHeight/t.currentZoomLevel/t.nzHeight,"window"==t.options.zoomType&&(t.zoomWindowStyle="overflow: hidden;background-position: 0px 0px;text-align:center;background-color: "+String(t.options.zoomWindowBgColour)+";width: "+String(t.options.zoomWindowWidth)+"px;height: "+String(t.options.zoomWindowHeight)+"px;float: left;background-size: "+t.largeWidth/t.currentZoomLevel+"px "+t.largeHeight/t.currentZoomLevel+"px;display: none;z-index:100;border: "+String(t.options.borderSize)+"px solid "+t.options.borderColour+";background-repeat: no-repeat;position: absolute;"),"inner"==t.options.zoomType)&&(i=t.$elem.css("border-left-width"),t.zoomWindowStyle="overflow: hidden;margin-left: "+String(i)+";margin-top: "+String(i)+";background-position: 0px 0px;width: "+String(t.nzWidth)+"px;height: "+String(t.nzHeight)+"px;float: left;display: none;cursor:"+t.options.cursor+";px solid "+t.options.borderColour+";background-repeat: no-repeat;position: absolute;");"window"==t.options.zoomType&&(lensHeight=t.nzHeight<t.options.zoomWindowWidth/t.widthRatio?t.nzHeight:String(t.options.zoomWindowHeight/t.heightRatio),lensWidth=t.largeWidth<t.options.zoomWindowWidth?t.nzWidth:t.options.zoomWindowWidth/t.widthRatio,t.lensStyle="background-position: 0px 0px;width: "+String(t.options.zoomWindowWidth/t.widthRatio)+"px;height: "+String(t.options.zoomWindowHeight/t.heightRatio)+"px;float: right;display: none;overflow: hidden;z-index: 999;-webkit-transform: translateZ(0);opacity:"+t.options.lensOpacity+";filter: alpha(opacity = "+100*t.options.lensOpacity+"); zoom:1;width:"+lensWidth+"px;height:"+lensHeight+"px;background-color:"+t.options.lensColour+";cursor:"+t.options.cursor+";border: "+t.options.lensBorderSize+"px solid "+t.options.lensBorderColour+";background-repeat: no-repeat;position: absolute;");t.tintStyle="display: block;position: absolute;background-color: "+t.options.tintColour+";filter:alpha(opacity=0);opacity: 0;width: "+t.nzWidth+"px;height: "+t.nzHeight+"px;";t.lensRound="";"lens"==t.options.zoomType&&(t.lensStyle="background-position: 0px 0px;float: left;display: none;border: "+String(t.options.borderSize)+"px solid "+t.options.borderColour+";width:"+String(t.options.lensSize)+"px;height:"+String(t.options.lensSize)+"px;background-repeat: no-repeat;position: absolute;");"round"==t.options.lensShape&&(t.lensRound="border-top-left-radius: "+String(t.options.lensSize/2+t.options.borderSize)+"px;border-top-right-radius: "+String(t.options.lensSize/2+t.options.borderSize)+"px;border-bottom-left-radius: "+String(t.options.lensSize/2+t.options.borderSize)+"px;border-bottom-right-radius: "+String(t.options.lensSize/2+t.options.borderSize)+"px;");t.zoomContainer=n('<div class="zoomContainer" style="-webkit-transform: translateZ(0);position:absolute;left:'+t.nzOffset.left+"px;top:"+t.nzOffset.top+"px;height:"+t.nzHeight+"px;width:"+t.nzWidth+'px;"><\/div>');n("body").append(t.zoomContainer);t.options.containLensZoom&&"lens"==t.options.zoomType&&t.zoomContainer.css("overflow","hidden");"inner"!=t.options.zoomType&&(t.zoomLens=n("<div class='zoomLens' style='"+t.lensStyle+t.lensRound+"'>&nbsp;<\/div>").appendTo(t.zoomContainer).click(function(){t.$elem.trigger("click")}),t.options.tint&&(t.tintContainer=n("<div/>").addClass("tintContainer"),t.zoomTint=n("<div class='zoomTint' style='"+t.tintStyle+"'><\/div>"),t.zoomLens.wrap(t.tintContainer),t.zoomTintcss=t.zoomLens.after(t.zoomTint),t.zoomTintImage=n('<img style="position: absolute; left: 0px; top: 0px; max-width: none; width: '+t.nzWidth+"px; height: "+t.nzHeight+'px;" src="'+t.imageSrc+'">').appendTo(t.zoomLens).click(function(){t.$elem.trigger("click")})));t.zoomWindow=isNaN(t.options.zoomWindowPosition)?n("<div style='z-index:999;left:"+t.windowOffsetLeft+"px;top:"+t.windowOffsetTop+"px;"+t.zoomWindowStyle+"' class='zoomWindow'>&nbsp;<\/div>").appendTo("body").click(function(){t.$elem.trigger("click")}):n("<div style='z-index:999;left:"+t.windowOffsetLeft+"px;top:"+t.windowOffsetTop+"px;"+t.zoomWindowStyle+"' class='zoomWindow'>&nbsp;<\/div>").appendTo(t.zoomContainer).click(function(){t.$elem.trigger("click")});t.zoomWindowContainer=n("<div/>").addClass("zoomWindowContainer").css("width",t.options.zoomWindowWidth);t.zoomWindow.wrap(t.zoomWindowContainer);"lens"==t.options.zoomType&&t.zoomLens.css({backgroundImage:"url('"+t.imageSrc+"')"});"window"==t.options.zoomType&&t.zoomWindow.css({backgroundImage:"url('"+t.imageSrc+"')"});"inner"==t.options.zoomType&&t.zoomWindow.css({backgroundImage:"url('"+t.imageSrc+"')"});t.$elem.bind("touchmove",function(n){n.preventDefault();t.setPosition(n.originalEvent.touches[0]||n.originalEvent.changedTouches[0])});t.zoomContainer.bind("touchmove",function(n){"inner"==t.options.zoomType&&t.showHideWindow("show");n.preventDefault();t.setPosition(n.originalEvent.touches[0]||n.originalEvent.changedTouches[0])});t.zoomContainer.bind("touchend",function(){t.showHideWindow("hide");t.options.showLens&&t.showHideLens("hide");t.options.tint&&"inner"!=t.options.zoomType&&t.showHideTint("hide")});t.$elem.bind("touchend",function(){t.showHideWindow("hide");t.options.showLens&&t.showHideLens("hide");t.options.tint&&"inner"!=t.options.zoomType&&t.showHideTint("hide")});t.options.showLens&&(t.zoomLens.bind("touchmove",function(n){n.preventDefault();t.setPosition(n.originalEvent.touches[0]||n.originalEvent.changedTouches[0])}),t.zoomLens.bind("touchend",function(){t.showHideWindow("hide");t.options.showLens&&t.showHideLens("hide");t.options.tint&&"inner"!=t.options.zoomType&&t.showHideTint("hide")}));t.$elem.bind("mousemove",function(n){0==t.overWindow&&t.setElements("show");t.lastX===n.clientX&&t.lastY===n.clientY||(t.setPosition(n),t.currentLoc=n);t.lastX=n.clientX;t.lastY=n.clientY});t.zoomContainer.bind("mousemove",function(n){0==t.overWindow&&t.setElements("show");t.lastX===n.clientX&&t.lastY===n.clientY||(t.setPosition(n),t.currentLoc=n);t.lastX=n.clientX;t.lastY=n.clientY});"inner"!=t.options.zoomType&&t.zoomLens.bind("mousemove",function(n){t.lastX===n.clientX&&t.lastY===n.clientY||(t.setPosition(n),t.currentLoc=n);t.lastX=n.clientX;t.lastY=n.clientY});t.options.tint&&"inner"!=t.options.zoomType&&t.zoomTint.bind("mousemove",function(n){t.lastX===n.clientX&&t.lastY===n.clientY||(t.setPosition(n),t.currentLoc=n);t.lastX=n.clientX;t.lastY=n.clientY});"inner"==t.options.zoomType&&t.zoomWindow.bind("mousemove",function(n){t.lastX===n.clientX&&t.lastY===n.clientY||(t.setPosition(n),t.currentLoc=n);t.lastX=n.clientX;t.lastY=n.clientY});t.zoomContainer.add(t.$elem).mouseenter(function(){0==t.overWindow&&t.setElements("show")}).mouseleave(function(){t.scrollLock||t.setElements("hide")});"inner"!=t.options.zoomType&&t.zoomWindow.mouseenter(function(){t.overWindow=!0;t.setElements("hide")}).mouseleave(function(){t.overWindow=!1});t.minZoomLevel=t.options.minZoomLevel?t.options.minZoomLevel:2*t.options.scrollZoomIncrement;t.options.scrollZoom&&t.zoomContainer.add(t.$elem).bind("mousewheel DOMMouseScroll MozMousePixelScroll",function(i){t.scrollLock=!0;clearTimeout(n.data(this,"timer"));n.data(this,"timer",setTimeout(function(){t.scrollLock=!1},250));var r=i.originalEvent.wheelDelta||-1*i.originalEvent.detail;return i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault(),0<r/120?t.currentZoomLevel>=t.minZoomLevel&&t.changeZoomLevel(t.currentZoomLevel-t.options.scrollZoomIncrement):t.options.maxZoomLevel?t.currentZoomLevel<=t.options.maxZoomLevel&&t.changeZoomLevel(parseFloat(t.currentZoomLevel)+t.options.scrollZoomIncrement):t.changeZoomLevel(parseFloat(t.currentZoomLevel)+t.options.scrollZoomIncrement),!1})},setElements:function(n){if(!this.options.zoomEnabled)return!1;"show"==n&&this.isWindowSet&&("inner"==this.options.zoomType&&this.showHideWindow("show"),"window"==this.options.zoomType&&this.showHideWindow("show"),this.options.showLens&&this.showHideLens("show"),this.options.tint&&"inner"!=this.options.zoomType&&this.showHideTint("show"));"hide"==n&&("window"==this.options.zoomType&&this.showHideWindow("hide"),this.options.tint||this.showHideWindow("hide"),this.options.showLens&&this.showHideLens("hide"),this.options.tint&&this.showHideTint("hide"))},setPosition:function(n){if(!this.options.zoomEnabled)return!1;this.nzHeight=this.$elem.height();this.nzWidth=this.$elem.width();this.nzOffset=this.$elem.offset();this.options.tint&&"inner"!=this.options.zoomType&&(this.zoomTint.css({top:0}),this.zoomTint.css({left:0}));this.options.responsive&&!this.options.scrollZoom&&this.options.showLens&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio),lensWidth=this.largeWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio,this.widthRatio=this.largeWidth/this.nzWidth,this.heightRatio=this.largeHeight/this.nzHeight,"lens"!=this.options.zoomType&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio),lensWidth=this.options.zoomWindowWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio,this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight),this.options.tint&&(this.zoomTintImage.css("width",this.nzWidth),this.zoomTintImage.css("height",this.nzHeight))),"lens"==this.options.zoomType&&this.zoomLens.css({width:String(this.options.lensSize)+"px",height:String(this.options.lensSize)+"px"}));this.zoomContainer.css({top:this.nzOffset.top});this.zoomContainer.css({left:this.nzOffset.left});this.mouseLeft=parseInt(n.pageX-this.nzOffset.left);this.mouseTop=parseInt(n.pageY-this.nzOffset.top);"window"==this.options.zoomType&&(this.Etoppos=this.mouseTop<this.zoomLens.height()/2,this.Eboppos=this.mouseTop>this.nzHeight-this.zoomLens.height()/2-2*this.options.lensBorderSize,this.Eloppos=this.mouseLeft<0+this.zoomLens.width()/2,this.Eroppos=this.mouseLeft>this.nzWidth-this.zoomLens.width()/2-2*this.options.lensBorderSize);"inner"==this.options.zoomType&&(this.Etoppos=this.mouseTop<this.nzHeight/2/this.heightRatio,this.Eboppos=this.mouseTop>this.nzHeight-this.nzHeight/2/this.heightRatio,this.Eloppos=this.mouseLeft<0+this.nzWidth/2/this.widthRatio,this.Eroppos=this.mouseLeft>this.nzWidth-this.nzWidth/2/this.widthRatio-2*this.options.lensBorderSize);0>=this.mouseLeft||0>this.mouseTop||this.mouseLeft>this.nzWidth||this.mouseTop>this.nzHeight?this.setElements("hide"):(this.options.showLens&&(this.lensLeftPos=String(this.mouseLeft-this.zoomLens.width()/2),this.lensTopPos=String(this.mouseTop-this.zoomLens.height()/2)),this.Etoppos&&(this.lensTopPos=0),this.Eloppos&&(this.tintpos=this.lensLeftPos=this.windowLeftPos=0),"window"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize)),"inner"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.nzWidth-2*this.options.lensBorderSize)),"lens"==this.options.zoomType&&(this.windowLeftPos=String(-1*((n.pageX-this.nzOffset.left)*this.widthRatio-this.zoomLens.width()/2)),this.windowTopPos=String(-1*((n.pageY-this.nzOffset.top)*this.heightRatio-this.zoomLens.height()/2)),this.zoomLens.css({backgroundPosition:this.windowLeftPos+"px "+this.windowTopPos+"px"}),this.changeBgSize&&(this.nzHeight>this.nzWidth?("lens"==this.options.zoomType&&this.zoomLens.css({"background-size":this.largeWidth/this.newvalueheight+"px "+this.largeHeight/this.newvalueheight+"px"}),this.zoomWindow.css({"background-size":this.largeWidth/this.newvalueheight+"px "+this.largeHeight/this.newvalueheight+"px"})):("lens"==this.options.zoomType&&this.zoomLens.css({"background-size":this.largeWidth/this.newvaluewidth+"px "+this.largeHeight/this.newvaluewidth+"px"}),this.zoomWindow.css({"background-size":this.largeWidth/this.newvaluewidth+"px "+this.largeHeight/this.newvaluewidth+"px"})),this.changeBgSize=!1),this.setWindowPostition(n)),this.options.tint&&"inner"!=this.options.zoomType&&this.setTintPosition(n),"window"==this.options.zoomType&&this.setWindowPostition(n),"inner"==this.options.zoomType&&this.setWindowPostition(n),this.options.showLens&&(this.fullwidth&&"lens"!=this.options.zoomType&&(this.lensLeftPos=0),this.zoomLens.css({left:this.lensLeftPos+"px",top:this.lensTopPos+"px"})))},showHideWindow:function(n){"show"!=n||this.isWindowActive||(this.options.zoomWindowFadeIn?this.zoomWindow.stop(!0,!0,!1).fadeIn(this.options.zoomWindowFadeIn):this.zoomWindow.show(),this.isWindowActive=!0);"hide"==n&&this.isWindowActive&&(this.options.zoomWindowFadeOut?this.zoomWindow.stop(!0,!0).fadeOut(this.options.zoomWindowFadeOut):this.zoomWindow.hide(),this.isWindowActive=!1)},showHideLens:function(n){"show"!=n||this.isLensActive||(this.options.lensFadeIn?this.zoomLens.stop(!0,!0,!1).fadeIn(this.options.lensFadeIn):this.zoomLens.show(),this.isLensActive=!0);"hide"==n&&this.isLensActive&&(this.options.lensFadeOut?this.zoomLens.stop(!0,!0).fadeOut(this.options.lensFadeOut):this.zoomLens.hide(),this.isLensActive=!1)},showHideTint:function(n){"show"!=n||this.isTintActive||(this.options.zoomTintFadeIn?this.zoomTint.css({opacity:this.options.tintOpacity}).animate().stop(!0,!0).fadeIn("slow"):(this.zoomTint.css({opacity:this.options.tintOpacity}).animate(),this.zoomTint.show()),this.isTintActive=!0);"hide"==n&&this.isTintActive&&(this.options.zoomTintFadeOut?this.zoomTint.stop(!0,!0).fadeOut(this.options.zoomTintFadeOut):this.zoomTint.hide(),this.isTintActive=!1)},setLensPostition:function(){},setWindowPostition:function(t){var i=this;if(isNaN(i.options.zoomWindowPosition))i.externalContainer=n("#"+i.options.zoomWindowPosition),i.externalContainerWidth=i.externalContainer.width(),i.externalContainerHeight=i.externalContainer.height(),i.externalContainerOffset=i.externalContainer.offset(),i.windowOffsetTop=i.externalContainerOffset.top,i.windowOffsetLeft=i.externalContainerOffset.left;else switch(i.options.zoomWindowPosition){case 1:i.windowOffsetTop=i.options.zoomWindowOffety;i.windowOffsetLeft=+i.nzWidth;break;case 2:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=-1*(i.options.zoomWindowHeight/2-i.nzHeight/2),i.windowOffsetLeft=i.nzWidth);break;case 3:i.windowOffsetTop=i.nzHeight-i.zoomWindow.height()-2*i.options.borderSize;i.windowOffsetLeft=i.nzWidth;break;case 4:i.windowOffsetTop=i.nzHeight;i.windowOffsetLeft=i.nzWidth;break;case 5:i.windowOffsetTop=i.nzHeight;i.windowOffsetLeft=i.nzWidth-i.zoomWindow.width()-2*i.options.borderSize;break;case 6:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=i.nzHeight,i.windowOffsetLeft=-1*(i.options.zoomWindowWidth/2-i.nzWidth/2+2*i.options.borderSize));break;case 7:i.windowOffsetTop=i.nzHeight;i.windowOffsetLeft=0;break;case 8:i.windowOffsetTop=i.nzHeight;i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 9:i.windowOffsetTop=i.nzHeight-i.zoomWindow.height()-2*i.options.borderSize;i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 10:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=-1*(i.options.zoomWindowHeight/2-i.nzHeight/2),i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize));break;case 11:i.windowOffsetTop=i.options.zoomWindowOffety;i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 12:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize);i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 13:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize);i.windowOffsetLeft=0;break;case 14:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize),i.windowOffsetLeft=-1*(i.options.zoomWindowWidth/2-i.nzWidth/2+2*i.options.borderSize));break;case 15:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize);i.windowOffsetLeft=i.nzWidth-i.zoomWindow.width()-2*i.options.borderSize;break;case 16:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize);i.windowOffsetLeft=i.nzWidth;break;default:i.windowOffsetTop=i.options.zoomWindowOffety;i.windowOffsetLeft=i.nzWidth}i.isWindowSet=!0;i.windowOffsetTop+=i.options.zoomWindowOffety;i.windowOffsetLeft+=i.options.zoomWindowOffetx;i.zoomWindow.css({top:i.windowOffsetTop});i.zoomWindow.css({left:i.windowOffsetLeft});"inner"==i.options.zoomType&&(i.zoomWindow.css({top:0}),i.zoomWindow.css({left:0}));i.windowLeftPos=String(-1*((t.pageX-i.nzOffset.left)*i.widthRatio-i.zoomWindow.width()/2));i.windowTopPos=String(-1*((t.pageY-i.nzOffset.top)*i.heightRatio-i.zoomWindow.height()/2));i.Etoppos&&(i.windowTopPos=0);i.Eloppos&&(i.windowLeftPos=0);i.Eboppos&&(i.windowTopPos=-1*(i.largeHeight/i.currentZoomLevel-i.zoomWindow.height()));i.Eroppos&&(i.windowLeftPos=-1*(i.largeWidth/i.currentZoomLevel-i.zoomWindow.width()));i.fullheight&&(i.windowTopPos=0);i.fullwidth&&(i.windowLeftPos=0);"window"!=i.options.zoomType&&"inner"!=i.options.zoomType||(1==i.zoomLock&&(1>=i.widthRatio&&(i.windowLeftPos=0),1>=i.heightRatio&&(i.windowTopPos=0)),i.largeHeight<i.options.zoomWindowHeight&&(i.windowTopPos=0),i.largeWidth<i.options.zoomWindowWidth&&(i.windowLeftPos=0),i.options.easing?(i.xp||(i.xp=0),i.yp||(i.yp=0),i.loop||(i.loop=setInterval(function(){i.xp+=(i.windowLeftPos-i.xp)/i.options.easingAmount;i.yp+=(i.windowTopPos-i.yp)/i.options.easingAmount;i.scrollingLock?(clearInterval(i.loop),i.xp=i.windowLeftPos,i.yp=i.windowTopPos,i.xp=-1*((t.pageX-i.nzOffset.left)*i.widthRatio-i.zoomWindow.width()/2),i.yp=-1*((t.pageY-i.nzOffset.top)*i.heightRatio-i.zoomWindow.height()/2),i.changeBgSize&&(i.nzHeight>i.nzWidth?("lens"==i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"})):("lens"!=i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvalueheight+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"})),i.changeBgSize=!1),i.zoomWindow.css({backgroundPosition:i.windowLeftPos+"px "+i.windowTopPos+"px"}),i.scrollingLock=!1,i.loop=!1):(i.changeBgSize&&(i.nzHeight>i.nzWidth?("lens"==i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"})):("lens"!=i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"})),i.changeBgSize=!1),i.zoomWindow.css({backgroundPosition:i.xp+"px "+i.yp+"px"}))},16))):(i.changeBgSize&&(i.nzHeight>i.nzWidth?("lens"==i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"})):("lens"==i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"}),i.largeHeight/i.newvaluewidth<i.options.zoomWindowHeight?i.zoomWindow.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"}):i.zoomWindow.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"})),i.changeBgSize=!1),i.zoomWindow.css({backgroundPosition:i.windowLeftPos+"px "+i.windowTopPos+"px"})))},setTintPosition:function(n){this.nzOffset=this.$elem.offset();this.tintpos=String(-1*(n.pageX-this.nzOffset.left-this.zoomLens.width()/2));this.tintposy=String(-1*(n.pageY-this.nzOffset.top-this.zoomLens.height()/2));this.Etoppos&&(this.tintposy=0);this.Eloppos&&(this.tintpos=0);this.Eboppos&&(this.tintposy=-1*(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize));this.Eroppos&&(this.tintpos=-1*(this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize));this.options.tint&&(this.fullheight&&(this.tintposy=0),this.fullwidth&&(this.tintpos=0),this.zoomTintImage.css({left:this.tintpos+"px"}),this.zoomTintImage.css({top:this.tintposy+"px"}))},swaptheimage:function(t,i){var r=this,u=new Image;r.options.loadingIcon&&(r.spinner=n("<div style=\"background: url('"+r.options.loadingIcon+"') no-repeat center;height:"+r.nzHeight+"px;width:"+r.nzWidth+'px;z-index: 2000;position: absolute; background-position: center center;"><\/div>'),r.$elem.after(r.spinner));r.options.onImageSwap(r.$elem);u.onload=function(){r.largeWidth=u.width;r.largeHeight=u.height;r.zoomImage=i;r.zoomWindow.css({"background-size":r.largeWidth+"px "+r.largeHeight+"px"});r.zoomWindow.css({"background-size":r.largeWidth+"px "+r.largeHeight+"px"});r.swapAction(t,i)};u.src=i},swapAction:function(t,i){var r=this,e=new Image,u,f;(e.onload=function(){r.nzHeight=e.height;r.nzWidth=e.width;r.options.onImageSwapComplete(r.$elem);r.doneCallback()},e.src=t,r.currentZoomLevel=r.options.zoomLevel,r.options.maxZoomLevel=!1,"lens"==r.options.zoomType&&r.zoomLens.css({backgroundImage:"url('"+i+"')"}),"window"==r.options.zoomType&&r.zoomWindow.css({backgroundImage:"url('"+i+"')"}),"inner"==r.options.zoomType&&r.zoomWindow.css({backgroundImage:"url('"+i+"')"}),r.currentImage=i,r.options.imageCrossfade)?(u=r.$elem,f=u.clone(),r.$elem.attr("src",t),r.$elem.after(f),f.stop(!0).fadeOut(r.options.imageCrossfade,function(){n(this).remove()}),r.$elem.width("auto").removeAttr("width"),r.$elem.height("auto").removeAttr("height"),u.fadeIn(r.options.imageCrossfade),r.options.tint&&"inner"!=r.options.zoomType&&(u=r.zoomTintImage,f=u.clone(),r.zoomTintImage.attr("src",i),r.zoomTintImage.after(f),f.stop(!0).fadeOut(r.options.imageCrossfade,function(){n(this).remove()}),u.fadeIn(r.options.imageCrossfade),r.zoomTint.css({height:r.$elem.height()}),r.zoomTint.css({width:r.$elem.width()})),r.zoomContainer.css("height",r.$elem.height()),r.zoomContainer.css("width",r.$elem.width()),"inner"!=r.options.zoomType||r.options.constrainType||(r.zoomWrap.parent().css("height",r.$elem.height()),r.zoomWrap.parent().css("width",r.$elem.width()),r.zoomWindow.css("height",r.$elem.height()),r.zoomWindow.css("width",r.$elem.width()))):(r.$elem.attr("src",t),r.options.tint&&(r.zoomTintImage.attr("src",i),r.zoomTintImage.attr("height",r.$elem.height()),r.zoomTintImage.css({height:r.$elem.height()}),r.zoomTint.css({height:r.$elem.height()})),r.zoomContainer.css("height",r.$elem.height()),r.zoomContainer.css("width",r.$elem.width()));r.options.imageCrossfade&&(r.zoomWrap.css("height",r.$elem.height()),r.zoomWrap.css("width",r.$elem.width()));r.options.constrainType&&("height"==r.options.constrainType&&(r.zoomContainer.css("height",r.options.constrainSize),r.zoomContainer.css("width","auto"),r.options.imageCrossfade?(r.zoomWrap.css("height",r.options.constrainSize),r.zoomWrap.css("width","auto"),r.constwidth=r.zoomWrap.width()):(r.$elem.css("height",r.options.constrainSize),r.$elem.css("width","auto"),r.constwidth=r.$elem.width()),"inner"==r.options.zoomType&&(r.zoomWrap.parent().css("height",r.options.constrainSize),r.zoomWrap.parent().css("width",r.constwidth),r.zoomWindow.css("height",r.options.constrainSize),r.zoomWindow.css("width",r.constwidth)),r.options.tint&&(r.tintContainer.css("height",r.options.constrainSize),r.tintContainer.css("width",r.constwidth),r.zoomTint.css("height",r.options.constrainSize),r.zoomTint.css("width",r.constwidth),r.zoomTintImage.css("height",r.options.constrainSize),r.zoomTintImage.css("width",r.constwidth))),"width"==r.options.constrainType&&(r.zoomContainer.css("height","auto"),r.zoomContainer.css("width",r.options.constrainSize),r.options.imageCrossfade?(r.zoomWrap.css("height","auto"),r.zoomWrap.css("width",r.options.constrainSize),r.constheight=r.zoomWrap.height()):(r.$elem.css("height","auto"),r.$elem.css("width",r.options.constrainSize),r.constheight=r.$elem.height()),"inner"==r.options.zoomType&&(r.zoomWrap.parent().css("height",r.constheight),r.zoomWrap.parent().css("width",r.options.constrainSize),r.zoomWindow.css("height",r.constheight),r.zoomWindow.css("width",r.options.constrainSize)),r.options.tint&&(r.tintContainer.css("height",r.constheight),r.tintContainer.css("width",r.options.constrainSize),r.zoomTint.css("height",r.constheight),r.zoomTint.css("width",r.options.constrainSize),r.zoomTintImage.css("height",r.constheight),r.zoomTintImage.css("width",r.options.constrainSize))))},doneCallback:function(){this.options.loadingIcon&&this.spinner.hide();this.nzOffset=this.$elem.offset();this.nzWidth=this.$elem.width();this.nzHeight=this.$elem.height();this.currentZoomLevel=this.options.zoomLevel;this.widthRatio=this.largeWidth/this.nzWidth;this.heightRatio=this.largeHeight/this.nzHeight;"window"==this.options.zoomType&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio),lensWidth=this.options.zoomWindowWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio,this.zoomLens&&(this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight)))},getCurrentImage:function(){return this.zoomImage},getGalleryList:function(){var t=this;return t.gallerylist=[],t.options.gallery?n("#"+t.options.gallery+" a").each(function(){var i="";n(this).data("zoom-image")?i=n(this).data("zoom-image"):n(this).data("image")&&(i=n(this).data("image"));i==t.zoomImage?t.gallerylist.unshift({href:""+i,title:n(this).find("img").attr("title")}):t.gallerylist.push({href:""+i,title:n(this).find("img").attr("title")})}):t.gallerylist.push({href:""+t.zoomImage,title:n(this).find("img").attr("title")}),t.gallerylist},changeZoomLevel:function(n){this.scrollingLock=!0;this.newvalue=parseFloat(n).toFixed(2);newvalue=parseFloat(n).toFixed(2);maxheightnewvalue=this.largeHeight/(this.options.zoomWindowHeight/this.nzHeight*this.nzHeight);maxwidthtnewvalue=this.largeWidth/(this.options.zoomWindowWidth/this.nzWidth*this.nzWidth);"inner"!=this.options.zoomType&&(maxheightnewvalue<=newvalue?(this.heightRatio=this.largeHeight/maxheightnewvalue/this.nzHeight,this.newvalueheight=maxheightnewvalue,this.fullheight=!0):(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,this.newvalueheight=newvalue,this.fullheight=!1),maxwidthtnewvalue<=newvalue?(this.widthRatio=this.largeWidth/maxwidthtnewvalue/this.nzWidth,this.newvaluewidth=maxwidthtnewvalue,this.fullwidth=!0):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1),"lens"==this.options.zoomType&&(maxheightnewvalue<=newvalue?(this.fullwidth=!0,this.newvaluewidth=maxheightnewvalue):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1)));"inner"==this.options.zoomType&&(maxheightnewvalue=parseFloat(this.largeHeight/this.nzHeight).toFixed(2),maxwidthtnewvalue=parseFloat(this.largeWidth/this.nzWidth).toFixed(2),newvalue>maxheightnewvalue&&(newvalue=maxheightnewvalue),newvalue>maxwidthtnewvalue&&(newvalue=maxwidthtnewvalue),maxheightnewvalue<=newvalue?(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,this.newvalueheight=newvalue>maxheightnewvalue?maxheightnewvalue:newvalue,this.fullheight=!0):(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,this.newvalueheight=newvalue>maxheightnewvalue?maxheightnewvalue:newvalue,this.fullheight=!1),maxwidthtnewvalue<=newvalue?(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue>maxwidthtnewvalue?maxwidthtnewvalue:newvalue,this.fullwidth=!0):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1));scrcontinue=!1;"inner"==this.options.zoomType&&(this.nzWidth>this.nzHeight&&(this.newvaluewidth<=maxwidthtnewvalue?scrcontinue=!0:(scrcontinue=!1,this.fullwidth=this.fullheight=!0)),this.nzHeight>this.nzWidth&&(this.newvaluewidth<=maxwidthtnewvalue?scrcontinue=!0:(scrcontinue=!1,this.fullwidth=this.fullheight=!0)));"inner"!=this.options.zoomType&&(scrcontinue=!0);scrcontinue&&(this.zoomLock=0,this.changeZoom=!0,this.options.zoomWindowHeight/this.heightRatio<=this.nzHeight&&(this.currentZoomLevel=this.newvalueheight,"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({height:String(this.options.zoomWindowHeight/this.heightRatio)+"px"})),"lens"==this.options.zoomType||"inner"==this.options.zoomType)&&(this.changeBgSize=!0),this.options.zoomWindowWidth/this.widthRatio<=this.nzWidth&&("inner"!=this.options.zoomType&&this.newvaluewidth>this.newvalueheight&&(this.currentZoomLevel=this.newvaluewidth),"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({width:String(this.options.zoomWindowWidth/this.widthRatio)+"px"})),"lens"==this.options.zoomType||"inner"==this.options.zoomType)&&(this.changeBgSize=!0),"inner"==this.options.zoomType&&(this.changeBgSize=!0,this.nzWidth>this.nzHeight&&(this.currentZoomLevel=this.newvaluewidth),this.nzHeight>this.nzWidth&&(this.currentZoomLevel=this.newvaluewidth)));this.setPosition(this.currentLoc)},closeAll:function(){self.zoomWindow&&self.zoomWindow.hide();self.zoomLens&&self.zoomLens.hide();self.zoomTint&&self.zoomTint.hide()},changeState:function(n){"enable"==n&&(this.options.zoomEnabled=!0);"disable"==n&&(this.options.zoomEnabled=!1)}};n.fn.elevateZoom=function(i){return this.each(function(){var r=Object.create(t);r.init(i,this);n.data(this,"elevateZoom",r)})};n.fn.elevateZoom.options={zoomActivation:"hover",zoomEnabled:!0,preloading:1,zoomLevel:1,scrollZoom:!1,scrollZoomIncrement:.1,minZoomLevel:!1,maxZoomLevel:!1,easing:!1,easingAmount:12,lensSize:200,zoomWindowWidth:400,zoomWindowHeight:400,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",lensFadeIn:!1,lensFadeOut:!1,debug:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:.4,gallery:!1,galleryActiveClass:"zoomGalleryActive",imageCrossfade:!1,constrainType:!1,constrainSize:!1,loadingIcon:!1,cursor:"default",responsive:!0,onComplete:n.noop,onZoomedImageLoaded:function(){},onImageSwap:n.noop,onImageSwapComplete:n.noop}}(window.jQuery,window,document);!function(n){"use strict";n.module("JabraApplication.ProductCatalogue",["JabraApplication.DigitalRiver","JabraApplication.Design","JabraApplication.ProductApi","JabraApplication.Translation"])}(angular);!function(){"use strict";var n=function(){function n(n,t){var i=this;this.$scope=n;this.accessoryService=t;this.$scope.$watch("productId",function(){i.accessoryService.getByGroup(i.$scope.productId).then(function(n){void 0===n&&(n=[]);i.$scope.accessories=n},angular.noop)})}return n}();angular.module("JabraApplication.ProductCatalogue").controller("AccessoriesSpotController",["$scope","accessoryService",n])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n,t,i){this.$interval=i;this.$scope=n;this.eCommerceSvc=t;this.initialize()}return n.prototype.openCart=function(){this.eCommerceSvc.getCheckoutUrl().then(function(n){window.location.href=n})},n.prototype.initialize=function(){this.updateNumber()},n.prototype.updateNumber=function(){var n=this;this.eCommerceSvc.getCart().then(function(t){n.$scope.itemsInCart=t.totalItemsInCart})},n}();angular.module("JabraApplication.ProductCatalogue").controller("CartController",["$scope","eCommerceService","$interval",n])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n,t){var i=this,r,u;this.$scope=n;this.$scope.groupIds=[];this.$scope.groups=[];this.$scope.groupsLoaded=!1;this.$scope.familyIds=[];this.$scope.families=[];this.$scope.familiesLoaded=!1;this.productCatalogue=t;r=this.$scope.$watch("groupIdsJson",function(n,t){if(i.$scope.groupIds=JSON.parse(t),!angular.isArray(i.$scope.groupIds)||0===i.$scope.groupIds.length)return void(i.$scope.groupsLoaded=!0);r();i.productCatalogue.getMany(i.$scope.groupIds,ProductApi.ProductType.Group).then(function(n){i.$scope.groups=n;i.$scope.groupsLoaded=!0;i.$scope.familiesLoaded&&(i.$scope.relatedProducts=(i.$scope.relatedProducts||[]).concat(i.$scope.groups).concat(i.$scope.families))})});u=this.$scope.$watch("familyIdsJson",function(n,t){if(i.$scope.familyIds=JSON.parse(t),!angular.isArray(i.$scope.familyIds)||0===i.$scope.familyIds.length)return void(i.$scope.familiesLoaded=!0);u();i.productCatalogue.getMany(i.$scope.familyIds,ProductApi.ProductType.Family).then(function(n){i.$scope.families=n;i.$scope.familiesLoaded=!0;i.$scope.groupsLoaded&&(i.$scope.relatedProducts=(i.$scope.relatedProducts||[]).concat(i.$scope.groups).concat(i.$scope.families))})})}return n}();angular.module("JabraApplication.ProductCatalogue").controller("RelatedProductsConfigurationController",["$scope","productCatalogueService",n])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n,t){var i=this;this.$scope=n;this.relatedProductsService=t;this.$scope.$watch("entityId + entityType",function(){switch(i.$scope.entityType){case"Family":i.relatedProductsService.getByFamily(i.$scope.entityId).then(function(n){void 0===n&&(n=[]);i.$scope.relatedProducts=n});break;case"Group":i.relatedProductsService.getByGroup(i.$scope.entityId).then(function(n){void 0===n&&(n=[]);i.$scope.relatedProducts=n})}})}return n}();angular.module("JabraApplication.ProductCatalogue").controller("RelatedProductsController",["$scope","relatedProductService",n])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n){var t=this;this.$scope=n;this.$scope.selected="";this.$scope.toggle=function(n){var i=n.target,r=i.value;t.$scope.selected=t.$scope.selected===r?"":r;i.checked=""!==t.$scope.selected}}return n}();angular.module("JabraApplication.ProductCatalogue").controller("ShopRibbonController",["$scope",n])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";angular.module("JabraApplication.ProductCatalogue").directive("condensedMenu",["$window",function(n){return{link:function(t,i){var u=n.innerWidth<768,r=0;t.scrollDirectionDown=!0;t.condensedMenuHeight=i.find("> div").outerHeight();angular.element(n).bind("load touchmove scroll",function(f){var e=n.pageYOffset;angular.element(f.target).context&&e!==r&&(u?t.scrollDirectionDown=!0:(t.scrollDirectionDown=e>r,r=e),t.condensedFixed=e>i.offset().top,t.$apply())});t.scrollToTop=function(){angular.element("html, body").animate({scrollTop:0},"slow")}},restrict:"E"}}])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n,t,i,r,u,f){var e=this;this.$scope=n;this.$attributes=t;this.priceFactory=i;this.eCommerceService=r;this.productCatalogue=u;this.productSettings=f;this.$scope.loading=!1;this.$scope.showPrice=this.productSettings.ecomEnabled&&"true"===this.$attributes.showPrice;this.$scope.state=function(){if(void 0!==e.$scope.price)return e.$scope.price.availabilityState};this.$scope.whereToBuyUrl=function(){switch(e.$scope.segmentType){case"Business":return"/where-to-buy/partner-locator";default:return"/where-to-buy/retailer-locator"}};this.$scope.execute=function(){e.execute()};this.$scope.pId=Number(this.$scope.pId);angular.isNumber(this.$scope.pId)&&!isNaN(this.$scope.pId)&&this.updateFromProduct();this.$scope.$watch("pId",function(n,t){n===t||isNaN(e.$scope.pId)||e.updateFromProduct()})}return n.prototype.execute=function(){this.productSettings.ecomEnabled&&(this.$scope.loading=!0,this.eCommerceService.add(this.$scope.productSku))},n.prototype.updateFromProduct=function(){var n=this;if(!this.productSettings.ecomEnabled)return void(this.$scope.price={availabilityState:ProductApi.AvailabilityState.WhereToBuy});switch(this.$scope.pType){case ProductApi.ProductType.Product:this.priceFactory.getByProductDebounced(this.$scope.pId).then(function(t){n.$scope.price=t},function(){n.$scope.price={availabilityState:ProductApi.AvailabilityState.WhereToBuy}});this.$scope.productSku=this.$scope.pSku;break;case ProductApi.ProductType.Group:this.productCatalogue.get(this.$scope.pId,ProductApi.ProductType.Group).then(function(t){angular.isUndefined(n.$scope.pSku)&&angular.isNumber(n.$scope.pId)&&(n.$scope.productSku=t.sku);n.$scope.segmentType=t.segmentType;n.priceFactory.getByProductDebounced(t.productId).then(function(t){n.$scope.price=t},function(){n.$scope.price={availabilityState:ProductApi.AvailabilityState.WhereToBuy}})},angular.noop)}},n}();angular.module("JabraApplication.ProductApi").directive("productAction",[function(){return{controller:["$scope","$attrs","priceFactory","eCommerceService","productCatalogueService","ProductSettings",n],restrict:"E",scope:{pId:"=",pSku:"=",pType:"@"},templateUrl:"/components/productcatalogue/html/product-action.html"}}])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n,t,i,r){var u=this;this.$scope=n;this.$transclude=t;this.$element=i;this.productCatalogue=r;this.$scope.pId=Number(this.$scope.pId);angular.isNumber(this.$scope.pId)&&!isNaN(this.$scope.pId)&&this.updateFromProduct();this.$scope.$watch("pId",function(n,t){n===t||isNaN(u.$scope.pId)||u.updateFromProduct()})}return n.prototype.updateFromProduct=function(){var n=this;this.$transclude(this.$scope,function(t){n.$element.empty().append(t)});this.productCatalogue.getBullets(this.$scope.pId,this.$scope.pType).then(function(t){n.$scope.bullets=t})},n}();angular.module("JabraApplication.ProductCatalogue").directive("productBullets",[function(){return{controller:["$scope","$transclude","$element","productCatalogueService",n],restrict:"E",scope:{pId:"=",pType:"@"},transclude:!0}}])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n,t,i,r){var u=this;this.$scope=n;this.$transclude=t;this.$element=i;this.productCatalogue=r;this.$scope.pId=Number(this.$scope.pId);angular.isNumber(this.$scope.pId)&&!isNaN(this.$scope.pId)&&this.updateFromProduct();this.$scope.$watch("pId",function(n,t){n===t||isNaN(u.$scope.pId)||u.updateFromProduct()})}return n.prototype.updateFromProduct=function(){var n=this;this.$transclude(this.$scope,function(t){n.$element.empty().append(t)});this.productCatalogue.getFeatures(this.$scope.pId,this.$scope.pType).then(function(t){n.$scope.features=t})},n}();angular.module("JabraApplication.ProductCatalogue").directive("productFeatures",[function(){return{controller:["$scope","$transclude","$element","productCatalogueService",n],restrict:"E",scope:{pId:"=",pType:"@"},transclude:!0}}])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n,t,i,r){var u=this;this.$scope=n;this.$transclude=t;this.$element=i;this.productCatalogue=r;this.$scope.pId=Number(this.$scope.pId);angular.isNumber(this.$scope.pId)&&this.updateFromProduct();this.$scope.$watch("pId",function(n,t){n===t||isNaN(u.$scope.pId)||u.updateFromProduct()})}return n.prototype.updateFromProduct=function(){var n=this;this.$transclude(this.$scope,function(t){n.$element.empty().append(t)});this.productCatalogue.getImages(this.$scope.pId,this.$scope.pType).then(function(t){n.$scope.images=t})},n}();angular.module("JabraApplication.ProductCatalogue").directive("productImages",[function(){return{controller:["$scope","$transclude","$element","productCatalogueService",n],restrict:"E",scope:{pId:"=",pType:"@"},transclude:!0}}])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n,t,i,r,u){var f=this;this.$scope=n;this.$transclude=t;this.$element=i;this.$sce=r;this.productCatalogue=u;this.$scope.pId=Number(this.$scope.pId);angular.isNumber(this.$scope.pId)&&!isNaN(this.$scope.pId)&&this.updateFromProduct();this.$scope.$watch("pId",function(n,t){n===t||isNaN(f.$scope.pId)||f.updateFromProduct()})}return n.prototype.updateFromProduct=function(){var n=this;this.$transclude(this.$scope,function(t){n.$element.empty().append(t)});this.$scope.pId&&this.productCatalogue.getKeySellingPoints(this.$scope.pId,this.$scope.pType).then(function(t){n.$scope.keySellingPoints=t;n.$scope.keySellingPoints.forEach(function(t){t.header=n.$sce.trustAsHtml(t.header);t.text=n.$sce.trustAsHtml(t.text)})})},n}();angular.module("JabraApplication.ProductCatalogue").directive("productKeySellingPoints",[function(){return{controller:["$scope","$transclude","$element","$sce","productCatalogueService",n],restrict:"E",scope:{pId:"=",pType:"@"},transclude:!0}}])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict"}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict"}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict"}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict"}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict"}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict"}(ProductCatalogue||(ProductCatalogue={}));!function(n){!function(n){"use strict";var t=function(){function t(t,i,r){var u=this,f,e;this.filterTemplateSuffix="family-customizer-spot-filter-";this.filterHistory={};this.initiailized=!1;this.productService=i;this.filterService=r;this.$scope=t;this.$scope.configuration={};this.$scope.toggle=function(n){var t=u.filterHistory;t[n.key]===n.value?(delete t[n.key],n.value=""):t[n.key]=n.value;u.filter()};this.$scope.__selectionList=function(){return(u.$scope.selections||[]).filter(function(n){return n!==u.$scope.selection}).map(function(n){return n.productName}).join(", ")};this.$scope.whereToBuy=function(){return u.$scope.selection?"Business"===u.$scope.selection.segmentType?"/where-to-buy/partner-locator":"/where-to-buy/retailer-locator":""};f=this.$scope.$watch("configuration.filtersJSON",function(){void 0!==u.$scope.configuration.filtersJSON&&(u.$scope.filters=angular.fromJson(u.$scope.configuration.filtersJSON).map(function(t){return n.Filter.initFromService(t,u.filterTemplateSuffix)}),angular.forEach(u.$scope.filters,function(n){angular.forEach(n.options,function(n){n.disabled=!1;n.visible=!1})}),f())});e=this.$scope.$watch("configuration.familyId",function(){void 0!==u.$scope.configuration.familyId&&(u.productService.getByFamilyId(u.$scope.configuration.familyId).then(u.onGetFamilyByIdSuccess.bind(u)),e())})}return t.prototype.onGetFamilyByIdSuccess=function(n){this.$scope.groups=n;this.$scope.selection=this.$scope.groups[0];this.filterService.prepare(n,this.$scope.filters);this.preSelectColor();this.initiailized=!0;this.filter()},t.prototype.preSelectColor=function(){var n,t;this.$scope.filters&&0!==this.$scope.filters.length&&this.$scope.selection&&(t=this.$scope.selection.attributes.filter(function(n){return"Product_Mobcolorhex"===n.key}),0!==t.length&&(n=this.$scope.filters.filter(function(n){return"Product_Mobcolorhex"===n.key}),0!==n.length&&(n[0].value=t[0].value)))},t.prototype.filter=function(){this.initiailized&&(this.$scope.selections=this.filterService.filter(this.$scope.groups,this.$scope.filters),this.$scope.selection=this.$scope.selections[0],this.filterService.process(this.$scope.groups,this.$scope.filters))},t}();n.FamilyCustomizerController=t;angular.module("JabraApplication.ProductCatalogue").controller("FamilyCustomizerController",["$scope","productWithAttributesService","customizerFilterService",t])}(n.FamilyCustomizer||(n.FamilyCustomizer={}))}(ProductCatalogue||(ProductCatalogue={}));__extends=this&&this.__extends||function(){var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}();!function(n){!function(n){"use strict";var t=function(n){function t(t,i,r,u,f){var e=n.call(this,t,i,r)||this,o;return e.filterTemplateSuffix="hero-customizer-spot-filter-",e.defaultFilterValues={},e.productSettings=f,e.$scope.ecomEnabled=e.productSettings.ecomEnabled,e.$scope.selectImage=function(n){e.$scope.images.forEach(function(n){n.selected=!1});e.$scope.lifestyleImages.forEach(function(n){n.selected=!1});n.selected=!0;e.$scope.selectedImageFadedOut=!0;u(function(){e.$scope.selectedImage=n},500);u(function(){e.$scope.selectedImageFadedOut=!1},600)},e.$scope.getColorOptionImage=function(n,t){var u=n.value,r,i;return n.value=t,r=[n],i=e.filterService.filter(e.$scope.groups,r)[0],n.value=u,i?i.images[0].url:""},e.$scope.setFilter=function(n,t){n.value=t;var i=e.filterHistory;(i[n.key]||"")!==n.value&&(i[n.key]=n.value,e.filter())},e.$scope.getFilterDefaultValue=function(n){return e.defaultFilterValues[n.key]},o=e.$scope.$watch("configuration.lifestyleImages",function(){var n=JSON.parse(e.$scope.configuration.lifestyleImages);n&&(e.$scope.lifestyleImages=[],n.forEach(function(n){e.$scope.lifestyleImages.push({isLifestyleImage:!0,selected:!1,url:n.Src})}));o()}),e}return __extends(t,n),t.prototype.onGetFamilyByIdSuccess=function(t){var i=this;n.prototype.onGetFamilyByIdSuccess.call(this,t);this.setImages(this.$scope.selection);this.$scope.selectImage(this.$scope.images[0]);this.$scope.filters.forEach(function(n){i.defaultFilterValues[n.key]=n.value})},t.prototype.setImages=function(n){var t=this;this.$scope.images=[];n.images.forEach(function(n){t.$scope.images.push({isLifestyleImage:!1,selected:!1,url:n.url})})},t.prototype.filter=function(){n.prototype.filter.call(this);this.setImages(this.$scope.selection);this.$scope.selectImage(this.$scope.images[0])},t}(n.FamilyCustomizerController);angular.module("JabraApplication.ProductCatalogue").controller("HeroCustomizerController",["$scope","productWithAttributesService","customizerFilterService","$timeout","ProductSettings",t])}(n.FamilyCustomizer||(n.FamilyCustomizer={}))}(ProductCatalogue||(ProductCatalogue={}));!function(n){!function(n){"use strict";var t=function(){function t(t,i,r,u){var f=this;this.idSuffix="";null!==u&&"object"==typeof u||(u={});this.templateSuffix=r;this.key=t;this.value="";this.title=u.title||"";this.type=i||"";this.options=(u.options||[]).map(function(t){return new n.OptionBase(f.type,t)});this.idSuffix=String(Math.random()).substr(2)}return t.initFromService=function(n,i){if(null===n||"object"!=typeof n)return null;var r=n.Options||[];return new t(n.Name,1===r.length?"checkbox":"radio",i,{options:r.map(function(n){return{title:n.Title,value:n.Value}}),title:n.Title})},t.prototype.hasValue=function(){return"string"==typeof this.value&&""!==this.value},t.prototype.id=function(){return this.key.toLowerCase().replace(/\s/g,"-")+"_"+this.idSuffix},t.prototype.template=function(){return"Product_Mobcolorhex"===this.key?this.templateSuffix+"color.html":this.templateSuffix+this.type+".html"},t}();n.Filter=t}(n.FamilyCustomizer||(n.FamilyCustomizer={}))}(ProductCatalogue||(ProductCatalogue={}));!function(n){!function(){"use strict"}(n.FamilyCustomizer||(n.FamilyCustomizer={}))}(ProductCatalogue||(ProductCatalogue={}));__extends=this&&this.__extends||function(){var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}();!function(n){!function(n){"use strict";var t=function(){function n(n,t){this._type="";this.idSuffix="";null!==t&&"object"==typeof t||(t={});this.value=t.value||"";this.title=t.title||"";this.disabled=!1;this.visible=!0;this.idSuffix=String(Math.random()).substr(2);this._type=n}return n.prototype.id=function(){return this.value.toLowerCase().replace(/\s/g,"-")+"_"+this.idSuffix},n.prototype.type=function(){return this._type},n}(),i,r;n.OptionBase=t;i=function(n){function t(t){return n.call(this,"checkbox",t)||this}return __extends(t,n),t}(t);n.CheckboxOption=i;r=function(n){function t(t){return n.call(this,"radio",t)||this}return __extends(t,n),t}(t);n.RadioOption=r}(n.FamilyCustomizer||(n.FamilyCustomizer={}))}(ProductCatalogue||(ProductCatalogue={}));!function(n){!function(){"use strict";var n=function(){function n(){}return n.prototype.match=function(n,t){void 0===t&&(t=[]);var i=n;return t.filter(function(n){return n.hasValue()}).every(function(n){return i.attributes.some(function(t){return t.key===n.key&&t.valueKey===n.value})})},n.prototype.filter=function(n,t){void 0===n&&(n=[]);void 0===t&&(t=[]);for(var r=[],i=0;i<n.length;i++)this.match(n[i],t)&&r.push(n[i]);return r},n.prototype.prepare=function(n,t){var f,u,e,i,r;for(void 0===n&&(n=[]),void 0===t&&(t=[]),i=0;i<t.length;i++)for(f=t[i].key,r=0;r<n.length;r++)u=n[r].attributes.filter(function(n){return n.key===f}),0!==u.length&&(e=t[i].options.filter(function(n){return u.some(function(t){return t.valueKey===n.value})}),angular.forEach(e,function(n){return n.visible=!0}))},n.prototype.process=function(n,t){void 0===n&&(n=[]);void 0===t&&(t=[]);var i=this.forecast(n,t);t.forEach(function(n,t){n.options.forEach(function(n,r){n.disabled=i[t].options[r].disabled})})},n.prototype.forecast=function(n,t){var e,i,r,f,o,u;for(void 0===n&&(n=[]),void 0===t&&(t=[]),r=[],angular.copy(t,r),f=0;f<r.length;f++)if(i=r[f],angular.isArray(i.options)&&i.options.some(function(n){return n.visible})){for(o=i.value,u=0;u<i.options.length;u++)i.value=i.options[u].value,e=this.filter(n,r),i.options[u].disabled=0===e.length;i.value=o}return r},n}();angular.module("JabraApplication.ProductCatalogue").service("customizerFilterService",n)}(n.FamilyCustomizer||(n.FamilyCustomizer={}))}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n,t,i){this.$http=n;this.$q=t;this.productApiConfig=i}return n.prototype.getByGroup=function(n){var i=this.buildUrl(n.toString()),r=this.$http.get(i,{cache:!0}),t=this.$q.defer();return r.then(function(n){t.resolve(n.data||[])},function(){t.reject()}),t.promise},n.prototype.buildUrl=function(n){return this.productApiConfig.productCatalogueUrl+"v1/group/"+n+"/accessories?marketLocale="+this.productApiConfig.language},n}();angular.module("JabraApplication.ProductCatalogue").service("accessoryService",["$http","$q","productApiConfig",n])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n,t,i,r){this.$http=n;this.$q=t;this.$window=i;this.token=r.get()}return n.prototype.add=function(n){return this.addToCart(n)},n.prototype.preorder=function(n){return this.addToCart(n)},n.prototype.backorder=function(n){return this.addToCart(n)},n.prototype.getCart=function(){var t=this,n=this.$q.defer();return this.token.then(function(i){var r=i.cartUrl+"&token="+i.token,u={cache:!1,headers:{Authorization:"Bearer "+i.token}};t.$http.jsonp(r,u).then(function(t){n.resolve(t.data.cart)},function(){n.reject()})}),n.promise},n.prototype.getCheckoutUrl=function(){var t=this,n=this.$q.defer();return this.token.then(function(i){var r=i.checkoutUrl+i.locale+"&Currency="+(i.currency||"")+"&token="+i.token,u=t.getGa();u&&(r+="&"+u);n.resolve(r)}),n.promise},n.prototype.checkout=function(){var n=this;return this.getCheckoutUrl().then(function(t){return n.$window.location.href=t})},n.prototype.addToCart=function(n){var t=this,i=this.$q.defer();return this.token.then(function(r){var u=r.addUrl+n+"&token="+r.token+"&method=post&format=json",e={headers:{Authorization:"Bearer "+r.token,"Access-Control-Allow-Origin":"*"}},f=t.getGa();f&&(u+="&"+f);t.$http.jsonp(u,e).then(function(){t.checkout();i.resolve()},function(n){console.dir(n);i.reject()})}),i.promise},n.prototype.getGa=function(){var i="",n=window.ga,t;return void 0!==n&&angular.isFunction(n.getAll)&&(t=n.getAll()||[],t.length>0&&(i=t[0].get("linkerParam"))),i},n}();angular.module("JabraApplication.ProductCatalogue").service("eCommerceService",["$http","$q","$window","tokenFactory",n])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n,t,i){this.$http=n;this.$q=t;this.productApiConfig=i}return n.prototype.getByFamily=function(n){var i=this.buildUrl(n,"family"),t=this.$q.defer();return this.$http.get(i,{cache:!0}).then(function(n){t.resolve(n.data||[])},function(){t.reject()}),t.promise},n.prototype.getByGroup=function(n){var i=this.buildUrl(n,"group"),t=this.$q.defer();return this.$http.get(i,{cache:!0}).then(function(n){t.resolve(n.data||[])},function(){t.reject()}),t.promise},n.prototype.buildUrl=function(n,t){return this.productApiConfig.productCatalogueUrl+"v1/"+t+"/"+n.toString()+"/related?marketLocale="+this.productApiConfig.language},n}();angular.module("JabraApplication.ProductCatalogue").service("relatedProductService",["$http","$q","productApiConfig",n])}(ProductCatalogue||(ProductCatalogue={}));!function(){"use strict";var n=function(){function n(n,t,i){this.$http=n;this.$q=t;this.drDataConfig=i}return n.prototype.get=function(){var n=this,t=this.$q.defer(),i=this.drDataConfig.tokenUrl+this.drDataConfig.apiKey+"&locale="+this.drDataConfig.locale;return this.$http.jsonp(i,{cache:!0}).then(function(i){t.resolve({addUrl:n.drDataConfig.addUrl,cartUrl:n.drDataConfig.cartUrl,checkoutUrl:n.drDataConfig.checkoutUrl,currency:n.drDataConfig.currency,locale:n.drDataConfig.locale,token:i.data.access_token})}),t.promise},n}();angular.module("JabraApplication.ProductCatalogue").service("tokenFactory",["$http","$q","DigitalRiverDataConfig",n])}(ProductCatalogue||(ProductCatalogue={}));!function(n){"use strict";n.module("JabraApplication.ProductFilterModule",["JabraApplication.Design"])}(angular);!function(){"use strict";var n=function(){function n(n,t,i,r,u,f){var e=this,o,s,h;this.$scope=n;this.urlHelper=t;this.resolutionHelper=i;this.loadQueue=r;this.azureSearch=u;this.queryBuilder=f;this.$scope.orderOptions={options:[]};o=this.$scope.$watch("_ordersJson",function(){void 0!==e.$scope._ordersJson&&(e.$scope.orderOptions.options=JSON.parse(e.$scope._ordersJson),e.$scope.orderOptions.current=e.$scope.orderOptions.options[0],o())});this.$scope.searchOptions={filter:"",search:this.urlHelper.searchQuery};s=this.$scope.$watch("searchOptions.preFilter",function(){e.initialize();s()});h=this.$scope.$watch("_filterGroupsJson",function(){void 0!==e.$scope._filterGroupsJson&&(e.$scope.filterGroups=JSON.parse(e.$scope._filterGroupsJson),e.$scope.filterGroups.forEach(function(n){n.selected=0}),h())});this.$scope.toggleFilter=function(n,t){var i=e.$scope.selectedFilters.indexOf(n);-1===i?(e.$scope.selectedFilters.push(n),t.selected++):(e.$scope.selectedFilters.splice(i,1),t.selected--);e.$scope.searchOptionsChanged()}}return n.prototype.initialize=function(){var n=this;this.$scope.pagingOptions={count:0,currentPage:this.urlHelper.pageNumber,pageSize:15};this.$scope.loadedProducts=[];this.$scope.filterGroups=[];this.$scope.selectedFilters=[];this.$scope.loading=function(){return!n.loadQueue.isEmpty()};this.$scope.applyFilters=function(){n.$scope.pagingOptions.currentPage=1;n.$scope.load();n.$scope.showFilters=!1};this.$scope.load=function(){var t=n.$scope.pagingOptions.pageSize,i=t*(n.$scope.pagingOptions.currentPage-1),r=n.$scope.orderOptions.current.property+" "+n.$scope.orderOptions.current.direction;n.urlHelper.pageNumber=n.$scope.pagingOptions.currentPage;n.loadQueue.add("pfmcontroller#loadMore");n.$scope.searchOptions.filter=n.queryBuilder.build(n.$scope.filterGroups,n.$scope.selectedFilters,n.$scope.searchOptions.preFilter);n.azureSearch.execute(t,i,n.$scope.searchOptions.search,n.$scope.searchOptions.filter,r).then(function(t){n.$scope.loadedProducts=t.items;n.$scope.pagingOptions.count=t.count;n.loadQueue.remove("pfmcontroller#loadMore");"undefined"!=typeof testFreaks&&setTimeout(function(){testFreaks.push(["load","items"])},50)})};this.$scope.searchOptionsChanged=function(){n.urlHelper.searchQuery=n.$scope.searchOptions.search;n.$scope.isMobile||(n.$scope.pagingOptions.count=0,n.$scope.pagingOptions.currentPage=1,n.$scope.load())};this.$scope.$watch(function(){return n.resolutionHelper.isMobile},function(){n.$scope.isMobile=n.resolutionHelper.isMobile});this.$scope.$watch("displayMode",function(){n.$scope.$broadcast("lazy-load")});this.$scope.load()},n}();angular.module("JabraApplication.ProductFilterModule").controller("PfmController",["$scope","pfmUrlHelper","pfmResolutionHelper","pfmLoadQueue","azureSearch","pfmQueryBuilder",n])}(ProductFilterModule||(ProductFilterModule={}));!function(n){"use strict";angular.module("JabraApplication.ProductFilterModule").directive("displayModeSwitcher",["pfmUrlHelper",function(t){return{link:function(i){i.displayModes=n.DisplayMode.GetAll();i.state={};t.displayMode===n.DisplayMode.Unknown&&(t.displayMode=n.DisplayMode.Tiles);i.state.displayMode=n.DisplayMode.Convert(t.displayMode);i.displayMode=i.state.displayMode;i.displayModeChange=function(){i.displayMode=i.state.displayMode;t.displayMode=n.DisplayMode.Parse(i.state.displayMode)}},restrict:"E",scope:{displayMode:"="},templateUrl:"/components/productfiltermodule/html/display-mode-switcher.html"}}])}(ProductFilterModule||(ProductFilterModule={}));!function(){"use strict";var n=function(){function n(n,t){var i=this;this.$scope=n;this.$timeout=t;this.$scope.pages=function(){for(var r=Math.ceil(i.$scope.count/i.$scope.pageSize),t=[],n=1;n<=r;n++)t.push(n);return t};this.$scope.limitStart=function(){return i.$scope.currentPage<3?0:i.$scope.currentPage-3}}return n.prototype.firstPage=function(){this.setPage(1)},n.prototype.lastPage=function(){this.setPage(this.$scope.pages().length)},n.prototype.nextPage=function(){this.setPage(this.$scope.currentPage+1)},n.prototype.prevPage=function(){this.setPage(this.$scope.currentPage-1)},n.prototype.setPage=function(n){var t=this;this.$scope.currentPage!==n&&(this.$scope.currentPage=n,this.$timeout(function(){t.$scope.pageAction()}))},n}();angular.module("JabraApplication.ProductFilterModule").directive("pfmPager",["$timeout",function(){return{controller:["$scope","$timeout",n],controllerAs:"pagerCtrl",link:function(n,t){t.addClass("pfm-pager")},restrict:"E",scope:{count:"=",currentPage:"=",pageAction:"&",pageSize:"="},templateUrl:"/components/productfiltermodule/html/pfm-pager.html"}}])}(ProductFilterModule||(ProductFilterModule={}));!function(){"use strict";angular.module("JabraApplication.ProductFilterModule").directive("productItem",["$timeout",function(n){return{link:function(t,i){i.addClass("product-item");n(function(){$("img",i).lazyLoadXT()});t.imageUrl=t.product.images.length>0?t.product.images[0]:"";t.getImageUrl=function(n,t,i){return void 0===t&&(t=30),void 0===i&&(i=30),angular.isString(n)&&""!==n?n.replace(/^https?:/i,"")+"?w="+t+"&h="+i:" "};t.loadImages=function(){t.$broadcast("lazy-load")};t.setImageUrl=function(n){t.imageUrl=n};t.$on("lazy-load",function(){var n=$("img:not(.lazy-loaded)",i);0!==n.length&&n.lazyLoadXT()})},restrict:"E",scope:{product:"="},templateUrl:"/components/productfiltermodule/html/product-item.html",transclude:{"from-price-label":"?fromPriceLabel","read-more-label":"?readMoreLabel"}}}])}(ProductFilterModule||(ProductFilterModule={}));!function(){"use strict";angular.module("JabraApplication.ProductFilterModule").directive("scrollToBlockTop",function(){return{link:function(n,t){t.addClass("scroll-to-block-top");t.on("click",function(){document.body.scrollTop=t.parent()[0].getBoundingClientRect().top+document.body.scrollTop-10})},restrict:"E"}})}(ProductFilterModule||(ProductFilterModule={}));!function(n){"use strict";var t=function(){function t(n,t,i){this.$http=n;this.$q=t;this.configuration=i}return t.prototype.execute=function(t,i,r,u,f){void 0===t&&(t=15);void 0===i&&(i=0);void 0===r&&(r="");void 0===u&&(u="");void 0===f&&(f="");var e=this.$q.defer();return this.$http.post(this.baseUrl(),{count:!0,filter:u,orderby:f||"",queryType:"full",search:"/.*"+this.escapeSpecialCharacters(r)+".*/",skip:i,top:t}).then(function(t){var i=new n.AzureSearchResponse;i.context=t.data["@odata.context"];i.count=t.data["@odata.count"];i.items=t.data.value;e.resolve(i)},function(){e.reject()}),e.promise},t.prototype.baseUrl=function(){return this.configuration.searchIndexUrl+"?api-version="+this.configuration.searchIndexVersion+"&api-key="+this.configuration.searchIndexApiKey},t.prototype.escapeSpecialCharacters=function(n){return(n||"").replace(/\s/gi,"|").replace(/(?:^|)\-/gi,"|-").replace(/®/gi,"").replace(/™/gi,"").replace(/\//gi,"|")},t}();angular.module("JabraApplication.ProductFilterModule").factory("azureSearch",["$http","$q","pfmConfiguration",function(n,i,r){return new t(n,i,r)}])}(ProductFilterModule||(ProductFilterModule={}));!function(n){"use strict";var t=function(){function n(){this.context="";this.count=0;this.items=[]}return n}();n.AzureSearchResponse=t}(ProductFilterModule||(ProductFilterModule={}));!function(n){"use strict";!function(n){n[n.Unknown=0]="Unknown";n[n.Tiles=1]="Tiles";n[n.Lines=2]="Lines"}(n.DisplayMode||(n.DisplayMode={})),function(n){function t(){var t=[];return t.push(n.Convert(n.Tiles)),t.push(n.Convert(n.Lines)),t}function i(t){if(!angular.isString(t)||""===t)return n.Unknown;switch(t.toLowerCase()){case"tiles":return n.Tiles;case"lines":return n.Lines;default:return n.Unknown}}function r(t){switch(t){case n.Tiles:return"tiles";case n.Lines:return"lines";case n.Unknown:default:return""}}n.GetAll=t;n.Parse=i;n.Convert=r}(n.DisplayMode||(n.DisplayMode={}))}(ProductFilterModule||(ProductFilterModule={}));!function(){"use strict"}(ProductFilterModule||(ProductFilterModule={}));!function(){"use strict"}(ProductFilterModule||(ProductFilterModule={}));!function(){"use strict"}(ProductFilterModule||(ProductFilterModule={}));!function(){"use strict"}(ProductFilterModule||(ProductFilterModule={}));!function(){"use strict"}(ProductFilterModule||(ProductFilterModule={}));!function(){"use strict";var n=function(){function n(n){this.$log=n;this._queue=[]}return n.prototype.add=function(n){return angular.isString(n)&&""!==n?this._queue.indexOf(n)>-1?void this.$log.warn("Provided queue item name is already present in queue. ",n):(this.$log.info("Adding queue item. ",n),void this._queue.push(n)):void this.$log.warn("Provided queue item name is not a string or empty.")},n.prototype.isEmpty=function(){return 0===this._queue.length},n.prototype.remove=function(n){var t;return angular.isString(n)&&""!==n?-1===(t=this._queue.indexOf(n))?void this.$log.warn("Provided queue item name is not present in queue. ",n):(this.$log.info("Removing queue item. ",n),void this._queue.splice(t,1)):void this.$log.warn("Provided queue item name is not a string or empty.")},n}();angular.module("JabraApplication.ProductFilterModule").service("pfmLoadQueue",["$log",n])}(ProductFilterModule||(ProductFilterModule={}));!function(){"use strict";var n=function(){function n(n){this.configuration=n}return n.prototype.build=function(n,t,i){var o,e;void 0===n&&(n=[]);void 0===t&&(t=[]);void 0===i&&(i="");for(var u="",r="",f=0;f<n.length;f++)o=n[f].filters,e=o.filter(function(n){return t.indexOf(n.id)>-1}),r="",e.forEach(function(n){var t="";n.attachedOptions.forEach(function(n){t+=""===t?"":" and ";t+="attributes/any(a: a eq '"+n.key+"||"+n.value+"')"});r+=(""===r?"":" or ")+t}),""!==r&&(u+=""===u?1===e.length?r:"("+r+")":" and ("+r+")");return this.prepand(u,i)},n.prototype.prepand=function(n,t){void 0===n&&(n="");void 0===t&&(t="");var i=this.prepandWithLocale();return""!==t&&(i+=" and "+t),""===n?i:i+" and ("+n+")"},n.prototype.prepandWithLocale=function(){return angular.isString(this.configuration.marketLocale)&&""!==this.configuration.marketLocale?"marketLocale eq '"+this.configuration.marketLocale+"'":""},n}();angular.module("JabraApplication.ProductFilterModule").service("pfmQueryBuilder",["pfmConfiguration",n])}(ProductFilterModule||(ProductFilterModule={}));!function(){"use strict";var n=function(){function n(n,t){var i,r=this,u=function(){i=t(function(){r.isMobile=n.innerWidth<992},300)};angular.element(n).bind("load resize",function(){t.cancel(i);u()})}return n}();angular.module("JabraApplication.ProductFilterModule").service("pfmResolutionHelper",["$window","$timeout",n])}(ProductFilterModule||(ProductFilterModule={}));!function(n){"use strict";var t=function(){function t(n){this.$location=n}return Object.defineProperty(t.prototype,"displayMode",{get:function(){return n.DisplayMode.Parse(this.$location.search().dmode)},set:function(t){this.$location.search("dmode",n.DisplayMode.Convert(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageNumber",{get:function(){var n=Number(this.$location.search().p);return isNaN(n)&&(n=1,this.$location.search("p",n)),n},set:function(n){this.$location.search("p",n||null)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"searchQuery",{get:function(){return this.$location.search().q||""},set:function(n){this.$location.search("q",n||null)},enumerable:!0,configurable:!0}),t}();angular.module("JabraApplication.ProductFilterModule").service("pfmUrlHelper",["$location",t])}(ProductFilterModule||(ProductFilterModule={}));!function(n){"use strict";n.module("JabraApplication.CountryDetection",["ngCookies"])}(angular);!function(){"use strict";var n=function(){function n(n,t){this.cookieName="ShowCountrySelector";this.$cookies=t;this.$scope=n}return n.prototype.saveAndClose=function(){var n=new Date,t;n.setDate(n.getDate()+7);t={expires:n,path:"/"};this.$cookies.put(this.cookieName,"1",t)},n.prototype.shouldShow=function(){var n=!1;return function(t){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(n=!0)}(navigator.userAgent||navigator.vendor),!this.$cookies.get(this.cookieName)&&!n},n}();angular.module("JabraApplication.CountryDetection").controller("LanguageOptionsBoxController",["$scope","$cookies",n])}(CountryDetection||(CountryDetection={}));!function(n){"use strict";n.module("JabraApplication.Navigation",["JabraApplication.DigitalRiver","JabraApplication.ProductApi","JabraApplication.ProductCatalogue"])}(angular),function(){"use strict";var n=angular.module("JabraApplication.Navigation");n.factory("loginHost",["$window",function(n){return n.location.host&&n.location.host.indexOf(".jabra.")>0?"https://"+n.location.host:"jabra-public-shell-en"===n.location.host?"http://"+n.location.host:"https://www.jabra.com"}]);n.factory("loginService",["$http","$rootScope","$q","loginHost",function(n,t,i,r){var u={},f=r+"/services/AuthenticationService/AuthenticationService.svc";return u.login=function(r,u,e,o){var s=i.defer(),h={Login:r,Password:u,RememberMe:Number(e||!1)+""};return"object"==typeof o&&null!==o&&(h.DuplicateProfileId=o.CrmContactId||""),n.post(f+"/Authenticate",h).then(function(n){var r="true"===(n.data.IsAuthenticated+"").toLowerCase(),i={authenticated:r,requiresSelection:!1,customerName:n.data.CustomerName};r&&(n.data.DuplicateProfiles&&n.data.DuplicateProfiles.length>1?(i.profiles=n.data.DuplicateProfiles,i.requiresSelection=0===(h.DuplicateProfileId||"").length):t.$broadcast("login"));s.resolve(i)},function(n){s.reject(n)}),s.promise},u.isAuthenticated=function(){var t=i.defer();return n.get(f+"/IsAuthenticated",{params:{cache:(new Date).getTime()}}).then(function(n){t.resolve(n.data)},function(n){t.reject(n)}),t.promise},u.logOff=function(){var i=n.get(f+"/Logoff",{params:{cache:(new Date).getTime()}});return i.then(function(){t.$broadcast("login")}),i},u.resetPassword=function(t){var r=i.defer();return n.get(f+"/ResetPassword/"+t,{cache:!1}).then(function(n){r.resolve(n.data)},function(){r.resolve(!1)}),r.promise},u.onLoginChange=function(n,t){return n.$on("login",t)},u.showLogin=function(){"https:"===window.location.protocol&&t.$broadcast("showlogin")},u.onShowLogin=function(n,t){return n.$on("showlogin",t)},u}])}(),function(){"use strict";angular.module("JabraApplication.Navigation").controller("LoginStateController",["$scope","$location","loginService",function(n,t,i){function r(){i.isAuthenticated().then(function(i){n.authenticated="true"===String(i).toLowerCase();n.authenticated||"/login"!==t.path()||n.showLogin()})}n.authenticated=!1;n.logOff=function(){i.logOff().then(function(){document.location.href="http://"+document.location.host})};n.showLogin=function(){i.showLogin()};i.onLoginChange(n,function(){r()});r()}])}(),function(){"use strict";angular.module("JabraApplication.Navigation").controller("PartnernetLoginController",["$scope","loginService","$window",function(n,t,i){function r(n,t){var r=new RegExp("[\\?&#]"+n+"=([^&#]*)"),i=r.exec(t);return!i||i.length<=0?null:decodeURIComponent(i[1].replace(/\+/g," "))}function e(){return r("returnUrl",i.location.search)||r("url",i.location.hash)||n.targetPage}function u(t){n.loading=!1;t&&t.authenticated?t.requiresSelection&&t.profiles?(n.profiles=t.profiles,n.mode="selectprofile",n.customerName=t.customerName):i.location.href=e():n.invalid=!0}function f(){n.loading=!1;n.invalid=!0}n.showlogin="https:"===i.location.protocol&&i.location.hash&&i.location.hash.indexOf("#/login")>=0;n.invalid=!1;n.loading=!1;n.email="";n.password="";n.remember=!1;n.targetPage=null;n.mode="";n.profiles=[];n.customerName="";n.submit=function(r){r||(r=i.location.href);n.targetPage=r;n.loading=!0;n.invalid=!1;t.login(n.email,n.password,n.remember).then(u,f)};n.selectProfile=function(i){t.login(n.email,n.password,n.remember,i).then(u,f)};n.close=function(){n.invalid=!1;n.showlogin=!1;n.mode=""};n.forgot=function(){n.email&&t.resetPassword(n.email).then(function(t){n.mode=t?"forgot-success":"forgot-unknown"})};t.onShowLogin(n,function(){n.invalid=!1;n.showlogin=!0;n.mode=""})}])}(),function(n){"use strict";n.module("JabraApplication.Navigation").controller("ProductSliderController",["$scope","$log","productCatalogueService",function(t,i,r){var u=this,f;u.$scope=t;u.$log=i;u.productCatalogueService=r;u.productsOverrides=[];u.groups=[];u.groupsLoaded=!1;u.families=[];u.familiesLoaded=!1;u.restoreSorting=function(){var e,t,n,i,r,f,o;if(u.$scope.items=[].concat(u.groups).concat(u.families),0===u.productsOverrides.length)return u.$scope.items;for(e=u.productsOverrides.filter(function(n){return-1===n.id}),u.$scope.items=u.$scope.items.concat(e),t=0;t<u.$scope.items.length;t++)if(n=-1,i=u.$scope.items[t],void 0!==i){for(r=0;r<u.productsOverrides.length;r++){if(f=u.productsOverrides[r],n=-1,f.id===i.groupId||f.id===i.familyId){n=r;break}if(f.productName===i.productName){n=r;break}}-1!==n&&n!==t&&(o=u.$scope.items[n],u.$scope.items[n]=i,u.$scope.items[t]=o)}u.$scope.items=u.$scope.items.filter(function(n){return void 0!==n})};f=u.$scope.$watch("productsJson",function(){var t,i;n.isString(u.$scope.productsJson)&&""!==u.$scope.productsJson&&(u.productsOverrides=n.fromJson(u.$scope.productsJson)||[],0!==u.productsOverrides.length)&&(t=u.productsOverrides.filter(function(n){return"group"===n.type}).map(function(n){return n.id}),t.length>0?u.productCatalogueService.getMany(t,ProductApi.ProductType.Group).then(function(n){var r,i,f,t;for(u.groupsLoaded=!0,u.groups=n,r=0;r<u.productsOverrides.length;r++)for(i=u.productsOverrides[r],f=0;f<u.groups.length;f++)if(t=u.groups[f],t.groupId===i.id){t.productName=i.productName||t.productName;t.thumbnailUrl=i.thumbnailUrl||t.thumbnailUrl;t.pageUrl=i.pageUrl||t.pageUrl;break}u.familiesLoaded&&u.restoreSorting()}):u.groupsLoaded=!0,i=u.productsOverrides.filter(function(n){return"family"===n.type}).map(function(n){return n.id}),i.length>0?u.productCatalogueService.getMany(i,ProductApi.ProductType.Family).then(function(n){var r,i,f,t;for(u.familiesLoaded=!0,u.families=n,r=0;r<u.productsOverrides.length;r++)for(i=u.productsOverrides[r],f=0;f<u.families.length;f++)if(t=u.families[f],t.familyId===i.id){t.productName=i.productName||t.productName;t.thumbnailUrl=i.thumbnailUrl||t.thumbnailUrl;t.pageUrl=i.pageUrl||t.pageUrl;break}u.groupsLoaded&&u.restoreSorting()}):u.familiesLoaded=!0,0===i.length&&0===t.length&&u.restoreSorting(),f())})}])}(angular),function(n){"use strict";n.module("JabraApplication.Navigation").controller("TopNavigationController",["$scope","$rootScope","$timeout","topNavHtmlHelper",function(t,i,r,u){var f=this;f.$scope=t;f.$timeout=r;f.htmlHelper=u;f.$scope.isAnimatedOpen=!1;f.resetSelection=function(){f.$scope.lastSelectedNode=!1;f.$scope.selectedNode=!1};f.resetSelection();f.$scope.toggle=function(n){n.target.value===t.lastSelectedNode?f.resetSelection():f.$scope.lastSelectedNode=n.target.value};f.$scope.selectNode=function(n){t.lastSelectedNode=t.selectedNode;t.selectedNode=n};f.$scope.afterSlideChange=function(){f.htmlHelper.updateSlick(f.$scope.selectedNode,!0)};f.$scope.$watch("selectedNode",function(){if(f.selectedNode!==f.$scope.selectedNode&&(f.$scope.isAnimatedOpen=!1),!n.isString(f.$scope.selectedNode))return void(i.headerMenuOpened=!1);i.headerMenuOpened=!0;f.$timeout(function(){f.htmlHelper.updateSlick(f.$scope.selectedNode)},50);f.$timeout(function(){f.$scope.isAnimatedOpen=!0},400)})}])}(angular),function(n){"use strict";n.module("JabraApplication.Navigation").controller("TopNavigationSearchController",["$scope",function(n){n.searchQuery="";n.clearSearchQuery=function(){n.searchQuery=""}}])}(angular),function(){"use strict";angular.module("JabraApplication.Navigation").directive("autoFillSync",["$timeout",function(n){return{require:"ngModel",link:function(t,i,r,u){return n(function(){var n=i.val();u.$pristine&&u.$viewValue!==n&&n&&u.$setViewValue(n)},500)}}}])}(),function(n){"use strict";n.module("JabraApplication.Navigation").directive("doDesktopRedirect",[function(){return{link:function(t,i,r){var u=!1,f=r.doDesktopRedirect;n.isString(f)&&""!==f&&(i.on("touchstart",function(){u=!0}),i.on("click",function(){if(u)return void(u=!1);window.location.href=f}))}}}])}(angular),function(n){"use strict";n.module("JabraApplication.Navigation").directive("uncheck",[function(){return{link:function(n,t,i){var u=i.uncheck,r=document.getElementById(u);null!==r&&t.on("click",function(){r.checked=!1})}}}])}(angular),function(n){"use strict";n.module("JabraApplication.Navigation").factory("topNavHtmlHelper",[function(){var t={};return t.updateSlick=function(t,i){var r,u=n.element("#top-navigation__"+t).parent();0!==u.find("slick [data-slick-index]").length&&(r=u.find("slick").slick("getSlick"));void 0!==r&&0!==r.length&&r.refresh(!0===i)},t}])}(angular);!function(n,t){"use strict";function a(){function v(n,t){for(var f={},u=n.split(","),i=0;i<u.length;i++)f[t?r(u[i]):u[i]]=!0;return f}function it(t,i){var e,r,u;null===t||void 0===t?t="":"string"!=typeof t&&(t=""+t);a.innerHTML=t;e=5;do{if(0===e)throw f("uinput","Failed to sanitize html because the input is unstable");e--;n.document.documentMode&&k(a);t=a.innerHTML;a.innerHTML=t}while(t!==a.innerHTML);for(r=a.firstChild;r;){switch(r.nodeType){case 1:i.start(r.nodeName.toLowerCase(),rt(r.attributes));break;case 3:i.chars(r.textContent)}if(!((u=r.firstChild)||(1===r.nodeType&&i.end(r.nodeName.toLowerCase()),u=y("nextSibling",r))))for(;null==u&&(r=y("parentNode",r))!==a;)u=y("nextSibling",r),1===r.nodeType&&i.end(r.nodeName.toLowerCase());r=u}for(;r=a.firstChild;)a.removeChild(r)}function rt(n){for(var i,r={},t=0,u=n.length;t<u;t++)i=n[t],r[i.name]=i.value;return r}function b(n){return n.replace(/&/g,"&amp;").replace(ft,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(et,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ut(n,t){var u=!1,i=e(n,n.push);return{start:function(n,f){n=r(n);!u&&lt[n]&&(u=n);u||!0!==w[n]||(i("<"),i(n),o(f,function(u,f){var e=r(f),o="img"===n&&"src"===e||"background"===e;!0===yt[e]&&(!0!==tt[e]||t(u,o))&&(i(" "),i(f),i('="'),i(b(u)),i('"'))}),i(">"))},end:function(n){n=r(n);u||!0!==w[n]||!0===d[n]||(i("<\/"),i(n),i(">"));n==u&&(u=!1)},chars:function(n){u||i(b(n))}}}function k(t){for(var r,u,f;t;){if(t.nodeType===n.Node.ELEMENT_NODE)for(var e=t.attributes,i=0,o=e.length;i<o;i++)r=e[i],u=r.name.toLowerCase(),"xmlns:ns1"!==u&&0!==u.lastIndexOf("ns1:",0)||(t.removeAttributeNode(r),i--,o--);f=t.firstChild;f&&k(f);t=y("nextSibling",t)}}function y(n,t){var i=t[n];if(i&&c.call(t,i))throw f("elclob","Failed to sanitize html because the element is clobbered: {0}",t.outerHTML||t.outerText);return i}var p=!1;this.$get=["$$sanitizeUri",function(n){return p&&i(w,ct),function(t){var i=[];return l(t,u(i,function(t,i){return!/^unsafe:/.test(n(t,i))})),i.join("")}}];this.enableSvg=function(n){return s(n)?(p=n,this):p};e=t.bind;i=t.extend;o=t.forEach;s=t.isDefined;r=t.lowercase;h=t.noop;l=it;u=ut;c=n.Node.prototype.contains||function(n){return!!(16&this.compareDocumentPosition(n))};var a,ft=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,et=/([^#-~ |!])/g,d=v("area,br,col,hr,img,wbr"),g=v("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),nt=v("rp,rt"),ot=i({},nt,g),st=i({},g,v("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),ht=i({},nt,v("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),ct=v("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),lt=v("script,style"),w=i({},d,st,ht,ot),tt=v("background,cite,href,longdesc,src,xlink:href"),at=v("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),vt=v("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),yt=i({},tt,vt,at);!function(n){var t,u,i,r;if(!n.document||!n.document.implementation)throw f("noinert","Can't create an inert html document");t=n.document.implementation.createHTMLDocument("inert");u=t.documentElement||t.getDocumentElement();i=u.getElementsByTagName("body");1===i.length?a=i[0]:(r=t.createElement("html"),a=t.createElement("body"),r.appendChild(a),t.appendChild(r))}(n)}function v(n){var t=[];return u(t,h).chars(n),t.join("")}var e,i,o,s,r,h,c,l,u,f=t.$$minErr("$sanitize");t.module("ngSanitize",[]).provider("$sanitize",a).info({angularVersion:"1.6.4"});t.module("ngSanitize").filter("linky",["$sanitize",function(n){var i=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,r=/^mailto:/i,u=t.$$minErr("linky"),f=t.isDefined,e=t.isFunction,o=t.isObject,s=t.isString;return function(t,h,c){function w(n){n&&a.push(v(n))}if(null==t||""===t)return t;if(!s(t))throw u("notstring","Expected string but received: {0}",t);for(var l,p,b,k=e(c)?c:o(c)?function(){return c}:function(){return{}},y=t,a=[];l=y.match(i);)p=l[0],l[2]||l[4]||(p=(l[3]?"http://":"mailto:")+p),b=l.index,w(y.substr(0,b)),function(n,t){var i,r=k(n);a.push("<a ");for(i in r)a.push(i+'="'+r[i]+'" ');!f(h)||"target"in r||a.push('target="',h,'" ');a.push('href="',n.replace(/"/g,"&quot;"),'">');w(t);a.push("<\/a>")}(p,l[0].replace(r,"")),y=y.substring(b+l[0].length);return w(y),n(a.join(""))}}])}(window,window.angular);!function(n){"use strict";n.module("JabraApplication",["JabraApplication.ProductApi","JabraApplication.Translation","JabraApplication.ContentElements","JabraApplication.CountryDetection","JabraApplication.DigitalRiver","JabraApplication.ProductCatalogue","JabraApplication.ProductFilterModule","JabraApplication.Navigation","JabraApplication.CountryDetection"]).config(["$sceProvider",function(n){n.enabled(!1)}]).config(["$locationProvider",function(n){n.hashPrefix("")}])}(angular)