@icap-ethiopia/esm-ethiohri-kpp
Version:
An OpenMRS seed application for building microfrontends
1 lines • 19.9 kB
JavaScript
(globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_kpp=globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_kpp||[]).push([[360,979],{2979:(e,t,n)=>{"use strict";n.r(t),n.d(t,{I18nContext:()=>k,I18nextProvider:()=>se,Trans:()=>J,Translation:()=>ce,composeInitialProps:()=>A,date:()=>de,getDefaults:()=>I,getI18n:()=>R,getInitialProps:()=>L,initReactI18next:()=>T,number:()=>ye,plural:()=>he,select:()=>me,selectOrdinal:()=>be,setDefaults:()=>N,setI18n:()=>D,time:()=>ge,useSSR:()=>ue,useTranslation:()=>te,withSSR:()=>fe,withTranslation:()=>ie});var r=n(8587);function o(e,t){if(null==e)return{};var n,o,i=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:String(t)}function c(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(6072),u=n(4915),l=n.n(u),p=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function f(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(l()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var o=new RegExp(p),i=null;null!==(i=o.exec(e));)if(i[0].trim())if(i[1]){var a=i[1].trim(),c=[a,""];a.indexOf("=")>-1&&(c=a.split("=")),t.attrs[c[0]]=c[1],o.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1));return t}var d=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,g=/^\s*$/,y=Object.create(null);function m(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(m,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var h={parse:function(e,t){t||(t={}),t.components||(t.components=y);var n,r=[],o=[],i=-1,a=!1;if(0!==e.indexOf("<")){var c=e.indexOf("<");r.push({type:"text",content:-1===c?e:e.substring(0,c)})}return e.replace(d,(function(c,s){if(a){if(c!=="</"+n.name+">")return;a=!1}var u,l="/"!==c.charAt(1),p=c.startsWith("\x3c!--"),d=s+c.length,y=e.charAt(d);if(p){var m=f(c);return i<0?(r.push(m),r):((u=o[i]).children.push(m),r)}if(l&&(i++,"tag"===(n=f(c)).type&&t.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!y||"<"===y||n.children.push({type:"text",content:e.slice(d,e.indexOf("<",d))}),0===i&&r.push(n),(u=o[i-1])&&u.children.push(n),o[i]=n),(!l||n.voidElement)&&(i>-1&&(n.voidElement||n.name===c.slice(2,-1))&&(i--,n=-1===i?r:o[i]),!a&&"<"!==y&&y)){u=-1===i?r:o[i].children;var h=e.indexOf("<",d),b=e.slice(d,-1===h?void 0:h);g.test(b)&&(b=" "),(h>-1&&i+u.length>=0||" "!==b)&&u.push({type:"text",content:b})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+m("",t)}),"")}};const b=h;function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}var O=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,j={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},w=function(e){return j[e]};function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E,S={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(O,w)}},k=(0,s.createContext)();function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};S=x(x({},S),e)}function I(){return S}var C=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.usedNamespaces={}}var t,n;return t=e,(n=[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}])&&v(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function D(e){E=e}function R(){return E}var T={type:"3rdParty",init:function(e){N(e.options.react),D(e)}};function A(e){return function(t){return new Promise((function(n){var r=L();e.getInitialProps?e.getInitialProps(t).then((function(e){n(x(x({},e),r))})):n(r)}))}}function L(){var e=R(),t=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],n={},r={};return e.languages.forEach((function(n){r[n]={},t.forEach((function(t){r[n][t]=e.getResourceBundle(n,t)||{}}))})),n.initialI18nStore=r,n.initialLanguage=e.language,n}function z(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var B={};function _(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&B[t[0]]||("string"==typeof t[0]&&(B[t[0]]=new Date),z.apply(void 0,t))}function U(e,t,n){e.loadNamespaces(t,(function(){e.isInitialized?n():e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),n()}))}))}function F(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}var H=["format"],K=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function M(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function $(e){return e?e.props?e.props.children:e.children:[]}function q(e){return Array.isArray(e)?e:[e]}function Y(e,t){if(!e)return"";var n="",r=q(e),a=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return r.forEach((function(e,r){if("string"==typeof e)n+="".concat(e);else if((0,s.isValidElement)(e)){var c=Object.keys(e.props).length,u=a.indexOf(e.type)>-1,l=e.props.children;if(!l&&u&&0===c)n+="<".concat(e.type,"/>");else if(l||u&&0===c)if(e.props.i18nIsDynamicList)n+="<".concat(r,"></").concat(r,">");else if(u&&1===c&&"string"==typeof l)n+="<".concat(e.type,">").concat(l,"</").concat(e.type,">");else{var p=Y(l,t);n+="<".concat(r,">").concat(p,"</").concat(r,">")}else n+="<".concat(r,"></").concat(r,">")}else if(null===e)z("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===i(e)){var f=e.format,d=o(e,H),g=Object.keys(d);if(1===g.length){var y=f?"".concat(g[0],", ").concat(f):g[0];n+="{{".concat(y,"}}")}else z("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else z("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),n}function J(e){var t=e.children,n=e.count,r=e.parent,a=e.i18nKey,c=e.context,u=e.tOptions,l=void 0===u?{}:u,p=e.values,f=e.defaults,d=e.components,g=e.ns,y=e.i18n,m=e.t,h=e.shouldUnescape,v=o(e,K),O=(0,s.useContext)(k)||{},j=O.i18n,w=O.defaultNS,P=y||j||R();if(!P)return _("You will need to pass in an i18next instance by using i18nextReactModule"),t;var x=m||P.t.bind(P)||function(e){return e};c&&(l.context=c);var E=W(W({},I()),P.options&&P.options.react),S=g||x.ns||w||P.options&&P.options.defaultNS;S="string"==typeof S?[S]:S||["translation"];var N=f||Y(t,E)||E.transEmptyNodeValue||a,C=E.hashTransKey,D=a||(C?C(N):N),T=p?l.interpolation:{interpolation:W(W({},l.interpolation),{},{prefix:"#$?",suffix:"?$#"})},A=W(W(W(W({},l),{},{count:n},p),T),{},{defaultValue:N,ns:S}),L=function(e,t,n,r,o,a){if(""===t)return[];var c=r.transKeepBasicHtmlNodesFor||[],u=t&&new RegExp(c.join("|")).test(t);if(!e&&!u)return[t];var l={};!function e(t){q(t).forEach((function(t){"string"!=typeof t&&(M(t)?e($(t)):"object"!==i(t)||(0,s.isValidElement)(t)||Object.assign(l,t))}))}(e);var p=b.parse("<0>".concat(t,"</0>")),f=W(W({},l),o);function d(e,t,n){var r=$(e),o=y(r,t.children,n);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((function(e){return(0,s.isValidElement)(e)}))}(r)&&0===o.length?r:o}function g(e,t,n,r,o){e.dummy&&(e.children=t),n.push((0,s.cloneElement)(e,W(W({},e.props),{},{key:r}),o?void 0:t))}function y(t,o,l){var p=q(t);return q(o).reduce((function(t,o,m){var h,b,v,O=o.children&&o.children[0]&&o.children[0].content&&n.services.interpolator.interpolate(o.children[0].content,f,n.language);if("tag"===o.type){var j=p[parseInt(o.name,10)];!j&&1===l.length&&l[0][o.name]&&(j=l[0][o.name]),j||(j={});var w=0!==Object.keys(o.attrs).length?(h={props:o.attrs},(v=W({},b=j)).props=Object.assign(h.props,b.props),v):j,P=(0,s.isValidElement)(w),x=P&&M(o,!0)&&!o.voidElement,E=u&&"object"===i(w)&&w.dummy&&!P,S="object"===i(e)&&null!==e&&Object.hasOwnProperty.call(e,o.name);if("string"==typeof w){var k=n.services.interpolator.interpolate(w,f,n.language);t.push(k)}else if(M(w)||x)g(w,d(w,o,l),t,m);else if(E){var N=y(p,o.children,l);t.push((0,s.cloneElement)(w,W(W({},w.props),{},{key:m}),N))}else if(Number.isNaN(parseFloat(o.name)))if(S)g(w,d(w,o,l),t,m,o.voidElement);else if(r.transSupportBasicHtmlNodes&&c.indexOf(o.name)>-1)if(o.voidElement)t.push((0,s.createElement)(o.name,{key:"".concat(o.name,"-").concat(m)}));else{var I=y(p,o.children,l);t.push((0,s.createElement)(o.name,{key:"".concat(o.name,"-").concat(m)},I))}else if(o.voidElement)t.push("<".concat(o.name," />"));else{var C=y(p,o.children,l);t.push("<".concat(o.name,">").concat(C,"</").concat(o.name,">"))}else if("object"!==i(w)||P)1===o.children.length&&O?t.push((0,s.cloneElement)(w,W(W({},w.props),{},{key:m}),O)):t.push((0,s.cloneElement)(w,W(W({},w.props),{},{key:m})));else{var D=o.children[0]?O:null;D&&t.push(D)}}else if("text"===o.type){var R=r.transWrapTextNodes,T=a?r.unescape(n.services.interpolator.interpolate(o.content,f,n.language)):n.services.interpolator.interpolate(o.content,f,n.language);R?t.push((0,s.createElement)(R,{key:"".concat(o.name,"-").concat(m)},T)):t.push(T)}return t}),[])}return $(y([{dummy:!0,children:e||[]}],p,q(e||[]))[0])}(d||t,D?x(D,A):N,P,E,A,h),z=void 0!==r?r:E.defaultTransParent;return z?(0,s.createElement)(z,v,L):L}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function G(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ee=function(e,t){var n=(0,s.useRef)();return(0,s.useEffect)((function(){n.current=t?n.current:e}),[e,t]),n.current};function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,r=(0,s.useContext)(k)||{},o=r.i18n,i=r.defaultNS,a=n||o||R();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new C),!a){_("You will need to pass in an i18next instance by using initReactI18next");var c=function(e){return Array.isArray(e)?e[e.length-1]:e},u=[c,{},!1];return u.t=c,u.i18n={},u.ready=!1,u}a.options.react&&void 0!==a.options.react.wait&&_("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var l=X(X(X({},I()),a.options.react),t),p=l.useSuspense,f=l.keyPrefix,d=e||i||a.options&&a.options.defaultNS;d="string"==typeof d?[d]:d||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(d);var g=(a.isInitialized||a.initializedStoreOnce)&&d.every((function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],o=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)||!t.hasResourceBundle(r,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!a(r,e)||o&&!a(i,e)))}(e,t,n):(_("i18n.languages were undefined or empty",t.languages),!0)}(e,a,l)}));function y(){return a.getFixedT(null,"fallback"===l.nsMode?d:d[0],f)}var m=G((0,s.useState)(y),2),h=m[0],b=m[1],v=d.join(),O=ee(v),j=(0,s.useRef)(!0);(0,s.useEffect)((function(){var e=l.bindI18n,t=l.bindI18nStore;function n(){j.current&&b(y)}return j.current=!0,g||p||U(a,d,(function(){j.current&&b(y)})),g&&O&&O!==v&&j.current&&b(y),e&&a&&a.on(e,n),t&&a&&a.store.on(t,n),function(){j.current=!1,e&&a&&e.split(" ").forEach((function(e){return a.off(e,n)})),t&&a&&t.split(" ").forEach((function(e){return a.store.off(e,n)}))}}),[a,v]);var w=(0,s.useRef)(!0);(0,s.useEffect)((function(){j.current&&!w.current&&b(y),w.current=!1}),[a,f]);var P=[h,a,g];if(P.t=h,P.i18n=a,P.ready=g,g)return P;if(!g&&!p)return P;throw new Promise((function(e){U(a,d,(function(){e()}))}))}var ne=["forwardedRef"];function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ie(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function r(r){var i=r.forwardedRef,a=o(r,ne),c=G(te(e,oe(oe({},a),{},{keyPrefix:t.keyPrefix})),3),u=c[0],l=c[1],p=c[2],f=oe(oe({},a),{},{t:u,i18n:l,tReady:p});return t.withRef&&i?f.ref=i:!t.withRef&&i&&(f.forwardedRef=i),(0,s.createElement)(n,f)}return r.displayName="withI18nextTranslation(".concat(F(n),")"),r.WrappedComponent=n,t.withRef?(0,s.forwardRef)((function(e,t){return(0,s.createElement)(r,Object.assign({},e,{forwardedRef:t}))})):r}}var ae=["ns","children"];function ce(e){var t=e.ns,n=e.children,r=G(te(t,o(e,ae)),3),i=r[0],a=r[1],c=r[2];return n(i,{i18n:a,lng:a.language},c)}function se(e){var t=e.i18n,n=e.defaultNS,r=e.children,o=(0,s.useMemo)((function(){return{i18n:t,defaultNS:n}}),[t,n]);return(0,s.createElement)(k.Provider,{value:o},r)}function ue(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).i18n,r=((0,s.useContext)(k)||{}).i18n,o=n||r||R();o.options&&o.options.isClone||(e&&!o.initializedStoreOnce&&(o.services.resourceStore.data=e,o.options.ns=Object.values(e).reduce((function(e,t){return Object.keys(t).forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e}),o.options.ns),o.initializedStoreOnce=!0,o.isInitialized=!0),t&&!o.initializedLanguageOnce&&(o.changeLanguage(t),o.initializedLanguageOnce=!0))}var le=["initialI18nStore","initialLanguage"];function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fe(){return function(e){function t(t){var n=t.initialI18nStore,r=t.initialLanguage,i=o(t,le);return ue(n,r),(0,s.createElement)(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},i))}return t.getInitialProps=A(e),t.displayName="withI18nextSSR(".concat(F(e),")"),t.WrappedComponent=e,t}}var de=function(){return""},ge=function(){return""},ye=function(){return""},me=function(){return""},he=function(){return""},be=function(){return""}},4915:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:()=>r})}}]);