CINXE.COM
Feedback Forum
<!DOCTYPE html> <!--[if lt IE 7]> <html class="lt-ie10 lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="lt-ie10 lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="lt-ie10 lt-ie9"> <![endif]--> <!--[if IE 9]> <html class="lt-ie10"> <![endif]--> <!--[if gt IE 9]><!--> <html> <!--<![endif]--> <head> <script src="https://feedback.userreport.com/exceptionless.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <title>Feedback Forum</title> <script type='text/javascript'> window.Timings = { Start: new Date().getTime() }; exceptionless.ExceptionlessClient.default.config.apiKey = "nktV73fa6ozzq3X3pJJd0fUBVW3bI6IETNOlU4KH"; </script> <script src='https://www.google.com/recaptcha/api.js?onload=recaptchaLoadCallback'></script> <style type="text/css"> .invisible { visibility: hidden; } input::-ms-clear { display: none !important; width: 0 !important; height: 0 !important; visibility: hidden !important; } </style> </head> <body data-bind="css: bodyClassName, pageSwitch: { className: pageClassName, dataAttr: 'page-switch' }"> <div id="globalLoadingLabel" style="font-family: Arial, sans-serif; font-size:14px; color: #889696; text-align: center; padding-top:100px;"> Loading... </div> <script> window.Timings.CdnScripts = new Date().getTime(); </script> <script type="text/javascript"> /* JS Signals <http://millermedeiros.github.com/js-signals/> Released under the MIT license Author: Miller Medeiros Version: 1.0.0 - Build: 268 (2012/11/29 05:48 PM) crossroads <http://millermedeiros.github.com/crossroads.js/> Author: Miller Medeiros | MIT License v0.12.0 (2013/01/21 13:47) MIT License - http://www.opensource.org/licenses/mit-license.php For usage and examples, visit: http://timeago.yarp.com/ Copyright (c) 2008-2013, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org) */ (function(v,E,w){function ac(a){for(var b="",e=0;e<a.length;e++){var d=a.charCodeAt(e);128>d?b+=String.fromCharCode(d):(127<d&&2048>d?b+=String.fromCharCode(d>>6|192):(b+=String.fromCharCode(d>>12|224),b+=String.fromCharCode(d>>6&63|128)),b+=String.fromCharCode(d&63|128))}a=b;for(var b="",f,g,l,n,s=0;s<a.length;)f=a.charCodeAt(s++),e=a.charCodeAt(s++),d=a.charCodeAt(s++),g=f>>2,f=(f&3)<<4|e>>4,l=(e&15)<<2|d>>6,n=d&63,isNaN(e)?l=n=64:isNaN(d)&&(n=64),b=b+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(g)+ "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(f)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(l)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(n);return b}function rb(a,b,e){if(e){var d=a.document.getElementById(e);d&&d.parentNode.removeChild(d)}var d=a.document.getElementsByTagName("head")[0]||a.document.body,f=a.document.createElement("style");e&&f.setAttribute("id",e);a=a.document.createTextNode(b);f.type="text/css"; f.styleSheet?f.styleSheet.cssText=a.nodeValue:f.appendChild(a);d.appendChild(f);return f}function sb(){return function(a,b,e){var d={},f=b.documentElement,g=b.createElement("modernizr"),g=g.style,l=" -webkit- -moz- -o- -ms- ".split(" "),n={},s=[],p=s.slice,u,c=function(a,c,d,e){var m,g,k=b.createElement("div"),l=b.body,n=l||b.createElement("body");if(parseInt(d,10))for(;d--;)m=b.createElement("div"),m.id=e?e[d]:"modernizr"+(d+1),k.appendChild(m);d=['­<style id="smodernizr">',a,"</style>"].join(""); k.id="modernizr";(l?k:n).innerHTML+=d;n.appendChild(k);l||(n.style.background="",n.style.overflow="hidden",g=f.style.overflow,f.style.overflow="hidden",f.appendChild(n));a=c(k,a);l?k.parentNode.removeChild(k):(n.parentNode.removeChild(n),f.style.overflow=g);return!!a},C={}.hasOwnProperty,A;A="undefined"!==typeof C&&"undefined"!==typeof C.call?function(a,b){return C.call(a,b)}:function(a,b){return b in a&&"undefined"===typeof a.constructor.prototype[b]};Function.prototype.bind||(Function.prototype.bind= function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=p.call(arguments,1),d=function(){if(this instanceof d){var f=function(){};f.prototype=b.prototype;var f=new f,e=b.apply(f,c.concat(p.call(arguments)));return Object(e)===e?e:f}return b.apply(a,c.concat(p.call(arguments)))};return d});n.touch=function(){var d;"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?d=!0:c(["@media (",l.join("touch-enabled),("),"modernizr){#modernizr{top:9px;position:absolute}}"].join(""), function(a){d=9===a.offsetTop});return d};n.inlinesvg=function(){var a=b.createElement("div");a.innerHTML="<svg/>";return"http://www.w3.org/2000/svg"==(a.firstChild&&a.firstChild.namespaceURI)};for(var F in n)A(n,F)&&(u=F.toLowerCase(),d[u]=n[F](),s.push((d[u]?"":"no-")+u));d.addTest=function(a,b){if("object"==typeof a)for(var c in a)A(a,c)&&d.addTest(c,a[c]);else{a=a.toLowerCase();if(d[a]!==e)return d;b="function"==typeof b?b():b;d[a]=b}return d};g.cssText="";g=null;d._version="2.7.1";d._prefixes= l;d.mq=function(b){var d=a.matchMedia||a.msMatchMedia;if(d)return d(b).matches;var f;c("@media "+b+" { #modernizr { position: absolute; } }",function(b){f="absolute"==(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position});return f};d.testStyles=c;f.className=f.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+"";return d}(this,this.document)}(function(a,b){"object"===typeof module&&"object"===typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw Error("jQuery requires a window with a document"); return b(a)}:b(a)})("undefined"!==typeof v?v:this,function(a,b){function e(q){var a=q.length,b=h.type(q);return"function"===b||h.isWindow(q)?!1:1===q.nodeType&&a?!0:"array"===b||0===a||"number"===typeof a&&0<a&&a-1 in q}function d(q,a,b){if(h.isFunction(a))return h.grep(q,function(q,c){return!!a.call(q,c,q)!==b});if(a.nodeType)return h.grep(q,function(q){return q===a!==b});if("string"===typeof a){if(ja.test(a))return h.filter(a,q,b);a=h.filter(a,q)}return h.grep(q,function(q){return 0<=h.inArray(q, a)!==b})}function f(q,a){do q=q[a];while(q&&1!==q.nodeType);return q}function g(q){var a=va[q]={};h.each(q.match(za)||[],function(q,b){a[b]=!0});return a}function l(){G.addEventListener?(G.removeEventListener("DOMContentLoaded",n,!1),a.removeEventListener("load",n,!1)):(G.detachEvent("onreadystatechange",n),a.detachEvent("onload",n))}function n(){if(G.addEventListener||"load"===event.type||"complete"===G.readyState)l(),h.ready()}function s(q,a,b){if(b===w&&1===q.nodeType)if(b="data-"+a.replace(xa, "-$1").toLowerCase(),b=q.getAttribute(b),"string"===typeof b){try{b="true"===b?!0:"false"===b?!1:"null"===b?null:+b+""===b?+b:pa.test(b)?h.parseJSON(b):b}catch(c){}h.data(q,a,b)}else b=w;return b}function p(q){for(var a in q)if(("data"!==a||!h.isEmptyObject(q[a]))&&"toJSON"!==a)return!1;return!0}function u(q,a,b,c){if(h.acceptData(q)){var d=h.expando,f=q.nodeType,e=f?h.cache:q,m=f?q[d]:q[d]&&d;if(m&&e[m]&&(c||e[m].data)||b!==w||"string"!==typeof a){m||(m=f?q[d]=ia.pop()||h.guid++:d);e[m]||(e[m]=f? {}:{toJSON:h.noop});if("object"===typeof a||"function"===typeof a)c?e[m]=h.extend(e[m],a):e[m].data=h.extend(e[m].data,a);q=e[m];c||(q.data||(q.data={}),q=q.data);b!==w&&(q[h.camelCase(a)]=b);"string"===typeof a?(b=q[a],null==b&&(b=q[h.camelCase(a)])):b=q;return b}}}function c(q,a,b){if(h.acceptData(q)){var c,d,f=q.nodeType,e=f?h.cache:q,m=f?q[h.expando]:h.expando;if(e[m]){if(a&&(c=b?e[m]:e[m].data)){h.isArray(a)?a=a.concat(h.map(a,h.camelCase)):a in c?a=[a]:(a=h.camelCase(a),a=a in c?[a]:a.split(" ")); for(d=a.length;d--;)delete c[a[d]];if(b?!p(c):!h.isEmptyObject(c))return}if(!b&&(delete e[m].data,!p(e[m])))return;f?h.cleanData([q],!0):B.deleteExpando||e!=e.window?delete e[m]:e[m]=null}}}function C(){return!0}function A(){return!1}function F(){try{return G.activeElement}catch(q){}}function H(q){var a=cb.split("|");q=q.createDocumentFragment();if(q.createElement)for(;a.length;)q.createElement(a.pop());return q}function r(q,a){var b,c,d=0,e=typeof q.getElementsByTagName!==Aa?q.getElementsByTagName(a|| "*"):typeof q.querySelectorAll!==Aa?q.querySelectorAll(a||"*"):w;if(!e)for(e=[],b=q.childNodes||q;null!=(c=b[d]);d++)!a||h.nodeName(c,a)?e.push(c):h.merge(e,r(c,a));return a===w||a&&h.nodeName(q,a)?h.merge([q],e):e}function P(q){ma.test(q.type)&&(q.defaultChecked=q.checked)}function Q(q,a){return h.nodeName(q,"table")&&h.nodeName(11!==a.nodeType?a:a.firstChild,"tr")?q.getElementsByTagName("tbody")[0]||q.appendChild(q.ownerDocument.createElement("tbody")):q}function m(q){q.type=(null!==h.find.attr(q, "type"))+"/"+q.type;return q}function x(q){var a=Za.exec(q.type);a?q.type=a[1]:q.removeAttribute("type");return q}function k(q,a){for(var b,c=0;null!=(b=q[c]);c++)h._data(b,"globalEval",!a||h._data(a[c],"globalEval"))}function I(q,a){if(1===a.nodeType&&h.hasData(q)){var b,c,d;c=h._data(q);var e=h._data(a,c),f=c.events;if(f)for(b in delete e.handle,e.events={},f)for(c=0,d=f[b].length;c<d;c++)h.event.add(a,b,f[b][c]);e.data&&(e.data=h.extend({},e.data))}}function da(q,b){var c,d=h(b.createElement(q)).appendTo(b.body), e=a.getDefaultComputedStyle&&(c=a.getDefaultComputedStyle(d[0]))?c.display:h.css(d[0],"display");d.detach();return e}function D(q){var a=G,b=Ja[q];b||(b=da(q,a),"none"!==b&&b||(ua=(ua||h("<iframe frameborder='0' width='0' height='0'/>")).appendTo(a.documentElement),a=(ua[0].contentWindow||ua[0].contentDocument).document,a.write(),a.close(),b=da(q,a),ua.detach()),Ja[q]=b);return b}function N(q,a){return{get:function(){var b=q();if(null!=b)if(b)delete this.get;else return(this.get=a).apply(this,arguments)}}} function ka(q,a){if(a in q)return a;for(var b=a.charAt(0).toUpperCase()+a.slice(1),c=a,d=qb.length;d--;)if(a=qb[d]+b,a in q)return a;return c}function K(q,a){for(var b,c,d,e=[],f=0,m=q.length;f<m;f++)c=q[f],c.style&&(e[f]=h._data(c,"olddisplay"),b=c.style.display,a?(e[f]||"none"!==b||(c.style.display=""),""===c.style.display&&Sa(c)&&(e[f]=h._data(c,"olddisplay",D(c.nodeName)))):(d=Sa(c),(b&&"none"!==b||!d)&&h._data(c,"olddisplay",d?b:h.css(c,"display"))));for(f=0;f<m;f++)c=q[f],!c.style||a&&"none"!== c.style.display&&""!==c.style.display||(c.style.display=a?e[f]||"":"none");return q}function ga(q,a,b){return(q=rb.exec(a))?Math.max(0,q[1]-(b||0))+(q[2]||"px"):a}function la(q,a,b,c,d){a=b===(c?"border":"content")?4:"width"===a?1:0;for(var e=0;4>a;a+=2)"margin"===b&&(e+=h.css(q,b+Fa[a],!0,d)),c?("content"===b&&(e-=h.css(q,"padding"+Fa[a],!0,d)),"margin"!==b&&(e-=h.css(q,"border"+Fa[a]+"Width",!0,d))):(e+=h.css(q,"padding"+Fa[a],!0,d),"padding"!==b&&(e+=h.css(q,"border"+Fa[a]+"Width",!0,d)));return e} function qa(q,a,b){var c=!0,d="width"===a?q.offsetWidth:q.offsetHeight,e=db(q),f=B.boxSizing&&"border-box"===h.css(q,"boxSizing",!1,e);if(0>=d||null==d){d=eb(q,a,e);if(0>d||null==d)d=q.style[a];if(sa.test(d))return d;c=f&&(B.boxSizingReliable()||d===q.style[a]);d=parseFloat(d)||0}return d+la(q,a,b||(f?"border":"content"),c,e)+"px"}function X(q,a,b,c,d){return new X.prototype.init(q,a,b,c,d)}function t(){setTimeout(function(){hb=w});return hb=h.now()}function v(q,a){var b,c={height:q},d=0;for(a=a? 1:0;4>d;d+=2-a)b=Fa[d],c["margin"+b]=c["padding"+b]=q;a&&(c.opacity=c.width=q);return c}function jb(q,a,b){for(var c,d=(ub[a]||[]).concat(ub["*"]),e=0,f=d.length;e<f;e++)if(c=d[e].call(b,a,q))return c}function ta(q,a){var b,c,d,e,f;for(b in q)if(c=h.camelCase(b),d=a[c],e=q[b],h.isArray(e)&&(d=e[1],e=q[b]=e[0]),b!==c&&(q[c]=e,delete q[b]),(f=h.cssHooks[c])&&"expand"in f)for(b in e=f.expand(e),delete q[c],e)b in q||(q[b]=e[b],a[b]=d);else a[c]=d}function y(q,a,b){var c,d=0,e=Hb.length,f=h.Deferred().always(function(){delete m.elem}), m=function(){if(c)return!1;for(var a=hb||t(),a=Math.max(0,k.startTime+k.duration-a),b=1-(a/k.duration||0),d=0,e=k.tweens.length;d<e;d++)k.tweens[d].run(b);f.notifyWith(q,[k,b,a]);if(1>b&&e)return a;f.resolveWith(q,[k]);return!1},k=f.promise({elem:q,props:h.extend({},a),opts:h.extend(!0,{specialEasing:{}},b),originalProperties:a,originalOptions:b,startTime:hb||t(),duration:b.duration,tweens:[],createTween:function(a,b){var c=h.Tween(q,k.opts,a,b,k.opts.specialEasing[a]||k.opts.easing);k.tweens.push(c); return c},stop:function(a){var b=0,d=a?k.tweens.length:0;if(c)return this;for(c=!0;b<d;b++)k.tweens[b].run(1);a?f.resolveWith(q,[k,a]):f.rejectWith(q,[k,a]);return this}});b=k.props;for(ta(b,k.opts.specialEasing);d<e;d++)if(a=Hb[d].call(k,q,b,k.opts))return a;h.map(b,jb,k);h.isFunction(k.opts.start)&&k.opts.start.call(q,k);h.fx.timer(h.extend(m,{elem:q,anim:k,queue:k.opts.queue}));return k.progress(k.opts.progress).done(k.opts.done,k.opts.complete).fail(k.opts.fail).always(k.opts.always)}function z(q){return function(a, b){"string"!==typeof a&&(b=a,a="*");var c,d=0,e=a.toLowerCase().match(za)||[];if(h.isFunction(b))for(;c=e[d++];)"+"===c.charAt(0)?(c=c.slice(1)||"*",(q[c]=q[c]||[]).unshift(b)):(q[c]=q[c]||[]).push(b)}}function T(q,a,b,c){function d(m){var k;e[m]=!0;h.each(q[m]||[],function(q,h){var m=h(a,b,c);if("string"===typeof m&&!f&&!e[m])return a.dataTypes.unshift(m),d(m),!1;if(f)return!(k=m)});return k}var e={},f=q===bc;return d(a.dataTypes[0])||!e["*"]&&d("*")}function L(q,a){var b,c,d=h.ajaxSettings.flatOptions|| {};for(c in a)a[c]!==w&&((d[c]?q:b||(b={}))[c]=a[c]);b&&h.extend(!0,q,b);return q}function S(q,a,b,c){var d;if(h.isArray(a))h.each(a,function(a,d){b||Xb.test(q)?c(q,d):S(q+"["+("object"===typeof d?a:"")+"]",d,b,c)});else if(b||"object"!==h.type(a))c(q,a);else for(d in a)S(q+"["+d+"]",a[d],b,c)}function V(){try{return new a.XMLHttpRequest}catch(q){}}function W(a){return h.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}var ia=[],ba=ia.slice,J=ia.concat,E=ia.push,M=ia.indexOf,O={},U=O.toString, R=O.hasOwnProperty,B={},h=function(a,b){return new h.fn.init(a,b)},Y=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,aa=/^-ms-/,ca=/-([\da-z])/gi,ra=function(a,b){return b.toUpperCase()};h.fn=h.prototype={jquery:"1.11.1",constructor:h,selector:"",length:0,toArray:function(){return ba.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:ba.call(this)},pushStack:function(a){a=h.merge(this.constructor(),a);a.prevObject=this;a.context=this.context;return a},each:function(a,b){return h.each(this, a,b)},map:function(a){return this.pushStack(h.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(ba.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length;a=+a+(0>a?b:0);return this.pushStack(0<=a&&a<b?[this[a]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:ia.sort,splice:ia.splice};h.extend=h.fn.extend=function(){var a,b,c,d,e,f=arguments[0]||{},m=1,k=arguments.length, g=!1;"boolean"===typeof f&&(g=f,f=arguments[m]||{},m++);"object"===typeof f||h.isFunction(f)||(f={});m===k&&(f=this,m--);for(;m<k;m++)if(null!=(e=arguments[m]))for(d in e)a=f[d],c=e[d],f!==c&&(g&&c&&(h.isPlainObject(c)||(b=h.isArray(c)))?(b?(b=!1,a=a&&h.isArray(a)?a:[]):a=a&&h.isPlainObject(a)?a:{},f[d]=h.extend(g,a,c)):c!==w&&(f[d]=c));return f};h.extend({expando:"jQuery"+("1.11.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw Error(a);},noop:function(){},isFunction:function(a){return"function"=== h.type(a)},isArray:Array.isArray||function(a){return"array"===h.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!h.isArray(a)&&0<=a-parseFloat(a)},isEmptyObject:function(a){for(var b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==h.type(a)||a.nodeType||h.isWindow(a))return!1;try{if(a.constructor&&!R.call(a,"constructor")&&!R.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(B.ownLast)for(b in a)return R.call(a, b);for(b in a);return b===w||R.call(a,b)},type:function(a){return null==a?a+"":"object"===typeof a||"function"===typeof a?O[U.call(a)]||"object":typeof a},globalEval:function(b){b&&h.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(aa,"ms-").replace(ca,ra)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,f=0,h=a.length;d=e(a);if(c)if(d)for(;f<h&&(d=b.apply(a[f],c),!1!==d);f++);else for(f in a){if(d= b.apply(a[f],c),!1===d)break}else if(d)for(;f<h&&(d=b.call(a[f],f,a[f]),!1!==d);f++);else for(f in a)if(d=b.call(a[f],f,a[f]),!1===d)break;return a},trim:function(a){return null==a?"":(a+"").replace(Y,"")},makeArray:function(a,b){var c=b||[];null!=a&&(e(Object(a))?h.merge(c,"string"===typeof a?[a]:a):E.call(c,a));return c},inArray:function(a,b,c){var d;if(b){if(M)return M.call(b,a,c);d=b.length;for(c=c?0>c?Math.max(0,d+c):c:0;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){for(var c= +b.length,d=0,e=a.length;d<c;)a[e++]=b[d++];if(c!==c)for(;b[d]!==w;)a[e++]=b[d++];a.length=e;return a},grep:function(a,b,c){for(var d=[],e=0,f=a.length,h=!c;e<f;e++)c=!b(a[e],e),c!==h&&d.push(a[e]);return d},map:function(a,b,c){var d,f=0,h=a.length,m=[];if(e(a))for(;f<h;f++)d=b(a[f],f,c),null!=d&&m.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&m.push(d);return J.apply([],m)},guid:1,proxy:function(a,b){var c,d;"string"===typeof b&&(d=a[b],b=a,a=d);if(!h.isFunction(a))return w;c=ba.call(arguments, 2);d=function(){return a.apply(b||this,c.concat(ba.call(arguments)))};d.guid=a.guid=a.guid||h.guid++;return d},now:function(){return+new Date},support:B});h.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){O["[object "+b+"]"]=b.toLowerCase()});var Z=function(a){function b(a,q,c,d){var e,f,h,m,fa;(q?q.ownerDocument||q:Ba)!==A&&la(q);q=q||A;c=c||[];if(!a||"string"!==typeof a)return c;if(1!==(m=q.nodeType)&&9!==m)return[];if(C&&!d){if(e=ca.exec(a))if(h=e[1])if(9=== m)if((f=q.getElementById(h))&&f.parentNode){if(f.id===h)return c.push(f),c}else return c;else{if(q.ownerDocument&&(f=q.ownerDocument.getElementById(h))&&X(q,f)&&f.id===h)return c.push(f),c}else{if(e[2])return Ra.apply(c,q.getElementsByTagName(a)),c;if((h=e[3])&&z.getElementsByClassName&&q.getElementsByClassName)return Ra.apply(c,q.getElementsByClassName(h)),c}if(z.qsa&&(!qa||!qa.test(a))){f=e=F;h=q;fa=9===m&&a;if(1===m&&"object"!==q.nodeName.toLowerCase()){m=da(a);(e=q.getAttribute("id"))?f=e.replace(pc, "\\$&"):q.setAttribute("id",f);f="[id='"+f+"'] ";for(h=m.length;h--;)m[h]=f+y(m[h]);h=kb.test(a)&&l(q.parentNode)||q;fa=m.join(",")}if(fa)try{return Ra.apply(c,h.querySelectorAll(fa)),c}catch(k){}finally{e||q.removeAttribute("id")}}}return K(a.replace(cb,"$1"),q,c,d)}function c(){function a(q,c){b.push(q+" ")>D.cacheLength&&delete a[b.shift()];return a[q+" "]=c}var b=[];return a}function d(a){a[F]=!0;return a}function e(a){var b=A.createElement("div");try{return!!a(b)}catch(q){return!1}finally{b.parentNode&& b.parentNode.removeChild(b)}}function f(a,b){for(var q=a.split("|"),c=a.length;c--;)D.attrHandle[q[c]]=b}function h(a,b){var q=b&&a,c=q&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||kc)-(~a.sourceIndex||kc);if(c)return c;if(q)for(;q=q.nextSibling;)if(q===b)return-1;return a?1:-1}function m(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}}function k(a){return function(b){var q=b.nodeName.toLowerCase();return("input"===q||"button"===q)&&b.type===a}}function g(a){return d(function(b){b= +b;return d(function(q,c){for(var d,e=a([],q.length,b),f=e.length;f--;)q[d=e[f]]&&(q[d]=!(c[d]=q[d]))})})}function l(a){return a&&typeof a.getElementsByTagName!==ib&&a}function r(){}function y(a){for(var b=0,q=a.length,c="";b<q;b++)c+=a[b].value;return c}function x(a,b,q){var c=b.dir,d=q&&"parentNode"===c,e=ta++;return b.first?function(b,q,e){for(;b=b[c];)if(1===b.nodeType||d)return a(b,q,e)}:function(b,q,f){var h,m,fa=[t,e];if(f)for(;b=b[c];){if((1===b.nodeType||d)&&a(b,q,f))return!0}else for(;b= b[c];)if(1===b.nodeType||d){m=b[F]||(b[F]={});if((h=m[c])&&h[0]===t&&h[1]===e)return fa[2]=h[2];m[c]=fa;if(fa[2]=a(b,q,f))return!0}}}function n(a){return 1<a.length?function(b,q,c){for(var d=a.length;d--;)if(!a[d](b,q,c))return!1;return!0}:a[0]}function p(a,b,q,c,d){for(var e,f=[],h=0,m=a.length,fa=null!=b;h<m;h++)if(e=a[h])if(!q||q(e,c,d))f.push(e),fa&&b.push(h);return f}function N(a,q,c,e,f,h){e&&!e[F]&&(e=N(e));f&&!f[F]&&(f=N(f,h));return d(function(d,h,m,k){var g,na,l=[],r=[],y=h.length,x;if(!(x= d)){x=q||"*";for(var n=m.nodeType?[m]:m,tb=[],N=0,I=n.length;N<I;N++)b(x,n[N],tb);x=tb}x=!a||!d&&q?x:p(x,l,a,m,k);n=c?f||(d?a:y||e)?[]:h:x;c&&c(x,n,m,k);if(e)for(g=p(n,r),e(g,[],m,k),m=g.length;m--;)if(na=g[m])n[r[m]]=!(x[r[m]]=na);if(d){if(f||a){if(f){g=[];for(m=n.length;m--;)(na=n[m])&&g.push(x[m]=na);f(null,n=[],g,k)}for(m=n.length;m--;)(na=n[m])&&-1<(g=f?Ua.call(d,na):l[m])&&(d[g]=!(h[g]=na))}}else n=p(n===h?n.splice(y,n.length):n),f?f(null,h,n,k):Ra.apply(h,n)})}function I(a){var b,q,c,d=a.length, e=D.relative[a[0].type];q=e||D.relative[" "];for(var f=e?1:0,h=x(function(a){return a===b},q,!0),m=x(function(a){return-1<Ua.call(b,a)},q,!0),fa=[function(a,q,c){return!e&&(c||q!==ka)||((b=q).nodeType?h(a,q,c):m(a,q,c))}];f<d;f++)if(q=D.relative[a[f].type])fa=[x(n(fa),q)];else{q=D.filter[a[f].type].apply(null,a[f].matches);if(q[F]){for(c=++f;c<d&&!D.relative[a[c].type];c++);return N(1<f&&n(fa),1<f&&y(a.slice(0,f-1).concat({value:" "===a[f-2].type?"*":""})).replace(cb,"$1"),q,f<c&&I(a.slice(f,c)), c<d&&I(a=a.slice(c)),c<d&&y(a))}fa.push(q)}return n(fa)}function Q(a,q){var c=0<q.length,f=0<a.length,e=function(d,e,h,m,k){var g,na,l,r=0,y="0",x=d&&[],n=[],N=ka,tb=d||f&&D.find.TAG("*",k),I=t+=null==N?1:Math.random()||.1,z=tb.length;for(k&&(ka=e!==A&&e);y!==z&&null!=(g=tb[y]);y++){if(f&&g){for(na=0;l=a[na++];)if(l(g,e,h)){m.push(g);break}k&&(t=I)}c&&((g=!l&&g)&&r--,d&&x.push(g))}r+=y;if(c&&y!==r){for(na=0;l=q[na++];)l(x,n,e,h);if(d){if(0<r)for(;y--;)x[y]||n[y]||(n[y]=ia.call(m));n=p(n)}Ra.apply(m, n);k&&!d&&0<n.length&&1<r+q.length&&b.uniqueSort(m)}k&&(t=I,ka=N);return x};return c?d(e):e}var u,z,D,s,P,da,T,K,ka,ga,L,la,A,S,C,qa,V,H,X,F="sizzle"+-new Date,Ba=a.document,t=0,ta=0,v=c(),W=c(),Ib=c(),B=function(a,b){a===b&&(L=!0);return 0},ib=typeof w,kc=-2147483648,jb={}.hasOwnProperty,Ta=[],ia=Ta.pop,G=Ta.push,Ra=Ta.push,ba=Ta.slice,Ua=Ta.indexOf||function(a){for(var b=0,q=this.length;b<q;b++)if(this[b]===a)return b;return-1},J="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w#"),E="\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ J+"))|)[\\x20\\t\\r\\n\\f]*\\]",M=":((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+E+")*)|.*)\\)|)",cb=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),cc=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,O=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,R=RegExp("=[\\x20\\t\\r\\n\\f]*([^\\]'\"]*?)[\\x20\\t\\r\\n\\f]*\\]","g"),U=new RegExp(M),oc=new RegExp("^"+J+"$"),Wa={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/, CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,TAG:new RegExp("^("+"(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w*")+")"),ATTR:new RegExp("^"+E),PSEUDO:new RegExp("^"+M),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:RegExp("^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$", "i"),needsContext:RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,aa=/^h\d$/i,wa=/^[^{]+\{\s*\[native \w/,ca=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,kb=/[+~]/,pc=/'|\\/g,ea=RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig"),Z=function(a,b,q){a="0x"+b-65536;return a!==a||q?b:0>a?String.fromCharCode(a+65536):String.fromCharCode(a>>10| 55296,a&1023|56320)};try{Ra.apply(Ta=ba.call(Ba.childNodes),Ba.childNodes),Ta[Ba.childNodes.length].nodeType}catch(ra){Ra={apply:Ta.length?function(a,b){G.apply(a,ba.call(b))}:function(a,b){for(var q=a.length,c=0;a[q++]=b[c++];);a.length=q-1}}}z=b.support={};P=b.isXML=function(a){return(a=a&&(a.ownerDocument||a).documentElement)?"HTML"!==a.nodeName:!1};la=b.setDocument=function(a){var b=a?a.ownerDocument||a:Ba;a=b.defaultView;if(b===A||9!==b.nodeType||!b.documentElement)return A;A=b;S=b.documentElement; C=!P(b);a&&a!==a.top&&(a.addEventListener?a.addEventListener("unload",function(){la()},!1):a.attachEvent&&a.attachEvent("onunload",function(){la()}));z.attributes=e(function(a){a.className="i";return!a.getAttribute("className")});z.getElementsByTagName=e(function(a){a.appendChild(b.createComment(""));return!a.getElementsByTagName("*").length});z.getElementsByClassName=wa.test(b.getElementsByClassName)&&e(function(a){a.innerHTML="<div class='a'></div><div class='a i'></div>";a.firstChild.className= "i";return 2===a.getElementsByClassName("i").length});z.getById=e(function(a){S.appendChild(a).id=F;return!b.getElementsByName||!b.getElementsByName(F).length});z.getById?(D.find.ID=function(a,b){if(typeof b.getElementById!==ib&&C){var q=b.getElementById(a);return q&&q.parentNode?[q]:[]}},D.filter.ID=function(a){var b=a.replace(ea,Z);return function(a){return a.getAttribute("id")===b}}):(delete D.find.ID,D.filter.ID=function(a){var b=a.replace(ea,Z);return function(a){return(a=typeof a.getAttributeNode!== ib&&a.getAttributeNode("id"))&&a.value===b}});D.find.TAG=z.getElementsByTagName?function(a,b){if(typeof b.getElementsByTagName!==ib)return b.getElementsByTagName(a)}:function(a,b){var q,c=[],d=0,e=b.getElementsByTagName(a);if("*"===a){for(;q=e[d++];)1===q.nodeType&&c.push(q);return c}return e};D.find.CLASS=z.getElementsByClassName&&function(a,b){if(typeof b.getElementsByClassName!==ib&&C)return b.getElementsByClassName(a)};V=[];qa=[];if(z.qsa=wa.test(b.querySelectorAll))e(function(a){a.innerHTML= "<select msallowclip=''><option selected=''></option></select>";a.querySelectorAll("[msallowclip^='']").length&&qa.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll("[selected]").length||qa.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");a.querySelectorAll(":checked").length||qa.push(":checked")}),e(function(a){var q=b.createElement("input");q.setAttribute("type","hidden"); a.appendChild(q).setAttribute("name","D");a.querySelectorAll("[name=d]").length&&qa.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?=");a.querySelectorAll(":enabled").length||qa.push(":enabled",":disabled");a.querySelectorAll("*,:x");qa.push(",.*:")});(z.matchesSelector=wa.test(H=S.matches||S.webkitMatchesSelector||S.mozMatchesSelector||S.oMatchesSelector||S.msMatchesSelector))&&e(function(a){z.disconnectedMatch=H.call(a,"div");H.call(a,"[s!='']:x");V.push("!=",M)});qa=qa.length&&new RegExp(qa.join("|")); V=V.length&&new RegExp(V.join("|"));X=(a=wa.test(S.compareDocumentPosition))||wa.test(S.contains)?function(a,b){var q=9===a.nodeType?a.documentElement:a,c=b&&b.parentNode;return a===c||!!(c&&1===c.nodeType&&(q.contains?q.contains(c):a.compareDocumentPosition&&a.compareDocumentPosition(c)&16))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1};B=a?function(a,q){if(a===q)return L=!0,0;var c=!a.compareDocumentPosition-!q.compareDocumentPosition;if(c)return c;c=(a.ownerDocument||a)=== (q.ownerDocument||q)?a.compareDocumentPosition(q):1;return c&1||!z.sortDetached&&q.compareDocumentPosition(a)===c?a===b||a.ownerDocument===Ba&&X(Ba,a)?-1:q===b||q.ownerDocument===Ba&&X(Ba,q)?1:ga?Ua.call(ga,a)-Ua.call(ga,q):0:c&4?-1:1}:function(a,q){if(a===q)return L=!0,0;var c,d=0;c=a.parentNode;var e=q.parentNode,f=[a],m=[q];if(!c||!e)return a===b?-1:q===b?1:c?-1:e?1:ga?Ua.call(ga,a)-Ua.call(ga,q):0;if(c===e)return h(a,q);for(c=a;c=c.parentNode;)f.unshift(c);for(c=q;c=c.parentNode;)m.unshift(c); for(;f[d]===m[d];)d++;return d?h(f[d],m[d]):f[d]===Ba?-1:m[d]===Ba?1:0};return b};b.matches=function(a,q){return b(a,null,null,q)};b.matchesSelector=function(a,q){(a.ownerDocument||a)!==A&&la(a);q=q.replace(R,"='$1']");if(!(!z.matchesSelector||!C||V&&V.test(q)||qa&&qa.test(q)))try{var c=H.call(a,q);if(c||z.disconnectedMatch||a.document&&11!==a.document.nodeType)return c}catch(d){}return 0<b(q,A,null,[a]).length};b.contains=function(a,b){(a.ownerDocument||a)!==A&&la(a);return X(a,b)};b.attr=function(a, b){(a.ownerDocument||a)!==A&&la(a);var q=D.attrHandle[b.toLowerCase()],q=q&&jb.call(D.attrHandle,b.toLowerCase())?q(a,b,!C):w;return q!==w?q:z.attributes||!C?a.getAttribute(b):(q=a.getAttributeNode(b))&&q.specified?q.value:null};b.error=function(a){throw Error("Syntax error, unrecognized expression: "+a);};b.uniqueSort=function(a){var b,q=[],c=0,d=0;L=!z.detectDuplicates;ga=!z.sortStable&&a.slice(0);a.sort(B);if(L){for(;b=a[d++];)b===a[d]&&(c=q.push(d));for(;c--;)a.splice(q[c],1)}ga=null;return a}; s=b.getText=function(a){var b,q="",c=0;b=a.nodeType;if(!b)for(;b=a[c++];)q+=s(b);else if(1===b||9===b||11===b){if("string"===typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)q+=s(a)}else if(3===b||4===b)return a.nodeValue;return q};D=b.selectors={cacheLength:50,createPseudo:d,match:Wa,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){a[1]= a[1].replace(ea,Z);a[3]=(a[3]||a[4]||a[5]||"").replace(ea,Z);"~="===a[2]&&(a[3]=" "+a[3]+" ");return a.slice(0,4)},CHILD:function(a){a[1]=a[1].toLowerCase();"nth"===a[1].slice(0,3)?(a[3]||b.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&b.error(a[0]);return a},PSEUDO:function(a){var b,q=!a[6]&&a[2];if(Wa.CHILD.test(a[0]))return null;a[3]?a[2]=a[4]||a[5]||"":q&&U.test(q)&&(b=da(q,!0))&&(b=q.indexOf(")",q.length-b)-q.length)&&(a[0]=a[0].slice(0, b),a[2]=q.slice(0,b));return a.slice(0,3)}},filter:{TAG:function(a){var b=a.replace(ea,Z).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=v[a+" "];return b||(b=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"))&&v(a,function(a){return b.test("string"===typeof a.className&&a.className||typeof a.getAttribute!==ib&&a.getAttribute("class")||"")})},ATTR:function(a,q,c){return function(d){d=b.attr(d,a); if(null==d)return"!="===q;if(!q)return!0;d+="";return"="===q?d===c:"!="===q?d!==c:"^="===q?c&&0===d.indexOf(c):"*="===q?c&&-1<d.indexOf(c):"$="===q?c&&d.slice(-c.length)===c:"~="===q?-1<(" "+d+" ").indexOf(c):"|="===q?d===c||d.slice(0,c.length+1)===c+"-":!1}},CHILD:function(a,b,q,c,d){var e="nth"!==a.slice(0,3),f="last"!==a.slice(-4),h="of-type"===b;return 1===c&&0===d?function(a){return!!a.parentNode}:function(b,q,m){var fa,k,g,na,l;q=e!==f?"nextSibling":"previousSibling";var r=b.parentNode,y=h&& b.nodeName.toLowerCase();m=!m&&!h;if(r){if(e){for(;q;){for(k=b;k=k[q];)if(h?k.nodeName.toLowerCase()===y:1===k.nodeType)return!1;l=q="only"===a&&!l&&"nextSibling"}return!0}l=[f?r.firstChild:r.lastChild];if(f&&m)for(m=r[F]||(r[F]={}),fa=m[a]||[],na=fa[0]===t&&fa[1],g=fa[0]===t&&fa[2],k=na&&r.childNodes[na];k=++na&&k&&k[q]||(g=na=0)||l.pop();){if(1===k.nodeType&&++g&&k===b){m[a]=[t,na,g];break}}else if(m&&(fa=(b[F]||(b[F]={}))[a])&&fa[0]===t)g=fa[1];else for(;(k=++na&&k&&k[q]||(g=na=0)||l.pop())&&((h? k.nodeName.toLowerCase()!==y:1!==k.nodeType)||!++g||(m&&((k[F]||(k[F]={}))[a]=[t,g]),k!==b)););g-=d;return g===c||0===g%c&&0<=g/c}}},PSEUDO:function(a,q){var c,e=D.pseudos[a]||D.setFilters[a.toLowerCase()]||b.error("unsupported pseudo: "+a);return e[F]?e(q):1<e.length?(c=[a,a,"",q],D.setFilters.hasOwnProperty(a.toLowerCase())?d(function(a,b){for(var c,d=e(a,q),f=d.length;f--;)c=Ua.call(a,d[f]),a[c]=!(b[c]=d[f])}):function(a){return e(a,0,c)}):e}},pseudos:{not:d(function(a){var b=[],q=[],c=T(a.replace(cb, "$1"));return c[F]?d(function(a,b,q,d){d=c(a,null,d,[]);for(var e=a.length;e--;)if(q=d[e])a[e]=!(b[e]=q)}):function(a,d,e){b[0]=a;c(b,null,e,q);return!q.pop()}}),has:d(function(a){return function(q){return 0<b(a,q).length}}),contains:d(function(a){return function(b){return-1<(b.textContent||b.innerText||s(b)).indexOf(a)}}),lang:d(function(a){oc.test(a||"")||b.error("unsupported lang: "+a);a=a.replace(ea,Z).toLowerCase();return function(b){var q;do if(q=C?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return q= q.toLowerCase(),q===a||0===q.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===S},focus:function(a){return a===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return!1===a.disabled},disabled:function(a){return!0===a.disabled},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&& !!a.selected},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(6>a.nodeType)return!1;return!0},parent:function(a){return!D.pseudos.empty(a)},header:function(a){return aa.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"=== a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:g(function(){return[0]}),last:g(function(a,b){return[b-1]}),eq:g(function(a,b,q){return[0>q?q+b:q]}),even:g(function(a,b){for(var q=0;q<b;q+=2)a.push(q);return a}),odd:g(function(a,b){for(var q=1;q<b;q+=2)a.push(q);return a}),lt:g(function(a,b,q){for(b=0>q?q+b:q;0<=--b;)a.push(b);return a}),gt:g(function(a,b,q){for(q=0>q?q+b:q;++q<b;)a.push(q);return a})}};D.pseudos.nth=D.pseudos.eq;for(u in{radio:!0,checkbox:!0,file:!0,password:!0, image:!0})D.pseudos[u]=m(u);for(u in{submit:!0,reset:!0})D.pseudos[u]=k(u);r.prototype=D.filters=D.pseudos;D.setFilters=new r;da=b.tokenize=function(a,q){var c,d,e,f,h,m,k;if(h=W[a+" "])return q?0:h.slice(0);h=a;m=[];for(k=D.preFilter;h;){if(!c||(d=cc.exec(h)))d&&(h=h.slice(d[0].length)||h),m.push(e=[]);c=!1;if(d=O.exec(h))c=d.shift(),e.push({value:c,type:d[0].replace(cb," ")}),h=h.slice(c.length);for(f in D.filter)!(d=Wa[f].exec(h))||k[f]&&!(d=k[f](d))||(c=d.shift(),e.push({value:c,type:f,matches:d}), h=h.slice(c.length));if(!c)break}return q?h.length:h?b.error(a):W(a,m).slice(0)};T=b.compile=function(a,b){var q,c=[],d=[],e=Ib[a+" "];if(!e){b||(b=da(a));for(q=b.length;q--;)e=I(b[q]),e[F]?c.push(e):d.push(e);e=Ib(a,Q(d,c));e.selector=a}return e};K=b.select=function(a,b,q,c){var d,e,f,h,m="function"===typeof a&&a,k=!c&&da(a=m.selector||a);q=q||[];if(1===k.length){e=k[0]=k[0].slice(0);if(2<e.length&&"ID"===(f=e[0]).type&&z.getById&&9===b.nodeType&&C&&D.relative[e[1].type]){b=(D.find.ID(f.matches[0].replace(ea, Z),b)||[])[0];if(!b)return q;m&&(b=b.parentNode);a=a.slice(e.shift().value.length)}for(d=Wa.needsContext.test(a)?0:e.length;d--;){f=e[d];if(D.relative[h=f.type])break;if(h=D.find[h])if(c=h(f.matches[0].replace(ea,Z),kb.test(e[0].type)&&l(b.parentNode)||b)){e.splice(d,1);a=c.length&&y(e);if(!a)return Ra.apply(q,c),q;break}}}(m||T(a,k))(c,b,!C,q,kb.test(a)&&l(b.parentNode)||b);return q};z.sortStable=F.split("").sort(B).join("")===F;z.detectDuplicates=!!L;la();z.sortDetached=e(function(a){return a.compareDocumentPosition(A.createElement("div"))& 1});e(function(a){a.innerHTML="<a href='#'></a>";return"#"===a.firstChild.getAttribute("href")})||f("type|href|height|width",function(a,b,q){if(!q)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)});z.attributes&&e(function(a){a.innerHTML="<input/>";a.firstChild.setAttribute("value","");return""===a.firstChild.getAttribute("value")})||f("value",function(a,b,q){if(!q&&"input"===a.nodeName.toLowerCase())return a.defaultValue});e(function(a){return null==a.getAttribute("disabled")})||f("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", function(a,b,q){var c;if(!q)return!0===a[b]?b.toLowerCase():(c=a.getAttributeNode(b))&&c.specified?c.value:null});return b}(a);h.find=Z;h.expr=Z.selectors;h.expr[":"]=h.expr.pseudos;h.unique=Z.uniqueSort;h.text=Z.getText;h.isXMLDoc=Z.isXML;h.contains=Z.contains;var Ka=h.expr.match.needsContext,La=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ja=/^.[^:#\[\.,]*$/;h.filter=function(a,b,c){var d=b[0];c&&(a=":not("+a+")");return 1===b.length&&1===d.nodeType?h.find.matchesSelector(d,a)?[d]:[]:h.find.matches(a,h.grep(b, function(a){return 1===a.nodeType}))};h.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!==typeof a)return this.pushStack(h(a).filter(function(){for(b=0;b<e;b++)if(h.contains(d[b],this))return!0}));for(b=0;b<e;b++)h.find(a,d[b],c);c=this.pushStack(1<e?h.unique(c):c);c.selector=this.selector?this.selector+" "+a:a;return c},filter:function(a){return this.pushStack(d(this,a||[],!1))},not:function(a){return this.pushStack(d(this,a||[],!0))},is:function(a){return!!d(this,"string"=== typeof a&&Ka.test(a)?h(a):a||[],!1).length}});var Ma,G=a.document,Na=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(h.fn.init=function(a,b){var c,d;if(!a)return this;if("string"===typeof a){c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&3<=a.length?[null,a,null]:Na.exec(a);if(!c||!c[1]&&b)return!b||b.jquery?(b||Ma).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof h?b[0]:b,h.merge(this,h.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:G,!0)),La.test(c[1])&&h.isPlainObject(b))for(c in b)if(h.isFunction(this[c]))this[c](b[c]); else this.attr(c,b[c])}else{if((d=G.getElementById(c[2]))&&d.parentNode){if(d.id!==c[2])return Ma.find(a);this.length=1;this[0]=d}this.context=G;this.selector=a}return this}if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(h.isFunction(a))return"undefined"!==typeof Ma.ready?Ma.ready(a):a(h);a.selector!==w&&(this.selector=a.selector,this.context=a.context);return h.makeArray(a,this)}).prototype=h.fn;Ma=h(G);var Ga=/^(?:parents|prev(?:Until|All))/,ha={children:!0,contents:!0,next:!0, prev:!0};h.extend({dir:function(a,b,c){var d=[];for(a=a[b];a&&9!==a.nodeType&&(c===w||1!==a.nodeType||!h(a).is(c));)1===a.nodeType&&d.push(a),a=a[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}});h.fn.extend({has:function(a){var b,c=h(a,this),d=c.length;return this.filter(function(){for(b=0;b<d;b++)if(h.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],m=Ka.test(a)||"string"!==typeof a?h(a,b||this.context): 0;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(11>c.nodeType&&(m?-1<m.index(c):1===c.nodeType&&h.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(1<f.length?h.unique(f):f)},index:function(a){return a?"string"===typeof a?h.inArray(this[0],h(a)):h.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(h.unique(h.merge(this.get(),h(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}}); h.each({parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},parents:function(a){return h.dir(a,"parentNode")},parentsUntil:function(a,b,c){return h.dir(a,"parentNode",c)},next:function(a){return f(a,"nextSibling")},prev:function(a){return f(a,"previousSibling")},nextAll:function(a){return h.dir(a,"nextSibling")},prevAll:function(a){return h.dir(a,"previousSibling")},nextUntil:function(a,b,c){return h.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return h.dir(a,"previousSibling", c)},siblings:function(a){return h.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return h.sibling(a.firstChild)},contents:function(a){return h.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:h.merge([],a.childNodes)}},function(a,b){h.fn[a]=function(c,d){var e=h.map(this,b,c);"Until"!==a.slice(-5)&&(d=c);d&&"string"===typeof d&&(e=h.filter(d,e));1<this.length&&(ha[a]||(e=h.unique(e)),Ga.test(a)&&(e=e.reverse()));return this.pushStack(e)}});var za=/\S+/g,va={};h.Callbacks= function(a){a="string"===typeof a?va[a]||g(a):h.extend({},a);var b,c,d,e,f,m,k=[],l=!a.once&&[],r=function(h){c=a.memory&&h;d=!0;f=m||0;m=0;e=k.length;for(b=!0;k&&f<e;f++)if(!1===k[f].apply(h[0],h[1])&&a.stopOnFalse){c=!1;break}b=!1;k&&(l?l.length&&r(l.shift()):c?k=[]:y.disable())},y={add:function(){if(k){var d=k.length;(function qc(b){h.each(b,function(b,c){var d=h.type(c);"function"===d?a.unique&&y.has(c)||k.push(c):c&&c.length&&"string"!==d&&qc(c)})})(arguments);b?e=k.length:c&&(m=d,r(c))}return this}, remove:function(){k&&h.each(arguments,function(a,c){for(var q;-1<(q=h.inArray(c,k,q));)k.splice(q,1),b&&(q<=e&&e--,q<=f&&f--)});return this},has:function(a){return a?-1<h.inArray(a,k):!(!k||!k.length)},empty:function(){k=[];e=0;return this},disable:function(){k=l=c=w;return this},disabled:function(){return!k},lock:function(){l=w;c||y.disable();return this},locked:function(){return!l},fireWith:function(a,c){!k||d&&!l||(c=c||[],c=[a,c.slice?c.slice():c],b?l.push(c):r(c));return this},fire:function(){y.fireWith(this, arguments);return this},fired:function(){return!!d}};return y};h.extend({Deferred:function(a){var b=[["resolve","done",h.Callbacks("once memory"),"resolved"],["reject","fail",h.Callbacks("once memory"),"rejected"],["notify","progress",h.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){e.done(arguments).fail(arguments);return this},then:function(){var a=arguments;return h.Deferred(function(c){h.each(b,function(b,q){var f=h.isFunction(a[b])&&a[b];e[q[1]](function(){var a= f&&f.apply(this,arguments);if(a&&h.isFunction(a.promise))a.promise().done(c.resolve).fail(c.reject).progress(c.notify);else c[q[0]+"With"](this===d?c.promise():this,f?[a]:arguments)})});a=null}).promise()},promise:function(a){return null!=a?h.extend(a,d):d}},e={};d.pipe=d.then;h.each(b,function(a,q){var f=q[2],h=q[3];d[q[1]]=f.add;h&&f.add(function(){c=h},b[a^1][2].disable,b[2][2].lock);e[q[0]]=function(){e[q[0]+"With"](this===e?d:this,arguments);return this};e[q[0]+"With"]=f.fireWith});d.promise(e); a&&a.call(e,e);return e},when:function(a){var b=0,c=ba.call(arguments),d=c.length,e=1!==d||a&&h.isFunction(a.promise)?d:0,f=1===e?a:h.Deferred(),m=function(a,b,c){return function(q){b[a]=this;c[a]=1<arguments.length?ba.call(arguments):q;c===k?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},k,g,l;if(1<d)for(k=Array(d),g=Array(d),l=Array(d);b<d;b++)c[b]&&h.isFunction(c[b].promise)?c[b].promise().done(m(b,l,c)).fail(f.reject).progress(m(b,g,k)):--e;e||f.resolveWith(l,c);return f.promise()}});var Oa;h.fn.ready= function(a){h.ready.promise().done(a);return this};h.extend({isReady:!1,readyWait:1,holdReady:function(a){a?h.readyWait++:h.ready(!0)},ready:function(a){if(!0===a?!--h.readyWait:!h.isReady){if(!G.body)return setTimeout(h.ready);h.isReady=!0;!0!==a&&0<--h.readyWait||(Oa.resolveWith(G,[h]),h.fn.triggerHandler&&(h(G).triggerHandler("ready"),h(G).off("ready")))}}});h.ready.promise=function(b){if(!Oa)if(Oa=h.Deferred(),"complete"===G.readyState)setTimeout(h.ready);else if(G.addEventListener)G.addEventListener("DOMContentLoaded", n,!1),a.addEventListener("load",n,!1);else{G.attachEvent("onreadystatechange",n);a.attachEvent("onload",n);var c=!1;try{c=null==a.frameElement&&G.documentElement}catch(d){}c&&c.doScroll&&function nc(){if(!h.isReady){try{c.doScroll("left")}catch(a){return setTimeout(nc,50)}l();h.ready()}}()}return Oa.promise(b)};var Aa=typeof w,Pa;for(Pa in h(B))break;B.ownLast="0"!==Pa;B.inlineBlockNeedsLayout=!1;h(function(){var a,b,c;(b=G.getElementsByTagName("body")[0])&&b.style&&(a=G.createElement("div"),c=G.createElement("div"), c.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",b.appendChild(c).appendChild(a),typeof a.style.zoom!==Aa&&(a.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",B.inlineBlockNeedsLayout=a=3===a.offsetWidth)&&(b.style.zoom=1),b.removeChild(c))});(function(){var a=G.createElement("div");if(null==B.deleteExpando){B.deleteExpando=!0;try{delete a.test}catch(b){B.deleteExpando=!1}}})();h.acceptData=function(a){var b=h.noData[(a.nodeName+" ").toLowerCase()], c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||!0!==b&&a.getAttribute("classid")===b};var pa=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,xa=/([A-Z])/g;h.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){a=a.nodeType?h.cache[a[h.expando]]:a[h.expando];return!!a&&!p(a)},data:function(a,b,c){return u(a,b,c)},removeData:function(a,b){return c(a,b)},_data:function(a,b,c){return u(a,b,c,!0)},_removeData:function(a,b){return c(a,b,!0)}});h.fn.extend({data:function(a, b){var c,d,e,f=this[0],m=f&&f.attributes;if(a===w){if(this.length&&(e=h.data(f),1===f.nodeType&&!h._data(f,"parsedAttrs"))){for(c=m.length;c--;)m[c]&&(d=m[c].name,0===d.indexOf("data-")&&(d=h.camelCase(d.slice(5)),s(f,d,e[d])));h._data(f,"parsedAttrs",!0)}return e}return"object"===typeof a?this.each(function(){h.data(this,a)}):1<arguments.length?this.each(function(){h.data(this,a,b)}):f?s(f,a,h.data(f,a)):w},removeData:function(a){return this.each(function(){h.removeData(this,a)})}});h.extend({queue:function(a, b,c){var d;if(a)return b=(b||"fx")+"queue",d=h._data(a,b),c&&(!d||h.isArray(c)?d=h._data(a,b,h.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=h.queue(a,b),d=c.length,e=c.shift(),f=h._queueHooks(a,b),m=function(){h.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--);e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,m,f));!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return h._data(a,c)||h._data(a,c,{empty:h.Callbacks("once memory").add(function(){h._removeData(a, b+"queue");h._removeData(a,c)})})}});h.fn.extend({queue:function(a,b){var c=2;"string"!==typeof a&&(b=a,a="fx",c--);return arguments.length<c?h.queue(this[0],a):b===w?this:this.each(function(){var c=h.queue(this,a,b);h._queueHooks(this,a);"fx"===a&&"inprogress"!==c[0]&&h.dequeue(this,a)})},dequeue:function(a){return this.each(function(){h.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=h.Deferred(),f=this,m=this.length,k=function(){--d||e.resolveWith(f, [f])};"string"!==typeof a&&(b=a,a=w);for(a=a||"fx";m--;)(c=h._data(f[m],a+"queueHooks"))&&c.empty&&(d++,c.empty.add(k));k();return e.promise(b)}});var Va=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Fa=["Top","Right","Bottom","Left"],Sa=function(a,b){a=b||a;return"none"===h.css(a,"display")||!h.contains(a.ownerDocument,a)},Qa=h.access=function(a,b,c,d,e,f,m){var k=0,g=a.length,l=null==c;if("object"===h.type(c))for(k in e=!0,c)h.access(a,b,k,c[k],!0,f,m);else if(d!==w&&(e=!0,h.isFunction(d)||(m=!0), l&&(m?(b.call(a,d),b=null):(l=b,b=function(a,b,c){return l.call(h(a),c)})),b))for(;k<g;k++)b(a[k],c,m?d:d.call(a[k],k,b(a[k],c)));return e?a:l?b.call(a):g?b(a[0],c):f},ma=/^(?:checkbox|radio)$/i;(function(){var a=G.createElement("input"),b=G.createElement("div"),c=G.createDocumentFragment();b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";B.leadingWhitespace=3===b.firstChild.nodeType;B.tbody=!b.getElementsByTagName("tbody").length;B.htmlSerialize=!!b.getElementsByTagName("link").length; B.html5Clone="<:nav></:nav>"!==G.createElement("nav").cloneNode(!0).outerHTML;a.type="checkbox";a.checked=!0;c.appendChild(a);B.appendChecked=a.checked;b.innerHTML="<textarea>x</textarea>";B.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue;c.appendChild(b);b.innerHTML="<input type='radio' checked='checked' name='t'/>";B.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked;B.noCloneEvent=!0;b.attachEvent&&(b.attachEvent("onclick",function(){B.noCloneEvent=!1}),b.cloneNode(!0).click()); if(null==B.deleteExpando){B.deleteExpando=!0;try{delete b.test}catch(d){B.deleteExpando=!1}}})();(function(){var b,c,d=G.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(B[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),B[b+"Bubbles"]=!1===d.attributes[c].expando)})();var Ba=/^(?:input|select|textarea)$/i,Ib=/^key/,Ta=/^(?:mouse|pointer|contextmenu)|click/,Ra=/^(?:focusinfocus|focusoutblur)$/,Ua=/^([^.]*)(?:\.(.+)|)$/;h.event={global:{},add:function(a,b,c,d,e){var f,m,k,g,l,r, y,n,x;if(k=h._data(a)){c.handler&&(g=c,c=g.handler,e=g.selector);c.guid||(c.guid=h.guid++);(m=k.events)||(m=k.events={});(l=k.handle)||(l=k.handle=function(a){return typeof h===Aa||a&&h.event.triggered===a.type?w:h.event.dispatch.apply(l.elem,arguments)},l.elem=a);b=(b||"").match(za)||[""];for(k=b.length;k--;)f=Ua.exec(b[k])||[],n=r=f[1],x=(f[2]||"").split(".").sort(),n&&(f=h.event.special[n]||{},n=(e?f.delegateType:f.bindType)||n,f=h.event.special[n]||{},r=h.extend({type:n,origType:r,data:d,handler:c, guid:c.guid,selector:e,needsContext:e&&h.expr.match.needsContext.test(e),namespace:x.join(".")},g),(y=m[n])||(y=m[n]=[],y.delegateCount=0,f.setup&&!1!==f.setup.call(a,d,x,l)||(a.addEventListener?a.addEventListener(n,l,!1):a.attachEvent&&a.attachEvent("on"+n,l))),f.add&&(f.add.call(a,r),r.handler.guid||(r.handler.guid=c.guid)),e?y.splice(y.delegateCount++,0,r):y.push(r),h.event.global[n]=!0);a=null}},remove:function(a,b,c,d,e){var f,m,k,g,l,r,y,n,x,p,N,I=h.hasData(a)&&h._data(a);if(I&&(r=I.events)){b= (b||"").match(za)||[""];for(l=b.length;l--;)if(k=Ua.exec(b[l])||[],x=N=k[1],p=(k[2]||"").split(".").sort(),x){y=h.event.special[x]||{};x=(d?y.delegateType:y.bindType)||x;n=r[x]||[];k=k[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)");for(g=f=n.length;f--;)m=n[f],!e&&N!==m.origType||c&&c.guid!==m.guid||k&&!k.test(m.namespace)||d&&d!==m.selector&&("**"!==d||!m.selector)||(n.splice(f,1),m.selector&&n.delegateCount--,y.remove&&y.remove.call(a,m));g&&!n.length&&(y.teardown&&!1!==y.teardown.call(a, p,I.handle)||h.removeEvent(a,x,I.handle),delete r[x])}else for(x in r)h.event.remove(a,x+b[l],c,d,!0);h.isEmptyObject(r)&&(delete I.handle,h._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,m,k,g,l,r,y=[d||G],n=R.call(b,"type")?b.type:b;l=R.call(b,"namespace")?b.namespace.split("."):[];k=f=d=d||G;if(3!==d.nodeType&&8!==d.nodeType&&!Ra.test(n+h.event.triggered)&&(0<=n.indexOf(".")&&(l=n.split("."),n=l.shift(),l.sort()),m=0>n.indexOf(":")&&"on"+n,b=b[h.expando]?b:new h.Event(n,"object"=== typeof b&&b),b.isTrigger=e?2:3,b.namespace=l.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+l.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=w,b.target||(b.target=d),c=null==c?[b]:h.makeArray(c,[b]),l=h.event.special[n]||{},e||!l.trigger||!1!==l.trigger.apply(d,c))){if(!e&&!l.noBubble&&!h.isWindow(d)){g=l.delegateType||n;Ra.test(g+n)||(k=k.parentNode);for(;k;k=k.parentNode)y.push(k),f=k;f===(d.ownerDocument||G)&&y.push(f.defaultView||f.parentWindow||a)}for(r=0;(k=y[r++])&&!b.isPropagationStopped();)b.type= 1<r?g:l.bindType||n,(f=(h._data(k,"events")||{})[b.type]&&h._data(k,"handle"))&&f.apply(k,c),(f=m&&k[m])&&f.apply&&h.acceptData(k)&&(b.result=f.apply(k,c),!1===b.result&&b.preventDefault());b.type=n;if(!(e||b.isDefaultPrevented()||l._default&&!1!==l._default.apply(y.pop(),c))&&h.acceptData(d)&&m&&d[n]&&!h.isWindow(d)){(f=d[m])&&(d[m]=null);h.event.triggered=n;try{d[n]()}catch(x){}h.event.triggered=w;f&&(d[m]=f)}return b.result}},dispatch:function(a){a=h.event.fix(a);var b,c,d,e,f=[],m=ba.call(arguments); b=(h._data(this,"events")||{})[a.type]||[];var k=h.event.special[a.type]||{};m[0]=a;a.delegateTarget=this;if(!k.preDispatch||!1!==k.preDispatch.call(this,a)){f=h.event.handlers.call(this,a,b);for(b=0;(d=f[b++])&&!a.isPropagationStopped();)for(a.currentTarget=d.elem,e=0;(c=d.handlers[e++])&&!a.isImmediatePropagationStopped();)if(!a.namespace_re||a.namespace_re.test(c.namespace))a.handleObj=c,a.data=c.data,c=((h.event.special[c.origType]||{}).handle||c.handler).apply(d.elem,m),c!==w&&!1===(a.result= c)&&(a.preventDefault(),a.stopPropagation());k.postDispatch&&k.postDispatch.call(this,a);return a.result}},handlers:function(a,b){var c,d,e,f,m=[],k=b.delegateCount,g=a.target;if(k&&g.nodeType&&(!a.button||"click"!==a.type))for(;g!=this;g=g.parentNode||this)if(1===g.nodeType&&(!0!==g.disabled||"click"!==a.type)){e=[];for(f=0;f<k;f++)d=b[f],c=d.selector+" ",e[c]===w&&(e[c]=d.needsContext?0<=h(c,this).index(g):h.find(c,this,null,[g]).length),e[c]&&e.push(d);e.length&&m.push({elem:g,handlers:e})}k<b.length&& m.push({elem:this,handlers:b.slice(k)});return m},fix:function(a){if(a[h.expando])return a;var b,c,d;b=a.type;var e=a,f=this.fixHooks[b];f||(this.fixHooks[b]=f=Ta.test(b)?this.mouseHooks:Ib.test(b)?this.keyHooks:{});d=f.props?this.props.concat(f.props):this.props;a=new h.Event(e);for(b=d.length;b--;)c=d[b],a[c]=e[c];a.target||(a.target=e.srcElement||G);3===a.target.nodeType&&(a.target=a.target.parentNode);a.metaKey=!!a.metaKey;return f.filter?f.filter(a,e):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), fixHooks:{},keyHooks:{props:["char","charCode","key","keyCode"],filter:function(a,b){null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e=b.button,f=b.fromElement;null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||G,d=c.documentElement,c=c.body,a.pageX=b.clientX+(d&&d.scrollLeft||c&&c.scrollLeft||0)-(d&&d.clientLeft|| c&&c.clientLeft||0),a.pageY=b.clientY+(d&&d.scrollTop||c&&c.scrollTop||0)-(d&&d.clientTop||c&&c.clientTop||0));!a.relatedTarget&&f&&(a.relatedTarget=f===a.target?b.toElement:f);a.which||e===w||(a.which=e&1?1:e&2?3:e&4?2:0);return a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==F()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){if(this===F()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(h.nodeName(this, "input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(a){return h.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){a.result!==w&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){a=h.extend(new h.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?h.event.trigger(a,null,b):h.event.dispatch.call(b,a);a.isDefaultPrevented()&&c.preventDefault()}};h.removeEvent=G.removeEventListener?function(a,b,c){a.removeEventListener&& a.removeEventListener(b,c,!1)}:function(a,b,c){b="on"+b;a.detachEvent&&(typeof a[b]===Aa&&(a[b]=null),a.detachEvent(b,c))};h.Event=function(a,b){if(!(this instanceof h.Event))return new h.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.defaultPrevented===w&&!1===a.returnValue?C:A):this.type=a;b&&h.extend(this,b);this.timeStamp=a&&a.timeStamp||h.now();this[h.expando]=!0};h.Event.prototype={isDefaultPrevented:A,isPropagationStopped:A,isImmediatePropagationStopped:A, preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=C;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=C;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=C;a&&a.stopImmediatePropagation&&a.stopImmediatePropagation();this.stopPropagation()}};h.each({mouseenter:"mouseover",mouseleave:"mouseout", pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){h.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=a.relatedTarget,q=a.handleObj;if(!d||d!==this&&!h.contains(this,d))a.type=q.origType,c=q.handler.apply(this,arguments),a.type=b;return c}}});B.submitBubbles||(h.event.special.submit={setup:function(){if(h.nodeName(this,"form"))return!1;h.event.add(this,"click._submit keypress._submit",function(a){a=a.target;(a=h.nodeName(a,"input")||h.nodeName(a,"button")?a.form: w)&&!h._data(a,"submitBubbles")&&(h.event.add(a,"submit._submit",function(a){a._submit_bubble=!0}),h._data(a,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&h.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){if(h.nodeName(this,"form"))return!1;h.event.remove(this,"._submit")}});B.changeBubbles||(h.event.special.change={setup:function(){if(Ba.test(this.nodeName)){if("checkbox"===this.type||"radio"===this.type)h.event.add(this, "propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),h.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1);h.event.simulate("change",this,a,!0)});return!1}h.event.add(this,"beforeactivate._change",function(a){a=a.target;Ba.test(a.nodeName)&&!h._data(a,"changeBubbles")&&(h.event.add(a,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||h.event.simulate("change",this.parentNode, a,!0)}),h._data(a,"changeBubbles",!0))})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type)return a.handleObj.handler.apply(this,arguments)},teardown:function(){h.event.remove(this,"._change");return!Ba.test(this.nodeName)}});B.focusinBubbles||h.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){h.event.simulate(b,a.target,h.event.fix(a),!0)};h.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=h._data(d, b);e||d.addEventListener(a,c,!0);h._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=h._data(d,b)-1;e?h._data(d,b,e):(d.removeEventListener(a,c,!0),h._removeData(d,b))}}});h.fn.extend({on:function(a,b,c,d,e){var f,m;if("object"===typeof a){"string"!==typeof b&&(c=c||b,b=w);for(f in a)this.on(f,b,c,a[f],e);return this}null==c&&null==d?(d=b,c=b=w):null==d&&("string"===typeof b?(d=c,c=w):(d=c,c=b,b=w));if(!1===d)d=A;else if(!d)return this;1===e&&(m=d,d=function(a){h().off(a); return m.apply(this,arguments)},d.guid=m.guid||(m.guid=h.guid++));return this.each(function(){h.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,h(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"===typeof a){for(d in a)this.off(d,b,a[d]);return this}if(!1===b||"function"===typeof b)c=b,b=w;!1===c&&(c=A);return this.each(function(){h.event.remove(this, a,c,b)})},trigger:function(a,b){return this.each(function(){h.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return h.event.trigger(a,b,c,!0)}});var cb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",cc=/ jQuery\d+="(?:null|\d+)"/g,kb=new RegExp("<(?:"+cb+")[\\s/>]","i"),Wa=/^\s+/,lc=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,mc=/<([\w:]+)/, oa=/<tbody/i,Ca=/<|&#?\w+;/,Ia=/<(?:script|style|link)/i,Ea=/checked\s*(?:[^=]|=\s*.checked.)/i,ya=/^$|\/(?:java|ecma)script/i,Za=/^true\/(.*)/,ab=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ha={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>", "</tr></tbody></table>"],_default:B.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Da=H(G).appendChild(G.createElement("div"));Ha.optgroup=Ha.option;Ha.tbody=Ha.tfoot=Ha.colgroup=Ha.caption=Ha.thead;Ha.th=Ha.td;h.extend({clone:function(a,b,c){var d,e,f,g,l,n=h.contains(a.ownerDocument,a);B.html5Clone||h.isXMLDoc(a)||!kb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Da.innerHTML=a.outerHTML,Da.removeChild(f=Da.firstChild));if(!(B.noCloneEvent&&B.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||h.isXMLDoc(a)))for(d= r(f),l=r(a),g=0;null!=(e=l[g]);++g)if(d[g]){var y=d[g],p=void 0,N=void 0,z=void 0;if(1===y.nodeType){p=y.nodeName.toLowerCase();if(!B.noCloneEvent&&y[h.expando]){z=h._data(y);for(N in z.events)h.removeEvent(y,N,z.handle);y.removeAttribute(h.expando)}if("script"===p&&y.text!==e.text)m(y).text=e.text,x(y);else if("object"===p)y.parentNode&&(y.outerHTML=e.outerHTML),B.html5Clone&&e.innerHTML&&!h.trim(y.innerHTML)&&(y.innerHTML=e.innerHTML);else if("input"===p&&ma.test(e.type))y.defaultChecked=y.checked= e.checked,y.value!==e.value&&(y.value=e.value);else if("option"===p)y.defaultSelected=y.selected=e.defaultSelected;else if("input"===p||"textarea"===p)y.defaultValue=e.defaultValue}}if(b)if(c)for(l=l||r(a),d=d||r(f),g=0;null!=(e=l[g]);g++)I(e,d[g]);else I(a,f);d=r(f,"script");0<d.length&&k(d,!n&&r(a,"script"));return f},buildFragment:function(a,b,c,d){for(var e,f,m,g,l,y,n=a.length,x=H(b),p=[],N=0;N<n;N++)if((f=a[N])||0===f)if("object"===h.type(f))h.merge(p,f.nodeType?[f]:f);else if(Ca.test(f)){m= m||x.appendChild(b.createElement("div"));g=(mc.exec(f)||["",""])[1].toLowerCase();y=Ha[g]||Ha._default;m.innerHTML=y[1]+f.replace(lc,"<$1></$2>")+y[2];for(e=y[0];e--;)m=m.lastChild;!B.leadingWhitespace&&Wa.test(f)&&p.push(b.createTextNode(Wa.exec(f)[0]));if(!B.tbody)for(e=(f="table"!==g||oa.test(f)?"<table>"!==y[1]||oa.test(f)?0:m:m.firstChild)&&f.childNodes.length;e--;)h.nodeName(l=f.childNodes[e],"tbody")&&!l.childNodes.length&&f.removeChild(l);h.merge(p,m.childNodes);for(m.textContent="";m.firstChild;)m.removeChild(m.firstChild); m=x.lastChild}else p.push(b.createTextNode(f));m&&x.removeChild(m);B.appendChecked||h.grep(r(p,"input"),P);for(N=0;f=p[N++];)if(!d||-1===h.inArray(f,d))if(a=h.contains(f.ownerDocument,f),m=r(x.appendChild(f),"script"),a&&k(m),c)for(e=0;f=m[e++];)ya.test(f.type||"")&&c.push(f);return x},cleanData:function(a,b){for(var c,d,e,f,m=0,k=h.expando,g=h.cache,l=B.deleteExpando,y=h.event.special;null!=(c=a[m]);m++)if(b||h.acceptData(c))if(f=(e=c[k])&&g[e]){if(f.events)for(d in f.events)y[d]?h.event.remove(c, d):h.removeEvent(c,d,f.handle);g[e]&&(delete g[e],l?delete c[k]:typeof c.removeAttribute!==Aa?c.removeAttribute(k):c[k]=null,ia.push(e))}}});h.fn.extend({text:function(a){return Qa(this,function(a){return a===w?h.text(this):this.empty().append((this[0]&&this[0].ownerDocument||G).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Q(this,a).appendChild(a)})},prepend:function(){return this.domManip(arguments, function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Q(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?h.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||h.cleanData(r(c)),c.parentNode&& (b&&h.contains(c.ownerDocument,c)&&k(r(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){for(1===a.nodeType&&h.cleanData(r(a,!1));a.firstChild;)a.removeChild(a.firstChild);a.options&&h.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){a=null==a?!1:a;b=null==b?a:b;return this.map(function(){return h.clone(this,a,b)})},html:function(a){return Qa(this,function(a){var b=this[0]||{},c=0,d=this.length;if(a===w)return 1=== b.nodeType?b.innerHTML.replace(cc,""):w;if(!("string"!==typeof a||Ia.test(a)||!B.htmlSerialize&&kb.test(a)||!B.leadingWhitespace&&Wa.test(a)||Ha[(mc.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(lc,"<$1></$2>");try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(h.cleanData(r(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];this.domManip(arguments,function(b){a=this.parentNode;h.cleanData(r(this));a&&a.replaceChild(b, this)});return a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=J.apply([],a);var c,d,e,f,k=0,g=this.length,l=this,y=g-1,n=a[0],p=h.isFunction(n);if(p||1<g&&"string"===typeof n&&!B.checkClone&&Ea.test(n))return this.each(function(c){var d=l.eq(c);p&&(a[0]=n.call(this,c,d.html()));d.domManip(a,b)});if(g&&(f=h.buildFragment(a,this[0].ownerDocument,!1,this),c=f.firstChild,1===f.childNodes.length&&(f=c),c)){e=h.map(r(f,"script"),m);for(d= e.length;k<g;k++)c=f,k!==y&&(c=h.clone(c,!0,!0),d&&h.merge(e,r(c,"script"))),b.call(this[k],c,k);if(d)for(f=e[e.length-1].ownerDocument,h.map(e,x),k=0;k<d;k++)c=e[k],ya.test(c.type||"")&&!h._data(c,"globalEval")&&h.contains(f,c)&&(c.src?h._evalUrl&&h._evalUrl(c.src):h.globalEval((c.text||c.textContent||c.innerHTML||"").replace(ab,"")));f=c=null}return this}});h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){h.fn[a]=function(a){for(var c= 0,d=[],e=h(a),f=e.length-1;c<=f;c++)a=c===f?this:this.clone(!0),h(e[c])[b](a),E.apply(d,a.get());return this.pushStack(d)}});var ua,Ja={};(function(){var a;B.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,d;if((c=G.getElementsByTagName("body")[0])&&c.style)return b=G.createElement("div"),d=G.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==Aa&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1", b.appendChild(G.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(d),a}})();var bb=/^margin/,sa=new RegExp("^("+Va+")(?!px)[a-z%]+$","i"),db,eb,mb=/^(top|right|bottom|left)$/;a.getComputedStyle?(db=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},eb=function(a,b,c){var d,e,f=a.style;e=(c=c||db(a))?c.getPropertyValue(b)||c[b]:w;c&&(""!==e||h.contains(a.ownerDocument,a)||(e=h.style(a,b)),sa.test(e)&&bb.test(b)&&(a=f.width,b=f.minWidth,d=f.maxWidth,f.minWidth= f.maxWidth=f.width=e,e=c.width,f.width=a,f.minWidth=b,f.maxWidth=d));return e===w?e:e+""}):G.documentElement.currentStyle&&(db=function(a){return a.currentStyle},eb=function(a,b,c){var d,e,f,m=a.style;f=(c=c||db(a))?c[b]:w;null==f&&m&&m[b]&&(f=m[b]);if(sa.test(f)&&!mb.test(b)){c=m.left;if(e=(d=a.runtimeStyle)&&d.left)d.left=a.currentStyle.left;m.left="fontSize"===b?"1em":f;f=m.pixelLeft+"px";m.left=c;e&&(d.left=e)}return f===w?f:f+""||"auto"});(function(){function b(){var c,d,q,h;if((d=G.getElementsByTagName("body")[0])&& d.style){c=G.createElement("div");q=G.createElement("div");q.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px";d.appendChild(q).appendChild(c);c.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute";e=f=!1;k=!0;a.getComputedStyle&&(e="1%"!==(a.getComputedStyle(c,null)||{}).top,f="4px"===(a.getComputedStyle(c,null)||{width:"4px"}).width,h=c.appendChild(G.createElement("div")), h.style.cssText=c.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",h.style.marginRight=h.style.width="0",c.style.width="1px",k=!parseFloat((a.getComputedStyle(h,null)||{}).marginRight));c.innerHTML="<table><tr><td></td><td>t</td></tr></table>";h=c.getElementsByTagName("td");h[0].style.cssText="margin:0;border:0;padding:0;display:none";if(m=0===h[0].offsetHeight)h[0].style.display="",h[1].style.display="none", m=0===h[0].offsetHeight;d.removeChild(q)}}var c,d,e,f,m,k;c=G.createElement("div");c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";if(d=(d=c.getElementsByTagName("a")[0])&&d.style)d.cssText="float:left;opacity:.5",B.opacity="0.5"===d.opacity,B.cssFloat=!!d.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",B.clearCloneStyle="content-box"===c.style.backgroundClip,B.boxSizing=""===d.boxSizing||""===d.MozBoxSizing||""===d.WebkitBoxSizing, h.extend(B,{reliableHiddenOffsets:function(){null==m&&b();return m},boxSizingReliable:function(){null==f&&b();return f},pixelPosition:function(){null==e&&b();return e},reliableMarginRight:function(){null==k&&b();return k}})})();h.swap=function(a,b,c,d){var e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];c=c.apply(a,d||[]);for(e in b)a.style[e]=f[e];return c};var $a=/alpha\([^)]*\)/i,nb=/opacity\s*=\s*([^)]*)/,pb=/^(none|table(?!-c[ea]).+)/,rb=new RegExp("^("+Va+")(.*)$","i"),vb=new RegExp("^([+-])=("+ Va+")","i"),wb={position:"absolute",visibility:"hidden",display:"block"},ob={letterSpacing:"0",fontWeight:"400"},qb=["Webkit","O","Moz","ms"];h.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=eb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":B.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&& a.style){var e,f,m,k=h.camelCase(b),g=a.style;b=h.cssProps[k]||(h.cssProps[k]=ka(g,k));m=h.cssHooks[b]||h.cssHooks[k];if(c!==w){if(f=typeof c,"string"===f&&(e=vb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(h.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||h.cssNumber[k]||(c+="px"),B.clearCloneStyle||""!==c||0!==b.indexOf("background")||(g[b]="inherit"),!(m&&"set"in m)||(c=m.set(a,c,d))!==w))try{g[b]=c}catch(l){}}else return m&&"get"in m&&(e=m.get(a,!1,d))!==w?e:g[b]}},css:function(a,b,c,d){var e,f; f=h.camelCase(b);b=h.cssProps[f]||(h.cssProps[f]=ka(a.style,f));(f=h.cssHooks[b]||h.cssHooks[f])&&"get"in f&&(e=f.get(a,!0,c));e===w&&(e=eb(a,b,d));"normal"===e&&b in ob&&(e=ob[b]);return""===c||c?(a=parseFloat(e),!0===c||h.isNumeric(a)?a||0:e):e}});h.each(["height","width"],function(a,b){h.cssHooks[b]={get:function(a,c,d){if(c)return pb.test(h.css(a,"display"))&&0===a.offsetWidth?h.swap(a,wb,function(){return qa(a,b,d)}):qa(a,b,d)},set:function(a,c,d){var e=d&&db(a);return ga(a,c,d?la(a,b,d,B.boxSizing&& "border-box"===h.css(a,"boxSizing",!1,e),e):0)}}});B.opacity||(h.cssHooks.opacity={get:function(a,b){return nb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=h.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if((1<=b||""===b)&&""===h.trim(f.replace($a,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter))return;c.filter=$a.test(f)?f.replace($a, e):f+" "+e}});h.cssHooks.marginRight=N(B.reliableMarginRight,function(a,b){if(b)return h.swap(a,{display:"inline-block"},eb,[a,"marginRight"])});h.each({margin:"",padding:"",border:"Width"},function(a,b){h.cssHooks[a+b]={expand:function(c){var d=0,e={};for(c="string"===typeof c?c.split(" "):[c];4>d;d++)e[a+Fa[d]+b]=c[d]||c[d-2]||c[0];return e}};bb.test(a)||(h.cssHooks[a+b].set=ga)});h.fn.extend({css:function(a,b){return Qa(this,function(a,b,c){var d,e={},f=0;if(h.isArray(b)){c=db(a);for(d=b.length;f< d;f++)e[b[f]]=h.css(a,b[f],!1,c);return e}return c!==w?h.style(a,b,c):h.css(a,b)},a,b,1<arguments.length)},show:function(){return K(this,!0)},hide:function(){return K(this)},toggle:function(a){return"boolean"===typeof a?a?this.show():this.hide():this.each(function(){Sa(this)?h(this).show():h(this).hide()})}});h.Tween=X;X.prototype={constructor:X,init:function(a,b,c,d,e,f){this.elem=a;this.prop=c;this.easing=e||"swing";this.options=b;this.start=this.now=this.cur();this.end=d;this.unit=f||(h.cssNumber[c]? "":"px")},cur:function(){var a=X.propHooks[this.prop];return a&&a.get?a.get(this):X.propHooks._default.get(this)},run:function(a){var b,c=X.propHooks[this.prop];this.pos=this.options.duration?b=h.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):b=a;this.now=(this.end-this.start)*b+this.start;this.options.step&&this.options.step.call(this.elem,this.now,this);c&&c.set?c.set(this):X.propHooks._default.set(this);return this}};X.prototype.init.prototype=X.prototype;X.propHooks= {_default:{get:function(a){return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(a=h.css(a.elem,a.prop,""))&&"auto"!==a?a:0:a.elem[a.prop]},set:function(a){if(h.fx.step[a.prop])h.fx.step[a.prop](a);else a.elem.style&&(null!=a.elem.style[h.cssProps[a.prop]]||h.cssHooks[a.prop])?h.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}};X.propHooks.scrollTop=X.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}};h.easing={linear:function(a){return a}, swing:function(a){return.5-Math.cos(a*Math.PI)/2}};h.fx=X.prototype.init;h.fx.step={};var hb,Jb,Db=/^(?:toggle|show|hide)$/,sb=new RegExp("^(?:([+-])=|)("+Va+")([a-z%]*)$","i"),Nb=/queueHooks$/,Hb=[function(a,b,c){var d,e,f,m,k,g,l=this,y={},r=a.style,n=a.nodeType&&Sa(a),x=h._data(a,"fxshow");c.queue||(m=h._queueHooks(a,"fx"),null==m.unqueued&&(m.unqueued=0,k=m.empty.fire,m.empty.fire=function(){m.unqueued||k()}),m.unqueued++,l.always(function(){l.always(function(){m.unqueued--;h.queue(a,"fx").length|| m.empty.fire()})}));1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[r.overflow,r.overflowX,r.overflowY],g=h.css(a,"display"),e="none"===g?h._data(a,"olddisplay")||D(a.nodeName):g,"inline"===e&&"none"===h.css(a,"float")&&(B.inlineBlockNeedsLayout&&"inline"!==D(a.nodeName)?r.zoom=1:r.display="inline-block"));c.overflow&&(r.overflow="hidden",B.shrinkWrapBlocks()||l.always(function(){r.overflow=c.overflow[0];r.overflowX=c.overflow[1];r.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Db.exec(e)){delete b[d]; f=f||"toggle"===e;if(e===(n?"hide":"show"))if("show"===e&&x&&x[d]!==w)n=!0;else continue;y[d]=x&&x[d]||h.style(a,d)}else g=w;if(h.isEmptyObject(y))"inline"===("none"===g?D(a.nodeName):g)&&(r.display=g);else for(d in x?"hidden"in x&&(n=x.hidden):x=h._data(a,"fxshow",{}),f&&(x.hidden=!n),n?h(a).show():l.done(function(){h(a).hide()}),l.done(function(){var b;h._removeData(a,"fxshow");for(b in y)h.style(a,b,y[b])}),y)b=jb(n?x[d]:0,d,l),d in x||(x[d]=b.start,n&&(b.end=b.start,b.start="width"===d||"height"=== d?1:0))}],ub={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=sb.exec(b),f=e&&e[3]||(h.cssNumber[a]?"":"px"),m=(h.cssNumber[a]||"px"!==f&&+d)&&sb.exec(h.css(c.elem,a)),k=1,g=20;if(m&&m[3]!==f){f=f||m[3];e=e||[];m=+d||1;do k=k||".5",m/=k,h.style(c.elem,a,m+f);while(k!==(k=c.cur()/d)&&1!==k&&--g)}e&&(m=c.start=+m||+d||0,c.unit=f,c.end=e[1]?m+(e[1]+1)*e[2]:+e[2]);return c}]};h.Animation=h.extend(y,{tweener:function(a,b){h.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;d< e;d++)c=a[d],ub[c]=ub[c]||[],ub[c].unshift(b)},prefilter:function(a,b){b?Hb.unshift(a):Hb.push(a)}});h.speed=function(a,b,c){var d=a&&"object"===typeof a?h.extend({},a):{complete:c||!c&&b||h.isFunction(a)&&a,duration:a,easing:c&&b||b&&!h.isFunction(b)&&b};d.duration=h.fx.off?0:"number"===typeof d.duration?d.duration:d.duration in h.fx.speeds?h.fx.speeds[d.duration]:h.fx.speeds._default;if(null==d.queue||!0===d.queue)d.queue="fx";d.old=d.complete;d.complete=function(){h.isFunction(d.old)&&d.old.call(this); d.queue&&h.dequeue(this,d.queue)};return d};h.fn.extend({fadeTo:function(a,b,c,d){return this.filter(Sa).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=h.isEmptyObject(a),f=h.speed(b,c,d);b=function(){var b=y(this,h.extend({},a),f);(e||h._data(this,"finish"))&&b.stop(!0)};b.finish=b;return e||!1===f.queue?this.each(b):this.queue(f.queue,b)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop;b(c)};"string"!==typeof a&&(c=b,b=a,a=w);b&&!1!== a&&this.queue(a||"fx",[]);return this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=h.timers,m=h._data(this);if(e)m[e]&&m[e].stop&&d(m[e]);else for(e in m)m[e]&&m[e].stop&&Nb.test(e)&&d(m[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||h.dequeue(this,a)})},finish:function(a){!1!==a&&(a=a||"fx");return this.each(function(){var b,c=h._data(this),d=c[a+"queue"];b=c[a+"queueHooks"];var e=h.timers,f=d?d.length:0;c.finish=!0;h.queue(this, a,[]);b&&b.stop&&b.stop.call(this,!0);for(b=e.length;b--;)e[b].elem===this&&e[b].queue===a&&(e[b].anim.stop(!0),e.splice(b,1));for(b=0;b<f;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}});h.each(["toggle","show","hide"],function(a,b){var c=h.fn[b];h.fn[b]=function(a,d,e){return null==a||"boolean"===typeof a?c.apply(this,arguments):this.animate(v(b,!0),a,d,e)}});h.each({slideDown:v("show"),slideUp:v("hide"),slideToggle:v("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}, fadeToggle:{opacity:"toggle"}},function(a,b){h.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}});h.timers=[];h.fx.tick=function(){var a,b=h.timers,c=0;for(hb=h.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||h.fx.stop();hb=w};h.fx.timer=function(a){h.timers.push(a);a()?h.fx.start():h.timers.pop()};h.fx.interval=13;h.fx.start=function(){Jb||(Jb=setInterval(h.fx.tick,h.fx.interval))};h.fx.stop=function(){clearInterval(Jb);Jb=null};h.fx.speeds={slow:600,fast:200,_default:400}; h.fn.delay=function(a,b){a=h.fx?h.fx.speeds[a]||a:a;return this.queue(b||"fx",function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})};(function(){var a,b,c,d,e;b=G.createElement("div");b.setAttribute("className","t");b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";d=b.getElementsByTagName("a")[0];c=G.createElement("select");e=c.appendChild(G.createElement("option"));a=b.getElementsByTagName("input")[0];d.style.cssText="top:1px";B.getSetAttribute= "t"!==b.className;B.style=/top/.test(d.getAttribute("style"));B.hrefNormalized="/a"===d.getAttribute("href");B.checkOn=!!a.value;B.optSelected=e.selected;B.enctype=!!G.createElement("form").enctype;c.disabled=!0;B.optDisabled=!e.disabled;a=G.createElement("input");a.setAttribute("value","");B.input=""===a.getAttribute("value");a.value="t";a.setAttribute("type","radio");B.radioValue="t"===a.value})();var Ob=/\r/g;h.fn.extend({val:function(a){var b,c,d,e=this[0];if(arguments.length)return d=h.isFunction(a), this.each(function(c){1===this.nodeType&&(c=d?a.call(this,c,h(this).val()):a,null==c?c="":"number"===typeof c?c+="":h.isArray(c)&&(c=h.map(c,function(a){return null==a?"":a+""})),b=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&b.set(this,c,"value")!==w||(this.value=c))});if(e){if((b=h.valHooks[e.type]||h.valHooks[e.nodeName.toLowerCase()])&&"get"in b&&(c=b.get(e,"value"))!==w)return c;c=e.value;return"string"===typeof c?c.replace(Ob,""):null==c?"":c}}});h.extend({valHooks:{option:{get:function(a){var b= h.find.attr(a,"value");return null!=b?b:h.trim(h.text(a))}},select:{get:function(a){for(var b,c=a.options,d=a.selectedIndex,e=(a="select-one"===a.type||0>d)?null:[],f=a?d+1:c.length,m=0>d?f:a?d:0;m<f;m++)if(b=c[m],!(!b.selected&&m!==d||(B.optDisabled?b.disabled:null!==b.getAttribute("disabled"))||b.parentNode.disabled&&h.nodeName(b.parentNode,"optgroup"))){b=h(b).val();if(a)return b;e.push(b)}return e},set:function(a,b){for(var c,d,e=a.options,f=h.makeArray(b),m=e.length;m--;)if(d=e[m],0<=h.inArray(h.valHooks.option.get(d), f))try{d.selected=c=!0}catch(k){d.scrollHeight}else d.selected=!1;c||(a.selectedIndex=-1);return e}}}});h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(a,b){if(h.isArray(b))return a.checked=0<=h.inArray(h(a).val(),b)}};B.checkOn||(h.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var lb,xb,Xa=h.expr.attrHandle,dc=/^(?:checked|selected)$/i,fb=B.getSetAttribute,Kb=B.input;h.fn.extend({attr:function(a,b){return Qa(this,h.attr,a,b,1<arguments.length)}, removeAttr:function(a){return this.each(function(){h.removeAttr(this,a)})}});h.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f){if(typeof a.getAttribute===Aa)return h.prop(a,b,c);1===f&&h.isXMLDoc(a)||(b=b.toLowerCase(),d=h.attrHooks[b]||(h.expr.match.bool.test(b)?xb:lb));if(c!==w)if(null===c)h.removeAttr(a,b);else{if(d&&"set"in d&&(e=d.set(a,c,b))!==w)return e;a.setAttribute(b,c+"");return c}else{if(d&&"get"in d&&null!==(e=d.get(a,b)))return e;e=h.find.attr(a,b);return null== e?w:e}}},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(za);if(f&&1===a.nodeType)for(;c=f[e++];)d=h.propFix[c]||c,h.expr.match.bool.test(c)?Kb&&fb||!dc.test(c)?a[d]=!1:a[h.camelCase("default-"+c)]=a[d]=!1:h.attr(a,c,""),a.removeAttribute(fb?c:d)},attrHooks:{type:{set:function(a,b){if(!B.radioValue&&"radio"===b&&h.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b);c&&(a.value=c);return b}}}}});xb={set:function(a,b,c){!1===b?h.removeAttr(a,c):Kb&&fb||!dc.test(c)?a.setAttribute(!fb&&h.propFix[c]|| c,c):a[h.camelCase("default-"+c)]=a[c]=!0;return c}};h.each(h.expr.match.bool.source.match(/\w+/g),function(a,b){var c=Xa[b]||h.find.attr;Xa[b]=Kb&&fb||!dc.test(b)?function(a,b,d){var e,f;d||(f=Xa[b],Xa[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,Xa[b]=f);return e}:function(a,b,c){if(!c)return a[h.camelCase("default-"+b)]?b.toLowerCase():null}});Kb&&fb||(h.attrHooks.value={set:function(a,b,c){if(h.nodeName(a,"input"))a.defaultValue=b;else return lb&&lb.set(a,b,c)}});fb||(lb={set:function(a,b,c){var d= a.getAttributeNode(c);d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c));d.value=b+="";if("value"===c||b===a.getAttribute(c))return b}},Xa.id=Xa.name=Xa.coords=function(a,b,c){var d;if(!c)return(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},h.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);if(c&&c.specified)return c.value},set:lb.set},h.attrHooks.contenteditable={set:function(a,b,c){lb.set(a,""===b?!1:b,c)}},h.each(["width","height"],function(a,b){h.attrHooks[b]={set:function(a, c){if(""===c)return a.setAttribute(b,"auto"),c}}}));B.style||(h.attrHooks.style={get:function(a){return a.style.cssText||w},set:function(a,b){return a.style.cssText=b+""}});var Pb=/^(?:input|select|textarea|button|object)$/i,Qb=/^(?:a|area)$/i;h.fn.extend({prop:function(a,b){return Qa(this,h.prop,a,b,1<arguments.length)},removeProp:function(a){a=h.propFix[a]||a;return this.each(function(){try{this[a]=w,delete this[a]}catch(b){}})}});h.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a, b,c){var d,e,f;f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f){if(f=1!==f||!h.isXMLDoc(a))b=h.propFix[b]||b,e=h.propHooks[b];return c!==w?e&&"set"in e&&(d=e.set(a,c,b))!==w?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]}},propHooks:{tabIndex:{get:function(a){var b=h.find.attr(a,"tabindex");return b?parseInt(b,10):Pb.test(a.nodeName)||Qb.test(a.nodeName)&&a.href?0:-1}}}});B.hrefNormalized||h.each(["href","src"],function(a,b){h.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}});B.optSelected|| (h.propHooks.selected={get:function(a){if(a=a.parentNode)a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex;return null}});h.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){h.propFix[this.toLowerCase()]=this});B.enctype||(h.propFix.enctype="encoding");var ec=/[\t\r\n\f]/g;h.fn.extend({addClass:function(a){var b,c,d,e,f,m=0,k=this.length;b="string"===typeof a&&a;if(h.isFunction(a))return this.each(function(b){h(this).addClass(a.call(this, b,this.className))});if(b)for(b=(a||"").match(za)||[];m<k;m++)if(c=this[m],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ec," "):" ")){for(f=0;e=b[f++];)0>d.indexOf(" "+e+" ")&&(d+=e+" ");d=h.trim(d);c.className!==d&&(c.className=d)}return this},removeClass:function(a){var b,c,d,e,f,m=0,k=this.length;b=0===arguments.length||"string"===typeof a&&a;if(h.isFunction(a))return this.each(function(b){h(this).removeClass(a.call(this,b,this.className))});if(b)for(b=(a||"").match(za)||[];m<k;m++)if(c= this[m],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ec," "):"")){for(f=0;e=b[f++];)for(;0<=d.indexOf(" "+e+" ");)d=d.replace(" "+e+" "," ");d=a?h.trim(d):"";c.className!==d&&(c.className=d)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"===typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):h.isFunction(a)?this.each(function(c){h(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if("string"===c)for(var b,d=0,e=h(this),f=a.match(za)|| [];b=f[d++];)e.hasClass(b)?e.removeClass(b):e.addClass(b);else if(c===Aa||"boolean"===c)this.className&&h._data(this,"__className__",this.className),this.className=this.className||!1===a?"":h._data(this,"__className__")||""})},hasClass:function(a){a=" "+a+" ";for(var b=0,c=this.length;b<c;b++)if(1===this[b].nodeType&&0<=(" "+this[b].className+" ").replace(ec," ").indexOf(a))return!0;return!1}});h.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(a,b){h.fn[b]=function(a,c){return 0<arguments.length?this.on(b,null,a,c):this.trigger(b)}});h.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var fc=h.now(),gc=/\?/,Rb=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g; h.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=h.trim(b+"");return e&&!h.trim(e.replace(Rb,function(a,b,e,f){c&&b&&(d=0);if(0===d)return a;c=e||b;d+=!f-!e;return""}))?Function("return "+e)():h.error("Invalid JSON: "+b)};h.parseXML=function(b){var c,d;if(!b||"string"!==typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=w}c&&c.documentElement&& !c.getElementsByTagName("parsererror").length||h.error("Invalid XML: "+b);return c};var gb,Ya,Sb=/#.*$/,yb=/([?&])_=[^&]*/,Tb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Ub=/^(?:GET|HEAD)$/,Vb=/^\/\//,zb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ab={},bc={},Bb="*/".concat("*");try{Ya=location.href}catch(jc){Ya=G.createElement("a"),Ya.href="",Ya=Ya.href}gb=zb.exec(Ya.toLowerCase())||[];h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ya,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(gb[1]), global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":h.parseJSON,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?L(L(a, h.ajaxSettings),b):L(h.ajaxSettings,a)},ajaxPrefilter:z(Ab),ajaxTransport:z(bc),ajax:function(a,b){function c(a,b,d,e){var q,y,z,D;D=b;if(2!==u){u=2;k&&clearTimeout(k);l=w;m=e||"";s.readyState=0<a?4:0;e=200<=a&&300>a||304===a;if(d){z=r;for(var Q=s,P,da,T,K,ka=z.contents,ga=z.dataTypes;"*"===ga[0];)ga.shift(),da===w&&(da=z.mimeType||Q.getResponseHeader("Content-Type"));if(da)for(K in ka)if(ka[K]&&ka[K].test(da)){ga.unshift(K);break}if(ga[0]in d)T=ga[0];else{for(K in d){if(!ga[0]||z.converters[K+" "+ ga[0]]){T=K;break}P||(P=K)}T=T||P}T?(T!==ga[0]&&ga.unshift(T),z=d[T]):z=void 0}a:{d=r;P=z;da=s;T=e;var la,L,A,Q={},ka=d.dataTypes.slice();if(ka[1])for(L in d.converters)Q[L.toLowerCase()]=d.converters[L];for(K=ka.shift();K;)if(d.responseFields[K]&&(da[d.responseFields[K]]=P),!A&&T&&d.dataFilter&&(P=d.dataFilter(P,d.dataType)),A=K,K=ka.shift())if("*"===K)K=A;else if("*"!==A&&A!==K){L=Q[A+" "+K]||Q["* "+K];if(!L)for(la in Q)if(z=la.split(" "),z[1]===K&&(L=Q[A+" "+z[0]]||Q["* "+z[0]])){!0===L?L=Q[la]: !0!==Q[la]&&(K=z[0],ka.unshift(z[1]));break}if(!0!==L)if(L&&d["throws"])P=L(P);else try{P=L(P)}catch(S){z={state:"parsererror",error:L?S:"No conversion from "+A+" to "+K};break a}}z={state:"success",data:P}}if(e)r.ifModified&&((D=s.getResponseHeader("Last-Modified"))&&(h.lastModified[f]=D),(D=s.getResponseHeader("etag"))&&(h.etag[f]=D)),204===a||"HEAD"===r.type?D="nocontent":304===a?D="notmodified":(D=z.state,q=z.data,y=z.error,e=!y);else if(y=D,a||!D)D="error",0>a&&(a=0);s.status=a;s.statusText= (b||D)+"";e?p.resolveWith(n,[q,D,s]):p.rejectWith(n,[s,D,y]);s.statusCode(I);I=w;g&&x.trigger(e?"ajaxSuccess":"ajaxError",[s,r,e?q:y]);N.fireWith(n,[s,D]);g&&(x.trigger("ajaxComplete",[s,r]),--h.active||h.event.trigger("ajaxStop"))}}"object"===typeof a&&(b=a,a=w);b=b||{};var d,e,f,m,k,g,l,y,r=h.ajaxSetup({},b),n=r.context||r,x=r.context&&(n.nodeType||n.jquery)?h(n):h.event,p=h.Deferred(),N=h.Callbacks("once memory"),I=r.statusCode||{},z={},D={},u=0,Q="canceled",s={readyState:0,getResponseHeader:function(a){var b; if(2===u){if(!y)for(y={};b=Tb.exec(m);)y[b[1].toLowerCase()]=b[2];b=y[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===u?m:null},setRequestHeader:function(a,b){var c=a.toLowerCase();u||(a=D[c]=D[c]||a,z[a]=b);return this},overrideMimeType:function(a){u||(r.mimeType=a);return this},statusCode:function(a){var b;if(a)if(2>u)for(b in a)I[b]=[I[b],a[b]];else s.always(a[s.status]);return this},abort:function(a){a=a||Q;l&&l.abort(a);c(0,a);return this}};p.promise(s).complete= N.add;s.success=s.done;s.error=s.fail;r.url=((a||r.url||Ya)+"").replace(Sb,"").replace(Vb,gb[1]+"//");r.type=b.method||b.type||r.method||r.type;r.dataTypes=h.trim(r.dataType||"*").toLowerCase().match(za)||[""];null==r.crossDomain&&(d=zb.exec(r.url.toLowerCase()),r.crossDomain=!(!d||d[1]===gb[1]&&d[2]===gb[2]&&(d[3]||("http:"===d[1]?"80":"443"))===(gb[3]||("http:"===gb[1]?"80":"443"))));r.data&&r.processData&&"string"!==typeof r.data&&(r.data=h.param(r.data,r.traditional));T(Ab,r,b,s);if(2===u)return s; (g=r.global)&&0===h.active++&&h.event.trigger("ajaxStart");r.type=r.type.toUpperCase();r.hasContent=!Ub.test(r.type);f=r.url;r.hasContent||(r.data&&(f=r.url+=(gc.test(f)?"&":"?")+r.data,delete r.data),!1===r.cache&&(r.url=yb.test(f)?f.replace(yb,"$1_="+fc++):f+(gc.test(f)?"&":"?")+"_="+fc++));r.ifModified&&(h.lastModified[f]&&s.setRequestHeader("If-Modified-Since",h.lastModified[f]),h.etag[f]&&s.setRequestHeader("If-None-Match",h.etag[f]));(r.data&&r.hasContent&&!1!==r.contentType||b.contentType)&& s.setRequestHeader("Content-Type",r.contentType);s.setRequestHeader("Accept",r.dataTypes[0]&&r.accepts[r.dataTypes[0]]?r.accepts[r.dataTypes[0]]+("*"!==r.dataTypes[0]?", "+Bb+"; q=0.01":""):r.accepts["*"]);for(e in r.headers)s.setRequestHeader(e,r.headers[e]);if(r.beforeSend&&(!1===r.beforeSend.call(n,s,r)||2===u))return s.abort();Q="abort";for(e in{success:1,error:1,complete:1})s[e](r[e]);if(l=T(bc,r,b,s)){s.readyState=1;g&&x.trigger("ajaxSend",[s,r]);r.async&&0<r.timeout&&(k=setTimeout(function(){s.abort("timeout")}, r.timeout));try{u=1,l.send(z,c)}catch(P){if(2>u)c(-1,P);else throw P;}}else c(-1,"No Transport");return s},getJSON:function(a,b,c){return h.get(a,b,c,"json")},getScript:function(a,b){return h.get(a,w,b,"script")}});h.each(["get","post"],function(a,b){h[b]=function(a,c,d,e){h.isFunction(c)&&(e=e||d,d=c,c=w);return h.ajax({url:a,type:b,dataType:e,data:c,success:d})}});h.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){h.fn[b]=function(a){return this.on(b, a)}});h._evalUrl=function(a){return h.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})};h.fn.extend({wrapAll:function(a){if(h.isFunction(a))return this.each(function(b){h(this).wrapAll(a.call(this,b))});if(this[0]){var b=h(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return h.isFunction(a)? this.each(function(b){h(this).wrapInner(a.call(this,b))}):this.each(function(){var b=h(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=h.isFunction(a);return this.each(function(c){h(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){h.nodeName(this,"body")||h(this).replaceWith(this.childNodes)}).end()}});h.expr.filters.hidden=function(a){return 0>=a.offsetWidth&&0>=a.offsetHeight||!B.reliableHiddenOffsets()&&"none"===(a.style&& a.style.display||h.css(a,"display"))};h.expr.filters.visible=function(a){return!h.expr.filters.hidden(a)};var Wb=/%20/g,Xb=/\[\]$/,Cb=/\r?\n/g,Yb=/^(?:submit|button|image|reset|file)$/i,Zb=/^(?:input|select|textarea|keygen)/i;h.param=function(a,b){var c,d=[],e=function(a,b){b=h.isFunction(b)?b():null==b?"":b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};b===w&&(b=h.ajaxSettings&&h.ajaxSettings.traditional);if(h.isArray(a)||a.jquery&&!h.isPlainObject(a))h.each(a,function(){e(this.name, this.value)});else for(c in a)S(c,a[c],b,e);return d.join("&").replace(Wb,"+")};h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=h.prop(this,"elements");return a?h.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!h(this).is(":disabled")&&Zb.test(this.nodeName)&&!Yb.test(a)&&(this.checked||!ma.test(a))}).map(function(a,b){var c=h(this).val();return null==c?null:h.isArray(c)?h.map(c,function(a){return{name:b.name, value:a.replace(Cb,"\r\n")}}):{name:b.name,value:c.replace(Cb,"\r\n")}}).get()}});h.ajaxSettings.xhr=a.ActiveXObject!==w?function(){var b;if(!(b=!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&V()))a:{try{b=new a.ActiveXObject("Microsoft.XMLHTTP");break a}catch(c){}b=void 0}return b}:V;var $b=0,Lb={},Mb=h.ajaxSettings.xhr();if(a.ActiveXObject)h(a).on("unload",function(){for(var a in Lb)Lb[a](w,!0)});B.cors=!!Mb&&"withCredentials"in Mb;(Mb=B.ajax=!!Mb)&&h.ajaxTransport(function(a){if(!a.crossDomain|| B.cors){var b;return{send:function(c,d){var e,f=a.xhr(),m=++$b;f.open(a.type,a.url,a.async,a.username,a.password);if(a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType);a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)c[e]!==w&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null);b=function(c,e){var k,g,r;if(b&&(e||4===f.readyState))if(delete Lb[m],b=w,f.onreadystatechange=h.noop,e)4!== f.readyState&&f.abort();else{r={};k=f.status;"string"===typeof f.responseText&&(r.text=f.responseText);try{g=f.statusText}catch(l){g=""}k||!a.isLocal||a.crossDomain?1223===k&&(k=204):k=r.text?200:404}r&&d(k,g,r,f.getAllResponseHeaders())};a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Lb[m]=b:b()},abort:function(){b&&b(w,!0)}}}});h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/}, converters:{"text script":function(a){h.globalEval(a);return a}}});h.ajaxPrefilter("script",function(a){a.cache===w&&(a.cache=!1);a.crossDomain&&(a.type="GET",a.global=!1)});h.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=G.head||h("head")[0]||G.documentElement;return{send:function(d,e){b=G.createElement("script");b.async=!0;a.scriptCharset&&(b.charset=a.scriptCharset);b.src=a.url;b.onload=b.onreadystatechange=function(a,c){if(c||!b.readyState||/loaded|complete/.test(b.readyState))b.onload= b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success")};c.insertBefore(b,c.firstChild)},abort:function(){if(b)b.onload(w,!0)}}}});var Eb=[],hc=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Eb.pop()||h.expando+"_"+fc++;this[a]=!0;return a}});h.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,m,k=!1!==b.jsonp&&(hc.test(b.url)?"url":"string"===typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&& hc.test(b.data)&&"data");if(k||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=h.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,k?b[k]=b[k].replace(hc,"$1"+e):!1!==b.jsonp&&(b.url+=(gc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){m||h.error(e+" was not called");return m[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){m=arguments},d.always(function(){a[e]=f;b[e]&&(b.jsonpCallback=c.jsonpCallback,Eb.push(e));m&&h.isFunction(f)&&f(m[0]);m=f=w}),"script"}); h.parseHTML=function(a,b,c){if(!a||"string"!==typeof a)return null;"boolean"===typeof b&&(c=b,b=!1);b=b||G;var d=La.exec(a);c=!c&&[];if(d)return[b.createElement(d[1])];d=h.buildFragment([a],b,c);c&&c.length&&h(c).remove();return h.merge([],d.childNodes)};var Fb=h.fn.load;h.fn.load=function(a,b,c){if("string"!==typeof a&&Fb)return Fb.apply(this,arguments);var d,e,f,m=this,k=a.indexOf(" ");0<=k&&(d=h.trim(a.slice(k,a.length)),a=a.slice(0,k));h.isFunction(b)?(c=b,b=w):b&&"object"===typeof b&&(f="POST"); 0<m.length&&h.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments;m.html(d?h("<div>").append(h.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){m.each(c,e||[a.responseText,b,a])});return this};h.expr.filters.animated=function(a){return h.grep(h.timers,function(b){return a===b.elem}).length};var Gb=a.document.documentElement;h.offset={setOffset:function(a,b,c){var d,e,f,m=h.css(a,"position"),k=h(a),g={};"static"===m&&(a.style.position="relative");f=k.offset();e=h.css(a,"top"); d=h.css(a,"left");("absolute"===m||"fixed"===m)&&-1<h.inArray("auto",[e,d])?(d=k.position(),e=d.top,d=d.left):(e=parseFloat(e)||0,d=parseFloat(d)||0);h.isFunction(b)&&(b=b.call(a,c,f));null!=b.top&&(g.top=b.top-f.top+e);null!=b.left&&(g.left=b.left-f.left+d);"using"in b?b.using.call(a,g):k.css(g)}};h.fn.extend({offset:function(a){if(arguments.length)return a===w?this:this.each(function(b){h.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=(c=this[0])&&c.ownerDocument;if(e){b=e.documentElement; if(!h.contains(b,c))return d;typeof c.getBoundingClientRect!==Aa&&(d=c.getBoundingClientRect());c=W(e);return{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}}},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];"fixed"===h.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),h.nodeName(a[0],"html")||(c=a.offset()),c.top+=h.css(a[0],"borderTopWidth",!0),c.left+=h.css(a[0],"borderLeftWidth", !0));return{top:b.top-c.top-h.css(d,"marginTop",!0),left:b.left-c.left-h.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||Gb;a&&!h.nodeName(a,"html")&&"static"===h.css(a,"position");)a=a.offsetParent;return a||Gb})}});h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);h.fn[a]=function(d){return Qa(this,function(a,d,e){var f=W(a);if(e===w)return f?b in f?f[b]:f.document.documentElement[d]:a[d];f?f.scrollTo(c? h(f).scrollLeft():e,c?e:h(f).scrollTop()):a[d]=e},a,d,arguments.length,null)}});h.each(["top","left"],function(a,b){h.cssHooks[b]=N(B.pixelPosition,function(a,c){if(c)return c=eb(a,b),sa.test(c)?h(a).position()[b]+"px":c})});h.each({Height:"height",Width:"width"},function(a,b){h.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){h.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!==typeof d),m=c||(!0===d||!0===e?"margin":"border");return Qa(this,function(b,c,d){return h.isWindow(b)? b.document.documentElement["client"+a]:9===b.nodeType?(c=b.documentElement,Math.max(b.body["scroll"+a],c["scroll"+a],b.body["offset"+a],c["offset"+a],c["client"+a])):d===w?h.css(b,c,m):h.style(b,c,d,m)},b,f?d:w,f,null)}})});h.fn.size=function(){return this.length};h.fn.andSelf=h.fn.addBack;"function"===typeof define&&define.amd&&define("jquery",[],function(){return h});var ac=a.jQuery,ic=a.$;h.noConflict=function(b){a.$===h&&(a.$=ic);b&&a.jQuery===h&&(a.jQuery=ac);return h};typeof b===Aa&&(a.jQuery= a.$=h);return h});(function(){var a=this,b=a._,e={},d=Array.prototype,f=Object.prototype,g=d.push,l=d.slice,n=d.concat,s=f.toString,p=f.hasOwnProperty,u=d.forEach,c=d.map,C=d.reduce,A=d.reduceRight,F=d.filter,H=d.every,r=d.some,P=d.indexOf,Q=d.lastIndexOf,f=Array.isArray,m=Object.keys,x=Function.prototype.bind,k=function(a){if(a instanceof k)return a;if(!(this instanceof k))return new k(a);this._wrapped=a};"undefined"!==typeof exports?("undefined"!==typeof module&&module.exports&&(exports=module.exports= k),exports._=k):a._=k;k.VERSION="1.6.0";var I=k.each=k.forEach=function(a,b,c){if(null==a)return a;if(u&&a.forEach===u)a.forEach(b,c);else if(a.length===+a.length)for(var d=0,f=a.length;d<f;d++){if(b.call(c,a[d],d,a)===e)return}else for(var m=k.keys(a),d=0,f=m.length;d<f;d++)if(b.call(c,a[m[d]],m[d],a)===e)return;return a};k.map=k.collect=function(a,b,d){var e=[];if(null==a)return e;if(c&&a.map===c)return a.map(b,d);I(a,function(a,c,f){e.push(b.call(d,a,c,f))});return e};k.reduce=k.foldl=k.inject= function(a,b,c,d){var e=2<arguments.length;null==a&&(a=[]);if(C&&a.reduce===C)return d&&(b=k.bind(b,d)),e?a.reduce(b,c):a.reduce(b);I(a,function(a,f,m){e?c=b.call(d,c,a,f,m):(c=a,e=!0)});if(!e)throw new TypeError("Reduce of empty array with no initial value");return c};k.reduceRight=k.foldr=function(a,b,c,d){var e=2<arguments.length;null==a&&(a=[]);if(A&&a.reduceRight===A)return d&&(b=k.bind(b,d)),e?a.reduceRight(b,c):a.reduceRight(b);var f=a.length;if(f!==+f)var m=k.keys(a),f=m.length;I(a,function(k, g,r){g=m?m[--f]:--f;e?c=b.call(d,c,a[g],g,r):(c=a[g],e=!0)});if(!e)throw new TypeError("Reduce of empty array with no initial value");return c};k.find=k.detect=function(a,b,c){var d;da(a,function(a,e,f){if(b.call(c,a,e,f))return d=a,!0});return d};k.filter=k.select=function(a,b,c){var d=[];if(null==a)return d;if(F&&a.filter===F)return a.filter(b,c);I(a,function(a,e,f){b.call(c,a,e,f)&&d.push(a)});return d};k.reject=function(a,b,c){return k.filter(a,function(a,d,e){return!b.call(c,a,d,e)},c)};k.every= k.all=function(a,b,c){b||(b=k.identity);var d=!0;if(null==a)return d;if(H&&a.every===H)return a.every(b,c);I(a,function(a,f,m){if(!(d=d&&b.call(c,a,f,m)))return e});return!!d};var da=k.some=k.any=function(a,b,c){b||(b=k.identity);var d=!1;if(null==a)return d;if(r&&a.some===r)return a.some(b,c);I(a,function(a,f,m){if(d||(d=b.call(c,a,f,m)))return e});return!!d};k.contains=k.include=function(a,b){return null==a?!1:P&&a.indexOf===P?-1!=a.indexOf(b):da(a,function(a){return a===b})};k.invoke=function(a, b){var c=l.call(arguments,2),d=k.isFunction(b);return k.map(a,function(a){return(d?b:a[b]).apply(a,c)})};k.pluck=function(a,b){return k.map(a,k.property(b))};k.where=function(a,b){return k.filter(a,k.matches(b))};k.findWhere=function(a,b){return k.find(a,k.matches(b))};k.max=function(a,b,c){if(!b&&k.isArray(a)&&a[0]===+a[0]&&65535>a.length)return Math.max.apply(Math,a);var d=-Infinity,e=-Infinity;I(a,function(a,f,m){f=b?b.call(c,a,f,m):a;f>e&&(d=a,e=f)});return d};k.min=function(a,b,c){if(!b&&k.isArray(a)&& a[0]===+a[0]&&65535>a.length)return Math.min.apply(Math,a);var d=Infinity,e=Infinity;I(a,function(a,f,m){f=b?b.call(c,a,f,m):a;f<e&&(d=a,e=f)});return d};k.shuffle=function(a){var b,c=0,d=[];I(a,function(a){b=k.random(c++);d[c-1]=d[b];d[b]=a});return d};k.sample=function(a,b,c){return null==b||c?(a.length!==+a.length&&(a=k.values(a)),a[k.random(a.length-1)]):k.shuffle(a).slice(0,Math.max(0,b))};var D=function(a){return null==a?k.identity:k.isFunction(a)?a:k.property(a)};k.sortBy=function(a,b,c){b= D(b);return k.pluck(k.map(a,function(a,d,e){return{value:a,index:d,criteria:b.call(c,a,d,e)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;if(c!==d){if(c>d||void 0===c)return 1;if(c<d||void 0===d)return-1}return a.index-b.index}),"value")};var N=function(a){return function(b,c,d){var e={};c=D(c);I(b,function(f,m){var k=c.call(d,f,m,b);a(e,k,f)});return e}};k.groupBy=N(function(a,b,c){k.has(a,b)?a[b].push(c):a[b]=[c]});k.indexBy=N(function(a,b,c){a[b]=c});k.countBy=N(function(a,b){k.has(a,b)? a[b]++:a[b]=1});k.sortedIndex=function(a,b,c,d){c=D(c);b=c.call(d,b);for(var e=0,f=a.length;e<f;){var m=e+f>>>1;c.call(d,a[m])<b?e=m+1:f=m}return e};k.toArray=function(a){return a?k.isArray(a)?l.call(a):a.length===+a.length?k.map(a,k.identity):k.values(a):[]};k.size=function(a){return null==a?0:a.length===+a.length?a.length:k.keys(a).length};k.first=k.head=k.take=function(a,b,c){return null==a?void 0:null==b||c?a[0]:0>b?[]:l.call(a,0,b)};k.initial=function(a,b,c){return l.call(a,0,a.length-(null== b||c?1:b))};k.last=function(a,b,c){return null==a?void 0:null==b||c?a[a.length-1]:l.call(a,Math.max(a.length-b,0))};k.rest=k.tail=k.drop=function(a,b,c){return l.call(a,null==b||c?1:b)};k.compact=function(a){return k.filter(a,k.identity)};var ka=function(a,b,c){if(b&&k.every(a,k.isArray))return n.apply(c,a);I(a,function(a){k.isArray(a)||k.isArguments(a)?b?g.apply(c,a):ka(a,b,c):c.push(a)});return c};k.flatten=function(a,b){return ka(a,b,[])};k.without=function(a){return k.difference(a,l.call(arguments, 1))};k.partition=function(a,b){var c=[],d=[];I(a,function(a){(b(a)?c:d).push(a)});return[c,d]};k.uniq=k.unique=function(a,b,c,d){k.isFunction(b)&&(d=c,c=b,b=!1);c=c?k.map(a,c,d):a;var e=[],f=[];I(c,function(c,d){(b?d&&f[f.length-1]===c:k.contains(f,c))||(f.push(c),e.push(a[d]))});return e};k.union=function(){return k.uniq(k.flatten(arguments,!0))};k.intersection=function(a){var b=l.call(arguments,1);return k.filter(k.uniq(a),function(a){return k.every(b,function(b){return k.contains(b,a)})})};k.difference= function(a){var b=n.apply(d,l.call(arguments,1));return k.filter(a,function(a){return!k.contains(b,a)})};k.zip=function(){for(var a=k.max(k.pluck(arguments,"length").concat(0)),b=Array(a),c=0;c<a;c++)b[c]=k.pluck(arguments,""+c);return b};k.object=function(a,b){if(null==a)return{};for(var c={},d=0,e=a.length;d<e;d++)b?c[a[d]]=b[d]:c[a[d][0]]=a[d][1];return c};k.indexOf=function(a,b,c){if(null==a)return-1;var d=0,e=a.length;if(c)if("number"==typeof c)d=0>c?Math.max(0,e+c):c;else return d=k.sortedIndex(a, b),a[d]===b?d:-1;if(P&&a.indexOf===P)return a.indexOf(b,c);for(;d<e;d++)if(a[d]===b)return d;return-1};k.lastIndexOf=function(a,b,c){if(null==a)return-1;var d=null!=c;if(Q&&a.lastIndexOf===Q)return d?a.lastIndexOf(b,c):a.lastIndexOf(b);for(c=d?c:a.length;c--;)if(a[c]===b)return c;return-1};k.range=function(a,b,c){1>=arguments.length&&(b=a||0,a=0);c=arguments[2]||1;for(var d=Math.max(Math.ceil((b-a)/c),0),e=0,f=Array(d);e<d;)f[e++]=a,a+=c;return f};var K=function(){};k.bind=function(a,b){var c,d;if(x&& a.bind===x)return x.apply(a,l.call(arguments,1));if(!k.isFunction(a))throw new TypeError;c=l.call(arguments,2);return d=function(){if(!(this instanceof d))return a.apply(b,c.concat(l.call(arguments)));K.prototype=a.prototype;var e=new K;K.prototype=null;var f=a.apply(e,c.concat(l.call(arguments)));return Object(f)===f?f:e}};k.partial=function(a){var b=l.call(arguments,1);return function(){for(var c=0,d=b.slice(),e=0,f=d.length;e<f;e++)d[e]===k&&(d[e]=arguments[c++]);for(;c<arguments.length;)d.push(arguments[c++]); return a.apply(this,d)}};k.bindAll=function(a){var b=l.call(arguments,1);if(0===b.length)throw Error("bindAll must be passed function names");I(b,function(b){a[b]=k.bind(a[b],a)});return a};k.memoize=function(a,b){var c={};b||(b=k.identity);return function(){var d=b.apply(this,arguments);return k.has(c,d)?c[d]:c[d]=a.apply(this,arguments)}};k.delay=function(a,b){var c=l.call(arguments,2);return setTimeout(function(){return a.apply(null,c)},b)};k.defer=function(a){return k.delay.apply(k,[a,1].concat(l.call(arguments, 1)))};k.throttle=function(a,b,c){var d,e,f,m=null,g=0;c||(c={});var r=function(){g=!1===c.leading?0:k.now();m=null;f=a.apply(d,e);d=e=null};return function(){var l=k.now();g||!1!==c.leading||(g=l);var n=b-(l-g);d=this;e=arguments;0>=n?(clearTimeout(m),m=null,g=l,f=a.apply(d,e),d=e=null):m||!1===c.trailing||(m=setTimeout(r,n));return f}};k.debounce=function(a,b,c){var d,e,f,m,g,r=function(){var l=k.now()-m;l<b?d=setTimeout(r,b-l):(d=null,c||(g=a.apply(f,e),f=e=null))};return function(){f=this;e=arguments; m=k.now();var l=c&&!d;d||(d=setTimeout(r,b));l&&(g=a.apply(f,e),f=e=null);return g}};k.once=function(a){var b=!1,c;return function(){if(b)return c;b=!0;c=a.apply(this,arguments);a=null;return c}};k.wrap=function(a,b){return k.partial(b,a)};k.compose=function(){var a=arguments;return function(){for(var b=arguments,c=a.length-1;0<=c;c--)b=[a[c].apply(this,b)];return b[0]}};k.after=function(a,b){return function(){if(1>--a)return b.apply(this,arguments)}};k.keys=function(a){if(!k.isObject(a))return[]; if(m)return m(a);var b=[],c;for(c in a)k.has(a,c)&&b.push(c);return b};k.values=function(a){for(var b=k.keys(a),c=b.length,d=Array(c),e=0;e<c;e++)d[e]=a[b[e]];return d};k.pairs=function(a){for(var b=k.keys(a),c=b.length,d=Array(c),e=0;e<c;e++)d[e]=[b[e],a[b[e]]];return d};k.invert=function(a){for(var b={},c=k.keys(a),d=0,e=c.length;d<e;d++)b[a[c[d]]]=c[d];return b};k.functions=k.methods=function(a){var b=[],c;for(c in a)k.isFunction(a[c])&&b.push(c);return b.sort()};k.extend=function(a){I(l.call(arguments, 1),function(b){if(b)for(var c in b)a[c]=b[c]});return a};k.pick=function(a){var b={},c=n.apply(d,l.call(arguments,1));I(c,function(c){c in a&&(b[c]=a[c])});return b};k.omit=function(a){var b={},c=n.apply(d,l.call(arguments,1)),e;for(e in a)k.contains(c,e)||(b[e]=a[e]);return b};k.defaults=function(a){I(l.call(arguments,1),function(b){if(b)for(var c in b)void 0===a[c]&&(a[c]=b[c])});return a};k.clone=function(a){return k.isObject(a)?k.isArray(a)?a.slice():k.extend({},a):a};k.tap=function(a,b){b(a); return a};var ga=function(a,b,c,d){if(a===b)return 0!==a||1/a==1/b;if(null==a||null==b)return a===b;a instanceof k&&(a=a._wrapped);b instanceof k&&(b=b._wrapped);var e=s.call(a);if(e!=s.call(b))return!1;switch(e){case "[object String]":return a==String(b);case "[object Number]":return a!=+a?b!=+b:0==a?1/a==1/b:a==+b;case "[object Date]":case "[object Boolean]":return+a==+b;case "[object RegExp]":return a.source==b.source&&a.global==b.global&&a.multiline==b.multiline&&a.ignoreCase==b.ignoreCase}if("object"!= typeof a||"object"!=typeof b)return!1;for(var f=c.length;f--;)if(c[f]==a)return d[f]==b;var f=a.constructor,m=b.constructor;if(f!==m&&!(k.isFunction(f)&&f instanceof f&&k.isFunction(m)&&m instanceof m)&&"constructor"in a&&"constructor"in b)return!1;c.push(a);d.push(b);f=0;m=!0;if("[object Array]"==e){if(f=a.length,m=f==b.length)for(;f--&&(m=ga(a[f],b[f],c,d)););}else{for(var g in a)if(k.has(a,g)&&(f++,!(m=k.has(b,g)&&ga(a[g],b[g],c,d))))break;if(m){for(g in b)if(k.has(b,g)&&!f--)break;m=!f}}c.pop(); d.pop();return m};k.isEqual=function(a,b){return ga(a,b,[],[])};k.isEmpty=function(a){if(null==a)return!0;if(k.isArray(a)||k.isString(a))return 0===a.length;for(var b in a)if(k.has(a,b))return!1;return!0};k.isElement=function(a){return!(!a||1!==a.nodeType)};k.isArray=f||function(a){return"[object Array]"==s.call(a)};k.isObject=function(a){return a===Object(a)};I("Arguments Function String Number Date RegExp".split(" "),function(a){k["is"+a]=function(b){return s.call(b)=="[object "+a+"]"}});k.isArguments(arguments)|| (k.isArguments=function(a){return!(!a||!k.has(a,"callee"))});"function"!==typeof/./&&(k.isFunction=function(a){return"function"===typeof a});k.isFinite=function(a){return isFinite(a)&&!isNaN(parseFloat(a))};k.isNaN=function(a){return k.isNumber(a)&&a!=+a};k.isBoolean=function(a){return!0===a||!1===a||"[object Boolean]"==s.call(a)};k.isNull=function(a){return null===a};k.isUndefined=function(a){return void 0===a};k.has=function(a,b){return p.call(a,b)};k.noConflict=function(){a._=b;return this};k.identity= function(a){return a};k.constant=function(a){return function(){return a}};k.property=function(a){return function(b){return b[a]}};k.matches=function(a){return function(b){if(b===a)return!0;for(var c in a)if(a[c]!==b[c])return!1;return!0}};k.times=function(a,b,c){for(var d=Array(Math.max(0,a)),e=0;e<a;e++)d[e]=b.call(c,e);return d};k.random=function(a,b){null==b&&(b=a,a=0);return a+Math.floor(Math.random()*(b-a+1))};k.now=Date.now||function(){return(new Date).getTime()};var la={escape:{"&":"&", "<":"<",">":">",'"':""","'":"'"}};la.unescape=k.invert(la.escape);var qa={escape:new RegExp("["+k.keys(la.escape).join("")+"]","g"),unescape:new RegExp("("+k.keys(la.unescape).join("|")+")","g")};k.each(["escape","unescape"],function(a){k[a]=function(b){return null==b?"":(""+b).replace(qa[a],function(b){return la[a][b]})}});k.result=function(a,b){if(null!=a){var c=a[b];return k.isFunction(c)?c.call(a):c}};k.mixin=function(a){I(k.functions(a),function(b){var c=k[b]=a[b];k.prototype[b]= function(){var a=[this._wrapped];g.apply(a,arguments);return ta.call(this,c.apply(k,a))}})};var X=0;k.uniqueId=function(a){var b=++X+"";return a?a+b:b};k.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var t=/(.)^/,v={"'":"'","\\":"\\","\r":"r","\n":"n","\t":"t","\u2028":"u2028","\u2029":"u2029"},w=/\\|'|\r|\n|\t|\u2028|\u2029/g;k.template=function(a,b,c){var d;c=k.defaults({},c,k.templateSettings);var e=new RegExp([(c.escape||t).source,(c.interpolate|| t).source,(c.evaluate||t).source].join("|")+"|$","g"),f=0,m="__p+='";a.replace(e,function(b,c,d,e,k){m+=a.slice(f,k).replace(w,function(a){return"\\"+v[a]});c&&(m+="'+\n((__t=("+c+"))==null?'':_.escape(__t))+\n'");d&&(m+="'+\n((__t=("+d+"))==null?'':__t)+\n'");e&&(m+="';\n"+e+"\n__p+='");f=k+b.length;return b});m+="';\n";c.variable||(m="with(obj||{}){\n"+m+"}\n");m="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+m+"return __p;\n";try{d=new Function(c.variable|| "obj","_",m)}catch(g){throw g.source=m,g;}if(b)return d(b,k);b=function(a){return d.call(this,a,k)};b.source="function("+(c.variable||"obj")+"){\n"+m+"}";return b};k.chain=function(a){return k(a).chain()};var ta=function(a){return this._chain?k(a).chain():a};k.mixin(k);I("pop push reverse shift sort splice unshift".split(" "),function(a){var b=d[a];k.prototype[a]=function(){var c=this._wrapped;b.apply(c,arguments);"shift"!=a&&"splice"!=a||0!==c.length||delete c[0];return ta.call(this,c)}});I(["concat", "join","slice"],function(a){var b=d[a];k.prototype[a]=function(){return ta.call(this,b.apply(this._wrapped,arguments))}});k.extend(k.prototype,{chain:function(){this._chain=!0;return this},value:function(){return this._wrapped}});"function"===typeof define&&define.amd&&define("underscore",[],function(){return k})}).call(this);(function(a){"function"===typeof define&&define.amd?define(a):v.onDomReady=a()})(function(){function a(b){if(!m){if(!l.body)return d(a);for(m=!0;b=x.shift();)d(b)}}function b(b){if(P|| b.type===s||l[C]===c)e(),a()}function e(){P?(l[r](F,b,p),g[r](s,b,p)):(l[A](H,b),g[A](u,b))}function d(a,b){setTimeout(a,0<=+b?b:1)}function f(a){m?d(a):x.push(a)}var g=v,l=g.document,n=l.documentElement,s="load",p=!1,u="on"+s,c="complete",C="readyState",A="detachEvent",F="DOMContentLoaded",H="onreadystatechange",r="removeEventListener",P="addEventListener"in l,Q=p,m=p,x=[];if(l[C]===c)d(a);else if(P)l.addEventListener(F,b,p),g.addEventListener(s,b,p);else{l.attachEvent(H,b);g.attachEvent(u,b);try{Q= null==g.frameElement&&n}catch(k){}Q&&Q.doScroll&&function da(){if(!m){try{Q.doScroll("left")}catch(b){return d(da,50)}e();a()}}()}f.version="1.4.0";f.isReady=function(){return m};return f});var Y;Y=function(a,b){return setTimeout(b,a)};var Ca=new function(){var a=this,b=!1,e=[];a.History=[];a.init=function(){!1==b&&(Function.prototype.bind||(Function.prototype.bind=function(a){if("function"!==typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var b= Array.prototype.slice.call(arguments,1),d=this,e=function(){},s=function(){return d.apply(this instanceof e?this:a||v,b.concat(Array.prototype.slice.call(arguments)))};e.prototype=this.prototype;s.prototype=new e;return s}),v.console&&(b=!0))};a.AddLogger=function(a){e.push()};var d=function(d){return function(){try{var g=arguments;b&&v.console[d].apply(v.console,g);a.History.push({type:d,args:g});pa.each(e,function(a){a[d].apply(a,["URP ::"].concat(Array.prototype.slice.call(g)))})}catch(l){}}}; a.log=d("log");a.warn=d("warn");a.error=d("error");a.info=d("info");/__urp=debug/gi.test(v.location.toString())&&a.init()},O,Ia,Ja,vb=[].slice;O=function(){var a;a=$.Deferred.apply($,arguments);a.fail(function(a){});return a};Ja=function(){var a,b,e,d;d=arguments[0];a=2<=arguments.length?vb.call(arguments,1):[];e=O.apply(this,a);b=Y(d,function(){return e.reject("Timeout "+d+" expired",a)});e.done(function(){return clearTimeout(b)});return e};Ia=function(){var a,b;a=arguments;b=null;return function(){b|| (b=O.apply(this,a));return b}};var mb;mb=Ia(function(a){return onDomReady(function(){return a.resolve()})});var Za;Za=Ia(function(a){return wb.done(function(b){return $.ajax("//cdn.userreport.com/w_"+b.websiteId+"/settings.js?ajax",{dataType:"text",success:function(b){b=/^_urq\.push\(\['_resourcesLoaded',\s*'WebsiteSettings',(.+)\]\)\;$/.exec(b);b=$.parseJSON(b[1]);return a.resolve(b)},error:function(){return a.reject()}})})});var $a;$a=Ia(function(a){return Za().done(function(b){return function(b){return $.ajax("//cdn.userreport.com/localization/"+ b.SurveyCulture+"/ff_localization.js",{dataType:"json",success:function(b,e,g){return a.resolve(b)},error:function(){return a.reject()}})}}(this))});var xa,Nb;Nb=function(){function a(a){this.data=a}a.prototype.include=function(a){return t[a].call(this,this.data)};return a}();xa=function(){function a(a){this.name=a}a.prototype.draw=function(a){null==a&&(a={});return(new Nb(a)).include(this.name)};return a}();var t="undefined"!=typeof t?t:{};t["icons/icon-add.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-add"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill" d="M15,8.5C15,8.775,14.775,9,14.5,9h-5C9.225,9,9,9.225,9,9.5v5C9,14.775,8.775,15,8.5,15h-1C7.225,15,7,14.775,7,14.5v-5C7,9.225,6.775,9,6.5,9h-5C1.225,9,1,8.775,1,8.5v-1C1,7.225,1.225,7,1.5,7h5C6.775,7,7,6.775,7,6.5v-5C7,1.225,7.225,1,7.5,1h1C8.775,1,9,1.225,9,1.5v5C9,6.775,9.225,7,9.5,7h5C14.775,7,15,7.225,15,7.5V8.5z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-arrow-left.html"]=function(a){var b=[];with(a)b.push('<div class="icon arrow icon-arrow-left"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 10 20"> <path class="fill" d="M0.146,10.354L9.999,20L10,0L0.146,9.646C-0.048,9.841-0.048,10.159,0.146,10.354z"/> </svg> </div> </div>');return b.join("")};t="undefined"!=typeof t? t:{};t["icons/icon-arrow-right.html"]=function(a){var b=[];with(a)b.push('<div class="icon arrow icon-arrow-right"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 10 20"> <path class="fill" d="M9.854,9.646L0,0v20l9.854-9.646C10.048,10.159,10.048,9.841,9.854,9.646z"/> </svg> </div> </div>');return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-arrow.html"]=function(a){var b= [];with(a)b.push('<div class="icon icon-arrow"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 8 5"> <path class="fill" d="M4.331,4.831c-0.182,0.226-0.479,0.226-0.662,0L0.095,0.409C-0.087,0.184,0.002,0,0.293,0h7.414c0.291,0,0.381,0.184,0.199,0.409L4.331,4.831z"/> </svg> </div> </div>');return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-back.html"]=function(a){var b= [];with(a)b.push('<div class="icon icon-back"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill" d="M0.146,8.354l5.494,5.5c0.195,0.195,0.512,0.195,0.707,0l0.707-0.707c0.195-0.195,0.195-0.512,0-0.707L3.619,9H15.5C15.776,9,16,8.776,16,8.5v-1C16,7.224,15.776,7,15.5,7H3.619l3.436-3.439c0.195-0.195,0.195-0.512,0-0.707L6.348,2.146c-0.195-0.195-0.512-0.195-0.707,0l-5.494,5.5C-0.049,7.842-0.049,8.158,0.146,8.354z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-being-implemented.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-being-implemented"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill transparent" d="M14.338,4.942C14.735,4.799,15,4.422,15,4V1c0-0.552-0.447-1-1-1H2C1.447,0,1,0.448,1,1v3c0,0.418,0.266,0.794,0.657,0.939C1.753,4.975,4,5.833,4,8c0,2.168-2.247,3.024-2.337,3.059C1.266,11.201,1,11.577,1,12v3c0,0.553,0.447,1,1,1h12c0.553,0,1-0.447,1-1v-3c0-0.418-0.266-0.794-0.657-0.939C14.247,11.025,12,10.167,12,8C12,5.833,14.247,4.976,14.338,4.942z"/> <path class="fill" d="M14,16H2c-0.553,0-1-0.447-1-1v-3c0-0.423,0.266-0.799,0.663-0.941C1.753,11.024,4,10.168,4,8c0-2.167-2.247-3.025-2.343-3.061C1.266,4.794,1,4.418,1,4V1c0-0.552,0.447-1,1-1h12c0.553,0,1,0.448,1,1v3c0,0.422-0.265,0.799-0.662,0.941C14.247,4.976,12,5.833,12,8c0,2.167,2.247,3.025,2.343,3.061C14.734,11.206,15,11.582,15,12v3C15,15.553,14.553,16,14,16z M3,14h10v-1.363C11.942,12.07,10,10.666,10,8c0-2.667,1.942-4.07,3-4.636V2H3v1.363C4.058,3.93,6,5.333,6,8c0,2.668-1.942,4.07-3,4.637V14z"/> <path class="fill" d="M9,10H7c-0.394,1.334-1.241,2.332-2,3h3.816H11C10.241,12.332,9.394,11.334,9,10z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-bug.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-bug"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill" d="M16 12.5c0 0.55-0.45 1-1 1s-1-0.45-1-1c0-0.83-0.67-1.5-1.5-1.5S11 11.67 11 12.5s0.67 1.5 1.5 1.5c0.55 0 1 0.45 1 1s-0.45 1-1 1C10.57 16 9 14.43 9 12.5c0-0.33 0.061-0.64 0.141-0.94L4.44 6.86C4.14 6.94 3.83 7 3.5 7 1.57 7 0 5.43 0 3.5c0-0.55 0.45-1 1-1s1 0.45 1 1C2 4.33 2.67 5 3.5 5c0.09 0 0.18-0.01 0.27-0.03 0.03 0 0.05 0 0.07-0.01 0.08-0.02 0.15-0.04 0.22-0.07C4.1 4.88 4.13 4.86 4.17 4.83 4.46 4.7 4.7 4.46 4.83 4.17 4.86 4.13 4.88 4.1 4.89 4.06 4.92 3.99 4.94 3.92 4.96 3.84 4.97 3.82 4.97 3.8 4.97 3.77 4.99 3.68 5 3.59 5 3.5 5 2.67 4.33 2 3.5 2c-0.55 0-1-0.45-1-1s0.45-1 1-1C5.43 0 7 1.57 7 3.5c0 0.33-0.06 0.64-0.14 0.94l4.701 4.699C11.859 9.06 12.17 9 12.5 9 14.43 9 16 10.57 16 12.5z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-checkbox.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-checkbox checked"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="bg" d="M15,0H1C0.447,0,0,0.447,0,1v14c0,0.553,0.447,1,1,1h14c0.553,0,1-0.447,1-1V1C16,0.447,15.553,0,15,0z"/> <path class="fill frame" d="M15,0H1C0.447,0,0,0.447,0,1v14c0,0.553,0.447,1,1,1h14c0.553,0,1-0.447,1-1V1C16,0.447,15.553,0,15,0z M14,14H2V2h12V14z"/> <path class="fill check" d="M6.646,11.061c0.195,0.195,0.512,0.195,0.707,0l4.5-4.5c0.194-0.195,0.194-0.512,0-0.707l-0.707-0.707c-0.195-0.195-0.513-0.195-0.707,0L7,8.586l-1.439-1.44c-0.195-0.195-0.512-0.195-0.707,0L4.146,7.854c-0.195,0.195-0.195,0.512,0,0.707L6.646,11.061z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-checkmark.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-checkmark"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill" d="M15.854,4.56c0.195-0.194,0.195-0.513,0-0.707l-0.709-0.707c-0.193-0.194-0.512-0.194-0.707,0L6.184,11.38L1.562,6.769c-0.195-0.194-0.513-0.195-0.708,0L0.145,7.475c-0.193,0.194-0.194,0.512,0,0.707l5.686,5.672c0.195,0.194,0.513,0.194,0.708,0l0-0.001l0,0L15.854,4.56z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-clear.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-clear"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <circle class="fill transparent" cx="8" cy="8" r="8"/> <path class="fill" d="M8,0C3.581,0,0,3.581,0,8s3.581,8,8,8s8-3.581,8-8S12.419,0,8,0z M9.768,8.354l2.086,2.086c0.195,0.195,0.195,0.514,0,0.707l-0.707,0.707c-0.193,0.195-0.512,0.195-0.707,0L8.354,9.768c-0.195-0.195-0.513-0.195-0.707,0L5.56,11.854c-0.194,0.195-0.512,0.195-0.707,0l-0.707-0.707c-0.194-0.193-0.194-0.512,0-0.707l2.087-2.086c0.194-0.195,0.194-0.513,0-0.707L4.146,5.56c-0.194-0.194-0.194-0.513,0-0.707l0.707-0.707c0.194-0.194,0.513-0.194,0.707,0l2.087,2.087c0.194,0.194,0.513,0.194,0.707,0l2.086-2.087c0.195-0.194,0.514-0.194,0.707,0l0.707,0.707c0.195,0.195,0.195,0.513,0,0.707L9.768,7.646C9.572,7.841,9.572,8.158,9.768,8.354z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-close.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-close"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill" d="M9.768,8.354c-0.194-0.195-0.194-0.513,0-0.707l4.086-4.087c0.195-0.194,0.195-0.512,0-0.707l-0.707-0.707c-0.192-0.194-0.512-0.194-0.707,0L8.354,6.232c-0.194,0.194-0.513,0.194-0.707,0L3.56,2.146c-0.194-0.194-0.513-0.194-0.707,0L2.146,2.853c-0.194,0.194-0.194,0.513,0,0.707l4.087,4.087c0.194,0.194,0.194,0.512,0,0.707l-4.087,4.085c-0.194,0.195-0.194,0.515,0,0.707l0.707,0.707c0.195,0.195,0.513,0.195,0.707,0l4.087-4.086c0.194-0.194,0.512-0.194,0.707,0l4.085,4.086c0.195,0.195,0.515,0.195,0.707,0l0.707-0.707c0.195-0.192,0.195-0.512,0-0.707L9.768,8.354z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-comment.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-comment"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <rect class="fill transparent" x="4" y="4" width="8" height="5"/> <path class="fill" d="M15,0H1C0.45,0,0,0.45,0,1v11c0,0.55,0.45,1,1,1h3c0.55,0,1.318,0.318,1.707,0.707l1.586,1.586L8,16l0.707-0.707l1.586-1.586C10.682,13.318,11.45,13,12,13h3c0.55,0,1-0.45,1-1V1C16,0.45,15.55,0,15,0z M10,8.5C10,8.775,9.775,9,9.5,9h-5C4.225,9,4,8.775,4,8.5v-1C4,7.225,4.225,7,4.5,7h5C9.775,7,10,7.225,10,7.5V8.5z M12,5.5C12,5.775,11.775,6,11.5,6h-7C4.225,6,4,5.775,4,5.5v-1C4,4.225,4.225,4,4.5,4h7C11.775,4,12,4.225,12,4.5V5.5z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-considered.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-considered"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <circle class="fill" cx="7.5" cy="11.5" r="1.5"/> <circle class="fill" cx="4" cy="15" r="1"/> <path class="fill" d="M2.5,3c0.587,0,1.119,0.21,1.546,0.549C4.272,1.554,5.944,0,8,0c1.617,0,3.002,0.964,3.633,2.344C12.044,2.131,12.505,2,13,2c1.657,0,3,1.343,3,3s-1.343,3-3,3H2.5C1.119,8,0,6.881,0,5.5S1.119,3,2.5,3z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-description.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-description"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill" d="M15.5,1h-15C0.224,1,0,1.224,0,1.5v1C0,2.776,0.224,3,0.5,3h15C15.776,3,16,2.776,16,2.5v-1C16,1.224,15.776,1,15.5,1z"/> <path class="fill" d="M15.5,5h-15C0.224,5,0,5.224,0,5.5v1C0,6.776,0.224,7,0.5,7h15C15.776,7,16,6.776,16,6.5v-1C16,5.224,15.776,5,15.5,5z"/> <path class="fill" d="M15.5,9h-15C0.224,9,0,9.224,0,9.5v1C0,10.776,0.224,11,0.5,11h15c0.276,0,0.5-0.224,0.5-0.5v-1C16,9.224,15.776,9,15.5,9z"/> <path class="fill" d="M8.5,13h-8C0.224,13,0,13.224,0,13.5v1C0,14.776,0.224,15,0.5,15h8C8.776,15,9,14.776,9,14.5v-1C9,13.224,8.776,13,8.5,13z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-email.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-email"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill transparent" d="M15,1H1C0.447,1,0,1.447,0,2v12c0,0.553,0.447,1,1,1h14c0.553,0,1-0.447,1-1V2C16,1.447,15.553,1,15,1z"/> <path class="fill" d="M15,1H1C0.447,1,0,1.447,0,2v12c0,0.553,0.447,1,1,1h14c0.553,0,1-0.447,1-1V2C16,1.447,15.553,1,15,1z M13.586,3L8,7.586L2.414,3H13.586z M2,5.414l5.646,4.646c0.195,0.195,0.512,0.195,0.707,0L14,5.414V13H2V5.414z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-idea.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-idea"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill transparent" d="M14,6.5C14,2.911,11.09,0,7.5,0S1,2.911,1,6.5c0,2.319,1.219,4.35,3.047,5.5H4v2c0.303,0.323,1.145,0.584,2.016,0.734C6.098,15.444,6.727,16,7.5,16c0.773,0,1.402-0.556,1.484-1.266C9.855,14.584,10.697,14.323,11,14v-2h-0.047C12.781,10.85,14,8.819,14,6.5z"/> <path class="fill" d="M14,6.5C14,2.911,11.09,0,7.5,0S1,2.911,1,6.5c0,2.319,1.219,4.35,3.047,5.5H4v2c0.303,0.323,1.145,0.584,2.016,0.734C6.098,15.444,6.727,16,7.5,16c0.773,0,1.402-0.556,1.484-1.266C9.855,14.584,10.697,14.323,11,14v-2h-0.047C12.781,10.85,14,8.819,14,6.5z M9,11.115V12.5C9,12.776,8.776,13,8.5,13h-2C6.224,13,6,12.776,6,12.5v-1.385C4.046,10.48,2.625,8.666,2.625,6.5c0-2.693,2.181-4.875,4.875-4.875c2.693,0,4.875,2.182,4.875,4.875C12.375,8.666,10.954,10.48,9,11.115z"/> <path class="fill" d="M5,6.5H4C4,4.57,5.57,3,7.5,3v1C6.122,4,5,5.121,5,6.5z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-like.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-like"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill transparent" d="M14 6h-2.219H11.5C11.225 6 11 5.775 11 5.5c0-0.176 0-0.389 0-0.625C11 3.958 11 2.706 11 2c0-1.201-2-2-2-2H8.031 7L6.422 1.156l-1.86 3.719 0 0L4.223 5.553C4.1 5.799 3.773 6 3.499 6H3 2.656 0v10h3 8c0 0 5-6.042 5-8S14 6 14 6z"/> <path class="fill" d="M14 6h-2.219H11.5C11.225 6 11 5.775 11 5.5c0-0.176 0-0.389 0-0.625C11 3.958 11 2.706 11 2c0-1.201-2-2-2-2H8.031 7L6.422 1.156l-1.86 3.719 0 0L4.223 5.553C4.1 5.799 3.773 6 3.499 6H3 2.656 0v10h3 8c0 0 5-6.042 5-8S14 6 14 6zM10.047 14H3V8h0.499 0.5 1.236l0.553-1.105L6.01 6.451c0-0.001 0.001-0.002 0.002-0.004L6.595 5.28l1.616-3.229L8.236 2h0.313C8.723 2.096 8.891 2.207 9 2.298v2.577V5.5 6v2h2 0.499C11.5 8 11.5 8 11.5 8h0.281l0 0 2.177 0c0 0 0.011 0.003 0.027 0.009C13.75 8.902 12.02 11.525 10.047 14z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-new.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-new"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill transparent" d="M3,12V9.305C3,6.379,5.243,4,8,4s5,2.379,5,5.305V12H3z"/> <path class="fill" d="M15,9.305c0-3.322-2.125-6.118-5.03-7.006C9.984,2.2,10,2.102,10,2c0-1.105-0.896-2-2-2S6,0.895,6,2c0,0.102,0.016,0.2,0.03,0.299C3.125,3.187,1,5.982,1,9.305V12H0.5C0.224,12,0,12.224,0,12.5v1C0,13.776,0.224,14,0.5,14H6c0,1.105,0.896,2,2,2s2-0.895,2-2h5.5c0.276,0,0.5-0.224,0.5-0.5v-1c0-0.276-0.224-0.5-0.5-0.5H15V9.305z M3,12V9.305C3,6.379,5.243,4,8,4s5,2.379,5,5.305V12H3z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-name.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-name"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill transparent" d="M15.972,14c-0.251-3.045-1.698-4.924-4.282-5.646C12.501,7.467,13.005,6.297,13.005,5c0-2.762-2.239-5-5.005-5S2.993,2.238,2.993,5c0,1.297,0.506,2.467,1.317,3.354C1.724,9.076,0.278,10.955,0.027,14C0.016,14.146,0.006,14.577,0,15.001C-0.009,15.553,0.436,16,0.99,16h14.018c0.556,0,0.999-0.447,0.992-0.999C15.991,14.577,15.983,14.146,15.972,14z"/> <path class="fill" d="M15.972,14c-0.251-3.045-1.698-4.924-4.282-5.646C12.501,7.467,13.005,6.297,13.005,5c0-2.762-2.239-5-5.005-5S2.993,2.238,2.993,5c0,1.297,0.506,2.467,1.317,3.354C1.724,9.076,0.278,10.955,0.027,14C0.016,14.146,0.006,14.577,0,15.001C-0.009,15.553,0.436,16,0.99,16h14.018c0.556,0,0.999-0.447,0.992-0.999C15.991,14.577,15.983,14.146,15.972,14z M8,2c1.656,0,3.004,1.346,3.004,3S9.656,8,8,8C6.343,8,4.995,6.654,4.995,5S6.343,2,8,2z M2.035,14c0.266-2.826,1.762-4,4.964-4h2.002c3.202,0,4.695,1.174,4.962,4H2.035z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-search.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-search"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <path class="fill transparent" d="M15.707,14.293l-3.112-3.092c-0.002-0.002-0.004-0.002-0.006-0.004C13.471,10.025,14,8.575,14,7c0-3.859-3.141-7-7-7S0,3.141,0,7s3.141,7,7,7c1.575,0,3.025-0.529,4.196-1.41c0.002,0.002,0.002,0.004,0.004,0.006l3.093,3.111C14.488,15.902,14.744,16,15,16s0.512-0.098,0.707-0.293C16.098,15.316,16.098,14.684,15.707,14.293z"/> <path class="fill" d="M15.707,14.293l-3.112-3.092c-0.002-0.002-0.004-0.002-0.006-0.004C13.471,10.025,14,8.575,14,7c0-3.859-3.141-7-7-7S0,3.141,0,7s3.141,7,7,7c1.575,0,3.025-0.529,4.196-1.41c0.002,0.002,0.002,0.004,0.004,0.006l3.093,3.111C14.488,15.902,14.744,16,15,16s0.512-0.098,0.707-0.293C16.098,15.316,16.098,14.684,15.707,14.293z M7,12c-2.757,0-5-2.243-5-5s2.243-5,5-5s5,2.243,5,5S9.757,12,7,12z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-send.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-send"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <circle class="fill transparent" cx="12.5" cy="3.5" r="2.5"/> <path class="fill" d="M2.448,4.999c-0.277,0-0.613,0.237-0.749,0.481L0.079,8.393C-0.057,8.637-0.015,9.01,0.174,9.215l0.728,0.796c0.188,0.205,0.555,0.308,0.822,0.228l1.63-0.498l1.409,1.442l1.41,1.433l-0.546,1.651c-0.087,0.263,0.014,0.623,0.226,0.802L6.76,15.84c0.212,0.178,0.58,0.213,0.822,0.078l2.952-1.629c0.242-0.134,0.48-0.471,0.48-0.75v-3.74C16.021,7.094,16,2.056,16,0.544C16,0.266,15.757,0,15.479,0C13.97,0,9.277,0,6.172,4.999H2.448z M12.501,5.005c-0.834,0-1.509-0.672-1.509-1.5s0.675-1.5,1.509-1.5c0.832,0,1.507,0.671,1.507,1.5S13.333,5.005,12.501,5.005z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-share.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-name"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <circle class="fill transparent" cx="12.5" cy="3.5" r="1.8"/> <circle class="fill transparent" cx="4" cy="8" r="2.057"/> <circle class="fill transparent" cx="12.5" cy="12.5" r="1.8"/> <path class="fill" d="M12.5,9c-1.088,0-2.049,0.508-2.69,1.287L7.775,9.27C7.91,8.868,8,8.446,8,8S7.91,7.132,7.775,6.73L9.81,5.713C10.451,6.492,11.412,7,12.5,7C14.433,7,16,5.433,16,3.5S14.433,0,12.5,0S9,1.567,9,3.5c0,0.125,0.023,0.242,0.037,0.363L6.674,5.045C5.965,4.402,5.032,4,4,4C1.791,4,0,5.791,0,8s1.791,4,4,4c1.032,0,1.965-0.402,2.674-1.045l2.363,1.182C9.023,12.258,9,12.375,9,12.5c0,1.933,1.567,3.5,3.5,3.5s3.5-1.567,3.5-3.5S14.433,9,12.5,9z M12.5,1.7c0.992,0,1.8,0.808,1.8,1.8s-0.808,1.8-1.8,1.8s-1.8-0.808-1.8-1.8S11.508,1.7,12.5,1.7z M4,10.057c-1.135,0-2.057-0.922-2.057-2.057S2.865,5.943,4,5.943S6.057,6.865,6.057,8S5.135,10.057,4,10.057z M12.5,14.3c-0.992,0-1.8-0.808-1.8-1.8s0.808-1.8,1.8-1.8s1.8,0.808,1.8,1.8S13.492,14.3,12.5,14.3z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["icons/icon-time.html"]=function(a){var b=[];with(a)b.push('<div class="icon icon-time"> <div class="svg-content"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"> <circle class="fill transparent" cx="8" cy="8" r="8"/> <path class="fill" d="M8,0C3.58,0,0,3.58,0,8s3.58,8,8,8s8-3.58,8-8S12.42,0,8,0z M8,14c-3.31,0-6-2.689-6-6s2.69-6,6-6c3.311,0,6,2.689,6,6S11.311,14,8,14z"/> <path class="fill" d="M10,8H8V6c0-0.553-0.447-1-1-1S6,5.447,6,6v2v1c0,0.553,0.447,1,1,1h1h2c0.553,0,1-0.447,1-1S10.553,8,10,8z"/> </svg> </div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["idea-list.html"]=function(a){var b=[];with(a)b.push('<div class="page" id="overview" data-bind="with: ideaList" data-page-switch="showpage-overview"> <div class="loading-wrap" data-bind="visible: isLoading"> <div data-bind="dotLoad: isLoading, dotLoadSize: \'default\'"> </div> </div> <div class="no-results" data-bind="css: { show: isEmptyListMessageVisible }, html: emptyListMessage"> </div> <div id="scroll-overview" class="scroll" data-bind="scrollPane: { scrollTop: scrollTop }, css: { hide: isEmptyListMessageVisible }"> <div class="padding"> <div class="table-overview" data-bind="ideasList: { data: ideasList, enabled: isVisible, itemsPerPage: itemsPerPage, autoLoad: listAutoLoad }"></div> </div> </div> </div> '); return b.join("")};t="undefined"!=typeof t?t:{};t["idea-details.html"]=function(a){var b=[];with(a)b.push('\x3c!-- Coloum two START --\x3e <div class="col sec idea" data-bind="with: ideaDetails" data-page-switch="showpage-idea"> <div data-bind="with: idea"> <div class="padding"> <div class="group btn-group"> <button class="btn btn-vote tip" data-pos="left" data-bind="voteButton: $data, tooltip: { value: voteTooltip, enabled: !voting() }"> <div data-bind="template: voteIconTemplate"></div> <span>', app.localization.DefaultPageVote,'</span> </button> </div> <div class="spacer"></div> <ul class="idea-details"> <li> <div data-bind="template: statusIconTemplate, attr: { \'data-tip\': statusTooltip, tooltip: statusTooltip }"></div> <span data-bind="text: statusTooltip"></span> </li> <li class="vote-link" data-bind="click: vote, css: { \'trigger-vote\': canVote }"> <div data-bind="svgToPng: { template: voteIconTemplate, color: iconLikeSmallColor, hoverColor: iconLikeSmallColorHoverActive, activeColor: iconLikeSmallColorHoverActive, selector: \'.idea-details li.vote-link\', width: 16, height: 16 }"></div> <span data-bind="text: votesCount"></span> ', app.localization.Votes.text," </li> <li> ",this.include("icons/icon-comment.html"),' <span data-bind="text: commentsCount"></span> ',app.localization.Comments.text.toLowerCase()," </li> <li> ",this.include("icons/icon-time.html")," ",app.localization.Added.text,' <span data-bind="text: timeAgo"></span> </li> <li> ',this.include("icons/icon-name.html"),' <span data-bind="text: app.localization.Suggested.text"></span> <span data-bind=" text: userName"></span> </li> </ul> </div> </div> </div> \x3c!-- Coloum two END --\x3e <div class="page idea" id="idea" data-bind="with: ideaDetails" data-page-switch="showpage-idea"> \x3c!-- Coloum one START --\x3e <div class="col pri scroll" data-bind="visible: isLoading"> ', app.localization.LoadingIdea,' </div> <div class="col pri scroll" id="scroll-idea" data-bind=" scrollPane: { refreshOn: ideaVisibleCommentsAndForm, scrollTop: scrollTop, animate: scrollAnimate }"> <div class="padding" data-bind="with: idea"> <h2 data-bind="text: title"></h2> <span data-bind="nl2br: description"></span> <ul class="idea-details hidden"> <li> ',this.include("icons/icon-name.html")," ",app.localization.JustBy.text,' <span data-bind="text: userName"></span> - <span data-bind="text: timeAgo"></span> </li> <li class="trigger-vote" data-bind="click: vote"> <div data-bind="svgToPng: { template: voteIconTemplate, color: iconLikeSmallColor, width: 16, height: 16 }"></div> <span data-bind="text: votesCount"></span> ', app.localization.Votes.text,' </li> <li> <div data-bind="template: statusIconTemplate, attr: { \'data-tip\': statusTooltip, tooltip: statusTooltip }"></div> <span data-bind="text: statusTooltip"></span> </li> </ul> <div class="spacer"></div> <div id="comment-anchor" data-bind="elementPosition: { relativeTo: \'#idea\', refreshOn: $parent.idea, y: $parent.commentsPositionTop }"></div> <h2>',app.localization.Comments.text,'<span class="amount" data-bind="text: commentsCount"></span></h2> <div class="comments"> <div data-bind="foreach: comments"> <div data-bind="fadeTransition: { visible: visible, animate: $parent.animateComments }" class="item"> <div class="avatar">', this.include("icons/icon-name.html"),'</div> <p data-bind="nl2br: comment" class="mimic-span"></p> <span><p class="mimic-span" data-bind="text: timeAgo"></p> ',app.localization.JustBy.text.toLowerCase(),' <p data-bind="text: userName" class="mimic-span"></p></span> </div> </div> <button id="btn-more" class="btn btn-transparent" data-bind="stableVisible: moreLinkVisible, click: showMoreComments">',app.localization.More.text," </button> </div> ",this.include("new-comment-form.html"), " </div> </div> \x3c!-- Coloum one END --\x3e </div> \x3c!-- Idea END --\x3e");return b.join("")};t="undefined"!=typeof t?t:{};t["give-feedback.html"]=function(a){var b=[];with(a)b.push('<div class="page" id="create" data-bind="with: giveFeedback, css: giveFeedback.pageClassName" data-page-switch="showpage-create"> \x3c!-- Coloum one START --\x3e <div class="col pri"> <div class="padding" style="background: #fff"> <div class="group"> <h2 class="feedback-title" data-bind="text: app.localization.GiveFeedbackButton.text">?Give feedback</h2> <div class="switch left" data-bind="shortFullCaptionsSwitcher: useShortText"> <button id="btn-idea" class="btn " data-page="idea" data-action="navigate" data-href="', app.urls.giveFeedback("idea"),'" data-bind="css: ideaButtonClassName"> ',this.include("icons/icon-idea.html"),' <span data-bind="text: ideaButtonText"></span> </button> <button id="btn-bug" class="btn " data-page="bug" data-action="navigate" data-href="',app.urls.giveFeedback("bug"),'" data-bind="css: bugButtonClassName"> ',this.include("icons/icon-bug.html"),' <span data-bind="text: bugButtonText"></span> </button> </div> </div> <form id="form-idea" class="group hidden" data-bind="submit: submit"> <input type="text" value="hello, i\'m a fix" class="form-fix"/> <div class="mobile-help" data-bind="mobileHelp: ideaMobileHelpVisible"> <div class="padding"> ', this.include("icons/icon-close.html"),' <h3><a href="#" data-bind="text: addIdeaHelpTitle">?Add new idea</a></h3> <span data-bind="nl2br: addIdeaHelpBody"></span> </div> </div> <div class="group"> <div class="input-wrap"> <div class="wp-input-icon-fix"></div> <input tabindex="1" class="input" id="idea-suggest" type="text" maxlength="80" data-bind="value: title, valueUpdate: [\'afterkeydown\', \'keyup\'], decoreInput: title, decoreValid: validation.title" /> <div class="placeholder" data-bind="text: app.localization.AddIdeaTxtTitle.value">?Title</div> ', this.include("icons/icon-idea.html"),' </div> <div class="input-wrap textarea-wrap"> <div class="wp-input-icon-fix"></div> <textarea tabindex="2" class="input" id="idea-description" data-bind="value: description, valueUpdate: [\'afterkeydown\', \'input\'], decoreInput: description, decoreValid: validation.description" ></textarea> <div class="placeholder" data-bind="text: app.localization.AddIdeaTxtDescription.text">?Description of the idea</div> ',this.include("icons/icon-description.html"), ' </div> <div class="half"> <div class="col"> <div class="input-wrap"> <div class="wp-input-icon-fix"></div> <input tabindex="3" class="input" type="text" id="idea-author-name" maxlength="50" data-bind="value: authorName, valueUpdate: [\'afterkeydown\'], decoreInput: authorName, decoreValid: validation.authorName" /> <div class="placeholder" data-bind="text: app.localization.AddIdeaTxtName.value">?Name</div> ',this.include("icons/icon-name.html"), ' </div> </div> <div class="col"> <div class="input-wrap"> <div class="wp-input-icon-fix"></div> <input tabindex="4" class="input" type="email" id="idea-author-email" maxlength="100" data-bind="value: authorEmail, valueUpdate: [\'afterkeydown\'], decoreInput: authorEmail, decoreValid: validation.authorEmail" /> <div class="placeholder" data-bind="text: app.localization.AddIdeaTxtEmail.value">?Email</div> ',this.include("icons/icon-email.html"), ' </div> </div> </div> </div> <div class="form-submit"> <div class="form-submit-button"> <button tabindex="6" class="btn page-trigger" type="submit" id="btn-add-idea" data-page="overview" data-bind="onFocus"> ',this.include("icons/icon-send.html"),' <span data-bind="text: app.localization.SubmitButton.text">?Submit</span> </button> </div> <div class="form-submit-checkbox"> <div class="checkbox-wrap" data-bind="svgchecked: notifyMe"> ', this.include("icons/icon-checkbox.html"),' <a tabindex="5" class="haveFocus" data-bind="onFocus">',app.localization.AddIdeaNotify.text,'</a> </div> </div> </div> </form> <form id="form-bug" class="group hidden" data-bind="submit: submit"> <input type="text" value="hello, i\'m a fix" class="form-fix"/> <div class="mobile-help" data-bind="mobileHelp: bugMobileHelpVisible" > <div class="padding"> ',this.include("icons/icon-close.html"),' <h3><a href="#" data-bind="text: reportBugHelpTitle">?Report a bug</a></h3> <span data-bind="nl2br: reportBugHelpBody"></span> </div> </div> <div class="group"> <div class="input-wrap"> <input tabindex="1" class="input" id="bug-topic" type="text" maxlength="80" data-bind="value: title, valueUpdate: [\'afterkeydown\'], decoreInput: title, decoreValid: validation.title" /> <div class="placeholder" data-bind="text: app.localization.ReportBugTxtTopic.value">?Topic</div> ', this.include("icons/icon-bug.html"),' </div> <div class="input-wrap textarea-wrap"> <textarea tabindex="2" class="input" id="bug-description" data-bind="value: description, valueUpdate: [\'afterkeydown\', \'input\'], decoreInput: description, decoreValid: validation.description"></textarea> <div class="placeholder" data-bind="text: app.localization.ReportBugTxtDescription.text">?Description of the problem</div> ',this.include("icons/icon-description.html"),' </div> <div class="half"> <div class="col"> <div class="input-wrap"> <input tabindex="3" class="input" type="text" id="bug-author-name" maxlength="50" data-bind="value: authorName, valueUpdate: [\'afterkeydown\'], decoreInput: authorName, decoreValid: validation.authorName" /> <div class="placeholder" data-bind="text: app.localization.ReportBugTxtName.value">?Name</div> ', this.include("icons/icon-name.html"),' </div> </div> <div class="col"> <div class="input-wrap"> <input tabindex="4" class="input" type="email" id="bug-author-email" maxlength="100" data-bind="value: authorEmail, valueUpdate: [\'afterkeydown\'], decoreInput: authorEmail, decoreValid: validation.authorEmail" /> <div class="placeholder" data-bind="text: app.localization.ReportBugTxtEmail.value">?Email</div> ',this.include("icons/icon-email.html"),' </div> </div> </div> </div> <div class="form-submit"> <div class="form-submit-button"> <button tabindex="5" class="btn page-trigger" type="submit" id="btn-add-bug" data-page="overview" data-bind="onFocus"> ', this.include("icons/icon-send.html"),' <span data-bind="text: app.localization.SubmitButton.text">?Submit</span> </button> </div> \x3c!-- <div class="form-submit-checkbox left"> <div class="checkbox-wrap" data-bind="svgchecked: notifyMe"> ',this.include("icons/icon-checkbox.html")," ",app.localization.ScreenShotCheckbox.text,' </div> </div> --\x3e </div> </form> </div> </div> \x3c!-- Coloum one END --\x3e \x3c!-- Coloum two START --\x3e <div id="sidebar" class="col sec" data-bind="css: sliderClassName"> <div id="help-idea" class="sidebar-content"> <div class="padding"> ', this.include("icons/icon-arrow-left.html"),' <h2 data-bind="text: addIdeaHelpTitle">?Add new idea</h2> <span data-bind="nl2br: addIdeaHelpBody"></span> </div> </div> <div id="help-bug" class="sidebar-content"> <div class="padding"> ',this.include("icons/icon-arrow-left.html"),' <h2 data-bind="text: reportBugHelpTitle">?Report a bug</h2> <span data-bind="nl2br: reportBugHelpBody"></span> </div> </div> <div id="similar" class="sidebar-content"> <div class="padding"> ', this.include("icons/icon-arrow-right.html"),' <h2> <div class="icon-wrap">',this.include("icons/icon-idea.html"),"</div> ",app.localization.SimilarIdeaTitle.text,' </h2> \x3c!-- ko foreach: similarIdeas --\x3e <div class="item page-trigger" data-page="idea" data-action="navigate" data-bind="attr: { \'data-href\': app.urls.ideaDetails(ideaId) }"> <strong data-bind="html: titleHighlighted"></strong> <span data-bind="html: descriptionHighlighted" ></span> </div> \x3c!-- /ko --\x3e </div> </div> </div> </div> '); return b.join("")};t="undefined"!=typeof t?t:{};t["layout.html"]=function(a){var b=[];with(a){b.push('\x3c!-- Header --\x3e <header id="header" class="invisible"> <div class="container"> <div class="padding"> <div class="header-bg"> <div class="header-logo" data-bind="template: { name: logoTemplate }"> </div> <div class="header-buttons" id="header-buttons"> <button id="btn-give-feedback" class="btn btn-header-create" data-action="navigate" data-href="',app.urls.giveFeedback("idea"), '"> ',this.include("icons/icon-add.html"),' <span data-bind="text: app.localization.GiveFeedbackButton.text">?Give feedback</span> </button> <button id="btn-back" class="btn btn-header-back btn-transparent" data-bind="click: back, visible: backVisible"> ',this.include("icons/icon-back.html"),' <span data-bind="text: app.localization.BackCommentHref.text">?Back</span> </button> <span data-bind="with: ideaDetails.idea"> <button id="btn-vote-mobile" class="btn btn-header-vote" data-bind="voteButton: $data, click: vote"> <div data-bind="template: voteIconTemplate"></div> </button> </span> <span data-bind="template: {if: ideaDetails.idea, data: ideaDetails}" class="mobile-only"> <button id="btn-comment-mobile" class="btn btn-header-comment" data-bind="click: scrollToComments"> ', this.include("icons/icon-comment.html"),' </button> </span> </div> <h3 class="header-title" data-bind="text: app.localization.FeedbackButton.text">Feedback</h3> </div> <div class="header-search-and-filter" id="header-search-and-filter"> <div class="header-filter"> <select data-bind=" styledSelect: true, options: ideaList.modeOptions, optionsValue: \'mode\', optionsText: \'caption\', value: ideaList.mode "> </select> </div> <div class="header-search" data-bind="feedbackSearch: ideaList.searchKeyword, searchStock: ideaList.isVisible"> ', this.include("icons/icon-search.html")," ",this.include("icons/icon-clear.html"),' <input type="text" data-bind="value: ideaList.searchKeyword, valueUpdate: \'afterkeyup\'" /> <div class="placeholder" data-bind="text: app.localization.Search">?Search</div> </div> <div class="header-close" data-bind="visible: showCloseButton, click: onCloseClick">',this.include("icons/icon-close.html"),'</div> </div> </div> </div> </header> <div id="content" class="container invisible"> ', this.include("idea-list.html")," ",this.include("idea-details.html")," ",this.include("give-feedback.html"),' <div class="captcha" data-bind="css: pageClassName, visible: canSeeCaptcha"> <div id=\'recaptcha\' data-badge="bottomleft"></div> </div> </div> ');var e=this;pa.each(Ob,function(a){b.push(' <script type="text/html" id="',a,'"> ',e.include("icons/"+a+".html")," ","\x3c/script>"," ")});b.push(' <script type="text/html" id="default-logo"> <div class="svg-userreport-logo-wrapper"> <a href="', app.urls.ideaList(),'"> <svg class="svg-userreport-logo" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g transform="scale(1.78)"> <path class="primary" d="M37.889,10.606c-0.171-0.781-0.736-0.854-1.002-0.854c-0.623,0-0.963,0.445-0.963,0.854c0,0.569,0.434,0.694,1.776,1.103 c1.304,0.373,2.929,0.958,2.929,2.949c0,2.221-1.872,3.447-3.667,3.447c-1.039,0-2.323-0.338-3.135-1.297 c-0.645-0.746-0.739-1.529-0.795-2.133h2.57c0.114,0.443,0.341,1.261,1.38,1.261c0.812,0,1.134-0.586,1.134-0.994 c0-0.729-0.566-0.905-2.363-1.475c-1.189-0.374-2.343-1.209-2.343-2.825c0-1.919,1.834-3.056,3.515-3.056 c1.569,0,3.326,1.066,3.421,3.02H37.889z"></path> <path class="primary" d="M53.449,7.922h2.184v0.872h0.036c0.448-0.64,0.895-1.208,2.129-1.208h0.197v2.292c-2.166,0.088-2.166,1.776-2.166,2.362 v5.545h-2.381V7.922z"></path> <path d="M59.439,4.636h4.062c1.521,0,2.469,0.283,3.223,0.888c0.75,0.604,1.555,1.67,1.555,3.181c0,0.871-0.32,2.239-1.27,3.146 c-0.789,0.745-1.539,0.925-2.201,1.085l3.598,4.85h-2.971l-3.51-5.027h-0.035v5.027h-2.451V4.636z M61.891,10.926h1.574 c2.023,0,2.363-1.333,2.363-2.027c0-0.729-0.447-1.99-2.363-1.99h-1.574V10.926z"></path> <path d="M105.033,7.922h2.184v0.872h0.037c0.447-0.64,0.895-1.208,2.129-1.208h0.197v2.292c-2.166,0.088-2.166,1.776-2.166,2.362 v5.545h-2.381V7.922z"></path> <path d="M112.186,10.02h-1.162V7.922h1.162V4.636h2.383v3.287H116v2.098h-1.432v7.765h-2.383V10.02z"></path> <path d="M98.352,7.604c-2.916,0-5.281,2.346-5.281,5.242c0,2.895,2.365,5.241,5.281,5.241c2.918,0,5.281-2.347,5.281-5.241 C103.633,9.949,101.27,7.604,98.352,7.604z M98.352,15.901c-1.699,0-3.076-1.367-3.076-3.056c0-1.688,1.377-3.056,3.076-3.056 c1.703,0,3.078,1.369,3.078,3.056C101.43,14.534,100.055,15.901,98.352,15.901z"></path> <path d="M86.348,7.604c-2.916,0-5.279,2.347-5.279,5.241c0,0.569,0,8.282,0,8.282h2.182l0.008-4.035v-4.247h0.012 c0-1.687,1.379-3.055,3.078-3.055c1.701,0,3.078,1.369,3.078,3.055c0,1.689-1.377,3.057-3.078,3.057 c-0.658,0-1.256-0.22-1.754-0.569c0,0.754,0,1.617,0,2.451c0.549,0.194,1.139,0.304,1.754,0.304c2.918,0,5.281-2.347,5.281-5.242 C91.629,9.95,89.266,7.604,86.348,7.604z"></path> <path class="primary" d="M12.234,11.295c-2.293,0-4.446-0.95-6.312-2.607c1.371,3.07,3.688,5.09,6.312,5.09c2.628,0,4.942-2.02,6.312-5.09 C16.68,10.345,14.529,11.295,12.234,11.295z"></path> <ellipse class="primary" cx="9.587" cy="6.544" rx="1.923" ry="1.91"></ellipse> <ellipse class="primary" cx="14.9" cy="6.544" rx="1.922" ry="1.91"></ellipse> <path d="M76.391,15.225c-0.461,0.466-1.1,0.712-1.887,0.712c-1.699,0-2.631-1.386-2.738-2.024h7.715 c0.072-0.32,0.145-0.73,0.145-1.191c0-2.487-1.881-5.134-5.139-5.134c-3.148,0-5.227,2.504-5.227,5.294 c0,2.881,2.221,5.225,5.244,5.225c2.102,0,3.826-1.327,4.576-2.881H76.391z M74.504,9.752c1.271,0,2.418,0.677,2.686,2.257h-5.494 C72.141,10.18,73.537,9.752,74.504,9.752z"></path> <path class="primary" d="M48.771,15.225c-0.46,0.466-1.098,0.712-1.886,0.712c-1.7,0-2.63-1.386-2.738-2.024h7.716 c0.071-0.32,0.143-0.73,0.143-1.191c0-2.487-1.879-5.134-5.137-5.134c-3.15,0-5.227,2.504-5.227,5.294 c0,2.881,2.219,5.225,5.244,5.225c2.102,0,3.828-1.327,4.576-2.881H48.771z M46.885,9.752c1.271,0,2.417,0.677,2.686,2.257h-5.495 C44.523,10.18,45.92,9.752,46.885,9.752z"></path> <path class="primary" d="M21.993,17.607c-0.232-0.208-0.42-0.417-0.561-0.605c-0.26-0.344-0.506-0.846-0.661-1.548 c-0.225,0.087-0.468,0.136-0.723,0.136H16.83H14.35v2.462v0.804l-5.492-2.967L8.303,15.59H7.672H4.493c-1.11,0-2.013-0.896-2.013-2 V4.461c0-1.102,0.903-1.999,2.013-1.999h15.555c0.622,0,1.179,0.282,1.55,0.724h2.756C23.8,1.345,22.083,0,20.048,0H4.493 C2.011,0,0,1.997,0,4.461v9.128c0,2.465,2.012,4.462,4.494,4.462h3.179L16.83,23v-4.948h3.218 C20.746,18.052,21.404,17.891,21.993,17.607z"></path> <path class="primary" d="M24.536,4.636v8.353c0,0.656,0,2.788,2.292,2.788c2.291,0,2.291-2.132,2.291-2.788V4.636h2.452v8.353 c0,1.065-0.143,2.237-0.769,3.109c-0.77,1.066-2.148,1.954-3.956,1.954c-2.023,0-3.366-1.12-3.939-1.883 c-0.429-0.569-0.822-1.563-0.822-3.181V4.636H24.536z"></path> </g> </svg> </a> </div> ', "\x3c/script>",' <script type="text/html" id="custom-logo"> <div class="logo-container"> <a href="',app.urls.ideaList(),'" data-bind="with: logo"> <img data-bind=" attr: { src: $data.url, alt: $parent.websiteName }, style: { width: $data.width, height: $data.height, marginTop: $data.top, marginLeft: $data.left, zoom: $data.zoom }, css: { \'is-customizing\': $data.isCustomizing }, event: { load: $parent.onImageLoaded, error: $parent.onImageError }" /> </a> </div> ', "\x3c/script>","")}return b.join("")};t="undefined"!=typeof t?t:{};t["new-comment-form.html"]=function(a){var b=[];with(a)b.push('<div data-bind="with: $parent.newCommentVm"> <form id="form-comment" data-bind=" collapseExpand: hasContent, css: { \'has-content\': hasContent }, submit: submit"> <div class="group"> <div class="input-wrap textarea-wrap"> <textarea tabindex="1" class="input" data-bind="autosize: comment, value: comment, valueUpdate: [\'input\', \'afterkeydown\'], decoreInput: comment, decoreValid: validation.comment"></textarea> <div class="placeholder" data-bind="text: commentPlaceHolder">?Comment...</div> ', this.include("icons/icon-comment.html"),' </div> <div class="dummy"></div> <div class="half"> <div class="col"> <div class="input-wrap"> <input tabindex="2" class="input" type="text" maxlength="50" data-bind="value: userName, valueUpdate: [\'afterkeydown\'], decoreInput: userName, decoreValid: validation.userName" /> <div class="placeholder">',app.localization.AddCommentTxtName.value,"</div> ",this.include("icons/icon-name.html"),' </div> </div> <div class="col"> <div class="input-wrap"> <input tabindex="3" class="input" type="email" maxlength="100" data-bind="value: email, valueUpdate: [\'afterkeydown\'], decoreInput: email, decoreValid: validation.email" /> <div class="placeholder">', app.localization.ReportBugTxtEmail.value,"</div> ",this.include("icons/icon-email.html"),' </div> </div> </div> </div> <div class="form-submit"> <div class="form-submit-button"> <button tabindex="5" class="btn" type="submit" id="btn-add-comment" data-bind="onFocus"> ',this.include("icons/icon-send.html"),' <span data-bind="text: app.localization.SubmitButton.text">?Submit</span> </button> </div> <div class="form-submit-checkbox"> <div class="checkbox-wrap" data-bind="svgchecked: notifyMe"> ', this.include("icons/icon-checkbox.html"),' <a tabindex="4" class="haveFocus" data-bind="onFocus">',app.localization.AddIdeaNotify.text,"</a> </div> </div> </div> </form> </div>");return b.join("")};t="undefined"!=typeof t?t:{};t["browser-is-not-supported.html"]=function(a){var b=[];with(a)b.push('<div id="not-supported-container" class="browser-not-supported" data-bind=" click: onCloseClick, css: { \'narrow\': IsNarrow }" > <div class="h1" data-bind="html: Message"></div> </div>'); return b.join("")};t="undefined"!=typeof t?t:{};t["feedbackforum-closed.html"]=function(a){var b=[];with(a)b.push('<div id="feedback-closed-container" class="feeback-closed" data-bind="click: onCloseClick"> <div class="h1" data-bind="html: Message()"></div> </div>');return b.join("")};t="undefined"!=typeof t?t:{};t["style.less"]=function(a){var b=[];with(a)b.push('article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}[hidden]{display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html,button,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:hover,a:active{outline:0}.headline{font-size:2em;margin:.67em 0}h3{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.75em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}mark{background:#ff0;color:#000}p,pre{margin:1em 0}pre,code,kbd,samp{font-family:monospace,serif;_font-family:\'courier new\',monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:before,q:after{content:\'\';content:none}small{font-size:75%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}.group:before,.group:after,.spacer:before,.spacer:after{content:"";display:table}.group:after,.spacer:after{clear:both}.group,.spacer{zoom:1}.capitalize{text-transform:capitalize}.left{float:left}.right{float:right}.hidden{display:none}.rounded-all,.checkbox-wrap,.mobile .header-search-and-filter,.no-results,.table-overview .bordered,.mobile-help,.jGrowl .jGrowl-notification,.jGrowl .jGrowl-close,.input-wrap,.tooltip,.selectbox .selectbg,.btn,.browser-not-supported div,.feeback-closed div{-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;border-radius:2px}.transition-all,.icon-checkbox .bg,.icon-checkbox .frame,.icon-checkbox .check,.no-touch .checkbox-wrap,.header-search-and-filter .header-filter,.csstransitions .header-search .icon-clear,.no-touch .header-close,.no-touch .header-close .fill,.no-results a,.no-touch .table-overview .bordered,.col.sec,.no-touch #similar .item,.no-touch .idea-details li.trigger-vote,.no-touch .idea-details li.trigger-vote .fill,.comments .item,.jGrowl .jGrowl-close .icon,.no-touch .jGrowl .jGrowl-close,.switcher li,.input-wrap .placeholder,.input-wrap .fill,.tooltip,.no-touch .selectbox,.no-touch .selectbox .selectbg,.no-touch .selectbox .selecttext,.no-touch .selectbox .icon-arrow .fill,.selectbox ul li,.btn .icon,.no-touch .btn,.no-touch .btn span,.no-touch .btn .fill{-webkit-transition:all .15s ease;-moz-transition:all .15s ease;-o-transition:all .15s ease;transition:all .15s ease;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.inline,.form-submit .btn .icon,.checkbox-wrap,.checkbox-wrap .icon,.table-overview .icon,.mobile .jGrowl.top-right .jGrowl-header .icon{display:inline-block;*display:inline;zoom:1}.border-box,.input-wrap .placeholder,.input-wrap .input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html,body{width:100%;height:100%}body{position:relative;overflow:hidden;font-family:"Arial","HelveticaNeue","Helvetica Neue","HelveticaNeueRoman","HelveticaNeue-Roman","Helvetica Neue Roman",\'TeXGyreHerosRegular\',"Helvetica","Tahoma","Geneva","Arial",sans-serif;color:#5c6767;font-size:13px;line-height:24px;font-weight:400;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px}body *{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}.touch body{overflow:auto}.padding{padding:37px 40px 0}.mobile .padding{padding:30px 25px}h1,h2,h3,h3 a,strong{font-weight:600;color:#191e1e}h3 a{text-decoration:none}h1,.h1{font-size:24px;line-height:40px;margin:0 0 40px 0}h2,.h2{font-size:16px;line-height:28px;margin:0 0 35px 0}.mobile h2,.mobile .h2{margin-bottom:30px}h3,.h3{font-size:14px;margin:0 0 22px 0}.h1 a{text-decoration:none}.icon{width:16px;height:16px;display:block}.icon .fill{fill:', contrastFill,"}.icon .transparent{opacity:.1;-ms-filter:alpha(opacity=10);filter:alpha(opacity = 10)}.icon-checkbox .bg{fill:white}.icon-checkbox .frame{fill:#c2cdcd}.icon-checkbox .check{fill:#191e1e;opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0)}.icon-checkbox:active .bg,.no-touch .icon-checkbox:hover .bg,.checkbox-wrap:active .icon-checkbox .bg,.no-touch .checkbox-wrap:hover .icon-checkbox .bg{fill:",primaryLight,"}.icon-checkbox:active .frame,.no-touch .icon-checkbox:hover .frame,.checkbox-wrap:active .icon-checkbox .frame,.no-touch .checkbox-wrap:hover .icon-checkbox .frame{fill:", contrastFill,"}.icon-checkbox.checked .check{opacity:1;-ms-filter:alpha(opacity=100);filter:alpha(opacity = 100)}.form-submit{margin-top:35px;display:-ms-flex;display:-moz-flex;display:-webkit-flex;display:flex;-ms-flex-direction:row;-moz-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.form-submit .btn{float:none;white-space:nowrap}.form-submit .btn .icon{float:none;margin:-4px 10px 0 -5px}.lt-ie10 .form-submit{display:block}.lt-ie10 .form-submit .form-submit-button{float:left;padding-right:50px}.lt-ie10 .form-submit .form-submit-checkbox,.lt-ie10 .form-submit .checkbox-wrap{display:inline}.lt-ie10 .form-submit .form-submit-checkbox .icon,.lt-ie10 .form-submit .checkbox-wrap .icon{margin-left:-52px}.form-submit .form-submit-button.focus .btn{background:", primaryDark,'}.form-submit .form-submit-button.focus .btn span{text-decoration:underline}.form-submit .form-submit-checkbox{margin:10px 0 0 25px}@media only screen and (min-width:641px) and (max-width:768px){.form-submit{-ms-flex-direction:column-reverse;-moz-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.form-submit .form-submit-checkbox{margin:-5px 0 20px 15px}}.mobile .form-submit{-ms-flex-direction:column;-moz-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;text-align:center;margin-top:20px}.mobile .form-submit .form-submit-checkbox{text-align:center;margin:20px 0 0 0}.mobile .form-submit .btn{width:100%;float:none;padding-left:0;padding-right:0}.mobile .form-submit .btn .icon{float:none;margin:-4px 10px 0 -5px;display:inline-block}.checkbox-wrap{cursor:pointer;padding-bottom:9px;border-bottom:1px dashed white;vertical-align:middle}.checkbox-wrap .icon{margin:-3px 10px 0 0;vertical-align:middle}.no-touch .checkbox-wrap:hover,.checkbox-wrap:active{border-color:#c2cdcd}.svg-content{position:relative;display:block;overflow:hidden;width:100%;padding-bottom:100%;vertical-align:middle}.svg-content svg{width:100%;height:100%;position:absolute;display:inline-block;top:0;left:0}.feedback-button{position:fixed;top:50%;z-index:9999;font-family:"HelveticaNeue","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-weight:bold;font-size:14px;padding:11px 12px;line-height:24px;cursor:pointer;color:', contrastColor,";background:",primary,";-webkit-transition:all .3s cubic-bezier(0.72,0,0.4,1);-moz-transition:all .3s cubic-bezier(0.72,0,0.4,1);-o-transition:all .3s cubic-bezier(0.72,0,0.4,1);transition:all .3s cubic-bezier(0.72,0,0.4,1);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.feedback-button .text{margin-top:-1px}.feedback-button .icon{width:26px;height:24px;display:block}.feedback-button .fill{fill:",contrastColor,"}.feedback-button.left{left:-80px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:0;-moz-border-radius-topleft:0;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:0;border-top-left-radius:0}.feedback-button.left .icon{float:right;margin-left:13px}.feedback-button.left .text{float:left}.no-touch .feedback-button.left:hover,.feedback-button.left:active{left:0;background:", primaryDark,"}.feedback-button.left.resume-button{margin-top:100px}.feedback-button.right{right:0}.feedback-button.right .icon{float:left;margin-right:13px}.feedback-button.right .text{float:right}#header{position:fixed;top:0;left:0;width:100%;height:90px;z-index:1;background:white;border-bottom:1px solid #d5e2e2;border-top-left-radius:3px;border-top-right-radius:3px}#header .padding{padding:0 20px 0 40px;overflow:hidden}.mobile #header{position:absolute;height:50px;border:0}.mobile #header .padding{padding:0}.mobile #header .btn{position:absolute;top:0;margin:0;height:100%}.mobile #header .btn span{display:none}.mobile #header .btn .icon{margin:0}.mobile #header .btn.btn-header-create{right:0}.mobile #header .btn.btn-header-back{left:0}.mobile #header .btn.btn-header-vote{right:0}.mobile #header .btn.btn-header-comment{right:55px;border-right:1px solid ", primaryDark,"}.mobile #header .btn,.mobile #header .btn.btn-transparent{background:0}.mobile #header .btn .fill,.mobile #header .btn.btn-transparent .fill{fill:",contrastColor,"}.mobile #header .btn:active,.mobile #header .btn.btn-transparent:active{background:white}.mobile #header .btn:active .fill,.mobile #header .btn.btn-transparent:active .fill{fill:",contrastFill,"}.mobile #header .btn.voted,.mobile #header .btn.btn-transparent.voted{background:#2a3535}.mobile #header .btn.voted .fill,.mobile #header .btn.btn-transparent.voted .fill{fill:white}.mobile #header .btn.disabled,.mobile #header .btn.btn-transparent.disabled{background:#a6b5b5}.mobile #header .btn.disabled .fill,.mobile #header .btn.btn-transparent.disabled .fill{fill:#d3dada}.mobile .header-bg{position:fixed;z-index:999;width:100%;height:50px;background:", primary,"}@media(orientation:landscape){.mobile .header-bg{position:absolute}}.header-buttons{float:left;margin-top:23px;padding-right:25px}.mobile .header-buttons{float:none;margin:0}.header-title{display:none;max-width:60%;color:",contrastColor,';margin:0 auto;line-height:48px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile .header-title{display:block}.header-logo{float:left;height:60px;padding:15px 25px 15px 0;border-right:1px solid #d5e2e2;overflow:hidden;position:relative;margin-right:25px}.header-logo .logo-container{max-width:250px;height:60px;overflow:hidden;line-height:60px;font-size:0}.header-logo .logo-container img{vertical-align:middle;display:block;max-height:60px;max-width:250px}.header-logo .logo-container img[src^="data:image/svg"],.header-logo .logo-container img[src$=".svg"]{width:250px}.header-logo .logo-container img.is-customizing{vertical-align:top;position:relative;display:inline;max-height:none;max-width:none}.mobile .header-logo,.hide-logo .header-logo{display:none}.header-search-and-filter{position:absolute;right:18px}.header-search-and-filter .header-filter{float:left;margin-right:25px;margin-top:25px}.searching .header-search-and-filter .header-filter{display:none}.mobile .searching .header-search-and-filter .header-filter,.searching .header-search-and-filter .header-filter.hiding{display:none}.header-search-and-filter .header-filter.minified{width:40px}.header-search-and-filter .header-filter.minified .selecttext{visibility:hidden}.header-search-and-filter .header-filter.minified .selectbox .icon{width:10px;margin-top:-3px}.mobile .header-search-and-filter{left:10px;top:60px;right:10px;padding:0 15px;margin-top:0}.mobile .header-search-and-filter .header-filter{position:absolute;top:0;left:-5px;margin-top:0}.mobile .page-transition .header-search-and-filter{opacity:0}.mobile .searching .header-search-and-filter{background:white;-webkit-box-shadow:0 0 10px rgba(0,0,0,0.25);-moz-box-shadow:0 0 10px rgba(0,0,0,0.25);box-shadow:0 0 10px rgba(0,0,0,0.25)}.header-search{position:relative;float:left;height:44px;border-bottom:2px solid white;margin-right:10px;margin-top:25px;overflow:hidden;-webkit-transition:all .2s cubic-bezier(0.72,0,0.4,1);-moz-transition:all .2s cubic-bezier(0.72,0,0.4,1);-o-transition:all .2s cubic-bezier(0.72,0,0.4,1);transition:all .2s cubic-bezier(0.72,0,0.4,1);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.header-search.minified{overflow:visible}.searching .header-search{border-bottom-color:#a6b5b5}.searching .header-search:hover{border-color:', contrastFill,'}.header-search.focus{width:200px}.stock .header-search{-webkit-transition:none .15s ease;-moz-transition:none .15s ease;-o-transition:none .15s ease;transition:none .15s ease;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.stock .header-search *{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important}.header-search input,.header-search .placeholder{height:44px;line-height:30px;padding:7px 0 7px 30px;font-size:13px;font-weight:600;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .2s cubic-bezier(0.72,0,0.4,1);-moz-transition:all .2s cubic-bezier(0.72,0,0.4,1);-o-transition:all .2s cubic-bezier(0.72,0,0.4,1);transition:all .2s cubic-bezier(0.72,0,0.4,1);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.header-search input{position:absolute;z-index:2;top:0;left:0;width:100%;padding-right:30px;border:0;outline:0;background:0;font-family:"Arial","HelveticaNeue","Helvetica Neue","HelveticaNeueRoman","HelveticaNeue-Roman","Helvetica Neue Roman",\'TeXGyreHerosRegular\',"Helvetica","Tahoma","Geneva","Arial",sans-serif;color:#191e1e}.ie .header-search input{background:url("/feedbackforum/img/blank.gif") repeat}.header-search .placeholder{float:left;margin-left:30px;padding-left:0;white-space:nowrap}.header-search .icon{position:absolute;top:50%;margin-top:-8px;-webkit-transition:all .2s cubic-bezier(0.72,0,0.4,1);-moz-transition:all .2s cubic-bezier(0.72,0,0.4,1);-o-transition:all .2s cubic-bezier(0.72,0,0.4,1);transition:all .2s cubic-bezier(0.72,0,0.4,1);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.header-search .icon-search{left:0;z-index:1}.header-search .icon-search .fill{fill:#a6b5b5}.header-search .icon-clear{right:0;z-index:3;cursor:pointer}.csstransitions .header-search .icon-clear{visibility:hidden;opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0)}.no-csstransitions .header-search .icon-clear{display:none}.header-search .icon-clear .fill{fill:#b3c1c1}.no-touch .header-search .icon-clear:hover .fill,.header-search .icon-clear:active .fill{fill:', contrastFill,"}.header-search .icon-clear:after{content:'';width:44px;height:44px;background:rgba(255,255,255,0);position:absolute;top:50%;left:50%;margin:-22px 0 0 -22px}.header-search .icon-search .fill,.no-touch .header-search .icon-search .fill{-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.no-touch .header-search:hover .icon-search .fill{fill:", contrastFill,"}.csstransitions .searching .header-search .icon-clear{visibility:visible;opacity:1;-ms-filter:alpha(opacity=100);filter:alpha(opacity = 100)}.no-csstransitions .searching .header-search .icon-clear{display:block}.header-search.focus{border-color:",contrastFill,"}.csstransitions .header-search.focus .icon-clear{visibility:visible;opacity:1;-ms-filter:alpha(opacity=100);filter:alpha(opacity = 100)}.no-csstransitions .header-search.focus .icon-clear{display:block}.header-search.focus .placeholder{color:#b3c1c1}.header-search.focus .icon-search .fill{fill:", contrastFill,"}.header-search.typing .placeholder{opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0)}.header-search.minified .placeholder{opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0);visibility:hidden;max-width:0}.mobile .header-search{width:auto;float:right;border:0;margin-right:-5px;margin-top:0}.mobile .header-search .placeholder{opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0);visibility:hidden;max-width:0}.mobile .header-search.focus{margin-right:0}.mobile .searching .header-search{width:100%}.mobile .searching .header-search .placeholder{opacity:1;-ms-filter:alpha(opacity=100);filter:alpha(opacity = 100);visibility:visible;max-width:auto}.mobile .searching .header-search.typing .placeholder{opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0);visibility:hidden;max-width:0}.header-close{position:relative;float:right;width:44px;height:90px;cursor:pointer}.header-close .icon{position:absolute;top:50%;left:50%;margin:-8px 0 0 -8px}.header-close .fill{fill:#a6b5b5}.no-touch .header-close:hover{background:", primaryLight,"}.no-touch .header-close:hover .fill{fill:",contrastFill,"}.header-close:active{background:",primary,"}.header-close:active .fill{fill:",contrastColor,"}.mobile .header-close{display:none}.container{position:relative;max-width:1024px;min-width:320px;height:100%;margin:0 auto}.embed .container{max-width:100%}.page{position:absolute;top:90px;bottom:0;left:0;width:100%;height:100%;overflow:hidden;opacity:0;visibility:hidden;-webkit-transition:opacity .3s ease;-moz-transition:opacity .3s ease;-o-transition:opacity .3s ease;transition:opacity .3s ease;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.mobile .page{top:50px}.scroll{position:relative;width:100%;height:100%;overflow:auto;outline:0}.touch .scroll{width:auto;height:auto;overflow:visible}.loading-wrap{position:relative;width:100%}#overview .loading-wrap{height:100%}#idea .loading-wrap{height:20px}.dotload-active-dot,.dotload.one .one,.dotload.two .one,.dotload.two .two,.dotload.three .one,.dotload.three .two,.dotload.three .three{opacity:1;-ms-filter:alpha(opacity=100);filter:alpha(opacity = 100)}.dotload{position:absolute;top:50%;left:50%}.dotload.hide{opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0)}.dotload div{float:left;background:", primaryLight,";opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0)}.dotload.default{margin:-3px 0 0 -16px}.dotload.default div{width:4px;height:4px;margin-right:4px;border:2px solid ",primary,";-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;-o-border-radius:10px;border-radius:10px}.dotload.mini{margin:-2px 0 0 -7px}.dotload.mini div{width:2px;height:2px;border:1px solid ",contrastFill,";background:",primaryLight,";margin-right:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;border-radius:2px}.dotload div.three{margin-right:0}html:not(.mobile) .btn .dotload.mini div,.btn-header-vote .dotload.mini div{border-color:white;background:rgba(255,255,255,0.1)}.showpage-overview .btn-header-back,.showpage-overview .btn-header-vote,.showpage-overview .btn-header-comment{display:none}.mobile .showpage-overview .btn-header-back{display:block}.showpage-create .btn-header-create,.showpage-create .btn-header-vote,.showpage-create .btn-header-comment,.showpage-create .header-filter,.showpage-create .header-search{display:none}.showpage-idea .btn-header-create,.showpage-idea .btn-header-vote,.showpage-idea .btn-header-comment,.showpage-idea .header-filter,.showpage-idea .header-search,.showpage-idea .header-title{display:none}.mobile .showpage-idea .btn-header-vote,.mobile .showpage-idea .btn-header-comment{display:block}.mobile .showpage-idea .col.pri .spacer{display:none}#overview .padding{padding:20px}.mobile #overview .padding{padding:65px 0 0 0}.no-results{height:0;overflow:hidden;background:#ecefef;text-align:center;font-size:24px;line-height:40px}.csstransitions .no-results{visibility:hidden;opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0);-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translateY(30px);-moz-transform:translateY(30px);-ms-transform:translateY(30px);-o-transform:translateY(30px);transform:translateY(30px)}.no-csstransitions .no-results{display:none}.no-results a{color:", contrastFill,";font-weight:600;cursor:pointer;border-bottom:1px dashed transparent}.no-touch .no-results a:hover{color:",contrastFillDark,";border-color:",contrastFillDark,"}.no-results.show{height:auto;overflow:visible;padding:40px 80px;margin:40px}.mobile .no-results.show{padding:25px;margin:25px}.csstransitions .no-results.show{visibility:visible;opacity:1;-ms-filter:alpha(opacity=100);filter:alpha(opacity = 100);-webkit-transform:translateY(0px);-moz-transform:translateY(0px);-ms-transform:translateY(0px);-o-transform:translateY(0px);transform:translateY(0px)}.no-csstransitions .no-results.show{display:block}.stock .no-results.show{-webkit-transition:none .15s ease;-moz-transition:none .15s ease;-o-transition:none .15s ease;transition:none .15s ease;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.stock .no-results.show *{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important}.mobile .no-results{position:relative;top:50px;font-size:14px;line-height:24px}.no-touch .table-overview .td-comments,.no-touch .table-overview .td-status{z-index:2}.touch .table-overview .td-status{pointer-events:none}.table-overview .idea{height:84px;position:relative;clear:both}.mobile .table-overview .idea{height:auto;border-top:1px dashed #c2cdcd}.table-overview .idea.even{background:#f2f5f5}.table-overview .idea.active h3 a{color:", contrastFill,"}.table-overview h3{margin:0}.table-overview h3:first-letter {text-transform:uppercase}.table-overview .td-like{padding:20px 0 20px 20px;float:left;white-space:nowrap}.table-overview .btn-vote{font-size:14px;white-space:nowrap;padding-left:20px;padding-right:20px;float:none}.table-overview .btn-vote .icon{float:none;margin:-4px 10px 0 0}.table-overview .td-text{padding:13px 168px 13px 139px;width:auto;line-height:28px;cursor:pointer}.table-overview .td-text .relative{position:relative}.table-overview .td-text .overflow{position:absolute;left:0;top:0;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.table-overview .td-text .overflow:first-letter {text-transform:uppercase}.no-touch .table-overview .td-text h3 a{-webkit-transition:color .15s ease;-moz-transition:color .15s ease;-o-transition:color .15s ease;transition:color .15s ease;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.no-touch .table-overview .td-text:hover h3 a,.tablet .table-overview .td-text:active h3 a{color:", contrastFill,"}.table-overview .bordered{position:relative;display:block;padding:0 22px;margin-left:-1px;height:42px;line-height:42px;border:1px dashed #c2cdcd;text-align:center}.table-overview .bordered .icon{position:absolute;top:50%;left:50%;margin:-8px 0 0 -8px;pointer-events:none}.no-touch .table-overview .bordered:hover,.table-overview .bordered:active{background:",primaryLight,";border-color:",contrastFill,"}.table-overview .td-comments{min-width:73px;padding:20px 0;float:right;white-space:nowrap}.table-overview .td-comments .bordered{padding:0 18px 0 40px;cursor:pointer}.table-overview .td-comments .icon{left:22px}.table-overview .td-status{padding:20px 20px 20px 0;float:right;white-space:nowrap}.mobile .table-overview .td-comments,.mobile .table-overview .td-status{display:none}.mobile .table-overview .td-text{padding:11px 100px 11px 20px}.mobile .table-overview .td-text span{display:none}.mobile .table-overview .td-text span.highlight{display:inline}.mobile .table-overview .td-text .overflow{position:relative;white-space:normal}.mobile .table-overview .idea{background:0}.mobile .table-overview .idea.active{background:", primaryLight,"}.mobile .table-overview .td-like{padding:0;float:none;position:absolute;right:0}.mobile .table-overview .btn.btn-vote{background:0;height:50px;padding-bottom:0;font-size:12px;font-weight:400;color:#889696}.mobile .table-overview .btn.btn-vote .fill{fill:",contrastFill,"}.mobile .table-overview .btn.btn-vote.voted{color:#889696}.mobile .table-overview .btn.btn-vote.voted,.no-touch .mobile .table-overview .btn.btn-vote.voted:hover{background:0}.mobile .table-overview .btn.btn-vote.voted .fill{fill:#2a3535}.mobile .table-overview .btn.btn-vote:active{background:0}.mobile .table-overview .btn.btn-vote:active .fill{fill:", contrastFill,"}.mobile .table-overview .btn.btn-vote.disabled .fill{fill:#a6b5b5}.sidebar-content{position:absolute;top:0;right:0;bottom:0;left:10px;background:#ecefef;border-bottom-right-radius:3px}.csstransitions .sidebar-content{visibility:hidden;opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0);-webkit-transition:all .3s cubic-bezier(0.72,0,0.4,1);-moz-transition:all .3s cubic-bezier(0.72,0,0.4,1);-o-transition:all .3s cubic-bezier(0.72,0,0.4,1);transition:all .3s cubic-bezier(0.72,0,0.4,1);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translateX(30%);-moz-transform:translateX(30%);-ms-transform:translateX(30%);-o-transform:translateX(30%);transform:translateX(30%)}.no-csstransitions .sidebar-content{display:none}.csstransitions .sidebar-content-show,.csstransitions .showpage-create #create.showcontent-idea .showcontent-help #help-idea,.csstransitions .showpage-create #create.showcontent-idea .showcontent-similar #similar,.csstransitions .showpage-create #create.showcontent-bug #help-bug{visibility:visible;-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0);opacity:1;-ms-filter:alpha(opacity=100);filter:alpha(opacity = 100)}.no-csstransitions .sidebar-content-show,.no-csstransitions .showpage-create #create.showcontent-idea .showcontent-help #help-idea,.no-csstransitions .showpage-create #create.showcontent-idea .showcontent-similar #similar,.no-csstransitions .showpage-create #create.showcontent-bug #help-bug{display:block}#create.showcontent-idea #form-idea{display:block}.mobile #create.showcontent-bug .checkbox-wrap{display:none}#create.showcontent-bug #form-bug,#create.showcontent-bug #help-bug{display:block}.col.pri{width:65%}.mobile .col.pri{width:100%}#create .col.pri h2{display:none}.hide-bug #create .col.pri h2{display:block}.col.sec{position:absolute;top:0;right:0;bottom:0;width:35%;padding-left:10px;overflow:hidden;border-bottom-right-radius:3px;z-index:1}.col.sec .arrow{position:absolute;top:125px;z-index:2;width:10px;height:20px}.hide-bug .col.sec .arrow{top:110px}.col.sec .arrow .svg-content{padding-bottom:200%}.col.sec .arrow.icon-arrow-left{left:-9px}.col.sec .arrow.icon-arrow-left .fill{fill:#ecefef}.col.sec .arrow.icon-arrow-right{left:-1px}.col.sec .arrow.icon-arrow-right .fill{fill:white}.col.sec h2{margin-top:7px}.hide-bug .col.sec h2{margin-top:0}.col.sec.idea{top:90px;background:#ecefef;padding:0;opacity:0;visibility:hidden;-webkit-transition:opacity .3s ease;-moz-transition:opacity .3s ease;-o-transition:opacity .3s ease;transition:opacity .3s ease;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.tablet .col.sec.idea{position:fixed}.mobile .col.sec{width:0;display:none}#similar .icon-wrap{padding:12px;float:left;margin:-8px 15px 0 -5px;background:", primary,";-webkit-border-radius:25px;-moz-border-radius:25px;-ms-border-radius:25px;-o-border-radius:25px;border-radius:25px;text-align:center}#similar .icon-wrap .icon{margin:0 -1px 0 1px}#similar .icon-wrap .fill{fill:",contrastColor,"}#similar .item{width:100%;padding:20px 40px;margin:0 -40px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}#similar .item:active,.no-touch #similar .item:hover{background:#f6f7f7}#similar .item:last-child{border-bottom:0}#similar strong{display:block;overflow:hidden;text-overflow:ellipsis}#similar span:not(.highlight){overflow:hidden;text-overflow:ellipsis;display:block}.highlight{background:#fbf1ad;color:#4b4834;font-weight:600}.mobile-help{position:relative;display:none;max-height:400px;overflow:hidden;margin-bottom:25px;background:#fbf1ad;color:#7e7957;-webkit-transition:all .4s cubic-bezier(0.72,0,0.4,1);-moz-transition:all .4s cubic-bezier(0.72,0,0.4,1);-o-transition:all .4s cubic-bezier(0.72,0,0.4,1);transition:all .4s cubic-bezier(0.72,0,0.4,1);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.mobile .mobile-help{display:block}.mobile-help.hide{max-height:0;margin:0;visibility:hidden;opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0)}.mobile-help h3{padding-right:20px}.mobile-help .icon{position:absolute;top:15px;right:15px;cursor:pointer;opacity:.5;-ms-filter:alpha(opacity=50);filter:alpha(opacity = 50)}.mobile-help .icon .fill{fill:#4b4834}.mobile-help .icon:after{content:'';width:44px;height:44px;background:rgba(255,255,255,0);position:absolute;top:50%;left:50%;margin:-22px 0 0 -22px}.mobile-help:active .icon{opacity:1;-ms-filter:alpha(opacity=100);filter:alpha(opacity = 100)}.idea-details{list-style:none;margin:0;padding:0}.idea-details li{position:relative;padding:11px 0 11px 30px;cursor:default}.idea-details li.trigger-vote{cursor:pointer}.idea-details li.trigger-vote:active,.no-touch .idea-details li.trigger-vote:hover{color:#191e1e}.idea-details li.trigger-vote:active .fill,.no-touch .idea-details li.trigger-vote:hover .fill{fill:#191e1e}.idea-details .icon{position:absolute;top:15px;left:0}.mobile .idea-details{margin:30px 0;display:block}.mobile .idea-details li{color:#889696;font-size:12px;border-top:1px dashed #c2cdcd}.mobile .idea-details li:last-child{border-bottom:1px dashed #c2cdcd}.spacer{height:1px;border-bottom:1px dashed #2a3535;opacity:.25;-ms-filter:alpha(opacity=25);filter:alpha(opacity = 25);margin:40px 0}.mobile .spacer{display:none}#comment-anchor{margin-top:30px}.comments{margin-bottom:40px}.comments .item{position:relative;padding-left:70px;margin-bottom:30px;font-weight:600;color:#2a3535}.comments .item:last-child{margin-bottom:0}.comments .item.hide{opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0);visibility:hidden}.comments .item.hide{visibility:visible}.comments .btn.btn-transparent{float:none;margin-left:50px;color:", primaryDark,"}.comments span{display:block;color:#889696;font-size:12px;font-weight:400}.comments p.mimic-span{display:inline;margin:0}.comments .avatar{position:absolute;top:5px;left:0;width:44px;height:44px;text-align:center;background:",primaryLight,";-webkit-border-radius:22px;-moz-border-radius:22px;-ms-border-radius:22px;-o-border-radius:22px;border-radius:22px}.comments .icon{position:absolute;top:50%;left:50%;margin:-9px 0 0 -8px}.mobile .comments .item{padding-left:55px}.mobile .comments .avatar{width:36px;height:36px}.mobile .comments .btn.btn-transparent{margin-left:35px}.amount{padding:3px 8px;margin:0 0 0 15px;background:", primary,";color:",contrastColor,";font-size:12px;font-weight:700;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;-o-border-radius:10px;border-radius:10px}.jspContainer{overflow:hidden;position:relative}.jspContainer .jspPane{position:absolute}.jspContainer .jspVerticalBar{position:absolute;top:0;right:0;width:18px;height:100%;border-left:1px solid #d5e2e2}.jspContainer .jspCap{height:4px}.jspContainer .jspTrack{background:white;position:relative;padding:0 4px}.jspContainer .jspDrag{position:relative;top:0;left:0;background:#b3c1c1;cursor:pointer;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;border-radius:5px;-webkit-transition:background .15s ease;-moz-transition:background .15s ease;-o-transition:background .15s ease;transition:background .15s ease;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.no-touch .jspContainer .jspDrag.jspHover,.no-touch .jspContainer .jspDrag.jspActive{background:", contrastFill,"}.jspContainer .jspCorner{background:#eeeef4;float:left;height:100%}.jGrowl{z-index:9999;position:fixed}.jGrowl.top-left{left:0;top:0}.jGrowl.top-right{right:15px;top:15px}.jGrowl.top-right .jGrowl-notification{right:0;top:0}.jGrowl.bottom-left{left:0;bottom:0}.jGrowl.bottom-left .jGrowl-notification{left:0;bottom:0}.jGrowl.bottom-right{right:0;bottom:0}.jGrowl.center{top:0;width:50%;left:25%}.jGrowl .jGrowl-notification{position:absolute;display:none;zoom:1;width:300px;margin-bottom:5px;font-size:13px;line-height:22px;color:#a3a5a5;background:#2a3535;border-left:44px solid ", primary,";text-align:left;-webkit-box-shadow:0 0 15px rgba(0,0,0,0.2);-moz-box-shadow:0 0 15px rgba(0,0,0,0.2);box-shadow:0 0 15px rgba(0,0,0,0.2);opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0);-webkit-transition:all .3s cubic-bezier(0.74,-0.41,0.4,0.98);-moz-transition:all .3s cubic-bezier(0.74,-0.41,0.4,0.98);-o-transition:all .3s cubic-bezier(0.74,-0.41,0.4,0.98);transition:all .3s cubic-bezier(0.74,-0.41,0.4,0.98);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translateY(50px);-moz-transform:translateY(50px);-ms-transform:translateY(50px);-o-transform:translateY(50px);transform:translateY(50px)}.jGrowl .jGrowl-notification:nth-child(1){z-index:10}.jGrowl .jGrowl-notification:nth-child(2){z-index:9}.jGrowl .jGrowl-notification:nth-child(3){z-index:8}.jGrowl .jGrowl-notification:nth-child(4){z-index:7}.jGrowl .jGrowl-notification:nth-child(5){z-index:6}.jGrowl .jGrowl-notification:nth-child(6){z-index:5}.jGrowl .jGrowl-notification:nth-child(7){z-index:4}.jGrowl .jGrowl-notification:nth-child(8){z-index:3}.jGrowl .jGrowl-notification:nth-child(0){z-index:2}.jGrowl .jGrowl-notification:nth-child(10){z-index:1}.jGrowl .jGrowl-notification.show{opacity:.95;-ms-filter:alpha(opacity=95);filter:alpha(opacity = 95);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);transform:translateY(0)}.jGrowl .jGrowl-notification.error{border-left-color:#f14c4c}.jGrowl .jGrowl-header{padding:20px 50px 5px 30px;font-size:14px;font-weight:600;color:white}.jGrowl .jGrowl-header .icon{position:absolute;top:50%;margin:-9px 0 0 -58px}.jGrowl .jGrowl-message{padding:0 30px 22px 30px}.jGrowl .fill{fill:", contrastColor,"}.jGrowl .jGrowl-close{position:absolute;top:0;right:0;width:44px;height:44px;cursor:pointer}.jGrowl .jGrowl-close .icon{position:absolute;top:50%;left:50%;margin:-9px 0 0 -8px;opacity:.3;-ms-filter:alpha(opacity=30);filter:alpha(opacity = 30)}.jGrowl .jGrowl-close .fill{fill:white}.no-touch .jGrowl .jGrowl-close:hover .icon,.jGrowl .jGrowl-close:active .icon{opacity:1;-ms-filter:alpha(opacity=100);filter:alpha(opacity = 100)}.mobile .jGrowl.top-right{right:10px;top:auto;bottom:10px;left:10px}.mobile .jGrowl.top-right .jGrowl-notification{top:auto;bottom:0;right:0;margin:0;border:0;width:100%;background:", growlBg,"}.mobile .jGrowl.top-right .jGrowl-header{padding:12px 25px 14px 25px;text-align:center;vertical-align:middle;color:white}.mobile .jGrowl.top-right .jGrowl-header .icon{position:relative;margin:-4px 15px 0 0;vertical-align:middle}.mobile .jGrowl.top-right .jGrowl-header .fill{fill:",growlIcon,"}.mobile .jGrowl.top-right .jGrowl-message{display:none}.mobile .jGrowl.top-right .jGrowl-close{width:100%;height:100%}.mobile .jGrowl.top-right .jGrowl-close .icon{display:none}::-ms-clear{display:none;width:0;height:0}::-ms-reveal{width:0;height:0}.switch{margin-bottom:35px}.mobile .switch{width:100%;margin-bottom:25px}.hide-bug .switch{display:none}.switcher{list-style:none;margin:0;padding:0}.switcher li{float:left;font-size:13px;font-weight:600;padding:0 0 5px 0;margin-right:30px;border-bottom:2px solid white;cursor:pointer;color:#889696}.switcher li:last-child{margin-right:0}.switcher li.active{border-color:", primary,";color:",primaryDark,"}.switcher li.active .fill{fill:",contrastFill,'}.switcher li:not(.active):active,.no-touch .switcher li:not(.active):hover{border-color:#a6b5b5}.switcher .icon{float:left;margin:4px 10px 0 0}.switcher .fill{fill:#a6b5b5}.switcher.right{float:right;margin-right:10px}.half .col{float:left;width:50.1%}.half .col:last-child{margin-left:-0.2%}@media only screen and (max-width:768px){.half .col{float:none;width:100%;display:block}.half .col:last-child{margin-left:0}}.input-wrap{position:relative;z-index:1;width:100%;height:44px;float:left;clear:both;margin-top:-1px;border:1px dashed #c2cdcd;background:white;-webkit-transition:background .3s cubic-bezier(0.72,0,0.4,1),opacity .3s cubic-bezier(0.72,0,0.4,1),height .3s cubic-bezier(0.72,0,0.4,1);-moz-transition:background .3s cubic-bezier(0.72,0,0.4,1),opacity .3s cubic-bezier(0.72,0,0.4,1),height .3s cubic-bezier(0.72,0,0.4,1);-ms-transition:background .3s cubic-bezier(0.72,0,0.4,1),opacity .3s cubic-bezier(0.72,0,0.4,1),height .3s cubic-bezier(0.72,0,0.4,1);-o-transition:background .3s cubic-bezier(0.72,0,0.4,1),opacity .3s cubic-bezier(0.72,0,0.4,1),height .3s cubic-bezier(0.72,0,0.4,1);transition:background .3s cubic-bezier(0.72,0,0.4,1),opacity .3s cubic-bezier(0.72,0,0.4,1),height .3s cubic-bezier(0.72,0,0.4,1)}.mobile.wp80 .input-wrap .wp-input-icon-fix{width:44px;height:100%;position:absolute;background-color:white;z-index:2}.input-wrap .placeholder,.input-wrap .input{width:100%;padding:10px 12px 10px 44px;color:#191e1e;line-height:22px;vertical-align:middle;font-size:13px;font-weight:600}.input-wrap .input{position:absolute;z-index:1;width:100%;height:100%;background:0;border:0;outline:0;font-family:"Arial","HelveticaNeue","Helvetica Neue","HelveticaNeueRoman","HelveticaNeue-Roman","Helvetica Neue Roman",\'TeXGyreHerosRegular\',"Helvetica","Tahoma","Geneva","Arial",sans-serif}.input-wrap.error{background:#feeded;border-color:#f14c4c}.input-wrap.error .fill{fill:#f14c4c}.input-wrap input{outline:0}.input-wrap input:required{box-shadow:none}.input-wrap input:invalid{box-shadow:none}.lt-ie10 .input-wrap .input{background:url("/feedbackforum/img/blank.gif") repeat}.input-wrap .placeholder{opacity:.6;-ms-filter:alpha(opacity=60);filter:alpha(opacity = 60)}.input-wrap .icon{position:absolute;top:14px;left:15px}.mobile.wp80 .input-wrap .icon{z-index:3}.input-wrap .fill{fill:#a6b5b5}.input-wrap.focus{background:', primaryLight,";z-index:2;border-color:",contrastFill,"}.input-wrap.focus .fill{fill:",contrastFill,"}.input-wrap.focus .placeholder{color:black;opacity:.3;-ms-filter:alpha(opacity=30);filter:alpha(opacity = 30)}.input-wrap.typing .placeholder{display:none}.input-wrap.textarea-wrap{height:120px}.input-wrap textarea.input{resize:none}.ios .input-wrap textarea.input{text-indent:-3px}#form-comment{padding-bottom:50px}#form-comment .dummy{width:100%;height:76px}#form-comment .input-wrap,#form-comment .form-submit,#form-comment .dummy{-webkit-transition:background .3s cubic-bezier(0.72,0,0.4,1),opacity .3s cubic-bezier(0.72,0,0.4,1),height .3s cubic-bezier(0.72,0,0.4,1);-moz-transition:background .3s cubic-bezier(0.72,0,0.4,1),opacity .3s cubic-bezier(0.72,0,0.4,1),height .3s cubic-bezier(0.72,0,0.4,1);-ms-transition:background .3s cubic-bezier(0.72,0,0.4,1),opacity .3s cubic-bezier(0.72,0,0.4,1),height .3s cubic-bezier(0.72,0,0.4,1);-o-transition:background .3s cubic-bezier(0.72,0,0.4,1),opacity .3s cubic-bezier(0.72,0,0.4,1),height .3s cubic-bezier(0.72,0,0.4,1);transition:background .3s cubic-bezier(0.72,0,0.4,1),opacity .3s cubic-bezier(0.72,0,0.4,1),height .3s cubic-bezier(0.72,0,0.4,1)}#form-comment .input-wrap,#form-comment .form-submit,#form-comment .dummy{opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0)}#form-comment .textarea-wrap{height:44px;opacity:1;-ms-filter:alpha(opacity=100);filter:alpha(opacity = 100)}#form-comment.has-content .dummy{max-height:0}#form-comment.state-expanded .input-wrap,#form-comment.state-expanded .form-submit{opacity:1;-ms-filter:alpha(opacity=100);filter:alpha(opacity = 100)}#form-comment.state-expanded .textarea-wrap{height:120px}.tooltip{position:absolute;z-index:9999;padding:8px 15px;margin-top:10px;background:#fbf1ad;color:#4b4834;pointer-events:none;opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0);-webkit-box-shadow:0 0 15px rgba(0,0,0,0.2);-moz-box-shadow:0 0 15px rgba(0,0,0,0.2);box-shadow:0 0 15px rgba(0,0,0,0.2)}.tooltip.show{opacity:1;-ms-filter:alpha(opacity=100);filter:alpha(opacity = 100);margin-top:-5px}.tooltip:after{position:absolute;top:-5px;width:0;height:0;content:'';cursor:pointer;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #fbf1ad}.tooltip.left{text-align:left;margin-left:-10px}.tooltip.left:after{left:20px}.tooltip.right{text-align:right;margin-right:-10px}.tooltip.right:after{right:20px}.selectbox{position:relative;cursor:pointer}.selectbox select{position:absolute;z-index:11;float:left;width:100%;height:100%;border:0;background:0;outline:0;-webkit-appearance:none;cursor:pointer;opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0)}.selectbox .selectbg{position:absolute;top:0;left:0;z-index:8;width:100%;height:100%;background:", primary,";opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0)}.selectbox .selecttext{display:block;line-height:30px;padding:6px 35px 8px 15px;max-width:170px;color:#5c6767;font-size:13px;font-weight:600;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.selectbox .icon-arrow{position:absolute;top:50%;right:15px;z-index:10;width:8px;height:5px;margin-top:-2px}.selectbox .icon-arrow .fill{fill:#a6b5b5}.selectbox.focus .selectbg,.no-touch .selectbox:hover .selectbg{opacity:.1;-ms-filter:alpha(opacity=10);filter:alpha(opacity = 10)}.selectbox.focus .selecttext,.no-touch .selectbox:hover .selecttext{color:", contrastFillDark,"}.selectbox.focus .fill,.no-touch .selectbox:hover .fill{fill:",contrastFill,'}.mobile .selectbox .selecttext{font-size:14px}.mobile .selectbox:active .selecttext{color:#191e1e}.mobile .selectbox:active .icon .fill{fill:#191e1e}.selectbox ul{position:absolute;top:44px;right:0;display:none;background:#fff;min-width:100%;margin:0;padding:0;-webkit-box-shadow:0 0 15px rgba(0,0,0,0.2);-moz-box-shadow:0 0 15px rgba(0,0,0,0.2);box-shadow:0 0 15px rgba(0,0,0,0.2);z-index:9999}.selectbox ul li{display:block;white-space:nowrap;margin:0;padding:6px 15px;color:#5c6767;line-height:30px}.selectbox ul li:last-child{border-bottom:0}.selectbox ul li.selected{color:#191e1e;font-weight:600;background:#f2f5f5}.no-touch .selectbox ul li:hover{background:#f2f5f5}.no-boxshadow .selectbox ul{border:1px solid #d5e2e2}.selectbox.focus ul{display:block}.btn-group .btn{margin-right:10px}.btn-group .btn:last-child{margin-right:0}.btn{float:left;height:44px;padding:0 20px 2px 20px;font-family:"Arial","HelveticaNeue","Helvetica Neue","HelveticaNeueRoman","HelveticaNeue-Roman","Helvetica Neue Roman",\'TeXGyreHerosRegular\',"Helvetica","Tahoma","Geneva","Arial",sans-serif;color:', contrastColor,";font-size:13px;font-weight:600;background:",primary,";border:0;cursor:pointer;text-align:center;vertical-align:middle;outline:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn .icon{float:left;margin:1px 10px -1px -2px;vertical-align:middle}.btn .fill{fill:",contrastColor,"}.no-touch .btn:not(.btn-no-hover):hover{background:",primaryDark,"}.btn:not(.btn-no-hover):active{background:",primaryDarker,"}.btn.btn-transparent{background:#fff;color:#5c6767}.btn.btn-transparent .fill{fill:#a6b5b5}.no-touch .btn.btn-transparent:not(.btn-no-hover):hover,.btn.btn-transparent:not(.btn-no-hover):active{background:", primaryLight,";color:",contrastFill,"}.no-touch .btn.btn-transparent:not(.btn-no-hover):hover .fill,.btn.btn-transparent:not(.btn-no-hover):active .fill{fill:",contrastFillDark,"}.btn.loading span,.btn.loading .icon{opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0)}.switch .btn{margin-right:10px}.switch .btn:last-child{margin-right:0}.switch .btn.btn-active{position:relative;cursor:default}.switch .btn.btn-active:after{position:absolute;bottom:-6px;left:50%;margin-left:-3px;width:0;height:0;content:'';cursor:pointer;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid ", primary,"}.mobile .switch .btn{padding-left:0;padding-right:0;width:50%;margin:0}.mobile .switch .btn .icon{float:none;margin:-4px 10px 0 -5px;display:inline-block}.mobile .switch .btn.btn-transparent{background:#ecefef}.btn.btn-vote{position:relative;padding-left:45px;overflow:visible}.btn.btn-vote .icon{position:absolute;top:50%;left:20px;margin-top:-9px}.btn.btn-vote.animate span,.no-touch .btn.btn-vote.btn-vote:not(.voted):not(.disabled):hover span{opacity:0;-ms-filter:alpha(opacity=0);filter:alpha(opacity = 0);visibility:hidden}.btn.btn-vote.animate .icon,.no-touch .btn.btn-vote.btn-vote:not(.voted):not(.disabled):hover .icon{left:50%;margin-left:-8px}.btn.btn-vote.voted{cursor:default;color:white}.btn.btn-vote.voted,.no-touch .btn.btn-vote.voted:hover{background:#2a3535}.btn.btn-vote.voted .fill{fill:white}.btn.btn-vote.disabled{cursor:default}.btn.btn-vote.disabled,.no-touch .btn.btn-vote.disabled:hover{background:#a6b5b5}.btn.btn-vote.disabled span,.btn.btn-vote.disabled .icon{opacity:.8;-ms-filter:alpha(opacity=80);filter:alpha(opacity = 80)}.btn.btn-full{padding-left:0;padding-right:0;width:100%}.browser-not-supported,.feeback-closed{position:fixed;top:0;left:0;width:100%;height:100%;background:#fff;z-index:9999}.browser-not-supported div,.feeback-closed div{padding:40px;margin:40px;background:#ecefef;text-align:center}.browser-not-supported a,.feeback-closed a{color:", contrastFillDark,"}.mobile .browser-not-supported div,.mobile .feeback-closed div{padding:25px;margin:25px;font-size:14px;line-height:24px}.browser-not-supported.narrow div,.feeback-closed.narrow div{padding:15px 5px;margin:5px;font-size:12px;line-height:16px}.svg-userreport-logo-wrapper{width:207px;height:42px;margin-top:10px;overflow:hidden}.svg-userreport-logo-wrapper svg.svg-userreport-logo path{fill:#5c6767}.svg-userreport-logo-wrapper svg.svg-userreport-logo .primary{fill:",primary,"}.mobile-only{display:none}.mobile .mobile-only{display:inherit}.jspPane{left:0!important}.jspDrag{-webkit-transition:'height' .15s ease;-moz-transition:'height' .15s ease;-o-transition:'height' .15s ease;transition:'height' .15s ease;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden}.ideas-loading{padding:20px;text-align:center}.ideas-loading-button{color:", contrastFill,";cursor:pointer}.form-fix{height:0;padding:0;margin:0;border-width:0;opacity:0;display:block}#scroll-overview{visibility:visible}#scroll-overview.hide{visibility:hidden}#recaptcha{display:none}.captcha.showpage-create #recaptcha{display:block}.captcha.showpage-idea #recaptcha{display:block}.grecaptcha-badge{z-index:2}");return b.join("")};var Ob;Ob="icon-add icon-arrow-left icon-arrow-right icon-arrow icon-back icon-being-implemented icon-bug icon-checkbox icon-checkmark icon-clear icon-close icon-comment icon-considered icon-description icon-email icon-idea icon-like icon-new icon-name icon-search icon-send icon-share icon-time".split(" "); var ab={parseQueryString:function(a){var b={};a.replace(RegExp("([^#?=&]+)(=([^&]*))?","g"),function(a,d,f,g){b[d]=decodeURIComponent(g)});return b},composeQueryString:function(a){if(!a)return"";var b="",e;for(e in a)if(a.hasOwnProperty(e)){var b=b+e,d=a[e];d!==w&&null!==d&&(b+="="+encodeURIComponent(d));b+="&"}0<b.length&&(b=b.substr(0,b.length-1));return b},getHashParam:function(a){return(v.location.hash||"").split(/[#&]/i).reduce(function(a,e){if(!e)return a;var d=e.split("=");a[d[0]]=decodeURIComponent(d[1]); return a},{})[a]}};(function(a){var b=function(a,d,f){return 1===arguments.length?b.get(a):b.set(a,d,f)};b._document=E;b._navigator=navigator;b.defaults={path:"/"};b.get=function(a){b._cachedDocumentCookie!==b._document.cookie&&b._renewCache();return b._cache[a]};b.set=function(e,d,f){f=b._getExtendedOptions(f);f.expires=b._getExpiresDate(d===a?-1:f.expires);b._document.cookie=b._generateCookieString(e,d,f);return b};b.expire=function(e,d){return b.set(e,a,d)};b._getExtendedOptions=function(e){return{path:e&& e.path||b.defaults.path,domain:e&&e.domain||b.defaults.domain,expires:e&&e.expires||b.defaults.expires,secure:e&&e.secure!==a?e.secure:b.defaults.secure}};b._isValidDate=function(a){return"[object Date]"===Object.prototype.toString.call(a)&&!isNaN(a.getTime())};b._getExpiresDate=function(a,d){d=d||new Date;switch(typeof a){case "number":a=new Date(d.getTime()+1E3*a);break;case "string":a=new Date(a)}if(a&&!b._isValidDate(a))throw Error("`expires` parameter cannot be converted to a valid Date instance"); return a};b._generateCookieString=function(a,b,f){a=a.replace(/[^#$&+\^`|]/g,encodeURIComponent);a=a.replace(/\(/g,"%28").replace(/\)/g,"%29");b=(b+"").replace(/[^!#$&-+\--:<-\[\]-~]/g,encodeURIComponent);f=f||{};a=a+"="+b+(f.path?";path="+f.path:"");a+=f.domain?";domain="+f.domain:"";a+=f.expires?";expires="+f.expires.toUTCString():"";return a+=f.secure?";secure":""};b._getCookieObjectFromString=function(e){var d={};e=e?e.split("; "):[];for(var f=0;f<e.length;f++){var g=b._getKeyValuePairFromCookieString(e[f]); d[g.key]===a&&(d[g.key]=g.value)}return d};b._getKeyValuePairFromCookieString=function(a){var b=a.indexOf("="),b=0>b?a.length:b;return{key:decodeURIComponent(a.substr(0,b)),value:decodeURIComponent(a.substr(b+1))}};b._renewCache=function(){b._cache=b._getCookieObjectFromString(b._document.cookie);b._cachedDocumentCookie=b._document.cookie};b._areEnabled=function(){var a="1"===b.set("cookies.js",1).get("cookies.js");b.expire("cookies.js");return a};b.enabled=b._areEnabled();"function"===typeof define&& define.amd?define(function(){return b}):"undefined"!==typeof exports?("undefined"!==typeof module&&module.exports&&(exports=module.exports=b),exports.Cookies=b):v.Cookies=b})();var Da;Da=function(){function a(){}var b,e;b=E.domain.substring(E.domain.indexOf("."));e=function(a){return"userId"===a?"__bpn_uid":"__ur_"+a};a.prototype.get=function(){return Ja(500,function(a){var b,g,l,n,s,p;l={};p=ua.PARAM_NAMES;n=0;for(s=p.length;n<s;n++)g=p[n],b=e(g),(b=Cookies.get(b))&&(l[g]=b);return l.userId?a.resolve(l): a.reject()})};a.prototype.set=function(a){return Ja(500,function(f){var g,l,n,s,p,u;p=ua.PARAM_NAMES;u=[];n=0;for(s=p.length;n<s;n++)l=p[n],g=a[l],"undefined"!==typeof g?(g=e(l),Cookies.set(g,a[l],{domain:b,expires:31536E3}),u.push(f.resolve(a))):u.push(void 0);return u})};return a}();var Z;Z=function(){function a(){this._resetCallbacks();this.initFrame=Ia(function(a){return function(b){return a._initFrame(b)}}(this))}var b,e;e=function(){var a,b;try{a="undefined"!==typeof v.localStorage}catch(e){a= !1}b="undefined"!==typeof v.postMessage;return a&&b}();b=function(a){return v.addEventListener?v.addEventListener("message",a,!1):v.attachEvent("onmessage",a)};a.prototype.get=function(){return Ja(6E3,function(a){return function(b){return e?(a._getUserCallback=function(a){a=ua.qsToInfo(a);return a.userId?b.resolve(a):b.reject()},a._errorCallback=function(){return b.reject()},a._sendMessage("GetUser2")):b.reject()}}(this))};a.prototype.set=function(a){return Ja(3E3,function(b){return function(g){var l; return e&&a.userId?(l=ua.infoToQs(a),b._sendMessage("SetUser2:"+l),g.resolve()):g.reject()}}(this))};a.prototype._initFrame=function(a){var e;e=null;b(function(b){return function(l){return"ready"===l.data?a.resolve(e):b._onMessageReceived(l)}}(this));return app.readyPromise.done(function(){var a;a=E.createElement("iframe");a.src=ja.Tag.LocalStorageUrl;a.style.display="none";E.body.appendChild(a);return e=a.contentWindow})};a.prototype._resetCallbacks=function(){return this._errorCallback=this._getUserCallback= null};a.prototype._sendMessage=function(a){return this.initFrame().done(function(b){return b.postMessage(a,"*")})};a.prototype._onMessageReceived=function(a){var b;if(a.data&&a.data.indexOf&&(0===a.data.indexOf("getUserResult:")&&(b=a.data.replace("getUserResult:",""),this._getUserCallback(b),this._resetCallbacks()),0===a.data.indexOf("error:")))return"function"===typeof this._errorCallback&&this._errorCallback(),this._resetCallbacks()};return a}();var ua,Ea,vb=[].slice;ua=function(){function a(){this.modules= 1<=arguments.length?vb.call(arguments,0):[];this.respondentIdPromise=Ia(function(a){return function(b){return a.getAnyway().done(function(a){return b.resolve(a.userId)})}}(this))}var b,e,d;b=/^[0-9a-f]{8}\-[0-9a-f]{4}\-[0-9a-f]{4}\-[0-9a-f]{4}\-[0-9a-f]{12}$/;a.PARAM_NAMES=["userId","i","q","v"];d=function(a){return"userId"===a?"__bpn_uid":a};a.infoToQs=function(b){var e,l,n,s,p,u;n={};u=a.PARAM_NAMES;s=0;for(p=u.length;s<p;s++)e=u[s],l=d(e),"undefined"!==typeof b[e]&&(n[l]=b[e]);return ab.composeQueryString(n)}; a.qsToInfo=function(b){var e,l,n,s,p,u;e={};n=ab.parseQueryString(b);u=a.PARAM_NAMES;s=0;for(p=u.length;s<p;s++)b=u[s],l=d(b),"undefined"!==typeof n[l]&&(e[b]=n[l]);return e};e=function(a){var d;return null!=(d=a.userId)&&d.toString().match(b)?!0:!1};a.prototype.get=function(){var a,b,d,e,s,p,u,c,C,A;e=[];p=!1;s=O();a=function(a){return function(){var b,c,d,f,m,g,k,l;if(!p){k=a.modules;l=[];c=m=0;for(g=k.length;m<g;c=++m){d=k[c];b=function(){var a,b,c;c=[];a=0;for(b=e.length;a<b;a++)f=e[a],f.module=== d&&c.push(f.promise);return c}();b=b[0];if(!b)break;if("pending"===b.state())break;if("resolved"===b.state()){b.done(function(b){p=!0;s.resolve(b);return a._updateOtherModules(d,b)});break}c===a.modules.length-1?l.push(s.reject()):l.push(void 0)}return l}}}(this);A=this.modules;u=function(b){return b.always(function(){return a()})};c=0;for(C=A.length;c<C;c++)b=A[c],d=b.get(),d.module=b,e.push({module:b,promise:d}),u(d);return s};a.prototype.getAnyway=function(){return O(function(a){return function(b){return a.get().done(function(a){return b.resolve(a)}).fail(function(){var d; d=[];var e;for(e=0;36>e;e++)d[e]=Math.floor(16*Math.random());d[14]=4;d[19]=d[19]&3|8;for(e=0;36>e;e++)d[e]="0123456789ABCDEF".charAt(d[e]);d[8]=d[13]=d[18]=d[23]="-";d={userId:d.join("").toLowerCase()};b.resolve(d);return a.set(d)})}}(this))};a.prototype.set=function(a){var b,d;return e(a)?(d=function(){var d,e,l,u;l=this.modules;u=[];d=0;for(e=l.length;d<e;d++)b=l[d],u.push(b.set(a));return u}.call(this),O(function(a){return $.when.apply($,d).done(function(){return a.resolve()}).fail(function(){return a.reject()})})): O().fail()};a.prototype._updateOtherModules=function(a,b){var d,e,s,p,u;p=this.modules;u=[];e=0;for(s=p.length;e<s;e++)d=p[e],d!==a&&u.push(d.set(b));return u};return a}();Ea=new ua(new Da,new Z);v.Modernizr=function(a,b,e){function d(a,b){for(var c in a){var d=a[c];if(!~(""+d).indexOf("-")&&s[d]!==e)return"pfx"==b?d:!0}return!1}function f(a,b,f){var g=a.charAt(0).toUpperCase()+a.slice(1),r=(a+" "+u.join(g+" ")+g).split(" ");if("string"===typeof b||"undefined"===typeof b)return d(r,b);r=(a+" "+c.join(g+ " ")+g).split(" ");a:{a=r;for(var l in a)if(g=b[a[l]],g!==e){b=!1===f?a[l]:"function"===typeof g?g.bind(f||b):g;break a}b=!1}return b}var g={},l=b.documentElement,n=b.createElement("modernizr"),s=n.style,p=" -webkit- -moz- -o- -ms- ".split(" "),u=["Webkit","Moz","O","ms"],c=["webkit","moz","o","ms"],n={},C=[],A=C.slice,F,H=function(a,c,d,e){var f,g,r=b.createElement("div"),n=b.body,p=n||b.createElement("body");if(parseInt(d,10))for(;d--;)f=b.createElement("div"),f.id=e?e[d]:"modernizr"+(d+1),r.appendChild(f); d=['­<style id="smodernizr">',a,"</style>"].join("");r.id="modernizr";(n?r:p).innerHTML+=d;p.appendChild(r);n||(p.style.background="",p.style.overflow="hidden",g=l.style.overflow,l.style.overflow="hidden",l.appendChild(p));a=c(r,a);n?r.parentNode.removeChild(r):(p.parentNode.removeChild(p),l.style.overflow=g);return!!a},r={}.hasOwnProperty,P;P="undefined"!==typeof r&&"undefined"!==typeof r.call?function(a,b){return r.call(a,b)}:function(a,b){return b in a&&"undefined"===typeof a.constructor.prototype[b]}; Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=A.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var e=new e,f=b.apply(e,c.concat(A.call(arguments)));return Object(f)===f?f:e}return b.apply(a,c.concat(A.call(arguments)))};return d});n.flexbox=function(){return f("flexWrap")};n.flexboxlegacy=function(){return f("boxDirection")};n.webgl=function(){return!!a.WebGLRenderingContext}; n.touch=function(){var c;"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:H(["@media (",p.join("touch-enabled),("),"modernizr){#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=9===a.offsetTop});return c};n.rgba=function(){s.cssText="background-color:rgba(150,255,150,.5)";return!!~(""+s.backgroundColor).indexOf("rgba")};n.backgroundsize=function(){return f("backgroundSize")};n.borderradius=function(){return f("borderRadius")};n.boxshadow=function(){return f("boxShadow")}; n.textshadow=function(){return""===b.createElement("div").style.textShadow};n.opacity=function(){var a=p.join("opacity:.55;")+"";s.cssText=a;return/^0.55$/.test(s.opacity)};n.cssanimations=function(){return f("animationName")};n.cssgradients=function(){var a=("background-image:-webkit-gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:"+p.join("linear-gradient(left top,#9f9, white);background-image:")).slice(0,-17);s.cssText=a;return!!~(""+s.backgroundImage).indexOf("gradient")}; n.cssreflections=function(){return f("boxReflect")};n.csstransforms=function(){return!!f("transform")};n.csstransforms3d=function(){var a=!!f("perspective");a&&"webkitPerspective"in l.style&&H("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=9===b.offsetLeft&&3===b.offsetHeight});return a};n.csstransitions=function(){return f("transition")};n.fontface=function(){var a;H('@font-face {font-family:"font";src:url("https://")}',function(c, d){var e=b.getElementById("smodernizr"),e=(e=e.sheet||e.styleSheet)?e.cssRules&&e.cssRules[0]?e.cssRules[0].cssText:e.cssText||"":"";a=/src/i.test(e)&&0===e.indexOf(d.split(" ")[0])});return a};n.generatedcontent=function(){var a;H('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:3px/1 a}',function(b){a=3<=b.offsetHeight});return a};n.svg=function(){return!!b.createElementNS&&!!b.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect};n.inlinesvg=function(){var a= b.createElement("div");a.innerHTML="<svg/>";return"http://www.w3.org/2000/svg"==(a.firstChild&&a.firstChild.namespaceURI)};for(var Q in n)P(n,Q)&&(F=Q.toLowerCase(),g[F]=n[Q](),C.push((g[F]?"":"no-")+F));g.addTest=function(a,b){if("object"==typeof a)for(var c in a)P(a,c)&&g.addTest(c,a[c]);else{a=a.toLowerCase();if(g[a]!==e)return g;b="function"==typeof b?b():b;l.className+=" "+(b?"":"no-")+a;g[a]=b}return g};s.cssText="";n=null;(function(a,b){function c(){var a=A.elements;return"string"==typeof a? a.split(" "):a}function d(a){var b=Q[a[s]];b||(b={},u++,a[s]=u,Q[u]=b);return b}function e(a,c,f){c||(c=b);if(P)return c.createElement(a);f||(f=d(c));c=f.cache[a]?f.cache[a].cloneNode():n.test(a)?(f.cache[a]=f.createElem(a)).cloneNode():f.createElem(a);return!c.canHaveChildren||l.test(a)||c.tagUrn?c:f.frag.appendChild(c)}function f(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag());a.createElement=function(c){return A.shivMethods?e(c, a,b):b.createElem(c)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+c().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(A,b.frag)}function g(a){a||(a=b);var c=d(a);if(A.shivCSS&&!p&&!c.hasCSS){var e,m=a;e=m.createElement("p");m=m.getElementsByTagName("head")[0]||m.documentElement;e.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>"; e=m.insertBefore(e.lastChild,m.firstChild);c.hasCSS=!!e}P||f(a,c);return a}var r=a.html5||{},l=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,n=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,p,s="_html5shiv",u=0,Q={},P;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>";p="hidden"in a;var c;if(!(c=1==a.childNodes.length)){b.createElement("a");var d=b.createDocumentFragment();c="undefined"==typeof d.cloneNode|| "undefined"==typeof d.createDocumentFragment||"undefined"==typeof d.createElement}P=c}catch(e){P=p=!0}})();var A={elements:r.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==r.shivCSS,supportsUnknownElements:P,shivMethods:!1!==r.shivMethods,type:"default",shivDocument:g,createElement:e,createDocumentFragment:function(a,e){a||(a=b); if(P)return a.createDocumentFragment();e=e||d(a);for(var f=e.frag.cloneNode(),m=0,g=c(),r=g.length;m<r;m++)f.createElement(g[m]);return f}};a.html5=A;g(b)})(this,b);g._version="2.8.2";g._prefixes=p;g._domPrefixes=c;g._cssomPrefixes=u;g.testProp=function(a){return d([a])};g.testAllProps=f;g.testStyles=H;l.className=l.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(" js "+C.join(" "));return g}(this,this.document);(function(a,b,e){function d(a){return"[object Function]"==F.call(a)}function f(a){return"string"== typeof a}function g(){}function l(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function n(){var a=H.shift();r=1;a?a.t?C(function(){("c"==a.t?K.injectCss:K.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),n()):r=0}function s(a,c,d,e,f,k,g){function p(b){if(!N&&l(x.readyState)&&(s.r=N=1,!r&&n(),x.onload=x.onreadystatechange=null,b)){"img"!=a&&C(function(){m.removeChild(x)},50);for(var d in D[c])D[c].hasOwnProperty(d)&&D[c][d].onload()}}g=g||K.errorTimeout;var x=b.createElement(a),N=0,u=0,s={t:d, s:c,e:f,a:k,x:g};1===D[c]&&(u=1,D[c]=[]);"object"==a?x.data=c:(x.src=c,x.type=a);x.width=x.height="0";x.onerror=x.onload=x.onreadystatechange=function(){p.call(this,u)};H.splice(e,0,s);"img"!=a&&(u||2===D[c]?(m.insertBefore(x,Q?null:A),C(p,g)):D[c].push(x))}function p(a,b,c,d,e){return r=0,b=b||"j",f(a)?s("c"==b?k:x,a,b,this.i++,c,d,e):(H.splice(this.i++,0,a),1==H.length&&n()),this}function u(){var a=K;return a.loader={load:p,i:0},a}var c=b.documentElement,C=a.setTimeout,A=b.getElementsByTagName("script")[0], F={}.toString,H=[],r=0,P="MozAppearance"in c.style,Q=P&&!!b.createRange().compareNode,m=Q?c:A.parentNode,c=a.opera&&"[object Opera]"==F.call(a.opera),c=!!b.attachEvent&&!c,x=P?"object":c?"script":"img",k=c?"script":x,I=Array.isArray||function(a){return"[object Array]"==F.call(a)},da=[],D={},N={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},ka,K;K=function(a){function b(a){a=a.split("!");var c=da.length,d=a.pop(),e=a.length,d={url:d,origUrl:d,prefixes:a},f,m,k;for(m=0;m<e;m++)k=a[m].split("="), (f=N[k.shift()])&&(d=f(d,k));for(m=0;m<c;m++)d=da[m](d);return d}function c(a,f,m,k,g){var r=b(a),l=r.autoCallback;r.url.split(".").pop().split("?").shift();r.bypass||(f&&(f=d(f)?f:f[a]||f[k]||f[a.split("/").pop().split("?")[0]]),r.instead?r.instead(a,f,m,k,g):(D[r.url]?r.noexec=!0:D[r.url]=1,m.load(r.url,r.forceCSS||!r.forceJS&&"css"==r.url.split(".").pop().split("?").shift()?"c":e,r.noexec,r.attrs,r.timeout),(d(f)||d(l))&&m.load(function(){u();f&&f(r.origUrl,g,k);l&&l(r.origUrl,g,k);D[r.url]=2})))} function m(a,b){function e(a,m){if(a)if(f(a))m||(l=function(){var a=[].slice.call(arguments);n.apply(this,a);x()}),c(a,l,b,0,k);else{if(Object(a)===a)for(N in p=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(N)&&(!m&&!--p&&(d(l)?l=function(){var a=[].slice.call(arguments);n.apply(this,a);x()}:l[N]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b);x()}}(n[N])),c(a[N],l,b,N,k))}else!m&&x()}var k=!!a.test,r=a.load||a.both,l=a.callback|| g,n=l,x=a.complete||g,p,N;e(k?a.yep:a.nope,!!r);r&&e(r)}var k,r,l=this.yepnope.loader;if(f(a))c(a,0,l,0);else if(I(a))for(k=0;k<a.length;k++)r=a[k],f(r)?c(r,0,l,0):I(r)?K(r):Object(r)===r&&m(r,l);else Object(a)===a&&m(a,l)};K.addPrefix=function(a,b){N[a]=b};K.addFilter=function(a){da.push(a)};K.errorTimeout=1E4;null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",ka=function(){b.removeEventListener("DOMContentLoaded",ka,0);b.readyState="complete"}, 0));a.yepnope=u();a.yepnope.executeStack=n;a.yepnope.injectJs=function(a,c,d,e,f,m){var k=b.createElement("script"),r,x;e=e||K.errorTimeout;k.src=a;for(x in d)k.setAttribute(x,d[x]);c=m?n:c||g;k.onreadystatechange=k.onload=function(){!r&&l(k.readyState)&&(r=1,c(),k.onload=k.onreadystatechange=null)};C(function(){r||(r=1,c(1))},e);f?k.onload():A.parentNode.insertBefore(k,A)};a.yepnope.injectCss=function(a,c,d,e,f,m){e=b.createElement("link");var k;c=m?n:c||g;e.href=a;e.rel="stylesheet";e.type="text/css"; for(k in d)e.setAttribute(k,d[k]);f||(A.parentNode.insertBefore(e,A),C(c,0))}})(this,E);Modernizr.load=function(){yepnope.apply(v,[].slice.call(arguments,0))};(function(){(function(a){var b=this||(0,eval)("this"),e=b.document,d=b.navigator,f=b.jQuery,g=b.JSON;(function(a){"function"===typeof require&&"object"===typeof exports&&"object"===typeof module?a(module.exports||exports):"function"===typeof define&&define.amd?define(["exports"],a):a(b.ko={})})(function(l){function n(a,b){return null===a||typeof a in C?a===b:!1}function s(b,c){var d;return function(){d||(d=setTimeout(function(){d=a;b()},c))}}function p(a,b){var c;return function(){clearTimeout(c);c=setTimeout(a,b)}}function u(a,b,d,e){c.bindingHandlers[a]={init:function(a,f,g,r,l){var n,p;c.computed(function(){var g=c.utils.unwrapObservable(f()),r=!d!==!g,u=!p;if(u||b||r!==n)u&&c.computedContext.getDependenciesCount()&&(p=c.utils.cloneNodes(c.virtualElements.childNodes(a),!0)),r?(u||c.virtualElements.setDomNodeChildren(a,c.utils.cloneNodes(p)), c.applyBindingsToDescendants(e?e(l,g):l,a)):c.virtualElements.emptyNode(a),n=r},null,{disposeWhenNodeIsRemoved:a});return{controlsDescendantBindings:!0}}};c.expressionRewriting.bindingRewriteValidators[a]=!1;c.virtualElements.allowedBindings[a]=!0}var c="undefined"!==typeof l?l:{};c.exportSymbol=function(a,b){for(var d=a.split("."),e=c,f=0;f<d.length-1;f++)e=e[d[f]];e[d[d.length-1]]=b};c.exportProperty=function(a,b,c){a[b]=c};c.version="3.1.0";c.exportSymbol("version",c.version);c.utils=function(){function r(a, b){for(var c in a)a.hasOwnProperty(c)&&b(c,a[c])}function l(a,b){if(b)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}function n(a,b){a.__proto__=b;return a}var m={__proto__:[]}instanceof Array,x={},k={},p=d&&/Firefox\/2/i.test(d.userAgent)?"KeyboardEvent":"UIEvents";x[p]=["keyup","keydown","keypress"];x.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" ");r(x,function(a,b){if(b.length)for(var c=0,d=b.length;c<d;c++)k[b[c]]=a});var u= {propertychange:!0},s=e&&function(){for(var b=3,c=e.createElement("div"),d=c.getElementsByTagName("i");c.innerHTML="\x3c!--[if gt IE "+ ++b+"]><i></i><![endif]--\x3e",d[0];);return 4<b?b:a}();return{fieldsIncludedWithJsonPost:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],arrayForEach:function(a,b){for(var c=0,d=a.length;c<d;c++)b(a[c],c)},arrayIndexOf:function(a,b){if("function"==typeof Array.prototype.indexOf)return Array.prototype.indexOf.call(a,b);for(var c=0,d=a.length;c<d;c++)if(a[c]=== b)return c;return-1},arrayFirst:function(a,b,c){for(var d=0,e=a.length;d<e;d++)if(b.call(c,a[d],d))return a[d];return null},arrayRemoveItem:function(a,b){var d=c.utils.arrayIndexOf(a,b);0<d?a.splice(d,1):0===d&&a.shift()},arrayGetDistinctValues:function(a){a=a||[];for(var b=[],d=0,e=a.length;d<e;d++)0>c.utils.arrayIndexOf(b,a[d])&&b.push(a[d]);return b},arrayMap:function(a,b){a=a||[];for(var c=[],d=0,e=a.length;d<e;d++)c.push(b(a[d],d));return c},arrayFilter:function(a,b){a=a||[];for(var c=[],d=0, e=a.length;d<e;d++)b(a[d],d)&&c.push(a[d]);return c},arrayPushAll:function(a,b){if(b instanceof Array)a.push.apply(a,b);else for(var c=0,d=b.length;c<d;c++)a.push(b[c]);return a},addOrRemoveItem:function(a,b,d){var e=c.utils.arrayIndexOf(c.utils.peekObservable(a),b);0>e?d&&a.push(b):d||a.splice(e,1)},canSetPrototype:m,extend:l,setPrototypeOf:n,setPrototypeOfOrExtend:m?n:l,objectForEach:r,objectMap:function(a,b){if(!a)return a;var c={},d;for(d in a)a.hasOwnProperty(d)&&(c[d]=b(a[d],d,a));return c}, emptyDomNode:function(a){for(;a.firstChild;)c.removeNode(a.firstChild)},moveCleanedNodesToContainerElement:function(a){a=c.utils.makeArray(a);for(var b=e.createElement("div"),d=0,f=a.length;d<f;d++)b.appendChild(c.cleanNode(a[d]));return b},cloneNodes:function(a,b){for(var d=0,e=a.length,f=[];d<e;d++){var m=a[d].cloneNode(!0);f.push(b?c.cleanNode(m):m)}return f},setDomNodeChildren:function(a,b){c.utils.emptyDomNode(a);if(b)for(var d=0,e=b.length;d<e;d++)a.appendChild(b[d])},replaceDomNodes:function(a, b){var d=a.nodeType?[a]:a;if(0<d.length){for(var e=d[0],f=e.parentNode,m=0,k=b.length;m<k;m++)f.insertBefore(b[m],e);m=0;for(k=d.length;m<k;m++)c.removeNode(d[m])}},fixUpContinuousNodeArray:function(a,b){if(a.length){for(b=8===b.nodeType&&b.parentNode||b;a.length&&a[0].parentNode!==b;)a.shift();if(1<a.length){var c=a[0],d=a[a.length-1];for(a.length=0;c!==d;)if(a.push(c),c=c.nextSibling,!c)return;a.push(d)}}return a},setOptionNodeSelectionState:function(a,b){7>s?a.setAttribute("selected",b):a.selected= b},stringTrim:function(b){return null===b||b===a?"":b.trim?b.trim():b.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},stringTokenize:function(a,b){for(var d=[],e=(a||"").split(b),f=0,m=e.length;f<m;f++){var k=c.utils.stringTrim(e[f]);""!==k&&d.push(k)}return d},stringStartsWith:function(a,b){a=a||"";return b.length>a.length?!1:a.substring(0,b.length)===b},domNodeIsContainedBy:function(a,b){if(a===b)return!0;if(11===a.nodeType)return!1;if(b.contains)return b.contains(3===a.nodeType?a.parentNode:a); if(b.compareDocumentPosition)return 16==(b.compareDocumentPosition(a)&16);for(;a&&a!=b;)a=a.parentNode;return!!a},domNodeIsAttachedToDocument:function(a){return c.utils.domNodeIsContainedBy(a,a.ownerDocument.documentElement)},anyDomNodeIsAttachedToDocument:function(a){return!!c.utils.arrayFirst(a,c.utils.domNodeIsAttachedToDocument)},tagNameLower:function(a){return a&&a.tagName&&a.tagName.toLowerCase()},registerEventHandler:function(a,b,d){var e=s&&u[b];if(!e&&f)f(a).bind(b,d);else if(e||"function"!= typeof a.addEventListener)if("undefined"!=typeof a.attachEvent){var m=function(b){d.call(a,b)},k="on"+b;a.attachEvent(k,m);c.utils.domNodeDisposal.addDisposeCallback(a,function(){a.detachEvent(k,m)})}else throw Error("Browser doesn't support addEventListener or attachEvent");else a.addEventListener(b,d,!1)},triggerEvent:function(a,d){if(!a||!a.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var m;"input"===c.utils.tagNameLower(a)&&a.type?"click"!=d.toLowerCase()?m=!1: (m=a.type,m="checkbox"==m||"radio"==m):m=!1;if(f&&!m)f(a).trigger(d);else if("function"==typeof e.createEvent)if("function"==typeof a.dispatchEvent)m=e.createEvent(k[d]||"HTMLEvents"),m.initEvent(d,!0,!0,b,0,0,0,0,0,!1,!1,!1,!1,0,a),a.dispatchEvent(m);else throw Error("The supplied element doesn't support dispatchEvent");else if(m&&a.click)a.click();else if("undefined"!=typeof a.fireEvent)a.fireEvent("on"+d);else throw Error("Browser doesn't support triggering events");},unwrapObservable:function(a){return c.isObservable(a)? a():a},peekObservable:function(a){return c.isObservable(a)?a.peek():a},toggleDomNodeCssClass:function(a,b,d){if(b){var e=/\S+/g,f=a.className.match(e)||[];c.utils.arrayForEach(b.match(e),function(a){c.utils.addOrRemoveItem(f,a,d)});a.className=f.join(" ")}},setTextContent:function(b,d){var e=c.utils.unwrapObservable(d);if(null===e||e===a)e="";var f=c.virtualElements.firstChild(b);!f||3!=f.nodeType||c.virtualElements.nextSibling(f)?c.virtualElements.setDomNodeChildren(b,[b.ownerDocument.createTextNode(e)]): f.data=e;c.utils.forceRefresh(b)},setElementName:function(a,b){a.name=b;if(7>=s)try{a.mergeAttributes(e.createElement("<input name='"+a.name+"'/>"),!1)}catch(c){}},forceRefresh:function(a){9<=s&&(a=1==a.nodeType?a:a.parentNode,a.style&&(a.style.zoom=a.style.zoom))},ensureSelectElementIsRenderedCorrectly:function(a){if(s){var b=a.style.width;a.style.width=0;a.style.width=b}},range:function(a,b){a=c.utils.unwrapObservable(a);b=c.utils.unwrapObservable(b);for(var d=[],e=a;e<=b;e++)d.push(e);return d}, makeArray:function(a){for(var b=[],c=0,d=a.length;c<d;c++)b.push(a[c]);return b},isIe6:6===s,isIe7:7===s,ieVersion:s,getFormFields:function(a,b){for(var d=c.utils.makeArray(a.getElementsByTagName("input")).concat(c.utils.makeArray(a.getElementsByTagName("textarea"))),e="string"==typeof b?function(a){return a.name===b}:function(a){return b.test(a.name)},f=[],m=d.length-1;0<=m;m--)e(d[m])&&f.push(d[m]);return f},parseJson:function(a){return"string"==typeof a&&(a=c.utils.stringTrim(a))?g&&g.parse?g.parse(a): (new Function("return "+a))():null},stringifyJson:function(a,b,d){if(!g||!g.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return g.stringify(c.utils.unwrapObservable(a),b,d)},postJson:function(a,b,d){d=d||{};var f=d.params||{},m=d.includeFields||this.fieldsIncludedWithJsonPost,k=a;if("object"==typeof a&&"form"===c.utils.tagNameLower(a))for(var k= a.action,g=m.length-1;0<=g;g--)for(var l=c.utils.getFormFields(a,m[g]),n=l.length-1;0<=n;n--)f[l[n].name]=l[n].value;b=c.utils.unwrapObservable(b);var x=e.createElement("form");x.style.display="none";x.action=k;x.method="post";for(var p in b)a=e.createElement("input"),a.name=p,a.value=c.utils.stringifyJson(c.utils.unwrapObservable(b[p])),x.appendChild(a);r(f,function(a,b){var c=e.createElement("input");c.name=a;c.value=b;x.appendChild(c)});e.body.appendChild(x);d.submitter?d.submitter(x):x.submit(); setTimeout(function(){x.parentNode.removeChild(x)},0)}}}();c.exportSymbol("utils",c.utils);c.exportSymbol("utils.arrayForEach",c.utils.arrayForEach);c.exportSymbol("utils.arrayFirst",c.utils.arrayFirst);c.exportSymbol("utils.arrayFilter",c.utils.arrayFilter);c.exportSymbol("utils.arrayGetDistinctValues",c.utils.arrayGetDistinctValues);c.exportSymbol("utils.arrayIndexOf",c.utils.arrayIndexOf);c.exportSymbol("utils.arrayMap",c.utils.arrayMap);c.exportSymbol("utils.arrayPushAll",c.utils.arrayPushAll); c.exportSymbol("utils.arrayRemoveItem",c.utils.arrayRemoveItem);c.exportSymbol("utils.extend",c.utils.extend);c.exportSymbol("utils.fieldsIncludedWithJsonPost",c.utils.fieldsIncludedWithJsonPost);c.exportSymbol("utils.getFormFields",c.utils.getFormFields);c.exportSymbol("utils.peekObservable",c.utils.peekObservable);c.exportSymbol("utils.postJson",c.utils.postJson);c.exportSymbol("utils.parseJson",c.utils.parseJson);c.exportSymbol("utils.registerEventHandler",c.utils.registerEventHandler);c.exportSymbol("utils.stringifyJson", c.utils.stringifyJson);c.exportSymbol("utils.range",c.utils.range);c.exportSymbol("utils.toggleDomNodeCssClass",c.utils.toggleDomNodeCssClass);c.exportSymbol("utils.triggerEvent",c.utils.triggerEvent);c.exportSymbol("utils.unwrapObservable",c.utils.unwrapObservable);c.exportSymbol("utils.objectForEach",c.utils.objectForEach);c.exportSymbol("utils.addOrRemoveItem",c.utils.addOrRemoveItem);c.exportSymbol("unwrap",c.utils.unwrapObservable);Function.prototype.bind||(Function.prototype.bind=function(a){var b= this,c=Array.prototype.slice.call(arguments);a=c.shift();return function(){return b.apply(a,c.concat(Array.prototype.slice.call(arguments)))}});c.utils.domData=new function(){function b(f,k){var g=f[d];if(!g||"null"===g||!e[g]){if(!k)return a;g=f[d]="ko"+c++;e[g]={}}return e[g]}var c=0,d="__ko__"+(new Date).getTime(),e={};return{get:function(c,d){var e=b(c,!1);return e===a?a:e[d]},set:function(c,d,e){if(e!==a||b(c,!1)!==a)b(c,!0)[d]=e},clear:function(a){var b=a[d];return b?(delete e[b],a[d]=null, !0):!1},nextKey:function(){return c++ +d}}};c.exportSymbol("utils.domData",c.utils.domData);c.exportSymbol("utils.domData.clear",c.utils.domData.clear);c.utils.domNodeDisposal=new function(){function b(d,f){var m=c.utils.domData.get(d,e);m===a&&f&&(m=[],c.utils.domData.set(d,e,m));return m}function d(a){var e=b(a,!1);if(e)for(var e=e.slice(0),f=0;f<e.length;f++)e[f](a);c.utils.domData.clear(a);c.utils.domNodeDisposal.cleanExternalData(a);if(g[a.nodeType])for(e=a.firstChild;a=e;)e=a.nextSibling,8=== a.nodeType&&d(a)}var e=c.utils.domData.nextKey(),m={1:!0,8:!0,9:!0},g={1:!0,9:!0};return{addDisposeCallback:function(a,c){if("function"!=typeof c)throw Error("Callback must be a function");b(a,!0).push(c)},removeDisposeCallback:function(d,f){var m=b(d,!1);m&&(c.utils.arrayRemoveItem(m,f),0==m.length&&c.utils.domData.set(d,e,a))},cleanNode:function(a){if(m[a.nodeType]&&(d(a),g[a.nodeType])){var b=[];c.utils.arrayPushAll(b,a.getElementsByTagName("*"));for(var e=0,f=b.length;e<f;e++)d(b[e])}return a}, removeNode:function(a){c.cleanNode(a);a.parentNode&&a.parentNode.removeChild(a)},cleanExternalData:function(a){f&&"function"==typeof f.cleanData&&f.cleanData([a])}}};c.cleanNode=c.utils.domNodeDisposal.cleanNode;c.removeNode=c.utils.domNodeDisposal.removeNode;c.exportSymbol("cleanNode",c.cleanNode);c.exportSymbol("removeNode",c.removeNode);c.exportSymbol("utils.domNodeDisposal",c.utils.domNodeDisposal);c.exportSymbol("utils.domNodeDisposal.addDisposeCallback",c.utils.domNodeDisposal.addDisposeCallback); c.exportSymbol("utils.domNodeDisposal.removeDisposeCallback",c.utils.domNodeDisposal.removeDisposeCallback);(function(){c.utils.parseHtmlFragment=function(a){var d;if(f)if(f.parseHTML)d=f.parseHTML(a)||[];else{if((d=f.clean([a]))&&d[0]){for(a=d[0];a.parentNode&&11!==a.parentNode.nodeType;)a=a.parentNode;a.parentNode&&a.parentNode.removeChild(a)}}else{var g=c.utils.stringTrim(a).toLowerCase();d=e.createElement("div");g=g.match(/^<(thead|tbody|tfoot)/)&&[1,"<table>","</table>"]||!g.indexOf("<tr")&& [2,"<table><tbody>","</tbody></table>"]||(!g.indexOf("<td")||!g.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||[0,"",""];a="ignored<div>"+g[1]+a+g[2]+"</div>";for("function"==typeof b.innerShiv?d.appendChild(b.innerShiv(a)):d.innerHTML=a;g[0]--;)d=d.lastChild;d=c.utils.makeArray(d.lastChild.childNodes)}return d};c.utils.setHtml=function(b,d){c.utils.emptyDomNode(b);d=c.utils.unwrapObservable(d);if(null!==d&&d!==a)if("string"!=typeof d&&(d=d.toString()),f)f(b).html(d);else for(var e= c.utils.parseHtmlFragment(d),m=0;m<e.length;m++)b.appendChild(e[m])}})();c.exportSymbol("utils.parseHtmlFragment",c.utils.parseHtmlFragment);c.exportSymbol("utils.setHtml",c.utils.setHtml);c.memoization=function(){function b(a,d){if(a)if(8==a.nodeType){var e=c.memoization.parseMemoText(a.nodeValue);null!=e&&d.push({domNode:a,memoId:e})}else if(1==a.nodeType)for(var e=0,f=a.childNodes,g=f.length;e<g;e++)b(f[e],d)}var d={};return{memoize:function(a){if("function"!=typeof a)throw Error("You can only pass a function to ko.memoization.memoize()"); var b=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);d[b]=a;return"\x3c!--[ko_memo:"+b+"]--\x3e"},unmemoize:function(b,c){var e=d[b];if(e===a)throw Error("Couldn't find any memo with ID "+b+". Perhaps it's already been unmemoized.");try{return e.apply(null,c||[]),!0}finally{delete d[b]}},unmemoizeDomNodeAndDescendants:function(a,d){var e=[];b(a,e);for(var f=0,g=e.length;f<g;f++){var l=e[f].domNode,n=[l];d&&c.utils.arrayPushAll(n, d);c.memoization.unmemoize(e[f].memoId,n);l.nodeValue="";l.parentNode&&l.parentNode.removeChild(l)}},parseMemoText:function(a){return(a=a.match(/^\[ko_memo\:(.*?)\]$/))?a[1]:null}}}();c.exportSymbol("memoization",c.memoization);c.exportSymbol("memoization.memoize",c.memoization.memoize);c.exportSymbol("memoization.unmemoize",c.memoization.unmemoize);c.exportSymbol("memoization.parseMemoText",c.memoization.parseMemoText);c.exportSymbol("memoization.unmemoizeDomNodeAndDescendants",c.memoization.unmemoizeDomNodeAndDescendants); c.extenders={throttle:function(a,b){a.throttleEvaluation=b;var d=null;return c.dependentObservable({read:a,write:function(c){clearTimeout(d);d=setTimeout(function(){a(c)},b)}})},rateLimit:function(a,b){var c,d,e;"number"==typeof b?c=b:(c=b.timeout,d=b.method);e="notifyWhenChangesStop"==d?p:s;a.limit(function(a){return e(a,c)})},notify:function(a,b){a.equalityComparer="always"==b?null:n}};var C={undefined:1,"boolean":1,number:1,string:1};c.exportSymbol("extenders",c.extenders);c.subscription=function(a, b,d){this.target=a;this.callback=b;this.disposeCallback=d;this.isDisposed=!1;c.exportProperty(this,"dispose",this.dispose)};c.subscription.prototype.dispose=function(){this.isDisposed=!0;this.disposeCallback()};c.subscribable=function(){c.utils.setPrototypeOfOrExtend(this,c.subscribable.fn);this._subscriptions={}};l={subscribe:function(a,b,d){var e=this;d=d||"change";a=b?a.bind(b):a;var f=new c.subscription(e,a,function(){c.utils.arrayRemoveItem(e._subscriptions[d],f)});e.peek&&e.peek();e._subscriptions[d]|| (e._subscriptions[d]=[]);e._subscriptions[d].push(f);return f},notifySubscribers:function(a,b){b=b||"change";if(this.hasSubscriptionsForEvent(b))try{c.dependencyDetection.begin();for(var d=this._subscriptions[b].slice(0),e=0,f;f=d[e];++e)f.isDisposed||f.callback(a)}finally{c.dependencyDetection.end()}},limit:function(a){var b=this,d=c.isObservable(b),e,f,k;b._origNotifySubscribers||(b._origNotifySubscribers=b.notifySubscribers,b.notifySubscribers=function(a,c){c&&"change"!==c?"beforeChange"===c?b._rateLimitedBeforeChange(a): b._origNotifySubscribers(a,c):b._rateLimitedChange(a)});var g=a(function(){d&&k===b&&(k=b());e=!1;b.isDifferent(f,k)&&b._origNotifySubscribers(f=k)});b._rateLimitedChange=function(a){e=!0;k=a;g()};b._rateLimitedBeforeChange=function(a){e||(f=a,b._origNotifySubscribers(a,"beforeChange"))}},hasSubscriptionsForEvent:function(a){return this._subscriptions[a]&&this._subscriptions[a].length},getSubscriptionsCount:function(){var a=0;c.utils.objectForEach(this._subscriptions,function(b,c){a+=c.length});return a}, isDifferent:function(a,b){return!this.equalityComparer||!this.equalityComparer(a,b)},extend:function(a){var b=this;a&&c.utils.objectForEach(a,function(a,d){var e=c.extenders[a];"function"==typeof e&&(b=e(b,d)||b)});return b}};c.exportProperty(l,"subscribe",l.subscribe);c.exportProperty(l,"extend",l.extend);c.exportProperty(l,"getSubscriptionsCount",l.getSubscriptionsCount);c.utils.canSetPrototype&&c.utils.setPrototypeOf(l,Function.prototype);c.subscribable.fn=l;c.isSubscribable=function(a){return null!= a&&"function"==typeof a.subscribe&&"function"==typeof a.notifySubscribers};c.exportSymbol("subscribable",c.subscribable);c.exportSymbol("isSubscribable",c.isSubscribable);c.computedContext=c.dependencyDetection=function(){function a(b){d.push(e);e=b}function b(){e=d.pop()}var d=[],e,f=0;return{begin:a,end:b,registerDependency:function(a){if(e){if(!c.isSubscribable(a))throw Error("Only subscribable things can act as dependencies");e.callback(a,a._id||(a._id=++f))}},ignore:function(c,d,e){try{return a(), c.apply(d,e||[])}finally{b()}},getDependenciesCount:function(){if(e)return e.computed.getDependenciesCount()},isInitial:function(){if(e)return e.isInitial}}}();c.exportSymbol("computedContext",c.computedContext);c.exportSymbol("computedContext.getDependenciesCount",c.computedContext.getDependenciesCount);c.exportSymbol("computedContext.isInitial",c.computedContext.isInitial);c.observable=function(a){function b(){if(0<arguments.length)return b.isDifferent(d,arguments[0])&&(b.valueWillMutate(),d=arguments[0], b._latestValue=d,b.valueHasMutated()),this;c.dependencyDetection.registerDependency(b);return d}var d=a;c.subscribable.call(b);c.utils.setPrototypeOfOrExtend(b,c.observable.fn);b._latestValue=d;b.peek=function(){return d};b.valueHasMutated=function(){b.notifySubscribers(d)};b.valueWillMutate=function(){b.notifySubscribers(d,"beforeChange")};c.exportProperty(b,"peek",b.peek);c.exportProperty(b,"valueHasMutated",b.valueHasMutated);c.exportProperty(b,"valueWillMutate",b.valueWillMutate);return b};c.observable.fn= {equalityComparer:n};var A=c.observable.protoProperty="__ko_proto__";c.observable.fn[A]=c.observable;c.utils.canSetPrototype&&c.utils.setPrototypeOf(c.observable.fn,c.subscribable.fn);c.hasPrototype=function(b,d){return null===b||b===a||b[A]===a?!1:b[A]===d?!0:c.hasPrototype(b[A],d)};c.isObservable=function(a){return c.hasPrototype(a,c.observable)};c.isWriteableObservable=function(a){return"function"==typeof a&&a[A]===c.observable||"function"==typeof a&&a[A]===c.dependentObservable&&a.hasWriteFunction? !0:!1};c.exportSymbol("observable",c.observable);c.exportSymbol("isObservable",c.isObservable);c.exportSymbol("isWriteableObservable",c.isWriteableObservable);c.observableArray=function(a){a=a||[];if("object"!=typeof a||!("length"in a))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");a=c.observable(a);c.utils.setPrototypeOfOrExtend(a,c.observableArray.fn);return a.extend({trackArrayChanges:!0})};c.observableArray.fn={remove:function(a){for(var b= this.peek(),d=[],e="function"!=typeof a||c.isObservable(a)?function(b){return b===a}:a,f=0;f<b.length;f++){var k=b[f];e(k)&&(0===d.length&&this.valueWillMutate(),d.push(k),b.splice(f,1),f--)}d.length&&this.valueHasMutated();return d},removeAll:function(b){if(b===a){var d=this.peek(),e=d.slice(0);this.valueWillMutate();d.splice(0,d.length);this.valueHasMutated();return e}return b?this.remove(function(a){return 0<=c.utils.arrayIndexOf(b,a)}):[]},destroy:function(a){var b=this.peek(),d="function"!=typeof a|| c.isObservable(a)?function(b){return b===a}:a;this.valueWillMutate();for(var e=b.length-1;0<=e;e--)d(b[e])&&(b[e]._destroy=!0);this.valueHasMutated()},destroyAll:function(b){return b===a?this.destroy(function(){return!0}):b?this.destroy(function(a){return 0<=c.utils.arrayIndexOf(b,a)}):[]},indexOf:function(a){var b=this();return c.utils.arrayIndexOf(b,a)},replace:function(a,b){var c=this.indexOf(a);0<=c&&(this.valueWillMutate(),this.peek()[c]=b,this.valueHasMutated())}};c.utils.arrayForEach("pop push reverse shift sort splice unshift".split(" "), function(a){c.observableArray.fn[a]=function(){var b=this.peek();this.valueWillMutate();this.cacheDiffForKnownOperation(b,a,arguments);b=b[a].apply(b,arguments);this.valueHasMutated();return b}});c.utils.arrayForEach(["slice"],function(a){c.observableArray.fn[a]=function(){var b=this();return b[a].apply(b,arguments)}});c.utils.canSetPrototype&&c.utils.setPrototypeOf(c.observableArray.fn,c.observable.fn);c.exportSymbol("observableArray",c.observableArray);c.extenders.trackArrayChanges=function(a){function b(){if(!d){d= !0;var k=a.notifySubscribers;a.notifySubscribers=function(a,b){b&&"change"!==b||++f;return k.apply(this,arguments)};var g=[].concat(a.peek()||[]);e=null;a.subscribe(function(b){b=[].concat(b||[]);if(a.hasSubscriptionsForEvent("arrayChange")){var d;if(!e||1<f)e=c.utils.compareArrays(g,b,{sparse:!0});d=e;d.length&&a.notifySubscribers(d,"arrayChange")}g=b;e=null;f=0})}}if(!a.cacheDiffForKnownOperation){var d=!1,e=null,f=0,k=a.subscribe;a.subscribe=a.subscribe=function(a,c,d){"arrayChange"===d&&b();return k.apply(this, arguments)};a.cacheDiffForKnownOperation=function(a,b,k){function g(a,b,c){return l[l.length]={status:a,value:b,index:c}}if(d&&!f){var l=[],n=a.length,r=k.length,p=0;switch(b){case "push":p=n;case "unshift":for(b=0;b<r;b++)g("added",k[b],p+b);break;case "pop":p=n-1;case "shift":n&&g("deleted",a[p],p);break;case "splice":b=Math.min(Math.max(0,0>k[0]?n+k[0]:k[0]),n);for(var n=1===r?n:Math.min(b+(k[1]||0),n),r=b+r-2,p=Math.max(n,r),s=[],u=[],P=2;b<p;++b,++P)b<n&&u.push(g("deleted",a[b],b)),b<r&&s.push(g("added", k[P],b));c.utils.findMovesInArrayComparison(u,s);break;default:return}e=l}}}};c.computed=c.dependentObservable=function(a,b,d){function e(){A=!0;c.utils.objectForEach(ta,function(a,b){b.dispose()});ta={};y=0;p=!1}function f(){var a=g.throttleEvaluation;a&&0<=a?(clearTimeout(z),z=setTimeout(k,a)):g._evalRateLimited?g._evalRateLimited():k()}function k(){if(!s&&!A){if(v&&v()){if(!u){w();return}}else u=!1;s=!0;try{var a=ta,d=y;c.dependencyDetection.begin({callback:function(b,c){A||(d&&a[c]?(ta[c]=a[c], ++y,delete a[c],--d):ta[c]||(ta[c]=b.subscribe(f),++y))},computed:g,isInitial:!y});ta={};y=0;try{var e=b?C.call(b):C()}finally{c.dependencyDetection.end(),d&&c.utils.objectForEach(a,function(a,b){b.dispose()}),p=!1}g.isDifferent(n,e)&&(g.notifySubscribers(n,"beforeChange"),n=e,g._latestValue=n,g._evalRateLimited&&!g.throttleEvaluation||g.notifySubscribers(n))}finally{s=!1}y||w()}}function g(){if(0<arguments.length){if("function"===typeof F)F.apply(b,arguments);else throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters."); return this}p&&k();c.dependencyDetection.registerDependency(g);return n}function l(){return p||0<y}var n,p=!0,s=!1,u=!1,A=!1,C=a;C&&"object"==typeof C?(d=C,C=d.read):(d=d||{},C||(C=d.read));if("function"!=typeof C)throw Error("Pass a function that returns the value of the ko.computed");var F=d.write,H=d.disposeWhenNodeIsRemoved||d.disposeWhenNodeIsRemoved||null,t=d.disposeWhen||d.disposeWhen,v=t,w=e,ta={},y=0,z=null;b||(b=d.owner);c.subscribable.call(g);c.utils.setPrototypeOfOrExtend(g,c.dependentObservable.fn); g.peek=function(){p&&!y&&k();return n};g.getDependenciesCount=function(){return y};g.hasWriteFunction="function"===typeof d.write;g.dispose=function(){w()};g.isActive=l;var T=g.limit;g.limit=function(a){T.call(g,a);g._evalRateLimited=function(){g._rateLimitedBeforeChange(n);p=!0;g._rateLimitedChange(g)}};c.exportProperty(g,"peek",g.peek);c.exportProperty(g,"dispose",g.dispose);c.exportProperty(g,"isActive",g.isActive);c.exportProperty(g,"getDependenciesCount",g.getDependenciesCount);H&&(u=!0,H.nodeType&& (v=function(){return!c.utils.domNodeIsAttachedToDocument(H)||t&&t()}));!0!==d.deferEvaluation&&k();H&&l()&&H.nodeType&&(w=function(){c.utils.domNodeDisposal.removeDisposeCallback(H,w);e()},c.utils.domNodeDisposal.addDisposeCallback(H,w));return g};c.isComputed=function(a){return c.hasPrototype(a,c.dependentObservable)};l=c.observable.protoProperty;c.dependentObservable[l]=c.observable;c.dependentObservable.fn={equalityComparer:n};c.dependentObservable.fn[l]=c.dependentObservable;c.utils.canSetPrototype&& c.utils.setPrototypeOf(c.dependentObservable.fn,c.subscribable.fn);c.exportSymbol("dependentObservable",c.dependentObservable);c.exportSymbol("computed",c.dependentObservable);c.exportSymbol("isComputed",c.isComputed);(function(){function b(c,f,k){k=k||new e;c=f(c);if("object"!=typeof c||null===c||c===a||c instanceof Date||c instanceof String||c instanceof Number||c instanceof Boolean)return c;var g=c instanceof Array?[]:{};k.save(c,g);d(c,function(d){var e=f(c[d]);switch(typeof e){case "boolean":case "number":case "string":case "function":g[d]= e;break;case "object":case "undefined":var l=k.get(e);g[d]=l!==a?l:b(e,f,k)}});return g}function d(a,b){if(a instanceof Array){for(var c=0;c<a.length;c++)b(c);"function"==typeof a.toJSON&&b("toJSON")}else for(c in a)b(c)}function e(){this.keys=[];this.values=[]}c.toJS=function(a){if(0==arguments.length)throw Error("When calling ko.toJS, pass the object you want to convert.");return b(a,function(a){for(var b=0;c.isObservable(a)&&10>b;b++)a=a();return a})};c.toJSON=function(a,b,d){a=c.toJS(a);return c.utils.stringifyJson(a, b,d)};e.prototype={constructor:e,save:function(a,b){var d=c.utils.arrayIndexOf(this.keys,a);0<=d?this.values[d]=b:(this.keys.push(a),this.values.push(b))},get:function(b){b=c.utils.arrayIndexOf(this.keys,b);return 0<=b?this.values[b]:a}}})();c.exportSymbol("toJS",c.toJS);c.exportSymbol("toJSON",c.toJSON);(function(){c.selectExtensions={readValue:function(b){switch(c.utils.tagNameLower(b)){case "option":return!0===b.__ko__hasDomDataOptionValue__?c.utils.domData.get(b,c.bindingHandlers.options.optionValueDomDataKey): 7>=c.utils.ieVersion?b.getAttributeNode("value")&&b.getAttributeNode("value").specified?b.value:b.text:b.value;case "select":return 0<=b.selectedIndex?c.selectExtensions.readValue(b.options[b.selectedIndex]):a;default:return b.value}},writeValue:function(b,d,e){switch(c.utils.tagNameLower(b)){case "option":switch(typeof d){case "string":c.utils.domData.set(b,c.bindingHandlers.options.optionValueDomDataKey,a);"__ko__hasDomDataOptionValue__"in b&&delete b.__ko__hasDomDataOptionValue__;b.value=d;break; default:c.utils.domData.set(b,c.bindingHandlers.options.optionValueDomDataKey,d),b.__ko__hasDomDataOptionValue__=!0,b.value="number"===typeof d?d:""}break;case "select":if(""===d||null===d)d=a;for(var f=-1,g=0,k=b.options.length,l;g<k;++g)if(l=c.selectExtensions.readValue(b.options[g]),l==d||""==l&&d===a){f=g;break}if(e||0<=f||d===a&&1<b.size)b.selectedIndex=f;break;default:if(null===d||d===a)d="";b.value=d}}}})();c.exportSymbol("selectExtensions",c.selectExtensions);c.exportSymbol("selectExtensions.readValue", c.selectExtensions.readValue);c.exportSymbol("selectExtensions.writeValue",c.selectExtensions.writeValue);c.expressionRewriting=function(){function a(b){b=c.utils.stringTrim(b);123===b.charCodeAt(0)&&(b=b.slice(1,-1));var d=[],g=b.match(e),l,n,p=0;if(g){g.push(",");for(var r=0,s;s=g[r];++r){var u=s.charCodeAt(0);if(44===u){if(0>=p){l&&d.push(n?{key:l,value:n.join("")}:{unknown:l});l=n=p=0;continue}}else if(58===u){if(!n)continue}else if(47===u&&r&&1<s.length)(u=g[r-1].match(f))&&!k[u[0]]&&(b=b.substr(b.indexOf(s)+ 1),g=b.match(e),g.push(","),r=-1,s="/");else if(40===u||123===u||91===u)++p;else if(41===u||125===u||93===u)--p;else if(!l&&!n){l=34===u||39===u?s.slice(1,-1):s;continue}n?n.push(s):n=[s]}}return d}var b=["true","false","null","undefined"],d=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,e=RegExp("\"(?:[^\"\\\\]|\\\\.)*\"|'(?:[^'\\\\]|\\\\.)*'|/(?:[^/\\\\]|\\\\.)*/w*|[^\\s:,/][^,\"'{}()/:[\\]]*[^\\s,\"'{}()/:[\\]]|[^\\s]","g"),f=/[\])"'A-Za-z0-9_$]+$/,k={"in":1,"return":1,"typeof":1},g={}; return{bindingRewriteValidators:[],twoWayBindings:g,parseObjectLiteral:a,preProcessBindings:function(e,f){function m(a,e){var f,p=c.getBindingHandler(a);if(p&&p.preprocess?e=p.preprocess(e,a,m):1){if(p=g[a])f=e,0<=c.utils.arrayIndexOf(b,f)?f=!1:(p=f.match(d),f=null===p?!1:p[1]?"Object("+p[1]+")"+p[2]:f),p=f;p&&l.push("'"+a+"':function(_z){"+f+"=_z}");n&&(e="function(){return "+e+" }");k.push("'"+a+"':"+e)}}f=f||{};var k=[],l=[],n=f.valueAccessors,p="string"===typeof e?a(e):e;c.utils.arrayForEach(p, function(a){m(a.key||a.unknown,a.value)});l.length&&m("_ko_property_writers","{"+l.join(",")+" }");return k.join(",")},keyValueArrayContainsKey:function(a,b){for(var c=0;c<a.length;c++)if(a[c].key==b)return!0;return!1},writeValueToProperty:function(a,b,d,e,f){if(a&&c.isObservable(a))!c.isWriteableObservable(a)||f&&a.peek()===e||a(e);else if((a=b.get("_ko_property_writers"))&&a[d])a[d](e)}}}();c.exportSymbol("expressionRewriting",c.expressionRewriting);c.exportSymbol("expressionRewriting.bindingRewriteValidators", c.expressionRewriting.bindingRewriteValidators);c.exportSymbol("expressionRewriting.parseObjectLiteral",c.expressionRewriting.parseObjectLiteral);c.exportSymbol("expressionRewriting.preProcessBindings",c.expressionRewriting.preProcessBindings);c.exportSymbol("expressionRewriting._twoWayBindings",c.expressionRewriting.twoWayBindings);c.exportSymbol("jsonExpressionRewriting",c.expressionRewriting);c.exportSymbol("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",c.expressionRewriting.preProcessBindings); (function(){function a(b){return 8==b.nodeType&&k.test(g?b.text:b.nodeValue)}function b(a){return 8==a.nodeType&&l.test(g?a.text:a.nodeValue)}function d(c,e){for(var f=c,m=1,k=[];f=f.nextSibling;){if(b(f)&&(m--,0===m))return k;k.push(f);a(f)&&m++}if(!e)throw Error("Cannot find closing comment tag to match: "+c.nodeValue);return null}function f(a,b){var c=d(a,b);return c?0<c.length?c[c.length-1].nextSibling:a.nextSibling:null}var g=e&&"\x3c!--test--\x3e"===e.createComment("test").text,k=g?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/: /^\s*ko(?:\s+([\s\S]+))?\s*$/,l=g?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,n={ul:!0,ol:!0};c.virtualElements={allowedBindings:{},childNodes:function(b){return a(b)?d(b):b.childNodes},emptyNode:function(b){if(a(b)){b=c.virtualElements.childNodes(b);for(var d=0,e=b.length;d<e;d++)c.removeNode(b[d])}else c.utils.emptyDomNode(b)},setDomNodeChildren:function(b,d){if(a(b)){c.virtualElements.emptyNode(b);for(var e=b.nextSibling,f=0,m=d.length;f<m;f++)e.parentNode.insertBefore(d[f],e)}else c.utils.setDomNodeChildren(b, d)},prepend:function(b,c){a(b)?b.parentNode.insertBefore(c,b.nextSibling):b.firstChild?b.insertBefore(c,b.firstChild):b.appendChild(c)},insertAfter:function(b,d,e){e?a(b)?b.parentNode.insertBefore(d,e.nextSibling):e.nextSibling?b.insertBefore(d,e.nextSibling):b.appendChild(d):c.virtualElements.prepend(b,d)},firstChild:function(c){return a(c)?!c.nextSibling||b(c.nextSibling)?null:c.nextSibling:c.firstChild},nextSibling:function(c){a(c)&&(c=f(c));return c.nextSibling&&b(c.nextSibling)?null:c.nextSibling}, hasBindingValue:a,virtualNodeBindingValue:function(a){return(a=(g?a.text:a.nodeValue).match(k))?a[1]:null},normaliseVirtualElementDomStructure:function(d){if(n[c.utils.tagNameLower(d)]){var e=d.firstChild;if(e){do if(1===e.nodeType){var k;k=e.firstChild;var g=null;if(k){do if(g)g.push(k);else if(a(k)){var l=f(k,!0);l?k=l:g=[k]}else b(k)&&(g=[k]);while(k=k.nextSibling)}if(k=g)for(g=e.nextSibling,l=0;l<k.length;l++)g?d.insertBefore(k[l],g):d.appendChild(k[l])}while(e=e.nextSibling)}}}}})();c.exportSymbol("virtualElements", c.virtualElements);c.exportSymbol("virtualElements.allowedBindings",c.virtualElements.allowedBindings);c.exportSymbol("virtualElements.emptyNode",c.virtualElements.emptyNode);c.exportSymbol("virtualElements.insertAfter",c.virtualElements.insertAfter);c.exportSymbol("virtualElements.prepend",c.virtualElements.prepend);c.exportSymbol("virtualElements.setDomNodeChildren",c.virtualElements.setDomNodeChildren);(function(){c.bindingProvider=function(){this.bindingCache={}};c.utils.extend(c.bindingProvider.prototype, {nodeHasBindings:function(a){switch(a.nodeType){case 1:return null!=a.getAttribute("data-bind");case 8:return c.virtualElements.hasBindingValue(a);default:return!1}},getBindings:function(a,b){var c=this.getBindingsString(a,b);return c?this.parseBindingsString(c,b,a):null},getBindingAccessors:function(a,b){var c=this.getBindingsString(a,b);return c?this.parseBindingsString(c,b,a,{valueAccessors:!0}):null},getBindingsString:function(a,b){switch(a.nodeType){case 1:return a.getAttribute("data-bind"); case 8:return c.virtualElements.virtualNodeBindingValue(a);default:return null}},parseBindingsString:function(a,b,d,e){try{var f=this.bindingCache,k=a+(e&&e.valueAccessors||""),g;if(!(g=f[k])){var l,n="with($context){with($data||{}){return{"+c.expressionRewriting.preProcessBindings(a,e)+"}}}";l=new Function("$context","$element",n);g=f[k]=l}return g(b,d)}catch(p){throw p.message="Unable to parse bindings.\nBindings value: "+a+"\nMessage: "+p.message,p;}}});c.bindingProvider.instance=new c.bindingProvider})(); c.exportSymbol("bindingProvider",c.bindingProvider);(function(){function d(a){return function(){return a}}function e(a){return a()}function g(a){return c.utils.objectMap(c.dependencyDetection.ignore(a),function(b,c){return function(){return a()[c]}})}function m(a,b,e){return"function"===typeof a?g(a.bind(null,b,e)):c.utils.objectMap(a,d)}function l(a,b){return g(this.getBindings.bind(this,a,b))}function k(a,b,d){var e,f=c.virtualElements.firstChild(b),m=c.bindingProvider.instance,k=m.preprocessNode; if(k){for(;e=f;)f=c.virtualElements.nextSibling(e),k.call(m,e);f=c.virtualElements.firstChild(b)}for(;e=f;)f=c.virtualElements.nextSibling(e),n(a,e,d)}function n(a,b,d){var e=!0,f=1===b.nodeType;f&&c.virtualElements.normaliseVirtualElementDomStructure(b);if(f&&d||c.bindingProvider.instance.nodeHasBindings(b))e=u(b,null,a,d).shouldBindDescendants;e&&!A[c.utils.tagNameLower(b)]&&k(a,b,!f)}function p(a){var b=[],d={},e=[];c.utils.objectForEach(a,function jb(f){if(!d[f]){var m=c.getBindingHandler(f); m&&(m.after&&(e.push(f),c.utils.arrayForEach(m.after,function(b){if(a[b]){if(-1!==c.utils.arrayIndexOf(e,b))throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+e.join(", "));jb(b)}}),e.length--),b.push({key:f,handler:m}));d[f]=!0}});return b}function u(b,d,f,m){var k=c.utils.domData.get(b,C);if(!d){if(k)throw Error("You cannot apply bindings multiple times to the same element.");c.utils.domData.set(b,C,!0)}!k&&m&&c.storedBindingContextForNode(b,f);var g;if(d&& "function"!==typeof d)g=d;else{var n=c.bindingProvider.instance,r=n.getBindingAccessors||l,s=c.dependentObservable(function(){(g=d?d(f,b):r.call(n,b,f))&&f._subscribable&&f._subscribable();return g},null,{disposeWhenNodeIsRemoved:b});g&&s.isActive()||(s=null)}var I;if(g){var D=s?function(a){return function(){return e(s()[a])}}:function(a){return g[a]},Q=function(){return c.utils.objectMap(s?s():g,e)};Q.get=function(a){return g[a]&&e(D(a))};Q.has=function(a){return a in g};m=p(g);c.utils.arrayForEach(m, function(d){var e=d.handler.init,m=d.handler.update,k=d.key;if(8===b.nodeType&&!c.virtualElements.allowedBindings[k])throw Error("The binding '"+k+"' cannot be used with virtual elements");"function"==typeof e&&c.dependencyDetection.ignore(function(){var c=e(b,D(k),Q,f.$data,f);if(c&&c.controlsDescendantBindings){if(I!==a)throw Error("Multiple bindings ("+I+" and "+k+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");I=k}}); "function"==typeof m&&c.dependentObservable(function(){m(b,D(k),Q,f.$data,f)},null,{disposeWhenNodeIsRemoved:b})})}return{shouldBindDescendants:I===a}}function s(a){return a&&a instanceof c.bindingContext?a:new c.bindingContext(a)}c.bindingHandlers={};var A={script:!0};c.getBindingHandler=function(a){return c.bindingHandlers[a]};c.bindingContext=function(b,d,e,f){var m=this,k="function"==typeof b&&!c.isObservable(b),g,l=c.dependentObservable(function(){var a=k?b():b,g=c.utils.unwrapObservable(a); d?(d._subscribable&&d._subscribable(),c.utils.extend(m,d),l&&(m._subscribable=l)):(m.$parents=[],m.$root=g,m.ko=c);m.$rawData=a;m.$data=g;e&&(m[e]=g);f&&f(m,d,g);return m.$data},null,{disposeWhen:function(){return g&&!c.utils.anyDomNodeIsAttachedToDocument(g)},disposeWhenNodeIsRemoved:!0});l.isActive()&&(m._subscribable=l,l.equalityComparer=null,g=[],l._addNode=function(b){g.push(b);c.utils.domNodeDisposal.addDisposeCallback(b,function(b){c.utils.arrayRemoveItem(g,b);g.length||(l.dispose(),m._subscribable= l=a)})})};c.bindingContext.prototype.createChildContext=function(a,b,d){return new c.bindingContext(a,this,b,function(a,b){a.$parentContext=b;a.$parent=b.$data;a.$parents=(b.$parents||[]).slice(0);a.$parents.unshift(a.$parent);d&&d(a)})};c.bindingContext.prototype.extend=function(a){return new c.bindingContext(this._subscribable||this.$data,this,null,function(b,d){b.$rawData=d.$rawData;c.utils.extend(b,"function"==typeof a?a():a)})};var C=c.utils.domData.nextKey(),F=c.utils.domData.nextKey();c.storedBindingContextForNode= function(a,b){if(2==arguments.length)c.utils.domData.set(a,F,b),b._subscribable&&b._subscribable._addNode(a);else return c.utils.domData.get(a,F)};c.applyBindingAccessorsToNode=function(a,b,d){1===a.nodeType&&c.virtualElements.normaliseVirtualElementDomStructure(a);return u(a,b,s(d),!0)};c.applyBindingsToNode=function(a,b,d){d=s(d);return c.applyBindingAccessorsToNode(a,m(b,d,a),d)};c.applyBindingsToDescendants=function(a,b){1!==b.nodeType&&8!==b.nodeType||k(s(a),b,!0)};c.applyBindings=function(a, c){!f&&b.jQuery&&(f=b.jQuery);if(c&&1!==c.nodeType&&8!==c.nodeType)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");c=c||b.document.body;n(s(a),c,!0)};c.contextFor=function(b){switch(b.nodeType){case 1:case 8:var d=c.storedBindingContextForNode(b);if(d)return d;if(b.parentNode)return c.contextFor(b.parentNode)}return a};c.dataFor=function(b){return(b=c.contextFor(b))?b.$data:a};c.exportSymbol("bindingHandlers",c.bindingHandlers);c.exportSymbol("applyBindings", c.applyBindings);c.exportSymbol("applyBindingsToDescendants",c.applyBindingsToDescendants);c.exportSymbol("applyBindingAccessorsToNode",c.applyBindingAccessorsToNode);c.exportSymbol("applyBindingsToNode",c.applyBindingsToNode);c.exportSymbol("contextFor",c.contextFor);c.exportSymbol("dataFor",c.dataFor)})();var F={"class":"className","for":"htmlFor"};c.bindingHandlers.attr={update:function(b,d,e){d=c.utils.unwrapObservable(d())||{};c.utils.objectForEach(d,function(d,e){e=c.utils.unwrapObservable(e); var f=!1===e||null===e||e===a;f&&b.removeAttribute(d);8>=c.utils.ieVersion&&d in F?(d=F[d],f?b.removeAttribute(d):b[d]=e):f||b.setAttribute(d,e.toString());"name"===d&&c.utils.setElementName(b,f?"":e.toString())})}};(function(){c.bindingHandlers.checked={after:["value","attr"],init:function(b,d,e){function f(){return e.has("checkedValue")?c.utils.unwrapObservable(e.get("checkedValue")):b.value}function g(){var a=b.checked,k=u?f():a;if(!c.computedContext.isInitial()&&(!n||a)){var l=c.dependencyDetection.ignore(d); p?s!==k?(a&&(c.utils.addOrRemoveItem(l,k,!0),c.utils.addOrRemoveItem(l,s,!1)),s=k):c.utils.addOrRemoveItem(l,k,a):c.expressionRewriting.writeValueToProperty(l,e,"checked",k,!0)}}function k(){var a=c.utils.unwrapObservable(d());b.checked=p?0<=c.utils.arrayIndexOf(a,f()):l?a:f()===a}var l="checkbox"==b.type,n="radio"==b.type;if(l||n){var p=l&&c.utils.unwrapObservable(d())instanceof Array,s=p?f():a,u=n||p;n&&!b.name&&c.bindingHandlers.uniqueName.init(b,function(){return!0});c.computed(g,null,{disposeWhenNodeIsRemoved:b}); c.utils.registerEventHandler(b,"click",g);c.computed(k,null,{disposeWhenNodeIsRemoved:b})}}};c.expressionRewriting.twoWayBindings.checked=!0;c.bindingHandlers.checkedValue={update:function(a,b){a.value=c.utils.unwrapObservable(b())}}})();c.bindingHandlers.css={update:function(a,b){var d=c.utils.unwrapObservable(b());"object"==typeof d?c.utils.objectForEach(d,function(b,d){d=c.utils.unwrapObservable(d);c.utils.toggleDomNodeCssClass(a,b,d)}):(d=String(d||""),c.utils.toggleDomNodeCssClass(a,a.__ko__cssValue, !1),a.__ko__cssValue=d,c.utils.toggleDomNodeCssClass(a,d,!0))}};c.bindingHandlers.enable={update:function(a,b){var d=c.utils.unwrapObservable(b());d&&a.disabled?a.removeAttribute("disabled"):d||a.disabled||(a.disabled=!0)}};c.bindingHandlers.disable={update:function(a,b){c.bindingHandlers.enable.update(a,function(){return!c.utils.unwrapObservable(b())})}};c.bindingHandlers.event={init:function(a,b,d,e,f){var k=b()||{};c.utils.objectForEach(k,function(k){"string"==typeof k&&c.utils.registerEventHandler(a, k,function(a){var g,l=b()[k];if(l){try{var n=c.utils.makeArray(arguments);e=f.$data;n.unshift(e);g=l.apply(e,n)}finally{!0!==g&&(a.preventDefault?a.preventDefault():a.returnValue=!1)}!1===d.get(k+"Bubble")&&(a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation())}})})}};c.bindingHandlers.foreach={makeTemplateValueAccessor:function(a){return function(){var b=a(),d=c.utils.peekObservable(b);if(!d||"number"==typeof d.length)return{foreach:b,templateEngine:c.nativeTemplateEngine.instance};c.utils.unwrapObservable(b); return{foreach:d.data,as:d.as,includeDestroyed:d.includeDestroyed,afterAdd:d.afterAdd,beforeRemove:d.beforeRemove,afterRender:d.afterRender,beforeMove:d.beforeMove,afterMove:d.afterMove,templateEngine:c.nativeTemplateEngine.instance}}},init:function(a,b,d,e,f){return c.bindingHandlers.template.init(a,c.bindingHandlers.foreach.makeTemplateValueAccessor(b))},update:function(a,b,d,e,f){return c.bindingHandlers.template.update(a,c.bindingHandlers.foreach.makeTemplateValueAccessor(b),d,e,f)}};c.expressionRewriting.bindingRewriteValidators.foreach= !1;c.virtualElements.allowedBindings.foreach=!0;c.bindingHandlers.hasfocus={init:function(a,b,d){var e=function(e){a.__ko_hasfocusUpdating=!0;var f=a.ownerDocument;if("activeElement"in f){var m;try{m=f.activeElement}catch(g){m=f.body}e=m===a}f=b();c.expressionRewriting.writeValueToProperty(f,d,"hasfocus",e,!0);a.__ko_hasfocusLastValue=e;a.__ko_hasfocusUpdating=!1},f=e.bind(null,!0),e=e.bind(null,!1);c.utils.registerEventHandler(a,"focus",f);c.utils.registerEventHandler(a,"focusin",f);c.utils.registerEventHandler(a, "blur",e);c.utils.registerEventHandler(a,"focusout",e)},update:function(a,b){var d=!!c.utils.unwrapObservable(b());a.__ko_hasfocusUpdating||a.__ko_hasfocusLastValue===d||(d?a.focus():a.blur(),c.dependencyDetection.ignore(c.utils.triggerEvent,null,[a,d?"focusin":"focusout"]))}};c.expressionRewriting.twoWayBindings.hasfocus=!0;c.bindingHandlers.hasFocus=c.bindingHandlers.hasfocus;c.expressionRewriting.twoWayBindings.hasFocus=!0;c.bindingHandlers.html={init:function(){return{controlsDescendantBindings:!0}}, update:function(a,b){c.utils.setHtml(a,b())}};u("if");u("ifnot",!1,!0);u("with",!0,!1,function(a,b){return a.createChildContext(b)});var H={};c.bindingHandlers.options={init:function(a){if("select"!==c.utils.tagNameLower(a))throw Error("options binding applies only to SELECT elements");for(;0<a.length;)a.remove(0);return{controlsDescendantBindings:!0}},update:function(b,d,e){function f(){return c.utils.arrayFilter(b.options,function(a){return a.selected})}function g(a,b,c){var d=typeof b;return"function"== d?b(a):"string"==d?a[b]:c}function k(a,d){if(u.length){var e=0<=c.utils.arrayIndexOf(u,c.selectExtensions.readValue(d[0]));c.utils.setOptionNodeSelectionState(d[0],e);A&&!e&&c.dependencyDetection.ignore(c.utils.triggerEvent,null,[b,"change"])}}var l=0!=b.length&&b.multiple?b.scrollTop:null,n=c.utils.unwrapObservable(d()),p=e.get("optionsIncludeDestroyed");d={};var s,u;u=b.multiple?c.utils.arrayMap(f(),c.selectExtensions.readValue):0<=b.selectedIndex?[c.selectExtensions.readValue(b.options[b.selectedIndex])]: [];n&&("undefined"==typeof n.length&&(n=[n]),s=c.utils.arrayFilter(n,function(b){return p||b===a||null===b||!c.utils.unwrapObservable(b._destroy)}),e.has("optionsCaption")&&(n=c.utils.unwrapObservable(e.get("optionsCaption")),null!==n&&n!==a&&s.unshift(H)));var A=!1;d.beforeRemove=function(a){b.removeChild(a)};n=k;e.has("optionsAfterRender")&&(n=function(b,d){k(b,d);c.dependencyDetection.ignore(e.get("optionsAfterRender"),null,[d[0],b!==H?b:a])});c.utils.setDomNodeChildrenFromArrayMapping(b,s,function(d, f,m){m.length&&(u=m[0].selected?[c.selectExtensions.readValue(m[0])]:[],A=!0);f=b.ownerDocument.createElement("option");d===H?(c.utils.setTextContent(f,e.get("optionsCaption")),c.selectExtensions.writeValue(f,a)):(m=g(d,e.get("optionsValue"),d),c.selectExtensions.writeValue(f,c.utils.unwrapObservable(m)),d=g(d,e.get("optionsText"),m),c.utils.setTextContent(f,d));return[f]},d,n);c.dependencyDetection.ignore(function(){e.get("valueAllowUnset")&&e.has("value")?c.selectExtensions.writeValue(b,c.utils.unwrapObservable(e.get("value")), !0):(b.multiple?u.length&&f().length<u.length:u.length&&0<=b.selectedIndex?c.selectExtensions.readValue(b.options[b.selectedIndex])!==u[0]:u.length||0<=b.selectedIndex)&&c.utils.triggerEvent(b,"change")});c.utils.ensureSelectElementIsRenderedCorrectly(b);l&&20<Math.abs(l-b.scrollTop)&&(b.scrollTop=l)}};c.bindingHandlers.options.optionValueDomDataKey=c.utils.domData.nextKey();c.bindingHandlers.selectedOptions={after:["options","foreach"],init:function(a,b,d){c.utils.registerEventHandler(a,"change", function(){var e=b(),f=[];c.utils.arrayForEach(a.getElementsByTagName("option"),function(a){a.selected&&f.push(c.selectExtensions.readValue(a))});c.expressionRewriting.writeValueToProperty(e,d,"selectedOptions",f)})},update:function(a,b){if("select"!=c.utils.tagNameLower(a))throw Error("values binding applies only to SELECT elements");var d=c.utils.unwrapObservable(b());d&&"number"==typeof d.length&&c.utils.arrayForEach(a.getElementsByTagName("option"),function(a){var b=0<=c.utils.arrayIndexOf(d, c.selectExtensions.readValue(a));c.utils.setOptionNodeSelectionState(a,b)})}};c.expressionRewriting.twoWayBindings.selectedOptions=!0;c.bindingHandlers.style={update:function(a,b){var d=c.utils.unwrapObservable(b()||{});c.utils.objectForEach(d,function(b,d){d=c.utils.unwrapObservable(d);a.style[b]=d||""})}};c.bindingHandlers.submit={init:function(a,b,d,e,f){if("function"!=typeof b())throw Error("The value for a submit binding must be a function");c.utils.registerEventHandler(a,"submit",function(c){var d, e=b();try{d=e.call(f.$data,a)}finally{!0!==d&&(c.preventDefault?c.preventDefault():c.returnValue=!1)}})}};c.bindingHandlers.text={init:function(){return{controlsDescendantBindings:!0}},update:function(a,b){c.utils.setTextContent(a,b())}};c.virtualElements.allowedBindings.text=!0;c.bindingHandlers.uniqueName={init:function(a,b){if(b()){var d="ko_unique_"+ ++c.bindingHandlers.uniqueName.currentIndex;c.utils.setElementName(a,d)}}};c.bindingHandlers.uniqueName.currentIndex=0;c.bindingHandlers.value={after:["options", "foreach"],init:function(a,b,d){var e=["change"],f=d.get("valueUpdate"),g=!1;f&&("string"==typeof f&&(f=[f]),c.utils.arrayPushAll(e,f),e=c.utils.arrayGetDistinctValues(e));var l=function(){g=!1;var e=b(),f=c.selectExtensions.readValue(a);c.expressionRewriting.writeValueToProperty(e,d,"value",f)};!c.utils.ieVersion||"input"!=a.tagName.toLowerCase()||"text"!=a.type||"off"==a.autocomplete||a.form&&"off"==a.form.autocomplete||-1!=c.utils.arrayIndexOf(e,"propertychange")||(c.utils.registerEventHandler(a, "propertychange",function(){g=!0}),c.utils.registerEventHandler(a,"focus",function(){g=!1}),c.utils.registerEventHandler(a,"blur",function(){g&&l()}));c.utils.arrayForEach(e,function(b){var d=l;c.utils.stringStartsWith(b,"after")&&(d=function(){setTimeout(l,0)},b=b.substring(5));c.utils.registerEventHandler(a,b,d)})},update:function(a,b,d){var e=c.utils.unwrapObservable(b());b=c.selectExtensions.readValue(a);if(e!==b)if("select"===c.utils.tagNameLower(a)){var f=d.get("valueAllowUnset");d=function(){c.selectExtensions.writeValue(a, e,f)};d();f||e===c.selectExtensions.readValue(a)?setTimeout(d,0):c.dependencyDetection.ignore(c.utils.triggerEvent,null,[a,"change"])}else c.selectExtensions.writeValue(a,e)}};c.expressionRewriting.twoWayBindings.value=!0;c.bindingHandlers.visible={update:function(a,b){var d=c.utils.unwrapObservable(b()),e="none"!=a.style.display;d&&!e?a.style.display="":!d&&e&&(a.style.display="none")}};(function(a){c.bindingHandlers[a]={init:function(b,d,e,f,g){return c.bindingHandlers.event.init.call(this,b,function(){var b= {};b[a]=d();return b},e,f,g)}}})("click");c.templateEngine=function(){};c.templateEngine.prototype.renderTemplateSource=function(a,b,c){throw Error("Override renderTemplateSource");};c.templateEngine.prototype.createJavaScriptEvaluatorBlock=function(a){throw Error("Override createJavaScriptEvaluatorBlock");};c.templateEngine.prototype.makeTemplateSource=function(a,b){if("string"==typeof a){b=b||e;var d=b.getElementById(a);if(!d)throw Error("Cannot find template with ID "+a);return new c.templateSources.domElement(d)}if(1== a.nodeType||8==a.nodeType)return new c.templateSources.anonymousTemplate(a);throw Error("Unknown template type: "+a);};c.templateEngine.prototype.renderTemplate=function(a,b,c,d){a=this.makeTemplateSource(a,d);return this.renderTemplateSource(a,b,c)};c.templateEngine.prototype.isTemplateRewritten=function(a,b){return!1===this.allowTemplateRewriting?!0:this.makeTemplateSource(a,b).data("isRewritten")};c.templateEngine.prototype.rewriteTemplate=function(a,b,c){a=this.makeTemplateSource(a,c);b=b(a.text()); a.text(b);a.data("isRewritten",!0)};c.exportSymbol("templateEngine",c.templateEngine);c.templateRewriting=function(){function a(b,d,e,f){b=c.expressionRewriting.parseObjectLiteral(b);for(var g=c.expressionRewriting.bindingRewriteValidators,l=0;l<b.length;l++){var n=b[l].key;if(g.hasOwnProperty(n)){var p=g[n];if("function"===typeof p){if(n=p(b[l].value))throw Error(n);}else if(!p)throw Error("This template engine does not support the '"+n+"' binding within its templates");}}e="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+ c.expressionRewriting.preProcessBindings(b,{valueAccessors:!0})+" } })()},'"+e.toLowerCase()+"')";return f.createJavaScriptEvaluatorBlock(e)+d}var b=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,d=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g;return{ensureTemplateIsRewritten:function(a,b,d){b.isTemplateRewritten(a,d)||b.rewriteTemplate(a,function(a){return c.templateRewriting.memoizeBindingAttributeSyntax(a,b)},d)},memoizeBindingAttributeSyntax:function(c, e){return c.replace(b,function(b,c,d,f,g){return a(g,c,d,e)}).replace(d,function(b,c){return a(c,"\x3c!-- ko --\x3e","#comment",e)})},applyMemoizedBindingsToNextSibling:function(a,b){return c.memoization.memoize(function(d,e){var f=d.nextSibling;f&&f.nodeName.toLowerCase()===b&&c.applyBindingAccessorsToNode(f,a,e)})}}}();c.exportSymbol("__tr_ambtns",c.templateRewriting.applyMemoizedBindingsToNextSibling);(function(){c.templateSources={};c.templateSources.domElement=function(a){this.domElement=a}; c.templateSources.domElement.prototype.text=function(){var a=c.utils.tagNameLower(this.domElement),a="script"===a?"text":"textarea"===a?"value":"innerHTML";if(0==arguments.length)return this.domElement[a];var b=arguments[0];"innerHTML"===a?c.utils.setHtml(this.domElement,b):this.domElement[a]=b};var b=c.utils.domData.nextKey()+"_";c.templateSources.domElement.prototype.data=function(a){if(1===arguments.length)return c.utils.domData.get(this.domElement,b+a);c.utils.domData.set(this.domElement,b+a, arguments[1])};var d=c.utils.domData.nextKey();c.templateSources.anonymousTemplate=function(a){this.domElement=a};c.templateSources.anonymousTemplate.prototype=new c.templateSources.domElement;c.templateSources.anonymousTemplate.prototype.constructor=c.templateSources.anonymousTemplate;c.templateSources.anonymousTemplate.prototype.text=function(){if(0==arguments.length){var b=c.utils.domData.get(this.domElement,d)||{};b.textData===a&&b.containerData&&(b.textData=b.containerData.innerHTML);return b.textData}c.utils.domData.set(this.domElement, d,{textData:arguments[0]})};c.templateSources.domElement.prototype.nodes=function(){if(0==arguments.length)return(c.utils.domData.get(this.domElement,d)||{}).containerData;c.utils.domData.set(this.domElement,d,{containerData:arguments[0]})};c.exportSymbol("templateSources",c.templateSources);c.exportSymbol("templateSources.domElement",c.templateSources.domElement);c.exportSymbol("templateSources.anonymousTemplate",c.templateSources.anonymousTemplate)})();(function(){function b(a,d,e){var f;for(d= c.virtualElements.nextSibling(d);a&&(f=a)!==d;)a=c.virtualElements.nextSibling(f),e(f,a)}function d(a,e){if(a.length){var f=a[0],g=a[a.length-1],m=f.parentNode,k=c.bindingProvider.instance,l=k.preprocessNode;if(l){b(f,g,function(a,b){var c=a.previousSibling,d=l.call(k,a);d&&(a===f&&(f=d[0]||b),a===g&&(g=d[d.length-1]||c))});a.length=0;if(!f)return;f===g?a.push(f):(a.push(f,g),c.utils.fixUpContinuousNodeArray(a,m))}b(f,g,function(a){1!==a.nodeType&&8!==a.nodeType||c.applyBindings(e,a)});b(f,g,function(a){1!== a.nodeType&&8!==a.nodeType||c.memoization.unmemoizeDomNodeAndDescendants(a,[e])});c.utils.fixUpContinuousNodeArray(a,m)}}function e(a){return a.nodeType?a:0<a.length?a[0]:null}function f(a,b,m,k,l){l=l||{};var n=a&&e(a),n=n&&n.ownerDocument,p=l.templateEngine||g;c.templateRewriting.ensureTemplateIsRewritten(m,p,n);m=p.renderTemplate(m,k,l,n);if("number"!=typeof m.length||0<m.length&&"number"!=typeof m[0].nodeType)throw Error("Template engine must return an array of DOM nodes");n=!1;switch(b){case "replaceChildren":c.virtualElements.setDomNodeChildren(a, m);n=!0;break;case "replaceNode":c.utils.replaceDomNodes(a,m);n=!0;break;case "ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+b);}n&&(d(m,k),l.afterRender&&c.dependencyDetection.ignore(l.afterRender,null,[m,k.$data]));return m}var g;c.setTemplateEngine=function(b){if(b!=a&&!(b instanceof c.templateEngine))throw Error("templateEngine must inherit from ko.templateEngine");g=b};c.renderTemplate=function(b,d,k,l,n){k=k||{};if((k.templateEngine||g)==a)throw Error("Set a template engine before calling renderTemplate"); n=n||"replaceChildren";if(l){var p=e(l);return c.dependentObservable(function(){var a=d&&d instanceof c.bindingContext?d:new c.bindingContext(c.utils.unwrapObservable(d)),g=c.isObservable(b)?b():"function"==typeof b?b(a.$data,a):b,a=f(l,n,g,a,k);"replaceNode"==n&&(l=a,p=e(l))},null,{disposeWhen:function(){return!p||!c.utils.domNodeIsAttachedToDocument(p)},disposeWhenNodeIsRemoved:p&&"replaceNode"==n?p.parentNode:p})}return c.memoization.memoize(function(a){c.renderTemplate(b,d,k,a,"replaceNode")})}; c.renderTemplateForEach=function(b,e,g,k,l){var n,p=function(a,c){n=l.createChildContext(a,g.as,function(a){a.$index=c});var d="function"==typeof b?b(a,n):b;return f(null,"ignoreTargetNode",d,n,g)},s=function(a,b,c){d(b,n);g.afterRender&&g.afterRender(b,a)};return c.dependentObservable(function(){var b=c.utils.unwrapObservable(e)||[];"undefined"==typeof b.length&&(b=[b]);b=c.utils.arrayFilter(b,function(b){return g.includeDestroyed||b===a||null===b||!c.utils.unwrapObservable(b._destroy)});c.dependencyDetection.ignore(c.utils.setDomNodeChildrenFromArrayMapping, null,[k,b,p,g,s])},null,{disposeWhenNodeIsRemoved:k})};var k=c.utils.domData.nextKey();c.bindingHandlers.template={init:function(a,b){var d=c.utils.unwrapObservable(b());"string"==typeof d||d.name?c.virtualElements.emptyNode(a):(d=c.virtualElements.childNodes(a),d=c.utils.moveCleanedNodesToContainerElement(d),(new c.templateSources.anonymousTemplate(a)).nodes(d));return{controlsDescendantBindings:!0}},update:function(b,d,e,f,g){var m=d(),l;d=c.utils.unwrapObservable(m);e=!0;f=null;"string"==typeof d? d={}:(m=d.name,"if"in d&&(e=c.utils.unwrapObservable(d["if"])),e&&"ifnot"in d&&(e=!c.utils.unwrapObservable(d.ifnot)),l=c.utils.unwrapObservable(d.data));"foreach"in d?f=c.renderTemplateForEach(m||b,e&&d.foreach||[],d,b,g):e?(g="data"in d?g.createChildContext(l,d.as):g,f=c.renderTemplate(m||b,g,d,b)):c.virtualElements.emptyNode(b);g=f;(l=c.utils.domData.get(b,k))&&"function"==typeof l.dispose&&l.dispose();c.utils.domData.set(b,k,g&&g.isActive()?g:a)}};c.expressionRewriting.bindingRewriteValidators.template= function(a){a=c.expressionRewriting.parseObjectLiteral(a);return 1==a.length&&a[0].unknown||c.expressionRewriting.keyValueArrayContainsKey(a,"name")?null:"This template engine does not support anonymous templates nested within its templates"};c.virtualElements.allowedBindings.template=!0})();c.exportSymbol("setTemplateEngine",c.setTemplateEngine);c.exportSymbol("renderTemplate",c.renderTemplate);c.utils.findMovesInArrayComparison=function(a,b,c){if(a.length&&b.length){var d,e,f,g,l;for(d=e=0;(!c|| d<c)&&(g=a[e]);++e){for(f=0;l=b[f];++f)if(g.value===l.value){g.moved=l.index;l.moved=g.index;b.splice(f,1);d=f=0;break}d+=f}}};c.utils.compareArrays=function(){function a(b,d,e,f,g){var l=Math.min,n=Math.max,p=[],s,u=b.length,r,A=d.length,C=A-u||1,F=u+A+1,H,t,v;for(s=0;s<=u;s++)for(t=H,p.push(H=[]),v=l(A,s+C),r=n(0,s-1);r<=v;r++)H[r]=r?s?b[s-1]===d[r-1]?t[r-1]:l(t[r]||F,H[r-1]||F)+1:r+1:s+1;l=[];n=[];C=[];s=u;for(r=A;s||r;)A=p[s][r]-1,r&&A===p[s][r-1]?n.push(l[l.length]={status:e,value:d[--r],index:r}): s&&A===p[s-1][r]?C.push(l[l.length]={status:f,value:b[--s],index:s}):(--r,--s,g.sparse||l.push({status:"retained",value:d[r]}));c.utils.findMovesInArrayComparison(n,C,10*u);return l.reverse()}return function(b,c,d){d="boolean"===typeof d?{dontLimitMoves:d}:d||{};b=b||[];c=c||[];return b.length<=c.length?a(b,c,"added","deleted",d):a(c,b,"deleted","added",d)}}();c.exportSymbol("utils.compareArrays",c.utils.compareArrays);(function(){function b(d,e,f,g,l){var n=[],p=c.dependentObservable(function(){var a= e(f,l,c.utils.fixUpContinuousNodeArray(n,d))||[];0<n.length&&(c.utils.replaceDomNodes(n,a),g&&c.dependencyDetection.ignore(g,null,[f,a,l]));n.length=0;c.utils.arrayPushAll(n,a)},null,{disposeWhenNodeIsRemoved:d,disposeWhen:function(){return!c.utils.anyDomNodeIsAttachedToDocument(n)}});return{mappedNodes:n,dependentObservable:p.isActive()?p:a}}var d=c.utils.domData.nextKey();c.utils.setDomNodeChildrenFromArrayMapping=function(e,f,g,k,l){function n(a,b){E=u[b];t!==b&&(J[a]=E);E.indexObservable(t++); c.utils.fixUpContinuousNodeArray(E.mappedNodes,e);F.push(E);w.push(E)}function p(a,b){if(a)for(var d=0,e=b.length;d<e;d++)b[d]&&c.utils.arrayForEach(b[d].mappedNodes,function(c){a(c,d,b[d].arrayEntry)})}f=f||[];k=k||{};var s=c.utils.domData.get(e,d)===a,u=c.utils.domData.get(e,d)||[],A=c.utils.arrayMap(u,function(a){return a.arrayEntry}),C=c.utils.compareArrays(A,f,k.dontLimitMoves),F=[],H=0,t=0,v=[],w=[];f=[];for(var J=[],A=[],E,y=0,z,M;z=C[y];y++)switch(M=z.moved,z.status){case "deleted":M===a&& (E=u[H],E.dependentObservable&&E.dependentObservable.dispose(),v.push.apply(v,c.utils.fixUpContinuousNodeArray(E.mappedNodes,e)),k.beforeRemove&&(f[y]=E,w.push(E)));H++;break;case "retained":n(y,H++);break;case "added":M!==a?n(y,M):(E={arrayEntry:z.value,indexObservable:c.observable(t++)},F.push(E),w.push(E),s||(A[y]=E))}p(k.beforeMove,J);c.utils.arrayForEach(v,k.beforeRemove?c.cleanNode:c.removeNode);for(var y=0,s=c.virtualElements.firstChild(e),L;E=w[y];y++){E.mappedNodes||c.utils.extend(E,b(e, g,E.arrayEntry,l,E.indexObservable));for(H=0;C=E.mappedNodes[H];s=C.nextSibling,L=C,H++)C!==s&&c.virtualElements.insertAfter(e,C,L);!E.initialized&&l&&(l(E.arrayEntry,E.mappedNodes,E.indexObservable),E.initialized=!0)}p(k.beforeRemove,f);p(k.afterMove,J);p(k.afterAdd,A);c.utils.domData.set(e,d,F)}})();c.exportSymbol("utils.setDomNodeChildrenFromArrayMapping",c.utils.setDomNodeChildrenFromArrayMapping);c.nativeTemplateEngine=function(){this.allowTemplateRewriting=!1};c.nativeTemplateEngine.prototype= new c.templateEngine;c.nativeTemplateEngine.prototype.constructor=c.nativeTemplateEngine;c.nativeTemplateEngine.prototype.renderTemplateSource=function(a,b,d){if(b=(9>c.utils.ieVersion?0:a.nodes)?a.nodes():null)return c.utils.makeArray(b.cloneNode(!0).childNodes);a=a.text();return c.utils.parseHtmlFragment(a)};c.nativeTemplateEngine.instance=new c.nativeTemplateEngine;c.setTemplateEngine(c.nativeTemplateEngine.instance);c.exportSymbol("nativeTemplateEngine",c.nativeTemplateEngine);(function(){c.jqueryTmplTemplateEngine= function(){var a=this.jQueryTmplVersion=function(){if(!f||!f.tmpl)return 0;try{if(0<=f.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(a){}return 1}();this.renderTemplateSource=function(b,c,d){d=d||{};if(2>a)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var g=b.data("precompiled");g||(g=b.text()||"",g=f.template(null,"{{ko_with $item.koBindingContext}}"+g+"{{/ko_with}}"),b.data("precompiled",g));b=[c.$data];c=f.extend({koBindingContext:c}, d.templateOptions);c=f.tmpl(g,b,c);c.appendTo(e.createElement("div"));f.fragments={};return c};this.createJavaScriptEvaluatorBlock=function(a){return"{{ko_code ((function() { return "+a+" })()) }}"};this.addTemplate=function(a,b){e.write("<script type='text/html' id='"+a+"'>"+b+"\x3c/script>")};0<a&&(f.tmpl.tag.ko_code={open:"__.push($1 || '');"},f.tmpl.tag.ko_with={open:"with($1) {",close:"} "})};c.jqueryTmplTemplateEngine.prototype=new c.templateEngine;c.jqueryTmplTemplateEngine.prototype.constructor= c.jqueryTmplTemplateEngine;var a=new c.jqueryTmplTemplateEngine;0<a.jQueryTmplVersion&&c.setTemplateEngine(a);c.exportSymbol("jqueryTmplTemplateEngine",c.jqueryTmplTemplateEngine)})()})})()})();(function(a){var b={className:"autosizejs",id:"autosizejs",append:"\n",callback:!1,resizeDelay:10,placeholder:!0},e="fontFamily fontSize fontWeight fontStyle letterSpacing textTransform wordSpacing textIndent".split(" "),d,f=a('<textarea tabindex="-1" style="position:absolute; top:-999px; left:0; right:auto; bottom:auto; border:0; padding: 0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; word-wrap:break-word; height:0 !important; min-height:0 !important; overflow:hidden; transition:none; -webkit-transition:none; -moz-transition:none;"/>').data("autosize", !0)[0];f.style.lineHeight="99px";"99px"===a(f).css("lineHeight")&&e.push("lineHeight");f.style.lineHeight="";a.fn.autosize=function(g){if(!this.length)return this;g=a.extend({},b,g||{});f.parentNode!==E.body&&a(E.body).append(f);return this.each(function(){function b(){var d,e=v.getComputedStyle?v.getComputedStyle(u,null):!1;if(e){d=u.getBoundingClientRect().width;if(0===d||"number"!==typeof d)d=parseInt(e.width,10);a.each(["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],function(a, b){d-=parseInt(e[b],10)})}else d=c.width();f.style.width=Math.max(d,0)+"px"}function n(){var m={};d=u;f.className=g.className;f.id=g.id;C=parseInt(c.css("maxHeight"),10);a.each(e,function(a,b){m[b]=c.css(b)});a(f).css(m).attr("wrap",c.attr("wrap"));b();if(v.chrome){var k=u.style.width;u.style.width="0px";u.style.width=k}}function s(){var a,e;d!==u?n():b();f.value=!u.value&&g.placeholder?(c.attr("placeholder")||"")+g.append:u.value+g.append;f.style.overflowY=u.style.overflowY;e=parseInt(u.style.height, 10);f.scrollTop=0;f.scrollTop=9E4;a=f.scrollTop;C&&a>C?(u.style.overflowY="scroll",a=C):(u.style.overflowY="hidden",a<A&&(a=A));a+=F;e!==a&&(u.style.height=a+"px");H&&g.callback.call(u,u)}function p(){clearTimeout(t);t=setTimeout(function(){var a=c.width();a!==Q&&(Q=a,s())},parseInt(g.resizeDelay,10))}var u=this,c=a(u),C,A,F=0,H=a.isFunction(g.callback),r={height:u.style.height,overflow:u.style.overflow,overflowY:u.style.overflowY,wordWrap:u.style.wordWrap,resize:u.style.resize},t,Q=c.width(),m=c.css("resize"); if(!c.data("autosize")){c.data("autosize",!0);if("border-box"===c.css("box-sizing")||"border-box"===c.css("-moz-box-sizing")||"border-box"===c.css("-webkit-box-sizing"))F=c.outerHeight()-c.height();A=Math.max(parseInt(c.css("minHeight"),10)-F||0,c.height());c.css({overflow:"hidden",overflowY:"hidden",wordWrap:"break-word"});"vertical"===m?c.css("resize","none"):"both"===m&&c.css("resize","horizontal");if("onpropertychange"in u)if("oninput"in u)c.on("input.autosize keyup.autosize",s);else c.on("propertychange.autosize", function(){"value"===event.propertyName&&s()});else c.on("input.autosize",s);if(!1!==g.resizeDelay)a(v).on("resize.autosize",p);c.on("autosize.resize",s);c.on("autosize.resizeIncludeStyle",function(){d=null;s()});c.on("autosize.destroy",function(){d=null;clearTimeout(t);a(v).off("resize",p);c.off("autosize").off(".autosize").css(r).removeData("autosize")});s()}})}})(v.jQuery||v.$);(function(a){var b={init:function(b){return this.each(function(){var d=a(this),f=d.data("dotload");"undefined"==typeof f? (f=a.extend({},{speed:300,size:"default",html:'<div class="dotload hide"><div class="one"></div><div class="two"></div><div class="three"></div></div>'},b),d.data("dotload",f)):f=a.extend({},f,b);var g=a(f.html);g.appendTo(d);g.addClass(f.size)})},show:function(){return this.each(function(){function b(){0===l?(f.addClass("one"),l++):1===l?(f.removeClass("one").addClass("two"),l++):2===l?(f.removeClass("two").addClass("three"),l++):3===l&&(f.removeClass("three"),l=0);!1==f.hasClass("hide")&&setTimeout(b, g.speed)}var d=a(this),f=d.find(".dotload"),g=d.data("dotload"),l=0;f.removeClass("hide");b()})},hide:function(){return this.each(function(){a(this).find(".dotload").addClass("hide")})},destroy:function(b){return a(this).each(function(){var b=a(this);a(".dotload",this).addClass("hide");setTimeout(function(){b.find(".dotload").remove()},200);b.removeData("dotLoad")})}};a.fn.dotLoad=function(){var e=arguments[0];if(b[e])e=b[e],arguments=Array.prototype.slice.call(arguments,1);else{if("object"!=typeof e&& e)return a.error("Method "+e+" does not exist on jQuery.dotLoad"),this;e=b.init}return e.apply(this,arguments)}})(jQuery);(function(a){var b=function(a,b){this.element=a;this.type=b};b.prototype={add:function(a){this.callback=a;this.element.addEventListener(this.type,this.callback,!1)},remove:function(){this.element.removeEventListener(this.type,this.callback,!1)}};var e=function(a){this.element=a;this.transitionEnd=this.whichTransitionEnd();this.event=new b(this.element,this.transitionEnd)};e.prototype= {whichTransitionEnd:function(){var a={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},b;for(b in a)if(this.element.style[b]!==w)return a[b]},bind:function(a){this.event.add(a)},unbind:function(){this.event.remove()}};var d={list:[],getPosition:function(a){if(Array.prototype.indexOf)return this.list.indexOf(a);for(var b=0,d=this.list.length;b<d;b++)if(this.list[b]===a)return b;return-1},insert:function(a){var b= this.getPosition(a);-1===b&&(this.list.push(a),this.list.push(new e(a)),b=this.getPosition(a));return this.list[b+1]}};a.transitionEnd=function(a){if(!a)throw"You need to pass an element as parameter!";return d.insert(a[0]||a)}})(v);(function(){return ko.bindingHandlers.elementPosition={init:function(a,b,e){var d,f,g,l,n;d=$(a);l=b();a=l.refreshOn;g=ko.unwrap(l.relativeTo);f=function(){var a,b,e,c;a=d;for(c=e=0;!a.length||!a.is(g);){if(!a.is(".jspPane")){b=a.position();if(!b)break;e+=b.left;c+=b.top}a= a.parent()}l.y&&(l.y(c),l.y.valueHasMutated());if(l.x)return l.x(e),l.x.valueHasMutated()};Y(0,f);$(v).on("resize, orientationchange",function(){return Y(1E3,f)});return n=a.subscribe(function(){return $.contains(E,d)?Y(0,f):n.dispose()})}}})();(function(){var a;a=!0;return ko.bindingHandlers.pageSwitch={init:function(b,e,d){b=$(b);e=e();e=ko.unwrap(e.dataAttr);e=$("*[data-"+e+"]");var f,g,l;l=[];f=0;for(g=e.length;f<g;f++)d=e[f],l.push(d);b.data("page-switch-pages",l);return a=!!transitionEnd(E.body).transitionEnd}, update:function(b,e,d){var f,g,l,n,s,p,u,c,C,A,F,H,r,t;g=$(b);e=e();p=ko.unwrap(e.className);b=g.data("page-switch-last-page");u=ko.unwrap(e.dataAttr);f=$("body");C=g.data("page-switch-pages");d=[];c=[];F=function(){var a,b,c;b=0;for(c=C.length;b<c;b++)a=C[b],a=$(a),a=a.data(u),g.removeClass(a);return g.addClass(p)};r=0;for(t=C.length;r<t;r++)e=C[r],l=$(e),l=l.data(u),l===b&&d.push(e),l===p&&c.push(e);n=$(d);s=$(c);A=function(){var a;f.addClass("transitioning");n.css({opacity:0,visibility:"hidden", height:"100%",overflow:"hidden"});F();s.css({opacity:1,visibility:"visible",height:"auto",overflow:"visible"});g.data("page-switch-last-page",p);if(a=s.find(".jspScrollable").data("jsp"))a.scrollToY(0,!1),a.reinitialise();f.scrollTop(0);return f.removeClass("page-transition")};if(a&&n.length){H=[];b=0;for(e=n.length;b<e;b++)d=n[b],d=transitionEnd(d),H.push(d),d.bind(function(){var a,b,c;b=0;for(c=H.length;b<c;b++)a=H[b],a.unbind();return A()});f.addClass("page-transition");return n.css("opacity", 0)}return A()}}})();(function(){var a;a=function(a,e){if(e)return a.removeClass("state-collapsed"),a.addClass("state-expanded");a.removeClass("state-expanded");return a.addClass("state-collapsed")};return ko.bindingHandlers.collapseExpand={init:function(b,e,d){b=$(b);e=ko.utils.unwrapObservable(e());return a(b,e)},update:function(b,e,d){var f,g;f=$(b);(g=ko.utils.unwrapObservable(e()))?f.find(".half").css("display","block"):f.find(".half").css("display","none");return Y(0,function(){return a(f,g)})}}})(); (function(){return ko.bindingHandlers.fadeTransition={init:function(a,b,e){b=b();e=ko.utils.unwrapObservable(b.visible);ko.utils.unwrapObservable(b.animate);return $(a).toggle(e)},update:function(a,b,e){var d;b=b();d=$(a);a=ko.utils.unwrapObservable(b.visible);b=ko.utils.unwrapObservable(b.animate);if(a)return d.show(),b?Y(10,function(){return d.removeClass("hide")}):d.removeClass("hide");d.addClass("hide");return d.hide()}}})();(function(){return ko.bindingHandlers.autosize={init:function(a,b,e){var d, f,g;d=$(a);"function"===typeof(g=b()).subscribe&&g.subscribe(function(){return Y(100,function(){return d.trigger("input.autosize")})});f=d.parent().height();d.css("height",f);return d.autosize({append:"\n",callback:function(){var a;if(d.val())return a=d.css("height"),d.parent().css("height",a);d.css("height",f);return d.parent().css("height",f)}})}}})();(function(){return ko.bindingHandlers.tooltip={update:function(a,b,e){var d;a=$(a);e=b();b=ko.utils.unwrapObservable(e.enabled);e=ko.utils.unwrapObservable(e.value); if(b)return a.data("tip",e);null!=(d=a.data("tip-element"))&&d.remove();return a.removeData("tip")}}})();(function(){return ko.bindingHandlers.dotLoad={init:function(a,b,e){var d;b=null!=(d=e().dotLoadSize)?d:"mini";return $(a).dotLoad({size:b})},update:function(a,b,e){a=$(a);return ko.utils.unwrapObservable(b())?a.dotLoad("show"):a.dotLoad("hide")}}})();(function(){return ko.bindingHandlers.voteButton={init:function(a,b,e){$(a);return $(a).dotLoad({size:"mini"})},update:function(a,b,e){var d;d=$(a); a=ko.utils.unwrapObservable(b());e=a.voting();b=a.voted();a.canVote()||e||b||d.addClass("disabled");e?d.dotLoad("show"):d.dotLoad("hide");e?(d.addClass("animate"),d.addClass("loading")):(Y(200,function(){return d.removeClass("loading")}),Y(600,function(){return d.removeClass("animate")}));return e||b?d.addClass("voted"):d.removeClass("voted")}}})();(function(){return ko.bindingHandlers.decoreInput={init:function(a,b,e){a=$(a);a.on("focus",function(){return $(this).parent().addClass("focus")});return a.on("blur", function(){return $(this).parent().removeClass("focus")})},update:function(a,b,e){a=$(a);b=ko.utils.unwrapObservable(b());void 0!==e().decoreValid&&((e=ko.utils.unwrapObservable(e().decoreValid))?a.parent().removeClass("error"):a.parent().addClass("error"));return 0<b.length?a.parent().addClass("typing"):a.parent().removeClass("typing")}}})();(function(){return ko.bindingHandlers.onFocus={init:function(a,b,e){a=$(a);a.on("focus",function(){return $(this).parent().addClass("focus")});return a.on("blur", function(){return $(this).parent().removeClass("focus")})}}})();(function(){return ko.bindingHandlers.svgchecked={init:function(a,b,e){var d,f;f=b();d=$(a);ko.utils.unwrapObservable(f)?$(".icon",d).addClass("checked"):$(".icon",d).removeClass("checked");d.on("click",function(){var a;a=$(".icon",d);a.toggleClass("checked");a=a.hasClass("checked");return f(a)});if(a=$(".haveFocus",d))return a.on("keydown",function(a){if(32===a.keyCode)return a=$(".icon",d),a.toggleClass("checked"),a=a.hasClass("checked"), f(a)})}}})();(function(){return ko.bindingHandlers.nl2br={update:function(a,b,e){var d;d=ko.utils.unwrapObservable(b());d=$("<div/>").text(d).html().replace(/\n/g,"<br />");return ko.bindingHandlers.html.update(a,function(){return d})}}})();(function(){return ko.bindingHandlers.mobileHelp={init:function(a,b,e){var d;d=$(a);b=ko.utils.unwrapObservable(b());$(a).on("click",function(){return d.addClass("hide")});if(!J.isAndroidStock())return d.data("wasShown",b),b?setTimeout(function(){return d.removeClass("hide")}, 300):d.addClass("hide")},update:function(a,b,e){var d;if(!J.isAndroidStock()&&(d=$(a),a=ko.utils.unwrapObservable(b()),b=d.data("wasShown"),a&&!b))return d.data("wasShown",!0),setTimeout(function(){return d.removeClass("hide")},300)}}})();(function(){return ko.bindingHandlers.noTouchFocused={update:function(a,b){var e,d;e=$(a);d=ko.utils.unwrapObservable(b());if(!Modernizr.touch&&d)return setTimeout(function(){return e.focus()},200)}}})();(function(){return ko.bindingHandlers.highlightedText={update:function(a, b,e){var d;a=$(a);d=b();b=ko.utils.unwrapObservable(d.text);return(e=ko.utils.unwrapObservable(d.highlightedText))?a.html(e):d.slice?(e=ko.utils.unwrapObservable(d.slice),a.text(b.slice(0,e))):a.text(b)}}})();(function(){return ko.bindingHandlers.shortFullCaptionsSwitcher={init:function(a,b){var e,d,f;d=b();f=$(a).height();e=function(){d()&&d(!1);if($(a).height()>f)return d(!0)};Y(0,e);return $(v).on("resize, orientationchange",e)}}})();(function(){return ko.bindingHandlers.stableVisible={update:function(a, b){var e;e=$(a);return ko.unwrap(b())?e.show():e.hide()}}})();(function(){return ko.extenders.maxLength=function(a,b){var e;e=ko.computed({read:a,write:function(d){var e,g;e=a();g="";d&&(g=d.substring(0,Math.min(d.length,b)));g!==e?a(g):d!==e&&a.notifySubscribers(g);return 0}}).extend({notify:"always"});e(a());return e}})();(function(a){function b(a,b,d,e,s){this._listener=b;this._isOnce=d;this.context=e;this._signal=a;this._priority=s||0}function e(a,b){if("function"!==typeof a)throw Error("listener is a required param of {fn}() and should be a Function.".replace("{fn}", b));}function d(){this._bindings=[];this._prevParams=null;var a=this;this.dispatch=function(){d.prototype.dispatch.apply(a,arguments)}}b.prototype={active:!0,params:null,execute:function(a){var b;this.active&&this._listener&&(a=this.params?this.params.concat(a):a,b=this._listener.apply(this.context,a),this._isOnce&&this.detach());return b},detach:function(){return this.isBound()?this._signal.remove(this._listener,this.context):null},isBound:function(){return!!this._signal&&!!this._listener},isOnce:function(){return this._isOnce}, getListener:function(){return this._listener},getSignal:function(){return this._signal},_destroy:function(){delete this._signal;delete this._listener;delete this.context},toString:function(){return"[SignalBinding isOnce:"+this._isOnce+", isBound:"+this.isBound()+", active:"+this.active+"]"}};d.prototype={VERSION:"1.0.0",memorize:!1,_shouldPropagate:!0,active:!0,_registerListener:function(a,d,e,n){var s=this._indexOfListener(a,e);if(-1!==s){if(a=this._bindings[s],a.isOnce()!==d)throw Error("You cannot add"+ (d?"":"Once")+"() then add"+(d?"Once":"")+"() the same listener without removing the relationship first.");}else a=new b(this,a,d,e,n),this._addBinding(a);this.memorize&&this._prevParams&&a.execute(this._prevParams);return a},_addBinding:function(a){var b=this._bindings.length;do--b;while(this._bindings[b]&&a._priority<=this._bindings[b]._priority);this._bindings.splice(b+1,0,a)},_indexOfListener:function(a,b){for(var d=this._bindings.length,e;d--;)if(e=this._bindings[d],e._listener===a&&e.context=== b)return d;return-1},has:function(a,b){return-1!==this._indexOfListener(a,b)},add:function(a,b,d){e(a,"add");return this._registerListener(a,!1,b,d)},addOnce:function(a,b,d){e(a,"addOnce");return this._registerListener(a,!0,b,d)},remove:function(a,b){e(a,"remove");var d=this._indexOfListener(a,b);-1!==d&&(this._bindings[d]._destroy(),this._bindings.splice(d,1));return a},removeAll:function(){for(var a=this._bindings.length;a--;)this._bindings[a]._destroy();this._bindings.length=0},getNumListeners:function(){return this._bindings.length}, halt:function(){this._shouldPropagate=!1},dispatch:function(a){if(this.active){var b=Array.prototype.slice.call(arguments),d=this._bindings.length,e;this.memorize&&(this._prevParams=b);if(d){e=this._bindings.slice();this._shouldPropagate=!0;do d--;while(e[d]&&this._shouldPropagate&&!1!==e[d].execute(b))}}},forget:function(){this._prevParams=null},dispose:function(){this.removeAll();delete this._bindings;delete this._prevParams},toString:function(){return"[Signal active:"+this.active+" numListeners:"+ this.getNumListeners()+"]"}};d.Signal=d;"function"===typeof define&&define.amd?define(function(){return d}):"undefined"!==typeof module&&module.exports?module.exports=d:a.signals=d})(this);(function(){var a=function(a){function e(a,b){if(a.indexOf)return a.indexOf(b);for(var d=a.length;d--;)if(a[d]===b)return d;return-1}function d(a,b){return"[object "+b+"]"===Object.prototype.toString.call(a)}function f(a){return null===a||"null"===a?null:"true"===a?!0:"false"===a?!1:a===p||"undefined"===a?p:""=== a||isNaN(a)?a:parseFloat(a)}function g(){this.bypassed=new a.Signal;this.routed=new a.Signal;this._routes=[];this._prevRoutes=[];this._piped=[];this.resetState()}function l(e,c,f,g){var l=d(e,"RegExp"),n=g.patternLexer;this._router=g;this._pattern=e;this._paramsIds=l?null:n.getParamIds(e);this._optionalParamsIds=l?null:n.getOptionalParamsIds(e);this._matchRegexp=l?e:n.compilePattern(e,g.ignoreCase);this.matched=new a.Signal;this.switched=new a.Signal;c&&this.matched.add(c);this._priority=f||0}var n, s,p;s=""===/t(.+)?/.exec("t")[1];g.prototype={greedy:!1,greedyEnabled:!0,ignoreCase:!0,ignoreState:!1,shouldTypecast:!1,normalizeFn:null,resetState:function(){this._prevRoutes.length=0;this._prevBypassedRequest=this._prevMatchedRequest=null},create:function(){return new g},addRoute:function(a,b,d){a=new l(a,b,d,this);this._sortedInsert(a);return a},removeRoute:function(a){var b=this._routes,d=e(b,a);-1!==d&&b.splice(d,1);a._destroy()},removeAllRoutes:function(){for(var a=this.getNumRoutes();a--;)this._routes[a]._destroy(); this._routes.length=0},parse:function(a,b){a=a||"";b=b||[];if(this.ignoreState||a!==this._prevMatchedRequest&&a!==this._prevBypassedRequest){var d=this._getMatchedRoutes(a),e=0,f=d.length,g;if(f)for(this._prevMatchedRequest=a,this._notifyPrevRoutes(d,a),this._prevRoutes=d;e<f;)g=d[e],g.route.matched.dispatch.apply(g.route.matched,b.concat(g.params)),g.isFirst=!e,this.routed.dispatch.apply(this.routed,b.concat([a,g])),e+=1;else this._prevBypassedRequest=a,this.bypassed.dispatch.apply(this.bypassed, b.concat([a]));this._pipeParse(a,b)}},_notifyPrevRoutes:function(a,b){for(var d=0,e;e=this._prevRoutes[d++];)e.route.switched&&this._didSwitch(e.route,a)&&e.route.switched.dispatch(b)},_didSwitch:function(a,b){for(var d,e=0;d=b[e++];)if(d.route===a)return!1;return!0},_pipeParse:function(a,b){for(var d=0,e;e=this._piped[d++];)e.parse(a,b)},getNumRoutes:function(){return this._routes.length},_sortedInsert:function(a){var b=this._routes,d=b.length;do--d;while(b[d]&&a._priority<=b[d]._priority);b.splice(d+ 1,0,a)},_getMatchedRoutes:function(a){for(var b=[],d=this._routes,e=d.length,f;(f=d[--e])&&((!b.length||this.greedy||f.greedy)&&f.match(a)&&b.push({route:f,params:f._getParamsArray(a)}),this.greedyEnabled||!b.length););return b},pipe:function(a){this._piped.push(a)},unpipe:function(a){var b=this._piped;a=e(b,a);-1!==a&&b.splice(a,1)},toString:function(){return"[crossroads numRoutes:"+this.getNumRoutes()+"]"}};n=new g;n.VERSION="0.12.0";n.NORM_AS_ARRAY=function(a,b){return[b.vals_]};n.NORM_AS_OBJECT= function(a,b){return[b]};l.prototype={greedy:!1,rules:void 0,match:function(a){a=a||"";return this._matchRegexp.test(a)&&this._validateParams(a)},_validateParams:function(a){var b=this.rules,d=this._getParamsObject(a),e;for(e in b)if("normalize_"!==e&&b.hasOwnProperty(e)&&!this._isValidParam(a,e,d))return!1;return!0},_isValidParam:function(a,b,f){var g=this.rules[b],l=f[b],n=!1,p=0===b.indexOf("?");null==l&&this._optionalParamsIds&&-1!==e(this._optionalParamsIds,b)?n=!0:d(g,"RegExp")?(p&&(l=f[b+"_"]), n=g.test(l)):d(g,"Array")?(p&&(l=f[b+"_"]),n=this._isValidArrayRule(g,l)):"function"===typeof g&&(n=g(l,a,f));return n},_isValidArrayRule:function(a,b){if(!this._router.ignoreCase)return-1!==e(a,b);"string"===typeof b&&(b=b.toLowerCase());for(var d=a.length,f;d--;)if(f=a[d],f="string"===typeof f?f.toLowerCase():f,f===b)return!0;return!1},_getParamsObject:function(a){for(var b=this._router.shouldTypecast,d=this._router.patternLexer.getParamValues(a,this._matchRegexp,b),g={},l=d.length,n,p;l--;){p= d[l];if(this._paramsIds){n=this._paramsIds[l];if(0===n.indexOf("?")&&p){g[n+"_"]=p;var t=b;p=(p||"").replace("?","").split("&");for(var v=p.length,m={},x=void 0,k=void 0;v--;)x=p[v].split("="),k=t?f(x[1]):x[1],m[x[0]]="string"===typeof k?decodeURIComponent(k):k;p=m;d[l]=p}s&&""===p&&-1!==e(this._optionalParamsIds,n)&&(p=void 0,d[l]=p);g[n]=p}g[l]=p}g.request_=b?f(a):a;g.vals_=d;return g},_getParamsArray:function(a){var b=this.rules?this.rules.normalize_:null;return(b=b||this._router.normalizeFn)&& "function"===typeof b?b(a,this._getParamsObject(a)):this._getParamsObject(a).vals_},interpolate:function(a){a=this._router.patternLexer.interpolate(this._pattern,a);if(!this._validateParams(a))throw Error("Generated string doesn't validate against `Route.rules`.");return a},dispose:function(){this._router.removeRoute(this)},_destroy:function(){this.matched.dispose();this.switched.dispose();this.matched=this.switched=this._pattern=this._matchRegexp=null},toString:function(){return'[Route pattern:"'+ this._pattern+'", numListeners:'+this.matched.getNumListeners()+"]"}};g.prototype.patternLexer=function(){function a(b,c){var d=[],e;for(b.lastIndex=0;e=b.exec(c);)d.push(e[1]);return d}function b(a,c,d){var e,f;for(f in n)n.hasOwnProperty(f)&&(e=n[f],a=a.replace(e[c],e[d]));return a}var d=/[\\.+*?\^$\[\](){}\/'#]/g,e=/^\/|\/$/g,g=/\/$/g,l=/(?:\{|:)([^}:]+)(?:\}|:)/g,n={OS:{rgx:/([:}]|\w(?=\/))\/?(:|(?:\{\?))/g,save:"$1{{id}}$2",res:"\\/?"},RS:{rgx:/([:}])\/?(\{)/g,save:"$1{{id}}$2",res:"\\/"},RQ:{rgx:/\{\?([^}]+)\}/g, res:"\\?([^#]+)"},OQ:{rgx:/:\?([^:]+):/g,res:"(?:\\?([^#]*))?"},OR:{rgx:/:([^:]+)\*:/g,res:"(.*)?"},RR:{rgx:/\{([^}]+)\*\}/g,res:"(.+)"},RP:{rgx:/\{([^}]+)\}/g,res:"([^\\/?]+)"},OP:{rgx:/:([^:]+):/g,res:"([^\\/?]+)?/?"}},p=1;(function(){var a,b;for(a in n)n.hasOwnProperty(a)&&(b=n[a],b.id="__CR_"+a+"__",b.save="save"in b?b.save.replace("{{id}}",b.id):b.id,b.rRestore=new RegExp(b.id,"g"))})();return{strict:function(){p=2},loose:function(){p=1},legacy:function(){p=3},getParamIds:function(b){return a(l, b)},getOptionalParamsIds:function(b){return a(n.OP.rgx,b)},getParamValues:function(a,b,c){if(a=b.exec(a))if(a.shift(),c){c=a;a=c.length;for(b=[];a--;)b[a]=f(c[a]);a=b}return a},compilePattern:function(a,f){if(a=a||"")1===p?a=a.replace(e,""):3===p&&(a=a.replace(g,"")),a=b(a,"rgx","save"),a=a.replace(d,"\\$&"),a=b(a,"rRestore","res"),1===p&&(a="\\/?"+a);2!==p&&(a+="\\/?");return new RegExp("^"+a+"$",f?"i":"")},interpolate:function(a,b){if("string"!==typeof a)throw Error("Route pattern should be a string."); n.OS.trail||(n.OS.trail=new RegExp("(?:"+n.OS.id+")+$"));return a.replace(n.OS.rgx,n.OS.save).replace(l,function(a,c){var d;c="?"===c.substr(0,1)?c.substr(1):c;if(null!=b[c]){if("object"===typeof b[c]){d=[];for(var e in b[c])d.push(encodeURI(e+"="+b[c][e]));d="?"+d.join("&")}else d=String(b[c]);if(-1===a.indexOf("*")&&-1!==d.indexOf("/"))throw Error('Invalid value "'+d+'" for segment "'+a+'".');}else{if(-1!==a.indexOf("{"))throw Error("The segment "+a+" is required.");d=""}return d}).replace(n.OS.trail, "").replace(n.OS.rRestore,"/")}}}();return n};"function"===typeof define&&define.amd?define(["signals"],a):"undefined"!==typeof module&&module.exports?module.exports=a(require("signals")):v.crossroads=a(v.signals)})();(function(){var a=function(a){return function(e){function d(a){if(!a)return"";var b=new RegExp("^"+String(c.prependHash||"").replace(/\W/g,"\\$&")+"|"+String(c.appendHash||"").replace(/\W/g,"\\$&")+"$","g");return a.replace(b,"")}function f(){var a=w.exec(c.getURL()),a=a&&a[1]||"";try{return c.raw? a:decodeURIComponent(a)}catch(b){return a}}function g(){if(v&&C!==(v?v.contentWindow.frameHash:null)){var a=v.contentWindow.document;a.open();a.write("<html><head><title>"+p.title+'</title><script type="text/javascript">var frameHash="'+C+'";\x3c/script></head><body> </body></html>');a.close()}}function l(a,b){if(C!==a){var e=C;C=a;I&&(b?v.contentWindow.frameHash=a:g());c.changed.dispatch(d(a),d(e))}}function n(a){a=Array.prototype.slice.call(arguments);var b=a.join(c.separator);return b=b?c.prependHash+ b.replace(m,"")+c.appendHash:b}function s(a){a=encodeURI(a);x&&da&&(a=a.replace(/\?/,"%3F"));return a}var p=e.document,u=a.Signal,c,C,A,t,v,r,w=/#(.*)$/,E=/(\?.*)|(\#.*)/,m=/^\#/,x=!+"\v1",k="onhashchange"in e&&7!==p.documentMode,I=x&&!k,da="file:"===location.protocol;r=I?function(){var a=f(),b=v?v.contentWindow.frameHash:null;b!==C&&b!==a?c.setHash(d(b)):a!==C&&l(a)}:function(){var a=f();a!==C&&l(a)};c={VERSION:"1.2.0",raw:!1,appendHash:"",prependHash:"/",separator:"/",changed:new u,stopped:new u, initialized:new u,init:function(){t||(C=f(),k?e.addEventListener?e.addEventListener("hashchange",r,!1):e.attachEvent&&e.attachEvent("onhashchange",r):(I&&(v||(v=p.createElement("iframe"),v.src="about:blank",v.style.display="none",p.body.appendChild(v)),g()),A=setInterval(r,25)),t=!0,c.initialized.dispatch(d(C)))},stop:function(){t&&(k?e.removeEventListener?e.removeEventListener("hashchange",r,!1):e.detachEvent&&e.detachEvent("onhashchange",r):(clearInterval(A),A=null),t=!1,c.stopped.dispatch(d(C)))}, isActive:function(){return t},getURL:function(){return e.location.href},getBaseURL:function(){return c.getURL().replace(E,"")},setHash:function(a){a=n.apply(null,arguments);a!==C&&(l(a),a===C&&(c.raw||(a=s(a)),e.location.hash="#"+a))},replaceHash:function(a){a=n.apply(null,arguments);a!==C&&(l(a,!0),a===C&&(c.raw||(a=s(a)),e.location.replace("#"+a)))},getHash:function(){return d(C)},getHashAsArray:function(){return c.getHash().split(c.separator)},dispose:function(){c.stop();c.initialized.dispose(); c.stopped.dispose();c.changed.dispose();v=c=e.hasher=null},toString:function(){return'[hasher version="'+c.VERSION+'" hash="'+c.getHash()+'"]'}};c.initialized.memorize=!0;return c}(v)};"function"===typeof define&&define.amd?define(["signals"],a):"object"===typeof exports?module.exports=a(require("signals")):v.hasher=a(v.signals)})();less={toHSL:function(a){var b=a.r/255,e=a.g/255,d=a.b/255;a=a.a;var f=Math.max(b,e,d),g=Math.min(b,e,d),l,n=(f+g)/2,s=f-g;if(f===g)l=g=0;else{g=.5<n?s/(2-f-g):s/(f+g); switch(f){case b:l=(e-d)/s+(e<d?6:0);break;case e:l=(d-b)/s+2;break;case d:l=(b-e)/s+4}l/=6}return{h:360*l,s:g,l:n,a:a}},luma:function(a){var b=a.r/255,e=a.g/255;a=a.b/255;b=.03928>=b?b/12.92:Math.pow((b+.055)/1.055,2.4);e=.03928>=e?e/12.92:Math.pow((e+.055)/1.055,2.4);a=.03928>=a?a/12.92:Math.pow((a+.055)/1.055,2.4);return.2126*b+.7152*e+.0722*a},mix:function(a,b,e){e||(e=50);e/=100;var d=2*e-1,f=this.toHSL(a).a-this.toHSL(b).a,d=((-1==d*f?d:(d+f)/(1+d*f))+1)/2,f=1-d;return{r:a.r*d+b.r*f,g:a.g*d+ b.g*f,b:a.b*d+b.b*f,a:a.a*e+b.a*(1-e)}},shade:function(a,b){return this.mix({r:0,g:0,b:0,a:1},a,b)},tint:function(a,b){return this.mix({r:255,g:255,b:255,a:1},a,b)},contrast:function(a,b,e,d){"undefined"===typeof e&&(e={r:255,g:255,b:255,a:1});"undefined"===typeof b&&(b={r:0,g:0,b:0,a:1});if(this.luma(b)>this.luma(e)){var f=e;e=b;b=f}d="undefined"===typeof d?.43:d/100;return this.luma(a)<d?e:b}};var xb=function(a,b){var e={extend:function(a,b){var d={},c;for(c in a)d[c]=b[c]&&0===b[c].length%2?b[c].concat(a[c]): a[c];return d},has:function(a,b){return"string"===typeof a?-1!==b.toLowerCase().indexOf(a.toLowerCase()):!1},lowerize:function(a){return a.toLowerCase()},major:function(a){return"string"===typeof a?a.split(".")[0]:b}},d=function(){for(var a,d=0,e,c,f,g,l,n,r=arguments;d<r.length&&!l;){var t=r[d],v=r[d+1];if("undefined"===typeof a)for(f in a={},v)v.hasOwnProperty(f)&&(g=v[f],"object"===typeof g?a[g[0]]=b:a[g]=b);for(e=c=0;e<t.length&&!l;)if(l=t[e++].exec(this.getUA()))for(f=0;f<v.length;f++)n=l[++c], g=v[f],"object"===typeof g&&0<g.length?2==g.length?a[g[0]]="function"==typeof g[1]?g[1].call(this,n):g[1]:3==g.length?a[g[0]]="function"!==typeof g[1]||g[1].exec&&g[1].test?n?n.replace(g[1],g[2]):b:n?g[1].call(this,n,g[2]):b:4==g.length&&(a[g[0]]=n?g[3].call(this,n.replace(g[1],g[2])):b):a[g]=n?n:b;d+=2}return a},f=function(a,d){for(var f in d)if("object"===typeof d[f]&&0<d[f].length)for(var c=0;c<d[f].length;c++){if(e.has(d[f][c],a))return"?"===f?b:f}else if(e.has(d[f],a))return"?"===f?b:f;return a}, g={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2E3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},l={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],["name","version"],[/(OPiOS)[\/\s]+([\w\.]+)/i],[["name","Opera Mini"],"version"],[/\s(opr)\/([\w\.]+)/i],[["name","Opera"],"version"],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs)\/([\w\.-]+)/i],["name","version"],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[["name","IE"],"version"],[/(edge)\/((\d+)?[\w\.]+)/i],["name","version"],[/(yabrowser)\/([\w\.]+)/i],[["name","Yandex"],"version"],[/(comodo_dragon)\/([\w\.]+)/i],[["name",/_/g," "],"version"],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i, /(qqbrowser)[\/\s]?([\w\.]+)/i],["name","version"],[/(uc\s?browser)[\/\s]?([\w\.]+)/i,/ucweb.+(ucbrowser)[\/\s]?([\w\.]+)/i,/JUC.+(ucweb)[\/\s]?([\w\.]+)/i],[["name","UCBrowser"],"version"],[/(dolfin)\/([\w\.]+)/i],[["name","Dolphin"],"version"],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[["name","Chrome"],"version"],[/XiaoMi\/MiuiBrowser\/([\w\.]+)/i],["version",["name","MIUI Browser"]],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)/i],["version",["name","Android Browser"]],[/FBAV\/([\w\.]+);/i], ["version",["name","Facebook"]],[/fxios\/([\w\.-]+)/i],["version",["name","Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],["version",["name","Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],["version","name"],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],["name",["version",f,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],["name","version"],[/(navigator|netscape)\/([\w\.-]+)/i], [["name","Netscape"],"version"],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],["name","version"]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",e.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",e.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",e.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], ["model","vendor",["type","tablet"]],[/applecoremedia\/[\w\.]+ \((ipad)/],["model",["vendor","Apple"],["type","tablet"]],[/(apple\s{0,1}tv)/i],[["model","Apple TV"],["vendor","Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],["vendor","model",["type","tablet"]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],["model",["vendor","Amazon"],["type","tablet"]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[["model", f,{"Fire Phone":["SD","KF"]}],["vendor","Amazon"],["type","mobile"]],[/\((ip[honed|\s\w*]+);.+(apple)/i],["model","vendor",["type","mobile"]],[/\((ip[honed|\s\w*]+);/i],["model",["vendor","Apple"],["type","mobile"]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|huawei|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],["vendor","model",["type","mobile"]],[/\(bb10;\s(\w+)/i],["model",["vendor","BlackBerry"],["type","mobile"]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7)/i], ["model",["vendor","Asus"],["type","tablet"]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[["vendor","Sony"],["model","Xperia Tablet"],["type","tablet"]],[/(?:sony)?(?:(?:(?:c|d)\d{4})|(?:so[-l].+))\sbuild\//i],[["vendor","Sony"],["model","Xperia Phone"],["type","mobile"]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],["vendor","model",["type","console"]],[/android.+;\s(shield)\sbuild/i],["model",["vendor","Nvidia"],["type","console"]],[/(playstation\s[34portablevi]+)/i],["model", ["vendor","Sony"],["type","console"]],[/(sprint\s(\w+))/i],[["vendor",f,{HTC:"APA",Sprint:"Sprint"}],["model",f,{"Evo Shift 4G":"7373KT"}],["type","mobile"]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],["vendor","model",["type","tablet"]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|huawei|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],["vendor",["model",/_/g," "],["type","mobile"]],[/(nexus\s9)/i],["model",["vendor","HTC"],["type","tablet"]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i], ["model",["vendor","Microsoft"],["type","console"]],[/(kin\.[onetw]{3})/i],[["model",/\./g," "],["vendor","Microsoft"],["type","mobile"]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s[6])/i],["model",["vendor","Motorola"],["type","mobile"]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],["model",["vendor","Motorola"],["type","tablet"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n8000|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i],[["vendor","Samsung"],"model",["type","tablet"]],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-n900))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[["vendor","Samsung"],"model",["type","mobile"]],[/(samsung);smarttv/i],["vendor","model",["type","smarttv"]],[/\(dtv[\);].+(aquos)/i],["model",["vendor","Sharp"],["type","smarttv"]],[/sie-(\w+)*/i],["model",["vendor","Siemens"],["type","mobile"]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[["vendor","Nokia"], "model",["type","mobile"]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],["model",["vendor","Acer"],["type","tablet"]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[["vendor","LG"],"model",["type","tablet"]],[/(lg) netcast\.tv/i],["vendor","model",["type","smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i],["model",["vendor","LG"],["type","mobile"]],[/android.+(ideatab[a-z0-9\-\s]+)/i],["model",["vendor","Lenovo"],["type","tablet"]],[/linux;.+((jolla));/i],["vendor","model",["type","mobile"]],[/((pebble))app\/[\d\.]+\s/i], ["vendor","model",["type","wearable"]],[/android.+;\s(glass)\s\d/i],["model",["vendor","Google"],["type","wearable"]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus)?[\s_]*(?:\d\w)?)\s+build/i],[["model",/_/g," "],["vendor","Xiaomi"],["type","mobile"]],[/\s(tablet)[;\/\s]/i,/\s(mobile)[;\/\s]/i],[["type",e.lowerize],"vendor","model"]],engine:[[/windows.+\sedge\/([\w\.]+)/i],["version",["name","EdgeHTML"]],[/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],["name","version"],[/rv\:([\w\.]+).*(gecko)/i],["version","name"]],os:[[/microsoft\s(windows)\s(vista|xp)/i],["name","version"],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*|windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],["name",["version",f,g]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[["name","Windows"],["version",f,g]],[/\((bb)(10);/i],[["name", "BlackBerry"],"version"],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],["name","version"],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[["name","Symbian"],"version"],[/\((series40);/i],["name"],[/mozilla.+\(mobile;.+gecko.+firefox/i],[["name","Firefox OS"],"version"],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],["name","version"],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[["name","Chromium OS"],"version"],[/(sunos)\s?([\w\.]+\d)*/i],[["name","Solaris"],"version"],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],["name","version"],[/(ip[honead]+)(?:.*os\s([\w]+)*\slike\smac|;\sopera)/i],[["name","iOS"],["version",/_/g, "."]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[["name","Mac OS"],["version",/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(haiku)\s(\w+)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],["name","version"]]},n=function(b,f){if(!(this instanceof n))return(new n(b,f)).getResult();var g=b||(a&&a.navigator&&a.navigator.userAgent?a.navigator.userAgent:""),c=f?e.extend(l,f):l;this.getBrowser=function(){var a= d.apply(this,c.browser);a.major=e.major(a.version);return a};this.getCPU=function(){return d.apply(this,c.cpu)};this.getDevice=function(){return d.apply(this,c.device)};this.getEngine=function(){return d.apply(this,c.engine)};this.getOS=function(){return d.apply(this,c.os)};this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}};this.getUA=function(){return g};this.setUA=function(a){g=a;return this}; return this};n.VERSION="0.7.10";n.BROWSER={NAME:"name",MAJOR:"major",VERSION:"version"};n.CPU={ARCHITECTURE:"architecture"};n.DEVICE={MODEL:"model",VENDOR:"vendor",TYPE:"type",CONSOLE:"console",MOBILE:"mobile",SMARTTV:"smarttv",TABLET:"tablet",WEARABLE:"wearable",EMBEDDED:"embedded"};n.ENGINE={NAME:"name",VERSION:"version"};n.OS={NAME:"name",VERSION:"version"};return n}("object"===typeof v?v:this),J;J=new (function(){function a(){this.info;this._setupUAParser()}a.prototype._setupUAParser=function(){this._uaparser= new xb;this._uaparser.setUA(navigator.userAgent);return this.info=this._getUserAgentInfo(this._uaparser)};a.prototype._getDeviceTypeFromUrl=function(){var a;a=ab.parseQueryString(v.location.search);return a.__urpdt?a.__urpdt:null};a.prototype._getUserAgentInfo=function(a){var e,d,f;f=a.getResult();e=this._getDeviceTypeFromUrl();d=f.os.name;a=f.browser.name;f.device.type=e||f.device.type||"desktop";/^Android$/i.test(d)&&/^(Mobile )?Safari$/i.test(a)&&(f.browser.name="Android Browser");f.os.fullname= f.os.name+" "+f.os.version;f.browser.fullname=f.browser.name+" "+f.browser.version;return f};a.prototype.isMobile=function(){return"mobile"===this.info.device.type};a.prototype.isTablet=function(){return"tablet"===this.info.device.type};a.prototype.isMobileOrTablet=function(){return this.isMobile()||this.isTablet()};a.prototype.isDesktop=function(){return"desktop"===this.info.device.type};a.prototype.isDesktopSafari=function(){return"desktop"===this.info.device.type&&"Safari"===this.info.browser.name}; a.prototype.isFirefox=function(){return"Firefox"===this.info.browser.name};a.prototype.isIe=function(){return"IE"===this.info.browser.name};a.prototype.ieVersion=function(){return"IE"===this.info.browser.name&&parseFloat(this.info.browser.version)||!1};a.prototype.isAndroidStock=function(){return"Android Browser"===this.info.browser.name};a.prototype.isAndroid=function(){return"Android"===this.info.os.name};a.prototype.androidMajorVersion=function(){return this.isAndroid()&&parseInt(this.info.os.version)|| !1};a.prototype.isWindowsPhone=function(){return"Windows Phone"===this.info.os.name};a.prototype.isWindows=function(){return"Windows"===this.info.os.name};a.prototype.isMacOs=function(){return"Mac OS"===this.info.os.name};a.prototype.osVersionWithoutDote=function(){return this.info.os.version.replace(".","")};a.prototype.isRetina=function(){var a;return 1<v.devicePixelRatio||"function"===typeof v.matchMedia&&null!=(a=v.matchMedia("(-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2),(min-resolution: 1.5dppx)"))&& a.matches?!0:!1};a.prototype.isTouch=function(){var a;a=sb();return this.isDesktop()?!1:a.touch||"IEMobile"===J.info.browser.name};return a}());(function(a){"function"===typeof define&&define.amd?define(["jquery"],a):"object"===typeof exports?module.exports=a(require("jquery")):a(jQuery)})(function(a){if(!a.support.cors&&a.ajaxTransport&&v.XDomainRequest){var b=/^https?:\/\//i,e=/^get|post$/i,d=new RegExp("^"+location.protocol,"i");a.ajaxTransport("* text html xml json",function(f,g,l){if(f.crossDomain&& f.async&&e.test(f.type)&&b.test(f.url)&&d.test(f.url)){var n=null;return{send:function(b,d){var e="",c=(g.dataType||"").toLowerCase();n=new XDomainRequest;/^\d+$/.test(g.timeout)&&(n.timeout=g.timeout);n.ontimeout=function(){d(500,"timeout")};n.onload=function(){var b="Content-Length: "+n.responseText.length+"\r\nContent-Type: "+n.contentType,e=200,f="success",g={text:n.responseText};try{if("html"===c||/text\/html/i.test(n.contentType))g.html=n.responseText;else if("json"===c||"text"!==c&&/\/json/i.test(n.contentType))try{g.json= a.parseJSON(n.responseText)}catch(l){e=500,f="parseerror"}else if("xml"===c||"text"!==c&&/\/xml/i.test(n.contentType)){var s=new ActiveXObject("Microsoft.XMLDOM");s.async=!1;try{s.loadXML(n.responseText)}catch(u){s=w}if(!s||!s.documentElement||s.getElementsByTagName("parsererror").length)throw e=500,f="parseerror","Invalid XML: "+n.responseText;g.xml=s}}catch(m){throw m;}finally{d(e,f,g,b)}};n.onprogress=function(){};n.onerror=function(){d(500,"error",{text:n.responseText})};g.data&&(e="string"=== a.type(g.data)?g.data:a.param(g.data));n.open(f.type,f.url);n.send(e)},abort:function(){n&&n.abort()}}}})}});var ja;ja={BackendUrl:"https://api.userreport.com/ff",LoremIpsumBoardId:"eff463f6-f26a-4222-9cf4-9e72dbce1dfc",LoremIpsumToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ew0KICAiZmYiOiB7DQogICAgImJvYXJkcyI6IFsNCiAgICAgIHsNCiAgICAgICAgImJvYXJkSWQiOiAiZWZmNDYzZjYtZjI2YS00MjIyLTljZjQtOWU3MmRiY2UxZGZjIiwNCiAgICAgICAgImFjdGlvbnMiOiBbDQogICAgICAgICAgInJlYWQiLA0KICAgICAgICAgICJzZWFyY2hJZGVhcyINCiAgICAgICAgXQ0KICAgICAgfQ0KICAgIF0sDQogICAgImlkZWFzIjogWw0KICAgICAgew0KICAgICAgICAiYm9hcmRJZCI6ICJlZmY0NjNmNi1mMjZhLTQyMjItOWNmNC05ZTcyZGJjZTFkZmMiLA0KICAgICAgICAiYWN0aW9ucyI6IFsNCiAgICAgICAgICAicmVhZCIsDQogICAgICAgICAgImFkZFZvdGUiDQogICAgICAgIF0NCiAgICAgIH0NCiAgICBdLA0KICAgICJjb21tZW50cyI6IFsNCiAgICAgIHsNCiAgICAgICAgImJvYXJkSWQiOiAiZWZmNDYzZjYtZjI2YS00MjIyLTljZjQtOWU3MmRiY2UxZGZjIiwNCiAgICAgICAgImFjdGlvbnMiOiBbDQogICAgICAgICAgInJlYWQiDQogICAgICAgIF0NCiAgICAgIH0NCiAgICBdLA0KICAgICJ2b3RlcyI6IFsNCiAgICAgIHsNCiAgICAgICAgImJvYXJkSWQiOiAiZWZmNDYzZjYtZjI2YS00MjIyLTljZjQtOWU3MmRiY2UxZGZjIiwNCiAgICAgICAgImFjdGlvbnMiOiBbDQogICAgICAgICAgInJlYWQiDQogICAgICAgIF0NCiAgICAgIH0NCiAgICBdLA0KICAgICJhY3Rpb25zIjogW10NCiAgfQ0KfQ.7M1JtveZlvpuaoRTwT9O-Dhtki_vQD6lRSwenDpAuxQ", Protocol:E.location.protocol,CaptchaToken:"6LeyEWoUAAAAAOXLZhaT1tKZ3HlVyFJsw6Ilgugv"};ja.Tag={Url:ja.Protocol+"//tag.userreport.com"};ja.Tag.LocalStorageUrl=ja.Tag.Url+"/ls.html";(function(a){"function"===typeof define&&define.amd?define(["jquery"],a):a(jQuery)})(function(a){function b(){var b;b=a(this);if(!b.data("timeago")){b.data("timeago",{datetime:f.datetime(b)});var d=a.trim(b.text());f.settings.localeTitle?b.attr("title",b.data("timeago").datetime.toLocaleString()):!(0<d.length)||f.isTime(b)&& b.attr("title")||b.attr("title",d)}b=b.data("timeago");isNaN(b.datetime)||a(this).text(e(b.datetime));return this}function e(a){return f.inWords(d(a))}function d(a){return(new Date).getTime()-a.getTime()}a.timeago=function(b){return b instanceof Date?e(b):"string"===typeof b?e(a.timeago.parse(b)):"number"===typeof b?e(new Date(b)):e(a.timeago.datetime(b))};var f=a.timeago;a.extend(a.timeago,{defaults:{},settings:{refreshMillis:6E4,allowFuture:!1,localeTitle:!1,strings:{prefixAgo:null,prefixFromNow:null, suffixAgo:"ago",suffixFromNow:"from now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years",wordSeparator:" ",numbers:[]}},inWords:function(b){function d(c,f){return(a.isFunction(c)?c(f,b):c).replace(/%d/i,e.numbers&&e.numbers[f]||f)}var e=this.settings.strings,f=e.prefixAgo,g=e.suffixAgo;this.settings.allowFuture&&0>b&&(f=e.prefixFromNow, g=e.suffixFromNow);var c=Math.abs(b)/1E3,t=c/60,A=t/60,v=A/24,H=v/365,c=45>c&&d(e.seconds,Math.round(c))||90>c&&d(e.minute,1)||45>t&&d(e.minutes,Math.round(t))||90>t&&d(e.hour,1)||24>A&&d(e.hours,Math.round(A))||42>A&&d(e.day,1)||30>v&&d(e.days,Math.round(v))||45>v&&d(e.month,1)||365>v&&d(e.months,Math.round(v/30))||1.5>H&&d(e.year,1)||d(e.years,Math.round(H)),t=e.wordSeparator||"";e.wordSeparator===w&&(t=" ");return a.trim([f,c,g].join(t))},parse:function(b){b=a.trim(b);b=b.replace(/\.\d+/,"");b= b.replace(/-/,"/").replace(/-/,"/");b=b.replace(/T/," ").replace(/Z/," UTC");b=b.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2");return new Date(b)},datetime:function(b){b=f.isTime(b)?a(b).attr("datetime"):a(b).attr("title");return f.parse(b)},isTime:function(b){return"time"===a(b).get(0).tagName.toLowerCase()}});var g={init:function(){var d=a.proxy(b,this);d();var e=f.settings;0<e.refreshMillis&&setInterval(d,e.refreshMillis)},update:function(d){a(this).data("timeago",{datetime:f.parse(d)});b.apply(this)}}; a.fn.timeago=function(a,b){var d=a?g[a]:g.init;if(!d)throw Error("Unknown function name '"+a+"' for timeago");this.each(function(){d.call(this,b)});return this};E.createElement("abbr");E.createElement("time")});var nb;nb=function(){function a(a){this.comment=ko.observable("");this.postedByAdmin=ko.observable(!1);this.postedTime=ko.observable(new Date);this.respondentId=ko.observable("8c4a4e44-6da4-40b1-a9cb-7ee3be4624eb");this.userName=ko.observable("");this.creationDate=ko.observable(new Date);this.timeAgo= ko.computed(function(a){return function(){if(a.creationDate())return jQuery.timeago(a.creationDate())}}(this));this.visible=ko.observable(!0);a&&this.update(a)}var b;a.prototype.update=function(a){this.comment(a.text);this.postedByAdmin(a.postedByAdmin);this.postedTime(a.createdAt);this.respondentId(a.userId);this.userName(a.userName);this.creationDate(a.createdAt);if(a=b.exec(a.createdAt))return this.creationDate(new Date(parseInt(a[1])))};a.getByDto=function(b){return new a(b)};b=/^\/Date\(([0-9]+)(\+[0-9]+)?\)\/$/; return a}();(function(a){var b=!1===a.support.boxModel&&a.support.objectAll&&a.support.leadingWhitespace;a.jGrowl=function(b,d){0===a("#jGrowl").size()&&a('<div id="jGrowl"></div>').addClass(d&&d.position?d.position:a.jGrowl.defaults.position).appendTo("body");a("#jGrowl").jGrowl(b,d)};a.fn.jGrowl=function(b,d){if(a.isFunction(this.each)){var f=arguments;return this.each(function(){a(this).data("jGrowl.instance")===w&&(a(this).data("jGrowl.instance",a.extend(new a.fn.jGrowl,{notifications:[],element:null, interval:null})),a(this).data("jGrowl.instance").startup(this));a.isFunction(a(this).data("jGrowl.instance")[b])?a(this).data("jGrowl.instance")[b].apply(a(this).data("jGrowl.instance"),a.makeArray(f).slice(1)):a(this).data("jGrowl.instance").create(b,d)})}};a.extend(a.fn.jGrowl.prototype,{defaults:{pool:0,header:"",group:"",sticky:!1,position:"top-right",glue:"after",theme:"default",themeState:"highlight",corners:"10px",check:250,life:3E3,closeDuration:"normal",openDuration:"normal",easing:"swing", closer:!0,closeTemplate:"×",closerTemplate:"<div>[ close all ]</div>",log:function(){},beforeOpen:function(){},afterOpen:function(){},open:function(){},beforeClose:function(){},close:function(){},animateOpen:{opacity:"show"},animateClose:{opacity:"hide"}},notifications:[],element:null,interval:null,create:function(b,d){var f=a.extend({},this.defaults,d);"undefined"!==typeof f.speed&&(f.openDuration=f.speed,f.closeDuration=f.speed);this.notifications.push({message:b,options:f});f.log.apply(this.element, [this.element,b,f])},render:function(b){var d=this,f=b.message,g=b.options;g.themeState=""===g.themeState?"":"ui-state-"+g.themeState;var l=a("<div/>").addClass("jGrowl-notification "+g.themeState+" ui-corner-all"+(g.group!==w&&""!==g.group?" "+g.group:"")).append(a("<div/>").addClass("jGrowl-close").html(g.closeTemplate)).append(a("<div/>").addClass("jGrowl-header").html(g.header)).append(a("<div/>").addClass("jGrowl-message").html(f)).data("jGrowl",g).addClass(g.theme).children("div.jGrowl-close").bind("click.jGrowl", function(){a(this).parent().trigger("jGrowl.beforeClose")}).parent();a(l).bind("mouseover.jGrowl",function(){a("div.jGrowl-notification",d.element).data("jGrowl.pause",!0)}).bind("mouseout.jGrowl",function(){a("div.jGrowl-notification",d.element).data("jGrowl.pause",!1)}).bind("jGrowl.beforeOpen",function(){!1!==g.beforeOpen.apply(l,[l,f,g,d.element])&&a(this).trigger("jGrowl.open")}).bind("jGrowl.open",function(){!1!==g.open.apply(l,[l,f,g,d.element])&&("after"==g.glue?a("div.jGrowl-notification:last", d.element).after(l):a("div.jGrowl-notification:first",d.element).before(l),a(this).animate(g.animateOpen,g.openDuration,g.easing,function(){!1===a.support.opacity&&this.style.removeAttribute("filter");null!==a(this).data("jGrowl")&&(a(this).data("jGrowl").created=new Date);a(this).trigger("jGrowl.afterOpen")}))}).bind("jGrowl.afterOpen",function(){g.afterOpen.apply(l,[l,f,g,d.element])}).bind("jGrowl.beforeClose",function(){!1!==g.beforeClose.apply(l,[l,f,g,d.element])&&a(this).trigger("jGrowl.close")}).bind("jGrowl.close", function(){a(this).data("jGrowl.pause",!0);a(this).animate(g.animateClose,g.closeDuration,g.easing,function(){a.isFunction(g.close)?!1!==g.close.apply(l,[l,f,g,d.element])&&a(this).remove():a(this).remove()})}).trigger("jGrowl.beforeOpen");""!==g.corners&&a.fn.corner!==w&&a(l).corner(g.corners);1<a("div.jGrowl-notification:parent",d.element).size()&&0===a("div.jGrowl-closer",d.element).size()&&!1!==this.defaults.closer&&a(this.defaults.closerTemplate).addClass("jGrowl-closer "+this.defaults.themeState+ " ui-corner-all").addClass(this.defaults.theme).appendTo(d.element).animate(this.defaults.animateOpen,this.defaults.speed,this.defaults.easing).bind("click.jGrowl",function(){a(this).siblings().trigger("jGrowl.beforeClose");a.isFunction(d.defaults.closer)&&d.defaults.closer.apply(a(this).parent()[0],[a(this).parent()[0]])})},update:function(){a(this.element).find("div.jGrowl-notification:parent").each(function(){a(this).data("jGrowl")!==w&&a(this).data("jGrowl").created!==w&&a(this).data("jGrowl").created.getTime()+ parseInt(a(this).data("jGrowl").life,10)<(new Date).getTime()&&!0!==a(this).data("jGrowl").sticky&&(a(this).data("jGrowl.pause")===w||!0!==a(this).data("jGrowl.pause"))&&a(this).trigger("jGrowl.beforeClose")});0<this.notifications.length&&(0===this.defaults.pool||a(this.element).find("div.jGrowl-notification:parent").size()<this.defaults.pool)&&this.render(this.notifications.shift());2>a(this.element).find("div.jGrowl-notification:parent").size()&&a(this.element).find("div.jGrowl-closer").animate(this.defaults.animateClose, this.defaults.speed,this.defaults.easing,function(){a(this).remove()})},startup:function(e){this.element=a(e).addClass("jGrowl").append('<div class="jGrowl-notification"></div>');this.interval=setInterval(function(){a(e).data("jGrowl.instance").update()},parseInt(this.defaults.check,10));b&&a(this.element).addClass("ie6")},shutdown:function(){a(this.element).removeClass("jGrowl").find("div.jGrowl-notification").trigger("jGrowl.close").parent().empty();clearInterval(this.interval)},close:function(){a(this.element).find("div.jGrowl-notification").each(function(){a(this).trigger("jGrowl.beforeClose")})}}); a.jGrowl.defaults=a.fn.jGrowl.prototype.defaults})(jQuery);var ha;ha=new (function(){function a(){b()}var b;a.prototype.VoteAccepted=function(){return $.jGrowl(app.localization.VoteAccepted.text,{header:'<div class="icon icon-checkmark"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"><path class="fill" d="M15.854,4.56c0.195-0.194,0.195-0.513,0-0.707l-0.709-0.707c-0.193-0.194-0.512-0.194-0.707,0L6.184,11.38L1.562,6.769c-0.195-0.194-0.513-0.195-0.708,0L0.145,7.475c-0.193,0.194-0.194,0.512,0,0.707l5.686,5.672c0.195,0.194,0.513,0.194,0.708,0l0-0.001l0,0L15.854,4.56z"/></svg><div class="svg-content"></div></div>'+ app.localization.VoteAccepted.title,group:"succes"})};a.prototype.CommentPosted=function(){return $.jGrowl(app.localization.CommentPosted.title,{header:'<div class="icon icon-checkmark"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"><path class="fill" d="M15.854,4.56c0.195-0.194,0.195-0.513,0-0.707l-0.709-0.707c-0.193-0.194-0.512-0.194-0.707,0L6.184,11.38L1.562,6.769c-0.195-0.194-0.513-0.195-0.708,0L0.145,7.475c-0.193,0.194-0.194,0.512,0,0.707l5.686,5.672c0.195,0.194,0.513,0.194,0.708,0l0-0.001l0,0L15.854,4.56z"/></svg><div class="svg-content"></div></div>'+ app.localization.CommentPosted.text,group:"succes"})};a.prototype.IdeaPosted=function(){return $.jGrowl(app.localization.IdeaPosted.text,{header:'<div class="icon icon-checkmark"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"><path class="fill" d="M15.854,4.56c0.195-0.194,0.195-0.513,0-0.707l-0.709-0.707c-0.193-0.194-0.512-0.194-0.707,0L6.184,11.38L1.562,6.769c-0.195-0.194-0.513-0.195-0.708,0L0.145,7.475c-0.193,0.194-0.194,0.512,0,0.707l5.686,5.672c0.195,0.194,0.513,0.194,0.708,0l0-0.001l0,0L15.854,4.56z"/></svg><div class="svg-content"></div></div>'+ app.localization.IdeaPosted.title,group:"succes",life:6E3})};a.prototype.DislayError=function(a){return $.jGrowl(a,{header:'<div class="icon icon-close"><div class="svg-content"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"><path class="fill" d="M9.768,8.354c-0.194-0.195-0.194-0.513,0-0.707l4.086-4.087c0.195-0.194,0.195-0.512,0-0.707l-0.707-0.707\tc-0.192-0.194-0.512-0.194-0.707,0L8.354,6.232c-0.194,0.194-0.513,0.194-0.707,0L3.56,2.146c-0.194-0.194-0.513-0.194-0.707,0\tL2.146,2.853c-0.194,0.194-0.194,0.513,0,0.707l4.087,4.087c0.194,0.194,0.194,0.512,0,0.707l-4.087,4.085\tc-0.194,0.195-0.194,0.515,0,0.707l0.707,0.707c0.195,0.195,0.513,0.195,0.707,0l4.087-4.086c0.194-0.194,0.512-0.194,0.707,0\tl4.085,4.086c0.195,0.195,0.515,0.195,0.707,0l0.707-0.707c0.195-0.192,0.195-0.512,0-0.707L9.768,8.354z"/></svg></div></div>Error', group:"error"})};a.prototype.BugReported=function(){return $.jGrowl(app.localization.BugPosted.text,{header:'<div class="icon icon-checkmark"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"><path class="fill" d="M15.854,4.56c0.195-0.194,0.195-0.513,0-0.707l-0.709-0.707c-0.193-0.194-0.512-0.194-0.707,0L6.184,11.38L1.562,6.769c-0.195-0.194-0.513-0.195-0.708,0L0.145,7.475c-0.193,0.194-0.194,0.512,0,0.707l5.686,5.672c0.195,0.194,0.513,0.194,0.708,0l0-0.001l0,0L15.854,4.56z"/></svg><div class="svg-content"></div></div>'+ app.localization.BugPosted.title,group:"succes",life:6E3})};a.prototype.CommentPostingError=function(){return $.jGrowl(app.localization.CommentPostingError.text,{header:'<div class="icon icon-close"><div class="svg-content"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"><path class="fill" d="M9.768,8.354c-0.194-0.195-0.194-0.513,0-0.707l4.086-4.087c0.195-0.194,0.195-0.512,0-0.707l-0.707-0.707\tc-0.192-0.194-0.512-0.194-0.707,0L8.354,6.232c-0.194,0.194-0.513,0.194-0.707,0L3.56,2.146c-0.194-0.194-0.513-0.194-0.707,0\tL2.146,2.853c-0.194,0.194-0.194,0.513,0,0.707l4.087,4.087c0.194,0.194,0.194,0.512,0,0.707l-4.087,4.085\tc-0.194,0.195-0.194,0.515,0,0.707l0.707,0.707c0.195,0.195,0.513,0.195,0.707,0l4.087-4.086c0.194-0.194,0.512-0.194,0.707,0\tl4.085,4.086c0.195,0.195,0.515,0.195,0.707,0l0.707-0.707c0.195-0.192,0.195-0.512,0-0.707L9.768,8.354z"/></svg></div></div>'+ app.localization.CommentPostingError.title,group:"error"})};a.prototype.IdeaPostingError=function(){return $.jGrowl(app.localization.IdeaPostingError.text,{header:'<div class="icon icon-close"><div class="svg-content"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"><path class="fill" d="M9.768,8.354c-0.194-0.195-0.194-0.513,0-0.707l4.086-4.087c0.195-0.194,0.195-0.512,0-0.707l-0.707-0.707\tc-0.192-0.194-0.512-0.194-0.707,0L8.354,6.232c-0.194,0.194-0.513,0.194-0.707,0L3.56,2.146c-0.194-0.194-0.513-0.194-0.707,0\tL2.146,2.853c-0.194,0.194-0.194,0.513,0,0.707l4.087,4.087c0.194,0.194,0.194,0.512,0,0.707l-4.087,4.085\tc-0.194,0.195-0.194,0.515,0,0.707l0.707,0.707c0.195,0.195,0.513,0.195,0.707,0l4.087-4.086c0.194-0.194,0.512-0.194,0.707,0\tl4.085,4.086c0.195,0.195,0.515,0.195,0.707,0l0.707-0.707c0.195-0.192,0.195-0.512,0-0.707L9.768,8.354z"/></svg></div></div>'+ app.localization.IdeaPostingError.title,group:"error"})};a.prototype.BugPostingError=function(){return $.jGrowl(app.localization.BugPostingError.text,{header:'<div class="icon icon-close"><div class="svg-content"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"><path class="fill" d="M9.768,8.354c-0.194-0.195-0.194-0.513,0-0.707l4.086-4.087c0.195-0.194,0.195-0.512,0-0.707l-0.707-0.707\tc-0.192-0.194-0.512-0.194-0.707,0L8.354,6.232c-0.194,0.194-0.513,0.194-0.707,0L3.56,2.146c-0.194-0.194-0.513-0.194-0.707,0\tL2.146,2.853c-0.194,0.194-0.194,0.513,0,0.707l4.087,4.087c0.194,0.194,0.194,0.512,0,0.707l-4.087,4.085\tc-0.194,0.195-0.194,0.515,0,0.707l0.707,0.707c0.195,0.195,0.513,0.195,0.707,0l4.087-4.086c0.194-0.194,0.512-0.194,0.707,0\tl4.085,4.086c0.195,0.195,0.515,0.195,0.707,0l0.707-0.707c0.195-0.192,0.195-0.512,0-0.707L9.768,8.354z"/></svg></div></div>'+ app.localization.BugPostingError.title,group:"error"})};a.prototype.ErrorMessage=function(a){return"undefined"!==typeof console&&null!==console?"function"===typeof console.log?console.log(a):void 0:void 0};a.prototype.UnsubscribedFromIdea=function(){return $.jGrowl(app.localization.UnscubscribedSuccessfully.text,{header:'<div class="icon icon-checkmark"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"><path class="fill" d="M15.854,4.56c0.195-0.194,0.195-0.513,0-0.707l-0.709-0.707c-0.193-0.194-0.512-0.194-0.707,0L6.184,11.38L1.562,6.769c-0.195-0.194-0.513-0.195-0.708,0L0.145,7.475c-0.193,0.194-0.194,0.512,0,0.707l5.686,5.672c0.195,0.194,0.513,0.194,0.708,0l0-0.001l0,0L15.854,4.56z"/></svg><div class="svg-content"></div></div>'+ app.localization.UnscubscribedSuccessfully.title,group:"succes"})};b=function(){$.jGrowl.defaults.closer=!1;$.jGrowl.defaults.life=3E3;$.jGrowl.defaults.closeTemplate='<div class="icon icon-close"><div class="svg-content"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 16 16"><path class="fill" d="M9.768,8.354c-0.194-0.195-0.194-0.513,0-0.707l4.086-4.087c0.195-0.194,0.195-0.512,0-0.707l-0.707-0.707c-0.192-0.194-0.512-0.194-0.707,0L8.354,6.232c-0.194,0.194-0.513,0.194-0.707,0L3.56,2.146c-0.194-0.194-0.513-0.194-0.707,0L2.146,2.853c-0.194,0.194-0.194,0.513,0,0.707l4.087,4.087c0.194,0.194,0.194,0.512,0,0.707l-4.087,4.085c-0.194,0.195-0.194,0.515,0,0.707l0.707,0.707c0.195,0.195,0.513,0.195,0.707,0l4.087-4.086c0.194-0.194,0.512-0.194,0.707,0l4.085,4.086c0.195,0.195,0.515,0.195,0.707,0l0.707-0.707c0.195-0.192,0.195-0.512,0-0.707L9.768,8.354z"/></svg></div></div>'; $.jGrowl.defaults.animateOpen={};$.jGrowl.defaults.animateClose={};return $.jGrowl.defaults.beforeOpen=function(a,b,f){$(".jGrowl-notification").not(a).removeClass("show");a.show();setTimeout(function(){return a.addClass("show")},10);return setTimeout(function(){return a.removeClass("show")},f.life)}};return a}());var Pb,Qb,ya,ob;Pb=function(){return function(a){this.model=a;this.performValidation=ko.observable(!1);this.title=ko.computed(function(a){return function(){if(!a.performValidation()||ya(a.model.title()))return!0}}(this)); this.authorName=ko.computed(function(a){return function(){if(!a.performValidation()||ob(a.model.authorName()))return!0}}(this));this.description=ko.computed(function(a){return function(){if(!a.performValidation()||ya(a.model.description()))return!0}}(this));this.authorEmail=ko.computed(function(a){return function(){if(!a.performValidation()||ya(a.model.authorEmail())&&-1!==a.model.authorEmail().indexOf("@"))return!0}}(this));this.giveFeedbackValid=ko.computed(function(a){return function(){return a.title()&& a.authorName()&&a.description()&&a.authorEmail()}}(this))}}();Qb=function(){return function(a){this.model=a;this.performValidation=ko.observable(!1);this.comment=ko.computed(function(a){return function(){if(!a.performValidation()||ya(a.model.comment()))return!0}}(this));this.userName=ko.computed(function(a){return function(){if(!a.performValidation()||ob(a.model.userName()))return!0}}(this));this.email=ko.computed(function(a){return function(){if(!a.performValidation()||ya(a.model.email())&&-1!== a.model.email().indexOf("@"))return!0}}(this));this.commentValid=ko.computed(function(a){return function(){return a.comment()&&a.userName()&&a.email()}}(this))}}();ya=function(a){return a&&0!==a.length?!0:!1};ob=function(a){var b,e,d;if(!1===ya(a))return!1;b=app.localization.ForbiddenUserNames.toLocaleLowerCase().split(",");e=$.trim(a.toLocaleLowerCase());d=!0;pa.each(b,function(a){if($.trim(a)===e)return d=!1});return d};Z=function(){function a(a,d){this.root=a;this.viewName=d;this.isVisible=ko.computed(b, this)}var b;a.prototype.getCurrentStateUrl=function(){throw Error(this.viewName+" view should implement getCurrentStateUrl method");};b=function(){return this.root.activeViewName()===this.viewName};return a}();var pb,va=function(a,b){return function(){return a.apply(b,arguments)}},U={}.hasOwnProperty,ca=function(a,b){function e(){this.constructor=a}for(var d in b)U.call(b,d)&&(a[d]=b[d]);e.prototype=b.prototype;a.prototype=new e;a.__super__=b.prototype;return a};pb=function(a){function b(a){this.root= a;this.captchaCallback=va(this.captchaCallback,this);b.__super__.constructor.call(this,this.root,bb.viewNames.GIVE_FEEDBACK);this.type=ko.observable(d.IDEA);this.title=ko.observable("");this.description=ko.observable("");this.authorName=this.root.authorName;this.authorEmail=this.root.authorEmail;this.notifyMe=ko.observable(!0);this.includeScreenShot=ko.observable(!0);this.validation=new Pb(this);this.isVisible.subscribe(function(a){return function(b){if(b)return a.validation.performValidation(!1)}}(this)); this.sliderClassName=ko.observable("showcontent-help");this.similarIdeas=ko.observableArray([]).extend({rateLimit:50});this.pageClassName=ko.computed(c,this);this.ideaButtonClassName=ko.computed(u,this);this.bugButtonClassName=ko.computed(f,this);this.ideaMobileHelpVisible=ko.computed(p,this);this.bugMobileHelpVisible=ko.computed(s,this);this.searchSimilar=ko.computed(t,this).extend({throttle:250});this.useShortText=ko.observable(J.isMobile());this.ideaButtonText=ko.computed(n,this);this.bugButtonText= ko.computed(l,this);this.canSeeCaptcha=ko.computed(g,this);this.canSeeCaptcha.subscribe(function(a){return app.rootVm.canSeeCaptcha(a)});this.addIdeaHelpTitle=app.localization.AddIdeaHeader.text;app.localization.GiveFeedbackIdeaSubject&&(this.addIdeaHelpTitle=app.localization.GiveFeedbackIdeaSubject);this.addIdeaHelpBody=[app.localization.SubmitIdeaPageDescription.text,"\n\n",app.localization.SubmiitIdeaBestRegards.text].join("");app.localization.GiveFeedbackIdeaBody&&(this.addIdeaHelpBody=app.localization.GiveFeedbackIdeaBody); this.reportBugHelpTitle=app.localization.ReportBugPageHeader.text;app.localization.GiveFeedbackBugSubject&&(this.reportBugHelpTitle=app.localization.GiveFeedbackBugSubject);this.reportBugHelpBody=[app.localization.ReportBugPageDescription.text,"\n\n",app.localization.ReportBugBestRegards.text].join("");app.localization.GiveFeedbackBugBody&&(this.reportBugHelpBody=app.localization.GiveFeedbackBugBody);this.posting=!1}var e,d,f,g,l,n,s,p,u,c,t;ca(b,a);b.types=d={IDEA:"idea",BUG:"bug"};b.DEFAULT_TYPE= e=b.types.IDEA;b.prototype.getCurrentStateUrl=function(){return app.urls.giveFeedback(this.type())};b.prototype.resetFields=function(){this.validation.performValidation(!1);this.title("");this.description("");return this.includeScreenShot(!0)};b.prototype.setType=function(a){null==a&&(a=e);return this.type(a)};b.prototype.getUserAgentParams=function(){return{browser:J.info.browser.name,browserFullName:J.info.browser.fullname,os:J.info.os.name,osFullName:J.info.os.fullname,device:J.info.device.type, userAgent:J.info.ua}};b.prototype.submit=function(){var a;this.validation.performValidation(!0);if(this.validation.giveFeedbackValid()&&!this.posting)return a=$(":focus"),a.blur(),app.captchaSubscription&&(app.captchaSubscription.dispose(),app.captchaSubscription=null),app.captchaSubscription=app.captchaToken.subscribe(this.captchaCallback),grecaptcha.execute()};b.prototype.captchaCallback=function(a){a={title:this.title(),description:this.description(),authorName:this.authorName(),authorEmail:this.authorEmail(), token:a};return this.submitRequest(a)};b.prototype.submitRequest=function(a){var b;b=this.getUserAgentParams();app.rootVm.ideaList.scrollTop.valueHasMutated();this.posting=!0;app.captchaSubscription.dispose();app.captchaSubscription=null;grecaptcha.reset();switch(this.type()){case d.IDEA:return a.subscribe=this.notifyMe(),app.backend.postIdea(a,app.getHostPageUrl(),this.root.culture,b).done(function(b){return function(c){a.subscribe&&app.backend.subscribe(c.id,c.userEmail,c.userName);b.resetFields(); hasher.setHash(app.urls.ideaList(ra.modes.RECENT));ha.IdeaPosted();return b.posting=!1}}(this)).fail(function(){ha.IdeaPostingError();return this.posting=!1});case d.BUG:return app.backend.submitBug(a,b).done(function(a){return function(){a.resetFields();hasher.setHash(app.urls.ideaList(ra.modes.POPULAR));ha.BugReported();return a.posting=!1}}(this)).fail(function(){ha.BugPostingError();return this.posting=!1})}};u=function(){switch(this.type()){case d.IDEA:return"btn-active btn-no-hover";default:return"btn-transparent"}}; f=function(){switch(this.type()){case d.BUG:return"btn-active btn-no-hover";default:return"btn-transparent"}};c=function(){switch(this.type()){case d.IDEA:return"showcontent-idea";case d.BUG:return"showcontent-bug"}};p=function(){var a;a=this.type()===d.IDEA;return this.isVisible()&&a};s=function(){var a;a=this.type()===d.BUG;return this.isVisible()&&a};t=function(){var a,b,c;if(!J.isMobile())return a=this.title(),b=$.trim(a),c=this.type(),c===d.IDEA&&3<=b.length?app.backend.searchIdeas(a,40,40,this.root.culture).then(function(a){return function(b){var c; b=null!=(c=b.found)?c:[];return 0<b.length?(a.sliderClassName("showcontent-similar"),a.similarIdeas(b.slice(0,3))):a.sliderClassName("showcontent-help")}}(this)):this.sliderClassName("showcontent-help")};n=function(){return J.isMobile()?app.localization.GiveIdeaShort.text:this.useShortText()?app.localization.GiveIdeaShort.text:app.localization.AddIdeaHeader.text};l=function(){return J.isMobile()?app.localization.GiveBugShort.text:this.useShortText()?app.localization.GiveBugShort.text:app.localization.ReportBugHeader.text}; g=function(){var a;a=!!this.description();return!!this.title()&&a&&"showpage-create"===app.rootVm.pageClassName()};return b}(Z);var aa;aa=function(){function a(a){this.id=ko.observable();this.isDataFilled=ko.observable(!1);this.isDataNotFilled=ko.computed(g,this);this.title=ko.observable();this.creationDate=ko.observable();this.status=ko.observable();this.description=ko.observable();this.userName=ko.observable();this.votesCount=ko.observable();this.voted=ko.observable();this.commentsCount=ko.observable(); this.voting=ko.observable(!1);this.comments=ko.observableArray();this.voteAllowedOnWebsite=ko.computed(function(a){return function(){return 0<app.websiteVotesLeft()}}(this));this.voteAllow=ko.computed(function(a){return function(){var d,f,c,g;f=a.status();c=a.voteAllowedOnWebsite();g=a.voted();d=e.YES;f!==b.POSTED&&f!==b.BEING_CONSIDERED&&(d=e.NO_DUE_IDEA_STATUS);d===e.YES&&!0===g&&(d=e.NO_ALREADY_VOTED);d===e.YES&&!1===c&&(d=e.NO_VOTES_LIMIT_REACHED);d!==e.YES||app.isLocalStorageSupported||(d=e.NO_COOKIES_DISABLED); return d}}(this));this.canVote=ko.computed(function(a){return function(){var b,d,c;b=a.voteAllowedOnWebsite();c=a.voting();d=a.voteAllow()===e.YES;return b&&!c&&d}}(this));a&&this.update(a)}var b,e,d,f,g,l;a.statuses=b={POSTED:0,BEING_IMPLEMENTED:2,IMPLEMENTED:3,REJECTED:4,BEING_CONSIDERED:5};a.voteResults=d={NOT_ALLOWED_ANYMORE:2,ALREADY_VOTED:4};a.voteAllowedStatus=e={YES:1,NO_DUE_IDEA_STATUS:2,NO_ALREADY_VOTED:3,NO_VOTES_LIMIT_REACHED:4,NO_IDEA_DOES_NOT_EXISTS:5,NO_COOKIES_DISABLED:6};a.prototype.update= function(a){var b,d;this.id(a.id);this.title(a.title);this.creationDate(a.createdAt);this.status(a.status);this.description(a.description);this.userName(a.userName);this.votesCount(a.votesCount);this.voted(!1);this.commentsCount(a.commentsCount);a.Comments&&this.comments(function(){var d,c,e,f;e=a.Comments;f=[];d=0;for(c=e.length;d<c;d++)b=e[d],f.push(new nb(b));return f}());(d=l.exec(a.CreationDate))&&this.creationDate(new Date(parseInt(d[1])));return this.isDataFilled(!0)};a.prototype.vote=function(){return O(function(a){return function(b){var e, f,c;if(!a.canVote()||a.voted())return b.reject();f=function(c){a.votesCount(a.votesCount()+1);a.voted(!0);app.websiteVotesLeft(app.websiteVotesLeft()-1);return b.resolve()};c=function(c){a.voted(!1);b.reject();if(c=$.parseJSON(c))if(c.code===d.NOT_ALLOWED_ANYMORE&&app.refreshVotesLeft(),c.code===d.ALREADY_VOTED)return a.voted(!0)};e=function(b){return a.voting(!1)};app.captchaSubscription&&(app.captchaSubscription.dispose(),app.captchaSubscription=null);app.captchaSubscription=app.captchaToken.subscribe(function(b){a.voting(!0); app.captchaSubscription.dispose();app.captchaSubscription=null;grecaptcha.reset();return app.backend.vote(a.id(),b).done(f).fail(c).always(e)});return grecaptcha.execute()}}(this))};a.getByDto=function(b){var d;(d=f[b.id])?d.update(b):d=f[b.id]=new a(b);return d};a.getById=function(b){var d;d=f[b];d||(d=f[b]=new a,d.id(b));return d};f={};g=function(){return!this.isDataFilled()};l=/^\/Date\(([0-9]+)(\+[0-9]+)?\)\/$/;return a}();$(E).on("click",".btn-vote",function(){return ko.dataFor(this).vote()}); var qb,U={}.hasOwnProperty;qb=function(){function a(a){var e,d;this.model=a;this._copyModelFields();this.statusIconTemplate=ko.computed(this.getStatusIconTemplate,this);this.statusTooltip=ko.computed(this.getStatusTooltip,this);this.voteTooltip=ko.computed(this.getVoteTooltip,this);d=ko.computed(function(a){return function(){var b,d,e;b=a.canVote();e=a.voting();d=a.voted();return!b||e||d}}(this));this.voteIconTemplate=ko.computed(function(a){return function(){return a.voted()||a.voting()?"icon-checkmark": "icon-like"}}(this));e=function(){var a;a=app.rootVm.colors();return d()?a.textLighter:a.contrastFill};this.iconLikeColor=ko.computed(function(){return J.isMobile()?e():"#fff"});this.iconLikeSmallColor=ko.computed(e);this.iconLikeSmallColorHoverActive=ko.computed(function(a){return function(){var a;a=app.rootVm.colors();return d()?a.textLighter:a.textDarker}}(this))}a.prototype.getStatusIconTemplate=function(){switch(this.model.status()){case aa.statuses.POSTED:return"icon-new";case aa.statuses.BEING_IMPLEMENTED:return"icon-being-implemented"; case aa.statuses.IMPLEMENTED:return"icon-checkmark";case aa.statuses.REJECTED:return"icon-close";case aa.statuses.BEING_CONSIDERED:return"icon-considered"}};a.prototype.getStatusTooltip=function(){var a,e;switch(this.model.status()){case aa.statuses.POSTED:return null!=(a=null!=(e=app.localization.PostedIdeaIcon)?e.title:void 0)?a:"?New idea!";case aa.statuses.BEING_IMPLEMENTED:return app.localization.InProgressIdeaIcon.title;case aa.statuses.IMPLEMENTED:return app.localization.ImplementedIdeaIcon.title; case aa.statuses.REJECTED:return app.localization.RejectedIdeaIcon.title;case aa.statuses.BEING_CONSIDERED:return app.localization.ConcideredIdeaIcon.title}};a.prototype.getVoteTooltip=function(){var a,e,d,f,g,l,n,s,p,u,c;switch(this.voteAllow()){case aa.voteAllowedStatus.YES:return null!=(a=app.localization.DefaultPageVote)?a:"?Vote";case aa.voteAllowedStatus.NO_DUE_IDEA_STATUS:return null!=(e=null!=(f=app.localization.InvalidIteaStatus)?f.text:void 0)?e:"?You cannot vote for this idea any more"; case aa.voteAllowedStatus.NO_ALREADY_VOTED:return null!=(g=null!=(l=app.localization.NoAlreadyVoted)?l.title:void 0)?g:"?You can only vote one time on the same idea";case aa.voteAllowedStatus.NO_VOTES_LIMIT_REACHED:return null!=(n=null!=(s=app.localization.WebSiteVotesExceeded)?s.text:void 0)?n:"?You have used all your votes this month. Please wait until next month before voting again";case aa.voteAllowedStatus.NO_IDEA_DOES_NOT_EXISTS:return null!=(p=null!=(u=app.localization.IdeaDoesNotExist)?u.text: void 0)?p:"?Idea does not exist any more";case aa.voteAllowedStatus.NO_COOKIES_DISABLED:return null!=(c=null!=(d=app.localization.CookiesDisabled)?d.text:void 0)?c:"?Voting requires cookies to be enabled"}};a.prototype.vote=function(){return this.model.vote().done(function(){return ha.VoteAccepted()}).fail(function(a){var e;if(a)return e=a=a.ErrorMessage.split(".").pop(),app.localization[a]&&(e=app.localization[a]),ha.ErrorMessage(e)})};a.prototype._copyModelFields=function(){var a,e,d,f;d=this.model; f=[];for(a in d)U.call(d,a)&&(e=d[a],f.push(this[a]=e));return f};return a}();var sa,U={}.hasOwnProperty,ca=function(a,b){function e(){this.constructor=a}for(var d in b)U.call(b,d)&&(a[d]=b[d]);e.prototype=b.prototype;a.prototype=new e;a.__super__=b.prototype;return a};sa=function(a){function b(a){b.__super__.constructor.call(this,a);this.titleHighlighted=ko.observable();this.descriptionHighlighted=ko.observable()}var e;ca(b,a);b.prototype.localUrl=function(a){return app.urls.ideaDetails(this.model.id(), a)};b.getByModel=function(a){var f,g;f=a.id();(g=e[f])||(g=e[f]=new b(a));return g};b.getByModelId=function(a){var f;f=e[a];f||(f=aa.getById(a),f=e[a]=new b(f));return f};e={};return b}(qb);var pa=function(){function a(b,c,d){if(b===c)return 0!==b||1/b==1/c;if(null==b||null==c)return b===c;b._chain&&(b=b._wrapped);c._chain&&(c=c._wrapped);if(b.isEqual&&p.isFunction(b.isEqual))return b.isEqual(c);if(c.isEqual&&p.isFunction(c.isEqual))return c.isEqual(b);var e=l.call(b);if(e!=l.call(c))return!1;switch(e){case "[object String]":return b== String(c);case "[object Number]":return b!=+b?c!=+c:0==b?1/b==1/c:b==+c;case "[object Date]":case "[object Boolean]":return+b==+c;case "[object RegExp]":return b.source==c.source&&b.global==c.global&&b.multiline==c.multiline&&b.ignoreCase==c.ignoreCase}if("object"!=typeof b||"object"!=typeof c)return!1;for(var f=d.length;f--;)if(d[f]==b)return!0;d.push(b);var f=0,g=!0;if("[object Array]"==e){if(f=b.length,g=f==c.length)for(;f--&&(g=f in b==f in c&&a(b[f],c[f],d)););}else{if("constructor"in b!="constructor"in c||b.constructor!=c.constructor)return!1;for(var n in b)if(p.has(b,n)&&(f++,!(g=p.has(c,n)&&a(b[n],c[n],d))))break;if(g){for(n in c)if(p.has(c,n)&&!f--)break;g=!f}}d.pop();return g}var b={},e=Array.prototype,d=Object.prototype,f=e.slice,g=e.unshift,l=d.toString,n=d.hasOwnProperty,d=Array.isArray,s=Object.keys,p=function(a){return new r(a)};p.VERSION="1.3.1";var u=p.each=p.forEach=function(a,c,d){if(null!=a)if(a.length===+a.length)for(var e=0,f=a.length;e<f&&!(e in a&&c.call(d,a[e],e,a)===b);e++); else for(e in a)if(p.has(a,e)&&c.call(d,a[e],e,a)===b)break};p.map=p.collect=function(a,b,c){var d=[];if(null==a)return d;u(a,function(a,e,f){d[d.length]=b.call(c,a,e,f)});return d};p.reduce=p.foldl=p.inject=function(a,b,c,d){var e=2<arguments.length;null==a&&(a=[]);u(a,function(a,f,g){e?c=b.call(d,c,a,f,g):(c=a,e=!0)});if(!e)throw new TypeError("Reduce of empty array with no initial value");return c};p.reduceRight=p.foldr=function(a,b,c,d){var e=2<arguments.length;null==a&&(a=[]);var f=p.toArray(a).reverse(); d&&!e&&(b=p.bind(b,d));return e?p.reduce(f,b,c,d):p.reduce(f,b)};p.find=p.detect=function(a,b,d){var e;c(a,function(a,c,f){if(b.call(d,a,c,f))return e=a,!0});return e};p.filter=p.select=function(a,b,c){var d=[];if(null==a)return d;u(a,function(a,e,f){b.call(c,a,e,f)&&(d[d.length]=a)});return d};p.reject=function(a,b,c){var d=[];if(null==a)return d;u(a,function(a,e,f){b.call(c,a,e,f)||(d[d.length]=a)});return d};p.every=p.all=function(a,c,d){var e=!0;if(null==a)return e;u(a,function(a,f,g){if(!(e= e&&c.call(d,a,f,g)))return b});return e};var c=p.some=p.any=function(a,c,d){c||(c=p.identity);var e=!1;if(null==a)return e;u(a,function(a,f,g){if(e||(e=c.call(d,a,f,g)))return b});return!!e};p.include=p.contains=function(a,b){var d=!1;return null==a?d:d=c(a,function(a){return a===b})};p.invoke=function(a,b){var c=f.call(arguments,2);return p.map(a,function(a){return(p.isFunction(b)?b||a:a[b]).apply(a,c)})};p.pluck=function(a,b){return p.map(a,function(a){return a[b]})};p.max=function(a,b,c){if(!b&& p.isArray(a))return Math.max.apply(Math,a);if(!b&&p.isEmpty(a))return-Infinity;var d={computed:-Infinity};u(a,function(a,e,f){e=b?b.call(c,a,e,f):a;e>=d.computed&&(d={value:a,computed:e})});return d.value};p.min=function(a,b,c){if(!b&&p.isArray(a))return Math.min.apply(Math,a);if(!b&&p.isEmpty(a))return Infinity;var d={computed:Infinity};u(a,function(a,e,f){e=b?b.call(c,a,e,f):a;e<d.computed&&(d={value:a,computed:e})});return d.value};p.shuffle=function(a){var b=[],c;u(a,function(a,d,e){0==d?b[0]= a:(c=Math.floor(Math.random()*(d+1)),b[d]=b[c],b[c]=a)});return b};p.sortBy=function(a,b,c){return p.pluck(p.map(a,function(a,d,e){return{value:a,criteria:b.call(c,a,d,e)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")};p.groupBy=function(a,b){var c={},d=p.isFunction(b)?b:function(a){return a[b]};u(a,function(a,b){var e=d(a,b);(c[e]||(c[e]=[])).push(a)});return c};p.sortedIndex=function(a,b,c){c||(c=p.identity);for(var d=0,e=a.length;d<e;){var f=d+e>>1;c(a[f])< c(b)?d=f+1:e=f}return d};p.toArray=function(a){return a?a.toArray?a.toArray():p.isArray(a)||p.isArguments(a)?f.call(a):p.values(a):[]};p.size=function(a){return p.toArray(a).length};p.first=p.head=function(a,b,c){return null==b||c?a[0]:f.call(a,0,b)};p.initial=function(a,b,c){return f.call(a,0,a.length-(null==b||c?1:b))};p.last=function(a,b,c){return null==b||c?a[a.length-1]:f.call(a,Math.max(a.length-b,0))};p.rest=p.tail=function(a,b,c){return f.call(a,null==b||c?1:b)};p.compact=function(a){return p.filter(a, function(a){return!!a})};p.flatten=function(a,b){return p.reduce(a,function(a,c){if(p.isArray(c))return a.concat(b?c:p.flatten(c));a[a.length]=c;return a},[])};p.without=function(a){return p.difference(a,f.call(arguments,1))};p.uniq=p.unique=function(a,b,c){c=c?p.map(a,c):a;var d=[];p.reduce(c,function(c,e,f){0!=f&&(!0===b?p.last(c)==e:p.include(c,e))||(c[c.length]=e,d[d.length]=a[f]);return c},[]);return d};p.union=function(){return p.uniq(p.flatten(arguments,!0))};p.intersection=p.intersect=function(a){var b= f.call(arguments,1);return p.filter(p.uniq(a),function(a){return p.every(b,function(b){return 0<=p.indexOf(b,a)})})};p.difference=function(a){var b=p.flatten(f.call(arguments,1));return p.filter(a,function(a){return!p.include(b,a)})};p.zip=function(){for(var a=f.call(arguments),b=p.max(p.pluck(a,"length")),c=Array(b),d=0;d<b;d++)c[d]=p.pluck(a,""+d);return c};p.indexOf=function(a,b,c){if(null==a)return-1;var d;if(c)return c=p.sortedIndex(a,b),a[c]===b?c:-1;c=0;for(d=a.length;c<d;c++)if(c in a&&a[c]=== b)return c;return-1};p.lastIndexOf=function(a,b){if(null==a)return-1;for(var c=a.length;c--;)if(c in a&&a[c]===b)return c;return-1};p.range=function(a,b,c){1>=arguments.length&&(b=a||0,a=0);c=arguments[2]||1;for(var d=Math.max(Math.ceil((b-a)/c),0),e=0,f=Array(d);e<d;)f[e++]=a,a+=c;return f};var t=function(){};p.bind=function(a,b){var c,d;if(!p.isFunction(a))throw new TypeError;d=f.call(arguments,2);return c=function(){if(!(this instanceof c))return a.apply(b,d.concat(f.call(arguments)));t.prototype= a.prototype;var e=new t,g=a.apply(e,d.concat(f.call(arguments)));return Object(g)===g?g:e}};p.bindAll=function(a){var b=f.call(arguments,1);0==b.length&&(b=p.functions(a));u(b,function(b){a[b]=p.bind(a[b],a)});return a};p.memoize=function(a,b){var c={};b||(b=p.identity);return function(){var d=b.apply(this,arguments);return p.has(c,d)?c[d]:c[d]=a.apply(this,arguments)}};p.delay=function(a,b){var c=f.call(arguments,2);return setTimeout(function(){return a.apply(a,c)},b)};p.defer=function(a){return p.delay.apply(p, [a,1].concat(f.call(arguments,1)))};p.throttle=function(a,b){var c,d,e,f,g,l=p.debounce(function(){g=f=!1},b);return function(){c=this;d=arguments;e||(e=setTimeout(function(){e=null;g&&a.apply(c,d);l()},b));f?g=!0:a.apply(c,d);l();f=!0}};p.debounce=function(a,b){var c;return function(){var d=this,e=arguments;clearTimeout(c);c=setTimeout(function(){c=null;a.apply(d,e)},b)}};p.once=function(a){var b=!1,c;return function(){if(b)return c;b=!0;return c=a.apply(this,arguments)}};p.wrap=function(a,b){return function(){var c= [a].concat(f.call(arguments,0));return b.apply(this,c)}};p.compose=function(){var a=arguments;return function(){for(var b=arguments,c=a.length-1;0<=c;c--)b=[a[c].apply(this,b)];return b[0]}};p.after=function(a,b){return 0>=a?b():function(){if(1>--a)return b.apply(this,arguments)}};p.keys=s||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var b=[],c;for(c in a)p.has(a,c)&&(b[b.length]=c);return b};p.values=function(a){return p.map(a,p.identity)};p.functions=p.methods=function(a){var b= [],c;for(c in a)p.isFunction(a[c])&&b.push(c);return b.sort()};p.extend=function(a){u(f.call(arguments,1),function(b){for(var c in b)a[c]=b[c]});return a};p.defaults=function(a){u(f.call(arguments,1),function(b){for(var c in b)null==a[c]&&(a[c]=b[c])});return a};p.clone=function(a){return p.isObject(a)?p.isArray(a)?a.slice():p.extend({},a):a};p.tap=function(a,b){b(a);return a};p.isEqual=function(b,c){return a(b,c,[])};p.isEmpty=function(a){if(p.isArray(a)||p.isString(a))return 0===a.length;for(var b in a)if(p.has(a, b))return!1;return!0};p.isElement=function(a){return!(!a||1!=a.nodeType)};p.isArray=d||function(a){return"[object Array]"==l.call(a)};p.isObject=function(a){return a===Object(a)};p.isArguments=function(a){return"[object Arguments]"==l.call(a)};p.isArguments(arguments)||(p.isArguments=function(a){return!(!a||!p.has(a,"callee"))});p.isFunction=function(a){return"[object Function]"==l.call(a)};p.isString=function(a){return"[object String]"==l.call(a)};p.isNumber=function(a){return"[object Number]"== l.call(a)};p.isNaN=function(a){return a!==a};p.isBoolean=function(a){return!0===a||!1===a||"[object Boolean]"==l.call(a)};p.isDate=function(a){return"[object Date]"==l.call(a)};p.isRegExp=function(a){return"[object RegExp]"==l.call(a)};p.isNull=function(a){return null===a};p.isUndefined=function(a){return void 0===a};p.has=function(a,b){return n.call(a,b)};p.identity=function(a){return a};p.times=function(a,b,c){for(var d=0;d<a;d++)b.call(c,d)};p.escape=function(a){return(""+a).replace(/&/g,"&").replace(/</g, "<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")};p.mixin=function(a){u(p.functions(a),function(b){J(b,p[b]=a[b])})};var v=0;p.uniqueId=function(a){var b=v++;return a?a+b:b};p.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var F=/.^/,w=function(a){return a.replace(/\\\\/g,"\\").replace(/\\'/g,"'")};p.template=function(a,b){var c=p.templateSettings,c="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+ a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(c.escape||F,function(a,b){return"',_.escape("+w(b)+"),'"}).replace(c.interpolate||F,function(a,b){return"',"+w(b)+",'"}).replace(c.evaluate||F,function(a,b){return"');"+w(b).replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",d=new Function("obj","_",c);return b?d(b,p):function(a){return d.call(this,a,p)}};p.chain=function(a){return p(a).chain()};var r=function(a){this._wrapped= a};p.prototype=r.prototype;var E=function(a,b){return b?p(a).chain():a},J=function(a,b){r.prototype[a]=function(){var a=f.call(arguments);g.call(a,this._wrapped);return E(b.apply(p,a),this._chain)}};p.mixin(p);u("pop push reverse shift sort splice unshift".split(" "),function(a){var b=e[a];r.prototype[a]=function(){var c=this._wrapped;b.apply(c,arguments);var d=c.length;"shift"!=a&&"splice"!=a||0!==d||delete c[0];return E(c,this._chain)}});u(["concat","join","slice"],function(a){var b=e[a];r.prototype[a]= function(){return E(b.apply(this._wrapped,arguments),this._chain)}});r.prototype.chain=function(){this._chain=!0;return this};r.prototype.value=function(){return this._wrapped};return p}.call(),Rb,U={}.hasOwnProperty;Rb=function(){function a(a,e,d,f){this.websiteId=a;this.boardId=e;this.customMetadata=d;this.token=f;this._greetingAnswer=this._closedDeferred=this._recentDeferred=this._popularDeferred=this._token=null;this._backendUrl=ja.BackendUrl;this._ff_api_token=this.token}a.prototype._initDeferreds= function(){this._popularDeferred||(this._popularDeferred=O());this._recentDeferred||(this._recentDeferred=O());if(!this._closedDeferred)return this._closedDeferred=O()};a.prototype.createMeta=function(a){var e,d,f;null==a&&(a={});d={};null!==this.customMetadata&&(d.userdata=this.customMetadata);for(e in a)U.call(a,e)&&(f=a[e],d[e]=f);return d};a.prototype.getAllIdeas=function(){var a;a=O();$.when(this.getIdeas(ra.modes.POPULAR),this.getIdeas(ra.modes.RECENT),this.getIdeas(ra.modes.CLOSED)).then(function(e, d,f){e=pa.union(e,d,f);return a.resolve(e)});return a.promise()};a.prototype.getIdeasByIds=function(a){var e,d;e=O();$.isArray(a)&&a.length?(d=function(a){var b,d,n,s;s=[];d=0;for(n=a.length;d<n;d++)b=a[d],s.push(aa.getByDto(b));return e.resolve(s)},this._callRemoteMethod(this.boardId+"/ideas/ids",{ideaIds:a}).then(d).fail(e.reject)):e.resolve([]);return e};a.prototype.getIdeas=function(a){var e,d,f,g;this._initDeferreds();e=this.boardId+"/ideas/";g=function(){switch(a){case ra.modes.POPULAR:return[e+ "popular",this._popularDeferred];case ra.modes.RECENT:return[e+"newest",this._recentDeferred];case ra.modes.CLOSED:return[e+"closed",this._closedDeferred]}}.call(this);f=g[0];d=g[1];"resolved"!==d.state()&&(g=function(a){var b,e,f,g;g=[];e=0;for(f=a.length;e<f;e++)b=a[e],g.push(aa.getByDto(b));return d.resolve(g)},this._callRemoteMethod(f).then(g).fail(d.reject));return d.promise()};a.prototype.getUserVotedIdeas=function(){var a;a=O();Ea.respondentIdPromise().done(function(e){return function(d){return e._callRemoteMethod(e.boardId+ "/users/"+d+"/votes/ideas",{}).then(a.resolve).fail(a.reject)}}(this));return a.promise()};a.prototype.getUserVotesLeft=function(){var a;a=O();Ea.respondentIdPromise().done(function(e){return function(d){return e._callRemoteMethod(e.boardId+"/users/"+d+"/votes/left",{}).then(a.resolve).fail(a.reject)}}(this));return a.promise()};a.prototype.searchIdeas=function(a,e,d,f){return this._callRemoteMethod(this.boardId+"/ideas/search",{searchTerm:a,visibleTitleLength:e,visibleDescriptionLength:d,culture:f}, "GET",!0)};a.prototype.getIdeaDetails=pa.memoize(function(a){var e;e=O();return this._callRemoteMethod(this.boardId+"/ideas/"+a,{id:a}).then(function(a){return aa.getByDto(a)}).fail(e.reject)});a.prototype.loadIdeaComments=function(a){var e;e=O();this._callRemoteMethod(this.boardId+"/ideas/"+a+"/comments",{id:a}).then(e.resolve).fail(e.reject);return e.promise()};a.prototype.vote=function(a,e){return O(function(d){return function(f){return Ea.respondentIdPromise().done(function(g){return d._callRemoteMethod(d.boardId+ "/users/"+g+"/votes/ideas/"+a,{token:e},"PUT").done(function(a){return f.resolve(a)}).fail(function(a){return f.reject(a.responseText)})})}}(this))};a.prototype.postIdea=function(a,e,d,f){var g,l;g={title:a.title,description:a.description,userName:a.authorName,userEmail:a.authorEmail,subscribe:a.subscribe,token:a.token,metadata:this.createMeta({userreport:{url:e,culture:d,browser:f.browser,browserFullName:f.browserFullName,os:f.os,osFullName:f.osFullName,device:f.device,userAgent:f.userAgent}})}; l=O();Ea.respondentIdPromise().done(function(a){return function(b){g.userId=b;return $.when(a._callRemoteMethod(a.boardId+"/ideas",g,"POST")).then(function(b){a._popularDeferred=null;a._recentDeferred=null;return l.resolve(b)}).fail(function(a){return l.reject(a)})}}(this));return l.promise()};a.prototype.submitBug=function(a,e){var d;d={title:a.title,description:a.description,userName:a.authorName,userEmail:a.authorEmail,token:a.token,metadata:this.createMeta({userreport:{browser:e.browser,browserFullName:e.browserFullName, os:e.os,osFullName:e.osFullName,device:e.device,userAgent:e.userAgent}})};return this._callRemoteMethod(this.boardId+"/bugs",d,"POST")};a.prototype.postComment=function(a,e,d,f,g,l,n,s){var p;p=O();e={userEmail:f,userName:d,text:e,postedByAdmin:!1,metadata:this.createMeta({userreport:{url:l,culture:n}}),token:s};$.when(this._callRemoteMethod(this.boardId+"/ideas/"+a+"/comments",e,"POST")).done(function(a){return p.resolve(a.PostCommentResult)}).fail(p.reject);return p.promise()};a.prototype.subscribe= function(a,e,d){return this._callRemoteMethod(this.boardId+"/ideas/"+a+"/subscriptions",{ideaId:a,userName:d,userEmail:e},"POST")};a.prototype.unsubscribe=function(a,e){return this._callRemoteMethod(this.boardId+"/ideas/"+a+"/subscriptions/"+e,{},"DELETE")};a.prototype.hello=function(){var a;a=O();this._greetingAnswer||(this._greetingAnswer="hello");a.resolve();return a};a.prototype._callRemoteMethod=function(a,e,d,f){null==f&&(f=!1);return f?this._doRequest(a,e,d):O(function(f){return function(l){return Ea.respondentIdPromise().done(function(n){n= $.extend({},e,{userId:n});n=f._doRequest(a,n,d);n.done(function(){return l.resolve.apply(l,arguments)});return n.fail(function(){return l.reject.apply(l,arguments)})})}}(this))};a.prototype._doRequest=function(a,e,d){var f,g;this._token&&(e.token=this._token);g=null!=d?d:"GET";f="text/plain";d=e;if("POST"===g||"PUT"===g)d=JSON.stringify(e),f="application/json; charset=utf-8";return $.ajax(this._backendUrl+"/v1/boards/"+a,{method:g,data:d,dataType:"json",contentType:f,cache:!1,scriptCharset:"utf-8", headers:{"x-ff-token":this._token,Authorization:"Bearer "+this._ff_api_token}}).success(function(a){return function(b){if(b.hasOwnProperty("token"))return a._token=b.token,"object"===$.type(b.result)?$.extend(b,b.result):b.valueOf=function(){return b.result}}}(this))};return a}();var Sb;Sb=function(){function a(){}var b,e;b=function(a){if(a&&(a=a.match(/^#([0-9a-f]{6})$/i)[1]))return{r:parseInt(a.substr(0,2),16),g:parseInt(a.substr(2,2),16),b:parseInt(a.substr(4,2),16),a:1}};e=function(a){var b;b= function(a){a=Math.floor(a).toString(16);return 1===a.length?"0"+a:a};return"#"+b(a.r)+b(a.g)+b(a.b)};a.getCustomizationColors=function(a){var f,g,l,n,s,p,u,c,t,v,w,H;a=(a=b(a))||{r:17,g:150,b:252,a:1};l={r:255,g:255,b:255,a:1};v=less.shade(a,10);w=less.shade(a,20);u=less.shade(a,30);c=less.shade(a,85);t=less.tint(a,50);g=less.contrast(a,u,a,65);f=less.contrast(a,c,l,65);p=less.contrast(a,{r:0,g:0,b:0,a:1},l,65);n=less.contrast(a,c,a,30);s=less.contrast(a,a,t,30);l=less.shade(g,10);H=less.tint(g, 90);return{primary:e(a),primaryDark:e(v),primaryDarker:e(w),primaryContrast1:e(u),primaryContrast2:e(c),primaryContrast3:e(t),contrastFill:e(g),contrastColor:e(f),icon:e(p),growlBg:e(n),growlIcon:e(s),contrastFillDark:e(l),primaryLight:e(H),body:"#ecefef",bodyLight:"#f2f5f5",bodyDark:"#e7ebeb",border:"#d5e2e2",borderDashed:"#c2cdcd",textLight:"#889696",textLighter:"#a6b5b5",textDisabled:"#b3c1c1",textRegular:"#5c6767",textDark:"#2a3535",textDarker:"#191e1e"}};return a}();(function(){function a(a, e){return e[plural=0==a?0:1==a?1:2==a?2:3<=a%100&&10>=a%100?3:11<=a%100?4:5]}jQuery.timeago.settings.strings.ar={prefixAgo:"\u0645\u0646\u0630",prefixFromNow:"\u0628\u0639\u062f",suffixAgo:null,suffixFromNow:null,second:function(b){return a(b,"\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629;\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629;\u062b\u0627\u0646\u064a\u062a\u064a\u0646;%d \u062b\u0648\u0627\u0646\u064d;%d \u062b\u0627\u0646\u064a\u0629;%d \u062b\u0627\u0646\u064a\u0629".split(";"))}, seconds:function(b){return a(b,"\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629;\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629;\u062b\u0627\u0646\u064a\u062a\u064a\u0646;%d \u062b\u0648\u0627\u0646\u064d;%d \u062b\u0627\u0646\u064a\u0629;%d \u062b\u0627\u0646\u064a\u0629".split(";"))},minute:function(b){return a(b,"\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629;\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629;\u062f\u0642\u064a\u0642\u062a\u064a\u0646;%d \u062f\u0642\u0627\u0626\u0642;%d \u062f\u0642\u064a\u0642\u0629;\u062f\u0642\u064a\u0642\u0629".split(";"))}, minutes:function(b){return a(b,"\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629;\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629;\u062f\u0642\u064a\u0642\u062a\u064a\u0646;%d \u062f\u0642\u0627\u0626\u0642;%d \u062f\u0642\u064a\u0642\u0629;\u062f\u0642\u064a\u0642\u0629".split(";"))},hour:function(b){return a(b,"\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629;\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629;\u0633\u0627\u0639\u062a\u064a\u0646;%d \u0633\u0627\u0639\u0627\u062a;%d \u0633\u0627\u0639\u0629;%d \u0633\u0627\u0639\u0629".split(";"))}, hours:function(b){return a(b,"\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629;\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629;\u0633\u0627\u0639\u062a\u064a\u0646;%d \u0633\u0627\u0639\u0627\u062a;%d \u0633\u0627\u0639\u0629;%d \u0633\u0627\u0639\u0629".split(";"))},day:function(b){return a(b,"\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645;\u064a\u0648\u0645 \u0648\u0627\u062d\u062f;\u064a\u0648\u0645\u064a\u0646;%d \u0623\u064a\u0627\u0645;%d \u064a\u0648\u0645\u064b\u0627;%d \u064a\u0648\u0645".split(";"))}, days:function(b){return a(b,"\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645;\u064a\u0648\u0645 \u0648\u0627\u062d\u062f;\u064a\u0648\u0645\u064a\u0646;%d \u0623\u064a\u0627\u0645;%d \u064a\u0648\u0645\u064b\u0627;%d \u064a\u0648\u0645".split(";"))},month:function(b){return a(b,"\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631;\u0634\u0647\u0631 \u0648\u0627\u062d\u062f;\u0634\u0647\u0631\u064a\u0646;%d \u0623\u0634\u0647\u0631;%d \u0634\u0647\u0631\u064b\u0627;%d \u0634\u0647\u0631".split(";"))}, months:function(b){return a(b,"\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631;\u0634\u0647\u0631 \u0648\u0627\u062d\u062f;\u0634\u0647\u0631\u064a\u0646;%d \u0623\u0634\u0647\u0631;%d \u0634\u0647\u0631\u064b\u0627;%d \u0634\u0647\u0631".split(";"))},year:function(b){return a(b,["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f","%d \u0639\u0627\u0645\u064a\u0646","%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627"])},years:function(b){return a(b, "\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645;\u0639\u0627\u0645 \u0648\u0627\u062d\u062f;\u0639\u0627\u0645\u064a\u0646;%d \u0623\u0639\u0648\u0627\u0645;%d \u0639\u0627\u0645\u064b\u0627;%d \u0639\u0627\u0645".split(";"))}}})();jQuery.timeago.settings.strings.bg={prefixAgo:"\u043f\u0440\u0435\u0434\u0438",prefixFromNow:"\u0441\u043b\u0435\u0434",suffixAgo:null,suffixFromNow:null,seconds:"\u043f\u043e-\u043c\u0430\u043b\u043a\u043e \u043e\u0442 \u043c\u0438\u043d\u0443\u0442\u0430",minute:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430", minutes:"%d \u043c\u0438\u043d\u0443\u0442\u0438",hour:"\u0435\u0434\u0438\u043d \u0447\u0430\u0441",hours:"%d \u0447\u0430\u0441\u0430",day:"\u0435\u0434\u0438\u043d \u0434\u0435\u043d",days:"%d \u0434\u043d\u0438",month:"\u0435\u0434\u0438\u043d \u043c\u0435\u0441\u0435\u0446",months:"%d \u043c\u0435\u0441\u0435\u0446\u0430",year:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",years:"%d \u0433\u043e\u0434\u0438\u043d\u0438"};(function(){var a;a=function(a,e,d,f){var g;g=a%10;return 1=== g&&(1===a||20<a)?e:1<g&&5>g&&(20<a||10>a)?d:f};jQuery.timeago.settings.strings.bs={prefixAgo:"prije",prefixFromNow:"za",suffixAgo:null,suffixFromNow:null,second:"sekund",seconds:function(b){return a(b,"%d sekund","%d sekunde","%d sekundi")},minute:"oko minut",minutes:function(b){return a(b,"%d minut","%d minute","%d minuta")},hour:"oko sat",hours:function(b){return a(b,"%d sat","%d sata","%d sati")},day:"oko jednog dana",days:function(b){return a(b,"%d dan","%d dana","%d dana")},month:"mjesec dana", months:function(b){return a(b,"%d mjesec","%d mjeseca","%d mjeseci")},year:"prije godinu dana ",years:function(b){return a(b,"%d godinu","%d godine","%d godina")},wordSeparator:" "}}).call(this);jQuery.timeago.settings.strings.ca={prefixAgo:"fa",prefixFromNow:"d'aqui a",suffixAgo:null,suffixFromNow:null,seconds:"menys d'1 minut",minute:"1 minut",minutes:"uns %d minuts",hour:"1 hora",hours:"unes %d hores",day:"1 dia",days:"%d dies",month:"aproximadament un mes",months:"%d mesos",year:"aproximadament un any", years:"%d anys"};(function(){function a(a,e,d){return d[0<=e?0:2==d.length||5>a?1:2]}jQuery.timeago.settings.strings.cs={prefixAgo:"p\u0159ed",prefixFromNow:"za",suffixAgo:null,suffixFromNow:null,seconds:function(b,e){return a(b,e,["m\u00e9n\u011b ne\u017e minutou","m\u00e9n\u011b ne\u017e minutu"])},minute:function(b,e){return a(b,e,["minutou","minutu"])},minutes:function(b,e){return a(b,e,["%d minutami","%d minuty","%d minut"])},hour:function(b,e){return a(b,e,["hodinou","hodinu"])},hours:function(b, e){return a(b,e,["%d hodinami","%d hodiny","%d hodin"])},day:function(b,e){return a(b,e,["%d dnem","%d den"])},days:function(b,e){return a(b,e,["%d dny","%d dny","%d dn\u00ed"])},month:function(b,e){return a(b,e,["%d m\u011bs\u00edcem","%d m\u011bs\u00edc"])},months:function(b,e){return a(b,e,["%d m\u011bs\u00edc\u00ed","%d m\u011bs\u00edce","%d m\u011bs\u00edc\u016f"])},year:function(b,e){return a(b,e,["%d rokem","%d rok"])},years:function(b,e){return a(b,e,["%d lety","%d roky","%d let"])}}})(); jQuery.timeago.settings.strings.cy={prefixAgo:null,prefixFromNow:null,suffixAgo:"yn \u00f4l",suffixFromNow:"o hyn",seconds:"llai na munud",minute:"am funud",minutes:"%d munud",hour:"tua awr",hours:"am %d awr",day:"y dydd",days:"%d diwrnod",month:"tua mis",months:"%d mis",year:"am y flwyddyn",years:"%d blynedd",wordSeparator:" ",numbers:[]};jQuery.timeago.settings.strings.cz={prefixAgo:"p\u0159ed",prefixFromNow:null,suffixAgo:null,suffixFromNow:null,seconds:"m\u00e9n\u011b ne\u017e minutou",minute:"minutou", minutes:"%d minutami",hour:"hodinou",hours:"%d hodinami",day:"1 dnem",days:"%d dny",month:"1 m\u011bs\u00edcem",months:"%d m\u011bs\u00edci",year:"1 rokem",years:"%d roky"};jQuery.timeago.settings.strings.da={prefixAgo:"for",prefixFromNow:"om",suffixAgo:"siden",suffixFromNow:"",seconds:"mindre end et minut",minute:"ca. et minut",minutes:"%d minutter",hour:"ca. en time",hours:"ca. %d timer",day:"en dag",days:"%d dage",month:"ca. en m\u00e5ned",months:"%d m\u00e5neder",year:"ca. et \u00e5r",years:"%d \u00e5r"}; jQuery.timeago.settings.strings.de={prefixAgo:"vor",prefixFromNow:"in",suffixAgo:"",suffixFromNow:"",seconds:"wenigen Sekunden",minute:"etwa einer Minute",minutes:"%d Minuten",hour:"etwa einer Stunde",hours:"%d Stunden",day:"etwa einem Tag",days:"%d Tagen",month:"etwa einem Monat",months:"%d Monaten",year:"etwa einem Jahr",years:"%d Jahren"};jQuery.timeago.settings.strings.el={prefixAgo:"\u03c0\u03c1\u03b9\u03bd",prefixFromNow:"\u03c3\u03b5",suffixAgo:"",suffixFromNow:"",seconds:"\u03bb\u03b9\u03b3\u03cc\u03c4\u03b5\u03c1\u03bf \u03b1\u03c0\u03cc \u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc", minute:"\u03c0\u03b5\u03c1\u03af\u03c0\u03bf\u03c5 \u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",minutes:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",hour:"\u03c0\u03b5\u03c1\u03af\u03c0\u03bf\u03c5 \u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hours:"\u03c0\u03b5\u03c1\u03af\u03c0\u03bf\u03c5 %d \u03ce\u03c1\u03b5\u03c2",day:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",days:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",month:"\u03c0\u03b5\u03c1\u03af\u03c0\u03bf\u03c5 \u03ad\u03bd\u03b1 \u03bc\u03ae\u03bd\u03b1",months:"%d \u03bc\u03ae\u03bd\u03b5\u03c2", year:"\u03c0\u03b5\u03c1\u03af\u03c0\u03bf\u03c5 \u03ad\u03bd\u03b1 \u03c7\u03c1\u03cc\u03bd\u03bf",years:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"};jQuery.timeago.settings.strings["en-short"]={prefixAgo:null,prefixFromNow:null,suffixAgo:"",suffixFromNow:"",seconds:"1m",minute:"1m",minutes:"%dm",hour:"1h",hours:"%dh",day:"1d",days:"%dd",month:"1mo",months:"%dmo",year:"1yr",years:"%dyr",wordSeparator:" ",numbers:[]};jQuery.timeago.settings.strings.en={prefixAgo:null,prefixFromNow:null,suffixAgo:"ago", suffixFromNow:"from now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years",wordSeparator:" ",numbers:[]};jQuery.timeago.settings.strings["es-short"]={prefixAgo:null,prefixFromNow:null,suffixAgo:"",suffixFromNow:"",seconds:"1m",minute:"1m",minutes:"%dm",hour:"1h",hours:"%dh",day:"1d",days:"%dd",month:"1me",months:"%dme",year:"1a", years:"%da",wordSeparator:" ",numbers:[]};jQuery.timeago.settings.strings.es={prefixAgo:"hace",prefixFromNow:"dentro de",suffixAgo:"",suffixFromNow:"",seconds:"menos de un minuto",minute:"un minuto",minutes:"unos %d minutos",hour:"una hora",hours:"%d horas",day:"un d\u00eda",days:"%d d\u00edas",month:"un mes",months:"%d meses",year:"un a\u00f1o",years:"%d a\u00f1os"};jQuery.timeago.settings.strings.et={prefixAgo:null,prefixFromNow:null,suffixAgo:"tagasi",suffixFromNow:"p\u00e4rast",seconds:function(a, b){return 0>b?"v\u00e4hem kui minuti aja":"v\u00e4hem kui minut aega"},minute:function(a,b){return 0>b?"umbes minuti aja":"umbes minut aega"},minutes:function(a,b){return 0>b?"%d minuti":"%d minutit"},hour:function(a,b){return 0>b?"umbes tunni aja":"umbes tund aega"},hours:function(a,b){return 0>b?"%d tunni":"%d tundi"},day:function(a,b){return 0>b?"umbes p\u00e4eva":"umbes p\u00e4ev"},days:function(a,b){return"%d p\u00e4eva"},month:function(a,b){return 0>b?"umbes kuu aja":"umbes kuu aega"},months:function(a, b){return 0>b?"%d kuu":"%d kuud"},year:function(a,b){return 0>b?"umbes aasta aja":"umbes aasta aega"},years:function(a,b){return 0>b?"%d aasta":"%d aastat"}};jQuery.timeago.settings.strings.fa={prefixAgo:null,prefixFromNow:null,suffixAgo:"\u067e\u06cc\u0634",suffixFromNow:"\u0627\u0632 \u062d\u0627\u0644",seconds:"\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",minute:"\u062d\u062f\u0648\u062f \u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",minutes:"%d \u062f\u0642\u06cc\u0642\u0647", hour:"\u062d\u062f\u0648\u062f \u06cc\u06a9 \u0633\u0627\u0639\u062a",hours:"\u062d\u062f\u0648\u062f %d \u0633\u0627\u0639\u062a",day:"\u06cc\u06a9 \u0631\u0648\u0632",days:"%d \u0631\u0648\u0632",month:"\u062d\u062f\u0648\u062f \u06cc\u06a9 \u0645\u0627\u0647",months:"%d \u0645\u0627\u0647",year:"\u062d\u062f\u0648\u062f \u06cc\u06a9 \u0633\u0627\u0644",years:"%d \u0633\u0627\u0644",wordSeparator:" "};jQuery.timeago.settings.strings.fi={prefixAgo:null,prefixFromNow:null,suffixAgo:"sitten",suffixFromNow:"tulevaisuudessa", seconds:"alle minuutti",minute:"minuutti",minutes:"%d minuuttia",hour:"tunti",hours:"%d tuntia",day:"p\u00e4iv\u00e4",days:"%d p\u00e4iv\u00e4\u00e4",month:"kuukausi",months:"%d kuukautta",year:"vuosi",years:"%d vuotta"};jQuery.timeago.settings.strings["fo-FO"]={prefixAgo:null,prefixFromNow:null,suffixAgo:"s\u00ed\u00f0ani",suffixFromNow:"",seconds:"less than a minute",minute:"ein minutt",minutes:"%d minuttir",hour:"ein t\u00edma",hours:"%d t\u00edmar",day:"dag",days:"%d dagar",month:"ein m\u00e1na\u00f0a", months:"%d m\u00e1na\u00f0ar",year:"eitt \u00e1r",years:"%d \u00e1r"};jQuery.timeago.settings.strings["fr-short"]={prefixAgo:"il y a",prefixFromNow:"d'ici",seconds:"moins d'une minute",minute:"une minute",minutes:"%d minutes",hour:"une heure",hours:"%d heures",day:"un jour",days:"%d jours",month:"un mois",months:"%d mois",year:"un an",years:"%d ans"};jQuery.timeago.settings.strings.fr={prefixAgo:"il y a",prefixFromNow:"d'ici",seconds:"moins d'une minute",minute:"environ une minute",minutes:"environ %d minutes", hour:"environ une heure",hours:"environ %d heures",day:"environ un jour",days:"environ %d jours",month:"environ un mois",months:"environ %d mois",year:"un an",years:"%d ans"};jQuery.timeago.settings.strings.gl={prefixAgo:"hai",prefixFromNow:"dentro de",suffixAgo:"",suffixFromNow:"",seconds:"menos dun minuto",minute:"un minuto",minutes:"uns %d minutos",hour:"unha hora",hours:"%d horas",day:"un d\u00eda",days:"%d d\u00edas",month:"un mes",months:"%d meses",year:"un ano",years:"%d anos"};jQuery.timeago.settings.strings.he= {prefixAgo:"\u05dc\u05e4\u05e0\u05d9",prefixFromNow:"\u05e2\u05d5\u05d3",seconds:"\u05e4\u05d7\u05d5\u05ea \u05de\u05d3\u05e7\u05d4",minute:"\u05d3\u05e7\u05d4",minutes:"%d \u05d3\u05e7\u05d5\u05ea",hour:"\u05e9\u05e2\u05d4",hours:function(a){return 2==a?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":"%d \u05e9\u05e2\u05d5\u05ea"},day:"\u05d9\u05d5\u05dd",days:function(a){return 2==a?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":"%d \u05d9\u05de\u05d9\u05dd"},month:"\u05d7\u05d5\u05d3\u05e9",months:function(a){return 2== a?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":"%d \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},year:"\u05e9\u05e0\u05d4",years:function(a){return 2==a?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":"%d \u05e9\u05e0\u05d9\u05dd"}};(function(){var a;a=function(a,e,d,f){var g;g=a%10;return 1===g&&(1===a||20<a)?e:1<g&&5>g&&(20<a||10>a)?d:f};jQuery.timeago.settings.strings.hr={prefixAgo:"prije",prefixFromNow:"za",suffixAgo:null,suffixFromNow:null,second:"sekundu",seconds:function(b){return a(b,"%d sekundu","%d sekunde", "%d sekundi")},minute:"oko minutu",minutes:function(b){return a(b,"%d minutu","%d minute","%d minuta")},hour:"oko jedan sat",hours:function(b){return a(b,"%d sat","%d sata","%d sati")},day:"jedan dan",days:function(b){return a(b,"%d dan","%d dana","%d dana")},month:"mjesec dana",months:function(b){return a(b,"%d mjesec","%d mjeseca","%d mjeseci")},year:"prije godinu dana",years:function(b){return a(b,"%d godinu","%d godine","%d godina")},wordSeparator:" "}}).call(this);jQuery.timeago.settings.strings.hu= {prefixAgo:null,prefixFromNow:null,suffixAgo:null,suffixFromNow:null,seconds:"kevesebb mint egy perce",minute:"k\u00f6r\u00fclbel\u00fcl egy perce",minutes:"%d perce",hour:"k\u00f6r\u00fclbel\u00fcl egy \u00f3r\u00e1ja",hours:"k\u00f6r\u00fclbel\u00fcl %d \u00f3r\u00e1ja",day:"k\u00f6r\u00fclbel\u00fcl egy napja",days:"%d napja",month:"k\u00f6r\u00fclbel\u00fcl egy h\u00f3napja",months:"%d h\u00f3napja",year:"k\u00f6r\u00fclbel\u00fcl egy \u00e9ve",years:"%d \u00e9ve"};jQuery.timeago.settings.strings.hy= {prefixAgo:null,prefixFromNow:null,suffixAgo:"\u0561\u057c\u0561\u057b",suffixFromNow:"\u0570\u0565\u057f\u0578",seconds:"\u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576\u0576\u0565\u0580",minute:"\u0574\u0565\u056f \u0580\u0578\u057a\u0565",minutes:"%d \u0580\u0578\u057a\u0565",hour:"\u0574\u0565\u056f \u056a\u0561\u0574",hours:"%d \u056a\u0561\u0574",day:"\u0574\u0565\u056f \u0585\u0580",days:"%d \u0585\u0580",month:"\u0574\u0565\u056f \u0561\u0574\u056b\u057d",months:"%d \u0561\u0574\u056b\u057d", year:"\u0574\u0565\u056f \u057f\u0561\u0580\u056b",years:"%d \u057f\u0561\u0580\u056b"};jQuery.timeago.settings.strings.id={prefixAgo:null,prefixFromNow:null,suffixAgo:"yang lalu",suffixFromNow:"dari sekarang",seconds:"kurang dari semenit",minute:"sekitar satu menit",minutes:"%d menit",hour:"sekitar sejam",hours:"sekitar %d jam",day:"sehari",days:"%d hari",month:"sekitar sebulan",months:"%d bulan",year:"sekitar setahun",years:"%d tahun"};jQuery.timeago.settings.strings.is={prefixAgo:"fyrir",prefixFromNow:"eftir", suffixAgo:"s\u00ed\u00f0an",suffixFromNow:null,seconds:"minna en m\u00edn\u00fatu",minute:"m\u00edn\u00fatu",minutes:"%d m\u00edn\u00fatum",hour:"klukkut\u00edma",hours:"um %d klukkut\u00edmum",day:"degi",days:"%d d\u00f6gum",month:"m\u00e1nu\u00f0i",months:"%d m\u00e1nu\u00f0um",year:"\u00e1ri",years:"%d \u00e1rum",wordSeparator:" ",numbers:[]};jQuery.timeago.settings.strings.it={suffixAgo:"fa",suffixFromNow:"da ora",seconds:"meno di un minuto",minute:"circa un minuto",minutes:"%d minuti",hour:"circa un'ora", hours:"circa %d ore",day:"un giorno",days:"%d giorni",month:"circa un mese",months:"%d mesi",year:"circa un anno",years:"%d anni"};jQuery.timeago.settings.strings.ja={prefixAgo:"",prefixFromNow:"\u4eca\u304b\u3089",suffixAgo:"\u524d",suffixFromNow:"\u5f8c",seconds:"1 \u5206\u672a\u6e80",minute:"\u7d04 1 \u5206",minutes:"%d \u5206",hour:"\u7d04 1 \u6642\u9593",hours:"\u7d04 %d \u6642\u9593",day:"\u7d04 1 \u65e5",days:"\u7d04 %d \u65e5",month:"\u7d04 1 \u6708",months:"\u7d04 %d \u6708",year:"\u7d04 1 \u5e74", years:"\u7d04 %d \u5e74",wordSeparator:""};jQuery.timeago.settings.strings.jv={prefixAgo:null,prefixFromNow:null,suffixAgo:"kepungkur",suffixFromNow:"seko saiki",seconds:"kurang seko sakmenit",minute:"kurang luwih sakmenit",minutes:"%d menit",hour:"kurang luwih sakjam",hours:"kurang luwih %d jam",day:"sedina",days:"%d dina",month:"kurang luwih sewulan",months:"%d wulan",year:"kurang luwih setahun",years:"%d tahun"};jQuery.timeago.settings.strings.ko={suffixAgo:"\uc804",suffixFromNow:"\ud6c4",seconds:"1\ubd84 \uc774\ub0b4", minute:"1\ubd84",minutes:"%d\ubd84",hour:"1\uc2dc\uac04",hours:"%d\uc2dc\uac04",day:"\ud558\ub8e8",days:"%d\uc77c",month:"\ud55c \ub2ec",months:"%d\ub2ec",year:"1\ub144",years:"%d\ub144",wordSeparator:" "};jQuery.timeago.settings.strings.lt={prefixAgo:"prie\u0161",prefixFromNow:null,suffixAgo:null,suffixFromNow:"nuo dabar",seconds:"%d sek.",minute:"min.",minutes:"%d min.",hour:"val.",hours:"%d val.",day:"1 d.",days:"%d d.",month:"m\u0117n.",months:"%d m\u0117n.",year:"metus",years:"%d metus",wordSeparator:" ", numbers:[]};jQuery.timeago.settings.strings.mk={prefixAgo:"\u043f\u0440\u0435\u0434",prefixFromNow:"\u0437\u0430",suffixAgo:null,suffixFromNow:null,seconds:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",minute:"%d \u043c\u0438\u043d\u0443\u0442\u0430",minutes:"%d \u043c\u0438\u043d\u0443\u0442\u0438",hour:"%d \u0447\u0430\u0441",hours:"%d \u0447\u0430\u0441\u0430",day:"%d \u0434\u0435\u043d",days:"%d \u0434\u0435\u043d\u043e\u0432\u0438",month:"%d \u043c\u0435\u0441\u0435\u0446",months:"%d \u043c\u0435\u0441\u0435\u0446\u0438", year:"%d \u0433\u043e\u0434\u0438\u043d\u0430",years:"%d \u0433\u043e\u0434\u0438\u043d\u0438"};jQuery.timeago.settings.strings.nl={prefixAgo:null,prefixFromNow:"",suffixAgo:"geleden",suffixFromNow:"van nu",seconds:"minder dan een minuut",minute:"ongeveer een minuut",minutes:"%d minuten",hour:"ongeveer een uur",hours:"ongeveer %d uur",day:"een dag",days:"%d dagen",month:"ongeveer een maand",months:"%d maanden",year:"ongeveer een jaar",years:"%d jaar",wordSeparator:" ",numbers:[]};jQuery.timeago.settings.strings.no= {prefixAgo:"for",prefixFromNow:"om",suffixAgo:"siden",suffixFromNow:"",seconds:"mindre enn et minutt",minute:"ca. et minutt",minutes:"%d minutter",hour:"ca. en time",hours:"ca. %d timer",day:"en dag",days:"%d dager",month:"ca. en m\u00e5ned",months:"%d m\u00e5neder",year:"ca. et \u00e5r",years:"%d \u00e5r"};(function(){function a(a,e,d){var f=a%10;return 1<f&&5>f&&(20<a||10>a)?e:d}jQuery.timeago.settings.strings.pl={prefixAgo:null,prefixFromNow:"za",suffixAgo:"temu",suffixFromNow:null,seconds:"mniej ni\u017c minut\u0119", minute:"minut\u0119",minutes:function(b){return a(b,"%d minuty","%d minut")},hour:"godzin\u0119",hours:function(b){return a(b,"%d godziny","%d godzin")},day:"dzie\u0144",days:"%d dni",month:"miesi\u0105c",months:function(b){return a(b,"%d miesi\u0105ce","%d miesi\u0119cy")},year:"rok",years:function(b){return a(b,"%d lata","%d lat")}}})();jQuery.timeago.settings.strings["pt-br"]={prefixAgo:"h\u00e1",prefixFromNow:"em",suffixAgo:null,suffixFromNow:null,seconds:"alguns segundos",minute:"um minuto", minutes:"%d minutos",hour:"uma hora",hours:"%d horas",day:"um dia",days:"%d dias",month:"um m\u00eas",months:"%d meses",year:"um ano",years:"%d anos"};jQuery.timeago.settings.strings.pt={suffixAgo:"atr\u00e1s",suffixFromNow:"a partir de agora",seconds:"menos de um minuto",minute:"cerca de um minuto",minutes:"%d minutos",hour:"cerca de uma hora",hours:"cerca de %d horas",day:"um dia",days:"%d dias",month:"cerca de um m\u00eas",months:"%d meses",year:"cerca de um ano",years:"%d anos"};jQuery.timeago.settings.strings.ro= {prefixAgo:"acum",prefixFromNow:"in timp de",suffixAgo:"",suffixFromNow:"",seconds:"mai putin de un minut",minute:"un minut",minutes:"%d minute",hour:"o ora",hours:"%d ore",day:"o zi",days:"%d zile",month:"o luna",months:"%d luni",year:"un an",years:"%d ani"};(function(){var a;a=function(a,e,d,f){var g;g=a%10;return 1===g&&(1===a||20<a)?e:1<g&&5>g&&(20<a||10>a)?d:f};jQuery.timeago.settings.strings.rs={prefixAgo:"pre",prefixFromNow:"za",suffixAgo:null,suffixFromNow:null,second:"sekund",seconds:function(b){return a(b, "%d sekund","%d sekunde","%d sekundi")},minute:"oko minut",minutes:function(b){return a(b,"%d minut","%d minuta","%d minuta")},hour:"oko jedan sat",hours:function(b){return a(b,"%d sat","%d sata","%d sati")},day:"jedan dan",days:function(b){return a(b,"%d dan","%d dana","%d dana")},month:"mesec dana",months:function(b){return a(b,"%d mesec","%d meseca","%d meseci")},year:"godinu dana",years:function(b){return a(b,"%d godinu","%d godine","%d godina")},wordSeparator:" "}}).call(this);(function(){function a(a, e,d,f){var g=a%10;return 1==g&&(1==a||20<a)?e:1<g&&5>g&&(20<a||10>a)?d:f}jQuery.timeago.settings.strings.ru={prefixAgo:null,prefixFromNow:"\u0447\u0435\u0440\u0435\u0437",suffixAgo:"\u043d\u0430\u0437\u0430\u0434",suffixFromNow:null,seconds:"\u043c\u0435\u043d\u044c\u0448\u0435 \u043c\u0438\u043d\u0443\u0442\u044b",minute:"\u043c\u0438\u043d\u0443\u0442\u0443",minutes:function(b){return a(b,"%d \u043c\u0438\u043d\u0443\u0442\u0430","%d \u043c\u0438\u043d\u0443\u0442\u044b","%d \u043c\u0438\u043d\u0443\u0442")}, hour:"\u0447\u0430\u0441",hours:function(b){return a(b,"%d \u0447\u0430\u0441","%d \u0447\u0430\u0441\u0430","%d \u0447\u0430\u0441\u043e\u0432")},day:"\u0434\u0435\u043d\u044c",days:function(b){return a(b,"%d \u0434\u0435\u043d\u044c","%d \u0434\u043d\u044f","%d \u0434\u043d\u0435\u0439")},month:"\u043c\u0435\u0441\u044f\u0446",months:function(b){return a(b,"%d \u043c\u0435\u0441\u044f\u0446","%d \u043c\u0435\u0441\u044f\u0446\u0430","%d \u043c\u0435\u0441\u044f\u0446\u0435\u0432")},year:"\u0433\u043e\u0434", years:function(b){return a(b,"%d \u0433\u043e\u0434","%d \u0433\u043e\u0434\u0430","%d \u043b\u0435\u0442")}}})();jQuery.timeago.settings.strings.sk={prefixAgo:"pred",prefixFromNow:null,suffixAgo:null,suffixFromNow:null,seconds:"menej ne\u017e min\u00fatou",minute:"min\u00fatou",minutes:"%d min\u00fatami",hour:"hodinou",hours:"%d hodinami",day:"1 d\u0148om",days:"%d d\u0148ami",month:"1 mesiacom",months:"%d mesiacmi",year:"1 rokom",years:"%d rokmi"};(function(){var a;a=function(a,e,d){return 2==a? e:d};jQuery.timeago.settings.strings.sl={prefixAgo:"pred",prefixFromNow:"\u010dez",suffixAgo:null,suffixFromNow:null,second:"sekundo",seconds:function(b){return a(b,"%d sekundama","%d sekundami")},minute:"minuto",minutes:function(b){return a(b,"%d minutama","%d minutami")},hour:"uro",hours:function(b){return a(b,"%d urama","%d urami")},day:"dnevom",days:function(b){return a(b,"%d dnevi","%d dnevi")},month:"enim mescem",months:function(b){return a(b,"%d mesecema","%d meseci")},year:"enim letom",years:function(b){return a(b, "%d letoma","%d leti")},wordSeparator:" "}}).call(this);jQuery.timeago.settings.strings.sv={prefixAgo:"f\u00f6r",prefixFromNow:"om",suffixAgo:"sedan",suffixFromNow:"",seconds:"mindre \u00e4n en minut",minute:"ungef\u00e4r en minut",minutes:"%d minuter",hour:"ungef\u00e4r en timme",hours:"ungef\u00e4r %d timmar",day:"en dag",days:"%d dagar",month:"ungef\u00e4r en m\u00e5nad",months:"%d m\u00e5nader",year:"ungef\u00e4r ett \u00e5r",years:"%d \u00e5r"};jQuery.timeago.settings.strings.th={prefixAgo:null, prefixFromNow:null,suffixAgo:"\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",suffixFromNow:"\u0e08\u0e32\u0e01\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49",seconds:"\u0e19\u0e49\u0e2d\u0e22\u0e01\u0e27\u0e48\u0e32\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e19\u0e32\u0e17\u0e35",minute:"\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e19\u0e32\u0e17\u0e35",minutes:"%d \u0e19\u0e32\u0e17\u0e35",hour:"\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07", hours:"\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13 %d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",day:"\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e27\u0e31\u0e19",days:"%d \u0e27\u0e31\u0e19",month:"\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e40\u0e14\u0e37\u0e2d\u0e19",months:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",year:"\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e1b\u0e35",years:"%d \u0e1b\u0e35",wordSeparator:"",numbers:[]};jQuery.timeago.settings.strings.tr={suffixAgo:"\u00f6nce", suffixFromNow:null,seconds:"1 dakikadan",minute:"1 dakika",minutes:"%d dakika",hour:"1 saat",hours:"%d saat",day:"1 g\u00fcn",days:"%d g\u00fcn",month:"1 ay",months:"%d ay",year:"1 y\u0131l",years:"%d y\u0131l"};(function(){function a(a,e,d,f){var g=a%10;return 1==g&&(1==a||20<a)?e:1<g&&5>g&&(20<a||10>a)?d:f}jQuery.timeago.settings.strings.uk={prefixAgo:null,prefixFromNow:"\u0447\u0435\u0440\u0435\u0437",suffixAgo:"\u0442\u043e\u043c\u0443",suffixFromNow:null,seconds:"\u043c\u0435\u043d\u0448\u0435 \u0445\u0432\u0438\u043b\u0438\u043d\u0438", minute:"\u0445\u0432\u0438\u043b\u0438\u043d\u0430",minutes:function(b){return a(b,"%d \u0445\u0432\u0438\u043b\u0438\u043d\u0430","%d \u0445\u0432\u0438\u043b\u0438\u043d\u0438","%d \u0445\u0432\u0438\u043b\u0438\u043d")},hour:"\u0433\u043e\u0434\u0438\u043d\u0430",hours:function(b){return a(b,"%d \u0433\u043e\u0434\u0438\u043d\u0430","%d \u0433\u043e\u0434\u0438\u043d\u0438","%d \u0433\u043e\u0434\u0438\u043d")},day:"\u0434\u0435\u043d\u044c",days:function(b){return a(b,"%d \u0434\u0435\u043d\u044c", "%d \u0434\u043d\u0456","%d \u0434\u043d\u0456\u0432")},month:"\u043c\u0456\u0441\u044f\u0446\u044c",months:function(b){return a(b,"%d \u043c\u0456\u0441\u044f\u0446\u044c","%d \u043c\u0456\u0441\u044f\u0446\u0456","%d \u043c\u0456\u0441\u044f\u0446\u0456\u0432")},year:"\u0440\u0456\u043a",years:function(b){return a(b,"%d \u0440\u0456\u043a","%d \u0440\u043e\u043a\u0438","%d \u0440\u043e\u043a\u0456\u0432")}}})();jQuery.timeago.settings.strings.uz={prefixAgo:null,prefixFromNow:"keyin",suffixAgo:"avval", suffixFromNow:null,seconds:"bir necha soniya",minute:"1 daqiqa",minutes:function(a){return"%d daqiqa"},hour:"1 soat",hours:function(a){return"%d soat"},day:"1 kun",days:function(a){return"%d kun"},month:"1 oy",months:function(a){return"%d oy"},year:"1 yil",years:function(a){return"%d yil"},wordSeparator:" "};jQuery.timeago.settings.strings.vi={prefixAgo:"c\u00e1ch \u0111\u00e2y",prefixFromNow:null,suffixAgo:null,suffixFromNow:"tr\u01b0\u1edbc",seconds:"ch\u01b0a \u0111\u1ebfn m\u1ed9t ph\u00fat", minute:"kho\u1ea3ng m\u1ed9t ph\u00fat",minutes:"%d ph\u00fat",hour:"kho\u1ea3ng m\u1ed9t ti\u1ebfng",hours:"kho\u1ea3ng %d ti\u1ebfng",day:"m\u1ed9t ng\u00e0y",days:"%d ng\u00e0y",month:"kho\u1ea3ng m\u1ed9t th\u00e1ng",months:"%d th\u00e1ng",year:"kho\u1ea3ng m\u1ed9t n\u0103m",years:"%d n\u0103m",wordSeparator:" ",numbers:[]};jQuery.timeago.settings.strings["zh-CN"]={prefixAgo:null,prefixFromNow:"\u4ece\u73b0\u5728\u5f00\u59cb",suffixAgo:"\u4e4b\u524d",suffixFromNow:null,seconds:"\u4e0d\u52301\u5206\u949f", minute:"\u5927\u7ea61\u5206\u949f",minutes:"%d\u5206\u949f",hour:"\u5927\u7ea61\u5c0f\u65f6",hours:"\u5927\u7ea6%d\u5c0f\u65f6",day:"1\u5929",days:"%d\u5929",month:"\u5927\u7ea61\u4e2a\u6708",months:"%d\u6708",year:"\u5927\u7ea61\u5e74",years:"%d\u5e74",numbers:[],wordSeparator:""};jQuery.timeago.settings.strings["zh-Hant"]={prefixAgo:null,prefixFromNow:"\u5f9e\u73fe\u5728\u958b\u59cb",suffixAgo:"\u4e4b\u524d",suffixFromNow:null,seconds:"\u4e0d\u52301\u5206\u9418",minute:"\u5927\u7d041\u5206\u9418", minutes:"%d\u5206\u9418",hour:"\u5927\u7d041\u5c0f\u6642",hours:"%d\u5c0f\u6642",day:"\u5927\u7d041\u5929",days:"%d\u5929",month:"\u5927\u7d041\u500b\u6708",months:"%d\u500b\u6708",year:"\u5927\u7d041\u5e74",years:"%d\u5e74",numbers:[],wordSeparator:""};jQuery.timeago.settings.strings["zh-TW"]={prefixAgo:null,prefixFromNow:"\u5f9e\u73fe\u5728\u958b\u59cb",suffixAgo:"\u4e4b\u524d",suffixFromNow:null,seconds:"\u4e0d\u52301\u5206\u9418",minute:"\u5927\u7d041\u5206\u9418",minutes:"%d\u5206\u9418",hour:"\u5927\u7d041\u5c0f\u6642", hours:"%d\u5c0f\u6642",day:"\u5927\u7d041\u5929",days:"%d\u5929",month:"\u5927\u7d041\u500b\u6708",months:"%d\u500b\u6708",year:"\u5927\u7d041\u5e74",years:"%d\u5e74",numbers:[],wordSeparator:""};U={}.hasOwnProperty;Da=function(){function a(){this.primaryColor=ko.observable("#35BDCF");this.colors=ko.computed(function(a){return function(){return Sb.getCustomizationColors(a.primaryColor())}}(this))}a.prototype.applyStyles=function(a,e,d){(a=d||a.CustomMainColor)&&this.primaryColor(a);e=e.draw(this.colors()); $("#styles").remove();return $("<style id='styles' type='text/css'>"+e+"</style>").appendTo("head")};a.prototype.convertLocalizationFormat=function(a,e){var d,f,g,l,n;f={};g=function(d,e){var g,c;e&&(e=e.replace("${WebsiteName}",a.SiteName),e=e.replace("${FeedbackLink}",location.href));if(-1===d.indexOf("."))return f[d]=e;g=d.split(".");c=g[0];g=g[1].toLowerCase();f[c]||(f[c]={});return f[c][g]=e};for(d in e)U.call(e,d)&&(l=e[d],g(d,l));n=a.CustomSurveyTranslations;for(d in n)U.call(n,d)&&(l=n[d], g(d,l));return f};a.prototype.loadAdditionalLocalizations=function(a){var e,d;d=a.split("-")[0].toLowerCase();e=a.split("-")[1].toLowerCase();return jQuery.timeago.settings.strings[a]?jQuery.timeago.settings.strings=jQuery.timeago.settings.strings[a]:jQuery.timeago.settings.strings[d]?jQuery.timeago.settings.strings=jQuery.timeago.settings.strings[d]:jQuery.timeago.settings.strings[e]?jQuery.timeago.settings.strings=jQuery.timeago.settings.strings[e]:jQuery.timeago.settings.strings=jQuery.timeago.settings.strings.en}; return a}();(function(a,b,e){a.fn.jScrollPane=function(d){function f(d,f){function n(b){var c,f,h,l,k,p=!1,m=!1;z=b;if(L===e)l=d.scrollTop(),k=d.scrollLeft(),d.css({overflow:"hidden",padding:0}),S=d.innerWidth()+Pa,V=d.innerHeight(),d.width(S),L=a('<div class="jspPane" />').css("padding",Aa).append(d.children()),W=a('<div class="jspContainer" />').css({width:S+"px",height:V+"px"}).append(L).appendTo(d);else{d.css("width","");p=z.stickToBottom&&U();m=z.stickToRight&&Y();if(h=d.innerWidth()+Pa!=S|| d.outerHeight()!=V)S=d.innerWidth()+Pa,V=d.innerHeight(),W.css({width:S+"px",height:V+"px"});if(!h&&Ia==ia&&L.outerHeight()==ba){d.width(S);return}Ia=ia;L.css("width","");d.width(S);W.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}L.css("overflow","auto");ia=b.contentWidth?b.contentWidth:L[0].scrollWidth;ba=L[0].scrollHeight;L.css("overflow","");va=ia/S;ua=ba/V;wa=1<ua;if((ja=1<va)||wa){d.addClass("jspScrollable");if(b=z.maintainPosition&&(B||ea))c=R(),f=K();s();u();t();b&&(D(m?ia-S:c, !1),O(p?ba-V:f,!1));aa();Z();y();z.enableKeyboardNavigation&&ca();z.clickOnTrack&&r();ra();z.hijackInternalLinks&&ta()}else d.removeClass("jspScrollable"),L.css({top:0,left:0,width:W.width()-Pa}),W.unbind(Ja),L.find(":input,a").unbind("focus.jsp"),d.attr("tabindex","-1").removeAttr("tabindex").unbind("keydown.jsp keypress.jsp"),J();z.autoReinitialise&&!Oa?Oa=setInterval(function(){n(z)},z.autoReinitialiseDelay):!z.autoReinitialise&&Oa&&clearInterval(Oa);l&&d.scrollTop(0)&&O(l,!1);k&&d.scrollLeft(0)&& D(k,!1);d.trigger("jsp-initialised",[ja||wa])}function s(){wa&&(W.append(a('<div class="jspVerticalBar" />').append(a('<div class="jspCap jspCapTop" />'),a('<div class="jspTrack" />').append(a('<div class="jspDrag" />').append(a('<div class="jspDragTop" />'),a('<div class="jspDragBottom" />'))),a('<div class="jspCap jspCapBottom" />'))),xa=W.find(">.jspVerticalBar"),oa=xa.find(">.jspTrack"),ha=oa.find(">.jspDrag"),z.showArrows&&(ya=a('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp",w(0,-1)).bind("click.jsp", X),Ma=a('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp",w(0,1)).bind("click.jsp",X),z.arrowScrollOnHover&&(ya.bind("mouseover.jsp",w(0,-1,ya)),Ma.bind("mouseover.jsp",w(0,1,Ma))),v(oa,z.verticalArrowPositions,ya,Ma)),Ka=V,W.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function(){Ka-=a(this).outerHeight()}),ha.hover(function(){ha.addClass("jspHover")},function(){ha.removeClass("jspHover")}).bind("mousedown.jsp",function(b){a("html").bind("dragstart.jsp selectstart.jsp", X);ha.addClass("jspActive");var c=b.pageY-ha.position().top;a("html").bind("mousemove.jsp",function(a){m(a.pageY-c,!1)}).bind("mouseup.jsp mouseleave.jsp",M);return!1}),p())}function p(){oa.height(Ka+"px");B=0;Da=z.verticalGutter+oa.outerWidth();L.width(S-Da-Pa);try{0===xa.position().left&&L.css("margin-left",Da+"px")}catch(a){}}function u(){ja&&(W.append(a('<div class="jspHorizontalBar" />').append(a('<div class="jspCap jspCapLeft" />'),a('<div class="jspTrack" />').append(a('<div class="jspDrag" />').append(a('<div class="jspDragLeft" />'), a('<div class="jspDragRight" />'))),a('<div class="jspCap jspCapRight" />'))),G=W.find(">.jspHorizontalBar"),Na=G.find(">.jspTrack"),h=Na.find(">.jspDrag"),z.showArrows&&(za=a('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp",w(-1,0)).bind("click.jsp",X),Ca=a('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp",w(1,0)).bind("click.jsp",X),z.arrowScrollOnHover&&(za.bind("mouseover.jsp",w(-1,0,za)),Ca.bind("mouseover.jsp",w(1,0,Ca))),v(Na,z.horizontalArrowPositions,za,Ca)),h.hover(function(){h.addClass("jspHover")}, function(){h.removeClass("jspHover")}).bind("mousedown.jsp",function(b){a("html").bind("dragstart.jsp selectstart.jsp",X);h.addClass("jspActive");var c=b.pageX-h.position().left;a("html").bind("mousemove.jsp",function(a){k(a.pageX-c,!1)}).bind("mouseup.jsp mouseleave.jsp",M);return!1}),Ga=W.innerWidth(),c())}function c(){W.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){Ga-=a(this).outerWidth()});Na.width(Ga+"px");ea=0}function t(){if(ja&&wa){var b=Na.outerHeight(), d=oa.outerWidth();Ka-=b;a(G).find(">.jspCap:visible,>.jspArrow").each(function(){Ga+=a(this).outerWidth()});Ga-=d;V-=d;S-=b;Na.parent().append(a('<div class="jspCorner" />').css("width",b+"px"));p();c()}ja&&L.width(W.outerWidth()-Pa+"px");ba=L.outerHeight();ua=ba/V;ja&&(sa=Math.ceil(1/va*Ga),sa>z.horizontalDragMaxWidth?sa=z.horizontalDragMaxWidth:sa<z.horizontalDragMinWidth&&(sa=z.horizontalDragMinWidth),h.width(sa+"px"),pa=Ga-sa,I(ea));wa&&(La=Math.ceil(1/ua*Ka),La>z.verticalDragMaxHeight?La=z.verticalDragMaxHeight: La<z.verticalDragMinHeight&&(La=z.verticalDragMinHeight),ha.height(La+"px"),ma=Ka-La,x(B))}function v(a,b,c,d){var e="before",f="after";"os"==b&&(b=/Mac/.test(navigator.platform)?"after":"split");b==e?f=b:b==f&&(e=b,b=c,c=d,d=b);a[e](c)[f](d)}function w(a,b,c){return function(){H(a,b,this,c);this.blur();return!1}}function H(b,c,d,e){d=a(d).addClass("jspActive");var f,g,h=!0,l=function(){0!==b&&T.scrollByX(b*z.arrowButtonSpeed);0!==c&&T.scrollByY(c*z.arrowButtonSpeed);g=setTimeout(l,h?z.initialDelay: z.arrowRepeatFreq);h=!1};l();f=e?"mouseout.jsp":"mouseup.jsp";e=e||a("html");e.bind(f,function(){d.removeClass("jspActive");g&&clearTimeout(g);g=null;e.unbind(f)})}function r(){J();wa&&oa.bind("mousedown.jsp",function(b){if(b.originalTarget===e||b.originalTarget==b.currentTarget){var c=a(this),d=c.offset(),f=b.pageY-d.top-B,g,h=!0,l=function(){var a=c.offset(),a=b.pageY-a.top-La/2,d=V*z.scrollPagePercent,e=ma*d/(ba-V);if(0>f)B-e>a?T.scrollByY(-d):m(a);else if(0<f)B+e<a?T.scrollByY(d):m(a);else{k(); return}g=setTimeout(l,h?z.initialDelay:z.trackClickRepeatFreq);h=!1},k=function(){g&&clearTimeout(g);g=null;a(E).unbind("mouseup.jsp",k)};l();a(E).bind("mouseup.jsp",k);return!1}});ja&&Na.bind("mousedown.jsp",function(b){if(b.originalTarget===e||b.originalTarget==b.currentTarget){var c=a(this),d=c.offset(),f=b.pageX-d.left-ea,g,h=!0,l=function(){var a=c.offset(),a=b.pageX-a.left-sa/2,d=S*z.scrollPagePercent,e=pa*d/(ia-S);if(0>f)ea-e>a?T.scrollByX(-d):k(a);else if(0<f)ea+e<a?T.scrollByX(d):k(a);else{n(); return}g=setTimeout(l,h?z.initialDelay:z.trackClickRepeatFreq);h=!1},n=function(){g&&clearTimeout(g);g=null;a(E).unbind("mouseup.jsp",n)};l();a(E).bind("mouseup.jsp",n);return!1}})}function J(){Na&&Na.unbind("mousedown.jsp");oa&&oa.unbind("mousedown.jsp")}function M(){a("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp");ha&&ha.removeClass("jspActive");h&&h.removeClass("jspActive")}function m(a,b){wa&&(0>a?a=0:a>ma&&(a=ma),b===e&&(b=z.animateScroll),b?T.animate(ha, "top",a,x):(ha.css("top",a),x(a)))}function x(a){a===e&&(a=ha.position().top);W.scrollTop(0);B=a;var b=0===B,c=B==ma;a=-(a/ma)*(ba-V);if(Ea!=b||Fa!=c)Ea=b,Fa=c,d.trigger("jsp-arrow-change",[Ea,Fa,Va,Sa]);z.showArrows&&(ya[b?"addClass":"removeClass"]("jspDisabled"),Ma[c?"addClass":"removeClass"]("jspDisabled"));L.css("top",a);d.trigger("jsp-scroll-y",[-a,b,c]).trigger("scroll")}function k(a,b){ja&&(0>a?a=0:a>pa&&(a=pa),b===e&&(b=z.animateScroll),b?T.animate(h,"left",a,I):(h.css("left",a),I(a)))}function I(a){a=== e&&(a=h.position().left);W.scrollTop(0);ea=a;var b=0===ea,c=ea==pa;a=-(a/pa)*(ia-S);if(Va!=b||Sa!=c)Va=b,Sa=c,d.trigger("jsp-arrow-change",[Ea,Fa,Va,Sa]);z.showArrows&&(za[b?"addClass":"removeClass"]("jspDisabled"),Ca[c?"addClass":"removeClass"]("jspDisabled"));L.css("left",a);d.trigger("jsp-scroll-x",[-a,b,c]).trigger("scroll")}function O(a,b){m(a/(ba-V)*ma,b)}function D(a,b){k(a/(ia-S)*pa,b)}function N(b,c,d){var e,f,g=0,h=0,l,k,n;try{e=a(b)}catch(p){return}f=e.outerHeight();b=e.outerWidth();W.scrollTop(0); for(W.scrollLeft(0);!e.is(".jspPane");)if(g+=e.position().top,h+=e.position().left,e=e.offsetParent(),/^body|html$/i.test(e[0].nodeName))return;e=K();l=e+V;g<e||c?k=g-z.horizontalGutter:g+f>l&&(k=g-V+f+z.horizontalGutter);isNaN(k)||O(k,d);g=R();k=g+S;h<g||c?n=h-z.horizontalGutter:h+b>k&&(n=h-S+b+z.horizontalGutter);isNaN(n)||D(n,d)}function R(){return-L.position().left}function K(){return-L.position().top}function U(){var a=ba-V;return 20<a&&10>a-K()}function Y(){var a=ia-S;return 20<a&&10>a-R()} function Z(){W.unbind(Ja).bind(Ja,function(a,b,c,d){b=ea;var e=B;a=a.deltaFactor||z.mouseWheelSpeed;T.scrollBy(c*a,-d*a,!1);return b==ea&&e==B})}function X(){return!1}function aa(){L.find(":input,a").unbind("focus.jsp").bind("focus.jsp",function(a){N(a.target,!1)})}function ca(){function b(){var a=ea,d=B;switch(c){case 40:T.scrollByY(z.keyboardSpeed,!1);break;case 38:T.scrollByY(-z.keyboardSpeed,!1);break;case 34:case 32:T.scrollByY(V*z.scrollPagePercent,!1);break;case 33:T.scrollByY(-V*z.scrollPagePercent, !1);break;case 39:T.scrollByX(z.keyboardSpeed,!1);break;case 37:T.scrollByX(-z.keyboardSpeed,!1)}return e=a!=ea||d!=B}var c,e,f=[];ja&&f.push(G[0]);wa&&f.push(xa[0]);L.focus(function(){d.focus()});d.attr("tabindex",0).unbind("keydown.jsp keypress.jsp").bind("keydown.jsp",function(d){if(d.target===this||f.length&&a(d.target).closest(f).length){var g=ea,h=B;switch(d.keyCode){case 40:case 38:case 34:case 32:case 33:case 39:case 37:c=d.keyCode;b();break;case 35:O(ba-V);c=null;break;case 36:O(0),c=null}e= d.keyCode==c&&g!=ea||h!=B;return!e}}).bind("keypress.jsp",function(a){a.keyCode==c&&b();return!e});z.hideFocus?(d.css("outline","none"),"hideFocus"in W[0]&&d.attr("hideFocus",!0)):(d.css("outline",""),"hideFocus"in W[0]&&d.attr("hideFocus",!1))}function ra(){if(location.hash&&1<location.hash.length){var b,c,d=escape(location.hash.substr(1));try{b=a("#"+d+', a[name="'+d+'"]')}catch(e){return}b.length&&L.find(d)&&(0===W.scrollTop()?c=setInterval(function(){0<W.scrollTop()&&(N(b,!0),a(E).scrollTop(W.position().top), clearInterval(c))},50):(N(b,!0),a(E).scrollTop(W.position().top)))}}function ta(){a(E.body).data("jspHijack")||(a(E.body).data("jspHijack",!0),a(E.body).delegate("a[href*=#]","click",function(c){var d=this.href.substr(0,this.href.indexOf("#")),e=location.href,f;-1!==location.href.indexOf("#")&&(e=location.href.substr(0,location.href.indexOf("#")));if(d===e){d=escape(this.href.substr(this.href.indexOf("#")+1));f;try{f=a("#"+d+', a[name="'+d+'"]')}catch(g){return}f.length&&(d=f.closest(".jspScrollable"), e=d.data("jsp"),e.scrollToElement(f,!0),d[0].scrollIntoView&&(e=a(b).scrollTop(),f=f.offset().top,(f<e||f>e+a(b).height())&&d[0].scrollIntoView()),c.preventDefault())}}))}function y(){var a,b,c,d,e,f=!1;W.unbind("touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick").bind("touchstart.jsp",function(g){g=g.originalEvent.touches[0];a=R();b=K();c=g.pageX;d=g.pageY;e=!1;f=!0}).bind("touchmove.jsp",function(g){if(f){g=g.originalEvent.touches[0];var h=ea,l=B;T.scrollTo(a+c-g.pageX,b+d-g.pageY); e=e||5<Math.abs(c-g.pageX)||5<Math.abs(d-g.pageY);return h==ea&&l==B}}).bind("touchend.jsp",function(a){f=!1}).bind("click.jsp-touchclick",function(a){if(e)return e=!1})}var z,T=this,L,S,V,W,ia,ba,va,ua,wa,ja,ha,ma,B,h,pa,ea,xa,oa,Da,Ka,La,ya,Ma,G,Na,Ga,sa,za,Ca,Oa,Aa,Pa,Ia,Ea=!0,Va=!0,Fa=!1,Sa=!1,Qa=d.clone(!1,!1).empty(),Ja=a.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";"border-box"===d.css("box-sizing")?Pa=Aa=0:(Aa=d.css("paddingTop")+" "+d.css("paddingRight")+" "+d.css("paddingBottom")+ " "+d.css("paddingLeft"),Pa=(parseInt(d.css("paddingLeft"),10)||0)+(parseInt(d.css("paddingRight"),10)||0));a.extend(T,{reinitialise:function(b){b=a.extend({},z,b);n(b)},scrollToElement:function(a,b,c){N(a,b,c)},scrollTo:function(a,b,c){D(a,c);O(b,c)},scrollToX:function(a,b){D(a,b)},scrollToY:function(a,b){O(a,b)},scrollToPercentX:function(a,b){D(a*(ia-S),b)},scrollToPercentY:function(a,b){O(a*(ba-V),b)},scrollBy:function(a,b,c){T.scrollByX(a,c);T.scrollByY(b,c)},scrollByX:function(a,b){var c=(R()+ Math[0>a?"floor":"ceil"](a))/(ia-S);k(c*pa,b)},scrollByY:function(a,b){var c=(K()+Math[0>a?"floor":"ceil"](a))/(ba-V);m(c*ma,b)},positionDragX:function(a,b){k(a,b)},positionDragY:function(a,b){m(a,b)},animate:function(a,b,c,d){var e={};e[b]=c;a.animate(e,{duration:z.animateDuration,easing:z.animateEase,queue:!1,step:d})},getContentPositionX:function(){return R()},getContentPositionY:function(){return K()},getContentWidth:function(){return ia},getContentHeight:function(){return ba},getPercentScrolledX:function(){return R()/ (ia-S)},getPercentScrolledY:function(){return K()/(ba-V)},getIsScrollableH:function(){return ja},getIsScrollableV:function(){return wa},getContentPane:function(){return L},scrollToBottom:function(a){m(ma,a)},hijackInternalLinks:a.noop,destroy:function(){var a=K(),b=R();d.removeClass("jspScrollable").unbind(".jsp");d.replaceWith(Qa.append(L.children()));Qa.scrollTop(a);Qa.scrollLeft(b);Oa&&clearInterval(Oa)}});n(f)}d=a.extend({},a.fn.jScrollPane.defaults,d);a.each(["arrowButtonSpeed","trackClickSpeed", "keyboardSpeed"],function(){d[this]=d[this]||d.speed});return this.each(function(){var b=a(this),e=b.data("jsp");e?e.reinitialise(d):(a("script",b).filter('[type="text/javascript"],:not([type])').remove(),e=new f(b,d),b.data("jsp",e))})};a.fn.jScrollPane.defaults={showArrows:!1,maintainPosition:!0,stickToBottom:!1,stickToRight:!1,clickOnTrack:!0,autoReinitialise:!1,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,contentWidth:e, animateScroll:!1,animateDuration:300,animateEase:"linear",hijackInternalLinks:!1,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:3,arrowButtonSpeed:0,arrowRepeatFreq:50,arrowScrollOnHover:!1,trackClickSpeed:0,trackClickRepeatFreq:70,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:!0,hideFocus:!1,keyboardSpeed:0,initialDelay:300,speed:30,scrollPagePercent:.8}})(jQuery,this);(function(a){"function"===typeof define&&define.amd?define(["jquery"],a):"object"=== typeof exports?module.exports=a:a(jQuery)})(function(a){function b(b){var c=b||v.event,d=g.call(arguments,1),f=0,s=0,t=0,r=0;b=a.event.fix(c);b.type="mousewheel";"detail"in c&&(t=-1*c.detail);"wheelDelta"in c&&(t=c.wheelDelta);"wheelDeltaY"in c&&(t=c.wheelDeltaY);"wheelDeltaX"in c&&(s=-1*c.wheelDeltaX);"axis"in c&&c.axis===c.HORIZONTAL_AXIS&&(s=-1*t,t=0);f=0===t?s:t;"deltaY"in c&&(f=t=-1*c.deltaY);"deltaX"in c&&(s=c.deltaX,0===t&&(f=-1*s));if(0!==t||0!==s){1===c.deltaMode?(r=a.data(this,"mousewheel-line-height"), f*=r,t*=r,s*=r):2===c.deltaMode&&(r=a.data(this,"mousewheel-page-height"),f*=r,t*=r,s*=r);r=Math.max(Math.abs(t),Math.abs(s));if(!n||r<n)n=r,p.settings.adjustOldDeltas&&"mousewheel"===c.type&&0===r%120&&(n/=40);p.settings.adjustOldDeltas&&"mousewheel"===c.type&&0===r%120&&(f/=40,s/=40,t/=40);f=Math[1<=f?"floor":"ceil"](f/n);s=Math[1<=s?"floor":"ceil"](s/n);t=Math[1<=t?"floor":"ceil"](t/n);b.deltaX=s;b.deltaY=t;b.deltaFactor=n;b.deltaMode=0;d.unshift(b,f,s,t);l&&clearTimeout(l);l=setTimeout(e,200); return(a.event.dispatch||a.event.handle).apply(this,d)}}function e(){n=null}var d=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],f="onwheel"in E||9<=E.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],g=Array.prototype.slice,l,n;if(a.event.fixHooks)for(var s=d.length;s;)a.event.fixHooks[d[--s]]=a.event.mouseHooks;var p=a.event.special.mousewheel={version:"3.1.9",setup:function(){if(this.addEventListener)for(var d=f.length;d;)this.addEventListener(f[--d],b, !1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",p.getLineHeight(this));a.data(this,"mousewheel-page-height",p.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],b,!1);else this.onmousewheel=null},getLineHeight:function(b){return parseInt(a(b)["offsetParent"in a.fn?"offsetParent":"parent"]().css("fontSize"),10)},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0}};a.fn.extend({mousewheel:function(a){return a? this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})});(function(){return ko.bindingHandlers.scrollPane={init:function(a,b,e){var d,f,g,l;if(!J.isTouch()&&(b=b(),a=$(a),a.jScrollPane({verticalDragMinHeight:50,verticalDragMaxHeight:100,animateScroll:!0}),d=a.data("jsp"),a=function(){return Y(0,function(){return d.reinitialise()})},e=function(){this._panelHeight=d.getContentPane().parent().height();this._contentHeight=d.getContentHeight(); this._remainingY=this._contentHeight-this._panelHeight-d.getContentPositionY();if((this._renderedToEnd=0===this._remainingY)&&J.isDesktopSafari())return Y(0,function(a){return function(){return d.scrollByY(-1,!1)}}(this))},$(v).bind("resize",a),v.onscroll=e,$("body").on("scroll",e),e=null!=b?b.refreshOn:void 0)){e=$.isArray(b.refreshOn)?b.refreshOn:[e];l=[];f=0;for(g=e.length;f<g;f++)b=e[f],ko.isSubscribable(b)&&l.push(b.subscribe(a));return l}},update:function(a,b){var e,d,f,g,l;e=$(a);d=$("#header"); l=b();if(l.scrollTop)if(g=ko.utils.unwrapObservable(l.scrollTop),J.isTouch()){if(0===g)return $("html,body").scrollTop(0);e=g+e.offset().top;if(J.isTablet()||J.isMobile()&&v.innerHeight>v.innerWidth)e-=d.height();if(e)return l.animate?$("html,body").animate({scrollTop:e},l.animate):$("html,body").scrolTop(e)}else return f=e.data("jsp"),f.reinitialise(),l.animate?Y(0,function(){return f.scrollToY(g)}):f.scrollToY(g,!1)}}})();var ma;ma=function(){function a(){}a.supported=function(){var a,e;try{e=v.localStorage? !0:!1}catch(d){e=!1}try{v.localStorage.setItem("testkey","1"),v.localStorage.removeItem("testkey"),a=!0}catch(f){a=!1}return e&&a}();a.setItem=function(a,e){if(this.supported)return v.localStorage.setItem(a,e)};a.getItem=function(a){return this.supported?v.localStorage.getItem(a):null};a.removeItem=function(a){if(this.supported)return v.localStorage.removeItem(a)};return a}();t="undefined"!=typeof t?t:{};t["idea-list-item.html"]=function(a){var b=[];with(a)b.push('<div class="idea" data-bind="css: { even: isEven }"> <div class="td-like"> <button class="btn btn-vote tip" data-pos="left" data-bind=" css: { invisible: isDataNotFilled }, voteButton: $data, tooltip: { value: voteTooltip, enabled: !voting() }"> <div data-bind="svgToPng: { template: voteIconTemplate, color: iconLikeColor, width: 16, height: 16 }"></div> <span data-bind="text: votesCount"></span> </button> </div> <div class="td-status"> <div class="bordered tip icon-fill" data-pos="right" data-bind="css: { invisible: isDataNotFilled }, svgToPng: { template: statusIconTemplate, color: app.rootVm.colors().contrastFill, width: 16, height: 16 }, attr: { \'data-tip\': statusTooltip, tooltip: statusTooltip }"> </div> </div> <div class="td-comments" data-action="navigate" data-bind="css: { invisible: isDataNotFilled }, attr: { \'data-href\': localUrl(true) }"> <div class="comment-trigger bordered tip" data-bind="attr: { href: localUrl(true), \'data-tip\': app.localization.CommentsAmount.title }" data-pos="right"> <div data-bind="svgToPng: { template: \'icon-comment\', color: app.rootVm.colors().contrastFill, width: 16, height: 16 }"></div> <span data-bind="text: commentsCount">0</span> </div> </div> <div class="td-text page-trigger" data-action="navigate" data-bind="attr: { \'data-href\': localUrl() }"> <div class="relative"> <div class="overflow"> <h3><a data-bind="attr: { href: localUrl() }, highlightedText: { text: title, highlightedText: titleHighlighted }" class="h3">Idea title</a></h3> <span data-bind="highlightedText: { text: description, highlightedText: descriptionHighlighted, slice: 200 }">Idea description</span> </div> </div> </div> </div> '); return b.join("")};t="undefined"!=typeof t?t:{};t["idea-list-item-mobile.html"]=function(a){var b=[];with(a)b.push('<div class="idea" data-bind="css: { even: isEven }"> <div class="td-like"> <button class="btn btn-vote tip" data-pos="left" data-bind="voteButton: $data, tooltip: { value: voteTooltip, enabled: !voting() }"> <div data-bind="svgToPng: { template: voteIconTemplate, color: iconLikeColor, width: 16, height: 16 }"></div> <span data-bind="text: votesCount"></span> </button> </div> <div class="td-text page-trigger" data-action="navigate" data-bind="attr: { \'data-href\': localUrl() }"> <div class="relative"> <div class="overflow"> <h3><a data-bind="attr: { href: localUrl() }, highlightedText: { text: title, highlightedText: titleHighlighted, slice: 200 }" class="h3">Idea title</a></h3> </div> </div> </div> </div> '); return b.join("")};var ic=function(){function a(b){var e;e=l.length;for(f&&(b=d());e--;)l[e](b);l.length&&g(a)}var b=v.performance,e=b&&(b.now||b.webkitNow||b.msNow||b.mozNow),d=e?function(){return e.call(b)}:function(){return+new Date},f=!1,g=function(){return v.requestAnimationFrame||v.webkitRequestAnimationFrame||v.mozRequestAnimationFrame||v.msRequestAnimationFrame||v.oRequestAnimationFrame||function(a){v.setTimeout(function(){a(+new Date)},17)}}();g(function(a){f=1E12<a!=1E12<d()});var l=[]; return{live:function(b){1===l.push(b)&&g(a)},die:function(a){var b;a:{b=l;var d=void 0;if(Array.prototype.indexOf)b=b.indexOf(a);else{for(d=0;d<b.length;++d)if(b[d]===a){b=d;break a}b=void 0}}0<=b&&(a=l.slice(b+1),l.length=b,l=l.concat(a))},once:function(a){g(function(b){f&&(b=d());a(b)})}}}(),yb,Tb,Ub,Vb;Tb=function(){function a(){this.api=$("#scroll-overview").data("jsp");this.reinitialise()}a.prototype.onScroll=function(a){};a.prototype.isReady=function(){return!0};a.prototype.getRemainingY=function(){return this._contentHeight- this._panelHeight-this.api.getContentPositionY()};a.prototype.debounce=function(){return Y(0,function(a){return function(){return a.api.scrollByY(-1,!1)}}(this))};a.prototype.reinitialise=function(){this.api.reinitialise();this._panelHeight=this.api.getContentPane().parent().height();return this._contentHeight=this.api.getContentHeight()};return a}();Vb=function(){function a(){this.api=$("#scroll-overview").data("jsp")}a.prototype.isReady=function(){return 0!==$(v).scrollTop()};a.prototype.getRemainingY= function(){var a,e,d;a=$(E).height();e=$(v).height();d=$(v).scrollTop();return a-e-d};return a}();Ub=J.isTouch()?Vb:Tb;yb=function(){function a(a,b){var e,l,n,s;this.element=a;e=b.autoLoad;l=b.itemsPerPage;this._autoLoad=null!=e?e:!0;this._itemsPerPage=null!=l?l:50;this.ideas=[];this._scrollingApi=new Ub;this._$loadingLabel=$("<div>").hide().addClass("ideas-loading");this._autoLoad?this._$loadingLabel.text(null!=(n=app.localization.LoadingIdeas)?n:"Loading..."):this._$loadingLabel.addClass("ideas-loading-button").text(null!= (s=app.localization.ShowMoreIdeas)?s:"Show more").click(function(a){return function(){return a.renderMore()}}(this));this._$loadingLabel.insertAfter(a);v.onscroll=function(a){return function(b){return a._onScroll(b)}}(this);$("body").on("scroll",function(a){return function(b){return a._onScroll(b)}}(this));J.isDesktopSafari()&&rb(v,"body .jspContainer { overflow: auto; }")}var b,e;e=J.isMobile()?"idea-list-item-mobile.html":"idea-list-item.html";b=(new xa(e)).draw({});a.prototype.init=function(a){this.ideas= a;this._renderedCount=0;return this.renderMore()};a.prototype.toggle=function(a){this.enabled=a};a.prototype.renderMore=function(){var a;a=this.ideas.slice(this._renderedCount,+(this._renderedCount+this._itemsPerPage-1)+1||9E9);this._renderBatch(a);this._renderedCount+=a.length;return this._$loadingLabel.toggle(this.ideas.length!==this._renderedCount)};a.prototype._renderBatch=function(a){if(0!==a.length)return ic.once(function(e){return function(){var g,l,n,s,p,u,c;n=[];g=1;for(l=a.length;1<=l?g<= l:g>=l;1<=l?++g:--g)n.push(b);g=E.createElement("div");g.innerHTML=n.join("\n");e.element.appendChild(g);n=0;c=g.childNodes;p=0;for(u=c.length;p<u;p++)g=c[p],1===g.nodeType&&(l=a[n],l.isEven=0!==n%2,n++,ko.applyBindings(l,g));"function"===typeof(s=e._scrollingApi).reinitialise&&s.reinitialise();return e._onScroll()}}(this))};a.prototype._onScroll=pa.debounce(function(){var a;this._scrollingApi.isReady()&&100>=this._scrollingApi.getRemainingY()&&this.enabled&&this._autoLoad&&this.renderMore();if(this._scrollingApi.isReady()&& 0===this._scrollingApi.getRemainingY()&&J.isDesktopSafari())return"function"===typeof(a=this._scrollingApi).debounce?a.debounce():void 0},100);return a}();(function(){return ko.bindingHandlers.ideasList={init:function(a,b){var e,d;e=ko.unwrap(b());d=new yb(a,{itemsPerPage:e.itemsPerPage,autoLoad:e.autoLoad});e.enabled.subscribe(function(a){return d.toggle(a)});$(a).data("virtual-scroll",d);return{controlsDescendantBindings:!0}},update:function(a,b){for(var e,d,f;a.firstChild;)ko.removeNode(a.firstChild); d=ko.unwrap(b());e=ko.unwrap(d.data);if(0!==e.length)return f=$(a).data("virtual-scroll"),f.init(e),f.toggle(d.enabled.peek())}}})();var M=new function(){var a=this,b=sb(),e=new xb;a.GetScreenParams=function(){var a,b=v.innerWidth,e=v.innerHeight;a=b<e?screen.width<screen.height?screen.width:screen.height:screen.width<screen.height?screen.height:screen.width;var l=v.innerWidth;return{sw:a,sh:b<e?screen.width<screen.height?screen.height:screen.width:screen.width<screen.height?screen.width:screen.height, vw:l,vh:v.innerHeight,x:v.pageXOffset,y:v.pageYOffset,z:l/a}};a.HasViewportMeta=function(){for(var a=E.getElementsByTagName("meta"),b=0;b<a.length;b++)if("viewport"===a[b].getAttribute("name"))return!0;return!1};a.GetUserAgentInfo=function(){var b=e.getResult();Ca.log("UA info:",b);var f;f=ab.parseQueryString(v.location.href);f=f.__urpdt?f.__urpdt:w;var g=a.GetScreenParams(),l=b.os.name,n=b.browser.name;b.device.type=f||b.device.type||"desktop";/^Android$/i.test(l)&&/^(Mobile )?Safari$/i.test(n)&& (b.browser.name="Android Browser");"IE"==b.browser.name&&"Windows"==b.os.name&&8<=parseFloat(b.os.version)&&/Touch/i.test(b.ua)&&/WPDesktop/i.test(b.ua)&&620>g.sw&&620>g.sh&&(b.browser.name="IEMobile",b.device.type="mobile");return b};a.UaInfo=a.GetUserAgentInfo();a.GetBrowserName=function(){var a=e.getBrowser().name;return M.IsAndroidStock?"Android Browser":a};a.GetBrowserMajorVersion=function(){return parseInt(a.UaInfo.browser.version)};a.IsAndroidStock="Android Browser"==a.UaInfo.browser.name; a.IsIe="IE"==a.UaInfo.browser.name;a.IsSafari="Safari"==a.UaInfo.browser.name;a.IsPuffin="Puffin"==a.UaInfo.browser.name;a.IsChrome="Chrome"==a.UaInfo.browser.name;a.IsUCBrowser="UCBrowser"==a.UaInfo.browser.name;a.IsWindows="Windows"==a.UaInfo.os.name;a.IsAndroid="Android"==a.UaInfo.os.name;a.IsFirefox=-1<navigator.userAgent.toLowerCase().indexOf("firefox");a.IsOpera=/opera/i.test(navigator.userAgent);a.IsWebkit=function(){if("webkitRequestAnimationFrame"in v)return!0;var b="";a.UaInfo.engine&&(b= a.UaInfo.engine.name);return/^WebKit$/i.test(b)}();a.IsRetina=1<v.devicePixelRatio||v.matchMedia&&v.matchMedia("(-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2),(min-resolution: 1.5dppx)")&&v.matchMedia("(-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2),(min-resolution: 1.5dppx)").matches?!0:!1;a.AndroidMajorVersion="Android"==a.UaInfo.os.name&&parseInt(a.UaInfo.os.version)||!1;a.TridentVersion= "Trident"==a.UaInfo.engine.name&&parseFloat(a.UaInfo.engine.version)||!1;a.IeVersion="IE"==a.UaInfo.browser.name&&parseFloat(a.UaInfo.browser.version)||!1;a.IsMobile="mobile"==a.UaInfo.device.type||"tablet"==a.UaInfo.device.type;a.IsMobileSafari=function(){var a=navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i),b=navigator.userAgent.match(/Windows Phone/i);return a&&!b}();a.IsIPad="iPad"==a.UaInfo.device.model;a.IsIos="iOS"==a.UaInfo.os.name; a.IsDesktop=!a.IsMobile;a.IsBot=function(){var a=navigator.userAgent;return/adsbot-google|googlebot|google web preview|googleweblight|google page speed insights/i.test(a)||/BotLink|ahoy|AlkalineBOT|anthill|appie|arale|araneo|AraybOt|ariadne|arks|ATN_Worldwide/i.test(a)||/Atomz|Bjaaland|Ukonline|borg-bot|boxseabot|bspider|calif|christcrawler|combine|conceptbot|confuzzledbot/i.test(a)||/CoolBot|cosmos|Internet Cruiser Robot|cusco|cyberspyder|cydralspider|desertrealm|desert realm|digger/i.test(a)||/DIIbot|grabber|downloadexpress|DragonBot|dwcp|ecollector|ebiness|elfinbot|esculapio|esther|fastcrawler/i.test(a)|| /FDSE|FELIX IDE|ESI|fido|KIT-Fireball|fouineur|Freecrawl|gammaSpider|gazz|gcreep|golem|griffon|Gromit/i.test(a)||/gulliver|gulper|hambot|havIndex|htdig|iajabot|Informant|InfoSpiders|inspectorwww|irobot|Iron33|JBot/i.test(a)||/jcrawler|jeeves|jobo|KDD-Explorer|ko_yappo_robot|label-grabber|larbin|legs|Linkidator|linkwalker|Lockon/i.test(a)||/logo_gif_crawler|marvin|mattie|mediafox|MerzScope|NEC-MeshExplorer|MindCrawler|udmsearch|moget|Motor|msnbot/i.test(a)||/muncher|muninn|MuscatFerret|MwdSearch|sharp-info-agent|Nederland.zoek|WebMechanic|NetScoop|newscan-online|ObjectsSearch|Occam/i.test(a)|| /pageboy|ParaSite|patric|pegasus|perlcrawler|phpdig|piltdownman|Pimptrain|pjspider|PlumtreeWebAccessor|PortalBSpider/i.test(a)||/psbot|Getterrobo-Plus|Raven|RHCS|RixBot|roadrunner|Robbie|robi|RoboCrawl|robofox|Scooter|searchprocess|Senrigan/i.test(a)||/Shagseeker|sift|SimBot|Site Valet|Open Text Site Crawler|skymob|slurp|ESI|snooper|solbot|Spanner/i.test(a)||/speedy|spider_monkey|spiderline|suke|tach_bw|TechBOT|templeton|titin|topiclink|UdmSearch|urlck|verticrawl/i.test(a)||/void-bot|Voyager|VR FrontPage Fetcher|VWbot_K|crawlpaper|wapspider|webcatcher|WebMoose|webquest|webreaper|webspider|WebWalker/i.test(a)|| /wget|winona|whowhere|hotwired|wlm|WOLP|WWWC|XGET/i.test(a)}();a.IsUserreportScreenshoter=-1<navigator.userAgent.indexOf("Userreport");a.IsTouchAvailable=function(){var d=!1;if(a.IsDesktop){var e=navigator?navigator.appVersion:"";!e.indexOf||-1==e.indexOf("Windows NT 6.2")&&-1==e.indexOf("Windows NT 6.3")||(d=!0)}return(v.navigator.msMaxTouchPoints||b.touch)&&!d}();a.GetMobileZoomMultiplier=function(){var b=a.GetScreenParams(),e=a.UaInfo;return"mobile"==e.device.type?(b.sw<b.sh?b.sw:b.sh)/320:"tablet"== e.device.type?"portrait"==a.GetOrientation()?.9:1.06:1};a.GetTopMargin=function(){var b=M.UaInfo.device.type;return"mobile"==b?6:"tablet"==b?"portrait"==a.GetOrientation()?50:25:6};a.GetOrientation=function(){var b=a.GetScreenParams();return b.sw>b.sh?"landscape":"portrait"};a.IsQuirksMode="CSS1Compat"===E.compatMode?!1:!0;a.IsDagbladetApp="www.dagbladet.no"===String(v.location.hostname)&&-1!==String(v.navigator.userAgent).indexOf("_app_");a.IsMacOs="Mac OS"===a.UaInfo.os.name},rc={isSupportsHtml5Storage:function(){try{return"localStorage"in v&&null!==v.localStorage}catch(a){return!1}},isSupportsHtml5PostMessage:function(){try{return"postMessage"in v}catch(a){return!1}},isCookiesEnabled:function(){if(navigator.cookieEnabled)return!0;E.cookie="cookietest=1";var a=-1!==E.cookie.indexOf("cookietest=");E.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT";return a},isStoragesEnabled:function(){return this.isSupportsHtml5Storage()&&this.isSupportsHtml5PostMessage()&&this.isCookiesEnabled()}},R=function(a,b){this.isSupported=a;this.reason= b};R.prototype.updateData=function(a,b){this.isSupported=a;this.reason=b};var oa=new function(){var a=this;a.reason={DEFAULT:0,BROWSER:1,DEVICE:2,MODE:3,COOKIES:4};a.realEmbed=v.self!==v.top;a.getFeedbackForum=function(){if(M.IsIe&&8>=M.IeVersion||M.IsDesktop&&(M.IsSafari&&M.IsWindows||M.IsSafari&&5>=parseFloat(M.UaInfo.browser.version)||M.IsPuffin||M.IsIe&&10>M.IeVersion)||M.IsMobile&&M.IsIPad&&M.IsUCBrowser)return new R(!1,a.reason.BROWSER);if(M.IsAndroid&&4>M.AndroidMajorVersion)return new R(!1, a.reason.DEVICE);var b=M.UaInfo,e=b.os.name,d=parseInt(b.os.version),f=b.device.type;return/^Android$/i.test(e)&&("mobile"===f||"tablet"===f)&&4>d&&b.IsAndroidStock()?new R(!1,a.reason.DEVICE):M.IsMobile&&a.realEmbed&&320>E.documentElement.clientWidth?new R(!1,a.reason.MODE):new R(!0,a.reason.DEFAULT)};a.getSurvey=function(){return rc.isStoragesEnabled()?M.IsDesktop&&(M.IsSafari&&8>=parseFloat(M.UaInfo.browser.version)||M.IsPuffin||M.IsIe&&9>M.IeVersion)?new R(!1,a.reason.BROWSER):M.IsMobile&&(M.IsIos&& M.IsPuffin||M.IsFirefox)?new R(!1,a.reason.BROWSER):new R(!0,a.reason.DEFAULT):new R(!1,a.reason.COOKIES)};a.getClickMap=function(){return new R(!M.IsMobile,M.IsMobile?a.reason.DEVICE:a.reason.DEFAULT)};a.getGlobal=function(){if(M.IsDagbladetApp)return new R(!1,a.reason.BROWSER);if(M.IsDesktop)return M.IsIe?9>M.IeVersion?new R(!1,a.reason.BROWSER):new R(!0,a.reason.DEFAULT):new R(!0,a.reason.DEFAULT);var b=M.UaInfo,e=b.os.name,d=parseInt(b.os.version),f=b.browser.name,g=b.device.type,l=b.engine.name; if(/^iOS$/i.test(e)){if(6<=d&&"WebKit"===l)return new R(!0,a.reason.BROWSER)}else if(/^Android$/i.test(e)){if(("mobile"===g||"tablet"===g)&&4<=d&&(b=(b=/^(Mobile )?Safari$/i.test(f))||/^Android Browser$/i.test(f),/^Chrome$/i.test(f)||/^Facebook$/i.test(f)||/^Firefox$/i.test(f)||b))return new R(!0,a.reason.BROWSER)}else{if("IE"===b.browser.name&&10<=parseInt(b.browser.major)||"Edge"===b.browser.name)return new R(!0,a.reason.BROWSER);if("IEMobile"===b.browser.name)return new R(!1,a.reason.BROWSER)}return new R(!1, a.reason.DEFAULT)};a.getReason=function(b,e){return b.isSupported?e.isSupported?a.reason.DEFAULT:e.reason:b.reason};a.getSupportedFeatures=function(){if(/__urp=nocheck/gi.test(v.location.toString())){var b={SurveyInfo:new R(!0,a.reason.DEFAULT),FeedbackForumInfo:new R(!0,a.reason.DEFAULT),ClickMapInfo:new R(!0,a.reason.DEFAULT),Survey:!0,FeedbackForum:!0,ClickMap:!0};Ca.log("features:",b);return b}var b=a.getGlobal(),e=a.getFeedbackForum(),d=a.getSurvey(),f=a.getClickMap(),b={SurveyInfo:new R(d.isSupported&& b.isSupported,a.getReason(b,d)),FeedbackForumInfo:new R(e.isSupported&&b.isSupported,a.getReason(b,e)),ClickMapInfo:new R(f.isSupported&&b.isSupported,a.getReason(b,f)),Survey:d.isSupported&&b.isSupported,FeedbackForum:e.isSupported&&b.isSupported,ClickMap:f.isSupported&&b.isSupported};Ca.log("features:",b);return b}},ra,va=function(a,b){return function(){return a.apply(b,arguments)}},U={}.hasOwnProperty,ca=function(a,b){function e(){this.constructor=a}for(var d in b)U.call(b,d)&&(a[d]=b[d]);e.prototype= b.prototype;a.prototype=new e;a.__super__=b.prototype;return a};ra=function(a){function b(a){this.root=a;this._search=va(this._search,this);b.__super__.constructor.call(this,this.root,bb.viewNames.IDEA_LIST);this.mode=ko.observable(e);this.searchKeyword=ko.observable();this.ideasList=ko.observableArray().extend({rateLimit:50});this.modeOptions=[{mode:d.POPULAR,caption:app.localization.PopularIdeasTab.text},{mode:d.RECENT,caption:app.localization.RecentIdeasTab.text},{mode:d.CLOSED,caption:app.localization.ClosedIdeasTab.text}]; this.mode.subscribe(function(a){return function(){return a._navigate()}}(this));this.searchKeyword.extend({throttle:50}).subscribe(function(a){return function(){return a._navigate()}}(this));this.state=ko.observable(f.EMPTY);this.scrollTop=ko.observable(0);this.isLoading=ko.computed(function(a){return function(){return a.state()===f.LOADING}}(this));this.isLoaded=ko.computed(function(a){return function(){return a.state()===f.LOADED}}(this));this.isEmptyListMessageVisible=ko.computed(function(a){return function(){return a.isLoaded()&& 0===a.ideasList().length}}(this));this.emptyListMessage=ko.computed(function(a){return function(){var b;b=function(){switch(!1){case !this.searchKeyword():return app.localization.NoIdeasSearchMessage.html;case this.mode()!==d.CLOSED:return app.localization.NoClosedIdeasMessage.html;default:return app.localization.NoIdeasMessage.html}}.call(a);if(a.isEmptyListMessageVisible())return b}}(this));oa.realEmbed&&M.IsMobileSafari?(this.itemsPerPage=10,this.listAutoLoad=!1):(this.itemsPerPage=50,this.listAutoLoad= !0)}var e,d,f,g;ca(b,a);b.modes=d={POPULAR:"popular",RECENT:"recent",CLOSED:"closed"};b.DEFAULT_MODE=e=b.modes.POPULAR;b.states=f={EMPTY:"empty",LOADING:"loading",LOADED:"loaded"};b.prototype.openIdeasList=function(a,b){null==a&&(a=e);this.searchKeyword(b);this.mode(a);return b?this._search():this._showIdeasList()};b.prototype.getCurrentStateUrl=function(){var a,b;b=this.searchKeyword();a=this.mode();return b?app.urls.ideaSearch(b):app.urls.ideaList(a)};b.prototype._navigate=function(a,b){var d;null== a&&(a=this.mode());null==b&&(b=this.searchKeyword());d=(d=$.trim(b))||0<d.length?app.urls.ideaSearch(b):app.urls.ideaList(a);return hasher.setHash(d)};b.prototype._showIdeasList=function(){var a,b;if(a=this.mode())return null!=(b=this._searchXhr)&&b.abort(),this.state(f.LOADING),app.refreshVotesLeft(),app.backend.getIdeas(a).then(function(b){return function(d){var e;if(a===b.mode())return e=g(d),(d=e.length===b.ideasList().length&&pa.all(pa.zip(e,b.ideasList()),function(a){return a[0]===a[1]}))|| b.ideasList(e),b.state(f.LOADED),app.backend.getUserVotedIdeas().done(function(a){var b,d,e,f;f=[];d=0;for(e=a.length;d<e;d++)b=a[d],(b=sa.getByModelId(b.ideaId))?f.push(b.voted(!0)):f.push(void 0);return f})}}(this))};b.prototype._searchXhr=null;b.prototype._search=function(){var a,b,d;if(a=this.searchKeyword())return b=this.state()===f.EMPTY?f.LOADING:f.LOADED,this.state(b),null!=(d=this._searchXhr)&&d.abort(),this._searchXhr=app.backend.searchIdeas(a,90,100,this.root.culture).done(this._processSearchResponse.bind(this))}; b.prototype._processSearchResponse=function(a){var b,d,e,g,c;b=[];e=function(){var e,f,p,t;p=a.found;t=[];e=0;for(f=p.length;e<f;e++)g=p[e],c=sa.getByModelId(g.ideaId),c.titleHighlighted(g.titleHighlighted),c.descriptionHighlighted(g.descriptionHighlighted),c.title()||(d=pa.find(a.ideas,function(a){return a.id===g.ideaId}),aa.getByDto(d),b.push(g.ideaId)),t.push(c);return t}();app.backend.getUserVotedIdeas().done(function(a){return function(a){var b,d,e,f;f=[];d=0;for(e=a.length;d<e;d++)b=a[d],(c= sa.getByModelId(b.ideaId))?f.push(c.voted(!0)):f.push(void 0);return f}}(this));this.ideasList(e);return this.state(f.LOADED)};g=function(a){var b,d,e,f,c;c=[];d=0;for(e=a.length;d<e;d++)b=a[d],b=null!=(f=b.idea)?f:b,b=sa.getByModel(b),b.titleHighlighted(""),b.descriptionHighlighted(""),c.push(b);return c};return b}(Z);var zb,va=function(a,b){return function(){return a.apply(b,arguments)}};zb=function(){function a(a,d){this.captchaCallback=va(this.captchaCallback,this);this.onSumbit;this.ideaId=ko.observable(); this.submitting=ko.observable(!1);this.comment=ko.observable("");this.userName=a;this.email=d;this.notifyMe=ko.observable(!0);this.validation=new Qb(this);this.submitted=O();this.hasContent=ko.computed(function(a){return function(){return 0!==a.comment().length}}(this));this.commentPlaceHolder=app.localization.AddCommentTxtComment.text+"...";this.canSeeCaptcha=ko.computed(b,this);this.canSeeCaptcha.subscribe(function(a){return app.rootVm.canSeeCaptcha(a)})}var b;a.prototype.submit=function(){this.validation.performValidation(!0); if(this.validation.commentValid()&&!this.submitting())return this.subscription||(this.subscription=app.captchaToken.subscribe(this.captchaCallback)),grecaptcha.execute()};a.prototype.captchaCallback=function(a){var b;b=new nb;b.creationDate(new Date);b.comment(this.comment());b.userName(this.userName());this.submitting(!0);this.subscription.dispose();this.subscription=null;grecaptcha.reset();app.backend.postComment(this.ideaId(),this.comment(),this.userName(),this.email(),this.notifyMe(),app.getHostPageUrl(), app.rootVm.culture,a).done(function(a){return function(e){if("function"===typeof a.onSubmit)a.onSubmit(b);a.validation.performValidation(!1);a.comment("");ha.CommentPosted();return a.submitting(!1)}}(this)).fail(function(a){return function(){ha.SomethigWentWrong();return a.submitting(!1)}}(this));if(this.notifyMe())return app.backend.subscribe(this.ideaId(),this.email(),this.userName())};b=function(){return!!this.comment()&&"showpage-idea"===app.rootVm.pageClassName()};return a}();var Ab,va=function(a, b){return function(){return a.apply(b,arguments)}},U={}.hasOwnProperty,ca=function(a,b){function e(){this.constructor=a}for(var d in b)U.call(b,d)&&(a[d]=b[d]);e.prototype=b.prototype;a.prototype=new e;a.__super__=b.prototype;return a};Ab=function(a){function b(a){this.updateVisibleComments=va(this.updateVisibleComments,this);this.animateComments=ko.observable(!1);b.__super__.constructor.call(this,a);J.isMobile()?this.commentGroupSize=3:this.commentGroupSize=5;this.visibleCommentsCount=ko.observable(this.commentGroupSize); this.moreLinkVisible=ko.computed(function(a){return function(){return a.commentsCount()>a.visibleCommentsCount()}}(this));this.timeAgo=ko.computed(function(a){return function(){return jQuery.timeago(a.creationDate())}}(this));this.animateComments(!0)}ca(b,a);b.prototype.showMoreComments=function(){this.visibleCommentsCount(this.visibleCommentsCount()+this.commentGroupSize);return this.updateVisibleComments()};b.prototype.updateVisibleComments=function(){var a,b,f,g;g=[];a=b=0;for(f=Math.min(this.commentsCount(), this.comments().length);0<=f?b<f:b>f;a=0<=f?++b:--b)g.push(this.comments()[a].visible(a<this.visibleCommentsCount()));return g};return b}(qb);var Bb,U={}.hasOwnProperty,ca=function(a,b){function e(){this.constructor=a}for(var d in b)U.call(b,d)&&(a[d]=b[d]);e.prototype=b.prototype;a.prototype=new e;a.__super__=b.prototype;return a};Bb=function(a){function b(a){this.root=a;b.__super__.constructor.call(this,this.root,bb.viewNames.IDEA_DETAILS);this.idea=ko.observable();this.state=ko.observable(e.EMPTY); this.scrollAnimate=ko.observable(!1);this.scrollTop=ko.observable();this.commentsPositionTop=ko.observable();this.isLoading=ko.computed(function(a){return function(){return a.state()===e.LOADING}}(this));this.isLoaded=ko.computed(function(a){return function(){return a.state()===e.LOADED}}(this));this.newCommentVm=new zb(this.root.authorName,this.root.authorEmail);this.newCommentVm.onSubmit=function(a){return function(b){var d;d=a.idea().model;d.commentsCount(d.commentsCount()+1);return d.comments.unshift(b)}}(this); this.isVisible.subscribe(function(a){return function(b){if(b)return a.newCommentVm.validation.performValidation(!1)}}(this));this.ideaVisibleCommentsAndForm=ko.computed(this._ideaVisibleCommentsAndForm,this).extend({rateLimit:{timeout:300,method:"notifyWhenChangesStop"}})}var e,d,f,g;ca(b,a);b.states=e={EMPTY:"empty",LOADING:"loading",LOADED:"loaded"};b.prototype.openIdea=function(a,b){var s,p;this.idea(null);this.newCommentVm.comment("");this.state(e.LOADING);b&&(p=this.commentsPositionTop.subscribe(function(a){return function(b){Y(300, function(){a.scrollAnimate=500;a.scrollTop(b);a.scrollTop.valueHasMutated();return a.scrollAnimate=!1});return p.dispose()}}(this)));s=function(a){return function(b){a.idea(new Ab(b));d(b.id()).done(function(b){return a.idea().voted(b)});f(b.id()).done(function(b){var c;a.idea().comments(function(){var a,d,e;e=[];a=0;for(d=b.length;a<d;a++)c=b[a],e.push(new nb(c));return e}());return a.idea().updateVisibleComments()});a.newCommentVm.ideaId(b.id());return a.state(e.LOADED)}}(this);return g(a).then(s).fail(function(){var a; (a=app.localization.LoadingError)||(a="unable to load idea");return alert(a)})};b.prototype.getCurrentStateUrl=function(){return app.urls.ideaDetails(this.idea().id())};b.prototype.scrollToComments=function(){this.scrollAnimate=500;this.scrollTop(this.commentsPositionTop());this.scrollTop.valueHasMutated();return this.scrollAnimate=!1};b.prototype._ideaVisibleCommentsAndForm=function(){var a,b,d,e;d=this.newCommentVm.hasContent();e=(this.newCommentVm.comment()||"").split("\n").length;b=(a=this.idea())? a.comments():[];var f,c,g;g=[];f=0;for(c=b.length;f<c;f++)a=b[f],a.visible()&&g.push(a);return[g.length,d,e]};g=function(a){return app.backend.getIdeaDetails(a)};f=function(a){return app.backend.loadIdeaComments(a)};d=function(a){var b;b=O();app.backend.getUserVotedIdeas().done(function(d){var e,f,c,g;e=!1;c=0;for(g=d.length;c<g;c++)f=d[c],f.ideaId===a&&(e=!0);return b.resolve(e)}).fail(b.reject);return b.promise()};return b}(Z);var jc,sc=[].indexOf||function(a){for(var b=0,e=this.length;b<e;b++)if(b in this&&this[b]===a)return b;return-1};jc=function(){function a(a,b,f,g,l,n,s,p){this.className=a;this.$svgNode=b;this.width=f;this.height=g;this.color=l;this.hoverColor=null!=n?n:!1;this.activeColor=null!=s?s:!1;this.selector=null!=p?p:!1;this._sheets=[];this.$svgNode.find(".transparent").css("visibility","hidden");this.ready=O();this._work()}var b;a.svgToPngSupported=!0;b=["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAEklEQVQ4jWNgGAWjYBSMAggAAAQQAAF/TXiOAAAAAElFTkSuQmCC", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAABJJREFUOI1jYBgFo2AUjAIIAAAEEAABf014jgAAAABJRU5ErkJggg==","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAFUlEQVQ4EWNgGAWjITAaAqMhAAkBAAQQAAG+Y1MiAAAAAElFTkSuQmCC"];a.prototype._work=function(){var a;a=[];a.push(this._drawPng(this.color).done(function(a){return function(b){return a._addCss(b)}}(this)));this.hoverColor&&a.push(this._drawPng(this.hoverColor).done(function(a){return function(b){return a._addCss(b, "hover")}}(this)));this.activeColor&&a.push(this._drawPng(this.activeColor).done(function(a){return function(b){return a._addCss(b,"active")}}(this)));return $.when.apply($,a).done(function(a){return function(){var b;b=a._sheets.join("\n");$("<style type='text/css'>"+b+"</style>").appendTo("head");return a.ready.resolve(a.className)}}(this))};a.prototype._drawPng=function(b){return O(function(d){return function(f){var g,l;d.$svgNode.attr("width",d.width).attr("height",d.height).find(".fill").css("fill", b);l=d.$svgNode.parent().html();g="data:image/svg+xml;base64,"+ac(l);a.svgToPngSupported||f.resolve(g);return d._svgToPng(g).done(function(a){return f.resolve(a)}).fail(function(){a.svgToPngSupported=!1;return f.resolve(g)})}}(this))};a.prototype._svgToPng=function(a){var d,f;f=this.width;d=this.height;return O(function(g){var l,n;l=E.createElement("canvas");n=new Image;n.onload=function(){var a,e;try{return l.width=n.width=f,l.height=n.height=d,a=l.getContext("2d"),a.drawImage(n,0,0),e=l.toDataURL("image/png"), !e||0<=sc.call(b,e)?g.reject():g.resolve(e)}catch(u){return g.reject()}};return n.src=a})};a.prototype._addCss=function(a,b){var f;null==b&&(b=!1);this.selector?(f=this.selector,b&&(f+=":"+b),f+=" ."+this.className):(f="."+this.className,b&&(f+=":"+b));return this._sheets.push(""+f+" {\n"+(""+("background-image: url('"+a+"')"))+"}")};return a}();(function(){var a,b;a={};b=function(b,d,f,g,l,n,s){var p,u;null==l&&(l=!1);null==n&&(n=!1);null==s&&(s=!1);u=""+b+"-"+d+"x"+f;u+="-"+g.substring(1);l&&(u+= "-"+l.substring(1));n&&(u+="-"+n.substring(1));a[u]||(b=$("#"+b).html(),p=$(b),b=p.find("svg"),d=new jc(u,b,d,f,g,l,n,s),a[u]=d.ready.then(function(){return u+" "+p.attr("class")}));return a[u]};return ko.bindingHandlers.svgToPng={update:function(a,d,f){var g,l,n,s,p;g=$(a);n=d();s=ko.unwrap(n.template);d=ko.unwrap(n.color);l=ko.unwrap(n.hoverColor);a=ko.unwrap(n.activeColor);p=ko.unwrap(n.width);f=ko.unwrap(n.height);n=ko.unwrap(n.selector);if(s&&d&&p&&f)return a=b(s,p,f,d,l,a,n),a.done(function(a){g.html(""); return $("<div>").addClass(a).appendTo(g)})}}})();(function(){var a,b;a=function(a){var b,f,g,l,n,s,p;g=0;f=a.find(".selecttext");p=a.find("li");n=0;for(s=p.length;n<s;n++)b=p[n],b=$(b),f.text(b.text()),b.addClass("selected"),l=a.outerWidth(!0),b.removeClass("selected"),l>g&&(g=l);f.text("");return g};b=function(a,b){var f,g,l,n,s;g=$("<ul>").addClass("dropdown");a.append(g);n=0;for(s=b.length;n<s;n++)l=b[n],f=l.caption,l=l.mode,f=$("<li>").attr("data-value",l).text(f),g.append(f);a.click(function(){return $(this).toggleClass("focus")}); $(E).mouseup(function(a){var b;b=$(".selectbox");if(!b.is(a.target)&&0===b.has(a.target).length)return b.removeClass("focus")});return g};return ko.bindingHandlers.styledSelect={init:function(e,d,f){var g;e=$(e);d=f().options;g=f().value;e.wrap("<div>");f=e.parent();f.addClass("selectbox");f.append('<span class="selecttext"></span><span class="selectbg"></span>\n<div class="icon icon-arrow">\n\t<div class="svg-content">\n\t\t<svg\n\t\t\tversion="1.1"\n\t\t\txmlns="http://www.w3.org/2000/svg"\n\t\t\tpreserveAspectRatio="xMinYMin meet"\n\t\t\tviewBox="0 0 8 5">\n\t\t\t\t<path class="fill" d="M4.331,4.831c-0.182,0.226-0.479,0.226-0.662,0L0.095,0.409C-0.087,0.184,0.002,0,0.293,0h7.414c0.291,0,0.381,0.184,0.199,0.409L4.331,4.831z"/>\n\t\t</svg>\n\t</div>\n</div>'); if(!J.isMobile())return e.hide(),e=b(f,d),e.find("li").click(function(){var a;a=$(this).data("value");return g(a)}),e=a(f),f.parent(".header-filter").data("full-width",e)},update:function(a,b,f){var g,l,n,s;f=f();b=f.options;f=f.value();a=$(a).parent(".selectbox");n=0;for(s=b.length;n<s;n++)l=b[n],l.mode===f&&(g=l);a.find(".selecttext").text(null!=g?g.caption:void 0);if(!J.isMobile()&&(a.find("li.selected").removeClass("selected"),g))return g=a.find("li[data-value="+g.mode+"]"),g.addClass("selected")}}})(); (function(){var a;a=function(a){var e;e=a.width();rb(v,".header-search:not(.minified) { width: "+e+"px; }","header-search");a.data("full-width",e);a.addClass("minified");a.data("minified-width",a.width());return a.removeClass("minified")};ko.bindingHandlers.feedbackSearch={init:function(b,e){var d,f,g,l,n;d=$("body");l=e();f=$(b);J.isMobile()||Y(0,function(){return a(f)});g=f.find("input");J.isAndroidStock()&&(g.css("visibility","hidden"),f.find(".icon-search").click(function(){d.addClass("searching"); f.addClass("focus");g.css("visibility","visible");return g.focus()}));n=function(){g.val("").trigger("change");f.removeClass("typing");return d.removeClass("searching")};g.bind({focus:function(){d.addClass("searching");return f.addClass("focus")},blur:function(){g.val()||n();J.isAndroidStock()&&g.css("visibility","hidden");return f.removeClass("focus")},keyup:function(a){switch(a.keyCode){case 27:return l(""),g.blur();case 13:return a.preventDefault(),g.blur()}}});f.find(".icon-clear").on("mousedown", function(a){a.preventDefault();a.stopPropagation();n();return g.blur()});return f.on("mousedown",function(a){a=$(a.target);if(!a.is(".icon-clear")&&!a.parent(".icon-clear").length)return g.focus()})},update:function(a,e){var d,f,g;g=ko.unwrap(e());d=$(a);f=d.find("input");if(g)return d.addClass("typing"),$("body").addClass("searching");f.is(":focus")||$("body").removeClass("searching");return d.removeClass("typing")}};return ko.bindingHandlers.searchStock={update:function(a,e,d){if(J.isAndroidStock()&& (a=$(a),a=a.find("input"),e=ko.unwrap(e()),d=ko.unwrap(d.get("feedbackSearch")),e&&d))return a.css("visibility","visible")}}})();J.isMobile()||function(){return $(v).on("resize orientationchange header-updated",function(){var a,b,e,d,f,g,l,n,s;if($("body").hasClass("showpage-overview")){for(;!d;)d=$("#header .padding");for(;!l;)l=$(".header-filter");for(;!f;)f=$(".header-logo");for(;!a;)a=$("#header-buttons");for(;!b;)b=$(".header-close");for(;!e;)e=$(".header-filter");for(;!g;)g=$(".header-search"); l=e.data("full-width");n=g.data("full-width");s=g.data("minified-width");d=d.width();f=f.outerWidth(!0);a=a.outerWidth(!0);b=b.outerWidth(!0);d=d-f-a-b;a=b=!1;l+n>d&&(a=!0,l+s>d&&(b=!0));b?e.addClass("minified"):e.removeClass("minified");a?g.addClass("minified"):g.removeClass("minified");e="body .header-search.typing, body .header-search.focus { width: "+(300<d?300:d)+"px; }";return rb(v,e,"header-search-focus")}})}();Z=function(){function a(){}a.prototype.onCloseClick=function(){var a;v.parent!== v?v.parent.postMessage("close-feedback-forum","*"):(a=app.getHostPageUrl()||app.websiteSettings.SiteUrl,-1===a.indexOf("//")&&(a="//"+a),v.location=a);return!0};return a}();var bb,U={}.hasOwnProperty,ca=function(a,b){function e(){this.constructor=a}for(var d in b)U.call(b,d)&&(a[d]=b[d]);e.prototype=b.prototype;a.prototype=new e;a.__super__=b.prototype;return a};bb=function(a){function b(a,b,e){var f,u,c,t;this.websiteSettings=a;this.colors=b;this.appCustomization=e;this.websiteName=this.websiteSettings.SiteName; this.culture=this.websiteSettings.SurveyCulture;this.activeViewName=ko.observable();this.bodyClassName=ko.computed(d,this);this.pageClassName=ko.computed(g,this);this.canSeeCaptcha=ko.observable(!1);this.logo=ko.observable();this.logoTemplate=ko.computed(function(a){return function(){return a.logo()?"custom-logo":"default-logo"}}(this));a=null!=(u=null!=(c=this.appCustomization.userName)?c:ma.getItem("ff-author-name"))?u:"";u=null!=(f=null!=(t=this.appCustomization.userEmail)?t:ma.getItem("ff-author-email"))? f:"";this.authorName=ko.observable(a);this.authorEmail=ko.observable(u);f={rateLimit:{method:"notifyWhenChangesStop",timeout:400}};this.delayedAuthorName=ko.computed(this.authorName).extend(f);this.delayedAuthorEmail=ko.computed(this.authorEmail).extend(f);this.delayedAuthorName.subscribe(function(a){return ma.setItem("ff-author-name",a)});this.delayedAuthorEmail.subscribe(function(a){return ma.setItem("ff-author-email",a)});this.ideaList=new ra(this);this.ideaDetails=new Bb(this);this.giveFeedback= new pb(this);this.showCloseButton=app.appCustomization.showCloseButton;this._initBackButton();this.onImageError=function(a){return function(){return a.logo(void 0)}}(this)}var e,d,f,g;ca(b,a);b.viewNames=e={IDEA_LIST:"idea-list",IDEA_DETAILS:"idea-details",GIVE_FEEDBACK:"give-feedback"};b.prototype.showIdeaList=function(a,b){this.activeViewName(e.IDEA_LIST);return this.ideaList.openIdeasList(a,b)};b.prototype.showIdeaDetails=function(a,b){return f().then(function(d){return function(){d.ideaDetails.openIdea(a, b);return d.activeViewName(e.IDEA_DETAILS)}}(this))};b.prototype.unsubscribe=function(a,b){return f().then(function(b){return function(){b.ideaDetails.openIdea(a,!0);b.activeViewName(e.IDEA_DETAILS);return ha.UnsubscribedFromIdea()}}(this))};b.prototype.showGiveFeedback=function(a){return f().then(function(b){return function(){b.giveFeedback.setType(a);return b.activeViewName(e.GIVE_FEEDBACK)}}(this))};b.prototype.onImageLoaded=function(a,b){var d,e;a.isDoubleSize&&(d=b.target,e=Math.floor(.5*d.naturalHeight), d.style.height=e+"px");return Y(0,function(){return $(v).trigger("header-updated")})};b.prototype._initBackButton=function(){var a,b;this.activeViewName.history=[];this.activeViewName.isFrozen=!1;b=function(a){return function(b){if(!a.activeViewName.isFrozen)return a.activeViewName.history.push(b)}}(this);a=ko.computed(function(a){return function(){switch(a.activeViewName()){case e.IDEA_LIST:return a.ideaList;case e.IDEA_DETAILS:return a.ideaDetails;case e.GIVE_FEEDBACK:return a.giveFeedback}}}(this)); this.activeViewName.subscribe(b,null,"beforeChange");this.back=function(b){return function(){var d,f;b.activeViewName.isFrozen=!0;d=b.activeViewName();f=b.activeViewName.history.pop();if("undefined"===typeof f)if(d!==e.IDEA_LIST)f=e.IDEA_LIST;else{b.onCloseClick();return}b.activeViewName(f);b.activeViewName.isFrozen=!1;d=a().getCurrentStateUrl();return hasher.setHash(d)}}(this);return this.backVisible=ko.computed(function(a){return function(){var b;b=a.activeViewName();a.activeViewName.history.pop(); return b!==e.IDEA_LIST||app.getHostPageUrl()?!0:!1}}(this))};d=function(){var a;a=[];app.appCustomization.showLogo||a.push("hide-logo");app.appCustomization.embed&&a.push("embed");app.appCustomization.allowBugReport||a.push("hide-bug");return a.join(" ")};g=function(){return function(){switch(this.activeViewName()){case e.IDEA_LIST:return"showpage-overview";case e.IDEA_DETAILS:return"showpage-idea";case e.GIVE_FEEDBACK:return"showpage-create"}}.call(this)};f=function(){return app.backend.hello()}; return b}(Z);var Wb;Wb=function(){function a(){}var b;a.init=function(){var a;if(!Modernizr.touch)return a=$("body"),a.on("mouseover",".tip",function(){var a,b,e,l,n,s,p,u;n=$(this);b=n.outerHeight(!0);p=n.outerWidth(!0);u=$(v).width();a=n.data("tip");l=n.data("pos");s=$('<div class="tooltip"></div>');e=n.offset();b=e.top+b;e=e.left;n.data("tip-element",s);s.prependTo("body").addClass(l).html(a);"left"===l&&s.css({top:b,left:e});"right"===l&&s.css({top:b,right:u-e-p});return Y(1E3,function(){return s.addClass("show")})}), a.on("mouseout",".tip",b)};b=b=function(){$(".tooltip").addClass("remove").removeClass("show");return Y(200,function(){return $(".tooltip.remove").remove()})};return a}();$(E).on("click",'[data-action="navigate"]',function(){var a;a=$(this).data("href");return v.location.href=a});var Xb,va=function(a,b){return function(){return a.apply(b,arguments)}},U={}.hasOwnProperty,ca=function(a,b){function e(){this.constructor=a}for(var d in b)U.call(b,d)&&(a[d]=b[d]);e.prototype=b.prototype;a.prototype=new e; a.__super__=b.prototype;return a};Xb=function(a){function b(){this.refreshVotesLeft=va(this.refreshVotesLeft,this);this.messageReceived=va(this.messageReceived,this);this.isLocalStorageSupported=!1;this.urls={};d();this.readyPromise=O();b.__super__.constructor.call(this)}var e,d;ca(b,a);b.prototype.rootVm=null;b.prototype.websiteSettings=null;b.prototype.websiteVotesLeft=ko.observable(10);b.prototype._drawLayout=function(a){var b,d,e,s,p,u,c;this.websiteSettings=a;b=[];s=[];J.isTouch()&&b.push("touch"); J.isMobile()&&(J.isWindowsPhone()&&(d="wp"+J.osVersionWithoutDote(),b.push(d)),b.push("mobile"));J.isTablet()&&b.push("tablet");J.isAndroidStock()&&b.push("stock");J.isTouch()||(s.push("touch"),b.push("no-touch"));u=0;for(c=b.length;u<c;u++)d=b[u],$("html").addClass(d);b=0;for(u=s.length;b<u;b++)d=s[b],$("html").removeClass(d);e=new xa("layout.html");p=new xa("style.less");return mb().done(function(b){return function(){Wb.init();b.applyStyles(a,p);return $("body").html(e.draw())}}(this))};b.prototype._initKnockout= function(){var a,b;this.rootVm=new bb(this.websiteSettings,this.colors,this.appCustomization);this.captchaToken=ko.observable();b=this.websiteSettings["https:"===location.protocol?"CustomLogoHttpsUrl":"CustomLogoUrl"];this.isDoubleSize=!1;b&&J.isRetina()&&(a=new Image,a.hasOwnProperty("naturalHeight")&&(b=b.replace(/\.\w+$/,function(a){return"_x2"+a}),this.isDoubleSize=!0));if(b)return(new Image).src=b,this.rootVm.logo({url:b,isDoubleSize:this.isDoubleSize})};b.prototype._setupRoutes=function(){var a, b,d,e,s;e=crossroads.addRoute("ideas/{mode}",function(a){return function(b){return a.rootVm.showIdeaList(b)}}(this));this.urls.ideaList=function(a){null==a&&(a=ra.DEFAULT_MODE);return"#"+e.interpolate({mode:a})};s=crossroads.addRoute("ideas/search/{keyword}",function(a){return function(b){return a.rootVm.showIdeaList(null,b)}}(this));this.urls.ideaSearch=function(a){return"#"+s.interpolate({keyword:a})};d=crossroads.addRoute("idea/{id}/:comments:",function(a){return function(b,c){return a.rootVm.showIdeaDetails(b, c?!0:void 0)}}(this));this.urls.ideaDetails=function(a,b){return"#"+d.interpolate({id:a,comments:b?"comments":void 0})};b=crossroads.addRoute("submit/{type}",function(a){return function(b){return a.rootVm.showGiveFeedback(b)}}(this));this.urls.giveFeedback=function(a){return"#"+b.interpolate({type:a})};this.urls.submitIdea=function(a){return function(){return a.urls.giveFeedback(pb.types.IDEA)}}(this);this.urls.reportBug=function(a){return function(){return a.urls.giveFeedback(pb.types.BUG)}}(this); a=function(a){return hasher.replaceHash(a)};crossroads.addRoute("",function(b){return function(){return a(b.urls.ideaList())}}(this));crossroads.addRoute("ci/submit-idea",function(b){return function(){return a(b.urls.submitIdea())}}(this));crossroads.addRoute("ci/report-a-bug",function(b){return function(){return a(b.urls.reportBug())}}(this));crossroads.addRoute("ci/ideas",function(b){return function(){return a(b.urls.ideaList())}}(this));crossroads.addRoute("ci/ideas/popular",function(b){return function(){return a(b.urls.ideaList(ra.modes.POPULAR))}}(this)); crossroads.addRoute("ci/ideas/recent",function(b){return function(){return a(b.urls.ideaList(ra.modes.RECENT))}}(this));crossroads.addRoute("ci/ideas/closed",function(b){return function(){return a(b.urls.ideaList(ra.modes.CLOSED))}}(this));crossroads.addRoute("ci/ideas/{mode}/{id}/:comments:",function(b){return function(d,c,e){return a(b.urls.ideaDetails(c,e))}}(this));crossroads.addRoute("command/{command}/{?query}",function(a){return function(b,c){var d;return(d=a._api[b])?d.call(a,c):Ca.log("Unknown API method", b)}}(this));crossroads.bypassed.add(function(b){return function(d){return a(b.urls.ideaList())}}(this));return crossroads.routed.add(function(a){})};b.prototype._api={ViewComments:function(a){return hasher.setHash(app.urls.ideaDetails(a.id,!0))},Unsubscribe:function(a){app.backend.unsubscribe(a.id,a.subscriptionId);return app.rootVm.unsubscribe(a.id,a.subscriptionId)}};b.prototype._route=function(){var a;a=function(a){return crossroads.parse(a)};hasher.initialized.add(a);hasher.changed.add(a);hasher.prependHash= "";return hasher.init()};b.prototype._setupAppCustomization=function(){var a;if("undefined"===typeof this.appCustomization.allowBugReport)return a="undefined"===typeof this.websiteSettings.FeedbackForumAllowBug?!0:this.websiteSettings.FeedbackForumAllowBug,"undefined"===typeof a&&(a=!0),this.appCustomization.allowBugReport=a};b.prototype._setupEventListener=function(){v.addEventListener?v.addEventListener("message",this.messageReceived,!1):v.attachEvent("onmessage",this.messageReceived);if(v.parent&& v.parent.postMessage&&v!==v.parent)return v.parent.postMessage("ready","*")};b.prototype.messageReceived=function(a){if("string"===typeof a.data&&"{"===a.data[0]&&(a=$.parseJSON(a.data),a.isCustomizing=!0,null!=(null!=a?a.type:void 0)))switch(a.type){case "customization.color":return this.setColor(a);case "customization.logo":return this.setLogo(a);default:return Ca.log("unrecognized command",a)}};b.prototype.setLogo=function(a){return this.rootVm.logo({url:a.url,width:a.width+"px",height:a.height+ "px",top:a.top+"px",left:a.left+"px",isCustomizing:a.isCustomizing})};b.prototype.setColor=function(a){var b;b=new xa("style.less");return this.applyStyles(this.websiteSettings,b,a.color)};b.prototype.getHostPageUrl=function(){return this.appCustomization.hostPageUrl};b.prototype.refreshVotesLeft=function(){return app.backend.getUserVotesLeft().done(function(a){return function(b){return a.websiteVotesLeft(b.votesLeft)}}(this))};b.prototype.run=function(a,b,d,n){this.websiteId=a;this.appCustomization= b;this.boardId=d;this.token=n;this.reCaptchaToken=ja.CaptchaToken;Ea.respondentIdPromise().done(function(a){});this.backend=new Rb(a,this.appCustomization.useLoremIpsumBackend?ja.LoremIpsumBoardId:this.boardId,this.appCustomization.customMetadata,this.appCustomization.useLoremIpsumBackend?ja.LoremIpsumToken:this.token);a=function(a){return function(b,d){a.websiteSettings=b;a.localization=a.convertLocalizationFormat(b,d);a._setupRoutes();a._setupAppCustomization();a._setupEventListener();a.loadAdditionalLocalizations(b.SurveyCulture); return a._drawLayout(b).done(function(){a._initKnockout();a._setupCaptcha(a.captchaToken);a._route();e();ko.applyBindings(a.rootVm);$("#header,#content").removeClass("invisible");v.Timings.FeedbackForumShown=(new Date).getTime();Y(0,function(){return $(v).trigger("header-updated")});Y(100,function(){return $(v).trigger("header-updated")});return a.readyPromise.resolve()})}}(this);return $.when(Za(),$a()).then(a)};d=function(){var a;a=function(a){if("mouseup"===a.data)return $("html").trigger("mouseup.jsp")}; return v.addEventListener?v.addEventListener("message",a,!1):v.attachEvent("onmessage",a)};e=function(){if(J.isMobile())return $("#overview").on("click",".idea",function(){var a;a=$(this);a.addClass("active");return Y(500,function(){return a.removeClass("active")})})};b.prototype._setupCaptcha=function(a){var b;b={sitekey:app.reCaptchaToken,callback:a,size:"invisible",badge:"bottomright"};return v.grecaptcha&&v.grecaptcha.render?v.grecaptcha.render("recaptcha",b):v.recaptchaLoadCallback=function(){return grecaptcha.render("recaptcha", b)}};return b}(Da);var Cb,U={}.hasOwnProperty,ca=function(a,b){function e(){this.constructor=a}for(var d in b)U.call(b,d)&&(a[d]=b[d]);e.prototype=b.prototype;a.prototype=new e;a.__super__=b.prototype;return a};Cb=function(a){function b(a,b){this.application=a;this.reason=ko.observable(b);this.IsNarrow=ko.computed(function(a){return function(){console.log(a.reason(),oa.reason.MODE,a.reason()===oa.reason.MODE);return a.reason()===oa.reason.MODE}}(this));this.Message=ko.computed(function(a){return function(){return function(){switch(this.reason()){case oa.reason.BROWSER:case oa.reason.DEVICE:return J.isMobileOrTablet()? this.application.localization.BrowserNotSupportedMobile:this.application.localization.BrowserNotSupported;case oa.reason.MODE:return this.application.localization.ModeNotSupported;default:return this.application.localization.BrowserNotSupported}}.call(a)}}(this))}ca(b,a);return b}(Z);var Db,U={}.hasOwnProperty,ca=function(a,b){function e(){this.constructor=a}for(var d in b)U.call(b,d)&&(a[d]=b[d]);e.prototype=b.prototype;a.prototype=new e;a.__super__=b.prototype;return a};Db=function(a){function b(a){this.reason= a;this.readyPromise=O();b.__super__.constructor.call(this)}ca(b,a);b.prototype._drawLayout=function(a){var b,f;b=new xa("browser-is-not-supported.html");f=new xa("style.less");return mb().done(function(g){return function(){$("body").html(b.draw());return g.applyStyles(a,f)}}(this))};b.prototype.run=function(a,b){var f;this.websiteId=a;this.appCustomization=b;f=function(a){return function(b,d){a.websiteSettings=b;a.localization=a.convertLocalizationFormat(b,d);return a._drawLayout(b).then(function(){a.vm= new Cb(a,a.reason);ko.applyBindings(a.vm,E.getElementById("not-supported-container"));return a.readyPromise.resolve()})}}(this);return $.when(Za(),$a()).then(f)};return b}(Da);var Yb,U={}.hasOwnProperty,ca=function(a,b){function e(){this.constructor=a}for(var d in b)U.call(b,d)&&(a[d]=b[d]);e.prototype=b.prototype;a.prototype=new e;a.__super__=b.prototype;return a};Yb=function(a){function b(a){this.application=a;this.Message=function(a){return function(){return a.application.localization.FeedbackForumClosed? a.application.localization.FeedbackForumClosed:"Feedback forum has been closed for now"}}(this)}ca(b,a);return b}(Z);var Zb,U={}.hasOwnProperty,ca=function(a,b){function e(){this.constructor=a}for(var d in b)U.call(b,d)&&(a[d]=b[d]);e.prototype=b.prototype;a.prototype=new e;a.__super__=b.prototype;return a};Zb=function(a){function b(a){this.appliaction=a;this.readyPromise=O();b.__super__.constructor.call(this)}ca(b,a);b.prototype._drawLayout=function(a){var b,f;b=new xa("feedbackforum-closed.html"); f=new xa("style.less");return mb().done(function(g){return function(){$("body").html(b.draw());return g.applyStyles(a,f)}}(this))};b.prototype.run=function(a,b){var f;this.websiteId=a;this.appCustomization=b;f=function(a){return function(b,d){a.websiteSettings=b;a.localization=a.convertLocalizationFormat(b,d);return a._drawLayout(b).then(function(){a.vm=new Yb(a);ko.applyBindings(a.vm,E.getElementById("feedback-closed-container"));return a.readyPromise.resolve()})}}(this);return $.when(Za(),$a()).then(f)}; return b}(Da);$(E).on("click",".placeholder",function(){var a;a=$(this).prev();a.filter("input").focus();return a.filter("textarea").focus()});var $b;$b=Ia(function(a){return $.ajax("//cdn.userreport.com/SystemSettings.js?ajax",{dataType:"text",success:function(b){b=/^_urq\.push\(\['_resourcesLoaded',\s*'SystemSettings',(.+)\]\)\;$/.exec(b);b=$.parseJSON(b[1]);return a.resolve(b)},error:function(){return a.reject()}})});var wb;wb=O();var Eb,Fb,Gb,U={}.hasOwnProperty;Fb=function(a){var b,e,d,f,g,l, n;b=location.hash||"";f=b.indexOf("?");if(-1===f)return!1;d={showCloseButton:"cb",showLogo:"logo",hostPage:"u",allowBugReports:"bug",isEmbededMode:"embed",debug:"__urp",metadata:"metadata",userName:"userName",userEmail:"userEmail"};b=b.substr(f);b=ab.parseQueryString(b);a.showCloseButton="1"===b[d.showCloseButton];a.showLogo="0"!==b[d.showLogo];a.hostPageUrl=b[d.hostPage];a.embed="1"===b[d.isEmbededMode];e=b[d.allowBugReports];a.userName=null!=(l=b[d.userName])?l:null;a.userEmail=null!=(n=b[d.userEmail])? n:null;"undefined"!==typeof e&&(a.allowBugReport="1"===e);if("undefined"!==typeof b[d.metadata])try{a.customMetadata=JSON.parse(b[d.metadata])}catch(s){void 0}for(g in d)U.call(d,g)&&(a=d[g],delete b[a]);d=ab.composeQueryString(b);f=location.hash.substr(0,f);d&&(f=f+"?"+d);v.history&&v.history.replaceState?v.history.replaceState(null,null,f):v.location.hash=f;return!0};Gb=function(a,b,e){if(!ma.supported)return!1;b=""+b+"-customization";if(a&&v.localStorage)a={hostPageUrl:e.hostPageUrl,showCloseButton:e.showCloseButton}, a=JSON.stringify(a),ma.setItem(b,a);else if(a=ma.getItem(b))a=JSON.parse(a),e.hostPageUrl=a.hostPageUrl,e.showCloseButton=a.showCloseButton;return!0};Eb=function(){try{return v.self!==v.top}catch(a){return!0}};(function(){var a,b,e,d,f,g;Ca.log("Build date: %s","17/06/2024 10:33");Ca.log("Version: %s","2.0.231");if(e=/^\/([A-F0-9]{8}(?:-[A-F0-9]{4}){3}-[A-F0-9]{12})(\/lorem)?\/?(.*)/i.exec(location.pathname))return g=e[1],b=e[2]?!0:!1,e="preview"===e[3]?!0:!1,f=b&&e,a={showCloseButton:!1,showLogo:!0, allowBugReport:void 0,hostPageUrl:void 0,embed:!1,useLoremIpsumBackend:b,realEmbed:Eb(),customMetadata:null,userName:null,userEmail:null},b=Fb(a),d=Gb(b,g,a),wb.resolve({websiteId:g,appCustomization:a}),b=function(b){return function(b,e){var l,t;t=oa.getSupportedFeatures();l=!b.GlobalCrowdIntelligenceEnabled||!e.CrowdIntelligenceEnabled||e.IsRemoved;t?l&&!f?v.app=new Zb:t.FeedbackForumInfo.isSupported?(v.app=new Xb,v.app.isLocalStorageSupported=d):v.app=new Db(t.FeedbackForumInfo.reason):v.app=new Db(0); return app.run(g,a,e.FeedbackForumBoardId,e.FeedbackForumToken)}}(this),$.when($b(),Za()).then(b);E.getElementById("globalLoadingLabel").innerHTML='Feedback forum power by <a href="http://www.userreport.com/">UserReport</a>. URL is misformatted'})()})(window,document,void 0); </script> <script> window.Timings.PageDownloaded = new Date().getTime(); </script> </body> </html>