@everymatrix/cashier-receipt-page 1.34.2 → 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.
@@ -84,13 +84,13 @@ const e=!G.length;for(const e of i)e[1](),G.push(e,t);if(e){for(let e=0;e<G.leng
84
84
  // invoke this derived store.
85
85
  o=!1}},{subscribe:k(o,u).subscribe};var u}var j=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===V}(e)}
86
86
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
87
- (e)};var V="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function X(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Z((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function z(e,t,r){return e.concat(t).map((function(e){return X(e,r)}))}function K(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function Y(e,t){try{return t in e}catch(e){return!1}}
87
+ (e)};var V="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function X(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Z((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function z(e,t,r){return e.concat(t).map((function(e){return X(e,r)}))}function K(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function W(e,t){try{return t in e}catch(e){return!1}}
88
88
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
89
- function W(e,t,r){var n={};return r.isMergeableObject(e)&&K(e).forEach((function(t){n[t]=X(e[t],r)})),K(t).forEach((function(i){(function(e,t){return Y(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
90
- })(e,i)||(Y(e,i)&&r.isMergeableObject(t[i])?n[i]=function(e,t){if(!t.customMerge)return Z;var r=t.customMerge(e);return"function"==typeof r?r:Z}(i,r)(e[i],t[i],r):n[i]=X(t[i],r))})),n}function Z(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||z,r.isMergeableObject=r.isMergeableObject||j,
89
+ function Y(e,t,r){var n={};return r.isMergeableObject(e)&&K(e).forEach((function(t){n[t]=X(e[t],r)})),K(t).forEach((function(i){(function(e,t){return W(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
90
+ })(e,i)||(W(e,i)&&r.isMergeableObject(t[i])?n[i]=function(e,t){if(!t.customMerge)return Z;var r=t.customMerge(e);return"function"==typeof r?r:Z}(i,r)(e[i],t[i],r):n[i]=X(t[i],r))})),n}function Z(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||z,r.isMergeableObject=r.isMergeableObject||j,
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=X;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):W(e,t,r):X(t,r)}Z.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return Z(e,r,t)}),{})};var Q=Z,q=function(e,t){return q=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])},q(e,t)};function J(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}q(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var ee,te,re,ne=function(){return ne=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},ne.apply(this,arguments)};function ie(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))}
93
+ r.cloneUnlessOtherwiseSpecified=X;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):Y(e,t,r):X(t,r)}Z.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return Z(e,r,t)}),{})};var Q=Z,J=function(e,t){return J=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])},J(e,t)};function q(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}J(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var ee,te,re,ne=function(){return ne=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},ne.apply(this,arguments)};function ie(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
  */
@@ -304,9 +304,9 @@ function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n
304
304
  $e?Object.fromEntries:// Ponyfill
305
305
  function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],s=i[1];t[o]=s}return t},Ke=Ue?// Native
306
306
  function(e,t){return e.codePointAt(t)}:// IE 11
307
- function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},Ye=De?// Native
307
+ function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},We=De?// Native
308
308
  function(e){return e.trimStart()}:// Ponyfill
309
- function(e){return e.replace(Re,"")},We=Ge?// Native
309
+ function(e){return e.replace(Re,"")},Ye=Ge?// Native
310
310
  function(e){return e.trimEnd()}:// Ponyfill
311
311
  function(e){return e.replace(Ne,"")};
312
312
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
@@ -316,7 +316,7 @@ if(Fe){
316
316
  // Native
317
317
  var Qe=Ze("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");je=function(e,t){var r;return Qe.lastIndex=t,null!==(r=Qe.exec(e)[1])&&void 0!==r?r:""}}else
318
318
  // IE11
319
- je=function(e,t){for(var r=[];;){var n=Ke(e,t);if(void 0===n||et(n)||tt(n))break;r.push(n),t+=n>=65536?2:1}return Xe.apply(void 0,r)};var qe=/** @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(ee.UNMATCHED_CLOSING_TAG,Ie(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&Je(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:te.pound,location:Ie(s,this.clonePosition())})}}}return{val:n,err:null}},
319
+ je=function(e,t){for(var r=[];;){var n=Ke(e,t);if(void 0===n||et(n)||tt(n))break;r.push(n),t+=n>=65536?2:1}return Xe.apply(void 0,r)};var Je=/** @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(ee.UNMATCHED_CLOSING_TAG,Ie(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&qe(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:te.pound,location:Ie(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
@@ -340,12 +340,12 @@ var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
340
340
  // Self closing tag
341
341
  return{val:{type:te.literal,value:"<".concat(n,"/>"),location:Ie(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()||!Je(this.char()))return this.error(ee.INVALID_TAG,Ie(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(ee.UNMATCHED_CLOSING_TAG,Ie(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:te.tag,value:n,children:o,location:Ie(r,this.clonePosition())},err:null}:this.error(ee.INVALID_TAG,Ie(s,this.clonePosition())))}return this.error(ee.UNCLOSED_TAG,Ie(r,this.clonePosition()))}return this.error(ee.INVALID_TAG,Ie(r,this.clonePosition()))},
343
+ if(this.bumpIf("</")){if(this.isEOF()||!qe(this.char()))return this.error(ee.INVALID_TAG,Ie(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(ee.UNMATCHED_CLOSING_TAG,Ie(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:te.tag,value:n,children:o,location:Ie(r,this.clonePosition())},err:null}:this.error(ee.INVALID_TAG,Ie(s,this.clonePosition())))}return this.error(ee.UNCLOSED_TAG,Ie(r,this.clonePosition()))}return this.error(ee.INVALID_TAG,Ie(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=Ie(r,this.clonePosition());return{val:{type:te.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(Je(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
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=Ie(r,this.clonePosition());return{val:{type:te.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(qe(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
@@ -393,11 +393,11 @@ return this.error(ee.EXPECT_ARGUMENT_TYPE,Ie(o,a));case"number":case"date":case"
393
393
  // Parse this range:
394
394
  // {name, number, style}
395
395
  // ^-------^
396
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((b=this.parseSimpleArgStyleIfPossible()).err)return b;if(0===(f=We(b.val)).length)return this.error(ee.EXPECT_ARGUMENT_STYLE,Ie(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Ie(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(n)).err)return y;var u=Ie(n,this.clonePosition());
396
+ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((b=this.parseSimpleArgStyleIfPossible()).err)return b;if(0===(f=Ye(b.val)).length)return this.error(ee.EXPECT_ARGUMENT_STYLE,Ie(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Ie(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(n)).err)return y;var u=Ie(n,this.clonePosition());
397
397
  // Extract style or skeleton
398
398
  if(l&&Ve(null==l?void 0:l.style,"::",0)){
399
399
  // Skeleton starts with `::`.
400
- var h=Ye(l.style.slice(2));if("number"===s)return(b=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?b:{val:{type:te.number,value:r,location:u,style:b.val},err:null};if(0===h.length)return this.error(ee.EXPECT_DATE_TIME_SKELETON,u);var p=h;
400
+ var h=We(l.style.slice(2));if("number"===s)return(b=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?b:{val:{type:te.number,value:r,location:u,style:b.val},err:null};if(0===h.length)return this.error(ee.EXPECT_DATE_TIME_SKELETON,u);var p=h;
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.
@@ -494,7 +494,7 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
494
494
  * This check if codepoint is alphabet (lower & uppercase)
495
495
  * @param codepoint
496
496
  * @returns
497
- */function Je(e){return e>=97&&e<=122||e>=65&&e<=90}
497
+ */function qe(e){return e>=97&&e<=122||e>=65&&e<=90}
498
498
  /**
499
499
  * Code point equivalent of regex `\p{White_Space}`.
500
500
  * From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
@@ -503,7 +503,7 @@ function et(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 tt(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 rt(e){e.forEach((function(e){if(delete e.location,ue(e)||he(e))for(var t in e.options)delete e.options[t].location,rt(e.options[t].value);else ae(e)&&me(e.style)||(le(e)||ce(e))&&de(e.style)?delete e.style.location:fe(e)&&rt(e.children)}))}function nt(e,t){void 0===t&&(t={}),t=ne({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new qe(e,t).parse();if(r.err){var n=SyntaxError(ee[r.err.kind]);
506
+ */function tt(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 rt(e){e.forEach((function(e){if(delete e.location,ue(e)||he(e))for(var t in e.options)delete e.options[t].location,rt(e.options[t].value);else ae(e)&&me(e.style)||(le(e)||ce(e))&&de(e.style)?delete e.style.location:fe(e)&&rt(e.children)}))}function nt(e,t){void 0===t&&(t={}),t=ne({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Je(e,t).parse();if(r.err){var n=SyntaxError(ee[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
@@ -529,7 +529,7 @@ e.MISSING_VALUE="MISSING_VALUE",
529
529
  // When value supplied is invalid
530
530
  e.INVALID_VALUE="INVALID_VALUE",
531
531
  // When we need specific Intl API but it's not available
532
- e.MISSING_INTL_API="MISSING_INTL_API"}(ht||(ht={}));var mt,dt=/** @class */function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return J(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),gt=/** @class */function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ht.INVALID_VALUE,i)||this}return J(t,e),t}(dt),bt=/** @class */function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),ht.INVALID_VALUE,n)||this}return J(t,e),t}(dt),yt=/** @class */function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),ht.MISSING_VALUE,r)||this}return J(t,e),t}(dt);function Et(e){return"function"==typeof e}
532
+ e.MISSING_INTL_API="MISSING_INTL_API"}(ht||(ht={}));var mt,dt=/** @class */function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return q(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),gt=/** @class */function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ht.INVALID_VALUE,i)||this}return q(t,e),t}(dt),bt=/** @class */function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),ht.INVALID_VALUE,n)||this}return q(t,e),t}(dt),yt=/** @class */function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),ht.MISSING_VALUE,r)||this}return q(t,e),t}(dt);function Et(e){return"function"==typeof e}
533
533
  // TODO(skeleton): add skeleton support
534
534
  function vt(e,t,r,n,i,o,
535
535
  // For debugging
@@ -566,13 +566,13 @@ this.formats=Tt(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 Ht={},Bt=(e,t,r)=>r?(t in Ht||(Ht[t]={}),e in Ht[t]||(Ht[t][e]=r),r):r,At=(e,t)=>{if(null==t)return;if(t in Ht&&e in Ht[t])return Ht[t][e];const r=rr(t);for(let n=0;n<r.length;n++){const i=St(r[n],e);if(i)return Bt(e,t,i)}};let _t;const Lt=k({});function Pt(e){return e in _t}function St(e,t){if(!Pt(e))return null;const r=function(e){return _t[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 Ot(e,...t){delete Ht[e],Lt.update((r=>(r[e]=Q.all([r[e]||{},...t]),r)))}F([Lt],(([e])=>Object.keys(e))),Lt.subscribe((e=>_t=e));const Rt={};function Nt(e){return Rt[e]}function It(e){return null!=e&&rr(e).some((e=>{var t;return null==(t=Nt(e))?void 0:t.size}))}function Mt(e,t){const r=Promise.all(t.map((t=>(function(e,t){Rt[e].delete(t),0===Rt[e].size&&delete Rt[e]}(e,t),t().then((e=>e.default||e))))));return r.then((t=>Ot(e,...t)))}const xt={};function $t(e){if(!It(e))return e in xt?xt[e]:Promise.resolve();const t=function(e){return rr(e).map((e=>{const t=Nt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return xt[e]=Promise.all(t.map((([e,t])=>Mt(e,t)))).then((()=>{if(It(e))return $t(e);delete xt[e]})),xt[e]}var Ut=Object.getOwnPropertySymbols,Dt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable;function kt({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${rr(e).join('", "')}".${It(nr())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`)}const Ft={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 jt(){return Ft}function Vt(e){const t=e,{formats:r}=t,n=((e,t)=>{var r={};for(var n in e)Dt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ut)for(var n of Ut(e))t.indexOf(n)<0&&Gt.call(e,n)&&(r[n]=e[n]);return r})(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{Ct.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(t){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,null==n.handleMissingMessage?n.handleMissingMessage=kt:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Ft,n,{initialLocale:i}),r&&("number"in r&&Object.assign(Ft.formats.number,r.number),"date"in r&&Object.assign(Ft.formats.date,r.date),"time"in r&&Object.assign(Ft.formats.time,r.time)),ir.set(i)}const Xt=k(!1);var zt=Object.defineProperty,Kt=Object.defineProperties,Yt=Object.getOwnPropertyDescriptors,Wt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,qt=(e,t,r)=>t in e?zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let Jt;const er=k(null);function tr(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function rr(e,t=jt().fallbackLocale){const r=tr(e);return t?[...new Set([...r,...tr(t)])]:r}function nr(){return null!=Jt?Jt:void 0}er.subscribe((e=>{Jt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const ir=(or=((e,t)=>{for(var r in t||(t={}))Zt.call(t,r)&&qt(e,r,t[r]);if(Wt)for(var r of Wt(t))Qt.call(t,r)&&qt(e,r,t[r]);return e})({},er),Kt(or,Yt({set:e=>{if(e&&function(e){if(null==e)return;const t=rr(e);for(let e=0;e<t.length;e++){const r=t[e];if(Pt(r))return r}}(e)&&It(e)){const{loadingDelay:t}=jt();let r;return"undefined"!=typeof window&&null!=nr()&&t?r=window.setTimeout((()=>Xt.set(!0)),t):Xt.set(!0),$t(e).then((()=>{er.set(e)})).finally((()=>{clearTimeout(r),Xt.set(!1)}))}return er.set(e)}})));var or;const sr=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var ar=Object.defineProperty,lr=Object.getOwnPropertySymbols,cr=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,hr=(e,t,r)=>t in e?ar(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pr=(e,t)=>{for(var r in t||(t={}))cr.call(t,r)&&hr(e,r,t[r]);if(lr)for(var r of lr(t))ur.call(t,r)&&hr(e,r,t[r]);return e},fr=(e,t)=>{var r={};for(var n in e)cr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&lr)for(var n of lr(e))t.indexOf(n)<0&&ur.call(e,n)&&(r[n]=e[n]);return r};const mr=(e,t)=>{const{formats:r}=jt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},dr=sr((e=>{var t=e,{locale:r,format:n}=t,i=fr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=mr("number",n)),new Intl.NumberFormat(r,i)})),gr=sr((e=>{var t=e,{locale:r,format:n}=t,i=fr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=mr("date",n):0===Object.keys(i).length&&(i=mr("date","short")),new Intl.DateTimeFormat(r,i)})),br=sr((e=>{var t=e,{locale:r,format:n}=t,i=fr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=mr("time",n):0===Object.keys(i).length&&(i=mr("time","short")),new Intl.DateTimeFormat(r,i)})),yr=sr((
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 Ht={},Bt=(e,t,r)=>r?(t in Ht||(Ht[t]={}),e in Ht[t]||(Ht[t][e]=r),r):r,At=(e,t)=>{if(null==t)return;if(t in Ht&&e in Ht[t])return Ht[t][e];const r=rr(t);for(let n=0;n<r.length;n++){const i=St(r[n],e);if(i)return Bt(e,t,i)}};let _t;const Lt=k({});function Pt(e){return e in _t}function St(e,t){if(!Pt(e))return null;const r=function(e){return _t[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 Ot(e,...t){delete Ht[e],Lt.update((r=>(r[e]=Q.all([r[e]||{},...t]),r)))}F([Lt],(([e])=>Object.keys(e))),Lt.subscribe((e=>_t=e));const Rt={};function Nt(e){return Rt[e]}function It(e){return null!=e&&rr(e).some((e=>{var t;return null==(t=Nt(e))?void 0:t.size}))}function Mt(e,t){const r=Promise.all(t.map((t=>(function(e,t){Rt[e].delete(t),0===Rt[e].size&&delete Rt[e]}(e,t),t().then((e=>e.default||e))))));return r.then((t=>Ot(e,...t)))}const xt={};function $t(e){if(!It(e))return e in xt?xt[e]:Promise.resolve();const t=function(e){return rr(e).map((e=>{const t=Nt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return xt[e]=Promise.all(t.map((([e,t])=>Mt(e,t)))).then((()=>{if(It(e))return $t(e);delete xt[e]})),xt[e]}var Ut=Object.getOwnPropertySymbols,Dt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable;function kt({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${rr(e).join('", "')}".${It(nr())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`)}const Ft={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 jt(){return Ft}function Vt(e){const t=e,{formats:r}=t,n=((e,t)=>{var r={};for(var n in e)Dt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ut)for(var n of Ut(e))t.indexOf(n)<0&&Gt.call(e,n)&&(r[n]=e[n]);return r})(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{Ct.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(t){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,null==n.handleMissingMessage?n.handleMissingMessage=kt:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Ft,n,{initialLocale:i}),r&&("number"in r&&Object.assign(Ft.formats.number,r.number),"date"in r&&Object.assign(Ft.formats.date,r.date),"time"in r&&Object.assign(Ft.formats.time,r.time)),ir.set(i)}const Xt=k(!1);var zt=Object.defineProperty,Kt=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,Yt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,Jt=(e,t,r)=>t in e?zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let qt;const er=k(null);function tr(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function rr(e,t=jt().fallbackLocale){const r=tr(e);return t?[...new Set([...r,...tr(t)])]:r}function nr(){return null!=qt?qt:void 0}er.subscribe((e=>{qt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const ir=(or=((e,t)=>{for(var r in t||(t={}))Zt.call(t,r)&&Jt(e,r,t[r]);if(Yt)for(var r of Yt(t))Qt.call(t,r)&&Jt(e,r,t[r]);return e})({},er),Kt(or,Wt({set:e=>{if(e&&function(e){if(null==e)return;const t=rr(e);for(let e=0;e<t.length;e++){const r=t[e];if(Pt(r))return r}}(e)&&It(e)){const{loadingDelay:t}=jt();let r;return"undefined"!=typeof window&&null!=nr()&&t?r=window.setTimeout((()=>Xt.set(!0)),t):Xt.set(!0),$t(e).then((()=>{er.set(e)})).finally((()=>{clearTimeout(r),Xt.set(!1)}))}return er.set(e)}})));var or;const sr=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var ar=Object.defineProperty,lr=Object.getOwnPropertySymbols,cr=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,hr=(e,t,r)=>t in e?ar(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pr=(e,t)=>{for(var r in t||(t={}))cr.call(t,r)&&hr(e,r,t[r]);if(lr)for(var r of lr(t))ur.call(t,r)&&hr(e,r,t[r]);return e},fr=(e,t)=>{var r={};for(var n in e)cr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&lr)for(var n of lr(e))t.indexOf(n)<0&&ur.call(e,n)&&(r[n]=e[n]);return r};const mr=(e,t)=>{const{formats:r}=jt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},dr=sr((e=>{var t=e,{locale:r,format:n}=t,i=fr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=mr("number",n)),new Intl.NumberFormat(r,i)})),gr=sr((e=>{var t=e,{locale:r,format:n}=t,i=fr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=mr("date",n):0===Object.keys(i).length&&(i=mr("date","short")),new Intl.DateTimeFormat(r,i)})),br=sr((e=>{var t=e,{locale:r,format:n}=t,i=fr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=mr("time",n):0===Object.keys(i).length&&(i=mr("time","short")),new Intl.DateTimeFormat(r,i)})),yr=sr((
570
570
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
571
- (e,t=nr())=>new Ct(e,t,jt().formats,{ignoreTag:jt().ignoreTag}))),Er=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=nr(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=At(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(o=null!=(i=null==(n=(r=jt()).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:c}))?i:c)?o:e;if(!a)return u;let h=u;try{h=yr(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},vr=(e,t)=>((e={})=>{var t=e,{locale:r=nr()}=t,n=fr(t,["locale"]);return br(pr({locale:r},n))})(t).format(e),Tr=(e,t)=>((e={})=>{var t=e,{locale:r=nr()}=t,n=fr(t,["locale"]);return gr(pr({locale:r},n))})(t).format(e),wr=(e,t)=>((e={})=>{var t=e,{locale:r=nr()}=t,n=fr(t,["locale"]);return dr(pr({locale:r},n))})(t).format(e),Cr=(e,t=nr())=>At(e,t),Hr=F([ir,Lt],(()=>Er));function Br(e,t){Ot(e,t)}F([ir],(()=>vr)),F([ir],(()=>Tr)),F([ir],(()=>wr)),F([ir,Lt],(()=>Cr)),Vt({fallbackLocale:"en"});const Ar={en:{errorGeneralTitle:"Error Occurred",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"}};
571
+ (e,t=nr())=>new Ct(e,t,jt().formats,{ignoreTag:jt().ignoreTag}))),Er=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=nr(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=At(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(o=null!=(i=null==(n=(r=jt()).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:c}))?i:c)?o:e;if(!a)return u;let h=u;try{h=yr(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},vr=(e,t)=>((e={})=>{var t=e,{locale:r=nr()}=t,n=fr(t,["locale"]);return br(pr({locale:r},n))})(t).format(e),Tr=(e,t)=>((e={})=>{var t=e,{locale:r=nr()}=t,n=fr(t,["locale"]);return gr(pr({locale:r},n))})(t).format(e),wr=(e,t)=>((e={})=>{var t=e,{locale:r=nr()}=t,n=fr(t,["locale"]);return dr(pr({locale:r},n))})(t).format(e),Cr=(e,t=nr())=>At(e,t),Hr=F([ir,Lt],(()=>Er));function Br(e,t){Ot(e,t)}F([ir],(()=>vr)),F([ir],(()=>Tr)),F([ir],(()=>wr)),F([ir,Lt],(()=>Cr)),Vt({fallbackLocale:"en"});const Ar={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
  /* ../cashier-error/src/CashierError.svelte generated by Svelte v3.59.2 */function _r(e){let t,r;return{c(){t=m("img"),a(t.src,r=`${/*assetsurl*/e[0]}/error-general-icon.png`)||y(t,"src",r),y(t,"width","300px"),y(t,"alt","error")},m(e,r){p(e,t,r)},p(e,n){/*assetsurl*/1&n&&!a(t.src,r=`${/*assetsurl*/e[0]}/error-general-icon.png`)&&y(t,"src",r)},d(e){e&&f(t)}}}
573
573
  // (65:2) {#if !hidebuttons || hidebuttons === 'false'}
574
- function Lr(e){let t,r,n,i,o,s,a=/*$_*/e[4]("errorGeneralButton")+"";return{c(){t=m("div"),r=m("slot"),n=m("span"),i=d(a),y(r,"name","button"),y(t,"class","CashierErrorButton")},m(a,l){p(a,t,l),h(t,r),h(r,n),h(n,i),o||(s=b(t,"click",/*close*/e[5]),o=!0)},p(e,t){/*$_*/16&t&&a!==(a=/*$_*/e[4]("errorGeneralButton")+"")&&v(i,a)},d(e){e&&f(t),o=!1,s()}}}function Pr(t){let r,n,i,o,s,a,l,c,u,b,E,T=/*$_*/t[4]("errorGeneralTitle")+"",w=/*$_*/t[4](`${/*errorcode*/t[2]}`)+"",C=/*assetsurl*/t[0]&&_r(t),H=(!/*hidebuttons*/t[1]||/*hidebuttons*/"false"===t[1])&&Lr(t);return{c(){r=m("div"),n=m("slot"),C&&C.c(),i=g(),o=m("slot"),s=m("span"),a=d(T),l=g(),c=m("slot"),u=m("span"),b=d(w),E=g(),H&&H.c(),this.c=e,y(n,"name","icon"),y(n,"class","CashierErrorIcon"),y(o,"name","title"),y(o,"class","CashierErrorTitle"),y(c,"name","text"),y(c,"class","CashierErrorText"),y(r,"class","CashierError")},m(e,f){p(e,r,f),h(r,n),C&&C.m(n,null),h(r,i),h(r,o),h(o,s),h(s,a),h(r,l),h(r,c),h(c,u),h(u,b),h(r,E),H&&H.m(r,null)
575
- /*div_binding*/,t[10](r)},p(e,[t]){/*assetsurl*/e[0]?C?C.p(e,t):(C=_r(e),C.c(),C.m(n,null)):C&&(C.d(1),C=null),/*$_*/16&t&&T!==(T=/*$_*/e[4]("errorGeneralTitle")+"")&&v(a,T),/*$_, errorcode*/20&t&&w!==(w=/*$_*/e[4](`${/*errorcode*/e[2]}`)+"")&&v(b,w),/*hidebuttons*/e[1]&&/*hidebuttons*/"false"!==e[1]?H&&(H.d(1),H=null):H?H.p(e,t):(H=Lr(e),H.c(),H.m(r,null))},i:e,o:e,d(e){e&&f(r),C&&C.d(),H&&H.d()
574
+ function Lr(e){let t,r,n,i,o,s,a=/*$_*/e[4]("errorGeneralButton")+"";return{c(){t=m("div"),r=m("slot"),n=m("span"),i=d(a),y(r,"name","button"),y(t,"class","CashierErrorButton")},m(a,l){p(a,t,l),h(t,r),h(r,n),h(n,i),o||(s=b(t,"click",/*close*/e[5]),o=!0)},p(e,t){/*$_*/16&t&&a!==(a=/*$_*/e[4]("errorGeneralButton")+"")&&v(i,a)},d(e){e&&f(t),o=!1,s()}}}function Pr(t){let r,n,i,o,s,a,l,c,u,b,E,T=/*$_*/t[4]("errorGeneralTitle")+"",w=/*$_*/t[4](`${/*errorcode*/t[2]||"errorGeneralText"}`)+"",C=/*assetsurl*/t[0]&&_r(t),H=(!/*hidebuttons*/t[1]||/*hidebuttons*/"false"===t[1])&&Lr(t);return{c(){r=m("div"),n=m("slot"),C&&C.c(),i=g(),o=m("slot"),s=m("span"),a=d(T),l=g(),c=m("slot"),u=m("span"),b=d(w),E=g(),H&&H.c(),this.c=e,y(n,"name","icon"),y(n,"class","CashierErrorIcon"),y(o,"name","title"),y(o,"class","CashierErrorTitle"),y(c,"name","text"),y(c,"class","CashierErrorText"),y(r,"class","CashierError")},m(e,f){p(e,r,f),h(r,n),C&&C.m(n,null),h(r,i),h(r,o),h(o,s),h(s,a),h(r,l),h(r,c),h(c,u),h(u,b),h(r,E),H&&H.m(r,null)
575
+ /*div_binding*/,t[10](r)},p(e,[t]){/*assetsurl*/e[0]?C?C.p(e,t):(C=_r(e),C.c(),C.m(n,null)):C&&(C.d(1),C=null),/*$_*/16&t&&T!==(T=/*$_*/e[4]("errorGeneralTitle")+"")&&v(a,T),/*$_, errorcode*/20&t&&w!==(w=/*$_*/e[4](`${/*errorcode*/e[2]||"errorGeneralText"}`)+"")&&v(b,w),/*hidebuttons*/e[1]&&/*hidebuttons*/"false"!==e[1]?H&&(H.d(1),H=null):H?H.p(e,t):(H=Lr(e),H.c(),H.m(r,null))},i:e,o:e,d(e){e&&f(r),C&&C.d(),H&&H.d()
576
576
  /*div_binding*/,t[10](null)}}}function Sr(e,t,r){let n;c(e,Hr,(e=>r(4,n=e)));let i,{assetsurl:o=""}=t,{lang:s="en"}=t,{hidebuttons:a=""}=t,{errorcode:l=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{translationurl:p=""}=t;Object.keys(Ar).forEach((e=>{Br(e,Ar[e])}));const f=()=>{var e;e=s,ir.set(e)};return e.$$set=e=>{"assetsurl"in e&&r(0,o=e.assetsurl),"lang"in e&&r(6,s=e.lang),"hidebuttons"in e&&r(1,a=e.hidebuttons),"errorcode"in e&&r(2,l=e.errorcode),"clientstyling"in e&&r(7,u=e.clientstyling),"clientstylingurl"in e&&r(8,h=e.clientstylingurl),"translationurl"in e&&r(9,p=e.translationurl)},e.$$.update=()=>{/*lang*/64&e.$$.dirty&&s&&f(),/*clientstyling, customStylingContainer*/136&e.$$.dirty&&u&&i&&(()=>{let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/264&e.$$.dirty&&h&&i&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1)}))})(),/*translationurl*/512&e.$$.dirty&&p&&fetch(p).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Br(t,e[t])}))})).catch((e=>{console.log(e)}))},[o,a,l,i,n,()=>{window.postMessage({type:"ErrorClose"},window.location.href)},s,u,h,p,function(e){B[e?"unshift":"push"]((()=>{i=e,r(3,i)}))}]}function Or(e,t){Ot(e,t)}!customElements.get("cashier-error")&&customElements.define("cashier-error",class extends D{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),U(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Sr,Pr,o,{assetsurl:0,lang:6,hidebuttons:1,errorcode:2,clientstyling:7,clientstylingurl:8,translationurl:9},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["assetsurl","lang","hidebuttons","errorcode","clientstyling","clientstylingurl","translationurl"]}get assetsurl(){return this.$$.ctx[0]}set assetsurl(e){this.$$set({assetsurl:e}),N()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),N()}get hidebuttons(){return this.$$.ctx[1]}set hidebuttons(e){this.$$set({hidebuttons:e}),N()}get errorcode(){return this.$$.ctx[2]}set errorcode(e){this.$$set({errorcode:e}),N()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),N()}}),Vt({fallbackLocale:"en"});const Rr={en:{deposit:{success:{title:"{amount} {currency}",subTitle:"Deposited in your account",text:"Your deposit is successful"},pending:{title:"{amount} {currency}",subTitle:"Transaction is in progress",text:"Thank you. Your deposit is being processed."},reject:{title:"Deposit Rejected",subTitle:" ",text:" "},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},withdrawal:{success:{title:"{amount} {currency}",subTitle:"Withdrawn from your account",text:"Your withdrawal is successful"},pending:{title:"{amount} {currency}",subTitle:"Withdrawn from your account",text:"Thank you. Your withdrawal is being processed."},reject:{title:"Withdrawal Rejected",subTitle:" ",text:" "},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},reference:"Reference ID: {code}",close:"Close"},"pt-br":{deposit:{success:{title:"{amount} {currency}",subTitle:"Depositado em sua conta",text:"Seu depósito foi bem-sucedido"},pending:{title:"{amount} {currency}",subTitle:"Transação em andamento",text:"Obrigado. Seu depósito está sendo processado."},reject:{title:"Depósito Rejeitado",subTitle:"",text:"{errorText}"},fail:{title:"Erro",subTitle:"",text:"{errorText}"},cancel:{title:"Você cancelou a transação",subTitle:"",text:"{errorText}"}},reference:"Referência ID: {code}",close:"VOLTAR AO PROVEDOR DE PAGAMENTO"},"es-mx":{deposit:{success:{title:"{amount} {currency}",subTitle:"Depositado en tu cuenta",text:"Tu depósito fue exitoso"},pending:{title:"{amount} {currency}",subTitle:"Transacción en proceso",text:"Gracias. Tu depósito está siendo procesado."},reject:{title:"Depósito Rechazado",subTitle:" ",text:"{errorText}"},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"Has cancelado la transacción",subTitle:" ",text:"{errorText}"}},reference:"Referencia ID: {code}",close:"REGRESAR A PROVEEDOR DE PAGO"}},Nr={Success:"/txn-success.png",Voided:"/txn-success.png",Rejected:"/txn-failed.png",Failed:"/txn-failed.png",Canceled:"/txn-failed.png",PendingNotification:"/txn-pending.png",PendingConfirmation:"/txn-pending.png",PendingApprovalStage1:"/txn-pending.png",PendingApprovalStage2:"/txn-pending.png",PendingApprovalStage3:"/txn-pending.png",PendingOfflineNotification:"/txn-pending.png"},Ir={Deposit:"deposit",Withdraw:"withdrawal"},Mr={Success:"success",Voided:"success",Rejected:"reject",Failed:"fail",Canceled:"cancel",PendingNotification:"pending",PendingConfirmation:"pending",PendingApprovalStage1:"pending",PendingApprovalStage3:"pending",PendingApprovalStage2:"pending",PendingOfflineNotification:"pending"},{document:xr}=u;function $r(e,t,r){const n=e.slice();return n[43]=t[r],n[45]=r,n}
577
577
  // (265:65)
578
578
  function Ur(e){let t;return{c(){t=m("cashier-error"),E(t,"assetsurl",/*assetsurl*/e[3]),E(t,"translationurl",/*translationurl*/e[2]),E(t,"clientstylingurl",/*clientstylingurl*/e[5]),E(t,"clientstyling",/*clientstyling*/e[4]),E(t,"hidebuttons","true"),E(t,"errorcode",/*errorResponseCode*/e[15])},m(e,r){p(e,t,r)},p(e,r){/*assetsurl*/8&r[0]&&E(t,"assetsurl",/*assetsurl*/e[3]),/*translationurl*/4&r[0]&&E(t,"translationurl",/*translationurl*/e[2]),/*clientstylingurl*/32&r[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[5]),/*clientstyling*/16&r[0]&&E(t,"clientstyling",/*clientstyling*/e[4]),/*errorResponseCode*/32768&r[0]&&E(t,"errorcode",/*errorResponseCode*/e[15])},d(e){e&&f(t)}}}
@@ -585,7 +585,7 @@ function kr(t){let r,n,i;return{c(){r=m("span"),r.innerHTML='<svg xmlns="http://
585
585
  // (236:7) {#if txnInfo.referenceId}
586
586
  function Fr(e){let t,r,n=/*$_*/e[17]("reference",{values:{code:/*txnInfo*/e[8].referenceId}})+"";return{c(){t=m("div"),r=d(n),y(t,"class","Reference")},m(e,n){p(e,t,n),h(t,r)},p(e,t){/*$_, txnInfo*/131328&t[0]&&n!==(n=/*$_*/e[17]("reference",{values:{code:/*txnInfo*/e[8].referenceId}})+"")&&v(r,n)},d(e){e&&f(t)}}}
587
587
  // (239:7) {#if receiptFields.length}
588
- function jr(e){let t,r=/*receiptFields*/e[9],n=[];for(let t=0;t<r.length;t+=1)n[t]=Wr($r(e,r,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=d("")},m(e,r){for(let t=0;t<n.length;t+=1)n[t]&&n[t].m(e,r);p(e,t,r)},p(e,i){if(/*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/1065600&i[0]){let o;for(r=/*receiptFields*/e[9],o=0;o<r.length;o+=1){const s=$r(e,r,o);n[o]?n[o].p(s,i):(n[o]=Wr(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(e){!function(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}(n,e),e&&f(t)}}}
588
+ function jr(e){let t,r=/*receiptFields*/e[9],n=[];for(let t=0;t<r.length;t+=1)n[t]=Yr($r(e,r,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=d("")},m(e,r){for(let t=0;t<n.length;t+=1)n[t]&&n[t].m(e,r);p(e,t,r)},p(e,i){if(/*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/1065600&i[0]){let o;for(r=/*receiptFields*/e[9],o=0;o<r.length;o+=1){const s=$r(e,r,o);n[o]?n[o].p(s,i):(n[o]=Yr(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(e){!function(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}(n,e),e&&f(t)}}}
589
589
  // (256:17) {:else}
590
590
  function Vr(e){let t,r,n=/*field*/e[43].defaultValue+"";return{c(){t=m("span"),r=d(n),y(t,"class","Label")},m(e,n){p(e,t,n),h(t,r)},p(e,t){/*receiptFields*/512&t[0]&&n!==(n=/*field*/e[43].defaultValue+"")&&v(r,n)},d(e){e&&f(t)}}}
591
591
  // (250:58)
@@ -595,14 +595,14 @@ function zr(e){let t,r,n;return{c(){t=m("img"),a(t.src,r=/*field*/e[43].defaultV
595
595
  // (246:58)
596
596
  function Kr(e){let t,r=/*field*/e[43].defaultValue+"";return{c(){t=m("span")},m(e,n){p(e,t,n),t.innerHTML=r},p(e,n){/*receiptFields*/512&n[0]&&r!==(r=/*field*/e[43].defaultValue+"")&&(t.innerHTML=r)},d(e){e&&f(t)}}}
597
597
  // (242:17) {#if field.type === FieldTypes.QRCode}
598
- function Yr(e){let t,r,n,i,o,s=/*field*/e[43].defaultValue+"";function a(){/*click_handler*/
598
+ function Wr(e){let t,r,n,i,o,s=/*field*/e[43].defaultValue+"";function a(){/*click_handler*/
599
599
  return e[29](/*field*/e[43])}return{c(){t=m("div"),r=m("div"),n=d(s),y(t,"class","QRCode")},m(s,l){p(s,t,l),h(t,r),h(r,n),
600
600
  /*div0_binding*/e[28](r),i||(o=b(t,"click",a),i=!0)},p(t,r){e=t,/*receiptFields*/512&r[0]&&s!==(s=/*field*/e[43].defaultValue+"")&&v(n,s)},d(r){r&&f(t)
601
601
  /*div0_binding*/,e[28](null),i=!1,o()}}}
602
602
  // (240:10) {#each receiptFields as field, index}
603
- function Wr(e){let t,r;function n(e,t){/*field*/
604
- return e[43].type===/*FieldTypes*/e[7].QRCode?Yr:/*field*/e[43].type===/*FieldTypes*/e[7].Html?Kr:/*field*/e[43].type===/*FieldTypes*/e[7].Image?zr:/*field*/e[43].type===/*FieldTypes*/e[7].Link?Xr:Vr}let i=n(e),o=i(e);return{c(){t=m("div"),o.c(),r=g(),y(t,"class","ReceiptField")},m(e,n){p(e,t,n),o.m(t,null),h(t,r)},p(e,s){i===(i=n(e))&&o?o.p(e,s):(o.d(1),o=i(e),o&&(o.c(),o.m(t,r)))},d(e){e&&f(t),o.d()}}}function Zr(t){let r,n,i,o,s;function l(e,t){/*txnInfo*/
603
+ function Yr(e){let t,r;function n(e,t){/*field*/
604
+ return e[43].type===/*FieldTypes*/e[7].QRCode?Wr:/*field*/e[43].type===/*FieldTypes*/e[7].Html?Kr:/*field*/e[43].type===/*FieldTypes*/e[7].Image?zr:/*field*/e[43].type===/*FieldTypes*/e[7].Link?Xr:Vr}let i=n(e),o=i(e);return{c(){t=m("div"),o.c(),r=g(),y(t,"class","ReceiptField")},m(e,n){p(e,t,n),o.m(t,null),h(t,r)},p(e,s){i===(i=n(e))&&o?o.p(e,s):(o.d(1),o=i(e),o&&(o.c(),o.m(t,r)))},d(e){e&&f(t),o.d()}}}function Zr(t){let r,n,i,o,s;function l(e,t){/*txnInfo*/
605
605
  return e[8]?Dr:/*errorResponseCode*/e[15]&&!/*showErrorOutsideReceiptPage*/e[16]?Ur:void 0}let c=l(t),u=c&&c(t);return{c(){r=m("script"),i=g(),o=m("div"),s=m("div"),u&&u.c(),this.c=e,a(r.src,n=Qr)||y(r,"src",n),y(s,"class","CashierReceiptPage"),y(o,"class","CashierReceiptPageWidget")},m(e,n){h(xr.head,r),p(e,i,n),p(e,o,n),h(o,s),u&&u.m(s,null)
606
606
  /*div1_binding*/,t[30](o)},p(e,t){c===(c=l(e))&&u?u.p(e,t):(u&&u.d(1),u=c&&c(e),u&&(u.c(),u.m(s,null)))},i:e,o:e,d(e){f(r),e&&f(i),e&&f(o),u&&u.d()
607
- /*div1_binding*/,t[30](null)}}}let Qr="https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js";function qr(e,t,r){let n;c(e,Hr,(e=>r(17,n=e)));let{endpoint:i}=t,{session:o}=t,{lang:s="en"}=t,{local:a="en-US"}=t,{showerrors:l="true"}=t,{showclosebutton:u="false"}=t,{showcontactbutton:h="false"}=t,{translationurl:p}=t,{assetsurl:f=""}=t,{customerid:m}=t,{transactionid:d}=t,{clientstyling:g=""}=t,{clientstylingurl:b=""}=t;var y;!function(e){e.Unknown="Unknown",e.Text="Text",e.Boolean="Boolean",e.Number="Number",e.Money="Money",e.DateTime="DateTime",e.Lookup="Lookup",e.IpAddress="IpAddress",e.Date="Date",e.Time="Time",e.LookupCollection="LookupCollection",e.Hidden="Hidden",e.Label="Label",e.Password="Password",e.Link="Link",e.Image="Image",e.Html="Html",e.QRCode="QR"}(y||(y={}));const E=new Map([[["Unknown",0],y.Unknown],[["Text",1],y.Text],[["Boolean",2],y.Boolean],[["Number",3],y.Number],[["Money",4],y.Money],[["DateTime",5],y.DateTime],[["Lookup",6],y.Lookup],[["IpAddress",7],y.IpAddress],[["Date",8],y.Date],[["Time",9],y.Time],[["LookupCollection",10],y.LookupCollection],[["Hidden",11],y.Hidden],[["Label",12],y.Label],[["Password",13],y.Password],[["Link",14],y.Link],[["Image",15],y.Image],[["Html",19],y.Html],[["QR",20],y.QRCode]].reduce(((e,[t,r])=>[...e,...Array.isArray(t)?[...t.map((e=>[e,r]))]:[[t,r]]]),[]));let v,T,w,C,H,A,_,L,P=[],S=[],O=new Intl.NumberFormat(a,{minimumFractionDigits:2});const R=()=>{var e;e=s,ir.set(e)};Object.keys(Rr).forEach((e=>{Or(e,Rr[e])}));const N=()=>{const e=new URL(`${i}/v1/player/${m}/payment/GetPaymentInfo`),t=new Headers;t.append("accept","application/json"),t.append("Content-Type","application/json"),t.append("X-SessionId",`${o}`);const s={method:"POST",headers:t,body:JSON.stringify({TransactionCode:d})};fetch(e,s).then((e=>e.json())).then((e=>{var t,i,o,s,a,c;if("Success"!==e.ResponseCode)return r(15,_=e.ResponseCode),r(16,L="false"===l.toLowerCase()||!l),void window.postMessage({type:"ErrorResponseCode",errorResponseCode:_,showErrorOutsideReceiptPage:L},window.location.href);r(8,v={type:e.Transaction.Type,referenceId:e.Transaction.Code,status:null===(t=e.Transaction.Status)||void 0===t?void 0:t.Status,message:null===(i=e.Transaction.Status)||void 0===i?void 0:i.Message,amount:null===(o=e.Transaction.Amounts[0])||void 0===o?void 0:o.Amount,currency:null===(s=e.Transaction.Amounts[0])||void 0===s?void 0:s.Currency}),r(9,P=e.ReceiptInfo&&e.ReceiptInfo.ReceiptFields?e.ReceiptInfo.ReceiptFields.map((e=>({type:E.get(e.Type),name:e.Name,description:e.Description,defaultValue:e.DefaultValue,useCopyButton:e.UseCopyButton,usePrintButton:e.UsePrintButton}))):[]),r(11,w=n((a=v.status,c=v.type,`${Ir[c]}.${Mr[a]}.title`),{values:{amount:O.format(v.amount),currency:v.currency}})),r(10,T=n(((e,t)=>`${Ir[t]}.${Mr[e]}.subTitle`)(v.status,v.type))),r(12,C=n(((e,t)=>`${Ir[t]}.${Mr[e]}.text`)(v.status,v.type),{values:{errorText:v.message}})),r(13,H=((e,t)=>`${e+Nr[t]}`)(f,v.status))}))},I=e=>{e&&window.postMessage({type:"NavigateTo",path:e,target:"_blank",externalLink:!1},window.location.href)};return e.$$set=e=>{"endpoint"in e&&r(21,i=e.endpoint),"session"in e&&r(22,o=e.session),"lang"in e&&r(23,s=e.lang),"local"in e&&r(24,a=e.local),"showerrors"in e&&r(25,l=e.showerrors),"showclosebutton"in e&&r(0,u=e.showclosebutton),"showcontactbutton"in e&&r(1,h=e.showcontactbutton),"translationurl"in e&&r(2,p=e.translationurl),"assetsurl"in e&&r(3,f=e.assetsurl),"customerid"in e&&r(26,m=e.customerid),"transactionid"in e&&r(27,d=e.transactionid),"clientstyling"in e&&r(4,g=e.clientstyling),"clientstylingurl"in e&&r(5,b=e.clientstylingurl)},e.$$.update=()=>{/*endpoint, session, customerid, transactionid, showerrors*/241172480&e.$$.dirty[0]&&i&&o&&m&&d&&l&&N(),/*lang*/8388608&e.$$.dirty[0]&&s&&R(),/*lang, translationurl*/8388612&e.$$.dirty[0]&&s&&p&&(()=>{if(p)fetch(p).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Or(t,e[t])}))})).catch((e=>{}))})(),/*clientstyling, customStylingContainer*/80&e.$$.dirty[0]&&g&&A&&(()=>{let e=document.createElement("style");e.innerHTML=g,A.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/96&e.$$.dirty[0]&&b&&A&&(()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{A.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[u,h,p,f,g,b,A,y,v,P,T,w,C,H,S,_,L,n,()=>{dispatchEvent(new CustomEvent("closeCashierReceiptPage",{bubbles:!0,cancelable:!0,composed:!0}))},()=>{dispatchEvent(new CustomEvent("liveChatReceiptPage",{bubbles:!0,cancelable:!0,composed:!0}))},I,i,o,s,a,l,m,d,function(e){B[e?"unshift":"push"]((()=>{S[S.length]=e,r(14,S)}))},e=>{I(e.description)},function(e){B[e?"unshift":"push"]((()=>{A=e,r(6,A)}))}]}class Jr extends D{constructor(e){super();const t=document.createElement("style");t.textContent=".CashierReceiptPageWidget{height:100%}.CashierReceiptPage{border-radius:var(--mmw--border-radius-medium-plus, 6px);background:var(--emw--color-background, #fff);padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);color:var(--mmw--color-grey-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-small, 14px);color:var(--mmw--color-grey-10, #111)}.Reference{color:var(--mmw--color-grey-290, #666);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.PrimaryButton{color:var(--emw--color-white, #FFF);border:none;background:var(--emw--color-primary, #7EC51E);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 5px);height:36px;font-size:var(--emw--font-size-x-small, 12px);font-family:inherit;margin:var(--emw--spacing-large, 20px) 0;width:100%}.PrimaryButton:hover{background:var(--emw--color-hover, #71B11B)}.PrimaryButton:active{background:var(--emw--color-active, #5C950F)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}",this.shadowRoot.appendChild(t),U(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},qr,Zr,o,{endpoint:21,session:22,lang:23,local:24,showerrors:25,showclosebutton:0,showcontactbutton:1,translationurl:2,assetsurl:3,customerid:26,transactionid:27,clientstyling:4,clientstylingurl:5},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","session","lang","local","showerrors","showclosebutton","showcontactbutton","translationurl","assetsurl","customerid","transactionid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[21]}set endpoint(e){this.$$set({endpoint:e}),N()}get session(){return this.$$.ctx[22]}set session(e){this.$$set({session:e}),N()}get lang(){return this.$$.ctx[23]}set lang(e){this.$$set({lang:e}),N()}get local(){return this.$$.ctx[24]}set local(e){this.$$set({local:e}),N()}get showerrors(){return this.$$.ctx[25]}set showerrors(e){this.$$set({showerrors:e}),N()}get showclosebutton(){return this.$$.ctx[0]}set showclosebutton(e){this.$$set({showclosebutton:e}),N()}get showcontactbutton(){return this.$$.ctx[1]}set showcontactbutton(e){this.$$set({showcontactbutton:e}),N()}get translationurl(){return this.$$.ctx[2]}set translationurl(e){this.$$set({translationurl:e}),N()}get assetsurl(){return this.$$.ctx[3]}set assetsurl(e){this.$$set({assetsurl:e}),N()}get customerid(){return this.$$.ctx[26]}set customerid(e){this.$$set({customerid:e}),N()}get transactionid(){return this.$$.ctx[27]}set transactionid(e){this.$$set({transactionid:e}),N()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}}return!customElements.get("cashier-receipt-page")&&customElements.define("cashier-receipt-page",Jr),Jr}));
607
+ /*div1_binding*/,t[30](null)}}}let Qr="https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js";function Jr(e,t,r){let n;c(e,Hr,(e=>r(17,n=e)));let{endpoint:i}=t,{session:o}=t,{lang:s="en"}=t,{local:a="en-US"}=t,{showerrors:l="true"}=t,{showclosebutton:u="false"}=t,{showcontactbutton:h="false"}=t,{translationurl:p}=t,{assetsurl:f=""}=t,{customerid:m}=t,{transactionid:d}=t,{clientstyling:g=""}=t,{clientstylingurl:b=""}=t;var y;!function(e){e.Unknown="Unknown",e.Text="Text",e.Boolean="Boolean",e.Number="Number",e.Money="Money",e.DateTime="DateTime",e.Lookup="Lookup",e.IpAddress="IpAddress",e.Date="Date",e.Time="Time",e.LookupCollection="LookupCollection",e.Hidden="Hidden",e.Label="Label",e.Password="Password",e.Link="Link",e.Image="Image",e.Html="Html",e.QRCode="QR"}(y||(y={}));const E=new Map([[["Unknown",0],y.Unknown],[["Text",1],y.Text],[["Boolean",2],y.Boolean],[["Number",3],y.Number],[["Money",4],y.Money],[["DateTime",5],y.DateTime],[["Lookup",6],y.Lookup],[["IpAddress",7],y.IpAddress],[["Date",8],y.Date],[["Time",9],y.Time],[["LookupCollection",10],y.LookupCollection],[["Hidden",11],y.Hidden],[["Label",12],y.Label],[["Password",13],y.Password],[["Link",14],y.Link],[["Image",15],y.Image],[["Html",19],y.Html],[["QR",20],y.QRCode]].reduce(((e,[t,r])=>[...e,...Array.isArray(t)?[...t.map((e=>[e,r]))]:[[t,r]]]),[]));let v,T,w,C,H,A,_,L,P=[],S=[],O=new Intl.NumberFormat(a,{minimumFractionDigits:2});const R=()=>{var e;e=s,ir.set(e)};Object.keys(Rr).forEach((e=>{Or(e,Rr[e])}));const N=()=>{const e=new URL(`${i}/v1/player/${m}/payment/GetPaymentInfo`),t=new Headers;t.append("accept","application/json"),t.append("Content-Type","application/json"),t.append("X-SessionId",`${o}`);const s={method:"POST",headers:t,body:JSON.stringify({TransactionCode:d})};fetch(e,s).then((e=>e.json())).then((e=>{var t,i,o,s,a,c;if("Success"!==e.ResponseCode)return r(15,_=e.ResponseCode),r(16,L="false"===l.toLowerCase()||!l),void window.postMessage({type:"ErrorResponseCode",errorResponseCode:_,showErrorOutsideReceiptPage:L},window.location.href);r(8,v={type:e.Transaction.Type,referenceId:e.Transaction.Code,status:null===(t=e.Transaction.Status)||void 0===t?void 0:t.Status,message:null===(i=e.Transaction.Status)||void 0===i?void 0:i.Message,amount:null===(o=e.Transaction.Amounts[0])||void 0===o?void 0:o.Amount,currency:null===(s=e.Transaction.Amounts[0])||void 0===s?void 0:s.Currency}),r(9,P=e.ReceiptInfo&&e.ReceiptInfo.ReceiptFields?e.ReceiptInfo.ReceiptFields.map((e=>({type:E.get(e.Type),name:e.Name,description:e.Description,defaultValue:e.DefaultValue,useCopyButton:e.UseCopyButton,usePrintButton:e.UsePrintButton}))):[]),r(11,w=n((a=v.status,c=v.type,`${Ir[c]}.${Mr[a]}.title`),{values:{amount:O.format(v.amount),currency:v.currency}})),r(10,T=n(((e,t)=>`${Ir[t]}.${Mr[e]}.subTitle`)(v.status,v.type))),r(12,C=n(((e,t)=>`${Ir[t]}.${Mr[e]}.text`)(v.status,v.type),{values:{errorText:v.message}})),r(13,H=((e,t)=>`${e+Nr[t]}`)(f,v.status))}))},I=e=>{e&&window.postMessage({type:"NavigateTo",path:e,target:"_blank",externalLink:!1},window.location.href)};return e.$$set=e=>{"endpoint"in e&&r(21,i=e.endpoint),"session"in e&&r(22,o=e.session),"lang"in e&&r(23,s=e.lang),"local"in e&&r(24,a=e.local),"showerrors"in e&&r(25,l=e.showerrors),"showclosebutton"in e&&r(0,u=e.showclosebutton),"showcontactbutton"in e&&r(1,h=e.showcontactbutton),"translationurl"in e&&r(2,p=e.translationurl),"assetsurl"in e&&r(3,f=e.assetsurl),"customerid"in e&&r(26,m=e.customerid),"transactionid"in e&&r(27,d=e.transactionid),"clientstyling"in e&&r(4,g=e.clientstyling),"clientstylingurl"in e&&r(5,b=e.clientstylingurl)},e.$$.update=()=>{/*endpoint, session, customerid, transactionid, showerrors*/241172480&e.$$.dirty[0]&&i&&o&&m&&d&&l&&N(),/*lang*/8388608&e.$$.dirty[0]&&s&&R(),/*lang, translationurl*/8388612&e.$$.dirty[0]&&s&&p&&(()=>{if(p)fetch(p).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Or(t,e[t])}))})).catch((e=>{}))})(),/*clientstyling, customStylingContainer*/80&e.$$.dirty[0]&&g&&A&&(()=>{let e=document.createElement("style");e.innerHTML=g,A.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/96&e.$$.dirty[0]&&b&&A&&(()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{A.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[u,h,p,f,g,b,A,y,v,P,T,w,C,H,S,_,L,n,()=>{dispatchEvent(new CustomEvent("closeCashierReceiptPage",{bubbles:!0,cancelable:!0,composed:!0}))},()=>{dispatchEvent(new CustomEvent("liveChatReceiptPage",{bubbles:!0,cancelable:!0,composed:!0}))},I,i,o,s,a,l,m,d,function(e){B[e?"unshift":"push"]((()=>{S[S.length]=e,r(14,S)}))},e=>{I(e.description)},function(e){B[e?"unshift":"push"]((()=>{A=e,r(6,A)}))}]}class qr extends D{constructor(e){super();const t=document.createElement("style");t.textContent=".CashierReceiptPageWidget{height:100%}.CashierReceiptPage{border-radius:var(--mmw--border-radius-medium-plus, 6px);background:var(--emw--color-background, #fff);padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);color:var(--mmw--color-grey-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-small, 14px);color:var(--mmw--color-grey-10, #111)}.Reference{color:var(--mmw--color-grey-290, #666);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.PrimaryButton{color:var(--emw--color-white, #FFF);border:none;background:var(--emw--color-primary, #7EC51E);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 5px);height:36px;font-size:var(--emw--font-size-x-small, 12px);font-family:inherit;margin:var(--emw--spacing-large, 20px) 0;width:100%}.PrimaryButton:hover{background:var(--emw--color-hover, #71B11B)}.PrimaryButton:active{background:var(--emw--color-active, #5C950F)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}",this.shadowRoot.appendChild(t),U(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Jr,Zr,o,{endpoint:21,session:22,lang:23,local:24,showerrors:25,showclosebutton:0,showcontactbutton:1,translationurl:2,assetsurl:3,customerid:26,transactionid:27,clientstyling:4,clientstylingurl:5},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","session","lang","local","showerrors","showclosebutton","showcontactbutton","translationurl","assetsurl","customerid","transactionid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[21]}set endpoint(e){this.$$set({endpoint:e}),N()}get session(){return this.$$.ctx[22]}set session(e){this.$$set({session:e}),N()}get lang(){return this.$$.ctx[23]}set lang(e){this.$$set({lang:e}),N()}get local(){return this.$$.ctx[24]}set local(e){this.$$set({local:e}),N()}get showerrors(){return this.$$.ctx[25]}set showerrors(e){this.$$set({showerrors:e}),N()}get showclosebutton(){return this.$$.ctx[0]}set showclosebutton(e){this.$$set({showclosebutton:e}),N()}get showcontactbutton(){return this.$$.ctx[1]}set showcontactbutton(e){this.$$set({showcontactbutton:e}),N()}get translationurl(){return this.$$.ctx[2]}set translationurl(e){this.$$set({translationurl:e}),N()}get assetsurl(){return this.$$.ctx[3]}set assetsurl(e){this.$$set({assetsurl:e}),N()}get customerid(){return this.$$.ctx[26]}set customerid(e){this.$$set({customerid:e}),N()}get transactionid(){return this.$$.ctx[27]}set transactionid(e){this.$$set({transactionid:e}),N()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}}return!customElements.get("cashier-receipt-page")&&customElements.define("cashier-receipt-page",qr),qr}));
608
608
  //# sourceMappingURL=cashier-receipt-page.js.map