!function(){"use strict";function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(r){var a=function(r,a){if("object"!==t(r)||null===r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var i=n.call(r,a||"default");if("object"!==t(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(r)}(r,"string");return"symbol"===t(a)?a:String(a)}function a(t,a,n){return(a=r(a))in t?Object.defineProperty(t,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[a]=n,t}var n={d:(t,r)=>{for(var a in r)n.o(r,a)&&!n.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:r[a]})},o:(t,r)=>Object.prototype.hasOwnProperty.call(t,r)},i={};n.d(i,{i:()=>d});var e={top:"paddingBottom",bottom:"paddingTop",left:"paddingRight",right:"paddingLeft"};function o(t){var r={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};return t.replace(/&(amp|lt|gt|quot|#39|x60);|[\&<>"'`]/g,(function(t){return"&"===t[0]?t:r[t]}))}function c(t){return encodeURI(t)}function v(t,r){return t[r]||r}function s(){return s=Object.assign?Object.assign.bind():function(t){for(var r=1;r\n\t\t\t\t\t\t\t'+("User not found"===t.message?v(a.t,"Sorry, we are unable to load this Gravatar profile."):v(a.t,"Sorry, we are unable to load this Gravatar profile. Please check your internet connection."))+"\n\t\t\t\t\t\t",a.G(i,t)}));r.id=n,r.addEventListener("mouseenter",(function(){return clearInterval(a.u.get(n))})),r.addEventListener("mouseleave",(function(){return a.N(n)})),u.body.appendChild(r);var d=function(t,r,a){var n=void 0===a?{}:a,i=n.placement,o=void 0===i?"right":i,c=n.offset,v=void 0===c?0:c,s=n.autoFlip,l=void 0===s||s,u=t.getBoundingClientRect(),d=r.getBoundingClientRect(),h=u.top+scrollY,f=u.bottom+scrollY,g=u.right+scrollX,_=u.left+scrollX,m=0,p=0,b=o.split("-"),w=b[0],k=b[1];if(v=Math.max(0,v),l){var y=u.top,j=innerHeight-u.bottom,O=u.left,S=innerWidth-u.right,x=d.height+v,M=d.width+v;"top"===w&&yy&&(w="bottom"),"bottom"===w&&jj&&(w="top"),"left"===w&&OO&&(w="right"),"right"===w&&SS&&(w="left")}return"top"===w||"bottom"===w?(m=_+u.width/2-d.width/2,p="top"===w?h-d.height-v:f,"start"===k&&(m=_),"end"===k&&(m=g-d.width)):(m="right"===w?g:_-d.width-v,p=h+u.height/2-d.height/2,"start"===k&&(p=h),"end"===k&&(p=f-d.height)),{x:m,y:p,padding:e[w],paddingValue:v}}(c,r,{placement:a.k,offset:a.O,autoFlip:a.j}),h=d.x,f=d.y,g=d.padding,_=d.paddingValue;r.style.position="absolute",r.style.left=h+"px",r.style.top=f+"px",r.style[g]=_+"px",a.P(i,r)}}),this.S);this.l.set(n,l)},r.N=function(t){var r=this,a=setTimeout((function(){var a=u.getElementById(t);a&&(a.remove(),r.B(t,a))}),this.M);this.u.set(t,a)},r._=function(t,r){"ontouchstart"in u||(t.stopImmediatePropagation(),clearInterval(this.u.get(r.id)),this.F(r))},r.p=function(t,r){var a=r.id;"ontouchstart"in u||(t.stopImmediatePropagation(),clearInterval(this.l.get(a)),this.N(a))},t}();d.createHovercard=function(t,r){var a=void 0===r?{}:r,n=a.additionalClass,i=a.myHash,e=a.i18n,s=void 0===e?{}:e,d=t.hash,h=t.thumbnailUrl,f=t.preferredUsername,g=t.displayName,_=t.currentLocation,m=t.aboutMe,p=t.accounts,b=void 0===p?[]:p,w=u.createElement("div");w.className="gravatar-hovercard"+(n?" "+n:"");var k=c("https://gravatar.com/"+f+"?utm_source=hovercard"),y=o(g),j=!m&&i===d,O=b.reduce((function(t,r){var a=r.url,n=r.shortname,i=r.iconUrl,e=r.name,v=l.indexOf(n);return-1!==v&&(t[v]='\n\t\t\t\t\t\t\n\t\t\t\t\t'),t}),[]).join("");return w.innerHTML='\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t'+(m?'

'+o(m)+"

":"")+'\n\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n ',w};var h=i.i,f=JSON.parse('{"HO":{"m":"^0.5.9"}}');function g(t,r){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),a.push.apply(a,n)}return a}function _(t){for(var r=1;r1&&void 0!==arguments[1]?arguments[1]:{};return h.createHovercard(t,_({additionalClass:"wp-hovercard"},r))},init:function(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",a=arguments.length>1?arguments[1]:void 0,n=document;if(new h(_(_({},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),{},{myHash:this.my_hash,additionalClass:"wp-hovercard",onQueryHovercardRef:function(t){var r;return t.classList.add("wp-hovercard-attachment"),t.classList.add("grav-hashed"),"A"!==(null===(r=t.parentElement)||void 0===r?void 0:r.tagName)&&t.classList.add("grav-hijack"),t.onmouseover=function(){return m("hover")},t},onHovercardShown:function(r,a){t.profile_cb(r,a.id);var n=a.querySelector(".gravatar-hovercard__profile-link");n&&(n.onclick=function(){return m("click_view_profile")});var i=a.querySelector(".gravatar-hovercard__profile-link--edit");i&&(i.onclick=function(){return m("click_edit_profile")});var e=a.querySelector(".gravatar-hovercard__avatar-link");e&&(e.onclick=function(){return m("to_profile")});var o=a.querySelector(".gravatar-hovercard__name-location-link");o&&(o.onclick=function(){return m("to_profile")}),a.querySelectorAll(".gravatar-hovercard__social-link").forEach((function(t){t.onclick=function(){return m("click_".concat(t.dataset.serviceName))}})),m("show")},onFetchProfileSuccess:function(){return m("fetch")},onFetchProfileFailure:function(){return m("profile_404")}})).attach(n.querySelector(r),{dataAttributeName:"",ignoreSelector:a?"".concat(a,' img[src*="gravatar.com/"]'):""}),!n.querySelector('link[href*="hovercards.min.css"]')){var i,e=n.querySelector('script[src*="/js/hovercards/hovercards"]'),o=e?null===(i=e.getAttribute("src"))||void 0===i?void 0:i.split("?")[1]:"";n.head.insertAdjacentHTML("beforeend",''))}}}}();