/*! For license information please see dll.Citation.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[29],{1001:function(e,t,n){"use strict";var r=n(1037);e.exports=r},1028:function(e,t,n){"use strict";var r=n(1030);e.exports=r},1030:function(e,t,n){"use strict";var r=n(113),i=n(28),o=n(1031),u=r();e.exports=function(e){return"object"==typeof e&&(e instanceof RegExp||(u?o(e):"[object RegExp]"===i(e)))}},1031:function(e,t,n){"use strict";var r=n(1032);e.exports=function(e){try{return r.call(e),!0}catch(e){return!1}}},1032:function(e,t,n){"use strict";var r=RegExp.prototype.exec;e.exports=r},1037:function(e,t,n){"use strict";var r=n(1038),i=n(108),o=n(34).isPrimitive,u=n(1028);e.exports=function(e,t,n){if(!o(e))throw new TypeError("invalid argument. First argument must be a string primitive. Value: `"+e+"`.");if(o(t))t=r(t),t=new RegExp(t,"g");else if(!u(t))throw new TypeError("invalid argument. Second argument must be a string primitive or regular expression. Value: `"+t+"`.");if(!o(n)&&!i(n))throw new TypeError("invalid argument. Third argument must be a string primitive or replacement function. Value: `"+n+"`.");return e.replace(t,n)}},1038:function(e,t,n){"use strict";var r=n(1039);e.exports=r},1039:function(e,t,n){"use strict";var r=n(34).isPrimitive,i=/[-\/\\^$*+?.()|[\]{}]/g;e.exports=function(e){var t,n;if(!r(e))throw new TypeError("invalid argument. Must provide a regular expression string. Value: `"+e+"`.");if("/"===e[0])for(n=e.length-1;n>=0&&"/"!==e[n];n--);return void 0===n||n<=0?e.replace(i,"\\$&"):(t=(t=e.substring(1,n)).replace(i,"\\$&"),e=e[0]+t+e.substring(n))}},1388:function(e,t,n){"use strict";var r=n(1389);e.exports=r},1389:function(e,t,n){"use strict";var r=n(34).isPrimitive,i=n(1001),o=/^[\u0020\f\n\r\t\v\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]*([\S\s]*?)[\u0020\f\n\r\t\v\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]*$/;e.exports=function(e){if(!r(e))throw new TypeError("invalid argument. Must provide a string primitive. Value: `"+e+"`.");return i(e,o,"$1")}},2312:function(e,t,n){"use strict";n.r(t);var r=n(965),i=n(2313);r.default.addResources("de","citation",i.DE),r.default.addResources("en","citation",i.EN),r.default.addResources("es","citation",i.ES)},2313:function(e){e.exports=JSON.parse('{"DE":{"and":" und ","key-not-found":"Zitationsschlüssel in Referenzen nicht gefunden.","no-author":"Das Autorenfeld sollte nicht leer sein.","no-references":"Keine `references` in der Präambel der Lektion gefunden."},"EN":{"and":" and ","key-not-found":"Citation key not found in references.","no-author":"Author field should not be empty.","no-references":"No `references` found in preamble of lesson."},"ES":{"and":" y ","key-not-found":"La clave de la cita no se encuentra en las referencias.","no-author":"El campo del autor no debe estar vacío.","no-references":"No se encuentran `references` en el preámbulo de la lección."}}')},839:function(e,t,n){"use strict";n.r(t);var r=n(14),i=n.n(r),o=n(13),u=n.n(o),a=n(15),s=n.n(a),c=n(16),f=n.n(c),l=n(8),p=n.n(l),d=n(0),v=n.n(d),h=n(1),g=n.n(h),m=n(2309),y=n(1388),b=n.n(y),x=n(203),E=n.n(x),w=n(37);n(2312);function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var i=p()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var k={background:"red",color:"white"};function T(e){return e=b()(e),E()(e,",")?e.substring(0,e.indexOf(",")):e.substring(e.lastIndexOf(" ")+1)}var P=function(e){s()(n,e);var t=R(n);function n(){return i()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.t,t=this.context;if(!t.config.references)return v.a.createElement("span",{style:k},e("no-references"));var n=t.config.references[this.props.citeKey];if(!n)return v.a.createElement("span",{style:k},e("key-not-found"));if(!n.author)return v.a.createElement("span",{style:k},e("no-author"));var r=n.author.split("and"),i="";i=r.length>2?T(r[0])+" et al.":r.length>1?T(r[0])+e("and")+T(r[1]):T(r[0]);var o=this.props.label?", ".concat(this.props.label):"";return this.props.parens?v.a.createElement("span",null,"(",i,", ",n.year,o,")"):v.a.createElement("span",null,i," (",n.year,o,")")}}]),n}(d.Component);P.propTypes={citeKey:g.a.string.isRequired,parens:g.a.bool,label:g.a.string},P.defaultProps={parens:!1,label:""},P.contextType=w.default,t.default=Object(m.withTranslation)("citation")(P)}}]);