/**handles:comment-reply**/
/*! This file is auto-generated */
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&amp;&amp;"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&amp;&amp;new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&amp;&amp;(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&amp;&amp;13===e.keyCode)return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&amp;&amp;C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&amp;&amp;e.childNodes||(e=E);t=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return t}(e),o=0,i=d.length;o&lt;i;o++)(n=d[o]).addEventListener(&quot;touchstart&quot;,a),n.addEventListener(&quot;click&quot;,a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&amp;&amp;h&amp;&amp;(g(b.parentIdFieldId).value=&quot;0&quot;,t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display=&quot;none&quot;,n=(d=(n=g(b.commentReplyTitleId))&amp;&amp;n.firstChild)&amp;&amp;d.nextSibling,d&amp;&amp;d.nodeType===Node.TEXT_NODE&amp;&amp;t&amp;&amp;(n&amp;&amp;&quot;A&quot;===n.nodeName&amp;&amp;n.id!==b.cancelReplyId&amp;&amp;(n.style.display=&quot;&quot;),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),n=t&amp;&amp;t.firstChild.textContent,d=this,o=m(d,&quot;belowelement&quot;),i=m(d,&quot;commentid&quot;),r=m(d,&quot;respondelement&quot;),t=m(d,&quot;postid&quot;),n=m(d,&quot;replyto&quot;)||n;o&amp;&amp;i&amp;&amp;r&amp;&amp;t&amp;&amp;!1===v.addComment.moveForm(o,i,r,t,n)&amp;&amp;e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute(&quot;data-&quot;+t)}function g(e){return E.getElementById(e)}return r&amp;&amp;&quot;loading&quot;!==E.readyState?t():r&amp;&amp;v.addEventListener(&quot;DOMContentLoaded&quot;,t,!1),{init:d,moveForm:function(e,t,n,d,o){var i=g(e);h=g(n);var r,l,a,m,c,s=g(b.parentIdFieldId),y=g(b.postIdFieldId),p=(c=g(b.commentReplyTitleId))&amp;&amp;c.firstChild,u=p&amp;&amp;p.nextSibling;if(i&amp;&amp;h&amp;&amp;s){void 0===o&amp;&amp;(o=p&amp;&amp;p.textContent),m=h,e=b.temporaryFormId,n=g(e),c=(c=g(b.commentReplyTitleId))?c.firstChild.textContent:&quot;&quot;,n||((n=E.createElement(&quot;div&quot;)).id=e,n.style.display=&quot;none&quot;,n.textContent=c,m.parentNode.insertBefore(n,m)),d&amp;&amp;y&amp;&amp;(y.value=d),s.value=t,I.style.display=&quot;&quot;,i.parentNode.insertBefore(h,i.nextSibling),p&amp;&amp;p.nodeType===Node.TEXT_NODE&amp;&amp;(u&amp;&amp;&quot;A&quot;===u.nodeName&amp;&amp;u.id!==b.cancelReplyId&amp;&amp;(u.style.display=&quot;none&quot;),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f&lt;C.elements.length;f++)if(r=C.elements[f],l=!1,&quot;getComputedStyle&quot;in v?a=v.getComputedStyle(r):E.documentElement.currentStyle&amp;&amp;(a=r.currentStyle),(r.offsetWidth&lt;=0&amp;&amp;r.offsetHeight&lt;=0||&quot;hidden&quot;===a.visibility)&amp;&amp;(l=!0),&quot;hidden&quot;!==r.type&amp;&amp;!r.disabled&amp;&amp;!l){r.focus();break}}catch(e){}return!1}}}}(window);