var Hogan={};!function(t){function l(t,n,e){var i;return n&&"object"==typeof n&&(void 0!==n[t]?i=n[t]:e&&n.get&&"function"==typeof n.get&&(i=n.get(t))),i}t.Template=function(t,n,e,i){this.r=(t=t||{}).code||this.r,this.c=e,this.options=i||{},this.text=n||"",this.partials=t.partials||{},this.subs=t.subs||{},this.buf=""},t.Template.prototype={r:function(t,n,e){return""},v:function(t){return t=o(t),a.test(t)?t.replace(n,"&").replace(e,"<").replace(i,">").replace(r,"'").replace(s,"""):t},t:o,render:function(t,n,e){return this.ri([t],n||{},e)},ri:function(t,n,e){return this.r(t,n,e)},ep:function(t,n){var e=this.partials[t],i=n[e.name];if(e.instance&&e.base==i)return e.instance;if("string"==typeof i){if(!this.c)throw new Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[t].base=i,e.subs){for(key in n.stackText||(n.stackText={}),e.subs)n.stackText[key]||(n.stackText[key]=void 0!==this.activeSub&&n.stackText[this.activeSub]?n.stackText[this.activeSub]:this.text);i=function(t,n,e,i,r,s){function a(){}function o(){}o.prototype=(a.prototype=t).subs;var u,c=new a;for(u in c.subs=new o,c.subsText={},c.buf="",i=i||{},c.stackSubs=i,c.subsText=s,n)i[u]||(i[u]=n[u]);for(u in i)c.subs[u]=i[u];for(u in r=r||{},c.stackPartials=r,e)r[u]||(r[u]=e[u]);for(u in r)c.partials[u]=r[u];return c}(i,e.subs,e.partials,this.stackSubs,this.stackPartials,n.stackText)}return this.partials[t].instance=i},rp:function(t,n,e,i){t=this.ep(t,e);return t?t.ri(n,e,i):""},rs:function(t,n,e){var i=t[t.length-1];if(f(i))for(var r=0;r/g,r=/\'/g,s=/\"/g,a=/[&<>\"\']/;function o(t){return String(null==t?"":t)}var f=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}}("undefined"!=typeof exports?exports:Hogan),function(x){var w=/\S/,n=/\"/g,e=/\n/g,i=/\r/g,r=/\\/g,s=/\u2028/,a=/\u2029/;function k(t){return t.trim?t.trim():t.replace(/^\s*|\s*$/g,"")}function y(t,n,e){if(n.charAt(e)==t.charAt(0)){for(var i=1,r=t.length;i":7,"=":8,_v:9,"{":10,"&":11,_t:12},x.scan=function(t,n){var e,i,r,s,a,o=t.length,u=0,c=null,l="",f=[],h=!1,p=0,g=0,b="{{",d="}}";function v(){0"==e.tag&&(e.indent=f[i].text.toString()),f.splice(i,1));else n||f.push({tag:"\n"});h=!1,g=f.length}for(n&&(n=n.split(" "),b=n[0],d=n[1]),p=0;p":p,"<":function(t,n){var e={partials:{},code:"",subs:{},inPartial:!0},t=(x.walk(t.nodes,e),n.partials[p(t,n)]);t.subs=e.subs,t.partials=e.partials},$:function(t,n){var e={subs:{},code:"",partials:n.partials,prefix:t.n};x.walk(t.nodes,e),n.subs[t.n]=e.code,n.inPartial||(n.code+='t.sub("'+f(t.n)+'",c,p,i);')},"\n":function(t,n){n.code+=g('"\\n"'+(t.last?"":" + i"))},_v:function(t,n){n.code+="t.b(t.v(t."+h(t.n)+'("'+f(t.n)+'",c,p,0)));'},_t:function(t,n){n.code+=g('"'+f(t.text)+'"')},"{":t,"&":t},x.walk=function(t,n){for(var e,i=0,r=t.length;i>10|55296,1023&e|56320))}function M(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function I(){T()}var e,p,b,o,W,d,F,B,w,u,l,T,C,n,E,h,r,i,g,S="sizzle"+ +new Date,c=R.document,k=0,$=0,_=q(),z=q(),U=q(),y=q(),X=function(e,t){return e===t&&(l=!0),0},V={}.hasOwnProperty,t=[],G=t.pop,Y=t.push,A=t.push,Q=t.slice,v=function(e,t){for(var n=0,r=e.length;n+~]|"+a+")"+a+"*"),re=new RegExp(a+"|>"),ie=new RegExp(Z),oe=new RegExp("^"+s+"$"),x={ID:new RegExp("^#("+s+")"),CLASS:new RegExp("^\\.("+s+")"),TAG:new RegExp("^("+s+"|[*])"),ATTR:new RegExp("^"+K),PSEUDO:new RegExp("^"+Z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+a+"*(even|odd|(([+-]|)(\\d*)n|)"+a+"*(?:([+-]|)"+a+"*(\\d+)|))"+a+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+a+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+a+"*((?:-\\d)?\\d*)"+a+"*\\)|)(?=[^-]|$)","i")},ae=/HTML$/i,se=/^(?:input|select|textarea|button)$/i,ue=/^h\d$/i,N=/^[^{]+\{\s*\[native \w/,le=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ce=/[+~]/,D=new RegExp("\\\\[\\da-fA-F]{1,6}"+a+"?|\\\\([^\\r\\n\\f])","g"),fe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,pe=ve(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{A.apply(t=Q.call(c.childNodes),c.childNodes),t[c.childNodes.length].nodeType}catch(e){A={apply:t.length?function(e,t){Y.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function j(e,t,n,r){var i,o,a,s,u,l,c=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!r&&(T(t),t=t||C,E)){if(11!==f&&(s=le.exec(e)))if(i=s[1]){if(9===f){if(!(l=t.getElementById(i)))return n;if(l.id===i)return n.push(l),n}else if(c&&(l=c.getElementById(i))&&g(t,l)&&l.id===i)return n.push(l),n}else{if(s[2])return A.apply(n,t.getElementsByTagName(e)),n;if((i=s[3])&&p.getElementsByClassName&&t.getElementsByClassName)return A.apply(n,t.getElementsByClassName(i)),n}if(p.qsa&&!y[e+" "]&&(!h||!h.test(e))&&(1!==f||"object"!==t.nodeName.toLowerCase())){if(l=e,c=t,1===f&&(re.test(e)||ne.test(e))){for((c=ce.test(e)&&ye(t.parentNode)||t)===t&&p.scope||((a=t.getAttribute("id"))?a=a.replace(fe,M):t.setAttribute("id",a=S)),o=(u=d(e)).length;o--;)u[o]=(a?"#"+a:":scope")+" "+P(u[o]);l=u.join(",")}try{return A.apply(n,c.querySelectorAll(l)),n}catch(t){y(e,!0)}finally{a===S&&t.removeAttribute("id")}}}return B(e.replace(m,"$1"),t,n,r)}function q(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function L(e){return e[S]=!0,e}function H(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function he(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&pe(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function O(a){return L(function(o){return o=+o,L(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in p=j.support={},W=j.isXML=function(e){var t=e.namespaceURI,e=(e.ownerDocument||e).documentElement;return!ae.test(t||e&&e.nodeName||"HTML")},T=j.setDocument=function(e){var e=e?e.ownerDocument||e:c;return e!=C&&9===e.nodeType&&e.documentElement&&(n=(C=e).documentElement,E=!W(C),c!=C&&(e=C.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",I,!1):e.attachEvent&&e.attachEvent("onunload",I)),p.scope=H(function(e){return n.appendChild(e).appendChild(C.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),p.attributes=H(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=H(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=N.test(C.getElementsByClassName),p.getById=H(function(e){return n.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),p.getById?(b.filter.ID=function(e){var t=e.replace(D,f);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E)return(t=t.getElementById(e))?[t]:[]}):(b.filter.ID=function(e){var t=e.replace(D,f);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=p.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=p.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},r=[],h=[],(p.qsa=N.test(C.querySelectorAll))&&(H(function(e){var t;n.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&h.push("[*^$]="+a+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||h.push("\\["+a+"*(?:value|"+J+")"),e.querySelectorAll("[id~="+S+"-]").length||h.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+a+"*name"+a+"*="+a+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||h.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll("\\\f"),h.push("[\\r\\n\\f]")}),H(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&h.push("name"+a+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&h.push(":enabled",":disabled"),n.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(p.matchesSelector=N.test(i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.msMatchesSelector))&&H(function(e){p.disconnectedMatch=i.call(e,"*"),i.call(e,"[s!='']:x"),r.push("!=",Z)}),h=h.length&&new RegExp(h.join("|")),r=r.length&&new RegExp(r.join("|")),e=N.test(n.compareDocumentPosition),g=e||N.test(n.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=e?function(e,t){return e===t?(l=!0,0):!e.compareDocumentPosition-!t.compareDocumentPosition||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==c&&g(c,e)?-1:t==C||t.ownerDocument==c&&g(c,t)?1:u?v(u,e)-v(u,t):0:4&n?-1:1);var n}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?v(u,e)-v(u,t):0;if(i===o)return he(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?he(a[r],s[r]):a[r]==c?-1:s[r]==c?1:0}),C},j.matches=function(e,t){return j(e,null,null,t)},j.matchesSelector=function(e,t){if(T(e),p.matchesSelector&&E&&!y[t+" "]&&(!r||!r.test(t))&&(!h||!h.test(t)))try{var n=i.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){y(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(D,f),e[3]=(e[3]||e[4]||e[5]||"").replace(D,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||j.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&j.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return x.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ie.test(n)&&(t=d(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(D,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+a+")"+e+"("+a+"|$)"))&&_(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=j.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function K(e,n,r){return v(n)?E.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?E.grep(e,function(e){return e===n!==r}):"string"!=typeof n?E.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/,te=((E.fn.init=function(e,t,n){if(!e)return this;if(n=n||Z,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:ee.exec(e))||!r[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),J.test(r[1])&&E.isPlainObject(t))for(var r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(n=C.getElementById(r[2]))&&(this[0]=n,this.length=1),this}).prototype=E.fn,Z=E(C),/^(?:parents|prev(?:Until|All))/),ne={children:!0,contents:!0,next:!0,prev:!0};function re(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i,n=C.createDocumentFragment().appendChild(C.createElement("div")),N=((L=C.createElement("input")).setAttribute("type","radio"),L.setAttribute("checked","checked"),L.setAttribute("name","t"),n.appendChild(L),y.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="",y.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue,n.innerHTML="",y.option=!!n.lastChild,{thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]});function D(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&u(e,t)?E.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var Se=/<|&#?\w+;/;function ke(e,t,n,r,i){for(var o,a,s,u,l,c=t.createDocumentFragment(),f=[],p=0,d=e.length;p\s*$/g;function Re(e,t){return u(e,"table")&&u(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function Me(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var n,r,i,o;if(1===t.nodeType){if(b.hasData(e)&&(o=b.get(e).events))for(i in b.remove(t,"handle events"),o)for(n=0,r=o[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Qt=[],Jt=/(=)\?(?=&|$)|\?\?/,Kt=(E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Qt.pop()||E.expando+"_"+Dt.guid++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Jt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Jt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Jt,"$1"+r):!1!==e.jsonp&&(e.url+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||E.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=T[r],T[r]=function(){o=arguments},n.always(function(){void 0===i?E(T).removeProp(r):T[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Qt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((e=C.implementation.createHTMLDocument("").body).innerHTML="
",2===e.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),r=!n&&[],(n=J.exec(e))?[t.createElement(n[1])]:(n=ke([e],t,r),r&&r.length&&E(r).remove(),E.merge([],n.childNodes)));var r},E.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(E.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},E.expr.pseudos.animated=function(t){return E.grep(E.timers,function(e){return t===e.elem}).length},E.offset={setOffset:function(e,t,n){var r,i,o,a,s=E.css(e,"position"),u=E(e),l={};"static"===s&&(e.style.position="relative"),o=u.offset(),r=E.css(e,"top"),a=E.css(e,"left"),s=("absolute"===s||"fixed"===s)&&-1<(r+a).indexOf("auto")?(i=(s=u.position()).top,s.left):(i=parseFloat(r)||0,parseFloat(a)||0),null!=(t=v(t)?t.call(e,n,E.extend({},o)):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+s),"using"in t?t.using.call(e,l):("number"==typeof l.top&&(l.top+="px"),"number"==typeof l.left&&(l.left+="px"),u.css(l))}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){E.offset.setOffset(this,t,e)});var e,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===E.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===E.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),i.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-E.css(r,"marginTop",!0),left:t.left-i.left-E.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||w})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;E.fn[t]=function(e){return f(this,function(e,t,n){var r;if(g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),E.each(["top","left"],function(e,n){E.cssHooks[n]=Ze(y.pixelPosition,function(e,t){if(t)return t=Ke(e,n),Qe.test(t)?E(e).position()[n]+"px":t})}),E.each({Height:"height",Width:"width"},function(a,s){E.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){E.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return f(this,function(e,t,n){var r;return g(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?E.css(e,t,i):E.style(e,t,n,i)},s,n?e:void 0,n)}})}),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){E.fn[t]=function(e){return this.on(t,e)}}),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){E.fn[n]=function(e,t){return 0parseInt(r.height)&&(i.overflowY="scroll"):i.overflow="hidden",n.textContent=e.value.substring(0,t),d&&(n.textContent=n.textContent.replace(/\s/g," ")),document.createElement("span")),e=(a.textContent=e.value.substring(t)||".",n.appendChild(a),{top:a.offsetTop+parseInt(r.borderTopWidth),left:a.offsetLeft+parseInt(r.borderLeftWidth),height:parseInt(r.lineHeight)});return o?a.style.backgroundColor="#aaa":document.body.removeChild(n),e}"undefined"!=typeof module&&void 0!==module.exports?module.exports=e:p&&(window.getCaretCoordinates=e)}(); !function(e,M){"use strict";var I=Math.pow(2,-24),i=Math.pow(2,32),w=Math.pow(2,53);var r={encode:function(e){var f,a=new ArrayBuffer(256),o=new DataView(a),s=0;function c(e){for(var r=a.byteLength,t=s+e;r>2),u=0;u>6):(u<55296?n.push(224|u>>12):(u=65536+((u=(1023&u)<<10)|1023&r.charCodeAt(++i)),n.push(240|u>>18),n.push(128|u>>12&63)),n.push(128|u>>6&63)),n.push(128|63&u))}return v(3,n.length),g(n);default:if(Array.isArray(r))for(v(4,f=r.length),i=0;i>5!==e)throw"Invalid indefinite length element";return t}function F(e,r){for(var t=0;t>10),e.push(56320|1023&n))}}"function"!=typeof p&&(p=function(e){return e}),"function"!=typeof d&&(d=function(){return M});var e=function e(){var r,t,n=m(),i=n>>5,n=31&n;if(7==i)switch(n){case 25:var u=new ArrayBuffer(4),u=new DataView(u),f=B(),a=31744&f,o=1023&f;if(31744===a)a=261120;else if(0!==a)a+=114688;else if(0!=o)return o*I;return u.setUint32(0,(32768&f)<<16|a<<13|o<<13),u.getFloat32(0);case 26:return A(y.getFloat32(U),4);case 27:return A(y.getFloat64(U),8)}if((r=D(n))<0&&(i<2||6>>0,"object"==typeof r[i]?r[i].baseVal=u.join(" "):r[i]=u.join(" "),c())},l.remove=function(){a.apply(l,e=arguments);for(var e,t={},n=0,o=[];n>>0,"object"==typeof r[i]?r[i].baseVal=u.join(" "):r[i]=u.join(" "),c()},l.toggle=function(e,t){return a.apply(l,[e]),o!==t?t?(l.add(e),!0):(l.remove(e),!1):s[e]?(l.remove(e),!1):(l.add(e),!0)},l}}()),"classList"in(e=document.createElement("span"))&&(e.classList.toggle("x",!1),e.classList.contains("x")&&(e.classList.constructor.prototype.toggle=function(e){var t,n=arguments[1];return n===o?(t=!this.contains(e),this[t?"add":"remove"](e),t):(this[(n=!!n)?"add":"remove"](e),n)})),"classList"in(e=document.createElement("span"))&&(e.classList.add("a","b"),e.classList.contains("b")||(r=e.classList.constructor.prototype.add,e.classList.constructor.prototype.add=function(){for(var e=arguments,t=arguments.length,n=0;n input[type="radio"]',a='[data-target] > input[type="checkbox"]';function r(){var t=u(this),a=d(t);a.length&&(t.attr("aria-controls",a.attr("id")),t.attr("aria-expanded","false"),a.attr("aria-hidden","true"))}function d(t){var a=(a=t.attr("aria-controls"))||t.closest("[data-target]").data("target");return u("#"+a)}function s(t,a){a.hasClass("js-hidden")&&(a.removeClass("js-hidden"),a.attr("aria-hidden","false"),t.attr("aria-controls")&&t.attr("aria-expanded","true"))}function c(t,a){(a=a||d(t)).hasClass("js-hidden")||(a.addClass("js-hidden"),a.attr("aria-hidden","true"),t.attr("aria-controls")&&t.attr("aria-expanded","false"))}function n(t,a){var n=i+'[name="'+t.attr("name")+'"][aria-controls]',e=t.closest("form");(e.length?e.find(n):u(n)).each(function(){c(u(this))}),t.is("[aria-controls]")&&s(t,a)}function e(t,a){(t.is(":checked")?s:c)(t,a)}function h(n,t,a,e){function i(){var t=u(this);e(t,d(t))}n=n||u(document.body);t=u(t);t.each(r),u.each(a,function(t,a){n.on("click."+o,a,i)}),t.is(":checked")&&t.filter(":checked").each(i)}t.showHideRadioToggledContent=function(t){var a;h(t,i,(a=[],u(i).map(function(){var t=u(this).attr("name");return-1===u.inArray(t,a)?(a.push(t),'input[type="radio"][name="'+u(this).attr("name")+'"]'):null})),n)},t.showHideCheckboxToggledContent=function(t){h(t,a,[a],e)},t.destroy=function(t){(t=t||u(document.body)).off("."+o)}}n.prototype.init=function(t){this.showHideRadioToggledContent(t),this.showHideCheckboxToggledContent(t)},a.ShowHideContent=n,t.GOVUK=a}(window); "use strict";function _typeof(o){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}!function(){window.GOVUK=window.GOVUK||{};var i={analytics:!1},r={_ga:"analytics",_gid:"analytics"};window.GOVUK.cookie=function(o,n,e){return void 0!==n?!1===n||null===n?window.GOVUK.setCookie(o,"",{days:-1}):(void 0===e&&(e={days:30}),window.GOVUK.setCookie(o,n,e)):window.GOVUK.getCookie(o)},window.GOVUK.getConsentCookie=function(){var o,n=window.GOVUK.cookie("cookies_policy");if(!n)return null;try{o=JSON.parse(n)}catch(o){return null}return o="object"!==_typeof(o)&&null!==o?JSON.parse(o):o},window.GOVUK.setConsentCookie=function(o){var n,e=(e=window.GOVUK.getConsentCookie())||JSON.parse(JSON.stringify(i));for(n in o)if(e[n]=o[n],!o[n])for(var t in r)r[t]===n&&(window.GOVUK.cookie(t,null),window.GOVUK.cookie(t)&&(document.cookie=t+"=;expires="+new Date+";domain="+window.location.hostname.replace(/^www\./,".")+";path=/"));window.GOVUK.setCookie("cookies_policy",JSON.stringify(e),{days:365})},window.GOVUK.checkConsentCookieCategory=function(o,n){if(!window.GOVUK.getConsentCookie()&&r[o])return!0;o=window.GOVUK.getConsentCookie();try{return o[n]}catch(o){return console.error(o),!1}},window.GOVUK.checkConsentCookie=function(o,n){return"cookies_policy"===o||null===n||!1===n||!!r[o]&&window.GOVUK.checkConsentCookieCategory(o,r[o])},window.GOVUK.setCookie=function(o,n,e){window.GOVUK.checkConsentCookie(o,n)&&(o=o+"="+n+"; path=/",(e=void 0===e?{}:e).days&&((n=new Date).setTime(n.getTime()+24*e.days*60*60*1e3),o=o+"; expires="+n.toGMTString()),"https:"===document.location.protocol&&(o+="; Secure"),document.cookie=o)},window.GOVUK.getCookie=function(o){for(var n=o+"=",e=document.cookie.split(";"),t=0,i=e.length;t '),this._$shim.css(this._getShimCSS()),this.$fixedEl[t](this._$shim)},h.prototype.removeShim=function(){null!==this._$shim&&(this._$shim.remove(),this._$shim=null)},h.prototype.updateShim=function(){this._$shim&&this._$shim.css(this._getShimCSS())},h.prototype.stop=function(){this._stopped=!0},h.prototype.unstop=function(){this._stopped=!1},h.prototype.isStopped=function(){return this._stopped},h.prototype.isInPage=function(){var t=this.$fixedEl.get(0);return t!==document.body&&document.body.contains(t)},h.prototype.canBeStuck=function(t){if(void 0===t)return this._canBeStuck;this._canBeStuck=t},{hasResized:!(h.prototype.hasLoaded=function(t){if(void 0===t)return this._hasLoaded;this._hasLoaded=t}),spaceBetweenStickys:40,_getPaddingBetweenEls:function(t){return t.length<=1?0:(t.length-1)*this.spaceBetweenStickys},_getTotalHeight:function(t){return c.map(t,function(t){return t.height}).reduce(function(t,e){return t+e})-this._getPaddingBetweenEls(t)},_elsThatCanBeStuck:function(t){return c.grep(t,function(t){return t.canBeStuck()})},getOffsetFromEdge:function(t,e){var i=this._elsThatCanBeStuck(e._els).slice();return"top"===e.edge&&i.reverse(),(e=i.indexOf(t))===i.length-1?0:(i=i.slice(e+1),this._getTotalHeight(i)-this.spaceBetweenStickys)},getOffsetFromEnd:function(t,e){var i=this._elsThatCanBeStuck(e._els).slice();return"bottom"===e.edge&&i.reverse(),(e=i.indexOf(t))===i.length-1?0:(i=i.slice(e+1),this._getTotalHeight(i)-this.spaceBetweenStickys)},fitToHeight:function(t){var e=this,i=t._els.slice(),o=t.getWindowDimensions().height,s=function(){return e._getTotalHeight(e._elsThatCanBeStuck(i))};for("top"===t.edge&&i.reverse(),c.each(i,function(t,e){e.canBeStuck(!0)});e._elsThatCanBeStuck(i).length&&!(s()<=o);){var n=e._elsThatCanBeStuck(i)[0];t.reset(n),n.canBeStuck(!1),e.hasResized||(e.hasResized=!0)}},getElementAtStickyEdge:function(t){var e=this._elsThatCanBeStuck(t._els);return e["top"===t.edge?0:e.length-1]},getElementAtOppositeEnd:function(t){var e=this._elsThatCanBeStuck(t._els);return e["top"===t.edge?e.length-1:0]},getInPageEdgePosition:function(t){return this.getElementAtStickyEdge(t).inPageEdgePosition},getHeight:function(t){return this._getTotalHeight(this._elsThatCanBeStuck(t))},adjustForResize:function(t){var e=t.getWindowDimensions().height;"top"===t.edge?c(window).scrollTop(this.getInPageEdgePosition(t)):c(window).scrollTop(this.getInPageEdgePosition(t)-e),this.hasResized=!1},releaseEl:function(t,e){t.$fixedEl.css(e.edge,"")}}),i=(t.prototype.setMode=function(t){n=t},t.prototype.getWindowDimensions=function(){return{height:c(l).height(),width:c(l).width()}},t.prototype.getWindowPositions=function(){return{scrollTop:c(l).scrollTop()}},t.prototype.setElementPositions=function(){var i=this,o=i.getWindowDimensions(),t=i.getWindowPositions().scrollTop,s={top:t,bottom:t+o.height};d.unmark(i),c.each(i._els,function(t,e){e.canBeStuck()&&(e=e,!i.viewportIsWideEnough(o.width)||i.windowNotPastScrolledFrom(s,i.getScrolledFrom(e))?i.reset(e):i.windowNotPastScrollingTo(s,i.getScrollingTo(e))?(i.stick(e),e.isStopped()&&i.unstop(e)):(e.isStuck()||i.stick(e),i.stop(e)))}),d.mark(i),!1===i._initialPositionsSet&&(i._initialPositionsSet=!0)},t.prototype.setElementDimensions=function(t,e){t.$fixedEl;this.setElWidth(t),this.setElHeight(t,function(){t._$shim&&t.updateShim(),void 0!==e&&e()})},t.prototype.reset=function(t){t.isStopped()&&this.unstop(t),t.isStuck()&&this.release(t)},t.prototype.recalculate=function(){var t=this;this.syncWithDOM(function(){a.syncEls(t._els),t.setEvents(),"dialog"===n&&(u.fitToHeight(t),u.hasResized&&u.adjustForResize(t)),t.setElementPositions()})},t.prototype.scrollToRevealElement=function(t){var t=c(t),e=t.closest(".sticky-scroll-area").get(0),i=c.grep(a._scrollAreas,function(t){return t.node===e});i.length&&i[0].scrollToRevealElement(t)},t.prototype.setElWidth=function(t){var e=t.$fixedEl,i=a.getAreaByEl(t),i=c(i.node).width();t.horizontalSpace=i,t._$shim&&e.width(i)},t.prototype.setElHeight=function(t,e){function i(){t.height=n.outerHeight(),t._$shim?t.inPageEdgePosition=s.getInPageEdgePosition(t._$shim):t.inPageEdgePosition=s.getInPageEdgePosition(n),e()}var o,s=this,n=t.$fixedEl,r=n.find("img");!t.hasLoaded()&&0t.top},i.windowNotPastScrollingTo=function(t,e){return t.tope},o.stick=function(t){var e,i;t.isStuck()||(e=t.$fixedEl,i=0,"dialog"===n&&(i=u.getOffsetFromEdge(t,this)),t.addShim("after"),e.css({width:e.width()+"px",bottom:i+"px"}),t.stick(this))},o.stop=function(t){t.isStopped()||(t.$fixedEl.css({position:"absolute",top:this.getStoppingPosition(t),bottom:"auto"}),t.stop())},o.unstop=function(t){var e=0;"dialog"===n&&(e=u.getOffsetFromEdge(t,this)),t.$fixedEl.css({position:"",top:"",bottom:e+"px"}),t.unstop()},e.stickAtTopWhenScrolling=i,e.stickAtBottomWhenScrolling=o,l.GOVUK=e}(window); "use strict";!function(o){document.queryCommandSupported("copy")&&(o.CopyToClipboard=function(){var c=function(o){return'\n '.concat(o.valueLabel?''+o.thing+": ":"").concat(o.value,'\n \n ').concat(o.onload?"":o.thing+" returned to page, press button to copy to clipboard",'\n \n \n ")},i=function(o){return'\n \n '.concat(o.thing,' Copied to clipboard, press button to show in page\n \n \n ")};this.getRangeFromElement=function(o){var n=document.createRange(),t=Array.prototype.slice.call(o.childNodes),a=-1;return t.forEach(function(o,n){1===o.nodeType&&o.classList.contains("govuk-visually-hidden")&&(a=n)}),n.selectNodeContents(o),-1!==a&&n.setStart(o,a+1),n},this.copyValueToClipboard=function(o,n){var t=window.getSelection?window.getSelection():document.selection,o=this.getRangeFromElement(o);t.removeAllRanges(),t.addRange(o),document.execCommand("copy"),t.removeAllRanges(),n()},this.start=function(o){var n=this,t=$(o),a={value:t.data("value"),thing:t.data("thing")},e=t.data("name");e!==a.thing&&(a.name=e,a.valueLabel=!0),t.addClass("copy-to-clipboard").css("min-height",t.height()).html(c($.extend({onload:!0},a))).on("click",".copy-to-clipboard__button--copy",function(){return n.copyValueToClipboard($(".copy-to-clipboard__value",o)[0],function(){return t.html(i(a)).find(".govuk-button").focus()})}).on("click",".copy-to-clipboard__button--show",function(){return t.html(c(a)).find(".govuk-button").focus()}),"stickAtBottomWhenScrolling"in GOVUK&&GOVUK.stickAtBottomWhenScrolling.recalculate()}})}(window.GOVUK.Modules); "use strict";window.GOVUK.Modules.Autofocus=function(){this.start=function(t){var t=$(t),e=t.data("forceFocus");0<$(window).scrollTop()&&!e||(e=0===(e=t.filter("input, textarea, select")).length?$("input, textarea, select",t):e).eq(0).trigger("focus")}}; "use strict";!function(t){var i;"oninput"in document.createElement("input")&&(i=/\(\(([^\)\((\?)]+)(\?\?)?([^\)\(]*)\)\)/g,t.EnhancedTextbox=function(){var t=this;this.start=function(t){this.highlightPlaceholders=void 0===t.data("highlightPlaceholders")||!!t.data("highlightPlaceholders"),this.$textbox=$(t).wrap("\n
\n ").after(this.$background=$('\n