define("xmessage",["exports","@linkedin/jsecure"],(function(e,t){"use strict"
function n(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)return
var r,o,a=[],i=!0,c=!1
try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(u){c=!0,o=u}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}(e,t)||function(e,t){if(!e)return
if("string"==typeof e)return r(e,t)
var n=Object.prototype.toString.call(e).slice(8,-1)
"Object"===n&&e.constructor&&(n=e.constructor.name)
if("Map"===n||"Set"===n)return Array.from(e)
if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(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 r(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 o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
if(Reflect.construct.sham)return!1
if("function"==typeof Proxy)return!0
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
return function(){var n,r=u(e)
if(t){var o=u(this).constructor
n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments)
return c(this,n)}}function c(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return e}(e)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]
for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{}
t%2?l(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){return(d="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})(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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,r.key,r)}}function _(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}Object.defineProperty(e,"__esModule",{value:!0}),e.PossessiveFormatter=e.PluralFormatter=e.NumberFormatter=e.NameFormatter=e.NAME_STYLES=e.DateFormatter=e.DEFAULT_TIME_PATTERN=e.DEFAULT_NAME_STYLE=e.DEFAULT_DATE_PATTERN=e.CurrencyFormatter=e.ChooserFormatter=void 0,e.Rtl=function(){return{isRtl:(n=" \n\r\t\f \u2028\u2029".split(""),r="~!@#$%^&*()_+`1234567890-={}|[]\\:\";'<>?,./".split(""),o=n.concat(r),"֐","ۿ",e=["nbsp"," ","lt","<","gt",">","amp","&","quot",'"'],t=/&(?:(lt|gt|amp|quot|nbsp)|#x([\da-f]{1,4})|#(\d{1,5}));/gi,a=function(n){return null==n?null:"".concat(n).replace(t,(function(t,n,r,o){return n?e[e.indexOf(n)+1]:r||o?String.fromCharCode(parseInt(r||o,r?16:10)||65533):"�"}))},i=bn(o,"֐","ۿ"),function(e){return-1!==i(a(e))})}
var e,t
var n,r,o,a,i},e.TruncationFormatter=e.TimeFormatter=void 0,e.default=Wn,e.formatCurrency=rn,e.formatDate=Et,e.formatInteger=nn,e.formatName=Kt,e.formatNumber=tn,e.formatPercent=on,e.formatTime=mn,e.fromString=function(e,t,n){return Yn(Rn(e),t,n)},e.getOutputFilter=function(){return qn},e.getRules=mt,e.getSantizeUrl=he,e.getUserDataFilter=function(){return le()},e.makeInterpolator=Yn,e.render=function(e,t,n){if(1===e.length&&"string"==typeof e[0])return qn(e[0])
return qn($n(e,t,n))},e.setOutputFilter=function(e){qn=e},e.setSanitizeUrl=function(e){de=e},e.setUserDataFilter=function(e){me(e)},e.toAst=Rn
var g=function(){function e(t){h(this,e),this.value=y(t)}return _(e,[{key:"toString",value:function(){switch(d(this.value)){case"object":case"function":break
default:return String(this.value)}return""}}]),e}()
function y(e){return e instanceof g?e.value:e}function v(e){return e instanceof g?e:new g(e)}function b(e,t){var n=e.parameters
return Object.prototype.hasOwnProperty.call(n,t)}function w(e,t){return-1!==e.indexOf(t,e.length-t.length)}function x(e,t){return 0===e.indexOf(t)}function C(e,t,n){var r=""
if(e.parameters){var o=e.parameters
for(var a in o)if(o.hasOwnProperty(a)&&!t.test(a)){r='Invalid style "'.concat(a,'"'),n&&(r+=" ".concat(n))
break}}return r}function k(e,t,n){var r,o,a="Placeholder must have exactly ".concat(t," style(s)"),i="Placeholder must have at least ".concat(t," style(s)"),c=0
if(e.parameters){for(o in e.parameters)e.parameters.hasOwnProperty(o)&&c++
"eq"===n&&c!==t?r=a:"gte"===n&&c<t&&(r=i)}else t>0&&(r="Placeholder must have styles")
return r}function O(e,t){return k(e,t,"eq")}function A(e,t,n){var r,o,a,i
if(e.parameters)for(o=0,a=t.length;o<a;++o)r=e.parameters[t[o]],"without"===n?r&&r.value&&(i='Invalid value for style "'.concat(r.key,'"')):"with"===n&&r&&(r.value||(i='Style "'.concat(r.key,'" must have a value')))
return i}function N(e,t){return A(e,t,"with")}var E="text",S=[E],D=new RegExp("^(".concat([E,"title"].join("|"),")$"))
var P=new RegExp("^(true|false)$")
var I=/-?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/,j=/^(zero|singular|dual|few|many|plural|other)$/
var T=["prefix","suffix"],F=/^(familiar|family|full|given|list|maiden|micro|possessive|salutation|prefix|suffix|compact)$/
var L=["prefix","suffix"],U=["name","text"],M=/^(?:familiar|family|full|given|list|maiden|micro|possessive|salutation|prefix|suffix)$/
var W="sep",R="nosep",q=[W,R],Y=new RegExp("^(".concat([W,R].join("|"),")$"))
var $=new RegExp("prefix|possessive|suffix")
var z={anchor:function(e){var t=function(e,t){var n,r,o,a,i
if(e.parameters)for(r=e.parameters,a=0,i=t.length;a<i;++a)o=t[a],r.hasOwnProperty(o)||(n='Missing required style key "'.concat(o,'"'))
else n="Placeholder must have styles"
return n}(e,S)
return t||(t=C(e,D,'The anchor placeholder only supports "text" and "title" styles.')),t},boolean:function(e){var t=function(e,t){return k(e,t,"gte")}(e,1)
return t||(t=C(e,P,'The key must be either "true" or "false".')),t},choice:function(e){var t,n,r,o,a,i,c,u,s=e.parameters,l=!1
for(u in i=[],s)s.hasOwnProperty(u)&&(i[(c=s[u]).order]=c,j.test(u)&&(l=!0))
for(c=void 0,o=0,a=i.length;o<a;++o)if(c=i[o],I.test(c.key))if(r=parseInt(c.key,10),void 0===n)n=r
else{if(!(n<r)){t="Invalid number order. Cannot list ".concat(r," after ").concat(n,". Numbers must be ascending.")
break}n=r}else{if(!j.test(c.key)){t='Invalid category key "'.concat(c.key,'".')
break}l=!0}return l&&(s.singular?s.plural||(t='Missing required category "plural"'):t='Missing required category "singular"'),t},list:function(e){var t=!1
return""!==e.subtype&&-1===U.indexOf(e.subtype)&&(t='Invalid list subtype "'.concat(e.subtype,'"')),t||(t=C(e,M,"Invalid style for list placeholder.")),t||(t=N(e,L)),t},map:function(e){var t
return e.parameters?0===Object.keys(e.parameters).length&&(t="MapPlaceholder must have at least one style argument."):t="MapPlaceholder must have parameters.",t},name:function(e){var t=C(e,F,"Invalid style for name placeholder.")
return t||(t=N(e,T)),t},possessive:function(e){return O(e,0)},suffix:function(e){var t=O(e,1)
return t||(t=C(e,Y,"Invalid style for suffix placeholder.")),t||(t=function(e,t){return A(e,t,"without")}(e,q)),t},text:function(e){return C(e,$,"Invalid style for text placeholder.")}}
function H(e){var t,n,r
if("string"!=typeof e){if((r=function(e){return e?e.index?void 0:"Placeholder must have an index.":"Placeholder is invalid."}(e))||z.hasOwnProperty(e.type)&&(r=z[e.type](e)),r)throw new Error(r)
if(e&&e.parameters instanceof Object)for(t in e.parameters)e.parameters.hasOwnProperty(t)&&(n=e.parameters[t]).value&&n.value instanceof Array&&n.value.forEach(H)}}var V=function(){function e(t){h(this,e),this.source=t,this.index=0,this.cursor=t.charCodeAt(0),this.previousCharCode=0,0===t.length&&(this.cursor=0)}return _(e,[{key:"isEscaped",get:function(){return 92===this.previousCharCode}},{key:"hasNext",get:function(){return 0!==this.cursor}},{key:"currentChar",get:function(){return this.index<this.source.length?this.source.charAt(this.index):""}},{key:"currentCharCode",get:function(){return this.cursor}},{key:"next",value:function(){this.previousCharCode=this.cursor,this.index++,this.index<this.source.length?this.cursor=this.source.charCodeAt(this.index):this.cursor=0}},{key:"toString",value:function(){return"index ".concat(this.index,' in string "').concat(this.source,'"')}}]),e}(),J=/[a-zA-Z]/,K=/[1-9]/,Z=/[0-9]/,B=/[a-zA-Z0-9]/,X=/[a-zA-Z0-9_\-~.|\[\]\/]/,G=/[#]/,Q={},ee={choice:/[#+<]/,plural:/[#+<]/},te={number:-1,keyword:""}
function ne(e,t){throw new SyntaxError("XMessage parsing error: ".concat(e," at ").concat(t.toString()))}function re(e,t,n){var r=function(e){for(var t=[],n=[],r=[];e.hasNext;)123===e.currentCharCode?t.push(e.currentChar):125===e.currentCharCode&&t.pop(),0===t.length&&124===e.currentCharCode?(0===r.length&&ne('Unexpected "|" in style list.',e),n.push(r.join("")),r.length=0,e.next()):(r.push(e.currentChar),e.next())
return r.length>0&&(n.push(r.join("")),r.length=0),{parsedStyles:{},unprocessedStyles:n}}(e),o=r.unprocessedStyles,a=r.parsedStyles
return o.map((function(e){return function(e,t){for(var n=ee[t]||G,r=[],o="",a="",i=null;e.hasNext;)n.test(e.currentChar)&&(0===r.length?ne('Error parsing style key/value. Found delimiter "'.concat(e.currentChar,'" but expected key.'),e):""===a&&(a=r.join(""),r.length=0,o=e.currentChar,e.next())),r.push(e.currentChar),e.next()
if(""===o)a=r.join(""),r.length=0
else{if(r.length>0){var c=r.join("")
void 0!==c&&(i=ce(c))}r.length=0}return(x(a," ")||w(a," "))&&ne("leading/trailing spaces not allowed in keys",e),"map"===t&&""!==a&&null===i&&ne('missing style value for "'.concat(a,'"'),e),{key:a,value:i,delimiter:o}}(new V(e),t)})).forEach((function(t,r){t.order=r+n,a.hasOwnProperty(t.key)?ne('Found duplicate style key "'.concat(t.key,'". Styles must have unique names.'),e):a[t.key]=t})),a}function oe(e){for(var t={};e.hasNext;){for(var n=[];e.hasNext&&124!==e.currentCharCode;)n.push(e.currentChar),e.next()
var r=n.join("");(x(r," ")||w(r," "))&&ne("leading/trailing spaces not allowed in keys",e),t[r]={key:r,value:null,delimiter:"",order:0},e.hasNext&&e.next()}return t}function ae(e){var t=te,n="simple",r="",o={}
return e.hasNext?(t=function(e){var t=[],n=[],r=-1,o="",a=!1
if(48===e.currentCharCode&&(t.push(e.currentChar),e.next(),a=!0),a&&e.hasNext&&44!==e.currentCharCode&&58!==e.currentCharCode&&ne('Could not parse index; expected ":" or end of identifier but found "'.concat(e.currentChar,'"'),e),K.test(e.currentChar))for(;e.currentChar&&Z.test(e.currentChar);)t.push(e.currentChar),e.next()
if(58===e.currentCharCode)for(e.next(),e.currentChar&&B.test(e.currentChar)?(n.push(e.currentChar),e.next()):ne('Expected letter (a-zA-Z) or number (0-9) but found "'.concat(e.currentChar,'"'),e);e.currentChar&&X.test(e.currentChar);)n.push(e.currentChar),e.next()
else 0===t.length&&e.hasNext&&ne('Unexpected character; expected ":" but found "'.concat(e.currentChar,'"'),e)
return 44===e.currentCharCode||0===e.currentCharCode?(r=parseInt(t.join(""),10),isNaN(r)&&(r=-1),o=n.join("")):ne('Unexpected character; expected "," or end of identifier but found "'.concat(e.currentChar,'"'),e),{number:r,keyword:o}}(e),44===e.currentCharCode?(e.next(),n=function(e){var t=[]
if(0===e.currentCharCode)ne('Unable to parse type. Expected letter (a-zA-Z) but found end of identifier after ","',e)
else for(;e.currentChar&&J.test(e.currentChar);)t.push(e.currentChar),e.next()
return t.join("")}(e),44===e.currentCharCode&&(e.next(),r=function(e,t){var n=""
if("list"===t){for(var r=[];e.hasNext&&44!==e.currentCharCode;)r.push(e.currentChar),e.next()
n=r.join("")}return n}(e,n),44!==e.currentCharCode&&124!==e.currentCharCode||e.next(),e.currentCharCode&&(o=function(e,t){return Q[t]?Q[t](e,t):re(e,t,0)}(e,n)))):n="simple"):ne("Error parsing placeholder. Unexpected end of input.",e),e.currentCharCode&&ne('Unexpected character "'.concat(e.currentChar,'".'),e),{index:t,type:n,subtype:r,parameters:o}}function ie(e){return"string"==typeof e?e:(t=e.text,ae(new V(t)))
var t}function ce(e){if(-1===e.indexOf("{")&&-1===e.indexOf("'"))return[e]
for(var t=function(e){for(var t=[],n=[],r=[],o=new V(e),a=!1;o.hasNext;)if(92!==o.currentCharCode||o.isEscaped)if(o.isEscaped)r.push(o.currentChar),o.next()
else{if(0===n.length&&39===o.currentCharCode){if(o.next(),39===o.currentCharCode){r.push("'"),o.next()
continue}a=!a,r.length>0&&(t.push(r.join("")),r.length=0)}a?(o.hasNext&&r.push(o.currentChar),o.next()):125!==o.currentCharCode||o.isEscaped||0!==n.length?123===o.currentCharCode?(0===n.length?r.length>0&&(t.push(r.join("")),r.length=0):r.push(o.currentChar),n.push(o.currentChar),o.next()):125===o.currentCharCode?(n.pop(),0===n.length?r.length>0?(t.push({text:r.join("")}),r.length=0):ne("Unexpected end of placeholder (found no content)",o):r.push(o.currentChar),o.next()):(o.hasNext&&r.push(o.currentChar),o.next()):ne('Unexpected "}"',o)}else o.next()
return 0!==n.length&&ne('Unexpected end of placeholder (unmatched "{")',o),r.length>0&&(t.push(r.join("")),r.length=0),t}(e),n=[],r=0;r<t.length;++r)n[r]=ie(t[r])
return n}Q.choice=function(e,t){return re(e,t,0)},Q.date=function(e){return oe(e)},Q.number=function(e){return oe(e)}
var ue,se=/{(\d+)}/g
function le(){return ue}function me(e){ue=function(t){if(t instanceof g)return t
var n=e(t)
return new g(n)}}function fe(e){return t.default.htmlEncode(e)}me(fe)
var de=function(e){return t.default.sanitizeUrl(e)}
function he(){return de}function pe(e){console.warn(e)}function _e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]
return e.replace(se,(function(e,n){return void 0!==t[n]?t[n]:e}))}function ge(e,t){for(var n=e.length,r=0;r<n;++r){var o=e[r]
if(t.hasOwnProperty(o))return t[o]}return null}var ye=function(){return""}
function ve(e,t){var n=e.parameters[t]
if(n)return n.value}function be(e,t){var n=e.parameters
if(n)for(var r=Object.keys(n),o=0;o<r.length;o++){var a=r[o]
if(n[a].order===t)return n[a]}}function we(e,t,n,r,o){var a=ve(e,t),i=le()
if(""===a)return a
if(void 0!==a){for(var c="",u=0;u<a.length;++u){var s=a[u]
c+="string"==typeof s?s:y(i(ye(s,n,r,o)))}return v(c)}return""}function xe(e,t,n,r){return ye(e,t,n,r)}var Ce=/['"<>]/
function ke(e){if(null==e)return""
var t=String(y(e))
return Ce.test(t)?fe(t):t}var Oe={postFormatting:function(e,t,n){var r={AUD:"A$",CAD:"CA$",HKD:"HK$",NZD:"NZ$"}
return void 0!==r[e]?n=n.replace(/^(\(|-)?\$/,r[e]):"INR"===e&&(n=n.replace(/Rs\./,"₹")),t<0&&n.indexOf(")")>=0&&(n="-".concat(n.replace(/[\(\)]/g,""))),n.replace(/\s/,"")},getCurrencyDisplay:function(e){return/^(DKK|NOK|SGD|ZAR|SEK|CHF)$/.test(e)?"code":"symbol"}},Ae={month:"long"},Ne={month:"short",day:"numeric"},Ee={month:"short"},Se={weekday:"long"},De={year:"numeric"},Pe={day:"numeric"},Ie=Ee,je={month:"long"},Te=Pe,Fe=De
m(m({},Ae),Te),m(m({},Ie),Te),m(m(m({},Ae),Te),Fe),m(m(m({},Ie),Te),Fe),m(m(m({},je),Te),Fe),m(m({},Ae),Fe),m(m({},Ie),Fe)
var Le={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"},Ue={year:"numeric",month:"long",day:"numeric"},Me={year:"numeric",month:"long"},We={year:"numeric",month:"short"},Re={month:"long",day:"numeric"},qe={en_US:{intlLocale:"en",currency:Oe,date:{postFormatting:function(e,t,n){var r=e.split(".")[0],o=n.replace(/\s0/," ")
if("my"===r)return o.replace(/,/g,"")
if("time"===r){var a=o.split(" ")
return 5!==a.length||/,$/.test(a[2])?3!==a.length||/,$/.test(a[0])||(a[0]+=","):a[2]+=",",a.join(" ")}return o},narrowDayNames:void 0,intlOptions:{time:Le,"time.long":Le,"time.medium":Le,"time.short":{year:"2-digit",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"},mdy:Ue,"mdy.long":Ue,"mdy.medium":{year:"numeric",month:"short",day:"numeric"},"mdy.short":{year:"numeric",month:"numeric",day:"numeric"},my:Me,"my.long":Me,"my.medium":We,"my.short":We,md:Re,"md.long":Re,"md.medium":Ne,"md.short":Ne,m:je,"m.long":je,"m.medium":Ee,"m.short":{month:"numeric"},d:Se,"d.long":Se,"d.medium":{weekday:"short"},"d.short":Pe,"d.narrow":{weekday:"narrow"},y:De,"y.long":De,"y.medium":De,"y.short":{year:"2-digit"}}},possessive:{fallback:"’s",rules:{".*[Ss]$":"’",".*[A-RT-Z]$":"’S",".*[a-rt-z]$":"’s"}},number:{percent:"{0}%"},list:{start:"{0}, {1}",middle:"{0}, {1}",end:"{0}, and {1}",2:"{0} and {1}"}}}
function Ye(e){return qe[e]}var $e={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"},ze={month:"long"},He={month:"short"},Ve={month:"numeric"},Je={weekday:"long"},Ke={year:"numeric"},Ze={weekday:"short"},Be={day:"numeric"},Xe=He,Ge={month:"long"},Qe=Je,et=Ze,tt=Be,nt=Ke,rt=m(m({},ze),tt),ot=m(m({},Xe),tt),at=m(m(m({},ze),tt),nt),it=m(m(m({},Xe),tt),nt),ct=m(m(m({},Ge),tt),nt),ut=m(m({},ze),nt),st=m(m({},Xe),nt),lt={mdy:at,"mdy.long":at,"mdy.medium":it,"mdy.short":ct,my:ut,"my.long":ut,"my.medium":st,"my.short":st,md:rt,"md.long":rt,"md.medium":ot,"md.short":ot,m:ze,"m.long":ze,"m.medium":Xe,"m.short":Ve,d:Qe,"d.long":Qe,"d.medium":et,"d.short":tt,y:nt,"y.long":nt,"y.medium":nt,"y.short":nt}
function mt(e,t){var n=Ye(e)
return t&&n?n[t]:n}function ft(e){return e.legacyIntlLocale||e.intlLocale}var dt=function(){function e(){h(this,e),this._formatters=new Map}return _(e,[{key:"getWithDefault",value:function(e,t){return function(e,t,n){if(e.has(t))return e.get(t)
var r=n()
return e.set(t,r),r}(this._formatters,e,t)}}]),e}()
function ht(e){var t=new Date(e.getTime())
return t.setMinutes(e.getMinutes()-e.getTimezoneOffset()),t}function pt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e,r=e instanceof Date
if(!r){var o=d(e)
"number"===o?n=new Date(e):"string"===o&&(n=new Date(Date.parse(e)))}return t&&(n=ht(n)),n}function _t(e,t){var n=e[t]
return n?s(Object.create(null),n):void 0}var gt={time:$e,"time.long":$e,"time.medium":$e,"time.short":{year:"2-digit",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"}},yt={intlOptions:m(m({},lt),gt)},vt={fmt_d:Je,fmt_d_short:Be,fmt_d_medium:Ze,fmt_d_long:Je,fmt_m:Ge,fmt_m_short:Ve,fmt_m_medium:He,fmt_m_long:Ge,fmt_y:Ke,fmt_y_short:{year:"2-digit"},fmt_md_medium:{month:"short",day:"numeric"},fmt_md_long:{month:"long",day:"numeric"},fmt_my_medium:{year:"numeric",month:"short"},fmt_my_long:{year:"numeric",month:"long"},fmt_mdy_short:{year:"numeric",month:"numeric",day:"numeric"},fmt_mdy_medium:{year:"numeric",month:"short",day:"numeric"},fmt_mdy_long:{year:"numeric",month:"long",day:"numeric"},fmt_mdy_hm_short:{year:"2-digit",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"},fmt_mdy_hm_long:$e},bt={hm:{hour:"numeric",minute:"numeric"},hms:{hour:"numeric",minute:"numeric",second:"numeric"}}
function wt(e){return _t(vt,e)}function xt(e){return e<10?"0".concat(e):e}function Ct(e){return"".concat(e.getUTCFullYear(),"-").concat(xt(e.getUTCMonth()+1),"-").concat(xt(e.getUTCDate()))}var kt,Ot=function(e){o(n,e)
var t=i(n)
function n(){return h(this,n),t.apply(this,arguments)}return _(n,[{key:"format",value:function(e,t,n,r){arguments.length>4&&void 0!==arguments[4]&&arguments[4]
var o=Ye(t),a=o.intlLocale,i=Ye(t).date||yt,c=i.calendar
if(ft(Ye(t)),"fmt_mdy_iso"===n)return Ct(pt(e,r))
var u=wt(n)
if(!u)throw new Error("[XMessage] Unsupported date format")
return r||(u.timeZone="UTC"),this.getWithDefault("".concat(a,"-").concat(n,"-").concat(!!u.timeZone),(function(){return c&&(u.calendar=c),new Intl.DateTimeFormat(a,u)})).format(pt(e))}}]),n}(dt)
e.DateFormatter=Ot
var At={fmt_d:"d",fmt_d_short:"d.short",fmt_d_narrow:"d.narrow",fmt_d_medium:"d.medium",fmt_d_long:"d.long",fmt_m:"m",fmt_m_short:"m.short",fmt_m_medium:"m.medium",fmt_m_long:"m.long",fmt_y:"y",fmt_y_short:"y.short",fmt_md_medium:"md.medium",fmt_md_long:"md.long",fmt_my_medium:"my.medium",fmt_my_long:"my.long",fmt_mdy_short:"mdy.short",fmt_mdy_medium:"mdy.medium",fmt_mdy_long:"mdy.long",fmt_mdy_hm_short:"time.short",fmt_mdy_hm_long:"time.long",fmt_mdy_iso:"iso",iso:"iso"},Nt={short:"fmt_mdy_short",medium:"fmt_mdy_medium",long:"fmt_mdy_long",full:"fmt_mdy_long"}
function Et(e,t,n,r,o){return At[t]||(Nt[t]?(console.log('The date pattern "'.concat(t,'" is deprecated, falling back to "').concat(Nt[t],'".')),t=Nt[t]):(console.log('Unknown date pattern "'.concat(t,'", falling back to "').concat("fmt_mdy_medium",'". Note: custom date patterns are not supported.')),t="fmt_mdy_medium")),kt||(kt=new Ot),kt.format(e,n,t,r,!0)}e.DEFAULT_DATE_PATTERN="fmt_mdy_medium"
e.DEFAULT_NAME_STYLE="familiar"
var St,Dt=["familiar","family","full","given","list","maiden"]
e.NAME_STYLES=Dt
var Pt=function(e,t){return"".concat(e," ").concat(t)},It=function(e,t){return"".concat(t," ").concat(e)},jt=function(e,t){return"".concat(t).concat(e)},Tt=function(e,t,n){return"".concat(n?" (".concat(n,")"):""," ")},Ft=function(e){return"".concat(e?" ".concat(e):"")},Lt=function(e){return function(t){return t?'<span class="'.concat(e,'">').concat(t,"</span>"):""}},Ut=Lt("given-name"),Mt=Lt("family-name"),Wt=Lt("additional-name"),Rt=function(e,t,n){return"".concat(e).concat(Ft(n)).concat(Ft(t))},qt=function(e){return function(t,n,r){return"".concat(t).concat(Ft(n)).concat(r?" ".concat(e," ").concat(r):"")}},Yt=/(^\s+|\s+$)/g
function $t(e,t){if(!e)return""
var n,r=e.replace(Yt,"")
return t&&(r=null==(n=r)?null:n.toString().replace(/(.)/g,(function(e){return"<"===e?"&lt;":">"===e?"&gt;":"&"===e?"&amp;":'"'===e?"&quot;":"'"===e?"&#39;":"\\"===e?"&#92;":"="===e?"&#61;":"\0"===e?"�;":e}))),r}var zt=[19968,40895,12448,12543,65377,65439,12352,12447]
function Ht(e,t){return function(e){if(!e)return!1
var t=e.charCodeAt(0)
return t>=44032&&t<=55215}(e.lastName)?"CJK":function(e){if(!e)return!1
for(var t=e.charCodeAt(0),n=0;n<zt.length;n+=2){if(t>=zt[n]&&t<=zt[n+1])return!0}return!1}(e.lastName)?"ja_JP"===t?"CJK-ja_JP":"CJK":t}var Vt=new(function(){function e(){h(this,e),this.templates=[]}return _(e,[{key:"preprocess",value:function(e,t,n){return[Ut(e),Mt(t),Wt(n)]}},{key:"add",value:function(e,t,n){var r=this.templates.indexOf(e);-1===r?this.templates.push(e,[t,n]):this.templates[r+1].push(t,n)}},{key:"run",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2?arguments[2]:void 0,r=this.templates.indexOf(e)
if(r>-1){var o=this.templates[r+1],a=o.indexOf(t);-1===a&&(a=o.indexOf("default"))
var i=o[a+1]
return i(n[0],n[1],n[2])}throw new Error("Could not find template function for ".concat(e," with ").concat(t," locale."))}}]),e}())
Vt.add(0,"default",(function(e){return e})),Vt.add(0,"de_DE",Pt),Vt.add(0,"pl_PL",Pt),Vt.add(0,"hi_IN",Pt),Vt.add(0,"ro_RO",Pt),Vt.add(0,"tr_TR",Pt),Vt.add(0,"CJK",jt),Vt.add(0,"CJK-ja_JP",It),Vt.add(1,"default",(function(e,t,n){return"".concat(e).concat(Tt(0,0,n)).concat(t)})),Vt.add(1,"ar_AE",Rt),Vt.add(1,"hi_IN",Rt),Vt.add(1,"th_TH",Rt),Vt.add(1,"cs_CZ",(function(e,t,n){return"".concat(e).concat(Ft(t)).concat(n?" (roz. ".concat(n,")"):"")})),Vt.add(1,"de_DE",qt("geb.")),Vt.add(1,"CJK-ja_JP",(function(e,t,n){return"".concat(t).concat(Ft(e)).concat(Tt(0,0,n))})),Vt.add(1,"CJK",(function(e,t,n){return"".concat(jt(e,t)).concat(Tt(0,0,n))})),Vt.add(1,"ms_MY",(function(e,t,n){return"".concat(e).concat(Ft(t)).concat(Tt(0,0,n))})),Vt.add(1,"nl_NL",(function(e,t,n){return"".concat(e," ").concat(t).concat(n?"-".concat(n):"")})),Vt.add(1,"pl_PL",qt("z d.")),Vt.add(2,"default",(function(e,t,n){return"".concat(t?"".concat(t,", "):"").concat(e)})),Vt.add(2,"CJK",jt),Vt.add(2,"CJK-ja_JP",It),Vt.add(2,"ar_AE",Pt),Vt.add(2,"hi_IN",Pt),Vt.add(2,"in_ID",Pt),Vt.add(2,"ms_MY",Pt),Vt.add(2,"th_TH",Pt)
var Jt=function(){function e(){h(this,e)}return _(e,[{key:"format",value:function(e,t,r){var o=function(e){if(e){if(Array.isArray(e))return e.indexOf("MICROFORMAT")>-1
if("string"==typeof e)return"MICROFORMAT"===e}return!1}(t),a=o||e.lastNameWithHighlight,i=$t(e.firstName,a),c=e.lastNameWithHighlight?$t(e.lastNameWithHighlight,!1):$t(e.lastName,a),u=$t(e.maidenName,a),s=Ht(e,r)
if(o){var l=n(Vt.preprocess(i,c,u),3)
i=l[0],c=l[1],u=l[2]}return Vt.run(function(e){if(!e)return 0
var t="string"==typeof e?[e]:e
return Array.isArray(t)?t.indexOf("FULL_NAME")>-1?1:t.indexOf("LIST_VIEW")>-1?2:0:0}(t),s,[i,c,u]).replace(Yt,"")}}]),e}()
function Kt(e,t,n){var r
if(void 0!==e){var o={firstName:e.givenName||e.firstName,lastName:e.familyName||e.lastName,maidenName:e.maidenName},a=t||"familiar"
switch(-1===Dt.indexOf(a)&&(console.log('Unrecognized name format "'.concat(a,'", falling back to "').concat("familiar",'".')),a="familiar"),a){case"given":r=o.firstName||""
break
case"family":r=o.lastName||""
break
case"maiden":r=o.maidenName||""
break
default:var i="full"===a||"given"===a||"family"===a||"maiden"===a?"FULL_NAME":"familiar"===a?"FAMILIAR_NAME":"list"===a?"LIST_VIEW":"FULL_NAME"
St||(St=new Jt),r=St.format(o,i,n)}}return r}e.NameFormatter=Jt
var Zt=function(){function e(){h(this,e)}return _(e,[{key:"format",value:function(e,t){var n,r=Ye(t).possessive
if(r){n=r.fallback
for(var o=Object.keys(r.rules),a=0;a<o.length;a++){var i=o[a]
if(new RegExp(i).test(e)){n=r.rules[i]
break}}return n}return""}}]),e}()
e.PossessiveFormatter=Zt
var Bt=function(e){o(n,e)
var t=i(n)
function n(){return h(this,n),t.apply(this,arguments)}return _(n,[{key:"formatNumber",value:function(e,t,n){var r=Ye(t),o=n?Object.keys(n):[]
if(o.length>0&&!["integer","percent"].includes(o[0]))throw new Error("[XMessage] Unsupported number argument")
var a=o.length>1&&"compact"===o[1]?"compact":void 0,i=o.length>0&&"percent"===o[0]?o[0]:"decimal",c=o.length>0&&"integer"===o[0]?0:void 0
return this.getWithDefault("".concat(t,"-").concat(i,"-").concat(a,"-").concat(c),(function(){var e={style:i,maximumFractionDigits:c,notation:a}
return new Intl.NumberFormat(r.intlLocale,e)})).format(e)}},{key:"formatCurrency",value:function(e,t,n){var r=n?Object.keys(n.parameters):[],o=r.length>1?r[1]:"symbol",a=Ye(t),i=r.length>2?r[2]:void 0
return this.getWithDefault("".concat(t,"-").concat(e.currencyCode,"-").concat(o,"-").concat(i),(function(){var t={style:"currency",currency:e.currencyCode,currencyDisplay:o,notation:i}
return new Intl.NumberFormat(a.intlLocale,t)})).format(e.amount)}}]),n}(dt),Xt=function(e){o(n,e)
var t=i(n)
function n(){return h(this,n),t.apply(this,arguments)}return _(n,[{key:"format",value:function(e,t,n){var r=Ye(n),o={style:"currency",currency:t,currencyDisplay:"code",minimumFractionDigits:"JPY"===t?0:2,maximumFractionDigits:"JPY"===t?0:2}
r.currency&&"function"==typeof r.currency.getCurrencyDisplay&&(o.currencyDisplay=r.currency.getCurrencyDisplay(t))
var a="".concat(ft(r),"-u-nu-latn-ca-gregory"),i=""
try{i=this.getWithDefault("".concat(a,"-").concat(t),(function(){return new Intl.NumberFormat(a,o)})).format(e)}catch(c){"code"===o.currencyDisplay&&(i="".concat(e," ").concat(t))}return i=i.replace(/\u0020/g," "),r.currency&&r.currency.postFormatting&&(i=r.currency.postFormatting(t,e,i)),i}}]),n}(dt)
e.CurrencyFormatter=Xt
var Gt,Qt=function(e){o(n,e)
var t=i(n)
function n(){return h(this,n),t.apply(this,arguments)}return _(n,[{key:"format",value:function(e,t){var n=Ye(t),r={maximumFractionDigits:n.number&&n.number.maximumFractionDigits?n.number.maximumFractionDigits:3},o="".concat(ft(n),"-u-nu-latn-ca-gregory"),a=this.getWithDefault(o,(function(){return new Intl.NumberFormat(o,r)})).format(e)
return n.number&&n.number.postFormatting&&(a=n.number.postFormatting(e,a)),a}}]),n}(dt)
function en(e,t,n){return Gt||(Gt=new Bt),Gt.formatNumber(e,t,n&&n.parameters)}function tn(e,t,n){return en(e,t)}function nn(e,t,n){return en(e,t,{parameters:{integer:{key:"integer",value:null,delimiter:""}}})}function rn(e,t,n,r){return function(e,t,n){return Gt||(Gt=new Bt),Gt.formatCurrency(e,t,n)}({amount:e,currencyCode:t},n)}function on(e,t){var n=Ye(t).number
return n&&n.percent?function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]
return e.replace(/{(\d+)}/g,(function(e,n){return void 0!==t[n]?t[n]:e}))}(e,[tn(parseInt((100*t).toFixed(1),10),n)])}(n.percent,e,t):e}e.NumberFormatter=Qt
var an=function(e){o(n,e)
var t=i(n)
function n(){return h(this,n),t.apply(this,arguments)}return _(n,[{key:"format",value:function(e,t){var n=Ye(t).intlLocale,r={}
return this.getWithDefault(n,(function(){return new Intl.PluralRules(n,r)})).select(e)}}]),n}(dt)
e.PluralFormatter=an
var cn,un=function(e){o(n,e)
var t=i(n)
function n(){return h(this,n),t.apply(this,arguments)}return _(n,[{key:"format",value:function(e,t,n,r,o){var a=Ye(t).intlLocale
ft(Ye(t))
var i=_t(bt,n)
return r||(i.timeZone="UTC"),this.getWithDefault("".concat(a,"-").concat(n,"-").concat(!!i.timeZone),(function(){return new Intl.DateTimeFormat(a,i)})).format(e)}}]),n}(dt)
e.TimeFormatter=un
var sn={fmt_hm:"hm",fmt_hms:"hms"},ln={short:"fmt_hm",medium:"fmt_hms",long:"fmt_hms",full:"fmt_hms"}
function mn(e,t,n,r,o){sn[t]||(ln[t]?(console.log('The time pattern "'.concat(t,'" is deprecated, falling back to "').concat(ln[t],'".')),t=ln[t]):(console.log('Unknown time pattern "'.concat(t,'", falling back to "').concat("fmt_hms",'". Note: custom time patterns are not supported.')),t="fmt_hms"))
var a=sn[t]
return cn||(cn=new un),cn.format(e,n,a,r,!0)}e.DEFAULT_TIME_PATTERN="fmt_hms"
var fn={eq:function(e,t){return e===t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t},endsWith:function(e,t){return w("".concat(e),"".concat(t))}}
var dn=function(e){return"number"!=typeof e||isNaN(e)?function(e){try{if(void 0!==e){if(!isNaN(e))return parseInt("".concat(e),10)
var t=e.replace(/[^0-9]/g,""),n=parseInt(t,10)
return isNaN(n)?0:n}}catch(r){}return 0}(e):e},hn=1,pn=[0,1,2,3,4,5],_n=["SINGULAR","PLURAL","DUAL","FEW","MANY","ZERO"],gn={equals:{1:0},endsWith:{0:hn,1:hn,2:hn,3:hn,4:hn,5:hn,6:hn,7:hn,8:hn,9:hn}}
function yn(e,t,n){var r=Math.floor(e),o=function(e,t){var n
return t.forEach((function(t){if(void 0!==t.arg&&null!==t.arg&&"gte"===t.comparison)(0,fn.eq)(e,t.arg)&&(!n||t.arg>n.arg)&&(n=t)
else if(t.comparison){(0,fn[t.comparison])(e,t.arg)&&(!n||t.arg>n.arg)&&(n=t)}})),n}(r,t)
if(o)return o
var a=function(e,t){if(e&&null!=t){var n="".concat(t)
if(e.equals&&void 0!==e.equals[n])return e.equals[n]
if(e.endsWith)for(var r=Math.min(2,n.length);r>0;r--){var o=n.slice(-1*r)
if(void 0!==e.endsWith[o])return e.endsWith[o]}}}(n,r)
if(void 0!==a){var i,c,u=pn.indexOf(a);-1!==u&&(i=_n[u].toLowerCase())
for(var s=0;s<t.length;s++){var l=t[s]
if(l.category===i)return l
"plural"===l.category&&(c=l)}if(c)return c}}var vn=function(){function e(){h(this,e)}return _(e,[{key:"format",value:function(e,t,n){var r,o,a=Ye(n),i=a.chooser?a.chooser:gn,c=dn(e)
return t.some((function(e){return!!e.category}))?r=yn(c,t,i):t.forEach((function(t){t.comparison&&((0,fn[t.comparison])(e,t.arg)&&(!r||void 0!==t.arg&&t.arg>r.arg)&&(r=t))})),r&&"function"==typeof(o=r.text)?o():o}}]),e}()
function bn(e,t,n){return function(r){if(null==r)return-1
var o=0,a="\0",i=r.length
for(o=0;o<i&&(a=r.charAt(o),!(e.indexOf(a)<0));o++);return o>=i?-1:a>=t&&a<=n?o:-1}}e.ChooserFormatter=vn
var wn=function(){function e(t){h(this,e),this.ellipsis="...",void 0!==t&&(this.ellipsis=t)}return _(e,[{key:"format",value:function(e,t){if(!e||"string"!=typeof e)return void 0===e||""===e?"":null
if(void 0===t)return"..."
if(!t||"number"!=typeof t||t>=e.length||t<0)return e
for(var n=e.substr(0,t),r=n.split(""),o=t-1,a="",i=/\s|\?|\!|\.|\,|\;|\:/g;o>=0&&!i.test(r[o]);)o--
return a=o>0?n.substr(0,o):n,a+=this.ellipsis}}]),e}()
e.TruncationFormatter=wn
var xn,Cn=/-?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+-]?\d+)?/,kn=/^(zero|singular|dual|few|many|plural|other)$/
var On,An,Nn=function(e){o(n,e)
var t=i(n)
function n(){return h(this,n),t.apply(this,arguments)}return _(n,[{key:"formatNumber",value:function(e,t,n){var r=Ye(t),o=n?Object.keys(n):[]
if(o.length>0&&!["integer","percent"].includes(o[0]))throw new Error("[XMessage] Unsupported number argument")
var a=o.length>1&&"compact"===o[1]?"compact":void 0,i=o.length>0&&"percent"===o[0]?o[0]:"decimal",c=o.length>0&&"integer"===o[0]?0:void 0
return this.getWithDefault("".concat(t,"-").concat(i,"-").concat(a,"-").concat(c),(function(){var e={style:i,maximumFractionDigits:c,notation:a}
return new Intl.NumberFormat(r.intlLocale,e)})).format(e)}},{key:"formatCurrency",value:function(e,t,n){var r=n?Object.keys(n.parameters):[],o=r.length>1?r[1]:"symbol",a=Ye(t),i=r.length>2?r[2]:void 0
return this.getWithDefault("".concat(t,"-").concat(e.currencyCode,"-").concat(o,"-").concat(i),(function(){var t={style:"currency",currency:e.currencyCode,currencyDisplay:o,notation:i}
return new Intl.NumberFormat(a.intlLocale,t)})).format(e.amount)}}]),n}(function(){function e(){h(this,e),this._formatters=new Map}return _(e,[{key:"getWithDefault",value:function(e,t){return function(e,t,n){if(e.has(t))return e.get(t)
var r=n()
return e.set(t,r),r}(this._formatters,e,t)}}]),e}())
function En(e,t,n){return On||(On=new Nn),On.formatNumber(e,t,n&&n.parameters)}var Sn={eq:function(e,t){return e===t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t},endsWith:function(e,t){return w("".concat(e),"".concat(t))}}
function Dn(e,t,n){return e?"string"==typeof e?e:xe(e,t,n):""}function Pn(e,t,n){return e?e.map((function(e){return Dn(e,t,n)})).join(""):""}function In(e,t,n,r){return"string"==typeof e?function(e,t){return"string"==typeof e?e:t[e.index.number]}(e,t):xe(e,t,n,r)}function jn(e,t,n){var r=""
return r=void 0===t?"{".concat(-1!==e.index.number?e.index.number:"").concat(""!==e.index.keyword?":".concat(e.index.keyword):"","}"):String(t),le()(r)}function Tn(e,t){var n=t instanceof g,r=n?y(t):t
if(e){var o=e.prefix,a=e.suffix
o&&(r=o.value+r),a&&(r+=a.value)}return r=n?v(r):r}var Fn=new Zt
var Ln=new Zt
function Un(e,t,n,r){if("name"===e){var o=ge(Dt,t)
n=Kt(n,null!==o?o.key:"familiar",r)}return n=Tn(t,n=le()(n))}var Mn={anchor:function(e,t,n,r,o){var a=he(),i=le(),c=t,u=null!==c&&"object"===d(c),s=ke(a(u?c.href:c)),l=ke(u?i(c.id):null),m=ke(u?i(c.class):null),f=y(we(e,"text",n,r,o)),h=ke(we(e,"title",n,r,o)),p={}
u?Object.keys(c).forEach((function(e){"href"!==e&&"title"!==e&&(p[ke(i(e))]=ke(i(c[e])))})):(m&&(p.class=m),l&&(p.id=l))
var _="<a"
return s&&(_+=' href="'.concat(s,'"')),Object.keys(p).forEach((function(e){_+=" ".concat(e,'="').concat(p[e],'"')})),h&&(_+=' title="'.concat(h,'"')),v(_+=">".concat(f,"</a>"))},boolean:function(e,t,n,r,o){var a=t,i=""
if(!0===a||"true"===a)b(e,"true")&&(i=we(e,"true",n,r,o))
else{if(!1!==a&&"false"!==a)throw new Error('Invalid argument for BooleanPlaceholder. Expected boolean or "true" or "false" but found "'.concat(a,'"'))
b(e,"false")&&(i=we(e,"false",n,r,o))}return i},choice:function(e,t,n,r,o){for(var a,i=t,c=[],u=e.parameters,s=0,l=Object.keys(u),m=0;m<l.length;m++){"number"==typeof(a=u[l[m]]).order&&(c[a.order]=a)}var f,h=d(i)
"number"!==h||isNaN(i)?"string"===h?Cn.test(i)?s=parseFloat(i):(pe("Invalid value for 'choice' placeholder. \"".concat(i,'" is not a number. Defaulting to 0.')),s=0):"object"===h&&(s=Array.isArray(i)?i.length:Object.keys(i).length):s=i
var p=c.map((function(e,t){var n={text:t.toString(),comparison:"eq"}
if(kn.test(e.key))n.text=t.toString(),n.comparison="eq",n.category=e.key
else{switch(n.text=t.toString(),e.delimiter){case"<":n.comparison="gt"
break
case"+":case"#":n.comparison="gte"
break
default:n.comparison="eq"}n.arg=parseFloat(e.key),f||(f=n)}return n}))
xn||(xn=new vn)
var _=xn.format(s,p,r)
return void 0!==_?we(e,c[parseInt(_,10)].key,n,r,o):f?we(e,f.arg,n,r,o):""},plural:function(e,t,n,r){An||(An=new an)
for(var o=e.parameters[t],a=o&&"#"===o.delimiter?o:e.parameters[An.format(t,r)],i=e.parameters,c=[],u=Object.keys(i),s=0;s<u.length;s++){var l=i[u[s]]
"number"==typeof l.order&&(c[l.order]=l)}var m,f=c.map((function(e,t){var n={text:t.toString(),comparison:"eq",arg:parseFloat(e.key)}
switch(e.delimiter){case"<":n.comparison="gt"
break
case"+":case"#":n.comparison="gte"
break
default:n.comparison="eq"}if(isNaN(n.arg)&&!e.key.match(/zero|one|two|few|many|other/))throw new Error("Invalid plural key: ".concat(e.key))
return n}))
if(a&&a.value){var d=e.index.number
return d>-1?Dn(a.value[d],n,r):Pn(a.value,n,r)}if(f.forEach((function(e){e.comparison&&((0,Sn[e.comparison])(t,e.arg)&&(!m||void 0!==e.arg&&e.arg>m.arg)&&(m=e))})),!m)return Pn(c[f[0].arg&&t<=f[0].arg?0:f.length-1].value,n,r)
var h=c[parseInt(m.text,10)]
if(!h)throw new Error("No plural style found from ".concat(m.text))
return h.value&&"string"!=typeof h.value&&"string"!=typeof h.value[0]?En(t,r,{parameters:{integer:h}}):Pn(h.value,n,r)},select:function(e,t,n,r,o){var a=e.parameters[t]
if(function(e){for(var t=Object.keys(e.parameters),n=0;n<t.length;n++){var r=t[n]
if(t.indexOf(r,n+1)>0)throw new Error("[XMessage] duplicate ".concat(r," keys in select placeholder"))
if(!e.parameters[r].value)throw new Error("[XMessage] select key ".concat(r," without a value"))}}(e),a&&a.value){for(var i="",c=0;c<a.value.length;c++)i+=In(a.value[c],n,r,o)
return i}if(e.parameters.default&&e.parameters.default.value)return In(e.parameters.default.value[0],n,r,o)
throw new Error("[XMessage] No value resolved for select placeholder")},date:function(e,t,n,r,o){var a=be(e,0),i="fmt_mdy_medium"
return a&&(i=a.key),"fmt_d_narrow"===i&&(pe('The pattern "'.concat(i,'" is not to be used in XMessage strings. Falling back to "').concat("fmt_mdy_medium",'".')),i="fmt_mdy_medium"),Et(t,i,r,!1)},list:function(e,t,n,r){var o,a,i,c,u,s=e.subtype||"text",l="",m=mt(r,"list")||mt("default","list")
if(t&&t instanceof Array&&(a=(o=t.length)-1,o>0))switch(o){case 1:l=Un(s,e.parameters,t[0],r)
break
case 2:l=_e(m[2],[Un(s,e.parameters,t[0],r).toString(),Un(s,e.parameters,t[1],r).toString()])
break
default:c=0,u=1
do{l=_e(m[i=0===c?"start":u<a?"middle":"end"],"start"===i?[Un(s,e.parameters,t[c],r).toString(),Un(s,e.parameters,t[u],r).toString()]:[l,Un(s,e.parameters,t[u],r).toString()]),c++,u++}while("end"!==i)}return l},map:function(e,t,n,r,o){var a=t
return we(e,void 0!==a&&ve(e,a=a.toString())?a:"DEFAULT_TEXT",n,r,o)},name:function(e,t,n,r){var o,a,i=ge(Dt,e.parameters)
return o=Kt(t,i=i&&i.key,r),e.parameters.possessive&&(o+=Ln.format(o,r)),a=le()(o),o=Tn(e.parameters,a)},number:function(e,t,n,r,o){var a,i=e.parameters
return void 0!==t&&(a=i?i.currency?function(e,t,n){return On||(On=new Nn),On.formatCurrency(e,t,n)}(t,r,e):En(t,r,e):tn(t,r)),le()(a)},possessive:function(e,t,n,r){var o="",a=new Zt
return void 0!==t&&(o=a.format(t,r)),o},simple:jn,suffix:function(e,t,n,r){var o,a,i,c,u,s,l,m,f,d="",h=!1,p=e.parameters
if(void 0!==t&&(p&&(h=!!p.sep),o=mt(r,"suffix")))switch(m=(o.hardVowels||"")+(o.softVowels||""),o.strategy){case"reverseSearchForVowel":if(t.length>0){for(s=l=t.length-1;s>=0&&" "!==u&&"\t"!==u;s--)if(u=t.charAt(s),-1!==m.indexOf(u))return f=s===l,c=o.hardVowels&&o.hardVowels.indexOf(u)>-1?o.hardVowelSuffix:o.fallbackSuffix,d=String(f?o.bufferChar:"")+c,h?o.separator+d:d
for(a in o.nonVowelToSuffix)if(o.nonVowelToSuffix.hasOwnProperty(a)&&(i=o.nonVowelToSuffix[a],new RegExp(a).test(t.charAt(l)))){c=i
break}c||(c=o.defaultBufferChar),d=h?o.separator+c:c
break}}return d},text:function(e,t,n,r){var o=jn(e,t)
return void 0!==o&&e.parameters.possessive&&(o+=Fn.format(o,r)),o=Tn(e.parameters,o)},time:function(e,t,n,r,o){var a=be(e,0),i="fmt_hms"
return a&&(i=a.key),mn(t,i,r,!1)}}
function Wn(e,t,n,r){var o,a,i,c,u,s=""
if(e&&t&&n){var l=Mn[e.type]
if("function"==typeof l){var m=function(e,t){if(e&&e.index&&t){var n=e.index,r=n.number,o=n.keyword
if("function"==typeof t)return t(r,o)
var a=t[r>-1?r:0]
if(null!=a)return"string"==typeof o&&""!==o?a[o]:a
if("string"==typeof o&&""!==o)return t[o]}}(e,t)
if(null==m)return v((o=e.index,a=o.number,i=o.keyword,c=-1!==a?a.toString():"",u=""!==i?":".concat(i):"","{".concat(c).concat(u,"}")))
s=l(e,m,t,n,r)}}return s}function Rn(e){var t=ce(e)
return t.forEach(H),t}ye=Wn
var qn=function(e){return t.default.sanitizeHTML(e)}
function Yn(e,t,n){if(e&&1===e.length&&"string"==typeof e[0]){var r=e[0]
return function(){return qn(r)}}return function(r){return qn($n(e,t,r,n))}}function $n(e,t,n,r){for(var o="",a=0;a<e.length;++a){var i=e[a]
o+="string"==typeof i?i:Wn(i,n,t,r)}return o}})),define("@linkedin/ember-cli-pemberly-i18n/app-strings",["exports"],(function(e){"use strict"
e.default={"settings-web":{en_US:{"artdeco-dropdown/templates/components/artdeco-dropdown-item":{i18n_selected:"Selected"},"artdeco-modal/templates/components/artdeco-modal":{dismiss_button:"Dismiss",dialog_content_start:"Dialog content start.",dialog_content_end:"Dialog content end."},"artdeco-toggle/templates/components/artdeco-toggle":{ad_toggled_text:"On",ad_untoggled_text:"Off"},"ember-cli-artdeco-typeahead/templates/components/artdeco-typeahead-results-list":{a11ySuggestions:"{:resultsCount,choice,0#No suggestions found|singular#One suggestion. Use up and down keys to navigate|plural#Multiple suggestions. Use up and down keys to navigate}",a11yLoading:"Loading"},"ember-cli-artdeco-typeahead/templates/components/artdeco-typeahead":{a11ySuggestions:"{:resultsCount,choice,0#No suggestions found|singular#One suggestion. Use up and down keys to navigate|plural#Multiple suggestions. Use up and down keys to navigate}",a11yLoading:"Loading"},"hue-web-form-elements/components/hue-web-search-input":{clear_tag:"Clear {:label}"},"hue-web-form-elements/components/hue-web-select":{error_tag:"Error:"},"hue-web-form-elements/components/hue-web-switch":{i18n_toggled_text:"On",i18n_untoggled_text:"Off"},"hue-web-form-elements/components/private/hue-web-text-entry-container":{counter_indicator_int:"{:current,number,integer}/{:max,number,integer}",counter_indicator:"{:current}/{:max}",counter_sr_label_int:"{:current,number,integer} characters of maximum {:max,number,integer}.",counter_sr_label:"{:current} characters of maximum {:max}.",error_required_with_label:"{:label} is required.",error_required_no_label:"This field is required.",error_charlimit_with_label_int:"{:label} can’t be more than {:max,number,integer} characters.",error_charlimit_with_label:"{:label} can’t be more than {:max} characters.",error_charlimit_no_label_int:"This field can’t be more than {:max,number,integer} characters.",error_charlimit_no_label:"This field can’t be more than {:max} characters.",error_tag:"Error:"},"hue-web-global-alert/components/-private/hue-web-global-alert-dismiss-button":{close_text:"close"},"hue-web-global-alert/components/-private/hue-web-global-alert-icon-counter":{alert_counter:"{:currentAlertIndex}/{:totalAlertCount}"},"hue-web-global-alert/components/hue-web-global-alert-item":{alert_counter:"{:currentAlertIndex}/{:totalAlertCount}"},"hue-web-global-alert/components/hue-web-global-alert":{alert_heading:"Important LinkedIn Alerts",alert_not_available:"There are no alerts at the moment."},"hue-web-modal/components/private/modal":{dismiss_button:"Dismiss",dialog_content_start:"Dialog content start.",dialog_content_end:"Dialog content end."},"hue-web-progress-indicator/components/hue-web-progress-indicator":{i18n_a11y_loading_text:"Loading"},"hue-web-tab/components/-private/hue-web-tablist":{overflow_trigger_label:"More"},"member-settings-desktop/templates/components/main-nav":{i18n_back_to_linkedin:"Back to LinkedIn.com",i18n_linkedin:"LinkedIn"},"member-settings-desktop/templates/components/settings/message":{message_change_saved:"Change saved"},"member-settings-mobile/templates/components/mobile-footer":{help_center:"Help Center",imprint:"Imprint",privacy_policy:"Privacy Policy",injobs_privacy_policy:"LinkedIn Privacy Policy",accessibility:"Accessibility",recommendation_transparency:"Recommendation Transparency",user_agreement:"User Agreement",end_user_license:"End User License Agreement",sign_out:"Sign Out",developer_tools:"Developer Tools","10_tuesday":"10% Tuesday",chameleon_overlay:"Chameleon Overlay",app_version_string:"VERSION: {:version}",china_privacy_addendum:"China Privacy Policy Addendum",china_android_third_party_sdk:"LinkedIn Mobile App (China) Addendum"},"settings-web/templates/components/lego/i18n-settings-resource":{notifications_i18n_inline_callout_primary_description:"Your notification settings are regrouped and simplified",notifications_i18n_inline_callout_secondary_description:"Your previous setting choices aren’t changed.",ads_i18n_inline_callout_secondary_description:"Your member settings are accessible wherever you use LinkedIn. We use privacy enhancing technologies to ensure that we do not link your iOS app activity data to third-party data."},"settings-web/templates/components/page-not-exist":{page_not_exist:"Hmm, this page doesn’t exist",go_to_settings:"Go to Settings",go_to_homepage:"Go to Homepage",sorry_page_not_found:"Sorry, we couldn’t find the page you’re looking for"},"settings-web/templates/dark-mode":{notation_description:"If you choose Device settings, this app will use the mode that’s already selected in this device’s settings.",device_settings:"Device settings",dark_mode:"Dark mode",light_mode:"Light mode"},"settings-web/templates/error":{something_went_wrong:"Something went wrong",not_you_is_us:"It’s not you, it’s us",please_try_again:"Please try again.",go_to_settings:"Go to Settings",go_to_homepage:"Go to Homepage"},"settings-web/templates/no-connection":{check_your_connection:"Check your connection",not_connect_to_internet:"You don’t seem to be connected to the Internet",check_connection_try_again:"Please check your connection and try again",try_again:"Try again"},"settings-web/templates/page-title":{settings:"Settings",account_preferences:"Account Preferences",sign_in_and_security:"Sign In & Security",visibility:"Visibility",data_privacy:"Data Privacy",advertising_data:"Advertising Data",communications:"Communications"},"settings-web/templates/verifications":{verifications_title:"Verifications","inline-error_text":"Sorry, something went wrong. Please try again."},"shared-components/components/back-link":{back:"Back"},"shared-components/components/category-menu":{i18n_more:"More"},"shared-components/components/custom-settings/profile-viewing-options/preview":{i18n_anonymous_member:"Anonymous LinkedIn Member",i18n_others_will_see_message:"This is what others will see:",i18n_degree_1st:"1st"},"shared-components/components/custom-settings/whatsapp/manage-number":{i18n_update_whatsapp_phone_number_cta:"Update",i18n_remove_whatsapp_phone_number_cta:"Remove",i18n_missing_whatsapp_phone_number_text:"Don&apos;t miss important job & career-related updates from LinkedIn. Get notified on WhatsApp.",i18n_missing_whatsapp_phone_number_headline:"No WhatsApp number added",i18n_add_whatsapp_phone_number_cta:"Add WhatsApp Number",i18n_whatsapp_phone_error_message:"Something went wrong. Try refreshing the page.",i18n_whatsapp_number_added:"WhatsApp number added.",i18n_whatsapp_number_updated:"WhatsApp number updated."},"shared-components/components/custom-settings/whatsapp/put-number":{i18n_title_add_whatsapp_number:"Add your WhatsApp number",i18n_title_update_whatsapp_number:"Update WhatsApp number",i18n_title_verify_whatsapp_number:"Verify your number",i18n_choose_phone_number:"Choose a phone number you&apos;ve shared with LinkedIn or\n   use a different number as your WhatsApp number",i18n_use_different_number:"Use a different WhatsApp number",i18n_whatsapp_disclaimer:"By continuing, you agree to receive messages from LinkedIn at the WhatsApp number above,\n   which may also be used to secure your account. {:learnMoreUrl,anchor,text#Learn more}",i18n_page_number:"{:pageNum} of 2",i18n_button_continue:"Continue",i18n_label_whatsapp_number_input:"WhatsApp number",i18n_label_country_list:"Country",i18n_enter_valid_whatsapp_number:"Please enter a valid WhatsApp number",i18n_verification_code_sent:"We sent a code to {:whatsAppNumber}.\n   Please check your WhatsApp and enter the code here.",i18n_verification_code_resent:"We resent a code to {:whatsAppNumber}.\n   Please check your WhatsApp and enter the code here.",i18n_label_six_digit_code:"6-digit code",i18n_enter_valid_code:"Please enter a valid code",i18n_did_not_receive_code:"Didn&apos;t receive the code?",i18n_button_resend:"Resend",i18n_button_back:"Back",i18n_button_done:"Done"},"shared-components/components/custom-settings/whatsapp/remove-number":{i18n_whatsapp_confirm_remove_number_header:"Are you sure?",i18n_whatsapp_confirm_remove_number_content:"Your WhatsApp number will be removed.",i18n_whatsapp_confirm_remove_number_cta:"Remove",i18n_whatsapp_cancel_remove_number_cta:"Cancel",i18n_whatsapp_confirm_remove_number_a11y_text:"Confirm remove WhatsApp number",i18n_whatsapp_cancel_remove_number_a11y_text:"Cancel remove WhatsApp number"},"shared-components/components/custom-settings/zephyr/connect-we-chat-settings-card":{i18n_connect_wechat_button_text_connected:"Connected",i18n_connect_wechat_modal_content:"Are you sure you want to disconnect from WeChat account?",i18n_connect_wechat_modal_cancel_button:"Cancel",i18n_connect_wechat_modal_confirm_button:"Confirm"},"shared-components/components/footer":{i18n_incareer_personal_data_collection_list:"Personal Data Collection List",i18n_incareer_mobile_data_addendum:"InCareer Mobile App Addendum",i18n_help_center:"Help Center",i18n_imprint:"Imprint",i18n_privacy_policy:"Privacy Policy",i18n_your_california_privacy_choices:"Your California privacy choices",i18n_incareer_privacy_policy:"LinkedIn Privacy Policy",i18n_incareer_privacy_policy_addendum:"China Privacy Policy Addendum",i18n_accessibility:"Accessibility",il8n_recommendation_transparency:"Recommendation Transparency",i18n_user_agreement:"User Agreement",i18n_end_user_license:"End User License Agreement",i18n_sign_out:"Sign Out",i18n_developer_tools:"Developer Tools",i18n_10_tuesday:"10% Tuesday",i18n_chameleon_overlay:"Chameleon Overlay",i18n_app_version_string:"VERSION: {:version}"},"shared-components/components/header":{settings_title:"Settings",go_to_help_center:"Help Center",back:"Back"},"shared-components/components/highlight":{important_to_know:"Important to know",how_this_works:"How this works"},"shared-components/components/inline-callout":{i18n_learn_more:"Learn More",i18n_learn_more_for_a11y:"Learn More about how to manage your notification settings"},"shared-components/components/inline-feedback-error":{"inline-error_text":"Sorry, something went wrong. Please try again."},"shared-components/components/navbar":{i18n_linkedin:"LinkedIn",i18n_incareer:"InCareer"},"shared-components/components/notification-category-card":{i18n_toggle_off_helper_description:"When Notifications are turned on, you may choose to receive the ones relevant to you."},"shared-components/components/notification-parent-child":{toggle_On:"On",toggle_Off:"Off"},"shared-components/components/notification-subcategory-card":{i18n_notification_subcategory_subheader:"Choose where you get notified",i18n_primary_secondary_settings_secondary_subheader:"Choose email frequency",i18n_inapp_setting_notation_description:"When In-app notifications are turned on, you may choose to receive push notifications.",i18n_whatsapp_setting_notation_description:"When turned on, you'll receive LinkedIn notifications on your WhatsApp number."},"shared-components/components/parent-child":{toggle_On:"On",toggle_Off:"Off"},"shared-components/components/profile-dropdown":{i18n_view_profile:"View Profile",i18n_help_center:"Help Center",i18n_sign_out:"Sign Out",i18n_something_went_wrong:"Sorry, something went wrong. Please try again."},"shared-components/components/profile-picture":{i18n_your_profile_photo:"Your profile photo"},"shared-components/components/profile-settings":{i18_settings:"Settings",i18n_last_changed_on:"Last changed on"},"shared-components/components/scaffold-layout/layout":{i18n_show_less:"Show less",i18n_show_more:"Show more"},"shared-components/components/toggle":{toggle_On:"On",toggle_Off:"Off"},"shared-components/components/verifications-card":{i18n_no_verified_information_description:"You don’t have a verified work email associated with your account.",i18n_verified_information_primary_description:"You have one or more work email verifications associated with your account. You can delete them at any time.",i18n_verified_information_secondary_description:"To manage your email addresses associated with your account, go to your",i18n_email_settings_link:"email settings.",i18n_learn_more:"Learn more about verifications.",i18n_verified_information_primary_description_text:"These are your verifications. You can delete them at any time.",i18n_delete_verifications_confirmation_text:"Are you sure you want to delete this verification? We won't be able to restore it, but you can re-verify again later.",i18n_no_verified_information_description_text:"You don’t have verifications, such as verified work email, associated with your account yet.",i18n_delete_verifications_header:"Delete verifications",i18n_delete_verifications_confirmation:"We can’t restore verifications once they’re deleted. Are you sure you want to delete the verifications?",i18n_cancel_text:"Cancel",i18n_confirm_text:"Yes, delete",i18n_delete_all:"Delete all"},"shared-components/components/verifications-evidences":{i18n_cancel_text:"Cancel",i18n_delete_text:"Delete",i18n_confirm_text:"Yes, delete",i18n_delete_all:"Delete all"}}}}}))

//# sourceMappingURL=support_en_US.map