PageSourceSearch

https://docs.hyperwallet.com/app-part-npm.intl-messageformat-bbfa5e25dcc1eeb33aca.min.js

js hyperwallet.com collected 2026-09-24 08:28:20 UTC 16,883 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[44],{"2UD4":function(t,e,r){"use strict";var n=r("lVBX").default;r(2),(e=t.exports=n).default=e},"9A4Y":function(t,e,r){"use strict";function Bt(t,e,r,n){this.message=t,this.expected=e,this.found=r,this.location=n,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,Bt)}function n(){this.constructor=o}var o,i;e.default=(o=Bt,i=Error,n.prototype=i.prototype,o.prototype=new n,{SyntaxError:Bt,parse:function(s){var t,e=1<arguments.length?arguments[1]:{},c={},r={start:Lt},n=Lt,o=function(t){return{type:"messageFormatPattern",elements:t,location:xt()}},a=function(t){var e,r,n,o,i,a="";for(e=0,n=t.length;e<n;e+=1)for(r=0,i=(o=t[e]).length;r<i;r+=1)a+=o[r];return a},i=function(t){return{type:"messageTextElement",value:t,location:xt()}},u=/^[^ \t\n\r,.+={}#]/,l={type:"class",value:"[^ \\t\\n\\r,.+={}#]",description:"[^ \\t\\n\\r,.+={}#]"},p="{",f={type:"literal",value:"{",description:'"{"'},h=",",m={type:"literal",value:",",description:'","'},d="}",y={type:"literal",value:"}",description:'"}"'},v=function(t,e){return{type:"argumentElement",id:t,format:e&&e[2],location:xt()}},g="number",b={type:"literal",value:"number",description:'"number"'},w="date",F={type:"literal",value:"date",description:'"date"'},_="time",A={type:"literal",value:"time",description:'"time"'},x=function(t,e){return{type:t+"Format",style:e&&e[2],location:xt()}},C="plural",P={type:"literal",value:"plural",description:'"plural"'},E=function(t){return{type:t.type,ordinal:!1,offset:t.offset||0,options:t.options,location:xt()}},R="selectordinal",L={type:"literal",value:"selectordinal",description:'"selectordinal"'},O=function(t){return{type:t.type,ordinal:!0,offset:t.offset||0,options:t.options,location:xt()}},j="select",k={type:"literal",value:"select",description:'"select"'},S=function(t){return{type:"selectFormat",options:t,location:xt()}},I="=",N={type:"literal",value:"=",description:'"="'},T=function(t,e){return{type:"optionalFormatPattern",selector:t,value:e,location:xt()}},D="offset:",M={type:"literal",value:"offset:",description:'"offset:"'},J=function(t){return t},X=function(t,e){return{type:"pluralFormat",offset:t,options:e,location:xt()}},B={type:"other",description:"whitespace"},G=/^[ \t\n\r]/,U={type:"class",value:"[ \\t\\n\\r]",description:"[ \\t\\n\\r]"},W={type:"other",description:"optionalWhitespace"},V=/^[0-9]/,Y={type:"class",value:"[0-9]",description:"[0-9]"},Z=/^[0-9a-f]/i,$={type:"class",value:"[0-9a-f]i",description:"[0-9a-f]i"},q="0",z={type:"literal",value:"0",description:'"0"'},H=/^[1-9]/,K={type:"class",value:"[1-9]",description:"[1-9]"},Q=function(t){return parseInt(t,10)},tt=/^[^{}\\\0-\x1F� \t\n\r]/,et={type:"class",value:"[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]",description:"[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]"},rt="\\\\",nt={type:"literal",value:"\\\\",description:'"\\\\\\\\"'},ot=function(){return"\\"},it="\\#",at={type:"literal",value:"\\#",description:'"\\\\#"'},ut=function(){return"\\#"},lt="\\{",st={type:"literal",value:"\\{",description:'"\\\\{"'},ct=function(){return"{"},pt="\\}",ft={type:"literal",value:"\\}",description:'"\\\\}"'},ht=function(){return"}"},mt="\\u",dt={type:"literal",value:"\\u",description:'"\\\\u"'},yt=function(t){return String.fromCharCode(parseInt(t,16))},vt=function(t){return t.join("")},gt=0,bt=0,wt=[{line:1,column:1,seenCR:!1}],Ft=0,_t=[],At=0;if("startRule"in e){if(!(e.startRule in r))throw new Error("Can't start parsing from rule \""+e.startRule+'".');n=r[e.startRule]}function xt(){return Pt(bt,gt)}function Ct(t){var e,r,n=wt[t];if(n)return n;for(e=t-1;!wt[e];)e--;for(n={line:(n=wt[e]).line,column:n.column,seenCR:n.seenCR};e<t;)"\n"===(r=s.charAt(e))?(n.seenCR||n.line++,n.column=1,n.seenCR=!1):"\r"===r||"\u2028"===r||"\u2029"===r?(n.line++,n.column=1,n.seenCR=!0):(n.column++,n.seenCR=!1),e++;return wt[t]=n}function Pt(t,e){var r=Ct(t),n=Ct(e);return{start:{offset:t,line:r.line,column:r.column},end:{offset:e,line:n.line,column:n.column}}}function Et(t){gt<Ft||(Ft<gt&&(Ft=gt,_t=[]),_t.push(t))}function Rt(t,e,r,n){return null!==e&&function(t){var e=1;for(t.sort(function(t,e){return t.description<e.description?-1:t.description>e.description?1:0});e<t.length;)t[e-1]===t[e]?t.splice(e,1):e++}(e),new Bt(null!==t?t:function(t,e){var r,n=new Array(t.length);for(r=0;r<t.length;r++)n[r]=t[r].description;function o(t){return t.charCodeAt(0).toString(16).toUpperCase()}return"Expected "+(1<t.length?n.slice(0,-1).join(", ")+" or "+n[t.length-1]:n[0])+" but "+(e?'"'+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"+o(t)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(t){return"\\x"+o(t)}).replace(/[\u0100-\u0FFF]/g,function(t){return"\\u0"+o(t)}).replace(/[\u1000-\uFFFF]/g,function(t){return"\\u"+o(t)})+'"':"end of input")+" found."}(e,r),e,r,n)}function Lt(){return Ot()}function Ot(){var t,e,r;for(t=gt,e=[],r=jt();r!==c;)e.push(r),r=jt();return e!==c&&(bt=t,e=o(e)),t=e}function jt(){var t;return(t=function(){var t,e;return t=gt,(e=function(){var t,e,r,n,o,i;
1if(e=[],r=t=gt,(r=(n=Nt())!==c?(o=Xt())!==c&&(i=Nt())!==c?n=[n,o,i]:(gt=r,c):(gt=r,c))!==c)for(;r!==c;)e.push(r),r=gt,n=Nt(),r=n!==c&&(o=Xt())!==c&&(i=Nt())!==c?n=[n,o,i]:(gt=r,c);else e=c;return e!==c&&(bt=t,e=a(e)),(t=e)===c&&(t=gt,e=It(),t=e!==c?s.substring(t,gt):e),t}())!==c&&(bt=t,e=i(e)),t=e}())===c&&(t=function(){var t,e,r,n,o,i,a;return t=gt,123===s.charCodeAt(gt)?(e=p,gt++):(e=c,0===At&&Et(f)),t=e!==c?Nt()!==c&&(r=function(){var t,e,r;if((t=Mt())===c){if(t=gt,e=[],u.test(s.charAt(gt))?(r=s.charAt(gt),gt++):(r=c,0===At&&Et(l)),r!==c)for(;r!==c;)e.push(r),u.test(s.charAt(gt))?(r=s.charAt(gt),gt++):(r=c,0===At&&Et(l));else e=c;t=e!==c?s.substring(t,gt):e}return t}())!==c&&Nt()!==c?(n=gt,44===s.charCodeAt(gt)?(o=h,gt++):(o=c,0===At&&Et(m)),(n=o!==c&&(i=Nt())!==c&&(a=function(){var t;return(t=function(){var t,e,r,n,o,i;return t=gt,s.substr(gt,6)===g?(e=g,gt+=6):(e=c,0===At&&Et(b)),e===c&&(s.substr(gt,4)===w?(e=w,gt+=4):(e=c,0===At&&Et(F)),e===c&&(s.substr(gt,4)===_?(e=_,gt+=4):(e=c,0===At&&Et(A)))),t=e!==c?Nt()!==c?(r=gt,44===s.charCodeAt(gt)?(n=h,gt++):(n=c,0===At&&Et(m)),(r=n!==c&&(o=Nt())!==c&&(i=Xt())!==c?n=[n,o,i]:(gt=r,c))===c&&(r=null),r!==c?(bt=t,e=x(e,r)):(gt=t,c)):(gt=t,c):(gt=t,c)}())===c&&(t=function(){var t,e,r,n;return t=gt,s.substr(gt,6)===C?(e=C,gt+=6):(e=c,0===At&&Et(P)),t=e!==c?Nt()!==c?(44===s.charCodeAt(gt)?(r=h,gt++):(r=c,0===At&&Et(m)),r!==c&&Nt()!==c&&(n=St())!==c?(bt=t,e=E(n)):(gt=t,c)):(gt=t,c):(gt=t,c)}())===c&&(t=function(){var t,e,r,n;return t=gt,s.substr(gt,13)===R?(e=R,gt+=13):(e=c,0===At&&Et(L)),t=e!==c?Nt()!==c?(44===s.charCodeAt(gt)?(r=h,gt++):(r=c,0===At&&Et(m)),r!==c&&Nt()!==c&&(n=St())!==c?(bt=t,e=O(n)):(gt=t,c)):(gt=t,c):(gt=t,c)}())===c&&(t=function(){var t,e,r,n,o;if(t=gt,s.substr(gt,6)===j?(e=j,gt+=6):(e=c,0===At&&Et(k)),e!==c)if(Nt()!==c)if(44===s.charCodeAt(gt)?(r=h,gt++):(r=c,0===At&&Et(m)),r!==c)if(Nt()!==c){if(n=[],(o=kt())!==c)for(;o!==c;)n.push(o),o=kt();else n=c;t=n!==c?(bt=t,e=S(n)):(gt=t,c)}else gt=t,t=c;else gt=t,t=c;else gt=t,t=c;else gt=t,t=c;return t}()),t}())!==c?o=[o,i,a]:(gt=n,c))===c&&(n=null),n!==c&&(o=Nt())!==c?(125===s.charCodeAt(gt)?(i=d,gt++):(i=c,0===At&&Et(y)),i!==c?(bt=t,e=v(r,n)):(gt=t,c)):(gt=t,c)):(gt=t,c):(gt=t,c)}()),t}function kt(){var t,e,r,n,o,i,a,u,l;return t=gt,t=Nt()!==c?(a=i=gt,61===s.charCodeAt(gt)?(u=I,gt++):(u=c,0===At&&Et(N)),(i=(a=u!==c&&(l=Mt())!==c?u=[u,l]:(gt=a,c))!==c?s.substring(i,gt):a)===c&&(i=Xt()),(e=i)!==c&&Nt()!==c?(123===s.charCodeAt(gt)?(r=p,gt++):(r=c,0===At&&Et(f)),r!==c&&Nt()!==c&&(n=Ot())!==c&&Nt()!==c?(125===s.charCodeAt(gt)?(o=d,gt++):(o=c,0===At&&Et(y)),o!==c?(bt=t,T(e,n)):(gt=t,c)):(gt=t,c)):(gt=t,c)):(gt=t,c)}function St(){var t,e,r,n,o,i,a;if(o=t=gt,s.substr(gt,7)===D?(i=D,gt+=7):(i=c,0===At&&Et(M)),(e=o=i!==c&&Nt()!==c&&(a=Mt())!==c?(bt=o,i=J(a)):(gt=o,c))===c&&(e=null),e!==c)if(Nt()!==c){if(r=[],(n=kt())!==c)for(;n!==c;)r.push(n),n=kt();else r=c;t=r!==c?(bt=t,e=X(e,r)):(gt=t,c)}else gt=t,t=c;else gt=t,t=c;return t}function It(){var t,e;if(At++,t=[],G.test(s.charAt(gt))?(e=s.charAt(gt),gt++):(e=c,0===At&&Et(U)),e!==c)for(;e!==c;)t.push(e),G.test(s.charAt(gt))?(e=s.charAt(gt),gt++):(e=c,0===At&&Et(U));else t=c;return At--,t===c&&(e=c,0===At&&Et(B)),t}function Nt(){var t,e,r;for(At++,t=gt,e=[],r=It();r!==c;)e.push(r),r=It();return t=e!==c?s.substring(t,gt):e,At--,t===c&&(e=c,0===At&&Et(W)),t}function Tt(){var t;return V.test(s.charAt(gt))?(t=s.charAt(gt),gt++):(t=c,0===At&&Et(Y)),t}function Dt(){var t;return Z.test(s.charAt(gt))?(t=s.charAt(gt),gt++):(t=c,0===At&&Et($)),t}function Mt(){var t,e,r,n,o,i;if(t=gt,48===s.charCodeAt(gt)?(e=q,gt++):(e=c,0===At&&Et(z)),e===c){if(r=e=gt,H.test(s.charAt(gt))?(n=s.charAt(gt),gt++):(n=c,0===At&&Et(K)),n!==c){for(o=[],i=Tt();i!==c;)o.push(i),i=Tt();r=o!==c?n=[n,o]:(gt=r,c)}else gt=r,r=c;e=r!==c?s.substring(e,gt):r}return e!==c&&(bt=t,e=Q(e)),t=e}function Jt(){var t,e,r,n,o,i,a,u;return tt.test(s.charAt(gt))?(t=s.charAt(gt),gt++):(t=c,0===At&&Et(et)),t===c&&(t=gt,s.substr(gt,2)===rt?(e=rt,gt+=2):(e=c,0===At&&Et(nt)),e!==c&&(bt=t,e=ot()),(t=e)===c&&(t=gt,s.substr(gt,2)===it?(e=it,gt+=2):(e=c,0===At&&Et(at)),e!==c&&(bt=t,e=ut()),(t=e)===c&&(t=gt,s.substr(gt,2)===lt?(e=lt,gt+=2):(e=c,0===At&&Et(st)),e!==c&&(bt=t,e=ct()),(t=e)===c&&(t=gt,s.substr(gt,2)===pt?(e=pt,gt+=2):(e=c,0===At&&Et(ft)),e!==c&&(bt=t,e=ht()),(t=e)===c&&(t=gt,s.substr(gt,2)===mt?(e=mt,gt+=2):(e=c,0===At&&Et(dt)),t=e!==c?(n=r=gt,(r=(n=(o=Dt())!==c&&(i=Dt())!==c&&(a=Dt
1())!==c&&(u=Dt())!==c?o=[o,i,a,u]:(gt=n,c))!==c?s.substring(r,gt):n)!==c?(bt=t,e=yt(r)):(gt=t,c)):(gt=t,c)))))),t}function Xt(){var t,e,r;if(t=gt,e=[],(r=Jt())!==c)for(;r!==c;)e.push(r),r=Jt();else e=c;return e!==c&&(bt=t,e=vt(e)),t=e}if((t=n())!==c&&gt===s.length)return t;throw t!==c&&gt<s.length&&Et({type:"end",description:"end of input"}),Rt(null,_t,Ft<s.length?s.charAt(Ft):null,Ft<s.length?Pt(Ft,Ft+1):Pt(Ft,Ft))}})},JbWX:function(t,e,r){"use strict";e.extend=function(t){var e,r,n,o,i=Array.prototype.slice.call(arguments,1);for(e=0,r=i.length;e<r;e+=1)if(n=i[e])for(o in n)a.call(n,o)&&(t[o]=n[o]);return t};var a=Object.prototype.hasOwnProperty;e.hop=a},R5jr:function(t,e,r){"use strict";e.default={locale:"en",pluralRuleFunction:function(t,e){var r=String(t).split("."),n=!r[1],o=Number(r[0])==t,i=o&&r[0].slice(-1),a=o&&r[0].slice(-2);return e?1==i&&11!=a?"one":2==i&&12!=a?"two":3==i&&13!=a?"few":"other":1==t&&n?"one":"other"}}},XUei:function(t,e,r){"use strict";function n(t,e,r){this.locales=t,this.formats=e,this.pluralFn=r}function a(t){this.id=t}function u(t,e,r,n,o){this.id=t,this.useOrdinal=e,this.offset=r,this.options=n,this.pluralFn=o}function o(t,e,r,n){this.id=t,this.offset=e,this.numberFormat=r,this.string=n}function l(t,e){this.id=t,this.options=e}(e.default=n).prototype.compile=function(t){return this.pluralStack=[],this.currentPlural=null,this.pluralNumberFormat=null,this.compileMessage(t)},n.prototype.compileMessage=function(t){if(!t||"messageFormatPattern"!==t.type)throw new Error('Message AST is not of type: "messageFormatPattern"');var e,r,n,o=t.elements,i=[];for(e=0,r=o.length;e<r;e+=1)switch((n=o[e]).type){case"messageTextElement":i.push(this.compileMessageText(n));break;case"argumentElement":i.push(this.compileArgument(n));break;default:throw new Error("Message element does not have a valid type")}return i},n.prototype.compileMessageText=function(t){return this.currentPlural&&/(^|[^\\])#/g.test(t.value)?(this.pluralNumberFormat||(this.pluralNumberFormat=new Intl.NumberFormat(this.locales)),new o(this.currentPlural.id,this.currentPlural.format.offset,this.pluralNumberFormat,t.value)):t.value.replace(/\\#/g,"#")},n.prototype.compileArgument=function(t){var e=t.format;if(!e)return new a(t.id);var r,n=this.formats,o=this.locales,i=this.pluralFn;switch(e.type){case"numberFormat":return r=n.number[e.style],{id:t.id,format:new Intl.NumberFormat(o,r).format};case"dateFormat":return r=n.date[e.style],{id:t.id,format:new Intl.DateTimeFormat(o,r).format};case"timeFormat":return r=n.time[e.style],{id:t.id,format:new Intl.DateTimeFormat(o,r).format};case"pluralFormat":return r=this.compileOptions(t),new u(t.id,e.ordinal,e.offset,r,i);case"selectFormat":return r=this.compileOptions(t),new l(t.id,r);default:throw new Error("Message element does not have a valid format type")}},n.prototype.compileOptions=function(t){var e,r,n,o=t.format,i=o.options,a={};for(this.pluralStack.push(this.currentPlural),this.currentPlural="pluralFormat"===o.type?t:null,e=0,r=i.length;e<r;e+=1)a[(n=i[e]).selector]=this.compileMessage(n.value);return this.currentPlural=this.pluralStack.pop(),a},a.prototype.format=function(t){return t||"number"==typeof t?"string"==typeof t?t:String(t):""},u.prototype.getOption=function(t){var e=this.options;return e["="+t]||e[this.pluralFn(t-this.offset,this.useOrdinal)]||e.other},o.prototype.format=function(t){var e=this.numberFormat.format(t-this.offset);return this.string.replace(/(^|[^\\])#/g,"$1"+e).replace(/\\#/g,"#")},l.prototype.getOption=function(t){var e=this.options;return e[t]||e.other}},aGJD:function(t,e,r){"use strict";var i=r("JbWX"),n=function(){try{return!!Object.defineProperty({},"a",{})}catch(t){return!1}}(),a=(n||Object.prototype.__defineGetter__,n?Object.defineProperty:function(t,e,r){"get"in r&&t.__defineGetter__?t.__defineGetter__(e,r.get):(!i.hop.call(t,e)||"value"in r)&&(t[e]=r.value)}),o=Object.create||function(t,e){var r,n;function o(){}for(n in o.prototype=t,r=new o,e)i.hop.call(e,n)&&a(r,n,e[n]);return r};e.defineProperty=a,e.objCreate=o},fNJh:function(t,e,r){"use strict";
1var s=r("JbWX"),u=r("aGJD"),o=r("XUei"),n=r("krkB");function l(e,t,r){var n="string"==typeof e?l.__parse(e):e;if(!n||"messageFormatPattern"!==n.type)throw new TypeError("A message must be provided as a String or AST.");r=this._mergeFormats(l.formats,r),u.defineProperty(this,"_locale",{value:this._resolveLocale(t)});var o=this._findPluralRuleFunction(this._locale),i=this._compilePattern(n,t,r,o),a=this;this.format=function(t){try{return a._format(i,t)}catch(t){throw t.variableId?new Error("The intl string context variable '"+t.variableId+"' was not provided to the string '"+e+"'"):t}}}e.default=l,u.defineProperty(l,"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"}}}}),u.defineProperty(l,"__localeData__",{value:u.objCreate(null)}),u.defineProperty(l,"__addLocaleData",{value:function(t){if(!t||!t.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");l.__localeData__[t.locale.toLowerCase()]=t}}),u.defineProperty(l,"__parse",{value:n.default.parse}),u.defineProperty(l,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),l.prototype.resolvedOptions=function(){return{locale:this._locale}},l.prototype._compilePattern=function(t,e,r,n){return new o.default(e,r,n).compile(t)},l.prototype._findPluralRuleFunction=function(t){for(var e=l.__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)},l.prototype._format=function(t,e){var r,n,o,i,a,u,l="";for(r=0,n=t.length;r<n;r+=1)if("string"!=typeof(o=t[r])){if(i=o.id,!e||!s.hop.call(e,i))throw(u=new Error("A value must be provided for: "+i)).variableId=i,u;
1a=e[i],o.options?l+=this._format(o.getOption(a),e):l+=o.format(a)}else l+=o;return l},l.prototype._mergeFormats=function(t,e){var r,n,o={};for(r in t)s.hop.call(t,r)&&(o[r]=n=u.objCreate(t[r]),e&&s.hop.call(e,r)&&s.extend(n,e[r]));return o},l.prototype._resolveLocale=function(t){"string"==typeof t&&(t=[t]),t=(t||[]).concat(l.defaultLocale);var e,r,n,o,i=l.__localeData__;for(e=0,r=t.length;e<r;e+=1)for(n=t[e].toLowerCase().split("-");n.length;){if(o=i[n.join("-")])return o.locale;n.pop()}var a=t.pop();throw new Error("No locale data has been added to IntlMessageFormat for: "+t.join(", ")+", or the default locale: "+a)}},krkB:function(t,e,r){"use strict";(e=t.exports=r("9A4Y").default).default=e},lVBX:function(t,e,r){"use strict";var n=r("fNJh"),o=r("R5jr");n.default.__addLocaleData(o.default),n.default.defaultLocale="en",e.default=n.default}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.