@everymatrix/cashier-error 1.34.3 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cashier-error.js +19 -19
- package/dist/cashier-error.js.map +1 -1
- package/package.json +2 -2
- package/src/CashierError.svelte +1 -1
- package/src/translations.js +3 -1
package/dist/cashier-error.js
CHANGED
|
@@ -90,11 +90,11 @@ function X(e,t,r){var n={};return r.isMergeableObject(e)&&j(e).forEach((function
|
|
|
90
90
|
})(e,i)||(V(e,i)&&r.isMergeableObject(t[i])?n[i]=function(e,t){if(!t.customMerge)return K;var r=t.customMerge(e);return"function"==typeof r?r:K}(i,r)(e[i],t[i],r):n[i]=F(t[i],r))})),n}function K(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||x,r.isMergeableObject=r.isMergeableObject||$,
|
|
91
91
|
// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
|
|
92
92
|
// implementations can use it. The caller may not replace it.
|
|
93
|
-
r.cloneUnlessOtherwiseSpecified=F;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):X(e,t,r):F(t,r)}K.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return K(e,r,t)}),{})};var Y=K,z=function(e,t){return z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},z(e,t)};function Z(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}z(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var W,Q,
|
|
93
|
+
r.cloneUnlessOtherwiseSpecified=F;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):X(e,t,r):F(t,r)}K.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return K(e,r,t)}),{})};var Y=K,z=function(e,t){return z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},z(e,t)};function Z(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}z(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var W,J,Q,q=function(){return q=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},q.apply(this,arguments)};function ee(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}
|
|
94
94
|
/**
|
|
95
95
|
* Type Guards
|
|
96
96
|
*/
|
|
97
|
-
function te(e){return e.type===
|
|
97
|
+
function te(e){return e.type===J.literal}function re(e){return e.type===J.argument}function ne(e){return e.type===J.number}function ie(e){return e.type===J.date}function oe(e){return e.type===J.time}function se(e){return e.type===J.select}function ae(e){return e.type===J.plural}function he(e){return e.type===J.pound}function le(e){return e.type===J.tag}function ce(e){return!(!e||"object"!=typeof e||e.type!==Q.number)}function ue(e){return!(!e||"object"!=typeof e||e.type!==Q.dateTime)}
|
|
98
98
|
// @generated from regex-gen.ts
|
|
99
99
|
"function"==typeof SuppressedError&&SuppressedError,function(e){
|
|
100
100
|
/** Argument is unclosed (e.g. `{0`) */
|
|
@@ -193,7 +193,7 @@ e[e.pound=7]="pound",
|
|
|
193
193
|
/**
|
|
194
194
|
* XML-like tag
|
|
195
195
|
*/
|
|
196
|
-
e[e.tag=8]="tag"}(
|
|
196
|
+
e[e.tag=8]="tag"}(J||(J={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Q||(Q={}));var fe=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,pe=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
197
197
|
/**
|
|
198
198
|
* https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
199
199
|
* Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
|
|
@@ -316,7 +316,7 @@ if(De){
|
|
|
316
316
|
// Native
|
|
317
317
|
var Ye=Ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$e=function(e,t){var r;return Ye.lastIndex=t,null!==(r=Ye.exec(e)[1])&&void 0!==r?r:""}}else
|
|
318
318
|
// IE11
|
|
319
|
-
$e=function(e,t){for(var r=[];;){var n=je(e,t);if(void 0===n||We(n)||
|
|
319
|
+
$e=function(e,t){for(var r=[];;){var n=je(e,t);if(void 0===n||We(n)||Je(n))break;r.push(n),t+=n>=65536?2:1}return Fe.apply(void 0,r)};var ze=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123/* `{` */===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125/* `}` */===i&&e>0)break;if(35/* `#` */!==i||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(W.UNMATCHED_CLOSING_TAG,Oe(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&Ze(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:J.pound,location:Oe(s,this.clonePosition())})}}}return{val:n,err:null}},
|
|
320
320
|
/**
|
|
321
321
|
* A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
|
|
322
322
|
* [custom element name][] except that a dash is NOT always mandatory and uppercase letters
|
|
@@ -338,14 +338,14 @@ $e=function(e,t){for(var r=[];;){var n=je(e,t);if(void 0===n||We(n)||Qe(n))break
|
|
|
338
338
|
e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();// `<`
|
|
339
339
|
var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
|
|
340
340
|
// Self closing tag
|
|
341
|
-
return{val:{type:
|
|
341
|
+
return{val:{type:J.literal,value:"<".concat(n,"/>"),location:Oe(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();
|
|
342
342
|
// Expecting a close tag
|
|
343
|
-
if(this.bumpIf("</")){if(this.isEOF()||!Ze(this.char()))return this.error(W.INVALID_TAG,Oe(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(W.UNMATCHED_CLOSING_TAG,Oe(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:
|
|
343
|
+
if(this.bumpIf("</")){if(this.isEOF()||!Ze(this.char()))return this.error(W.INVALID_TAG,Oe(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(W.UNMATCHED_CLOSING_TAG,Oe(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:n,children:o,location:Oe(r,this.clonePosition())},err:null}:this.error(W.INVALID_TAG,Oe(s,this.clonePosition())))}return this.error(W.UNCLOSED_TAG,Oe(r,this.clonePosition()))}return this.error(W.INVALID_TAG,Oe(r,this.clonePosition()))},
|
|
344
344
|
/**
|
|
345
345
|
* This method assumes that the caller has peeked ahead for the first tag character.
|
|
346
346
|
*/
|
|
347
347
|
e.prototype.parseTagName=function(){var e,t=this.offset();// the first tag name character
|
|
348
|
-
for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Oe(r,this.clonePosition());return{val:{type:
|
|
348
|
+
for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Oe(r,this.clonePosition());return{val:{type:J.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(Ze(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
|
|
349
349
|
/** See `parseTag` function docs. */},
|
|
350
350
|
/**
|
|
351
351
|
* Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
|
|
@@ -373,7 +373,7 @@ this.bumpSpace(),this.isEOF())return this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
|
373
373
|
var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(W.MALFORMED_ARGUMENT,Oe(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(r,this.clonePosition()));switch(this.char()){
|
|
374
374
|
// Simple argument: `{name}`
|
|
375
375
|
case 125/* `}` */:// `}`
|
|
376
|
-
return this.bump(),{val:{type:
|
|
376
|
+
return this.bump(),{val:{type:J.argument,
|
|
377
377
|
// value does not include the opening and closing braces.
|
|
378
378
|
value:n,location:Oe(r,this.clonePosition())},err:null};
|
|
379
379
|
// Argument with options: `{name, format, ...}`
|
|
@@ -397,13 +397,13 @@ this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clo
|
|
|
397
397
|
// Extract style or skeleton
|
|
398
398
|
if(h&&ke(null==h?void 0:h.style,"::",0)){
|
|
399
399
|
// Skeleton starts with `::`.
|
|
400
|
-
var u=Ve(h.style.slice(2));if("number"===s)return(d=this.parseNumberSkeletonFromString(u,h.styleLocation)).err?d:{val:{type:
|
|
400
|
+
var u=Ve(h.style.slice(2));if("number"===s)return(d=this.parseNumberSkeletonFromString(u,h.styleLocation)).err?d:{val:{type:J.number,value:r,location:c,style:d.val},err:null};if(0===u.length)return this.error(W.EXPECT_DATE_TIME_SKELETON,c);var f=u;
|
|
401
401
|
// Get "best match" pattern only if locale is passed, if not, let it
|
|
402
402
|
// pass as-is where `parseDateTimeSkeleton()` will throw an error
|
|
403
403
|
// for unsupported patterns.
|
|
404
|
-
this.locale&&(f=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),h=Le(t);for("H"!=h&&"k"!=h||(a=0);a-- >0;)r+="a";for(;s-- >0;)r=h+r}else r+="J"===i?"H":i}return r}(u,this.locale));var p={type:
|
|
404
|
+
this.locale&&(f=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),h=Le(t);for("H"!=h&&"k"!=h||(a=0);a-- >0;)r+="a";for(;s-- >0;)r=h+r}else r+="J"===i?"H":i}return r}(u,this.locale));var p={type:Q.dateTime,pattern:f,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?me(f):{}};return{val:{type:"date"===s?J.date:J.time,value:r,location:c,style:p},err:null}}
|
|
405
405
|
// Regular style or no style.
|
|
406
|
-
return{val:{type:"number"===s?
|
|
406
|
+
return{val:{type:"number"===s?J.number:"date"===s?J.date:J.time,value:r,location:c,style:null!==(i=null==h?void 0:h.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
|
|
407
407
|
// Parse this range:
|
|
408
408
|
// {name, plural, options}
|
|
409
409
|
// ^---------^
|
|
@@ -416,7 +416,7 @@ var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.err
|
|
|
416
416
|
// ^--^
|
|
417
417
|
var g=this.parseIdentifierIfPossible(),b=0;if("select"!==s&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(W.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Oe(this.clonePosition(),this.clonePosition()));var d;if(this.bumpSpace(),(d=this.tryParseDecimalInteger(W.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;
|
|
418
418
|
// Parse another identifier for option parsing
|
|
419
|
-
this.bumpSpace(),g=this.parseIdentifierIfPossible(),b=d.val}var E,y=this.tryParsePluralOrSelectOptions(e,s,t,g);if(y.err)return y;if((E=this.tryParseArgumentClose(n)).err)return E;var v=Oe(n,this.clonePosition());return"select"===s?{val:{type:
|
|
419
|
+
this.bumpSpace(),g=this.parseIdentifierIfPossible(),b=d.val}var E,y=this.tryParsePluralOrSelectOptions(e,s,t,g);if(y.err)return y;if((E=this.tryParseArgumentClose(n)).err)return E;var v=Oe(n,this.clonePosition());return"select"===s?{val:{type:J.select,value:r,options:xe(y.val),location:v},err:null}:{val:{type:J.plural,value:r,options:xe(y.val),offset:b,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(W.INVALID_ARGUMENT_TYPE,Oe(o,a))}},e.prototype.tryParseArgumentClose=function(e){
|
|
420
420
|
// Parse: {value, number, ::currency/GBP }
|
|
421
421
|
return this.isEOF()||125/* `}` */!==this.char()?this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
|
|
422
422
|
/**
|
|
@@ -427,7 +427,7 @@ e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePos
|
|
|
427
427
|
// Find the end of the quoted literal text.
|
|
428
428
|
this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(W.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Oe(r,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
|
|
429
429
|
// Parse the skeleton
|
|
430
|
-
for(var t=[],r=0,n=e.split(ge).filter((function(e){return e.length>0}));r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),a=0,h=s;a<h.length;a++)if(0===h[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(W.INVALID_NUMBER_SKELETON,t)}return{val:{type:
|
|
430
|
+
for(var t=[],r=0,n=e.split(ge).filter((function(e){return e.length>0}));r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),a=0,h=s;a<h.length;a++)if(0===h[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(W.INVALID_NUMBER_SKELETON,t)}return{val:{type:Q.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?_e(r):{}},err:null}},
|
|
431
431
|
/**
|
|
432
432
|
* @param nesting_level The current nesting level of messages.
|
|
433
433
|
* This can be positive when parsing message fragment in select or plural argument options.
|
|
@@ -503,11 +503,11 @@ function We(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||
|
|
|
503
503
|
/**
|
|
504
504
|
* Code point equivalent of regex `\p{Pattern_Syntax}`.
|
|
505
505
|
* See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
|
|
506
|
-
*/function
|
|
506
|
+
*/function Je(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Qe(e){e.forEach((function(e){if(delete e.location,se(e)||ae(e))for(var t in e.options)delete e.options[t].location,Qe(e.options[t].value);else ne(e)&&ce(e.style)||(ie(e)||oe(e))&&ue(e.style)?delete e.style.location:le(e)&&Qe(e.children)}))}function qe(e,t){void 0===t&&(t={}),t=q({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ze(e,t).parse();if(r.err){var n=SyntaxError(W[r.err.kind]);
|
|
507
507
|
// @ts-expect-error Assign to error object
|
|
508
508
|
throw n.location=r.err.location,
|
|
509
509
|
// @ts-expect-error Assign to error object
|
|
510
|
-
n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||
|
|
510
|
+
n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||Qe(r.val),r.val}
|
|
511
511
|
|
|
512
512
|
// Main
|
|
513
513
|
|
|
@@ -566,12 +566,12 @@ this.formats=dt(e.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.
|
|
|
566
566
|
// Default format options used as the prototype of the `formats` provided to the
|
|
567
567
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
|
568
568
|
// and Intl.DateTimeFormat instances.
|
|
569
|
-
e.formats={number:{integer:{maximumFractionDigits:0},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"}}},e}();const vt={},Tt=(e,t,r)=>r?(t in vt||(vt[t]={}),e in vt[t]||(vt[t][e]=r),r):r,Ht=(e,t)=>{if(null==t)return;if(t in vt&&e in vt[t])return vt[t][e];const r=
|
|
569
|
+
e.formats={number:{integer:{maximumFractionDigits:0},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"}}},e}();const vt={},Tt=(e,t,r)=>r?(t in vt||(vt[t]={}),e in vt[t]||(vt[t][e]=r),r):r,Ht=(e,t)=>{if(null==t)return;if(t in vt&&e in vt[t])return vt[t][e];const r=Jt(t);for(let n=0;n<r.length;n++){const i=Pt(r[n],e);if(i)return Tt(e,t,i)}};let Bt;const _t=G({});function At(e){return e in Bt}function Pt(e,t){if(!At(e))return null;const r=function(e){return Bt[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(e>0){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(r,t)}function Lt(e,...t){delete vt[e],_t.update((r=>(r[e]=Y.all([r[e]||{},...t]),r)))}D([_t],(([e])=>Object.keys(e))),_t.subscribe((e=>Bt=e));const St={};function wt(e){return St[e]}function Ot(e){return null!=e&&Jt(e).some((e=>{var t;return null==(t=wt(e))?void 0:t.size}))}function Ct(e,t){const r=Promise.all(t.map((t=>(function(e,t){St[e].delete(t),0===St[e].size&&delete St[e]}(e,t),t().then((e=>e.default||e))))));return r.then((t=>Lt(e,...t)))}const Nt={};function It(e){if(!Ot(e))return e in Nt?Nt[e]:Promise.resolve();const t=function(e){return Jt(e).map((e=>{const t=wt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Nt[e]=Promise.all(t.map((([e,t])=>Ct(e,t)))).then((()=>{if(Ot(e))return It(e);delete Nt[e]})),Nt[e]}var Mt=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable;function Gt({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${Jt(e).join('", "')}".${Ot(Qt())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`)}const Dt={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function $t(){return Dt}const kt=G(!1);var Ft=Object.defineProperty,xt=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,Yt=(e,t,r)=>t in e?Ft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let zt;const Zt=G(null);function Wt(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function Jt(e,t=$t().fallbackLocale){const r=Wt(e);return t?[...new Set([...r,...Wt(t)])]:r}function Qt(){return null!=zt?zt:void 0}Zt.subscribe((e=>{zt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const qt=(er=((e,t)=>{for(var r in t||(t={}))Xt.call(t,r)&&Yt(e,r,t[r]);if(Vt)for(var r of Vt(t))Kt.call(t,r)&&Yt(e,r,t[r]);return e})({},Zt),xt(er,jt({set:e=>{if(e&&function(e){if(null==e)return;const t=Jt(e);for(let e=0;e<t.length;e++){const r=t[e];if(At(r))return r}}(e)&&Ot(e)){const{loadingDelay:t}=$t();let r;return"undefined"!=typeof window&&null!=Qt()&&t?r=window.setTimeout((()=>kt.set(!0)),t):kt.set(!0),It(e).then((()=>{Zt.set(e)})).finally((()=>{clearTimeout(r),kt.set(!1)}))}return Zt.set(e)}})));var er;const tr=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var rr=Object.defineProperty,nr=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,sr=(e,t,r)=>t in e?rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ar=(e,t)=>{for(var r in t||(t={}))ir.call(t,r)&&sr(e,r,t[r]);if(nr)for(var r of nr(t))or.call(t,r)&&sr(e,r,t[r]);return e},hr=(e,t)=>{var r={};for(var n in e)ir.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&nr)for(var n of nr(e))t.indexOf(n)<0&&or.call(e,n)&&(r[n]=e[n]);return r};const lr=(e,t)=>{const{formats:r}=$t();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},cr=tr((e=>{var t=e,{locale:r,format:n}=t,i=hr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=lr("number",n)),new Intl.NumberFormat(r,i)})),ur=tr((e=>{var t=e,{locale:r,format:n}=t,i=hr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=lr("date",n):0===Object.keys(i).length&&(i=lr("date","short")),new Intl.DateTimeFormat(r,i)})),fr=tr((e=>{var t=e,{locale:r,format:n}=t,i=hr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=lr("time",n):0===Object.keys(i).length&&(i=lr("time","short")),new Intl.DateTimeFormat(r,i)})),pr=tr((
|
|
570
570
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
571
|
-
(e,t=
|
|
571
|
+
(e,t=Qt())=>new yt(e,t,$t().formats,{ignoreTag:$t().ignoreTag}))),mr=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:h=Qt(),default:l}=s;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ht(e,h);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(i=null==(n=(r=$t()).handleMissingMessage)?void 0:n.call(r,{locale:h,id:e,defaultValue:l}))?i:l)?o:e;if(!a)return c;let u=c;try{u=pr(c,h).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},gr=(e,t)=>((e={})=>{var t=e,{locale:r=Qt()}=t,n=hr(t,["locale"]);return fr(ar({locale:r},n))})(t).format(e),br=(e,t)=>((e={})=>{var t=e,{locale:r=Qt()}=t,n=hr(t,["locale"]);return ur(ar({locale:r},n))})(t).format(e),dr=(e,t)=>((e={})=>{var t=e,{locale:r=Qt()}=t,n=hr(t,["locale"]);return cr(ar({locale:r},n))})(t).format(e),Er=(e,t=Qt())=>Ht(e,t),yr=D([qt,_t],(()=>mr));function vr(e,t){Lt(e,t)}D([qt],(()=>gr)),D([qt],(()=>br)),D([qt],(()=>dr)),D([qt,_t],(()=>Er)),function(e){const t=e,{formats:r}=t,n=((e,t)=>{var r={};for(var n in e)Rt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Mt)for(var n of Mt(e))t.indexOf(n)<0&&Ut.call(e,n)&&(r[n]=e[n]);return r})(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{yt.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(t){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,null==n.handleMissingMessage?n.handleMissingMessage=Gt:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Dt,n,{initialLocale:i}),r&&("number"in r&&Object.assign(Dt.formats.number,r.number),"date"in r&&Object.assign(Dt.formats.date,r.date),"time"in r&&Object.assign(Dt.formats.time,r.time)),qt.set(i)}({fallbackLocale:"en"});const Tr={en:{errorGeneralTitle:"Error Occurred",errorGeneralText:"Something went wrong",errorGeneralButton:"CLOSE",PlayerSessionIsNotValid:"Player session is not valid",VendorCommunicationError:"We apologise, but your payment provider has declined to process due to technical error. Please try later or contact your payment solution provider for further assistance. Error Code 21297",PaymentMethodNotAllowed:"We apologise, but this payment method is unavailable at this time, please contact Customer Support for further assistance. Error Code 11402",InvalidPaymentDetails:"We apologise, but you payment details are not valid. Please make sure you entered all payment details correctly and try again or contact Customer Support for further assistance. Error Code 13555",MerchantUserHasWithdrawBlockRole:"Dear Player! Please be informed that currently you are not allowed to initiate withdrawal transactions from your player account. Error Code: 21122",MerchantUserHasDepositBlockRole:"Dear Player! Please be informed that currently you are not allowed to initiate deposit transactions from your player account. Error Code: 21123",JwtTokenError:"IDX12741: JWT must have three segments (JWS) or five segments (JWE)."}};
|
|
572
572
|
/* src/CashierError.svelte generated by Svelte v3.59.2 */function Hr(e){let t,r;return{c(){t=p("img"),h(t.src,r=`${/*assetsurl*/e[0]}/error-general-icon.png`)||b(t,"src",r),b(t,"width","300px"),b(t,"alt","error")},m(e,r){u(e,t,r)},p(e,n){/*assetsurl*/1&n&&!h(t.src,r=`${/*assetsurl*/e[0]}/error-general-icon.png`)&&b(t,"src",r)},d(e){e&&f(t)}}}
|
|
573
573
|
// (65:2) {#if !hidebuttons || hidebuttons === 'false'}
|
|
574
|
-
function Br(e){let t,r,n,i,o,s,a=/*$_*/e[4]("errorGeneralButton")+"";return{c(){t=p("div"),r=p("slot"),n=p("span"),i=m(a),b(r,"name","button"),b(t,"class","CashierErrorButton")},m(a,h){u(a,t,h),c(t,r),c(r,n),c(n,i),o||(s=function(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}(t,"click",/*close*/e[5]),o=!0)},p(e,t){/*$_*/16&t&&a!==(a=/*$_*/e[4]("errorGeneralButton")+"")&&d(i,a)},d(e){e&&f(t),o=!1,s()}}}function _r(t){let r,n,i,o,s,a,h,l,E,y,v,T=/*$_*/t[4]("errorGeneralTitle")+"",H=/*$_*/t[4](`${/*errorcode*/t[2]}`)+"",B=/*assetsurl*/t[0]&&Hr(t),_=(!/*hidebuttons*/t[1]||/*hidebuttons*/"false"===t[1])&&Br(t);return{c(){r=p("div"),n=p("slot"),B&&B.c(),i=g(),o=p("slot"),s=p("span"),a=m(T),h=g(),l=p("slot"),E=p("span"),y=m(H),v=g(),_&&_.c(),this.c=e,b(n,"name","icon"),b(n,"class","CashierErrorIcon"),b(o,"name","title"),b(o,"class","CashierErrorTitle"),b(l,"name","text"),b(l,"class","CashierErrorText"),b(r,"class","CashierError")},m(e,f){u(e,r,f),c(r,n),B&&B.m(n,null),c(r,i),c(r,o),c(o,s),c(s,a),c(r,h),c(r,l),c(l,E),c(E,y),c(r,v),_&&_.m(r,null)
|
|
575
|
-
/*div_binding*/,t[10](r)},p(e,[t]){/*assetsurl*/e[0]?B?B.p(e,t):(B=Hr(e),B.c(),B.m(n,null)):B&&(B.d(1),B=null),/*$_*/16&t&&T!==(T=/*$_*/e[4]("errorGeneralTitle")+"")&&d(a,T),/*$_, errorcode*/20&t&&H!==(H=/*$_*/e[4](`${/*errorcode*/e[2]}`)+"")&&d(y,H),/*hidebuttons*/e[1]&&/*hidebuttons*/"false"!==e[1]?_&&(_.d(1),_=null):_?_.p(e,t):(_=Br(e),_.c(),_.m(r,null))},i:e,o:e,d(e){e&&f(r),B&&B.d(),_&&_.d()
|
|
574
|
+
function Br(e){let t,r,n,i,o,s,a=/*$_*/e[4]("errorGeneralButton")+"";return{c(){t=p("div"),r=p("slot"),n=p("span"),i=m(a),b(r,"name","button"),b(t,"class","CashierErrorButton")},m(a,h){u(a,t,h),c(t,r),c(r,n),c(n,i),o||(s=function(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}(t,"click",/*close*/e[5]),o=!0)},p(e,t){/*$_*/16&t&&a!==(a=/*$_*/e[4]("errorGeneralButton")+"")&&d(i,a)},d(e){e&&f(t),o=!1,s()}}}function _r(t){let r,n,i,o,s,a,h,l,E,y,v,T=/*$_*/t[4]("errorGeneralTitle")+"",H=/*$_*/t[4](`${/*errorcode*/t[2]||"errorGeneralText"}`)+"",B=/*assetsurl*/t[0]&&Hr(t),_=(!/*hidebuttons*/t[1]||/*hidebuttons*/"false"===t[1])&&Br(t);return{c(){r=p("div"),n=p("slot"),B&&B.c(),i=g(),o=p("slot"),s=p("span"),a=m(T),h=g(),l=p("slot"),E=p("span"),y=m(H),v=g(),_&&_.c(),this.c=e,b(n,"name","icon"),b(n,"class","CashierErrorIcon"),b(o,"name","title"),b(o,"class","CashierErrorTitle"),b(l,"name","text"),b(l,"class","CashierErrorText"),b(r,"class","CashierError")},m(e,f){u(e,r,f),c(r,n),B&&B.m(n,null),c(r,i),c(r,o),c(o,s),c(s,a),c(r,h),c(r,l),c(l,E),c(E,y),c(r,v),_&&_.m(r,null)
|
|
575
|
+
/*div_binding*/,t[10](r)},p(e,[t]){/*assetsurl*/e[0]?B?B.p(e,t):(B=Hr(e),B.c(),B.m(n,null)):B&&(B.d(1),B=null),/*$_*/16&t&&T!==(T=/*$_*/e[4]("errorGeneralTitle")+"")&&d(a,T),/*$_, errorcode*/20&t&&H!==(H=/*$_*/e[4](`${/*errorcode*/e[2]||"errorGeneralText"}`)+"")&&d(y,H),/*hidebuttons*/e[1]&&/*hidebuttons*/"false"!==e[1]?_&&(_.d(1),_=null):_?_.p(e,t):(_=Br(e),_.c(),_.m(r,null))},i:e,o:e,d(e){e&&f(r),B&&B.d(),_&&_.d()
|
|
576
576
|
/*div_binding*/,t[10](null)}}}function Ar(e,t,r){let n;var i,o;i=yr,o=e=>r(4,n=e),e.$$.on_destroy.push(l(i,o));let s,{assetsurl:a=""}=t,{lang:h="en"}=t,{hidebuttons:c=""}=t,{errorcode:u=""}=t,{clientstyling:f=""}=t,{clientstylingurl:p=""}=t,{translationurl:m=""}=t;Object.keys(Tr).forEach((e=>{vr(e,Tr[e])}));const g=()=>{var e;e=h,qt.set(e)};return e.$$set=e=>{"assetsurl"in e&&r(0,a=e.assetsurl),"lang"in e&&r(6,h=e.lang),"hidebuttons"in e&&r(1,c=e.hidebuttons),"errorcode"in e&&r(2,u=e.errorcode),"clientstyling"in e&&r(7,f=e.clientstyling),"clientstylingurl"in e&&r(8,p=e.clientstylingurl),"translationurl"in e&&r(9,m=e.translationurl)},e.$$.update=()=>{/*lang*/64&e.$$.dirty&&h&&g(),/*clientstyling, customStylingContainer*/136&e.$$.dirty&&f&&s&&(()=>{let e=document.createElement("style");e.innerHTML=f,s.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/264&e.$$.dirty&&p&&s&&(()=>{let e=new URL(p),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{s.appendChild(t)}),1)}))})(),/*translationurl*/512&e.$$.dirty&&m&&fetch(m).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{vr(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,c,u,s,n,()=>{window.postMessage({type:"ErrorClose"},window.location.href)},h,f,p,m,function(e){T[e?"unshift":"push"]((()=>{s=e,r(3,s)}))}]}class Pr extends R{constructor(e){super();const t=document.createElement("style");t.textContent=".CashierError{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-x-small, 12px);line-height:120%;text-align:center}.CashierErrorText{color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px);line-height:120%;text-align:center}.CashierErrorButton{display:flex;width:100%;height:36px;flex-direction:column;justify-content:center;flex-shrink:0;color:var(--emw--color-white, #FFF);cursor:pointer;text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--mmw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--mmw--color-main-button-active, #5C950F)}",this.shadowRoot.appendChild(t),M(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ar,_r,o,{assetsurl:0,lang:6,hidebuttons:1,errorcode:2,clientstyling:7,clientstylingurl:8,translationurl:9},null),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),w()))}static get observedAttributes(){return["assetsurl","lang","hidebuttons","errorcode","clientstyling","clientstylingurl","translationurl"]}get assetsurl(){return this.$$.ctx[0]}set assetsurl(e){this.$$set({assetsurl:e}),w()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),w()}get hidebuttons(){return this.$$.ctx[1]}set hidebuttons(e){this.$$set({hidebuttons:e}),w()}get errorcode(){return this.$$.ctx[2]}set errorcode(e){this.$$set({errorcode:e}),w()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),w()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),w()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),w()}}return!customElements.get("cashier-error")&&customElements.define("cashier-error",Pr),Pr}));
|
|
577
577
|
//# sourceMappingURL=cashier-error.js.map
|