!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=26)}([function(e,t,n){"use strict";n.r(t),n.d(t,"h",function(){return s}),n.d(t,"createElement",function(){return s}),n.d(t,"cloneElement",function(){return p}),n.d(t,"createRef",function(){return D}),n.d(t,"Component",function(){return F}),n.d(t,"render",function(){return R}),n.d(t,"rerender",function(){return v}),n.d(t,"options",function(){return o});var r=function(){},o={},i=[],u=[];function s(e,t){var n,s,a,c,l=u;for(c=arguments.length;c-- >2;)i.push(arguments[c]);for(t&&null!=t.children&&(i.length||i.push(t.children),delete t.children);i.length;)if((s=i.pop())&&void 0!==s.pop)for(c=s.length;c--;)i.push(s[c]);else"boolean"==typeof s&&(s=null),(a="function"!=typeof e)&&(null==s?s="":"number"==typeof s?s=String(s):"string"!=typeof s&&(a=!1)),a&&n?l[l.length-1]+=s:l===u?l=[s]:l.push(s),n=a;var p=new r;return p.nodeName=e,p.children=l,p.attributes=null==t?void 0:t,p.key=null==t?void 0:t.key,void 0!==o.vnode&&o.vnode(p),p}function a(e,t){for(var n in t)e[n]=t[n];return e}function c(e,t){null!=e&&("function"==typeof e?e(t):e.current=t)}var l="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;function p(e,t){return s(e.nodeName,a(a({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}var f=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,d=[];function h(e){!e._dirty&&(e._dirty=!0)&&1==d.push(e)&&(o.debounceRendering||l)(v)}function v(){for(var e;e=d.pop();)e._dirty&&I(e)}function y(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function m(e){var t=a({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function b(e){var t=e.parentNode;t&&t.removeChild(e)}function g(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)c(n,null),c(r,e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"==typeof r[i]&&!1===f.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var u=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,x,u):e.removeEventListener(t,x,u),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e){try{e[t]=null==r?"":r}catch(a){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var s=o&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function x(e){return this._listeners[e.type](o.event&&o.event(e)||e)}var _=[],w=0,S=!1,k=!1;function j(){for(var e;e=_.shift();)o.afterMount&&o.afterMount(e),e.componentDidMount&&e.componentDidMount()}function C(e,t,n,r,o,i){w++||(S=null!=o&&void 0!==o.ownerSVGElement,k=null!=e&&!("__preactattr_"in e));var u=O(e,t,n,r,i);return o&&u.parentNode!==o&&o.appendChild(u),--w||(k=!1,i||j()),u}function O(e,t,n,r,o){var i=e,u=S;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),P(e,!0))),i.__preactattr_=!0,i;var s,a,c=t.nodeName;if("function"==typeof c)return function(e,t,n,r){var o=e&&e._component,i=o,u=e,s=o&&e._componentConstructor===t.nodeName,a=s,c=m(t);for(;o&&!a&&(o=o._parentComponent);)a=o.constructor===t.nodeName;o&&a&&(!r||o._component)?(U(o,c,3,n,r),e=o.base):(i&&!s&&(L(i),e=u=null),o=E(t.nodeName,c,n),e&&!o.nextBase&&(o.nextBase=e,u=null),U(o,c,1,n,r),e=o.base,u&&e!==u&&(u._component=null,P(u,!1)));return e}(e,t,n,r);if(S="svg"===c||"foreignObject"!==c&&S,c=String(c),(!e||!y(e,c))&&(s=c,(a=S?document.createElementNS("http://www.w3.org/2000/svg",s):document.createElement(s)).normalizedNodeName=s,i=a,e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),P(e,!0)}var l=i.firstChild,p=i.__preactattr_,f=t.children;if(null==p){p=i.__preactattr_={};for(var d=i.attributes,h=d.length;h--;)p[d[h].name]=d[h].value}return!k&&f&&1===f.length&&"string"==typeof f[0]&&null!=l&&void 0!==l.splitText&&null==l.nextSibling?l.nodeValue!=f[0]&&(l.nodeValue=f[0]):(f&&f.length||null!=l)&&function(e,t,n,r,o){var i,u,s,a,c,l=e.childNodes,p=[],f={},d=0,h=0,v=l.length,m=0,g=t?t.length:0;if(0!==v)for(var x=0;x=0),s.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,s.width?parseInt(s.width):0);break;case"e":n=s.precision?parseFloat(n).toExponential(s.precision):parseFloat(n).toExponential();break;case"f":n=s.precision?parseFloat(n).toFixed(s.precision):parseFloat(n);break;case"g":n=s.precision?String(Number(n.toPrecision(s.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=s.precision?n.substring(0,s.precision):n;break;case"t":n=String(!!n),n=s.precision?n.substring(0,s.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=s.precision?n.substring(0,s.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=s.precision?n.substring(0,s.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(s.type)?v+=n:(!o.number.test(s.type)||p&&!s.sign?f="":(f=p?"+":"-",n=n.toString().replace(o.sign,"")),c=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",l=s.width-(f+n).length,a=s.width&&l>0?c.repeat(l):"",v+=s.align?f+n+a:"0"===c?f+a+n:a+f+n)}return v}(function(e){if(s[e])return s[e];var t,n=e,r=[],i=0;for(;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var u=[],a=t[2],c=[];if(null===(c=o.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(u.push(c[1]);""!==(a=a.substring(c[0].length));)if(null!==(c=o.key_access.exec(a)))u.push(c[1]);else{if(null===(c=o.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");u.push(c[1])}t[2]=u}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return s[e]=r}(e),arguments)}function u(e,t){return i.apply(null,[e].concat(t||[]))}var s=Object.create(null);t.sprintf=i,t.vsprintf=u,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=u,void 0===(r=function(){return{sprintf:i,vsprintf:u}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(19),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){var r=n(10).Symbol;e.exports=r},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0])||arguments[0];this.isMounted&&(this.props.into!==this.intoPointer&&(this.intoPointer=this.props.into,this.into&&this.remote&&(this.remote=e.render(e.h(i,null),this.into,this.remote)),this.into=this.findNode(this.props.into)),this.remote=e.render(e.h(i,{context:this.context},t&&this.props.children||null),this.into,this.remote))},u.prototype.render=function(){return null},u}(e.Component),i=function(e){function o(){return t(this,o),r(this,e.apply(this,arguments))}return n(o,e),o.prototype.getChildContext=function(){return this.props.context},o.prototype.render=function(e){var t=e.children;return t&&t[0]||null},o}(e.Component);return o}(n(0))},function(e,t,n){var r=n(9),o=n(18),i=n(20),u="Expected a function",s=Math.max,a=Math.min;e.exports=function(e,t,n){var c,l,p,f,d,h,v=0,y=!1,m=!1,b=!0;if("function"!=typeof e)throw new TypeError(u);function g(t){var n=c,r=l;return c=l=void 0,v=t,f=e.apply(r,n)}function x(e){var n=e-h;return void 0===h||n>=t||n<0||m&&e-v>=p}function _(){var e=o();if(x(e))return w(e);d=setTimeout(_,function(e){var n=t-(e-h);return m?a(n,p-(e-v)):n}(e))}function w(e){return d=void 0,b&&c?g(e):(c=l=void 0,f)}function S(){var e=o(),n=x(e);if(c=arguments,l=this,h=e,n){if(void 0===d)return function(e){return v=e,d=setTimeout(_,t),y?g(e):f}(h);if(m)return clearTimeout(d),d=setTimeout(_,t),g(h)}return void 0===d&&(d=setTimeout(_,t)),f}return t=i(t)||0,r(n)&&(y=!!n.leading,p=(m="maxWait"in n)?s(i(n.maxWait)||0,t):p,b="trailing"in n?!!n.trailing:b),S.cancel=function(){void 0!==d&&clearTimeout(d),v=0,c=h=l=d=void 0},S.flush=function(){return void 0===d?f:w(o())},S}},function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function u(){var t,u,s=r,a=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(u=0;u":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},o=["(","?"],i={")":["("],":":["?","?:"]},u=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var T={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function E(e){var t=function(e){for(var t,n,s,a,c=[],l=[];t=e.match(u);){for(n=t[0],(s=e.substr(0,t.index).trim())&&c.push(s);a=l.pop();){if(i[n]){if(i[n][0]===a){n=i[n][1]||n;break}}else if(o.indexOf(a)>=0||r[a]0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return B.data[e]||function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";B.data[t]=N({},D,B.data[t],e),B.data[t][""]=N({},D[""],B.data[t][""])}(void 0,e),B.dcnpgettext(e,t,n,r,o)}var W=function(e){function t(){return p()(this,t),v()(this,m()(t).apply(this,arguments))}return _()(t,e),d()(t,[{key:"render",value:function(){var e=this.props.result;return Object(s.h)("p",null,e.fields.author)}}]),t}(s.Component),z=function(e){function t(){return p()(this,t),v()(this,m()(t).apply(this,arguments))}return _()(t,e),d()(t,[{key:"render",value:function(){var e,t=this.props,n=t.results,r=void 0===n?[]:n,o=t.query;return Object(s.h)("div",null,Object(s.h)("p",null,function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r