var s={exports:{}};(function(d,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=f;function f(e){return function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=u.width?String(u.width):e.defaultWidth,n=e.formats[t]||e.formats[e.defaultWidth];return n}}d.exports=r.default})(s,s.exports);var M=s.exports,b={exports:{}};(function(d,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=f;function f(e){return function(u,t){var n=t!=null&&t.context?String(t.context):"standalone",a;if(n==="formatting"&&e.formattingValues){var l=e.defaultFormattingWidth||e.defaultWidth,i=t!=null&&t.width?String(t.width):l;a=e.formattingValues[i]||e.formattingValues[l]}else{var v=e.defaultWidth,c=t!=null&&t.width?String(t.width):e.defaultWidth;a=e.values[c]||e.values[v]}var o=e.argumentCallback?e.argumentCallback(u):u;return a[o]}}d.exports=r.default})(b,b.exports);var w=b.exports,x={exports:{}};(function(d,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=f;function f(t){return function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=a.width,i=l&&t.matchPatterns[l]||t.matchPatterns[t.defaultMatchWidth],v=n.match(i);if(!v)return null;var c=v[0],o=l&&t.parsePatterns[l]||t.parsePatterns[t.defaultParseWidth],F=Array.isArray(o)?u(o,function(m){return m.test(c)}):e(o,function(m){return m.test(c)}),h;h=t.valueCallback?t.valueCallback(F):F,h=a.valueCallback?a.valueCallback(h):h;var p=n.slice(c.length);return{value:h,rest:p}}}function e(t,n){for(var a in t)if(t.hasOwnProperty(a)&&n(t[a]))return a}function u(t,n){for(var a=0;a<t.length;a++)if(n(t[a]))return a}d.exports=r.default})(x,x.exports);var C=x.exports,P={exports:{}};(function(d,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=f;function f(e){return function(u){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=u.match(e.matchPattern);if(!n)return null;var a=n[0],l=u.match(e.parsePattern);if(!l)return null;var i=e.valueCallback?e.valueCallback(l[0]):l[0];i=t.valueCallback?t.valueCallback(i):i;var v=u.slice(a.length);return{value:i,rest:v}}}d.exports=r.default})(P,P.exports);var _=P.exports;export{w as a,M as b,C as c,_ as d};
