!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("prop-types"),require("react")):"function"==typeof define&&define.amd?define(["exports","prop-types","react"],e):e(t.ReactIntl={},t.PropTypes,t.React)}(this,function(t,e,r){"use strict";function n(t){var e,r,n,o,a=Array.prototype.slice.call(arguments,1);for(e=0,r=a.length;e0&&void 0!==arguments[0]?arguments[0]:[];(Array.isArray(t)?t:[t]).forEach(function(t){t&&t.locale&&(u.__addLocaleData(t),f.__addLocaleData(t))})}function h(t){for(var e=(t||"").split("-");e.length>0;){if(m(e.join("-")))return!0;e.pop()}return!1}function m(t){var e=t&&t.toLowerCase();return!(!u.__localeData__[e]||!f.__localeData__[e])}function d(t,e,r){if("string"!=typeof e){if(It){var n=Dt(e);n&&n!==It&&d(t,n,r)}var o=At(e);Mt&&(o=o.concat(Mt(e)));for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,n){return t.hasOwnProperty(n)?e[n]=t[n]:r.hasOwnProperty(n)&&(e[n]=r[n]),e},{})}function g(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intl;St(t,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function _(t,e){if(t===e)return!0;if("object"!==(void 0===t?"undefined":tt(t))||null===t||"object"!==(void 0===e?"undefined":tt(e))||null===e)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(e),a=0;a3&&void 0!==arguments[3]?arguments[3]:{},l=i.intl,u=void 0===l?{}:l,c=s.intl,f=void 0===c?{}:c;return!_(e,n)||!_(r,o)||!(f===u||_(v(f,Ut),v(u,Ut)))}function w(t,e){return"[React Intl] "+t+(e?"\n"+e:"")}function F(t){}function O(t){return t.displayName||t.name||"Component"}function x(t){return u.prototype._resolveLocale(t)}function P(t){return u.prototype._findPluralRuleFunction(t)}function j(t){var e=Bt(null);return function(){var r=Array.prototype.slice.call(arguments),n=T(r),o=n&&e[n];return o||(o=new(Ht.apply(t,[null].concat(r))),n&&(e[n]=o)),o}}function T(t){if("undefined"!=typeof JSON){var e,r,n,o=[];for(e=0,r=t.length;e2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.locale,a=t.formats,i=t.messages,s=t.defaultLocale,l=t.defaultFormats,u=r.id,c=r.defaultMessage;St(u,"[React Intl] An `id` must be provided to format a message.");var f=i&&i[u];if(!(Object.keys(n).length>0))return f||c||u;var p=void 0,h=t.onError||F;if(f)try{p=e.getMessageFormat(f,o,a).format(n)}catch(t){h(w('Error formatting message: "'+u+'" for locale: "'+o+'"'+(c?", using default message as fallback.":""),t))}else(!c||o&&o.toLowerCase()!==s.toLowerCase())&&h(w('Missing message: "'+u+'" for locale: "'+o+'"'+(c?", using default message as fallback.":"")));if(!p&&c)try{p=e.getMessageFormat(c,s,l).format(n)}catch(t){h(w('Error formatting the default message for: "'+u+'"',t))}return p||h(w('Cannot format message: "'+u+'", using message '+(f||c?"source":"id")+" as fallback.")),p||f||c||u}function A(t){var e=Math.abs(t);return et&&(Jt=0,$t={line:1,column:1,seenCR:!1}),function(t,r,n){var o,a;for(o=Jt;ozt&&(zt=Bt,Kt=[]),Kt.push(t))}function o(){return a()}function a(){var t,e;for(t=[],e=i();e!==N;)t.push(e),e=i();return t!==N&&(t=A(t)),t}function i(){var t;return(t=l())===N&&(t=c()),t}function s(){var t,r,n,o,a,i;if(t=Bt,r=[],n=Bt,(o=w())!==N&&(a=j())!==N&&(i=w())!==N?n=o=[o,a,i]:(Bt=n,n=M),n!==N)for(;n!==N;)r.push(n),n=Bt,(o=w())!==N&&(a=j())!==N&&(i=w())!==N?n=o=[o,a,i]:(Bt=n,n=M);else r=M;return r!==N&&(r=R(r)),(t=r)===N&&(t=Bt,(r=b())!==N&&(r=e.substring(t,Bt)),t=r),t}function l(){var t;return(t=s())!==N&&(t=D(t)),t}function u(){var t,r,o;if((t=x())===N){if(t=Bt,r=[],I.test(e.charAt(Bt))?(o=e.charAt(Bt),Bt++):(o=N,0===Qt&&n(L)),o!==N)for(;o!==N;)r.push(o),I.test(e.charAt(Bt))?(o=e.charAt(Bt),Bt++):(o=N,0===Qt&&n(L));else r=M;r!==N&&(r=e.substring(t,Bt)),t=r}return t}function c(){var t,r,o,a,i,s,l;return t=Bt,123===e.charCodeAt(Bt)?(r=S,Bt++):(r=N,0===Qt&&n(U)),r!==N&&w()!==N&&(o=u())!==N&&w()!==N?(a=Bt,44===e.charCodeAt(Bt)?(i=q,Bt++):(i=N,0===Qt&&n(G)),i!==N&&(s=w())!==N&&(l=f())!==N?a=i=[i,s,l]:(Bt=a,a=M),a===N&&(a=Z),a!==N&&(i=w())!==N?(125===e.charCodeAt(Bt)?(s=H,Bt++):(s=N,0===Qt&&n(W)),s!==N?t=r=V(o,a):(Bt=t,t=M)):(Bt=t,t=M)):(Bt=t,t=M),t}function f(){var t;return(t=p())===N&&(t=h())===N&&(t=m())===N&&(t=d()),t}function p(){var t,r,o,a,i,s;return t=Bt,e.substr(Bt,6)===B?(r=B,Bt+=6):(r=N,0===Qt&&n(J)),r===N&&(e.substr(Bt,4)===$?(r=$,Bt+=4):(r=N,0===Qt&&n(z)),r===N&&(e.substr(Bt,4)===K?(r=K,Bt+=4):(r=N,0===Qt&&n(Q)))),r!==N&&w()!==N?(o=Bt,44===e.charCodeAt(Bt)?(a=q,Bt++):(a=N,0===Qt&&n(G)),a!==N&&(i=w())!==N&&(s=j())!==N?o=a=[a,i,s]:(Bt=o,o=M),o===N&&(o=Z),o!==N?t=r=X(r,o):(Bt=t,t=M)):(Bt=t,t=M),t}function h(){var t,r,o,a;return t=Bt,e.substr(Bt,6)===Y?(r=Y,Bt+=6):(r=N,0===Qt&&n(tt)),r!==N&&w()!==N?(44===e.charCodeAt(Bt)?(o=q,Bt++):(o=N,0===Qt&&n(G)),o!==N&&w()!==N&&(a=_())!==N?t=r=et(a):(Bt=t,t=M)):(Bt=t,t=M),t}function m(){var t,r,o,a;return t=Bt,e.substr(Bt,13)===rt?(r=rt,Bt+=13):(r=N,0===Qt&&n(nt)),r!==N&&w()!==N?(44===e.charCodeAt(Bt)?(o=q,Bt++):(o=N,0===Qt&&n(G)),o!==N&&w()!==N&&(a=_())!==N?t=r=ot(a):(Bt=t,t=M)):(Bt=t,t=M),t}function d(){var t,r,o,a,i;if(t=Bt,e.substr(Bt,6)===at?(r=at,Bt+=6):(r=N,0===Qt&&n(it)),r!==N)if(w()!==N)if(44===e.charCodeAt(Bt)?(o=q,Bt++):(o=N,0===Qt&&n(G)),o!==N)if(w()!==N){if(a=[],(i=v())!==N)for(;i!==N;)a.push(i),i=v();else a=M;a!==N?t=r=st(a):(Bt=t,t=M)}else Bt=t,t=M;else Bt=t,t=M;else Bt=t,t=M;else Bt=t,t=M;return t}function y(){var t,r,o,a;return t=Bt,r=Bt,61===e.charCodeAt(Bt)?(o=lt,Bt++):(o=N,0===Qt&&n(ut)),o!==N&&(a=x())!==N?r=o=[o,a]:(Bt=r,r=M),r!==N&&(r=e.substring(t,Bt)),(t=r)===N&&(t=j()),t}function v(){var t,r,o,i,s;return t=Bt,w()!==N&&(r=y())!==N&&w()!==N?(123===e.charCodeAt(Bt)?(o=S,Bt++):(o=N,0===Qt&&n(U)),o!==N&&w()!==N&&(i=a())!==N&&w()!==N?(125===e.charCodeAt(Bt)?(s=H,Bt++):(s=N,0===Qt&&n(W)),s!==N?t=ct(r,i):(Bt=t,t=M)):(Bt=t,t=M)):(Bt=t,t=M),t}function g(){var t,r,o;return t=Bt,e.substr(Bt,7)===ft?(r=ft,Bt+=7):(r=N,0===Qt&&n(pt)),r!==N&&w()!==N&&(o=x())!==N?t=r=ht(o):(Bt=t,t=M),t}function _(){var t,e,r,n;if(t=Bt,(e=g())===N&&(e=Z),e!==N)if(w()!==N){if(r=[],(n=v())!==N)for(;n!==N;)r.push(n),n=v();else r=M;r!==N?t=e=mt(e,r):(Bt=t,t=M)}else Bt=t,t=M;else Bt=t,t=M;return t}function b(){var t,r;if(Qt++,t=[],yt.test(e.charAt(Bt))?(r=e.charAt(Bt),Bt++):(r=N,0===Qt&&n(vt)),r!==N)for(;r!==N;)t.push(r),yt.test(e.charAt(Bt))?(r=e.charAt(Bt),Bt++):(r=N,0===Qt&&n(vt));else t=M;return Qt--,t===N&&(r=N,0===Qt&&n(dt)),t}function w(){var t,r,o;for(Qt++,t=Bt,r=[],o=b();o!==N;)r.push(o),o=b();return r!==N&&(r=e.substring(t,Bt)),t=r,Qt--,t===N&&(r=N,0===Qt&&n(gt)),t}function F(){var t;return _t.test(e.charAt(Bt))?(t=e.charAt(Bt),Bt++):(t=N,0===Qt&&n(bt)),t}function O(){var t;return wt.test(e.charAt(Bt))?(t=e.charAt(Bt),Bt++):(t=N,0===Qt&&n(Ft)),t}function x(){var t,r,o,a,i;if(48===e.charCodeAt(Bt)?(t=Ot,Bt++):(t=N,0===Qt&&n(xt)),t===N){if(t=Bt,r=Bt,Pt.test(e.charAt(Bt))?(o=e.charAt(Bt),Bt++):(o=N,0===Qt&&n(jt)),o!==N){for(a=[],i=F();i!==N;)a.push(i),i=F();a!==N?r=o=[o,a]:(Bt=r,r=M)}else Bt=r,r=M;r!==N&&(r=e.substring(t,Bt)),t=r}return t!==N&&(t=Tt(t)),t}function P(){var t,r,o,a,i,s,l,u;return Ct.test(e.charAt(Bt))?(t=e.charAt(Bt),Bt++):(t=N,0===Qt&&n(Nt)),t===N&&(t=Bt,e.substr(Bt,2)===kt?(r=kt,Bt+=2):(r=N,0===Qt&&n(Et)),r!==N&&(r=At()),(t=r)===N&&(t=Bt,e.substr(Bt,2)===Mt?(r=Mt,Bt+=2):(r=N,0===Qt&&n(Rt)),r!==N&&(r=Dt()),(t=r)===N&&(t=Bt,e.substr(Bt,2)===It?(r=It,Bt+=2):(r=N,0===Qt&&n(Lt)),r!==N&&(r=St()),(t=r)===N&&(t=Bt,e.substr(Bt,2)===Ut?(r=Ut,Bt+=2):(r=N,0===Qt&&n(Zt)),r!==N&&(r=qt()),(t=r)===N&&(t=Bt,e.substr(Bt,2)===Gt?(r=Gt,Bt+=2):(r=N,0===Qt&&n(Ht)),r!==N?(o=Bt,a=Bt,(i=O())!==N&&(s=O())!==N&&(l=O())!==N&&(u=O())!==N?a=i=[i,s,l,u]:(Bt=a,a=M),a!==N&&(a=e.substring(o,Bt)),(o=a)!==N?t=r=Wt(o):(Bt=t,t=M)):(Bt=t,t=M)))))),t}function j(){var t,e;if(t=[],(e=P())!==N)for(;e!==N;)t.push(e),e=P();else t=M;return t!==N&&(t=Vt(t)),t}var T,C=arguments.length>1?arguments[1]:{},N={},k={start:o},E=o,A=function(t){return{type:"messageFormatPattern",elements:t}},M=N,R=function(t){var e,r,n,o,a,i="";for(e=0,n=t.length;ee.description?1:0});e1?a.slice(0,-1).join(", ")+" or "+a[t.length-1]:a[0],n=e?'"'+function(t){function r(t){return t.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(t){return"\\x0"+r(t)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(t){return"\\x"+r(t)}).replace(/[\u0180-\u0FFF]/g,function(t){return"\\u0"+r(t)}).replace(/[\u1080-\uFFFF]/g,function(t){return"\\u"+r(t)})}()+'"':"end of input","Expected "+r+" but "+n+" found."}(o,s),o,s,a,i.line,i.column)}(null,Kt,zt)}}}();S(u,"formats",{enumerable:!0,value:{number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}),S(u,"__localeData__",{value:U(null)}),S(u,"__addLocaleData",{value:function(t){if(!t||!t.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");u.__localeData__[t.locale.toLowerCase()]=t}}),S(u,"__parse",{value:Z.parse}),S(u,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),u.prototype.resolvedOptions=function(){return{locale:this._locale}},u.prototype._compilePattern=function(t,e,r,n){return new o(e,r,n).compile(t)},u.prototype._findPluralRuleFunction=function(t){for(var e=u.__localeData__,r=e[t.toLowerCase()];r;){if(r.pluralRuleFunction)return r.pluralRuleFunction;r=r.parentLocale&&e[r.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlMessageFormat is missing a `pluralRuleFunction` for :"+t)},u.prototype._format=function(t,e){var r,n,o,a,i,s,l="";for(r=0,n=t.length;r=0)return!0;if("string"==typeof t){var e=/s$/.test(t)&&t.substr(0,t.length-1);if(e&&$.call(Q,e)>=0)throw new Error('"'+t+'" is not a valid IntlRelativeFormat `units` value, did you mean: '+e)}throw new Error('"'+t+'" is not a valid IntlRelativeFormat `units` value, it must be one of: "'+Q.join('", "')+'"')},f.prototype._resolveLocale=function(t){"string"==typeof t&&(t=[t]),t=(t||[]).concat(f.defaultLocale);var e,r,n,o,a=f.__localeData__;for(e=0,r=t.length;e=0)return t;throw new Error('"'+t+'" is not a valid IntlRelativeFormat `style` value, it must be one of: "'+X.join('", "')+'"')},f.prototype._selectUnits=function(t){var e,r,n,o=Q.filter(function(t){return t.indexOf("-short")<1});for(e=0,r=o.length;e=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r},st=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},lt=function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e":">","<":"<",'"':""","'":"'"},qt=/[&><"']/g,Gt=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};et(this,t);var n="ordinal"===r.style,o=P(x(e));this.format=function(t){return o(t,n)}},Ht=Function.prototype.bind||function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),r=this,n=function(){},o=function(){return r.apply(this instanceof n?this:t,e.concat(Array.prototype.slice.call(arguments)))};return this.prototype&&(n.prototype=this.prototype),o.prototype=new n,o},Wt=Object.prototype.hasOwnProperty,Vt=function(){try{return!!Object.defineProperty({},"a",{})}catch(t){return!1}}()?Object.defineProperty:function(t,e,r){"get"in r&&t.__defineGetter__?t.__defineGetter__(e,r.get):(!Wt.call(t,e)||"value"in r)&&(t[e]=r.value)},Bt=Object.create||function(t,e){function r(){}var n,o;r.prototype=t,n=new r;for(o in e)Wt.call(e,o)&&Vt(n,o,e[o]);return n},Jt=Object.keys(Pt),$t=Object.keys(jt),zt=Object.keys(Tt),Kt=Object.keys(Ct),Qt={second:60,minute:60,hour:24,day:30,month:12},Xt=Object.freeze({formatDate:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.locale,a=t.formats,i=t.timeZone,s=n.format,l=t.onError||F,u=new Date(r),c=ot({},i&&{timeZone:i},s&&k(a,"date",s,l)),f=v(n,Jt,c);try{return e.getDateTimeFormat(o,f).format(u)}catch(t){l(w("Error formatting date.",t))}return String(u)},formatTime:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.locale,a=t.formats,i=t.timeZone,s=n.format,l=t.onError||F,u=new Date(r),c=ot({},i&&{timeZone:i},s&&k(a,"time",s,l)),f=v(n,Jt,c);f.hour||f.minute||f.second||(f=ot({},f,{hour:"numeric",minute:"numeric"}));try{return e.getDateTimeFormat(o,f).format(u)}catch(t){l(w("Error formatting time.",t))}return String(u)},formatRelative:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.locale,a=t.formats,i=n.format,s=t.onError||F,l=new Date(r),u=new Date(n.now),c=i&&k(a,"relative",i,s),p=v(n,zt,c),h=ot({},f.thresholds);N(Qt);try{return e.getRelativeFormat(o,p).format(l,{now:isFinite(u)?u:e.now()})}catch(t){s(w("Error formatting relative time.",t))}finally{N(h)}return String(l)},formatNumber:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.locale,a=t.formats,i=n.format,s=t.onError||F,l=i&&k(a,"number",i,s),u=v(n,$t,l);try{return e.getNumberFormat(o,u).format(r)}catch(t){s(w("Error formatting number.",t))}return String(r)},formatPlural:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.locale,a=v(n,Kt),i=t.onError||F;try{return e.getPluralFormat(o,a).format(r)}catch(t){i(w("Error formatting plural.",t))}return"other"},formatMessage:E,formatHTMLMessage:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return E(t,e,r,Object.keys(n).reduce(function(t,e){var r=n[e];return t[e]="string"==typeof r?y(r):r,t},{}))}}),Yt=Object.keys(Ft),te=Object.keys(Ot),ee={formats:{},messages:{},timeZone:null,textComponent:"span",defaultLocale:"en",defaultFormats:{},onError:F},re=function(t){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};et(this,e);var n=st(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));St("undefined"!=typeof Intl,"[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");var o=r.intl,a=void 0;a=isFinite(t.initialNow)?Number(t.initialNow):o?o.now():Date.now();var i=(o||{}).formatters,s=void 0===i?{getDateTimeFormat:j(Intl.DateTimeFormat),getNumberFormat:j(Intl.NumberFormat),getMessageFormat:j(u),getRelativeFormat:j(f),getPluralFormat:j(Gt)}:i;return n.state=ot({},s,{now:function(){return n._didDisplay?Date.now():a}}),n}return at(e,t),rt(e,[{key:"getConfig",value:function(){var t=this.context.intl,e=v(this.props,Yt,t);for(var r in ee)void 0===e[r]&&(e[r]=ee[r]);if(!h(e.locale)){var n=e,o=n.locale,a=n.defaultLocale,i=n.defaultFormats;(0,n.onError)(w('Missing locale data for locale: "'+o+'". Using default locale: "'+a+'" as fallback.')),e=ot({},e,{locale:a,formats:i,messages:ee.messages})}return e}},{key:"getBoundFormatFns",value:function(t,e){return te.reduce(function(r,n){return r[n]=Xt[n].bind(null,t,e),r},{})}},{key:"getChildContext",value:function(){var t=this.getConfig(),e=this.getBoundFormatFns(t,this.state),r=this.state,n=r.now,o=it(r,["now"]);return{intl:ot({},t,e,{formatters:o,now:n})}}},{key:"shouldComponentUpdate",value:function(){for(var t=arguments.length,e=Array(t),r=0;r1?n-1:0),a=1;a0){var v=Math.floor(1099511627776*Math.random()).toString(16),g=function(){var t=0;return function(){return"ELEMENT-"+v+"-"+(t+=1)}}();m="@__"+v+"__@",d={},y={},Object.keys(c).forEach(function(t){var e=c[t];if(r.isValidElement(e)){var n=g();d[t]=m+n+m,y[n]=e}else d[t]=e})}var _=n({id:s,description:l,defaultMessage:u},d||c),b=void 0;return b=y&&Object.keys(y).length>0?_.split(m).filter(function(t){return!!t}).map(function(t){return y[t]||t}):[_],"function"==typeof h?h.apply(void 0,lt(b)):r.createElement.apply(void 0,[p,null].concat(lt(b)))}}]),e}(r.Component);me.displayName="FormattedMessage",me.contextTypes={intl:xt},me.defaultProps={values:{}};var de=function(t){function e(t,r){et(this,e);var n=st(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return g(r),n}return at(e,t),rt(e,[{key:"shouldComponentUpdate",value:function(t){var e=this.props.values;if(!_(t.values,e))return!0;for(var r=ot({},t,{values:e}),n=arguments.length,o=Array(n>1?n-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:{},n=e.intlPropName,o=void 0===n?"intl":n,a=e.withRef,i=void 0!==a&&a,s=function(e){function r(t,e){et(this,r);var n=st(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,t,e));return g(e),n}return at(r,e),rt(r,[{key:"getWrappedInstance",value:function(){return St(i,"[React Intl] To access the wrapped instance, the `{withRef: true}` option must be set when calling: `injectIntl()`"),this._wrappedInstance}},{key:"render",value:function(){var e=this;return D.createElement(t,ot({},this.props,nt({},o,this.context.intl),{ref:i?function(t){return e._wrappedInstance=t}:null}))}}]),r}(r.Component);return s.displayName="InjectIntl("+O(t)+")",s.contextTypes={intl:xt},s.WrappedComponent=t,Lt(s,t)},t.defineMessages=function(t){return t},t.IntlProvider=re,t.FormattedDate=ne,t.FormattedTime=oe,t.FormattedRelative=ce,t.FormattedNumber=fe,t.FormattedPlural=pe,t.FormattedMessage=me,t.FormattedHTMLMessage=de,Object.defineProperty(t,"__esModule",{value:!0})}); //# sourceMappingURL=react-intl.min.js.map