import{g as Je,C as it,h as at,R,r as ot,F as st}from"./index-BdTwX--g.js";import{j as te}from"./client-wT6vtYO_.js";import{t as ct,p as ut,D as fe}from"./numbers-CGZQWBYL.js";import{M as le}from"./message-UFwkQlnu.js";function Pe(e,t){return Pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},Pe(e,t)}function J(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pe(e,t)}var he={exports:{}},pe,Le;function ft(){if(Le)return pe;Le=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return pe=e,pe}var ve,Ae;function lt(){if(Ae)return ve;Ae=1;var e=ft();function t(){}function i(){}return i.resetWarningCache=t,ve=function(){function n(s,u,f,o,c,d){if(d!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}n.isRequired=n;function r(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:r,element:n,elementType:n,instanceOf:r,node:n,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:t};return a.PropTypes=a,a},ve}var Se;function ht(){return Se||(Se=1,he.exports=lt()()),he.exports}var pt=ht();const Me=Je(pt);function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0;c--){var d=n[c];d==="."?de(n,c):d===".."?(de(n,c),o++):o&&(de(n,c),o--)}if(!s)for(;o--;o)n.unshift("..");s&&n[0]!==""&&(!n[0]||!ie(n[0]))&&n.unshift("");var p=n.join("/");return u&&p.substr(-1)!=="/"&&(p+="/"),p}function Ue(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function ae(e,t){if(e===t)return!0;if(e==null||t==null)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(r,a){return ae(r,t[a])});if(typeof e=="object"||typeof t=="object"){var i=Ue(e),n=Ue(t);return i!==e||n!==t?ae(i,n):Object.keys(Object.assign({},e,t)).every(function(r){return ae(e[r],t[r])})}return!1}var dt="Invariant failed";function X(e,t){throw new Error(dt)}function ne(e){return e.charAt(0)==="/"?e:"/"+e}function Ie(e){return e.charAt(0)==="/"?e.substr(1):e}function mt(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&"/?#".indexOf(e.charAt(t.length))!==-1}function Xe(e,t){return mt(e,t)?e.substr(t.length):e}function Ye(e){return e.charAt(e.length-1)==="/"?e.slice(0,-1):e}function gt(e){var t=e||"/",i="",n="",r=t.indexOf("#");r!==-1&&(n=t.substr(r),t=t.substr(0,r));var a=t.indexOf("?");return a!==-1&&(i=t.substr(a),t=t.substr(0,a)),{pathname:t,search:i==="?"?"":i,hash:n==="#"?"":n}}function F(e){var t=e.pathname,i=e.search,n=e.hash,r=t||"/";return i&&i!=="?"&&(r+=i.charAt(0)==="?"?i:"?"+i),n&&n!=="#"&&(r+=n.charAt(0)==="#"?n:"#"+n),r}function B(e,t,i,n){var r;typeof e=="string"?(r=gt(e),r.state=t):(r=_({},e),r.pathname===void 0&&(r.pathname=""),r.search?r.search.charAt(0)!=="?"&&(r.search="?"+r.search):r.search="",r.hash?r.hash.charAt(0)!=="#"&&(r.hash="#"+r.hash):r.hash="",t!==void 0&&r.state===void 0&&(r.state=t));try{r.pathname=decodeURI(r.pathname)}catch(a){throw a instanceof URIError?new URIError('Pathname "'+r.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):a}return i&&(r.key=i),n?r.pathname?r.pathname.charAt(0)!=="/"&&(r.pathname=vt(r.pathname,n.pathname)):r.pathname=n.pathname:r.pathname||(r.pathname="/"),r}function yt(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&ae(e.state,t.state)}function Re(){var e=null;function t(s){return e=s,function(){e===s&&(e=null)}}function i(s,u,f,o){if(e!=null){var c=typeof e=="function"?e(s,u):e;typeof c=="string"?typeof f=="function"?f(c,o):o(!0):o(c!==!1)}else o(!0)}var n=[];function r(s){var u=!0;function f(){u&&s.apply(void 0,arguments)}return n.push(f),function(){u=!1,n=n.filter(function(o){return o!==f})}}function a(){for(var s=arguments.length,u=new Array(s),f=0;fH?j.splice(H,j.length-H,y):j.push(y),c({action:b,location:y,index:H,entries:j})}})}function l(E,O){var b="REPLACE",y=B(E,O,d(),h.location);o.confirmTransitionTo(y,b,i,function(N){N&&(h.entries[h.index]=y,c({action:b,location:y}))})}function m(E){var O=je(h.index+E,0,h.entries.length-1),b="POP",y=h.entries[O];o.confirmTransitionTo(y,b,i,function(N){N?c({action:b,location:y,index:O}):c()})}function g(){m(-1)}function A(){m(1)}function M(E){var O=h.index+E;return O>=0&&O"u"&&(k=be);function zt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var Vt=k(function(e,t){var i=e.innerRef,n=e.navigate,r=e.onClick,a=re(e,["innerRef","navigate","onClick"]),s=a.target,u=_({},a,{onClick:function(o){try{r&&r(o)}catch(c){throw o.preventDefault(),c}!o.defaultPrevented&&o.button===0&&(!s||s==="_self")&&!zt(o)&&(o.preventDefault(),n())}});return be!==k?u.ref=t||i:u.ref=i,R.createElement("a",u)}),Jt=k(function(e,t){var i=e.component,n=i===void 0?Vt:i,r=e.replace,a=e.to,s=e.innerRef,u=re(e,["component","replace","to","innerRef"]);return R.createElement(V.Consumer,null,function(f){f||X();var o=f.history,c=Te(Ee(a,f.location),f.location),d=c?o.createHref(c):"",p=_({},u,{href:d,navigate:function(){var L=Ee(a,f.location),I=F(f.location)===F(Te(L)),l=r||I?o.replace:o.push;l(L)}});return be!==k?p.ref=t||s:p.innerRef=s,R.createElement(n,p)})}),rt=function(t){return t},oe=R.forwardRef;typeof oe>"u"&&(oe=rt);function Xt(){for(var e=arguments.length,t=new Array(e),i=0;i{const n=ct(e),[,r]=n;i&&t&&console.warn("Both renderer prop and renderer as a child provided. This is a mistake and you really should fix that. Only renderer passed as a child will be used.");const a=i??t??null,s=te.jsx(Qt,{value:n});return(a==null?void 0:a(s,ut(e,r)))??s},ln=ot.memo(Yt),Qt=({value:e})=>{const[t,i,n=0]=e,r=te.jsx(st,{value:t??0,maximumFractionDigits:n}),a={count:r,rawNumber:t};switch(i){case fe.THOUSAND:return te.jsx(le,{id:"units.short.thousand",defaultMessage:"{count}K",values:a});case fe.MILLION:return te.jsx(le,{id:"units.short.million",defaultMessage:"{count}M",values:a});case fe.BILLION:return te.jsx(le,{id:"units.short.billion",defaultMessage:"{count}B",values:a});default:return r}};export{Jt as L,fn as N,Me as P,rn as R,ln as S,re as _,an as a,nn as b,sn as c,Tt as d,se as e,_ as f,V as g,un as h,Pe as i,cn as j,ht as r,Gt as u,on as w}; //# sourceMappingURL=short_number-w3W5phxu.js.map

AltStyle によって変換されたページ (->オリジナル) /