@everymatrix/cashier-error 1.76.4 → 1.76.5

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.
@@ -3894,7 +3894,7 @@ const pt = {
3894
3894
  }
3895
3895
  };
3896
3896
  function yi(e) {
3897
- er(e, "svelte-zd5xxv", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.ImagePlaceholder{margin-top:20px;height:250px;width:100%;background:#E6E6E6}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:120%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img{width:300px}");
3897
+ er(e, "svelte-s6qloq", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.ImagePlaceholder{margin-top:20px;height:200px;width:100%;background:#E6E6E6}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:120%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img{width:300px}");
3898
3898
  }
3899
3899
  const _i = (e) => ({}), bt = (e) => ({}), Ei = (e) => ({}), gt = (e) => ({}), vi = (e) => ({}), yt = (e) => ({}), xi = (e) => ({}), _t = (e) => ({ class: "CashierErrorIcon" });
3900
3900
  function Ti(e) {
@@ -2,4 +2,4 @@
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,Z.MISSING_INTL_API,s);var S=r.getPluralRules(t,{type:h.pluralType}).select(c-(h.offset||0));d=h.options[S]||h.options.other}if(!d)throw new dt(h.value,c,Object.keys(h.options),s);a.push.apply(a,ye(d.value,t,r,n,i,c-(h.offset||0)));continue}}return Gn(a)}function jn(e,t){return t?P(P(P({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=P(P({},e[n]),t[n]||{}),r},{})):e}function zn(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=jn(e[n],t[n]),r},P({},e)):e}function Me(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Vn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ce(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Ie([void 0],r,!1)))},{cache:Me(e.number),strategy:Ne.variadic}),getDateTimeFormat:Ce(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Ie([void 0],r,!1)))},{cache:Me(e.dateTime),strategy:Ne.variadic}),getPluralRules:Ce(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Ie([void 0],r,!1)))},{cache:Me(e.pluralRules),strategy:Ne.variadic})}}var Jt=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(f,c){return!f.length||c.type!==H.literal||typeof f[f.length-1]!="string"?f.push(c.value):f[f.length-1]+=c.value,f},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return ye(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var a=en(s,["formatters"]);this.ast=e.__parse(t,P(P({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=zn(e.formats,n),this.formatters=i&&i.formatters||Vn(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Dn,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}();function Xn(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[i]]}else n=void 0;return n}const M={},Wn=(e,t,r)=>r&&(t in M||(M[t]={}),e in M[t]||(M[t][e]=r),r),qt=(e,t)=>{if(t==null)return;if(t in M&&e in M[t])return M[t][e];const r=ae(t);for(let n=0;n<r.length;n++){const i=r[n],o=Jn(i,e);if(o)return Wn(e,t,o)}};let qe;const se=He({});function Zn(e){return qe[e]||null}function Qt(e){return e in qe}function Jn(e,t){if(!Qt(e))return null;const r=Zn(e);return Xn(r,t)}function qn(e){if(e==null)return;const t=ae(e);for(let r=0;r<t.length;r++){const n=t[r];if(Qt(n))return n}}function Yt(e,...t){delete M[e],se.update(r=>(r[e]=Kr.all([r[e]||{},...t]),r))}Q([se],([e])=>Object.keys(e));se.subscribe(e=>qe=e);const _e={};function Qn(e,t){_e[e].delete(t),_e[e].size===0&&delete _e[e]}function Kt(e){return _e[e]}function Yn(e){return ae(e).map(t=>{const r=Kt(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function ve(e){return e==null?!1:ae(e).some(t=>{var r;return(r=Kt(t))==null?void 0:r.size})}function Kn(e,t){return Promise.all(t.map(n=>(Qn(e,n),n().then(i=>i.default||i)))).then(n=>Yt(e,...n))}const K={};function er(e){if(!ve(e))return e in K?K[e]:Promise.resolve();const t=Yn(e);return K[e]=Promise.all(t.map(([r,n])=>Kn(r,n))).then(()=>{if(ve(e))return er(e);delete K[e]}),K[e]}var pt=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,ti=Object.prototype.propertyIsEnumerable,ri=(e,t)=>{var r={};for(var n in e)ei.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&pt)for(var n of pt(e))t.indexOf(n)<0&&ti.call(e,n)&&(r[n]=e[n]);return r};const ni={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"}}};function ii({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${ae(e).join('", "')}".${ve(D())?`
4
4
 
5
- Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const oi={fallbackLocale:null,loadingDelay:200,formats:ni,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ee=oi;function J(){return ee}function si(e){const t=e,{formats:r}=t,n=ri(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{Jt.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(o){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,n.handleMissingMessage==null?n.handleMissingMessage=ii:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(ee,n,{initialLocale:i}),r&&("number"in r&&Object.assign(ee.formats.number,r.number),"date"in r&&Object.assign(ee.formats.date,r.date),"time"in r&&Object.assign(ee.formats.time,r.time)),k.set(i)}const $e=He(!1);var ai=Object.defineProperty,ui=Object.defineProperties,li=Object.getOwnPropertyDescriptors,bt=Object.getOwnPropertySymbols,hi=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable,gt=(e,t,r)=>t in e?ai(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,fi=(e,t)=>{for(var r in t||(t={}))hi.call(t,r)&&gt(e,r,t[r]);if(bt)for(var r of bt(t))ci.call(t,r)&&gt(e,r,t[r]);return e},mi=(e,t)=>ui(e,li(t));let We;const xe=He(null);function yt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ae(e,t=J().fallbackLocale){const r=yt(e);return t?[...new Set([...r,...yt(t)])]:r}function D(){return We!=null?We:void 0}xe.subscribe(e=>{We=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const di=e=>{if(e&&qn(e)&&ve(e)){const{loadingDelay:t}=J();let r;return typeof window!="undefined"&&D()!=null&&t?r=window.setTimeout(()=>$e.set(!0),t):$e.set(!0),er(e).then(()=>{xe.set(e)}).finally(()=>{clearTimeout(r),$e.set(!1)})}return xe.set(e)},k=mi(fi({},xe),{set:di}),we=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var pi=Object.defineProperty,Te=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable,_t=(e,t,r)=>t in e?pi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Qe=(e,t)=>{for(var r in t||(t={}))tr.call(t,r)&&_t(e,r,t[r]);if(Te)for(var r of Te(t))rr.call(t,r)&&_t(e,r,t[r]);return e},Y=(e,t)=>{var r={};for(var n in e)tr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Te)for(var n of Te(e))t.indexOf(n)<0&&rr.call(e,n)&&(r[n]=e[n]);return r};const ie=(e,t)=>{const{formats:r}=J();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},bi=we(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ie("number",n)),new Intl.NumberFormat(r,i)}),gi=we(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ie("date",n):Object.keys(i).length===0&&(i=ie("date","short")),new Intl.DateTimeFormat(r,i)}),yi=we(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ie("time",n):Object.keys(i).length===0&&(i=ie("time","short")),new Intl.DateTimeFormat(r,i)}),_i=(e={})=>{var t=e,{locale:r=D()}=t,n=Y(t,["locale"]);return bi(Qe({locale:r},n))},Ei=(e={})=>{var t=e,{locale:r=D()}=t,n=Y(t,["locale"]);return gi(Qe({locale:r},n))},vi=(e={})=>{var t=e,{locale:r=D()}=t,n=Y(t,["locale"]);return yi(Qe({locale:r},n))},xi=we((e,t=D())=>new Jt(e,t,J().formats,{ignoreTag:J().ignoreTag})),Ti=(e,t={})=>{var r,n,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:l=D(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=qt(e,l);if(!h)h=(o=(i=(n=(r=J()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!a)return h;let f=h;try{f=xi(h,l).format(a)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return f},Hi=(e,t)=>vi(t).format(e),Si=(e,t)=>Ei(t).format(e),Bi=(e,t)=>_i(t).format(e),wi=(e,t=D())=>qt(e,t),Ai=Q([k,se],()=>Ti);Q([k],()=>Hi);Q([k],()=>Si);Q([k],()=>Bi);Q([k,se],()=>wi);function Et(e,t){Yt(e,t)}function Pi(e){si({fallbackLocale:"en"}),k.set(e)}const vt={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).",TransactionIsBlockedDueToNotCompletedKyc:"We apologise, but we cannot process the transaction because you haven't completed KYC. Please verify your identity or contact Customer Support for further assistance. Error Code 23601",InsufficientCasinoFunds:" Your withdrawal is over your available balance. Please check your available balance to adjust your withdrawal amount",DepositWageringLimit:"Attention! Your winnings balance has less than the amount you want to withdraw.",AmountMinLimitExceeded:"Amount is smaller than PaymentMethod minimum limit",AmountMaxLimitExceeded:"Amount is bigger than PaymentMethod maximum limit",AmountIsMissing:"Amount is missing",MaxCustomerTransactionsCountReached:"Looks like you have reached the frequency limit of the transaction attempts per minute. The server is taking too long to respond. Please wait a bit and try again in a while",VendorTimeoutError:"Looks like the payment vendor has some issues. The server is taking too long to respond. Please wait a bit and try again in a while. Error Code 21292",MerchantUserAccountIsInactive:"Declined by merchant user account is inactive",MerchantUserHasDepositDenyRole:"Declined by merchant user has deposit deny role",TransactionCodeIsInvalid:"Transaction code is invalid",InvalidSession:"Your session has expired. Please try again",TwoFactorAuthRequired:"Two-factor authentication is required",DeclinedByMerchant:"We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance."},tr:{errorGeneralTitle:"Hata oluştu",errorGeneralText:"Bir şeyler ters gitti",errorGeneralButton:"KAPALI",PlayerSessionIsNotValid:"Hesabınızla ilgili oturum geçersiz veya süresi dolmuş görünüyor. Lütfen tekrar giriş yapınız",VendorCommunicationError:"Özür dileriz, ancak ödeme sağlayıcınız teknik hata nedeniyle işlemi yapmayı reddetti. Lütfen daha sonra deneyin veya daha fazla yardım için ödeme çözümü sağlayıcınızla iletişime geçin. Hata Kodu 21297",PaymentMethodNotAllowed:"Özür dileriz, ancak bu ödeme yöntemi şu anda kullanılamıyor. Daha fazla yardım için lütfen Müşteri Desteğiyle iletişime geçin. Hata Kodu 11402",InvalidPaymentDetails:"Özür dileriz, ancak ödeme bilgileriniz geçerli değil. Lütfen tüm ödeme ayrıntılarını doğru girdiğinizden emin olun ve tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 13555",MerchantUserHasWithdrawBlockRole:"Sevgili Oyuncu! Şu anda oyuncu hesabınızdan para çekme işlemi başlatmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21122",MerchantUserHasDepositBlockRole:"Değerli Oyuncumuz, Şu anda hesabınız üzerinden para yatırma işlemi yapmanıza izin verilmemektedir. Hata Kodu: 21123",JwtTokenError:"IDX12741: JWT must have three segments (JWS) or five segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. ",InsufficientCasinoFunds:"Çekmek istediğiniz tutar, mevcut bakiyenizin üzerindedir. Lütfen çekim tutarınızı belirlemek için bakiyenizi kontrol ediniz",DepositWageringLimit:"Para çekim işleminizi gerçekleştirebilmek için ana para çevriminizi tamamlamanız gerekmektedir. Ana para çevrimi hakkında bilgi almak için sitemiz genel şartlar ve kurallar bölümünü ziyaret edebilir ya da destek kanallarımız üzerinden bilgi alabilirsiniz.",AmountMinLimitExceeded:"Tutar, Ödeme Yöntemi minimum sınırından daha küçük",AmountMaxLimitExceeded:"Tutar, Ödeme Yöntemi maksimum sınırından daha büyük",AmountIsMissing:"Tutar eksik",MaxCustomerTransactionsCountReached:"İşlem denemelerinin sıklık sınırına ulaştınız. Sunucunun yanıt vermesi çok uzun sürüyor. Lütfen biraz bekleyin ve bir süre sonra tekrar deneyin.",VendorTechnicalError:"Özür dileriz, fakat bir teknik hata nedeniyle işleminiz sağlayıcı tarafından reddedildi. Lütfen daha sonra tekrar deneyin veya servis sağlayıcınızla iletişime geçin. Hata kodu 21298",MerchantUserAccountIsInactive:"Tüccar tarafından reddedildi kullanıcı hesabı etkin değil",MerchantUserHasDepositDenyRole:"Sevgili Oyuncu! Şu anda hesabınıza para yatırmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21123",TransactionCodeIsInvalid:"Transaction code is invalid",InvalidSession:"Beklenmedik bir hata oluştu, lütfen tekrar deneyin.",TwoFactorAuthRequired:"İki faktörlü kimlik doğrulama gereklidi",DeclinedByMerchant:"Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin."}};function Oi(e){fr(e,"svelte-zd5xxv",".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.ImagePlaceholder{margin-top:20px;height:250px;width:100%;background:#E6E6E6}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:120%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img{width:300px}")}const Ii=e=>({}),xt=e=>({}),Ci=e=>({}),Tt=e=>({}),Ni=e=>({}),Ht=e=>({}),Li=e=>({}),St=e=>({class:"CashierErrorIcon"});function Mi(e){let t;return{c(){t=I("div"),$(t,"class","ImagePlaceholder Error")},m(r,n){R(r,t,n)},p:O,d(r){r&&N(t)}}}function $i(e){let t,r;return{c(){t=I("ui-image"),it(t.src,r=`${e[0]}/error-general-icon.png`)||he(t,"src",r),he(t,"width","300px"),he(t,"alt","error")},m(n,i){R(n,t,i)},p(n,i){i&1&&!it(t.src,r=`${n[0]}/error-general-icon.png`)&&he(t,"src",r)},d(n){n&&N(t)}}}function Ri(e){let t;function r(o,s){return o[0]?$i:Mi}let n=r(e),i=n(e);return{c(){i.c(),t=pr()},m(o,s){i.m(o,s),R(o,t,s)},p(o,s){n===(n=r(o))&&i?i.p(o,s):(i.d(1),i=n(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&N(t),i.d(o)}}}function Di(e){let t,r=e[4]("errorGeneralTitle")+"",n;return{c(){t=I("span"),n=oe(r),$(t,"class","CashierErrorTitle")},m(i,o){R(i,t,o),C(t,n)},p(i,o){o&16&&r!==(r=i[4]("errorGeneralTitle")+"")&&Je(n,r)},d(i){i&&N(t)}}}function Ui(e){let t,r=e[4](`${e[2]||"errorGeneralText"}`)+"",n;return{c(){t=I("span"),n=oe(r),$(t,"class","CashierErrorText")},m(i,o){R(i,t,o),C(t,n)},p(i,o){o&20&&r!==(r=i[4](`${i[2]||"errorGeneralText"}`)+"")&&Je(n,r)},d(i){i&&N(t)}}}function Bt(e){let t;const r=e[12].button,n=fe(r,e,e[11],xt),i=n||ki(e);return{c(){i&&i.c()},m(o,s){i&&i.m(o,s),t=!0},p(o,s){n?n.p&&(!t||s&2048)&&de(n,r,o,o[11],t?me(r,o[11],s,Ii):pe(o[11]),xt):i&&i.p&&(!t||s&16)&&i.p(o,t?s:-1)},i(o){t||(L(i,o),t=!0)},o(o){z(i,o),t=!1},d(o){i&&i.d(o)}}}function ki(e){let t,r,n=e[4]("errorGeneralButton")+"",i,o,s;return{c(){t=I("button"),r=I("span"),i=oe(n),$(t,"class","CashierErrorButton")},m(a,l){R(a,t,l),C(t,r),C(r,i),o||(s=br(t,"click",e[5]),o=!0)},p(a,l){l&16&&n!==(n=a[4]("errorGeneralButton")+"")&&Je(i,n)},d(a){a&&N(t),o=!1,s()}}}function Gi(e){let t,r,n,i,o,s;const a=e[12].icon,l=fe(a,e,e[11],St),u=l||Ri(e),h=e[12].title,f=fe(h,e,e[11],Ht),c=f||Di(e),y=e[12].text,p=fe(y,e,e[11],Tt),E=p||Ui(e);let _=(!e[1]||e[1]==="false")&&Bt(e);return{c(){t=I("div"),r=I("div"),u&&u.c(),n=Pe(),c&&c.c(),i=Pe(),E&&E.c(),o=Pe(),_&&_.c(),$(r,"class","CashierErrorContent"),$(t,"class","CashierError")},m(m,v){R(m,t,v),C(t,r),u&&u.m(r,null),C(r,n),c&&c.m(r,null),C(r,i),E&&E.m(r,null),C(r,o),_&&_.m(r,null),e[13](t),s=!0},p(m,[v]){l?l.p&&(!s||v&2048)&&de(l,a,m,m[11],s?me(a,m[11],v,Li):pe(m[11]),St):u&&u.p&&(!s||v&1)&&u.p(m,s?v:-1),f?f.p&&(!s||v&2048)&&de(f,h,m,m[11],s?me(h,m[11],v,Ni):pe(m[11]),Ht):c&&c.p&&(!s||v&16)&&c.p(m,s?v:-1),p?p.p&&(!s||v&2048)&&de(p,y,m,m[11],s?me(y,m[11],v,Ci):pe(m[11]),Tt):E&&E.p&&(!s||v&20)&&E.p(m,s?v:-1),!m[1]||m[1]==="false"?_?(_.p(m,v),v&2&&L(_,1)):(_=Bt(m),_.c(),L(_,1),_.m(r,null)):_&&(Sr(),z(_,1,1,()=>{_=null}),Br())},i(m){s||(L(u,m),L(c,m),L(E,m),L(_),s=!0)},o(m){z(u,m),z(c,m),z(E,m),z(_),s=!1},d(m){m&&N(t),u&&u.d(m),c&&c.d(m),E&&E.d(m),_&&_.d(),e[13](null)}}}function Fi(e,t,r){let n;cr(e,Ai,d=>r(4,n=d));let{$$slots:i={},$$scope:o}=t,{assetsurl:s=""}=t,{lang:a="en"}=t,{hidebuttons:l=""}=t,{errorcode:u=""}=t,{clientstyling:h=""}=t,{clientstylingurl:f=""}=t,{translationurl:c=""}=t,{mbsource:y=""}=t,p;const E=()=>{Pi(a)},_=()=>{fetch(c).then(S=>S.json()).then(S=>{Object.keys(S).forEach(w=>{Et(w,S[w])})}).catch(S=>{console.error(S)})};Object.keys(vt).forEach(d=>{Et(d,vt[d])});const m=()=>{window.postMessage({type:"ErrorClose"},window.location.href)};Er(()=>()=>{});function v(d){Re[d?"unshift":"push"](()=>{p=d,r(3,p)})}return e.$$set=d=>{"assetsurl"in d&&r(0,s=d.assetsurl),"lang"in d&&r(6,a=d.lang),"hidebuttons"in d&&r(1,l=d.hidebuttons),"errorcode"in d&&r(2,u=d.errorcode),"clientstyling"in d&&r(7,h=d.clientstyling),"clientstylingurl"in d&&r(8,f=d.clientstylingurl),"translationurl"in d&&r(9,c=d.translationurl),"mbsource"in d&&r(10,y=d.mbsource),"$$scope"in d&&r(11,o=d.$$scope)},e.$$.update=()=>{e.$$.dirty&64&&a&&E(),e.$$.dirty&136&&h&&p&&Lr(p,h),e.$$.dirty&264&&f&&p&&Mr(p,f),e.$$.dirty&1032&&y&&p&&$r(p,`${y}.Style`),e.$$.dirty&512&&c&&_()},[s,l,u,p,n,m,a,h,f,c,y,o,i,v]}class nr extends Cr{constructor(t){super(),Or(this,t,Fi,Gi,At,{assetsurl:0,lang:6,hidebuttons:1,errorcode:2,clientstyling:7,clientstylingurl:8,translationurl:9,mbsource:10},Oi)}get assetsurl(){return this.$$.ctx[0]}set assetsurl(t){this.$$set({assetsurl:t}),A()}get lang(){return this.$$.ctx[6]}set lang(t){this.$$set({lang:t}),A()}get hidebuttons(){return this.$$.ctx[1]}set hidebuttons(t){this.$$set({hidebuttons:t}),A()}get errorcode(){return this.$$.ctx[2]}set errorcode(t){this.$$set({errorcode:t}),A()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),A()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),A()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),A()}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),A()}}Ir(nr,{assetsurl:{},lang:{},hidebuttons:{},errorcode:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["icon","title","text","button"],[],!0);exports.default=nr;
5
+ Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const oi={fallbackLocale:null,loadingDelay:200,formats:ni,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ee=oi;function J(){return ee}function si(e){const t=e,{formats:r}=t,n=ri(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{Jt.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(o){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,n.handleMissingMessage==null?n.handleMissingMessage=ii:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(ee,n,{initialLocale:i}),r&&("number"in r&&Object.assign(ee.formats.number,r.number),"date"in r&&Object.assign(ee.formats.date,r.date),"time"in r&&Object.assign(ee.formats.time,r.time)),k.set(i)}const $e=He(!1);var ai=Object.defineProperty,ui=Object.defineProperties,li=Object.getOwnPropertyDescriptors,bt=Object.getOwnPropertySymbols,hi=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable,gt=(e,t,r)=>t in e?ai(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,fi=(e,t)=>{for(var r in t||(t={}))hi.call(t,r)&&gt(e,r,t[r]);if(bt)for(var r of bt(t))ci.call(t,r)&&gt(e,r,t[r]);return e},mi=(e,t)=>ui(e,li(t));let We;const xe=He(null);function yt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ae(e,t=J().fallbackLocale){const r=yt(e);return t?[...new Set([...r,...yt(t)])]:r}function D(){return We!=null?We:void 0}xe.subscribe(e=>{We=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const di=e=>{if(e&&qn(e)&&ve(e)){const{loadingDelay:t}=J();let r;return typeof window!="undefined"&&D()!=null&&t?r=window.setTimeout(()=>$e.set(!0),t):$e.set(!0),er(e).then(()=>{xe.set(e)}).finally(()=>{clearTimeout(r),$e.set(!1)})}return xe.set(e)},k=mi(fi({},xe),{set:di}),we=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var pi=Object.defineProperty,Te=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable,_t=(e,t,r)=>t in e?pi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Qe=(e,t)=>{for(var r in t||(t={}))tr.call(t,r)&&_t(e,r,t[r]);if(Te)for(var r of Te(t))rr.call(t,r)&&_t(e,r,t[r]);return e},Y=(e,t)=>{var r={};for(var n in e)tr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Te)for(var n of Te(e))t.indexOf(n)<0&&rr.call(e,n)&&(r[n]=e[n]);return r};const ie=(e,t)=>{const{formats:r}=J();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},bi=we(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ie("number",n)),new Intl.NumberFormat(r,i)}),gi=we(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ie("date",n):Object.keys(i).length===0&&(i=ie("date","short")),new Intl.DateTimeFormat(r,i)}),yi=we(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ie("time",n):Object.keys(i).length===0&&(i=ie("time","short")),new Intl.DateTimeFormat(r,i)}),_i=(e={})=>{var t=e,{locale:r=D()}=t,n=Y(t,["locale"]);return bi(Qe({locale:r},n))},Ei=(e={})=>{var t=e,{locale:r=D()}=t,n=Y(t,["locale"]);return gi(Qe({locale:r},n))},vi=(e={})=>{var t=e,{locale:r=D()}=t,n=Y(t,["locale"]);return yi(Qe({locale:r},n))},xi=we((e,t=D())=>new Jt(e,t,J().formats,{ignoreTag:J().ignoreTag})),Ti=(e,t={})=>{var r,n,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:l=D(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=qt(e,l);if(!h)h=(o=(i=(n=(r=J()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!a)return h;let f=h;try{f=xi(h,l).format(a)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return f},Hi=(e,t)=>vi(t).format(e),Si=(e,t)=>Ei(t).format(e),Bi=(e,t)=>_i(t).format(e),wi=(e,t=D())=>qt(e,t),Ai=Q([k,se],()=>Ti);Q([k],()=>Hi);Q([k],()=>Si);Q([k],()=>Bi);Q([k,se],()=>wi);function Et(e,t){Yt(e,t)}function Pi(e){si({fallbackLocale:"en"}),k.set(e)}const vt={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).",TransactionIsBlockedDueToNotCompletedKyc:"We apologise, but we cannot process the transaction because you haven't completed KYC. Please verify your identity or contact Customer Support for further assistance. Error Code 23601",InsufficientCasinoFunds:" Your withdrawal is over your available balance. Please check your available balance to adjust your withdrawal amount",DepositWageringLimit:"Attention! Your winnings balance has less than the amount you want to withdraw.",AmountMinLimitExceeded:"Amount is smaller than PaymentMethod minimum limit",AmountMaxLimitExceeded:"Amount is bigger than PaymentMethod maximum limit",AmountIsMissing:"Amount is missing",MaxCustomerTransactionsCountReached:"Looks like you have reached the frequency limit of the transaction attempts per minute. The server is taking too long to respond. Please wait a bit and try again in a while",VendorTimeoutError:"Looks like the payment vendor has some issues. The server is taking too long to respond. Please wait a bit and try again in a while. Error Code 21292",MerchantUserAccountIsInactive:"Declined by merchant user account is inactive",MerchantUserHasDepositDenyRole:"Declined by merchant user has deposit deny role",TransactionCodeIsInvalid:"Transaction code is invalid",InvalidSession:"Your session has expired. Please try again",TwoFactorAuthRequired:"Two-factor authentication is required",DeclinedByMerchant:"We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance."},tr:{errorGeneralTitle:"Hata oluştu",errorGeneralText:"Bir şeyler ters gitti",errorGeneralButton:"KAPALI",PlayerSessionIsNotValid:"Hesabınızla ilgili oturum geçersiz veya süresi dolmuş görünüyor. Lütfen tekrar giriş yapınız",VendorCommunicationError:"Özür dileriz, ancak ödeme sağlayıcınız teknik hata nedeniyle işlemi yapmayı reddetti. Lütfen daha sonra deneyin veya daha fazla yardım için ödeme çözümü sağlayıcınızla iletişime geçin. Hata Kodu 21297",PaymentMethodNotAllowed:"Özür dileriz, ancak bu ödeme yöntemi şu anda kullanılamıyor. Daha fazla yardım için lütfen Müşteri Desteğiyle iletişime geçin. Hata Kodu 11402",InvalidPaymentDetails:"Özür dileriz, ancak ödeme bilgileriniz geçerli değil. Lütfen tüm ödeme ayrıntılarını doğru girdiğinizden emin olun ve tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 13555",MerchantUserHasWithdrawBlockRole:"Sevgili Oyuncu! Şu anda oyuncu hesabınızdan para çekme işlemi başlatmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21122",MerchantUserHasDepositBlockRole:"Değerli Oyuncumuz, Şu anda hesabınız üzerinden para yatırma işlemi yapmanıza izin verilmemektedir. Hata Kodu: 21123",JwtTokenError:"IDX12741: JWT must have three segments (JWS) or five segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. ",InsufficientCasinoFunds:"Çekmek istediğiniz tutar, mevcut bakiyenizin üzerindedir. Lütfen çekim tutarınızı belirlemek için bakiyenizi kontrol ediniz",DepositWageringLimit:"Para çekim işleminizi gerçekleştirebilmek için ana para çevriminizi tamamlamanız gerekmektedir. Ana para çevrimi hakkında bilgi almak için sitemiz genel şartlar ve kurallar bölümünü ziyaret edebilir ya da destek kanallarımız üzerinden bilgi alabilirsiniz.",AmountMinLimitExceeded:"Tutar, Ödeme Yöntemi minimum sınırından daha küçük",AmountMaxLimitExceeded:"Tutar, Ödeme Yöntemi maksimum sınırından daha büyük",AmountIsMissing:"Tutar eksik",MaxCustomerTransactionsCountReached:"İşlem denemelerinin sıklık sınırına ulaştınız. Sunucunun yanıt vermesi çok uzun sürüyor. Lütfen biraz bekleyin ve bir süre sonra tekrar deneyin.",VendorTechnicalError:"Özür dileriz, fakat bir teknik hata nedeniyle işleminiz sağlayıcı tarafından reddedildi. Lütfen daha sonra tekrar deneyin veya servis sağlayıcınızla iletişime geçin. Hata kodu 21298",MerchantUserAccountIsInactive:"Tüccar tarafından reddedildi kullanıcı hesabı etkin değil",MerchantUserHasDepositDenyRole:"Sevgili Oyuncu! Şu anda hesabınıza para yatırmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21123",TransactionCodeIsInvalid:"Transaction code is invalid",InvalidSession:"Beklenmedik bir hata oluştu, lütfen tekrar deneyin.",TwoFactorAuthRequired:"İki faktörlü kimlik doğrulama gereklidi",DeclinedByMerchant:"Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin."}};function Oi(e){fr(e,"svelte-s6qloq",".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.ImagePlaceholder{margin-top:20px;height:200px;width:100%;background:#E6E6E6}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:120%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img{width:300px}")}const Ii=e=>({}),xt=e=>({}),Ci=e=>({}),Tt=e=>({}),Ni=e=>({}),Ht=e=>({}),Li=e=>({}),St=e=>({class:"CashierErrorIcon"});function Mi(e){let t;return{c(){t=I("div"),$(t,"class","ImagePlaceholder Error")},m(r,n){R(r,t,n)},p:O,d(r){r&&N(t)}}}function $i(e){let t,r;return{c(){t=I("ui-image"),it(t.src,r=`${e[0]}/error-general-icon.png`)||he(t,"src",r),he(t,"width","300px"),he(t,"alt","error")},m(n,i){R(n,t,i)},p(n,i){i&1&&!it(t.src,r=`${n[0]}/error-general-icon.png`)&&he(t,"src",r)},d(n){n&&N(t)}}}function Ri(e){let t;function r(o,s){return o[0]?$i:Mi}let n=r(e),i=n(e);return{c(){i.c(),t=pr()},m(o,s){i.m(o,s),R(o,t,s)},p(o,s){n===(n=r(o))&&i?i.p(o,s):(i.d(1),i=n(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&N(t),i.d(o)}}}function Di(e){let t,r=e[4]("errorGeneralTitle")+"",n;return{c(){t=I("span"),n=oe(r),$(t,"class","CashierErrorTitle")},m(i,o){R(i,t,o),C(t,n)},p(i,o){o&16&&r!==(r=i[4]("errorGeneralTitle")+"")&&Je(n,r)},d(i){i&&N(t)}}}function Ui(e){let t,r=e[4](`${e[2]||"errorGeneralText"}`)+"",n;return{c(){t=I("span"),n=oe(r),$(t,"class","CashierErrorText")},m(i,o){R(i,t,o),C(t,n)},p(i,o){o&20&&r!==(r=i[4](`${i[2]||"errorGeneralText"}`)+"")&&Je(n,r)},d(i){i&&N(t)}}}function Bt(e){let t;const r=e[12].button,n=fe(r,e,e[11],xt),i=n||ki(e);return{c(){i&&i.c()},m(o,s){i&&i.m(o,s),t=!0},p(o,s){n?n.p&&(!t||s&2048)&&de(n,r,o,o[11],t?me(r,o[11],s,Ii):pe(o[11]),xt):i&&i.p&&(!t||s&16)&&i.p(o,t?s:-1)},i(o){t||(L(i,o),t=!0)},o(o){z(i,o),t=!1},d(o){i&&i.d(o)}}}function ki(e){let t,r,n=e[4]("errorGeneralButton")+"",i,o,s;return{c(){t=I("button"),r=I("span"),i=oe(n),$(t,"class","CashierErrorButton")},m(a,l){R(a,t,l),C(t,r),C(r,i),o||(s=br(t,"click",e[5]),o=!0)},p(a,l){l&16&&n!==(n=a[4]("errorGeneralButton")+"")&&Je(i,n)},d(a){a&&N(t),o=!1,s()}}}function Gi(e){let t,r,n,i,o,s;const a=e[12].icon,l=fe(a,e,e[11],St),u=l||Ri(e),h=e[12].title,f=fe(h,e,e[11],Ht),c=f||Di(e),y=e[12].text,p=fe(y,e,e[11],Tt),E=p||Ui(e);let _=(!e[1]||e[1]==="false")&&Bt(e);return{c(){t=I("div"),r=I("div"),u&&u.c(),n=Pe(),c&&c.c(),i=Pe(),E&&E.c(),o=Pe(),_&&_.c(),$(r,"class","CashierErrorContent"),$(t,"class","CashierError")},m(m,v){R(m,t,v),C(t,r),u&&u.m(r,null),C(r,n),c&&c.m(r,null),C(r,i),E&&E.m(r,null),C(r,o),_&&_.m(r,null),e[13](t),s=!0},p(m,[v]){l?l.p&&(!s||v&2048)&&de(l,a,m,m[11],s?me(a,m[11],v,Li):pe(m[11]),St):u&&u.p&&(!s||v&1)&&u.p(m,s?v:-1),f?f.p&&(!s||v&2048)&&de(f,h,m,m[11],s?me(h,m[11],v,Ni):pe(m[11]),Ht):c&&c.p&&(!s||v&16)&&c.p(m,s?v:-1),p?p.p&&(!s||v&2048)&&de(p,y,m,m[11],s?me(y,m[11],v,Ci):pe(m[11]),Tt):E&&E.p&&(!s||v&20)&&E.p(m,s?v:-1),!m[1]||m[1]==="false"?_?(_.p(m,v),v&2&&L(_,1)):(_=Bt(m),_.c(),L(_,1),_.m(r,null)):_&&(Sr(),z(_,1,1,()=>{_=null}),Br())},i(m){s||(L(u,m),L(c,m),L(E,m),L(_),s=!0)},o(m){z(u,m),z(c,m),z(E,m),z(_),s=!1},d(m){m&&N(t),u&&u.d(m),c&&c.d(m),E&&E.d(m),_&&_.d(),e[13](null)}}}function Fi(e,t,r){let n;cr(e,Ai,d=>r(4,n=d));let{$$slots:i={},$$scope:o}=t,{assetsurl:s=""}=t,{lang:a="en"}=t,{hidebuttons:l=""}=t,{errorcode:u=""}=t,{clientstyling:h=""}=t,{clientstylingurl:f=""}=t,{translationurl:c=""}=t,{mbsource:y=""}=t,p;const E=()=>{Pi(a)},_=()=>{fetch(c).then(S=>S.json()).then(S=>{Object.keys(S).forEach(w=>{Et(w,S[w])})}).catch(S=>{console.error(S)})};Object.keys(vt).forEach(d=>{Et(d,vt[d])});const m=()=>{window.postMessage({type:"ErrorClose"},window.location.href)};Er(()=>()=>{});function v(d){Re[d?"unshift":"push"](()=>{p=d,r(3,p)})}return e.$$set=d=>{"assetsurl"in d&&r(0,s=d.assetsurl),"lang"in d&&r(6,a=d.lang),"hidebuttons"in d&&r(1,l=d.hidebuttons),"errorcode"in d&&r(2,u=d.errorcode),"clientstyling"in d&&r(7,h=d.clientstyling),"clientstylingurl"in d&&r(8,f=d.clientstylingurl),"translationurl"in d&&r(9,c=d.translationurl),"mbsource"in d&&r(10,y=d.mbsource),"$$scope"in d&&r(11,o=d.$$scope)},e.$$.update=()=>{e.$$.dirty&64&&a&&E(),e.$$.dirty&136&&h&&p&&Lr(p,h),e.$$.dirty&264&&f&&p&&Mr(p,f),e.$$.dirty&1032&&y&&p&&$r(p,`${y}.Style`),e.$$.dirty&512&&c&&_()},[s,l,u,p,n,m,a,h,f,c,y,o,i,v]}class nr extends Cr{constructor(t){super(),Or(this,t,Fi,Gi,At,{assetsurl:0,lang:6,hidebuttons:1,errorcode:2,clientstyling:7,clientstylingurl:8,translationurl:9,mbsource:10},Oi)}get assetsurl(){return this.$$.ctx[0]}set assetsurl(t){this.$$set({assetsurl:t}),A()}get lang(){return this.$$.ctx[6]}set lang(t){this.$$set({lang:t}),A()}get hidebuttons(){return this.$$.ctx[1]}set hidebuttons(t){this.$$set({hidebuttons:t}),A()}get errorcode(){return this.$$.ctx[2]}set errorcode(t){this.$$set({errorcode:t}),A()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),A()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),A()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),A()}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),A()}}Ir(nr,{assetsurl:{},lang:{},hidebuttons:{},errorcode:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["icon","title","text","button"],[],!0);exports.default=nr;
@@ -3931,7 +3931,7 @@ const vt = {
3931
3931
  }
3932
3932
  };
3933
3933
  function Pi(e) {
3934
- cr(e, "svelte-zd5xxv", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.ImagePlaceholder{margin-top:20px;height:250px;width:100%;background:#E6E6E6}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:120%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img{width:300px}");
3934
+ cr(e, "svelte-s6qloq", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.ImagePlaceholder{margin-top:20px;height:200px;width:100%;background:#E6E6E6}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:120%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img{width:300px}");
3935
3935
  }
3936
3936
  const Oi = (e) => ({}), xt = (e) => ({}), Ii = (e) => ({}), Tt = (e) => ({}), Ci = (e) => ({}), Ht = (e) => ({}), Ni = (e) => ({}), St = (e) => ({ class: "CashierErrorIcon" });
3937
3937
  function Li(e) {
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierError-D8rjWS58.cjs")).then(({default:t})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierError-I4pZuk_Q.cjs")).then(({default:t})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierError-D2yd69oA.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierError-uJOB5UR_.js").then(({ default: t }) => {
14
14
  !customElements.get("cashier-error") && customElements.define("cashier-error", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CashierError-DtX07PHg.js";
1
+ import { C as s } from "../components/CashierError-BrQnXJLf.js";
2
2
  function n(t) {
3
3
  return function(...r) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-error",
3
- "version": "1.76.4",
3
+ "version": "1.76.5",
4
4
  "type": "module",
5
5
  "main": "es2015/cashier-error.cjs",
6
6
  "module": "esnext/cashier-error.js",